]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Extended.lyx: update by Hartmut
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 % link all cross references and URLs
16 % in pdf output
17  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
18   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
19   pdfpagelayout=OneColumn, pdfnewwindow=true,
20   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
21   pdfauthor={LyX Team}, pdftex,
22   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
23   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
24   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
25  
26 \else % if dvi or ps is produced
27
28  % link all cross references and URLs in DVI output
29  \usepackage[ps2pdf, colorlinks=true,
30   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
31
32 \fi % end if pdflatex is used
33
34 % that links to image floats jumps
35 % to the beginning of the float and 
36 % not to its caption
37 \usepackage[figure]{hypcap}
38
39 % the pages of the TOC are numbered roman
40 % and a PDF-bookmark for the TOC is added
41 \pagenumbering{roman}
42 \let\myTOC\tableofcontents
43 \renewcommand{\tableofcontents}{%
44  \pdfbookmark[1]{Contents}{}
45  \myTOC
46  \cleardoublepage
47  \pagenumbering{arabic}}
48
49 % provides caption formatting
50 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
51
52 % provides commands to set caption
53 % beside tables/images
54 \usepackage{sidecap}
55
56 \newcommand{\TabBesBeg}{%
57  \let\MyTable\table
58  \let\MyEndtable\endtable
59  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
60
61 \newcommand{\TabBesEnd}{%
62  \let\table\MyTable
63  \let\endtable\MyEndtable}
64
65 \newcommand{\FigBesBeg}{%
66  \let\MyFigure\figure
67  \let\MyEndfigure\endfigure
68  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
69
70 \newcommand{\FigBesEnd}{%
71  \let\figure\MyFigure
72  \let\endfigure\MyEndfigure}
73
74 % enables calculation of values,
75 \usepackage{calc}
76
77 % provides special table cell alignments
78 \usepackage{dcolumn}
79
80 % increase the bottom float placement fraction
81 \renewcommand{\bottomfraction}{0.5}
82
83 % avoids that floats are placed before their
84 % corresponding section starts
85 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
86
87 % speed up the longtable calculation
88 \setcounter{LTchunksize}{100}
89
90 % used for scaled and rotated boxes
91 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
92
93 % used for colored tables
94 \@ifundefined{textcolor}
95  {\usepackage{color}}{}
96 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
97 \definecolor{lightgrey}{gray}{0.8}
98
99 % check for package colortbl
100 % used for colored table cells
101 \newboolean{colortbl}
102 \IfFileExists{colortbl.sty}
103  {\usepackage{colortbl}
104   \setboolean{colortbl}{true}}
105  {\setboolean{colortbl}{false}}
106
107 % used for multirows
108 \usepackage{multirow}
109 %\renewcommand{\multirowsetup}{\centering}
110
111 % used for book-style tables
112 \usepackage{booktabs}
113
114 % used to have extra space in table cells
115 \@ifundefined{extrarowheight}
116  {\usepackage{array}}{}
117 \setlength{\extrarowheight}{2pt}
118
119 % used for customized tables
120 % ---
121 \newcolumntype{M}[1]
122  {>{\centering\hspace{0pt}}m{#1}}
123
124 \newcolumntype{S}[2]
125  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
126
127 \newcolumntype{K}[1]
128  {>{\columncolor{#1}\hspace{0pt}}c}
129
130 \newcolumntype{V}{!{\vrule width 1.5pt}}
131
132 \newcolumntype{W}{!{\color{green}\vline}}
133 % ---
134
135 % insert additional vertical space of
136 % 1.5 mm between footnotes
137 \let\myFoot\footnote
138 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
139
140 % enable algorithm floats to be referenced
141 \newfloat{Xalgorithm}{tbp}{loa}
142 \floatname{Xalgorithm}{Algorithm}
143 \newcommand{\theHalgorithm}{\theHXalgorithm}
144 \renewenvironment{algorithm}[1][tbp]
145  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
146
147 % number algorithm floats within chapters
148 \numberwithin{Xalgorithm}{chapter}
149
150 % redefine the greyed out note
151 \renewenvironment{lyxgreyedout}
152  {\textcolor{blue}\bgroup}{\egroup}
153
154 % ------------------------------------
155 % used to check for needed LaTeX packages
156 \usepackage{ifthen}
157
158 % check for package arydshln
159 % used for tables with dashed lines
160 \newboolean{arydshln}
161 \IfFileExists{arydshln.sty}
162  {\usepackage{arydshln}
163   \setboolean{arydshln}{true}}
164  {\setboolean{arydshln}{false}}
165
166 % check for package marginnote
167 % used for margin notes
168 \newboolean{marginnote}
169 \IfFileExists{marginnote.sty}
170  {\usepackage{marginnote}
171   \let\marginpar\marginnote
172   \setboolean{marginnote}{true}}
173  {\setboolean{marginnote}{false}}
174
175 % redefine the \LyX macro for PDF bookmarks
176 \def\LyX{\texorpdfstring{%
177   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
178   {LyX }}
179 \end_preamble
180 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
181 \language english
182 \inputencoding auto
183 \font_roman default
184 \font_sans default
185 \font_typewriter default
186 \font_default_family default
187 \font_sc false
188 \font_osf false
189 \font_sf_scale 100
190 \font_tt_scale 100
191 \graphics default
192 \paperfontsize 12
193 \spacing single
194 \papersize default
195 \use_geometry false
196 \use_amsmath 2
197 \use_esint 0
198 \cite_engine basic
199 \use_bibtopic false
200 \paperorientation portrait
201 \secnumdepth 3
202 \tocdepth 3
203 \paragraph_separation skip
204 \defskip medskip
205 \quotes_language english
206 \papercolumns 1
207 \papersides 2
208 \paperpagestyle default
209 \bullet 1 1 34 -1
210 \bullet 2 2 35 -1
211 \bullet 3 2 7 -1
212 \tracking_changes false
213 \output_changes false
214 \author "" 
215 \author "" 
216 \end_header
217
218 \begin_body
219
220 \begin_layout Title
221 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
222  manual
223 \end_layout
224
225 \begin_layout Author
226 by the LyX Team
227 \begin_inset Foot
228 status collapsed
229
230 \begin_layout Standard
231 \noindent
232 If you have comments or error corrections, please send them to the LyX Documenta
233 tion mailing list: 
234 \family typewriter
235
236 \begin_inset ERT
237 status open
238
239 \begin_layout Standard
240
241
242 \backslash
243 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
244 \end_layout
245
246 \end_inset
247
248 lyx-docs@lists.lyx.org
249 \begin_inset ERT
250 status collapsed
251
252 \begin_layout Standard
253
254 }
255 \end_layout
256
257 \end_inset
258
259
260 \end_layout
261
262 \end_inset
263
264
265 \begin_inset Note Note
266 status collapsed
267
268 \begin_layout Standard
269 author: Uwe Stöhr
270 \end_layout
271
272 \end_inset
273
274
275 \newline
276
277 \newline
278
279 \family sans
280 Version 1.5.4
281 \end_layout
282
283 \begin_layout Standard
284 \begin_inset LatexCommand tableofcontents
285
286 \end_inset
287
288
289 \end_layout
290
291 \begin_layout Standard
292 \begin_inset Note Note
293 status open
294
295 \begin_layout Standard
296 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
297  
298 \series bold
299 arydshln
300 \series default
301
302 \series bold
303 colortbl
304 \series default
305 , and 
306 \series bold
307 marginnote
308 \series default
309  must be installed.
310  If they are not installed you can export the document anyway but the sections
311  where the packages are required won't appear in the output.
312 \end_layout
313
314 \begin_layout Standard
315 The latest PDF-version of this document can be found here:
316 \newline
317
318 \series bold
319 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
320 \end_layout
321
322 \end_inset
323
324
325 \end_layout
326
327 \begin_layout Chapter
328 Figures
329 \begin_inset LatexCommand label
330 name "cha:Figures"
331
332 \end_inset
333
334
335 \begin_inset LatexCommand index
336 name "Figures"
337
338 \end_inset
339
340
341 \begin_inset LatexCommand index
342 name "Graphics|see{Figures}"
343
344 \end_inset
345
346
347 \end_layout
348
349 \begin_layout Section
350 Graphics Dialog
351 \begin_inset LatexCommand index
352 name "Figures ! Graphics Dialog"
353
354 \end_inset
355
356
357 \begin_inset LatexCommand label
358 name "sec:Graphics-Dialog"
359
360 \end_inset
361
362
363 \end_layout
364
365 \begin_layout Standard
366 To insert an image into your document, place the cursor at the text position
367  you want and click on the toolbar icon 
368 \begin_inset Graphics
369         filename ../images/dialog-show-new-inset_graphics.png
370         scale 85
371         scaleBeforeRotation
372
373 \end_inset
374
375  or use the menu 
376 \family sans
377 Insert\SpecialChar \menuseparator
378 Graphics
379 \family default
380 .
381  Then a dialog will appear to choose the file to load.
382  The image will appear in the output exactly at the position where it is
383  in the text.
384 \end_layout
385
386 \begin_layout Standard
387 The graphics dialog can be called at any time by right-clicking on an image.
388  This dialog has three tabs:
389 \end_layout
390
391 \begin_layout Description
392
393 \family sans
394 Graphics
395 \family default
396  Here you can choose an image file and adjust its appearance in the output.
397  The available units for the image size are explained in appendix\InsetSpace ~
398
399 \begin_inset LatexCommand ref
400 reference "cha:Units-available-in"
401
402 \end_inset
403
404 .
405 \newline
406
407 \begin_inset LatexCommand index
408 name "Figures ! rotated"
409
410 \end_inset
411
412 You can rotate images counter-clockwise by setting a rotation angle and
413  a rotation origin.
414  The image will also be rotated inside LyX.
415 \newline
416
417 \begin_inset LatexCommand index
418 name "Figures ! scaled"
419
420 \end_inset
421
422 Images can be scaled by using a percentage value or by setting the width
423  and height explicitly.
424  If you set only the width or only the height, the other size will be determined
425  automatically.
426  If you set both, then the image will be transformed to the given size,
427  possibly distorting it.
428  To prevent the image from distortion, use the option 
429 \family sans
430 Maintain aspect ratio
431 \family default
432 .
433  The image will then be scaled so that its width and height don't exceed
434  the specified dimensions.
435 \newline
436 Images can be opened in a program of your choice
437  when pressing the 
438 \family sans
439 Edit
440 \family default
441  button.
442  The program can be set for every image format in the file format settings
443  in LyX's preferences.
444 \end_layout
445
446 \begin_layout Description
447
448 \family sans
449 Clipping
450 \family default
451  Alternatively to the usage of scaling units it is possible to set image
452  coordinates to adjust the height and width of the image in the output.
453  The coordinates can also be calculated automatically by pressing the button
454  
455 \family sans
456 Get\InsetSpace ~
457 from\InsetSpace ~
458 File
459 \family default
460 .
461  The option 
462 \family sans
463 Clip\InsetSpace ~
464 to\InsetSpace ~
465 bounding\InsetSpace ~
466 box
467 \family default
468  will only print the image region within the given coordinates.
469  Normally you don't need to take care about image coordinates and can ignore
470  this tab.
471 \end_layout
472
473 \begin_layout Description
474
475 \family sans
476 Extra\InsetSpace ~
477 options
478 \family default
479  In this tab you can modify the appearance of the image within LyX and set
480  the image to be a subfigure of a figure float with an own caption.
481  Subfigures are explained in section\InsetSpace ~
482
483 \begin_inset LatexCommand ref
484 reference "sec:Figure-Floats"
485
486 \end_inset
487
488 .
489 \newline
490  LaTeX experts can also specify on this tab additional LaTeX options.
491 \newline
492  The
493  option 
494 \family sans
495 Draft\InsetSpace ~
496 mode
497 \family default
498  makes the image appear in the output only as a frame with the size of the
499  image.
500 \newline
501 The 
502 \family sans
503 Don't\InsetSpace ~
504 unzip\InsetSpace ~
505 on\InsetSpace ~
506 export
507 \family default
508  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
509 g.\InsetSpace ~
510
511 \emph on
512 x.eps.gz
513 \emph default
514 .
515  When the option is used the images will not be unzipped on export, since
516  LaTeX can handle them as they are.
517 \newline
518 Zipped EPS-graphics are useful to save
519  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
520
521 \begin_inset LatexCommand ref
522 reference "sec:PostScript"
523
524 \end_inset
525
526 .
527  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
528  console:
529 \newline
530
531 \series bold
532 gzip x.eps
533 \series default
534
535 \newline
536
537 \series bold
538 zgrep %%Bounding x.eps.gz > x.eps.bb
539 \series default
540
541 \newline
542 The second command creates the bounding box file 
543 \begin_inset Quotes eld
544 \end_inset
545
546 x.eps.bb
547 \begin_inset Quotes erd
548 \end_inset
549
550  that is needed by LaTeX for zipped graphics.
551 \end_layout
552
553 \begin_layout Standard
554 \begin_inset VSpace bigskip
555 \end_inset
556
557
558 \end_layout
559
560 \begin_layout Standard
561 This is an example image in EPS format
562 \begin_inset Foot
563 status collapsed
564
565 \begin_layout Standard
566 Image formats are explained in section\InsetSpace ~
567
568 \begin_inset LatexCommand ref
569 reference "sec:Image-Formats"
570
571 \end_inset
572
573 .
574 \end_layout
575
576 \end_inset
577
578  within a separate, horizontally centered paragraph:
579 \end_layout
580
581 \begin_layout Standard
582 \align center
583 \begin_inset Graphics
584         filename clipart/mobius.eps
585         display color
586         scale 70
587         scaleBeforeRotation
588         rotateOrigin center
589
590 \end_inset
591
592
593 \end_layout
594
595 \begin_layout Standard
596 This is the same image like the one above but in draft mode:
597 \end_layout
598
599 \begin_layout Standard
600 \align center
601 \begin_inset Graphics
602         filename clipart/mobius.eps
603         display color
604         scale 70
605         draft
606         scaleBeforeRotation
607         rotateOrigin center
608
609 \end_inset
610
611
612 \end_layout
613
614 \begin_layout Section
615 Figure Floats
616 \begin_inset LatexCommand label
617 name "sec:Figure-Floats"
618
619 \end_inset
620
621
622 \begin_inset LatexCommand index
623 name "Floats ! Figures"
624
625 \end_inset
626
627
628 \begin_inset LatexCommand index
629 name "Figures ! Floats"
630
631 \end_inset
632
633
634 \end_layout
635
636 \begin_layout Standard
637 For general explanations about floats, have a look at section\InsetSpace ~
638
639 \begin_inset LatexCommand ref
640 reference "sec:FloatIntroduction"
641
642 \end_inset
643
644 .
645 \end_layout
646
647 \begin_layout Standard
648 The toolbar button 
649 \begin_inset Graphics
650         filename ../images/float-insert_figure.png
651         scale 85
652         scaleBeforeRotation
653
654 \end_inset
655
656  and the menu 
657 \family sans
658 Insert\SpecialChar \menuseparator
659 Float\SpecialChar \menuseparator
660 Figure
661 \family default
662  inserts a float with a caption that has the label 
663 \begin_inset Quotes eld
664 \end_inset
665
666 Figure\InsetSpace ~
667 #:
668 \begin_inset Quotes erd
669 \end_inset
670
671  (# is the actual number).
672  You can insert the image above the caption, like in Figure\InsetSpace ~
673
674 \begin_inset LatexCommand ref
675 reference "fig:kill-plat"
676
677 \end_inset
678
679  or below the caption, like in Figure\InsetSpace ~
680
681 \begin_inset LatexCommand ref
682 reference "fig:escher"
683
684 \end_inset
685
686 .
687  More about the caption placement is described in section\InsetSpace ~
688
689 \begin_inset LatexCommand ref
690 reference "sec:Caption-Placement"
691
692 \end_inset
693
694 .
695 \end_layout
696
697 \begin_layout Standard
698 \begin_inset Float figure
699 wide false
700 sideways false
701 status open
702
703 \begin_layout Standard
704 \align center
705 \begin_inset Graphics
706         filename clipart/platypus.eps
707         display color
708         width 50col%
709         scaleBeforeRotation
710         rotateOrigin center
711
712 \end_inset
713
714
715 \end_layout
716
717 \begin_layout Standard
718 \begin_inset Caption
719
720 \begin_layout Standard
721 \begin_inset LatexCommand label
722 name "fig:kill-plat"
723
724 \end_inset
725
726 A severely distorted platypus in a float.
727 \end_layout
728
729 \end_inset
730
731
732 \end_layout
733
734 \end_inset
735
736
737 \end_layout
738
739 \begin_layout Standard
740 \begin_inset Float figure
741 wide false
742 sideways false
743 status open
744
745 \begin_layout Standard
746 \begin_inset Caption
747
748 \begin_layout Standard
749 \begin_inset LatexCommand label
750 name "fig:escher"
751
752 \end_inset
753
754 M.C.
755  Escher on acid.
756 \end_layout
757
758 \end_inset
759
760
761 \end_layout
762
763 \begin_layout Standard
764 \align center
765 \begin_inset Graphics
766         filename clipart/escher-lsd.eps
767         display color
768         scale 80
769         scaleBeforeRotation
770         rotateOrigin center
771
772 \end_inset
773
774
775 \end_layout
776
777 \end_inset
778
779
780 \end_layout
781
782 \begin_layout Standard
783 \begin_inset LatexCommand index
784 name "References ! to Figures"
785
786 \end_inset
787
788 Figure\InsetSpace ~
789
790 \begin_inset LatexCommand ref
791 reference "fig:kill-plat"
792
793 \end_inset
794
795  and 
796 \begin_inset LatexCommand ref
797 reference "fig:escher"
798
799 \end_inset
800
801  are examples of referenced figures.
802  Figures can be referenced in the text by referencing their label.
803  To do this insert a label in the caption using the menu 
804 \family sans
805 Insert\SpecialChar \menuseparator
806 Label
807 \family default
808  or the toolbar button 
809 \begin_inset Graphics
810         filename ../images/label-insert.png
811         scale 85
812         scaleBeforeRotation
813
814 \end_inset
815
816 .
817  You can now refer to the label using the menu 
818 \family sans
819 Insert\SpecialChar \menuseparator
820 Cross\InsetSpace ~
821 reference
822 \family default
823  or the toolbar button 
824 \begin_inset Graphics
825         filename ../images/dialog-show-new-inset_ref.png
826         scale 85
827         scaleBeforeRotation
828
829 \end_inset
830
831 .
832  It is important to use references to floats, rather than using vague references
833  like 
834 \begin_inset Quotes eld
835 \end_inset
836
837 the figure above
838 \begin_inset Quotes erd
839 \end_inset
840
841 , because as LaTeX will reposition the floats in the final document, it
842  might not be 
843 \begin_inset Quotes eld
844 \end_inset
845
846 above
847 \begin_inset Quotes erd
848 \end_inset
849
850  at all.
851 \newline
852 Referencing is explained in detail in section\InsetSpace ~
853
854 \begin_inset LatexCommand ref
855 reference "sec:Referencing-Floats"
856
857 \end_inset
858
859 .
860 \end_layout
861
862 \begin_layout Standard
863 Normally only one image is inserted to a figure float, but sometimes you
864  might want to use two images with separate subcaptions.
865  This can be set in the tab 
866 \family sans
867 Extra\InsetSpace ~
868 options
869 \family default
870  of the graphics dialog.
871  Choose there the option 
872 \family sans
873 Subfigure
874 \family default
875  and enter the subcaption for the image in the caption field.
876  Note that only the main caption of the float is added to the List of Figures.
877 \newline
878 Ref
879 erencing subfigures is explained in section\InsetSpace ~
880
881 \begin_inset LatexCommand ref
882 reference "sub:Referencing-Subfigures"
883
884 \end_inset
885
886 .
887 \end_layout
888
889 \begin_layout Standard
890 Figure\InsetSpace ~
891
892 \begin_inset LatexCommand ref
893 reference "fig:Two-distorted-images"
894
895 \end_inset
896
897  is an example of a figure float with two images set side by side.
898  You can also set the images one below the other.
899 \end_layout
900
901 \begin_layout Standard
902 \begin_inset Float figure
903 wide false
904 sideways false
905 status open
906
907 \begin_layout Standard
908
909 \hfill
910
911 \begin_inset Graphics
912         filename clipart/escher-lsd.eps
913         width 45col%
914         scaleBeforeRotation
915         subcaption
916         subcaptionText "Undefinable structure"
917
918 \end_inset
919
920
921 \hfill
922
923 \begin_inset Graphics
924         filename clipart/platypus.eps
925         lyxscale 60
926         width 45col%
927         scaleBeforeRotation
928         subcaption
929         subcaptionText "\label{fig:Platypus} Platypus"
930
931 \end_inset
932
933
934 \hfill
935
936 \end_layout
937
938 \begin_layout Standard
939 \begin_inset Caption
940
941 \begin_layout Standard
942 \begin_inset LatexCommand label
943 name "fig:Two-distorted-images"
944
945 \end_inset
946
947 Two distorted images.
948 \end_layout
949
950 \end_inset
951
952
953 \end_layout
954
955 \end_inset
956
957
958 \end_layout
959
960 \begin_layout Section
961 Image Formats
962 \begin_inset LatexCommand label
963 name "sec:Image-Formats"
964
965 \end_inset
966
967
968 \begin_inset LatexCommand index
969 name "Image Formats"
970
971 \end_inset
972
973
974 \begin_inset LatexCommand index
975 name "Figures ! Image Formats"
976
977 \end_inset
978
979
980 \end_layout
981
982 \begin_layout Standard
983 You can insert images in any known file format.
984  But as explained in appendix\InsetSpace ~
985
986 \begin_inset LatexCommand ref
987 reference "cha:Output-File-Formats"
988
989 \end_inset
990
991 , every output document format allows only a few image formats.
992  LyX uses therefore the program 
993 \family typewriter
994 Imagemagick
995 \family default
996  in the background to convert the images to the right format.
997  To increase your work flow by avoiding these conversions in the background,
998  you can use only the image formats that can directly be embedded in the
999  output file format.
1000  The output file formats are explained in appendix\InsetSpace ~
1001
1002 \begin_inset LatexCommand ref
1003 reference "cha:Output-File-Formats"
1004
1005 \end_inset
1006
1007 .
1008 \end_layout
1009
1010 \begin_layout Standard
1011 Similar to fonts there are two types of image formats:
1012 \end_layout
1013
1014 \begin_layout Description
1015 Bitmap\InsetSpace ~
1016 images consist of pixel values, often in a compressed form.
1017  They are therefore not fully scalable and look pixeled in large zooms.
1018  Well-known bitmap image formats are 
1019 \begin_inset Quotes eld
1020 \end_inset
1021
1022 Graphics Interchange Format
1023 \begin_inset Quotes erd
1024 \end_inset
1025
1026  (GIF, file extension 
1027 \begin_inset Quotes eld
1028 \end_inset
1029
1030
1031 \family typewriter
1032 .gif
1033 \family default
1034
1035 \begin_inset Quotes erd
1036 \end_inset
1037
1038 )
1039 \begin_inset LatexCommand index
1040 name "GIF|see{Image formats}"
1041
1042 \end_inset
1043
1044
1045 \begin_inset Quotes eld
1046 \end_inset
1047
1048 Portable Network Graphics
1049 \begin_inset Quotes erd
1050 \end_inset
1051
1052  (PNG, file extension 
1053 \begin_inset Quotes eld
1054 \end_inset
1055
1056
1057 \family typewriter
1058 .png
1059 \family default
1060
1061 \begin_inset Quotes erd
1062 \end_inset
1063
1064 )
1065 \begin_inset LatexCommand index
1066 name "PNG|see{Image formats}"
1067
1068 \end_inset
1069
1070 , and 
1071 \begin_inset Quotes eld
1072 \end_inset
1073
1074 Joint Photographic Experts Group
1075 \begin_inset Quotes erd
1076 \end_inset
1077
1078  (JPG, file extension 
1079 \begin_inset Quotes eld
1080 \end_inset
1081
1082
1083 \family typewriter
1084 .jpg
1085 \family default
1086
1087 \begin_inset Quotes erd
1088 \end_inset
1089
1090  or 
1091 \begin_inset Quotes eld
1092 \end_inset
1093
1094
1095 \family typewriter
1096 .jpeg
1097 \family default
1098
1099 \begin_inset Quotes erd
1100 \end_inset
1101
1102 )
1103 \begin_inset LatexCommand index
1104 name "JPG|see{Image formats}"
1105
1106 \end_inset
1107
1108 .
1109 \end_layout
1110
1111 \begin_layout Description
1112 Vector\InsetSpace ~
1113 images consist of vectors and can therefore be scaled to any size
1114  without data loss.
1115  The scaling ability is necessary if you want to create presentations, because
1116  presentations are always scaled by the video projector.
1117  Scaling is also useful for online documents to let the user zoom into diagrams.
1118 \newline
1119 W
1120 ell-known scalable image formats are 
1121 \begin_inset Quotes eld
1122 \end_inset
1123
1124 Scalable Vector Graphics
1125 \begin_inset Quotes erd
1126 \end_inset
1127
1128  (SVG, file extension 
1129 \begin_inset Quotes eld
1130 \end_inset
1131
1132
1133 \family typewriter
1134 .svg
1135 \family default
1136
1137 \begin_inset Quotes erd
1138 \end_inset
1139
1140 )
1141 \begin_inset LatexCommand index
1142 name "SVG|see{Image formats}"
1143
1144 \end_inset
1145
1146
1147 \begin_inset Quotes eld
1148 \end_inset
1149
1150 Encapsulated PostScript
1151 \begin_inset Quotes erd
1152 \end_inset
1153
1154  (EPS, file extension 
1155 \begin_inset Quotes eld
1156 \end_inset
1157
1158
1159 \family typewriter
1160 .eps
1161 \family default
1162
1163 \begin_inset Quotes erd
1164 \end_inset
1165
1166 )
1167 \begin_inset LatexCommand index
1168 name "EPS|see{Image formats}"
1169
1170 \end_inset
1171
1172
1173 \begin_inset Quotes eld
1174 \end_inset
1175
1176 Portable Document Format
1177 \begin_inset Quotes erd
1178 \end_inset
1179
1180  (PDF, file extension 
1181 \begin_inset Quotes eld
1182 \end_inset
1183
1184
1185 \family typewriter
1186 .pdf
1187 \family default
1188
1189 \begin_inset Quotes erd
1190 \end_inset
1191
1192 )
1193 \begin_inset LatexCommand index
1194 name "PDF"
1195
1196 \end_inset
1197
1198 , and 
1199 \begin_inset Quotes eld
1200 \end_inset
1201
1202 Windows Metafile
1203 \begin_inset Quotes erd
1204 \end_inset
1205
1206  (WMF, file extension 
1207 \begin_inset Quotes eld
1208 \end_inset
1209
1210
1211 \family typewriter
1212 .wmf
1213 \family default
1214
1215 \begin_inset Quotes erd
1216 \end_inset
1217
1218 )
1219 \begin_inset LatexCommand index
1220 name "SVG|see{Image formats}"
1221
1222 \end_inset
1223
1224 .
1225  We wrote 
1226 \begin_inset Quotes eld
1227 \end_inset
1228
1229 can be
1230 \begin_inset Quotes erd
1231 \end_inset
1232
1233 , because you can convert any bitmap image to a PDF or EPS-image and the
1234  result will still be a bitmap image.
1235  In this cases only a header with the image properties is added to the original
1236  image
1237 \begin_inset Foot
1238 status open
1239
1240 \begin_layout Standard
1241 In the case of PDF, the original image is additionally compressed.
1242 \end_layout
1243
1244 \end_inset
1245
1246 .
1247  The PDF-files generated by 
1248 \family typewriter
1249 Adobe Photoshop
1250 \family default
1251  are for example bitmap images.
1252 \end_layout
1253
1254 \begin_layout Standard
1255 Normally it is not possible to convert a bitmap image into a scalable one,
1256  only vice versa.
1257  Only the image formats PDF and EPS can directly be embedded to PDF and
1258  PostScript output files, respectively.
1259  SVG and WMF-images are recalculated to bitmaps when the output file is
1260  generated because there is currently no adequate WMF/SVG
1261 \begin_inset Formula $\to$
1262 \end_inset
1263
1264 PDF/EPS converter available.
1265 \end_layout
1266
1267 \begin_layout Chapter
1268 Tables
1269 \begin_inset LatexCommand label
1270 name "cha:Tables"
1271
1272 \end_inset
1273
1274
1275 \begin_inset LatexCommand index
1276 name "Table"
1277
1278 \end_inset
1279
1280
1281 \end_layout
1282
1283 \begin_layout Section
1284 Introduction
1285 \begin_inset LatexCommand index
1286 name "Table ! Introduction"
1287
1288 \end_inset
1289
1290
1291 \end_layout
1292
1293 \begin_layout Standard
1294 You can insert a table using either the toolbar button 
1295 \begin_inset Graphics
1296         filename ../images/tabular-insert.png
1297         scale 85
1298         scaleBeforeRotation
1299
1300 \end_inset
1301
1302  or the menu 
1303 \family sans
1304 Insert\SpecialChar \menuseparator
1305 Table
1306 \family default
1307 .
1308  The toolbar button offers you a graphical selection: Move the mouse to
1309  set the column/row number of the table that should be created and then
1310  press a mouse button.
1311  When you use the menu to create a table, a dialog will appear, asking you
1312  for the number of rows and columns.
1313 \newline
1314  The default table has lines around any
1315  cell and the first row appears separated from the rest of the table.
1316  This separation occurs due to a double line: The cells of the first row
1317  have a line below them and the cells of the second row have a line above
1318  them.
1319  Here is an example table:
1320 \end_layout
1321
1322 \begin_layout Standard
1323 \align center
1324 \begin_inset Tabular
1325 <lyxtabular version="3" rows="4" columns="4">
1326 <features>
1327 <column alignment="center" valignment="top" leftline="true" width="0">
1328 <column alignment="center" valignment="top" leftline="true" width="0">
1329 <column alignment="center" valignment="top" leftline="true" width="0">
1330 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1331 <row topline="true" bottomline="true">
1332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1333 \begin_inset Text
1334
1335 \begin_layout Standard
1336
1337 \end_layout
1338
1339 \end_inset
1340 </cell>
1341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1342 \begin_inset Text
1343
1344 \begin_layout Standard
1345
1346 \family roman
1347 \series medium
1348 \shape up
1349 \size normal
1350 \emph off
1351 \bar no
1352 \noun off
1353 \color none
1354 1
1355 \end_layout
1356
1357 \end_inset
1358 </cell>
1359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1360 \begin_inset Text
1361
1362 \begin_layout Standard
1363 2
1364 \end_layout
1365
1366 \end_inset
1367 </cell>
1368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1369 \begin_inset Text
1370
1371 \begin_layout Standard
1372 3
1373 \end_layout
1374
1375 \end_inset
1376 </cell>
1377 </row>
1378 <row topline="true">
1379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1380 \begin_inset Text
1381
1382 \begin_layout Standard
1383
1384 \family roman
1385 \series medium
1386 \shape up
1387 \size normal
1388 \emph off
1389 \bar no
1390 \noun off
1391 \color none
1392 A
1393 \end_layout
1394
1395 \end_inset
1396 </cell>
1397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1398 \begin_inset Text
1399
1400 \begin_layout Standard
1401
1402 \end_layout
1403
1404 \end_inset
1405 </cell>
1406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1407 \begin_inset Text
1408
1409 \begin_layout Standard
1410
1411 \end_layout
1412
1413 \end_inset
1414 </cell>
1415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1416 \begin_inset Text
1417
1418 \begin_layout Standard
1419
1420 \end_layout
1421
1422 \end_inset
1423 </cell>
1424 </row>
1425 <row topline="true">
1426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1427 \begin_inset Text
1428
1429 \begin_layout Standard
1430
1431 \family roman
1432 \series medium
1433 \shape up
1434 \size normal
1435 \emph off
1436 \bar no
1437 \noun off
1438 \color none
1439 B
1440 \end_layout
1441
1442 \end_inset
1443 </cell>
1444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1445 \begin_inset Text
1446
1447 \begin_layout Standard
1448
1449 \end_layout
1450
1451 \end_inset
1452 </cell>
1453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1454 \begin_inset Text
1455
1456 \begin_layout Standard
1457
1458 \end_layout
1459
1460 \end_inset
1461 </cell>
1462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1463 \begin_inset Text
1464
1465 \begin_layout Standard
1466
1467 \end_layout
1468
1469 \end_inset
1470 </cell>
1471 </row>
1472 <row topline="true" bottomline="true">
1473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1474 \begin_inset Text
1475
1476 \begin_layout Standard
1477
1478 \family roman
1479 \series medium
1480 \shape up
1481 \size normal
1482 \emph off
1483 \bar no
1484 \noun off
1485 \color none
1486 C
1487 \end_layout
1488
1489 \end_inset
1490 </cell>
1491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1492 \begin_inset Text
1493
1494 \begin_layout Standard
1495
1496 \end_layout
1497
1498 \end_inset
1499 </cell>
1500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1501 \begin_inset Text
1502
1503 \begin_layout Standard
1504
1505 \end_layout
1506
1507 \end_inset
1508 </cell>
1509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1510 \begin_inset Text
1511
1512 \begin_layout Standard
1513
1514 \end_layout
1515
1516 \end_inset
1517 </cell>
1518 </row>
1519 </lyxtabular>
1520
1521 \end_inset
1522
1523
1524 \end_layout
1525
1526 \begin_layout Section
1527 Table Dialog
1528 \begin_inset LatexCommand index
1529 name "Table ! Dialog"
1530
1531 \end_inset
1532
1533
1534 \end_layout
1535
1536 \begin_layout Standard
1537 You can alter a table by clicking on it with the right mouse button, which
1538  brings up the table dialog.
1539  Here you can adjust the settings of that cell and row/column respectively
1540  where the cursor is currently placed.
1541  Most of the dialog options also work on selections.
1542  This means if you select more cells, columns or rows, the action is done
1543  for the whole selection.
1544  Note that there is a difference between selecting the 
1545 \emph on
1546 contents
1547 \emph default
1548  of the cell, and the cell itself.
1549  You can alter tables with the following tabs of the table dialog:
1550 \end_layout
1551
1552 \begin_layout Description
1553
1554 \family sans
1555 Table\InsetSpace ~
1556 Settings
1557 \family default
1558  Here you can set the horizontal alignment and the width of the current
1559  column.
1560  When you have set a width you can also adjust the vertical alignment of
1561  the current row.
1562  A given width will allow the cell to have line breaks and multiple paragraphs
1563  of text, see section\InsetSpace ~
1564
1565 \begin_inset LatexCommand ref
1566 reference "sub:Multiple-Lines-in"
1567
1568 \end_inset
1569
1570 .
1571  If you set no width, the column is as wide as their widest cell content
1572  is.
1573 \newline
1574 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1575  cell, see section\InsetSpace ~
1576
1577 \begin_inset LatexCommand ref
1578 reference "sub:Multicolumns"
1579
1580 \end_inset
1581
1582 .
1583 \newline
1584 The rotate check boxes rotates the current cell, a selection, or the whole
1585  table counter-clockwise by 90°.
1586  The rotation is not shown within LyX, only in the output.
1587 \newline
1588
1589 \begin_inset Note Greyedout
1590 status open
1591
1592 \begin_layout Standard
1593
1594 \series bold
1595 Note:
1596 \series default
1597  Not all DVI-viewers are able to display rotations.
1598 \end_layout
1599
1600 \end_inset
1601
1602
1603 \newline
1604 It is also possible to enter a LaTeX-argument which is needed for special
1605  table formattings, see section\InsetSpace ~
1606
1607 \begin_inset LatexCommand ref
1608 reference "sub:Multicolumn-Calculations"
1609
1610 \end_inset
1611
1612  and 
1613 \begin_inset LatexCommand ref
1614 reference "sec:Colored-Tables"
1615
1616 \end_inset
1617
1618 .
1619 \end_layout
1620
1621 \begin_layout Description
1622
1623 \family sans
1624 Borders
1625 \family default
1626  In this tab you can add and delete border lines for the current row/column.
1627 \newline
1628 Using
1629  the style option 
1630 \family sans
1631 Formal
1632 \family default
1633  will convert the table to a formal table as described in section\InsetSpace ~
1634
1635 \begin_inset LatexCommand ref
1636 reference "sec:Formal-Tables"
1637
1638 \end_inset
1639
1640 .
1641 \newline
1642 You can also add here space to table rows as decribed in section\InsetSpace ~
1643
1644 \begin_inset LatexCommand ref
1645 reference "sub:Row-Spacing"
1646
1647 \end_inset
1648
1649 .
1650 \end_layout
1651
1652 \begin_layout Description
1653
1654 \family sans
1655 Longtable
1656 \family default
1657  This tab is to make a table a so called 
1658 \begin_inset Quotes eld
1659 \end_inset
1660
1661
1662 \emph on
1663 longtable
1664 \emph default
1665
1666 \begin_inset Quotes erd
1667 \end_inset
1668
1669  that can run over several pages.
1670  Section\InsetSpace ~
1671
1672 \begin_inset LatexCommand ref
1673 reference "sec:Longtables"
1674
1675 \end_inset
1676
1677  and 
1678 \begin_inset LatexCommand ref
1679 reference "sec:Special-Longtable-Issues"
1680
1681 \end_inset
1682
1683  describe the longtable features in detail.
1684 \end_layout
1685
1686 \begin_layout Standard
1687 When the table toolbar is opened, you can move the cursor with the arrow
1688  keys from cell to cell and the property of the current cell will immediately
1689  be displayed in the dialog.
1690 \end_layout
1691
1692 \begin_layout Section
1693 Table Toolbar
1694 \begin_inset LatexCommand index
1695 name "Table ! Toolbar"
1696
1697 \end_inset
1698
1699
1700 \end_layout
1701
1702 \begin_layout Standard
1703 The table toolbar is an alternative to the table dialog to be able to alter
1704  tables faster.
1705  It should normally appear at the bottom of LyX's main window when the cursor
1706  is inside a table.
1707  You can alternatively switch it on to appear always, by right-clicking
1708  in LyX's main menu bar.
1709 \end_layout
1710
1711 \begin_layout Standard
1712 The toolbar has the following icons:
1713 \end_layout
1714
1715 \begin_layout Labeling
1716 \labelwidthstring 00.00.0000
1717 \begin_inset Graphics
1718         filename ../images/tabular-feature_append-row.png
1719         scaleBeforeRotation
1720
1721 \end_inset
1722
1723  adds a row below the current cell or selection
1724 \end_layout
1725
1726 \begin_layout Labeling
1727 \labelwidthstring 00.00.0000
1728 \begin_inset Graphics
1729         filename ../images/tabular-feature_append-column.png
1730         scaleBeforeRotation
1731
1732 \end_inset
1733
1734  adds a column right beside the current cell or selection
1735 \end_layout
1736
1737 \begin_layout Labeling
1738 \labelwidthstring 00.00.0000
1739 \begin_inset Graphics
1740         filename ../images/tabular-feature_delete-row.png
1741         scaleBeforeRotation
1742
1743 \end_inset
1744
1745  deletes the current row or selection
1746 \end_layout
1747
1748 \begin_layout Labeling
1749 \labelwidthstring 00.00.0000
1750 \begin_inset Graphics
1751         filename ../images/tabular-feature_delete-column.png
1752         scaleBeforeRotation
1753
1754 \end_inset
1755
1756  deletes the current column or selection
1757 \end_layout
1758
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1761 \begin_inset Graphics
1762         filename ../images/tabular-feature_toggle-line-top.png
1763         scaleBeforeRotation
1764
1765 \end_inset
1766
1767  adds a line at the top of the current cell / row or of a selection
1768 \end_layout
1769
1770 \begin_layout Labeling
1771 \labelwidthstring 00.00.0000
1772 \begin_inset Graphics
1773         filename ../images/tabular-feature_toggle-line-bottom.png
1774         scaleBeforeRotation
1775
1776 \end_inset
1777
1778  adds a line at the bottom of the current cell / row or of a selection
1779 \end_layout
1780
1781 \begin_layout Labeling
1782 \labelwidthstring 00.00.0000
1783 \begin_inset Graphics
1784         filename ../images/tabular-feature_toggle-line-left.png
1785         scaleBeforeRotation
1786
1787 \end_inset
1788
1789  adds a line at the left side of the current cell / row or of a selection
1790 \end_layout
1791
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Graphics
1795         filename ../images/tabular-feature_toggle-line-right.png
1796         scaleBeforeRotation
1797
1798 \end_inset
1799
1800  adds a line at the right side of the current cell / row or of a selection
1801 \end_layout
1802
1803 \begin_layout Labeling
1804 \labelwidthstring 00.00.0000
1805 \begin_inset Graphics
1806         filename ../images/tabular-feature_set-all-lines.png
1807         scaleBeforeRotation
1808
1809 \end_inset
1810
1811  adds lines around the current or selected cells - if the current cell no
1812  multicolumn this also affects the current row and column
1813 \end_layout
1814
1815 \begin_layout Labeling
1816 \labelwidthstring 00.00.0000
1817 \begin_inset Graphics
1818         filename ../images/tabular-feature_unset-all-lines.png
1819         scaleBeforeRotation
1820
1821 \end_inset
1822
1823  deletes all lines of the current or selected cells - if the current cell
1824  no multicolumn this also affects the current row and column
1825 \end_layout
1826
1827 \begin_layout Labeling
1828 \labelwidthstring 00.00.0000
1829 \begin_inset Graphics
1830         filename ../images/tabular-feature_align-left.png
1831         scaleBeforeRotation
1832
1833 \end_inset
1834
1835  left-aligns the content of the current cell / column
1836 \end_layout
1837
1838 \begin_layout Labeling
1839 \labelwidthstring 00.00.0000
1840 \begin_inset Graphics
1841         filename ../images/tabular-feature_align-center.png
1842         scaleBeforeRotation
1843
1844 \end_inset
1845
1846  centers the content of the current cell / column horizontally
1847 \end_layout
1848
1849 \begin_layout Labeling
1850 \labelwidthstring 00.00.0000
1851 \begin_inset Graphics
1852         filename ../images/tabular-feature_align-right.png
1853         scaleBeforeRotation
1854
1855 \end_inset
1856
1857  right-aligns the content of the current cell / column
1858 \end_layout
1859
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Graphics
1863         filename ../images/tabular-feature_valign-top.png
1864         scaleBeforeRotation
1865
1866 \end_inset
1867
1868  aligns the content of the current cell vertically to the top
1869 \end_layout
1870
1871 \begin_layout Labeling
1872 \labelwidthstring 00.00.0000
1873 \begin_inset Graphics
1874         filename ../images/tabular-feature_valign-middle.png
1875         scaleBeforeRotation
1876
1877 \end_inset
1878
1879  centers the content of the current cell vertically
1880 \end_layout
1881
1882 \begin_layout Labeling
1883 \labelwidthstring 00.00.0000
1884 \begin_inset Graphics
1885         filename ../images/tabular-feature_valign-bottom.png
1886         scaleBeforeRotation
1887
1888 \end_inset
1889
1890  aligns the content of the current cell vertically to the bottom
1891 \end_layout
1892
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Graphics
1896         filename ../images/tabular-feature_set-rotate-cell.png
1897         scaleBeforeRotation
1898
1899 \end_inset
1900
1901  rotates the current cell or selection counter-clockwise by 90°
1902 \end_layout
1903
1904 \begin_layout Labeling
1905 \labelwidthstring 00.00.0000
1906 \begin_inset Graphics
1907         filename ../images/tabular-feature_set-rotate-tabular.png
1908         scaleBeforeRotation
1909
1910 \end_inset
1911
1912  rotates the whole table counter-clockwise by 90°
1913 \end_layout
1914
1915 \begin_layout Labeling
1916 \labelwidthstring 00.00.0000
1917 \begin_inset Graphics
1918         filename ../images/tabular-feature_multicolumn.png
1919         scaleBeforeRotation
1920
1921 \end_inset
1922
1923  sets the current cell or selection as a multicolumn
1924 \end_layout
1925
1926 \begin_layout Standard
1927 \begin_inset Note Greyedout
1928 status open
1929
1930 \begin_layout Standard
1931
1932 \series bold
1933 Note:
1934 \series default
1935  For the output the vertical alignment of the first cell in a row is used
1936  for all following cells in the row.
1937 \end_layout
1938
1939 \end_inset
1940
1941
1942 \end_layout
1943
1944 \begin_layout Section
1945 Edit Table Menu
1946 \begin_inset LatexCommand index
1947 name "Table ! Edit Menu"
1948
1949 \end_inset
1950
1951
1952 \end_layout
1953
1954 \begin_layout Standard
1955 Additionally to the table dialog and toolbar, the menu 
1956 \family sans
1957 Edit\SpecialChar \menuseparator
1958 Table
1959 \family default
1960  allows you to add and delete border lines for the current row/column and
1961  to set the current selection as multicolumn.
1962  The menu is only available when the cursor is inside a table.
1963 \end_layout
1964
1965 \begin_layout Section
1966 Table Floats
1967 \begin_inset LatexCommand label
1968 name "sec:Table-Floats"
1969
1970 \end_inset
1971
1972
1973 \begin_inset LatexCommand index
1974 name "Floats ! Tables"
1975
1976 \end_inset
1977
1978
1979 \begin_inset LatexCommand index
1980 name "Table ! Floats"
1981
1982 \end_inset
1983
1984
1985 \end_layout
1986
1987 \begin_layout Standard
1988 For general explanations about floats, have a look at section\InsetSpace ~
1989
1990 \begin_inset LatexCommand ref
1991 reference "sec:FloatIntroduction"
1992
1993 \end_inset
1994
1995 .
1996 \end_layout
1997
1998 \begin_layout Standard
1999 \begin_inset Float table
2000 placement h
2001 wide false
2002 sideways false
2003 status open
2004
2005 \begin_layout Standard
2006 \begin_inset Caption
2007
2008 \begin_layout Standard
2009 \begin_inset LatexCommand label
2010 name "tab:a table float"
2011
2012 \end_inset
2013
2014 A table float.
2015 \end_layout
2016
2017 \end_inset
2018
2019
2020 \end_layout
2021
2022 \begin_layout Standard
2023 \align center
2024 \begin_inset Tabular
2025 <lyxtabular version="3" rows="3" columns="3">
2026 <features>
2027 <column alignment="center" valignment="top" leftline="true" width="0pt">
2028 <column alignment="center" valignment="top" leftline="true" width="0pt">
2029 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2030 <row topline="true" bottomline="true">
2031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2032 \begin_inset Text
2033
2034 \begin_layout Standard
2035
2036 \family roman
2037 \series medium
2038 \shape up
2039 \size normal
2040 \emph off
2041 \bar no
2042 \noun off
2043 \color none
2044 1
2045 \end_layout
2046
2047 \end_inset
2048 </cell>
2049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2050 \begin_inset Text
2051
2052 \begin_layout Standard
2053
2054 \family roman
2055 \series medium
2056 \shape up
2057 \size normal
2058 \emph off
2059 \bar no
2060 \noun off
2061 \color none
2062 2
2063 \end_layout
2064
2065 \end_inset
2066 </cell>
2067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2068 \begin_inset Text
2069
2070 \begin_layout Standard
2071
2072 \family roman
2073 \series medium
2074 \shape up
2075 \size normal
2076 \emph off
2077 \bar no
2078 \noun off
2079 \color none
2080 3
2081 \end_layout
2082
2083 \end_inset
2084 </cell>
2085 </row>
2086 <row topline="true">
2087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2088 \begin_inset Text
2089
2090 \begin_layout Standard
2091
2092 \family roman
2093 \series medium
2094 \shape up
2095 \size normal
2096 \emph off
2097 \bar no
2098 \noun off
2099 \color none
2100 Joe
2101 \end_layout
2102
2103 \end_inset
2104 </cell>
2105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2106 \begin_inset Text
2107
2108 \begin_layout Standard
2109
2110 \family roman
2111 \series medium
2112 \shape up
2113 \size normal
2114 \emph off
2115 \bar no
2116 \noun off
2117 \color none
2118 Mary
2119 \end_layout
2120
2121 \end_inset
2122 </cell>
2123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2124 \begin_inset Text
2125
2126 \begin_layout Standard
2127
2128 \family roman
2129 \series medium
2130 \shape up
2131 \size normal
2132 \emph off
2133 \bar no
2134 \noun off
2135 \color none
2136 Ted
2137 \end_layout
2138
2139 \end_inset
2140 </cell>
2141 </row>
2142 <row topline="true" bottomline="true">
2143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2144 \begin_inset Text
2145
2146 \begin_layout Standard
2147
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 \begin_inset Formula $\int x^{2}dx$
2157 \end_inset
2158
2159
2160 \end_layout
2161
2162 \end_inset
2163 </cell>
2164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2165 \begin_inset Text
2166
2167 \begin_layout Standard
2168
2169 \family roman
2170 \series medium
2171 \shape up
2172 \size normal
2173 \emph off
2174 \bar no
2175 \noun off
2176 \color none
2177 \begin_inset Formula $\left[\begin{array}{cc}
2178 a & b\\
2179 c & d\end{array}\right]$
2180 \end_inset
2181
2182
2183 \end_layout
2184
2185 \end_inset
2186 </cell>
2187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2188 \begin_inset Text
2189
2190 \begin_layout Standard
2191
2192 \family roman
2193 \series medium
2194 \shape up
2195 \size normal
2196 \emph off
2197 \bar no
2198 \noun off
2199 \color none
2200 \begin_inset Formula $1+1=2$
2201 \end_inset
2202
2203
2204 \end_layout
2205
2206 \end_inset
2207 </cell>
2208 </row>
2209 </lyxtabular>
2210
2211 \end_inset
2212
2213
2214 \end_layout
2215
2216 \end_inset
2217
2218
2219 \end_layout
2220
2221 \begin_layout Standard
2222 Table floats can be inserted using the menu 
2223 \family sans
2224 Insert\SpecialChar \menuseparator
2225 Float\SpecialChar \menuseparator
2226 Table
2227 \family default
2228  or the toolbar button 
2229 \begin_inset Graphics
2230         filename ../images/float-insert_table.png
2231         scale 85
2232         scaleBeforeRotation
2233
2234 \end_inset
2235
2236 .
2237 \end_layout
2238
2239 \begin_layout Standard
2240 The float appears as a collapsible box with a caption that has the label
2241  
2242 \begin_inset Quotes eld
2243 \end_inset
2244
2245 Table\InsetSpace ~
2246 #:
2247 \begin_inset Quotes erd
2248 \end_inset
2249
2250  (# is the actual table number).
2251  You can insert tables to the float above or below the caption.
2252 \end_layout
2253
2254 \begin_layout Standard
2255 Table\InsetSpace ~
2256
2257 \begin_inset LatexCommand ref
2258 reference "tab:a table float"
2259
2260 \end_inset
2261
2262  is an example table within a table float.
2263 \end_layout
2264
2265 \begin_layout Standard
2266 Having the caption above the table is the common rule that is unfortunately
2267  not supported in LaTeX's standard classes.
2268  That means if you are using the document classes 
2269 \family sans
2270 article
2271 \family default
2272
2273 \family sans
2274 book
2275 \family default
2276
2277 \family sans
2278 letter
2279 \family default
2280 , or 
2281 \family sans
2282 report
2283 \family default
2284  there will be no space between the caption and the table.
2285  To insert the needed space, add the following option to the load command
2286  of the LaTeX-package 
2287 \series bold
2288 caption
2289 \series default
2290
2291 \begin_inset LatexCommand index
2292 name "LaTeX-packages ! caption"
2293
2294 \end_inset
2295
2296  in your document preamble
2297 \begin_inset Foot
2298 status collapsed
2299
2300 \begin_layout Standard
2301 For more information have a look at section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Caption-Placement"
2305
2306 \end_inset
2307
2308 .
2309 \end_layout
2310
2311 \end_inset
2312
2313 :
2314 \end_layout
2315
2316 \begin_layout Standard
2317
2318 \series bold
2319 tableposition=top
2320 \end_layout
2321
2322 \begin_layout Standard
2323 The package 
2324 \series bold
2325 caption
2326 \series default
2327 , which is described in section\InsetSpace ~
2328
2329 \begin_inset LatexCommand ref
2330 reference "sec:Caption-Formatting"
2331
2332 \end_inset
2333
2334 , is used to adjust the caption format.
2335 \end_layout
2336
2337 \begin_layout Standard
2338 \begin_inset LatexCommand index
2339 name "References ! to Tables"
2340
2341 \end_inset
2342
2343 Tables can be cross-referenced in the text by referencing their label.
2344  To do this insert a label in the caption using the menu 
2345 \family sans
2346 Insert\SpecialChar \menuseparator
2347 Label
2348 \family default
2349  or the toolbar button 
2350 \begin_inset Graphics
2351         filename ../images/label-insert.png
2352         scale 85
2353         scaleBeforeRotation
2354
2355 \end_inset
2356
2357 .
2358  You can now refer to the label using the menu 
2359 \family sans
2360 Insert\SpecialChar \menuseparator
2361 Cross\InsetSpace ~
2362 reference
2363 \family default
2364  or the toolbar button 
2365 \begin_inset Graphics
2366         filename ../images/dialog-show-new-inset_ref.png
2367         scale 85
2368         scaleBeforeRotation
2369
2370 \end_inset
2371
2372 .
2373 \newline
2374 Referencing is explained in detail in section\InsetSpace ~
2375
2376 \begin_inset LatexCommand ref
2377 reference "sec:Referencing-Floats"
2378
2379 \end_inset
2380
2381 .
2382 \end_layout
2383
2384 \begin_layout Section
2385 Longtables
2386 \begin_inset LatexCommand label
2387 name "sec:Longtables"
2388
2389 \end_inset
2390
2391
2392 \begin_inset LatexCommand index
2393 name "Longtables"
2394
2395 \end_inset
2396
2397
2398 \begin_inset LatexCommand index
2399 name "Table ! Longtables"
2400
2401 \end_inset
2402
2403
2404 \end_layout
2405
2406 \begin_layout Standard
2407 If the table is too long to fit on one page, you can use the option 
2408 \family sans
2409 Use\InsetSpace ~
2410 long\InsetSpace ~
2411 table
2412 \family default
2413  in the tab 
2414 \family sans
2415 Longtable
2416 \family default
2417  of the table dialog to split the table automatically over more pages.
2418  Doing this enables some check boxes and you can now define:
2419 \end_layout
2420
2421 \begin_layout Description
2422
2423 \family sans
2424 Header
2425 \family default
2426 : The current row and all rows above, that don't have any special options
2427  defined, are defined to be the header rows of all pages of the longtable;
2428  except for the first page, if 
2429 \family sans
2430 First\InsetSpace ~
2431 header
2432 \family default
2433  is defined.
2434  This therefore called the main header.
2435 \end_layout
2436
2437 \begin_layout Description
2438
2439 \family sans
2440 First\InsetSpace ~
2441 header
2442 \family default
2443 : The current row and all rows above, that don't have any special options
2444  defined, are defined to be the header rows of the first page of the longtable.
2445 \end_layout
2446
2447 \begin_layout Description
2448
2449 \family sans
2450 Footer
2451 \family default
2452 : The current row and all rows below, that don't have any special options
2453  defined, are defined to be the footer rows of all pages of the longtable;
2454  except for the last page, if 
2455 \family sans
2456 Last\InsetSpace ~
2457 footer
2458 \family default
2459  is defined.
2460 \end_layout
2461
2462 \begin_layout Description
2463
2464 \family sans
2465 Last\InsetSpace ~
2466 footer
2467 \family default
2468 : The current row and all rows below, that don't have any special options
2469  defined, are defined to be the footer rows of the last page of the longtable.
2470 \end_layout
2471
2472 \begin_layout Standard
2473 You can also specify a row where the table is splitted.
2474  If you set more than one option in the same table row, you should be aware
2475  of the fact that only the first one is used in the given table row.
2476  The others will then be defined as 
2477 \emph on
2478 empty
2479 \emph default
2480 .
2481  In this context, first means first in this order: 
2482 \family sans
2483 Header,
2484 \family default
2485  
2486 \family sans
2487 First\InsetSpace ~
2488 header, Footer, Last\InsetSpace ~
2489 footer.
2490
2491 \family default
2492  See the following longtable to see how it works:
2493 \end_layout
2494
2495 \begin_layout Standard
2496 \align center
2497 \begin_inset Tabular
2498 <lyxtabular version="3" rows="69" columns="3">
2499 <features islongtable="true">
2500 <column alignment="left" valignment="top" leftline="true" width="0cm">
2501 <column alignment="left" valignment="top" width="0pt">
2502 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2503 <row topline="true" bottomline="true" endfirsthead="true">
2504 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2505 \begin_inset Text
2506
2507 \begin_layout Standard
2508
2509 \series bold
2510 Example Phone List (ignore the names)
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519
2520 \end_layout
2521
2522 \end_inset
2523 </cell>
2524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2525 \begin_inset Text
2526
2527 \begin_layout Standard
2528
2529 \end_layout
2530
2531 \end_inset
2532 </cell>
2533 </row>
2534 <row topline="true" bottomline="true" endfirsthead="true">
2535 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2536 \begin_inset Text
2537
2538 \begin_layout Standard
2539
2540 \series bold
2541 NAME
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2547 \begin_inset Text
2548
2549 \begin_layout Standard
2550
2551 \end_layout
2552
2553 \end_inset
2554 </cell>
2555 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2556 \begin_inset Text
2557
2558 \begin_layout Standard
2559
2560 \series bold
2561 TEL.
2562 \end_layout
2563
2564 \end_inset
2565 </cell>
2566 </row>
2567 <row topline="true" bottomline="true" endhead="true">
2568 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \series bold
2574 Example Phone List
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583
2584 \end_layout
2585
2586 \end_inset
2587 </cell>
2588 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_inset Text
2590
2591 \begin_layout Standard
2592
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 </row>
2598 <row topline="true" bottomline="true" endhead="true">
2599 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603
2604 \series bold
2605 NAME
2606 \end_layout
2607
2608 \end_inset
2609 </cell>
2610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623
2624 \series bold
2625 TEL.
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 </row>
2631 <row topline="true" bottomline="true" endfoot="true">
2632 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2633 \begin_inset Text
2634
2635 \begin_layout Standard
2636  continued on next page
2637 \end_layout
2638
2639 \end_inset
2640 </cell>
2641 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \end_layout
2647
2648 \end_inset
2649 </cell>
2650 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2651 \begin_inset Text
2652
2653 \begin_layout Standard
2654
2655 \end_layout
2656
2657 \end_inset
2658 </cell>
2659 </row>
2660 <row>
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665
2666 \series bold
2667 Annovi
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 <cell alignment="center" valignment="top" topline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676 Silvia
2677 \end_layout
2678
2679 \end_inset
2680 </cell>
2681 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2682 \begin_inset Text
2683
2684 \begin_layout Standard
2685 111
2686 \end_layout
2687
2688 \end_inset
2689 </cell>
2690 </row>
2691 <row>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696
2697 \series bold
2698 Bertoli
2699 \end_layout
2700
2701 \end_inset
2702 </cell>
2703 <cell alignment="center" valignment="top" topline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707 Stefano
2708 \end_layout
2709
2710 \end_inset
2711 </cell>
2712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2713 \begin_inset Text
2714
2715 \begin_layout Standard
2716 111
2717 \end_layout
2718
2719 \end_inset
2720 </cell>
2721 </row>
2722 <row>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727
2728 \series bold
2729 Bozzi
2730 \end_layout
2731
2732 \end_inset
2733 </cell>
2734 <cell alignment="center" valignment="top" topline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738 Walter
2739 \end_layout
2740
2741 \end_inset
2742 </cell>
2743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2744 \begin_inset Text
2745
2746 \begin_layout Standard
2747 111
2748 \end_layout
2749
2750 \end_inset
2751 </cell>
2752 </row>
2753 <row>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758
2759 \series bold
2760 Cachia
2761 \end_layout
2762
2763 \end_inset
2764 </cell>
2765 <cell alignment="center" valignment="top" topline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769 Maria
2770 \end_layout
2771
2772 \end_inset
2773 </cell>
2774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2775 \begin_inset Text
2776
2777 \begin_layout Standard
2778 111
2779 \end_layout
2780
2781 \end_inset
2782 </cell>
2783 </row>
2784 <row>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789
2790 \series bold
2791 Cachia
2792 \end_layout
2793
2794 \end_inset
2795 </cell>
2796 <cell alignment="center" valignment="top" topline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800 Maurizio
2801 \end_layout
2802
2803 \end_inset
2804 </cell>
2805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_inset Text
2807
2808 \begin_layout Standard
2809 111
2810 \end_layout
2811
2812 \end_inset
2813 </cell>
2814 </row>
2815 <row>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820
2821 \series bold
2822 Cinquemani
2823 \end_layout
2824
2825 \end_inset
2826 </cell>
2827 <cell alignment="center" valignment="top" topline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831 Giusi
2832 \end_layout
2833
2834 \end_inset
2835 </cell>
2836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_inset Text
2838
2839 \begin_layout Standard
2840 111
2841 \end_layout
2842
2843 \end_inset
2844 </cell>
2845 </row>
2846 <row>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851
2852 \series bold
2853 Colin
2854 \end_layout
2855
2856 \end_inset
2857 </cell>
2858 <cell alignment="center" valignment="top" topline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862 Bernard
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871 111
2872 \end_layout
2873
2874 \end_inset
2875 </cell>
2876 </row>
2877 <row>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882
2883 \series bold
2884 Concli
2885 \end_layout
2886
2887 \end_inset
2888 </cell>
2889 <cell alignment="center" valignment="top" topline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893 Gianfranco
2894 \end_layout
2895
2896 \end_inset
2897 </cell>
2898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_inset Text
2900
2901 \begin_layout Standard
2902 111
2903 \end_layout
2904
2905 \end_inset
2906 </cell>
2907 </row>
2908 <row>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913
2914 \series bold
2915 Dal Bosco
2916 \end_layout
2917
2918 \end_inset
2919 </cell>
2920 <cell alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924 Carolina
2925 \end_layout
2926
2927 \end_inset
2928 </cell>
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Standard
2933 111
2934 \end_layout
2935
2936 \end_inset
2937 </cell>
2938 </row>
2939 <row>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944
2945 \series bold
2946 Dalpiaz
2947 \end_layout
2948
2949 \end_inset
2950 </cell>
2951 <cell alignment="center" valignment="top" topline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955 Annamaria
2956 \end_layout
2957
2958 \end_inset
2959 </cell>
2960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Standard
2964 111
2965 \end_layout
2966
2967 \end_inset
2968 </cell>
2969 </row>
2970 <row>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975
2976 \series bold
2977 Feliciello
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 <cell alignment="center" valignment="top" topline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986 Domenico
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995 111
2996 \end_layout
2997
2998 \end_inset
2999 </cell>
3000 </row>
3001 <row>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006
3007 \series bold
3008 Focarelli
3009 \end_layout
3010
3011 \end_inset
3012 </cell>
3013 <cell alignment="center" valignment="top" topline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017 Paola
3018 \end_layout
3019
3020 \end_inset
3021 </cell>
3022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026 111
3027 \end_layout
3028
3029 \end_inset
3030 </cell>
3031 </row>
3032 <row>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037
3038 \series bold
3039 Galletti
3040 \end_layout
3041
3042 \end_inset
3043 </cell>
3044 <cell alignment="center" valignment="top" topline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048 Oreste
3049 \end_layout
3050
3051 \end_inset
3052 </cell>
3053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_inset Text
3055
3056 \begin_layout Standard
3057 111
3058 \end_layout
3059
3060 \end_inset
3061 </cell>
3062 </row>
3063 <row>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068
3069 \series bold
3070 Gasparini
3071 \end_layout
3072
3073 \end_inset
3074 </cell>
3075 <cell alignment="center" valignment="top" topline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079 Franca
3080 \end_layout
3081
3082 \end_inset
3083 </cell>
3084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3085 \begin_inset Text
3086
3087 \begin_layout Standard
3088 111
3089 \end_layout
3090
3091 \end_inset
3092 </cell>
3093 </row>
3094 <row>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099
3100 \series bold
3101 Rizzardi
3102 \end_layout
3103
3104 \end_inset
3105 </cell>
3106 <cell alignment="center" valignment="top" topline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110 Paola
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Standard
3119 111
3120 \end_layout
3121
3122 \end_inset
3123 </cell>
3124 </row>
3125 <row>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130
3131 \series bold
3132 Lassini
3133 \end_layout
3134
3135 \end_inset
3136 </cell>
3137 <cell alignment="center" valignment="top" topline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141 Giancarlo
3142 \end_layout
3143
3144 \end_inset
3145 </cell>
3146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3147 \begin_inset Text
3148
3149 \begin_layout Standard
3150 111
3151 \end_layout
3152
3153 \end_inset
3154 </cell>
3155 </row>
3156 <row>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161
3162 \series bold
3163 Malfatti
3164 \end_layout
3165
3166 \end_inset
3167 </cell>
3168 <cell alignment="center" valignment="top" topline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172 Luciano
3173 \end_layout
3174
3175 \end_inset
3176 </cell>
3177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3178 \begin_inset Text
3179
3180 \begin_layout Standard
3181 111
3182 \end_layout
3183
3184 \end_inset
3185 </cell>
3186 </row>
3187 <row>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192
3193 \series bold
3194 Malfatti
3195 \end_layout
3196
3197 \end_inset
3198 </cell>
3199 <cell alignment="center" valignment="top" topline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203 Valeriano
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Standard
3212 111
3213 \end_layout
3214
3215 \end_inset
3216 </cell>
3217 </row>
3218 <row>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223
3224 \series bold
3225 Meneguzzo
3226 \end_layout
3227
3228 \end_inset
3229 </cell>
3230 <cell alignment="center" valignment="top" topline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234 Roberto
3235 \end_layout
3236
3237 \end_inset
3238 </cell>
3239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243 111
3244 \end_layout
3245
3246 \end_inset
3247 </cell>
3248 </row>
3249 <row>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254
3255 \series bold
3256 Mezzadra
3257 \end_layout
3258
3259 \end_inset
3260 </cell>
3261 <cell alignment="center" valignment="top" topline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265 Roberto
3266 \end_layout
3267
3268 \end_inset
3269 </cell>
3270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274 111
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 </row>
3280 <row>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285
3286 \series bold
3287 Pirpamer
3288 \end_layout
3289
3290 \end_inset
3291 </cell>
3292 <cell alignment="center" valignment="top" topline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296 Erich
3297 \end_layout
3298
3299 \end_inset
3300 </cell>
3301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3302 \begin_inset Text
3303
3304 \begin_layout Standard
3305 111
3306 \end_layout
3307
3308 \end_inset
3309 </cell>
3310 </row>
3311 <row>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316
3317 \series bold
3318 Pochiesa
3319 \end_layout
3320
3321 \end_inset
3322 </cell>
3323 <cell alignment="center" valignment="top" topline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327 Paolo
3328 \end_layout
3329
3330 \end_inset
3331 </cell>
3332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3333 \begin_inset Text
3334
3335 \begin_layout Standard
3336 111, 222
3337 \end_layout
3338
3339 \end_inset
3340 </cell>
3341 </row>
3342 <row>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347
3348 \series bold
3349 Radina
3350 \end_layout
3351
3352 \end_inset
3353 </cell>
3354 <cell alignment="center" valignment="top" topline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358 Claudio
3359 \end_layout
3360
3361 \end_inset
3362 </cell>
3363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Standard
3367 111
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 </row>
3373 <row>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378
3379 \series bold
3380 Stuffer
3381 \end_layout
3382
3383 \end_inset
3384 </cell>
3385 <cell alignment="center" valignment="top" topline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389 Oskar
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Standard
3398 111
3399 \end_layout
3400
3401 \end_inset
3402 </cell>
3403 </row>
3404 <row>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409
3410 \series bold
3411 Tacchelli
3412 \end_layout
3413
3414 \end_inset
3415 </cell>
3416 <cell alignment="center" valignment="top" topline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420 Ugo
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3426 \begin_inset Text
3427
3428 \begin_layout Standard
3429 111
3430 \end_layout
3431
3432 \end_inset
3433 </cell>
3434 </row>
3435 <row>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440
3441 \series bold
3442 Tezzele
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 <cell alignment="center" valignment="top" topline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451 Margit
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3457 \begin_inset Text
3458
3459 \begin_layout Standard
3460 111
3461 \end_layout
3462
3463 \end_inset
3464 </cell>
3465 </row>
3466 <row>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471
3472 \series bold
3473 Unterkalmsteiner
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 <cell alignment="center" valignment="top" topline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482 Frieda
3483 \end_layout
3484
3485 \end_inset
3486 </cell>
3487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3488 \begin_inset Text
3489
3490 \begin_layout Standard
3491 111
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 </row>
3497 <row>
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502
3503 \series bold
3504 Vieider
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 <cell alignment="center" valignment="top" topline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513 Hilde
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522 111
3523 \end_layout
3524
3525 \end_inset
3526 </cell>
3527 </row>
3528 <row>
3529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533
3534 \series bold
3535 Vigna
3536 \end_layout
3537
3538 \end_inset
3539 </cell>
3540 <cell alignment="center" valignment="top" topline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Standard
3544 Jürgen
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553 111
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 </row>
3559 <row>
3560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3561 \begin_inset Text
3562
3563 \begin_layout Standard
3564
3565 \series bold
3566 Weber
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell alignment="center" valignment="top" topline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Standard
3575 Maurizio
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3581 \begin_inset Text
3582
3583 \begin_layout Standard
3584 111
3585 \end_layout
3586
3587 \end_inset
3588 </cell>
3589 </row>
3590 <row bottomline="true">
3591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3592 \begin_inset Text
3593
3594 \begin_layout Standard
3595
3596 \series bold
3597 Winkler
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" topline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Standard
3606 Franz
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3612 \begin_inset Text
3613
3614 \begin_layout Standard
3615 111
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 </row>
3621 <row bottomline="true">
3622 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3623 \begin_inset Text
3624
3625 \begin_layout Standard
3626  
3627 \end_layout
3628
3629 \end_inset
3630 </cell>
3631 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Standard
3644
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 </row>
3650 <row>
3651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655
3656 \series bold
3657 Annovi
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 <cell alignment="center" valignment="top" topline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666 Silvia
3667 \end_layout
3668
3669 \end_inset
3670 </cell>
3671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Standard
3675 555
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 </row>
3681 <row>
3682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686
3687 \series bold
3688 Bertoli
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697 Stefano
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Standard
3706 555
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 </row>
3712 <row>
3713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717
3718 \series bold
3719 Bozzi
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 <cell alignment="center" valignment="top" topline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728 Walter
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737 555
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 </row>
3743 <row>
3744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748
3749 \series bold
3750 Cachia
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 <cell alignment="center" valignment="top" topline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759 Maria
3760 \end_layout
3761
3762 \end_inset
3763 </cell>
3764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768 555
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 </row>
3774 <row>
3775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779
3780 \series bold
3781 Cachia
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 <cell alignment="center" valignment="top" topline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790 Maurizio
3791 \end_layout
3792
3793 \end_inset
3794 </cell>
3795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Standard
3799 555
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 </row>
3805 <row>
3806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810
3811 \series bold
3812 Cinquemani
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 <cell alignment="center" valignment="top" topline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821 Giusi
3822 \end_layout
3823
3824 \end_inset
3825 </cell>
3826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Standard
3830 555
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 </row>
3836 <row>
3837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841
3842 \series bold
3843 Colin
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 <cell alignment="center" valignment="top" topline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852 Bernard
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Standard
3861 555
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 </row>
3867 <row>
3868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872
3873 \series bold
3874 Concli
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 <cell alignment="center" valignment="top" topline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883 Gianfranco
3884 \end_layout
3885
3886 \end_inset
3887 </cell>
3888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Standard
3892 555
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 </row>
3898 <row>
3899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903
3904 \series bold
3905 Dal Bosco
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 <cell alignment="center" valignment="top" topline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914 Carolina
3915 \end_layout
3916
3917 \end_inset
3918 </cell>
3919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Standard
3923 555
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 </row>
3929 <row>
3930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934
3935 \series bold
3936 Dalpiaz
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 <cell alignment="center" valignment="top" topline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945 Annamaria
3946 \end_layout
3947
3948 \end_inset
3949 </cell>
3950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Standard
3954 555
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 </row>
3960 <row>
3961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965
3966 \series bold
3967 Feliciello
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 <cell alignment="center" valignment="top" topline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976 Domenico
3977 \end_layout
3978
3979 \end_inset
3980 </cell>
3981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Standard
3985 555
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 </row>
3991 <row>
3992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996
3997 \series bold
3998 Focarelli
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 <cell alignment="center" valignment="top" topline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007 Paola
4008 \end_layout
4009
4010 \end_inset
4011 </cell>
4012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Standard
4016 555
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 </row>
4022 <row>
4023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027
4028 \series bold
4029 Galletti
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 <cell alignment="center" valignment="top" topline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038 Oreste
4039 \end_layout
4040
4041 \end_inset
4042 </cell>
4043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Standard
4047 555
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 </row>
4053 <row>
4054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058
4059 \series bold
4060 Gasparini
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 <cell alignment="center" valignment="top" topline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069 Franca
4070 \end_layout
4071
4072 \end_inset
4073 </cell>
4074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Standard
4078 555
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 </row>
4084 <row>
4085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089
4090 \series bold
4091 Rizzardi
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 <cell alignment="center" valignment="top" topline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100 Paola
4101 \end_layout
4102
4103 \end_inset
4104 </cell>
4105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Standard
4109 555
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 </row>
4115 <row>
4116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120
4121 \series bold
4122 Lassini
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 <cell alignment="center" valignment="top" topline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131 Giancarlo
4132 \end_layout
4133
4134 \end_inset
4135 </cell>
4136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Standard
4140 555
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 </row>
4146 <row>
4147 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151
4152 \series bold
4153 Malfatti
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 <cell alignment="center" valignment="top" topline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162 Luciano
4163 \end_layout
4164
4165 \end_inset
4166 </cell>
4167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Standard
4171 555
4172 \end_layout
4173
4174 \end_inset
4175 </cell>
4176 </row>
4177 <row>
4178 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182
4183 \series bold
4184 Malfatti
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 <cell alignment="center" valignment="top" topline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193 Valeriano
4194 \end_layout
4195
4196 \end_inset
4197 </cell>
4198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Standard
4202 555
4203 \end_layout
4204
4205 \end_inset
4206 </cell>
4207 </row>
4208 <row>
4209 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213
4214 \series bold
4215 Meneguzzo
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 <cell alignment="center" valignment="top" topline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224 Roberto
4225 \end_layout
4226
4227 \end_inset
4228 </cell>
4229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Standard
4233 555
4234 \end_layout
4235
4236 \end_inset
4237 </cell>
4238 </row>
4239 <row>
4240 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244
4245 \series bold
4246 Mezzadra
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 <cell alignment="center" valignment="top" topline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255 Roberto
4256 \end_layout
4257
4258 \end_inset
4259 </cell>
4260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Standard
4264 555
4265 \end_layout
4266
4267 \end_inset
4268 </cell>
4269 </row>
4270 <row>
4271 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275
4276 \series bold
4277 Pirpamer
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 <cell alignment="center" valignment="top" topline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286 Erich
4287 \end_layout
4288
4289 \end_inset
4290 </cell>
4291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Standard
4295 555
4296 \end_layout
4297
4298 \end_inset
4299 </cell>
4300 </row>
4301 <row>
4302 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306
4307 \series bold
4308 Pochiesa
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 <cell alignment="center" valignment="top" topline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317 Paolo
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Standard
4326 555, 222
4327 \end_layout
4328
4329 \end_inset
4330 </cell>
4331 </row>
4332 <row>
4333 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337
4338 \series bold
4339 Radina
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 <cell alignment="center" valignment="top" topline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348 Claudio
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357 555
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 </row>
4363 <row>
4364 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368
4369 \series bold
4370 Stuffer
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 <cell alignment="center" valignment="top" topline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379 Oskar
4380 \end_layout
4381
4382 \end_inset
4383 </cell>
4384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388 555
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 </row>
4394 <row>
4395 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399
4400 \series bold
4401 Tacchelli
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 <cell alignment="center" valignment="top" topline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410 Ugo
4411 \end_layout
4412
4413 \end_inset
4414 </cell>
4415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Standard
4419 555
4420 \end_layout
4421
4422 \end_inset
4423 </cell>
4424 </row>
4425 <row>
4426 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430
4431 \series bold
4432 Tezzele
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 <cell alignment="center" valignment="top" topline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441 Margit
4442 \end_layout
4443
4444 \end_inset
4445 </cell>
4446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Standard
4450 555
4451 \end_layout
4452
4453 \end_inset
4454 </cell>
4455 </row>
4456 <row>
4457 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461
4462 \series bold
4463 Unterkalmsteiner
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 <cell alignment="center" valignment="top" topline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472 Frieda
4473 \end_layout
4474
4475 \end_inset
4476 </cell>
4477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Standard
4481 555
4482 \end_layout
4483
4484 \end_inset
4485 </cell>
4486 </row>
4487 <row>
4488 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492
4493 \series bold
4494 Vieider
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 <cell alignment="center" valignment="top" topline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503 Hilde
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512 555
4513 \end_layout
4514
4515 \end_inset
4516 </cell>
4517 </row>
4518 <row>
4519 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523
4524 \series bold
4525 Vigna
4526 \end_layout
4527
4528 \end_inset
4529 </cell>
4530 <cell alignment="center" valignment="top" topline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Standard
4534 Jürgen
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543 999
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 </row>
4549 <row>
4550 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4551 \begin_inset Text
4552
4553 \begin_layout Standard
4554
4555 \series bold
4556 Weber
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell alignment="center" valignment="top" topline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Standard
4565 Maurizio
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4571 \begin_inset Text
4572
4573 \begin_layout Standard
4574 555
4575 \end_layout
4576
4577 \end_inset
4578 </cell>
4579 </row>
4580 <row bottomline="true">
4581 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4582 \begin_inset Text
4583
4584 \begin_layout Standard
4585
4586 \series bold
4587 Winkler
4588 \end_layout
4589
4590 \end_inset
4591 </cell>
4592 <cell alignment="center" valignment="top" topline="true" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Standard
4596 Franz
4597 \end_layout
4598
4599 \end_inset
4600 </cell>
4601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4602 \begin_inset Text
4603
4604 \begin_layout Standard
4605 555
4606 \end_layout
4607
4608 \end_inset
4609 </cell>
4610 </row>
4611 <row bottomline="true" endlastfoot="true">
4612 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4613 \begin_inset Text
4614
4615 \begin_layout Standard
4616 end
4617 \end_layout
4618
4619 \end_inset
4620 </cell>
4621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4622 \begin_inset Text
4623
4624 \begin_layout Standard
4625
4626 \end_layout
4627
4628 \end_inset
4629 </cell>
4630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4631 \begin_inset Text
4632
4633 \begin_layout Standard
4634
4635 \end_layout
4636
4637 \end_inset
4638 </cell>
4639 </row>
4640 </lyxtabular>
4641
4642 \end_inset
4643
4644
4645 \begin_inset ERT
4646 status collapsed
4647
4648 \begin_layout Standard
4649
4650
4651 \backslash
4652 addtocounter{table}{-1}
4653 \end_layout
4654
4655 \end_inset
4656
4657
4658 \begin_inset Note Note
4659 status collapsed
4660
4661 \begin_layout Standard
4662 See greyed-out note in section\InsetSpace ~
4663
4664 \begin_inset LatexCommand ref
4665 reference "sub:Longtable-Captions"
4666
4667 \end_inset
4668
4669  for an explanation of this command.
4670 \end_layout
4671
4672 \end_inset
4673
4674
4675 \end_layout
4676
4677 \begin_layout Subsection
4678 Footnotes in Longtables
4679 \begin_inset LatexCommand label
4680 name "sub:Footnotes-in-Longtables"
4681
4682 \end_inset
4683
4684
4685 \begin_inset LatexCommand index
4686 name "Longtables ! Footnotes"
4687
4688 \end_inset
4689
4690
4691 \end_layout
4692
4693 \begin_layout Standard
4694 Footnotes can be inserted to every longtable cell.
4695  They appear at the bottom of the page where the table cell with the footnote
4696  appears.
4697  Table\InsetSpace ~
4698
4699 \begin_inset LatexCommand ref
4700 reference "tab:DiffCaptions"
4701
4702 \end_inset
4703
4704  has for example a footnote.
4705 \end_layout
4706
4707 \begin_layout Subsection
4708 Longtable Alignment
4709 \begin_inset LatexCommand index
4710 name "Longtables ! Alignment"
4711
4712 \end_inset
4713
4714
4715 \end_layout
4716
4717 \begin_layout Standard
4718 Longtables are by default centered.
4719  In contrary to the alignment of the table columns and row, the table alignment
4720  can currently not be changed in the table dialog.
4721  To change the alignment of longtables you have to change the value of the
4722  lengths 
4723 \series bold
4724
4725 \backslash
4726 LTleft 
4727 \series default
4728 and 
4729 \series bold
4730
4731 \backslash
4732 LTright
4733 \series default
4734  by inserting this line as TeX-Code before the corresponding longtable:
4735 \end_layout
4736
4737 \begin_layout Standard
4738
4739 \series bold
4740
4741 \backslash
4742 setlength{
4743 \backslash
4744 LTleft}{value}
4745 \end_layout
4746
4747 \begin_layout Standard
4748 Where the value can have any of the units listed in Table\InsetSpace ~
4749
4750 \begin_inset LatexCommand ref
4751 reference "tab:Units"
4752
4753 \end_inset
4754
4755 .
4756  
4757 \series bold
4758
4759 \backslash
4760 LTleft
4761 \series default
4762  controls the horizontal distance from the left page border to the longtable,
4763  
4764 \series bold
4765
4766 \backslash
4767 LTright
4768 \series default
4769  the distance from the right side.
4770  The default value for both lengths is 
4771 \series bold
4772
4773 \backslash
4774 fill
4775 \series default
4776 , which is in this case the same as an horizontal fill in LyX.
4777 \end_layout
4778
4779 \begin_layout Standard
4780 The following longtable was left-aligned by setting 
4781 \series bold
4782
4783 \backslash
4784 LTleft
4785 \series default
4786  to 0\InsetSpace \thinspace{}
4787 pt.
4788 \begin_inset ERT
4789 status collapsed
4790
4791 \begin_layout Standard
4792
4793
4794 \backslash
4795 setlength{
4796 \backslash
4797 LTleft}{0pt}
4798 \end_layout
4799
4800 \end_inset
4801
4802
4803 \end_layout
4804
4805 \begin_layout Standard
4806 \begin_inset Tabular
4807 <lyxtabular version="3" rows="5" columns="5">
4808 <features islongtable="true">
4809 <column alignment="center" valignment="top" leftline="true" width="0">
4810 <column alignment="center" valignment="top" leftline="true" width="0">
4811 <column alignment="center" valignment="top" leftline="true" width="0">
4812 <column alignment="center" valignment="top" leftline="true" width="0">
4813 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4814 <row topline="true">
4815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4816 \begin_inset Text
4817
4818 \begin_layout Standard
4819 1
4820 \end_layout
4821
4822 \end_inset
4823 </cell>
4824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4825 \begin_inset Text
4826
4827 \begin_layout Standard
4828 2
4829 \end_layout
4830
4831 \end_inset
4832 </cell>
4833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4834 \begin_inset Text
4835
4836 \begin_layout Standard
4837 3
4838 \end_layout
4839
4840 \end_inset
4841 </cell>
4842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4843 \begin_inset Text
4844
4845 \begin_layout Standard
4846 4
4847 \end_layout
4848
4849 \end_inset
4850 </cell>
4851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Standard
4855 5
4856 \end_layout
4857
4858 \end_inset
4859 </cell>
4860 </row>
4861 <row topline="true">
4862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4863 \begin_inset Text
4864
4865 \begin_layout Standard
4866 asd
4867 \end_layout
4868
4869 \end_inset
4870 </cell>
4871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4872 \begin_inset Text
4873
4874 \begin_layout Standard
4875 s
4876 \end_layout
4877
4878 \end_inset
4879 </cell>
4880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4881 \begin_inset Text
4882
4883 \begin_layout Standard
4884 s
4885 \end_layout
4886
4887 \end_inset
4888 </cell>
4889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4890 \begin_inset Text
4891
4892 \begin_layout Standard
4893 s
4894 \end_layout
4895
4896 \end_inset
4897 </cell>
4898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4899 \begin_inset Text
4900
4901 \begin_layout Standard
4902 asd
4903 \end_layout
4904
4905 \end_inset
4906 </cell>
4907 </row>
4908 <row topline="true">
4909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4910 \begin_inset Text
4911
4912 \begin_layout Standard
4913 asd
4914 \end_layout
4915
4916 \end_inset
4917 </cell>
4918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4919 \begin_inset Text
4920
4921 \begin_layout Standard
4922 s
4923 \end_layout
4924
4925 \end_inset
4926 </cell>
4927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Standard
4931 s
4932 \end_layout
4933
4934 \end_inset
4935 </cell>
4936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4937 \begin_inset Text
4938
4939 \begin_layout Standard
4940 s
4941 \end_layout
4942
4943 \end_inset
4944 </cell>
4945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4946 \begin_inset Text
4947
4948 \begin_layout Standard
4949 asd
4950 \end_layout
4951
4952 \end_inset
4953 </cell>
4954 </row>
4955 <row topline="true">
4956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4957 \begin_inset Text
4958
4959 \begin_layout Standard
4960 asd
4961 \end_layout
4962
4963 \end_inset
4964 </cell>
4965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4966 \begin_inset Text
4967
4968 \begin_layout Standard
4969 s
4970 \end_layout
4971
4972 \end_inset
4973 </cell>
4974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4975 \begin_inset Text
4976
4977 \begin_layout Standard
4978 s
4979 \end_layout
4980
4981 \end_inset
4982 </cell>
4983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4984 \begin_inset Text
4985
4986 \begin_layout Standard
4987 s
4988 \end_layout
4989
4990 \end_inset
4991 </cell>
4992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4993 \begin_inset Text
4994
4995 \begin_layout Standard
4996 asd
4997 \end_layout
4998
4999 \end_inset
5000 </cell>
5001 </row>
5002 <row topline="true" bottomline="true">
5003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5004 \begin_inset Text
5005
5006 \begin_layout Standard
5007 asd
5008 \end_layout
5009
5010 \end_inset
5011 </cell>
5012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5013 \begin_inset Text
5014
5015 \begin_layout Standard
5016 asd
5017 \end_layout
5018
5019 \end_inset
5020 </cell>
5021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5022 \begin_inset Text
5023
5024 \begin_layout Standard
5025 asd
5026 \end_layout
5027
5028 \end_inset
5029 </cell>
5030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5031 \begin_inset Text
5032
5033 \begin_layout Standard
5034 asd
5035 \end_layout
5036
5037 \end_inset
5038 </cell>
5039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5040 \begin_inset Text
5041
5042 \begin_layout Standard
5043 asd
5044 \end_layout
5045
5046 \end_inset
5047 </cell>
5048 </row>
5049 </lyxtabular>
5050
5051 \end_inset
5052
5053
5054 \begin_inset ERT
5055 status collapsed
5056
5057 \begin_layout Standard
5058
5059
5060 \backslash
5061 setlength{
5062 \backslash
5063 LTleft}{
5064 \backslash
5065 fill}
5066 \end_layout
5067
5068 \end_inset
5069
5070
5071 \end_layout
5072
5073 \begin_layout Subsection
5074 Longtable Captions
5075 \begin_inset LatexCommand index
5076 name "Longtables ! Captions"
5077
5078 \end_inset
5079
5080
5081 \begin_inset LatexCommand label
5082 name "sub:Longtable-Captions"
5083
5084 \end_inset
5085
5086
5087 \end_layout
5088
5089 \begin_layout Standard
5090 A longtable cannot be put into a table float because floats can only be
5091  on one page but the caption environment of floats can also be used for
5092  longtables.
5093 \end_layout
5094
5095 \begin_layout Standard
5096 As LyX does not yet fully support captions in longtables, a hack is needed
5097  to create them:
5098 \end_layout
5099
5100 \begin_layout Enumerate
5101 Create a longtable
5102 \family sans
5103 .
5104 \end_layout
5105
5106 \begin_layout Enumerate
5107 Mark the first row and disable its upper line.
5108 \end_layout
5109
5110 \begin_layout Enumerate
5111 Insert a caption via the menu 
5112 \family sans
5113 Insert\SpecialChar \menuseparator
5114 Caption
5115 \family default
5116  into the first table cell.
5117 \newline
5118 You can also add a short title for the caption.
5119 \end_layout
5120
5121 \begin_layout Enumerate
5122 Insert a 
5123 \begin_inset Quotes eld
5124 \end_inset
5125
5126
5127 \series bold
5128
5129 \backslash
5130
5131 \backslash
5132 %
5133 \series default
5134
5135 \begin_inset Quotes erd
5136 \end_inset
5137
5138  as TeX-Code behind the caption.
5139 \end_layout
5140
5141 \begin_layout Standard
5142 A short title that will appear in the LOT instead of the full title.
5143  The 
5144 \series bold
5145
5146 \backslash
5147
5148 \backslash
5149 %
5150 \series default
5151  behind the caption omits the vertical lines between the following cells
5152  in the row.
5153  The first table row is now only a dummy row for the caption, the actual
5154  table starts with the second row.
5155 \end_layout
5156
5157 \begin_layout Standard
5158 Here is a short longtable to see how it works:
5159 \end_layout
5160
5161 \begin_layout Standard
5162 \begin_inset Tabular
5163 <lyxtabular version="3" rows="6" columns="5">
5164 <features islongtable="true">
5165 <column alignment="center" valignment="top" leftline="true" width="0">
5166 <column alignment="center" valignment="top" leftline="true" width="0">
5167 <column alignment="center" valignment="top" leftline="true" width="0">
5168 <column alignment="center" valignment="top" leftline="true" width="0">
5169 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5170 <row>
5171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5172 \begin_inset Text
5173
5174 \begin_layout Standard
5175 \begin_inset Caption
5176
5177 \begin_layout Standard
5178 Longtable with caption
5179 \begin_inset OptArg
5180 status open
5181
5182 \begin_layout Standard
5183 Longtable
5184 \end_layout
5185
5186 \end_inset
5187
5188
5189 \end_layout
5190
5191 \end_inset
5192
5193
5194 \begin_inset ERT
5195 status collapsed
5196
5197 \begin_layout Standard
5198
5199
5200 \backslash
5201
5202 \backslash
5203 %
5204 \end_layout
5205
5206 \end_inset
5207
5208
5209 \end_layout
5210
5211 \end_inset
5212 </cell>
5213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5214 \begin_inset Text
5215
5216 \begin_layout Standard
5217
5218 \end_layout
5219
5220 \end_inset
5221 </cell>
5222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5223 \begin_inset Text
5224
5225 \begin_layout Standard
5226
5227 \end_layout
5228
5229 \end_inset
5230 </cell>
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5232 \begin_inset Text
5233
5234 \begin_layout Standard
5235
5236 \end_layout
5237
5238 \end_inset
5239 </cell>
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5241 \begin_inset Text
5242
5243 \begin_layout Standard
5244
5245 \end_layout
5246
5247 \end_inset
5248 </cell>
5249 </row>
5250 <row topline="true">
5251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5252 \begin_inset Text
5253
5254 \begin_layout Standard
5255 1
5256 \end_layout
5257
5258 \end_inset
5259 </cell>
5260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5261 \begin_inset Text
5262
5263 \begin_layout Standard
5264 2
5265 \end_layout
5266
5267 \end_inset
5268 </cell>
5269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5270 \begin_inset Text
5271
5272 \begin_layout Standard
5273 3
5274 \end_layout
5275
5276 \end_inset
5277 </cell>
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5279 \begin_inset Text
5280
5281 \begin_layout Standard
5282 4
5283 \end_layout
5284
5285 \end_inset
5286 </cell>
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5288 \begin_inset Text
5289
5290 \begin_layout Standard
5291 5
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 </row>
5297 <row topline="true">
5298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5299 \begin_inset Text
5300
5301 \begin_layout Standard
5302 asd
5303 \end_layout
5304
5305 \end_inset
5306 </cell>
5307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5308 \begin_inset Text
5309
5310 \begin_layout Standard
5311 s
5312 \end_layout
5313
5314 \end_inset
5315 </cell>
5316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5317 \begin_inset Text
5318
5319 \begin_layout Standard
5320 s
5321 \end_layout
5322
5323 \end_inset
5324 </cell>
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5326 \begin_inset Text
5327
5328 \begin_layout Standard
5329 s
5330 \end_layout
5331
5332 \end_inset
5333 </cell>
5334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5335 \begin_inset Text
5336
5337 \begin_layout Standard
5338 asd
5339 \end_layout
5340
5341 \end_inset
5342 </cell>
5343 </row>
5344 <row topline="true">
5345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5346 \begin_inset Text
5347
5348 \begin_layout Standard
5349 asd
5350 \end_layout
5351
5352 \end_inset
5353 </cell>
5354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_inset Text
5356
5357 \begin_layout Standard
5358 s
5359 \end_layout
5360
5361 \end_inset
5362 </cell>
5363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5364 \begin_inset Text
5365
5366 \begin_layout Standard
5367 s
5368 \end_layout
5369
5370 \end_inset
5371 </cell>
5372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_inset Text
5374
5375 \begin_layout Standard
5376 s
5377 \end_layout
5378
5379 \end_inset
5380 </cell>
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5382 \begin_inset Text
5383
5384 \begin_layout Standard
5385 asd
5386 \end_layout
5387
5388 \end_inset
5389 </cell>
5390 </row>
5391 <row topline="true">
5392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5393 \begin_inset Text
5394
5395 \begin_layout Standard
5396 asd
5397 \end_layout
5398
5399 \end_inset
5400 </cell>
5401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_inset Text
5403
5404 \begin_layout Standard
5405 s
5406 \end_layout
5407
5408 \end_inset
5409 </cell>
5410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5411 \begin_inset Text
5412
5413 \begin_layout Standard
5414 s
5415 \end_layout
5416
5417 \end_inset
5418 </cell>
5419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5420 \begin_inset Text
5421
5422 \begin_layout Standard
5423 s
5424 \end_layout
5425
5426 \end_inset
5427 </cell>
5428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5429 \begin_inset Text
5430
5431 \begin_layout Standard
5432 asd
5433 \end_layout
5434
5435 \end_inset
5436 </cell>
5437 </row>
5438 <row topline="true" bottomline="true">
5439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5440 \begin_inset Text
5441
5442 \begin_layout Standard
5443 asd
5444 \end_layout
5445
5446 \end_inset
5447 </cell>
5448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5449 \begin_inset Text
5450
5451 \begin_layout Standard
5452 asd
5453 \end_layout
5454
5455 \end_inset
5456 </cell>
5457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5458 \begin_inset Text
5459
5460 \begin_layout Standard
5461 asd
5462 \end_layout
5463
5464 \end_inset
5465 </cell>
5466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_inset Text
5468
5469 \begin_layout Standard
5470 asd
5471 \end_layout
5472
5473 \end_inset
5474 </cell>
5475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5476 \begin_inset Text
5477
5478 \begin_layout Standard
5479 asd
5480 \end_layout
5481
5482 \end_inset
5483 </cell>
5484 </row>
5485 </lyxtabular>
5486
5487 \end_inset
5488
5489
5490 \end_layout
5491
5492 \begin_layout Standard
5493 \begin_inset VSpace medskip
5494 \end_inset
5495
5496
5497 \begin_inset Note Greyedout
5498 status open
5499
5500 \begin_layout Standard
5501
5502 \series bold
5503 Note:
5504 \series default
5505  The table number is increased for every longtable, also if you didn't set
5506  a caption for it.
5507  For this reason you could have the case that e.g.
5508  Table\InsetSpace ~
5509 2.4 follows on Table\InsetSpace ~
5510 2.1 in the list of tables if there are two longtables
5511  without captions.
5512  To avoid this you can add the following command in TeX-Code behind every
5513  longtable without a caption:
5514 \end_layout
5515
5516 \begin_layout Standard
5517
5518 \series bold
5519
5520 \backslash
5521 addtocounter{table}{-1}
5522 \end_layout
5523
5524 \end_inset
5525
5526
5527 \end_layout
5528
5529 \begin_layout Standard
5530 \begin_inset Note Greyedout
5531 status open
5532
5533 \begin_layout Standard
5534
5535 \series bold
5536 Note:
5537 \series default
5538  If you are using the LaTeX-package 
5539 \series bold
5540 hyperref
5541 \series default
5542
5543 \begin_inset LatexCommand index
5544 name "LaTeX-packages ! hyperref"
5545
5546 \end_inset
5547
5548  to link cross-references, the link to a longtable caption will always point
5549  to the beginning of the document.
5550 \end_layout
5551
5552 \end_inset
5553
5554
5555 \end_layout
5556
5557 \begin_layout Standard
5558
5559 \newpage
5560
5561 \end_layout
5562
5563 \begin_layout Subsubsection
5564 References to Longtables
5565 \begin_inset LatexCommand index
5566 name "Longtables ! References"
5567
5568 \end_inset
5569
5570
5571 \end_layout
5572
5573 \begin_layout Standard
5574 \begin_inset Tabular
5575 <lyxtabular version="3" rows="6" columns="5">
5576 <features islongtable="true">
5577 <column alignment="center" valignment="top" leftline="true" width="0">
5578 <column alignment="center" valignment="top" leftline="true" width="0">
5579 <column alignment="center" valignment="top" leftline="true" width="0">
5580 <column alignment="center" valignment="top" leftline="true" width="0">
5581 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5582 <row>
5583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5584 \begin_inset Text
5585
5586 \begin_layout Standard
5587 \begin_inset Caption
5588
5589 \begin_layout Standard
5590 Referenced longtable
5591 \begin_inset LatexCommand label
5592 name "tab:RefExample"
5593
5594 \end_inset
5595
5596
5597 \end_layout
5598
5599 \end_inset
5600
5601
5602 \begin_inset ERT
5603 status collapsed
5604
5605 \begin_layout Standard
5606
5607
5608 \backslash
5609
5610 \backslash
5611 %
5612 \end_layout
5613
5614 \end_inset
5615
5616
5617 \end_layout
5618
5619 \end_inset
5620 </cell>
5621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5622 \begin_inset Text
5623
5624 \begin_layout Standard
5625
5626 \end_layout
5627
5628 \end_inset
5629 </cell>
5630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5631 \begin_inset Text
5632
5633 \begin_layout Standard
5634
5635 \end_layout
5636
5637 \end_inset
5638 </cell>
5639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5640 \begin_inset Text
5641
5642 \begin_layout Standard
5643
5644 \end_layout
5645
5646 \end_inset
5647 </cell>
5648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5649 \begin_inset Text
5650
5651 \begin_layout Standard
5652
5653 \end_layout
5654
5655 \end_inset
5656 </cell>
5657 </row>
5658 <row topline="true">
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663 1
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_inset Text
5670
5671 \begin_layout Standard
5672 2
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_inset Text
5679
5680 \begin_layout Standard
5681 3
5682 \end_layout
5683
5684 \end_inset
5685 </cell>
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5687 \begin_inset Text
5688
5689 \begin_layout Standard
5690 4
5691 \end_layout
5692
5693 \end_inset
5694 </cell>
5695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5696 \begin_inset Text
5697
5698 \begin_layout Standard
5699 5
5700 \end_layout
5701
5702 \end_inset
5703 </cell>
5704 </row>
5705 <row topline="true">
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 asd
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Standard
5719 s
5720 \end_layout
5721
5722 \end_inset
5723 </cell>
5724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_inset Text
5726
5727 \begin_layout Standard
5728 s
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_inset Text
5735
5736 \begin_layout Standard
5737 s
5738 \end_layout
5739
5740 \end_inset
5741 </cell>
5742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5743 \begin_inset Text
5744
5745 \begin_layout Standard
5746 asd
5747 \end_layout
5748
5749 \end_inset
5750 </cell>
5751 </row>
5752 <row topline="true">
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 asd
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_inset Text
5764
5765 \begin_layout Standard
5766 s
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_inset Text
5773
5774 \begin_layout Standard
5775 s
5776 \end_layout
5777
5778 \end_inset
5779 </cell>
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5781 \begin_inset Text
5782
5783 \begin_layout Standard
5784 s
5785 \end_layout
5786
5787 \end_inset
5788 </cell>
5789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5790 \begin_inset Text
5791
5792 \begin_layout Standard
5793 asd
5794 \end_layout
5795
5796 \end_inset
5797 </cell>
5798 </row>
5799 <row topline="true">
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 asd
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5810 \begin_inset Text
5811
5812 \begin_layout Standard
5813 s
5814 \end_layout
5815
5816 \end_inset
5817 </cell>
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_inset Text
5820
5821 \begin_layout Standard
5822 s
5823 \end_layout
5824
5825 \end_inset
5826 </cell>
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5828 \begin_inset Text
5829
5830 \begin_layout Standard
5831 s
5832 \end_layout
5833
5834 \end_inset
5835 </cell>
5836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5837 \begin_inset Text
5838
5839 \begin_layout Standard
5840 asd
5841 \end_layout
5842
5843 \end_inset
5844 </cell>
5845 </row>
5846 <row topline="true" bottomline="true">
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 asd
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5857 \begin_inset Text
5858
5859 \begin_layout Standard
5860 sad
5861 \end_layout
5862
5863 \end_inset
5864 </cell>
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5866 \begin_inset Text
5867
5868 \begin_layout Standard
5869 asd
5870 \end_layout
5871
5872 \end_inset
5873 </cell>
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5875 \begin_inset Text
5876
5877 \begin_layout Standard
5878 asd
5879 \end_layout
5880
5881 \end_inset
5882 </cell>
5883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5884 \begin_inset Text
5885
5886 \begin_layout Standard
5887 asd
5888 \end_layout
5889
5890 \end_inset
5891 </cell>
5892 </row>
5893 </lyxtabular>
5894
5895 \end_inset
5896
5897
5898 \end_layout
5899
5900 \begin_layout Standard
5901 To reference a longtable, insert a label into the caption.
5902  Note that you have to add the label prefix 
5903 \begin_inset Quotes eld
5904 \end_inset
5905
5906
5907 \emph on
5908 tab:
5909 \emph default
5910
5911 \begin_inset Quotes eld
5912 \end_inset
5913
5914  manually in the label field.
5915 \end_layout
5916
5917 \begin_layout Standard
5918 This is a reference to Table\InsetSpace ~
5919
5920 \begin_inset LatexCommand ref
5921 reference "tab:RefExample"
5922
5923 \end_inset
5924
5925 .
5926 \end_layout
5927
5928 \begin_layout Standard
5929 The caption layout can be set together with all other caption of your document
5930  using the LaTeX-package 
5931 \series bold
5932 caption
5933 \series default
5934
5935 \begin_inset LatexCommand index
5936 name "LaTeX-packages ! caption"
5937
5938 \end_inset
5939
5940 , see section\InsetSpace ~
5941
5942 \begin_inset LatexCommand ref
5943 reference "sec:Caption-Formatting"
5944
5945 \end_inset
5946
5947 .
5948 \end_layout
5949
5950 \begin_layout Subsubsection
5951 Caption Width
5952 \begin_inset LatexCommand index
5953 name "Longtables ! Caption Width"
5954
5955 \end_inset
5956
5957
5958 \end_layout
5959
5960 \begin_layout Standard
5961 The maximal width of of caption lines is defined by the length 
5962 \series bold
5963
5964 \backslash
5965 LTcapwidth
5966 \series default
5967 .
5968  Its default value is 4\InsetSpace \thinspace{}
5969 in.
5970  To change it add the following command to your document preamble or as
5971  TeX-Code into your document before the longtable that should be affected
5972 \end_layout
5973
5974 \begin_layout Standard
5975
5976 \series bold
5977
5978 \backslash
5979 setlength{
5980 \backslash
5981 LTcapwidth}{width}
5982 \end_layout
5983
5984 \begin_layout Standard
5985 where the width could have one of the units listed in appendix\InsetSpace ~
5986
5987 \begin_inset LatexCommand ref
5988 reference "cha:Units-available-in"
5989
5990 \end_inset
5991
5992 .
5993 \end_layout
5994
5995 \begin_layout Standard
5996 The following tables show the difference:
5997 \end_layout
5998
5999 \begin_layout Standard
6000 \begin_inset Tabular
6001 <lyxtabular version="3" rows="6" columns="5">
6002 <features islongtable="true">
6003 <column alignment="center" valignment="top" leftline="true" width="0">
6004 <column alignment="center" valignment="top" leftline="true" width="0">
6005 <column alignment="center" valignment="top" leftline="true" width="0">
6006 <column alignment="center" valignment="top" leftline="true" width="0">
6007 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6008 <row>
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_inset Text
6011
6012 \begin_layout Standard
6013 \begin_inset Caption
6014
6015 \begin_layout Standard
6016 long full title with default width long full title with default width long
6017  full title with default width
6018 \begin_inset OptArg
6019 status collapsed
6020
6021 \begin_layout Standard
6022 caption with default width
6023 \end_layout
6024
6025 \end_inset
6026
6027
6028 \end_layout
6029
6030 \end_inset
6031
6032
6033 \begin_inset ERT
6034 status collapsed
6035
6036 \begin_layout Standard
6037
6038
6039 \backslash
6040
6041 \backslash
6042 %
6043 \end_layout
6044
6045 \end_inset
6046
6047
6048 \end_layout
6049
6050 \end_inset
6051 </cell>
6052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Standard
6056
6057 \end_layout
6058
6059 \end_inset
6060 </cell>
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6062 \begin_inset Text
6063
6064 \begin_layout Standard
6065
6066 \end_layout
6067
6068 \end_inset
6069 </cell>
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 </row>
6089 <row topline="true">
6090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6091 \begin_inset Text
6092
6093 \begin_layout Standard
6094 1
6095 \end_layout
6096
6097 \end_inset
6098 </cell>
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6100 \begin_inset Text
6101
6102 \begin_layout Standard
6103 2
6104 \end_layout
6105
6106 \end_inset
6107 </cell>
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6109 \begin_inset Text
6110
6111 \begin_layout Standard
6112 3
6113 \end_layout
6114
6115 \end_inset
6116 </cell>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 4
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 5
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 </row>
6136 <row topline="true">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_inset Text
6139
6140 \begin_layout Standard
6141 asd
6142 \end_layout
6143
6144 \end_inset
6145 </cell>
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_inset Text
6148
6149 \begin_layout Standard
6150 s
6151 \end_layout
6152
6153 \end_inset
6154 </cell>
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6156 \begin_inset Text
6157
6158 \begin_layout Standard
6159 s
6160 \end_layout
6161
6162 \end_inset
6163 </cell>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 s
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 asd
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 </row>
6183 <row topline="true">
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6185 \begin_inset Text
6186
6187 \begin_layout Standard
6188 asd
6189 \end_layout
6190
6191 \end_inset
6192 </cell>
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6194 \begin_inset Text
6195
6196 \begin_layout Standard
6197 s
6198 \end_layout
6199
6200 \end_inset
6201 </cell>
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6203 \begin_inset Text
6204
6205 \begin_layout Standard
6206 s
6207 \end_layout
6208
6209 \end_inset
6210 </cell>
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_inset Text
6213
6214 \begin_layout Standard
6215 s
6216 \end_layout
6217
6218 \end_inset
6219 </cell>
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6221 \begin_inset Text
6222
6223 \begin_layout Standard
6224 asd
6225 \end_layout
6226
6227 \end_inset
6228 </cell>
6229 </row>
6230 <row topline="true">
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6232 \begin_inset Text
6233
6234 \begin_layout Standard
6235 asd
6236 \end_layout
6237
6238 \end_inset
6239 </cell>
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6241 \begin_inset Text
6242
6243 \begin_layout Standard
6244 s
6245 \end_layout
6246
6247 \end_inset
6248 </cell>
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6250 \begin_inset Text
6251
6252 \begin_layout Standard
6253 s
6254 \end_layout
6255
6256 \end_inset
6257 </cell>
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6259 \begin_inset Text
6260
6261 \begin_layout Standard
6262 s
6263 \end_layout
6264
6265 \end_inset
6266 </cell>
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6268 \begin_inset Text
6269
6270 \begin_layout Standard
6271 asd
6272 \end_layout
6273
6274 \end_inset
6275 </cell>
6276 </row>
6277 <row topline="true" bottomline="true">
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6279 \begin_inset Text
6280
6281 \begin_layout Standard
6282 asd
6283 \end_layout
6284
6285 \end_inset
6286 </cell>
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Standard
6291 sad
6292 \end_layout
6293
6294 \end_inset
6295 </cell>
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6297 \begin_inset Text
6298
6299 \begin_layout Standard
6300 asd
6301 \end_layout
6302
6303 \end_inset
6304 </cell>
6305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6306 \begin_inset Text
6307
6308 \begin_layout Standard
6309 asd
6310 \end_layout
6311
6312 \end_inset
6313 </cell>
6314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6315 \begin_inset Text
6316
6317 \begin_layout Standard
6318 asd
6319 \end_layout
6320
6321 \end_inset
6322 </cell>
6323 </row>
6324 </lyxtabular>
6325
6326 \end_inset
6327
6328
6329 \end_layout
6330
6331 \begin_layout Standard
6332 \begin_inset ERT
6333 status collapsed
6334
6335 \begin_layout Standard
6336
6337
6338 \backslash
6339 setlength{
6340 \backslash
6341 LTcapwidth}{5cm}
6342 \end_layout
6343
6344 \end_inset
6345
6346
6347 \begin_inset Tabular
6348 <lyxtabular version="3" rows="6" columns="5">
6349 <features islongtable="true">
6350 <column alignment="center" valignment="top" leftline="true" width="0">
6351 <column alignment="center" valignment="top" leftline="true" width="0">
6352 <column alignment="center" valignment="top" leftline="true" width="0">
6353 <column alignment="center" valignment="top" leftline="true" width="0">
6354 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6355 <row>
6356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6357 \begin_inset Text
6358
6359 \begin_layout Standard
6360 \begin_inset Caption
6361
6362 \begin_layout Standard
6363 long full title with width set to 5\InsetSpace \thinspace{}
6364 cm long full title with width set to
6365  5\InsetSpace \thinspace{}
6366 cm long full title with width set to 5\InsetSpace \thinspace{}
6367 cm
6368 \begin_inset OptArg
6369 status collapsed
6370
6371 \begin_layout Standard
6372 caption with width\InsetSpace \thinspace{}
6373 =\InsetSpace \thinspace{}
6374 5\InsetSpace \thinspace{}
6375 cm
6376 \end_layout
6377
6378 \end_inset
6379
6380
6381 \end_layout
6382
6383 \end_inset
6384
6385
6386 \begin_inset ERT
6387 status collapsed
6388
6389 \begin_layout Standard
6390
6391
6392 \backslash
6393
6394 \backslash
6395 %
6396 \end_layout
6397
6398 \end_inset
6399
6400
6401 \end_layout
6402
6403 \end_inset
6404 </cell>
6405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6406 \begin_inset Text
6407
6408 \begin_layout Standard
6409
6410 \end_layout
6411
6412 \end_inset
6413 </cell>
6414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6415 \begin_inset Text
6416
6417 \begin_layout Standard
6418
6419 \end_layout
6420
6421 \end_inset
6422 </cell>
6423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6424 \begin_inset Text
6425
6426 \begin_layout Standard
6427
6428 \end_layout
6429
6430 \end_inset
6431 </cell>
6432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_inset Text
6434
6435 \begin_layout Standard
6436
6437 \end_layout
6438
6439 \end_inset
6440 </cell>
6441 </row>
6442 <row topline="true">
6443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6444 \begin_inset Text
6445
6446 \begin_layout Standard
6447 1
6448 \end_layout
6449
6450 \end_inset
6451 </cell>
6452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6453 \begin_inset Text
6454
6455 \begin_layout Standard
6456 2
6457 \end_layout
6458
6459 \end_inset
6460 </cell>
6461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6462 \begin_inset Text
6463
6464 \begin_layout Standard
6465 3
6466 \end_layout
6467
6468 \end_inset
6469 </cell>
6470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6471 \begin_inset Text
6472
6473 \begin_layout Standard
6474 4
6475 \end_layout
6476
6477 \end_inset
6478 </cell>
6479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Standard
6483 5
6484 \end_layout
6485
6486 \end_inset
6487 </cell>
6488 </row>
6489 <row topline="true">
6490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6491 \begin_inset Text
6492
6493 \begin_layout Standard
6494 asd
6495 \end_layout
6496
6497 \end_inset
6498 </cell>
6499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6500 \begin_inset Text
6501
6502 \begin_layout Standard
6503 s
6504 \end_layout
6505
6506 \end_inset
6507 </cell>
6508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6509 \begin_inset Text
6510
6511 \begin_layout Standard
6512 s
6513 \end_layout
6514
6515 \end_inset
6516 </cell>
6517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6518 \begin_inset Text
6519
6520 \begin_layout Standard
6521 s
6522 \end_layout
6523
6524 \end_inset
6525 </cell>
6526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6527 \begin_inset Text
6528
6529 \begin_layout Standard
6530 asd
6531 \end_layout
6532
6533 \end_inset
6534 </cell>
6535 </row>
6536 <row topline="true">
6537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6538 \begin_inset Text
6539
6540 \begin_layout Standard
6541 asd
6542 \end_layout
6543
6544 \end_inset
6545 </cell>
6546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6547 \begin_inset Text
6548
6549 \begin_layout Standard
6550 s
6551 \end_layout
6552
6553 \end_inset
6554 </cell>
6555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6556 \begin_inset Text
6557
6558 \begin_layout Standard
6559 s
6560 \end_layout
6561
6562 \end_inset
6563 </cell>
6564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6565 \begin_inset Text
6566
6567 \begin_layout Standard
6568 s
6569 \end_layout
6570
6571 \end_inset
6572 </cell>
6573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6574 \begin_inset Text
6575
6576 \begin_layout Standard
6577 asd
6578 \end_layout
6579
6580 \end_inset
6581 </cell>
6582 </row>
6583 <row topline="true">
6584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6585 \begin_inset Text
6586
6587 \begin_layout Standard
6588 asd
6589 \end_layout
6590
6591 \end_inset
6592 </cell>
6593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6594 \begin_inset Text
6595
6596 \begin_layout Standard
6597 s
6598 \end_layout
6599
6600 \end_inset
6601 </cell>
6602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6603 \begin_inset Text
6604
6605 \begin_layout Standard
6606 s
6607 \end_layout
6608
6609 \end_inset
6610 </cell>
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6612 \begin_inset Text
6613
6614 \begin_layout Standard
6615 s
6616 \end_layout
6617
6618 \end_inset
6619 </cell>
6620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Standard
6624 asd
6625 \end_layout
6626
6627 \end_inset
6628 </cell>
6629 </row>
6630 <row topline="true" bottomline="true">
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635 asd
6636 \end_layout
6637
6638 \end_inset
6639 </cell>
6640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6641 \begin_inset Text
6642
6643 \begin_layout Standard
6644 sad
6645 \end_layout
6646
6647 \end_inset
6648 </cell>
6649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6650 \begin_inset Text
6651
6652 \begin_layout Standard
6653 asd
6654 \end_layout
6655
6656 \end_inset
6657 </cell>
6658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6659 \begin_inset Text
6660
6661 \begin_layout Standard
6662 asd
6663 \end_layout
6664
6665 \end_inset
6666 </cell>
6667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6668 \begin_inset Text
6669
6670 \begin_layout Standard
6671 asd
6672 \end_layout
6673
6674 \end_inset
6675 </cell>
6676 </row>
6677 </lyxtabular>
6678
6679 \end_inset
6680
6681
6682 \end_layout
6683
6684 \begin_layout Standard
6685 \begin_inset ERT
6686 status collapsed
6687
6688 \begin_layout Standard
6689
6690
6691 \backslash
6692 setlength{
6693 \backslash
6694 LTcapwidth}{4in}
6695 \end_layout
6696
6697 \end_inset
6698
6699
6700 \end_layout
6701
6702 \begin_layout Standard
6703 \begin_inset Note Greyedout
6704 status open
6705
6706 \begin_layout Standard
6707
6708 \series bold
6709 Note:
6710 \series default
6711  When the LaTeX-package 
6712 \series bold
6713 caption
6714 \series default
6715
6716 \begin_inset LatexCommand index
6717 name "LaTeX-packages ! caption"
6718
6719 \end_inset
6720
6721  is used, as in this document, the full page width is used for the caption
6722  when you use the default value of 4\InsetSpace \thinspace{}
6723 in for 
6724 \series bold
6725
6726 \backslash
6727 LTcapwidth
6728 \series default
6729 .
6730  To get in this case exactly a 4\InsetSpace \thinspace{}
6731 in wide caption, you can either use a value
6732  slightly different from 4.0\InsetSpace \thinspace{}
6733 in, e.g.
6734  3.99\InsetSpace \thinspace{}
6735 in, or the LaTeX-command 
6736 \series bold
6737
6738 \backslash
6739 captionsetup{width=value}
6740 \series default
6741  that is provided by the 
6742 \series bold
6743 caption
6744 \series default
6745 -package.
6746 \end_layout
6747
6748 \end_inset
6749
6750
6751 \end_layout
6752
6753 \begin_layout Subsubsection
6754 Different Captions for Table Pages
6755 \begin_inset LatexCommand index
6756 name "Longtables ! Different Captions for Pages"
6757
6758 \end_inset
6759
6760
6761 \end_layout
6762
6763 \begin_layout Standard
6764 When the other captions should differ from the one of the first table page,
6765  insert a caption with a non-empty short title in a dummy caption row marked
6766  as first header.
6767  The caption used for the other table pages is inserted as caption without
6768  a short title in a dummy caption row that is marked as main header.
6769  When this caption shouldn't include the table number, use the command
6770 \end_layout
6771
6772 \begin_layout Standard
6773
6774 \series bold
6775
6776 \backslash
6777 caption*{caption text}
6778 \end_layout
6779
6780 \begin_layout Standard
6781 instead of LyX's caption box.
6782  The label to reference the table is inserted into the caption of the first
6783  header.
6784  Table\InsetSpace ~
6785
6786 \begin_inset LatexCommand ref
6787 reference "tab:DiffCaptions"
6788
6789 \end_inset
6790
6791  is an example for a longtable with different heading where the second caption
6792  doesn't include the table number.
6793 \end_layout
6794
6795 \begin_layout Standard
6796 \align center
6797 \begin_inset Tabular
6798 <lyxtabular version="3" rows="60" columns="3">
6799 <features islongtable="true">
6800 <column alignment="left" valignment="top" leftline="true" width="0cm">
6801 <column alignment="left" valignment="top" rightline="true" width="0pt">
6802 <column alignment="right" valignment="top" rightline="true" width="0pt">
6803 <row endfirsthead="true">
6804 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6805 \begin_inset Text
6806
6807 \begin_layout Standard
6808 \begin_inset Caption
6809
6810 \begin_layout Standard
6811 Example Phone List
6812 \begin_inset LatexCommand label
6813 name "tab:DiffCaptions"
6814
6815 \end_inset
6816
6817
6818 \begin_inset OptArg
6819 status collapsed
6820
6821 \begin_layout Standard
6822 Example Phone List
6823 \end_layout
6824
6825 \end_inset
6826
6827
6828 \end_layout
6829
6830 \end_inset
6831
6832
6833 \begin_inset ERT
6834 status collapsed
6835
6836 \begin_layout Standard
6837
6838
6839 \backslash
6840
6841 \backslash
6842 %
6843 \end_layout
6844
6845 \end_inset
6846
6847
6848 \end_layout
6849
6850 \end_inset
6851 </cell>
6852 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6853 \begin_inset Text
6854
6855 \begin_layout Standard
6856
6857 \end_layout
6858
6859 \end_inset
6860 </cell>
6861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6862 \begin_inset Text
6863
6864 \begin_layout Standard
6865
6866 \end_layout
6867
6868 \end_inset
6869 </cell>
6870 </row>
6871 <row topline="true" bottomline="true" endfirsthead="true">
6872 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6873 \begin_inset Text
6874
6875 \begin_layout Standard
6876
6877 \series bold
6878 Example Phone List (ignore the names)
6879 \end_layout
6880
6881 \end_inset
6882 </cell>
6883 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6884 \begin_inset Text
6885
6886 \begin_layout Standard
6887
6888 \end_layout
6889
6890 \end_inset
6891 </cell>
6892 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6893 \begin_inset Text
6894
6895 \begin_layout Standard
6896
6897 \end_layout
6898
6899 \end_inset
6900 </cell>
6901 </row>
6902 <row topline="true" bottomline="true" endfirsthead="true">
6903 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6904 \begin_inset Text
6905
6906 \begin_layout Standard
6907
6908 \series bold
6909 NAME
6910 \end_layout
6911
6912 \end_inset
6913 </cell>
6914 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6915 \begin_inset Text
6916
6917 \begin_layout Standard
6918
6919 \end_layout
6920
6921 \end_inset
6922 </cell>
6923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6924 \begin_inset Text
6925
6926 \begin_layout Standard
6927
6928 \series bold
6929 TEL.
6930 \end_layout
6931
6932 \end_inset
6933 </cell>
6934 </row>
6935 <row bottomline="true" endhead="true">
6936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Standard
6940 \begin_inset ERT
6941 status open
6942
6943 \begin_layout Standard
6944
6945
6946 \backslash
6947 caption*{Continued Example Phone List}
6948 \backslash
6949
6950 \backslash
6951 %
6952 \end_layout
6953
6954 \end_inset
6955
6956
6957 \end_layout
6958
6959 \end_inset
6960 </cell>
6961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6962 \begin_inset Text
6963
6964 \begin_layout Standard
6965
6966 \end_layout
6967
6968 \end_inset
6969 </cell>
6970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6971 \begin_inset Text
6972
6973 \begin_layout Standard
6974
6975 \end_layout
6976
6977 \end_inset
6978 </cell>
6979 </row>
6980 <row topline="true" bottomline="true" endhead="true">
6981 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6982 \begin_inset Text
6983
6984 \begin_layout Standard
6985
6986 \series bold
6987 Example Phone List
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Standard
6996
6997 \end_layout
6998
6999 \end_inset
7000 </cell>
7001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7002 \begin_inset Text
7003
7004 \begin_layout Standard
7005
7006 \end_layout
7007
7008 \end_inset
7009 </cell>
7010 </row>
7011 <row topline="true" bottomline="true" endhead="true">
7012 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Standard
7016
7017 \series bold
7018 NAME
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7033 \begin_inset Text
7034
7035 \begin_layout Standard
7036
7037 \series bold
7038 TEL.
7039 \end_layout
7040
7041 \end_inset
7042 </cell>
7043 </row>
7044 <row topline="true" bottomline="true" endfoot="true">
7045 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Standard
7049 continued on next page
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7064 \begin_inset Text
7065
7066 \begin_layout Standard
7067
7068 \end_layout
7069
7070 \end_inset
7071 </cell>
7072 </row>
7073 <row>
7074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7075 \begin_inset Text
7076
7077 \begin_layout Standard
7078
7079 \series bold
7080 Annovi
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 <cell alignment="center" valignment="top" topline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Standard
7089 Silvia
7090 \end_layout
7091
7092 \end_inset
7093 </cell>
7094 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7095 \begin_inset Text
7096
7097 \begin_layout Standard
7098 111
7099 \end_layout
7100
7101 \end_inset
7102 </cell>
7103 </row>
7104 <row>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Standard
7109
7110 \series bold
7111 Bertoli
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 <cell alignment="center" valignment="top" topline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Standard
7120 Stefano
7121 \end_layout
7122
7123 \end_inset
7124 </cell>
7125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7126 \begin_inset Text
7127
7128 \begin_layout Standard
7129 111
7130 \end_layout
7131
7132 \end_inset
7133 </cell>
7134 </row>
7135 <row>
7136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7137 \begin_inset Text
7138
7139 \begin_layout Standard
7140
7141 \series bold
7142 Bozzi
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 Walter
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7157 \begin_inset Text
7158
7159 \begin_layout Standard
7160 111
7161 \end_layout
7162
7163 \end_inset
7164 </cell>
7165 </row>
7166 <row>
7167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7168 \begin_inset Text
7169
7170 \begin_layout Standard
7171
7172 \series bold
7173 Cachia
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 Maria
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7188 \begin_inset Text
7189
7190 \begin_layout Standard
7191 111
7192 \end_layout
7193
7194 \end_inset
7195 </cell>
7196 </row>
7197 <row>
7198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7199 \begin_inset Text
7200
7201 \begin_layout Standard
7202
7203 \series bold
7204 Cachia
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 Maurizio
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7219 \begin_inset Text
7220
7221 \begin_layout Standard
7222 111
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 </row>
7228 <row>
7229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7230 \begin_inset Text
7231
7232 \begin_layout Standard
7233
7234 \series bold
7235 Cinquemani
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 Giusi
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7250 \begin_inset Text
7251
7252 \begin_layout Standard
7253 111
7254 \end_layout
7255
7256 \end_inset
7257 </cell>
7258 </row>
7259 <row>
7260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7261 \begin_inset Text
7262
7263 \begin_layout Standard
7264
7265 \series bold
7266 Colin
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 Bernard
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7281 \begin_inset Text
7282
7283 \begin_layout Standard
7284 111
7285 \end_layout
7286
7287 \end_inset
7288 </cell>
7289 </row>
7290 <row>
7291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7292 \begin_inset Text
7293
7294 \begin_layout Standard
7295
7296 \series bold
7297 Concli
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 Gianfranco
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7312 \begin_inset Text
7313
7314 \begin_layout Standard
7315 111
7316 \end_layout
7317
7318 \end_inset
7319 </cell>
7320 </row>
7321 <row>
7322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7323 \begin_inset Text
7324
7325 \begin_layout Standard
7326
7327 \series bold
7328 Dal Bosco
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 Carolina
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7343 \begin_inset Text
7344
7345 \begin_layout Standard
7346 111
7347 \end_layout
7348
7349 \end_inset
7350 </cell>
7351 </row>
7352 <row>
7353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7354 \begin_inset Text
7355
7356 \begin_layout Standard
7357
7358 \series bold
7359 Dalpiaz
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 Annamaria
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7374 \begin_inset Text
7375
7376 \begin_layout Standard
7377 111
7378 \end_layout
7379
7380 \end_inset
7381 </cell>
7382 </row>
7383 <row>
7384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7385 \begin_inset Text
7386
7387 \begin_layout Standard
7388
7389 \series bold
7390 Feliciello
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 Domenico
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7405 \begin_inset Text
7406
7407 \begin_layout Standard
7408 111
7409 \end_layout
7410
7411 \end_inset
7412 </cell>
7413 </row>
7414 <row>
7415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7416 \begin_inset Text
7417
7418 \begin_layout Standard
7419
7420 \series bold
7421 Focarelli
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 Paola
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7436 \begin_inset Text
7437
7438 \begin_layout Standard
7439 111
7440 \end_layout
7441
7442 \end_inset
7443 </cell>
7444 </row>
7445 <row>
7446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7447 \begin_inset Text
7448
7449 \begin_layout Standard
7450
7451 \series bold
7452 Galletti
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 Oreste
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7467 \begin_inset Text
7468
7469 \begin_layout Standard
7470 111
7471 \end_layout
7472
7473 \end_inset
7474 </cell>
7475 </row>
7476 <row>
7477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7478 \begin_inset Text
7479
7480 \begin_layout Standard
7481
7482 \series bold
7483 Gasparini
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 Franca
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7498 \begin_inset Text
7499
7500 \begin_layout Standard
7501 111
7502 \end_layout
7503
7504 \end_inset
7505 </cell>
7506 </row>
7507 <row>
7508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7509 \begin_inset Text
7510
7511 \begin_layout Standard
7512
7513 \series bold
7514 Rizzardi
7515 \series default
7516
7517 \begin_inset Foot
7518 status collapsed
7519
7520 \begin_layout Standard
7521 Example footnote
7522 \end_layout
7523
7524 \end_inset
7525
7526
7527 \end_layout
7528
7529 \end_inset
7530 </cell>
7531 <cell alignment="center" valignment="top" topline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535 Paola
7536 \end_layout
7537
7538 \end_inset
7539 </cell>
7540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7541 \begin_inset Text
7542
7543 \begin_layout Standard
7544 111
7545 \end_layout
7546
7547 \end_inset
7548 </cell>
7549 </row>
7550 <row>
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555
7556 \series bold
7557 Lassini
7558 \end_layout
7559
7560 \end_inset
7561 </cell>
7562 <cell alignment="center" valignment="top" topline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566 Giancarlo
7567 \end_layout
7568
7569 \end_inset
7570 </cell>
7571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7572 \begin_inset Text
7573
7574 \begin_layout Standard
7575 111
7576 \end_layout
7577
7578 \end_inset
7579 </cell>
7580 </row>
7581 <row>
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586
7587 \series bold
7588 Malfatti
7589 \end_layout
7590
7591 \end_inset
7592 </cell>
7593 <cell alignment="center" valignment="top" topline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597 Luciano
7598 \end_layout
7599
7600 \end_inset
7601 </cell>
7602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Standard
7606 111
7607 \end_layout
7608
7609 \end_inset
7610 </cell>
7611 </row>
7612 <row>
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617
7618 \series bold
7619 Malfatti
7620 \end_layout
7621
7622 \end_inset
7623 </cell>
7624 <cell alignment="center" valignment="top" topline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Standard
7628 Valeriano
7629 \end_layout
7630
7631 \end_inset
7632 </cell>
7633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7634 \begin_inset Text
7635
7636 \begin_layout Standard
7637 111
7638 \end_layout
7639
7640 \end_inset
7641 </cell>
7642 </row>
7643 <row>
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648
7649 \series bold
7650 Meneguzzo
7651 \end_layout
7652
7653 \end_inset
7654 </cell>
7655 <cell alignment="center" valignment="top" topline="true" usebox="none">
7656 \begin_inset Text
7657
7658 \begin_layout Standard
7659 Roberto
7660 \end_layout
7661
7662 \end_inset
7663 </cell>
7664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668 111
7669 \end_layout
7670
7671 \end_inset
7672 </cell>
7673 </row>
7674 <row>
7675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Standard
7679
7680 \series bold
7681 Mezzadra
7682 \end_layout
7683
7684 \end_inset
7685 </cell>
7686 <cell alignment="center" valignment="top" topline="true" usebox="none">
7687 \begin_inset Text
7688
7689 \begin_layout Standard
7690 Roberto
7691 \end_layout
7692
7693 \end_inset
7694 </cell>
7695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699 111
7700 \end_layout
7701
7702 \end_inset
7703 </cell>
7704 </row>
7705 <row>
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Standard
7710
7711 \series bold
7712 Pirpamer
7713 \end_layout
7714
7715 \end_inset
7716 </cell>
7717 <cell alignment="center" valignment="top" topline="true" usebox="none">
7718 \begin_inset Text
7719
7720 \begin_layout Standard
7721 Erich
7722 \end_layout
7723
7724 \end_inset
7725 </cell>
7726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730 111
7731 \end_layout
7732
7733 \end_inset
7734 </cell>
7735 </row>
7736 <row>
7737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Standard
7741
7742 \series bold
7743 Pochiesa
7744 \end_layout
7745
7746 \end_inset
7747 </cell>
7748 <cell alignment="center" valignment="top" topline="true" usebox="none">
7749 \begin_inset Text
7750
7751 \begin_layout Standard
7752 Paolo
7753 \end_layout
7754
7755 \end_inset
7756 </cell>
7757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761 111, 222
7762 \end_layout
7763
7764 \end_inset
7765 </cell>
7766 </row>
7767 <row>
7768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Standard
7772
7773 \series bold
7774 Radina
7775 \end_layout
7776
7777 \end_inset
7778 </cell>
7779 <cell alignment="center" valignment="top" topline="true" usebox="none">
7780 \begin_inset Text
7781
7782 \begin_layout Standard
7783 Claudio
7784 \end_layout
7785
7786 \end_inset
7787 </cell>
7788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792 111
7793 \end_layout
7794
7795 \end_inset
7796 </cell>
7797 </row>
7798 <row>
7799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Standard
7803
7804 \series bold
7805 Stuffer
7806 \end_layout
7807
7808 \end_inset
7809 </cell>
7810 <cell alignment="center" valignment="top" topline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Standard
7814 Oskar
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823 111
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 </row>
7829 <row>
7830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Standard
7834
7835 \series bold
7836 Tacchelli
7837 \end_layout
7838
7839 \end_inset
7840 </cell>
7841 <cell alignment="center" valignment="top" topline="true" usebox="none">
7842 \begin_inset Text
7843
7844 \begin_layout Standard
7845 Ugo
7846 \end_layout
7847
7848 \end_inset
7849 </cell>
7850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854 111
7855 \end_layout
7856
7857 \end_inset
7858 </cell>
7859 </row>
7860 <row>
7861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Standard
7865
7866 \series bold
7867 Tezzele
7868 \end_layout
7869
7870 \end_inset
7871 </cell>
7872 <cell alignment="center" valignment="top" topline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Standard
7876 Margit
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885 111
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 </row>
7891 <row>
7892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Standard
7896
7897 \series bold
7898 Unterkalmsteiner
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 <cell alignment="center" valignment="top" topline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Standard
7907 Frieda
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916 111
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 </row>
7922 <row>
7923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Standard
7927
7928 \series bold
7929 Vieider
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 <cell alignment="center" valignment="top" topline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Standard
7938 Hilde
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947 111
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 </row>
7953 <row>
7954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Standard
7958
7959 \series bold
7960 Vigna
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 <cell alignment="center" valignment="top" topline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Standard
7969 Jürgen
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978 111
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 </row>
7984 <row>
7985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Standard
7989
7990 \series bold
7991 Weber
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 <cell alignment="center" valignment="top" topline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Standard
8000 Maurizio
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009 111
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 </row>
8015 <row bottomline="true">
8016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Standard
8020
8021 \series bold
8022 Winkler
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 <cell alignment="center" valignment="top" topline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Standard
8031 Franz
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040 111
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 </row>
8046 <row bottomline="true">
8047 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Standard
8051  
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Standard
8060
8061 \end_layout
8062
8063 \end_inset
8064 </cell>
8065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8066 \begin_inset Text
8067
8068 \begin_layout Standard
8069
8070 \end_layout
8071
8072 \end_inset
8073 </cell>
8074 </row>
8075 <row>
8076 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Standard
8080
8081 \series bold
8082 Annovi
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 <cell alignment="center" valignment="top" topline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Standard
8091 Silvia
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8097 \begin_inset Text
8098
8099 \begin_layout Standard
8100 555
8101 \end_layout
8102
8103 \end_inset
8104 </cell>
8105 </row>
8106 <row>
8107 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8108 \begin_inset Text
8109
8110 \begin_layout Standard
8111
8112 \series bold
8113 Bertoli
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 <cell alignment="center" valignment="top" topline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Standard
8122 Stefano
8123 \end_layout
8124
8125 \end_inset
8126 </cell>
8127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8128 \begin_inset Text
8129
8130 \begin_layout Standard
8131 555
8132 \end_layout
8133
8134 \end_inset
8135 </cell>
8136 </row>
8137 <row>
8138 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Standard
8142
8143 \series bold
8144 Bozzi
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 <cell alignment="center" valignment="top" topline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Standard
8153 Walter
8154 \end_layout
8155
8156 \end_inset
8157 </cell>
8158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8159 \begin_inset Text
8160
8161 \begin_layout Standard
8162 555
8163 \end_layout
8164
8165 \end_inset
8166 </cell>
8167 </row>
8168 <row>
8169 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Standard
8173
8174 \series bold
8175 Cachia
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 <cell alignment="center" valignment="top" topline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184 Maria
8185 \end_layout
8186
8187 \end_inset
8188 </cell>
8189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8190 \begin_inset Text
8191
8192 \begin_layout Standard
8193 555
8194 \end_layout
8195
8196 \end_inset
8197 </cell>
8198 </row>
8199 <row>
8200 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Standard
8204
8205 \series bold
8206 Cachia
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 <cell alignment="center" valignment="top" topline="true" usebox="none">
8212 \begin_inset Text
8213
8214 \begin_layout Standard
8215 Maurizio
8216 \end_layout
8217
8218 \end_inset
8219 </cell>
8220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8221 \begin_inset Text
8222
8223 \begin_layout Standard
8224 555
8225 \end_layout
8226
8227 \end_inset
8228 </cell>
8229 </row>
8230 <row>
8231 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Standard
8235
8236 \series bold
8237 Cinquemani
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 <cell alignment="center" valignment="top" topline="true" usebox="none">
8243 \begin_inset Text
8244
8245 \begin_layout Standard
8246 Giusi
8247 \end_layout
8248
8249 \end_inset
8250 </cell>
8251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8252 \begin_inset Text
8253
8254 \begin_layout Standard
8255 555
8256 \end_layout
8257
8258 \end_inset
8259 </cell>
8260 </row>
8261 <row>
8262 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8263 \begin_inset Text
8264
8265 \begin_layout Standard
8266
8267 \series bold
8268 Colin
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 <cell alignment="center" valignment="top" topline="true" usebox="none">
8274 \begin_inset Text
8275
8276 \begin_layout Standard
8277 Bernard
8278 \end_layout
8279
8280 \end_inset
8281 </cell>
8282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8283 \begin_inset Text
8284
8285 \begin_layout Standard
8286 555
8287 \end_layout
8288
8289 \end_inset
8290 </cell>
8291 </row>
8292 <row>
8293 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8294 \begin_inset Text
8295
8296 \begin_layout Standard
8297
8298 \series bold
8299 Concli
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 <cell alignment="center" valignment="top" topline="true" usebox="none">
8305 \begin_inset Text
8306
8307 \begin_layout Standard
8308 Gianfranco
8309 \end_layout
8310
8311 \end_inset
8312 </cell>
8313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8314 \begin_inset Text
8315
8316 \begin_layout Standard
8317 555
8318 \end_layout
8319
8320 \end_inset
8321 </cell>
8322 </row>
8323 <row>
8324 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8325 \begin_inset Text
8326
8327 \begin_layout Standard
8328
8329 \series bold
8330 Dal Bosco
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 <cell alignment="center" valignment="top" topline="true" usebox="none">
8336 \begin_inset Text
8337
8338 \begin_layout Standard
8339 Carolina
8340 \end_layout
8341
8342 \end_inset
8343 </cell>
8344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8345 \begin_inset Text
8346
8347 \begin_layout Standard
8348 555
8349 \end_layout
8350
8351 \end_inset
8352 </cell>
8353 </row>
8354 <row>
8355 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8356 \begin_inset Text
8357
8358 \begin_layout Standard
8359
8360 \series bold
8361 Dalpiaz
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 <cell alignment="center" valignment="top" topline="true" usebox="none">
8367 \begin_inset Text
8368
8369 \begin_layout Standard
8370 Annamaria
8371 \end_layout
8372
8373 \end_inset
8374 </cell>
8375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8376 \begin_inset Text
8377
8378 \begin_layout Standard
8379 555
8380 \end_layout
8381
8382 \end_inset
8383 </cell>
8384 </row>
8385 <row>
8386 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8387 \begin_inset Text
8388
8389 \begin_layout Standard
8390
8391 \series bold
8392 Feliciello
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 <cell alignment="center" valignment="top" topline="true" usebox="none">
8398 \begin_inset Text
8399
8400 \begin_layout Standard
8401 Domenico
8402 \end_layout
8403
8404 \end_inset
8405 </cell>
8406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8407 \begin_inset Text
8408
8409 \begin_layout Standard
8410 555
8411 \end_layout
8412
8413 \end_inset
8414 </cell>
8415 </row>
8416 <row>
8417 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8418 \begin_inset Text
8419
8420 \begin_layout Standard
8421
8422 \series bold
8423 Focarelli
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 <cell alignment="center" valignment="top" topline="true" usebox="none">
8429 \begin_inset Text
8430
8431 \begin_layout Standard
8432 Paola
8433 \end_layout
8434
8435 \end_inset
8436 </cell>
8437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8438 \begin_inset Text
8439
8440 \begin_layout Standard
8441 555
8442 \end_layout
8443
8444 \end_inset
8445 </cell>
8446 </row>
8447 <row>
8448 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8449 \begin_inset Text
8450
8451 \begin_layout Standard
8452
8453 \series bold
8454 Galletti
8455 \end_layout
8456
8457 \end_inset
8458 </cell>
8459 <cell alignment="center" valignment="top" topline="true" usebox="none">
8460 \begin_inset Text
8461
8462 \begin_layout Standard
8463 Oreste
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8469 \begin_inset Text
8470
8471 \begin_layout Standard
8472 555
8473 \end_layout
8474
8475 \end_inset
8476 </cell>
8477 </row>
8478 <row>
8479 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8480 \begin_inset Text
8481
8482 \begin_layout Standard
8483
8484 \series bold
8485 Gasparini
8486 \end_layout
8487
8488 \end_inset
8489 </cell>
8490 <cell alignment="center" valignment="top" topline="true" usebox="none">
8491 \begin_inset Text
8492
8493 \begin_layout Standard
8494 Franca
8495 \end_layout
8496
8497 \end_inset
8498 </cell>
8499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8500 \begin_inset Text
8501
8502 \begin_layout Standard
8503 555
8504 \end_layout
8505
8506 \end_inset
8507 </cell>
8508 </row>
8509 <row>
8510 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8511 \begin_inset Text
8512
8513 \begin_layout Standard
8514
8515 \series bold
8516 Rizzardi
8517 \end_layout
8518
8519 \end_inset
8520 </cell>
8521 <cell alignment="center" valignment="top" topline="true" usebox="none">
8522 \begin_inset Text
8523
8524 \begin_layout Standard
8525 Paola
8526 \end_layout
8527
8528 \end_inset
8529 </cell>
8530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8531 \begin_inset Text
8532
8533 \begin_layout Standard
8534 555
8535 \end_layout
8536
8537 \end_inset
8538 </cell>
8539 </row>
8540 <row>
8541 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8542 \begin_inset Text
8543
8544 \begin_layout Standard
8545
8546 \series bold
8547 Lassini
8548 \end_layout
8549
8550 \end_inset
8551 </cell>
8552 <cell alignment="center" valignment="top" topline="true" usebox="none">
8553 \begin_inset Text
8554
8555 \begin_layout Standard
8556 Giancarlo
8557 \end_layout
8558
8559 \end_inset
8560 </cell>
8561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8562 \begin_inset Text
8563
8564 \begin_layout Standard
8565 555
8566 \end_layout
8567
8568 \end_inset
8569 </cell>
8570 </row>
8571 <row>
8572 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Standard
8576
8577 \series bold
8578 Malfatti
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 <cell alignment="center" valignment="top" topline="true" usebox="none">
8584 \begin_inset Text
8585
8586 \begin_layout Standard
8587 Luciano
8588 \end_layout
8589
8590 \end_inset
8591 </cell>
8592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8593 \begin_inset Text
8594
8595 \begin_layout Standard
8596 555
8597 \end_layout
8598
8599 \end_inset
8600 </cell>
8601 </row>
8602 <row>
8603 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8604 \begin_inset Text
8605
8606 \begin_layout Standard
8607
8608 \series bold
8609 Malfatti
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" topline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618 Valeriano
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Standard
8627 555
8628 \end_layout
8629
8630 \end_inset
8631 </cell>
8632 </row>
8633 <row>
8634 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Standard
8638
8639 \series bold
8640 Meneguzzo
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell alignment="center" valignment="top" topline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649 Roberto
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Standard
8658 555
8659 \end_layout
8660
8661 \end_inset
8662 </cell>
8663 </row>
8664 <row bottomline="true">
8665 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8666 \begin_inset Text
8667
8668 \begin_layout Standard
8669
8670 \series bold
8671 Mezzadra
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell alignment="center" valignment="top" topline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Standard
8680 Roberto
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Standard
8689 555
8690 \end_layout
8691
8692 \end_inset
8693 </cell>
8694 </row>
8695 <row bottomline="true" endlastfoot="true">
8696 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8697 \begin_inset Text
8698
8699 \begin_layout Standard
8700
8701 \end_layout
8702
8703 \end_inset
8704 </cell>
8705 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8706 \begin_inset Text
8707
8708 \begin_layout Standard
8709
8710 \end_layout
8711
8712 \end_inset
8713 </cell>
8714 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8715 \begin_inset Text
8716
8717 \begin_layout Standard
8718
8719 \end_layout
8720
8721 \end_inset
8722 </cell>
8723 </row>
8724 </lyxtabular>
8725
8726 \end_inset
8727
8728
8729 \end_layout
8730
8731 \begin_layout Section
8732 Special Longtable Issues
8733 \begin_inset LatexCommand label
8734 name "sec:Special-Longtable-Issues"
8735
8736 \end_inset
8737
8738
8739 \end_layout
8740
8741 \begin_layout Subsection
8742 Longtable Calculation
8743 \begin_inset LatexCommand index
8744 name "Longtables ! Calculation"
8745
8746 \end_inset
8747
8748
8749 \end_layout
8750
8751 \begin_layout Standard
8752 LaTeX calculates the height of table pages and their page breaks using so
8753  called chunks.
8754  Chunks are pieces of the tables that are at once in LaTeX's memory.
8755  The default value is historically set to only 20 table rows.
8756  If you are using longtables with many pages this may slow down the creation
8757  of your document.
8758  You can safely increase the chunk size to values of 100-1000 by adding
8759  this command line to your document preamble:
8760 \end_layout
8761
8762 \begin_layout Standard
8763
8764 \series bold
8765
8766 \backslash
8767 setcounter{LTchunksize}{100}
8768 \end_layout
8769
8770 \begin_layout Subsection
8771 Floats and Longtables
8772 \begin_inset LatexCommand index
8773 name "Longtables ! Floats"
8774
8775 \end_inset
8776
8777
8778 \end_layout
8779
8780 \begin_layout Standard
8781 There might be problems when a float appears on the same page where a longtable
8782  starts.
8783  To avoid such situation, add the command 
8784 \series bold
8785
8786 \backslash
8787 clearpage
8788 \series default
8789  as TeX-Code before your longtable.
8790 \end_layout
8791
8792 \begin_layout Subsection
8793 Forced Page Breaks
8794 \begin_inset LatexCommand index
8795 name "Longtables ! Forced Page Breaks"
8796
8797 \end_inset
8798
8799
8800 \end_layout
8801
8802 \begin_layout Standard
8803 By default tables are only broken between rows.
8804  If you have a cell with multiples lines and want to have a page break within
8805  the cell, insert the new line command 
8806 \begin_inset Quotes eld
8807 \end_inset
8808
8809
8810 \series bold
8811
8812 \backslash
8813
8814 \backslash
8815
8816 \series default
8817
8818 \begin_inset Quotes erd
8819 \end_inset
8820
8821  as TeX-Code at this point of the cell where it should be broken.
8822  Before the 
8823 \series bold
8824
8825 \backslash
8826
8827 \backslash
8828
8829 \series default
8830  command you have to insert in TeX-Code so many 
8831 \begin_inset Quotes eld
8832 \end_inset
8833
8834
8835 \series bold
8836 &
8837 \series default
8838
8839 \begin_inset Quotes erd
8840 \end_inset
8841
8842  characters like the number of the following table columns.
8843  The 
8844 \series bold
8845 &
8846 \series default
8847  is the character to separate table cells.
8848  Write in TeX-Code after each 
8849 \series bold
8850 &
8851 \series default
8852  the content of the corresponding following cell and delete the content
8853  of these cells.
8854 \newline
8855 Behind the the 
8856 \series bold
8857
8858 \backslash
8859
8860 \backslash
8861
8862 \series default
8863  command, insert so many 
8864 \series bold
8865 &
8866 \series default
8867  characters like the number of table columns before the current column.
8868  In Table\InsetSpace ~
8869
8870 \begin_inset LatexCommand ref
8871 reference "tab:ForcedPagebreak"
8872
8873 \end_inset
8874
8875  the cell that should be broken is in the second column followed by another
8876  column.
8877  Therefore the following command was inserted in the cell as TeX-Code behind
8878  
8879 \begin_inset Quotes eld
8880 \end_inset
8881
8882
8883 \emph on
8884 Castelchiodato,
8885 \emph default
8886
8887 \begin_inset Quotes erd
8888 \end_inset
8889
8890 :
8891 \end_layout
8892
8893 \begin_layout Standard
8894
8895 \series bold
8896 & 111
8897 \backslash
8898
8899 \backslash
8900
8901 \newline
8902 &
8903 \end_layout
8904
8905 \begin_layout Standard
8906 The 
8907 \begin_inset Quotes eld
8908 \end_inset
8909
8910 111
8911 \begin_inset Quotes erd
8912 \end_inset
8913
8914  in the third columns of the row was deleted.
8915  If your footer row of the longtable has for a certain reason no upper line
8916  but you would have a horizontal line where the cell is broken, use this
8917  command instead:
8918 \end_layout
8919
8920 \begin_layout Standard
8921
8922 \series bold
8923 & 111
8924 \backslash
8925
8926 \backslash
8927
8928 \newline
8929
8930 \backslash
8931 hline &
8932 \end_layout
8933
8934 \begin_layout Standard
8935 When the cell to be broken is in the last column, the command
8936 \end_layout
8937
8938 \begin_layout Standard
8939
8940 \series bold
8941
8942 \backslash
8943 setlength{
8944 \backslash
8945 parf\SpecialChar \textcompwordmark{}
8946 illskip}{0pt}
8947 \end_layout
8948
8949 \begin_layout Standard
8950 must be inserted as TeX-Code at the beginning of the cell.
8951  This assures that the part of the cell that will be displayed on the new
8952  page appears with the full width.
8953 \end_layout
8954
8955 \begin_layout Standard
8956 \align center
8957 \begin_inset Tabular
8958 <lyxtabular version="3" rows="39" columns="3">
8959 <features islongtable="true">
8960 <column alignment="left" valignment="top" leftline="true" width="0cm">
8961 <column alignment="left" valignment="top" rightline="true" width="3cm">
8962 <column alignment="right" valignment="top" rightline="true" width="0pt">
8963 <row endfirsthead="true">
8964 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8965 \begin_inset Text
8966
8967 \begin_layout Standard
8968 \begin_inset Caption
8969
8970 \begin_layout Standard
8971 Table with forced page break in table cell
8972 \begin_inset LatexCommand label
8973 name "tab:ForcedPagebreak"
8974
8975 \end_inset
8976
8977
8978 \begin_inset OptArg
8979 status collapsed
8980
8981 \begin_layout Standard
8982 Table with forced page break in table cell
8983 \end_layout
8984
8985 \end_inset
8986
8987
8988 \end_layout
8989
8990 \end_inset
8991
8992
8993 \begin_inset ERT
8994 status collapsed
8995
8996 \begin_layout Standard
8997
8998
8999 \backslash
9000
9001 \backslash
9002 %
9003 \end_layout
9004
9005 \end_inset
9006
9007
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9013 \begin_inset Text
9014
9015 \begin_layout Standard
9016
9017 \end_layout
9018
9019 \end_inset
9020 </cell>
9021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9022 \begin_inset Text
9023
9024 \begin_layout Standard
9025
9026 \end_layout
9027
9028 \end_inset
9029 </cell>
9030 </row>
9031 <row topline="true" bottomline="true" endfirsthead="true">
9032 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9033 \begin_inset Text
9034
9035 \begin_layout Standard
9036
9037 \series bold
9038 Example Phone List (ignore the names)
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9044 \begin_inset Text
9045
9046 \begin_layout Standard
9047
9048 \end_layout
9049
9050 \end_inset
9051 </cell>
9052 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9053 \begin_inset Text
9054
9055 \begin_layout Standard
9056
9057 \end_layout
9058
9059 \end_inset
9060 </cell>
9061 </row>
9062 <row topline="true" bottomline="true" endfirsthead="true">
9063 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9064 \begin_inset Text
9065
9066 \begin_layout Standard
9067
9068 \series bold
9069 NAME
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9075 \begin_inset Text
9076
9077 \begin_layout Standard
9078
9079 \end_layout
9080
9081 \end_inset
9082 </cell>
9083 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9084 \begin_inset Text
9085
9086 \begin_layout Standard
9087
9088 \series bold
9089 TEL.
9090 \end_layout
9091
9092 \end_inset
9093 </cell>
9094 </row>
9095 <row bottomline="true" endhead="true">
9096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Standard
9100 \begin_inset ERT
9101 status collapsed
9102
9103 \begin_layout Standard
9104
9105
9106 \backslash
9107 caption*{Continued table with forced page break in table cell}
9108 \backslash
9109
9110 \backslash
9111 %
9112 \end_layout
9113
9114 \end_inset
9115
9116
9117 \end_layout
9118
9119 \end_inset
9120 </cell>
9121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Standard
9125
9126 \end_layout
9127
9128 \end_inset
9129 </cell>
9130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9131 \begin_inset Text
9132
9133 \begin_layout Standard
9134
9135 \end_layout
9136
9137 \end_inset
9138 </cell>
9139 </row>
9140 <row topline="true" bottomline="true" endhead="true">
9141 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Standard
9145  
9146 \series bold
9147 Example Phone List
9148 \end_layout
9149
9150 \end_inset
9151 </cell>
9152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Standard
9156
9157 \end_layout
9158
9159 \end_inset
9160 </cell>
9161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9162 \begin_inset Text
9163
9164 \begin_layout Standard
9165
9166 \end_layout
9167
9168 \end_inset
9169 </cell>
9170 </row>
9171 <row topline="true" bottomline="true" endhead="true">
9172 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Standard
9176
9177 \series bold
9178 NAME
9179 \end_layout
9180
9181 \end_inset
9182 </cell>
9183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Standard
9187
9188 \end_layout
9189
9190 \end_inset
9191 </cell>
9192 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9193 \begin_inset Text
9194
9195 \begin_layout Standard
9196
9197 \series bold
9198 TEL.
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 </row>
9204 <row topline="true" bottomline="true" endfoot="true">
9205 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9206 \begin_inset Text
9207
9208 \begin_layout Standard
9209 continued on next page
9210 \end_layout
9211
9212 \end_inset
9213 </cell>
9214 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Standard
9218
9219 \end_layout
9220
9221 \end_inset
9222 </cell>
9223 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9224 \begin_inset Text
9225
9226 \begin_layout Standard
9227
9228 \end_layout
9229
9230 \end_inset
9231 </cell>
9232 </row>
9233 <row>
9234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Standard
9238
9239 \series bold
9240 Annovi
9241 \end_layout
9242
9243 \end_inset
9244 </cell>
9245 <cell alignment="center" valignment="top" topline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Standard
9249 Silvia
9250 \end_layout
9251
9252 \end_inset
9253 </cell>
9254 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9255 \begin_inset Text
9256
9257 \begin_layout Standard
9258 111
9259 \end_layout
9260
9261 \end_inset
9262 </cell>
9263 </row>
9264 <row>
9265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Standard
9269
9270 \series bold
9271 Bertoli
9272 \end_layout
9273
9274 \end_inset
9275 </cell>
9276 <cell alignment="center" valignment="top" topline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Standard
9280 Stefano
9281 \end_layout
9282
9283 \end_inset
9284 </cell>
9285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9286 \begin_inset Text
9287
9288 \begin_layout Standard
9289 111
9290 \end_layout
9291
9292 \end_inset
9293 </cell>
9294 </row>
9295 <row>
9296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Standard
9300
9301 \series bold
9302 Bozzi
9303 \end_layout
9304
9305 \end_inset
9306 </cell>
9307 <cell alignment="center" valignment="top" topline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Standard
9311 Walter
9312 \end_layout
9313
9314 \end_inset
9315 </cell>
9316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9317 \begin_inset Text
9318
9319 \begin_layout Standard
9320 111
9321 \end_layout
9322
9323 \end_inset
9324 </cell>
9325 </row>
9326 <row>
9327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Standard
9331
9332 \series bold
9333 Cachia
9334 \end_layout
9335
9336 \end_inset
9337 </cell>
9338 <cell alignment="center" valignment="top" topline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Standard
9342 Maria
9343 \end_layout
9344
9345 \end_inset
9346 </cell>
9347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9348 \begin_inset Text
9349
9350 \begin_layout Standard
9351 111
9352 \end_layout
9353
9354 \end_inset
9355 </cell>
9356 </row>
9357 <row>
9358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Standard
9362
9363 \series bold
9364 Cachia
9365 \end_layout
9366
9367 \end_inset
9368 </cell>
9369 <cell alignment="center" valignment="top" topline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Standard
9373 Maurizio
9374 \end_layout
9375
9376 \end_inset
9377 </cell>
9378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9379 \begin_inset Text
9380
9381 \begin_layout Standard
9382 111
9383 \end_layout
9384
9385 \end_inset
9386 </cell>
9387 </row>
9388 <row>
9389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Standard
9393
9394 \series bold
9395 Cinquemani
9396 \end_layout
9397
9398 \end_inset
9399 </cell>
9400 <cell alignment="center" valignment="top" topline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Standard
9404 Giusi
9405 \end_layout
9406
9407 \end_inset
9408 </cell>
9409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9410 \begin_inset Text
9411
9412 \begin_layout Standard
9413 111
9414 \end_layout
9415
9416 \end_inset
9417 </cell>
9418 </row>
9419 <row>
9420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9421 \begin_inset Text
9422
9423 \begin_layout Standard
9424
9425 \series bold
9426 Colin
9427 \end_layout
9428
9429 \end_inset
9430 </cell>
9431 <cell alignment="center" valignment="top" topline="true" usebox="none">
9432 \begin_inset Text
9433
9434 \begin_layout Standard
9435 Bernard
9436 \end_layout
9437
9438 \end_inset
9439 </cell>
9440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9441 \begin_inset Text
9442
9443 \begin_layout Standard
9444 111
9445 \end_layout
9446
9447 \end_inset
9448 </cell>
9449 </row>
9450 <row>
9451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Standard
9455
9456 \series bold
9457 Concli
9458 \end_layout
9459
9460 \end_inset
9461 </cell>
9462 <cell alignment="center" valignment="top" topline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Standard
9466 Gianfranco
9467 \end_layout
9468
9469 \end_inset
9470 </cell>
9471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9472 \begin_inset Text
9473
9474 \begin_layout Standard
9475 111
9476 \end_layout
9477
9478 \end_inset
9479 </cell>
9480 </row>
9481 <row>
9482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Standard
9486
9487 \series bold
9488 Dal Bosco
9489 \end_layout
9490
9491 \end_inset
9492 </cell>
9493 <cell alignment="center" valignment="top" topline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Standard
9497 Carolina
9498 \end_layout
9499
9500 \end_inset
9501 </cell>
9502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9503 \begin_inset Text
9504
9505 \begin_layout Standard
9506 111
9507 \end_layout
9508
9509 \end_inset
9510 </cell>
9511 </row>
9512 <row>
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Standard
9517
9518 \series bold
9519 Dalpiaz
9520 \end_layout
9521
9522 \end_inset
9523 </cell>
9524 <cell alignment="center" valignment="top" topline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Standard
9528 Annamaria
9529 \end_layout
9530
9531 \end_inset
9532 </cell>
9533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9534 \begin_inset Text
9535
9536 \begin_layout Standard
9537 111
9538 \end_layout
9539
9540 \end_inset
9541 </cell>
9542 </row>
9543 <row>
9544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9545 \begin_inset Text
9546
9547 \begin_layout Standard
9548
9549 \series bold
9550 Feliciello
9551 \end_layout
9552
9553 \end_inset
9554 </cell>
9555 <cell alignment="center" valignment="top" topline="true" usebox="none">
9556 \begin_inset Text
9557
9558 \begin_layout Standard
9559 Domenico
9560 \end_layout
9561
9562 \end_inset
9563 </cell>
9564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9565 \begin_inset Text
9566
9567 \begin_layout Standard
9568 111
9569 \end_layout
9570
9571 \end_inset
9572 </cell>
9573 </row>
9574 <row>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Standard
9579
9580 \series bold
9581 Focarelli
9582 \end_layout
9583
9584 \end_inset
9585 </cell>
9586 <cell alignment="center" valignment="top" topline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Standard
9590 Paola
9591 \end_layout
9592
9593 \end_inset
9594 </cell>
9595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9596 \begin_inset Text
9597
9598 \begin_layout Standard
9599 111
9600 \end_layout
9601
9602 \end_inset
9603 </cell>
9604 </row>
9605 <row>
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Standard
9610
9611 \series bold
9612 Galletti
9613 \end_layout
9614
9615 \end_inset
9616 </cell>
9617 <cell alignment="center" valignment="top" topline="true" usebox="none">
9618 \begin_inset Text
9619
9620 \begin_layout Standard
9621 Oreste
9622 \end_layout
9623
9624 \end_inset
9625 </cell>
9626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9627 \begin_inset Text
9628
9629 \begin_layout Standard
9630 111
9631 \end_layout
9632
9633 \end_inset
9634 </cell>
9635 </row>
9636 <row>
9637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Standard
9641
9642 \series bold
9643 Gasparini
9644 \end_layout
9645
9646 \end_inset
9647 </cell>
9648 <cell alignment="center" valignment="top" topline="true" usebox="none">
9649 \begin_inset Text
9650
9651 \begin_layout Standard
9652 Franca
9653 \end_layout
9654
9655 \end_inset
9656 </cell>
9657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9658 \begin_inset Text
9659
9660 \begin_layout Standard
9661 111
9662 \end_layout
9663
9664 \end_inset
9665 </cell>
9666 </row>
9667 <row>
9668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Standard
9672
9673 \series bold
9674 Lassini
9675 \end_layout
9676
9677 \end_inset
9678 </cell>
9679 <cell alignment="center" valignment="top" topline="true" usebox="none">
9680 \begin_inset Text
9681
9682 \begin_layout Standard
9683 Giancarlo
9684 \end_layout
9685
9686 \end_inset
9687 </cell>
9688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9689 \begin_inset Text
9690
9691 \begin_layout Standard
9692 111
9693 \end_layout
9694
9695 \end_inset
9696 </cell>
9697 </row>
9698 <row>
9699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Standard
9703
9704 \series bold
9705 Malfatti
9706 \end_layout
9707
9708 \end_inset
9709 </cell>
9710 <cell alignment="center" valignment="top" topline="true" usebox="none">
9711 \begin_inset Text
9712
9713 \begin_layout Standard
9714 Luciano
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9720 \begin_inset Text
9721
9722 \begin_layout Standard
9723 111
9724 \end_layout
9725
9726 \end_inset
9727 </cell>
9728 </row>
9729 <row>
9730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9731 \begin_inset Text
9732
9733 \begin_layout Standard
9734
9735 \series bold
9736 Malfatti
9737 \end_layout
9738
9739 \end_inset
9740 </cell>
9741 <cell alignment="center" valignment="top" topline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Standard
9745 Valeriano
9746 \end_layout
9747
9748 \end_inset
9749 </cell>
9750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9751 \begin_inset Text
9752
9753 \begin_layout Standard
9754 111
9755 \end_layout
9756
9757 \end_inset
9758 </cell>
9759 </row>
9760 <row>
9761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9762 \begin_inset Text
9763
9764 \begin_layout Standard
9765
9766 \series bold
9767 Meneguzzo
9768 \end_layout
9769
9770 \end_inset
9771 </cell>
9772 <cell alignment="center" valignment="top" topline="true" usebox="none">
9773 \begin_inset Text
9774
9775 \begin_layout Standard
9776 Roberto
9777 \end_layout
9778
9779 \end_inset
9780 </cell>
9781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9782 \begin_inset Text
9783
9784 \begin_layout Standard
9785 111
9786 \end_layout
9787
9788 \end_inset
9789 </cell>
9790 </row>
9791 <row>
9792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9793 \begin_inset Text
9794
9795 \begin_layout Standard
9796
9797 \series bold
9798 Mezzadra
9799 \end_layout
9800
9801 \end_inset
9802 </cell>
9803 <cell alignment="center" valignment="top" topline="true" usebox="none">
9804 \begin_inset Text
9805
9806 \begin_layout Standard
9807 Roberto
9808 \end_layout
9809
9810 \end_inset
9811 </cell>
9812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9813 \begin_inset Text
9814
9815 \begin_layout Standard
9816 111
9817 \end_layout
9818
9819 \end_inset
9820 </cell>
9821 </row>
9822 <row>
9823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9824 \begin_inset Text
9825
9826 \begin_layout Standard
9827
9828 \series bold
9829 Pirpamer
9830 \end_layout
9831
9832 \end_inset
9833 </cell>
9834 <cell alignment="center" valignment="top" topline="true" usebox="none">
9835 \begin_inset Text
9836
9837 \begin_layout Standard
9838 Erich
9839 \end_layout
9840
9841 \end_inset
9842 </cell>
9843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9844 \begin_inset Text
9845
9846 \begin_layout Standard
9847 111
9848 \end_layout
9849
9850 \end_inset
9851 </cell>
9852 </row>
9853 <row>
9854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9855 \begin_inset Text
9856
9857 \begin_layout Standard
9858
9859 \series bold
9860 Pochiesa
9861 \end_layout
9862
9863 \end_inset
9864 </cell>
9865 <cell alignment="center" valignment="top" topline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Standard
9869 Paolo
9870 \end_layout
9871
9872 \end_inset
9873 </cell>
9874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9875 \begin_inset Text
9876
9877 \begin_layout Standard
9878 111, 222
9879 \end_layout
9880
9881 \end_inset
9882 </cell>
9883 </row>
9884 <row>
9885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Standard
9889
9890 \series bold
9891 Radina
9892 \end_layout
9893
9894 \end_inset
9895 </cell>
9896 <cell alignment="center" valignment="top" topline="true" usebox="none">
9897 \begin_inset Text
9898
9899 \begin_layout Standard
9900 Claudio
9901 \end_layout
9902
9903 \end_inset
9904 </cell>
9905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9906 \begin_inset Text
9907
9908 \begin_layout Standard
9909 111
9910 \end_layout
9911
9912 \end_inset
9913 </cell>
9914 </row>
9915 <row>
9916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9917 \begin_inset Text
9918
9919 \begin_layout Standard
9920
9921 \series bold
9922 Rizzardi
9923 \end_layout
9924
9925 \end_inset
9926 </cell>
9927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9928 \begin_inset Text
9929
9930 \begin_layout Standard
9931 Paolo, 11.
9932  Fürst von Montecompatri, 11.
9933  Fürst von Sulmona und Vivaro, 10.
9934  Fürst von Rossano, 5.
9935  Herzog von Canemorte, 11.
9936  Herzog von Palombara, 5.
9937  Herzog von Castelchiodato,
9938 \begin_inset ERT
9939 status collapsed
9940
9941 \begin_layout Standard
9942
9943 & 111
9944 \backslash
9945
9946 \backslash
9947
9948 \end_layout
9949
9950 \begin_layout Standard
9951
9952 &
9953 \end_layout
9954
9955 \end_inset
9956
9957  11.
9958  Herzog von Poggionativo, 11.
9959  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9960  Graf von Valinfreda, 11.
9961  Baron von Cropalati, 11.
9962  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9963 \end_layout
9964
9965 \end_inset
9966 </cell>
9967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9968 \begin_inset Text
9969
9970 \begin_layout Standard
9971
9972 \end_layout
9973
9974 \end_inset
9975 </cell>
9976 </row>
9977 <row>
9978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9979 \begin_inset Text
9980
9981 \begin_layout Standard
9982
9983 \series bold
9984 Stuffer
9985 \end_layout
9986
9987 \end_inset
9988 </cell>
9989 <cell alignment="center" valignment="top" topline="true" usebox="none">
9990 \begin_inset Text
9991
9992 \begin_layout Standard
9993 Oskar
9994 \end_layout
9995
9996 \end_inset
9997 </cell>
9998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9999 \begin_inset Text
10000
10001 \begin_layout Standard
10002 111
10003 \end_layout
10004
10005 \end_inset
10006 </cell>
10007 </row>
10008 <row>
10009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10010 \begin_inset Text
10011
10012 \begin_layout Standard
10013
10014 \series bold
10015 Tacchelli
10016 \end_layout
10017
10018 \end_inset
10019 </cell>
10020 <cell alignment="center" valignment="top" topline="true" usebox="none">
10021 \begin_inset Text
10022
10023 \begin_layout Standard
10024 Ugo
10025 \end_layout
10026
10027 \end_inset
10028 </cell>
10029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10030 \begin_inset Text
10031
10032 \begin_layout Standard
10033 111
10034 \end_layout
10035
10036 \end_inset
10037 </cell>
10038 </row>
10039 <row>
10040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Standard
10044
10045 \series bold
10046 Tezzele
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 <cell alignment="center" valignment="top" topline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Standard
10055 Margit
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Standard
10064 111
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 </row>
10070 <row>
10071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Standard
10075
10076 \series bold
10077 Unterkalmsteiner
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 <cell alignment="center" valignment="top" topline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Standard
10086 Frieda
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10092 \begin_inset Text
10093
10094 \begin_layout Standard
10095 111
10096 \end_layout
10097
10098 \end_inset
10099 </cell>
10100 </row>
10101 <row>
10102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Standard
10106
10107 \series bold
10108 Vieider
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 <cell alignment="center" valignment="top" topline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Standard
10117 Hilde
10118 \end_layout
10119
10120 \end_inset
10121 </cell>
10122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Standard
10126 111
10127 \end_layout
10128
10129 \end_inset
10130 </cell>
10131 </row>
10132 <row>
10133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Standard
10137
10138 \series bold
10139 Vigna
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell alignment="center" valignment="top" topline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 Jürgen
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 111
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 </row>
10163 <row>
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Standard
10168
10169 \series bold
10170 Weber
10171 \end_layout
10172
10173 \end_inset
10174 </cell>
10175 <cell alignment="center" valignment="top" topline="true" usebox="none">
10176 \begin_inset Text
10177
10178 \begin_layout Standard
10179 Maurizio
10180 \end_layout
10181
10182 \end_inset
10183 </cell>
10184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Standard
10188 111
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 </row>
10194 <row bottomline="true">
10195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Standard
10199
10200 \series bold
10201 Winkler
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 <cell alignment="center" valignment="top" topline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Standard
10210 Franz
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Standard
10219 111
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 </row>
10225 <row endlastfoot="true">
10226 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10227 \begin_inset Text
10228
10229 \begin_layout Standard
10230
10231 \end_layout
10232
10233 \end_inset
10234 </cell>
10235 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Standard
10239
10240 \end_layout
10241
10242 \end_inset
10243 </cell>
10244 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10245 \begin_inset Text
10246
10247 \begin_layout Standard
10248
10249 \end_layout
10250
10251 \end_inset
10252 </cell>
10253 </row>
10254 </lyxtabular>
10255
10256 \end_inset
10257
10258
10259 \end_layout
10260
10261 \begin_layout Standard
10262
10263 \newpage
10264
10265 \end_layout
10266
10267 \begin_layout Section
10268 Multiple Lines Columns and Rows
10269 \end_layout
10270
10271 \begin_layout Subsection
10272 Multiple Lines in Table Cells
10273 \begin_inset LatexCommand label
10274 name "sub:Multiple-Lines-in"
10275
10276 \end_inset
10277
10278
10279 \begin_inset LatexCommand index
10280 name "Multiple Lines in Table Cells"
10281
10282 \end_inset
10283
10284
10285 \begin_inset LatexCommand index
10286 name "Table ! Linebreaks"
10287
10288 \end_inset
10289
10290
10291 \end_layout
10292
10293 \begin_layout Standard
10294 \align center
10295 \begin_inset Float table
10296 placement H
10297 wide false
10298 sideways false
10299 status open
10300
10301 \begin_layout Standard
10302 \begin_inset Caption
10303
10304 \begin_layout Standard
10305 \begin_inset LatexCommand label
10306 name "tab:Table-with-multiple"
10307
10308 \end_inset
10309
10310 Table with multiple lines in cells
10311 \end_layout
10312
10313 \end_inset
10314
10315
10316 \end_layout
10317
10318 \begin_layout Standard
10319 \align center
10320 \begin_inset Tabular
10321 <lyxtabular version="3" rows="3" columns="3">
10322 <features>
10323 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10324 <column alignment="center" valignment="middle" leftline="true" width="0">
10325 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10326 <row topline="true">
10327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10328 \begin_inset Text
10329
10330 \begin_layout Standard
10331 multiple
10332 \begin_inset ERT
10333 status collapsed
10334
10335 \begin_layout Standard
10336
10337
10338 \backslash
10339 linebreak 
10340 \end_layout
10341
10342 \end_inset
10343
10344  lines
10345 \end_layout
10346
10347 \end_inset
10348 </cell>
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Standard
10353 b
10354 \end_layout
10355
10356 \end_inset
10357 </cell>
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10359 \begin_inset Text
10360
10361 \begin_layout Standard
10362 c
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 </row>
10368 <row topline="true">
10369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10370 \begin_inset Text
10371
10372 \begin_layout Standard
10373 d
10374 \end_layout
10375
10376 \end_inset
10377 </cell>
10378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10379 \begin_inset Text
10380
10381 \begin_layout Standard
10382 e
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Standard
10391 f
10392 \end_layout
10393
10394 \end_inset
10395 </cell>
10396 </row>
10397 <row topline="true" bottomline="true">
10398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10399 \begin_inset Text
10400
10401 \begin_layout Standard
10402 g
10403 \end_layout
10404
10405 \end_inset
10406 </cell>
10407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10408 \begin_inset Text
10409
10410 \begin_layout Standard
10411 h
10412 \end_layout
10413
10414 \end_inset
10415 </cell>
10416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10417 \begin_inset Text
10418
10419 \begin_layout Standard
10420 i
10421 \end_layout
10422
10423 \end_inset
10424 </cell>
10425 </row>
10426 </lyxtabular>
10427
10428 \end_inset
10429
10430
10431 \end_layout
10432
10433 \end_inset
10434
10435
10436 \end_layout
10437
10438 \begin_layout Standard
10439 Adjusting a fixed width for a column, enables to enter text as a paragraph
10440  with multiple lines and hyphenations.
10441 \end_layout
10442
10443 \begin_layout Standard
10444 To produce Table\InsetSpace ~
10445
10446 \begin_inset LatexCommand ref
10447 reference "tab:Table-with-multiple"
10448
10449 \end_inset
10450
10451 , create a 3×3 table, mark the first cell and right-click on it.
10452  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10453 cm and choose centered
10454  for the vertical and horizontal alignment.
10455  The vertical alignment is used for all cells of the row.
10456  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10457 cm, only one line will appear.
10458  To get two lines, we add a line break with the command
10459 \end_layout
10460
10461 \begin_layout Standard
10462
10463 \series bold
10464
10465 \backslash
10466 linebreak
10467 \end_layout
10468
10469 \begin_layout Standard
10470 in TeX-Code.
10471  If the text is wider than the set cell width it will automatically be broken
10472  to several lines.
10473 \end_layout
10474
10475 \begin_layout Standard
10476 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10477  by LaTeX if it is the first entry.
10478  Therefore you need to insert something, to make the word not being the
10479  first entry: Add the command
10480 \end_layout
10481
10482 \begin_layout Standard
10483
10484 \series bold
10485
10486 \backslash
10487 hspace{0pt}
10488 \end_layout
10489
10490 \begin_layout Standard
10491 in TeX-Code before the word.
10492  As the space is zero, it doesn't change the output.
10493  Table\InsetSpace ~
10494
10495 \begin_inset LatexCommand ref
10496 reference "tab:Table-with-and"
10497
10498 \end_inset
10499
10500  shows the effect.
10501 \end_layout
10502
10503 \begin_layout Standard
10504 \begin_inset Float table
10505 placement h
10506 wide false
10507 sideways false
10508 status open
10509
10510 \begin_layout Standard
10511 \begin_inset Caption
10512
10513 \begin_layout Standard
10514 \begin_inset LatexCommand label
10515 name "tab:Table-with-and"
10516
10517 \end_inset
10518
10519 Table with and without hyphenation
10520 \end_layout
10521
10522 \end_inset
10523
10524
10525 \end_layout
10526
10527 \begin_layout Standard
10528
10529 \hfill
10530
10531 \begin_inset Tabular
10532 <lyxtabular version="3" rows="3" columns="3">
10533 <features>
10534 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10535 <column alignment="center" valignment="middle" leftline="true" width="0">
10536 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10537 <row topline="true">
10538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10539 \begin_inset Text
10540
10541 \begin_layout Standard
10542 verylongtablecellword
10543 \end_layout
10544
10545 \end_inset
10546 </cell>
10547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10548 \begin_inset Text
10549
10550 \begin_layout Standard
10551 b
10552 \end_layout
10553
10554 \end_inset
10555 </cell>
10556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10557 \begin_inset Text
10558
10559 \begin_layout Standard
10560 c
10561 \end_layout
10562
10563 \end_inset
10564 </cell>
10565 </row>
10566 <row topline="true">
10567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10568 \begin_inset Text
10569
10570 \begin_layout Standard
10571 d
10572 \end_layout
10573
10574 \end_inset
10575 </cell>
10576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10577 \begin_inset Text
10578
10579 \begin_layout Standard
10580 e
10581 \end_layout
10582
10583 \end_inset
10584 </cell>
10585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10586 \begin_inset Text
10587
10588 \begin_layout Standard
10589 f
10590 \end_layout
10591
10592 \end_inset
10593 </cell>
10594 </row>
10595 <row topline="true" bottomline="true">
10596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10597 \begin_inset Text
10598
10599 \begin_layout Standard
10600 g
10601 \end_layout
10602
10603 \end_inset
10604 </cell>
10605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10606 \begin_inset Text
10607
10608 \begin_layout Standard
10609 h
10610 \end_layout
10611
10612 \end_inset
10613 </cell>
10614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10615 \begin_inset Text
10616
10617 \begin_layout Standard
10618 i
10619 \end_layout
10620
10621 \end_inset
10622 </cell>
10623 </row>
10624 </lyxtabular>
10625
10626 \end_inset
10627
10628
10629 \hfill
10630
10631 \begin_inset Tabular
10632 <lyxtabular version="3" rows="3" columns="3">
10633 <features>
10634 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10635 <column alignment="center" valignment="middle" leftline="true" width="0">
10636 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10637 <row topline="true">
10638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10639 \begin_inset Text
10640
10641 \begin_layout Standard
10642 \begin_inset ERT
10643 status collapsed
10644
10645 \begin_layout Standard
10646
10647
10648 \backslash
10649 hspace{0pt}
10650 \end_layout
10651
10652 \end_inset
10653
10654 verylongtablecellword
10655 \end_layout
10656
10657 \end_inset
10658 </cell>
10659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10660 \begin_inset Text
10661
10662 \begin_layout Standard
10663 b
10664 \end_layout
10665
10666 \end_inset
10667 </cell>
10668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10669 \begin_inset Text
10670
10671 \begin_layout Standard
10672 c
10673 \end_layout
10674
10675 \end_inset
10676 </cell>
10677 </row>
10678 <row topline="true">
10679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10680 \begin_inset Text
10681
10682 \begin_layout Standard
10683 d
10684 \end_layout
10685
10686 \end_inset
10687 </cell>
10688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10689 \begin_inset Text
10690
10691 \begin_layout Standard
10692 e
10693 \end_layout
10694
10695 \end_inset
10696 </cell>
10697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10698 \begin_inset Text
10699
10700 \begin_layout Standard
10701 f
10702 \end_layout
10703
10704 \end_inset
10705 </cell>
10706 </row>
10707 <row topline="true" bottomline="true">
10708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10709 \begin_inset Text
10710
10711 \begin_layout Standard
10712 g
10713 \end_layout
10714
10715 \end_inset
10716 </cell>
10717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10718 \begin_inset Text
10719
10720 \begin_layout Standard
10721 h
10722 \end_layout
10723
10724 \end_inset
10725 </cell>
10726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10727 \begin_inset Text
10728
10729 \begin_layout Standard
10730 i
10731 \end_layout
10732
10733 \end_inset
10734 </cell>
10735 </row>
10736 </lyxtabular>
10737
10738 \end_inset
10739
10740
10741 \hfill
10742
10743 \end_layout
10744
10745 \end_inset
10746
10747
10748 \end_layout
10749
10750 \begin_layout Standard
10751
10752 \newpage
10753
10754 \end_layout
10755
10756 \begin_layout Subsection
10757 Multicolumns
10758 \begin_inset LatexCommand label
10759 name "sub:Multicolumns"
10760
10761 \end_inset
10762
10763
10764 \begin_inset LatexCommand index
10765 name "Multicolumns"
10766
10767 \end_inset
10768
10769
10770 \begin_inset LatexCommand index
10771 name "Table ! Multicolumns"
10772
10773 \end_inset
10774
10775
10776 \end_layout
10777
10778 \begin_layout Subsubsection
10779 Multicolumn Basics
10780 \end_layout
10781
10782 \begin_layout Standard
10783 To span a cell over multiple columns, mark as much cells within a line that
10784  should be one spanned cell and use either the table-toolbar button 
10785 \begin_inset Graphics
10786         filename ../images/tabular-feature_multicolumn.png
10787         scale 85
10788         scaleBeforeRotation
10789
10790 \end_inset
10791
10792 , or the menu 
10793 \family sans
10794 Edit\SpecialChar \menuseparator
10795 Table\SpecialChar \menuseparator
10796 Multicolumn
10797 \family default
10798 , or right click on the marked cells and choose multicolumn in the appearing
10799  table dialog under the tab 
10800 \family sans
10801 Table Settings
10802 \family default
10803 .
10804 \end_layout
10805
10806 \begin_layout Standard
10807 Multicolumns have there own cell settings.
10808  That means changing cell borders, cell alignment, and the width only affects
10809  the multicolumn.
10810  Here is an example table with a multicolumn cell in the first row and one
10811  in the last row without the upper border:
10812 \end_layout
10813
10814 \begin_layout Standard
10815 \align center
10816 \begin_inset Tabular
10817 <lyxtabular version="3" rows="3" columns="4">
10818 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10819 <column alignment="center" valignment="top" leftline="true" width="0pt">
10820 <column alignment="center" valignment="middle" leftline="true" width="0">
10821 <column alignment="center" valignment="top" leftline="true" width="0in">
10822 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10823 <row topline="true" bottomline="true">
10824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10825 \begin_inset Text
10826
10827 \begin_layout Standard
10828 abc
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Standard
10837 def ghi
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Standard
10846
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10852 \begin_inset Text
10853
10854 \begin_layout Standard
10855 jkl
10856 \end_layout
10857
10858 \end_inset
10859 </cell>
10860 </row>
10861 <row topline="true">
10862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_inset Text
10864
10865 \begin_layout Standard
10866
10867 \family roman
10868 \series medium
10869 \shape up
10870 \size normal
10871 \emph off
10872 \bar no
10873 \noun off
10874 \color none
10875 A
10876 \end_layout
10877
10878 \end_inset
10879 </cell>
10880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10881 \begin_inset Text
10882
10883 \begin_layout Standard
10884 B
10885 \end_layout
10886
10887 \end_inset
10888 </cell>
10889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10890 \begin_inset Text
10891
10892 \begin_layout Standard
10893 C
10894 \end_layout
10895
10896 \end_inset
10897 </cell>
10898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10899 \begin_inset Text
10900
10901 \begin_layout Standard
10902 D
10903 \end_layout
10904
10905 \end_inset
10906 </cell>
10907 </row>
10908 <row topline="true" bottomline="true">
10909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10910 \begin_inset Text
10911
10912 \begin_layout Standard
10913 1
10914 \end_layout
10915
10916 \end_inset
10917 </cell>
10918 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10919 \begin_inset Text
10920
10921 \begin_layout Standard
10922 2
10923 \end_layout
10924
10925 \end_inset
10926 </cell>
10927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10928 \begin_inset Text
10929
10930 \begin_layout Standard
10931 3
10932 \end_layout
10933
10934 \end_inset
10935 </cell>
10936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10937 \begin_inset Text
10938
10939 \begin_layout Standard
10940 4
10941 \end_layout
10942
10943 \end_inset
10944 </cell>
10945 </row>
10946 </lyxtabular>
10947
10948 \end_inset
10949
10950
10951 \end_layout
10952
10953 \begin_layout Subsubsection
10954 Multicolumn Calculations
10955 \begin_inset LatexCommand label
10956 name "sub:Multicolumn-Calculations"
10957
10958 \end_inset
10959
10960
10961 \begin_inset LatexCommand index
10962 name "Multicolumns ! Calculations"
10963
10964 \end_inset
10965
10966
10967 \end_layout
10968
10969 \begin_layout Standard
10970 LyX supports multicolumns directly, but we have to take notice of the cell
10971  width of the columns spanned by the multicolumn cell.
10972 \end_layout
10973
10974 \begin_layout Standard
10975 \begin_inset Float table
10976 wide false
10977 sideways false
10978 status open
10979
10980 \begin_layout Standard
10981 \begin_inset Caption
10982
10983 \begin_layout Standard
10984 \begin_inset LatexCommand label
10985 name "tab:Table-with-centered"
10986
10987 \end_inset
10988
10989 Table with centered multicolumn text above two columns that have exactly
10990  half the width of the multicolumn cell
10991 \begin_inset OptArg
10992 status collapsed
10993
10994 \begin_layout Standard
10995 Perfect multicolumn table
10996 \end_layout
10997
10998 \end_inset
10999
11000
11001 \end_layout
11002
11003 \end_inset
11004
11005
11006 \end_layout
11007
11008 \begin_layout Standard
11009 \align center
11010 \begin_inset Tabular
11011 <lyxtabular version="3" rows="3" columns="3">
11012 <features>
11013 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11014 <column alignment="center" valignment="middle" leftline="true" width="0">
11015 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11016 <row topline="true">
11017 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11018 \begin_inset Text
11019
11020 \begin_layout Standard
11021 multiple lines multicolumn
11022 \end_layout
11023
11024 \end_inset
11025 </cell>
11026 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11027 \begin_inset Text
11028
11029 \begin_layout Standard
11030
11031 \end_layout
11032
11033 \end_inset
11034 </cell>
11035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11036 \begin_inset Text
11037
11038 \begin_layout Standard
11039 c
11040 \end_layout
11041
11042 \end_inset
11043 </cell>
11044 </row>
11045 <row topline="true">
11046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11047 \begin_inset Text
11048
11049 \begin_layout Standard
11050 d
11051 \end_layout
11052
11053 \end_inset
11054 </cell>
11055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11056 \begin_inset Text
11057
11058 \begin_layout Standard
11059 e
11060 \end_layout
11061
11062 \end_inset
11063 </cell>
11064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11065 \begin_inset Text
11066
11067 \begin_layout Standard
11068 f
11069 \end_layout
11070
11071 \end_inset
11072 </cell>
11073 </row>
11074 <row topline="true" bottomline="true">
11075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11076 \begin_inset Text
11077
11078 \begin_layout Standard
11079 g
11080 \end_layout
11081
11082 \end_inset
11083 </cell>
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11085 \begin_inset Text
11086
11087 \begin_layout Standard
11088 h
11089 \end_layout
11090
11091 \end_inset
11092 </cell>
11093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11094 \begin_inset Text
11095
11096 \begin_layout Standard
11097 i
11098 \end_layout
11099
11100 \end_inset
11101 </cell>
11102 </row>
11103 </lyxtabular>
11104
11105 \end_inset
11106
11107
11108 \end_layout
11109
11110 \end_inset
11111
11112
11113 \end_layout
11114
11115 \begin_layout Standard
11116 To create for example Table\InsetSpace ~
11117
11118 \begin_inset LatexCommand ref
11119 reference "tab:Table-with-centered"
11120
11121 \end_inset
11122
11123 , mark the first two cells in the first row of a 3×3 table and right-click
11124  on them.
11125  Now choose for this cell 
11126 \emph on
11127 multicolumn
11128 \emph default
11129
11130 \emph on
11131 centered alignment
11132 \emph default
11133  and a width of 2.5\InsetSpace \thinspace{}
11134 cm in the table dialog.
11135  The spanned columns should have exactly half the width of the multicolumn
11136  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
11137 cm for the first column.
11138  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
11139 cm (multicolumn
11140  width - width of first column).
11141  This was done for Table\InsetSpace ~
11142
11143 \begin_inset LatexCommand ref
11144 reference "tab:Table-without-half"
11145
11146 \end_inset
11147
11148 .
11149 \end_layout
11150
11151 \begin_layout Standard
11152 \begin_inset Float table
11153 wide false
11154 sideways false
11155 status open
11156
11157 \begin_layout Standard
11158 \begin_inset Caption
11159
11160 \begin_layout Standard
11161 \begin_inset LatexCommand label
11162 name "tab:Table-without-half"
11163
11164 \end_inset
11165
11166 Table where the spanned table columns have not exactly half the width of
11167  the multicolumn cell
11168 \begin_inset OptArg
11169 status collapsed
11170
11171 \begin_layout Standard
11172 Imperfect multicolumn table
11173 \end_layout
11174
11175 \end_inset
11176
11177
11178 \end_layout
11179
11180 \end_inset
11181
11182
11183 \end_layout
11184
11185 \begin_layout Standard
11186 \align center
11187 \begin_inset Tabular
11188 <lyxtabular version="3" rows="3" columns="3">
11189 <features>
11190 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
11191 <column alignment="center" valignment="top" leftline="true" width="0">
11192 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11193 <row topline="true" bottomline="true">
11194 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11195 \begin_inset Text
11196
11197 \begin_layout Standard
11198 multiple lines multicolumn
11199 \end_layout
11200
11201 \end_inset
11202 </cell>
11203 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11204 \begin_inset Text
11205
11206 \begin_layout Standard
11207
11208 \end_layout
11209
11210 \end_inset
11211 </cell>
11212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11213 \begin_inset Text
11214
11215 \begin_layout Standard
11216 c
11217 \end_layout
11218
11219 \end_inset
11220 </cell>
11221 </row>
11222 <row topline="true">
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11224 \begin_inset Text
11225
11226 \begin_layout Standard
11227 d
11228 \end_layout
11229
11230 \end_inset
11231 </cell>
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11233 \begin_inset Text
11234
11235 \begin_layout Standard
11236 e
11237 \end_layout
11238
11239 \end_inset
11240 </cell>
11241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11242 \begin_inset Text
11243
11244 \begin_layout Standard
11245 f
11246 \end_layout
11247
11248 \end_inset
11249 </cell>
11250 </row>
11251 <row topline="true" bottomline="true">
11252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_inset Text
11254
11255 \begin_layout Standard
11256 g
11257 \end_layout
11258
11259 \end_inset
11260 </cell>
11261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11262 \begin_inset Text
11263
11264 \begin_layout Standard
11265 h
11266 \end_layout
11267
11268 \end_inset
11269 </cell>
11270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11271 \begin_inset Text
11272
11273 \begin_layout Standard
11274 i
11275 \end_layout
11276
11277 \end_inset
11278 </cell>
11279 </row>
11280 </lyxtabular>
11281
11282 \end_inset
11283
11284
11285 \end_layout
11286
11287 \end_inset
11288
11289
11290 \end_layout
11291
11292 \begin_layout Standard
11293 You can see that the first column has not the half width of the multicolumn
11294  cell, it is a bit bigger.
11295  The reason is that the given width of a cell 
11296 \begin_inset Formula $W_{g}$
11297 \end_inset
11298
11299  is not its total width 
11300 \begin_inset Formula $W_{\mathrm{tot}}$
11301 \end_inset
11302
11303  because a cell is always a bit larger than its given width.
11304  Appendix\InsetSpace ~
11305
11306 \begin_inset LatexCommand eqref
11307 reference "cha:Explanation-of-Equation"
11308
11309 \end_inset
11310
11311  explains it in detail.
11312 \end_layout
11313
11314 \begin_layout Standard
11315 The needed given width 
11316 \begin_inset Formula $W_{g\, n}$
11317 \end_inset
11318
11319  when 
11320 \emph on
11321 n
11322 \emph default
11323  columns are spanned can be calculated, so that each column has a total
11324  width of 
11325 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11326 \end_inset
11327
11328 :
11329 \begin_inset Formula \begin{equation}
11330 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11331
11332 \end_inset
11333
11334
11335 \end_layout
11336
11337 \begin_layout Standard
11338 In our case we have 
11339 \begin_inset Formula $n=2$
11340 \end_inset
11341
11342
11343 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11344 \end_inset
11345
11346 cm and the default values for the lengths, so that equation 
11347 \begin_inset LatexCommand ref
11348 reference "eq:Wgn"
11349
11350 \end_inset
11351
11352  becomes
11353 \begin_inset Formula \begin{equation}
11354 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11355
11356 \end_inset
11357
11358
11359 \end_layout
11360
11361 \begin_layout Standard
11362 To enable calculations in LaTeX, the LaTeX-package 
11363 \series bold
11364 calc
11365 \series default
11366  must be loaded with the document preamble line
11367 \begin_inset LatexCommand index
11368 name "LaTeX-packages ! calc"
11369
11370 \end_inset
11371
11372
11373 \end_layout
11374
11375 \begin_layout Standard
11376
11377 \series bold
11378
11379 \backslash
11380 usepackage{calc}
11381 \end_layout
11382
11383 \begin_layout Standard
11384 LyX does not allow to calculate lengths in the width-field of the table
11385  dialog.
11386  Therefore you have to format the column by inserting a LaTeX-argument in
11387  the dialog.
11388  Here is an overview about the arguments:
11389 \end_layout
11390
11391 \begin_layout Itemize
11392
11393 \series bold
11394 p{width}
11395 \series default
11396  creates cell with a fixed width, its text is vertically top-aligned
11397 \end_layout
11398
11399 \begin_layout Itemize
11400
11401 \series bold
11402 m{width}
11403 \series default
11404  creates cell with a fixed width, its text is vertically centered
11405 \end_layout
11406
11407 \begin_layout Itemize
11408
11409 \series bold
11410 b{width}
11411 \series default
11412  creates cell with a fixed width, its text is vertically bottom-aligned
11413 \end_layout
11414
11415 \begin_layout Standard
11416 By entering a LaTeX-argument, all cell settings set in the table dialog
11417  are overwritten.
11418 \end_layout
11419
11420 \begin_layout Standard
11421 \begin_inset Note Greyedout
11422 status open
11423
11424 \begin_layout Standard
11425
11426 \series bold
11427 Note:
11428 \series default
11429  Due to a bug, LyX shows the overwritten settings anyway.
11430 \end_layout
11431
11432 \end_inset
11433
11434
11435 \end_layout
11436
11437 \begin_layout Standard
11438 As the text should be horizontally centered, the command 
11439 \series bold
11440
11441 \backslash
11442 centering
11443 \series default
11444  is added.
11445  You can now enter the following LaTeX-argument for the first spanned column:
11446 \end_layout
11447
11448 \begin_layout Standard
11449
11450 \series bold
11451 >{
11452 \backslash
11453 centering}m{1.25cm-6.2pt}
11454 \end_layout
11455
11456 \begin_layout Standard
11457 The command 
11458 \series bold
11459 >{ }
11460 \series default
11461  means, that the commands inside the braces are applied before the cell
11462  is created.
11463 \end_layout
11464
11465 \begin_layout Standard
11466 Although we have chosen centered alignment for the text of the multicolumn
11467  cell, it is still left aligned.
11468  This is because LyX only applies the alignment to single columns.
11469  So we have to use for the multicolumn the LaTeX-argument
11470 \end_layout
11471
11472 \begin_layout Standard
11473
11474 \series bold
11475 >{
11476 \backslash
11477 centering}m{2.5cm}
11478 \end_layout
11479
11480 \begin_layout Subsection
11481 Multirows
11482 \begin_inset LatexCommand index
11483 name "Multirows"
11484
11485 \end_inset
11486
11487
11488 \begin_inset LatexCommand index
11489 name "Table ! Multirows"
11490
11491 \end_inset
11492
11493
11494 \begin_inset LatexCommand index
11495 name "LaTeX-packages ! multirow"
11496
11497 \end_inset
11498
11499
11500 \end_layout
11501
11502 \begin_layout Standard
11503 In contrary to multicolumns multirows are not yet supported by LyX so a
11504  bit of TeX-Code needs to be used.
11505  To use multirows load the LaTeX-package 
11506 \series bold
11507 multirow
11508 \series default
11509  in your document preamble with the command
11510 \end_layout
11511
11512 \begin_layout Standard
11513
11514 \series bold
11515
11516 \backslash
11517 usepackage{multirow}
11518 \end_layout
11519
11520 \begin_layout Standard
11521 Multirows are created with the command
11522 \end_layout
11523
11524 \begin_layout Standard
11525
11526 \series bold
11527
11528 \backslash
11529 multirow{number of rows}{cell width}{cell entry}
11530 \end_layout
11531
11532 \begin_layout Standard
11533 To create the following table:
11534 \end_layout
11535
11536 \begin_layout Standard
11537 \align center
11538 \begin_inset ERT
11539 status collapsed
11540
11541 \begin_layout Standard
11542
11543
11544 \backslash
11545 renewcommand{
11546 \backslash
11547 multirowsetup}{
11548 \backslash
11549 centering}
11550 \end_layout
11551
11552 \end_inset
11553
11554
11555 \begin_inset Tabular
11556 <lyxtabular version="3" rows="3" columns="3">
11557 <features>
11558 <column alignment="center" valignment="top" leftline="true" width="0">
11559 <column alignment="center" valignment="top" leftline="true" width="0">
11560 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11561 <row topline="true">
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 a
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11572 \begin_inset Text
11573
11574 \begin_layout Standard
11575 b
11576 \end_layout
11577
11578 \end_inset
11579 </cell>
11580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11581 \begin_inset Text
11582
11583 \begin_layout Standard
11584 c
11585 \end_layout
11586
11587 \end_inset
11588 </cell>
11589 </row>
11590 <row topline="true">
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Standard
11595 \begin_inset ERT
11596 status collapsed
11597
11598 \begin_layout Standard
11599
11600
11601 \backslash
11602 multirow{2}{2.5cm}{
11603 \end_layout
11604
11605 \end_inset
11606
11607 multirow entry
11608 \begin_inset ERT
11609 status collapsed
11610
11611 \begin_layout Standard
11612
11613 }
11614 \end_layout
11615
11616 \end_inset
11617
11618
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Standard
11627 e
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Standard
11636 f
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 </row>
11642 <row topline="true" bottomline="true">
11643 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656 h
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Standard
11665 i
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 </row>
11671 </lyxtabular>
11672
11673 \end_inset
11674
11675
11676 \begin_inset ERT
11677 status collapsed
11678
11679 \begin_layout Standard
11680
11681
11682 \backslash
11683 renewcommand{
11684 \backslash
11685 multirowsetup}{
11686 \backslash
11687 raggedright}
11688 \end_layout
11689
11690 \end_inset
11691
11692
11693 \end_layout
11694
11695 \begin_layout Standard
11696 create a 3×3 table.
11697  To get rid of the line above the last cell in the first column, the cell
11698  is marked as multicolumn and the upper border is unset.
11699  The multirow is now created in the second row of the first column by inserting
11700  there the command
11701 \end_layout
11702
11703 \begin_layout Standard
11704
11705 \series bold
11706
11707 \backslash
11708 multirow{2}{2.5cm}{
11709 \end_layout
11710
11711 \begin_layout Standard
11712 as TeX-Code.
11713  According to the command parameters the multirow spans now two rows and
11714  has a width of 2.5\InsetSpace \thinspace{}
11715 cm.
11716  The content of the multirow cell follows outside the TeX-Code box and the
11717  command is finished with a right brace 
11718 \series bold
11719 }
11720 \series default
11721  in another TeX-Code-box behind the text.
11722 \end_layout
11723
11724 \begin_layout Standard
11725
11726 \series bold
11727
11728 \backslash
11729 multirow
11730 \series default
11731  left-aligns its content by default.
11732  To override the default, renew the command 
11733 \series bold
11734
11735 \backslash
11736 multirowsetup
11737 \series default
11738  with the command
11739 \end_layout
11740
11741 \begin_layout Standard
11742
11743 \series bold
11744
11745 \backslash
11746 renewcommand{
11747 \backslash
11748 multirowsetup}{
11749 \backslash
11750 centering}
11751 \end_layout
11752
11753 \begin_layout Standard
11754 in TeX-Code in the document preamble.
11755  Then all entries of multirow cells in the document are centered.
11756  If centering is only needed for several tables, you can renew the command
11757  in an TeX-Code box just before the table instead of the preamble.
11758  If the text should be right-aligned, replace 
11759 \series bold
11760
11761 \backslash
11762 centering
11763 \series default
11764  by 
11765 \series bold
11766
11767 \backslash
11768 raggedleft
11769 \series default
11770 .
11771  To return to left-alignment 
11772 \series bold
11773
11774 \backslash
11775 raggedright
11776 \series default
11777  is used.
11778 \end_layout
11779
11780 \begin_layout Section
11781 Formal Tables
11782 \begin_inset LatexCommand label
11783 name "sec:Formal-Tables"
11784
11785 \end_inset
11786
11787
11788 \begin_inset LatexCommand index
11789 name "Table ! Formal"
11790
11791 \end_inset
11792
11793
11794 \end_layout
11795
11796 \begin_layout Standard
11797 Tables are often typeset in books similar to Table\InsetSpace ~
11798
11799 \begin_inset LatexCommand ref
11800 reference "tab:Example-booktabs-table"
11801
11802 \end_inset
11803
11804 .
11805  This kind of tables is called 
11806 \begin_inset Quotes eld
11807 \end_inset
11808
11809
11810 \emph on
11811 formal
11812 \emph default
11813
11814 \begin_inset Quotes erd
11815 \end_inset
11816
11817 .
11818  To make a table a formal table use the option 
11819 \family sans
11820 Formal
11821 \family default
11822  in the 
11823 \family sans
11824 Borders
11825 \family default
11826  tab of the table dialog.
11827 \end_layout
11828
11829 \begin_layout Standard
11830 \begin_inset Float table
11831 placement h
11832 wide false
11833 sideways false
11834 status open
11835
11836 \begin_layout Standard
11837 \begin_inset Caption
11838
11839 \begin_layout Standard
11840 \begin_inset LatexCommand label
11841 name "tab:Example-booktabs-table"
11842
11843 \end_inset
11844
11845 Example booktabs-table
11846 \end_layout
11847
11848 \end_inset
11849
11850
11851 \end_layout
11852
11853 \begin_layout Standard
11854 \align center
11855 \begin_inset Tabular
11856 <lyxtabular version="3" rows="8" columns="4">
11857 <features booktabs="true">
11858 <column alignment="center" valignment="top" rightline="true" width="0">
11859 <column alignment="center" valignment="top" width="0">
11860 <column alignment="center" valignment="top" width="0">
11861 <column alignment="center" valignment="top" width="0">
11862 <row topline="true">
11863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11864 \begin_inset Text
11865
11866 \begin_layout Standard
11867 System
11868 \end_layout
11869
11870 \end_inset
11871 </cell>
11872 <cell alignment="center" valignment="top" topline="true" usebox="none">
11873 \begin_inset Text
11874
11875 \begin_layout Standard
11876 Medipix
11877 \begin_inset Formula $\,$
11878 \end_inset
11879
11880 1
11881 \end_layout
11882
11883 \end_inset
11884 </cell>
11885 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11886 \begin_inset Text
11887
11888 \begin_layout Standard
11889 Medipix
11890 \begin_inset Formula $\,$
11891 \end_inset
11892
11893 2
11894 \end_layout
11895
11896 \end_inset
11897 </cell>
11898 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11899 \begin_inset Text
11900
11901 \begin_layout Standard
11902
11903 \end_layout
11904
11905 \end_inset
11906 </cell>
11907 </row>
11908 <row>
11909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11910 \begin_inset Text
11911
11912 \begin_layout Standard
11913 \begin_inset ERT
11914 status collapsed
11915
11916 \begin_layout Standard
11917
11918
11919 \backslash
11920 cmidrule(r){2-2}
11921 \end_layout
11922
11923 \end_inset
11924
11925
11926 \begin_inset ERT
11927 status collapsed
11928
11929 \begin_layout Standard
11930
11931
11932 \backslash
11933 cmidrule(l){3-4}
11934 \end_layout
11935
11936 \end_inset
11937
11938 Detector thickness [µm]
11939 \end_layout
11940
11941 \end_inset
11942 </cell>
11943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11944 \begin_inset Text
11945
11946 \begin_layout Standard
11947 300
11948 \end_layout
11949
11950 \end_inset
11951 </cell>
11952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11953 \begin_inset Text
11954
11955 \begin_layout Standard
11956 300
11957 \end_layout
11958
11959 \end_inset
11960 </cell>
11961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11962 \begin_inset Text
11963
11964 \begin_layout Standard
11965 700
11966 \end_layout
11967
11968 \end_inset
11969 </cell>
11970 </row>
11971 <row topline="true">
11972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11973 \begin_inset Text
11974
11975 \begin_layout Standard
11976 Edge angle [°]
11977 \end_layout
11978
11979 \end_inset
11980 </cell>
11981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11982 \begin_inset Text
11983
11984 \begin_layout Standard
11985 3.55
11986 \end_layout
11987
11988 \end_inset
11989 </cell>
11990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11991 \begin_inset Text
11992
11993 \begin_layout Standard
11994 2.71
11995 \end_layout
11996
11997 \end_inset
11998 </cell>
11999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12000 \begin_inset Text
12001
12002 \begin_layout Standard
12003 7.99
12004 \end_layout
12005
12006 \end_inset
12007 </cell>
12008 </row>
12009 <row topspace="default">
12010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12011 \begin_inset Text
12012
12013 \begin_layout Standard
12014 Spatial resolution [µm]
12015 \end_layout
12016
12017 \end_inset
12018 </cell>
12019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12020 \begin_inset Text
12021
12022 \begin_layout Standard
12023 4.26
12024 \end_layout
12025
12026 \end_inset
12027 </cell>
12028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12029 \begin_inset Text
12030
12031 \begin_layout Standard
12032 10.17
12033 \end_layout
12034
12035 \end_inset
12036 </cell>
12037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12038 \begin_inset Text
12039
12040 \begin_layout Standard
12041 10.56
12042 \end_layout
12043
12044 \end_inset
12045 </cell>
12046 </row>
12047 <row topspace="default">
12048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12049 \begin_inset Text
12050
12051 \begin_layout Standard
12052 MTF at 
12053 \begin_inset Formula $f_{\mathrm{max}}$
12054 \end_inset
12055
12056
12057 \end_layout
12058
12059 \end_inset
12060 </cell>
12061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12062 \begin_inset Text
12063
12064 \begin_layout Standard
12065 0.53
12066 \end_layout
12067
12068 \end_inset
12069 </cell>
12070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12071 \begin_inset Text
12072
12073 \begin_layout Standard
12074 0.37
12075 \end_layout
12076
12077 \end_inset
12078 </cell>
12079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12080 \begin_inset Text
12081
12082 \begin_layout Standard
12083 0.39
12084 \end_layout
12085
12086 \end_inset
12087 </cell>
12088 </row>
12089 <row topspace="default">
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12091 \begin_inset Text
12092
12093 \begin_layout Standard
12094 \begin_inset ERT
12095 status collapsed
12096
12097 \begin_layout Standard
12098
12099
12100 \backslash
12101 cmidrule(l{10pt}){1-1}
12102 \end_layout
12103
12104 \end_inset
12105
12106 LSF-spatial resolution
12107 \end_layout
12108
12109 \end_inset
12110 </cell>
12111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12112 \begin_inset Text
12113
12114 \begin_layout Standard
12115
12116 \end_layout
12117
12118 \end_inset
12119 </cell>
12120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12121 \begin_inset Text
12122
12123 \begin_layout Standard
12124
12125 \end_layout
12126
12127 \end_inset
12128 </cell>
12129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12130 \begin_inset Text
12131
12132 \begin_layout Standard
12133
12134 \end_layout
12135
12136 \end_inset
12137 </cell>
12138 </row>
12139 <row>
12140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12141 \begin_inset Text
12142
12143 \begin_layout Standard
12144 in Âµm
12145 \end_layout
12146
12147 \end_inset
12148 </cell>
12149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12150 \begin_inset Text
12151
12152 \begin_layout Standard
12153 129.7
12154 \end_layout
12155
12156 \end_inset
12157 </cell>
12158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12159 \begin_inset Text
12160
12161 \begin_layout Standard
12162 52.75
12163 \end_layout
12164
12165 \end_inset
12166 </cell>
12167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12168 \begin_inset Text
12169
12170 \begin_layout Standard
12171 50.78
12172 \end_layout
12173
12174 \end_inset
12175 </cell>
12176 </row>
12177 <row bottomline="true">
12178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12179 \begin_inset Text
12180
12181 \begin_layout Standard
12182 in % of pixel size
12183 \end_layout
12184
12185 \end_inset
12186 </cell>
12187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12188 \begin_inset Text
12189
12190 \begin_layout Standard
12191 76.3
12192 \end_layout
12193
12194 \end_inset
12195 </cell>
12196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12197 \begin_inset Text
12198
12199 \begin_layout Standard
12200 95.9
12201 \end_layout
12202
12203 \end_inset
12204 </cell>
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12206 \begin_inset Text
12207
12208 \begin_layout Standard
12209 92.3
12210 \end_layout
12211
12212 \end_inset
12213 </cell>
12214 </row>
12215 </lyxtabular>
12216
12217 \end_inset
12218
12219
12220 \end_layout
12221
12222 \end_inset
12223
12224
12225 \end_layout
12226
12227 \begin_layout Standard
12228 Spaces to table rows can be added using the 
12229 \family sans
12230 Borders
12231 \family default
12232  tab of the table dialog as described in section\InsetSpace ~
12233
12234 \begin_inset LatexCommand ref
12235 reference "sub:Row-Spacing"
12236
12237 \end_inset
12238
12239 .
12240 \end_layout
12241
12242 \begin_layout Standard
12243 In contrary to normal tables, formal tables have no vertical table lines.
12244  The horizontal table lines can be set like for normal tables but they appear
12245  with different width in the output:
12246 \newline
12247 The first and the last table line have
12248  a default width of 0.08\InsetSpace \thinspace{}
12249 em while the other lines have a default width of
12250  0.05\InsetSpace \thinspace{}
12251 em.
12252 \end_layout
12253
12254 \begin_layout Standard
12255 The default widths can be changed with the following preamble lines
12256 \end_layout
12257
12258 \begin_layout Standard
12259
12260 \series bold
12261
12262 \backslash
12263 let
12264 \backslash
12265 mytoprule
12266 \backslash
12267 toprule
12268 \newline
12269
12270 \backslash
12271 renewcommand{
12272 \backslash
12273 toprule}{
12274 \backslash
12275 mytoprule[width]}
12276 \end_layout
12277
12278 \begin_layout Standard
12279 This example is for the first line, the so called 
12280 \series bold
12281 toprule
12282 \series default
12283 .
12284  If you want to change the width for the last line, replace 
12285 \series bold
12286 toprule
12287 \series default
12288  by 
12289 \series bold
12290 bottomrule
12291 \series default
12292 .
12293  To change the width for the other lines replace 
12294 \series bold
12295 toprule
12296 \series default
12297  by 
12298 \series bold
12299 midrule
12300 \series default
12301 .
12302  You can use all units listed in appendix\InsetSpace ~
12303
12304 \begin_inset LatexCommand ref
12305 reference "cha:Units-available-in"
12306
12307 \end_inset
12308
12309  to set the width.
12310 \end_layout
12311
12312 \begin_layout Standard
12313 Lines that don't span over all table columns can be created by setting a
12314  table line for multicolumn cells.
12315  LyX will then internally use the command 
12316 \series bold
12317
12318 \backslash
12319 cmidrule
12320 \series default
12321  to create this line.
12322  Its full scheme is
12323 \end_layout
12324
12325 \begin_layout Standard
12326
12327 \series bold
12328
12329 \backslash
12330 cmidrule[width](trim){startcol-endcol}
12331 \end_layout
12332
12333 \begin_layout Standard
12334 The options of 
12335 \series bold
12336
12337 \backslash
12338 cmidrule
12339 \series default
12340  are are currently not supported by LyX so you have to use TeX-Code to be
12341  able to use them.
12342  
12343 \series bold
12344
12345 \backslash
12346 cmidrule
12347 \series default
12348 s can manually be created by inserting the command as TeX-Code as first
12349  cell entry of the first cell of a row.
12350  The line is then drawn in the output above the current row.
12351 \end_layout
12352
12353 \begin_layout Standard
12354 The default for the width is 0.03\InsetSpace \thinspace{}
12355 em.
12356  Startcol is the number of the column where the line starts and endcol the
12357  column number where the line ends.
12358  The endcol always needs to be specified, also when the line should span
12359  only one column.
12360  The optional parameter trim could be either 
12361 \emph on
12362 l{trimwidth}
12363 \emph default
12364 , or 
12365 \emph on
12366 r{trimwidth}
12367 \emph default
12368  where the trimwidth is also optional.
12369  Using for example the parameter 
12370 \emph on
12371 l{2pt}
12372 \emph default
12373  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12374 pt.
12375  If you don't specify the trimwidth the lines are trimmed by the default
12376  of 0.5\InsetSpace \thinspace{}
12377 em.
12378 \end_layout
12379
12380 \begin_layout Standard
12381 \begin_inset VSpace bigskip
12382 \end_inset
12383
12384 Table\InsetSpace ~
12385
12386 \begin_inset LatexCommand ref
12387 reference "tab:Example-booktabs-table"
12388
12389 \end_inset
12390
12391  was created using the commands
12392 \end_layout
12393
12394 \begin_layout Standard
12395
12396 \series bold
12397
12398 \backslash
12399 cmidrule(r){2-2}
12400 \backslash
12401 cmidrule(l){3-4}
12402 \end_layout
12403
12404 \begin_layout Standard
12405 at the beginning of the in the second row and
12406 \end_layout
12407
12408 \begin_layout Standard
12409
12410 \series bold
12411
12412 \backslash
12413 cmidrule(l{10pt}){1-1}
12414 \end_layout
12415
12416 \begin_layout Standard
12417 in the sixth row.
12418 \end_layout
12419
12420 \begin_layout Standard
12421 \begin_inset VSpace bigskip
12422 \end_inset
12423
12424
12425 \end_layout
12426
12427 \begin_layout Standard
12428 You might want to have overlapping 
12429 \series bold
12430
12431 \backslash
12432 cmidrule
12433 \series default
12434 s like in Table\InsetSpace ~
12435
12436 \begin_inset LatexCommand ref
12437 reference "tab:Special-booktabs-table"
12438
12439 \end_inset
12440
12441 .
12442  This can be achieved with the TeX-Code command
12443 \end_layout
12444
12445 \begin_layout Standard
12446
12447 \series bold
12448
12449 \backslash
12450 morecmidrules
12451 \end_layout
12452
12453 \begin_layout Standard
12454 The command that was used for the second row of Table\InsetSpace ~
12455
12456 \begin_inset LatexCommand ref
12457 reference "tab:Special-booktabs-table"
12458
12459 \end_inset
12460
12461  is
12462 \end_layout
12463
12464 \begin_layout Standard
12465
12466 \series bold
12467
12468 \backslash
12469 cmidrule(r){2-2}
12470 \backslash
12471 cmidrule(l){3-4}
12472 \backslash
12473 morecmidrules
12474 \backslash
12475 cmidrule{2-4}
12476 \end_layout
12477
12478 \begin_layout Standard
12479 The command for the sixth row is
12480 \end_layout
12481
12482 \begin_layout Standard
12483
12484 \series bold
12485
12486 \backslash
12487 midrule
12488 \backslash
12489 morecmidrules
12490 \backslash
12491 cmidrule{3-4}
12492 \end_layout
12493
12494 \begin_layout Standard
12495 \begin_inset VSpace bigskip
12496 \end_inset
12497
12498
12499 \end_layout
12500
12501 \begin_layout Standard
12502 If you are anyway not satisfied with the border line spacing, you can use
12503  the following command to produce lines that span over all table columns
12504 \series bold
12505 :
12506 \end_layout
12507
12508 \begin_layout Standard
12509
12510 \series bold
12511
12512 \backslash
12513 specialrule{width}{space above}{space below}
12514 \end_layout
12515
12516 \begin_layout Standard
12517 For more informations about these specialties, we refer to the manual of
12518  the LaTeX-package 
12519 \series bold
12520 booktabs
12521 \series default
12522  
12523 \begin_inset LatexCommand cite
12524 key "booktabs"
12525
12526 \end_inset
12527
12528 .
12529 \begin_inset LatexCommand index
12530 name "LaTeX-packages ! booktabs"
12531
12532 \end_inset
12533
12534
12535 \end_layout
12536
12537 \begin_layout Standard
12538 \begin_inset Float table
12539 placement h
12540 wide false
12541 sideways false
12542 status open
12543
12544 \begin_layout Standard
12545 \begin_inset Caption
12546
12547 \begin_layout Standard
12548 \begin_inset LatexCommand label
12549 name "tab:Special-booktabs-table"
12550
12551 \end_inset
12552
12553 Special booktabs-table
12554 \end_layout
12555
12556 \end_inset
12557
12558
12559 \end_layout
12560
12561 \begin_layout Standard
12562 \align center
12563 \begin_inset Tabular
12564 <lyxtabular version="3" rows="8" columns="4">
12565 <features booktabs="true">
12566 <column alignment="center" valignment="top" width="0">
12567 <column alignment="center" valignment="top" width="0">
12568 <column alignment="center" valignment="top" width="0">
12569 <column alignment="center" valignment="top" width="0">
12570 <row topline="true">
12571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12572 \begin_inset Text
12573
12574 \begin_layout Standard
12575 System
12576 \end_layout
12577
12578 \end_inset
12579 </cell>
12580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12581 \begin_inset Text
12582
12583 \begin_layout Standard
12584 Medipix\InsetSpace \thinspace{}
12585 1
12586 \end_layout
12587
12588 \end_inset
12589 </cell>
12590 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12591 \begin_inset Text
12592
12593 \begin_layout Standard
12594 Medipix\InsetSpace \thinspace{}
12595 2
12596 \end_layout
12597
12598 \end_inset
12599 </cell>
12600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12601 \begin_inset Text
12602
12603 \begin_layout Standard
12604
12605 \end_layout
12606
12607 \end_inset
12608 </cell>
12609 </row>
12610 <row>
12611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12612 \begin_inset Text
12613
12614 \begin_layout Standard
12615 \begin_inset ERT
12616 status collapsed
12617
12618 \begin_layout Standard
12619
12620
12621 \backslash
12622 cmidrule(r){2-2}
12623 \end_layout
12624
12625 \end_inset
12626
12627
12628 \begin_inset ERT
12629 status collapsed
12630
12631 \begin_layout Standard
12632
12633
12634 \backslash
12635 cmidrule(l){3-4}
12636 \end_layout
12637
12638 \end_inset
12639
12640
12641 \begin_inset ERT
12642 status collapsed
12643
12644 \begin_layout Standard
12645
12646
12647 \backslash
12648 morecmidrules 
12649 \end_layout
12650
12651 \end_inset
12652
12653
12654 \begin_inset ERT
12655 status collapsed
12656
12657 \begin_layout Standard
12658
12659
12660 \backslash
12661 cmidrule{2-4}
12662 \end_layout
12663
12664 \end_inset
12665
12666 Detector thickness [µm]
12667 \end_layout
12668
12669 \end_inset
12670 </cell>
12671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12672 \begin_inset Text
12673
12674 \begin_layout Standard
12675 300
12676 \end_layout
12677
12678 \end_inset
12679 </cell>
12680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Standard
12684 300
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Standard
12693 700
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 </row>
12699 <row topline="true">
12700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12701 \begin_inset Text
12702
12703 \begin_layout Standard
12704 Edge angle [°]
12705 \end_layout
12706
12707 \end_inset
12708 </cell>
12709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12710 \begin_inset Text
12711
12712 \begin_layout Standard
12713 3.55
12714 \end_layout
12715
12716 \end_inset
12717 </cell>
12718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Standard
12722 2.71
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12728 \begin_inset Text
12729
12730 \begin_layout Standard
12731 7.99
12732 \end_layout
12733
12734 \end_inset
12735 </cell>
12736 </row>
12737 <row topspace="default">
12738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Standard
12742 Spatial resolution [µm]
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Standard
12751 4.26
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Standard
12760 10.17
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12766 \begin_inset Text
12767
12768 \begin_layout Standard
12769 10.56
12770 \end_layout
12771
12772 \end_inset
12773 </cell>
12774 </row>
12775 <row topspace="default">
12776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Standard
12780 MTF at 
12781 \begin_inset Formula $f_{\mathrm{max}}$
12782 \end_inset
12783
12784
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Standard
12793 0.53
12794 \end_layout
12795
12796 \end_inset
12797 </cell>
12798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_inset Text
12800
12801 \begin_layout Standard
12802 0.37
12803 \end_layout
12804
12805 \end_inset
12806 </cell>
12807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12808 \begin_inset Text
12809
12810 \begin_layout Standard
12811 0.39
12812 \end_layout
12813
12814 \end_inset
12815 </cell>
12816 </row>
12817 <row topline="true">
12818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12819 \begin_inset Text
12820
12821 \begin_layout Standard
12822 \begin_inset ERT
12823 status collapsed
12824
12825 \begin_layout Standard
12826
12827
12828 \backslash
12829 morecmidrules 
12830 \end_layout
12831
12832 \end_inset
12833
12834
12835 \begin_inset ERT
12836 status collapsed
12837
12838 \begin_layout Standard
12839
12840
12841 \backslash
12842 cmidrule{3-4}
12843 \end_layout
12844
12845 \end_inset
12846
12847 LSF-spatial resolution
12848 \end_layout
12849
12850 \end_inset
12851 </cell>
12852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12853 \begin_inset Text
12854
12855 \begin_layout Standard
12856
12857 \end_layout
12858
12859 \end_inset
12860 </cell>
12861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12862 \begin_inset Text
12863
12864 \begin_layout Standard
12865
12866 \end_layout
12867
12868 \end_inset
12869 </cell>
12870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12871 \begin_inset Text
12872
12873 \begin_layout Standard
12874
12875 \end_layout
12876
12877 \end_inset
12878 </cell>
12879 </row>
12880 <row>
12881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12882 \begin_inset Text
12883
12884 \begin_layout Standard
12885 in Âµm
12886 \end_layout
12887
12888 \end_inset
12889 </cell>
12890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12891 \begin_inset Text
12892
12893 \begin_layout Standard
12894 129.7
12895 \end_layout
12896
12897 \end_inset
12898 </cell>
12899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12900 \begin_inset Text
12901
12902 \begin_layout Standard
12903 52.75
12904 \end_layout
12905
12906 \end_inset
12907 </cell>
12908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12909 \begin_inset Text
12910
12911 \begin_layout Standard
12912 50.78
12913 \end_layout
12914
12915 \end_inset
12916 </cell>
12917 </row>
12918 <row bottomline="true">
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12920 \begin_inset Text
12921
12922 \begin_layout Standard
12923 in % of pixel size
12924 \end_layout
12925
12926 \end_inset
12927 </cell>
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12929 \begin_inset Text
12930
12931 \begin_layout Standard
12932 76.3
12933 \end_layout
12934
12935 \end_inset
12936 </cell>
12937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12938 \begin_inset Text
12939
12940 \begin_layout Standard
12941 95.9
12942 \end_layout
12943
12944 \end_inset
12945 </cell>
12946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12947 \begin_inset Text
12948
12949 \begin_layout Standard
12950 92.3
12951 \end_layout
12952
12953 \end_inset
12954 </cell>
12955 </row>
12956 </lyxtabular>
12957
12958 \end_inset
12959
12960
12961 \end_layout
12962
12963 \end_inset
12964
12965
12966 \end_layout
12967
12968 \begin_layout Section
12969 Vertical Table Alignment
12970 \begin_inset LatexCommand index
12971 name "Table ! Alignment"
12972
12973 \end_inset
12974
12975
12976 \end_layout
12977
12978 \begin_layout Standard
12979 To align tables vertically in a text line the table must be inside a box.
12980  The box can then be vertically aligned as described in section\InsetSpace ~
12981
12982 \begin_inset LatexCommand ref
12983 reference "sec:Box-Dialog"
12984
12985 \end_inset
12986
12987 .
12988 \end_layout
12989
12990 \begin_layout Standard
12991 In the following example the tables are inside a minipage
12992 \begin_inset Foot
12993 status collapsed
12994
12995 \begin_layout Standard
12996 Minipages are described in section\InsetSpace ~
12997
12998 \begin_inset LatexCommand ref
12999 reference "sec:Minipages"
13000
13001 \end_inset
13002
13003 .
13004 \end_layout
13005
13006 \end_inset
13007
13008  box that has a width of 15\InsetSpace \thinspace{}
13009 col%:
13010 \end_layout
13011
13012 \begin_layout Itemize
13013 test 
13014 \begin_inset Box Frameless
13015 position "t"
13016 hor_pos "c"
13017 has_inner_box 1
13018 inner_pos "c"
13019 use_parbox 0
13020 width "15col%"
13021 special "none"
13022 height "1in"
13023 height_special "totalheight"
13024 status collapsed
13025
13026 \begin_layout Standard
13027 \begin_inset Tabular
13028 <lyxtabular version="3" rows="3" columns="3">
13029 <features>
13030 <column alignment="center" valignment="top" leftline="true" width="0">
13031 <column alignment="center" valignment="top" leftline="true" width="0">
13032 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13033 <row topline="true">
13034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13035 \begin_inset Text
13036
13037 \begin_layout Standard
13038 a
13039 \end_layout
13040
13041 \end_inset
13042 </cell>
13043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13044 \begin_inset Text
13045
13046 \begin_layout Standard
13047 d
13048 \end_layout
13049
13050 \end_inset
13051 </cell>
13052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13053 \begin_inset Text
13054
13055 \begin_layout Standard
13056 g
13057 \end_layout
13058
13059 \end_inset
13060 </cell>
13061 </row>
13062 <row topline="true">
13063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13064 \begin_inset Text
13065
13066 \begin_layout Standard
13067 b
13068 \end_layout
13069
13070 \end_inset
13071 </cell>
13072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13073 \begin_inset Text
13074
13075 \begin_layout Standard
13076 e
13077 \end_layout
13078
13079 \end_inset
13080 </cell>
13081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13082 \begin_inset Text
13083
13084 \begin_layout Standard
13085 h
13086 \end_layout
13087
13088 \end_inset
13089 </cell>
13090 </row>
13091 <row topline="true" bottomline="true">
13092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13093 \begin_inset Text
13094
13095 \begin_layout Standard
13096 c
13097 \end_layout
13098
13099 \end_inset
13100 </cell>
13101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13102 \begin_inset Text
13103
13104 \begin_layout Standard
13105 f
13106 \end_layout
13107
13108 \end_inset
13109 </cell>
13110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13111 \begin_inset Text
13112
13113 \begin_layout Standard
13114 i
13115 \end_layout
13116
13117 \end_inset
13118 </cell>
13119 </row>
13120 </lyxtabular>
13121
13122 \end_inset
13123
13124
13125 \end_layout
13126
13127 \end_inset
13128
13129  test 
13130 \begin_inset ERT
13131 status collapsed
13132
13133 \begin_layout Standard
13134
13135
13136 \backslash
13137 raisebox{0.85
13138 \backslash
13139 baselineskip}{
13140 \end_layout
13141
13142 \end_inset
13143
13144
13145 \begin_inset Box Frameless
13146 position "t"
13147 hor_pos "c"
13148 has_inner_box 1
13149 inner_pos "c"
13150 use_parbox 0
13151 width "15col%"
13152 special "none"
13153 height "1in"
13154 height_special "totalheight"
13155 status collapsed
13156
13157 \begin_layout Standard
13158 \begin_inset Tabular
13159 <lyxtabular version="3" rows="3" columns="3">
13160 <features>
13161 <column alignment="center" valignment="top" leftline="true" width="0">
13162 <column alignment="center" valignment="top" leftline="true" width="0">
13163 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13164 <row topline="true">
13165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13166 \begin_inset Text
13167
13168 \begin_layout Standard
13169 a
13170 \end_layout
13171
13172 \end_inset
13173 </cell>
13174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13175 \begin_inset Text
13176
13177 \begin_layout Standard
13178 d
13179 \end_layout
13180
13181 \end_inset
13182 </cell>
13183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13184 \begin_inset Text
13185
13186 \begin_layout Standard
13187 g
13188 \end_layout
13189
13190 \end_inset
13191 </cell>
13192 </row>
13193 <row topline="true">
13194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13195 \begin_inset Text
13196
13197 \begin_layout Standard
13198 b
13199 \end_layout
13200
13201 \end_inset
13202 </cell>
13203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13204 \begin_inset Text
13205
13206 \begin_layout Standard
13207 e
13208 \end_layout
13209
13210 \end_inset
13211 </cell>
13212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13213 \begin_inset Text
13214
13215 \begin_layout Standard
13216 h
13217 \end_layout
13218
13219 \end_inset
13220 </cell>
13221 </row>
13222 <row topline="true" bottomline="true">
13223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13224 \begin_inset Text
13225
13226 \begin_layout Standard
13227 c
13228 \end_layout
13229
13230 \end_inset
13231 </cell>
13232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13233 \begin_inset Text
13234
13235 \begin_layout Standard
13236 f
13237 \end_layout
13238
13239 \end_inset
13240 </cell>
13241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13242 \begin_inset Text
13243
13244 \begin_layout Standard
13245 i
13246 \end_layout
13247
13248 \end_inset
13249 </cell>
13250 </row>
13251 </lyxtabular>
13252
13253 \end_inset
13254
13255
13256 \end_layout
13257
13258 \end_inset
13259
13260
13261 \begin_inset ERT
13262 status collapsed
13263
13264 \begin_layout Standard
13265
13266 }
13267 \end_layout
13268
13269 \end_inset
13270
13271
13272 \end_layout
13273
13274 \begin_layout Itemize
13275 test 
13276 \begin_inset Box Frameless
13277 position "c"
13278 hor_pos "c"
13279 has_inner_box 1
13280 inner_pos "c"
13281 use_parbox 0
13282 width "15col%"
13283 special "none"
13284 height "1in"
13285 height_special "totalheight"
13286 status collapsed
13287
13288 \begin_layout Standard
13289 \begin_inset Tabular
13290 <lyxtabular version="3" rows="3" columns="3">
13291 <features>
13292 <column alignment="center" valignment="top" leftline="true" width="0">
13293 <column alignment="center" valignment="top" leftline="true" width="0">
13294 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13295 <row topline="true">
13296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13297 \begin_inset Text
13298
13299 \begin_layout Standard
13300 a
13301 \end_layout
13302
13303 \end_inset
13304 </cell>
13305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13306 \begin_inset Text
13307
13308 \begin_layout Standard
13309 d
13310 \end_layout
13311
13312 \end_inset
13313 </cell>
13314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13315 \begin_inset Text
13316
13317 \begin_layout Standard
13318 g
13319 \end_layout
13320
13321 \end_inset
13322 </cell>
13323 </row>
13324 <row topline="true">
13325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13326 \begin_inset Text
13327
13328 \begin_layout Standard
13329 b
13330 \end_layout
13331
13332 \end_inset
13333 </cell>
13334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13335 \begin_inset Text
13336
13337 \begin_layout Standard
13338 e
13339 \end_layout
13340
13341 \end_inset
13342 </cell>
13343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13344 \begin_inset Text
13345
13346 \begin_layout Standard
13347 h
13348 \end_layout
13349
13350 \end_inset
13351 </cell>
13352 </row>
13353 <row topline="true" bottomline="true">
13354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13355 \begin_inset Text
13356
13357 \begin_layout Standard
13358 c
13359 \end_layout
13360
13361 \end_inset
13362 </cell>
13363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13364 \begin_inset Text
13365
13366 \begin_layout Standard
13367 f
13368 \end_layout
13369
13370 \end_inset
13371 </cell>
13372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13373 \begin_inset Text
13374
13375 \begin_layout Standard
13376 i
13377 \end_layout
13378
13379 \end_inset
13380 </cell>
13381 </row>
13382 </lyxtabular>
13383
13384 \end_inset
13385
13386
13387 \end_layout
13388
13389 \end_inset
13390
13391
13392 \end_layout
13393
13394 \begin_layout Itemize
13395 test 
13396 \begin_inset Box Frameless
13397 position "b"
13398 hor_pos "c"
13399 has_inner_box 1
13400 inner_pos "c"
13401 use_parbox 0
13402 width "15col%"
13403 special "none"
13404 height "1in"
13405 height_special "totalheight"
13406 status collapsed
13407
13408 \begin_layout Standard
13409 \begin_inset Tabular
13410 <lyxtabular version="3" rows="3" columns="3">
13411 <features>
13412 <column alignment="center" valignment="top" leftline="true" width="0">
13413 <column alignment="center" valignment="top" leftline="true" width="0">
13414 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13415 <row topline="true">
13416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_inset Text
13418
13419 \begin_layout Standard
13420 a
13421 \end_layout
13422
13423 \end_inset
13424 </cell>
13425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13426 \begin_inset Text
13427
13428 \begin_layout Standard
13429 d
13430 \end_layout
13431
13432 \end_inset
13433 </cell>
13434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13435 \begin_inset Text
13436
13437 \begin_layout Standard
13438 g
13439 \end_layout
13440
13441 \end_inset
13442 </cell>
13443 </row>
13444 <row topline="true">
13445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13446 \begin_inset Text
13447
13448 \begin_layout Standard
13449 b
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13455 \begin_inset Text
13456
13457 \begin_layout Standard
13458 e
13459 \end_layout
13460
13461 \end_inset
13462 </cell>
13463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13464 \begin_inset Text
13465
13466 \begin_layout Standard
13467 h
13468 \end_layout
13469
13470 \end_inset
13471 </cell>
13472 </row>
13473 <row topline="true" bottomline="true">
13474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13475 \begin_inset Text
13476
13477 \begin_layout Standard
13478 c
13479 \end_layout
13480
13481 \end_inset
13482 </cell>
13483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13484 \begin_inset Text
13485
13486 \begin_layout Standard
13487 f
13488 \end_layout
13489
13490 \end_inset
13491 </cell>
13492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13493 \begin_inset Text
13494
13495 \begin_layout Standard
13496 i
13497 \end_layout
13498
13499 \end_inset
13500 </cell>
13501 </row>
13502 </lyxtabular>
13503
13504 \end_inset
13505
13506
13507 \end_layout
13508
13509 \end_inset
13510
13511  test 
13512 \begin_inset ERT
13513 status collapsed
13514
13515 \begin_layout Standard
13516
13517
13518 \backslash
13519 raisebox{-0.32
13520 \backslash
13521 baselineskip}{
13522 \end_layout
13523
13524 \end_inset
13525
13526
13527 \begin_inset Box Frameless
13528 position "b"
13529 hor_pos "c"
13530 has_inner_box 1
13531 inner_pos "c"
13532 use_parbox 0
13533 width "15col%"
13534 special "none"
13535 height "1in"
13536 height_special "totalheight"
13537 status collapsed
13538
13539 \begin_layout Standard
13540 \begin_inset Tabular
13541 <lyxtabular version="3" rows="3" columns="3">
13542 <features>
13543 <column alignment="center" valignment="top" leftline="true" width="0">
13544 <column alignment="center" valignment="top" leftline="true" width="0">
13545 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13546 <row topline="true">
13547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13548 \begin_inset Text
13549
13550 \begin_layout Standard
13551 a
13552 \end_layout
13553
13554 \end_inset
13555 </cell>
13556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13557 \begin_inset Text
13558
13559 \begin_layout Standard
13560 d
13561 \end_layout
13562
13563 \end_inset
13564 </cell>
13565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13566 \begin_inset Text
13567
13568 \begin_layout Standard
13569 g
13570 \end_layout
13571
13572 \end_inset
13573 </cell>
13574 </row>
13575 <row topline="true">
13576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13577 \begin_inset Text
13578
13579 \begin_layout Standard
13580 b
13581 \end_layout
13582
13583 \end_inset
13584 </cell>
13585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13586 \begin_inset Text
13587
13588 \begin_layout Standard
13589 e
13590 \end_layout
13591
13592 \end_inset
13593 </cell>
13594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13595 \begin_inset Text
13596
13597 \begin_layout Standard
13598 h
13599 \end_layout
13600
13601 \end_inset
13602 </cell>
13603 </row>
13604 <row topline="true" bottomline="true">
13605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13606 \begin_inset Text
13607
13608 \begin_layout Standard
13609 c
13610 \end_layout
13611
13612 \end_inset
13613 </cell>
13614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13615 \begin_inset Text
13616
13617 \begin_layout Standard
13618 f
13619 \end_layout
13620
13621 \end_inset
13622 </cell>
13623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13624 \begin_inset Text
13625
13626 \begin_layout Standard
13627 i
13628 \end_layout
13629
13630 \end_inset
13631 </cell>
13632 </row>
13633 </lyxtabular>
13634
13635 \end_inset
13636
13637
13638 \end_layout
13639
13640 \end_inset
13641
13642
13643 \begin_inset ERT
13644 status collapsed
13645
13646 \begin_layout Standard
13647
13648 }
13649 \end_layout
13650
13651 \end_inset
13652
13653
13654 \end_layout
13655
13656 \begin_layout Standard
13657 As you can see, the content of the first and last table row is not correctly
13658  aligned with the text line where the table is in.
13659  To get this alignment, the minipage box must be set into a raisebox
13660 \begin_inset Foot
13661 status collapsed
13662
13663 \begin_layout Standard
13664 Raiseboxes are described in section\InsetSpace ~
13665
13666 \begin_inset LatexCommand ref
13667 reference "sub:Vertical-Alignment"
13668
13669 \end_inset
13670
13671 .
13672 \end_layout
13673
13674 \end_inset
13675
13676 .
13677  In the example above the second table in the first item is aligned using
13678  the TeX-Code-command
13679 \end_layout
13680
13681 \begin_layout Standard
13682
13683 \series bold
13684
13685 \backslash
13686 raisebox{0.85
13687 \backslash
13688 baselineskip}{
13689 \end_layout
13690
13691 \begin_layout Standard
13692 before the box.
13693  Behind the box the closing brace 
13694 \series bold
13695 }
13696 \series default
13697  is inserted as TeX-Code.
13698  For the second table in the last item the command
13699 \end_layout
13700
13701 \begin_layout Standard
13702
13703 \series bold
13704
13705 \backslash
13706 raisebox{-0.32
13707 \backslash
13708 baselineskip}{
13709 \end_layout
13710
13711 \begin_layout Standard
13712 is used.
13713 \end_layout
13714
13715 \begin_layout Standard
13716 \begin_inset Note Greyedout
13717 status open
13718
13719 \begin_layout Standard
13720
13721 \series bold
13722 Note:
13723 \series default
13724  The alignment of the table row content to the surrounding text line is
13725  not exact.
13726  The needed factor of the 
13727 \series bold
13728
13729 \backslash
13730 raisebox
13731 \series default
13732  command for this alignment depends on the document font, the font size,
13733  and the table line thickness.
13734 \end_layout
13735
13736 \end_inset
13737
13738
13739 \end_layout
13740
13741 \begin_layout Section
13742 Colored Tables
13743 \begin_inset LatexCommand label
13744 name "sec:Colored-Tables"
13745
13746 \end_inset
13747
13748
13749 \begin_inset LatexCommand index
13750 name "Table ! Color"
13751
13752 \end_inset
13753
13754
13755 \end_layout
13756
13757 \begin_layout Subsection
13758 Colored Cells
13759 \begin_inset LatexCommand index
13760 name "Table Color ! for Cells"
13761
13762 \end_inset
13763
13764
13765 \begin_inset LatexCommand index
13766 name "Color ! for Table Cells"
13767
13768 \end_inset
13769
13770
13771 \end_layout
13772
13773 \begin_layout Standard
13774 \begin_inset Float table
13775 placement h
13776 wide false
13777 sideways false
13778 status open
13779
13780 \begin_layout Standard
13781 \begin_inset Caption
13782
13783 \begin_layout Standard
13784 \begin_inset LatexCommand label
13785 name "tab:Table-colored-without"
13786
13787 \end_inset
13788
13789 Table colored without using the package 
13790 \series bold
13791 colortbl
13792 \series default
13793
13794 \begin_inset OptArg
13795 status collapsed
13796
13797 \begin_layout Standard
13798 Table without colortbl
13799 \end_layout
13800
13801 \end_inset
13802
13803
13804 \end_layout
13805
13806 \end_inset
13807
13808
13809 \end_layout
13810
13811 \begin_layout Standard
13812 \align center
13813 \begin_inset Tabular
13814 <lyxtabular version="3" rows="3" columns="3">
13815 <features>
13816 <column alignment="center" valignment="top" leftline="true" width="0">
13817 <column alignment="center" valignment="top" leftline="true" width="0">
13818 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13819 <row topline="true">
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13821 \begin_inset Text
13822
13823 \begin_layout Standard
13824
13825 \color green
13826 a
13827 \end_layout
13828
13829 \end_inset
13830 </cell>
13831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13832 \begin_inset Text
13833
13834 \begin_layout Standard
13835
13836 \color red
13837 b
13838 \end_layout
13839
13840 \end_inset
13841 </cell>
13842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13843 \begin_inset Text
13844
13845 \begin_layout Standard
13846
13847 \color red
13848 c
13849 \end_layout
13850
13851 \end_inset
13852 </cell>
13853 </row>
13854 <row topline="true">
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Standard
13859
13860 \color green
13861 d
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Standard
13870
13871 \color blue
13872 e
13873 \end_layout
13874
13875 \end_inset
13876 </cell>
13877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13878 \begin_inset Text
13879
13880 \begin_layout Standard
13881
13882 \color blue
13883 f
13884 \end_layout
13885
13886 \end_inset
13887 </cell>
13888 </row>
13889 <row topline="true" bottomline="true">
13890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13891 \begin_inset Text
13892
13893 \begin_layout Standard
13894
13895 \color green
13896 g
13897 \end_layout
13898
13899 \end_inset
13900 </cell>
13901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13902 \begin_inset Text
13903
13904 \begin_layout Standard
13905
13906 \color blue
13907 h
13908 \end_layout
13909
13910 \end_inset
13911 </cell>
13912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13913 \begin_inset Text
13914
13915 \begin_layout Standard
13916
13917 \color blue
13918 i
13919 \end_layout
13920
13921 \end_inset
13922 </cell>
13923 </row>
13924 </lyxtabular>
13925
13926 \end_inset
13927
13928
13929 \end_layout
13930
13931 \end_inset
13932
13933
13934 \end_layout
13935
13936 \begin_layout Standard
13937 If you only need colored text, mark the cells and choose a color in the
13938  menu 
13939 \family sans
13940 Edit\SpecialChar \menuseparator
13941 Text\InsetSpace ~
13942 Style
13943 \family default
13944 .
13945  This was used to create Table\InsetSpace ~
13946
13947 \begin_inset LatexCommand ref
13948 reference "tab:Table-colored-without"
13949
13950 \end_inset
13951
13952 .
13953  In any other case you have to use the LaTeX-package 
13954 \series bold
13955 colortbl
13956 \series default
13957 .
13958 \begin_inset LatexCommand index
13959 name "LaTeX-packages ! colortbl"
13960
13961 \end_inset
13962
13963
13964 \end_layout
13965
13966 \begin_layout Standard
13967 \begin_inset ERT
13968 status collapsed
13969
13970 \begin_layout Standard
13971
13972
13973 \backslash
13974 ifcolortbl
13975 \end_layout
13976
13977 \end_inset
13978
13979
13980 \begin_inset Note Note
13981 status open
13982
13983 \begin_layout Standard
13984 The following section part will only be displayed when the LaTeX-package
13985  
13986 \series bold
13987 colortbl
13988 \series default
13989  is installed.
13990 \end_layout
13991
13992 \end_inset
13993
13994
13995 \end_layout
13996
13997 \begin_layout Standard
13998 To create colored tables, 
13999 \series bold
14000 colortbl
14001 \series default
14002  must be loaded in the preamble with the line
14003 \end_layout
14004
14005 \begin_layout Standard
14006
14007 \series bold
14008
14009 \backslash
14010 usepackage{colortbl}
14011 \end_layout
14012
14013 \begin_layout Standard
14014 The color of a column is adjusted with the command
14015 \end_layout
14016
14017 \begin_layout Standard
14018
14019 \series bold
14020
14021 \backslash
14022 columncolor{name of color}
14023 \end_layout
14024
14025 \begin_layout Standard
14026 inside the command 
14027 \series bold
14028 >{ }
14029 \series default
14030 .
14031  More about the command 
14032 \series bold
14033 >{}
14034 \series default
14035  is described in section\InsetSpace ~
14036
14037 \begin_inset LatexCommand ref
14038 reference "sub:Multicolumn-Calculations"
14039
14040 \end_inset
14041
14042 .
14043 \end_layout
14044
14045 \begin_layout Standard
14046 The following color names are predefined:
14047 \end_layout
14048
14049 \begin_layout Standard
14050
14051 \family sans
14052 red
14053 \family default
14054
14055 \family sans
14056 green
14057 \family default
14058
14059 \family sans
14060 yellow
14061 \family default
14062
14063 \family sans
14064 blue
14065 \family default
14066
14067 \family sans
14068 cyan
14069 \family default
14070
14071 \family sans
14072 magenta
14073 \family default
14074
14075 \family sans
14076 black
14077 \family default
14078  and 
14079 \family sans
14080 white
14081 \end_layout
14082
14083 \begin_layout Standard
14084 \begin_inset VSpace medskip
14085 \end_inset
14086
14087
14088 \end_layout
14089
14090 \begin_layout Standard
14091 You can also define your own color with the command
14092 \end_layout
14093
14094 \begin_layout Standard
14095
14096 \series bold
14097
14098 \backslash
14099 def\SpecialChar \textcompwordmark{}
14100 inecolor{color name}{color model}{color values}
14101 \end_layout
14102
14103 \begin_layout Standard
14104 The color model can be
14105 \end_layout
14106
14107 \begin_layout Labeling
14108 \labelwidthstring 00.00.0000
14109 cmyk: cyan, magenta, yellow, black
14110 \end_layout
14111
14112 \begin_layout Labeling
14113 \labelwidthstring 00.00.0000
14114 rgb: red, green blue
14115 \end_layout
14116
14117 \begin_layout Labeling
14118 \labelwidthstring 00.00.0000
14119 gray gray
14120 \end_layout
14121
14122 \begin_layout Standard
14123 and the color values are comma separated numbers between 0 and 1 describing
14124  the factor for the corresponding color of the color model.
14125 \end_layout
14126
14127 \begin_layout Standard
14128 You can e.\InsetSpace \thinspace{}
14129 g.\InsetSpace ~
14130 define the color "
14131 \emph on
14132 darkgreen
14133 \emph default
14134 " in the preamble with
14135 \end_layout
14136
14137 \begin_layout Standard
14138
14139 \series bold
14140
14141 \backslash
14142 def\SpecialChar \textcompwordmark{}
14143 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14144 \end_layout
14145
14146 \begin_layout Standard
14147 and the color "
14148 \emph on
14149 lightgray
14150 \emph default
14151 " with
14152 \end_layout
14153
14154 \begin_layout Standard
14155
14156 \series bold
14157
14158 \backslash
14159 def\SpecialChar \textcompwordmark{}
14160 inecolor{lightgray}{gray}{0.8}
14161 \end_layout
14162
14163 \begin_layout Standard
14164 \begin_inset VSpace medskip
14165 \end_inset
14166
14167
14168 \end_layout
14169
14170 \begin_layout Standard
14171 Lines are colored with the command
14172 \end_layout
14173
14174 \begin_layout Standard
14175
14176 \series bold
14177
14178 \backslash
14179 rowcolor{name of color}
14180 \end_layout
14181
14182 \begin_layout Standard
14183 and cells are colored with the command
14184 \end_layout
14185
14186 \begin_layout Standard
14187
14188 \series bold
14189
14190 \backslash
14191 cellcolor{name of color}
14192 \end_layout
14193
14194 \begin_layout Standard
14195 Both commands are inserted at the beginning of a cell as TeX-Code.
14196 \end_layout
14197
14198 \begin_layout Standard
14199 To color characters in the table, mark the cells and use the LyX menu 
14200 \family sans
14201 Edit\SpecialChar \menuseparator
14202 Text\InsetSpace ~
14203 Style
14204 \family default
14205 .
14206  If a cell contains TeX-Code mark only the characters, otherwise the colored
14207  TeX-Code will cause LaTeX-errors.
14208 \end_layout
14209
14210 \begin_layout Standard
14211 \begin_inset Note Greyedout
14212 status open
14213
14214 \begin_layout Standard
14215
14216 \series bold
14217 Note:
14218 \series default
14219  Not all DVI-viewers are able to display self-defined colors.
14220 \end_layout
14221
14222 \end_inset
14223
14224
14225 \end_layout
14226
14227 \begin_layout Standard
14228 \begin_inset VSpace bigskip
14229 \end_inset
14230
14231
14232 \end_layout
14233
14234 \begin_layout Standard
14235 To create Table\InsetSpace ~
14236
14237 \begin_inset LatexCommand ref
14238 reference "tab:Table-colored-using"
14239
14240 \end_inset
14241
14242  do the following: The color of the first column should be 
14243 \emph on
14244 darkgreen
14245 \emph default
14246 .
14247  So insert
14248 \end_layout
14249
14250 \begin_layout Standard
14251
14252 \series bold
14253 >{
14254 \backslash
14255 columncolor{darkgreen}
14256 \backslash
14257 centering}c
14258 \end_layout
14259
14260 \begin_layout Standard
14261 as LaTeX-argument for this column.
14262  The first row should be blue, therefore the TeX-Code command
14263 \end_layout
14264
14265 \begin_layout Standard
14266
14267 \series bold
14268
14269 \backslash
14270 rowcolow{cyan}
14271 \end_layout
14272
14273 \begin_layout Standard
14274 is inserted to the first cell of this row.
14275  Note that this overwrites the column color for the first cell.
14276  The last cell of the last row is colored magenta by inserting the TeX-Code
14277  command
14278 \end_layout
14279
14280 \begin_layout Standard
14281
14282 \series bold
14283
14284 \backslash
14285 cellcolor{magenta}
14286 \end_layout
14287
14288 \begin_layout Standard
14289 The characters could now be colored using the menu 
14290 \family sans
14291 Edit\SpecialChar \menuseparator
14292 Text\InsetSpace ~
14293 Style
14294 \family default
14295 .
14296 \end_layout
14297
14298 \begin_layout Standard
14299 \begin_inset Float table
14300 placement h
14301 wide false
14302 sideways false
14303 status open
14304
14305 \begin_layout Standard
14306 \begin_inset Caption
14307
14308 \begin_layout Standard
14309 \begin_inset LatexCommand label
14310 name "tab:Table-colored-using"
14311
14312 \end_inset
14313
14314 Table colored using the package 
14315 \series bold
14316 colortbl
14317 \series default
14318
14319 \begin_inset OptArg
14320 status collapsed
14321
14322 \begin_layout Standard
14323 Table with colortbl
14324 \end_layout
14325
14326 \end_inset
14327
14328
14329 \end_layout
14330
14331 \end_inset
14332
14333
14334 \end_layout
14335
14336 \begin_layout Standard
14337 \align center
14338 \begin_inset Tabular
14339 <lyxtabular version="3" rows="3" columns="3">
14340 <features>
14341 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14342 <column alignment="center" valignment="top" width="0">
14343 <column alignment="center" valignment="top" width="0">
14344 <row>
14345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14346 \begin_inset Text
14347
14348 \begin_layout Standard
14349 \begin_inset ERT
14350 status collapsed
14351
14352 \begin_layout Standard
14353
14354
14355 \backslash
14356 rowcolor{cyan}
14357 \end_layout
14358
14359 \end_inset
14360
14361
14362 \color magenta
14363 a
14364 \end_layout
14365
14366 \end_inset
14367 </cell>
14368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14369 \begin_inset Text
14370
14371 \begin_layout Standard
14372
14373 \color red
14374 b
14375 \end_layout
14376
14377 \end_inset
14378 </cell>
14379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14380 \begin_inset Text
14381
14382 \begin_layout Standard
14383
14384 \color red
14385 c
14386 \end_layout
14387
14388 \end_inset
14389 </cell>
14390 </row>
14391 <row>
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14393 \begin_inset Text
14394
14395 \begin_layout Standard
14396
14397 \color yellow
14398 d
14399 \end_layout
14400
14401 \end_inset
14402 </cell>
14403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14404 \begin_inset Text
14405
14406 \begin_layout Standard
14407
14408 \color blue
14409 e
14410 \end_layout
14411
14412 \end_inset
14413 </cell>
14414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14415 \begin_inset Text
14416
14417 \begin_layout Standard
14418
14419 \color blue
14420 f
14421 \end_layout
14422
14423 \end_inset
14424 </cell>
14425 </row>
14426 <row>
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14428 \begin_inset Text
14429
14430 \begin_layout Standard
14431
14432 \color yellow
14433 g
14434 \end_layout
14435
14436 \end_inset
14437 </cell>
14438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14439 \begin_inset Text
14440
14441 \begin_layout Standard
14442
14443 \color blue
14444 h
14445 \end_layout
14446
14447 \end_inset
14448 </cell>
14449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14450 \begin_inset Text
14451
14452 \begin_layout Standard
14453 \begin_inset ERT
14454 status collapsed
14455
14456 \begin_layout Standard
14457
14458
14459 \backslash
14460 cellcolor{magenta}
14461 \end_layout
14462
14463 \end_inset
14464
14465
14466 \color green
14467 i
14468 \end_layout
14469
14470 \end_inset
14471 </cell>
14472 </row>
14473 </lyxtabular>
14474
14475 \end_inset
14476
14477
14478 \end_layout
14479
14480 \end_inset
14481
14482
14483 \end_layout
14484
14485 \begin_layout Standard
14486 \begin_inset ERT
14487 status collapsed
14488
14489 \begin_layout Standard
14490
14491
14492 \backslash
14493 else
14494 \end_layout
14495
14496 \end_inset
14497
14498
14499 \begin_inset Note Note
14500 status open
14501
14502 \begin_layout Standard
14503 The following will be displayed when the LaTeX-package 
14504 \series bold
14505 colortbl
14506 \series default
14507  is not installed:
14508 \end_layout
14509
14510 \end_inset
14511
14512
14513 \end_layout
14514
14515 \begin_layout Standard
14516 You need to install the package 
14517 \series bold
14518 colortbl
14519 \series default
14520  to see the content of this section in the output.
14521 \end_layout
14522
14523 \begin_layout Standard
14524 \begin_inset ERT
14525 status collapsed
14526
14527 \begin_layout Standard
14528
14529
14530 \backslash
14531 fi
14532 \end_layout
14533
14534 \end_inset
14535
14536
14537 \end_layout
14538
14539 \begin_layout Subsection
14540 Colored Lines
14541 \begin_inset LatexCommand index
14542 name "Table Color ! for Lines"
14543
14544 \end_inset
14545
14546
14547 \begin_inset LatexCommand index
14548 name "Color ! for Table Lines"
14549
14550 \end_inset
14551
14552
14553 \end_layout
14554
14555 \begin_layout Standard
14556 As described in section\InsetSpace ~
14557
14558 \begin_inset LatexCommand ref
14559 reference "sub:Line-Thickness"
14560
14561 \end_inset
14562
14563 , the line thickness for all lines in a table can be adjusted with the length
14564  
14565 \series bold
14566
14567 \backslash
14568 arrayrulewidth
14569 \series default
14570 .
14571  It is set to 1.5\InsetSpace \thinspace{}
14572 pt for all tables of this section.
14573 \begin_inset ERT
14574 status collapsed
14575
14576 \begin_layout Standard
14577
14578
14579 \backslash
14580 setlength{
14581 \backslash
14582 arrayrulewidth}{1.5pt}
14583 \end_layout
14584
14585 \end_inset
14586
14587
14588 \end_layout
14589
14590 \begin_layout Standard
14591 To color vertical lines for example with green, create the following column
14592  format in the document preamble, according to the description in section\InsetSpace ~
14593
14594 \begin_inset LatexCommand ref
14595 reference "sub:Customized-Format"
14596
14597 \end_inset
14598
14599 :
14600 \end_layout
14601
14602 \begin_layout Standard
14603
14604 \series bold
14605
14606 \backslash
14607 newcolumntype{W}{!{
14608 \backslash
14609 color{green}
14610 \backslash
14611 vline}}
14612 \end_layout
14613
14614 \begin_layout Standard
14615 For Table\InsetSpace ~
14616
14617 \begin_inset LatexCommand ref
14618 reference "tab:Table-with-vertical-colored"
14619
14620 \end_inset
14621
14622  the LaTeX-argument
14623 \series bold
14624  WcW
14625 \series default
14626  was used for the last column and
14627 \series bold
14628  Wc
14629 \series default
14630  for the other columns.
14631 \end_layout
14632
14633 \begin_layout Standard
14634 If you want to have several colors, define more column formats.
14635 \end_layout
14636
14637 \begin_layout Standard
14638 \begin_inset Float table
14639 wide false
14640 sideways false
14641 status open
14642
14643 \begin_layout Standard
14644 \begin_inset Caption
14645
14646 \begin_layout Standard
14647 \begin_inset LatexCommand label
14648 name "tab:Table-with-vertical-colored"
14649
14650 \end_inset
14651
14652 Table with colored vertical lines
14653 \end_layout
14654
14655 \end_inset
14656
14657
14658 \end_layout
14659
14660 \begin_layout Standard
14661 \align center
14662 \begin_inset Tabular
14663 <lyxtabular version="3" rows="3" columns="3">
14664 <features>
14665 <column alignment="center" valignment="top" width="0" special="Wc">
14666 <column alignment="center" valignment="top" width="0" special="Wc">
14667 <column alignment="center" valignment="top" width="0" special="WcW">
14668 <row topline="true">
14669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14670 \begin_inset Text
14671
14672 \begin_layout Standard
14673 sd
14674 \end_layout
14675
14676 \end_inset
14677 </cell>
14678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14679 \begin_inset Text
14680
14681 \begin_layout Standard
14682
14683 \end_layout
14684
14685 \end_inset
14686 </cell>
14687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14688 \begin_inset Text
14689
14690 \begin_layout Standard
14691
14692 \end_layout
14693
14694 \end_inset
14695 </cell>
14696 </row>
14697 <row topline="true">
14698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14699 \begin_inset Text
14700
14701 \begin_layout Standard
14702
14703 \end_layout
14704
14705 \end_inset
14706 </cell>
14707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14708 \begin_inset Text
14709
14710 \begin_layout Standard
14711 sd
14712 \end_layout
14713
14714 \end_inset
14715 </cell>
14716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14717 \begin_inset Text
14718
14719 \begin_layout Standard
14720
14721 \end_layout
14722
14723 \end_inset
14724 </cell>
14725 </row>
14726 <row topline="true" bottomline="true">
14727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14728 \begin_inset Text
14729
14730 \begin_layout Standard
14731
14732 \end_layout
14733
14734 \end_inset
14735 </cell>
14736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14737 \begin_inset Text
14738
14739 \begin_layout Standard
14740
14741 \end_layout
14742
14743 \end_inset
14744 </cell>
14745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14746 \begin_inset Text
14747
14748 \begin_layout Standard
14749 sd
14750 \end_layout
14751
14752 \end_inset
14753 </cell>
14754 </row>
14755 </lyxtabular>
14756
14757 \end_inset
14758
14759
14760 \end_layout
14761
14762 \end_inset
14763
14764
14765 \end_layout
14766
14767 \begin_layout Standard
14768 \begin_inset VSpace bigskip
14769 \end_inset
14770
14771 To color horizontal lines for example with red, like in Table\InsetSpace ~
14772
14773 \begin_inset LatexCommand ref
14774 reference "tab:Table-with-horizontal-colored"
14775
14776 \end_inset
14777
14778 , insert these commands in TeX-Code before the table or table float:
14779 \end_layout
14780
14781 \begin_layout Standard
14782
14783 \series bold
14784
14785 \backslash
14786 let
14787 \backslash
14788 myHlineC
14789 \backslash
14790 hline
14791 \newline
14792
14793 \backslash
14794 renewcommand{
14795 \backslash
14796 hline}
14797 \newline
14798
14799 \begin_inset ERT
14800 status collapsed
14801
14802 \begin_layout Standard
14803
14804
14805 \backslash
14806 hphantom{ }
14807 \end_layout
14808
14809 \end_inset
14810
14811 {
14812 \backslash
14813 arrayrulecolor{red}
14814 \backslash
14815 myHlineC
14816 \backslash
14817 arrayrulecolor{black}}
14818 \end_layout
14819
14820 \begin_layout Standard
14821 \begin_inset ERT
14822 status collapsed
14823
14824 \begin_layout Standard
14825
14826
14827 \backslash
14828 let
14829 \backslash
14830 myHlineC
14831 \backslash
14832 hline
14833 \end_layout
14834
14835 \begin_layout Standard
14836
14837
14838 \backslash
14839 renewcommand{
14840 \backslash
14841 hline}
14842 \end_layout
14843
14844 \begin_layout Standard
14845
14846  {
14847 \backslash
14848 arrayrulecolor{red}
14849 \backslash
14850 myHlineC
14851 \backslash
14852 arrayrulecolor{black}}
14853 \end_layout
14854
14855 \end_inset
14856
14857
14858 \begin_inset Float table
14859 wide false
14860 sideways false
14861 status open
14862
14863 \begin_layout Standard
14864 \begin_inset Caption
14865
14866 \begin_layout Standard
14867 \begin_inset LatexCommand label
14868 name "tab:Table-with-horizontal-colored"
14869
14870 \end_inset
14871
14872 Table with colored horizontal lines
14873 \end_layout
14874
14875 \end_inset
14876
14877
14878 \end_layout
14879
14880 \begin_layout Standard
14881 \align center
14882 \begin_inset Tabular
14883 <lyxtabular version="3" rows="3" columns="3">
14884 <features>
14885 <column alignment="center" valignment="top" leftline="true" width="0">
14886 <column alignment="center" valignment="top" leftline="true" width="0">
14887 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14888 <row topline="true">
14889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14890 \begin_inset Text
14891
14892 \begin_layout Standard
14893 sd
14894 \end_layout
14895
14896 \end_inset
14897 </cell>
14898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14899 \begin_inset Text
14900
14901 \begin_layout Standard
14902
14903 \end_layout
14904
14905 \end_inset
14906 </cell>
14907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14908 \begin_inset Text
14909
14910 \begin_layout Standard
14911
14912 \end_layout
14913
14914 \end_inset
14915 </cell>
14916 </row>
14917 <row topline="true">
14918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14919 \begin_inset Text
14920
14921 \begin_layout Standard
14922
14923 \end_layout
14924
14925 \end_inset
14926 </cell>
14927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14928 \begin_inset Text
14929
14930 \begin_layout Standard
14931 sd
14932 \end_layout
14933
14934 \end_inset
14935 </cell>
14936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14937 \begin_inset Text
14938
14939 \begin_layout Standard
14940
14941 \end_layout
14942
14943 \end_inset
14944 </cell>
14945 </row>
14946 <row topline="true" bottomline="true">
14947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14948 \begin_inset Text
14949
14950 \begin_layout Standard
14951
14952 \end_layout
14953
14954 \end_inset
14955 </cell>
14956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14957 \begin_inset Text
14958
14959 \begin_layout Standard
14960
14961 \end_layout
14962
14963 \end_inset
14964 </cell>
14965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14966 \begin_inset Text
14967
14968 \begin_layout Standard
14969 sd
14970 \end_layout
14971
14972 \end_inset
14973 </cell>
14974 </row>
14975 </lyxtabular>
14976
14977 \end_inset
14978
14979
14980 \end_layout
14981
14982 \end_inset
14983
14984
14985 \end_layout
14986
14987 \begin_layout Standard
14988 \begin_inset ERT
14989 status collapsed
14990
14991 \begin_layout Standard
14992
14993
14994 \backslash
14995 pagebreak 
14996 \end_layout
14997
14998 \end_inset
14999
15000
15001 \end_layout
15002
15003 \begin_layout Standard
15004 To return to the default line color black, insert this command in TeX-Code
15005  behind the table or table float:
15006 \end_layout
15007
15008 \begin_layout Standard
15009
15010 \series bold
15011
15012 \backslash
15013 renewcommand{
15014 \backslash
15015 hline}{
15016 \backslash
15017 myHlineC}
15018 \end_layout
15019
15020 \begin_layout Standard
15021 Table\InsetSpace ~
15022
15023 \begin_inset LatexCommand ref
15024 reference "tab:Table-with-colored"
15025
15026 \end_inset
15027
15028  is an example with colored vertical and horizontal lines.
15029 \end_layout
15030
15031 \begin_layout Standard
15032 \begin_inset Float table
15033 placement h
15034 wide false
15035 sideways false
15036 status open
15037
15038 \begin_layout Standard
15039 \begin_inset Caption
15040
15041 \begin_layout Standard
15042 \begin_inset LatexCommand label
15043 name "tab:Table-with-colored"
15044
15045 \end_inset
15046
15047 Table with colored lines
15048 \end_layout
15049
15050 \end_inset
15051
15052
15053 \end_layout
15054
15055 \begin_layout Standard
15056 \align center
15057 \begin_inset Tabular
15058 <lyxtabular version="3" rows="3" columns="3">
15059 <features>
15060 <column alignment="center" valignment="top" width="0" special="Wc">
15061 <column alignment="center" valignment="top" width="0" special="Wc">
15062 <column alignment="center" valignment="top" width="0" special="WcW">
15063 <row topline="true">
15064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15065 \begin_inset Text
15066
15067 \begin_layout Standard
15068 sd
15069 \end_layout
15070
15071 \end_inset
15072 </cell>
15073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Standard
15077
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Standard
15086
15087 \end_layout
15088
15089 \end_inset
15090 </cell>
15091 </row>
15092 <row topline="true">
15093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15094 \begin_inset Text
15095
15096 \begin_layout Standard
15097
15098 \end_layout
15099
15100 \end_inset
15101 </cell>
15102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15103 \begin_inset Text
15104
15105 \begin_layout Standard
15106 sd
15107 \end_layout
15108
15109 \end_inset
15110 </cell>
15111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15112 \begin_inset Text
15113
15114 \begin_layout Standard
15115
15116 \end_layout
15117
15118 \end_inset
15119 </cell>
15120 </row>
15121 <row topline="true" bottomline="true" topspace="default">
15122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15123 \begin_inset Text
15124
15125 \begin_layout Standard
15126
15127 \end_layout
15128
15129 \end_inset
15130 </cell>
15131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15132 \begin_inset Text
15133
15134 \begin_layout Standard
15135
15136 \end_layout
15137
15138 \end_inset
15139 </cell>
15140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15141 \begin_inset Text
15142
15143 \begin_layout Standard
15144 sd
15145 \end_layout
15146
15147 \end_inset
15148 </cell>
15149 </row>
15150 </lyxtabular>
15151
15152 \end_inset
15153
15154
15155 \end_layout
15156
15157 \end_inset
15158
15159
15160 \end_layout
15161
15162 \begin_layout Standard
15163 \begin_inset ERT
15164 status collapsed
15165
15166 \begin_layout Standard
15167
15168
15169 \backslash
15170 renewcommand{
15171 \backslash
15172 hline}{
15173 \backslash
15174 myHlineC}
15175 \end_layout
15176
15177 \end_inset
15178
15179
15180 \end_layout
15181
15182 \begin_layout Standard
15183 \begin_inset ERT
15184 status collapsed
15185
15186 \begin_layout Standard
15187
15188
15189 \backslash
15190 setlength{
15191 \backslash
15192 arrayrulewidth}{0.4pt}
15193 \end_layout
15194
15195 \end_inset
15196
15197
15198 \end_layout
15199
15200 \begin_layout Section
15201 Table Customization
15202 \begin_inset LatexCommand index
15203 name "Table Customization"
15204
15205 \end_inset
15206
15207
15208 \begin_inset LatexCommand index
15209 name "Table ! Customization"
15210
15211 \end_inset
15212
15213
15214 \end_layout
15215
15216 \begin_layout Subsection
15217 Row Spacing
15218 \begin_inset LatexCommand label
15219 name "sub:Row-Spacing"
15220
15221 \end_inset
15222
15223
15224 \begin_inset LatexCommand index
15225 name "Table Customization ! Row Spacing"
15226
15227 \end_inset
15228
15229
15230 \end_layout
15231
15232 \begin_layout Standard
15233 You can add vertical space to table rows in the 
15234 \family sans
15235 Borders
15236 \family default
15237  tab of the table dialog.
15238  You find there three possibilities:
15239 \end_layout
15240
15241 \begin_layout Description
15242 Top\InsetSpace ~
15243 of\InsetSpace ~
15244 row will add space above the characters of the table row.
15245  If the table is a formal table
15246 \begin_inset Foot
15247 status collapsed
15248
15249 \begin_layout Standard
15250 Formal tables are explained in section\InsetSpace ~
15251
15252 \begin_inset LatexCommand ref
15253 reference "sec:Formal-Tables"
15254
15255 \end_inset
15256
15257 .
15258 \end_layout
15259
15260 \end_inset
15261
15262  LyX will insert as default 0.5\InsetSpace \thinspace{}
15263 em space.
15264  For normal tables the inserted space will unfortunately destroy the vertical
15265  table lines as in the following table:
15266 \begin_inset VSpace medskip
15267 \end_inset
15268
15269
15270 \newline
15271
15272 \begin_inset ERT
15273 status collapsed
15274
15275 \begin_layout Standard
15276
15277
15278 \backslash
15279 hspace*{0pt}
15280 \end_layout
15281
15282 \end_inset
15283
15284
15285 \hfill
15286
15287 \begin_inset Tabular
15288 <lyxtabular version="3" rows="3" columns="1">
15289 <features>
15290 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15291 <row topline="true">
15292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 A
15297 \end_layout
15298
15299 \end_inset
15300 </cell>
15301 </row>
15302 <row topline="true" topspace="3mm">
15303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15304 \begin_inset Text
15305
15306 \begin_layout Standard
15307 3\InsetSpace \thinspace{}
15308 mm space top of row
15309 \end_layout
15310
15311 \end_inset
15312 </cell>
15313 </row>
15314 <row topline="true" bottomline="true">
15315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15316 \begin_inset Text
15317
15318 \begin_layout Standard
15319 C
15320 \end_layout
15321
15322 \end_inset
15323 </cell>
15324 </row>
15325 </lyxtabular>
15326
15327 \end_inset
15328
15329
15330 \hfill
15331
15332 \begin_inset ERT
15333 status collapsed
15334
15335 \begin_layout Standard
15336
15337
15338 \backslash
15339 hspace*{0pt}
15340 \end_layout
15341
15342 \end_inset
15343
15344
15345 \begin_inset VSpace medskip
15346 \end_inset
15347
15348
15349 \newline
15350 So inserting space to the top of row for normal tables is only useful when
15351  you don't have vertical lines.
15352 \end_layout
15353
15354 \begin_layout Description
15355 Bottom\InsetSpace ~
15356 of\InsetSpace ~
15357 row will add space below the characters of the table row.
15358  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15359 em space, for
15360  normal tables the default size is 2\InsetSpace \thinspace{}
15361 pt.
15362 \end_layout
15363
15364 \begin_layout Description
15365 Between\InsetSpace ~
15366 rows adds space between the current and the following row.
15367  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15368 em space.
15369  For normal tables the inserted space will unfortunately destroy the vertical
15370  table lines as in the following table:
15371 \begin_inset VSpace medskip
15372 \end_inset
15373
15374
15375 \newline
15376
15377 \begin_inset ERT
15378 status collapsed
15379
15380 \begin_layout Standard
15381
15382
15383 \backslash
15384 hspace*{0pt}
15385 \end_layout
15386
15387 \end_inset
15388
15389
15390 \hfill
15391
15392 \begin_inset Tabular
15393 <lyxtabular version="3" rows="3" columns="1">
15394 <features>
15395 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15396 <row topline="true">
15397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15398 \begin_inset Text
15399
15400 \begin_layout Standard
15401 A
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 </row>
15407 <row topline="true" interlinespace="3mm">
15408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15409 \begin_inset Text
15410
15411 \begin_layout Standard
15412 \begin_inset Formula $\downarrow$
15413 \end_inset
15414
15415  3\InsetSpace \thinspace{}
15416 mm space between row 
15417 \begin_inset Formula $\downarrow$
15418 \end_inset
15419
15420
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 </row>
15426 <row topline="true" bottomline="true">
15427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15428 \begin_inset Text
15429
15430 \begin_layout Standard
15431 \begin_inset Formula $\uparrow$
15432 \end_inset
15433
15434  3\InsetSpace \thinspace{}
15435 mm space between row 
15436 \begin_inset Formula $\uparrow$
15437 \end_inset
15438
15439
15440 \end_layout
15441
15442 \end_inset
15443 </cell>
15444 </row>
15445 </lyxtabular>
15446
15447 \end_inset
15448
15449
15450 \hfill
15451
15452 \begin_inset ERT
15453 status collapsed
15454
15455 \begin_layout Standard
15456
15457
15458 \backslash
15459 hspace*{0pt}
15460 \end_layout
15461
15462 \end_inset
15463
15464
15465 \begin_inset VSpace medskip
15466 \end_inset
15467
15468
15469 \newline
15470 So inserting space between rows for normal tables is only useful when you
15471  don't have vertical lines.
15472 \end_layout
15473
15474 \begin_layout Standard
15475 \begin_inset VSpace bigskip
15476 \end_inset
15477
15478 When you want to add extra height to all cells of all tables, you can do
15479  this with the following preamble lines:
15480 \end_layout
15481
15482 \begin_layout Standard
15483
15484 \series bold
15485
15486 \backslash
15487 @ifundef\SpecialChar \textcompwordmark{}
15488 ined{extrarowheight}
15489 \newline
15490
15491 \begin_inset ERT
15492 status collapsed
15493
15494 \begin_layout Standard
15495
15496
15497 \backslash
15498 hphantom{ }
15499 \end_layout
15500
15501 \end_inset
15502
15503 {
15504 \backslash
15505 usepackage{array}}{}
15506 \newline
15507
15508 \backslash
15509 setlength{
15510 \backslash
15511 extrarowheight}{height}
15512 \end_layout
15513
15514 \begin_layout Standard
15515 But this has the disadvantage that the cell texts are no longer exactly
15516  vertically centered.
15517  (The package 
15518 \series bold
15519 array
15520 \series default
15521  will be loaded automatically by LyX when you use self defined table formats.
15522  To avoid that it is loaded twice the command 
15523 \series bold
15524
15525 \backslash
15526 @ifundef\SpecialChar \textcompwordmark{}
15527 ined
15528 \series default
15529  is used in the above command.)
15530 \end_layout
15531
15532 \begin_layout Subsection
15533 Special Cell Alignment
15534 \begin_inset LatexCommand index
15535 name "Table Customization ! Special Cell Alignment"
15536
15537 \end_inset
15538
15539
15540 \end_layout
15541
15542 \begin_layout Standard
15543 Sometimes it looks better when the cell entries of a column are aligned
15544  with a special character, e.\InsetSpace \thinspace{}
15545 g.\InsetSpace ~
15546 with the decimal separator as in Table\InsetSpace ~
15547
15548 \begin_inset LatexCommand ref
15549 reference "tab:Table-cells-of"
15550
15551 \end_inset
15552
15553 .
15554 \end_layout
15555
15556 \begin_layout Standard
15557 \begin_inset Float table
15558 placement h
15559 wide false
15560 sideways false
15561 status open
15562
15563 \begin_layout Standard
15564 \begin_inset Caption
15565
15566 \begin_layout Standard
15567 \begin_inset LatexCommand label
15568 name "tab:Table-cells-of"
15569
15570 \end_inset
15571
15572 Table cells of a column aligned with the decimal separator.
15573 \end_layout
15574
15575 \end_inset
15576
15577
15578 \end_layout
15579
15580 \begin_layout Standard
15581 \align center
15582 \begin_inset Tabular
15583 <lyxtabular version="3" rows="4" columns="2">
15584 <features>
15585 <column alignment="right" valignment="top" width="0">
15586 <column alignment="left" valignment="top" width="0" special="@{}l">
15587 <row bottomline="true">
15588 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15589 \begin_inset Text
15590
15591 \begin_layout Standard
15592 heading
15593 \end_layout
15594
15595 \end_inset
15596 </cell>
15597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15598 \begin_inset Text
15599
15600 \begin_layout Standard
15601
15602 \end_layout
15603
15604 \end_inset
15605 </cell>
15606 </row>
15607 <row>
15608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15609 \begin_inset Text
15610
15611 \begin_layout Standard
15612 12.
15613 \end_layout
15614
15615 \end_inset
15616 </cell>
15617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15618 \begin_inset Text
15619
15620 \begin_layout Standard
15621 6
15622 \end_layout
15623
15624 \end_inset
15625 </cell>
15626 </row>
15627 <row>
15628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15629 \begin_inset Text
15630
15631 \begin_layout Standard
15632 0.
15633 \end_layout
15634
15635 \end_inset
15636 </cell>
15637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15638 \begin_inset Text
15639
15640 \begin_layout Standard
15641 68
15642 \end_layout
15643
15644 \end_inset
15645 </cell>
15646 </row>
15647 <row>
15648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15649 \begin_inset Text
15650
15651 \begin_layout Standard
15652 -123.
15653 \end_layout
15654
15655 \end_inset
15656 </cell>
15657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15658 \begin_inset Text
15659
15660 \begin_layout Standard
15661 0
15662 \end_layout
15663
15664 \end_inset
15665 </cell>
15666 </row>
15667 </lyxtabular>
15668
15669 \end_inset
15670
15671
15672 \end_layout
15673
15674 \end_inset
15675
15676
15677 \end_layout
15678
15679 \begin_layout Standard
15680 This table was created with a 4×2 table.
15681  The heading is a centered multicolumn.
15682  The first column is right-aligned and contains the digits before the decimal
15683  point and the decimal point.
15684  The second column is left aligned and contains the digits after the decimal
15685  point.
15686  To omit the space that is normally between two table columns, use the following
15687  LaTeX-argument for the second column:
15688 \end_layout
15689
15690 \begin_layout Standard
15691
15692 \series bold
15693 @{}l
15694 \end_layout
15695
15696 \begin_layout Standard
15697 Table\InsetSpace ~
15698
15699 \begin_inset LatexCommand ref
15700 reference "tab:Several-table-cell"
15701
15702 \end_inset
15703
15704  shows some example alignments.
15705  For the alignment with the relation sign, you must add the second smallest
15706  math-space at the beginning of the last column to get the correct space
15707  surrounding the relation sign.
15708 \end_layout
15709
15710 \begin_layout Standard
15711 \begin_inset Float table
15712 wide false
15713 sideways false
15714 status open
15715
15716 \begin_layout Standard
15717 \begin_inset Caption
15718
15719 \begin_layout Standard
15720 \begin_inset LatexCommand label
15721 name "tab:Several-table-cell"
15722
15723 \end_inset
15724
15725 Several table cell alignments.
15726 \end_layout
15727
15728 \end_inset
15729
15730
15731 \end_layout
15732
15733 \begin_layout Standard
15734 \align center
15735 \begin_inset Tabular
15736 <lyxtabular version="3" rows="4" columns="6">
15737 <features>
15738 <column alignment="right" valignment="top" width="0">
15739 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15740 <column alignment="right" valignment="top" width="0">
15741 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15742 <column alignment="right" valignment="top" width="0">
15743 <column alignment="left" valignment="top" width="0" special="@{}l">
15744 <row bottomline="true">
15745 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15746 \begin_inset Text
15747
15748 \begin_layout Standard
15749 units
15750 \end_layout
15751
15752 \end_inset
15753 </cell>
15754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15755 \begin_inset Text
15756
15757 \begin_layout Standard
15758
15759 \end_layout
15760
15761 \end_inset
15762 </cell>
15763 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15764 \begin_inset Text
15765
15766 \begin_layout Standard
15767 exponents
15768 \end_layout
15769
15770 \end_inset
15771 </cell>
15772 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15773 \begin_inset Text
15774
15775 \begin_layout Standard
15776
15777 \end_layout
15778
15779 \end_inset
15780 </cell>
15781 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15782 \begin_inset Text
15783
15784 \begin_layout Standard
15785 relations
15786 \end_layout
15787
15788 \end_inset
15789 </cell>
15790 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15791 \begin_inset Text
15792
15793 \begin_layout Standard
15794
15795 \end_layout
15796
15797 \end_inset
15798 </cell>
15799 </row>
15800 <row>
15801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15802 \begin_inset Text
15803
15804 \begin_layout Standard
15805 12×
15806 \end_layout
15807
15808 \end_inset
15809 </cell>
15810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15811 \begin_inset Text
15812
15813 \begin_layout Standard
15814 24\InsetSpace \thinspace{}
15815 bottles
15816 \end_layout
15817
15818 \end_inset
15819 </cell>
15820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15821 \begin_inset Text
15822
15823 \begin_layout Standard
15824 \begin_inset Formula $10\cdot$
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \end_inset
15831 </cell>
15832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15833 \begin_inset Text
15834
15835 \begin_layout Standard
15836 \begin_inset Formula $10^{\mbox{-}17}$
15837 \end_inset
15838
15839
15840 \end_layout
15841
15842 \end_inset
15843 </cell>
15844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15845 \begin_inset Text
15846
15847 \begin_layout Standard
15848 \begin_inset Formula $\Gamma(t)\propto$
15849 \end_inset
15850
15851
15852 \end_layout
15853
15854 \end_inset
15855 </cell>
15856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15857 \begin_inset Text
15858
15859 \begin_layout Standard
15860 \begin_inset Formula $\:\Upsilon(t)$
15861 \end_inset
15862
15863
15864 \end_layout
15865
15866 \end_inset
15867 </cell>
15868 </row>
15869 <row>
15870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15871 \begin_inset Text
15872
15873 \begin_layout Standard
15874 1024×
15875 \end_layout
15876
15877 \end_inset
15878 </cell>
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15880 \begin_inset Text
15881
15882 \begin_layout Standard
15883 768\InsetSpace \thinspace{}
15884 Pixels
15885 \end_layout
15886
15887 \end_inset
15888 </cell>
15889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15890 \begin_inset Text
15891
15892 \begin_layout Standard
15893 \begin_inset Formula $5.78\cdot$
15894 \end_inset
15895
15896
15897 \end_layout
15898
15899 \end_inset
15900 </cell>
15901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15902 \begin_inset Text
15903
15904 \begin_layout Standard
15905 \begin_inset Formula $10^{7}$
15906 \end_inset
15907
15908
15909 \end_layout
15910
15911 \end_inset
15912 </cell>
15913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15914 \begin_inset Text
15915
15916 \begin_layout Standard
15917 \begin_inset Formula $A\ne$
15918 \end_inset
15919
15920
15921 \end_layout
15922
15923 \end_inset
15924 </cell>
15925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15926 \begin_inset Text
15927
15928 \begin_layout Standard
15929 \begin_inset Formula $\: B_{\mathrm{red}}$
15930 \end_inset
15931
15932
15933 \end_layout
15934
15935 \end_inset
15936 </cell>
15937 </row>
15938 <row>
15939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15940 \begin_inset Text
15941
15942 \begin_layout Standard
15943 32×
15944 \end_layout
15945
15946 \end_inset
15947 </cell>
15948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15949 \begin_inset Text
15950
15951 \begin_layout Standard
15952 6\InsetSpace \thinspace{}
15953 cm
15954 \end_layout
15955
15956 \end_inset
15957 </cell>
15958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15959 \begin_inset Text
15960
15961 \begin_layout Standard
15962 -
15963 \begin_inset Formula $33.5\cdot$
15964 \end_inset
15965
15966
15967 \end_layout
15968
15969 \end_inset
15970 </cell>
15971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15972 \begin_inset Text
15973
15974 \begin_layout Standard
15975 \begin_inset Formula $10^{4}$
15976 \end_inset
15977
15978
15979 \end_layout
15980
15981 \end_inset
15982 </cell>
15983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15984 \begin_inset Text
15985
15986 \begin_layout Standard
15987 \begin_inset Formula $\sin(\alpha)\ge$
15988 \end_inset
15989
15990
15991 \end_layout
15992
15993 \end_inset
15994 </cell>
15995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15996 \begin_inset Text
15997
15998 \begin_layout Standard
15999 \begin_inset Formula $\:\sin(\beta)$
16000 \end_inset
16001
16002
16003 \end_layout
16004
16005 \end_inset
16006 </cell>
16007 </row>
16008 </lyxtabular>
16009
16010 \end_inset
16011
16012
16013 \end_layout
16014
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 \begin_inset VSpace bigskip
16022 \end_inset
16023
16024 There is also the LaTeX-package 
16025 \series bold
16026 dcolumn
16027 \series default
16028
16029 \begin_inset LatexCommand index
16030 name "LaTeX-packages ! dcolumn"
16031
16032 \end_inset
16033
16034  that provides table cell alignments.
16035  But this unfortunately treats the cell entries as math and doesn't allow
16036  formulas in table cells: The first column of Table\InsetSpace ~
16037
16038 \begin_inset LatexCommand ref
16039 reference "tab:Several-table-cell"
16040
16041 \end_inset
16042
16043  will look with 
16044 \series bold
16045 dcolumn
16046 \series default
16047  like the first column in Table\InsetSpace ~
16048
16049 \begin_inset LatexCommand ref
16050 reference "tab:Alignments-when"
16051
16052 \end_inset
16053
16054  and only with some tricks like the expected.
16055  The alignment of the second and third column of Table\InsetSpace ~
16056
16057 \begin_inset LatexCommand ref
16058 reference "tab:Several-table-cell"
16059
16060 \end_inset
16061
16062  is not possible with 
16063 \series bold
16064 dcolumn
16065 \series default
16066 .
16067 \end_layout
16068
16069 \begin_layout Standard
16070 \begin_inset Float table
16071 placement h
16072 wide false
16073 sideways false
16074 status open
16075
16076 \begin_layout Standard
16077 \begin_inset Caption
16078
16079 \begin_layout Standard
16080 \begin_inset LatexCommand label
16081 name "tab:Alignments-when"
16082
16083 \end_inset
16084
16085 Alignments when LaTeX-package dcolumn is used.
16086  For all column alignments tricks have to be used to get the output.
16087 \end_layout
16088
16089 \end_inset
16090
16091
16092 \end_layout
16093
16094 \begin_layout Standard
16095 \align center
16096 \begin_inset Tabular
16097 <lyxtabular version="3" rows="4" columns="3">
16098 <features>
16099 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
16100 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
16101 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16102 <row bottomline="true">
16103 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16104 \begin_inset Text
16105
16106 \begin_layout Standard
16107 units
16108 \end_layout
16109
16110 \end_inset
16111 </cell>
16112 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16113 \begin_inset Text
16114
16115 \begin_layout Standard
16116 units
16117 \end_layout
16118
16119 \end_inset
16120 </cell>
16121 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16122 \begin_inset Text
16123
16124 \begin_layout Standard
16125 units
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 </row>
16131 <row>
16132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16133 \begin_inset Text
16134
16135 \begin_layout Standard
16136 12x24\InsetSpace \thinspace{}
16137 bottles
16138 \end_layout
16139
16140 \end_inset
16141 </cell>
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146 12x24\InsetSpace \thinspace{}
16147
16148 \begin_inset Formula $\mbox{bottles}$
16149 \end_inset
16150
16151
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16157 \begin_inset Text
16158
16159 \begin_layout Standard
16160 12
16161 \begin_inset ERT
16162 status collapsed
16163
16164 \begin_layout Standard
16165
16166
16167 \backslash
16168 times 
16169 \end_layout
16170
16171 \end_inset
16172
16173 24~
16174 \begin_inset Formula $\mbox{bottles}$
16175 \end_inset
16176
16177
16178 \end_layout
16179
16180 \end_inset
16181 </cell>
16182 </row>
16183 <row>
16184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16185 \begin_inset Text
16186
16187 \begin_layout Standard
16188 1024x768\InsetSpace \thinspace{}
16189 Pixels
16190 \end_layout
16191
16192 \end_inset
16193 </cell>
16194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16195 \begin_inset Text
16196
16197 \begin_layout Standard
16198 1024x768\InsetSpace \thinspace{}
16199
16200 \begin_inset Formula $\mbox{Pixels}$
16201 \end_inset
16202
16203
16204 \end_layout
16205
16206 \end_inset
16207 </cell>
16208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16209 \begin_inset Text
16210
16211 \begin_layout Standard
16212 1024
16213 \begin_inset ERT
16214 status collapsed
16215
16216 \begin_layout Standard
16217
16218
16219 \backslash
16220 times 
16221 \end_layout
16222
16223 \end_inset
16224
16225 768~
16226 \begin_inset Formula $\mbox{Pixels}$
16227 \end_inset
16228
16229
16230 \end_layout
16231
16232 \end_inset
16233 </cell>
16234 </row>
16235 <row>
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Standard
16240 32x6\InsetSpace \thinspace{}
16241 cm
16242 \end_layout
16243
16244 \end_inset
16245 </cell>
16246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16247 \begin_inset Text
16248
16249 \begin_layout Standard
16250 32x6\InsetSpace \thinspace{}
16251
16252 \begin_inset Formula $\mbox{cm}$
16253 \end_inset
16254
16255
16256 \end_layout
16257
16258 \end_inset
16259 </cell>
16260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16261 \begin_inset Text
16262
16263 \begin_layout Standard
16264 32
16265 \begin_inset ERT
16266 status collapsed
16267
16268 \begin_layout Standard
16269
16270
16271 \backslash
16272 times 
16273 \end_layout
16274
16275 \end_inset
16276
16277 6~
16278 \begin_inset Formula $\mbox{cm}$
16279 \end_inset
16280
16281
16282 \end_layout
16283
16284 \end_inset
16285 </cell>
16286 </row>
16287 </lyxtabular>
16288
16289 \end_inset
16290
16291
16292 \end_layout
16293
16294 \end_inset
16295
16296
16297 \end_layout
16298
16299 \begin_layout Subsection
16300 Customized Cell/Column Format
16301 \begin_inset LatexCommand label
16302 name "sub:Customized-Format"
16303
16304 \end_inset
16305
16306
16307 \begin_inset LatexCommand index
16308 name "Table Customization ! Cell/Column Format"
16309
16310 \end_inset
16311
16312
16313 \end_layout
16314
16315 \begin_layout Standard
16316 Calculating the needed width for spanned columns like in section\InsetSpace ~
16317
16318 \begin_inset LatexCommand ref
16319 reference "sub:Multicolumn-Calculations"
16320
16321 \end_inset
16322
16323  is very annoying if you have several tables with multicolumn cells.
16324  To make life easier, you can define a cell/column format in the preamble,
16325  so that it can be used in all tables of the document.
16326  The format is defined with the command
16327 \end_layout
16328
16329 \begin_layout Standard
16330
16331 \series bold
16332
16333 \backslash
16334 newcolumntype{name of format}[number of arguments]{commands}
16335 \end_layout
16336
16337 \begin_layout Standard
16338 The format name may only consist of one letter.
16339  The letters 
16340 \emph on
16341 b
16342 \emph default
16343
16344 \emph on
16345 c
16346 \emph default
16347
16348 \emph on
16349 l
16350 \emph default
16351
16352 \emph on
16353 m
16354 \emph default
16355
16356 \emph on
16357 p
16358 \emph default
16359  and 
16360 \emph on
16361 r
16362 \emph default
16363  are predefined and cannot be used.
16364  But all letters are allowed as capitals.
16365 \end_layout
16366
16367 \begin_layout Standard
16368 \begin_inset VSpace medskip
16369 \end_inset
16370
16371
16372 \end_layout
16373
16374 \begin_layout Standard
16375 For vertically and horizontally centered multicolumn cells with a fixed
16376  width you can define the cell format
16377 \end_layout
16378
16379 \begin_layout Standard
16380
16381 \series bold
16382
16383 \backslash
16384 newcolumntype{M}[1]{>{
16385 \backslash
16386 centering
16387 \backslash
16388 hspace{0pt}}m{#1}}
16389 \end_layout
16390
16391 \begin_layout Standard
16392 where 
16393 \series bold
16394
16395 \backslash
16396 hspace{0pt}
16397 \series default
16398  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
16399
16400 \begin_inset LatexCommand ref
16401 reference "sub:Multiple-Lines-in"
16402
16403 \end_inset
16404
16405 .
16406  Now you can simply enter
16407 \end_layout
16408
16409 \begin_layout Standard
16410
16411 \series bold
16412 M{width}
16413 \end_layout
16414
16415 \begin_layout Standard
16416 as LaTeX-argument in the table dialog to create a multicolumn.
16417 \end_layout
16418
16419 \begin_layout Standard
16420 \begin_inset VSpace bigskip
16421 \end_inset
16422
16423
16424 \end_layout
16425
16426 \begin_layout Standard
16427 For cells spanned by a multicolumn cell, you can define the format
16428 \end_layout
16429
16430 \begin_layout Standard
16431
16432 \series bold
16433
16434 \backslash
16435 newcolumntype{S}[2]{>{
16436 \backslash
16437 centering
16438 \backslash
16439 hspace{0pt}}
16440 \newline
16441
16442 \begin_inset ERT
16443 status collapsed
16444
16445 \begin_layout Standard
16446
16447
16448 \backslash
16449 phantom{
16450 \end_layout
16451
16452 \end_inset
16453
16454
16455 \backslash
16456 newcolumntype
16457 \begin_inset ERT
16458 status collapsed
16459
16460 \begin_layout Standard
16461
16462 }
16463 \end_layout
16464
16465 \end_inset
16466
16467 m{(#1+(2
16468 \backslash
16469 tabcolsep+
16470 \backslash
16471 arrayrulewidth)*(1-#2))/#2}}
16472 \end_layout
16473
16474 \begin_layout Standard
16475 This format uses equation 
16476 \begin_inset LatexCommand eqref
16477 reference "eq:Wgn"
16478
16479 \end_inset
16480
16481  to calculate the needed width so that each spanned cell has the same width.
16482 \end_layout
16483
16484 \begin_layout Standard
16485 You can now enter
16486 \end_layout
16487
16488 \begin_layout Standard
16489
16490 \series bold
16491 S{width of multicolumn cell}{number of spanned columns}
16492 \end_layout
16493
16494 \begin_layout Standard
16495 as LaTeX-argument of the column.
16496 \end_layout
16497
16498 \begin_layout Standard
16499 \begin_inset VSpace bigskip
16500 \end_inset
16501
16502
16503 \end_layout
16504
16505 \begin_layout Standard
16506 For colored columns, you can define
16507 \end_layout
16508
16509 \begin_layout Standard
16510
16511 \series bold
16512
16513 \backslash
16514 newcolumntype{K}[1]{>{
16515 \backslash
16516 columncolor{#1}
16517 \backslash
16518 hspace{0pt}}c}
16519 \end_layout
16520
16521 \begin_layout Standard
16522 The 
16523 \begin_inset Quotes eld
16524 \end_inset
16525
16526 c
16527 \begin_inset Quotes erd
16528 \end_inset
16529
16530  at the end creates a column with a flexible width whose text is horizontally
16531  centered.
16532  You can now enter
16533 \end_layout
16534
16535 \begin_layout Standard
16536
16537 \series bold
16538 K{color name}
16539 \end_layout
16540
16541 \begin_layout Standard
16542 as LaTeX-argument.
16543 \end_layout
16544
16545 \begin_layout Standard
16546 \begin_inset VSpace bigskip
16547 \end_inset
16548
16549
16550 \end_layout
16551
16552 \begin_layout Standard
16553 To create Table\InsetSpace ~
16554
16555 \begin_inset LatexCommand ref
16556 reference "tab:Table-using-user-defined"
16557
16558 \end_inset
16559
16560  use the LaTeX-arguments
16561 \end_layout
16562
16563 \begin_layout Standard
16564
16565 \series bold
16566 M{2.5cm}
16567 \end_layout
16568
16569 \begin_layout Standard
16570 for the first column and the multicolumn,
16571 \end_layout
16572
16573 \begin_layout Standard
16574
16575 \series bold
16576 K{red}
16577 \end_layout
16578
16579 \begin_layout Standard
16580 for the the last column, and
16581 \end_layout
16582
16583 \begin_layout Standard
16584
16585 \series bold
16586 S{2.5cm}{2}
16587 \end_layout
16588
16589 \begin_layout Standard
16590 for the cells in the second column.
16591 \end_layout
16592
16593 \begin_layout Standard
16594 \begin_inset Float table
16595 placement h
16596 wide false
16597 sideways false
16598 status open
16599
16600 \begin_layout Standard
16601 \begin_inset Caption
16602
16603 \begin_layout Standard
16604 \begin_inset LatexCommand label
16605 name "tab:Table-using-user-defined"
16606
16607 \end_inset
16608
16609 Table using user-defined table formats
16610 \end_layout
16611
16612 \end_inset
16613
16614
16615 \end_layout
16616
16617 \begin_layout Standard
16618 \align center
16619 \begin_inset Tabular
16620 <lyxtabular version="3" rows="3" columns="4">
16621 <features>
16622 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16623 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16624 <column alignment="center" valignment="middle" leftline="true" width="0">
16625 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16626 <row topline="true">
16627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16628 \begin_inset Text
16629
16630 \begin_layout Standard
16631 verylongtablecellword
16632 \end_layout
16633
16634 \end_inset
16635 </cell>
16636 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16637 \begin_inset Text
16638
16639 \begin_layout Standard
16640 multiple lines multicolumn
16641 \end_layout
16642
16643 \end_inset
16644 </cell>
16645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16646 \begin_inset Text
16647
16648 \begin_layout Standard
16649
16650 \end_layout
16651
16652 \end_inset
16653 </cell>
16654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16655 \begin_inset Text
16656
16657 \begin_layout Standard
16658 c
16659 \end_layout
16660
16661 \end_inset
16662 </cell>
16663 </row>
16664 <row topline="true">
16665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16666 \begin_inset Text
16667
16668 \begin_layout Standard
16669 d
16670 \end_layout
16671
16672 \end_inset
16673 </cell>
16674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16675 \begin_inset Text
16676
16677 \begin_layout Standard
16678 e
16679 \end_layout
16680
16681 \end_inset
16682 </cell>
16683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16684 \begin_inset Text
16685
16686 \begin_layout Standard
16687 f
16688 \end_layout
16689
16690 \end_inset
16691 </cell>
16692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16693 \begin_inset Text
16694
16695 \begin_layout Standard
16696 g
16697 \end_layout
16698
16699 \end_inset
16700 </cell>
16701 </row>
16702 <row topline="true" bottomline="true">
16703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16704 \begin_inset Text
16705
16706 \begin_layout Standard
16707 h
16708 \end_layout
16709
16710 \end_inset
16711 </cell>
16712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16713 \begin_inset Text
16714
16715 \begin_layout Standard
16716 i
16717 \end_layout
16718
16719 \end_inset
16720 </cell>
16721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16722 \begin_inset Text
16723
16724 \begin_layout Standard
16725 j
16726 \end_layout
16727
16728 \end_inset
16729 </cell>
16730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16731 \begin_inset Text
16732
16733 \begin_layout Standard
16734 k
16735 \end_layout
16736
16737 \end_inset
16738 </cell>
16739 </row>
16740 </lyxtabular>
16741
16742 \end_inset
16743
16744
16745 \end_layout
16746
16747 \end_inset
16748
16749
16750 \end_layout
16751
16752 \begin_layout Subsection
16753 Line Thickness
16754 \begin_inset LatexCommand label
16755 name "sub:Line-Thickness"
16756
16757 \end_inset
16758
16759
16760 \begin_inset LatexCommand index
16761 name "Table Customization ! Line Thickness"
16762
16763 \end_inset
16764
16765
16766 \end_layout
16767
16768 \begin_layout Standard
16769 The line thickness for all lines in a table can be adjusted with the length
16770  
16771 \series bold
16772
16773 \backslash
16774 arrayrulewidth
16775 \series default
16776 .
16777  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16778 pt, like in Table\InsetSpace ~
16779
16780 \begin_inset LatexCommand ref
16781 reference "tab:Table-with-1.5"
16782
16783 \end_inset
16784
16785 , insert the command
16786 \end_layout
16787
16788 \begin_layout Standard
16789
16790 \series bold
16791
16792 \backslash
16793 setlength{
16794 \backslash
16795 arrayrulewidth}{1.5pt}
16796 \end_layout
16797
16798 \begin_layout Standard
16799 in TeX-Code before the table or table float.
16800  The changed thickness is valid for all following tables.
16801  To use the default value again, set 
16802 \series bold
16803
16804 \backslash
16805 arrayrulewidth
16806 \series default
16807  to 0.4\InsetSpace \thinspace{}
16808 pt in TeX-Code behind the table or table float.
16809 \end_layout
16810
16811 \begin_layout Standard
16812 \begin_inset ERT
16813 status collapsed
16814
16815 \begin_layout Standard
16816
16817
16818 \backslash
16819 setlength{
16820 \backslash
16821 arrayrulewidth}{1.5pt}
16822 \end_layout
16823
16824 \end_inset
16825
16826
16827 \begin_inset Float table
16828 wide false
16829 sideways false
16830 status open
16831
16832 \begin_layout Standard
16833 \begin_inset Caption
16834
16835 \begin_layout Standard
16836 \begin_inset LatexCommand label
16837 name "tab:Table-with-1.5"
16838
16839 \end_inset
16840
16841 Table with 1.5\InsetSpace \thinspace{}
16842 pt thick lines
16843 \end_layout
16844
16845 \end_inset
16846
16847
16848 \end_layout
16849
16850 \begin_layout Standard
16851 \align center
16852 \begin_inset Tabular
16853 <lyxtabular version="3" rows="3" columns="3">
16854 <features>
16855 <column alignment="center" valignment="top" leftline="true" width="0">
16856 <column alignment="center" valignment="top" leftline="true" width="0">
16857 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16858 <row topline="true">
16859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Standard
16863 sd
16864 \end_layout
16865
16866 \end_inset
16867 </cell>
16868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16869 \begin_inset Text
16870
16871 \begin_layout Standard
16872
16873 \end_layout
16874
16875 \end_inset
16876 </cell>
16877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16878 \begin_inset Text
16879
16880 \begin_layout Standard
16881
16882 \end_layout
16883
16884 \end_inset
16885 </cell>
16886 </row>
16887 <row topline="true">
16888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16889 \begin_inset Text
16890
16891 \begin_layout Standard
16892
16893 \end_layout
16894
16895 \end_inset
16896 </cell>
16897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16898 \begin_inset Text
16899
16900 \begin_layout Standard
16901 sd
16902 \end_layout
16903
16904 \end_inset
16905 </cell>
16906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16907 \begin_inset Text
16908
16909 \begin_layout Standard
16910
16911 \end_layout
16912
16913 \end_inset
16914 </cell>
16915 </row>
16916 <row topline="true" bottomline="true">
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16918 \begin_inset Text
16919
16920 \begin_layout Standard
16921
16922 \end_layout
16923
16924 \end_inset
16925 </cell>
16926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16927 \begin_inset Text
16928
16929 \begin_layout Standard
16930
16931 \end_layout
16932
16933 \end_inset
16934 </cell>
16935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16936 \begin_inset Text
16937
16938 \begin_layout Standard
16939 sd
16940 \end_layout
16941
16942 \end_inset
16943 </cell>
16944 </row>
16945 </lyxtabular>
16946
16947 \end_inset
16948
16949
16950 \end_layout
16951
16952 \end_inset
16953
16954
16955 \begin_inset ERT
16956 status collapsed
16957
16958 \begin_layout Standard
16959
16960
16961 \backslash
16962 setlength{
16963 \backslash
16964 arrayrulewidth}{0.4pt}
16965 \end_layout
16966
16967 \end_inset
16968
16969
16970 \end_layout
16971
16972 \begin_layout Standard
16973 \begin_inset VSpace bigskip
16974 \end_inset
16975
16976 To set the line thickness to 1.5\InsetSpace \thinspace{}
16977 pt only for horizontal lines, like in Table\InsetSpace ~
16978
16979 \begin_inset LatexCommand ref
16980 reference "tab:Table-with-horizontal"
16981
16982 \end_inset
16983
16984 , insert these commands in TeX-Code before the table or table float:
16985 \end_layout
16986
16987 \begin_layout Standard
16988
16989 \series bold
16990
16991 \backslash
16992 let
16993 \backslash
16994 myHline
16995 \backslash
16996 hline
16997 \newline
16998
16999 \backslash
17000 renewcommand{
17001 \backslash
17002 hline}
17003 \newline
17004  {
17005 \backslash
17006 noalign{
17007 \backslash
17008 global
17009 \backslash
17010 arrayrulewidth 1.5pt}
17011 \newline
17012  
17013 \backslash
17014 myHline
17015 \backslash
17016 noalign{
17017 \backslash
17018 global
17019 \backslash
17020 arrayrulewidth 0.4pt}}
17021 \end_layout
17022
17023 \begin_layout Standard
17024 To return to the default line thickness, insert this command in TeX-Code
17025  behind the table or table float:
17026 \end_layout
17027
17028 \begin_layout Standard
17029
17030 \series bold
17031
17032 \backslash
17033 renewcommand{
17034 \backslash
17035 hline}{
17036 \backslash
17037 myHline}
17038 \end_layout
17039
17040 \begin_layout Standard
17041 \begin_inset ERT
17042 status collapsed
17043
17044 \begin_layout Standard
17045
17046
17047 \backslash
17048 let
17049 \backslash
17050 myHline
17051 \backslash
17052 hline
17053 \end_layout
17054
17055 \begin_layout Standard
17056
17057
17058 \backslash
17059 renewcommand{
17060 \backslash
17061 hline}
17062 \end_layout
17063
17064 \begin_layout Standard
17065
17066  {
17067 \backslash
17068 noalign{
17069 \backslash
17070 global
17071 \backslash
17072 arrayrulewidth 1.5pt}
17073 \end_layout
17074
17075 \begin_layout Standard
17076
17077   
17078 \backslash
17079 myHline
17080 \backslash
17081 noalign{
17082 \backslash
17083 global
17084 \backslash
17085 arrayrulewidth 0.4pt}}
17086 \end_layout
17087
17088 \end_inset
17089
17090
17091 \begin_inset Float table
17092 wide false
17093 sideways false
17094 status open
17095
17096 \begin_layout Standard
17097 \begin_inset Caption
17098
17099 \begin_layout Standard
17100 \begin_inset LatexCommand label
17101 name "tab:Table-with-horizontal"
17102
17103 \end_inset
17104
17105 Table with 1.5\InsetSpace \thinspace{}
17106 pt thick horizontal lines
17107 \end_layout
17108
17109 \end_inset
17110
17111
17112 \end_layout
17113
17114 \begin_layout Standard
17115 \align center
17116 \begin_inset Tabular
17117 <lyxtabular version="3" rows="3" columns="3">
17118 <features>
17119 <column alignment="center" valignment="top" leftline="true" width="0">
17120 <column alignment="center" valignment="top" leftline="true" width="0">
17121 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17122 <row topline="true">
17123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17124 \begin_inset Text
17125
17126 \begin_layout Standard
17127 sd
17128 \end_layout
17129
17130 \end_inset
17131 </cell>
17132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17133 \begin_inset Text
17134
17135 \begin_layout Standard
17136
17137 \end_layout
17138
17139 \end_inset
17140 </cell>
17141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17142 \begin_inset Text
17143
17144 \begin_layout Standard
17145
17146 \end_layout
17147
17148 \end_inset
17149 </cell>
17150 </row>
17151 <row topline="true">
17152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17153 \begin_inset Text
17154
17155 \begin_layout Standard
17156
17157 \end_layout
17158
17159 \end_inset
17160 </cell>
17161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17162 \begin_inset Text
17163
17164 \begin_layout Standard
17165 sd
17166 \end_layout
17167
17168 \end_inset
17169 </cell>
17170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17171 \begin_inset Text
17172
17173 \begin_layout Standard
17174
17175 \end_layout
17176
17177 \end_inset
17178 </cell>
17179 </row>
17180 <row topline="true" bottomline="true">
17181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17182 \begin_inset Text
17183
17184 \begin_layout Standard
17185
17186 \end_layout
17187
17188 \end_inset
17189 </cell>
17190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17191 \begin_inset Text
17192
17193 \begin_layout Standard
17194
17195 \end_layout
17196
17197 \end_inset
17198 </cell>
17199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17200 \begin_inset Text
17201
17202 \begin_layout Standard
17203 sd
17204 \end_layout
17205
17206 \end_inset
17207 </cell>
17208 </row>
17209 </lyxtabular>
17210
17211 \end_inset
17212
17213
17214 \end_layout
17215
17216 \end_inset
17217
17218
17219 \begin_inset ERT
17220 status collapsed
17221
17222 \begin_layout Standard
17223
17224
17225 \backslash
17226 renewcommand{
17227 \backslash
17228 hline}{
17229 \backslash
17230 myHline}
17231 \end_layout
17232
17233 \end_inset
17234
17235
17236 \end_layout
17237
17238 \begin_layout Standard
17239 \begin_inset VSpace bigskip
17240 \end_inset
17241
17242 To set the line thickness to 1.5\InsetSpace \thinspace{}
17243 pt only for vertical lines, create the following
17244  column format in the document preamble, according to the description in
17245  section\InsetSpace ~
17246
17247 \begin_inset LatexCommand ref
17248 reference "sub:Customized-Format"
17249
17250 \end_inset
17251
17252 :
17253 \end_layout
17254
17255 \begin_layout Standard
17256
17257 \series bold
17258
17259 \backslash
17260 newcolumntype{V}{!{
17261 \backslash
17262 vrule width 1.5pt}}
17263 \end_layout
17264
17265 \begin_layout Standard
17266 For Table\InsetSpace ~
17267
17268 \begin_inset LatexCommand ref
17269 reference "tab:Table-with-vertical"
17270
17271 \end_inset
17272
17273  the LaTeX-argument
17274 \end_layout
17275
17276 \begin_layout Standard
17277
17278 \series bold
17279 VcV
17280 \end_layout
17281
17282 \begin_layout Standard
17283 was used for the last column and
17284 \end_layout
17285
17286 \begin_layout Standard
17287
17288 \series bold
17289 Vc
17290 \end_layout
17291
17292 \begin_layout Standard
17293 for the other columns.
17294 \end_layout
17295
17296 \begin_layout Standard
17297 \begin_inset Float table
17298 wide false
17299 sideways false
17300 status open
17301
17302 \begin_layout Standard
17303 \begin_inset Caption
17304
17305 \begin_layout Standard
17306 \begin_inset LatexCommand label
17307 name "tab:Table-with-vertical"
17308
17309 \end_inset
17310
17311 Table with 1.5\InsetSpace \thinspace{}
17312 pt thick vertical lines
17313 \end_layout
17314
17315 \end_inset
17316
17317
17318 \end_layout
17319
17320 \begin_layout Standard
17321 \align center
17322 \begin_inset Tabular
17323 <lyxtabular version="3" rows="3" columns="3">
17324 <features>
17325 <column alignment="center" valignment="top" width="0" special="Vc">
17326 <column alignment="center" valignment="top" width="0" special="Vc">
17327 <column alignment="center" valignment="top" width="0" special="VcV">
17328 <row topline="true">
17329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17330 \begin_inset Text
17331
17332 \begin_layout Standard
17333 sd
17334 \end_layout
17335
17336 \end_inset
17337 </cell>
17338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17339 \begin_inset Text
17340
17341 \begin_layout Standard
17342
17343 \end_layout
17344
17345 \end_inset
17346 </cell>
17347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17348 \begin_inset Text
17349
17350 \begin_layout Standard
17351
17352 \end_layout
17353
17354 \end_inset
17355 </cell>
17356 </row>
17357 <row topline="true">
17358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17359 \begin_inset Text
17360
17361 \begin_layout Standard
17362
17363 \end_layout
17364
17365 \end_inset
17366 </cell>
17367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17368 \begin_inset Text
17369
17370 \begin_layout Standard
17371 sd
17372 \end_layout
17373
17374 \end_inset
17375 </cell>
17376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17377 \begin_inset Text
17378
17379 \begin_layout Standard
17380
17381 \end_layout
17382
17383 \end_inset
17384 </cell>
17385 </row>
17386 <row topline="true" bottomline="true">
17387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17388 \begin_inset Text
17389
17390 \begin_layout Standard
17391
17392 \end_layout
17393
17394 \end_inset
17395 </cell>
17396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17397 \begin_inset Text
17398
17399 \begin_layout Standard
17400
17401 \end_layout
17402
17403 \end_inset
17404 </cell>
17405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17406 \begin_inset Text
17407
17408 \begin_layout Standard
17409 sd
17410 \end_layout
17411
17412 \end_inset
17413 </cell>
17414 </row>
17415 </lyxtabular>
17416
17417 \end_inset
17418
17419
17420 \end_layout
17421
17422 \end_inset
17423
17424
17425 \end_layout
17426
17427 \begin_layout Subsection
17428 Dashed Lines
17429 \begin_inset LatexCommand index
17430 name "Table Customization ! Dashed Lines"
17431
17432 \end_inset
17433
17434
17435 \end_layout
17436
17437 \begin_layout Standard
17438 \begin_inset ERT
17439 status collapsed
17440
17441 \begin_layout Standard
17442
17443
17444 \backslash
17445 ifarydshln
17446 \end_layout
17447
17448 \end_inset
17449
17450
17451 \begin_inset Note Note
17452 status open
17453
17454 \begin_layout Standard
17455 The following section will only be displayed when the LaTeX-package 
17456 \series bold
17457 arydshln
17458 \series default
17459  is installed.
17460 \end_layout
17461
17462 \end_inset
17463
17464
17465 \end_layout
17466
17467 \begin_layout Standard
17468 \begin_inset Float table
17469 placement H
17470 wide false
17471 sideways false
17472 status open
17473
17474 \begin_layout Standard
17475 \begin_inset Caption
17476
17477 \begin_layout Standard
17478 \begin_inset LatexCommand label
17479 name "tab:Table-with-dashed"
17480
17481 \end_inset
17482
17483 Table with dashed lines
17484 \end_layout
17485
17486 \end_inset
17487
17488
17489 \end_layout
17490
17491 \begin_layout Standard
17492 \align center
17493 \begin_inset Tabular
17494 <lyxtabular version="3" rows="5" columns="5">
17495 <features>
17496 <column alignment="center" valignment="top" leftline="true" width="0">
17497 <column alignment="center" valignment="top" leftline="true" width="0">
17498 <column alignment="center" valignment="top" width="0" special=":c">
17499 <column alignment="center" valignment="top" leftline="true" width="0">
17500 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17501 <row topline="true" bottomline="true">
17502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17503 \begin_inset Text
17504
17505 \begin_layout Standard
17506 a
17507 \end_layout
17508
17509 \end_inset
17510 </cell>
17511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17512 \begin_inset Text
17513
17514 \begin_layout Standard
17515 b
17516 \end_layout
17517
17518 \end_inset
17519 </cell>
17520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17521 \begin_inset Text
17522
17523 \begin_layout Standard
17524 c
17525 \end_layout
17526
17527 \end_inset
17528 </cell>
17529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17530 \begin_inset Text
17531
17532 \begin_layout Standard
17533 d
17534 \end_layout
17535
17536 \end_inset
17537 </cell>
17538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17539 \begin_inset Text
17540
17541 \begin_layout Standard
17542 e
17543 \end_layout
17544
17545 \end_inset
17546 </cell>
17547 </row>
17548 <row topline="true">
17549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17550 \begin_inset Text
17551
17552 \begin_layout Standard
17553 f
17554 \end_layout
17555
17556 \end_inset
17557 </cell>
17558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17559 \begin_inset Text
17560
17561 \begin_layout Standard
17562 g
17563 \end_layout
17564
17565 \end_inset
17566 </cell>
17567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17568 \begin_inset Text
17569
17570 \begin_layout Standard
17571 h
17572 \end_layout
17573
17574 \end_inset
17575 </cell>
17576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17577 \begin_inset Text
17578
17579 \begin_layout Standard
17580 i
17581 \end_layout
17582
17583 \end_inset
17584 </cell>
17585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17586 \begin_inset Text
17587
17588 \begin_layout Standard
17589 j
17590 \end_layout
17591
17592 \end_inset
17593 </cell>
17594 </row>
17595 <row>
17596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17597 \begin_inset Text
17598
17599 \begin_layout Standard
17600 \begin_inset ERT
17601 status collapsed
17602
17603 \begin_layout Standard
17604
17605
17606 \backslash
17607 hdashline 
17608 \end_layout
17609
17610 \end_inset
17611
17612 k
17613 \end_layout
17614
17615 \end_inset
17616 </cell>
17617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17618 \begin_inset Text
17619
17620 \begin_layout Standard
17621 l
17622 \end_layout
17623
17624 \end_inset
17625 </cell>
17626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17627 \begin_inset Text
17628
17629 \begin_layout Standard
17630 m
17631 \end_layout
17632
17633 \end_inset
17634 </cell>
17635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17636 \begin_inset Text
17637
17638 \begin_layout Standard
17639 n
17640 \end_layout
17641
17642 \end_inset
17643 </cell>
17644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17645 \begin_inset Text
17646
17647 \begin_layout Standard
17648 o
17649 \end_layout
17650
17651 \end_inset
17652 </cell>
17653 </row>
17654 <row topline="true">
17655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17656 \begin_inset Text
17657
17658 \begin_layout Standard
17659 \begin_inset ERT
17660 status collapsed
17661
17662 \begin_layout Standard
17663
17664
17665 \backslash
17666 cdashline{4-5}
17667 \end_layout
17668
17669 \end_inset
17670
17671 p
17672 \end_layout
17673
17674 \end_inset
17675 </cell>
17676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17677 \begin_inset Text
17678
17679 \begin_layout Standard
17680 q
17681 \end_layout
17682
17683 \end_inset
17684 </cell>
17685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17686 \begin_inset Text
17687
17688 \begin_layout Standard
17689 r
17690 \end_layout
17691
17692 \end_inset
17693 </cell>
17694 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17695 \begin_inset Text
17696
17697 \begin_layout Standard
17698 s
17699 \end_layout
17700
17701 \end_inset
17702 </cell>
17703 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17704 \begin_inset Text
17705
17706 \begin_layout Standard
17707
17708 \end_layout
17709
17710 \end_inset
17711 </cell>
17712 </row>
17713 <row topline="true" bottomline="true">
17714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17715 \begin_inset Text
17716
17717 \begin_layout Standard
17718 t
17719 \end_layout
17720
17721 \end_inset
17722 </cell>
17723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17724 \begin_inset Text
17725
17726 \begin_layout Standard
17727 u
17728 \end_layout
17729
17730 \end_inset
17731 </cell>
17732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17733 \begin_inset Text
17734
17735 \begin_layout Standard
17736 v
17737 \end_layout
17738
17739 \end_inset
17740 </cell>
17741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17742 \begin_inset Text
17743
17744 \begin_layout Standard
17745 w
17746 \end_layout
17747
17748 \end_inset
17749 </cell>
17750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17751 \begin_inset Text
17752
17753 \begin_layout Standard
17754 x
17755 \end_layout
17756
17757 \end_inset
17758 </cell>
17759 </row>
17760 </lyxtabular>
17761
17762 \end_inset
17763
17764
17765 \end_layout
17766
17767 \end_inset
17768
17769
17770 \end_layout
17771
17772 \begin_layout Standard
17773 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
17774  As prerequisite the LaTeX-package 
17775 \series bold
17776 arydshln
17777 \series default
17778
17779 \begin_inset LatexCommand index
17780 name "LaTeX-packages ! arydshln"
17781
17782 \end_inset
17783
17784  must be loaded in the document preamble with the command
17785 \end_layout
17786
17787 \begin_layout Standard
17788
17789 \series bold
17790
17791 \backslash
17792 usepackage{arydshln}
17793 \end_layout
17794
17795 \begin_layout Standard
17796 To make a vertical line dashed, enter the colon 
17797 \begin_inset Quotes eld
17798 \end_inset
17799
17800 :
17801 \begin_inset Quotes erd
17802 \end_inset
17803
17804  together with the character for the horizontal alignment as LaTeX-argument
17805  in the table cell dialog.
17806 \end_layout
17807
17808 \begin_layout Standard
17809 For a horizontal dashed line add the command
17810 \end_layout
17811
17812 \begin_layout Standard
17813
17814 \series bold
17815
17816 \backslash
17817 hdashline
17818 \end_layout
17819
17820 \begin_layout Standard
17821 in TeX-Code as first element of the first cell in the table row.
17822 \end_layout
17823
17824 \begin_layout Standard
17825 For dashed multicolumn lines use the command
17826 \end_layout
17827
17828 \begin_layout Standard
17829
17830 \series bold
17831
17832 \backslash
17833 cdashline{line number
17834 \series default
17835 }
17836 \end_layout
17837
17838 \begin_layout Standard
17839 in TeX-Code as first element of the first cell in the table row.
17840  If you have for example a multicolumn spanning over columns 2 to 4 and
17841  you want to have a dashed line above, add the command
17842 \end_layout
17843
17844 \begin_layout Standard
17845
17846 \series bold
17847
17848 \backslash
17849 cdashline{2-4}
17850 \end_layout
17851
17852 \begin_layout Standard
17853 as first element of the first cell in the row of the multicolumn.
17854 \end_layout
17855
17856 \begin_layout Standard
17857 \begin_inset VSpace bigskip
17858 \end_inset
17859
17860
17861 \end_layout
17862
17863 \begin_layout Standard
17864 Table\InsetSpace ~
17865
17866 \begin_inset LatexCommand ref
17867 reference "tab:Table-with-dashed"
17868
17869 \end_inset
17870
17871  was created using 
17872 \begin_inset Quotes eld
17873 \end_inset
17874
17875
17876 \series bold
17877 :c
17878 \series default
17879
17880 \begin_inset Quotes erd
17881 \end_inset
17882
17883  as LaTeX-argument of the third column.
17884  The TeX-Code command 
17885 \series bold
17886
17887 \backslash
17888 hdashline
17889 \series default
17890  was inserted to the first cell of the third row and the the TeX-Code command
17891 \newline
17892
17893  
17894 \series bold
17895
17896 \backslash
17897 cdashline{4-5}
17898 \series default
17899  was inserted to the first cell of the fourth row.
17900 \end_layout
17901
17902 \begin_layout Standard
17903 \begin_inset Note Greyedout
17904 status open
17905
17906 \begin_layout Standard
17907
17908 \series bold
17909 Note:
17910 \series default
17911  The used LaTeX-package 
17912 \series bold
17913 arydshln
17914 \series default
17915  is apparently not compatible with the LaTeX-package 
17916 \series bold
17917 colortbl
17918 \series default
17919
17920 \begin_inset LatexCommand index
17921 name "LaTeX-packages ! colortbl"
17922
17923 \end_inset
17924
17925  that is used for colored tables in section\InsetSpace ~
17926
17927 \begin_inset LatexCommand ref
17928 reference "sec:Colored-Tables"
17929
17930 \end_inset
17931
17932 .
17933  That means colored tables cannot have dashed lines.
17934 \end_layout
17935
17936 \end_inset
17937
17938
17939 \end_layout
17940
17941 \begin_layout Standard
17942 \begin_inset ERT
17943 status collapsed
17944
17945 \begin_layout Standard
17946
17947
17948 \backslash
17949 else
17950 \end_layout
17951
17952 \end_inset
17953
17954
17955 \begin_inset Note Note
17956 status open
17957
17958 \begin_layout Standard
17959 The following will be displayed when the LaTeX-package 
17960 \series bold
17961 arydshln
17962 \series default
17963  is not installed:
17964 \end_layout
17965
17966 \end_inset
17967
17968
17969 \end_layout
17970
17971 \begin_layout Standard
17972 You need to install the package 
17973 \series bold
17974 arydshln
17975 \series default
17976  to see the content of this section in the output.
17977 \end_layout
17978
17979 \begin_layout Standard
17980 \begin_inset ERT
17981 status collapsed
17982
17983 \begin_layout Standard
17984
17985
17986 \backslash
17987 fi
17988 \end_layout
17989
17990 \end_inset
17991
17992
17993 \end_layout
17994
17995 \begin_layout Chapter
17996 Floats
17997 \begin_inset LatexCommand index
17998 name "Floats"
17999
18000 \end_inset
18001
18002
18003 \begin_inset LatexCommand label
18004 name "cha:Floats"
18005
18006 \end_inset
18007
18008
18009 \end_layout
18010
18011 \begin_layout Section
18012 Introduction
18013 \begin_inset LatexCommand label
18014 name "sec:FloatIntroduction"
18015
18016 \end_inset
18017
18018
18019 \begin_inset LatexCommand index
18020 name "Floats ! Introduction"
18021
18022 \end_inset
18023
18024
18025 \end_layout
18026
18027 \begin_layout Standard
18028 A float is a block of text associated with some sort of label, which doesn't
18029  have a fixed location.
18030  It can 
18031 \begin_inset Quotes eld
18032 \end_inset
18033
18034 float
18035 \begin_inset Quotes erd
18036 \end_inset
18037
18038  forward or backward a page or two, to wherever it fits best.
18039  
18040 \family sans
18041 Footnotes
18042 \family default
18043  and 
18044 \family sans
18045 Margin\InsetSpace ~
18046 Notes
18047 \family default
18048  are also floats, because they can float to the next page when there are
18049  too many notes at the page.
18050 \end_layout
18051
18052 \begin_layout Standard
18053 Floats allow a high quality layout.
18054  Images and tables can evenly be spread to the pages to avoid white space
18055  and pages without text.
18056  As the floating often destroys the context between the text and the image/table
18057 , every float can be referenced in the text.
18058  Floats are therefore numbered.
18059  Referencing is described in section\InsetSpace ~
18060
18061 \begin_inset LatexCommand ref
18062 reference "sec:Referencing-Floats"
18063
18064 \end_inset
18065
18066 .
18067 \end_layout
18068
18069 \begin_layout Standard
18070 To insert a float, use the menu 
18071 \family sans
18072 Insert\SpecialChar \menuseparator
18073 Float
18074 \family default
18075 .
18076  This inserts the 
18077 \family sans
18078 Caption
18079 \family default
18080  inset, a box with a label.
18081  The label will automatically be translated to the document language in
18082  the output.
18083  Behind the label you can insert the caption text.
18084  The image or table is inserted above or below the caption in a separate
18085  paragraph within the float.
18086  More about the caption placement is described in section\InsetSpace ~
18087
18088 \begin_inset LatexCommand ref
18089 reference "sec:Caption-Placement"
18090
18091 \end_inset
18092
18093 .
18094  To keep your LyX-document readable, you can open and close the float box
18095  by left-clicking on the box label.
18096  A closed float box looks like this: 
18097 \begin_inset Graphics
18098         filename clipart/floatQt4.png
18099         scale 70
18100         scaleBeforeRotation
18101
18102 \end_inset
18103
18104  -- a gray button with a red label.
18105 \end_layout
18106
18107 \begin_layout Standard
18108 It is recommended to insert floats as a separate paragraph to avoid possible
18109  LaTeX-errors that can occur when the surrounding text is specially formatted.
18110 \end_layout
18111
18112 \begin_layout Standard
18113 Existing figures or tables can be put into a float by marking them and then
18114  pressing the corresponding toolbar button for a new float.
18115 \end_layout
18116
18117 \begin_layout Section
18118 Float Types
18119 \end_layout
18120
18121 \begin_layout Standard
18122 Besides figure and table floats that are described in section\InsetSpace ~
18123
18124 \begin_inset LatexCommand ref
18125 reference "sec:Figure-Floats"
18126
18127 \end_inset
18128
18129  and 
18130 \begin_inset LatexCommand ref
18131 reference "sec:Table-Floats"
18132
18133 \end_inset
18134
18135 , respectively, LyX offers the float types 
18136 \series bold
18137 Algorithm
18138 \series default
18139  and 
18140 \series bold
18141 Text\InsetSpace ~
18142 Wrap\InsetSpace ~
18143 Float
18144 \series default
18145 .
18146 \end_layout
18147
18148 \begin_layout Subsection
18149 Algorithm Floats
18150 \begin_inset LatexCommand index
18151 name "Floats ! Algorithms"
18152
18153 \end_inset
18154
18155
18156 \begin_inset LatexCommand label
18157 name "sub:Algorithm-Floats"
18158
18159 \end_inset
18160
18161
18162 \end_layout
18163
18164 \begin_layout Standard
18165 \begin_inset Float algorithm
18166 placement h
18167 wide false
18168 sideways false
18169 status open
18170
18171 \begin_layout Standard
18172 \begin_inset Caption
18173
18174 \begin_layout Standard
18175 \begin_inset LatexCommand label
18176 name "alg:Example-Algorithm-float"
18177
18178 \end_inset
18179
18180 Example Algorithm float
18181 \end_layout
18182
18183 \end_inset
18184
18185
18186 \end_layout
18187
18188 \begin_layout LyX-Code
18189 for I in 1..N loop
18190 \newline
18191  Sum:= Sum + A(I); /*comment*/
18192 \newline
18193 end loop
18194 \begin_inset VSpace -4mm
18195 \end_inset
18196
18197
18198 \end_layout
18199
18200 \end_inset
18201
18202
18203 \end_layout
18204
18205 \begin_layout Standard
18206 This float type is inserted with the menu 
18207 \family sans
18208 Insert\SpecialChar \menuseparator
18209 Floats\SpecialChar \menuseparator
18210 Algorithm
18211 \family default
18212 .
18213  It is used for program codes and descriptions of algorithms.
18214  A possible environment for algorithms is the 
18215 \family sans
18216 LyX-Code
18217 \family default
18218 , described in LyX's 
18219 \emph on
18220 Userguide
18221 \emph default
18222 .
18223  Algorithm\InsetSpace ~
18224
18225 \begin_inset LatexCommand ref
18226 reference "alg:Example-Algorithm-float"
18227
18228 \end_inset
18229
18230  is an example of an algorithm float where -4\InsetSpace \thinspace{}
18231 mm vertical space was added
18232  at the end of the float to have the bottom rule exactly below the last
18233  text line.
18234 \end_layout
18235
18236 \begin_layout Standard
18237 The float label is not automatically translated into the document language.
18238  If your document is not in English, you have to do this manually by adding
18239  the following line to the document preamble
18240 \series bold
18241 :
18242 \end_layout
18243
18244 \begin_layout Standard
18245
18246 \series bold
18247
18248 \backslash
18249 floatname{algorithm}{your\InsetSpace ~
18250 name}
18251 \end_layout
18252
18253 \begin_layout Standard
18254
18255 \family sans
18256 your\InsetSpace ~
18257 name
18258 \family default
18259  is the word 
18260 \begin_inset Quotes eld
18261 \end_inset
18262
18263
18264 \emph on
18265 algorithm
18266 \emph default
18267
18268 \begin_inset Quotes erd
18269 \end_inset
18270
18271  in your language.
18272 \end_layout
18273
18274 \begin_layout Description
18275
18276 \series bold
18277 Note:
18278 \series default
18279  When the LaTeX-package 
18280 \series bold
18281 hyperref
18282 \series default
18283
18284 \begin_inset LatexCommand index
18285 name "LaTeX-packages ! hyperref"
18286
18287 \end_inset
18288
18289  is used to link cross-references to floats in the PDF-output, it must be
18290  loaded in the document preamble before the definition of floats to be able
18291  to reference floats.
18292  As LyX sets the float definition for algorithm floats automatically before
18293  the user editable part of the document preamble, you need to insert the
18294  following preamble lines 
18295 \emph on
18296 after
18297 \emph default
18298  the loading command of 
18299 \series bold
18300 hyperref
18301 \series default
18302 :
18303 \begin_inset VSpace defskip
18304 \end_inset
18305
18306
18307 \series bold
18308
18309 \newline
18310
18311 \backslash
18312 newfloat{Xalgorithm}{tbp}{loa}
18313 \newline
18314
18315 \backslash
18316 floatname{Xalgorithm}{your\InsetSpace ~
18317 name}
18318 \newline
18319
18320 \backslash
18321 newcommand{
18322 \backslash
18323 theHalgorithm}{
18324 \backslash
18325 theHXalgorithm}
18326 \newline
18327
18328 \backslash
18329 renewenvironment{algorithm}[1][tbp]
18330 \newline
18331
18332 \begin_inset ERT
18333 status collapsed
18334
18335 \begin_layout Standard
18336
18337
18338 \backslash
18339 hphantom{ }
18340 \end_layout
18341
18342 \end_inset
18343
18344 {
18345 \backslash
18346 begin{Xalgorithm}[#1]}{
18347 \backslash
18348 end{Xalgorithm}}
18349 \series default
18350
18351 \begin_inset VSpace defskip
18352 \end_inset
18353
18354
18355 \newline
18356 To insert the list of algorithms you can in this case not use the menu 
18357 \family sans
18358 Insert\SpecialChar \menuseparator
18359 List\InsetSpace \thinspace{}
18360 /\InsetSpace \thinspace{}
18361 TOC\SpecialChar \menuseparator
18362 List of Algorithms
18363 \family default
18364  but have to use this command in TeX-Code instead:
18365 \newline
18366
18367 \series bold
18368
18369 \backslash
18370 listof{Xalgorithm}{List of Algorithms}
18371 \series default
18372
18373 \begin_inset Note Note
18374 status collapsed
18375
18376 \begin_layout Standard
18377
18378 \series medium
18379 is used at the end of this document
18380 \end_layout
18381
18382 \end_inset
18383
18384
18385 \end_layout
18386
18387 \begin_layout Standard
18388 Algorithm floats are not by default numbered in the scheme 
18389 \begin_inset Quotes eld
18390 \end_inset
18391
18392 chapter.algorithm
18393 \begin_inset Quotes erd
18394 \end_inset
18395
18396  like it is the case for table and figure floats in many document-classes.
18397  To number algorithm floats in the same scheme, add this command to your
18398  document preamble:
18399 \end_layout
18400
18401 \begin_layout Standard
18402
18403 \series bold
18404
18405 \backslash
18406 numberwithin{algorithm}{chapter}
18407 \end_layout
18408
18409 \begin_layout Standard
18410 If you use the LaTeX-package 
18411 \series bold
18412 hyperref
18413 \series default
18414 , add this line instead 
18415 \emph on
18416 after
18417 \emph default
18418  the definition of 
18419 \family sans
18420 Xalgorithm
18421 \family default
18422  (the commands from above) to the preamble:
18423 \end_layout
18424
18425 \begin_layout Standard
18426
18427 \series bold
18428
18429 \backslash
18430 numberwithin{Xalgorithm}{chapter}
18431 \end_layout
18432
18433 \begin_layout Standard
18434 To be able to use the command 
18435 \series bold
18436
18437 \backslash
18438 numberwithin
18439 \series default
18440 , set in the tab 
18441 \family sans
18442 Math\InsetSpace ~
18443 Options
18444 \family default
18445  in the document settings the option 
18446 \family sans
18447 Use\InsetSpace ~
18448 AMS\InsetSpace ~
18449 math\InsetSpace ~
18450 package
18451 \family default
18452 .
18453 \end_layout
18454
18455 \begin_layout Subsection
18456 Text Wrap Floats
18457 \begin_inset LatexCommand index
18458 name "Floats ! Text Wrap Floats"
18459
18460 \end_inset
18461
18462
18463 \begin_inset LatexCommand label
18464 name "sub:floatflt-wrap-float"
18465
18466 \end_inset
18467
18468
18469 \end_layout
18470
18471 \begin_layout Standard
18472 This float type is used if you want to 
18473 \begin_inset Quotes eld
18474 \end_inset
18475
18476 wrap
18477 \begin_inset Quotes erd
18478 \end_inset
18479
18480  text around a figure so that it only occupies some fraction of the column
18481  width.
18482  It can be inserted using the menu 
18483 \begin_inset Wrap figure
18484 placement l
18485 width "40col%"
18486 status open
18487
18488 \begin_layout Standard
18489 \begin_inset Graphics
18490         filename clipart/mobius.eps
18491         display color
18492         width 40col%
18493         scaleBeforeRotation
18494         rotateOrigin center
18495
18496 \end_inset
18497
18498
18499 \end_layout
18500
18501 \begin_layout Standard
18502 \begin_inset Caption
18503
18504 \begin_layout Standard
18505 \begin_inset LatexCommand label
18506 name "fig:This-is-a"
18507
18508 \end_inset
18509
18510 This is a wrapped figure, and this is the brilliant caption that describes
18511  it.
18512 \begin_inset VSpace medskip
18513 \end_inset
18514
18515
18516 \end_layout
18517
18518 \end_inset
18519
18520
18521 \end_layout
18522
18523 \end_inset
18524
18525  
18526 \family sans
18527 Insert\SpecialChar \menuseparator
18528 Floats\SpecialChar \menuseparator
18529 Text\InsetSpace ~
18530 Wrap\InsetSpace ~
18531 Float
18532 \family default
18533  if the LaTeX-package 
18534 \series bold
18535 wrapfig
18536 \series default
18537
18538 \begin_inset LatexCommand index
18539 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18540
18541 \end_inset
18542
18543  is installed.
18544 \begin_inset Foot
18545 status collapsed
18546
18547 \begin_layout Standard
18548 Installing a LaTeX-package is explained it in the 
18549 \emph on
18550 LaTeX\InsetSpace ~
18551 Configuration
18552 \emph default
18553  manual.
18554 \end_layout
18555
18556 \end_inset
18557
18558  The width and placement of the float is adjusted by right-clicking on the
18559  float box.
18560  Figure\InsetSpace ~
18561
18562 \begin_inset LatexCommand ref
18563 reference "fig:This-is-a"
18564
18565 \end_inset
18566
18567  is an example text wrap float with a width of 40\InsetSpace \thinspace{}
18568 col%.
18569 \begin_inset Foot
18570 status collapsed
18571
18572 \begin_layout Standard
18573 Available units are explained in appendix\InsetSpace ~
18574
18575 \begin_inset LatexCommand ref
18576 reference "cha:Units-available-in"
18577
18578 \end_inset
18579
18580 .
18581 \end_layout
18582
18583 \end_inset
18584
18585  Some space was added under the caption to separate it better from the surroundi
18586 ng text.
18587 \end_layout
18588
18589 \begin_layout Standard
18590 The LaTeX-package 
18591 \series bold
18592 wrapfig
18593 \series default
18594  also supports table wrap floats, but they are not yet supported by LyX.
18595  If you need this, read the documentation of 
18596 \series bold
18597 wrapfig
18598 \series default
18599  
18600 \begin_inset LatexCommand cite
18601 key "wrapfig"
18602
18603 \end_inset
18604
18605 .
18606 \end_layout
18607
18608 \begin_layout Standard
18609 \begin_inset Note Greyedout
18610 status open
18611
18612 \begin_layout Standard
18613
18614 \series bold
18615 Note:
18616 \series default
18617  Text\InsetSpace ~
18618 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18619 g.\InsetSpace ~
18620 having a figure too close to the bottom
18621  of the page can mess things up in the way that the float doesn't appear
18622  in the output or that it is placed over some other text.
18623 \end_layout
18624
18625 \end_inset
18626
18627
18628 \end_layout
18629
18630 \begin_layout Standard
18631 In general:
18632 \end_layout
18633
18634 \begin_layout Itemize
18635 Wrap floats should not be placed in paragraphs that run over a page break.
18636  That means that wrap floats should better be inserted to the exact place
18637  when the document is nearly finished and you are able to estimate where
18638  page breaks will appear.
18639 \end_layout
18640
18641 \begin_layout Itemize
18642 Wrap floats should either be placed in an own paragraph before the paragraph
18643  where they should wrap into or within a paragraph.
18644 \end_layout
18645
18646 \begin_layout Itemize
18647 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18648  there is a text paragraph between them as separator.
18649 \end_layout
18650
18651 \begin_layout Itemize
18652 Wrap floats are not allowed in section headings or tables.
18653 \end_layout
18654
18655 \begin_layout Section
18656 Float Numbering
18657 \begin_inset LatexCommand label
18658 name "sec:Float-Numbering"
18659
18660 \end_inset
18661
18662
18663 \begin_inset LatexCommand index
18664 name "Floats ! Numbering"
18665
18666 \end_inset
18667
18668
18669 \end_layout
18670
18671 \begin_layout Standard
18672 Floats are usually numbered either independent from the sections the floats
18673  are in, or in the scheme 
18674 \begin_inset Quotes eld
18675 \end_inset
18676
18677 chapter.number
18678 \begin_inset Quotes erd
18679 \end_inset
18680
18681  or 
18682 \begin_inset Quotes eld
18683 \end_inset
18684
18685 section.number
18686 \begin_inset Quotes erd
18687 \end_inset
18688
18689 .
18690  This depends on the used document class.
18691 \end_layout
18692
18693 \begin_layout Standard
18694 To change the section independent numbering, you can use this command in
18695  the document preamble:
18696 \end_layout
18697
18698 \begin_layout Standard
18699
18700 \series bold
18701
18702 \backslash
18703 renewcommand{
18704 \backslash
18705 thetable}{
18706 \backslash
18707 roman{table}}
18708 \end_layout
18709
18710 \begin_layout Standard
18711
18712 \series bold
18713
18714 \backslash
18715 thetable
18716 \series default
18717  is the command that prints the table number, for figure floats, the command
18718  would be 
18719 \series bold
18720
18721 \backslash
18722 thefigure
18723 \series default
18724 .
18725  The command 
18726 \series bold
18727
18728 \backslash
18729 roman
18730 \series default
18731  prints in the command above the table number as small roman number.
18732 \end_layout
18733
18734 \begin_layout Standard
18735 To change the numbering scheme for example to 
18736 \begin_inset Quotes eld
18737 \end_inset
18738
18739 subsection.number
18740 \begin_inset Quotes erd
18741 \end_inset
18742
18743 , use this command in the preamble:
18744 \end_layout
18745
18746 \begin_layout Standard
18747
18748 \series bold
18749
18750 \backslash
18751 numberwithin{table}{subsection}
18752 \end_layout
18753
18754 \begin_layout Standard
18755 To be able to use the command 
18756 \series bold
18757
18758 \backslash
18759 numberwithin
18760 \series default
18761 , set in the tab 
18762 \family sans
18763 Math\InsetSpace ~
18764 Options
18765 \family default
18766  in the document settings the option 
18767 \family sans
18768 Use\InsetSpace ~
18769 AMS\InsetSpace ~
18770 math\InsetSpace ~
18771 package
18772 \family default
18773 .
18774 \end_layout
18775
18776 \begin_layout Standard
18777 Please also have a look at section\InsetSpace ~
18778
18779 \begin_inset LatexCommand ref
18780 reference "sub:Footnote-Numbering"
18781
18782 \end_inset
18783
18784  for the details and important notes about the numbering commands.
18785 \end_layout
18786
18787 \begin_layout Section
18788 Referencing Floats
18789 \begin_inset LatexCommand label
18790 name "sec:Referencing-Floats"
18791
18792 \end_inset
18793
18794
18795 \begin_inset LatexCommand index
18796 name "Floats ! References"
18797
18798 \end_inset
18799
18800
18801 \begin_inset LatexCommand index
18802 name "References"
18803
18804 \end_inset
18805
18806
18807 \end_layout
18808
18809 \begin_layout Standard
18810 To reference a float, insert a label into its caption using the menu 
18811 \family sans
18812 Insert\SpecialChar \menuseparator
18813 Label
18814 \family default
18815  or the toolbar button 
18816 \begin_inset Graphics
18817         filename ../images/label-insert.png
18818         scale 85
18819         scaleBeforeRotation
18820
18821 \end_inset
18822
18823 .
18824  A grey label box like this one: 
18825 \begin_inset Graphics
18826         filename clipart/labelQt4.png
18827         scale 85
18828         scaleBeforeRotation
18829
18830 \end_inset
18831
18832  will be inserted and the label window pops up asking for the label text.
18833  LyX offers as text the first words of the caption with a prefix.
18834  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18835 g.\InsetSpace ~
18836 for figure floats the prefix will
18837  be "
18838 \family sans
18839 fig:
18840 \family default
18841 ".
18842 \end_layout
18843
18844 \begin_layout Standard
18845 The label is used as anchor and name for the reference.
18846  You can refer to the label using the menu 
18847 \family sans
18848 Insert\SpecialChar \menuseparator
18849 Cross-reference
18850 \family default
18851  or the toolbar button 
18852 \begin_inset Graphics
18853         filename ../images/dialog-show-new-inset_ref.png
18854         scale 85
18855         scaleBeforeRotation
18856
18857 \end_inset
18858
18859 .
18860  A grey cross-reference box like this one: 
18861 \begin_inset Graphics
18862         filename clipart/referenceQt4.png
18863         scale 85
18864         scaleBeforeRotation
18865
18866 \end_inset
18867
18868  will be inserted and the cross-reference window appear showing all labels
18869  of the document.
18870  If you have multiple LyX-documents opened, choose the one you are working
18871  on from the drop-list at the top of the dialog.
18872  You can now sort the labels alphabetically and then choose one.
18873  At the position of the cross-reference box the float number will appear
18874  in the output.
18875 \end_layout
18876
18877 \begin_layout Standard
18878 It is recommended to use a protected space between the cross-reference name
18879  and its number to avoid line breaks between them.
18880  If a cross-reference refers to a non-existing label, you will see two question
18881  marks in the output instead of the reference.
18882 \end_layout
18883
18884 \begin_layout Standard
18885 You can change labels at any time by clicking on the label box.
18886  References to the changed label will automatically change its link to the
18887  new label text, so that you don't need to take care about this.
18888 \end_layout
18889
18890 \begin_layout Standard
18891 The button 
18892 \family sans
18893 Go\InsetSpace ~
18894 to\InsetSpace ~
18895 Label
18896 \family default
18897  in the cross-reference window sets the cursor before the referred label.
18898  The button text changes then to Go\InsetSpace ~
18899 Back and you can use it to set the cursor
18900  back to the cross-reference.
18901  Right-clicking on a cross-reference box also sets the cursor before the
18902  referenced label but without a possibility to go back.
18903 \end_layout
18904
18905 \begin_layout Subsection
18906 Cross-Reference Formats
18907 \begin_inset LatexCommand label
18908 name "sub:Cross-Reference-Formats"
18909
18910 \end_inset
18911
18912
18913 \begin_inset LatexCommand index
18914 name "References ! Formats"
18915
18916 \end_inset
18917
18918
18919 \end_layout
18920
18921 \begin_layout Standard
18922 There are six varieties of cross-references:
18923 \end_layout
18924
18925 \begin_layout Description
18926 <reference>: prints the float number, this is the default: 
18927 \begin_inset LatexCommand ref
18928 reference "fig:Two-distorted-images"
18929
18930 \end_inset
18931
18932
18933 \end_layout
18934
18935 \begin_layout Description
18936 (<reference>): prints the float number within two parentheses, this is the
18937  style normally used to reference formulas, especially when the reference
18938  name 
18939 \begin_inset Quotes eld
18940 \end_inset
18941
18942 Equation
18943 \begin_inset Quotes erd
18944 \end_inset
18945
18946  is omitted: 
18947 \begin_inset LatexCommand eqref
18948 reference "eq:Wgn"
18949
18950 \end_inset
18951
18952
18953 \end_layout
18954
18955 \begin_layout Description
18956 <page>: prints the page number: Page\InsetSpace ~
18957
18958 \begin_inset LatexCommand pageref
18959 reference "fig:Two-distorted-images"
18960
18961 \end_inset
18962
18963
18964 \end_layout
18965
18966 \begin_layout Description
18967 on\InsetSpace ~
18968 page\InsetSpace ~
18969 <page>: prints the text "on page" and the page number: 
18970 \begin_inset LatexCommand vpageref
18971 reference "fig:Two-distorted-images"
18972
18973 \end_inset
18974
18975
18976 \end_layout
18977
18978 \begin_layout Description
18979 <reference>\InsetSpace ~
18980 on\InsetSpace ~
18981 page\InsetSpace ~
18982 <page>: prints the float number, the text "on page", and
18983  the page number: 
18984 \begin_inset LatexCommand vref
18985 reference "fig:Two-distorted-images"
18986
18987 \end_inset
18988
18989
18990 \end_layout
18991
18992 \begin_layout Description
18993 Formatted\InsetSpace ~
18994 reference: prints a self defined cross-reference format.
18995  
18996 \begin_inset Note Greyedout
18997 status open
18998
18999 \begin_layout Standard
19000
19001 \series bold
19002 Note:
19003 \series default
19004  This feature is only available when you have the LaTeX-package 
19005 \series bold
19006 prettyref
19007 \series default
19008  installed.
19009 \end_layout
19010
19011 \end_inset
19012
19013
19014 \end_layout
19015
19016 \begin_layout Standard
19017 Note that the style <page> won't print the page number if the label is on
19018  the previous, the same, or the next page.
19019  You will e.\InsetSpace \thinspace{}
19020 g.\InsetSpace ~
19021 see the text 
19022 \begin_inset Quotes eld
19023 \end_inset
19024
19025
19026 \family sans
19027 on this page
19028 \family default
19029
19030 \begin_inset Quotes erd
19031 \end_inset
19032
19033  instead.
19034 \end_layout
19035
19036 \begin_layout Standard
19037 The number and current page of the referred document part in the output,
19038  is automatically calculated by LaTeX.
19039  The varieties are adjusted in the field 
19040 \family sans
19041 Format
19042 \family default
19043  of the cross-reference window, that appear when you click on the cross-referenc
19044 e box.
19045 \end_layout
19046
19047 \begin_layout Subsection
19048 Referencing Subfigures
19049 \begin_inset LatexCommand label
19050 name "sub:Referencing-Subfigures"
19051
19052 \end_inset
19053
19054
19055 \begin_inset LatexCommand index
19056 name "References ! to Subfigures"
19057
19058 \end_inset
19059
19060
19061 \end_layout
19062
19063 \begin_layout Standard
19064 Currently referencing subfigures is not supported by LyX, so you have to
19065  use LaTeX-commands.
19066  The label is the created with the command
19067 \end_layout
19068
19069 \begin_layout Standard
19070
19071 \series bold
19072
19073 \backslash
19074 label{fig:YourLabelName}
19075 \end_layout
19076
19077 \begin_layout Standard
19078 that is directly inserted into the subfigure caption field.
19079  To reference the label add this command in TeX-Code
19080 \end_layout
19081
19082 \begin_layout Standard
19083
19084 \series bold
19085
19086 \backslash
19087 ref{fig:YourLabelName}
19088 \end_layout
19089
19090 \begin_layout Standard
19091 to the position in your document where the reference should be placed.
19092  Here is a reference to a subfigure: Subfigure\InsetSpace ~
19093
19094 \begin_inset ERT
19095 status collapsed
19096
19097 \begin_layout Standard
19098
19099
19100 \backslash
19101 ref{fig:Platypus}
19102 \end_layout
19103
19104 \end_inset
19105
19106 .
19107 \end_layout
19108
19109 \begin_layout Subsection
19110 Automatic Reference Naming
19111 \begin_inset LatexCommand index
19112 name "References ! Automatic Reference Naming"
19113
19114 \end_inset
19115
19116
19117 \end_layout
19118
19119 \begin_layout Standard
19120 The LaTeX-package 
19121 \series bold
19122 hyperref
19123 \series default
19124  provides a very useful feature that cross-references automatically include
19125  the name of the referenced floats (or text parts like sections).
19126  You save to write e.\InsetSpace \thinspace{}
19127 g.\InsetSpace ~
19128 the name 
19129 \begin_inset Quotes eld
19130 \end_inset
19131
19132 Figure
19133 \begin_inset Quotes erd
19134 \end_inset
19135
19136  before every reference box.
19137  To get this automatic reference naming, you have to load the LaTeX-package
19138  
19139 \series bold
19140 hyperref
19141 \series default
19142
19143 \begin_inset LatexCommand index
19144 name "LaTeX-packages ! hyperref"
19145
19146 \end_inset
19147
19148  in the document preamble with
19149 \end_layout
19150
19151 \begin_layout Standard
19152
19153 \series bold
19154
19155 \backslash
19156 usepackage[pdfborder={0 0 0}]{hyperref}
19157 \newline
19158
19159 \backslash
19160 AtBeginDocument{
19161 \backslash
19162 renewcommand{
19163 \backslash
19164 ref}[1]{
19165 \backslash
19166 mbox{
19167 \backslash
19168 autoref{#1}}}}
19169 \end_layout
19170
19171 \begin_layout Standard
19172
19173 \series bold
19174 hyperref
19175 \series default
19176  is used to link cross-references in the DVI- and PDF-output, this means
19177  that the reader of your document will be able to click on a table of content
19178  (TOC) entry or on a reference and he will be shown the referenced document
19179  part.
19180  
19181 \series bold
19182 hyperref
19183 \series default
19184  also creates PDF-bookmarks for every section of your document to make it
19185  easier for readers to navigate through the document.
19186  This is also used in this document but when you have a look in the document
19187  preamble you will find various options in the load command of 
19188 \series bold
19189 hyperref
19190 \series default
19191 .
19192  To learn more about the 
19193 \series bold
19194 hyperref
19195 \series default
19196  package, we refer to its documentation 
19197 \begin_inset LatexCommand cite
19198 key "hyperref"
19199
19200 \end_inset
19201
19202 .
19203 \end_layout
19204
19205 \begin_layout Standard
19206 \begin_inset Note Greyedout
19207 status open
19208
19209 \begin_layout Standard
19210
19211 \series bold
19212 Note:
19213 \series default
19214  Automatic reference naming cannot be used when you use cross-references
19215  in the 
19216 \family sans
19217 Formatted\InsetSpace ~
19218 reference
19219 \family default
19220  style, described in section\InsetSpace ~
19221
19222 \begin_inset LatexCommand ref
19223 reference "sub:Cross-Reference-Formats"
19224
19225 \end_inset
19226
19227 .
19228 \end_layout
19229
19230 \end_inset
19231
19232
19233 \end_layout
19234
19235 \begin_layout Subsection
19236 Reference Position
19237 \begin_inset LatexCommand label
19238 name "sub:Reference-Position"
19239
19240 \end_inset
19241
19242
19243 \begin_inset LatexCommand index
19244 name "References ! Reference Position"
19245
19246 \end_inset
19247
19248
19249 \end_layout
19250
19251 \begin_layout Standard
19252 If you use 
19253 \series bold
19254 hyperref
19255 \series default
19256
19257 \begin_inset LatexCommand index
19258 name "LaTeX-packages ! hyperref"
19259
19260 \end_inset
19261
19262  to link cross-references in the output, you will see that clicking on an
19263  image float reference jumps to the image label.
19264  The caption will be the first text part on the screen, so that you cannot
19265  see the image without scrolling.
19266  This is because the reference link anchor is placed at the position of
19267  the label.
19268  With the use of the package 
19269 \series bold
19270 hypcap
19271 \series default
19272
19273 \begin_inset LatexCommand index
19274 name "LaTeX-packages ! hypcap"
19275
19276 \end_inset
19277
19278 , which is part of the LaTeX-package 
19279 \series bold
19280 oberdiek
19281 \series default
19282
19283 \begin_inset LatexCommand index
19284 name "LaTeX-packages ! oberdiek"
19285
19286 \end_inset
19287
19288 , the link anchor is placed at the beginning of a float.
19289  To use this feature for figure floats, load 
19290 \series bold
19291 hypcap
19292 \series default
19293  in the document preamble with the line
19294 \end_layout
19295
19296 \begin_layout Standard
19297
19298 \series bold
19299
19300 \backslash
19301 usepackage[figure]{hypcap}
19302 \end_layout
19303
19304 \begin_layout Standard
19305 You can also use 
19306 \series bold
19307 hypcap
19308 \series default
19309  for all floats but this isn't recommended for stability reasons.
19310  For more informations, have a look at 
19311 \series bold
19312 hypcap
19313 \series default
19314 's manual 
19315 \begin_inset LatexCommand cite
19316 key "hypcap"
19317
19318 \end_inset
19319
19320 .
19321 \end_layout
19322
19323 \begin_layout Standard
19324 \begin_inset Note Greyedout
19325 status open
19326
19327 \begin_layout Standard
19328
19329 \series bold
19330 Note:
19331 \series default
19332  
19333 \series bold
19334 hypcap
19335 \series default
19336  must be loaded after 
19337 \series bold
19338 hyperref
19339 \series default
19340  in the document preamble.
19341 \end_layout
19342
19343 \end_inset
19344
19345
19346 \end_layout
19347
19348 \begin_layout Standard
19349 \begin_inset Note Greyedout
19350 status open
19351
19352 \begin_layout Standard
19353
19354 \series bold
19355 Note:
19356 \series default
19357  
19358 \series bold
19359 hypcap
19360 \series default
19361  has no effect for references to subfigures.
19362 \end_layout
19363
19364 \end_inset
19365
19366
19367 \end_layout
19368
19369 \begin_layout Section
19370 Float Placement
19371 \begin_inset LatexCommand label
19372 name "sec:Float-Placement"
19373
19374 \end_inset
19375
19376
19377 \begin_inset LatexCommand index
19378 name "Floats ! Placement"
19379
19380 \end_inset
19381
19382
19383 \end_layout
19384
19385 \begin_layout Standard
19386 Right-clicking on a float-box opens a dialog where you can alter the placement
19387  options that LaTeX uses for positioning the float.
19388 \newline
19389 The option 
19390 \family sans
19391 Span\InsetSpace ~
19392 columns
19393 \family default
19394  is only useful for two-column documents: If you select it, the float will
19395  span across both columns on the page instead of being confined to just
19396  one.
19397 \newline
19398 The option 
19399 \family sans
19400 Rotate\InsetSpace ~
19401 sideways
19402 \family default
19403  is used to rotate floats, see section 
19404 \begin_inset LatexCommand ref
19405 reference "sec:Rotated-Floats"
19406
19407 \end_inset
19408
19409 .
19410 \end_layout
19411
19412 \begin_layout Standard
19413 You can use one ore more of the following options in the float dialog to
19414  set the placement for a particular float when you uncheck the option 
19415 \family sans
19416 Use\InsetSpace ~
19417 default\InsetSpace ~
19418 placement
19419 \family default
19420 :
19421 \end_layout
19422
19423 \begin_layout Description
19424 Here\InsetSpace ~
19425 if\InsetSpace ~
19426 possible try to place the float on the position where it is inserted
19427 \end_layout
19428
19429 \begin_layout Description
19430 Top\InsetSpace ~
19431 of\InsetSpace ~
19432 page try to place the float on the top of the current page
19433 \end_layout
19434
19435 \begin_layout Description
19436 Bottom\InsetSpace ~
19437 of\InsetSpace ~
19438 page try to place the float on the bottom of the current page
19439 \end_layout
19440
19441 \begin_layout Description
19442 Page\InsetSpace ~
19443 of\InsetSpace ~
19444 floats try to place the float on an own page 
19445 \end_layout
19446
19447 \begin_layout Standard
19448 The order of the above option is 
19449 \emph on
19450 always
19451 \emph default
19452  used by LaTeX.
19453  That means, if you use the default placement, LaTeX will first try out
19454  
19455 \family sans
19456 Here\InsetSpace ~
19457 if\InsetSpace ~
19458 possible
19459 \family default
19460 , then 
19461 \family sans
19462 Top\InsetSpace ~
19463 of\InsetSpace ~
19464 page
19465 \family default
19466 , and then the others.
19467  If you don't use the default, LaTeX will try only the checked options but
19468  in the same order.
19469  If none of the 4 placements are possible the procedure is internally repeated
19470  but it is tried to put the float on the following page.
19471 \end_layout
19472
19473 \begin_layout Standard
19474 By default, each option has its own rules:
19475 \end_layout
19476
19477 \begin_layout Labeling
19478 \labelwidthstring 00.00.0000
19479
19480 \family sans
19481 Top\InsetSpace ~
19482 of\InsetSpace ~
19483 page
19484 \family default
19485  only floats occupying less than 70\InsetSpace \thinspace{}
19486 % of the page can be placed at the top
19487  of a page (
19488 \series bold
19489
19490 \backslash
19491 topfraction
19492 \series default
19493 )
19494 \end_layout
19495
19496 \begin_layout Labeling
19497 \labelwidthstring 00.00.0000
19498
19499 \family sans
19500 Bottom\InsetSpace ~
19501 of\InsetSpace ~
19502 page
19503 \family default
19504 : only floats occupying less than 30\InsetSpace \thinspace{}
19505 % of the page can be placed at the bottom
19506  of a page.
19507  (
19508 \series bold
19509
19510 \backslash
19511 bottomfraction
19512 \series default
19513 )
19514 \end_layout
19515
19516 \begin_layout Labeling
19517 \labelwidthstring 00.00.0000
19518
19519 \family sans
19520 Page\InsetSpace ~
19521 of\InsetSpace ~
19522 floats
19523 \family default
19524 : only if more than 50\InsetSpace \thinspace{}
19525 % of the page are occupied by floats, several floats
19526  can be set together on a page.
19527  (
19528 \series bold
19529
19530 \backslash
19531 floatpagefraction
19532 \series default
19533 )
19534 \end_layout
19535
19536 \begin_layout Standard
19537 If you don't like these rules, you can ignore them by using the additional
19538  option 
19539 \family sans
19540 Ignore\InsetSpace ~
19541 LaTeX\InsetSpace ~
19542 rules
19543 \family default
19544 .
19545 \newline
19546 You can also redefine the rules with LaTeX-commands that are given in parenthese
19547 s behind the rules description above.
19548  To increase for example the often too small default of the bottom-rule
19549  to 50\InsetSpace \thinspace{}
19550 % of the page, add this line to your document preamble:
19551 \end_layout
19552
19553 \begin_layout Standard
19554
19555 \series bold
19556
19557 \backslash
19558 renewcommand{
19559 \backslash
19560 bottomfraction}{0.5}
19561 \end_layout
19562
19563 \begin_layout Standard
19564 Sometimes you might need, under all circumstances, a float to be placed
19565  exactly at the position where it is inserted.
19566  For this case you can use the option 
19567 \family sans
19568 Here\InsetSpace ~
19569 definitely
19570 \family default
19571 .
19572  Use this option very rarely and only if the document is nearly ready to
19573  be printed.
19574  Because the float is then no longer able to 
19575 \begin_inset Quotes eld
19576 \end_inset
19577
19578 float
19579 \begin_inset Quotes erd
19580 \end_inset
19581
19582  when you change your document and this will often destroy the page layout.
19583 \end_layout
19584
19585 \begin_layout Standard
19586 There are no placement options for text wrap floats, because they are always
19587  surrounded by the text of a certain paragraph.
19588 \begin_inset VSpace bigskip
19589 \end_inset
19590
19591
19592 \end_layout
19593
19594 \begin_layout Standard
19595 Sometimes you have the problem that a float is placed at the top of a page
19596  while its corresponding section starts at the middle of the page, so that
19597  the reader could think the float is part of the previous section.
19598  To avoid this the LaTeX-command 
19599 \series bold
19600
19601 \backslash
19602 suppressfloats
19603 \series default
19604  can be used.
19605  It suppresses a given float placement for the page where it is inserted
19606  and can therefore be used to avoid that floats could be set before a section
19607  starts.
19608  To get this, add these commands to your document preamble:
19609 \end_layout
19610
19611 \begin_layout Standard
19612
19613 \series bold
19614
19615 \backslash
19616 let
19617 \backslash
19618 mySection
19619 \backslash
19620 section
19621 \newline
19622
19623 \backslash
19624 renewcommand{
19625 \backslash
19626 section}{
19627 \backslash
19628 suppressfloats[t]
19629 \backslash
19630 mySection}
19631 \end_layout
19632
19633 \begin_layout Standard
19634 You can define the same for all section headings, like chapters and subsections.
19635  This definition is not recommended to be used for small text parts like
19636  subsubsections because LaTeX may then have problems to find a suitable
19637  placement.
19638 \end_layout
19639
19640 \begin_layout Standard
19641 \begin_inset VSpace bigskip
19642 \end_inset
19643
19644 In some cases it is required to have all figures/tables at the end of the
19645  document.
19646  For this purpose the LaTeX-package 
19647 \series bold
19648 endfloat
19649 \series default
19650
19651 \begin_inset LatexCommand index
19652 name "LaTeX-packages ! endfloat"
19653
19654 \end_inset
19655
19656  was developed.
19657  It puts all figure and table floats at the end of the document into own
19658  sections.
19659  At the original float position a text hint like 
19660 \begin_inset Quotes eld
19661 \end_inset
19662
19663
19664 \family sans
19665 [Figure\InsetSpace ~
19666 3.2 about here.]
19667 \family default
19668
19669 \begin_inset Quotes erd
19670 \end_inset
19671
19672  is inserted.
19673  The endfloat-package is loaded in the preamble with the line
19674 \end_layout
19675
19676 \begin_layout Standard
19677
19678 \series bold
19679
19680 \backslash
19681 usepackage[options]{endfloat}
19682 \end_layout
19683
19684 \begin_layout Standard
19685 There are various package options to format the created figure/table sections.
19686  For more information we refer to the 
19687 \series bold
19688 endfloat
19689 \series default
19690  documentation 
19691 \begin_inset LatexCommand cite
19692 key "endfloat"
19693
19694 \end_inset
19695
19696 .
19697 \newline
19698
19699 \begin_inset Note Greyedout
19700 status open
19701
19702 \begin_layout Standard
19703
19704 \series bold
19705 Note: endfloat
19706 \series default
19707  doesn't provide an automatic translation for the text hint, you have to
19708  do this manually, see section\InsetSpace ~
19709 4 in 
19710 \begin_inset LatexCommand cite
19711 key "endfloat"
19712
19713 \end_inset
19714
19715 .
19716 \end_layout
19717
19718 \end_inset
19719
19720
19721 \newline
19722
19723 \begin_inset Note Greyedout
19724 status open
19725
19726 \begin_layout Standard
19727
19728 \series bold
19729 Note:
19730 \series default
19731  There is currently a bug in 
19732 \series bold
19733 endfloat
19734 \series default
19735  when the caption contains a German 
19736 \begin_inset Quotes eld
19737 \end_inset
19738
19739 ß
19740 \begin_inset Quotes erd
19741 \end_inset
19742
19743 .
19744  Use in this case the command 
19745 \begin_inset Quotes eld
19746 \end_inset
19747
19748
19749 \series bold
19750
19751 \backslash
19752 ss
19753 \series default
19754
19755 \begin_inset Quotes erd
19756 \end_inset
19757
19758  in TeX-Code instead of 
19759 \begin_inset Quotes eld
19760 \end_inset
19761
19762 ß
19763 \begin_inset Quotes erd
19764 \end_inset
19765
19766 .
19767 \end_layout
19768
19769 \end_inset
19770
19771
19772 \end_layout
19773
19774 \begin_layout Standard
19775 \begin_inset VSpace bigskip
19776 \end_inset
19777
19778 For more details about float placements, have a look at LaTeX books, 
19779 \begin_inset LatexCommand cite
19780 key "latexcompanion,latexguide,latexbook"
19781
19782 \end_inset
19783
19784 .
19785 \end_layout
19786
19787 \begin_layout Section
19788 Rotated Floats
19789 \begin_inset LatexCommand label
19790 name "sec:Rotated-Floats"
19791
19792 \end_inset
19793
19794
19795 \begin_inset LatexCommand index
19796 name "Floats ! Rotating"
19797
19798 \end_inset
19799
19800
19801 \end_layout
19802
19803 \begin_layout Standard
19804 Especially for wide tables you might have floats rotated.
19805  To rotate a whole float including the caption, right-click on the float-box
19806  and use the option 
19807 \family sans
19808 Rotate\InsetSpace ~
19809 sideways
19810 \family default
19811 .
19812 \end_layout
19813
19814 \begin_layout Standard
19815 Rotated floats are always placed on its own page (or column, when you have
19816  a two-column document).
19817  They are rotated so that you can read them from the outside margin.
19818  To force a certain rotation direction for all pages, you can add either
19819  the option 
19820 \series bold
19821 figuresleft
19822 \series default
19823  or 
19824 \series bold
19825 figuresright
19826 \series default
19827  to the document class options.
19828 \end_layout
19829
19830 \begin_layout Standard
19831 Referencing rotated floats is the same like for normal floats, the caption
19832  format is also the same: Table\InsetSpace ~
19833
19834 \begin_inset LatexCommand ref
19835 reference "tab:Rotated-table"
19836
19837 \end_inset
19838
19839  is an example of a rotated table float.
19840 \end_layout
19841
19842 \begin_layout Standard
19843 \begin_inset Note Greyedout
19844 status open
19845
19846 \begin_layout Standard
19847
19848 \series bold
19849 Note:
19850 \series default
19851  Not all DVI-viewers are able to display rotated floats.
19852 \end_layout
19853
19854 \end_inset
19855
19856
19857 \end_layout
19858
19859 \begin_layout Standard
19860 \begin_inset Float table
19861 wide false
19862 sideways true
19863 status open
19864
19865 \begin_layout Standard
19866 \begin_inset Caption
19867
19868 \begin_layout Standard
19869 \begin_inset LatexCommand label
19870 name "tab:Rotated-table"
19871
19872 \end_inset
19873
19874  Rotated table
19875 \end_layout
19876
19877 \end_inset
19878
19879
19880 \end_layout
19881
19882 \begin_layout Standard
19883 \align center
19884 \begin_inset Tabular
19885 <lyxtabular version="3" rows="1" columns="5">
19886 <features>
19887 <column alignment="center" valignment="top" leftline="true" width="0">
19888 <column alignment="center" valignment="top" leftline="true" width="0">
19889 <column alignment="center" valignment="top" leftline="true" width="0">
19890 <column alignment="center" valignment="top" leftline="true" width="0">
19891 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19892 <row topline="true" bottomline="true">
19893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19894 \begin_inset Text
19895
19896 \begin_layout Standard
19897 test
19898 \end_layout
19899
19900 \end_inset
19901 </cell>
19902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19903 \begin_inset Text
19904
19905 \begin_layout Standard
19906 b
19907 \end_layout
19908
19909 \end_inset
19910 </cell>
19911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19912 \begin_inset Text
19913
19914 \begin_layout Standard
19915 c
19916 \end_layout
19917
19918 \end_inset
19919 </cell>
19920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19921 \begin_inset Text
19922
19923 \begin_layout Standard
19924 d
19925 \end_layout
19926
19927 \end_inset
19928 </cell>
19929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19930 \begin_inset Text
19931
19932 \begin_layout Standard
19933 e
19934 \end_layout
19935
19936 \end_inset
19937 </cell>
19938 </row>
19939 </lyxtabular>
19940
19941 \end_inset
19942
19943
19944 \end_layout
19945
19946 \end_inset
19947
19948
19949 \end_layout
19950
19951 \begin_layout Section
19952 Floats Side by Side
19953 \begin_inset LatexCommand index
19954 name "Floats ! Side by side"
19955
19956 \end_inset
19957
19958
19959 \end_layout
19960
19961 \begin_layout Standard
19962 To place floats side by side, like for Figure\InsetSpace ~
19963
19964 \begin_inset LatexCommand ref
19965 reference "fig:Float-left"
19966
19967 \end_inset
19968
19969  and 
19970 \begin_inset LatexCommand ref
19971 reference "fig:Float-right"
19972
19973 \end_inset
19974
19975 , only 
19976 \emph on
19977 one
19978 \emph default
19979  float is used.
19980  In it two minipage boxes are inserted.
19981 \begin_inset Foot
19982 status collapsed
19983
19984 \begin_layout Standard
19985 Minipages are explained in section\InsetSpace ~
19986
19987 \begin_inset LatexCommand ref
19988 reference "sec:Minipages"
19989
19990 \end_inset
19991
19992 .
19993 \end_layout
19994
19995 \end_inset
19996
19997  The width is set to 45\InsetSpace \thinspace{}
19998 -50\InsetSpace \thinspace{}
19999 column% and the box alignment to 
20000 \family sans
20001 Bottom
20002 \family default
20003  for each minipage.
20004  The minipage boxes contain the image and the caption in the same way as
20005  they are in a float.
20006  The only difference is that the image unit 
20007 \family sans
20008 Column\InsetSpace ~
20009 Width\InsetSpace ~
20010 %
20011 \family default
20012  is now calculated according to the width of the minipage boxes.
20013 \end_layout
20014
20015 \begin_layout Standard
20016 \begin_inset Float figure
20017 wide false
20018 sideways false
20019 status open
20020
20021 \begin_layout Standard
20022 \begin_inset Box Frameless
20023 position "b"
20024 hor_pos "c"
20025 has_inner_box 1
20026 inner_pos "t"
20027 use_parbox 0
20028 width "45col%"
20029 special "none"
20030 height "1in"
20031 height_special "totalheight"
20032 status open
20033
20034 \begin_layout Standard
20035 \align center
20036 \begin_inset Graphics
20037         filename clipart/mobius.eps
20038         lyxscale 50
20039         width 100col%
20040         scaleBeforeRotation
20041
20042 \end_inset
20043
20044
20045 \end_layout
20046
20047 \begin_layout Standard
20048 \begin_inset Caption
20049
20050 \begin_layout Standard
20051 \begin_inset LatexCommand label
20052 name "fig:Float-left"
20053
20054 \end_inset
20055
20056 Float on the left side.
20057 \end_layout
20058
20059 \end_inset
20060
20061
20062 \end_layout
20063
20064 \end_inset
20065
20066
20067 \hfill
20068
20069 \begin_inset Box Frameless
20070 position "b"
20071 hor_pos "c"
20072 has_inner_box 1
20073 inner_pos "t"
20074 use_parbox 0
20075 width "45col%"
20076 special "none"
20077 height "1in"
20078 height_special "totalheight"
20079 status open
20080
20081 \begin_layout Standard
20082 \align center
20083 \begin_inset Graphics
20084         filename clipart/platypus.eps
20085         lyxscale 50
20086         width 100col%
20087         scaleBeforeRotation
20088
20089 \end_inset
20090
20091
20092 \end_layout
20093
20094 \begin_layout Standard
20095 \begin_inset Caption
20096
20097 \begin_layout Standard
20098 \begin_inset LatexCommand label
20099 name "fig:Float-right"
20100
20101 \end_inset
20102
20103 Float on the right side.
20104 \end_layout
20105
20106 \end_inset
20107
20108
20109 \end_layout
20110
20111 \end_inset
20112
20113
20114 \end_layout
20115
20116 \begin_layout Standard
20117
20118 \end_layout
20119
20120 \end_inset
20121
20122
20123 \end_layout
20124
20125 \begin_layout Section
20126 Caption Formatting
20127 \begin_inset LatexCommand index
20128 name "Caption ! Formatting"
20129
20130 \end_inset
20131
20132
20133 \begin_inset LatexCommand index
20134 name "Floats ! Caption Formatting"
20135
20136 \end_inset
20137
20138
20139 \begin_inset LatexCommand index
20140 name "LaTeX-packages ! caption"
20141
20142 \end_inset
20143
20144
20145 \begin_inset LatexCommand label
20146 name "sec:Caption-Formatting"
20147
20148 \end_inset
20149
20150
20151 \end_layout
20152
20153 \begin_layout Standard
20154 The 
20155 \family sans
20156 Caption
20157 \family default
20158  environment is the default paragraph environment for 
20159 \family sans
20160 Floats
20161 \family default
20162 .
20163  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
20164 g.\InsetSpace ~
20165
20166 \begin_inset Quotes eld
20167 \end_inset
20168
20169
20170 \family sans
20171 Figure #:
20172 \family default
20173
20174 \begin_inset Quotes erd
20175 \end_inset
20176
20177  followed by the caption text.
20178  
20179 \begin_inset Quotes eld
20180 \end_inset
20181
20182 #
20183 \begin_inset Quotes erd
20184 \end_inset
20185
20186  is the actual reference number.
20187  By default the label and the number are in the same font as the caption
20188  text and a colon follows the number to divide the label from the text.
20189  This caption format is not suitable for all document formats.
20190  
20191 \end_layout
20192
20193 \begin_layout Standard
20194 To change the default caption format, load the LaTeX-package 
20195 \series bold
20196 caption
20197 \series default
20198
20199 \begin_inset LatexCommand index
20200 name "LaTeX-packages ! caption"
20201
20202 \end_inset
20203
20204  in the document preamble with this line:
20205 \end_layout
20206
20207 \begin_layout Standard
20208
20209 \series bold
20210
20211 \backslash
20212 usepackage[format definition]{caption}
20213 \end_layout
20214
20215 \begin_layout Standard
20216 To have for example the label and the number in sans-serif bold font and
20217  the table captions always above the table like in this document, use the
20218  following command:
20219 \end_layout
20220
20221 \begin_layout Standard
20222
20223 \series bold
20224
20225 \backslash
20226 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20227 \end_layout
20228
20229 \begin_layout Standard
20230 You can also define different caption formats for the different float types.
20231  In this case load the 
20232 \series bold
20233 caption
20234 \series default
20235  package without format specific options and define the different formats
20236  with the help of the command
20237 \end_layout
20238
20239 \begin_layout Standard
20240
20241 \series bold
20242
20243 \backslash
20244 captionsetup[float type]{format definition}
20245 \end_layout
20246
20247 \begin_layout Standard
20248 in the document preamble.
20249  For example the caption formats of Figure\InsetSpace ~
20250
20251 \begin_inset LatexCommand ref
20252 reference "fig:This-is-an-fig"
20253
20254 \end_inset
20255
20256  and Table\InsetSpace ~
20257
20258 \begin_inset LatexCommand ref
20259 reference "tab:This-is-an-tab"
20260
20261 \end_inset
20262
20263  can be created using these commands in the document preamble:
20264 \end_layout
20265
20266 \begin_layout Standard
20267
20268 \series bold
20269
20270 \backslash
20271 usepackage[tableposition=top]{caption}
20272 \series default
20273
20274 \newline
20275
20276 \series bold
20277
20278 \backslash
20279 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
20280 \newline
20281
20282 \begin_inset ERT
20283 status collapsed
20284
20285 \begin_layout Standard
20286
20287
20288 \backslash
20289 hphantom{
20290 \backslash
20291
20292 \backslash
20293 captionsetup[figure]
20294 \backslash
20295 {}
20296 \end_layout
20297
20298 \end_inset
20299
20300  labelsep=period}
20301 \newline
20302
20303 \backslash
20304 captionsetup[table]{labelfont={bf,sf}}
20305 \end_layout
20306
20307 \begin_layout Standard
20308 \begin_inset Note Greyedout
20309 status open
20310
20311 \begin_layout Standard
20312
20313 \series bold
20314 Note:
20315 \series default
20316  The option 
20317 \series bold
20318 tableposition=top
20319 \series default
20320  has no effect when a 
20321 \series bold
20322 koma-script
20323 \series default
20324
20325 \begin_inset LatexCommand index
20326 name "LaTeX-packages ! koma-script"
20327
20328 \end_inset
20329
20330  document class is used.
20331  In this case the document class option 
20332 \series bold
20333 tablecaptionabove
20334 \series default
20335  must be used.
20336 \end_layout
20337
20338 \end_inset
20339
20340
20341 \end_layout
20342
20343 \begin_layout Standard
20344 For more information about the package 
20345 \series bold
20346 caption
20347 \series default
20348  we refer to its documentation 
20349 \begin_inset LatexCommand cite
20350 key "caption,caption-de"
20351
20352 \end_inset
20353
20354 .
20355 \end_layout
20356
20357 \begin_layout Standard
20358 To change the label name from e.g.
20359  
20360 \begin_inset Quotes eld
20361 \end_inset
20362
20363 Figure
20364 \begin_inset Quotes erd
20365 \end_inset
20366
20367  to 
20368 \begin_inset Quotes eld
20369 \end_inset
20370
20371 Image
20372 \begin_inset Quotes erd
20373 \end_inset
20374
20375  use this preamble command:
20376 \end_layout
20377
20378 \begin_layout Standard
20379
20380 \series bold
20381
20382 \backslash
20383 renewcommand{
20384 \backslash
20385 fnum@figure}{Image~
20386 \backslash
20387 thefigure}
20388 \end_layout
20389
20390 \begin_layout Standard
20391 where 
20392 \series bold
20393
20394 \backslash
20395 thefigure
20396 \series default
20397  inserts the figure number and
20398 \series bold
20399  
20400 \begin_inset Quotes eld
20401 \end_inset
20402
20403 ~
20404 \series default
20405
20406 \begin_inset Quotes erd
20407 \end_inset
20408
20409  creates a protected space.
20410 \end_layout
20411
20412 \begin_layout Standard
20413 \begin_inset VSpace bigskip
20414 \end_inset
20415
20416 If you are using a 
20417 \series bold
20418 koma-script
20419 \series default
20420
20421 \begin_inset LatexCommand index
20422 name "LaTeX-packages ! koma-script"
20423
20424 \end_inset
20425
20426  document class (
20427 \family sans
20428 article (koma-script)
20429 \family default
20430
20431 \family sans
20432 book (koma-script)
20433 \family default
20434
20435 \family sans
20436 letter (koma-script)
20437 \family default
20438 , or 
20439 \family sans
20440 report (koma-script)
20441 \family default
20442 \InsetSpace \thinspace{}
20443 ), you can alternatively to the 
20444 \series bold
20445 caption
20446 \series default
20447  package use 
20448 \series bold
20449 koma-script
20450 \series default
20451 's built-in command 
20452 \series bold
20453
20454 \backslash
20455 setkomafont
20456 \series default
20457 .
20458  For example, to have the caption label in bold, add this command to your
20459  document preamble:
20460 \end_layout
20461
20462 \begin_layout Standard
20463
20464 \series bold
20465
20466 \backslash
20467 setkomafont{captionlabel}{
20468 \backslash
20469 bfseries}
20470 \end_layout
20471
20472 \begin_layout Standard
20473 For more information about 
20474 \series bold
20475
20476 \backslash
20477 setkomafont
20478 \series default
20479  we refer to the 
20480 \series bold
20481 koma-script
20482 \series default
20483  documentation 
20484 \begin_inset LatexCommand cite
20485 key "koma-script"
20486
20487 \end_inset
20488
20489 .
20490 \end_layout
20491
20492 \begin_layout Standard
20493 \begin_inset ERT
20494 status collapsed
20495
20496 \begin_layout Standard
20497
20498
20499 \backslash
20500 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20501 }
20502 \end_layout
20503
20504 \end_inset
20505
20506
20507 \begin_inset Note Note
20508 status open
20509
20510 \begin_layout Standard
20511 The caption format is changed only for this example.
20512 \end_layout
20513
20514 \end_inset
20515
20516
20517 \end_layout
20518
20519 \begin_layout Standard
20520 \begin_inset Float figure
20521 placement !p
20522 wide false
20523 sideways false
20524 status open
20525
20526 \begin_layout Standard
20527 \align center
20528 \begin_inset Graphics
20529         filename clipart/mobius.eps
20530         lyxscale 50
20531         scale 50
20532         scaleBeforeRotation
20533
20534 \end_inset
20535
20536
20537 \end_layout
20538
20539 \begin_layout Standard
20540 \begin_inset Caption
20541
20542 \begin_layout Standard
20543 \begin_inset LatexCommand label
20544 name "fig:This-is-an-fig"
20545
20546 \end_inset
20547
20548 This is an example figure caption that is longer than one line to show the
20549  different caption format.
20550  Here a self-defined caption format is used.
20551 \end_layout
20552
20553 \end_inset
20554
20555
20556 \end_layout
20557
20558 \end_inset
20559
20560
20561 \end_layout
20562
20563 \begin_layout Standard
20564 \begin_inset ERT
20565 status collapsed
20566
20567 \begin_layout Standard
20568
20569
20570 \backslash
20571 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20572 on}
20573 \end_layout
20574
20575 \end_inset
20576
20577
20578 \end_layout
20579
20580 \begin_layout Standard
20581 \begin_inset Float table
20582 placement !p
20583 wide false
20584 sideways false
20585 status open
20586
20587 \begin_layout Standard
20588 \begin_inset Caption
20589
20590 \begin_layout Standard
20591 \begin_inset LatexCommand label
20592 name "tab:This-is-an-tab"
20593
20594 \end_inset
20595
20596 This is an example table caption that is longer than one line to show the
20597  different caption format.
20598  Here the standard caption format for tables in this document is used.
20599 \end_layout
20600
20601 \end_inset
20602
20603
20604 \end_layout
20605
20606 \begin_layout Standard
20607 \align center
20608 \begin_inset Tabular
20609 <lyxtabular version="3" rows="1" columns="5">
20610 <features>
20611 <column alignment="center" valignment="top" leftline="true" width="0">
20612 <column alignment="center" valignment="top" leftline="true" width="0">
20613 <column alignment="center" valignment="top" leftline="true" width="0">
20614 <column alignment="center" valignment="top" leftline="true" width="0">
20615 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20616 <row topline="true" bottomline="true">
20617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20618 \begin_inset Text
20619
20620 \begin_layout Standard
20621 a
20622 \end_layout
20623
20624 \end_inset
20625 </cell>
20626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20627 \begin_inset Text
20628
20629 \begin_layout Standard
20630 b
20631 \end_layout
20632
20633 \end_inset
20634 </cell>
20635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20636 \begin_inset Text
20637
20638 \begin_layout Standard
20639 c
20640 \end_layout
20641
20642 \end_inset
20643 </cell>
20644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20645 \begin_inset Text
20646
20647 \begin_layout Standard
20648 d
20649 \end_layout
20650
20651 \end_inset
20652 </cell>
20653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20654 \begin_inset Text
20655
20656 \begin_layout Standard
20657 e
20658 \end_layout
20659
20660 \end_inset
20661 </cell>
20662 </row>
20663 </lyxtabular>
20664
20665 \end_inset
20666
20667
20668 \end_layout
20669
20670 \end_inset
20671
20672
20673 \end_layout
20674
20675 \begin_layout Section
20676 Caption Placement
20677 \begin_inset LatexCommand index
20678 name "Caption ! Placement"
20679
20680 \end_inset
20681
20682
20683 \begin_inset LatexCommand index
20684 name "Floats ! Caption Placement"
20685
20686 \end_inset
20687
20688
20689 \begin_inset LatexCommand label
20690 name "sec:Caption-Placement"
20691
20692 \end_inset
20693
20694
20695 \end_layout
20696
20697 \begin_layout Standard
20698 The common caption placement rule is:
20699 \end_layout
20700
20701 \begin_layout Description
20702 Figure: Caption is set below the figure
20703 \end_layout
20704
20705 \begin_layout Description
20706 Table: Caption is set above the table
20707 \end_layout
20708
20709 \begin_layout Standard
20710 Having the caption above the table is unfortunately not supported in LaTeX's
20711  standard classes.
20712  That means if you are using the document classes 
20713 \family sans
20714 article
20715 \family default
20716
20717 \family sans
20718 book
20719 \family default
20720
20721 \family sans
20722 letter
20723 \family default
20724 , or 
20725 \family sans
20726 report
20727 \family default
20728  there will be no space between the caption and the table.
20729  To insert the needed space, add the following option to the load command
20730  of the LaTeX-package 
20731 \series bold
20732 caption
20733 \series default
20734  in your document preamble
20735 \begin_inset Foot
20736 status collapsed
20737
20738 \begin_layout Standard
20739 See section\InsetSpace ~
20740
20741 \begin_inset LatexCommand ref
20742 reference "sec:Caption-Formatting"
20743
20744 \end_inset
20745
20746  for more information of the package 
20747 \series bold
20748 caption
20749 \series default
20750 .
20751 \end_layout
20752
20753 \end_inset
20754
20755 :
20756 \end_layout
20757
20758 \begin_layout Standard
20759
20760 \series bold
20761 tableposition=top
20762 \end_layout
20763
20764 \begin_layout Standard
20765 If you are using a 
20766 \series bold
20767 koma-script
20768 \series default
20769
20770 \begin_inset LatexCommand index
20771 name "LaTeX-packages ! koma-script"
20772
20773 \end_inset
20774
20775  document class (
20776 \family sans
20777 article (koma-script)
20778 \family default
20779
20780 \family sans
20781 book (koma-script)
20782 \family default
20783
20784 \family sans
20785 letter (koma-script)
20786 \family default
20787 , or 
20788 \family sans
20789 report (koma-script)
20790 \family default
20791 \InsetSpace \thinspace{}
20792 ), you can alternatively to the 
20793 \series bold
20794 caption
20795 \series default
20796  package set the document class option 
20797 \series bold
20798 tablecaptionabove
20799 \series default
20800 .
20801 \end_layout
20802
20803 \begin_layout Standard
20804 \begin_inset VSpace bigskip
20805 \end_inset
20806
20807 It is also possible to set the caption beside a figure or table.
20808  To get this the LaTeX-package 
20809 \series bold
20810 sidecap
20811 \series default
20812
20813 \begin_inset LatexCommand index
20814 name "LaTeX-packages ! sidecap"
20815
20816 \end_inset
20817
20818  has to be loaded in the document preamble with the line
20819 \end_layout
20820
20821 \begin_layout Standard
20822
20823 \series bold
20824
20825 \backslash
20826 usepackage[option]{sidecap}
20827 \end_layout
20828
20829 \begin_layout Standard
20830 If you set no option, the caption is placed on the side of the outer page
20831  margin -- to the right on odd pages, to the left on even pages.
20832  You can change the placement to inner margin with the option 
20833 \series bold
20834 innercaption
20835 \series default
20836 .
20837  To force the placement always to the right or left, use the option 
20838 \series bold
20839 rightcaption
20840 \series default
20841  or 
20842 \series bold
20843 leftcaption
20844 \series default
20845 , respectively.
20846 \end_layout
20847
20848 \begin_layout Standard
20849 To place in LyX the caption of a float on the side, it is necessary to add
20850  these commands to the document preamble:
20851 \end_layout
20852
20853 \begin_layout Standard
20854
20855 \lyxline
20856
20857 \end_layout
20858
20859 \begin_layout Standard
20860
20861 \series bold
20862
20863 \backslash
20864 newcommand{
20865 \backslash
20866 TabBesBeg}{%
20867 \newline
20868
20869 \begin_inset ERT
20870 status collapsed
20871
20872 \begin_layout Standard
20873
20874
20875 \backslash
20876 hphantom{ }
20877 \end_layout
20878
20879 \end_inset
20880
20881
20882 \backslash
20883 let
20884 \backslash
20885 MyTable
20886 \backslash
20887 table
20888 \newline
20889
20890 \begin_inset ERT
20891 status collapsed
20892
20893 \begin_layout Standard
20894
20895
20896 \backslash
20897 hphantom{ }
20898 \end_layout
20899
20900 \end_inset
20901
20902
20903 \backslash
20904 let
20905 \backslash
20906 MyEndtable
20907 \backslash
20908 endtable
20909 \newline
20910
20911 \begin_inset ERT
20912 status collapsed
20913
20914 \begin_layout Standard
20915
20916
20917 \backslash
20918 hphantom{ }
20919 \end_layout
20920
20921 \end_inset
20922
20923
20924 \backslash
20925 renewenvironment{table}{
20926 \backslash
20927 begin{SCtable}}{
20928 \backslash
20929 end{SCtable}}}
20930 \end_layout
20931
20932 \begin_layout Standard
20933
20934 \series bold
20935
20936 \backslash
20937 newcommand{
20938 \backslash
20939 TabBesEnd}{%
20940 \newline
20941
20942 \begin_inset ERT
20943 status collapsed
20944
20945 \begin_layout Standard
20946
20947
20948 \backslash
20949 hphantom{ }
20950 \end_layout
20951
20952 \end_inset
20953
20954
20955 \backslash
20956 let
20957 \backslash
20958 table
20959 \backslash
20960 MyTable
20961 \newline
20962
20963 \begin_inset ERT
20964 status collapsed
20965
20966 \begin_layout Standard
20967
20968
20969 \backslash
20970 hphantom{ }
20971 \end_layout
20972
20973 \end_inset
20974
20975
20976 \backslash
20977 let
20978 \backslash
20979 endtable
20980 \backslash
20981 MyEndtable
20982 \end_layout
20983
20984 \begin_layout Standard
20985
20986 \series bold
20987
20988 \backslash
20989 newcommand{
20990 \backslash
20991 FigBesBeg}{%
20992 \newline
20993
20994 \begin_inset ERT
20995 status collapsed
20996
20997 \begin_layout Standard
20998
20999
21000 \backslash
21001 hphantom{ }
21002 \end_layout
21003
21004 \end_inset
21005
21006
21007 \backslash
21008 let
21009 \backslash
21010 MyFigure
21011 \backslash
21012 figure
21013 \newline
21014
21015 \begin_inset ERT
21016 status collapsed
21017
21018 \begin_layout Standard
21019
21020
21021 \backslash
21022 hphantom{ }
21023 \end_layout
21024
21025 \end_inset
21026
21027
21028 \backslash
21029 let
21030 \backslash
21031 MyEndfigure
21032 \backslash
21033 endfigure
21034 \newline
21035
21036 \begin_inset ERT
21037 status collapsed
21038
21039 \begin_layout Standard
21040
21041
21042 \backslash
21043 hphantom{ }
21044 \end_layout
21045
21046 \end_inset
21047
21048
21049 \backslash
21050 renewenvironment{figure}{
21051 \backslash
21052 begin{SCfigure}}{
21053 \backslash
21054 end{SCfigure}}}
21055 \end_layout
21056
21057 \begin_layout Standard
21058
21059 \series bold
21060
21061 \backslash
21062 newcommand{
21063 \backslash
21064 FigBesEnd}{%
21065 \newline
21066
21067 \begin_inset ERT
21068 status collapsed
21069
21070 \begin_layout Standard
21071
21072
21073 \backslash
21074 hphantom{ }
21075 \end_layout
21076
21077 \end_inset
21078
21079
21080 \backslash
21081 let
21082 \backslash
21083 figure
21084 \backslash
21085 MyFigure
21086 \newline
21087
21088 \begin_inset ERT
21089 status collapsed
21090
21091 \begin_layout Standard
21092
21093
21094 \backslash
21095 hphantom{ }
21096 \end_layout
21097
21098 \end_inset
21099
21100
21101 \backslash
21102 let
21103 \backslash
21104 endfigure
21105 \backslash
21106 MyEndfigure}
21107 \end_layout
21108
21109 \begin_layout Standard
21110
21111 \lyxline
21112
21113 \end_layout
21114
21115 \begin_layout Standard
21116 The commands allow you to redefine the floats so that the caption is set
21117  on the side.
21118  For figure floats use the command
21119 \end_layout
21120
21121 \begin_layout Standard
21122
21123 \series bold
21124
21125 \backslash
21126 FigBesBeg
21127 \end_layout
21128
21129 \begin_layout Standard
21130 in TeX-Code before the float.
21131  Behind the float insert the command
21132 \end_layout
21133
21134 \begin_layout Standard
21135
21136 \series bold
21137
21138 \backslash
21139 FigBesEnd
21140 \end_layout
21141
21142 \begin_layout Standard
21143 in TeX-Code to get back to the original float definition.
21144 \end_layout
21145
21146 \begin_layout Standard
21147 For table floats use the corresponding commands
21148 \end_layout
21149
21150 \begin_layout Standard
21151
21152 \series bold
21153
21154 \backslash
21155 TabBesBeg
21156 \series default
21157  and 
21158 \series bold
21159
21160 \backslash
21161 TabBesEnd
21162 \end_layout
21163
21164 \begin_layout Standard
21165 Figure\InsetSpace ~
21166
21167 \begin_inset LatexCommand ref
21168 reference "fig:cap-beside-fig"
21169
21170 \end_inset
21171
21172  and Table\InsetSpace ~
21173
21174 \begin_inset LatexCommand ref
21175 reference "tab:cap-beside-tab"
21176
21177 \end_inset
21178
21179  are examples where the caption is set beside.
21180 \end_layout
21181
21182 \begin_layout Standard
21183 You can see in the examples that the caption text appears at the top of
21184  the floats for table floats and at the bottom for figure floats.
21185  To change this, you can use the command
21186 \end_layout
21187
21188 \begin_layout Standard
21189
21190 \series bold
21191
21192 \backslash
21193 sidecaptionvpos{float type}{placement}
21194 \end_layout
21195
21196 \begin_layout Standard
21197 in the document preamble or in TeX-Code before the float.
21198  The float type is either 
21199 \family sans
21200 figure
21201 \family default
21202  or 
21203 \family sans
21204 table
21205 \family default
21206 , the placement can be 
21207 \begin_inset Quotes eld
21208 \end_inset
21209
21210
21211 \family sans
21212 t
21213 \family default
21214
21215 \begin_inset Quotes erd
21216 \end_inset
21217
21218  for top, 
21219 \begin_inset Quotes eld
21220 \end_inset
21221
21222
21223 \family sans
21224 c
21225 \family default
21226
21227 \begin_inset Quotes erd
21228 \end_inset
21229
21230  for center, or 
21231 \begin_inset Quotes eld
21232 \end_inset
21233
21234
21235 \family sans
21236 b
21237 \family default
21238
21239 \begin_inset Quotes erd
21240 \end_inset
21241
21242  for bottom.
21243  To have for example the caption of figure floats vertically centered, use
21244  the command
21245 \end_layout
21246
21247 \begin_layout Standard
21248
21249 \series bold
21250
21251 \backslash
21252 sidecaptionvpos{figure}{c}
21253 \end_layout
21254
21255 \begin_layout Standard
21256 This was used for Figure\InsetSpace ~
21257
21258 \begin_inset LatexCommand ref
21259 reference "fig:cap-beside-fig-2"
21260
21261 \end_inset
21262
21263 .
21264 \end_layout
21265
21266 \begin_layout Standard
21267 \begin_inset VSpace medskip
21268 \end_inset
21269
21270 For more information about the package 
21271 \series bold
21272 sidecap
21273 \series default
21274  we refer to its documentation 
21275 \begin_inset LatexCommand cite
21276 key "sidecap"
21277
21278 \end_inset
21279
21280 .
21281 \end_layout
21282
21283 \begin_layout Standard
21284 \begin_inset Note Greyedout
21285 status open
21286
21287 \begin_layout Standard
21288
21289 \series bold
21290 Note:
21291 \series default
21292  The LaTeX-package 
21293 \series bold
21294 hypcap
21295 \series default
21296
21297 \begin_inset LatexCommand index
21298 name "LaTeX-packages ! hypcap"
21299
21300 \end_inset
21301
21302 , described in section\InsetSpace ~
21303
21304 \begin_inset LatexCommand ref
21305 reference "sub:Reference-Position"
21306
21307 \end_inset
21308
21309 , has no effect on floats with the caption set beside.
21310 \end_layout
21311
21312 \end_inset
21313
21314
21315 \end_layout
21316
21317 \begin_layout Standard
21318 \begin_inset ERT
21319 status collapsed
21320
21321 \begin_layout Standard
21322
21323
21324 \backslash
21325 FigBesBeg 
21326 \end_layout
21327
21328 \end_inset
21329
21330
21331 \end_layout
21332
21333 \begin_layout Standard
21334 \begin_inset Float figure
21335 wide false
21336 sideways false
21337 status open
21338
21339 \begin_layout Standard
21340 \begin_inset Graphics
21341         filename clipart/escher-lsd.eps
21342         scale 75
21343         scaleBeforeRotation
21344
21345 \end_inset
21346
21347
21348 \end_layout
21349
21350 \begin_layout Standard
21351 \begin_inset Caption
21352
21353 \begin_layout Standard
21354 \begin_inset LatexCommand label
21355 name "fig:cap-beside-fig"
21356
21357 \end_inset
21358
21359 This is a caption beside a figure.
21360 \end_layout
21361
21362 \end_inset
21363
21364
21365 \end_layout
21366
21367 \end_inset
21368
21369
21370 \end_layout
21371
21372 \begin_layout Standard
21373 \begin_inset ERT
21374 status collapsed
21375
21376 \begin_layout Standard
21377
21378
21379 \backslash
21380 TabBesBeg 
21381 \end_layout
21382
21383 \end_inset
21384
21385
21386 \end_layout
21387
21388 \begin_layout Standard
21389 \begin_inset Float table
21390 wide false
21391 sideways false
21392 status open
21393
21394 \begin_layout Standard
21395 \begin_inset Caption
21396
21397 \begin_layout Standard
21398 \begin_inset LatexCommand label
21399 name "tab:cap-beside-tab"
21400
21401 \end_inset
21402
21403 This is a caption beside a table.
21404 \end_layout
21405
21406 \end_inset
21407
21408
21409 \end_layout
21410
21411 \begin_layout Standard
21412 \begin_inset Tabular
21413 <lyxtabular version="3" rows="4" columns="5">
21414 <features>
21415 <column alignment="center" valignment="top" leftline="true" width="0">
21416 <column alignment="center" valignment="top" leftline="true" width="0">
21417 <column alignment="center" valignment="top" leftline="true" width="0">
21418 <column alignment="center" valignment="top" leftline="true" width="0">
21419 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21420 <row topline="true">
21421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21422 \begin_inset Text
21423
21424 \begin_layout Standard
21425 a
21426 \end_layout
21427
21428 \end_inset
21429 </cell>
21430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21431 \begin_inset Text
21432
21433 \begin_layout Standard
21434
21435 \end_layout
21436
21437 \end_inset
21438 </cell>
21439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21440 \begin_inset Text
21441
21442 \begin_layout Standard
21443 b
21444 \end_layout
21445
21446 \end_inset
21447 </cell>
21448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21449 \begin_inset Text
21450
21451 \begin_layout Standard
21452
21453 \end_layout
21454
21455 \end_inset
21456 </cell>
21457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21458 \begin_inset Text
21459
21460 \begin_layout Standard
21461 c
21462 \end_layout
21463
21464 \end_inset
21465 </cell>
21466 </row>
21467 <row topline="true">
21468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21469 \begin_inset Text
21470
21471 \begin_layout Standard
21472
21473 \end_layout
21474
21475 \end_inset
21476 </cell>
21477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21478 \begin_inset Text
21479
21480 \begin_layout Standard
21481 d
21482 \end_layout
21483
21484 \end_inset
21485 </cell>
21486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21487 \begin_inset Text
21488
21489 \begin_layout Standard
21490
21491 \end_layout
21492
21493 \end_inset
21494 </cell>
21495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21496 \begin_inset Text
21497
21498 \begin_layout Standard
21499 e
21500 \end_layout
21501
21502 \end_inset
21503 </cell>
21504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21505 \begin_inset Text
21506
21507 \begin_layout Standard
21508
21509 \end_layout
21510
21511 \end_inset
21512 </cell>
21513 </row>
21514 <row topline="true">
21515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21516 \begin_inset Text
21517
21518 \begin_layout Standard
21519 f
21520 \end_layout
21521
21522 \end_inset
21523 </cell>
21524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21525 \begin_inset Text
21526
21527 \begin_layout Standard
21528
21529 \end_layout
21530
21531 \end_inset
21532 </cell>
21533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21534 \begin_inset Text
21535
21536 \begin_layout Standard
21537 g
21538 \end_layout
21539
21540 \end_inset
21541 </cell>
21542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21543 \begin_inset Text
21544
21545 \begin_layout Standard
21546
21547 \end_layout
21548
21549 \end_inset
21550 </cell>
21551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21552 \begin_inset Text
21553
21554 \begin_layout Standard
21555 h
21556 \end_layout
21557
21558 \end_inset
21559 </cell>
21560 </row>
21561 <row topline="true" bottomline="true">
21562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21563 \begin_inset Text
21564
21565 \begin_layout Standard
21566
21567 \end_layout
21568
21569 \end_inset
21570 </cell>
21571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21572 \begin_inset Text
21573
21574 \begin_layout Standard
21575 i
21576 \end_layout
21577
21578 \end_inset
21579 </cell>
21580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21581 \begin_inset Text
21582
21583 \begin_layout Standard
21584
21585 \end_layout
21586
21587 \end_inset
21588 </cell>
21589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21590 \begin_inset Text
21591
21592 \begin_layout Standard
21593 j
21594 \end_layout
21595
21596 \end_inset
21597 </cell>
21598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21599 \begin_inset Text
21600
21601 \begin_layout Standard
21602
21603 \end_layout
21604
21605 \end_inset
21606 </cell>
21607 </row>
21608 </lyxtabular>
21609
21610 \end_inset
21611
21612
21613 \end_layout
21614
21615 \end_inset
21616
21617
21618 \end_layout
21619
21620 \begin_layout Standard
21621 \begin_inset ERT
21622 status collapsed
21623
21624 \begin_layout Standard
21625
21626
21627 \backslash
21628 TabBesEnd
21629 \end_layout
21630
21631 \end_inset
21632
21633
21634 \end_layout
21635
21636 \begin_layout Standard
21637 \begin_inset ERT
21638 status collapsed
21639
21640 \begin_layout Standard
21641
21642
21643 \backslash
21644 sidecaptionvpos{figure}{c}
21645 \end_layout
21646
21647 \end_inset
21648
21649
21650 \begin_inset Float figure
21651 wide false
21652 sideways false
21653 status open
21654
21655 \begin_layout Standard
21656 \begin_inset Graphics
21657         filename clipart/escher-lsd.eps
21658         scale 75
21659         scaleBeforeRotation
21660
21661 \end_inset
21662
21663
21664 \end_layout
21665
21666 \begin_layout Standard
21667 \begin_inset Caption
21668
21669 \begin_layout Standard
21670 \begin_inset LatexCommand label
21671 name "fig:cap-beside-fig-2"
21672
21673 \end_inset
21674
21675 This is a vertically centered caption beside a figure.
21676 \end_layout
21677
21678 \end_inset
21679
21680
21681 \end_layout
21682
21683 \end_inset
21684
21685
21686 \end_layout
21687
21688 \begin_layout Standard
21689 \begin_inset ERT
21690 status collapsed
21691
21692 \begin_layout Standard
21693
21694
21695 \backslash
21696 FigBesEnd
21697 \end_layout
21698
21699 \end_inset
21700
21701
21702 \end_layout
21703
21704 \begin_layout Section
21705 Listings of Floats
21706 \begin_inset LatexCommand label
21707 name "sec:Listings-of-Floats"
21708
21709 \end_inset
21710
21711
21712 \begin_inset LatexCommand index
21713 name "Floats ! Float Lists"
21714
21715 \end_inset
21716
21717
21718 \end_layout
21719
21720 \begin_layout Standard
21721 Similar to the the table of contents where the sections of the document
21722  are listed, there are listings for all float types, like the figures of
21723  the documents.
21724  You can insert them via the 
21725 \family sans
21726 Insert\SpecialChar \menuseparator
21727 List\InsetSpace ~
21728 /\InsetSpace ~
21729 TOC
21730 \family default
21731  sub menus.
21732 \end_layout
21733
21734 \begin_layout Standard
21735 The list entries are the float captions or its short title, the float number,
21736  and the page number where they appear in the document.
21737 \end_layout
21738
21739 \begin_layout Standard
21740 You can find the list of figures and tables at the end of this document.
21741 \end_layout
21742
21743 \begin_layout Chapter
21744 Notes
21745 \end_layout
21746
21747 \begin_layout Section
21748 LyX Notes
21749 \begin_inset LatexCommand label
21750 name "sec:LyX-Notes"
21751
21752 \end_inset
21753
21754
21755 \begin_inset LatexCommand index
21756 name "Notes ! LyX Notes"
21757
21758 \end_inset
21759
21760
21761 \end_layout
21762
21763 \begin_layout Standard
21764 Notes are inserted with the toolbar button 
21765 \begin_inset Graphics
21766         filename ../images/note-insert.png
21767         scale 85
21768         scaleBeforeRotation
21769
21770 \end_inset
21771
21772  or the menu 
21773 \family sans
21774 Insert\SpecialChar \menuseparator
21775 Note
21776 \family default
21777 .
21778  There are five types of notes:
21779 \end_layout
21780
21781 \begin_layout Description
21782 LyX\InsetSpace ~
21783 Note This note type is for internal notes that won't appear in the output.
21784  Its note-box looks like this:
21785 \newline
21786
21787 \newline
21788
21789 \begin_inset Graphics
21790         filename clipart/LyXNoteImageQt4.png
21791         display none
21792         scale 85
21793         scaleBeforeRotation
21794
21795 \end_inset
21796
21797  
21798 \begin_inset Note Note
21799 status open
21800
21801 \begin_layout Standard
21802 This is text in a note box that doesn't appear in the output.
21803 \end_layout
21804
21805 \end_inset
21806
21807
21808 \end_layout
21809
21810 \begin_layout Description
21811 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21812 ent, when you export the document to LaTeX via the menu 
21813 \family sans
21814 File\SpecialChar \menuseparator
21815 Export\SpecialChar \menuseparator
21816 LaTeX (pdflatex) / (plain)
21817 \family default
21818 .
21819  Its note-box looks like this:
21820 \newline
21821
21822 \newline
21823
21824 \begin_inset Graphics
21825         filename clipart/CommentNoteImageQt4.png
21826         display none
21827         scale 85
21828         scaleBeforeRotation
21829
21830 \end_inset
21831
21832  
21833 \begin_inset Note Comment
21834 status open
21835
21836 \begin_layout Standard
21837 This is text in a note box that only appears as comment in LaTeX-files.
21838 \end_layout
21839
21840 \end_inset
21841
21842
21843 \end_layout
21844
21845 \begin_layout Description
21846 Greyed\InsetSpace ~
21847 Out This note will appear in the output as grey text.
21848  Its note-box looks like this:
21849 \newline
21850
21851 \newline
21852
21853 \begin_inset Graphics
21854         filename clipart/GreyedOutNoteImageQt4.png
21855         display none
21856         scale 85
21857         scaleBeforeRotation
21858
21859 \end_inset
21860
21861
21862 \newline
21863
21864 \begin_inset ERT
21865 status collapsed
21866
21867 \begin_layout Standard
21868
21869
21870 \backslash
21871 renewenvironment{lyxgreyedout}
21872 \end_layout
21873
21874 \begin_layout Standard
21875
21876 {
21877 \backslash
21878 textcolor[gray]{0.8}
21879 \backslash
21880 bgroup}{
21881 \backslash
21882 egroup}
21883 \end_layout
21884
21885 \end_inset
21886
21887
21888 \begin_inset Note Greyedout
21889 status open
21890
21891 \begin_layout Standard
21892 This is text
21893 \begin_inset Foot
21894 status open
21895
21896 \begin_layout Standard
21897 This is an example footnote within a greyed out note.
21898 \end_layout
21899
21900 \end_inset
21901
21902  of a comment that appears in the output as grey text.
21903 \end_layout
21904
21905 \end_inset
21906
21907
21908 \begin_inset ERT
21909 status collapsed
21910
21911 \begin_layout Standard
21912
21913
21914 \backslash
21915 renewenvironment{lyxgreyedout}
21916 \end_layout
21917
21918 \begin_layout Standard
21919
21920 {
21921 \backslash
21922 textcolor{blue}
21923 \backslash
21924 bgroup}{
21925 \backslash
21926 egroup}
21927 \end_layout
21928
21929 \end_inset
21930
21931
21932 \begin_inset Note Note
21933 status collapsed
21934
21935 \begin_layout Standard
21936 The greyed out note is here redefined to show it with the original LyX definitio
21937 n because greyed out notes are redefined in the preamble of this document,
21938  as described below, to have blue text.
21939 \end_layout
21940
21941 \end_inset
21942
21943
21944 \newline
21945
21946 \newline
21947 As you can see in the example, the first line of greyed out notes is a bit
21948  indented and greyed out notes can have footnotes.
21949 \end_layout
21950
21951 \begin_layout Description
21952 Framed This note will appear in the output as framed text.
21953  Its note-box looks like this:
21954 \newline
21955
21956 \newline
21957
21958 \begin_inset Graphics
21959         filename clipart/FramedNoteImageQt4.png
21960         display none
21961         scale 85
21962         scaleBeforeRotation
21963
21964 \end_inset
21965
21966  
21967 \begin_inset Note Framed
21968 status open
21969
21970 \begin_layout Standard
21971 This is text in a note box that appears framed in the output.
21972 \end_layout
21973
21974 \end_inset
21975
21976  In contrary to framed boxes
21977 \begin_inset Foot
21978 status collapsed
21979
21980 \begin_layout Standard
21981 Framed boxes are described in section\InsetSpace ~
21982
21983 \begin_inset LatexCommand ref
21984 reference "sec:Framed-Boxes"
21985
21986 \end_inset
21987
21988 .
21989 \end_layout
21990
21991 \end_inset
21992
21993  the frame uses always the whole text width and the note is set into its
21994  own paragraph.
21995 \end_layout
21996
21997 \begin_layout Description
21998 Shaded This note will appear in the output with red background color.
21999  Its note box looks like this:
22000 \newline
22001
22002 \newline
22003
22004 \begin_inset Graphics
22005         filename clipart/ShadedNoteImageQt4.png
22006         display none
22007         scale 85
22008         scaleBeforeRotation
22009
22010 \end_inset
22011
22012
22013 \begin_inset Note Shaded
22014 status open
22015
22016 \begin_layout Standard
22017 This text in a note box appears in the output with red background.
22018 \end_layout
22019
22020 \end_inset
22021
22022 In contrary to colored boxes
22023 \begin_inset Foot
22024 status collapsed
22025
22026 \begin_layout Standard
22027 Colored boxes are described in section\InsetSpace ~
22028
22029 \begin_inset LatexCommand ref
22030 reference "sec:Colored-Boxes"
22031
22032 \end_inset
22033
22034 .
22035 \end_layout
22036
22037 \end_inset
22038
22039  the note uses always the whole text width and the note is set into its
22040  own paragraph.
22041 \end_layout
22042
22043 \begin_layout Standard
22044 \begin_inset VSpace bigskip
22045 \end_inset
22046
22047 When you use the toolbar button 
22048 \begin_inset Graphics
22049         filename ../images/note-insert.png
22050         scale 85
22051         scaleBeforeRotation
22052
22053 \end_inset
22054
22055  to insert notes, a 
22056 \family sans
22057 LyX\InsetSpace ~
22058 Note
22059 \family default
22060  is inserted.
22061  You can switch between the five note types by right-clicking on the note-box.
22062  
22063 \family roman
22064 \series medium
22065 \bar no
22066 If you want to turn existing text into a note, mark it and click on the
22067  note
22068 \family default
22069 \series default
22070 \bar default
22071  toolbar 
22072 \family roman
22073 \series medium
22074 \bar no
22075 button
22076 \family default
22077 \series default
22078 \bar default
22079 .
22080  To change a note to text, press the backspace key when the cursor is in
22081  the first position of a note, or press the deletey key when the cursor
22082  is in the very last position of the note, respectively.
22083 \end_layout
22084
22085 \begin_layout Standard
22086 \begin_inset VSpace bigskip
22087 \end_inset
22088
22089 You can change the text color of the greyed out notes in the preamble with
22090  the following command:
22091 \end_layout
22092
22093 \begin_layout Standard
22094
22095 \series bold
22096
22097 \backslash
22098 renewenvironment{lyxgreyedout}
22099 \newline
22100
22101 \begin_inset ERT
22102 status collapsed
22103
22104 \begin_layout Standard
22105
22106
22107 \backslash
22108 hphantom{ }
22109 \end_layout
22110
22111 \end_inset
22112
22113 {
22114 \backslash
22115 textcolor{color}
22116 \backslash
22117 bgroup}{
22118 \backslash
22119 egroup}
22120 \end_layout
22121
22122 \begin_layout Standard
22123 The available colors and the method to define own colors is explained in
22124  section\InsetSpace ~
22125
22126 \begin_inset LatexCommand ref
22127 reference "sec:Colored-Tables"
22128
22129 \end_inset
22130
22131 .
22132 \end_layout
22133
22134 \begin_layout Standard
22135 Notes that appear in blue in this document are set using greyed out notes
22136  with blue text.
22137 \end_layout
22138
22139 \begin_layout Standard
22140 \begin_inset VSpace bigskip
22141 \end_inset
22142
22143
22144 \end_layout
22145
22146 \begin_layout Standard
22147 The text style of 
22148 \family sans
22149 Framed
22150 \family default
22151  and 
22152 \family sans
22153 Shaded
22154 \family default
22155  notes can be set in the 
22156 \family sans
22157 Text Style
22158 \family default
22159  dialog.
22160 \end_layout
22161
22162 \begin_layout Standard
22163 The default frame width for 
22164 \family sans
22165 Framed
22166 \family default
22167  notes is 0.4\InsetSpace \thinspace{}
22168 pt; it can be changed by changing the size 
22169 \series bold
22170
22171 \backslash
22172 FrameRule
22173 \series default
22174 .
22175  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22176 pt; it can
22177  be changed by changing the size 
22178 \series bold
22179
22180 \backslash
22181 FrameSep
22182 \series default
22183 .
22184  For example the frame appearance of the following 
22185 \family sans
22186 Framed
22187 \family default
22188  note is set with the TeX-Code commands
22189 \end_layout
22190
22191 \begin_layout Standard
22192
22193 \series bold
22194
22195 \backslash
22196 FrameRule 5pt 
22197 \backslash
22198 FrameSep 0.5cm
22199 \end_layout
22200
22201 \begin_layout Standard
22202 \begin_inset ERT
22203 status collapsed
22204
22205 \begin_layout Standard
22206
22207
22208 \backslash
22209 FrameRule 5pt 
22210 \backslash
22211 FrameSep 0.5cm
22212 \end_layout
22213
22214 \end_inset
22215
22216
22217 \begin_inset Note Framed
22218 status open
22219
22220 \begin_layout Standard
22221 This is text in a 
22222 \family sans
22223 Framed
22224 \family default
22225  note.
22226 \end_layout
22227
22228 \end_inset
22229
22230
22231 \begin_inset ERT
22232 status collapsed
22233
22234 \begin_layout Standard
22235
22236
22237 \backslash
22238 FrameRule 0.4pt 
22239 \backslash
22240 FrameSep 9pt
22241 \end_layout
22242
22243 \end_inset
22244
22245
22246 \end_layout
22247
22248 \begin_layout Standard
22249 \begin_inset VSpace bigskip
22250 \end_inset
22251
22252
22253 \end_layout
22254
22255 \begin_layout Standard
22256 For 
22257 \family sans
22258 Shaded
22259 \family default
22260  notes the default space between the note content and the note border is
22261  3\InsetSpace \thinspace{}
22262 pt; it can be changed by changing the size 
22263 \series bold
22264
22265 \backslash
22266 fboxsep
22267 \series default
22268 .
22269 \newline
22270 The default background color red can be changed with the command 
22271 \series bold
22272
22273 \backslash
22274 def\SpecialChar \textcompwordmark{}
22275 inecolor{shadebox}
22276 \series default
22277 .
22278  The scheme of the 
22279 \series bold
22280
22281 \backslash
22282 def\SpecialChar \textcompwordmark{}
22283 inecolor
22284 \series default
22285  command is explained in section\InsetSpace ~
22286
22287 \begin_inset LatexCommand ref
22288 reference "sec:Colored-Tables"
22289
22290 \end_inset
22291
22292
22293 \begin_inset Foot
22294 status collapsed
22295
22296 \begin_layout Standard
22297 Note that 
22298 \series bold
22299
22300 \backslash
22301 def
22302 \series default
22303 \SpecialChar \textcompwordmark{}
22304
22305 \series bold
22306 inecolor
22307 \series default
22308  requires the LaTeX-package 
22309 \series bold
22310 color
22311 \series default
22312  in the preamble, see section\InsetSpace ~
22313
22314 \begin_inset LatexCommand ref
22315 reference "sec:Colored-Boxes"
22316
22317 \end_inset
22318
22319 .
22320 \end_layout
22321
22322 \end_inset
22323
22324 .
22325 \end_layout
22326
22327 \begin_layout Standard
22328 For example the appearance of the following 
22329 \family sans
22330 Shaded
22331 \family default
22332  note is set with the TeX-Code commands
22333 \end_layout
22334
22335 \begin_layout Standard
22336
22337 \series bold
22338
22339 \backslash
22340 fboxsep 0.5cm
22341 \series default
22342
22343 \newline
22344
22345 \series bold
22346
22347 \backslash
22348 def\SpecialChar \textcompwordmark{}
22349 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22350 \end_layout
22351
22352 \begin_layout Standard
22353 \begin_inset ERT
22354 status collapsed
22355
22356 \begin_layout Standard
22357
22358
22359 \backslash
22360 fboxsep 0.5cm
22361 \end_layout
22362
22363 \end_inset
22364
22365
22366 \begin_inset ERT
22367 status collapsed
22368
22369 \begin_layout Standard
22370
22371
22372 \backslash
22373 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22374 \end_layout
22375
22376 \end_inset
22377
22378
22379 \begin_inset Note Shaded
22380 status open
22381
22382 \begin_layout Standard
22383
22384 \color yellow
22385 This is yellow text in a
22386 \color none
22387  
22388 \family sans
22389 \color yellow
22390 Shaded
22391 \family default
22392 \color none
22393  
22394 \color yellow
22395 note with darkgreen background.
22396 \end_layout
22397
22398 \end_inset
22399
22400
22401 \begin_inset ERT
22402 status collapsed
22403
22404 \begin_layout Standard
22405
22406
22407 \backslash
22408 fboxsep 3pt
22409 \end_layout
22410
22411 \end_inset
22412
22413
22414 \begin_inset ERT
22415 status collapsed
22416
22417 \begin_layout Standard
22418
22419
22420 \backslash
22421 definecolor{shadecolor}{rgb}{1,0,0}
22422 \end_layout
22423
22424 \end_inset
22425
22426
22427 \end_layout
22428
22429 \begin_layout Section
22430 Footnotes
22431 \begin_inset LatexCommand label
22432 name "sec:Footnotes"
22433
22434 \end_inset
22435
22436
22437 \begin_inset LatexCommand index
22438 name "Notes ! Footnotes"
22439
22440 \end_inset
22441
22442
22443 \begin_inset LatexCommand index
22444 name "Footnotes"
22445
22446 \end_inset
22447
22448
22449 \end_layout
22450
22451 \begin_layout Standard
22452 Footnotes can be inserted using the toolbar button 
22453 \begin_inset Graphics
22454         filename ../images/footnote-insert.png
22455         scale 85
22456         scaleBeforeRotation
22457
22458 \end_inset
22459
22460  or the menu 
22461 \family sans
22462 Insert\SpecialChar \menuseparator
22463 Footnote
22464 \family default
22465 .
22466  
22467 \family roman
22468 \series medium
22469 \bar no
22470 You'll see
22471 \family default
22472 \series default
22473 \bar default
22474  then the following footnote-box: 
22475 \begin_inset Graphics
22476         filename clipart/footnoteQt4.png
22477         scale 80
22478         scaleBeforeRotation
22479
22480 \end_inset
22481
22482  
22483 \family roman
22484 \series medium
22485 \bar no
22486 where you can enter the footnote text.
22487  If you want to turn existing text into a footnote, mark it and click on
22488  the footnote
22489 \family default
22490 \series default
22491 \bar default
22492  toolbar 
22493 \family roman
22494 \series medium
22495 \bar no
22496 button
22497 \family default
22498 \series default
22499 \bar default
22500 .
22501  To change a 
22502 \family roman
22503 \series medium
22504 \bar no
22505 footnote
22506 \family default
22507 \series default
22508 \bar default
22509  to text, press the Backspace key when the cursor is in the first position
22510  of a 
22511 \family roman
22512 \series medium
22513 \bar no
22514 footnote
22515 \family default
22516 \series default
22517 \bar default
22518 , or press the Delete key when the cursor is in the very last position of
22519  the 
22520 \family roman
22521 \series medium
22522 \bar no
22523 footnote
22524 \family default
22525 \series default
22526 \bar default
22527 , respectively.
22528 \end_layout
22529
22530 \begin_layout Standard
22531 Here is an example footnote:
22532 \family roman
22533 \series medium
22534 \bar no
22535
22536 \begin_inset Foot
22537 status open
22538
22539 \begin_layout Standard
22540 \begin_inset LatexCommand label
22541 name "foot:This-is-an"
22542
22543 \end_inset
22544
22545 This is an example footnote.
22546 \end_layout
22547
22548 \end_inset
22549
22550
22551 \family default
22552 \series default
22553 \bar default
22554
22555 \begin_inset ERT
22556 status collapsed
22557
22558 \begin_layout Standard
22559
22560
22561 \backslash
22562 newcounter{MyRepeatFoot}
22563 \end_layout
22564
22565 \begin_layout Standard
22566
22567
22568 \backslash
22569 setcounter{MyRepeatFoot}{
22570 \backslash
22571 thefootnote}
22572 \end_layout
22573
22574 \end_inset
22575
22576
22577 \end_layout
22578
22579 \begin_layout Standard
22580 The footnote will appear in the output as a superscript number at the text
22581  position where the footnote box is placed.
22582  The footnote text is placed at the bottom of the current page.
22583  The footnote number is calculated by LaTeX, the numbers are consecutive.
22584  It depends on your document-class, if the footnote number is reset for
22585  every chapter.
22586 \end_layout
22587
22588 \begin_layout Standard
22589 Footnotes can be referenced like floats: Insert a label into the footnote
22590  and cross-reference this label in the text as described in section\InsetSpace ~
22591
22592 \begin_inset LatexCommand ref
22593 reference "sec:Referencing-Floats"
22594
22595 \end_inset
22596
22597 .
22598 \newline
22599 This is a cross-reference of Footnote\InsetSpace ~
22600
22601 \begin_inset LatexCommand ref
22602 reference "foot:This-is-an"
22603
22604 \end_inset
22605
22606 .
22607 \end_layout
22608
22609 \begin_layout Standard
22610 \begin_inset VSpace defskip
22611 \end_inset
22612
22613 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22614
22615 \begin_inset LatexCommand ref
22616 reference "sec:Minipages"
22617
22618 \end_inset
22619
22620 .
22621  Footnotes within longtables are described in section\InsetSpace ~
22622
22623 \begin_inset LatexCommand ref
22624 reference "sub:Footnotes-in-Longtables"
22625
22626 \end_inset
22627
22628 .
22629 \end_layout
22630
22631 \begin_layout Standard
22632 \begin_inset VSpace defskip
22633 \end_inset
22634
22635 To create only a mark for a footnote, use the command 
22636 \series bold
22637
22638 \backslash
22639 footnotemark[number]
22640 \series default
22641  in TeX-Code.
22642  This is used when you have the same annotation several times in a text
22643  but doesn't want to print the footnote text every time.
22644 \newline
22645 As you don't know
22646  the number of the repeating footnote while you are writing the text, you
22647  have to store its number.
22648  For the following footnote mark example, these commands were inserted in
22649  TeX-Code behind Footnote\InsetSpace ~
22650
22651 \begin_inset LatexCommand ref
22652 reference "foot:This-is-an"
22653
22654 \end_inset
22655
22656  to store the footnote number:
22657 \end_layout
22658
22659 \begin_layout Standard
22660
22661 \series bold
22662
22663 \backslash
22664 newcounter{MyRepeatFoot}
22665 \newline
22666
22667 \backslash
22668 setcounter{MyRepeatFoot}{
22669 \backslash
22670 thefootnote}
22671 \end_layout
22672
22673 \begin_layout Standard
22674 The footnote mark was then created with this command:
22675 \end_layout
22676
22677 \begin_layout Standard
22678
22679 \series bold
22680
22681 \backslash
22682 footnotemark[
22683 \backslash
22684 theMyRepeatFoot]
22685 \end_layout
22686
22687 \begin_layout Standard
22688 Here is an example footnote mark:
22689 \family roman
22690 \series medium
22691 \bar no
22692
22693 \begin_inset ERT
22694 status collapsed
22695
22696 \begin_layout Standard
22697
22698
22699 \backslash
22700 footnotemark[
22701 \backslash
22702 theMyRepeatFoot]
22703 \end_layout
22704
22705 \end_inset
22706
22707
22708 \end_layout
22709
22710 \begin_layout Subsection
22711 Footnote Numbering
22712 \begin_inset LatexCommand label
22713 name "sub:Footnote-Numbering"
22714
22715 \end_inset
22716
22717
22718 \begin_inset LatexCommand index
22719 name "Footnotes ! Numbering"
22720
22721 \end_inset
22722
22723
22724 \end_layout
22725
22726 \begin_layout Standard
22727 To reset the footnote number back to 1 after each section
22728 \family roman
22729 , add this command to your document preamble:
22730 \end_layout
22731
22732 \begin_layout Standard
22733
22734 \series bold
22735
22736 \backslash
22737 @addtoreset{footnote}{section}
22738 \end_layout
22739
22740 \begin_layout Standard
22741 \begin_inset VSpace bigskip
22742 \end_inset
22743
22744 The following preamble command changes the footnote numbering style to small
22745  roman numerals:
22746 \end_layout
22747
22748 \begin_layout Standard
22749
22750 \series bold
22751
22752 \backslash
22753 renewcommand{
22754 \backslash
22755 thefootnote}{
22756 \backslash
22757 roman{footnote}}
22758 \end_layout
22759
22760 \begin_layout Standard
22761 \begin_inset ERT
22762 status collapsed
22763
22764 \begin_layout Standard
22765
22766
22767 \backslash
22768 renewcommand{
22769 \backslash
22770 thefootnote}{
22771 \backslash
22772 roman{footnote}}
22773 \end_layout
22774
22775 \end_inset
22776
22777  This is a footnote with roman numbering:
22778 \begin_inset Foot
22779 status open
22780
22781 \begin_layout Standard
22782 This is an example footnote with roman numbering.
22783 \end_layout
22784
22785 \end_inset
22786
22787
22788 \end_layout
22789
22790 \begin_layout Standard
22791 To change the numbering style to capital roman numerals replace in the command
22792  above 
22793 \series bold
22794
22795 \backslash
22796 roman
22797 \series default
22798  by 
22799 \series bold
22800
22801 \backslash
22802 Roman
22803 \series default
22804 .
22805  To 
22806 \begin_inset Quotes eld
22807 \end_inset
22808
22809 number
22810 \begin_inset Quotes erd
22811 \end_inset
22812
22813  footnotes with capital or small Latin letters use 
22814 \series bold
22815
22816 \backslash
22817 Alph
22818 \series default
22819  or 
22820 \series bold
22821
22822 \backslash
22823 alph
22824 \series default
22825 , respectively.
22826  To 
22827 \begin_inset Quotes eld
22828 \end_inset
22829
22830 number
22831 \begin_inset Quotes erd
22832 \end_inset
22833
22834  footnotes with symbols use 
22835 \series bold
22836
22837 \backslash
22838 fnsymbol
22839 \series default
22840 .
22841 \end_layout
22842
22843 \begin_layout Standard
22844 \begin_inset Note Greyedout
22845 status open
22846
22847 \begin_layout Standard
22848
22849 \series bold
22850 Note:
22851 \series default
22852  You can only number 26 footnotes with Latin letters, because this numbering
22853  is limited to single letters.
22854 \end_layout
22855
22856 \end_inset
22857
22858
22859 \newline
22860
22861 \begin_inset Note Greyedout
22862 status open
22863
22864 \begin_layout Standard
22865
22866 \series bold
22867 Note:
22868 \series default
22869  You can only number 9 footnotes with symbols.
22870 \end_layout
22871
22872 \end_inset
22873
22874
22875 \end_layout
22876
22877 \begin_layout Standard
22878 To return to the default numbering style when you changed to another one,
22879  use 
22880 \series bold
22881
22882 \backslash
22883 arabic
22884 \series default
22885  instead of 
22886 \series bold
22887
22888 \backslash
22889 roman
22890 \series default
22891  in the command above.
22892 \begin_inset ERT
22893 status collapsed
22894
22895 \begin_layout Standard
22896
22897
22898 \backslash
22899 renewcommand{
22900 \backslash
22901 thefootnote}{
22902 \backslash
22903 arabic{footnote}}
22904 \end_layout
22905
22906 \end_inset
22907
22908
22909 \end_layout
22910
22911 \begin_layout Standard
22912 \begin_inset VSpace bigskip
22913 \end_inset
22914
22915
22916 \end_layout
22917
22918 \begin_layout Standard
22919 If you want to have footnotes numbered in the scheme 
22920 \begin_inset Quotes eld
22921 \end_inset
22922
22923 chapter.footnote
22924 \begin_inset Quotes erd
22925 \end_inset
22926
22927 , add the following command to your document preamble:
22928 \end_layout
22929
22930 \begin_layout Standard
22931
22932 \series bold
22933
22934 \backslash
22935 numberwithin{footnote}{chapter}
22936 \end_layout
22937
22938 \begin_layout Standard
22939 To be able to use the command 
22940 \series bold
22941
22942 \backslash
22943 numberwithin
22944 \series default
22945 , set in the tab 
22946 \family sans
22947 Math\InsetSpace ~
22948 Options
22949 \family default
22950  in the document settings the option 
22951 \family sans
22952 Use\InsetSpace ~
22953 AMS\InsetSpace ~
22954 math\InsetSpace ~
22955 package
22956 \family default
22957 .
22958 \end_layout
22959
22960 \begin_layout Standard
22961 \begin_inset ERT
22962 status collapsed
22963
22964 \begin_layout Standard
22965
22966
22967 \backslash
22968 numberwithin{footnote}{chapter}
22969 \end_layout
22970
22971 \end_inset
22972
22973 This is another example footnote:
22974 \series bold
22975
22976 \begin_inset Foot
22977 status open
22978
22979 \begin_layout Standard
22980 This is a footnote numbered in the scheme 
22981 \begin_inset Quotes eld
22982 \end_inset
22983
22984 chapter.footnote
22985 \begin_inset Quotes erd
22986 \end_inset
22987
22988 .
22989 \end_layout
22990
22991 \end_inset
22992
22993
22994 \series default
22995
22996 \begin_inset ERT
22997 status collapsed
22998
22999 \begin_layout Standard
23000
23001
23002 \backslash
23003 renewcommand{
23004 \backslash
23005 thefootnote}{
23006 \backslash
23007 arabic{footnote}}
23008 \end_layout
23009
23010 \end_inset
23011
23012
23013 \end_layout
23014
23015 \begin_layout Standard
23016 \begin_inset Note Greyedout
23017 status open
23018
23019 \begin_layout Standard
23020
23021 \series bold
23022 Note:
23023 \series default
23024  
23025 \series bold
23026
23027 \backslash
23028 numberwithin
23029 \series default
23030  always prints out the footnote number as arabic number; previous redefinitions
23031  to get non-arabic numbers are overwritten.
23032 \end_layout
23033
23034 \end_inset
23035
23036
23037 \end_layout
23038
23039 \begin_layout Standard
23040 So to get for example the scheme 
23041 \begin_inset Quotes eld
23042 \end_inset
23043
23044 chapter.
23045 \backslash
23046 Roman{footnote}
23047 \begin_inset Quotes erd
23048 \end_inset
23049
23050 , use this command instead of 
23051 \series bold
23052
23053 \backslash
23054 numberwithin
23055 \series default
23056 :
23057 \end_layout
23058
23059 \begin_layout Standard
23060
23061 \series bold
23062
23063 \backslash
23064 renewcommand{
23065 \backslash
23066 thefootnote}{
23067 \backslash
23068 thechapter.
23069 \backslash
23070 Roman{footnote}}
23071 \end_layout
23072
23073 \begin_layout Subsection
23074 Footnote Placement
23075 \begin_inset LatexCommand index
23076 name "Footnotes ! Placement"
23077
23078 \end_inset
23079
23080
23081 \end_layout
23082
23083 \begin_layout Standard
23084 If you have several footnotes in one page, they appear without vertical
23085  space between them at the bottom of the page.
23086  To make them better readable you can e.\InsetSpace \thinspace{}
23087 g.\InsetSpace ~
23088 add 1.5\InsetSpace \thinspace{}
23089 mm space with the following
23090  preamble command:
23091 \end_layout
23092
23093 \begin_layout Standard
23094
23095 \series bold
23096
23097 \backslash
23098 let
23099 \backslash
23100 myFoot
23101 \backslash
23102 footnote
23103 \newline
23104
23105 \backslash
23106 renewcommand{
23107 \backslash
23108 footnote}[1]{
23109 \backslash
23110 myFoot{#1
23111 \backslash
23112 vspace{1.5mm}}}
23113 \end_layout
23114
23115 \begin_layout Standard
23116 \begin_inset VSpace bigskip
23117 \end_inset
23118
23119 In a two-column document the footnotes appear at the bottom of every column,
23120  see Figure\InsetSpace ~
23121
23122 \begin_inset LatexCommand ref
23123 reference "fig:Standard-footnote-placement"
23124
23125 \end_inset
23126
23127 .
23128  If the footnotes should only appear at the bottom of the right column,
23129  as in Figure\InsetSpace ~
23130
23131 \begin_inset LatexCommand ref
23132 reference "fig:Footnote-placement-in"
23133
23134 \end_inset
23135
23136 , use the LaTeX-package 
23137 \series bold
23138 ftnright
23139 \series default
23140
23141 \begin_inset LatexCommand index
23142 name "LaTeX-packages ! ftnright"
23143
23144 \end_inset
23145
23146  with this command in the document preamble:
23147 \end_layout
23148
23149 \begin_layout Standard
23150
23151 \series bold
23152
23153 \backslash
23154 usepackage{ftnright}
23155 \end_layout
23156
23157 \begin_layout Standard
23158 \begin_inset Float figure
23159 placement !h
23160 wide false
23161 sideways false
23162 status open
23163
23164 \begin_layout Standard
23165 \begin_inset ERT
23166 status collapsed
23167
23168 \begin_layout Standard
23169
23170
23171 \backslash
23172 framebox{
23173 \end_layout
23174
23175 \end_inset
23176
23177
23178 \begin_inset Graphics
23179         filename clipart/without_fntright.pdf
23180         width 100col%
23181         scaleBeforeRotation
23182
23183 \end_inset
23184
23185
23186 \begin_inset ERT
23187 status collapsed
23188
23189 \begin_layout Standard
23190
23191 }
23192 \end_layout
23193
23194 \end_inset
23195
23196
23197 \end_layout
23198
23199 \begin_layout Standard
23200 \begin_inset Caption
23201
23202 \begin_layout Standard
23203 \begin_inset LatexCommand label
23204 name "fig:Standard-footnote-placement"
23205
23206 \end_inset
23207
23208 Standard footnote placement in two-column documents.
23209 \end_layout
23210
23211 \end_inset
23212
23213
23214 \end_layout
23215
23216 \end_inset
23217
23218
23219 \end_layout
23220
23221 \begin_layout Standard
23222 \begin_inset Float figure
23223 placement !h
23224 wide false
23225 sideways false
23226 status open
23227
23228 \begin_layout Standard
23229 \begin_inset ERT
23230 status collapsed
23231
23232 \begin_layout Standard
23233
23234
23235 \backslash
23236 framebox{
23237 \end_layout
23238
23239 \end_inset
23240
23241
23242 \begin_inset Graphics
23243         filename clipart/with_fntright.pdf
23244         width 100col%
23245         scaleBeforeRotation
23246
23247 \end_inset
23248
23249
23250 \begin_inset ERT
23251 status collapsed
23252
23253 \begin_layout Standard
23254
23255 }
23256 \end_layout
23257
23258 \end_inset
23259
23260
23261 \end_layout
23262
23263 \begin_layout Standard
23264 \begin_inset Caption
23265
23266 \begin_layout Standard
23267 \begin_inset LatexCommand label
23268 name "fig:Footnote-placement-in"
23269
23270 \end_inset
23271
23272 Footnote placement in two-column documents when the LaTeX-package 
23273 \series bold
23274 ftnright
23275 \series default
23276  is used.
23277 \end_layout
23278
23279 \end_inset
23280
23281
23282 \end_layout
23283
23284 \end_inset
23285
23286
23287 \end_layout
23288
23289 \begin_layout Standard
23290 \begin_inset VSpace bigskip
23291 \end_inset
23292
23293 In some scientific literature it is usual to collect the footnotes and print
23294  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23295
23296 \begin_inset LatexCommand ref
23297 reference "fig:Endnotes----footnotes"
23298
23299 \end_inset
23300
23301 .
23302  They are then so called 
23303 \begin_inset Quotes eld
23304 \end_inset
23305
23306 endnotes
23307 \begin_inset Quotes erd
23308 \end_inset
23309
23310 .
23311 \begin_inset LatexCommand index
23312 name "Endnotes"
23313
23314 \end_inset
23315
23316  To use endnotes instead of footnotes in your document, load the LaTeX-package
23317  
23318 \series bold
23319 endnotes
23320 \series default
23321
23322 \begin_inset LatexCommand index
23323 name "LaTeX-packages ! endnotes"
23324
23325 \end_inset
23326
23327  with the document preamble lines
23328 \end_layout
23329
23330 \begin_layout Standard
23331
23332 \series bold
23333
23334 \backslash
23335 usepackage{endnotes}
23336 \newline
23337
23338 \backslash
23339 let
23340 \backslash
23341 footnote
23342 \backslash
23343 endnote
23344 \end_layout
23345
23346 \begin_layout Standard
23347 To insert the collected footnotes, insert the command
23348 \end_layout
23349
23350 \begin_layout Standard
23351
23352 \series bold
23353
23354 \backslash
23355 theendnotes
23356 \end_layout
23357
23358 \begin_layout Standard
23359 in TeX-Code at the the end of a section or chapter.
23360 \end_layout
23361
23362 \begin_layout Standard
23363 \begin_inset Float figure
23364 wide false
23365 sideways false
23366 status open
23367
23368 \begin_layout Standard
23369 \align center
23370 \begin_inset ERT
23371 status collapsed
23372
23373 \begin_layout Standard
23374
23375
23376 \backslash
23377 framebox{
23378 \end_layout
23379
23380 \end_inset
23381
23382
23383 \begin_inset Graphics
23384         filename clipart/endnotes.pdf
23385         scaleBeforeRotation
23386
23387 \end_inset
23388
23389
23390 \begin_inset ERT
23391 status collapsed
23392
23393 \begin_layout Standard
23394
23395 }
23396 \end_layout
23397
23398 \end_inset
23399
23400
23401 \end_layout
23402
23403 \begin_layout Standard
23404 \begin_inset Caption
23405
23406 \begin_layout Standard
23407 \begin_inset LatexCommand label
23408 name "fig:Endnotes----footnotes"
23409
23410 \end_inset
23411
23412 Endnotes -- footnotes are printed in a separate paragraph at the end of
23413  sections or chapters.
23414 \end_layout
23415
23416 \end_inset
23417
23418
23419 \end_layout
23420
23421 \end_inset
23422
23423
23424 \end_layout
23425
23426 \begin_layout Standard
23427 \begin_inset VSpace medskip
23428 \end_inset
23429
23430 The paragraph heading for the endnotes isn't automatically translated into
23431  the document language, this must be done manually.
23432  The following preamble command translate the default English name 
23433 \begin_inset Quotes eld
23434 \end_inset
23435
23436 Notes
23437 \begin_inset Quotes erd
23438 \end_inset
23439
23440  to the German translation 
23441 \begin_inset Quotes eld
23442 \end_inset
23443
23444 Anmerkungen
23445 \begin_inset Quotes erd
23446 \end_inset
23447
23448 :
23449 \end_layout
23450
23451 \begin_layout Standard
23452
23453 \series bold
23454
23455 \backslash
23456 renewcommand{
23457 \backslash
23458 notesname}{Anmerkungen}
23459 \end_layout
23460
23461 \begin_layout Standard
23462 \begin_inset VSpace medskip
23463 \end_inset
23464
23465 The numbering of endnotes can be changed like the footnote numbering as
23466  described in section\InsetSpace ~
23467
23468 \begin_inset LatexCommand ref
23469 reference "sub:Footnote-Numbering"
23470
23471 \end_inset
23472
23473 ; just replace the command 
23474 \series bold
23475
23476 \backslash
23477 thefootnote
23478 \series default
23479  by 
23480 \series bold
23481
23482 \backslash
23483 theendnote
23484 \series default
23485 .
23486  To reset the endnote number use the command 
23487 \series bold
23488
23489 \backslash
23490 @addtoreset
23491 \series default
23492  as described in section\InsetSpace ~
23493
23494 \begin_inset LatexCommand ref
23495 reference "sub:Footnote-Numbering"
23496
23497 \end_inset
23498
23499  and replace the command parameter 
23500 \series bold
23501 footnote
23502 \series default
23503  by 
23504 \series bold
23505 endnote
23506 \series default
23507 .
23508 \end_layout
23509
23510 \begin_layout Standard
23511 To create only a mark for an endnote, use the command 
23512 \series bold
23513
23514 \backslash
23515 endnotemark[number]
23516 \series default
23517  similar to the command 
23518 \series bold
23519
23520 \backslash
23521 footnotemark
23522 \series default
23523 , described in section\InsetSpace ~
23524
23525 \begin_inset LatexCommand ref
23526 reference "sec:Footnotes"
23527
23528 \end_inset
23529
23530 .
23531 \end_layout
23532
23533 \begin_layout Standard
23534 \begin_inset VSpace bigskip
23535 \end_inset
23536
23537 Footnotes can also be placed in the page margin and the footnote text alignment
23538  can be changed, see the LaTeX-package 
23539 \series bold
23540 footmisc
23541 \series default
23542
23543 \begin_inset LatexCommand index
23544 name "LaTeX-packages ! footmisc"
23545
23546 \end_inset
23547
23548
23549 \begin_inset LatexCommand cite
23550 key "footmisc"
23551
23552 \end_inset
23553
23554  for more information about this.
23555 \end_layout
23556
23557 \begin_layout Standard
23558 For various further footnote formatting issues have a look at LaTeX-books,
23559  
23560 \begin_inset LatexCommand cite
23561 key "latexcompanion,latexguide,latexbook"
23562
23563 \end_inset
23564
23565 .
23566 \end_layout
23567
23568 \begin_layout Section
23569 Margin Notes
23570 \begin_inset LatexCommand index
23571 name "Notes ! Margin Notes"
23572
23573 \end_inset
23574
23575
23576 \end_layout
23577
23578 \begin_layout Standard
23579 Margin notes look and behave in LyX like footnotes.
23580  They are inserted via the menu 
23581 \family sans
23582 Insert\SpecialChar \menuseparator
23583 Marginal\InsetSpace ~
23584 Note
23585 \family default
23586  or the toolbar button 
23587 \begin_inset Graphics
23588         filename ../images/marginalnote-insert.png
23589         scale 85
23590         scaleBeforeRotation
23591
23592 \end_inset
23593
23594 .
23595  A grey 
23596 \family roman
23597 \series medium
23598 box with the
23599 \family default
23600 \series default
23601  red 
23602 \family roman
23603 \series medium
23604 label 
23605 \begin_inset Quotes eld
23606 \end_inset
23607
23608 margin
23609 \begin_inset Quotes erd
23610 \end_inset
23611
23612  appears where you can enter the text of the margin note.
23613 \end_layout
23614
23615 \begin_layout Standard
23616 At the side is an example margin note.
23617 \family roman
23618 \series medium
23619
23620 \begin_inset Marginal
23621 status open
23622
23623 \begin_layout Standard
23624 This is a margin note.
23625 \end_layout
23626
23627 \end_inset
23628
23629
23630 \end_layout
23631
23632 \begin_layout Standard
23633 Margin notes appear at the right side in single-sided documents.
23634  In double-sided documents they appear in the outer margin -- left on even
23635  pages, right on odd pages.
23636  The text of margin notes is aligned opposite to the outer margin -- right-align
23637 ed when the note appears in the left margin.
23638  The first line of the margin note is placed at the position of the text
23639  line where it is inserted in the document.
23640 \end_layout
23641
23642 \begin_layout Standard
23643 \begin_inset VSpace bigskip
23644 \end_inset
23645
23646 To place the margin note in the inner margin, add the command
23647 \end_layout
23648
23649 \begin_layout Standard
23650
23651 \series bold
23652
23653 \backslash
23654 reversemarginpar
23655 \end_layout
23656
23657 \begin_layout Standard
23658 in TeX-Code before a margin note.
23659  The new placement is valid for all following margin notes.
23660 \begin_inset ERT
23661 status collapsed
23662
23663 \begin_layout Standard
23664
23665
23666 \backslash
23667 reversemarginpar 
23668 \end_layout
23669
23670 \end_inset
23671
23672
23673 \begin_inset Marginal
23674 status open
23675
23676 \begin_layout Standard
23677 This is a margin note in the inner margin.
23678 \end_layout
23679
23680 \end_inset
23681
23682
23683 \series bold
23684
23685 \newline
23686
23687 \series default
23688
23689 \begin_inset Note Greyedout
23690 status open
23691
23692 \begin_layout Standard
23693
23694 \series bold
23695 Note:
23696 \series default
23697  There is often not enough space in the inner margin so that the notes are
23698  not correctly displayed in the output.
23699 \end_layout
23700
23701 \end_inset
23702
23703
23704 \end_layout
23705
23706 \begin_layout Standard
23707 To return to the default placement insert the command
23708 \end_layout
23709
23710 \begin_layout Standard
23711
23712 \series bold
23713
23714 \backslash
23715 normalmarginpar
23716 \end_layout
23717
23718 \begin_layout Standard
23719 in TeX-Code.
23720 \begin_inset ERT
23721 status collapsed
23722
23723 \begin_layout Standard
23724
23725
23726 \backslash
23727 normalmarginpar 
23728 \end_layout
23729
23730 \end_inset
23731
23732  
23733 \begin_inset Note Greyedout
23734 status open
23735
23736 \begin_layout Standard
23737
23738 \series bold
23739 Note:
23740 \series default
23741  The command is ignored when it is within a paragraph where also the command
23742  
23743 \series bold
23744
23745 \backslash
23746 reversemarginpar
23747 \series default
23748  is inserted.
23749 \end_layout
23750
23751 \end_inset
23752
23753
23754 \end_layout
23755
23756 \begin_layout Standard
23757 \begin_inset VSpace bigskip
23758 \end_inset
23759
23760
23761 \family roman
23762 \series medium
23763
23764 \begin_inset Marginal
23765 status open
23766
23767 \begin_layout Standard
23768 AVeryLongMarginParWord that isn't hyphenated.
23769 \end_layout
23770
23771 \end_inset
23772
23773
23774 \family default
23775 \series default
23776 Similar to the case described in section\InsetSpace ~
23777
23778 \begin_inset LatexCommand ref
23779 reference "sub:Multiple-Lines-in"
23780
23781 \end_inset
23782
23783 , long words cannot be hyphenated when they are the first word in a margin
23784  note.
23785  To avoid this, insert the command
23786 \end_layout
23787
23788 \begin_layout Standard
23789
23790 \series bold
23791
23792 \backslash
23793 hspace{0pt}
23794 \end_layout
23795
23796 \begin_layout Standard
23797 in TeX-Code before the word
23798 \family roman
23799 \series medium
23800 .
23801 \begin_inset Marginal
23802 status open
23803
23804 \begin_layout Standard
23805 \begin_inset ERT
23806 status collapsed
23807
23808 \begin_layout Standard
23809
23810
23811 \backslash
23812 hspace{0pt}
23813 \end_layout
23814
23815 \end_inset
23816
23817 AVeryLongMarginParWord that is hyphenated.
23818 \end_layout
23819
23820 \end_inset
23821
23822
23823 \end_layout
23824
23825 \begin_layout Standard
23826 \begin_inset VSpace bigskip
23827 \end_inset
23828
23829
23830 \end_layout
23831
23832 \begin_layout Standard
23833 \begin_inset Note Greyedout
23834 status open
23835
23836 \begin_layout Standard
23837
23838 \series bold
23839 Note:
23840 \series default
23841  Margin notes can normally not be used inside tables, floats, and footnotes.
23842 \end_layout
23843
23844 \end_inset
23845
23846
23847 \end_layout
23848
23849 \begin_layout Standard
23850 \begin_inset VSpace bigskip
23851 \end_inset
23852
23853
23854 \end_layout
23855
23856 \begin_layout Standard
23857 \begin_inset ERT
23858 status collapsed
23859
23860 \begin_layout Standard
23861
23862
23863 \backslash
23864 ifmarginnote
23865 \end_layout
23866
23867 \end_inset
23868
23869
23870 \begin_inset Note Note
23871 status open
23872
23873 \begin_layout Standard
23874 The following section will only be displayed when the LaTeX-package 
23875 \series bold
23876 marginnote
23877 \series default
23878  is installed.
23879 \end_layout
23880
23881 \end_inset
23882
23883
23884 \end_layout
23885
23886 \begin_layout Standard
23887 This restriction can be evaded by using the LaTeX-package 
23888 \series bold
23889 marginnote
23890 \series default
23891
23892 \begin_inset LatexCommand index
23893 name "LaTeX-packages ! marginnote"
23894
23895 \end_inset
23896
23897 .
23898  By adding these two lines to your document preamble, the command used by
23899  LyX for margin notes is redefined to use the command provided by the 
23900 \series bold
23901 marginnote
23902 \series default
23903 -package:
23904 \end_layout
23905
23906 \begin_layout Standard
23907
23908 \series bold
23909
23910 \backslash
23911 usepackage{marginnote}
23912 \newline
23913
23914 \backslash
23915 let
23916 \backslash
23917 marginpar
23918 \backslash
23919 marginnote
23920 \end_layout
23921
23922 \begin_layout Standard
23923 This is also used in this document because 
23924 \series bold
23925 marginnote
23926 \series default
23927  has another useful feature: You can set a vertical offset for the note.
23928  This is often needed when too many margin notes are too close together
23929  or for a better page layout.
23930  The offset is set in LyX as TeX-Code directly behind the margin note in
23931  the scheme
23932 \end_layout
23933
23934 \begin_layout Standard
23935
23936 \series bold
23937 [offset]
23938 \end_layout
23939
23940 \begin_layout Standard
23941 where the offset is a length with one of the units listed in Table\InsetSpace ~
23942
23943 \begin_inset LatexCommand ref
23944 reference "tab:Units"
23945
23946 \end_inset
23947
23948 .
23949  A negative value shifts the note up, a positive value shifts it down.
23950  
23951 \family roman
23952 \series medium
23953 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23954 cm with
23955  the TeX-Code-command 
23956 \begin_inset Quotes eld
23957 \end_inset
23958
23959
23960 \family default
23961 \series bold
23962 [-1.5cm]
23963 \family roman
23964 \series medium
23965
23966 \begin_inset Quotes erd
23967 \end_inset
23968
23969
23970 \begin_inset Marginal
23971 status open
23972
23973 \begin_layout Standard
23974 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23975 cm from its original position.
23976 \end_layout
23977
23978 \end_inset
23979
23980
23981 \family default
23982 \series default
23983
23984 \begin_inset ERT
23985 status collapsed
23986
23987 \begin_layout Standard
23988
23989 [-1.5cm]
23990 \end_layout
23991
23992 \end_inset
23993
23994
23995 \end_layout
23996
23997 \begin_layout Standard
23998 \begin_inset VSpace medskip
23999 \end_inset
24000
24001 With 
24002 \series bold
24003 marginnote
24004 \series default
24005  you can also change the alignment of the text in the margin note.
24006  For example the commands
24007 \end_layout
24008
24009 \begin_layout Standard
24010
24011 \series bold
24012
24013 \backslash
24014 renewcommand*{
24015 \backslash
24016 raggedleftmarginnote}{
24017 \backslash
24018 centering}
24019 \newline
24020
24021 \backslash
24022 renewcommand*{
24023 \backslash
24024 raggedrightmarginnote}{
24025 \backslash
24026 centering}
24027 \end_layout
24028
24029 \begin_layout Standard
24030 set the alignment to centered.
24031  
24032 \series bold
24033
24034 \backslash
24035 raggedleftmarginnote
24036 \series default
24037  denotes margin notes that appear at the left side.
24038 \family roman
24039 \series medium
24040
24041 \begin_inset ERT
24042 status collapsed
24043
24044 \begin_layout Standard
24045
24046
24047 \backslash
24048 renewcommand*{
24049 \backslash
24050 raggedleftmarginnote}{
24051 \backslash
24052 centering}
24053 \end_layout
24054
24055 \begin_layout Standard
24056
24057
24058 \backslash
24059 renewcommand*{
24060 \backslash
24061 raggedrightmarginnote}{
24062 \backslash
24063 centering}
24064 \end_layout
24065
24066 \end_inset
24067
24068
24069 \begin_inset Marginal
24070 status open
24071
24072 \begin_layout Standard
24073 The text of this margin note is centered.
24074 \end_layout
24075
24076 \end_inset
24077
24078
24079 \family default
24080 \series default
24081  The default is
24082 \end_layout
24083
24084 \begin_layout Standard
24085
24086 \series bold
24087
24088 \backslash
24089 renewcommand*{
24090 \backslash
24091 raggedleftmarginnote}{
24092 \backslash
24093 raggedleft}
24094 \newline
24095
24096 \backslash
24097 renewcommand*{
24098 \backslash
24099 raggedrightmarginnote}{
24100 \backslash
24101 raggedright}
24102 \family roman
24103 \series medium
24104
24105 \begin_inset ERT
24106 status collapsed
24107
24108 \begin_layout Standard
24109
24110
24111 \backslash
24112 renewcommand*{
24113 \backslash
24114 raggedleftmarginnote}{
24115 \backslash
24116 raggedleft}
24117 \end_layout
24118
24119 \begin_layout Standard
24120
24121
24122 \backslash
24123 renewcommand*{
24124 \backslash
24125 raggedrightmarginnote}{
24126 \backslash
24127 raggedright}
24128 \end_layout
24129
24130 \end_inset
24131
24132
24133 \end_layout
24134
24135 \begin_layout Standard
24136 \begin_inset VSpace medskip
24137 \end_inset
24138
24139 For the other features of 
24140 \series bold
24141 marginnote
24142 \series default
24143  we refer to its documentation 
24144 \begin_inset LatexCommand cite
24145 key "marginnote"
24146
24147 \end_inset
24148
24149 .
24150 \end_layout
24151
24152 \begin_layout Standard
24153 \begin_inset VSpace bigskip
24154 \end_inset
24155
24156 You can adjust the layout of margin notes by changing its definition.
24157  To create for example a header for all margin notes with the underlined,
24158  sans-serif, and bold header text 
24159 \begin_inset Quotes eld
24160 \end_inset
24161
24162
24163 \family sans
24164 \series bold
24165 \bar under
24166 Attention!
24167 \family default
24168 \series default
24169 \bar default
24170
24171 \begin_inset Quotes erd
24172 \end_inset
24173
24174 , add this to your document preamble:
24175 \end_layout
24176
24177 \begin_layout Standard
24178
24179 \series bold
24180
24181 \backslash
24182 let
24183 \backslash
24184 myMarginpar
24185 \backslash
24186 marginpar
24187 \newline
24188
24189 \backslash
24190 renewcommand{
24191 \backslash
24192 marginpar}[1]{
24193 \backslash
24194 myMarginpar{%
24195 \newline
24196
24197 \begin_inset ERT
24198 status collapsed
24199
24200 \begin_layout Standard
24201
24202
24203 \backslash
24204 hphantom{ }
24205 \end_layout
24206
24207 \end_inset
24208
24209
24210 \backslash
24211 hspace{0pt}
24212 \backslash
24213 textsf{
24214 \backslash
24215 textbf{
24216 \backslash
24217 underbar{Attention!}}}%
24218 \newline
24219
24220 \begin_inset ERT
24221 status collapsed
24222
24223 \begin_layout Standard
24224
24225
24226 \backslash
24227 hphantom{ }
24228 \end_layout
24229
24230 \end_inset
24231
24232
24233 \backslash
24234 vspace{1.5mm}
24235 \backslash
24236
24237 \backslash
24238 #1}}
24239 \end_layout
24240
24241 \begin_layout Standard
24242
24243 \family roman
24244 \series medium
24245 \begin_inset ERT
24246 status collapsed
24247
24248 \begin_layout Standard
24249
24250
24251 \backslash
24252 let
24253 \backslash
24254 myMarginpar
24255 \backslash
24256 marginpar
24257 \end_layout
24258
24259 \begin_layout Standard
24260
24261
24262 \backslash
24263 renewcommand{
24264 \backslash
24265 marginpar}[1]{
24266 \backslash
24267 myMarginpar{%
24268 \end_layout
24269
24270 \begin_layout Standard
24271
24272    
24273 \backslash
24274 textsf{
24275 \backslash
24276 textbf{
24277 \backslash
24278 underbar{Attention!}}}%
24279 \end_layout
24280
24281 \begin_layout Standard
24282
24283    
24284 \backslash
24285 vspace{1.5mm}
24286 \backslash
24287
24288 \backslash
24289 #1}}
24290 \end_layout
24291
24292 \end_inset
24293
24294
24295 \begin_inset Marginal
24296 status open
24297
24298 \begin_layout Standard
24299 This is a margin note with a defined heading.
24300 \end_layout
24301
24302 \end_inset
24303
24304
24305 \family default
24306 \series default
24307
24308 \begin_inset ERT
24309 status collapsed
24310
24311 \begin_layout Standard
24312
24313 [-1.5cm]
24314 \end_layout
24315
24316 \end_inset
24317
24318
24319 \family roman
24320 \series medium
24321
24322 \begin_inset ERT
24323 status collapsed
24324
24325 \begin_layout Standard
24326
24327
24328 \backslash
24329 renewcommand{
24330 \backslash
24331 marginpar}[1]{
24332 \backslash
24333 myMarginpar{#1}}
24334 \end_layout
24335
24336 \end_inset
24337
24338
24339 \family default
24340 \series default
24341
24342 \begin_inset Note Note
24343 status collapsed
24344
24345 \begin_layout Standard
24346 The margin note format is changed only for this example.
24347 \end_layout
24348
24349 \end_inset
24350
24351
24352 \end_layout
24353
24354 \begin_layout Standard
24355 \begin_inset ERT
24356 status collapsed
24357
24358 \begin_layout Standard
24359
24360
24361 \backslash
24362 else
24363 \end_layout
24364
24365 \end_inset
24366
24367
24368 \begin_inset Note Note
24369 status open
24370
24371 \begin_layout Standard
24372 The following will be displayed when the LaTeX-package 
24373 \series bold
24374 marginnote
24375 \series default
24376  is not installed:
24377 \end_layout
24378
24379 \end_inset
24380
24381
24382 \end_layout
24383
24384 \begin_layout Standard
24385 You need to install the LaTeX-package 
24386 \series bold
24387 marginnote
24388 \series default
24389  to see the following part of this section in the output.
24390 \end_layout
24391
24392 \begin_layout Standard
24393 \begin_inset ERT
24394 status collapsed
24395
24396 \begin_layout Standard
24397
24398
24399 \backslash
24400 fi
24401 \end_layout
24402
24403 \end_inset
24404
24405
24406 \end_layout
24407
24408 \begin_layout Chapter
24409 Boxes
24410 \end_layout
24411
24412 \begin_layout Section
24413 Introduction
24414 \begin_inset LatexCommand index
24415 name "Boxes ! Introduction"
24416
24417 \end_inset
24418
24419
24420 \end_layout
24421
24422 \begin_layout Standard
24423 Boxes are used to format a block of text.
24424  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24425
24426 \begin_inset LatexCommand ref
24427 reference "sec:Minipages"
24428
24429 \end_inset
24430
24431 , to frame texts, see section\InsetSpace ~
24432
24433 \begin_inset LatexCommand ref
24434 reference "sec:Framed-Boxes"
24435
24436 \end_inset
24437
24438 , to prevent words to be hyphenated, see section\InsetSpace ~
24439
24440 \begin_inset LatexCommand ref
24441 reference "sec:Prevent-Hyphenation"
24442
24443 \end_inset
24444
24445 , to align text, see section\InsetSpace ~
24446
24447 \begin_inset LatexCommand ref
24448 reference "sub:Vertical-Alignment"
24449
24450 \end_inset
24451
24452 , or to set the background color of texts, see section\InsetSpace ~
24453
24454 \begin_inset LatexCommand ref
24455 reference "sec:Colored-Boxes"
24456
24457 \end_inset
24458
24459 .
24460 \end_layout
24461
24462 \begin_layout Standard
24463 Boxes can be inserted with the menu 
24464 \family sans
24465 Insert\SpecialChar \menuseparator
24466 Box
24467 \family default
24468  or the toolbar button 
24469 \begin_inset Graphics
24470         filename ../images/box-insert.png
24471         scale 85
24472         scaleBeforeRotation
24473
24474 \end_inset
24475
24476 .
24477  A grey box with the label 
24478 \family sans
24479 Box (Minipage)
24480 \family default
24481
24482 \begin_inset Graphics
24483         filename clipart/BoxInsetDefaultQt4.png
24484         scale 85
24485         scaleBeforeRotation
24486
24487 \end_inset
24488
24489 , will be inserted.
24490  The box type can be specified by right-clicking on the box.
24491  The appearing box dialog offers the 
24492 \family sans
24493 Inner\InsetSpace ~
24494 Box
24495 \family default
24496  types 
24497 \family sans
24498 Parbox
24499 \family default
24500  and 
24501 \family sans
24502 Minipage
24503 \family default
24504 .
24505  The type 
24506 \family sans
24507 Minipage
24508 \family default
24509  is the default for new boxes and is explained in section\InsetSpace ~
24510
24511 \begin_inset LatexCommand ref
24512 reference "sec:Minipages"
24513
24514 \end_inset
24515
24516 ; the type 
24517 \family sans
24518 Parbox
24519 \family default
24520  is described in section\InsetSpace ~
24521
24522 \begin_inset LatexCommand ref
24523 reference "sec:Parboxes"
24524
24525 \end_inset
24526
24527 .
24528 \end_layout
24529
24530 \begin_layout Standard
24531 Boxes aren't numbered and can therefore not be referenced like floats or
24532  footnotes.
24533 \end_layout
24534
24535 \begin_layout Standard
24536 \begin_inset Note Greyedout
24537 status open
24538
24539 \begin_layout Standard
24540
24541 \series bold
24542 Note:
24543 \series default
24544  Boxes must not be the item in an 
24545 \family sans
24546 Itemize
24547 \family default
24548  or 
24549 \family sans
24550 Description
24551 \family default
24552  environment.
24553 \end_layout
24554
24555 \end_inset
24556
24557
24558 \end_layout
24559
24560 \begin_layout Standard
24561 \begin_inset Note Greyedout
24562 status open
24563
24564 \begin_layout Standard
24565
24566 \series bold
24567 Note:
24568 \series default
24569  For an unknown reason you can only set the 
24570 \family sans
24571 Inner\InsetSpace ~
24572 Box
24573 \family default
24574  type to 
24575 \family sans
24576 None
24577 \family default
24578  when you use a framed box.
24579  Boxes without an 
24580 \family sans
24581 Inner\InsetSpace ~
24582 Box
24583 \family default
24584  type and without frames are explained in section\InsetSpace ~
24585
24586 \begin_inset LatexCommand ref
24587 reference "sec:Prevent-Hyphenation"
24588
24589 \end_inset
24590
24591 .
24592 \end_layout
24593
24594 \end_inset
24595
24596
24597 \end_layout
24598
24599 \begin_layout Section
24600 Box Dialog
24601 \begin_inset LatexCommand label
24602 name "sec:Box-Dialog"
24603
24604 \end_inset
24605
24606
24607 \begin_inset LatexCommand index
24608 name "Boxes ! Box Dialog"
24609
24610 \end_inset
24611
24612
24613 \begin_inset LatexCommand index
24614 name "Boxes ! Alignment"
24615
24616 \end_inset
24617
24618
24619 \end_layout
24620
24621 \begin_layout Standard
24622 In the box dialog you can adjust the box geometry in the fields 
24623 \family sans
24624 Width
24625 \family default
24626  and 
24627 \family sans
24628 Height
24629 \family default
24630 .
24631  The available units for the geometry are explained in Table\InsetSpace ~
24632
24633 \begin_inset LatexCommand ref
24634 reference "tab:Units"
24635
24636 \end_inset
24637
24638 .
24639  The field 
24640 \family sans
24641 Heigth
24642 \family default
24643  offers the following additional sizes:
24644 \end_layout
24645
24646 \begin_layout Description
24647 Depth This is the plain text 
24648 \begin_inset Quotes eld
24649 \end_inset
24650
24651 height
24652 \begin_inset Quotes erd
24653 \end_inset
24654
24655 .
24656  It ignores the total depth when there are multiple text lines in the box:
24657 \newline
24658
24659 \newline
24660
24661 \newline
24662
24663 \begin_inset Box Boxed
24664 position "c"
24665 hor_pos "c"
24666 has_inner_box 1
24667 inner_pos "c"
24668 use_parbox 0
24669 width "12col%"
24670 special "none"
24671 height "1in"
24672 height_special "depth"
24673 status collapsed
24674
24675 \begin_layout Standard
24676 \align center
24677 Box height set to 1\InsetSpace \thinspace{}
24678 Depth
24679 \end_layout
24680
24681 \end_inset
24682
24683
24684 \newline
24685
24686 \newline
24687
24688 \end_layout
24689
24690 \begin_layout Description
24691 Height This is the heigth of the text that is inside the box.
24692  A value of e.\InsetSpace \thinspace{}
24693 g.\InsetSpace ~
24694 2 for this size will set the box heigth to 2 times the text
24695  height: 
24696 \begin_inset Box Boxed
24697 position "c"
24698 hor_pos "c"
24699 has_inner_box 1
24700 inner_pos "c"
24701 use_parbox 0
24702 width "20col%"
24703 special "none"
24704 height "2in"
24705 height_special "height"
24706 status collapsed
24707
24708 \begin_layout Standard
24709 \align center
24710 Box height set to 2\InsetSpace \thinspace{}
24711 Height
24712 \end_layout
24713
24714 \end_inset
24715
24716
24717 \end_layout
24718
24719 \begin_layout Description
24720 Total\InsetSpace ~
24721 Height This is the Height\InsetSpace \thinspace{}
24722 +\InsetSpace \thinspace{}
24723 Depth: 
24724 \begin_inset Box Boxed
24725 position "c"
24726 hor_pos "c"
24727 has_inner_box 1
24728 inner_pos "c"
24729 use_parbox 0
24730 width "20col%"
24731 special "none"
24732 height "1in"
24733 height_special "totalheight"
24734 status collapsed
24735
24736 \begin_layout Standard
24737 \align center
24738 Box height set to 1\InsetSpace \thinspace{}
24739 Total\InsetSpace ~
24740 Height
24741 \end_layout
24742
24743 \end_inset
24744
24745
24746 \end_layout
24747
24748 \begin_layout Description
24749 Width This sets the width of the box as heigth: 
24750 \begin_inset Box Boxed
24751 position "c"
24752 hor_pos "c"
24753 has_inner_box 1
24754 inner_pos "c"
24755 use_parbox 0
24756 width "12col%"
24757 special "none"
24758 height "1in"
24759 height_special "width"
24760 status collapsed
24761
24762 \begin_layout Standard
24763 \align center
24764 Box height set to 1\InsetSpace \thinspace{}
24765 Width
24766 \end_layout
24767
24768 \end_inset
24769
24770
24771 \end_layout
24772
24773 \begin_layout Standard
24774 \begin_inset VSpace bigskip
24775 \end_inset
24776
24777 When you have chosen an 
24778 \family sans
24779 Inner\InsetSpace ~
24780 Box
24781 \family default
24782 , the vertical box alignment can be:
24783 \end_layout
24784
24785 \begin_layout Description
24786 Top This is an example text line.
24787  
24788 \begin_inset Box Boxed
24789 position "t"
24790 hor_pos "c"
24791 has_inner_box 1
24792 inner_pos "c"
24793 use_parbox 0
24794 width "12col%"
24795 special "none"
24796 height "1in"
24797 height_special "totalheight"
24798 status collapsed
24799
24800 \begin_layout Standard
24801 \align center
24802 This box is top-aligned.
24803 \end_layout
24804
24805 \end_inset
24806
24807  This is an example text line.
24808 \end_layout
24809
24810 \begin_layout Description
24811 Middle This is an example text line.
24812  
24813 \begin_inset Box Boxed
24814 position "c"
24815 hor_pos "c"
24816 has_inner_box 1
24817 inner_pos "c"
24818 use_parbox 0
24819 width "12col%"
24820 special "none"
24821 height "1in"
24822 height_special "totalheight"
24823 status collapsed
24824
24825 \begin_layout Standard
24826 \align center
24827 This box is middle-aligned.
24828 \end_layout
24829
24830 \end_inset
24831
24832  This is an example text line.
24833 \end_layout
24834
24835 \begin_layout Description
24836 Bottom This is an example text line.
24837  
24838 \begin_inset Box Boxed
24839 position "b"
24840 hor_pos "c"
24841 has_inner_box 1
24842 inner_pos "c"
24843 use_parbox 0
24844 width "12col%"
24845 special "none"
24846 height "1in"
24847 height_special "totalheight"
24848 status collapsed
24849
24850 \begin_layout Standard
24851 \align center
24852 This box is bottom-aligned.
24853 \end_layout
24854
24855 \end_inset
24856
24857  This is an example text line.
24858 \end_layout
24859
24860 \begin_layout Standard
24861 The horizontal box alignment can be set via LyX's paragraph dialog when
24862  you set the box into its own paragraph.
24863 \end_layout
24864
24865 \begin_layout Standard
24866 \begin_inset VSpace bigskip
24867 \end_inset
24868
24869 When you have chosen an 
24870 \family sans
24871 Inner\InsetSpace ~
24872 Box
24873 \family default
24874 , the box content can be vertical aligned to:
24875 \end_layout
24876
24877 \begin_layout Description
24878 top This is an example text line.
24879  
24880 \begin_inset Box Boxed
24881 position "c"
24882 hor_pos "c"
24883 has_inner_box 1
24884 inner_pos "t"
24885 use_parbox 0
24886 width "12col%"
24887 special "none"
24888 height "1.5in"
24889 height_special "totalheight"
24890 status collapsed
24891
24892 \begin_layout Standard
24893 \align center
24894 This box text is top-aligned.
24895 \end_layout
24896
24897 \end_inset
24898
24899  This is an example text line.
24900 \end_layout
24901
24902 \begin_layout Description
24903 middle This is an example text line.
24904  
24905 \begin_inset Box Boxed
24906 position "c"
24907 hor_pos "c"
24908 has_inner_box 1
24909 inner_pos "c"
24910 use_parbox 0
24911 width "12col%"
24912 special "none"
24913 height "1.5in"
24914 height_special "totalheight"
24915 status collapsed
24916
24917 \begin_layout Standard
24918 \align center
24919 This box text is middle-aligned.
24920 \end_layout
24921
24922 \end_inset
24923
24924  This is an example text line.
24925 \end_layout
24926
24927 \begin_layout Description
24928 bottom This is an example text line.
24929  
24930 \begin_inset Box Boxed
24931 position "c"
24932 hor_pos "c"
24933 has_inner_box 1
24934 inner_pos "b"
24935 use_parbox 0
24936 width "12col%"
24937 special "none"
24938 height "1.5in"
24939 height_special "totalheight"
24940 status collapsed
24941
24942 \begin_layout Standard
24943 \align center
24944 This box text is bottom-aligned.
24945 \end_layout
24946
24947 \end_inset
24948
24949  This is an example text line.
24950 \end_layout
24951
24952 \begin_layout Description
24953 stretch This is an example text line.
24954  
24955 \begin_inset Box Boxed
24956 position "c"
24957 hor_pos "c"
24958 has_inner_box 1
24959 inner_pos "s"
24960 use_parbox 0
24961 width "12col%"
24962 special "none"
24963 height "1.5in"
24964 height_special "totalheight"
24965 status collapsed
24966
24967 \begin_layout Standard
24968 \align center
24969 This box
24970 \end_layout
24971
24972 \begin_layout Standard
24973 \align center
24974 text is
24975 \end_layout
24976
24977 \begin_layout Standard
24978 \align center
24979 stretched.
24980 \end_layout
24981
24982 \end_inset
24983
24984  This is an example text line.
24985 \end_layout
24986
24987 \begin_layout Standard
24988 To stretch the box content, it must consist of more than one paragraph.
24989  In the example above every text line is in an own paragraph.
24990 \end_layout
24991
24992 \begin_layout Standard
24993 \begin_inset VSpace bigskip
24994 \end_inset
24995
24996 To align the box content horizontally you can use LyX's paragraph dialog
24997  when you have chosen an 
24998 \family sans
24999 Inner\InsetSpace ~
25000 Box
25001 \family default
25002 .
25003 \end_layout
25004
25005 \begin_layout Standard
25006 \align center
25007 \begin_inset Box Boxed
25008 position "c"
25009 hor_pos "c"
25010 has_inner_box 1
25011 inner_pos "s"
25012 use_parbox 0
25013 width "15col%"
25014 special "none"
25015 height "1.25in"
25016 height_special "totalheight"
25017 status collapsed
25018
25019 \begin_layout Standard
25020 \align left
25021 This box
25022 \end_layout
25023
25024 \begin_layout Standard
25025 \align center
25026 text is
25027 \end_layout
25028
25029 \begin_layout Standard
25030 \align right
25031 stretched.
25032 \end_layout
25033
25034 \end_inset
25035
25036
25037 \end_layout
25038
25039 \begin_layout Standard
25040 If you haven't set an 
25041 \family sans
25042 Inner\InsetSpace ~
25043 Box
25044 \family default
25045 , you can align the box content horizontally in the box dialog.
25046 \end_layout
25047
25048 \begin_layout Standard
25049 \align center
25050 \begin_inset Box Boxed
25051 position "c"
25052 hor_pos "s"
25053 has_inner_box 0
25054 inner_pos "s"
25055 use_parbox 0
25056 width "90col%"
25057 special "none"
25058 height "1.25in"
25059 height_special "totalheight"
25060 status collapsed
25061
25062 \begin_layout Standard
25063 \align left
25064 This box text is horizontally stretched.
25065 \end_layout
25066
25067 \end_inset
25068
25069
25070 \end_layout
25071
25072 \begin_layout Section
25073 Framed Boxes
25074 \begin_inset LatexCommand label
25075 name "sec:Framed-Boxes"
25076
25077 \end_inset
25078
25079
25080 \begin_inset LatexCommand index
25081 name "Boxes ! Frames"
25082
25083 \end_inset
25084
25085
25086 \end_layout
25087
25088 \begin_layout Standard
25089 The frame style of the box can be specified in the box-dialog in the drop-down
25090  list 
25091 \family sans
25092 Type
25093 \family default
25094 .
25095  The following frame types are possible:
25096 \end_layout
25097
25098 \begin_layout Description
25099 Rectangular\InsetSpace ~
25100 box This draws a rectangle frame around the box.
25101  The frame line thickness has the size of 
25102 \series bold
25103
25104 \backslash
25105 fboxrule
25106 \series default
25107 .
25108  
25109 \begin_inset Box Boxed
25110 position "c"
25111 hor_pos "c"
25112 has_inner_box 1
25113 inner_pos "c"
25114 use_parbox 0
25115 width "20col%"
25116 special "none"
25117 height "1in"
25118 height_special "totalheight"
25119 status collapsed
25120
25121 \begin_layout Standard
25122 \align center
25123 Rectangular box
25124 \end_layout
25125
25126 \end_inset
25127
25128
25129 \end_layout
25130
25131 \begin_layout Description
25132 Oval\InsetSpace ~
25133 box,\InsetSpace ~
25134 thin This draws an oval frame around the box.
25135  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
25136 pt.
25137  
25138 \begin_inset Box ovalbox
25139 position "c"
25140 hor_pos "c"
25141 has_inner_box 1
25142 inner_pos "c"
25143 use_parbox 0
25144 width "20col%"
25145 special "none"
25146 height "1in"
25147 height_special "totalheight"
25148 status collapsed
25149
25150 \begin_layout Standard
25151 \align center
25152 Oval box, thin
25153 \end_layout
25154
25155 \end_inset
25156
25157
25158 \end_layout
25159
25160 \begin_layout Description
25161 Oval\InsetSpace ~
25162 box,\InsetSpace ~
25163 thick This draws an oval frame around the box.
25164  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25165 pt.
25166  
25167 \begin_inset Box Ovalbox
25168 position "c"
25169 hor_pos "c"
25170 has_inner_box 1
25171 inner_pos "c"
25172 use_parbox 0
25173 width "20col%"
25174 special "none"
25175 height "1in"
25176 height_special "totalheight"
25177 status collapsed
25178
25179 \begin_layout Standard
25180 \align center
25181 Oval box, thick
25182 \end_layout
25183
25184 \end_inset
25185
25186
25187 \end_layout
25188
25189 \begin_layout Description
25190 Shadow\InsetSpace ~
25191 box This draws a rectangle frame with a shadow around the box.
25192  The frame line thickness has the size of 
25193 \series bold
25194
25195 \backslash
25196 fboxrule
25197 \series default
25198 , the shadow has a width of 4\InsetSpace \thinspace{}
25199 pt.
25200  
25201 \begin_inset Box Shadowbox
25202 position "c"
25203 hor_pos "c"
25204 has_inner_box 1
25205 inner_pos "c"
25206 use_parbox 0
25207 width "20col%"
25208 special "none"
25209 height "1in"
25210 height_special "totalheight"
25211 status collapsed
25212
25213 \begin_layout Standard
25214 \align center
25215 Shadow box
25216 \end_layout
25217
25218 \end_inset
25219
25220
25221 \end_layout
25222
25223 \begin_layout Description
25224 Double\InsetSpace ~
25225 box This draws a double-line rectangle frame around the box.
25226  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25227
25228 \series bold
25229
25230 \backslash
25231 fboxrule
25232 \series default
25233 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25234
25235 \series bold
25236
25237 \backslash
25238 fboxrule
25239 \series default
25240 .
25241  The distance between the lines is 1.5\InsetSpace \thinspace{}
25242
25243 \series bold
25244
25245 \backslash
25246 fboxrule
25247 \series default
25248 \InsetSpace \thinspace{}
25249 +\InsetSpace \thinspace{}
25250 0.5\InsetSpace \thinspace{}
25251 pt.
25252  
25253 \begin_inset Box Doublebox
25254 position "c"
25255 hor_pos "c"
25256 has_inner_box 1
25257 inner_pos "c"
25258 use_parbox 0
25259 width "20col%"
25260 special "none"
25261 height "1in"
25262 height_special "totalheight"
25263 status collapsed
25264
25265 \begin_layout Standard
25266 \align center
25267 Double box
25268 \end_layout
25269
25270 \end_inset
25271
25272
25273 \end_layout
25274
25275 \begin_layout Standard
25276 \begin_inset VSpace bigskip
25277 \end_inset
25278
25279 LyX's box label will change to the used frame style when you set a frame.
25280  To be able to use the different frame styles, the LaTeX-package 
25281 \series bold
25282 fancybox
25283 \series default
25284
25285 \begin_inset LatexCommand index
25286 name "LaTeX-packages ! fancybox"
25287
25288 \end_inset
25289
25290  must be installed.
25291 \end_layout
25292
25293 \begin_layout Standard
25294 \begin_inset VSpace bigskip
25295 \end_inset
25296
25297 The default value for the size 
25298 \series bold
25299
25300 \backslash
25301 fboxrule
25302 \series default
25303  is 0.4\InsetSpace \thinspace{}
25304 pt.
25305  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25306 g.\InsetSpace ~
25307 2\InsetSpace \thinspace{}
25308 pt:
25309 \end_layout
25310
25311 \begin_layout Standard
25312
25313 \series bold
25314
25315 \backslash
25316 setlength{
25317 \backslash
25318 fboxrule}{2pt}
25319 \end_layout
25320
25321 \begin_layout Standard
25322 \begin_inset ERT
25323 status collapsed
25324
25325 \begin_layout Standard
25326
25327
25328 \backslash
25329 setlength{
25330 \backslash
25331 fboxrule}{2pt}
25332 \end_layout
25333
25334 \end_inset
25335
25336
25337 \begin_inset Box Boxed
25338 position "c"
25339 hor_pos "c"
25340 has_inner_box 1
25341 inner_pos "c"
25342 use_parbox 0
25343 width "25col%"
25344 special "none"
25345 height "1in"
25346 height_special "totalheight"
25347 status collapsed
25348
25349 \begin_layout Standard
25350 \align center
25351 Rectangular box with 
25352 \series bold
25353
25354 \backslash
25355 fboxrule
25356 \series default
25357 \InsetSpace \thinspace{}
25358 =\InsetSpace \thinspace{}
25359 2\InsetSpace \thinspace{}
25360 pt
25361 \end_layout
25362
25363 \end_inset
25364
25365
25366 \begin_inset ERT
25367 status collapsed
25368
25369 \begin_layout Standard
25370
25371
25372 \backslash
25373 setlength{
25374 \backslash
25375 fboxrule}{0.4pt}
25376 \end_layout
25377
25378 \end_inset
25379
25380
25381 \end_layout
25382
25383 \begin_layout Standard
25384 \begin_inset VSpace bigskip
25385 \end_inset
25386
25387 The space between the frame and the box content is for all frame styles
25388  by default 3\InsetSpace \thinspace{}
25389 pt.
25390  You can change it by setting the length 
25391 \series bold
25392
25393 \backslash
25394 fboxsep
25395 \series default
25396  to another value.
25397  For example the command
25398 \end_layout
25399
25400 \begin_layout Standard
25401
25402 \series bold
25403
25404 \backslash
25405 setlength{
25406 \backslash
25407 fboxsep}{10pt}
25408 \end_layout
25409
25410 \begin_layout Standard
25411 sets the value to 10\InsetSpace \thinspace{}
25412 pt, like for the following box:
25413 \end_layout
25414
25415 \begin_layout Standard
25416 \begin_inset ERT
25417 status collapsed
25418
25419 \begin_layout Standard
25420
25421
25422 \backslash
25423 setlength{
25424 \backslash
25425 fboxsep}{10pt}
25426 \end_layout
25427
25428 \end_inset
25429
25430
25431 \begin_inset Box Boxed
25432 position "c"
25433 hor_pos "c"
25434 has_inner_box 1
25435 inner_pos "c"
25436 use_parbox 0
25437 width "25col%"
25438 special "none"
25439 height "1in"
25440 height_special "totalheight"
25441 status collapsed
25442
25443 \begin_layout Standard
25444 \align center
25445 Rectangular box with 
25446 \series bold
25447
25448 \backslash
25449 fboxsep
25450 \series default
25451 \InsetSpace \thinspace{}
25452 =\InsetSpace \thinspace{}
25453 10\InsetSpace \thinspace{}
25454 pt
25455 \end_layout
25456
25457 \end_inset
25458
25459
25460 \begin_inset ERT
25461 status collapsed
25462
25463 \begin_layout Standard
25464
25465
25466 \backslash
25467 setlength{
25468 \backslash
25469 fboxsep}{3pt}
25470 \end_layout
25471
25472 \end_inset
25473
25474
25475 \end_layout
25476
25477 \begin_layout Standard
25478 \begin_inset VSpace bigskip
25479 \end_inset
25480
25481 The diameter of the round corners of the oval boxes can be set with the
25482  command 
25483 \series bold
25484
25485 \backslash
25486 cornersize
25487 \series default
25488 .
25489  The command
25490 \end_layout
25491
25492 \begin_layout Standard
25493
25494 \series bold
25495
25496 \backslash
25497 cornersize*{1cm}
25498 \end_layout
25499
25500 \begin_layout Standard
25501 sets the diameter to 1\InsetSpace \thinspace{}
25502 cm.
25503  The command
25504 \end_layout
25505
25506 \begin_layout Standard
25507
25508 \series bold
25509
25510 \backslash
25511 cornersize{num}
25512 \end_layout
25513
25514 \begin_layout Standard
25515 sets the diameter to 
25516 \family sans
25517 num\InsetSpace \thinspace{}
25518 ×\InsetSpace \thinspace{}
25519 minimum(width and heigth of box)
25520 \family default
25521 .
25522  The default is 
25523 \series bold
25524
25525 \backslash
25526 cornersize{0.5}
25527 \series default
25528 .
25529 \end_layout
25530
25531 \begin_layout Standard
25532 \begin_inset ERT
25533 status collapsed
25534
25535 \begin_layout Standard
25536
25537
25538 \backslash
25539 cornersize*{1.5cm}
25540 \end_layout
25541
25542 \end_inset
25543
25544
25545 \begin_inset Box Ovalbox
25546 position "c"
25547 hor_pos "c"
25548 has_inner_box 1
25549 inner_pos "c"
25550 use_parbox 0
25551 width "25col%"
25552 special "none"
25553 height "1in"
25554 height_special "totalheight"
25555 status collapsed
25556
25557 \begin_layout Standard
25558 \align center
25559 Oval box with 
25560 \series bold
25561
25562 \backslash
25563 cornersize
25564 \series default
25565 \InsetSpace \thinspace{}
25566 =\InsetSpace \thinspace{}
25567 1.5\InsetSpace \thinspace{}
25568 cm
25569 \end_layout
25570
25571 \end_inset
25572
25573
25574 \begin_inset ERT
25575 status collapsed
25576
25577 \begin_layout Standard
25578
25579
25580 \backslash
25581 cornersize{0.5}
25582 \end_layout
25583
25584 \end_inset
25585
25586
25587 \end_layout
25588
25589 \begin_layout Standard
25590 \begin_inset VSpace bigskip
25591 \end_inset
25592
25593 The size of the shadow can be adjusted by changing the length 
25594 \series bold
25595
25596 \backslash
25597 shadowsize
25598 \series default
25599 .
25600  It it set to 2\InsetSpace \thinspace{}
25601 pt for the following box by this command:
25602 \end_layout
25603
25604 \begin_layout Standard
25605
25606 \series bold
25607
25608 \backslash
25609 setlength{
25610 \backslash
25611 shadowsize}{2pt}
25612 \end_layout
25613
25614 \begin_layout Standard
25615 \begin_inset ERT
25616 status collapsed
25617
25618 \begin_layout Standard
25619
25620
25621 \backslash
25622 setlength{
25623 \backslash
25624 shadowsize}{2pt}
25625 \end_layout
25626
25627 \end_inset
25628
25629
25630 \begin_inset Box Shadowbox
25631 position "c"
25632 hor_pos "c"
25633 has_inner_box 1
25634 inner_pos "c"
25635 use_parbox 0
25636 width "25col%"
25637 special "none"
25638 height "1in"
25639 height_special "totalheight"
25640 status collapsed
25641
25642 \begin_layout Standard
25643 \align center
25644 Shadow box with 
25645 \series bold
25646
25647 \backslash
25648 shadowsize
25649 \series default
25650 \InsetSpace \thinspace{}
25651 =\InsetSpace \thinspace{}
25652 2\InsetSpace \thinspace{}
25653 pt
25654 \end_layout
25655
25656 \end_inset
25657
25658
25659 \begin_inset ERT
25660 status collapsed
25661
25662 \begin_layout Standard
25663
25664
25665 \backslash
25666 setlength{
25667 \backslash
25668 shadowsize}{4pt}
25669 \end_layout
25670
25671 \end_inset
25672
25673
25674 \end_layout
25675
25676 \begin_layout Standard
25677 \begin_inset VSpace bigskip
25678 \end_inset
25679
25680 Changed lengths and widths are valid for all boxes following the commands
25681  that change them.
25682 \end_layout
25683
25684 \begin_layout Section
25685 Minipages
25686 \begin_inset LatexCommand label
25687 name "sec:Minipages"
25688
25689 \end_inset
25690
25691
25692 \begin_inset LatexCommand index
25693 name "Boxes ! Minipages"
25694
25695 \end_inset
25696
25697
25698 \end_layout
25699
25700 \begin_layout Standard
25701 Minipages are treated by LaTeX as pages within pages and can therefore for
25702  example have their own footnotes.
25703 \end_layout
25704
25705 \begin_layout Standard
25706 Minipages are useful when you write documents with different languages.
25707 \end_layout
25708
25709 \begin_layout Standard
25710 Below are two example minipages side by side.
25711  Their width is set to 45\InsetSpace \thinspace{}
25712 col% and they are separated by a horizontal fill,
25713  that was inserted via the menu 
25714 \family sans
25715 Insert\SpecialChar \menuseparator
25716 Special\InsetSpace ~
25717 Formatting\SpecialChar \menuseparator
25718 Horizontal\InsetSpace ~
25719 Fill
25720 \family default
25721 .
25722 \end_layout
25723
25724 \begin_layout Standard
25725 \begin_inset Box Frameless
25726 position "t"
25727 hor_pos "c"
25728 has_inner_box 1
25729 inner_pos "c"
25730 use_parbox 0
25731 width "45col%"
25732 special "none"
25733 height "1in"
25734 height_special "totalheight"
25735 status open
25736
25737 \begin_layout Standard
25738
25739 \lang german
25740 Dies ist ein deutscher Text.
25741  Dies ist ein deutscher Text.
25742  Dies ist ein deutscher Text.
25743  Dies ist ein deutscher Text.
25744  Dies ist ein deutscher Text.
25745  Dies ist ein deutscher Text.
25746  Dies ist ein deutscher Text.
25747  Dies ist ein deutscher Text.
25748  Dies ist ein deutscher Text.
25749  Dies ist ein deutscher Text.
25750  Dies ist ein deutscher Text.
25751  Dies ist ein deutscher Text.
25752  Dies ist ein deutscher Text
25753 \begin_inset Foot
25754 status collapsed
25755
25756 \begin_layout Standard
25757
25758 \lang german
25759 Dies ist eine deutsche Fußnote.
25760 \end_layout
25761
25762 \end_inset
25763
25764 .
25765  Dies ist ein deutscher Text.
25766  Dies ist ein deutscher Text.
25767 \end_layout
25768
25769 \end_inset
25770
25771
25772 \hfill
25773
25774 \begin_inset Box Frameless
25775 position "t"
25776 hor_pos "c"
25777 has_inner_box 1
25778 inner_pos "c"
25779 use_parbox 0
25780 width "45col%"
25781 special "none"
25782 height "1in"
25783 height_special "totalheight"
25784 status open
25785
25786 \begin_layout Standard
25787 This is an English Text.
25788  This is an English Text.
25789  This is an English Text.
25790  This is an English Text.
25791  This is an English Text.
25792  This is an English Text.
25793  This is an English Text.
25794  This is an English Text.
25795  This is an English Text.
25796  This is an English Text.
25797  This is an English Text.
25798  This is an English Text.
25799  This is an English Text.
25800  This is an English Text.
25801  This is an English Text.
25802  This is an English Text.
25803 \begin_inset Foot
25804 status collapsed
25805
25806 \begin_layout Standard
25807 This is an English footnote.
25808 \end_layout
25809
25810 \end_inset
25811
25812  This is an English Text.
25813  
25814 \end_layout
25815
25816 \end_inset
25817
25818
25819 \end_layout
25820
25821 \begin_layout Standard
25822 \begin_inset VSpace bigskip
25823 \end_inset
25824
25825 Another application for minipages are footnotes within tables.
25826  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25827  bottom of the current page.
25828  But when you put the table with the footnote to a minipage, the footnote
25829  will appear at its bottom, numbered with Latin letters.
25830  The footnote number is reset to 1 in every minipage but not outside the
25831  minipages.
25832 \end_layout
25833
25834 \begin_layout Standard
25835 The footnote of this table doesn't appear: 
25836 \begin_inset Tabular
25837 <lyxtabular version="3" rows="3" columns="4">
25838 <features>
25839 <column alignment="center" valignment="top" leftline="true" width="0pt">
25840 <column alignment="center" valignment="top" leftline="true" width="0pt">
25841 <column alignment="center" valignment="top" leftline="true" width="0pt">
25842 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25843 <row topline="true">
25844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25845 \begin_inset Text
25846
25847 \begin_layout Standard
25848 1
25849 \end_layout
25850
25851 \end_inset
25852 </cell>
25853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25854 \begin_inset Text
25855
25856 \begin_layout Standard
25857 2
25858 \end_layout
25859
25860 \end_inset
25861 </cell>
25862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25863 \begin_inset Text
25864
25865 \begin_layout Standard
25866 3
25867 \begin_inset Foot
25868 status collapsed
25869
25870 \begin_layout Standard
25871 This is a footnote within a table.
25872 \end_layout
25873
25874 \end_inset
25875
25876
25877 \end_layout
25878
25879 \end_inset
25880 </cell>
25881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25882 \begin_inset Text
25883
25884 \begin_layout Standard
25885 4
25886 \end_layout
25887
25888 \end_inset
25889 </cell>
25890 </row>
25891 <row topline="true">
25892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25893 \begin_inset Text
25894
25895 \begin_layout Standard
25896 a
25897 \end_layout
25898
25899 \end_inset
25900 </cell>
25901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25902 \begin_inset Text
25903
25904 \begin_layout Standard
25905 b
25906 \end_layout
25907
25908 \end_inset
25909 </cell>
25910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25911 \begin_inset Text
25912
25913 \begin_layout Standard
25914 c
25915 \end_layout
25916
25917 \end_inset
25918 </cell>
25919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25920 \begin_inset Text
25921
25922 \begin_layout Standard
25923 d
25924 \end_layout
25925
25926 \end_inset
25927 </cell>
25928 </row>
25929 <row topline="true" bottomline="true">
25930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25931 \begin_inset Text
25932
25933 \begin_layout Standard
25934 e
25935 \end_layout
25936
25937 \end_inset
25938 </cell>
25939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25940 \begin_inset Text
25941
25942 \begin_layout Standard
25943 f
25944 \end_layout
25945
25946 \end_inset
25947 </cell>
25948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25949 \begin_inset Text
25950
25951 \begin_layout Standard
25952 g
25953 \end_layout
25954
25955 \end_inset
25956 </cell>
25957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25958 \begin_inset Text
25959
25960 \begin_layout Standard
25961 h
25962 \end_layout
25963
25964 \end_inset
25965 </cell>
25966 </row>
25967 </lyxtabular>
25968
25969 \end_inset
25970
25971
25972 \end_layout
25973
25974 \begin_layout Standard
25975 \align center
25976 \begin_inset Box Frameless
25977 position "t"
25978 hor_pos "c"
25979 has_inner_box 1
25980 inner_pos "c"
25981 use_parbox 0
25982 width "30col%"
25983 special "none"
25984 height "1in"
25985 height_special "totalheight"
25986 status open
25987
25988 \begin_layout Standard
25989 \align center
25990 \begin_inset Tabular
25991 <lyxtabular version="3" rows="3" columns="4">
25992 <features>
25993 <column alignment="center" valignment="top" leftline="true" width="0pt">
25994 <column alignment="center" valignment="top" leftline="true" width="0pt">
25995 <column alignment="center" valignment="top" leftline="true" width="0pt">
25996 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25997 <row topline="true">
25998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25999 \begin_inset Text
26000
26001 \begin_layout Standard
26002 1
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 2
26012 \end_layout
26013
26014 \end_inset
26015 </cell>
26016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26017 \begin_inset Text
26018
26019 \begin_layout Standard
26020 3
26021 \begin_inset Foot
26022 status collapsed
26023
26024 \begin_layout Standard
26025 This is a footnote within a table.
26026 \end_layout
26027
26028 \end_inset
26029
26030
26031 \end_layout
26032
26033 \end_inset
26034 </cell>
26035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26036 \begin_inset Text
26037
26038 \begin_layout Standard
26039 4
26040 \end_layout
26041
26042 \end_inset
26043 </cell>
26044 </row>
26045 <row topline="true">
26046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26047 \begin_inset Text
26048
26049 \begin_layout Standard
26050 a
26051 \end_layout
26052
26053 \end_inset
26054 </cell>
26055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26056 \begin_inset Text
26057
26058 \begin_layout Standard
26059 b
26060 \end_layout
26061
26062 \end_inset
26063 </cell>
26064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26065 \begin_inset Text
26066
26067 \begin_layout Standard
26068 c
26069 \end_layout
26070
26071 \end_inset
26072 </cell>
26073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26074 \begin_inset Text
26075
26076 \begin_layout Standard
26077 d
26078 \end_layout
26079
26080 \end_inset
26081 </cell>
26082 </row>
26083 <row topline="true" bottomline="true">
26084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26085 \begin_inset Text
26086
26087 \begin_layout Standard
26088 e
26089 \end_layout
26090
26091 \end_inset
26092 </cell>
26093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26094 \begin_inset Text
26095
26096 \begin_layout Standard
26097 f
26098 \end_layout
26099
26100 \end_inset
26101 </cell>
26102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26103 \begin_inset Text
26104
26105 \begin_layout Standard
26106 g
26107 \end_layout
26108
26109 \end_inset
26110 </cell>
26111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26112 \begin_inset Text
26113
26114 \begin_layout Standard
26115 h
26116 \end_layout
26117
26118 \end_inset
26119 </cell>
26120 </row>
26121 </lyxtabular>
26122
26123 \end_inset
26124
26125
26126 \end_layout
26127
26128 \end_inset
26129
26130
26131 \end_layout
26132
26133 \begin_layout Standard
26134 \begin_inset VSpace bigskip
26135 \end_inset
26136
26137 The document-wide paragraph settings are ignored within minipages.
26138  That means that there will be no space between paragraphs in minipages
26139  although you set it to e.\InsetSpace \thinspace{}
26140 g.\InsetSpace ~
26141
26142 \family sans
26143 MedSkip
26144 \family default
26145  in the document settings.
26146 \end_layout
26147
26148 \begin_layout Standard
26149 Minipages can also be used to set a background color for text parts, see
26150  section\InsetSpace ~
26151
26152 \begin_inset LatexCommand ref
26153 reference "sub:Color-for-Paragraphs"
26154
26155 \end_inset
26156
26157 .
26158 \end_layout
26159
26160 \begin_layout Standard
26161 \begin_inset Note Greyedout
26162 status open
26163
26164 \begin_layout Standard
26165
26166 \series bold
26167 Note:
26168 \series default
26169  You cannot have floats or margin notes inside minipages but minipages can
26170  be used inside tables, floats, and other boxes.
26171 \end_layout
26172
26173 \end_inset
26174
26175
26176 \end_layout
26177
26178 \begin_layout Section
26179 Parboxes
26180 \begin_inset LatexCommand label
26181 name "sec:Parboxes"
26182
26183 \end_inset
26184
26185
26186 \begin_inset LatexCommand index
26187 name "Boxes ! Parboxes"
26188
26189 \end_inset
26190
26191
26192 \end_layout
26193
26194 \begin_layout Standard
26195 Parboxes are very similar to minipages with the difference that they cannot
26196  have footnotes.
26197  The main difference to minipages is that minipages are in contrary to parboxes
26198  no real boxes but LaTeX-environments.
26199 \end_layout
26200
26201 \begin_layout Standard
26202 \align center
26203 \begin_inset Box Frameless
26204 position "t"
26205 hor_pos "c"
26206 has_inner_box 1
26207 inner_pos "t"
26208 use_parbox 1
26209 width "33col%"
26210 special "none"
26211 height "1in"
26212 height_special "totalheight"
26213 status collapsed
26214
26215 \begin_layout Standard
26216 This a text within a parbox.
26217  This a text within a parbox.
26218 \end_layout
26219
26220 \begin_layout Standard
26221 This footnote won't appear:
26222 \begin_inset Foot
26223 status collapsed
26224
26225 \begin_layout Standard
26226 This footnote is inside a parbox and will therefore not appear.
26227 \end_layout
26228
26229 \end_inset
26230
26231
26232 \end_layout
26233
26234 \end_inset
26235
26236
26237 \end_layout
26238
26239 \begin_layout Section
26240 Boxes for Words and Characters
26241 \begin_inset LatexCommand index
26242 name "Boxes ! for Characters"
26243
26244 \end_inset
26245
26246
26247 \end_layout
26248
26249 \begin_layout Subsection
26250 Prevent Hyphenation
26251 \begin_inset LatexCommand label
26252 name "sec:Prevent-Hyphenation"
26253
26254 \end_inset
26255
26256
26257 \begin_inset LatexCommand index
26258 name "Boxes ! to Prevent Hyphenation"
26259
26260 \end_inset
26261
26262
26263 \end_layout
26264
26265 \begin_layout Standard
26266 You can use a special kind of boxes to prevent words or text to be hyphenated.
26267 \newline
26268 Her
26269 e is an example text:
26270 \end_layout
26271
26272 \begin_layout Standard
26273 This line is an example to show how you can prevent the hyphenation of 
26274 \begin_inset Quotes eld
26275 \end_inset
26276
26277 veryverylongword
26278 \begin_inset Quotes erd
26279 \end_inset
26280
26281 .
26282 \end_layout
26283
26284 \begin_layout Standard
26285 To prevent the hyphenation of the word 
26286 \begin_inset Quotes eld
26287 \end_inset
26288
26289 veryverylongword
26290 \begin_inset Quotes erd
26291 \end_inset
26292
26293 , add the command
26294 \end_layout
26295
26296 \begin_layout Standard
26297
26298 \series bold
26299
26300 \backslash
26301 mbox{
26302 \end_layout
26303
26304 \begin_layout Standard
26305 in TeX-Code before the word.
26306  Behind the word insert a closing brace 
26307 \begin_inset Quotes eld
26308 \end_inset
26309
26310
26311 \series bold
26312 }
26313 \series default
26314
26315 \begin_inset Quotes erd
26316 \end_inset
26317
26318  in TeX-Code.
26319 \begin_inset ERT
26320 status collapsed
26321
26322 \begin_layout Standard
26323
26324
26325 \backslash
26326 pagebreak 
26327 \end_layout
26328
26329 \end_inset
26330
26331
26332 \end_layout
26333
26334 \begin_layout Standard
26335 This is the result:
26336 \end_layout
26337
26338 \begin_layout Standard
26339 This line is an example to show how you can prevent the hyphenation of 
26340 \begin_inset ERT
26341 status collapsed
26342
26343 \begin_layout Standard
26344
26345
26346 \backslash
26347 mbox{
26348 \end_layout
26349
26350 \end_inset
26351
26352
26353 \begin_inset Quotes eld
26354 \end_inset
26355
26356 veryverylongword
26357 \begin_inset Quotes erd
26358 \end_inset
26359
26360 .
26361 \begin_inset ERT
26362 status collapsed
26363
26364 \begin_layout Standard
26365
26366 }
26367 \end_layout
26368
26369 \end_inset
26370
26371
26372 \end_layout
26373
26374 \begin_layout Standard
26375 You can alternatively set the command 
26376 \begin_inset Quotes eld
26377 \end_inset
26378
26379
26380 \series bold
26381
26382 \backslash
26383 -
26384 \series default
26385
26386 \begin_inset Quotes grd
26387 \end_inset
26388
26389  as TeX-Code directly before the word:
26390 \end_layout
26391
26392 \begin_layout Standard
26393 This line is an example to show how you can prevent the hyphenation of 
26394 \begin_inset Quotes eld
26395 \end_inset
26396
26397
26398 \begin_inset ERT
26399 status collapsed
26400
26401 \begin_layout Standard
26402
26403
26404 \backslash
26405 -
26406 \end_layout
26407
26408 \end_inset
26409
26410 veryverylongword
26411 \begin_inset Quotes erd
26412 \end_inset
26413
26414 .
26415 \end_layout
26416
26417 \begin_layout Standard
26418 Of course the word now protrudes over the side margin.
26419  To avoid this, add via the menu 
26420 \family sans
26421 Insert\SpecialChar \menuseparator
26422 Special\InsetSpace ~
26423 Formatting\SpecialChar \menuseparator
26424 Line\InsetSpace ~
26425 Break
26426 \family default
26427  (shortcut 
26428 \series bold
26429 Ctrl-Return
26430 \series default
26431 ) a line break before the word:
26432 \end_layout
26433
26434 \begin_layout Standard
26435 This line is an example to show how you can prevent the hyphenation of 
26436 \newline
26437
26438 \begin_inset ERT
26439 status collapsed
26440
26441 \begin_layout Standard
26442
26443
26444 \backslash
26445 mbox{
26446 \end_layout
26447
26448 \end_inset
26449
26450
26451 \begin_inset Quotes eld
26452 \end_inset
26453
26454 veryverylongword
26455 \begin_inset Quotes erd
26456 \end_inset
26457
26458 .
26459 \begin_inset ERT
26460 status collapsed
26461
26462 \begin_layout Standard
26463
26464 }
26465 \end_layout
26466
26467 \end_inset
26468
26469
26470 \end_layout
26471
26472 \begin_layout Subsection
26473 Vertical Alignment
26474 \begin_inset LatexCommand label
26475 name "sub:Vertical-Alignment"
26476
26477 \end_inset
26478
26479
26480 \begin_inset LatexCommand index
26481 name "Boxes ! for Vertical Alignment"
26482
26483 \end_inset
26484
26485
26486 \begin_inset LatexCommand index
26487 name "Boxes ! Raiseboxes"
26488
26489 \end_inset
26490
26491
26492 \end_layout
26493
26494 \begin_layout Standard
26495 With the help of the command 
26496 \series bold
26497
26498 \backslash
26499 raisebox
26500 \series default
26501  you can align words, characters or other boxes vertically to the surrounding
26502  text.
26503  
26504 \series bold
26505
26506 \backslash
26507 raisebox
26508 \series default
26509  is used with the following scheme:
26510 \end_layout
26511
26512 \begin_layout Standard
26513
26514 \series bold
26515
26516 \backslash
26517 raisebox{lift}[height][depth]{box content}
26518 \end_layout
26519
26520 \begin_layout Standard
26521 The lift can be a positive value to raise the box or a negative value to
26522  lower the box.
26523 \end_layout
26524
26525 \begin_layout Standard
26526 To align for example the word 
26527 \begin_inset Quotes eld
26528 \end_inset
26529
26530 preventing
26531 \begin_inset Quotes erd
26532 \end_inset
26533
26534  so that the bottom of the 
26535 \begin_inset Quotes eld
26536 \end_inset
26537
26538 deepest
26539 \begin_inset Quotes erd
26540 \end_inset
26541
26542  character 
26543 \begin_inset Quotes eld
26544 \end_inset
26545
26546 p
26547 \begin_inset Quotes erd
26548 \end_inset
26549
26550  is at the baseline, insert the command
26551 \end_layout
26552
26553 \begin_layout Standard
26554
26555 \series bold
26556
26557 \backslash
26558 raisebox{
26559 \backslash
26560 depth}{
26561 \end_layout
26562
26563 \begin_layout Standard
26564 in TeX-Code before the word.
26565  Behind the word insert a closing brace 
26566 \begin_inset Quotes eld
26567 \end_inset
26568
26569
26570 \series bold
26571 }
26572 \series default
26573
26574 \begin_inset Quotes erd
26575 \end_inset
26576
26577  in TeX-Code.
26578 \newline
26579 This is the result:
26580 \end_layout
26581
26582 \begin_layout Standard
26583 This is a text line with the word 
26584 \begin_inset ERT
26585 status collapsed
26586
26587 \begin_layout Standard
26588
26589
26590 \backslash
26591 raisebox{
26592 \backslash
26593 depth}{
26594 \end_layout
26595
26596 \end_inset
26597
26598
26599 \begin_inset Quotes eld
26600 \end_inset
26601
26602 preventing
26603 \begin_inset Quotes erd
26604 \end_inset
26605
26606
26607 \begin_inset ERT
26608 status collapsed
26609
26610 \begin_layout Standard
26611
26612 }
26613 \end_layout
26614
26615 \end_inset
26616
26617  as raised word.
26618 \end_layout
26619
26620 \begin_layout Standard
26621 \begin_inset VSpace bigskip
26622 \end_inset
26623
26624 When you raise or lower characters in a line, the line distance will be
26625  spread:
26626 \end_layout
26627
26628 \begin_layout Standard
26629 This is a text line with the word 
26630 \begin_inset ERT
26631 status collapsed
26632
26633 \begin_layout Standard
26634
26635
26636 \backslash
26637 raisebox{-
26638 \backslash
26639 depth}{
26640 \end_layout
26641
26642 \end_inset
26643
26644
26645 \begin_inset Quotes eld
26646 \end_inset
26647
26648 preventing
26649 \begin_inset Quotes erd
26650 \end_inset
26651
26652
26653 \begin_inset ERT
26654 status collapsed
26655
26656 \begin_layout Standard
26657
26658 }
26659 \end_layout
26660
26661 \end_inset
26662
26663  as lowered word.
26664 \newline
26665 This is a text line with the word 
26666 \begin_inset ERT
26667 status collapsed
26668
26669 \begin_layout Standard
26670
26671
26672 \backslash
26673 raisebox{0.5cm}{
26674 \end_layout
26675
26676 \end_inset
26677
26678
26679 \begin_inset Quotes eld
26680 \end_inset
26681
26682 testing
26683 \begin_inset Quotes erd
26684 \end_inset
26685
26686
26687 \begin_inset ERT
26688 status collapsed
26689
26690 \begin_layout Standard
26691
26692 }
26693 \end_layout
26694
26695 \end_inset
26696
26697  as raised word.
26698 \end_layout
26699
26700 \begin_layout Standard
26701 If you want to prevent this for a certain reason, set the box height to
26702  a zero value.
26703  For example use
26704 \end_layout
26705
26706 \begin_layout Standard
26707
26708 \series bold
26709
26710 \backslash
26711 raisebox{-
26712 \backslash
26713 depth}[0pt]{
26714 \end_layout
26715
26716 \begin_layout Standard
26717 This is a text line with the word 
26718 \begin_inset ERT
26719 status collapsed
26720
26721 \begin_layout Standard
26722
26723
26724 \backslash
26725 raisebox{-
26726 \backslash
26727 depth}[0pt]{
26728 \end_layout
26729
26730 \end_inset
26731
26732
26733 \begin_inset Quotes eld
26734 \end_inset
26735
26736 preventing
26737 \begin_inset Quotes erd
26738 \end_inset
26739
26740
26741 \begin_inset ERT
26742 status collapsed
26743
26744 \begin_layout Standard
26745
26746 }
26747 \end_layout
26748
26749 \end_inset
26750
26751  as lowered word.
26752 \newline
26753 This is a text line with the word 
26754 \begin_inset ERT
26755 status collapsed
26756
26757 \begin_layout Standard
26758
26759
26760 \backslash
26761 raisebox{0.5cm}[0pt]{
26762 \end_layout
26763
26764 \end_inset
26765
26766
26767 \begin_inset Quotes eld
26768 \end_inset
26769
26770 testing
26771 \begin_inset Quotes erd
26772 \end_inset
26773
26774
26775 \begin_inset ERT
26776 status collapsed
26777
26778 \begin_layout Standard
26779
26780 }
26781 \end_layout
26782
26783 \end_inset
26784
26785  as raised word.
26786 \end_layout
26787
26788 \begin_layout Section
26789 Colored Boxes
26790 \begin_inset LatexCommand label
26791 name "sec:Colored-Boxes"
26792
26793 \end_inset
26794
26795
26796 \begin_inset LatexCommand index
26797 name "Boxes ! Color"
26798
26799 \end_inset
26800
26801
26802 \end_layout
26803
26804 \begin_layout Subsection
26805 Color for Text
26806 \begin_inset LatexCommand index
26807 name "Color ! for Text"
26808
26809 \end_inset
26810
26811
26812 \end_layout
26813
26814 \begin_layout Standard
26815 To color the background of text the text must be put into a so called 
26816 \begin_inset Quotes eld
26817 \end_inset
26818
26819 colorbox
26820 \begin_inset Quotes erd
26821 \end_inset
26822
26823 .
26824  This requires that the LaTeX-package 
26825 \series bold
26826 color
26827 \series default
26828
26829 \begin_inset LatexCommand index
26830 name "LaTeX-packages ! color"
26831
26832 \end_inset
26833
26834  is loaded in the document preamble with the command
26835 \end_layout
26836
26837 \begin_layout Standard
26838
26839 \series bold
26840
26841 \backslash
26842 @ifundefined{textcolor}
26843 \newline
26844
26845 \begin_inset ERT
26846 status collapsed
26847
26848 \begin_layout Standard
26849
26850
26851 \backslash
26852 hphantom{ }
26853 \end_layout
26854
26855 \end_inset
26856
26857 {
26858 \backslash
26859 usepackage{color}}{}
26860 \end_layout
26861
26862 \begin_layout Standard
26863 The package 
26864 \series bold
26865 color
26866 \series default
26867  will be loaded automatically by LyX when you color text
26868 \begin_inset Foot
26869 status collapsed
26870
26871 \begin_layout Standard
26872 To avoid that it is loaded twice the command 
26873 \series bold
26874
26875 \backslash
26876 @ifundef\SpecialChar \textcompwordmark{}
26877 ined
26878 \series default
26879  is used.
26880 \end_layout
26881
26882 \end_inset
26883
26884 .
26885 \end_layout
26886
26887 \begin_layout Standard
26888 \begin_inset VSpace medskip
26889 \end_inset
26890
26891 Colorboxes are created with the command 
26892 \series bold
26893
26894 \backslash
26895 colorbox
26896 \series default
26897 .
26898  This will be used with the following scheme:
26899 \end_layout
26900
26901 \begin_layout Standard
26902
26903 \series bold
26904
26905 \backslash
26906 colorbox{color}{box content}
26907 \end_layout
26908
26909 \begin_layout Standard
26910 The box content can also be a box and colorboxes can also be within other
26911  boxes.
26912 \end_layout
26913
26914 \begin_layout Standard
26915 The following colors are predefined:
26916 \newline
26917
26918 \family sans
26919 black
26920 \family default
26921
26922 \family sans
26923 blue
26924 \family default
26925
26926 \family sans
26927 cyan
26928 \family default
26929 \series bold
26930 ,
26931 \series default
26932  
26933 \family sans
26934 green
26935 \family default
26936
26937 \family sans
26938 magenta
26939 \family default
26940
26941 \family sans
26942 red
26943 \family default
26944
26945 \family sans
26946 white
26947 \family default
26948 , and 
26949 \family sans
26950 yellow
26951 \family default
26952 .
26953 \newline
26954 You can also define your own color as described in section\InsetSpace ~
26955
26956 \begin_inset LatexCommand ref
26957 reference "sec:Colored-Tables"
26958
26959 \end_inset
26960
26961 .
26962 \end_layout
26963
26964 \begin_layout Standard
26965 To have e.\InsetSpace \thinspace{}
26966 g.\InsetSpace ~
26967 a red background for a word, insert the command
26968 \end_layout
26969
26970 \begin_layout Standard
26971
26972 \series bold
26973
26974 \backslash
26975 colorbox{red}{
26976 \end_layout
26977
26978 \begin_layout Standard
26979 before the word in TeX-Code.
26980  Behind the word insert a closing brace 
26981 \begin_inset Quotes eld
26982 \end_inset
26983
26984
26985 \series bold
26986 }
26987 \series default
26988
26989 \begin_inset Quotes erd
26990 \end_inset
26991
26992  in TeX-Code.
26993 \newline
26994 This is the result:
26995 \end_layout
26996
26997 \begin_layout Standard
26998 This is a line where the word 
26999 \begin_inset ERT
27000 status collapsed
27001
27002 \begin_layout Standard
27003
27004
27005 \backslash
27006 colorbox{red}{
27007 \end_layout
27008
27009 \end_inset
27010
27011
27012 \begin_inset Quotes eld
27013 \end_inset
27014
27015 Attention!
27016 \begin_inset Quotes erd
27017 \end_inset
27018
27019
27020 \begin_inset ERT
27021 status collapsed
27022
27023 \begin_layout Standard
27024
27025 }
27026 \end_layout
27027
27028 \end_inset
27029
27030  has a red background.
27031 \end_layout
27032
27033 \begin_layout Standard
27034 \begin_inset VSpace bigskip
27035 \end_inset
27036
27037 If you would have the box frame in a different color, you can use the command
27038  
27039 \series bold
27040
27041 \backslash
27042 fcolorbox
27043 \series default
27044  with the following scheme:
27045 \end_layout
27046
27047 \begin_layout Standard
27048
27049 \series bold
27050
27051 \backslash
27052 fcolorbox{frame color}{box color}{box content}
27053 \end_layout
27054
27055 \begin_layout Standard
27056
27057 \series bold
27058
27059 \backslash
27060 fcolorbox
27061 \series default
27062  is an extension to 
27063 \series bold
27064
27065 \backslash
27066 colorbox
27067 \series default
27068 .
27069  The frame thickness and the space between the frame and the box content
27070  can be adjusted with the lengths 
27071 \series bold
27072
27073 \backslash
27074 fboxrule
27075 \series default
27076  and 
27077 \series bold
27078
27079 \backslash
27080 fboxsep
27081 \series default
27082 , respectively, as described in section\InsetSpace ~
27083
27084 \begin_inset LatexCommand ref
27085 reference "sec:Framed-Boxes"
27086
27087 \end_inset
27088
27089 .
27090 \end_layout
27091
27092 \begin_layout Standard
27093 For the following example the command
27094 \end_layout
27095
27096 \begin_layout Standard
27097
27098 \series bold
27099
27100 \backslash
27101 fcolorbox{cyan}{magenta}{
27102 \end_layout
27103
27104 \begin_layout Standard
27105 was used.
27106 \end_layout
27107
27108 \begin_layout Standard
27109 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
27110 mm:
27111 \newline
27112
27113 \begin_inset ERT
27114 status collapsed
27115
27116 \begin_layout Standard
27117
27118
27119 \backslash
27120 fboxrule 1mm 
27121 \backslash
27122 fboxsep 1mm
27123 \end_layout
27124
27125 \end_inset
27126
27127
27128 \begin_inset ERT
27129 status collapsed
27130
27131 \begin_layout Standard
27132
27133
27134 \backslash
27135 fcolorbox{cyan}{magenta}{
27136 \end_layout
27137
27138 \end_inset
27139
27140 This is text within a colored, framed box.
27141 \begin_inset ERT
27142 status collapsed
27143
27144 \begin_layout Standard
27145
27146 }
27147 \end_layout
27148
27149 \end_inset
27150
27151
27152 \end_layout
27153
27154 \begin_layout Standard
27155 \begin_inset VSpace bigskip
27156 \end_inset
27157
27158 Of course you can also have colored text inside a colorbox:
27159 \newline
27160
27161 \begin_inset ERT
27162 status collapsed
27163
27164 \begin_layout Standard
27165
27166
27167 \backslash
27168 fcolorbox{cyan}{magenta}{
27169 \end_layout
27170
27171 \end_inset
27172
27173
27174 \color yellow
27175 This is colored text within a colored, framed box.
27176 \color none
27177
27178 \begin_inset ERT
27179 status collapsed
27180
27181 \begin_layout Standard
27182
27183 }
27184 \end_layout
27185
27186 \end_inset
27187
27188
27189 \begin_inset ERT
27190 status collapsed
27191
27192 \begin_layout Standard
27193
27194
27195 \backslash
27196 fboxrule 0.4pt 
27197 \backslash
27198 fboxsep 3pt
27199 \end_layout
27200
27201 \end_inset
27202
27203
27204 \end_layout
27205
27206 \begin_layout Standard
27207
27208 \series bold
27209 \begin_inset VSpace medskip
27210 \end_inset
27211
27212
27213 \end_layout
27214
27215 \begin_layout Standard
27216 \begin_inset Note Greyedout
27217 status open
27218
27219 \begin_layout Standard
27220
27221 \series bold
27222 Note:
27223 \series default
27224  Text in colorboxes cannot have line breaks.
27225  To color multiple text lines or paragraphs, use a box inside a colorbox
27226  as described in the following.
27227 \end_layout
27228
27229 \end_inset
27230
27231
27232 \end_layout
27233
27234 \begin_layout Subsection
27235 Color for Paragraphs
27236 \begin_inset LatexCommand label
27237 name "sub:Color-for-Paragraphs"
27238
27239 \end_inset
27240
27241
27242 \begin_inset LatexCommand index
27243 name "Color ! for Paragraphs"
27244
27245 \end_inset
27246
27247
27248 \end_layout
27249
27250 \begin_layout Standard
27251 To set the background color for more than one text line, put the text into
27252  a minipage.
27253  Before the minipage insert the 
27254 \series bold
27255
27256 \backslash
27257 colorbox
27258 \series default
27259  command
27260 \end_layout
27261
27262 \begin_layout Standard
27263
27264 \series bold
27265
27266 \backslash
27267 colorbox{color}{
27268 \end_layout
27269
27270 \begin_layout Standard
27271 in TeX-Code.
27272  Behind the minipage insert a closing brace 
27273 \begin_inset Quotes eld
27274 \end_inset
27275
27276
27277 \series bold
27278 }
27279 \series default
27280
27281 \begin_inset Quotes erd
27282 \end_inset
27283
27284  in TeX-Code.
27285 \end_layout
27286
27287 \begin_layout Standard
27288 \begin_inset ERT
27289 status collapsed
27290
27291 \begin_layout Standard
27292
27293
27294 \backslash
27295 colorbox{lightgrey}{
27296 \end_layout
27297
27298 \end_inset
27299
27300
27301 \begin_inset Box Frameless
27302 position "t"
27303 hor_pos "c"
27304 has_inner_box 1
27305 inner_pos "t"
27306 use_parbox 0
27307 width "100col%"
27308 special "none"
27309 height "1in"
27310 height_special "totalheight"
27311 status collapsed
27312
27313 \begin_layout Standard
27314 This is text with background color.
27315  This is text with background color.
27316 \end_layout
27317
27318 \begin_layout Standard
27319 \begin_inset VSpace defskip
27320 \end_inset
27321
27322 The text can have footnotes
27323 \begin_inset Foot
27324 status collapsed
27325
27326 \begin_layout Standard
27327 Another example footnote
27328 \end_layout
27329
27330 \end_inset
27331
27332  and can include tables and figures.
27333 \end_layout
27334
27335 \begin_layout Standard
27336 \align center
27337 \begin_inset Tabular
27338 <lyxtabular version="3" rows="3" columns="3">
27339 <features>
27340 <column alignment="center" valignment="top" leftline="true" width="0">
27341 <column alignment="center" valignment="top" leftline="true" width="0">
27342 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27343 <row topline="true">
27344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27345 \begin_inset Text
27346
27347 \begin_layout Standard
27348 a
27349 \end_layout
27350
27351 \end_inset
27352 </cell>
27353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27354 \begin_inset Text
27355
27356 \begin_layout Standard
27357 !
27358 \end_layout
27359
27360 \end_inset
27361 </cell>
27362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27363 \begin_inset Text
27364
27365 \begin_layout Standard
27366 3
27367 \end_layout
27368
27369 \end_inset
27370 </cell>
27371 </row>
27372 <row topline="true">
27373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27374 \begin_inset Text
27375
27376 \begin_layout Standard
27377 <
27378 \end_layout
27379
27380 \end_inset
27381 </cell>
27382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27383 \begin_inset Text
27384
27385 \begin_layout Standard
27386 b2
27387 \begin_inset Quotes erd
27388 \end_inset
27389
27390 |
27391 \end_layout
27392
27393 \end_inset
27394 </cell>
27395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27396 \begin_inset Text
27397
27398 \begin_layout Standard
27399 >
27400 \end_layout
27401
27402 \end_inset
27403 </cell>
27404 </row>
27405 <row topline="true" bottomline="true">
27406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27407 \begin_inset Text
27408
27409 \begin_layout Standard
27410 1
27411 \end_layout
27412
27413 \end_inset
27414 </cell>
27415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27416 \begin_inset Text
27417
27418 \begin_layout Standard
27419 §
27420 \end_layout
27421
27422 \end_inset
27423 </cell>
27424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27425 \begin_inset Text
27426
27427 \begin_layout Standard
27428 c
27429 \end_layout
27430
27431 \end_inset
27432 </cell>
27433 </row>
27434 </lyxtabular>
27435
27436 \end_inset
27437
27438
27439 \end_layout
27440
27441 \end_inset
27442
27443
27444 \begin_inset ERT
27445 status collapsed
27446
27447 \begin_layout Standard
27448
27449 }
27450 \end_layout
27451
27452 \end_inset
27453
27454
27455 \end_layout
27456
27457 \begin_layout Section
27458 Rotated and Scaled Boxes
27459 \end_layout
27460
27461 \begin_layout Standard
27462 To use the the commands described in this section, the LaTeX-package 
27463 \series bold
27464 graphicx
27465 \series default
27466
27467 \begin_inset LatexCommand index
27468 name "LaTeX-packages ! graphicx"
27469
27470 \end_inset
27471
27472  needs to be loaded in the document preamble with the command
27473 \end_layout
27474
27475 \begin_layout Standard
27476
27477 \series bold
27478
27479 \backslash
27480 @ifundefined{rotatebox}
27481 \newline
27482
27483 \begin_inset ERT
27484 status collapsed
27485
27486 \begin_layout Standard
27487
27488
27489 \backslash
27490 hphantom{ }
27491 \end_layout
27492
27493 \end_inset
27494
27495 {
27496 \backslash
27497 usepackage{graphicx}}{}
27498 \end_layout
27499
27500 \begin_layout Standard
27501 \begin_inset Note Greyedout
27502 status open
27503
27504 \begin_layout Standard
27505
27506 \series bold
27507 Note:
27508 \series default
27509  Some DVI-viewers can't display rotated or scaled material.
27510 \end_layout
27511
27512 \end_inset
27513
27514
27515 \end_layout
27516
27517 \begin_layout Standard
27518 \begin_inset Note Greyedout
27519 status open
27520
27521 \begin_layout Standard
27522
27523 \series bold
27524 Note:
27525 \series default
27526  Floats mustn't be inside a rotated or scaled box.
27527 \end_layout
27528
27529 \end_inset
27530
27531
27532 \end_layout
27533
27534 \begin_layout Subsection
27535 Rotated Boxes
27536 \begin_inset LatexCommand index
27537 name "Boxes ! rotated"
27538
27539 \end_inset
27540
27541
27542 \begin_inset LatexCommand index
27543 name "Rotated material"
27544
27545 \end_inset
27546
27547
27548 \begin_inset LatexCommand index
27549 name "Figures ! rotated"
27550
27551 \end_inset
27552
27553
27554 \begin_inset LatexCommand index
27555 name "Table Customization ! Rotating"
27556
27557 \end_inset
27558
27559
27560 \end_layout
27561
27562 \begin_layout Standard
27563 To rotate material, you can put it into a rotated box.
27564  Such a box is created using the command 
27565 \series bold
27566
27567 \backslash
27568 rotatebox
27569 \series default
27570  in TeX-Code with the following scheme:
27571 \end_layout
27572
27573 \begin_layout Standard
27574
27575 \series bold
27576
27577 \backslash
27578 rotatebox[rotation origin]{rotation angle}{box content}
27579 \end_layout
27580
27581 \begin_layout Standard
27582 The rotation origin is specified in the form 
27583 \series bold
27584 origin=position
27585 \series default
27586 .
27587  The following positions are possible: 
27588 \emph on
27589 c
27590 \emph default
27591  (center), 
27592 \emph on
27593 l
27594 \emph default
27595  (left), 
27596 \emph on
27597 r
27598 \emph default
27599  (right), 
27600 \emph on
27601 b
27602 \emph default
27603  (bottom), 
27604 \emph on
27605 t
27606 \emph default
27607  (top), and also expedient combinations of the four base positions.
27608  For example 
27609 \emph on
27610 lt
27611 \emph default
27612  means, that the rotation origin is at the top left corner of the box.
27613  When no rotation origin is specified, the position 
27614 \emph on
27615 l
27616 \emph default
27617  will be used.
27618  The rotation angle is a number that can be negative that specifies the
27619  angle in degrees.
27620  The rotation direction is counterclockwise.
27621 \end_layout
27622
27623 \begin_layout Standard
27624 In the following example the command 
27625 \series bold
27626
27627 \backslash
27628 rotatebox[origin=c]{60}{
27629 \series default
27630  was inserted as TeX-Code before the text 
27631 \begin_inset Quotes eld
27632 \end_inset
27633
27634 with rotated
27635 \begin_inset Quotes erd
27636 \end_inset
27637
27638 ; after the text the box was closed by a closing brace 
27639 \series bold
27640 }
27641 \series default
27642  in TeX-Code.
27643 \end_layout
27644
27645 \begin_layout Standard
27646 This is a line 
27647 \begin_inset ERT
27648 status collapsed
27649
27650 \begin_layout Standard
27651
27652
27653 \backslash
27654 rotatebox[origin=c]{60}{
27655 \end_layout
27656
27657 \end_inset
27658
27659 with rotated
27660 \begin_inset ERT
27661 status collapsed
27662
27663 \begin_layout Standard
27664
27665 }
27666 \end_layout
27667
27668 \end_inset
27669
27670  text.
27671 \end_layout
27672
27673 \begin_layout Standard
27674 The box content can also be another box or an inline formula:
27675 \end_layout
27676
27677 \begin_layout Standard
27678 This is a line
27679 \begin_inset ERT
27680 status collapsed
27681
27682 \begin_layout Standard
27683
27684
27685 \backslash
27686 rotatebox[origin=r]{-60}{
27687 \end_layout
27688
27689 \end_inset
27690
27691
27692 \begin_inset Box Doublebox
27693 position "c"
27694 hor_pos "c"
27695 has_inner_box 0
27696 inner_pos "c"
27697 use_parbox 0
27698 width "1in"
27699 special "width"
27700 height "1in"
27701 height_special "totalheight"
27702 status collapsed
27703
27704 \begin_layout Standard
27705 with rotated
27706 \end_layout
27707
27708 \end_inset
27709
27710
27711 \begin_inset ERT
27712 status collapsed
27713
27714 \begin_layout Standard
27715
27716 }
27717 \end_layout
27718
27719 \end_inset
27720
27721  framed text 
27722 \begin_inset ERT
27723 status collapsed
27724
27725 \begin_layout Standard
27726
27727
27728 \backslash
27729 rotatebox[origin=lb]{60}{
27730 \end_layout
27731
27732 \end_inset
27733
27734
27735 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27736 \end_inset
27737
27738
27739 \begin_inset ERT
27740 status collapsed
27741
27742 \begin_layout Standard
27743
27744 }
27745 \end_layout
27746
27747 \end_inset
27748
27749  and a formula.
27750 \end_layout
27751
27752 \begin_layout Standard
27753 or an image or table:
27754 \end_layout
27755
27756 \begin_layout Standard
27757 This is a line
27758 \begin_inset ERT
27759 status collapsed
27760
27761 \begin_layout Standard
27762
27763
27764 \backslash
27765 rotatebox[origin=lb]{90}{
27766 \end_layout
27767
27768 \end_inset
27769
27770
27771 \begin_inset Graphics
27772         filename clipart/platypus.eps
27773         lyxscale 50
27774         width 25col%
27775
27776 \end_inset
27777
27778
27779 \begin_inset ERT
27780 status collapsed
27781
27782 \begin_layout Standard
27783
27784 }
27785 \end_layout
27786
27787 \end_inset
27788
27789  with a rotated image 
27790 \begin_inset ERT
27791 status collapsed
27792
27793 \begin_layout Standard
27794
27795
27796 \backslash
27797 rotatebox[origin=l]{-90}{
27798 \end_layout
27799
27800 \end_inset
27801
27802
27803 \begin_inset Tabular
27804 <lyxtabular version="3" rows="2" columns="2">
27805 <features>
27806 <column alignment="center" valignment="top" leftline="true" width="0">
27807 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27808 <row topline="true">
27809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27810 \begin_inset Text
27811
27812 \begin_layout Standard
27813 q
27814 \end_layout
27815
27816 \end_inset
27817 </cell>
27818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27819 \begin_inset Text
27820
27821 \begin_layout Standard
27822 w
27823 \end_layout
27824
27825 \end_inset
27826 </cell>
27827 </row>
27828 <row topline="true" bottomline="true">
27829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27830 \begin_inset Text
27831
27832 \begin_layout Standard
27833 e
27834 \end_layout
27835
27836 \end_inset
27837 </cell>
27838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27839 \begin_inset Text
27840
27841 \begin_layout Standard
27842 r
27843 \end_layout
27844
27845 \end_inset
27846 </cell>
27847 </row>
27848 </lyxtabular>
27849
27850 \end_inset
27851
27852
27853 \begin_inset ERT
27854 status collapsed
27855
27856 \begin_layout Standard
27857
27858 }
27859 \end_layout
27860
27861 \end_inset
27862
27863  and table.
27864 \end_layout
27865
27866 \begin_layout Subsection
27867 Scaled Boxes
27868 \begin_inset LatexCommand index
27869 name "Boxes ! scaled"
27870
27871 \end_inset
27872
27873
27874 \begin_inset LatexCommand index
27875 name "Scaled material"
27876
27877 \end_inset
27878
27879
27880 \begin_inset LatexCommand index
27881 name "Figures ! scaled"
27882
27883 \end_inset
27884
27885
27886 \begin_inset LatexCommand index
27887 name "Table Customization ! Scaling"
27888
27889 \end_inset
27890
27891
27892 \end_layout
27893
27894 \begin_layout Standard
27895 To scale material the commands 
27896 \series bold
27897
27898 \backslash
27899 scalebox
27900 \series default
27901  and 
27902 \series bold
27903
27904 \backslash
27905 resizebox
27906 \series default
27907  can be used as TeX-Code.
27908 \end_layout
27909
27910 \begin_layout Standard
27911
27912 \series bold
27913
27914 \backslash
27915 scalebox
27916 \series default
27917  is used with the following scheme:
27918 \end_layout
27919
27920 \begin_layout Standard
27921
27922 \series bold
27923
27924 \backslash
27925 scalebox{horizontal}[vertical]{box content}
27926 \end_layout
27927
27928 \begin_layout Standard
27929 Horizontal and vertical are the corresponding scaling factors.
27930  If no vertical scaling factor is given, the horizontal factor will also
27931  be used as vertical one.
27932 \end_layout
27933
27934 \begin_layout Standard
27935 The command 
27936 \series bold
27937
27938 \backslash
27939 scalebox{2}{Hello}
27940 \series default
27941  creates for example a double size 
27942 \begin_inset ERT
27943 status collapsed
27944
27945 \begin_layout Standard
27946
27947
27948 \backslash
27949 scalebox{2}{
27950 \end_layout
27951
27952 \end_inset
27953
27954 Hello
27955 \begin_inset ERT
27956 status collapsed
27957
27958 \begin_layout Standard
27959
27960 }
27961 \end_layout
27962
27963 \end_inset
27964
27965 , compared to the document text size.
27966 \end_layout
27967
27968 \begin_layout Standard
27969
27970 \series bold
27971
27972 \backslash
27973 scalebox{2}[1]{Hello}
27974 \series default
27975  in contrary distorts the 
27976 \begin_inset ERT
27977 status collapsed
27978
27979 \begin_layout Standard
27980
27981
27982 \backslash
27983 scalebox{2}[1]{
27984 \end_layout
27985
27986 \end_inset
27987
27988 Hello
27989 \begin_inset ERT
27990 status collapsed
27991
27992 \begin_layout Standard
27993
27994 }
27995 \end_layout
27996
27997 \end_inset
27998
27999 .
28000 \end_layout
28001
28002 \begin_layout Standard
28003 If a the scaling factor is negative, the box content will be mirrored.
28004  Therefore the command 
28005 \series bold
28006
28007 \backslash
28008 scalebox{-1}[1]{Hello}
28009 \series default
28010  can be used to create mirror writing: 
28011 \begin_inset ERT
28012 status collapsed
28013
28014 \begin_layout Standard
28015
28016
28017 \backslash
28018 scalebox{-1}[1]{
28019 \end_layout
28020
28021 \end_inset
28022
28023 Hello
28024 \begin_inset ERT
28025 status collapsed
28026
28027 \begin_layout Standard
28028
28029 }
28030 \end_layout
28031
28032 \end_inset
28033
28034
28035 \end_layout
28036
28037 \begin_layout Standard
28038
28039 \series bold
28040
28041 \backslash
28042 scalebox{1}[-1]{Hello}
28043 \series default
28044  reflects the 
28045 \begin_inset ERT
28046 status collapsed
28047
28048 \begin_layout Standard
28049
28050
28051 \backslash
28052 scalebox{1}[-1]{
28053 \end_layout
28054
28055 \end_inset
28056
28057 Hello
28058 \begin_inset ERT
28059 status collapsed
28060
28061 \begin_layout Standard
28062
28063 }
28064 \end_layout
28065
28066 \end_inset
28067
28068  at the base line.
28069 \end_layout
28070
28071 \begin_layout Standard
28072 Equivalent to 
28073 \series bold
28074
28075 \backslash
28076 scalebox{-1}[1]{box content}
28077 \series default
28078  there exists the command
28079 \newline
28080
28081 \series bold
28082
28083 \backslash
28084 reflectbox{box content}
28085 \series default
28086 .
28087 \end_layout
28088
28089 \begin_layout Standard
28090 \begin_inset VSpace bigskip
28091 \end_inset
28092
28093 The command 
28094 \series bold
28095
28096 \backslash
28097 resizebox
28098 \series default
28099  is used to scale the box to a defined width and height.
28100  The command scheme is:
28101 \end_layout
28102
28103 \begin_layout Standard
28104
28105 \series bold
28106
28107 \backslash
28108 resizebox{width}{height}{box content}
28109 \end_layout
28110
28111 \begin_layout Standard
28112 Is one of the two command arguments given as exclamation mark 
28113 \series bold
28114 !
28115 \series default
28116 , the size is set so that the aspect ratio of the box content is kept.
28117 \end_layout
28118
28119 \begin_layout Standard
28120 The command 
28121 \series bold
28122
28123 \backslash
28124 resizebox{2cm}{1cm}{Hello}
28125 \series default
28126  produces: 
28127 \begin_inset ERT
28128 status collapsed
28129
28130 \begin_layout Standard
28131
28132
28133 \backslash
28134 resizebox{2cm}{1cm}{
28135 \end_layout
28136
28137 \end_inset
28138
28139 Hello
28140 \begin_inset ERT
28141 status collapsed
28142
28143 \begin_layout Standard
28144
28145 }
28146 \end_layout
28147
28148 \end_inset
28149
28150
28151 \newline
28152 The command 
28153 \series bold
28154
28155 \backslash
28156 resizebox{2cm}{!}{Hello}
28157 \series default
28158  produces: 
28159 \begin_inset ERT
28160 status collapsed
28161
28162 \begin_layout Standard
28163
28164
28165 \backslash
28166 resizebox{2cm}{!}{
28167 \end_layout
28168
28169 \end_inset
28170
28171 Hello
28172 \begin_inset ERT
28173 status collapsed
28174
28175 \begin_layout Standard
28176
28177 }
28178 \end_layout
28179
28180 \end_inset
28181
28182
28183 \end_layout
28184
28185 \begin_layout Standard
28186 \begin_inset VSpace bigskip
28187 \end_inset
28188
28189
28190 \begin_inset Note Greyedout
28191 status open
28192
28193 \begin_layout Standard
28194
28195 \series bold
28196 Note:
28197 \series default
28198  When arguments of 
28199 \series bold
28200
28201 \backslash
28202 scalebox
28203 \series default
28204  or 
28205 \series bold
28206
28207 \backslash
28208 resizebox
28209 \series default
28210  are set to zero, no LaTeX-errors occur when exporting the document but
28211  the exported files can not or only partly be displayed.
28212 \end_layout
28213
28214 \end_inset
28215
28216
28217 \end_layout
28218
28219 \begin_layout Standard
28220 \begin_inset VSpace bigskip
28221 \end_inset
28222
28223
28224 \end_layout
28225
28226 \begin_layout Standard
28227 The boxes can be combined in any order.
28228  E.\InsetSpace \thinspace{}
28229 g.\InsetSpace ~
28230 the command
28231 \newline
28232
28233 \series bold
28234
28235 \backslash
28236 rotatebox[origin=c]{-45}{
28237 \backslash
28238 resizebox{2cm}{!}{
28239 \backslash
28240 reflectbox{Hello}}}
28241 \newline
28242
28243 \series default
28244 produces:
28245 \end_layout
28246
28247 \begin_layout Standard
28248 \align center
28249 \begin_inset ERT
28250 status collapsed
28251
28252 \begin_layout Standard
28253
28254
28255 \backslash
28256 rotatebox[origin=c]{-45}{
28257 \backslash
28258 resizebox{2cm}{!}{
28259 \backslash
28260 reflectbox{
28261 \end_layout
28262
28263 \end_inset
28264
28265 Hello
28266 \begin_inset ERT
28267 status collapsed
28268
28269 \begin_layout Standard
28270
28271 }}}
28272 \end_layout
28273
28274 \end_inset
28275
28276
28277 \end_layout
28278
28279 \begin_layout Standard
28280 \noindent
28281 Images, tables, and inline formulas are allowed as box content:
28282 \end_layout
28283
28284 \begin_layout Standard
28285 \align center
28286 \begin_inset ERT
28287 status collapsed
28288
28289 \begin_layout Standard
28290
28291
28292 \backslash
28293 rotatebox[origin=c]{-30}{
28294 \backslash
28295 resizebox{2cm}{!}{
28296 \backslash
28297 reflectbox{
28298 \end_layout
28299
28300 \end_inset
28301
28302
28303 \begin_inset Graphics
28304         filename clipart/platypus.eps
28305         lyxscale 50
28306         width 25col%
28307
28308 \end_inset
28309
28310
28311 \begin_inset ERT
28312 status collapsed
28313
28314 \begin_layout Standard
28315
28316 }}}
28317 \end_layout
28318
28319 \end_inset
28320
28321
28322 \begin_inset ERT
28323 status collapsed
28324
28325 \begin_layout Standard
28326
28327
28328 \backslash
28329 rotatebox[origin=c]{-45}{
28330 \backslash
28331 resizebox{2cm}{!}{
28332 \backslash
28333 reflectbox{
28334 \end_layout
28335
28336 \end_inset
28337
28338
28339 \begin_inset Tabular
28340 <lyxtabular version="3" rows="2" columns="2">
28341 <features>
28342 <column alignment="center" valignment="top" leftline="true" width="0">
28343 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28344 <row topline="true">
28345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28346 \begin_inset Text
28347
28348 \begin_layout Standard
28349 q
28350 \end_layout
28351
28352 \end_inset
28353 </cell>
28354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28355 \begin_inset Text
28356
28357 \begin_layout Standard
28358 w
28359 \end_layout
28360
28361 \end_inset
28362 </cell>
28363 </row>
28364 <row topline="true" bottomline="true">
28365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28366 \begin_inset Text
28367
28368 \begin_layout Standard
28369 e
28370 \end_layout
28371
28372 \end_inset
28373 </cell>
28374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28375 \begin_inset Text
28376
28377 \begin_layout Standard
28378 r
28379 \end_layout
28380
28381 \end_inset
28382 </cell>
28383 </row>
28384 </lyxtabular>
28385
28386 \end_inset
28387
28388
28389 \begin_inset ERT
28390 status collapsed
28391
28392 \begin_layout Standard
28393
28394 }}}
28395 \end_layout
28396
28397 \end_inset
28398
28399
28400 \begin_inset ERT
28401 status collapsed
28402
28403 \begin_layout Standard
28404
28405
28406 \backslash
28407 rotatebox[origin=c]{-45}{
28408 \backslash
28409 resizebox{2cm}{!}{
28410 \backslash
28411 reflectbox{
28412 \end_layout
28413
28414 \end_inset
28415
28416
28417 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28418 \end_inset
28419
28420
28421 \begin_inset ERT
28422 status collapsed
28423
28424 \begin_layout Standard
28425
28426 }}}
28427 \end_layout
28428
28429 \end_inset
28430
28431
28432 \end_layout
28433
28434 \begin_layout Standard
28435 When the global formula style 
28436 \series bold
28437 fleqn
28438 \series default
28439  is used in the document
28440 \begin_inset Foot
28441 status collapsed
28442
28443 \begin_layout Standard
28444 When 
28445 \begin_inset Quotes eld
28446 \end_inset
28447
28448 fleqn
28449 \begin_inset Quotes erd
28450 \end_inset
28451
28452  is added to the document class options.
28453 \end_layout
28454
28455 \end_inset
28456
28457 , also display formulas can be scaled.
28458 \end_layout
28459
28460 \begin_layout Section
28461 URLs (Uniform Resource Locators)
28462 \begin_inset LatexCommand index
28463 name "URLs"
28464
28465 \end_inset
28466
28467
28468 \end_layout
28469
28470 \begin_layout Standard
28471 Links to web pages or email addresses can be inserted via the menu 
28472 \family sans
28473 Insert\SpecialChar \menuseparator
28474 URL
28475 \family default
28476 .
28477  The appearing URL dialog has two fields; the 
28478 \family sans
28479 URL
28480 \family default
28481  field and the 
28482 \family sans
28483 Name
28484 \family default
28485  field for the URL description, which will be typeset as plain text immediately
28486  before the URL.
28487 \end_layout
28488
28489 \begin_layout Standard
28490 Here is an example URL: 
28491 \begin_inset LatexCommand url
28492 name "LyX's homepage"
28493 target "http://www.lyx.org"
28494
28495 \end_inset
28496
28497
28498 \end_layout
28499
28500 \begin_layout Standard
28501 The option 
28502 \family sans
28503 Generate\InsetSpace ~
28504 hyperlink
28505 \family default
28506  in the URL dialog does nothing.
28507  This relict will be removed in the next LyX-version.
28508 \end_layout
28509
28510 \begin_layout Standard
28511 You cannot change the style of the link text.
28512  The text of the 
28513 \family sans
28514 Name
28515 \family default
28516  field will have the default text style of the document while the text of
28517  the 
28518 \family sans
28519 URL
28520 \family default
28521  field will have the style 
28522 \begin_inset Quotes eld
28523 \end_inset
28524
28525
28526 \family sans
28527 Typewriter
28528 \family default
28529
28530 \begin_inset Quotes erd
28531 \end_inset
28532
28533 .
28534 \end_layout
28535
28536 \begin_layout Standard
28537 When you use the LaTeX-package 
28538 \series bold
28539 hyperref
28540 \series default
28541
28542 \begin_inset LatexCommand index
28543 name "LaTeX-packages ! hyperref"
28544
28545 \end_inset
28546
28547  to link cross-references in the output, URLs will automatically become
28548  clickable hyperlinks in DVI and PDF-output.
28549 \end_layout
28550
28551 \begin_layout Standard
28552 \begin_inset Note Greyedout
28553 status open
28554
28555 \begin_layout Standard
28556
28557 \series bold
28558 Note:
28559 \series default
28560  When you use the following characters: "%", "#", "^", you have to write
28561  them with a preceding backslash, e.\InsetSpace \thinspace{}
28562 g.\InsetSpace ~
28563
28564 \begin_inset Quotes eld
28565 \end_inset
28566
28567
28568 \backslash
28569 #
28570 \begin_inset Quotes erd
28571 \end_inset
28572
28573 .
28574  URLs must not end with a backslash.
28575 \end_layout
28576
28577 \end_inset
28578
28579
28580 \end_layout
28581
28582 \begin_layout Standard
28583 \begin_inset VSpace bigskip
28584 \end_inset
28585
28586 To create real hyperlinks without the force to write the link location to
28587  the text, you can use the command
28588 \end_layout
28589
28590 \begin_layout Standard
28591
28592 \series bold
28593
28594 \backslash
28595 href{link location}{link text}
28596 \end_layout
28597
28598 \begin_layout Standard
28599 in TeX-Code.
28600  To get for example a link to LyX's web page, write the command
28601 \end_layout
28602
28603 \begin_layout Standard
28604
28605 \series bold
28606
28607 \backslash
28608 href{http://www.lyx.org}{
28609 \end_layout
28610
28611 \begin_layout Standard
28612 in TeX-Code.
28613  Insert after the command the link text 
28614 \begin_inset Quotes eld
28615 \end_inset
28616
28617 LyX's homepage
28618 \begin_inset Quotes erd
28619 \end_inset
28620
28621  as normal text followed by a closing brace 
28622 \begin_inset Quotes eld
28623 \end_inset
28624
28625
28626 \series bold
28627 }
28628 \series default
28629
28630 \begin_inset Quotes erd
28631 \end_inset
28632
28633  in TeX-Code.
28634  This is the result: 
28635 \begin_inset ERT
28636 status collapsed
28637
28638 \begin_layout Standard
28639
28640
28641 \backslash
28642 href{http://www.lyx.org}{
28643 \end_layout
28644
28645 \end_inset
28646
28647 LyX's homepage
28648 \begin_inset ERT
28649 status collapsed
28650
28651 \begin_layout Standard
28652
28653 }
28654 \end_layout
28655
28656 \end_inset
28657
28658
28659 \end_layout
28660
28661 \begin_layout Standard
28662 To link to email addresses, add the prefix 
28663 \begin_inset Quotes eld
28664 \end_inset
28665
28666
28667 \family sans
28668 mailto:
28669 \family default
28670
28671 \begin_inset Quotes erd
28672 \end_inset
28673
28674  to the link location:
28675 \newline
28676 Email to 
28677 \begin_inset ERT
28678 status collapsed
28679
28680 \begin_layout Standard
28681
28682
28683 \backslash
28684 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
28685 \end_layout
28686
28687 \end_inset
28688
28689 lyx-docs mailing list
28690 \begin_inset ERT
28691 status collapsed
28692
28693 \begin_layout Standard
28694
28695 }
28696 \end_layout
28697
28698 \end_inset
28699
28700 .
28701 \end_layout
28702
28703 \begin_layout Standard
28704 Using 
28705 \series bold
28706
28707 \backslash
28708 href
28709 \series default
28710  instead of LyX's URL box has the advantage that you can specify the text
28711  style of the link text like for all other text parts.
28712  You can then set hyphenation points and forced linebreaks to have long
28713  link text broken at the page margin.
28714  You are furthermore able to change the text style for all URLs in your
28715  document with an option in 
28716 \series bold
28717 hyperref
28718 \series default
28719 's load command and the restrictions mentioned above doesn't apply for 
28720 \series bold
28721
28722 \backslash
28723 href
28724 \series default
28725 .
28726 \end_layout
28727
28728 \begin_layout Chapter
28729 External Stuff
28730 \begin_inset LatexCommand index
28731 name "External Stuff"
28732
28733 \end_inset
28734
28735
28736 \end_layout
28737
28738 \begin_layout Standard
28739 With the menu 
28740 \family sans
28741 Insert\SpecialChar \menuseparator
28742 File
28743 \family default
28744  you can insert external material to your document.
28745  This can be:
28746 \end_layout
28747
28748 \begin_layout Description
28749 LyX\InsetSpace ~
28750 Document Another LyX document; its content is directly inserted to your
28751  document.
28752 \end_layout
28753
28754 \begin_layout Description
28755 Plain\InsetSpace ~
28756 Text A text document; every of its text lines is inserted to your document
28757  as own paragraph.
28758 \end_layout
28759
28760 \begin_layout Description
28761 Plain\InsetSpace ~
28762 Text,\InsetSpace ~
28763 Join\InsetSpace ~
28764 Lines A text document; its text lines are inserted as they
28765  are.
28766  Empty text lines creates a new paragraph in your document.
28767 \end_layout
28768
28769 \begin_layout Description
28770 External\InsetSpace ~
28771 Material Files in various formats.
28772 \end_layout
28773
28774 \begin_layout Description
28775 Child\InsetSpace ~
28776 Document LyX or LaTeX-documents.
28777 \end_layout
28778
28779 \begin_layout Section
28780 External Material
28781 \begin_inset LatexCommand index
28782 name "External Stuff ! External Material"
28783
28784 \end_inset
28785
28786
28787 \end_layout
28788
28789 \begin_layout Standard
28790 The external material feature allows you to insert files to your document
28791  without converting them previously to a format that can be read by the
28792  document output format because LyX takes care of needed conversions.
28793  This is similar to images that can be inserted in various image formats
28794  to LyX documents.
28795 \end_layout
28796
28797 \begin_layout Standard
28798 External material can be inserted via the 
28799 \family sans
28800 External Material
28801 \family default
28802  dialog that is accessible with the menu 
28803 \family sans
28804 Insert\SpecialChar \menuseparator
28805 File\SpecialChar \menuseparator
28806 External\InsetSpace ~
28807 Material
28808 \family default
28809 .
28810  Currently the following file types (
28811 \family sans
28812 Templates
28813 \family default
28814 ) are allowed:
28815 \end_layout
28816
28817 \begin_layout Description
28818 ChessDiagram This template supports chess position diagrams made with the
28819  program 
28820 \begin_inset ERT
28821 status collapsed
28822
28823 \begin_layout Standard
28824
28825
28826 \backslash
28827 href{http://en.wikipedia.org/wiki/XBoard}{
28828 \end_layout
28829
28830 \end_inset
28831
28832
28833 \series bold
28834 XBoard
28835 \series default
28836
28837 \begin_inset ERT
28838 status collapsed
28839
28840 \begin_layout Standard
28841
28842 }
28843 \end_layout
28844
28845 \end_inset
28846
28847 .
28848 \end_layout
28849
28850 \begin_layout Description
28851 Date This inserts the date in the form 
28852 \emph on
28853 Day-Month-Year
28854 \emph default
28855 .
28856  This is a date inserted as external material: 
28857 \begin_inset External
28858         template Date
28859         filename .
28860
28861 \end_inset
28862
28863
28864 \newline
28865 The date is not shown within LyX, only in the output.
28866  There are two other methods of inserting a date: Via menu 
28867 \family sans
28868 Insert\SpecialChar \menuseparator
28869 Date
28870 \family default
28871  and with the LaTeX command 
28872 \series bold
28873
28874 \backslash
28875 today
28876 \series default
28877  as TeX-Code.
28878  The different methods are compared in Table\InsetSpace ~
28879
28880 \begin_inset LatexCommand ref
28881 reference "tab:Comparison-of-the"
28882
28883 \end_inset
28884
28885 .
28886 \end_layout
28887
28888 \begin_layout Description
28889 LilyPond This template is used for music notation typeset with the program
28890 \begin_inset ERT
28891 status collapsed
28892
28893 \begin_layout Standard
28894
28895
28896 \backslash
28897 linebreak 
28898 \end_layout
28899
28900 \end_inset
28901
28902
28903 \begin_inset ERT
28904 status collapsed
28905
28906 \begin_layout Standard
28907
28908
28909 \backslash
28910 href{http://en.wikipedia.org/wiki/LilyPond}{
28911 \end_layout
28912
28913 \end_inset
28914
28915
28916 \series bold
28917 LilyPond
28918 \series default
28919
28920 \begin_inset ERT
28921 status collapsed
28922
28923 \begin_layout Standard
28924
28925 }
28926 \end_layout
28927
28928 \end_inset
28929
28930 .
28931 \begin_inset Note Note
28932 status collapsed
28933
28934 \begin_layout Standard
28935 The command 
28936 \series bold
28937
28938 \backslash
28939 linebreak
28940 \series default
28941  breaks the line while the remaining text in the line is stretched to the
28942  page margin.
28943 \end_layout
28944
28945 \end_inset
28946
28947
28948 \end_layout
28949
28950 \begin_layout Description
28951 RasterImage This can be used for bitmap images.
28952  Nearly all popular image formats are supported.
28953  The image can be treated in the 
28954 \family sans
28955 External material
28956 \family default
28957  dialog like the images that are usually included via the 
28958 \family sans
28959 Graphics
28960 \family default
28961  dialog as described in section\InsetSpace ~
28962
28963 \begin_inset LatexCommand ref
28964 reference "sec:Graphics-Dialog"
28965
28966 \end_inset
28967
28968 .
28969  The difference is that only raster images are allowed, that means that
28970  PDF and EPS-images are not supported.
28971 \end_layout
28972
28973 \begin_layout Description
28974 XFig This template supports images created with the program 
28975 \begin_inset ERT
28976 status collapsed
28977
28978 \begin_layout Standard
28979
28980
28981 \backslash
28982 href{http://en.wikipedia.org/wiki/Xfig}{
28983 \end_layout
28984
28985 \end_inset
28986
28987
28988 \series bold
28989 Xfig
28990 \series default
28991
28992 \begin_inset ERT
28993 status collapsed
28994
28995 \begin_layout Standard
28996
28997 }
28998 \end_layout
28999
29000 \end_inset
29001
29002 .
29003 \end_layout
29004
29005 \begin_layout Standard
29006 \begin_inset Float table
29007 placement h
29008 wide false
29009 sideways false
29010 status open
29011
29012 \begin_layout Standard
29013 \begin_inset Caption
29014
29015 \begin_layout Standard
29016 \begin_inset LatexCommand label
29017 name "tab:Comparison-of-the"
29018
29019 \end_inset
29020
29021 Comparison of the date input methods.
29022 \end_layout
29023
29024 \end_inset
29025
29026
29027 \end_layout
29028
29029 \begin_layout Standard
29030 \align center
29031 \begin_inset Tabular
29032 <lyxtabular version="3" rows="4" columns="4">
29033 <features>
29034 <column alignment="center" valignment="top" leftline="true" width="0">
29035 <column alignment="center" valignment="top" leftline="true" width="0">
29036 <column alignment="center" valignment="top" leftline="true" width="0">
29037 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
29038 <row topline="true">
29039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29040 \begin_inset Text
29041
29042 \begin_layout Standard
29043 Document format
29044 \end_layout
29045
29046 \end_inset
29047 </cell>
29048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29049 \begin_inset Text
29050
29051 \begin_layout Standard
29052
29053 \family sans
29054 External Material\SpecialChar \menuseparator
29055 Date
29056 \end_layout
29057
29058 \end_inset
29059 </cell>
29060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29061 \begin_inset Text
29062
29063 \begin_layout Standard
29064
29065 \family sans
29066 Insert\SpecialChar \menuseparator
29067 Date
29068 \end_layout
29069
29070 \end_inset
29071 </cell>
29072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29073 \begin_inset Text
29074
29075 \begin_layout Standard
29076 command 
29077 \series bold
29078
29079 \backslash
29080 today
29081 \end_layout
29082
29083 \end_inset
29084 </cell>
29085 </row>
29086 <row topline="true">
29087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29088 \begin_inset Text
29089
29090 \begin_layout Standard
29091 LyX
29092 \end_layout
29093
29094 \end_inset
29095 </cell>
29096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29097 \begin_inset Text
29098
29099 \begin_layout Standard
29100 as inset box
29101 \end_layout
29102
29103 \end_inset
29104 </cell>
29105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29106 \begin_inset Text
29107
29108 \begin_layout Standard
29109 as date
29110 \end_layout
29111
29112 \end_inset
29113 </cell>
29114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29115 \begin_inset Text
29116
29117 \begin_layout Standard
29118 as TeX-Code inset box
29119 \end_layout
29120
29121 \end_inset
29122 </cell>
29123 </row>
29124 <row topline="true">
29125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29126 \begin_inset Text
29127
29128 \begin_layout Standard
29129 LaTeX
29130 \end_layout
29131
29132 \end_inset
29133 </cell>
29134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29135 \begin_inset Text
29136
29137 \begin_layout Standard
29138 as date
29139 \end_layout
29140
29141 \end_inset
29142 </cell>
29143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29144 \begin_inset Text
29145
29146 \begin_layout Standard
29147 as date
29148 \end_layout
29149
29150 \end_inset
29151 </cell>
29152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29153 \begin_inset Text
29154
29155 \begin_layout Standard
29156 as command
29157 \end_layout
29158
29159 \end_inset
29160 </cell>
29161 </row>
29162 <row topline="true" bottomline="true">
29163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29164 \begin_inset Text
29165
29166 \begin_layout Standard
29167 DVI, PDF, PS
29168 \end_layout
29169
29170 \end_inset
29171 </cell>
29172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29173 \begin_inset Text
29174
29175 \begin_layout Standard
29176 as date
29177 \end_layout
29178
29179 \end_inset
29180 </cell>
29181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29182 \begin_inset Text
29183
29184 \begin_layout Standard
29185 as date
29186 \end_layout
29187
29188 \end_inset
29189 </cell>
29190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29191 \begin_inset Text
29192
29193 \begin_layout Standard
29194 as date
29195 \end_layout
29196
29197 \end_inset
29198 </cell>
29199 </row>
29200 </lyxtabular>
29201
29202 \end_inset
29203
29204
29205 \end_layout
29206
29207 \end_inset
29208
29209
29210 \end_layout
29211
29212 \begin_layout Standard
29213 When you use the option 
29214 \family sans
29215 Draft
29216 \family default
29217  in the 
29218 \family sans
29219 File
29220 \family default
29221  tab of the 
29222 \family sans
29223 External Material
29224 \family default
29225  dialog, only the path to the inserted file is shown in the output.
29226 \newline
29227 External
29228  material is displayed in LyX either as box like this: 
29229 \begin_inset Graphics
29230         filename clipart/ExternalMaterialQt4.png
29231         scale 85
29232         scaleBeforeRotation
29233
29234 \end_inset
29235
29236  or as image, depending on the setting in the 
29237 \family sans
29238 LyX\InsetSpace ~
29239 View
29240 \family default
29241  tab of the 
29242 \family sans
29243 External Material
29244 \family default
29245  dialog.
29246 \end_layout
29247
29248 \begin_layout Standard
29249 The 
29250 \family sans
29251 \emph on
29252 Customization
29253 \family default
29254 \emph default
29255  manual explains how you can define your own templates.
29256 \end_layout
29257
29258 \begin_layout Section
29259 Child Documents
29260 \begin_inset LatexCommand label
29261 name "sec:Child-Documents"
29262
29263 \end_inset
29264
29265
29266 \begin_inset LatexCommand index
29267 name "External Stuff ! Child Documents"
29268
29269 \end_inset
29270
29271
29272 \begin_inset LatexCommand index
29273 name "Files ! Include"
29274
29275 \end_inset
29276
29277
29278 \end_layout
29279
29280 \begin_layout Standard
29281 Child documents are used when you have a long document consisting of several
29282  larger parts or sections.
29283  For maintenance it is often useful and sometimes even required to split
29284  the document in several files that can be revised separately.
29285  The different documents are then the so called child documents and a master
29286  document connects them to print the full document or parts of it.
29287 \end_layout
29288
29289 \begin_layout Standard
29290 Included documents are displayed in LyX as a box like this: 
29291 \begin_inset Graphics
29292         filename clipart/ChildDocumentQt4.png
29293         scale 85
29294         scaleBeforeRotation
29295
29296 \end_inset
29297
29298  To include child documents to a master document use the menu 
29299 \family sans
29300 Insert\SpecialChar \menuseparator
29301 File\SpecialChar \menuseparator
29302 Child\InsetSpace ~
29303 Documents
29304 \family default
29305 .
29306  A dialog pops up where you can choose between four include methods:
29307 \end_layout
29308
29309 \begin_layout Description
29310 Include You can include LyX and LaTeX-documents.
29311  When you press the 
29312 \family sans
29313 Load
29314 \family default
29315  button in the 
29316 \family sans
29317 Child Document
29318 \family default
29319  dialog, the included documents will be opened in LyX in a new file tab
29320  so that you can modify it.
29321 \newline
29322
29323 \end_layout
29324
29325 \begin_layout Standard
29326 Here is a child document inserted using 
29327 \family sans
29328 Include
29329 \family default
29330
29331 \begin_inset Include \include{DummyDocument1.lyx}
29332 preview false
29333
29334 \end_inset
29335
29336
29337 \end_layout
29338
29339 \begin_layout Standard
29340 The section numbering includes the sections of the included files in the
29341  order they are inserted in the master document.
29342  The included example document has for example a subsection that is numbered
29343  as subsection of this section.
29344  Labels of included documents can be referenced: Subsection\InsetSpace ~
29345
29346 \begin_inset LatexCommand ref
29347 reference "sub:External-Subsection-1"
29348
29349 \end_inset
29350
29351
29352 \end_layout
29353
29354 \begin_layout Standard
29355 The preamble of the child document is ignored, only the preamble of the
29356  master document is used.
29357  Included documents are inserted starting on a new page and end with a pagebreak.
29358 \end_layout
29359
29360 \begin_layout Standard
29361 With the LaTeX-command 
29362 \series bold
29363
29364 \backslash
29365 includeonly 
29366 \series default
29367 you can specify which included child documents are processed when the output
29368  is generated.
29369  This is useful when you are perhaps only working on a certain chapter of
29370  your large document as this saves compiling time.
29371  
29372 \series bold
29373
29374 \backslash
29375 includeonly
29376 \series default
29377  is inserted to the master document preamble.
29378  It takes a comma-separated list of the filenames as argument, e.g.
29379 \end_layout
29380
29381 \begin_layout Standard
29382
29383 \series bold
29384
29385 \backslash
29386 includeonly{chapter1,chapter5}
29387 \end_layout
29388
29389 \begin_layout Standard
29390 will only process the included files named 
29391 \begin_inset Quotes eld
29392 \end_inset
29393
29394 chapter1.lyx
29395 \begin_inset Quotes erd
29396 \end_inset
29397
29398  (or 
29399 \begin_inset Quotes eld
29400 \end_inset
29401
29402 chapter1.tex
29403 \begin_inset Quotes erd
29404 \end_inset
29405
29406 ) and 
29407 \begin_inset Quotes eld
29408 \end_inset
29409
29410 chapter5.lyx
29411 \begin_inset Quotes erd
29412 \end_inset
29413
29414  .
29415 \end_layout
29416
29417 \begin_layout Standard
29418 \begin_inset Note Greyedout
29419 status open
29420
29421 \begin_layout Standard
29422
29423 \series bold
29424 Note:
29425 \series default
29426  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29427 w the document in case that the child document uses another document class
29428  than the master document as this will lead to unexpected outputs.
29429 \end_layout
29430
29431 \end_inset
29432
29433
29434 \end_layout
29435
29436 \begin_layout Description
29437 Input This method is very similar to the Include method.
29438  The differences are:
29439 \end_layout
29440
29441 \begin_deeper
29442 \begin_layout Itemize
29443 Input files don't start with a new page and don't end with a pagebreak.
29444 \end_layout
29445
29446 \begin_layout Itemize
29447 Input files can be previewed in LyX when 
29448 \family sans
29449 Instant\InsetSpace ~
29450 Preview
29451 \family default
29452  is enabled in LyX's preferences under 
29453 \family sans
29454 Look\InsetSpace ~
29455 and\InsetSpace ~
29456 feel\SpecialChar \menuseparator
29457 Graphics
29458 \family default
29459 .
29460 \end_layout
29461
29462 \begin_layout Itemize
29463 The LaTeX-command 
29464 \series bold
29465
29466 \backslash
29467 includeonly
29468 \series default
29469  cannot be used.
29470 \end_layout
29471
29472 \end_deeper
29473 \begin_layout Standard
29474 Here is a child document inserted using 
29475 \family sans
29476 Input
29477 \family default
29478
29479 \begin_inset Include \input{DummyDocument2.lyx}
29480 preview false
29481
29482 \end_inset
29483
29484
29485 \end_layout
29486
29487 \begin_layout Description
29488 Verbatim With this method every text file can be included.
29489  The file is shown in the output with its source code, no command used in
29490  the text is invoked.
29491  You can use the option 
29492 \family sans
29493 Mark spaces in output
29494 \family default
29495  that displays the character 
29496 \begin_inset Quotes eld
29497 \end_inset
29498
29499
29500 \begin_inset ERT
29501 status collapsed
29502
29503 \begin_layout Standard
29504
29505
29506 \backslash
29507 textvisiblespace 
29508 \end_layout
29509
29510 \end_inset
29511
29512
29513 \begin_inset Quotes erd
29514 \end_inset
29515
29516  for every space character in the source code.
29517  The difference to the method via the menu 
29518 \family sans
29519 Insert\SpecialChar \menuseparator
29520 File\SpecialChar \menuseparator
29521 Plain\InsetSpace ~
29522 Text
29523 \family default
29524  is that the document content is not shown in LyX.
29525 \end_layout
29526
29527 \begin_layout Standard
29528 Here is a child document inserted as Verbatim: 
29529 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29530 preview false
29531
29532 \end_inset
29533
29534
29535 \begin_inset VSpace bigskip
29536 \end_inset
29537
29538 Here is a child document inserted as Verbatim using the 
29539 \family sans
29540 Mark spaces in output
29541 \family default
29542  option: 
29543 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29544 preview false
29545
29546 \end_inset
29547
29548
29549 \end_layout
29550
29551 \begin_layout Standard
29552 \begin_inset VSpace bigskip
29553 \end_inset
29554
29555
29556 \end_layout
29557
29558 \begin_layout Standard
29559 \begin_inset Note Greyedout
29560 status open
29561
29562 \begin_layout Standard
29563
29564 \series bold
29565 Note:
29566 \series default
29567  As you can see in the examples above, the text of the documents included
29568  as 
29569 \family sans
29570 verbatim
29571 \family default
29572  is not broken at the end of the document lines.
29573 \end_layout
29574
29575 \end_inset
29576
29577
29578 \end_layout
29579
29580 \begin_layout Description
29581 Listings This type is described in chapter\InsetSpace ~
29582
29583 \begin_inset LatexCommand ref
29584 reference "cha:Program-Code-Listings"
29585
29586 \end_inset
29587
29588 .
29589 \end_layout
29590
29591 \begin_layout Standard
29592 \begin_inset Note Greyedout
29593 status open
29594
29595 \begin_layout Standard
29596
29597 \series bold
29598 Note:
29599 \series default
29600  Including the same document twice in a document using different methods
29601  could cause LaTeX-problems.
29602 \end_layout
29603
29604 \end_inset
29605
29606
29607 \end_layout
29608
29609 \begin_layout Chapter
29610 Program Code Listings
29611 \begin_inset LatexCommand label
29612 name "cha:Program-Code-Listings"
29613
29614 \end_inset
29615
29616
29617 \begin_inset LatexCommand index
29618 name "Listings"
29619
29620 \end_inset
29621
29622
29623 \begin_inset LatexCommand index
29624 name "Program Code"
29625
29626 \end_inset
29627
29628
29629 \begin_inset LatexCommand index
29630 name "Floats ! Listings"
29631
29632 \end_inset
29633
29634
29635 \end_layout
29636
29637 \begin_layout Standard
29638 To include and typeset program code you can use the 
29639 \family sans
29640 Listings
29641 \family default
29642  inset that can be inserted via the menu 
29643 \family sans
29644 Insert\SpecialChar \menuseparator
29645 Program Listing
29646 \family default
29647 .
29648  The LaTeX-package 
29649 \series bold
29650 listings
29651 \series default
29652
29653 \begin_inset LatexCommand index
29654 name "LaTeX-packages ! listings"
29655
29656 \end_inset
29657
29658  provides a powerful and flexible way to insert program source code to your
29659  document.
29660 \end_layout
29661
29662 \begin_layout Standard
29663 When right-clicking on a listings inset a dialog pops up where you can set
29664  the listings format.
29665 \end_layout
29666
29667 \begin_layout Standard
29668 By default, a listing starts a new paragraph in the output.
29669  The placement option 
29670 \family sans
29671 Inline\InsetSpace ~
29672 listing
29673 \family default
29674  prints the listing inline like this: 
29675 \begin_inset listings
29676 lstparams "language={C++}"
29677 inline true
29678 status open
29679
29680 \begin_layout Standard
29681
29682 int a=5;
29683 \end_layout
29684
29685 \end_inset
29686
29687
29688 \newline
29689 The option 
29690 \family sans
29691 Float
29692 \family default
29693  creates a listings float where you can specify the placement options 
29694 \begin_inset Quotes eld
29695 \end_inset
29696
29697
29698 \family sans
29699 h
29700 \family default
29701
29702 \begin_inset Quotes erd
29703 \end_inset
29704
29705
29706 \begin_inset Quotes eld
29707 \end_inset
29708
29709
29710 \family sans
29711 t
29712 \family default
29713
29714 \begin_inset Quotes erd
29715 \end_inset
29716
29717
29718 \begin_inset Quotes eld
29719 \end_inset
29720
29721
29722 \family sans
29723 b
29724 \family default
29725
29726 \begin_inset Quotes erd
29727 \end_inset
29728
29729 , and 
29730 \begin_inset Quotes eld
29731 \end_inset
29732
29733
29734 \family sans
29735 p
29736 \family default
29737
29738 \begin_inset Quotes erd
29739 \end_inset
29740
29741  corresponding to the float placement options described in section\InsetSpace ~
29742
29743 \begin_inset LatexCommand ref
29744 reference "sec:Float-Placement"
29745
29746 \end_inset
29747
29748 .
29749  The placement options can be mixed and are inserted without any separation,
29750  e.\InsetSpace \thinspace{}
29751 g.\InsetSpace ~
29752
29753 \begin_inset Quotes eld
29754 \end_inset
29755
29756
29757 \family sans
29758 htbp
29759 \family default
29760
29761 \begin_inset Quotes erd
29762 \end_inset
29763
29764 .
29765  The option 
29766 \begin_inset Quotes eld
29767 \end_inset
29768
29769 h
29770 \begin_inset Quotes erd
29771 \end_inset
29772
29773  has sometimes no effect, but you don't need to use the 
29774 \family sans
29775 Float
29776 \family default
29777  option in this case as also non-float listings can have captions and be
29778  referenced.
29779 \end_layout
29780
29781 \begin_layout Standard
29782 You can add captions to listings with the menu 
29783 \family sans
29784 Insert\SpecialChar \menuseparator
29785 Caption
29786 \family default
29787 .
29788  Listings can be referenced like floats: Listing\InsetSpace ~
29789
29790 \begin_inset LatexCommand ref
29791 reference "lst:Example-Listing"
29792
29793 \end_inset
29794
29795
29796 \end_layout
29797
29798 \begin_layout Standard
29799 \begin_inset listings
29800 lstparams "language=Python"
29801 inline false
29802 status open
29803
29804 \begin_layout Standard
29805
29806 \begin_inset Caption
29807
29808 \begin_layout Standard
29809 \begin_inset LatexCommand label
29810 name "lst:Example-Listing"
29811
29812 \end_inset
29813
29814 Example Listing float
29815 \end_layout
29816
29817 \end_inset
29818
29819 # Example listing float
29820 \end_layout
29821
29822 \begin_layout Standard
29823
29824 def func(param):
29825 \end_layout
29826
29827 \begin_layout Standard
29828
29829     'this is a python function'
29830 \end_layout
29831
29832 \begin_layout Standard
29833
29834     pass
29835 \end_layout
29836
29837 \end_inset
29838
29839
29840 \end_layout
29841
29842 \begin_layout Standard
29843 When you have set a programming language in the listings dialog, the keywords
29844  of this language will be recognized and specially typeset in the output.
29845  In the example listings the Python keyword 
29846 \begin_inset Quotes eld
29847 \end_inset
29848
29849 def
29850 \begin_inset Quotes erd
29851 \end_inset
29852
29853  is recognized and printed bold in the output.
29854 \end_layout
29855
29856 \begin_layout Standard
29857 \begin_inset Note Greyedout
29858 status open
29859
29860 \begin_layout Standard
29861
29862 \series bold
29863 Note:
29864 \series default
29865  If you don't get bold keywords when using typewriter fonts, your typewriter
29866  font probably doesn't provide a bold shape.
29867  In this case select a different one in the menu 
29868 \family sans
29869 Document\SpecialChar \menuseparator
29870 Settings\SpecialChar \menuseparator
29871 Fonts
29872 \family default
29873 .
29874  (The fonts 
29875 \emph on
29876 LuxiMono, BeraMono
29877 \emph default
29878  and 
29879 \emph on
29880 Courier
29881 \emph default
29882  provide bold shapes.)
29883 \end_layout
29884
29885 \end_inset
29886
29887
29888 \end_layout
29889
29890 \begin_layout Standard
29891 In section 
29892 \family sans
29893 Line\InsetSpace ~
29894 numbering
29895 \family default
29896  of the listings dialog you can specify the line numbering style.
29897  You can insert a number to specify which lines are numbered to the field
29898  
29899 \family sans
29900 Step
29901 \family default
29902 .
29903  When you insert e.g.
29904  
29905 \begin_inset Quotes eld
29906 \end_inset
29907
29908 3
29909 \begin_inset Quotes erd
29910 \end_inset
29911
29912 , only every 3rd line will be numbered.
29913 \end_layout
29914
29915 \begin_layout Standard
29916 You can furthermore specify a range of lines, only these will then appear
29917  in the output.
29918  The option 
29919 \family sans
29920 Extended\InsetSpace ~
29921 chars
29922 \family default
29923  should be used when you use national characters like the German umlauts
29924  in the listing.
29925 \newline
29926 Here is an example listing with left line numbering, step
29927  
29928 \begin_inset Quotes eld
29929 \end_inset
29930
29931 3
29932 \begin_inset Quotes erd
29933 \end_inset
29934
29935 , language 
29936 \begin_inset Quotes eld
29937 \end_inset
29938
29939 Python
29940 \begin_inset Quotes erd
29941 \end_inset
29942
29943 , options 
29944 \begin_inset Quotes eld
29945 \end_inset
29946
29947 Extended\InsetSpace ~
29948 chars
29949 \begin_inset Quotes erd
29950 \end_inset
29951
29952  and 
29953 \begin_inset Quotes eld
29954 \end_inset
29955
29956 Space\InsetSpace ~
29957 as\InsetSpace ~
29958 Symbol
29959 \begin_inset Quotes erd
29960 \end_inset
29961
29962 , range lines 3\InsetSpace \thinspace{}
29963 -\InsetSpace \thinspace{}
29964 8:
29965 \end_layout
29966
29967 \begin_layout Standard
29968 \begin_inset listings
29969 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
29970 inline false
29971 status open
29972
29973 \begin_layout Standard
29974
29975 def func(param):
29976 \end_layout
29977
29978 \begin_layout Standard
29979
29980     'this is a python function'
29981 \end_layout
29982
29983 \begin_layout Standard
29984
29985     pass
29986 \end_layout
29987
29988 \begin_layout Standard
29989
29990 def func(param):
29991 \end_layout
29992
29993 \begin_layout Standard
29994
29995 'This is a German word: Tschüß'
29996 \end_layout
29997
29998 \begin_layout Standard
29999
30000 pass
30001 \end_layout
30002
30003 \begin_layout Standard
30004
30005 def func(param):
30006 \end_layout
30007
30008 \begin_layout Standard
30009
30010 'this is a python function'
30011 \end_layout
30012
30013 \begin_layout Standard
30014
30015 pass
30016 \end_layout
30017
30018 \end_inset
30019
30020
30021 \end_layout
30022
30023 \begin_layout Standard
30024 \begin_inset Note Greyedout
30025 status open
30026
30027 \begin_layout Standard
30028
30029 \series bold
30030 Note:
30031 \series default
30032  Due to a bug in the 
30033 \series bold
30034 listings
30035 \series default
30036  package the line numbering is shifted by a line by every previous listing.
30037  That's the reason why the lines 2 and 5 are numbered in the above listing
30038  and not the lines 3 and 6.
30039 \end_layout
30040
30041 \end_inset
30042
30043
30044 \end_layout
30045
30046 \begin_layout Standard
30047 \begin_inset VSpace bigskip
30048 \end_inset
30049
30050
30051 \end_layout
30052
30053 \begin_layout Standard
30054 It is also possible to print lines from a file as listing.
30055  To do this, use the menu 
30056 \family sans
30057 Insert\SpecialChar \menuseparator
30058 File\SpecialChar \menuseparator
30059 Child Document
30060 \family default
30061  and choose the type 
30062 \family sans
30063 Listings
30064 \family default
30065 .
30066 \begin_inset Foot
30067 status collapsed
30068
30069 \begin_layout Standard
30070 The other child document types are described in section\InsetSpace ~
30071
30072 \begin_inset LatexCommand ref
30073 reference "sec:Child-Documents"
30074
30075 \end_inset
30076
30077 .
30078 \end_layout
30079
30080 \end_inset
30081
30082  In the child document dialog you can specify the listing parameters in
30083  a text box.
30084  To show a list of all available parameters, type in a question mark 
30085 \begin_inset Quotes eld
30086 \end_inset
30087
30088 ?
30089 \begin_inset Quotes erd
30090 \end_inset
30091
30092  in the text box.
30093 \end_layout
30094
30095 \begin_layout Standard
30096 To reference child document listings, write a label text into the corresponding
30097  field of the child document dialog.
30098  The label can then be referenced using the menu 
30099 \family sans
30100 Insert\SpecialChar \menuseparator
30101 Cross-Reference
30102 \family default
30103 .
30104 \end_layout
30105
30106 \begin_layout Standard
30107 Listing\InsetSpace ~
30108
30109 \begin_inset LatexCommand ref
30110 reference "lst:file-listing"
30111
30112 \end_inset
30113
30114  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
30115 -\InsetSpace \thinspace{}
30116 15 of this LyX
30117  file are listed.
30118 \end_layout
30119
30120 \begin_layout Standard
30121 \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]
30122 preview false
30123
30124 \end_inset
30125
30126
30127 \end_layout
30128
30129 \begin_layout Standard
30130 \begin_inset VSpace bigskip
30131 \end_inset
30132
30133
30134 \end_layout
30135
30136 \begin_layout Standard
30137 Global listings settings can be set in the 
30138 \family sans
30139 Document\SpecialChar \menuseparator
30140 Settings\SpecialChar \menuseparator
30141 Text Layout
30142 \family default
30143  dialog.
30144  To get there a list of available options, type in a question mark 
30145 \begin_inset Quotes eld
30146 \end_inset
30147
30148 ?
30149 \begin_inset Quotes erd
30150 \end_inset
30151
30152  in the 
30153 \family sans
30154 Listings\InsetSpace ~
30155 settings
30156 \family default
30157  field.
30158 \end_layout
30159
30160 \begin_layout Standard
30161 For more information about the 
30162 \series bold
30163 listings
30164 \series default
30165  package, we refer to its documentation 
30166 \begin_inset LatexCommand cite
30167 key "listings"
30168
30169 \end_inset
30170
30171 .
30172 \end_layout
30173
30174 \begin_layout Standard
30175
30176 \newpage
30177
30178 \end_layout
30179
30180 \begin_layout Chapter
30181 \start_of_appendix
30182 Units available in LyX
30183 \begin_inset LatexCommand index
30184 name "Units"
30185
30186 \end_inset
30187
30188
30189 \begin_inset LatexCommand label
30190 name "cha:Units-available-in"
30191
30192 \end_inset
30193
30194
30195 \end_layout
30196
30197 \begin_layout Standard
30198 To understand the units described in this documentation, Table\InsetSpace ~
30199
30200 \begin_inset LatexCommand ref
30201 reference "tab:Units"
30202
30203 \end_inset
30204
30205  explains all units available in LyX.
30206 \end_layout
30207
30208 \begin_layout Standard
30209 \begin_inset Float table
30210 placement h
30211 wide false
30212 sideways false
30213 status open
30214
30215 \begin_layout Standard
30216 \begin_inset Caption
30217
30218 \begin_layout Standard
30219 \begin_inset LatexCommand label
30220 name "tab:Units"
30221
30222 \end_inset
30223
30224 Units
30225 \end_layout
30226
30227 \end_inset
30228
30229
30230 \end_layout
30231
30232 \begin_layout Standard
30233 \begin_inset VSpace medskip
30234 \end_inset
30235
30236
30237 \end_layout
30238
30239 \begin_layout Standard
30240 \align center
30241 \begin_inset Tabular
30242 <lyxtabular version="3" rows="20" columns="2">
30243 <features>
30244 <column alignment="center" valignment="top" leftline="true" width="0">
30245 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30246 <row topline="true" bottomline="true">
30247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30248 \begin_inset Text
30249
30250 \begin_layout Standard
30251 unit
30252 \end_layout
30253
30254 \end_inset
30255 </cell>
30256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30257 \begin_inset Text
30258
30259 \begin_layout Standard
30260 name/description
30261 \end_layout
30262
30263 \end_inset
30264 </cell>
30265 </row>
30266 <row topline="true">
30267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30268 \begin_inset Text
30269
30270 \begin_layout Standard
30271 mm
30272 \end_layout
30273
30274 \end_inset
30275 </cell>
30276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30277 \begin_inset Text
30278
30279 \begin_layout Standard
30280 millimeter
30281 \end_layout
30282
30283 \end_inset
30284 </cell>
30285 </row>
30286 <row topline="true">
30287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30288 \begin_inset Text
30289
30290 \begin_layout Standard
30291 cm
30292 \end_layout
30293
30294 \end_inset
30295 </cell>
30296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30297 \begin_inset Text
30298
30299 \begin_layout Standard
30300 centimeter
30301 \end_layout
30302
30303 \end_inset
30304 </cell>
30305 </row>
30306 <row topline="true">
30307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30308 \begin_inset Text
30309
30310 \begin_layout Standard
30311 in
30312 \end_layout
30313
30314 \end_inset
30315 </cell>
30316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30317 \begin_inset Text
30318
30319 \begin_layout Standard
30320 inch
30321 \end_layout
30322
30323 \end_inset
30324 </cell>
30325 </row>
30326 <row topline="true">
30327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30328 \begin_inset Text
30329
30330 \begin_layout Standard
30331 pt
30332 \end_layout
30333
30334 \end_inset
30335 </cell>
30336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30337 \begin_inset Text
30338
30339 \begin_layout Standard
30340 point (72.27\InsetSpace \thinspace{}
30341 pt = 1\InsetSpace \thinspace{}
30342 in)
30343 \end_layout
30344
30345 \end_inset
30346 </cell>
30347 </row>
30348 <row topline="true">
30349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30350 \begin_inset Text
30351
30352 \begin_layout Standard
30353 pc
30354 \end_layout
30355
30356 \end_inset
30357 </cell>
30358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30359 \begin_inset Text
30360
30361 \begin_layout Standard
30362 pica (1\InsetSpace \thinspace{}
30363 pc = 12\InsetSpace \thinspace{}
30364 pt)
30365 \end_layout
30366
30367 \end_inset
30368 </cell>
30369 </row>
30370 <row topline="true">
30371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30372 \begin_inset Text
30373
30374 \begin_layout Standard
30375 sp
30376 \end_layout
30377
30378 \end_inset
30379 </cell>
30380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30381 \begin_inset Text
30382
30383 \begin_layout Standard
30384 scaled point (65536\InsetSpace \thinspace{}
30385 sp = 1\InsetSpace \thinspace{}
30386 pt)
30387 \end_layout
30388
30389 \end_inset
30390 </cell>
30391 </row>
30392 <row topline="true">
30393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30394 \begin_inset Text
30395
30396 \begin_layout Standard
30397 bp
30398 \end_layout
30399
30400 \end_inset
30401 </cell>
30402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30403 \begin_inset Text
30404
30405 \begin_layout Standard
30406 big point (72\InsetSpace \thinspace{}
30407 bp = 1\InsetSpace \thinspace{}
30408 in)
30409 \end_layout
30410
30411 \end_inset
30412 </cell>
30413 </row>
30414 <row topline="true">
30415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30416 \begin_inset Text
30417
30418 \begin_layout Standard
30419 dd
30420 \end_layout
30421
30422 \end_inset
30423 </cell>
30424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30425 \begin_inset Text
30426
30427 \begin_layout Standard
30428 didot (1\InsetSpace \thinspace{}
30429 dd 
30430 \begin_inset Formula $\approx$
30431 \end_inset
30432
30433  0.376\InsetSpace \thinspace{}
30434 mm)
30435 \end_layout
30436
30437 \end_inset
30438 </cell>
30439 </row>
30440 <row topline="true">
30441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30442 \begin_inset Text
30443
30444 \begin_layout Standard
30445 cc
30446 \end_layout
30447
30448 \end_inset
30449 </cell>
30450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30451 \begin_inset Text
30452
30453 \begin_layout Standard
30454 cicero (1\InsetSpace \thinspace{}
30455 cc = 12\InsetSpace \thinspace{}
30456 dd)
30457 \end_layout
30458
30459 \end_inset
30460 </cell>
30461 </row>
30462 <row topline="true">
30463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30464 \begin_inset Text
30465
30466 \begin_layout Standard
30467 Scale%
30468 \end_layout
30469
30470 \end_inset
30471 </cell>
30472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30473 \begin_inset Text
30474
30475 \begin_layout Standard
30476 % of original image width
30477 \end_layout
30478
30479 \end_inset
30480 </cell>
30481 </row>
30482 <row topline="true">
30483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30484 \begin_inset Text
30485
30486 \begin_layout Standard
30487 text%
30488 \end_layout
30489
30490 \end_inset
30491 </cell>
30492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30493 \begin_inset Text
30494
30495 \begin_layout Standard
30496 % of text width
30497 \end_layout
30498
30499 \end_inset
30500 </cell>
30501 </row>
30502 <row topline="true">
30503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30504 \begin_inset Text
30505
30506 \begin_layout Standard
30507 col%
30508 \end_layout
30509
30510 \end_inset
30511 </cell>
30512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30513 \begin_inset Text
30514
30515 \begin_layout Standard
30516 % of column width
30517 \end_layout
30518
30519 \end_inset
30520 </cell>
30521 </row>
30522 <row topline="true">
30523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30524 \begin_inset Text
30525
30526 \begin_layout Standard
30527 page%
30528 \end_layout
30529
30530 \end_inset
30531 </cell>
30532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30533 \begin_inset Text
30534
30535 \begin_layout Standard
30536 % of paper width
30537 \end_layout
30538
30539 \end_inset
30540 </cell>
30541 </row>
30542 <row topline="true">
30543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30544 \begin_inset Text
30545
30546 \begin_layout Standard
30547 line%
30548 \end_layout
30549
30550 \end_inset
30551 </cell>
30552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30553 \begin_inset Text
30554
30555 \begin_layout Standard
30556 % of line width
30557 \end_layout
30558
30559 \end_inset
30560 </cell>
30561 </row>
30562 <row topline="true">
30563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30564 \begin_inset Text
30565
30566 \begin_layout Standard
30567 theight%
30568 \end_layout
30569
30570 \end_inset
30571 </cell>
30572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30573 \begin_inset Text
30574
30575 \begin_layout Standard
30576 % of text height
30577 \end_layout
30578
30579 \end_inset
30580 </cell>
30581 </row>
30582 <row topline="true">
30583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30584 \begin_inset Text
30585
30586 \begin_layout Standard
30587 pheight%
30588 \end_layout
30589
30590 \end_inset
30591 </cell>
30592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30593 \begin_inset Text
30594
30595 \begin_layout Standard
30596 % of paper height
30597 \end_layout
30598
30599 \end_inset
30600 </cell>
30601 </row>
30602 <row topline="true">
30603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30604 \begin_inset Text
30605
30606 \begin_layout Standard
30607 ex
30608 \end_layout
30609
30610 \end_inset
30611 </cell>
30612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30613 \begin_inset Text
30614
30615 \begin_layout Standard
30616 height of letter 
30617 \emph on
30618 x
30619 \emph default
30620  in current font
30621 \end_layout
30622
30623 \end_inset
30624 </cell>
30625 </row>
30626 <row topline="true">
30627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30628 \begin_inset Text
30629
30630 \begin_layout Standard
30631 em
30632 \end_layout
30633
30634 \end_inset
30635 </cell>
30636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30637 \begin_inset Text
30638
30639 \begin_layout Standard
30640 width of letter 
30641 \emph on
30642 M
30643 \emph default
30644  in current font
30645 \end_layout
30646
30647 \end_inset
30648 </cell>
30649 </row>
30650 <row topline="true" bottomline="true">
30651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30652 \begin_inset Text
30653
30654 \begin_layout Standard
30655 mu
30656 \end_layout
30657
30658 \end_inset
30659 </cell>
30660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30661 \begin_inset Text
30662
30663 \begin_layout Standard
30664 math unit (1\InsetSpace \thinspace{}
30665 mu = 1/18\InsetSpace \thinspace{}
30666 em)
30667 \end_layout
30668
30669 \end_inset
30670 </cell>
30671 </row>
30672 </lyxtabular>
30673
30674 \end_inset
30675
30676
30677 \end_layout
30678
30679 \end_inset
30680
30681
30682 \end_layout
30683
30684 \begin_layout Chapter
30685 Output File Formats with Graphics
30686 \begin_inset LatexCommand label
30687 name "cha:Output-File-Formats"
30688
30689 \end_inset
30690
30691
30692 \end_layout
30693
30694 \begin_layout Section
30695 DVI
30696 \begin_inset LatexCommand index
30697 name "File Formats ! DVI"
30698
30699 \end_inset
30700
30701
30702 \begin_inset LatexCommand index
30703 name "DVI|see{File Formats}"
30704
30705 \end_inset
30706
30707
30708 \end_layout
30709
30710 \begin_layout Standard
30711 This file type has the extension 
30712 \begin_inset Quotes eld
30713 \end_inset
30714
30715
30716 \family typewriter
30717 .dvi
30718 \family default
30719
30720 \begin_inset Quotes erd
30721 \end_inset
30722
30723 .
30724  It is called 
30725 \begin_inset Quotes eld
30726 \end_inset
30727
30728 device-independent
30729 \begin_inset Quotes erd
30730 \end_inset
30731
30732  (DVI), because it is completely portable; you can move them from one machine
30733  to another without needing to do any sort of conversion.
30734  At the time when this file-format was developed, this was no matter of
30735  course.
30736  DVIs are used for quick previews and as pre-stage for other output formats,
30737  like PostScript.
30738 \end_layout
30739
30740 \begin_layout Standard
30741 \begin_inset Note Greyedout
30742 status open
30743
30744 \begin_layout Standard
30745
30746 \series bold
30747 Note:
30748 \series default
30749  DVI-files doesn't contain images, they will only be a linked.
30750 \end_layout
30751
30752 \end_inset
30753
30754  So don't forget this, if you move your 
30755 \family typewriter
30756 .dvi
30757 \family default
30758  file to another computer.
30759  This property can also slow down your computer when you view the DVI.
30760  Because the DVI-viewer has to convert the image in the background to make
30761  it visible when you scroll in the DVI.
30762  So we recommend to use PDF for files with many images.
30763 \end_layout
30764
30765 \begin_layout Standard
30766 You can export your document to DVI by using the menu 
30767 \family sans
30768 File\SpecialChar \menuseparator
30769 Export\SpecialChar \menuseparator
30770 DVI
30771 \family default
30772 .
30773  You can view your document as DVI via the 
30774 \family sans
30775 View
30776 \family default
30777  menu or by using the toolbar button 
30778 \begin_inset Graphics
30779         filename ../images/buffer-view_dvi.png
30780         scale 85
30781         scaleBeforeRotation
30782
30783 \end_inset
30784
30785 .
30786 \end_layout
30787
30788 \begin_layout Section
30789 PostScript
30790 \begin_inset LatexCommand label
30791 name "sec:PostScript"
30792
30793 \end_inset
30794
30795
30796 \begin_inset LatexCommand index
30797 name "File Formats ! PostScript"
30798
30799 \end_inset
30800
30801
30802 \begin_inset LatexCommand index
30803 name "PostScript|see{File Formats}"
30804
30805 \end_inset
30806
30807
30808 \end_layout
30809
30810 \begin_layout Standard
30811 This file type has the extension 
30812 \begin_inset Quotes eld
30813 \end_inset
30814
30815
30816 \family typewriter
30817 .ps
30818 \family default
30819
30820 \begin_inset Quotes erd
30821 \end_inset
30822
30823 .
30824  PostScript was developed by the company 
30825 \family typewriter
30826 Adobe
30827 \family default
30828  as printer language.
30829  The file contains therefore commands that the printer uses to print the
30830  file.
30831  PostScript can be seen as 
30832 \begin_inset Quotes eld
30833 \end_inset
30834
30835 programming language
30836 \begin_inset Quotes erd
30837 \end_inset
30838
30839 ; you can calculate with it and draw diagrams and images
30840 \begin_inset Foot
30841 status collapsed
30842
30843 \begin_layout Standard
30844 If you are interested to learn more about this, have a look at the LaTeX-package
30845  
30846 \series bold
30847 PSTricks
30848 \series default
30849  
30850 \begin_inset LatexCommand cite
30851 key "pstricks"
30852
30853 \end_inset
30854
30855 .
30856 \end_layout
30857
30858 \end_inset
30859
30860 .
30861  Due to this ability, the files are often bigger than PDFs.
30862 \end_layout
30863
30864 \begin_layout Standard
30865 PostScript can only contain images in the format 
30866 \begin_inset Quotes eld
30867 \end_inset
30868
30869 Encapsulated PostScript
30870 \begin_inset Quotes erd
30871 \end_inset
30872
30873  (EPS, file extension 
30874 \begin_inset Quotes eld
30875 \end_inset
30876
30877
30878 \family typewriter
30879 .eps
30880 \family default
30881
30882 \begin_inset Quotes erd
30883 \end_inset
30884
30885 ).
30886  As LyX allows you to use any known image format in your document, it has
30887  to convert images in the background to EPS.
30888  If you have e.g 50 images in your document, LyX has to do 50 conversions
30889  whenever you view or export your document.
30890  This will slow down your work flow with LyX drastically.
30891  So if you plan to use PostScript, you can insert your images directly as
30892  EPS to avoid this problem.
30893 \end_layout
30894
30895 \begin_layout Standard
30896 You can export your document to PostScript using the menu 
30897 \family sans
30898 File\SpecialChar \menuseparator
30899 Export\SpecialChar \menuseparator
30900 Postscript
30901 \family default
30902 .
30903  You can view your document as PostScript via the 
30904 \family sans
30905 View
30906 \family default
30907  menu or by using the toolbar button 
30908 \begin_inset Graphics
30909         filename ../images/buffer-view_ps.png
30910         scale 85
30911         scaleBeforeRotation
30912
30913 \end_inset
30914
30915 .
30916 \end_layout
30917
30918 \begin_layout Section
30919 PDF
30920 \begin_inset LatexCommand label
30921 name "sec:PDF"
30922
30923 \end_inset
30924
30925
30926 \begin_inset LatexCommand index
30927 name "File Formats ! PDF"
30928
30929 \end_inset
30930
30931
30932 \begin_inset LatexCommand index
30933 name "PDF"
30934
30935 \end_inset
30936
30937
30938 \end_layout
30939
30940 \begin_layout Standard
30941 This file type has the extension 
30942 \begin_inset Quotes eld
30943 \end_inset
30944
30945
30946 \family typewriter
30947 .pdf
30948 \family default
30949
30950 \begin_inset Quotes erd
30951 \end_inset
30952
30953 .
30954  The 
30955 \begin_inset Quotes eld
30956 \end_inset
30957
30958 Portable Document Format
30959 \begin_inset Quotes erd
30960 \end_inset
30961
30962  (PDF) is developed by 
30963 \family typewriter
30964 Adobe
30965 \family default
30966  as derivative from PostScript.
30967  It is more compressed and it uses much less commands than PostScript.
30968  As the name 
30969 \begin_inset Quotes eld
30970 \end_inset
30971
30972 portable
30973 \begin_inset Quotes erd
30974 \end_inset
30975
30976  implies, it can be processed at any computer system and the printed output
30977  looks exactly the same.
30978 \end_layout
30979
30980 \begin_layout Standard
30981 PDF can contain images in its own PDF format, in the format 
30982 \begin_inset Quotes eld
30983 \end_inset
30984
30985 Joint Photographic Experts Group
30986 \begin_inset Quotes erd
30987 \end_inset
30988
30989  (JPG, file extension 
30990 \begin_inset Quotes eld
30991 \end_inset
30992
30993
30994 \family typewriter
30995 .jpg
30996 \family default
30997
30998 \begin_inset Quotes erd
30999 \end_inset
31000
31001  or 
31002 \begin_inset Quotes eld
31003 \end_inset
31004
31005
31006 \family typewriter
31007 .jpeg
31008 \family default
31009
31010 \begin_inset Quotes erd
31011 \end_inset
31012
31013 ), and in the format 
31014 \begin_inset Quotes eld
31015 \end_inset
31016
31017 Portable Network Graphics
31018 \begin_inset Quotes erd
31019 \end_inset
31020
31021  (PNG, file extension 
31022 \begin_inset Quotes eld
31023 \end_inset
31024
31025
31026 \family typewriter
31027 .png
31028 \family default
31029
31030 \begin_inset Quotes erd
31031 \end_inset
31032
31033 ).
31034  Nevertheless you can use any other image format, because LyX converts them
31035  in the background to one of these formats.
31036  But as described in the section about PostScript, the image conversion
31037  will slow down your work flow.
31038  So it is recommended to use images in one of the three mentioned formats.
31039 \end_layout
31040
31041 \begin_layout Standard
31042 You can export your document to PDF via the menu 
31043 \family sans
31044 File\SpecialChar \menuseparator
31045 Export
31046 \family default
31047  in three different ways:
31048 \end_layout
31049
31050 \begin_layout Description
31051 PDF\InsetSpace ~
31052 (ps2pdf) This uses the program 
31053 \family typewriter
31054 ps2pdf
31055 \family default
31056  that creates a PDF from a PostScript-version of your file.
31057  The PostScript-version is produced by the program 
31058 \family typewriter
31059 dvips
31060 \family default
31061  which uses a DVI-version as intermediate step.
31062  So this export variant consist of three conversions.
31063 \end_layout
31064
31065 \begin_layout Description
31066 PDF\InsetSpace ~
31067 (dvipdfm) This uses the program 
31068 \family typewriter
31069 dvipdfm
31070 \family default
31071  that converts your file in the background to DVI and in a second step to
31072  PDF.
31073 \end_layout
31074
31075 \begin_layout Description
31076 PDF\InsetSpace ~
31077 (pdflatex) This uses the program 
31078 \family typewriter
31079 pdftex
31080 \family default
31081  that converts your file directly to PDF.
31082 \end_layout
31083
31084 \begin_layout Standard
31085 It is recommended to use 
31086 \family sans
31087 PDF\InsetSpace ~
31088 (pdflatex)
31089 \family default
31090  because 
31091 \family typewriter
31092 pdftex
31093 \family default
31094  supports all features of actual PDF-versions, is quick and works stable
31095  without problems.
31096  The program 
31097 \family typewriter
31098 dvipdfm
31099 \family default
31100  is not under development and therefore a bit outdated.
31101 \end_layout
31102
31103 \begin_layout Standard
31104 You can view your document as PDF via the 
31105 \family sans
31106 View
31107 \family default
31108  menu or by using the toolbar button 
31109 \begin_inset Graphics
31110         filename ../images/buffer-view_pdf2.png
31111         scale 85
31112         scaleBeforeRotation
31113
31114 \end_inset
31115
31116  
31117 \family sans
31118 (
31119 \family default
31120 that uses 
31121 \family sans
31122 PDF\InsetSpace ~
31123 (pdflatex)
31124 \family default
31125 ).
31126 \end_layout
31127
31128 \begin_layout Chapter
31129 Explanation of Equation\InsetSpace ~
31130
31131 \begin_inset LatexCommand eqref
31132 reference "eq:Wgn"
31133
31134 \end_inset
31135
31136
31137 \begin_inset LatexCommand label
31138 name "cha:Explanation-of-Equation"
31139
31140 \end_inset
31141
31142
31143 \end_layout
31144
31145 \begin_layout Standard
31146 The total width of 
31147 \emph on
31148 n
31149 \emph default
31150  table cells 
31151 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31152 \end_inset
31153
31154  can be calculated to
31155 \end_layout
31156
31157 \begin_layout Standard
31158 \begin_inset Formula \begin{equation}
31159 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}
31160
31161 \end_inset
31162
31163
31164 \end_layout
31165
31166 \begin_layout Standard
31167 Where 
31168 \begin_inset Formula $W_{g\, n}$
31169 \end_inset
31170
31171  is the given width of all cells.
31172  
31173 \series bold
31174
31175 \backslash
31176 tabcolsep
31177 \series default
31178  is the LaTeX-length between the cell text and the cell border, its default
31179  value is 6\InsetSpace \thinspace{}
31180 pt.
31181  
31182 \series bold
31183
31184 \backslash
31185 arrayrulewidth
31186 \series default
31187  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31188 pt.
31189 \end_layout
31190
31191 \begin_layout Standard
31192 Following equation\InsetSpace ~
31193
31194 \begin_inset LatexCommand eqref
31195 reference "eq:Wtot_n"
31196
31197 \end_inset
31198
31199 , the total width of a multicolumn 
31200 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31201 \end_inset
31202
31203  is
31204 \end_layout
31205
31206 \begin_layout Standard
31207 \begin_inset Formula \begin{equation}
31208 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31209
31210 \end_inset
31211
31212
31213 \end_layout
31214
31215 \begin_layout Standard
31216 By setting equation\InsetSpace ~
31217
31218 \begin_inset LatexCommand eqref
31219 reference "eq:Wtot_n"
31220
31221 \end_inset
31222
31223  and 
31224 \begin_inset LatexCommand eqref
31225 reference "eq:Wtot_mult"
31226
31227 \end_inset
31228
31229  equal we can calculate the needed given width 
31230 \begin_inset Formula $W_{g\, n}$
31231 \end_inset
31232
31233  when 
31234 \emph on
31235 n
31236 \emph default
31237  columns are spanned, so that each column has a total width of 
31238 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31239 \end_inset
31240
31241 :
31242 \end_layout
31243
31244 \begin_layout Standard
31245 \begin_inset Formula \begin{equation}
31246 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31247
31248 \end_inset
31249
31250
31251 \end_layout
31252
31253 \begin_layout Bibliography
31254 \begin_inset LatexCommand bibitem
31255 key "latexcompanion"
31256
31257 \end_inset
31258
31259 Frank Mittelbach and Michel Goossens: 
31260 \emph on
31261 The LaTeX Companion Second Edition.
31262
31263 \emph default
31264  Addison-Wesley, 2004
31265 \end_layout
31266
31267 \begin_layout Bibliography
31268 \begin_inset LatexCommand bibitem
31269 key "latexguide"
31270
31271 \end_inset
31272
31273 Helmut Kopka and Patrick W.
31274  Daly: 
31275 \emph on
31276 A Guide to LaTeX Fourth Edition.
31277
31278 \emph default
31279  Addison-Wesley, 2003
31280 \end_layout
31281
31282 \begin_layout Bibliography
31283 \begin_inset LatexCommand bibitem
31284 key "latexbook"
31285
31286 \end_inset
31287
31288 Leslie Lamport: 
31289 \emph on
31290 LaTeX: A Document Preparation System.
31291
31292 \emph default
31293  Addison-Wesley, second edition, 1994
31294 \end_layout
31295
31296 \begin_layout Bibliography
31297 \begin_inset LatexCommand bibitem
31298 key "booktabs"
31299
31300 \end_inset
31301
31302
31303 \begin_inset ERT
31304 status collapsed
31305
31306 \begin_layout Standard
31307
31308
31309 \backslash
31310 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31311 {
31312 \end_layout
31313
31314 \end_inset
31315
31316 Documentation
31317 \begin_inset ERT
31318 status collapsed
31319
31320 \begin_layout Standard
31321
31322 }
31323 \end_layout
31324
31325 \end_inset
31326
31327  of the LaTeX-package 
31328 \series bold
31329 booktabs
31330 \series default
31331
31332 \begin_inset LatexCommand index
31333 name "LaTeX-packages ! booktabs"
31334
31335 \end_inset
31336
31337
31338 \end_layout
31339
31340 \begin_layout Bibliography
31341 \begin_inset LatexCommand bibitem
31342 key "caption"
31343
31344 \end_inset
31345
31346
31347 \begin_inset ERT
31348 status collapsed
31349
31350 \begin_layout Standard
31351
31352
31353 \backslash
31354 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31355 \end_layout
31356
31357 \end_inset
31358
31359 Documentation
31360 \begin_inset ERT
31361 status collapsed
31362
31363 \begin_layout Standard
31364
31365 }
31366 \end_layout
31367
31368 \end_inset
31369
31370  of the LaTeX-package 
31371 \series bold
31372 caption
31373 \series default
31374
31375 \begin_inset LatexCommand index
31376 name "LaTeX-packages ! caption"
31377
31378 \end_inset
31379
31380
31381 \end_layout
31382
31383 \begin_layout Bibliography
31384 \begin_inset LatexCommand bibitem
31385 key "caption-de"
31386
31387 \end_inset
31388
31389 German 
31390 \begin_inset ERT
31391 status collapsed
31392
31393 \begin_layout Standard
31394
31395
31396 \backslash
31397 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31398 {
31399 \end_layout
31400
31401 \end_inset
31402
31403 documentation
31404 \begin_inset ERT
31405 status collapsed
31406
31407 \begin_layout Standard
31408
31409 }
31410 \end_layout
31411
31412 \end_inset
31413
31414  of the LaTeX-package 
31415 \series bold
31416 caption
31417 \end_layout
31418
31419 \begin_layout Bibliography
31420 \begin_inset LatexCommand bibitem
31421 key "endfloat"
31422
31423 \end_inset
31424
31425
31426 \begin_inset ERT
31427 status collapsed
31428
31429 \begin_layout Standard
31430
31431
31432 \backslash
31433 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31434 {
31435 \end_layout
31436
31437 \end_inset
31438
31439 Documentation
31440 \begin_inset ERT
31441 status collapsed
31442
31443 \begin_layout Standard
31444
31445 }
31446 \end_layout
31447
31448 \end_inset
31449
31450  of the LaTeX-package 
31451 \series bold
31452 endfloat
31453 \series default
31454
31455 \begin_inset LatexCommand index
31456 name "LaTeX-packages ! endfloat"
31457
31458 \end_inset
31459
31460
31461 \end_layout
31462
31463 \begin_layout Bibliography
31464 \begin_inset LatexCommand bibitem
31465 key "wrapfig"
31466
31467 \end_inset
31468
31469
31470 \begin_inset ERT
31471 status collapsed
31472
31473 \begin_layout Standard
31474
31475
31476 \backslash
31477 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty}{
31478 \end_layout
31479
31480 \end_inset
31481
31482 Documentation
31483 \begin_inset ERT
31484 status collapsed
31485
31486 \begin_layout Standard
31487
31488 }
31489 \end_layout
31490
31491 \end_inset
31492
31493  of the LaTeX-package 
31494 \series bold
31495 wrapfig
31496 \series default
31497
31498 \begin_inset LatexCommand index
31499 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
31500
31501 \end_inset
31502
31503
31504 \end_layout
31505
31506 \begin_layout Bibliography
31507 \begin_inset LatexCommand bibitem
31508 key "footmisc"
31509
31510 \end_inset
31511
31512
31513 \begin_inset ERT
31514 status collapsed
31515
31516 \begin_layout Standard
31517
31518
31519 \backslash
31520 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31521 {
31522 \end_layout
31523
31524 \end_inset
31525
31526 Documentation
31527 \begin_inset ERT
31528 status collapsed
31529
31530 \begin_layout Standard
31531
31532 }
31533 \end_layout
31534
31535 \end_inset
31536
31537  of the LaTeX-package 
31538 \series bold
31539 footmisc
31540 \series default
31541
31542 \begin_inset LatexCommand index
31543 name "LaTeX-packages ! footmisc"
31544
31545 \end_inset
31546
31547
31548 \end_layout
31549
31550 \begin_layout Bibliography
31551 \begin_inset LatexCommand bibitem
31552 key "hypcap"
31553
31554 \end_inset
31555
31556
31557 \begin_inset ERT
31558 status collapsed
31559
31560 \begin_layout Standard
31561
31562
31563 \backslash
31564 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
31565 \end_layout
31566
31567 \end_inset
31568
31569 Documentation
31570 \begin_inset ERT
31571 status collapsed
31572
31573 \begin_layout Standard
31574
31575 }
31576 \end_layout
31577
31578 \end_inset
31579
31580  of the LaTeX-package 
31581 \series bold
31582 hypcap
31583 \series default
31584
31585 \begin_inset LatexCommand index
31586 name "LaTeX-packages ! hyperref"
31587
31588 \end_inset
31589
31590
31591 \end_layout
31592
31593 \begin_layout Bibliography
31594 \begin_inset LatexCommand bibitem
31595 key "hyperref"
31596
31597 \end_inset
31598
31599
31600 \begin_inset ERT
31601 status collapsed
31602
31603 \begin_layout Standard
31604
31605
31606 \backslash
31607 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31608 {
31609 \end_layout
31610
31611 \end_inset
31612
31613 Documentation
31614 \begin_inset ERT
31615 status collapsed
31616
31617 \begin_layout Standard
31618
31619 }
31620 \end_layout
31621
31622 \end_inset
31623
31624  of the LaTeX-package 
31625 \series bold
31626 hyperref
31627 \series default
31628
31629 \begin_inset LatexCommand index
31630 name "LaTeX-packages ! hyperref"
31631
31632 \end_inset
31633
31634
31635 \end_layout
31636
31637 \begin_layout Bibliography
31638 \begin_inset LatexCommand bibitem
31639 key "koma-script"
31640
31641 \end_inset
31642
31643
31644 \begin_inset ERT
31645 status collapsed
31646
31647 \begin_layout Standard
31648
31649
31650 \backslash
31651 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31652 df}{
31653 \end_layout
31654
31655 \end_inset
31656
31657 Documentation
31658 \begin_inset ERT
31659 status collapsed
31660
31661 \begin_layout Standard
31662
31663 }
31664 \end_layout
31665
31666 \end_inset
31667
31668  of the LaTeX-package 
31669 \series bold
31670 koma-script
31671 \series default
31672
31673 \begin_inset LatexCommand index
31674 name "LaTeX-packages ! koma-script"
31675
31676 \end_inset
31677
31678
31679 \end_layout
31680
31681 \begin_layout Bibliography
31682 \begin_inset LatexCommand bibitem
31683 key "listings"
31684
31685 \end_inset
31686
31687
31688 \begin_inset ERT
31689 status collapsed
31690
31691 \begin_layout Standard
31692
31693
31694 \backslash
31695 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31696 {
31697 \end_layout
31698
31699 \end_inset
31700
31701 Documentation
31702 \begin_inset ERT
31703 status collapsed
31704
31705 \begin_layout Standard
31706
31707 }
31708 \end_layout
31709
31710 \end_inset
31711
31712  of the LaTeX-package 
31713 \series bold
31714 listings
31715 \series default
31716
31717 \begin_inset LatexCommand index
31718 name "LaTeX-packages ! listings"
31719
31720 \end_inset
31721
31722
31723 \end_layout
31724
31725 \begin_layout Bibliography
31726 \begin_inset LatexCommand bibitem
31727 key "marginnote"
31728
31729 \end_inset
31730
31731
31732 \begin_inset ERT
31733 status collapsed
31734
31735 \begin_layout Standard
31736
31737
31738 \backslash
31739 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31740 pdf}{
31741 \end_layout
31742
31743 \end_inset
31744
31745 Documentation
31746 \begin_inset ERT
31747 status collapsed
31748
31749 \begin_layout Standard
31750
31751 }
31752 \end_layout
31753
31754 \end_inset
31755
31756  of the LaTeX-package 
31757 \series bold
31758 marginnote
31759 \series default
31760
31761 \begin_inset LatexCommand index
31762 name "LaTeX-packages ! marginnote"
31763
31764 \end_inset
31765
31766
31767 \end_layout
31768
31769 \begin_layout Bibliography
31770 \begin_inset LatexCommand bibitem
31771 key "pstricks"
31772
31773 \end_inset
31774
31775
31776 \begin_inset ERT
31777 status collapsed
31778
31779 \begin_layout Standard
31780
31781
31782 \backslash
31783 href{http://tug.org/PSTricks/main.cgi/}{
31784 \end_layout
31785
31786 \end_inset
31787
31788 Web page
31789 \begin_inset ERT
31790 status collapsed
31791
31792 \begin_layout Standard
31793
31794 }
31795 \end_layout
31796
31797 \end_inset
31798
31799  of the LaTeX-package 
31800 \series bold
31801 PSTricks
31802 \series default
31803
31804 \begin_inset LatexCommand index
31805 name "LaTeX-packages ! PSTricks"
31806
31807 \end_inset
31808
31809
31810 \end_layout
31811
31812 \begin_layout Bibliography
31813 \begin_inset LatexCommand bibitem
31814 key "sidecap"
31815
31816 \end_inset
31817
31818
31819 \begin_inset ERT
31820 status collapsed
31821
31822 \begin_layout Standard
31823
31824
31825 \backslash
31826 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
31827 \end_layout
31828
31829 \end_inset
31830
31831 Documentation
31832 \begin_inset ERT
31833 status collapsed
31834
31835 \begin_layout Standard
31836
31837 }
31838 \end_layout
31839
31840 \end_inset
31841
31842  of the LaTeX-package 
31843 \series bold
31844 sidecap
31845 \series default
31846
31847 \begin_inset LatexCommand index
31848 name "LaTeX-packages ! sidecap"
31849
31850 \end_inset
31851
31852
31853 \end_layout
31854
31855 \begin_layout Bibliography
31856 \begin_inset LatexCommand bibitem
31857 key "NewInLyX15"
31858
31859 \end_inset
31860
31861
31862 \begin_inset ERT
31863 status collapsed
31864
31865 \begin_layout Standard
31866
31867
31868 \backslash
31869 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31870 \end_layout
31871
31872 \end_inset
31873
31874 Wiki page
31875 \begin_inset ERT
31876 status collapsed
31877
31878 \begin_layout Standard
31879
31880 }
31881 \end_layout
31882
31883 \end_inset
31884
31885  about new features in 
31886 \family sans
31887 LyX 1.5.0
31888 \family default
31889 .
31890 \end_layout
31891
31892 \begin_layout Standard
31893 \begin_inset LatexCommand printindex
31894
31895 \end_inset
31896
31897
31898 \end_layout
31899
31900 \begin_layout Standard
31901 \begin_inset FloatList figure
31902
31903 \end_inset
31904
31905
31906 \end_layout
31907
31908 \begin_layout Standard
31909 \begin_inset FloatList table
31910
31911 \end_inset
31912
31913
31914 \end_layout
31915
31916 \begin_layout Standard
31917 \begin_inset ERT
31918 status collapsed
31919
31920 \begin_layout Standard
31921
31922
31923 \backslash
31924 listof{Xalgorithm}{List of Algorithms}
31925 \end_layout
31926
31927 \end_inset
31928
31929
31930 \begin_inset Note Note
31931 status collapsed
31932
31933 \begin_layout Standard
31934 see section\InsetSpace ~
31935
31936 \begin_inset LatexCommand ref
31937 reference "sub:Algorithm-Floats"
31938
31939 \end_inset
31940
31941  for a description
31942 \end_layout
31943
31944 \end_inset
31945
31946
31947 \end_layout
31948
31949 \end_body
31950 \end_document