]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
- EmbeddedObjects.lyx: typo
[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}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for scaled and rotated boxes
96 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
97
98 % used for colored tables
99 \@ifundefined{textcolor}
100  {\usepackage{color}}{}
101 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
102 \definecolor{lightgrey}{gray}{0.8}
103
104 % check for package colortbl
105 % used for colored table cells
106 \newboolean{colortbl}
107 \IfFileExists{colortbl.sty}
108  {\usepackage{colortbl}
109   \setboolean{colortbl}{true}}
110  {\setboolean{colortbl}{false}}
111
112 % used for multirows
113 \usepackage{multirow}
114 %\renewcommand{\multirowsetup}{\centering}
115
116 % used for book-style tables
117 \usepackage{booktabs}
118
119 % used to have extra space in table cells
120 \@ifundefined{extrarowheight}
121  {\usepackage{array}}{}
122 \setlength{\extrarowheight}{2pt}
123
124 % used for customized tables
125 % ---
126 \newcolumntype{M}[1]
127  {>{\centering\hspace{0pt}}m{#1}}
128
129 \newcolumntype{S}[2]
130  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
131
132 \newcolumntype{K}[1]
133  {>{\columncolor{#1}\hspace{0pt}}c}
134
135 \newcolumntype{V}{!{\vrule width 1.5pt}}
136
137 \newcolumntype{W}{!{\color{green}\vline}}
138 % ---
139
140 % insert additional vertical space of
141 % 1.5 mm between footnotes
142 \let\myFoot\footnote
143 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
144
145 % enable algorithm floats to be referenced
146 \newfloat{Xalgorithm}{tbp}{loa}
147 \floatname{Xalgorithm}{Algorithm}
148 \newcommand{\theHalgorithm}{\theHXalgorithm}
149 \renewenvironment{algorithm}[1][tbp]
150  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
151
152 % number algorithm floats within chapters
153 \numberwithin{Xalgorithm}{chapter}
154
155 % redefine the greyed out note
156 \renewenvironment{lyxgreyedout}
157  {\textcolor{blue}\bgroup}{\egroup}
158
159 % ------------------------------------
160 % used to check for needed LaTeX packages
161 \usepackage{ifthen}
162
163 % check for package arydshln
164 % used for tables with dashed lines
165 \newboolean{arydshln}
166 \IfFileExists{arydshln.sty}
167  {\usepackage{arydshln}
168   \setboolean{arydshln}{true}}
169  {\setboolean{arydshln}{false}}
170
171 % check for package marginnote
172 % used for margin notes
173 \newboolean{marginnote}
174 \IfFileExists{marginnote.sty}
175  {\usepackage{marginnote}
176   \let\marginpar\marginnote
177   \setboolean{marginnote}{true}}
178  {\setboolean{marginnote}{false}}
179
180 % redefine the \LyX macro for PDF bookmarks
181 \def\LyX{\texorpdfstring{%
182   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
183   {LyX }}
184 \end_preamble
185 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
186 \language english
187 \inputencoding auto
188 \font_roman default
189 \font_sans default
190 \font_typewriter default
191 \font_default_family default
192 \font_sc false
193 \font_osf false
194 \font_sf_scale 100
195 \font_tt_scale 100
196 \graphics default
197 \paperfontsize 12
198 \spacing single
199 \papersize default
200 \use_geometry false
201 \use_amsmath 2
202 \use_esint 0
203 \cite_engine basic
204 \use_bibtopic false
205 \paperorientation portrait
206 \secnumdepth 3
207 \tocdepth 3
208 \paragraph_separation skip
209 \defskip medskip
210 \quotes_language english
211 \papercolumns 1
212 \papersides 2
213 \paperpagestyle default
214 \bullet 1 1 34 -1
215 \bullet 2 2 35 -1
216 \bullet 3 2 7 -1
217 \tracking_changes false
218 \output_changes false
219 \author "" 
220 \author "" 
221 \end_header
222
223 \begin_body
224
225 \begin_layout Title
226 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
227  manual
228 \end_layout
229
230 \begin_layout Author
231 by the LyX Team
232 \begin_inset Foot
233 status collapsed
234
235 \begin_layout Standard
236 \noindent
237 If you have comments or error corrections, please send them to the LyX Documenta
238 tion mailing list: 
239 \family typewriter
240
241 \begin_inset ERT
242 status open
243
244 \begin_layout Standard
245
246
247 \backslash
248 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
249 \end_layout
250
251 \end_inset
252
253 lyx-docs@lists.lyx.org
254 \begin_inset ERT
255 status collapsed
256
257 \begin_layout Standard
258
259 }
260 \end_layout
261
262 \end_inset
263
264
265 \end_layout
266
267 \end_inset
268
269
270 \begin_inset Note Note
271 status collapsed
272
273 \begin_layout Standard
274 original author: Uwe Stöhr
275 \end_layout
276
277 \end_inset
278
279
280 \newline
281
282 \newline
283
284 \family sans
285 Version 1.5.2-0
286 \end_layout
287
288 \begin_layout Standard
289 \begin_inset LatexCommand tableofcontents
290
291 \end_inset
292
293
294 \end_layout
295
296 \begin_layout Standard
297 \begin_inset Note Note
298 status open
299
300 \begin_layout Standard
301 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
302  
303 \series bold
304 arydshln
305 \series default
306
307 \series bold
308 colortbl
309 \series default
310 , and 
311 \series bold
312 marginnote
313 \series default
314  must be installed.
315  If they are not installed you can export the document anyway but the sections
316  where the packages are required won't appear in the output.
317 \end_layout
318
319 \begin_layout Standard
320 The latest PDF-version of this document can be found here:
321 \newline
322
323 \series bold
324 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
325 \end_layout
326
327 \end_inset
328
329
330 \end_layout
331
332 \begin_layout Chapter
333 Figures
334 \begin_inset LatexCommand label
335 name "cha:Figures"
336
337 \end_inset
338
339
340 \begin_inset LatexCommand index
341 name "Figures"
342
343 \end_inset
344
345
346 \begin_inset LatexCommand index
347 name "Graphics|see{Figures}"
348
349 \end_inset
350
351
352 \end_layout
353
354 \begin_layout Section
355 Graphics Dialog
356 \begin_inset LatexCommand index
357 name "Figures ! Graphics Dialog"
358
359 \end_inset
360
361
362 \begin_inset LatexCommand label
363 name "sec:Graphics-Dialog"
364
365 \end_inset
366
367
368 \end_layout
369
370 \begin_layout Standard
371 To insert an image into your document, place the cursor at the text position
372  you want and click on the toolbar icon 
373 \begin_inset Graphics
374         filename ../images/dialog-show-new-inset_graphics.png
375         scale 85
376         scaleBeforeRotation
377
378 \end_inset
379
380  or use the menu 
381 \family sans
382 Insert\SpecialChar \menuseparator
383 Graphics
384 \family default
385 .
386  Then a dialog will appear to choose the file to load.
387  The image will appear in the output exactly at the position where it is
388  in the text.
389 \end_layout
390
391 \begin_layout Standard
392 The graphics dialog can be called at any time by right-clicking on an image.
393  This dialog has three tabs:
394 \end_layout
395
396 \begin_layout Description
397
398 \family sans
399 Graphics
400 \family default
401  Here you can choose an image file and adjust its appearance in the output.
402  The available units for the image size are explained in appendix\InsetSpace ~
403
404 \begin_inset LatexCommand ref
405 reference "cha:Units-available-in"
406
407 \end_inset
408
409 .
410 \newline
411
412 \begin_inset LatexCommand index
413 name "Figures ! rotated"
414
415 \end_inset
416
417 You can rotate images counter-clockwise by setting a rotation angle and
418  a rotation origin.
419  The image will also be rotated inside LyX.
420 \newline
421
422 \begin_inset LatexCommand index
423 name "Figures ! scaled"
424
425 \end_inset
426
427 Images can be scaled by using a percentage value or by setting the width
428  and height explicitly.
429  If you set only the width or only the height, the other size will be determined
430  automatically.
431  If you set both, then the image will be transformed to the given size,
432  possibly distorting it.
433  To prevent the image from distortion, use the option 
434 \family sans
435 Maintain aspect ratio
436 \family default
437 .
438  The image will then be scaled so that its width and height don't exceed
439  the specified dimensions.
440 \newline
441 Images can be opened in a program of your choice
442  when pressing the 
443 \family sans
444 Edit
445 \family default
446  button.
447  The program can be set for every image format in the file format settings
448  in LyX's preferences.
449 \end_layout
450
451 \begin_layout Description
452
453 \family sans
454 Clipping
455 \family default
456  Alternatively to the usage of scaling units it is possible to set image
457  coordinates to adjust the height and width of the image in the output.
458  The coordinates can also be calculated automatically by pressing the button
459  
460 \family sans
461 Get\InsetSpace ~
462 from\InsetSpace ~
463 File
464 \family default
465 .
466  The option 
467 \family sans
468 Clip\InsetSpace ~
469 to\InsetSpace ~
470 bounding\InsetSpace ~
471 box
472 \family default
473  will only print the image region within the given coordinates.
474  Normally you don't need to take care about image coordinates and can ignore
475  this tab.
476 \end_layout
477
478 \begin_layout Description
479
480 \family sans
481 Extra\InsetSpace ~
482 options
483 \family default
484  In this tab you can modify the appearance of the image within LyX and set
485  the image to be a subfigure of a figure float with an own caption.
486  Subfigures are explained in section\InsetSpace ~
487
488 \begin_inset LatexCommand ref
489 reference "sec:Figure-Floats"
490
491 \end_inset
492
493 .
494 \newline
495  LaTeX experts can also specify on this tab additional LaTeX options.
496 \newline
497  The
498  option 
499 \family sans
500 Draft\InsetSpace ~
501 mode
502 \family default
503  makes the image appear in the output only as a frame with the size of the
504  image.
505 \newline
506 The 
507 \family sans
508 Don't\InsetSpace ~
509 unzip\InsetSpace ~
510 on\InsetSpace ~
511 export
512 \family default
513  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
514 g.\InsetSpace ~
515
516 \emph on
517 x.eps.gz
518 \emph default
519 .
520  When the option is used the images will not be unzipped on export, since
521  LaTeX can handle them as they are.
522 \newline
523 Zipped EPS-graphics are useful to save
524  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
525
526 \begin_inset LatexCommand ref
527 reference "sec:PostScript"
528
529 \end_inset
530
531 .
532  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
533  console:
534 \newline
535
536 \series bold
537 gzip x.eps
538 \series default
539
540 \newline
541
542 \series bold
543 zgrep %%Bounding x.eps.gz > x.eps.bb
544 \series default
545
546 \newline
547 The second command creates the bounding box file 
548 \begin_inset Quotes eld
549 \end_inset
550
551 x.eps.bb
552 \begin_inset Quotes erd
553 \end_inset
554
555  that is needed by LaTeX for zipped graphics.
556 \end_layout
557
558 \begin_layout Standard
559 \begin_inset VSpace bigskip
560 \end_inset
561
562
563 \end_layout
564
565 \begin_layout Standard
566 This is an example image in EPS format
567 \begin_inset Foot
568 status collapsed
569
570 \begin_layout Standard
571 Image formats are explained in section\InsetSpace ~
572
573 \begin_inset LatexCommand ref
574 reference "sec:Image-Formats"
575
576 \end_inset
577
578 .
579 \end_layout
580
581 \end_inset
582
583  within a separate, horizontally centered paragraph:
584 \end_layout
585
586 \begin_layout Standard
587 \align center
588 \begin_inset Graphics
589         filename clipart/mobius.eps
590         display color
591         scale 70
592         scaleBeforeRotation
593         rotateOrigin center
594
595 \end_inset
596
597
598 \end_layout
599
600 \begin_layout Standard
601 This is the same image like the one above but in draft mode:
602 \end_layout
603
604 \begin_layout Standard
605 \align center
606 \begin_inset Graphics
607         filename clipart/mobius.eps
608         display color
609         scale 70
610         draft
611         scaleBeforeRotation
612         rotateOrigin center
613
614 \end_inset
615
616
617 \end_layout
618
619 \begin_layout Section
620 Figure Floats
621 \begin_inset LatexCommand label
622 name "sec:Figure-Floats"
623
624 \end_inset
625
626
627 \begin_inset LatexCommand index
628 name "Floats ! Figures"
629
630 \end_inset
631
632
633 \begin_inset LatexCommand index
634 name "Figures ! Floats"
635
636 \end_inset
637
638
639 \end_layout
640
641 \begin_layout Standard
642 For general explanations about floats, have a look at section\InsetSpace ~
643
644 \begin_inset LatexCommand ref
645 reference "sec:FloatIntroduction"
646
647 \end_inset
648
649 .
650 \end_layout
651
652 \begin_layout Standard
653 The toolbar button 
654 \begin_inset Graphics
655         filename ../images/float-insert_figure.png
656         scale 85
657         scaleBeforeRotation
658
659 \end_inset
660
661  and the menu 
662 \family sans
663 Insert\SpecialChar \menuseparator
664 Float\SpecialChar \menuseparator
665 Figure
666 \family default
667  inserts a float with a caption that has the label 
668 \begin_inset Quotes eld
669 \end_inset
670
671 Figure\InsetSpace ~
672 #:
673 \begin_inset Quotes erd
674 \end_inset
675
676  (# is the actual number).
677  You can insert the image above the caption, like in Figure\InsetSpace ~
678
679 \begin_inset LatexCommand ref
680 reference "fig:kill-plat"
681
682 \end_inset
683
684  or below the caption, like in Figure\InsetSpace ~
685
686 \begin_inset LatexCommand ref
687 reference "fig:escher"
688
689 \end_inset
690
691 .
692  More about the caption placement is described in section\InsetSpace ~
693
694 \begin_inset LatexCommand ref
695 reference "sec:Caption-Placement"
696
697 \end_inset
698
699 .
700 \end_layout
701
702 \begin_layout Standard
703 \begin_inset Float figure
704 wide false
705 sideways false
706 status open
707
708 \begin_layout Standard
709 \align center
710 \begin_inset Graphics
711         filename clipart/platypus.eps
712         display color
713         width 50col%
714         scaleBeforeRotation
715         rotateOrigin center
716
717 \end_inset
718
719
720 \end_layout
721
722 \begin_layout Standard
723 \begin_inset Caption
724
725 \begin_layout Standard
726 \begin_inset LatexCommand label
727 name "fig:kill-plat"
728
729 \end_inset
730
731 A severely distorted platypus in a float.
732 \end_layout
733
734 \end_inset
735
736
737 \end_layout
738
739 \end_inset
740
741
742 \end_layout
743
744 \begin_layout Standard
745 \begin_inset Float figure
746 wide false
747 sideways false
748 status open
749
750 \begin_layout Standard
751 \begin_inset Caption
752
753 \begin_layout Standard
754 \begin_inset LatexCommand label
755 name "fig:escher"
756
757 \end_inset
758
759 M.C.
760  Escher on acid.
761 \end_layout
762
763 \end_inset
764
765
766 \end_layout
767
768 \begin_layout Standard
769 \align center
770 \begin_inset Graphics
771         filename clipart/escher-lsd.eps
772         display color
773         scale 80
774         scaleBeforeRotation
775         rotateOrigin center
776
777 \end_inset
778
779
780 \end_layout
781
782 \end_inset
783
784
785 \end_layout
786
787 \begin_layout Standard
788 \begin_inset LatexCommand index
789 name "References ! to Figures"
790
791 \end_inset
792
793 Figure\InsetSpace ~
794
795 \begin_inset LatexCommand ref
796 reference "fig:kill-plat"
797
798 \end_inset
799
800  and 
801 \begin_inset LatexCommand ref
802 reference "fig:escher"
803
804 \end_inset
805
806  are examples of referenced figures.
807  Figures can be referenced in the text by referencing their label.
808  To do this insert a label in the caption using the menu 
809 \family sans
810 Insert\SpecialChar \menuseparator
811 Label
812 \family default
813  or the toolbar button 
814 \begin_inset Graphics
815         filename ../images/label-insert.png
816         scale 85
817         scaleBeforeRotation
818
819 \end_inset
820
821 .
822  You can now refer to the label using the menu 
823 \family sans
824 Insert\SpecialChar \menuseparator
825 Cross\InsetSpace ~
826 reference
827 \family default
828  or the toolbar button 
829 \begin_inset Graphics
830         filename ../images/dialog-show-new-inset_ref.png
831         scale 85
832         scaleBeforeRotation
833
834 \end_inset
835
836 .
837  It is important to use references to floats, rather than using vague references
838  like 
839 \begin_inset Quotes eld
840 \end_inset
841
842 the figure above
843 \begin_inset Quotes erd
844 \end_inset
845
846 , because as LaTeX will reposition the floats in the final document, it
847  might not be 
848 \begin_inset Quotes eld
849 \end_inset
850
851 above
852 \begin_inset Quotes erd
853 \end_inset
854
855  at all.
856 \newline
857 Referencing is explained in detail in section\InsetSpace ~
858
859 \begin_inset LatexCommand ref
860 reference "sec:Referencing-Floats"
861
862 \end_inset
863
864 .
865 \end_layout
866
867 \begin_layout Standard
868 Normally only one image is inserted to a figure float, but sometimes you
869  might want to use two images with separate subcaptions.
870  This can be set in the tab 
871 \family sans
872 Extra\InsetSpace ~
873 options
874 \family default
875  of the graphics dialog.
876  Choose there the option 
877 \family sans
878 Subfigure
879 \family default
880  and enter the subcaption for the image in the caption field.
881  Note that only the main caption of the float is added to the List of Figures.
882 \newline
883 Ref
884 erencing subfigures is explained in section\InsetSpace ~
885
886 \begin_inset LatexCommand ref
887 reference "sub:Referencing-Subfigures"
888
889 \end_inset
890
891 .
892 \end_layout
893
894 \begin_layout Standard
895 Figure\InsetSpace ~
896
897 \begin_inset LatexCommand ref
898 reference "fig:Two-distorted-images"
899
900 \end_inset
901
902  is an example of a figure float with two images set side by side.
903  You can also set the images one below the other.
904 \end_layout
905
906 \begin_layout Standard
907 \begin_inset Float figure
908 wide false
909 sideways false
910 status open
911
912 \begin_layout Standard
913
914 \hfill
915
916 \begin_inset Graphics
917         filename clipart/escher-lsd.eps
918         width 45col%
919         scaleBeforeRotation
920         subcaption
921         subcaptionText "Undefinable structure"
922
923 \end_inset
924
925
926 \hfill
927
928 \begin_inset Graphics
929         filename clipart/platypus.eps
930         lyxscale 60
931         width 45col%
932         scaleBeforeRotation
933         subcaption
934         subcaptionText "\label{fig:Platypus} Platypus"
935
936 \end_inset
937
938
939 \hfill
940
941 \end_layout
942
943 \begin_layout Standard
944 \begin_inset Caption
945
946 \begin_layout Standard
947 \begin_inset LatexCommand label
948 name "fig:Two-distorted-images"
949
950 \end_inset
951
952 Two distorted images.
953 \end_layout
954
955 \end_inset
956
957
958 \end_layout
959
960 \end_inset
961
962
963 \end_layout
964
965 \begin_layout Section
966 Image Formats
967 \begin_inset LatexCommand label
968 name "sec:Image-Formats"
969
970 \end_inset
971
972
973 \begin_inset LatexCommand index
974 name "Image Formats"
975
976 \end_inset
977
978
979 \begin_inset LatexCommand index
980 name "Figures ! Image Formats"
981
982 \end_inset
983
984
985 \end_layout
986
987 \begin_layout Standard
988 You can insert images in any known file format.
989  But as explained in appendix\InsetSpace ~
990
991 \begin_inset LatexCommand ref
992 reference "cha:Output-File-Formats"
993
994 \end_inset
995
996 , every output document format allows only a few image formats.
997  LyX uses therefore the program 
998 \family typewriter
999 Imagemagick
1000 \family default
1001  in the background to convert the images to the right format.
1002  To increase your work flow by avoiding these conversions in the background,
1003  you can use only the image formats that can directly be embedded in the
1004  output file format.
1005  The output file formats are explained in appendix\InsetSpace ~
1006
1007 \begin_inset LatexCommand ref
1008 reference "cha:Output-File-Formats"
1009
1010 \end_inset
1011
1012 .
1013 \end_layout
1014
1015 \begin_layout Standard
1016 Similar to fonts there are two types of image formats:
1017 \end_layout
1018
1019 \begin_layout Description
1020 Bitmap\InsetSpace ~
1021 images consist of pixel values, often in a compressed form.
1022  They are therefore not fully scalable and look pixeled in large zooms.
1023  Well-known bitmap image formats are 
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 Graphics Interchange Format
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  (GIF, file extension 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035
1036 \family typewriter
1037 .gif
1038 \family default
1039
1040 \begin_inset Quotes erd
1041 \end_inset
1042
1043 )
1044 \begin_inset LatexCommand index
1045 name "GIF|see{Image formats}"
1046
1047 \end_inset
1048
1049
1050 \begin_inset Quotes eld
1051 \end_inset
1052
1053 Portable Network Graphics
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057  (PNG, file extension 
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061
1062 \family typewriter
1063 .png
1064 \family default
1065
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069 )
1070 \begin_inset LatexCommand index
1071 name "PNG|see{Image formats}"
1072
1073 \end_inset
1074
1075 , and 
1076 \begin_inset Quotes eld
1077 \end_inset
1078
1079 Joint Photographic Experts Group
1080 \begin_inset Quotes erd
1081 \end_inset
1082
1083  (JPG, file extension 
1084 \begin_inset Quotes eld
1085 \end_inset
1086
1087
1088 \family typewriter
1089 .jpg
1090 \family default
1091
1092 \begin_inset Quotes erd
1093 \end_inset
1094
1095  or 
1096 \begin_inset Quotes eld
1097 \end_inset
1098
1099
1100 \family typewriter
1101 .jpeg
1102 \family default
1103
1104 \begin_inset Quotes erd
1105 \end_inset
1106
1107 )
1108 \begin_inset LatexCommand index
1109 name "JPG|see{Image formats}"
1110
1111 \end_inset
1112
1113 .
1114 \end_layout
1115
1116 \begin_layout Description
1117 Vector\InsetSpace ~
1118 images consist of vectors and can therefore be scaled to any size
1119  without data loss.
1120  The scaling ability is necessary if you want to create presentations, because
1121  presentations are always scaled by the video projector.
1122  Scaling is also useful for online documents to let the user zoom into diagrams.
1123 \newline
1124 W
1125 ell-known scalable image formats are 
1126 \begin_inset Quotes eld
1127 \end_inset
1128
1129 Scalable Vector Graphics
1130 \begin_inset Quotes erd
1131 \end_inset
1132
1133  (SVG, file extension 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137
1138 \family typewriter
1139 .svg
1140 \family default
1141
1142 \begin_inset Quotes erd
1143 \end_inset
1144
1145 )
1146 \begin_inset LatexCommand index
1147 name "SVG|see{Image formats}"
1148
1149 \end_inset
1150
1151
1152 \begin_inset Quotes eld
1153 \end_inset
1154
1155 Encapsulated PostScript
1156 \begin_inset Quotes erd
1157 \end_inset
1158
1159  (EPS, file extension 
1160 \begin_inset Quotes eld
1161 \end_inset
1162
1163
1164 \family typewriter
1165 .eps
1166 \family default
1167
1168 \begin_inset Quotes erd
1169 \end_inset
1170
1171 )
1172 \begin_inset LatexCommand index
1173 name "EPS|see{Image formats}"
1174
1175 \end_inset
1176
1177
1178 \begin_inset Quotes eld
1179 \end_inset
1180
1181 Portable Document Format
1182 \begin_inset Quotes erd
1183 \end_inset
1184
1185  (PDF, file extension 
1186 \begin_inset Quotes eld
1187 \end_inset
1188
1189
1190 \family typewriter
1191 .pdf
1192 \family default
1193
1194 \begin_inset Quotes erd
1195 \end_inset
1196
1197 )
1198 \begin_inset LatexCommand index
1199 name "PDF"
1200
1201 \end_inset
1202
1203 , and 
1204 \begin_inset Quotes eld
1205 \end_inset
1206
1207 Windows Metafile
1208 \begin_inset Quotes erd
1209 \end_inset
1210
1211  (WMF, file extension 
1212 \begin_inset Quotes eld
1213 \end_inset
1214
1215
1216 \family typewriter
1217 .wmf
1218 \family default
1219
1220 \begin_inset Quotes erd
1221 \end_inset
1222
1223 )
1224 \begin_inset LatexCommand index
1225 name "SVG|see{Image formats}"
1226
1227 \end_inset
1228
1229 .
1230  We wrote 
1231 \begin_inset Quotes eld
1232 \end_inset
1233
1234 can be
1235 \begin_inset Quotes erd
1236 \end_inset
1237
1238 , because you can convert any bitmap image to a PDF or EPS-image and the
1239  result will still be a bitmap image.
1240  In this cases only a header with the image properties is added to the original
1241  image
1242 \begin_inset Foot
1243 status open
1244
1245 \begin_layout Standard
1246 In the case of PDF, the original image is additionally compressed.
1247 \end_layout
1248
1249 \end_inset
1250
1251 .
1252  The PDF-files generated by 
1253 \family typewriter
1254 Adobe Photoshop
1255 \family default
1256  are for example bitmap images.
1257 \end_layout
1258
1259 \begin_layout Standard
1260 Normally it is not possible to convert a bitmap image into a scalable one,
1261  only vice versa.
1262  Only the image formats PDF and EPS can directly be embedded to PDF and
1263  PostScript output files, respectively.
1264  SVG and WMF-images are recalculated to bitmaps when the output file is
1265  generated because there is currently no adequate WMF/SVG
1266 \begin_inset Formula $\to$
1267 \end_inset
1268
1269 PDF/EPS converter available.
1270 \end_layout
1271
1272 \begin_layout Chapter
1273 Tables
1274 \begin_inset LatexCommand label
1275 name "cha:Tables"
1276
1277 \end_inset
1278
1279
1280 \begin_inset LatexCommand index
1281 name "Table"
1282
1283 \end_inset
1284
1285
1286 \end_layout
1287
1288 \begin_layout Section
1289 Introduction
1290 \begin_inset LatexCommand index
1291 name "Table ! Introduction"
1292
1293 \end_inset
1294
1295
1296 \end_layout
1297
1298 \begin_layout Standard
1299 You can insert a table using either the toolbar button 
1300 \begin_inset Graphics
1301         filename ../images/tabular-insert.png
1302         scale 85
1303         scaleBeforeRotation
1304
1305 \end_inset
1306
1307  or the menu 
1308 \family sans
1309 Insert\SpecialChar \menuseparator
1310 Table
1311 \family default
1312 .
1313  The toolbar button offers you a graphical selection: Move the mouse to
1314  set the column/row number of the table that should be created and then
1315  press a mouse button.
1316  When you use the menu to create a table, a dialog will appear, asking you
1317  for the number of rows and columns.
1318 \newline
1319  The default table has lines around any
1320  cell and the first row appears separated from the rest of the table.
1321  This separation occurs due to a double line: The cells of the first row
1322  have a line below them and the cells of the second row have a line above
1323  them.
1324  Here is an example table:
1325 \end_layout
1326
1327 \begin_layout Standard
1328 \align center
1329 \begin_inset Tabular
1330 <lyxtabular version="3" rows="4" columns="4">
1331 <features>
1332 <column alignment="center" valignment="top" leftline="true" width="0">
1333 <column alignment="center" valignment="top" leftline="true" width="0">
1334 <column alignment="center" valignment="top" leftline="true" width="0">
1335 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1336 <row topline="true" bottomline="true">
1337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1338 \begin_inset Text
1339
1340 \begin_layout Standard
1341
1342 \end_layout
1343
1344 \end_inset
1345 </cell>
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \family roman
1352 \series medium
1353 \shape up
1354 \size normal
1355 \emph off
1356 \bar no
1357 \noun off
1358 \color none
1359 1
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1365 \begin_inset Text
1366
1367 \begin_layout Standard
1368 2
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377 3
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 </row>
1383 <row topline="true">
1384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1385 \begin_inset Text
1386
1387 \begin_layout Standard
1388
1389 \family roman
1390 \series medium
1391 \shape up
1392 \size normal
1393 \emph off
1394 \bar no
1395 \noun off
1396 \color none
1397 A
1398 \end_layout
1399
1400 \end_inset
1401 </cell>
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1403 \begin_inset Text
1404
1405 \begin_layout Standard
1406
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1412 \begin_inset Text
1413
1414 \begin_layout Standard
1415
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 </row>
1430 <row topline="true">
1431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1432 \begin_inset Text
1433
1434 \begin_layout Standard
1435
1436 \family roman
1437 \series medium
1438 \shape up
1439 \size normal
1440 \emph off
1441 \bar no
1442 \noun off
1443 \color none
1444 B
1445 \end_layout
1446
1447 \end_inset
1448 </cell>
1449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1450 \begin_inset Text
1451
1452 \begin_layout Standard
1453
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1459 \begin_inset Text
1460
1461 \begin_layout Standard
1462
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 </row>
1477 <row topline="true" bottomline="true">
1478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1479 \begin_inset Text
1480
1481 \begin_layout Standard
1482
1483 \family roman
1484 \series medium
1485 \shape up
1486 \size normal
1487 \emph off
1488 \bar no
1489 \noun off
1490 \color none
1491 C
1492 \end_layout
1493
1494 \end_inset
1495 </cell>
1496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1497 \begin_inset Text
1498
1499 \begin_layout Standard
1500
1501 \end_layout
1502
1503 \end_inset
1504 </cell>
1505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1506 \begin_inset Text
1507
1508 \begin_layout Standard
1509
1510 \end_layout
1511
1512 \end_inset
1513 </cell>
1514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1515 \begin_inset Text
1516
1517 \begin_layout Standard
1518
1519 \end_layout
1520
1521 \end_inset
1522 </cell>
1523 </row>
1524 </lyxtabular>
1525
1526 \end_inset
1527
1528
1529 \end_layout
1530
1531 \begin_layout Section
1532 Table Dialog
1533 \begin_inset LatexCommand index
1534 name "Table ! Dialog"
1535
1536 \end_inset
1537
1538
1539 \end_layout
1540
1541 \begin_layout Standard
1542 You can alter a table by clicking on it with the right mouse button, which
1543  brings up the table dialog.
1544  Here you can adjust the settings of that cell and row/column respectively
1545  where the cursor is currently placed.
1546  Most of the dialog options also work on selections.
1547  This means if you select more cells, columns or rows, the action is done
1548  for the whole selection.
1549  Note that there is a difference between selecting the 
1550 \emph on
1551 contents
1552 \emph default
1553  of the cell, and the cell itself.
1554  You can alter tables with the following tabs of the table dialog:
1555 \end_layout
1556
1557 \begin_layout Description
1558
1559 \family sans
1560 Table\InsetSpace ~
1561 Settings
1562 \family default
1563  Here you can set the horizontal alignment and the width of the current
1564  column.
1565  When you have set a width you can also adjust the vertical alignment of
1566  the current row.
1567  A given width will allow the cell to have line breaks and multiple paragraphs
1568  of text, see section\InsetSpace ~
1569
1570 \begin_inset LatexCommand ref
1571 reference "sub:Multiple-Lines-in"
1572
1573 \end_inset
1574
1575 .
1576  If you set no width, the column is as wide as their widest cell content
1577  is.
1578 \newline
1579 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1580  cell, see section\InsetSpace ~
1581
1582 \begin_inset LatexCommand ref
1583 reference "sub:Multicolumns"
1584
1585 \end_inset
1586
1587 .
1588 \newline
1589 The rotate check boxes rotates the current cell, a selection, or the whole
1590  table counter-clockwise by 90°.
1591  The rotation is not shown within LyX, only in the output.
1592 \newline
1593
1594 \begin_inset Note Greyedout
1595 status open
1596
1597 \begin_layout Standard
1598
1599 \series bold
1600 Note:
1601 \series default
1602  Not all DVI-viewers are able to display rotations.
1603 \end_layout
1604
1605 \end_inset
1606
1607
1608 \newline
1609 It is also possible to enter a LaTeX-argument which is needed for special
1610  table formattings, see section\InsetSpace ~
1611
1612 \begin_inset LatexCommand ref
1613 reference "sub:Multicolumn-Calculations"
1614
1615 \end_inset
1616
1617  and 
1618 \begin_inset LatexCommand ref
1619 reference "sec:Colored-Tables"
1620
1621 \end_inset
1622
1623 .
1624 \end_layout
1625
1626 \begin_layout Description
1627
1628 \family sans
1629 Borders
1630 \family default
1631  In this tab you can add and delete border lines for the current row/column.
1632 \newline
1633 Using
1634  the style option 
1635 \family sans
1636 Formal
1637 \family default
1638  will convert the table to a formal table as described in section\InsetSpace ~
1639
1640 \begin_inset LatexCommand ref
1641 reference "sec:Formal-Tables"
1642
1643 \end_inset
1644
1645 .
1646 \newline
1647 You can also add here space to table rows as decribed in section\InsetSpace ~
1648
1649 \begin_inset LatexCommand ref
1650 reference "sub:Row-Spacing"
1651
1652 \end_inset
1653
1654 .
1655 \end_layout
1656
1657 \begin_layout Description
1658
1659 \family sans
1660 Longtable
1661 \family default
1662  This tab is to make a table a so called 
1663 \begin_inset Quotes eld
1664 \end_inset
1665
1666
1667 \emph on
1668 longtable
1669 \emph default
1670
1671 \begin_inset Quotes erd
1672 \end_inset
1673
1674  that can run over several pages.
1675  Section\InsetSpace ~
1676
1677 \begin_inset LatexCommand ref
1678 reference "sec:Longtables"
1679
1680 \end_inset
1681
1682  and 
1683 \begin_inset LatexCommand ref
1684 reference "sec:Special-Longtable-Issues"
1685
1686 \end_inset
1687
1688  describe the longtable features in detail.
1689 \end_layout
1690
1691 \begin_layout Standard
1692 When the table toolbar is opened, you can move the cursor with the arrow
1693  keys from cell to cell and the property of the current cell will immediately
1694  be displayed in the dialog.
1695 \end_layout
1696
1697 \begin_layout Section
1698 Table Toolbar
1699 \begin_inset LatexCommand index
1700 name "Table ! Toolbar"
1701
1702 \end_inset
1703
1704
1705 \end_layout
1706
1707 \begin_layout Standard
1708 The table toolbar is an alternative to the table dialog to be able to alter
1709  tables faster.
1710  It should normally appear at the bottom of LyX's main window when the cursor
1711  is inside a table.
1712  You can alternatively switch it on to appear always, by right-clicking
1713  in LyX's main menu bar.
1714 \end_layout
1715
1716 \begin_layout Standard
1717 The toolbar has the following icons:
1718 \end_layout
1719
1720 \begin_layout Labeling
1721 \labelwidthstring 00.00.0000
1722 \begin_inset Graphics
1723         filename ../images/tabular-feature_append-row.png
1724         scaleBeforeRotation
1725
1726 \end_inset
1727
1728  adds a row below the current cell or selection
1729 \end_layout
1730
1731 \begin_layout Labeling
1732 \labelwidthstring 00.00.0000
1733 \begin_inset Graphics
1734         filename ../images/tabular-feature_append-column.png
1735         scaleBeforeRotation
1736
1737 \end_inset
1738
1739  adds a column right beside the current cell or selection
1740 \end_layout
1741
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745         filename ../images/tabular-feature_delete-row.png
1746         scaleBeforeRotation
1747
1748 \end_inset
1749
1750  deletes the current row or selection
1751 \end_layout
1752
1753 \begin_layout Labeling
1754 \labelwidthstring 00.00.0000
1755 \begin_inset Graphics
1756         filename ../images/tabular-feature_delete-column.png
1757         scaleBeforeRotation
1758
1759 \end_inset
1760
1761  deletes the current column or selection
1762 \end_layout
1763
1764 \begin_layout Labeling
1765 \labelwidthstring 00.00.0000
1766 \begin_inset Graphics
1767         filename ../images/tabular-feature_toggle-line-top.png
1768         scaleBeforeRotation
1769
1770 \end_inset
1771
1772  adds a line at the top of the current cell / row or of a selection
1773 \end_layout
1774
1775 \begin_layout Labeling
1776 \labelwidthstring 00.00.0000
1777 \begin_inset Graphics
1778         filename ../images/tabular-feature_toggle-line-bottom.png
1779         scaleBeforeRotation
1780
1781 \end_inset
1782
1783  adds a line at the bottom of the current cell / row or of a selection
1784 \end_layout
1785
1786 \begin_layout Labeling
1787 \labelwidthstring 00.00.0000
1788 \begin_inset Graphics
1789         filename ../images/tabular-feature_toggle-line-left.png
1790         scaleBeforeRotation
1791
1792 \end_inset
1793
1794  adds a line at the left side of the current cell / row or of a selection
1795 \end_layout
1796
1797 \begin_layout Labeling
1798 \labelwidthstring 00.00.0000
1799 \begin_inset Graphics
1800         filename ../images/tabular-feature_toggle-line-right.png
1801         scaleBeforeRotation
1802
1803 \end_inset
1804
1805  adds a line at the right side of the current cell / row or of a selection
1806 \end_layout
1807
1808 \begin_layout Labeling
1809 \labelwidthstring 00.00.0000
1810 \begin_inset Graphics
1811         filename ../images/tabular-feature_set-all-lines.png
1812         scaleBeforeRotation
1813
1814 \end_inset
1815
1816  adds lines around the current or selected cells - if the current cell no
1817  multicolumn this also affects the current row and column
1818 \end_layout
1819
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Graphics
1823         filename ../images/tabular-feature_unset-all-lines.png
1824         scaleBeforeRotation
1825
1826 \end_inset
1827
1828  deletes all lines of the current or selected cells - if the current cell
1829  no multicolumn this also affects the current row and column
1830 \end_layout
1831
1832 \begin_layout Labeling
1833 \labelwidthstring 00.00.0000
1834 \begin_inset Graphics
1835         filename ../images/tabular-feature_align-left.png
1836         scaleBeforeRotation
1837
1838 \end_inset
1839
1840  left-aligns the content of the current cell / column
1841 \end_layout
1842
1843 \begin_layout Labeling
1844 \labelwidthstring 00.00.0000
1845 \begin_inset Graphics
1846         filename ../images/tabular-feature_align-center.png
1847         scaleBeforeRotation
1848
1849 \end_inset
1850
1851  centers the content of the current cell / column horizontally
1852 \end_layout
1853
1854 \begin_layout Labeling
1855 \labelwidthstring 00.00.0000
1856 \begin_inset Graphics
1857         filename ../images/tabular-feature_align-right.png
1858         scaleBeforeRotation
1859
1860 \end_inset
1861
1862  right-aligns the content of the current cell / column
1863 \end_layout
1864
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Graphics
1868         filename ../images/tabular-feature_valign-top.png
1869         scaleBeforeRotation
1870
1871 \end_inset
1872
1873  aligns the content of the current cell vertically to the top
1874 \end_layout
1875
1876 \begin_layout Labeling
1877 \labelwidthstring 00.00.0000
1878 \begin_inset Graphics
1879         filename ../images/tabular-feature_valign-middle.png
1880         scaleBeforeRotation
1881
1882 \end_inset
1883
1884  centers the content of the current cell vertically
1885 \end_layout
1886
1887 \begin_layout Labeling
1888 \labelwidthstring 00.00.0000
1889 \begin_inset Graphics
1890         filename ../images/tabular-feature_valign-bottom.png
1891         scaleBeforeRotation
1892
1893 \end_inset
1894
1895  aligns the content of the current cell vertically to the bottom
1896 \end_layout
1897
1898 \begin_layout Labeling
1899 \labelwidthstring 00.00.0000
1900 \begin_inset Graphics
1901         filename ../images/tabular-feature_set-rotate-cell.png
1902         scaleBeforeRotation
1903
1904 \end_inset
1905
1906  rotates the current cell or selection counter-clockwise by 90°
1907 \end_layout
1908
1909 \begin_layout Labeling
1910 \labelwidthstring 00.00.0000
1911 \begin_inset Graphics
1912         filename ../images/tabular-feature_set-rotate-tabular.png
1913         scaleBeforeRotation
1914
1915 \end_inset
1916
1917  rotates the whole table counter-clockwise by 90°
1918 \end_layout
1919
1920 \begin_layout Labeling
1921 \labelwidthstring 00.00.0000
1922 \begin_inset Graphics
1923         filename ../images/tabular-feature_multicolumn.png
1924         scaleBeforeRotation
1925
1926 \end_inset
1927
1928  sets the current cell or selection as a multicolumn
1929 \end_layout
1930
1931 \begin_layout Standard
1932 \begin_inset Note Greyedout
1933 status open
1934
1935 \begin_layout Standard
1936
1937 \series bold
1938 Note:
1939 \series default
1940  For the output the vertical alignment of the first cell in a row is used
1941  for all following cells in the row.
1942 \end_layout
1943
1944 \end_inset
1945
1946
1947 \end_layout
1948
1949 \begin_layout Section
1950 Edit Table Menu
1951 \begin_inset LatexCommand index
1952 name "Table ! Edit Menu"
1953
1954 \end_inset
1955
1956
1957 \end_layout
1958
1959 \begin_layout Standard
1960 Additionally to the table dialog and toolbar, the menu 
1961 \family sans
1962 Edit\SpecialChar \menuseparator
1963 Table
1964 \family default
1965  allows you to add and delete border lines for the current row/column and
1966  to set the current selection as multicolumn.
1967  The menu is only available when the cursor is inside a table.
1968 \end_layout
1969
1970 \begin_layout Section
1971 Table Floats
1972 \begin_inset LatexCommand label
1973 name "sec:Table-Floats"
1974
1975 \end_inset
1976
1977
1978 \begin_inset LatexCommand index
1979 name "Floats ! Tables"
1980
1981 \end_inset
1982
1983
1984 \begin_inset LatexCommand index
1985 name "Table ! Floats"
1986
1987 \end_inset
1988
1989
1990 \end_layout
1991
1992 \begin_layout Standard
1993 For general explanations about floats, have a look at section\InsetSpace ~
1994
1995 \begin_inset LatexCommand ref
1996 reference "sec:FloatIntroduction"
1997
1998 \end_inset
1999
2000 .
2001 \end_layout
2002
2003 \begin_layout Standard
2004 \begin_inset Float table
2005 placement h
2006 wide false
2007 sideways false
2008 status open
2009
2010 \begin_layout Standard
2011 \begin_inset Caption
2012
2013 \begin_layout Standard
2014 \begin_inset LatexCommand label
2015 name "tab:a table float"
2016
2017 \end_inset
2018
2019 A table float.
2020 \end_layout
2021
2022 \end_inset
2023
2024
2025 \end_layout
2026
2027 \begin_layout Standard
2028 \align center
2029 \begin_inset Tabular
2030 <lyxtabular version="3" rows="3" columns="3">
2031 <features>
2032 <column alignment="center" valignment="top" leftline="true" width="0pt">
2033 <column alignment="center" valignment="top" leftline="true" width="0pt">
2034 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2035 <row topline="true" bottomline="true">
2036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2037 \begin_inset Text
2038
2039 \begin_layout Standard
2040
2041 \family roman
2042 \series medium
2043 \shape up
2044 \size normal
2045 \emph off
2046 \bar no
2047 \noun off
2048 \color none
2049 1
2050 \end_layout
2051
2052 \end_inset
2053 </cell>
2054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2055 \begin_inset Text
2056
2057 \begin_layout Standard
2058
2059 \family roman
2060 \series medium
2061 \shape up
2062 \size normal
2063 \emph off
2064 \bar no
2065 \noun off
2066 \color none
2067 2
2068 \end_layout
2069
2070 \end_inset
2071 </cell>
2072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2073 \begin_inset Text
2074
2075 \begin_layout Standard
2076
2077 \family roman
2078 \series medium
2079 \shape up
2080 \size normal
2081 \emph off
2082 \bar no
2083 \noun off
2084 \color none
2085 3
2086 \end_layout
2087
2088 \end_inset
2089 </cell>
2090 </row>
2091 <row topline="true">
2092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2093 \begin_inset Text
2094
2095 \begin_layout Standard
2096
2097 \family roman
2098 \series medium
2099 \shape up
2100 \size normal
2101 \emph off
2102 \bar no
2103 \noun off
2104 \color none
2105 Joe
2106 \end_layout
2107
2108 \end_inset
2109 </cell>
2110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2111 \begin_inset Text
2112
2113 \begin_layout Standard
2114
2115 \family roman
2116 \series medium
2117 \shape up
2118 \size normal
2119 \emph off
2120 \bar no
2121 \noun off
2122 \color none
2123 Mary
2124 \end_layout
2125
2126 \end_inset
2127 </cell>
2128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2129 \begin_inset Text
2130
2131 \begin_layout Standard
2132
2133 \family roman
2134 \series medium
2135 \shape up
2136 \size normal
2137 \emph off
2138 \bar no
2139 \noun off
2140 \color none
2141 Ted
2142 \end_layout
2143
2144 \end_inset
2145 </cell>
2146 </row>
2147 <row topline="true" bottomline="true">
2148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2149 \begin_inset Text
2150
2151 \begin_layout Standard
2152
2153 \family roman
2154 \series medium
2155 \shape up
2156 \size normal
2157 \emph off
2158 \bar no
2159 \noun off
2160 \color none
2161 \begin_inset Formula $\int x^{2}dx$
2162 \end_inset
2163
2164
2165 \end_layout
2166
2167 \end_inset
2168 </cell>
2169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2170 \begin_inset Text
2171
2172 \begin_layout Standard
2173
2174 \family roman
2175 \series medium
2176 \shape up
2177 \size normal
2178 \emph off
2179 \bar no
2180 \noun off
2181 \color none
2182 \begin_inset Formula $\left[\begin{array}{cc}
2183 a & b\\
2184 c & d\end{array}\right]$
2185 \end_inset
2186
2187
2188 \end_layout
2189
2190 \end_inset
2191 </cell>
2192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2193 \begin_inset Text
2194
2195 \begin_layout Standard
2196
2197 \family roman
2198 \series medium
2199 \shape up
2200 \size normal
2201 \emph off
2202 \bar no
2203 \noun off
2204 \color none
2205 \begin_inset Formula $1+1=2$
2206 \end_inset
2207
2208
2209 \end_layout
2210
2211 \end_inset
2212 </cell>
2213 </row>
2214 </lyxtabular>
2215
2216 \end_inset
2217
2218
2219 \end_layout
2220
2221 \end_inset
2222
2223
2224 \end_layout
2225
2226 \begin_layout Standard
2227 Table floats can be inserted using the menu 
2228 \family sans
2229 Insert\SpecialChar \menuseparator
2230 Float\SpecialChar \menuseparator
2231 Table
2232 \family default
2233  or the toolbar button 
2234 \begin_inset Graphics
2235         filename ../images/float-insert_table.png
2236         scale 85
2237         scaleBeforeRotation
2238
2239 \end_inset
2240
2241 .
2242 \end_layout
2243
2244 \begin_layout Standard
2245 The float appears as a collapsible box with a caption that has the label
2246  
2247 \begin_inset Quotes eld
2248 \end_inset
2249
2250 Table\InsetSpace ~
2251 #:
2252 \begin_inset Quotes erd
2253 \end_inset
2254
2255  (# is the actual table number).
2256  You can insert tables to the float above or below the caption.
2257 \end_layout
2258
2259 \begin_layout Standard
2260 Table\InsetSpace ~
2261
2262 \begin_inset LatexCommand ref
2263 reference "tab:a table float"
2264
2265 \end_inset
2266
2267  is an example table within a table float.
2268 \end_layout
2269
2270 \begin_layout Standard
2271 Having the caption above the table is the common rule that is unfortunately
2272  not supported in LaTeX's standard classes.
2273  That means if you are using the document classes 
2274 \family sans
2275 article
2276 \family default
2277
2278 \family sans
2279 book
2280 \family default
2281
2282 \family sans
2283 letter
2284 \family default
2285 , or 
2286 \family sans
2287 report
2288 \family default
2289  there will be no space between the caption and the table.
2290  To insert the needed space, add the following option to the load command
2291  of the LaTeX-package 
2292 \series bold
2293 caption
2294 \series default
2295
2296 \begin_inset LatexCommand index
2297 name "LaTeX-packages ! caption"
2298
2299 \end_inset
2300
2301  in your document preamble
2302 \begin_inset Foot
2303 status collapsed
2304
2305 \begin_layout Standard
2306 For more information have a look at section\InsetSpace ~
2307
2308 \begin_inset LatexCommand ref
2309 reference "sec:Caption-Placement"
2310
2311 \end_inset
2312
2313 .
2314 \end_layout
2315
2316 \end_inset
2317
2318 :
2319 \end_layout
2320
2321 \begin_layout Standard
2322
2323 \series bold
2324 tableposition=top
2325 \end_layout
2326
2327 \begin_layout Standard
2328 The package 
2329 \series bold
2330 caption
2331 \series default
2332 , which is described in section\InsetSpace ~
2333
2334 \begin_inset LatexCommand ref
2335 reference "sec:Caption-Formatting"
2336
2337 \end_inset
2338
2339 , is used to adjust the caption format.
2340 \end_layout
2341
2342 \begin_layout Standard
2343 \begin_inset LatexCommand index
2344 name "References ! to Tables"
2345
2346 \end_inset
2347
2348 Tables can be cross-referenced in the text by referencing their label.
2349  To do this insert a label in the caption using the menu 
2350 \family sans
2351 Insert\SpecialChar \menuseparator
2352 Label
2353 \family default
2354  or the toolbar button 
2355 \begin_inset Graphics
2356         filename ../images/label-insert.png
2357         scale 85
2358         scaleBeforeRotation
2359
2360 \end_inset
2361
2362 .
2363  You can now refer to the label using the menu 
2364 \family sans
2365 Insert\SpecialChar \menuseparator
2366 Cross\InsetSpace ~
2367 reference
2368 \family default
2369  or the toolbar button 
2370 \begin_inset Graphics
2371         filename ../images/dialog-show-new-inset_ref.png
2372         scale 85
2373         scaleBeforeRotation
2374
2375 \end_inset
2376
2377 .
2378 \newline
2379 Referencing is explained in detail in section\InsetSpace ~
2380
2381 \begin_inset LatexCommand ref
2382 reference "sec:Referencing-Floats"
2383
2384 \end_inset
2385
2386 .
2387 \end_layout
2388
2389 \begin_layout Section
2390 Longtables
2391 \begin_inset LatexCommand label
2392 name "sec:Longtables"
2393
2394 \end_inset
2395
2396
2397 \begin_inset LatexCommand index
2398 name "Longtables"
2399
2400 \end_inset
2401
2402
2403 \begin_inset LatexCommand index
2404 name "Table ! Longtables"
2405
2406 \end_inset
2407
2408
2409 \end_layout
2410
2411 \begin_layout Standard
2412 If the table is too long to fit on one page, you can use the option 
2413 \family sans
2414 Use\InsetSpace ~
2415 long\InsetSpace ~
2416 table
2417 \family default
2418  in the tab 
2419 \family sans
2420 Longtable
2421 \family default
2422  of the table dialog to split the table automatically over more pages.
2423  Doing this enables some check boxes and you can now define:
2424 \end_layout
2425
2426 \begin_layout Description
2427
2428 \family sans
2429 Header
2430 \family default
2431 : The current row and all rows above, that don't have any special options
2432  defined, are defined to be the header rows of all pages of the longtable;
2433  except for the first page, if 
2434 \family sans
2435 First\InsetSpace ~
2436 header
2437 \family default
2438  is defined.
2439  This therefore called the main header.
2440 \end_layout
2441
2442 \begin_layout Description
2443
2444 \family sans
2445 First\InsetSpace ~
2446 header
2447 \family default
2448 : The current row and all rows above, that don't have any special options
2449  defined, are defined to be the header rows of the first page of the longtable.
2450 \end_layout
2451
2452 \begin_layout Description
2453
2454 \family sans
2455 Footer
2456 \family default
2457 : The current row and all rows below, that don't have any special options
2458  defined, are defined to be the footer rows of all pages of the longtable;
2459  except for the last page, if 
2460 \family sans
2461 Last\InsetSpace ~
2462 footer
2463 \family default
2464  is defined.
2465 \end_layout
2466
2467 \begin_layout Description
2468
2469 \family sans
2470 Last\InsetSpace ~
2471 footer
2472 \family default
2473 : The current row and all rows below, that don't have any special options
2474  defined, are defined to be the footer rows of the last page of the longtable.
2475 \end_layout
2476
2477 \begin_layout Standard
2478 You can also specify a row where the table is splitted.
2479  If you set more than one option in the same table row, you should be aware
2480  of the fact that only the first one is used in the given table row.
2481  The others will then be defined as 
2482 \emph on
2483 empty
2484 \emph default
2485 .
2486  In this context, first means first in this order: 
2487 \family sans
2488 Header,
2489 \family default
2490  
2491 \family sans
2492 First\InsetSpace ~
2493 header, Footer, Last\InsetSpace ~
2494 footer.
2495
2496 \family default
2497  See the following longtable to see how it works:
2498 \end_layout
2499
2500 \begin_layout Standard
2501 \align center
2502 \begin_inset Tabular
2503 <lyxtabular version="3" rows="69" columns="3">
2504 <features islongtable="true">
2505 <column alignment="left" valignment="top" leftline="true" width="0cm">
2506 <column alignment="left" valignment="top" width="0pt">
2507 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2508 <row topline="true" bottomline="true" endfirsthead="true">
2509 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2510 \begin_inset Text
2511
2512 \begin_layout Standard
2513
2514 \series bold
2515 Example Phone List (ignore the names)
2516 \end_layout
2517
2518 \end_inset
2519 </cell>
2520 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2521 \begin_inset Text
2522
2523 \begin_layout Standard
2524
2525 \end_layout
2526
2527 \end_inset
2528 </cell>
2529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2530 \begin_inset Text
2531
2532 \begin_layout Standard
2533
2534 \end_layout
2535
2536 \end_inset
2537 </cell>
2538 </row>
2539 <row topline="true" bottomline="true" endfirsthead="true">
2540 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2541 \begin_inset Text
2542
2543 \begin_layout Standard
2544
2545 \series bold
2546 NAME
2547 \end_layout
2548
2549 \end_inset
2550 </cell>
2551 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2552 \begin_inset Text
2553
2554 \begin_layout Standard
2555
2556 \end_layout
2557
2558 \end_inset
2559 </cell>
2560 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2561 \begin_inset Text
2562
2563 \begin_layout Standard
2564
2565 \series bold
2566 TEL.
2567 \end_layout
2568
2569 \end_inset
2570 </cell>
2571 </row>
2572 <row topline="true" bottomline="true" endhead="true">
2573 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2574 \begin_inset Text
2575
2576 \begin_layout Standard
2577
2578 \series bold
2579 Example Phone List
2580 \end_layout
2581
2582 \end_inset
2583 </cell>
2584 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2585 \begin_inset Text
2586
2587 \begin_layout Standard
2588
2589 \end_layout
2590
2591 \end_inset
2592 </cell>
2593 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2594 \begin_inset Text
2595
2596 \begin_layout Standard
2597
2598 \end_layout
2599
2600 \end_inset
2601 </cell>
2602 </row>
2603 <row topline="true" bottomline="true" endhead="true">
2604 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2605 \begin_inset Text
2606
2607 \begin_layout Standard
2608
2609 \series bold
2610 NAME
2611 \end_layout
2612
2613 \end_inset
2614 </cell>
2615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2616 \begin_inset Text
2617
2618 \begin_layout Standard
2619
2620 \end_layout
2621
2622 \end_inset
2623 </cell>
2624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2625 \begin_inset Text
2626
2627 \begin_layout Standard
2628
2629 \series bold
2630 TEL.
2631 \end_layout
2632
2633 \end_inset
2634 </cell>
2635 </row>
2636 <row topline="true" bottomline="true" endfoot="true">
2637 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2638 \begin_inset Text
2639
2640 \begin_layout Standard
2641  continued on next page
2642 \end_layout
2643
2644 \end_inset
2645 </cell>
2646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2647 \begin_inset Text
2648
2649 \begin_layout Standard
2650
2651 \end_layout
2652
2653 \end_inset
2654 </cell>
2655 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2656 \begin_inset Text
2657
2658 \begin_layout Standard
2659
2660 \end_layout
2661
2662 \end_inset
2663 </cell>
2664 </row>
2665 <row>
2666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2667 \begin_inset Text
2668
2669 \begin_layout Standard
2670
2671 \series bold
2672 Annovi
2673 \end_layout
2674
2675 \end_inset
2676 </cell>
2677 <cell alignment="center" valignment="top" topline="true" usebox="none">
2678 \begin_inset Text
2679
2680 \begin_layout Standard
2681 Silvia
2682 \end_layout
2683
2684 \end_inset
2685 </cell>
2686 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2687 \begin_inset Text
2688
2689 \begin_layout Standard
2690 111
2691 \end_layout
2692
2693 \end_inset
2694 </cell>
2695 </row>
2696 <row>
2697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2698 \begin_inset Text
2699
2700 \begin_layout Standard
2701
2702 \series bold
2703 Bertoli
2704 \end_layout
2705
2706 \end_inset
2707 </cell>
2708 <cell alignment="center" valignment="top" topline="true" usebox="none">
2709 \begin_inset Text
2710
2711 \begin_layout Standard
2712 Stefano
2713 \end_layout
2714
2715 \end_inset
2716 </cell>
2717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2718 \begin_inset Text
2719
2720 \begin_layout Standard
2721 111
2722 \end_layout
2723
2724 \end_inset
2725 </cell>
2726 </row>
2727 <row>
2728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2729 \begin_inset Text
2730
2731 \begin_layout Standard
2732
2733 \series bold
2734 Bozzi
2735 \end_layout
2736
2737 \end_inset
2738 </cell>
2739 <cell alignment="center" valignment="top" topline="true" usebox="none">
2740 \begin_inset Text
2741
2742 \begin_layout Standard
2743 Walter
2744 \end_layout
2745
2746 \end_inset
2747 </cell>
2748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2749 \begin_inset Text
2750
2751 \begin_layout Standard
2752 111
2753 \end_layout
2754
2755 \end_inset
2756 </cell>
2757 </row>
2758 <row>
2759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2760 \begin_inset Text
2761
2762 \begin_layout Standard
2763
2764 \series bold
2765 Cachia
2766 \end_layout
2767
2768 \end_inset
2769 </cell>
2770 <cell alignment="center" valignment="top" topline="true" usebox="none">
2771 \begin_inset Text
2772
2773 \begin_layout Standard
2774 Maria
2775 \end_layout
2776
2777 \end_inset
2778 </cell>
2779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2780 \begin_inset Text
2781
2782 \begin_layout Standard
2783 111
2784 \end_layout
2785
2786 \end_inset
2787 </cell>
2788 </row>
2789 <row>
2790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2791 \begin_inset Text
2792
2793 \begin_layout Standard
2794
2795 \series bold
2796 Cachia
2797 \end_layout
2798
2799 \end_inset
2800 </cell>
2801 <cell alignment="center" valignment="top" topline="true" usebox="none">
2802 \begin_inset Text
2803
2804 \begin_layout Standard
2805 Maurizio
2806 \end_layout
2807
2808 \end_inset
2809 </cell>
2810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2811 \begin_inset Text
2812
2813 \begin_layout Standard
2814 111
2815 \end_layout
2816
2817 \end_inset
2818 </cell>
2819 </row>
2820 <row>
2821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2822 \begin_inset Text
2823
2824 \begin_layout Standard
2825
2826 \series bold
2827 Cinquemani
2828 \end_layout
2829
2830 \end_inset
2831 </cell>
2832 <cell alignment="center" valignment="top" topline="true" usebox="none">
2833 \begin_inset Text
2834
2835 \begin_layout Standard
2836 Giusi
2837 \end_layout
2838
2839 \end_inset
2840 </cell>
2841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2842 \begin_inset Text
2843
2844 \begin_layout Standard
2845 111
2846 \end_layout
2847
2848 \end_inset
2849 </cell>
2850 </row>
2851 <row>
2852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2853 \begin_inset Text
2854
2855 \begin_layout Standard
2856
2857 \series bold
2858 Colin
2859 \end_layout
2860
2861 \end_inset
2862 </cell>
2863 <cell alignment="center" valignment="top" topline="true" usebox="none">
2864 \begin_inset Text
2865
2866 \begin_layout Standard
2867 Bernard
2868 \end_layout
2869
2870 \end_inset
2871 </cell>
2872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2873 \begin_inset Text
2874
2875 \begin_layout Standard
2876 111
2877 \end_layout
2878
2879 \end_inset
2880 </cell>
2881 </row>
2882 <row>
2883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2884 \begin_inset Text
2885
2886 \begin_layout Standard
2887
2888 \series bold
2889 Concli
2890 \end_layout
2891
2892 \end_inset
2893 </cell>
2894 <cell alignment="center" valignment="top" topline="true" usebox="none">
2895 \begin_inset Text
2896
2897 \begin_layout Standard
2898 Gianfranco
2899 \end_layout
2900
2901 \end_inset
2902 </cell>
2903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2904 \begin_inset Text
2905
2906 \begin_layout Standard
2907 111
2908 \end_layout
2909
2910 \end_inset
2911 </cell>
2912 </row>
2913 <row>
2914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2915 \begin_inset Text
2916
2917 \begin_layout Standard
2918
2919 \series bold
2920 Dal Bosco
2921 \end_layout
2922
2923 \end_inset
2924 </cell>
2925 <cell alignment="center" valignment="top" topline="true" usebox="none">
2926 \begin_inset Text
2927
2928 \begin_layout Standard
2929 Carolina
2930 \end_layout
2931
2932 \end_inset
2933 </cell>
2934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2935 \begin_inset Text
2936
2937 \begin_layout Standard
2938 111
2939 \end_layout
2940
2941 \end_inset
2942 </cell>
2943 </row>
2944 <row>
2945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2946 \begin_inset Text
2947
2948 \begin_layout Standard
2949
2950 \series bold
2951 Dalpiaz
2952 \end_layout
2953
2954 \end_inset
2955 </cell>
2956 <cell alignment="center" valignment="top" topline="true" usebox="none">
2957 \begin_inset Text
2958
2959 \begin_layout Standard
2960 Annamaria
2961 \end_layout
2962
2963 \end_inset
2964 </cell>
2965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2966 \begin_inset Text
2967
2968 \begin_layout Standard
2969 111
2970 \end_layout
2971
2972 \end_inset
2973 </cell>
2974 </row>
2975 <row>
2976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2977 \begin_inset Text
2978
2979 \begin_layout Standard
2980
2981 \series bold
2982 Feliciello
2983 \end_layout
2984
2985 \end_inset
2986 </cell>
2987 <cell alignment="center" valignment="top" topline="true" usebox="none">
2988 \begin_inset Text
2989
2990 \begin_layout Standard
2991 Domenico
2992 \end_layout
2993
2994 \end_inset
2995 </cell>
2996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2997 \begin_inset Text
2998
2999 \begin_layout Standard
3000 111
3001 \end_layout
3002
3003 \end_inset
3004 </cell>
3005 </row>
3006 <row>
3007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3008 \begin_inset Text
3009
3010 \begin_layout Standard
3011
3012 \series bold
3013 Focarelli
3014 \end_layout
3015
3016 \end_inset
3017 </cell>
3018 <cell alignment="center" valignment="top" topline="true" usebox="none">
3019 \begin_inset Text
3020
3021 \begin_layout Standard
3022 Paola
3023 \end_layout
3024
3025 \end_inset
3026 </cell>
3027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3028 \begin_inset Text
3029
3030 \begin_layout Standard
3031 111
3032 \end_layout
3033
3034 \end_inset
3035 </cell>
3036 </row>
3037 <row>
3038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3039 \begin_inset Text
3040
3041 \begin_layout Standard
3042
3043 \series bold
3044 Galletti
3045 \end_layout
3046
3047 \end_inset
3048 </cell>
3049 <cell alignment="center" valignment="top" topline="true" usebox="none">
3050 \begin_inset Text
3051
3052 \begin_layout Standard
3053 Oreste
3054 \end_layout
3055
3056 \end_inset
3057 </cell>
3058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3059 \begin_inset Text
3060
3061 \begin_layout Standard
3062 111
3063 \end_layout
3064
3065 \end_inset
3066 </cell>
3067 </row>
3068 <row>
3069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3070 \begin_inset Text
3071
3072 \begin_layout Standard
3073
3074 \series bold
3075 Gasparini
3076 \end_layout
3077
3078 \end_inset
3079 </cell>
3080 <cell alignment="center" valignment="top" topline="true" usebox="none">
3081 \begin_inset Text
3082
3083 \begin_layout Standard
3084 Franca
3085 \end_layout
3086
3087 \end_inset
3088 </cell>
3089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3090 \begin_inset Text
3091
3092 \begin_layout Standard
3093 111
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 </row>
3099 <row>
3100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3101 \begin_inset Text
3102
3103 \begin_layout Standard
3104
3105 \series bold
3106 Rizzardi
3107 \end_layout
3108
3109 \end_inset
3110 </cell>
3111 <cell alignment="center" valignment="top" topline="true" usebox="none">
3112 \begin_inset Text
3113
3114 \begin_layout Standard
3115 Paola
3116 \end_layout
3117
3118 \end_inset
3119 </cell>
3120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3121 \begin_inset Text
3122
3123 \begin_layout Standard
3124 111
3125 \end_layout
3126
3127 \end_inset
3128 </cell>
3129 </row>
3130 <row>
3131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3132 \begin_inset Text
3133
3134 \begin_layout Standard
3135
3136 \series bold
3137 Lassini
3138 \end_layout
3139
3140 \end_inset
3141 </cell>
3142 <cell alignment="center" valignment="top" topline="true" usebox="none">
3143 \begin_inset Text
3144
3145 \begin_layout Standard
3146 Giancarlo
3147 \end_layout
3148
3149 \end_inset
3150 </cell>
3151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3152 \begin_inset Text
3153
3154 \begin_layout Standard
3155 111
3156 \end_layout
3157
3158 \end_inset
3159 </cell>
3160 </row>
3161 <row>
3162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3163 \begin_inset Text
3164
3165 \begin_layout Standard
3166
3167 \series bold
3168 Malfatti
3169 \end_layout
3170
3171 \end_inset
3172 </cell>
3173 <cell alignment="center" valignment="top" topline="true" usebox="none">
3174 \begin_inset Text
3175
3176 \begin_layout Standard
3177 Luciano
3178 \end_layout
3179
3180 \end_inset
3181 </cell>
3182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3183 \begin_inset Text
3184
3185 \begin_layout Standard
3186 111
3187 \end_layout
3188
3189 \end_inset
3190 </cell>
3191 </row>
3192 <row>
3193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3194 \begin_inset Text
3195
3196 \begin_layout Standard
3197
3198 \series bold
3199 Malfatti
3200 \end_layout
3201
3202 \end_inset
3203 </cell>
3204 <cell alignment="center" valignment="top" topline="true" usebox="none">
3205 \begin_inset Text
3206
3207 \begin_layout Standard
3208 Valeriano
3209 \end_layout
3210
3211 \end_inset
3212 </cell>
3213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3214 \begin_inset Text
3215
3216 \begin_layout Standard
3217 111
3218 \end_layout
3219
3220 \end_inset
3221 </cell>
3222 </row>
3223 <row>
3224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3225 \begin_inset Text
3226
3227 \begin_layout Standard
3228
3229 \series bold
3230 Meneguzzo
3231 \end_layout
3232
3233 \end_inset
3234 </cell>
3235 <cell alignment="center" valignment="top" topline="true" usebox="none">
3236 \begin_inset Text
3237
3238 \begin_layout Standard
3239 Roberto
3240 \end_layout
3241
3242 \end_inset
3243 </cell>
3244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3245 \begin_inset Text
3246
3247 \begin_layout Standard
3248 111
3249 \end_layout
3250
3251 \end_inset
3252 </cell>
3253 </row>
3254 <row>
3255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3256 \begin_inset Text
3257
3258 \begin_layout Standard
3259
3260 \series bold
3261 Mezzadra
3262 \end_layout
3263
3264 \end_inset
3265 </cell>
3266 <cell alignment="center" valignment="top" topline="true" usebox="none">
3267 \begin_inset Text
3268
3269 \begin_layout Standard
3270 Roberto
3271 \end_layout
3272
3273 \end_inset
3274 </cell>
3275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3276 \begin_inset Text
3277
3278 \begin_layout Standard
3279 111
3280 \end_layout
3281
3282 \end_inset
3283 </cell>
3284 </row>
3285 <row>
3286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3287 \begin_inset Text
3288
3289 \begin_layout Standard
3290
3291 \series bold
3292 Pirpamer
3293 \end_layout
3294
3295 \end_inset
3296 </cell>
3297 <cell alignment="center" valignment="top" topline="true" usebox="none">
3298 \begin_inset Text
3299
3300 \begin_layout Standard
3301 Erich
3302 \end_layout
3303
3304 \end_inset
3305 </cell>
3306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3307 \begin_inset Text
3308
3309 \begin_layout Standard
3310 111
3311 \end_layout
3312
3313 \end_inset
3314 </cell>
3315 </row>
3316 <row>
3317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Standard
3321
3322 \series bold
3323 Pochiesa
3324 \end_layout
3325
3326 \end_inset
3327 </cell>
3328 <cell alignment="center" valignment="top" topline="true" usebox="none">
3329 \begin_inset Text
3330
3331 \begin_layout Standard
3332 Paolo
3333 \end_layout
3334
3335 \end_inset
3336 </cell>
3337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3338 \begin_inset Text
3339
3340 \begin_layout Standard
3341 111, 222
3342 \end_layout
3343
3344 \end_inset
3345 </cell>
3346 </row>
3347 <row>
3348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3349 \begin_inset Text
3350
3351 \begin_layout Standard
3352
3353 \series bold
3354 Radina
3355 \end_layout
3356
3357 \end_inset
3358 </cell>
3359 <cell alignment="center" valignment="top" topline="true" usebox="none">
3360 \begin_inset Text
3361
3362 \begin_layout Standard
3363 Claudio
3364 \end_layout
3365
3366 \end_inset
3367 </cell>
3368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3369 \begin_inset Text
3370
3371 \begin_layout Standard
3372 111
3373 \end_layout
3374
3375 \end_inset
3376 </cell>
3377 </row>
3378 <row>
3379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3380 \begin_inset Text
3381
3382 \begin_layout Standard
3383
3384 \series bold
3385 Stuffer
3386 \end_layout
3387
3388 \end_inset
3389 </cell>
3390 <cell alignment="center" valignment="top" topline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \begin_layout Standard
3394 Oskar
3395 \end_layout
3396
3397 \end_inset
3398 </cell>
3399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3400 \begin_inset Text
3401
3402 \begin_layout Standard
3403 111
3404 \end_layout
3405
3406 \end_inset
3407 </cell>
3408 </row>
3409 <row>
3410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3411 \begin_inset Text
3412
3413 \begin_layout Standard
3414
3415 \series bold
3416 Tacchelli
3417 \end_layout
3418
3419 \end_inset
3420 </cell>
3421 <cell alignment="center" valignment="top" topline="true" usebox="none">
3422 \begin_inset Text
3423
3424 \begin_layout Standard
3425 Ugo
3426 \end_layout
3427
3428 \end_inset
3429 </cell>
3430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3431 \begin_inset Text
3432
3433 \begin_layout Standard
3434 111
3435 \end_layout
3436
3437 \end_inset
3438 </cell>
3439 </row>
3440 <row>
3441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3442 \begin_inset Text
3443
3444 \begin_layout Standard
3445
3446 \series bold
3447 Tezzele
3448 \end_layout
3449
3450 \end_inset
3451 </cell>
3452 <cell alignment="center" valignment="top" topline="true" usebox="none">
3453 \begin_inset Text
3454
3455 \begin_layout Standard
3456 Margit
3457 \end_layout
3458
3459 \end_inset
3460 </cell>
3461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3462 \begin_inset Text
3463
3464 \begin_layout Standard
3465 111
3466 \end_layout
3467
3468 \end_inset
3469 </cell>
3470 </row>
3471 <row>
3472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3473 \begin_inset Text
3474
3475 \begin_layout Standard
3476
3477 \series bold
3478 Unterkalmsteiner
3479 \end_layout
3480
3481 \end_inset
3482 </cell>
3483 <cell alignment="center" valignment="top" topline="true" usebox="none">
3484 \begin_inset Text
3485
3486 \begin_layout Standard
3487 Frieda
3488 \end_layout
3489
3490 \end_inset
3491 </cell>
3492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3493 \begin_inset Text
3494
3495 \begin_layout Standard
3496 111
3497 \end_layout
3498
3499 \end_inset
3500 </cell>
3501 </row>
3502 <row>
3503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Standard
3507
3508 \series bold
3509 Vieider
3510 \end_layout
3511
3512 \end_inset
3513 </cell>
3514 <cell alignment="center" valignment="top" topline="true" usebox="none">
3515 \begin_inset Text
3516
3517 \begin_layout Standard
3518 Hilde
3519 \end_layout
3520
3521 \end_inset
3522 </cell>
3523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3524 \begin_inset Text
3525
3526 \begin_layout Standard
3527 111
3528 \end_layout
3529
3530 \end_inset
3531 </cell>
3532 </row>
3533 <row>
3534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3535 \begin_inset Text
3536
3537 \begin_layout Standard
3538
3539 \series bold
3540 Vigna
3541 \end_layout
3542
3543 \end_inset
3544 </cell>
3545 <cell alignment="center" valignment="top" topline="true" usebox="none">
3546 \begin_inset Text
3547
3548 \begin_layout Standard
3549 Jürgen
3550 \end_layout
3551
3552 \end_inset
3553 </cell>
3554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3555 \begin_inset Text
3556
3557 \begin_layout Standard
3558 111
3559 \end_layout
3560
3561 \end_inset
3562 </cell>
3563 </row>
3564 <row>
3565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3566 \begin_inset Text
3567
3568 \begin_layout Standard
3569
3570 \series bold
3571 Weber
3572 \end_layout
3573
3574 \end_inset
3575 </cell>
3576 <cell alignment="center" valignment="top" topline="true" usebox="none">
3577 \begin_inset Text
3578
3579 \begin_layout Standard
3580 Maurizio
3581 \end_layout
3582
3583 \end_inset
3584 </cell>
3585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3586 \begin_inset Text
3587
3588 \begin_layout Standard
3589 111
3590 \end_layout
3591
3592 \end_inset
3593 </cell>
3594 </row>
3595 <row bottomline="true">
3596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Standard
3600
3601 \series bold
3602 Winkler
3603 \end_layout
3604
3605 \end_inset
3606 </cell>
3607 <cell alignment="center" valignment="top" topline="true" usebox="none">
3608 \begin_inset Text
3609
3610 \begin_layout Standard
3611 Franz
3612 \end_layout
3613
3614 \end_inset
3615 </cell>
3616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3617 \begin_inset Text
3618
3619 \begin_layout Standard
3620 111
3621 \end_layout
3622
3623 \end_inset
3624 </cell>
3625 </row>
3626 <row bottomline="true">
3627 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Standard
3631  
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3637 \begin_inset Text
3638
3639 \begin_layout Standard
3640
3641 \end_layout
3642
3643 \end_inset
3644 </cell>
3645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3646 \begin_inset Text
3647
3648 \begin_layout Standard
3649
3650 \end_layout
3651
3652 \end_inset
3653 </cell>
3654 </row>
3655 <row>
3656 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3657 \begin_inset Text
3658
3659 \begin_layout Standard
3660
3661 \series bold
3662 Annovi
3663 \end_layout
3664
3665 \end_inset
3666 </cell>
3667 <cell alignment="center" valignment="top" topline="true" usebox="none">
3668 \begin_inset Text
3669
3670 \begin_layout Standard
3671 Silvia
3672 \end_layout
3673
3674 \end_inset
3675 </cell>
3676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3677 \begin_inset Text
3678
3679 \begin_layout Standard
3680 555
3681 \end_layout
3682
3683 \end_inset
3684 </cell>
3685 </row>
3686 <row>
3687 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3688 \begin_inset Text
3689
3690 \begin_layout Standard
3691
3692 \series bold
3693 Bertoli
3694 \end_layout
3695
3696 \end_inset
3697 </cell>
3698 <cell alignment="center" valignment="top" topline="true" usebox="none">
3699 \begin_inset Text
3700
3701 \begin_layout Standard
3702 Stefano
3703 \end_layout
3704
3705 \end_inset
3706 </cell>
3707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3708 \begin_inset Text
3709
3710 \begin_layout Standard
3711 555
3712 \end_layout
3713
3714 \end_inset
3715 </cell>
3716 </row>
3717 <row>
3718 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3719 \begin_inset Text
3720
3721 \begin_layout Standard
3722
3723 \series bold
3724 Bozzi
3725 \end_layout
3726
3727 \end_inset
3728 </cell>
3729 <cell alignment="center" valignment="top" topline="true" usebox="none">
3730 \begin_inset Text
3731
3732 \begin_layout Standard
3733 Walter
3734 \end_layout
3735
3736 \end_inset
3737 </cell>
3738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3739 \begin_inset Text
3740
3741 \begin_layout Standard
3742 555
3743 \end_layout
3744
3745 \end_inset
3746 </cell>
3747 </row>
3748 <row>
3749 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3750 \begin_inset Text
3751
3752 \begin_layout Standard
3753
3754 \series bold
3755 Cachia
3756 \end_layout
3757
3758 \end_inset
3759 </cell>
3760 <cell alignment="center" valignment="top" topline="true" usebox="none">
3761 \begin_inset Text
3762
3763 \begin_layout Standard
3764 Maria
3765 \end_layout
3766
3767 \end_inset
3768 </cell>
3769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3770 \begin_inset Text
3771
3772 \begin_layout Standard
3773 555
3774 \end_layout
3775
3776 \end_inset
3777 </cell>
3778 </row>
3779 <row>
3780 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3781 \begin_inset Text
3782
3783 \begin_layout Standard
3784
3785 \series bold
3786 Cachia
3787 \end_layout
3788
3789 \end_inset
3790 </cell>
3791 <cell alignment="center" valignment="top" topline="true" usebox="none">
3792 \begin_inset Text
3793
3794 \begin_layout Standard
3795 Maurizio
3796 \end_layout
3797
3798 \end_inset
3799 </cell>
3800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3801 \begin_inset Text
3802
3803 \begin_layout Standard
3804 555
3805 \end_layout
3806
3807 \end_inset
3808 </cell>
3809 </row>
3810 <row>
3811 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3812 \begin_inset Text
3813
3814 \begin_layout Standard
3815
3816 \series bold
3817 Cinquemani
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 <cell alignment="center" valignment="top" topline="true" usebox="none">
3823 \begin_inset Text
3824
3825 \begin_layout Standard
3826 Giusi
3827 \end_layout
3828
3829 \end_inset
3830 </cell>
3831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3832 \begin_inset Text
3833
3834 \begin_layout Standard
3835 555
3836 \end_layout
3837
3838 \end_inset
3839 </cell>
3840 </row>
3841 <row>
3842 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3843 \begin_inset Text
3844
3845 \begin_layout Standard
3846
3847 \series bold
3848 Colin
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 <cell alignment="center" valignment="top" topline="true" usebox="none">
3854 \begin_inset Text
3855
3856 \begin_layout Standard
3857 Bernard
3858 \end_layout
3859
3860 \end_inset
3861 </cell>
3862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3863 \begin_inset Text
3864
3865 \begin_layout Standard
3866 555
3867 \end_layout
3868
3869 \end_inset
3870 </cell>
3871 </row>
3872 <row>
3873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3874 \begin_inset Text
3875
3876 \begin_layout Standard
3877
3878 \series bold
3879 Concli
3880 \end_layout
3881
3882 \end_inset
3883 </cell>
3884 <cell alignment="center" valignment="top" topline="true" usebox="none">
3885 \begin_inset Text
3886
3887 \begin_layout Standard
3888 Gianfranco
3889 \end_layout
3890
3891 \end_inset
3892 </cell>
3893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3894 \begin_inset Text
3895
3896 \begin_layout Standard
3897 555
3898 \end_layout
3899
3900 \end_inset
3901 </cell>
3902 </row>
3903 <row>
3904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3905 \begin_inset Text
3906
3907 \begin_layout Standard
3908
3909 \series bold
3910 Dal Bosco
3911 \end_layout
3912
3913 \end_inset
3914 </cell>
3915 <cell alignment="center" valignment="top" topline="true" usebox="none">
3916 \begin_inset Text
3917
3918 \begin_layout Standard
3919 Carolina
3920 \end_layout
3921
3922 \end_inset
3923 </cell>
3924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3925 \begin_inset Text
3926
3927 \begin_layout Standard
3928 555
3929 \end_layout
3930
3931 \end_inset
3932 </cell>
3933 </row>
3934 <row>
3935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3936 \begin_inset Text
3937
3938 \begin_layout Standard
3939
3940 \series bold
3941 Dalpiaz
3942 \end_layout
3943
3944 \end_inset
3945 </cell>
3946 <cell alignment="center" valignment="top" topline="true" usebox="none">
3947 \begin_inset Text
3948
3949 \begin_layout Standard
3950 Annamaria
3951 \end_layout
3952
3953 \end_inset
3954 </cell>
3955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3956 \begin_inset Text
3957
3958 \begin_layout Standard
3959 555
3960 \end_layout
3961
3962 \end_inset
3963 </cell>
3964 </row>
3965 <row>
3966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3967 \begin_inset Text
3968
3969 \begin_layout Standard
3970
3971 \series bold
3972 Feliciello
3973 \end_layout
3974
3975 \end_inset
3976 </cell>
3977 <cell alignment="center" valignment="top" topline="true" usebox="none">
3978 \begin_inset Text
3979
3980 \begin_layout Standard
3981 Domenico
3982 \end_layout
3983
3984 \end_inset
3985 </cell>
3986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3987 \begin_inset Text
3988
3989 \begin_layout Standard
3990 555
3991 \end_layout
3992
3993 \end_inset
3994 </cell>
3995 </row>
3996 <row>
3997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3998 \begin_inset Text
3999
4000 \begin_layout Standard
4001
4002 \series bold
4003 Focarelli
4004 \end_layout
4005
4006 \end_inset
4007 </cell>
4008 <cell alignment="center" valignment="top" topline="true" usebox="none">
4009 \begin_inset Text
4010
4011 \begin_layout Standard
4012 Paola
4013 \end_layout
4014
4015 \end_inset
4016 </cell>
4017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4018 \begin_inset Text
4019
4020 \begin_layout Standard
4021 555
4022 \end_layout
4023
4024 \end_inset
4025 </cell>
4026 </row>
4027 <row>
4028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4029 \begin_inset Text
4030
4031 \begin_layout Standard
4032
4033 \series bold
4034 Galletti
4035 \end_layout
4036
4037 \end_inset
4038 </cell>
4039 <cell alignment="center" valignment="top" topline="true" usebox="none">
4040 \begin_inset Text
4041
4042 \begin_layout Standard
4043 Oreste
4044 \end_layout
4045
4046 \end_inset
4047 </cell>
4048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4049 \begin_inset Text
4050
4051 \begin_layout Standard
4052 555
4053 \end_layout
4054
4055 \end_inset
4056 </cell>
4057 </row>
4058 <row>
4059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4060 \begin_inset Text
4061
4062 \begin_layout Standard
4063
4064 \series bold
4065 Gasparini
4066 \end_layout
4067
4068 \end_inset
4069 </cell>
4070 <cell alignment="center" valignment="top" topline="true" usebox="none">
4071 \begin_inset Text
4072
4073 \begin_layout Standard
4074 Franca
4075 \end_layout
4076
4077 \end_inset
4078 </cell>
4079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4080 \begin_inset Text
4081
4082 \begin_layout Standard
4083 555
4084 \end_layout
4085
4086 \end_inset
4087 </cell>
4088 </row>
4089 <row>
4090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4091 \begin_inset Text
4092
4093 \begin_layout Standard
4094
4095 \series bold
4096 Rizzardi
4097 \end_layout
4098
4099 \end_inset
4100 </cell>
4101 <cell alignment="center" valignment="top" topline="true" usebox="none">
4102 \begin_inset Text
4103
4104 \begin_layout Standard
4105 Paola
4106 \end_layout
4107
4108 \end_inset
4109 </cell>
4110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4111 \begin_inset Text
4112
4113 \begin_layout Standard
4114 555
4115 \end_layout
4116
4117 \end_inset
4118 </cell>
4119 </row>
4120 <row>
4121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4122 \begin_inset Text
4123
4124 \begin_layout Standard
4125
4126 \series bold
4127 Lassini
4128 \end_layout
4129
4130 \end_inset
4131 </cell>
4132 <cell alignment="center" valignment="top" topline="true" usebox="none">
4133 \begin_inset Text
4134
4135 \begin_layout Standard
4136 Giancarlo
4137 \end_layout
4138
4139 \end_inset
4140 </cell>
4141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4142 \begin_inset Text
4143
4144 \begin_layout Standard
4145 555
4146 \end_layout
4147
4148 \end_inset
4149 </cell>
4150 </row>
4151 <row>
4152 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4153 \begin_inset Text
4154
4155 \begin_layout Standard
4156
4157 \series bold
4158 Malfatti
4159 \end_layout
4160
4161 \end_inset
4162 </cell>
4163 <cell alignment="center" valignment="top" topline="true" usebox="none">
4164 \begin_inset Text
4165
4166 \begin_layout Standard
4167 Luciano
4168 \end_layout
4169
4170 \end_inset
4171 </cell>
4172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4173 \begin_inset Text
4174
4175 \begin_layout Standard
4176 555
4177 \end_layout
4178
4179 \end_inset
4180 </cell>
4181 </row>
4182 <row>
4183 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4184 \begin_inset Text
4185
4186 \begin_layout Standard
4187
4188 \series bold
4189 Malfatti
4190 \end_layout
4191
4192 \end_inset
4193 </cell>
4194 <cell alignment="center" valignment="top" topline="true" usebox="none">
4195 \begin_inset Text
4196
4197 \begin_layout Standard
4198 Valeriano
4199 \end_layout
4200
4201 \end_inset
4202 </cell>
4203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4204 \begin_inset Text
4205
4206 \begin_layout Standard
4207 555
4208 \end_layout
4209
4210 \end_inset
4211 </cell>
4212 </row>
4213 <row>
4214 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4215 \begin_inset Text
4216
4217 \begin_layout Standard
4218
4219 \series bold
4220 Meneguzzo
4221 \end_layout
4222
4223 \end_inset
4224 </cell>
4225 <cell alignment="center" valignment="top" topline="true" usebox="none">
4226 \begin_inset Text
4227
4228 \begin_layout Standard
4229 Roberto
4230 \end_layout
4231
4232 \end_inset
4233 </cell>
4234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4235 \begin_inset Text
4236
4237 \begin_layout Standard
4238 555
4239 \end_layout
4240
4241 \end_inset
4242 </cell>
4243 </row>
4244 <row>
4245 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4246 \begin_inset Text
4247
4248 \begin_layout Standard
4249
4250 \series bold
4251 Mezzadra
4252 \end_layout
4253
4254 \end_inset
4255 </cell>
4256 <cell alignment="center" valignment="top" topline="true" usebox="none">
4257 \begin_inset Text
4258
4259 \begin_layout Standard
4260 Roberto
4261 \end_layout
4262
4263 \end_inset
4264 </cell>
4265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4266 \begin_inset Text
4267
4268 \begin_layout Standard
4269 555
4270 \end_layout
4271
4272 \end_inset
4273 </cell>
4274 </row>
4275 <row>
4276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4277 \begin_inset Text
4278
4279 \begin_layout Standard
4280
4281 \series bold
4282 Pirpamer
4283 \end_layout
4284
4285 \end_inset
4286 </cell>
4287 <cell alignment="center" valignment="top" topline="true" usebox="none">
4288 \begin_inset Text
4289
4290 \begin_layout Standard
4291 Erich
4292 \end_layout
4293
4294 \end_inset
4295 </cell>
4296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4297 \begin_inset Text
4298
4299 \begin_layout Standard
4300 555
4301 \end_layout
4302
4303 \end_inset
4304 </cell>
4305 </row>
4306 <row>
4307 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4308 \begin_inset Text
4309
4310 \begin_layout Standard
4311
4312 \series bold
4313 Pochiesa
4314 \end_layout
4315
4316 \end_inset
4317 </cell>
4318 <cell alignment="center" valignment="top" topline="true" usebox="none">
4319 \begin_inset Text
4320
4321 \begin_layout Standard
4322 Paolo
4323 \end_layout
4324
4325 \end_inset
4326 </cell>
4327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4328 \begin_inset Text
4329
4330 \begin_layout Standard
4331 555, 222
4332 \end_layout
4333
4334 \end_inset
4335 </cell>
4336 </row>
4337 <row>
4338 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4339 \begin_inset Text
4340
4341 \begin_layout Standard
4342
4343 \series bold
4344 Radina
4345 \end_layout
4346
4347 \end_inset
4348 </cell>
4349 <cell alignment="center" valignment="top" topline="true" usebox="none">
4350 \begin_inset Text
4351
4352 \begin_layout Standard
4353 Claudio
4354 \end_layout
4355
4356 \end_inset
4357 </cell>
4358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4359 \begin_inset Text
4360
4361 \begin_layout Standard
4362 555
4363 \end_layout
4364
4365 \end_inset
4366 </cell>
4367 </row>
4368 <row>
4369 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4370 \begin_inset Text
4371
4372 \begin_layout Standard
4373
4374 \series bold
4375 Stuffer
4376 \end_layout
4377
4378 \end_inset
4379 </cell>
4380 <cell alignment="center" valignment="top" topline="true" usebox="none">
4381 \begin_inset Text
4382
4383 \begin_layout Standard
4384 Oskar
4385 \end_layout
4386
4387 \end_inset
4388 </cell>
4389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4390 \begin_inset Text
4391
4392 \begin_layout Standard
4393 555
4394 \end_layout
4395
4396 \end_inset
4397 </cell>
4398 </row>
4399 <row>
4400 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4401 \begin_inset Text
4402
4403 \begin_layout Standard
4404
4405 \series bold
4406 Tacchelli
4407 \end_layout
4408
4409 \end_inset
4410 </cell>
4411 <cell alignment="center" valignment="top" topline="true" usebox="none">
4412 \begin_inset Text
4413
4414 \begin_layout Standard
4415 Ugo
4416 \end_layout
4417
4418 \end_inset
4419 </cell>
4420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4421 \begin_inset Text
4422
4423 \begin_layout Standard
4424 555
4425 \end_layout
4426
4427 \end_inset
4428 </cell>
4429 </row>
4430 <row>
4431 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4432 \begin_inset Text
4433
4434 \begin_layout Standard
4435
4436 \series bold
4437 Tezzele
4438 \end_layout
4439
4440 \end_inset
4441 </cell>
4442 <cell alignment="center" valignment="top" topline="true" usebox="none">
4443 \begin_inset Text
4444
4445 \begin_layout Standard
4446 Margit
4447 \end_layout
4448
4449 \end_inset
4450 </cell>
4451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4452 \begin_inset Text
4453
4454 \begin_layout Standard
4455 555
4456 \end_layout
4457
4458 \end_inset
4459 </cell>
4460 </row>
4461 <row>
4462 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4463 \begin_inset Text
4464
4465 \begin_layout Standard
4466
4467 \series bold
4468 Unterkalmsteiner
4469 \end_layout
4470
4471 \end_inset
4472 </cell>
4473 <cell alignment="center" valignment="top" topline="true" usebox="none">
4474 \begin_inset Text
4475
4476 \begin_layout Standard
4477 Frieda
4478 \end_layout
4479
4480 \end_inset
4481 </cell>
4482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4483 \begin_inset Text
4484
4485 \begin_layout Standard
4486 555
4487 \end_layout
4488
4489 \end_inset
4490 </cell>
4491 </row>
4492 <row>
4493 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4494 \begin_inset Text
4495
4496 \begin_layout Standard
4497
4498 \series bold
4499 Vieider
4500 \end_layout
4501
4502 \end_inset
4503 </cell>
4504 <cell alignment="center" valignment="top" topline="true" usebox="none">
4505 \begin_inset Text
4506
4507 \begin_layout Standard
4508 Hilde
4509 \end_layout
4510
4511 \end_inset
4512 </cell>
4513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4514 \begin_inset Text
4515
4516 \begin_layout Standard
4517 555
4518 \end_layout
4519
4520 \end_inset
4521 </cell>
4522 </row>
4523 <row>
4524 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4525 \begin_inset Text
4526
4527 \begin_layout Standard
4528
4529 \series bold
4530 Vigna
4531 \end_layout
4532
4533 \end_inset
4534 </cell>
4535 <cell alignment="center" valignment="top" topline="true" usebox="none">
4536 \begin_inset Text
4537
4538 \begin_layout Standard
4539 Jürgen
4540 \end_layout
4541
4542 \end_inset
4543 </cell>
4544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4545 \begin_inset Text
4546
4547 \begin_layout Standard
4548 999
4549 \end_layout
4550
4551 \end_inset
4552 </cell>
4553 </row>
4554 <row>
4555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4556 \begin_inset Text
4557
4558 \begin_layout Standard
4559
4560 \series bold
4561 Weber
4562 \end_layout
4563
4564 \end_inset
4565 </cell>
4566 <cell alignment="center" valignment="top" topline="true" usebox="none">
4567 \begin_inset Text
4568
4569 \begin_layout Standard
4570 Maurizio
4571 \end_layout
4572
4573 \end_inset
4574 </cell>
4575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4576 \begin_inset Text
4577
4578 \begin_layout Standard
4579 555
4580 \end_layout
4581
4582 \end_inset
4583 </cell>
4584 </row>
4585 <row bottomline="true">
4586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4587 \begin_inset Text
4588
4589 \begin_layout Standard
4590
4591 \series bold
4592 Winkler
4593 \end_layout
4594
4595 \end_inset
4596 </cell>
4597 <cell alignment="center" valignment="top" topline="true" usebox="none">
4598 \begin_inset Text
4599
4600 \begin_layout Standard
4601 Franz
4602 \end_layout
4603
4604 \end_inset
4605 </cell>
4606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4607 \begin_inset Text
4608
4609 \begin_layout Standard
4610 555
4611 \end_layout
4612
4613 \end_inset
4614 </cell>
4615 </row>
4616 <row bottomline="true" endlastfoot="true">
4617 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4618 \begin_inset Text
4619
4620 \begin_layout Standard
4621 end
4622 \end_layout
4623
4624 \end_inset
4625 </cell>
4626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4627 \begin_inset Text
4628
4629 \begin_layout Standard
4630
4631 \end_layout
4632
4633 \end_inset
4634 </cell>
4635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4636 \begin_inset Text
4637
4638 \begin_layout Standard
4639
4640 \end_layout
4641
4642 \end_inset
4643 </cell>
4644 </row>
4645 </lyxtabular>
4646
4647 \end_inset
4648
4649
4650 \begin_inset ERT
4651 status collapsed
4652
4653 \begin_layout Standard
4654
4655
4656 \backslash
4657 addtocounter{table}{-1}
4658 \end_layout
4659
4660 \end_inset
4661
4662
4663 \begin_inset Note Note
4664 status collapsed
4665
4666 \begin_layout Standard
4667 See greyed-out note in section\InsetSpace ~
4668
4669 \begin_inset LatexCommand ref
4670 reference "sub:Longtable-Captions"
4671
4672 \end_inset
4673
4674  for an explanation of this command.
4675 \end_layout
4676
4677 \end_inset
4678
4679
4680 \end_layout
4681
4682 \begin_layout Subsection
4683 Footnotes in Longtables
4684 \begin_inset LatexCommand label
4685 name "sub:Footnotes-in-Longtables"
4686
4687 \end_inset
4688
4689
4690 \begin_inset LatexCommand index
4691 name "Longtables ! Footnotes"
4692
4693 \end_inset
4694
4695
4696 \end_layout
4697
4698 \begin_layout Standard
4699 Footnotes can be inserted to every longtable cell.
4700  They appear at the bottom of the page where the table cell with the footnote
4701  appears.
4702  Table\InsetSpace ~
4703
4704 \begin_inset LatexCommand ref
4705 reference "tab:DiffCaptions"
4706
4707 \end_inset
4708
4709  has for example a footnote.
4710 \end_layout
4711
4712 \begin_layout Subsection
4713 Longtable Alignment
4714 \begin_inset LatexCommand index
4715 name "Longtables ! Alignment"
4716
4717 \end_inset
4718
4719
4720 \end_layout
4721
4722 \begin_layout Standard
4723 Longtables are by default centered.
4724  In contrary to the alignment of the table columns and row, the table alignment
4725  can currently not be changed in the table dialog.
4726  To change the alignment of longtables you have to change the value of the
4727  lengths 
4728 \series bold
4729
4730 \backslash
4731 LTleft 
4732 \series default
4733 and 
4734 \series bold
4735
4736 \backslash
4737 LTright
4738 \series default
4739  by inserting this line as TeX-Code before the corresponding longtable:
4740 \end_layout
4741
4742 \begin_layout Standard
4743
4744 \series bold
4745
4746 \backslash
4747 setlength{
4748 \backslash
4749 LTleft}{value}
4750 \end_layout
4751
4752 \begin_layout Standard
4753 Where the value can have any of the units listed in Table\InsetSpace ~
4754
4755 \begin_inset LatexCommand ref
4756 reference "tab:Units"
4757
4758 \end_inset
4759
4760 .
4761  
4762 \series bold
4763
4764 \backslash
4765 LTleft
4766 \series default
4767  controls the horizontal distance from the left page border to the longtable,
4768  
4769 \series bold
4770
4771 \backslash
4772 LTright
4773 \series default
4774  the distance from the right side.
4775  The default value for both lengths is 
4776 \series bold
4777
4778 \backslash
4779 fill
4780 \series default
4781 , which is in this case the same as an horizontal fill in LyX.
4782 \end_layout
4783
4784 \begin_layout Standard
4785 The following longtable was left-aligned by setting 
4786 \series bold
4787
4788 \backslash
4789 LTleft
4790 \series default
4791  to 0\InsetSpace \thinspace{}
4792 pt.
4793 \begin_inset ERT
4794 status collapsed
4795
4796 \begin_layout Standard
4797
4798
4799 \backslash
4800 setlength{
4801 \backslash
4802 LTleft}{0pt}
4803 \end_layout
4804
4805 \end_inset
4806
4807
4808 \end_layout
4809
4810 \begin_layout Standard
4811 \begin_inset Tabular
4812 <lyxtabular version="3" rows="5" columns="5">
4813 <features islongtable="true">
4814 <column alignment="center" valignment="top" leftline="true" width="0">
4815 <column alignment="center" valignment="top" leftline="true" width="0">
4816 <column alignment="center" valignment="top" leftline="true" width="0">
4817 <column alignment="center" valignment="top" leftline="true" width="0">
4818 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4819 <row topline="true">
4820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4821 \begin_inset Text
4822
4823 \begin_layout Standard
4824 1
4825 \end_layout
4826
4827 \end_inset
4828 </cell>
4829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4830 \begin_inset Text
4831
4832 \begin_layout Standard
4833 2
4834 \end_layout
4835
4836 \end_inset
4837 </cell>
4838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4839 \begin_inset Text
4840
4841 \begin_layout Standard
4842 3
4843 \end_layout
4844
4845 \end_inset
4846 </cell>
4847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4848 \begin_inset Text
4849
4850 \begin_layout Standard
4851 4
4852 \end_layout
4853
4854 \end_inset
4855 </cell>
4856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4857 \begin_inset Text
4858
4859 \begin_layout Standard
4860 5
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 </row>
4866 <row topline="true">
4867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4868 \begin_inset Text
4869
4870 \begin_layout Standard
4871 asd
4872 \end_layout
4873
4874 \end_inset
4875 </cell>
4876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4877 \begin_inset Text
4878
4879 \begin_layout Standard
4880 s
4881 \end_layout
4882
4883 \end_inset
4884 </cell>
4885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4886 \begin_inset Text
4887
4888 \begin_layout Standard
4889 s
4890 \end_layout
4891
4892 \end_inset
4893 </cell>
4894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4895 \begin_inset Text
4896
4897 \begin_layout Standard
4898 s
4899 \end_layout
4900
4901 \end_inset
4902 </cell>
4903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4904 \begin_inset Text
4905
4906 \begin_layout Standard
4907 asd
4908 \end_layout
4909
4910 \end_inset
4911 </cell>
4912 </row>
4913 <row topline="true">
4914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4915 \begin_inset Text
4916
4917 \begin_layout Standard
4918 asd
4919 \end_layout
4920
4921 \end_inset
4922 </cell>
4923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4924 \begin_inset Text
4925
4926 \begin_layout Standard
4927 s
4928 \end_layout
4929
4930 \end_inset
4931 </cell>
4932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4933 \begin_inset Text
4934
4935 \begin_layout Standard
4936 s
4937 \end_layout
4938
4939 \end_inset
4940 </cell>
4941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4942 \begin_inset Text
4943
4944 \begin_layout Standard
4945 s
4946 \end_layout
4947
4948 \end_inset
4949 </cell>
4950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4951 \begin_inset Text
4952
4953 \begin_layout Standard
4954 asd
4955 \end_layout
4956
4957 \end_inset
4958 </cell>
4959 </row>
4960 <row topline="true">
4961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4962 \begin_inset Text
4963
4964 \begin_layout Standard
4965 asd
4966 \end_layout
4967
4968 \end_inset
4969 </cell>
4970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4971 \begin_inset Text
4972
4973 \begin_layout Standard
4974 s
4975 \end_layout
4976
4977 \end_inset
4978 </cell>
4979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4980 \begin_inset Text
4981
4982 \begin_layout Standard
4983 s
4984 \end_layout
4985
4986 \end_inset
4987 </cell>
4988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4989 \begin_inset Text
4990
4991 \begin_layout Standard
4992 s
4993 \end_layout
4994
4995 \end_inset
4996 </cell>
4997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4998 \begin_inset Text
4999
5000 \begin_layout Standard
5001 asd
5002 \end_layout
5003
5004 \end_inset
5005 </cell>
5006 </row>
5007 <row topline="true" bottomline="true">
5008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5009 \begin_inset Text
5010
5011 \begin_layout Standard
5012 asd
5013 \end_layout
5014
5015 \end_inset
5016 </cell>
5017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5018 \begin_inset Text
5019
5020 \begin_layout Standard
5021 asd
5022 \end_layout
5023
5024 \end_inset
5025 </cell>
5026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5027 \begin_inset Text
5028
5029 \begin_layout Standard
5030 asd
5031 \end_layout
5032
5033 \end_inset
5034 </cell>
5035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5036 \begin_inset Text
5037
5038 \begin_layout Standard
5039 asd
5040 \end_layout
5041
5042 \end_inset
5043 </cell>
5044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5045 \begin_inset Text
5046
5047 \begin_layout Standard
5048 asd
5049 \end_layout
5050
5051 \end_inset
5052 </cell>
5053 </row>
5054 </lyxtabular>
5055
5056 \end_inset
5057
5058
5059 \begin_inset ERT
5060 status collapsed
5061
5062 \begin_layout Standard
5063
5064
5065 \backslash
5066 setlength{
5067 \backslash
5068 LTleft}{
5069 \backslash
5070 fill}
5071 \end_layout
5072
5073 \end_inset
5074
5075
5076 \end_layout
5077
5078 \begin_layout Subsection
5079 Longtable Captions
5080 \begin_inset LatexCommand index
5081 name "Longtables ! Captions"
5082
5083 \end_inset
5084
5085
5086 \begin_inset LatexCommand label
5087 name "sub:Longtable-Captions"
5088
5089 \end_inset
5090
5091
5092 \end_layout
5093
5094 \begin_layout Standard
5095 A longtable cannot be put into a table float because floats can only be
5096  on one page but the caption environment of floats can also be used for
5097  longtables.
5098 \end_layout
5099
5100 \begin_layout Standard
5101 As LyX does not yet fully support captions in longtables, a hack is needed
5102  to create them:
5103 \end_layout
5104
5105 \begin_layout Enumerate
5106 Create a longtable
5107 \family sans
5108 .
5109 \end_layout
5110
5111 \begin_layout Enumerate
5112 Mark the first row and disable its upper line.
5113 \end_layout
5114
5115 \begin_layout Enumerate
5116 Insert a caption via the menu 
5117 \family sans
5118 Insert\SpecialChar \menuseparator
5119 Caption
5120 \family default
5121  into the first table cell.
5122 \newline
5123 You can also add a short title for the caption.
5124 \end_layout
5125
5126 \begin_layout Enumerate
5127 Insert a 
5128 \begin_inset Quotes eld
5129 \end_inset
5130
5131
5132 \series bold
5133
5134 \backslash
5135
5136 \backslash
5137 %
5138 \series default
5139
5140 \begin_inset Quotes erd
5141 \end_inset
5142
5143  as TeX-Code behind the caption.
5144 \end_layout
5145
5146 \begin_layout Standard
5147 A short title that will appear in the LOT instead of the full title.
5148  The 
5149 \series bold
5150
5151 \backslash
5152
5153 \backslash
5154 %
5155 \series default
5156  behind the caption omits the vertical lines between the following cells
5157  in the row.
5158  The first table row is now only a dummy row for the caption, the actual
5159  table starts with the second row.
5160 \end_layout
5161
5162 \begin_layout Standard
5163 Here is a short longtable to see how it works:
5164 \end_layout
5165
5166 \begin_layout Standard
5167 \begin_inset Tabular
5168 <lyxtabular version="3" rows="6" columns="5">
5169 <features islongtable="true">
5170 <column alignment="center" valignment="top" leftline="true" width="0">
5171 <column alignment="center" valignment="top" leftline="true" width="0">
5172 <column alignment="center" valignment="top" leftline="true" width="0">
5173 <column alignment="center" valignment="top" leftline="true" width="0">
5174 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5175 <row>
5176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5177 \begin_inset Text
5178
5179 \begin_layout Standard
5180 \begin_inset Caption
5181
5182 \begin_layout Standard
5183 Longtable with caption
5184 \begin_inset OptArg
5185 status open
5186
5187 \begin_layout Standard
5188 Longtable
5189 \end_layout
5190
5191 \end_inset
5192
5193
5194 \end_layout
5195
5196 \end_inset
5197
5198
5199 \begin_inset ERT
5200 status collapsed
5201
5202 \begin_layout Standard
5203
5204
5205 \backslash
5206
5207 \backslash
5208 %
5209 \end_layout
5210
5211 \end_inset
5212
5213
5214 \end_layout
5215
5216 \end_inset
5217 </cell>
5218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5219 \begin_inset Text
5220
5221 \begin_layout Standard
5222
5223 \end_layout
5224
5225 \end_inset
5226 </cell>
5227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5228 \begin_inset Text
5229
5230 \begin_layout Standard
5231
5232 \end_layout
5233
5234 \end_inset
5235 </cell>
5236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5237 \begin_inset Text
5238
5239 \begin_layout Standard
5240
5241 \end_layout
5242
5243 \end_inset
5244 </cell>
5245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5246 \begin_inset Text
5247
5248 \begin_layout Standard
5249
5250 \end_layout
5251
5252 \end_inset
5253 </cell>
5254 </row>
5255 <row topline="true">
5256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Standard
5260 1
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5266 \begin_inset Text
5267
5268 \begin_layout Standard
5269 2
5270 \end_layout
5271
5272 \end_inset
5273 </cell>
5274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5275 \begin_inset Text
5276
5277 \begin_layout Standard
5278 3
5279 \end_layout
5280
5281 \end_inset
5282 </cell>
5283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5284 \begin_inset Text
5285
5286 \begin_layout Standard
5287 4
5288 \end_layout
5289
5290 \end_inset
5291 </cell>
5292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5293 \begin_inset Text
5294
5295 \begin_layout Standard
5296 5
5297 \end_layout
5298
5299 \end_inset
5300 </cell>
5301 </row>
5302 <row topline="true">
5303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5304 \begin_inset Text
5305
5306 \begin_layout Standard
5307 asd
5308 \end_layout
5309
5310 \end_inset
5311 </cell>
5312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5313 \begin_inset Text
5314
5315 \begin_layout Standard
5316 s
5317 \end_layout
5318
5319 \end_inset
5320 </cell>
5321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5322 \begin_inset Text
5323
5324 \begin_layout Standard
5325 s
5326 \end_layout
5327
5328 \end_inset
5329 </cell>
5330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5331 \begin_inset Text
5332
5333 \begin_layout Standard
5334 s
5335 \end_layout
5336
5337 \end_inset
5338 </cell>
5339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5340 \begin_inset Text
5341
5342 \begin_layout Standard
5343 asd
5344 \end_layout
5345
5346 \end_inset
5347 </cell>
5348 </row>
5349 <row topline="true">
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Standard
5354 asd
5355 \end_layout
5356
5357 \end_inset
5358 </cell>
5359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5360 \begin_inset Text
5361
5362 \begin_layout Standard
5363 s
5364 \end_layout
5365
5366 \end_inset
5367 </cell>
5368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5369 \begin_inset Text
5370
5371 \begin_layout Standard
5372 s
5373 \end_layout
5374
5375 \end_inset
5376 </cell>
5377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5378 \begin_inset Text
5379
5380 \begin_layout Standard
5381 s
5382 \end_layout
5383
5384 \end_inset
5385 </cell>
5386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5387 \begin_inset Text
5388
5389 \begin_layout Standard
5390 asd
5391 \end_layout
5392
5393 \end_inset
5394 </cell>
5395 </row>
5396 <row topline="true">
5397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5398 \begin_inset Text
5399
5400 \begin_layout Standard
5401 asd
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5407 \begin_inset Text
5408
5409 \begin_layout Standard
5410 s
5411 \end_layout
5412
5413 \end_inset
5414 </cell>
5415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5416 \begin_inset Text
5417
5418 \begin_layout Standard
5419 s
5420 \end_layout
5421
5422 \end_inset
5423 </cell>
5424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5425 \begin_inset Text
5426
5427 \begin_layout Standard
5428 s
5429 \end_layout
5430
5431 \end_inset
5432 </cell>
5433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5434 \begin_inset Text
5435
5436 \begin_layout Standard
5437 asd
5438 \end_layout
5439
5440 \end_inset
5441 </cell>
5442 </row>
5443 <row topline="true" bottomline="true">
5444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5445 \begin_inset Text
5446
5447 \begin_layout Standard
5448 asd
5449 \end_layout
5450
5451 \end_inset
5452 </cell>
5453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5454 \begin_inset Text
5455
5456 \begin_layout Standard
5457 asd
5458 \end_layout
5459
5460 \end_inset
5461 </cell>
5462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5463 \begin_inset Text
5464
5465 \begin_layout Standard
5466 asd
5467 \end_layout
5468
5469 \end_inset
5470 </cell>
5471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5472 \begin_inset Text
5473
5474 \begin_layout Standard
5475 asd
5476 \end_layout
5477
5478 \end_inset
5479 </cell>
5480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5481 \begin_inset Text
5482
5483 \begin_layout Standard
5484 asd
5485 \end_layout
5486
5487 \end_inset
5488 </cell>
5489 </row>
5490 </lyxtabular>
5491
5492 \end_inset
5493
5494
5495 \end_layout
5496
5497 \begin_layout Standard
5498 \begin_inset VSpace medskip
5499 \end_inset
5500
5501
5502 \begin_inset Note Greyedout
5503 status open
5504
5505 \begin_layout Standard
5506
5507 \series bold
5508 Note:
5509 \series default
5510  The table number is increased for every longtable, also if you didn't set
5511  a caption for it.
5512  For this reason you could have the case that e.g.
5513  Table\InsetSpace ~
5514 2.4 follows on Table\InsetSpace ~
5515 2.1 in the list of tables if there are two longtables
5516  without captions.
5517  To avoid this you can add the following command in TeX-Code behind every
5518  longtable without a caption:
5519 \end_layout
5520
5521 \begin_layout Standard
5522
5523 \series bold
5524
5525 \backslash
5526 addtocounter{table}{-1}
5527 \end_layout
5528
5529 \end_inset
5530
5531
5532 \end_layout
5533
5534 \begin_layout Standard
5535 \begin_inset Note Greyedout
5536 status open
5537
5538 \begin_layout Standard
5539
5540 \series bold
5541 Note:
5542 \series default
5543  If you are using the LaTeX-package 
5544 \series bold
5545 hyperref
5546 \series default
5547
5548 \begin_inset LatexCommand index
5549 name "LaTeX-packages ! hyperref"
5550
5551 \end_inset
5552
5553  to link cross-references, the link to a longtable caption will always point
5554  to the beginning of the document.
5555 \end_layout
5556
5557 \end_inset
5558
5559
5560 \end_layout
5561
5562 \begin_layout Standard
5563
5564 \newpage
5565
5566 \end_layout
5567
5568 \begin_layout Subsubsection
5569 References to Longtables
5570 \begin_inset LatexCommand index
5571 name "Longtables ! References"
5572
5573 \end_inset
5574
5575
5576 \end_layout
5577
5578 \begin_layout Standard
5579 \begin_inset Tabular
5580 <lyxtabular version="3" rows="6" columns="5">
5581 <features islongtable="true">
5582 <column alignment="center" valignment="top" leftline="true" width="0">
5583 <column alignment="center" valignment="top" leftline="true" width="0">
5584 <column alignment="center" valignment="top" leftline="true" width="0">
5585 <column alignment="center" valignment="top" leftline="true" width="0">
5586 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5587 <row>
5588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5589 \begin_inset Text
5590
5591 \begin_layout Standard
5592 \begin_inset Caption
5593
5594 \begin_layout Standard
5595 Referenced longtable
5596 \begin_inset LatexCommand label
5597 name "tab:RefExample"
5598
5599 \end_inset
5600
5601
5602 \end_layout
5603
5604 \end_inset
5605
5606
5607 \begin_inset ERT
5608 status collapsed
5609
5610 \begin_layout Standard
5611
5612
5613 \backslash
5614
5615 \backslash
5616 %
5617 \end_layout
5618
5619 \end_inset
5620
5621
5622 \end_layout
5623
5624 \end_inset
5625 </cell>
5626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5627 \begin_inset Text
5628
5629 \begin_layout Standard
5630
5631 \end_layout
5632
5633 \end_inset
5634 </cell>
5635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5636 \begin_inset Text
5637
5638 \begin_layout Standard
5639
5640 \end_layout
5641
5642 \end_inset
5643 </cell>
5644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5645 \begin_inset Text
5646
5647 \begin_layout Standard
5648
5649 \end_layout
5650
5651 \end_inset
5652 </cell>
5653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5654 \begin_inset Text
5655
5656 \begin_layout Standard
5657
5658 \end_layout
5659
5660 \end_inset
5661 </cell>
5662 </row>
5663 <row topline="true">
5664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5665 \begin_inset Text
5666
5667 \begin_layout Standard
5668 1
5669 \end_layout
5670
5671 \end_inset
5672 </cell>
5673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5674 \begin_inset Text
5675
5676 \begin_layout Standard
5677 2
5678 \end_layout
5679
5680 \end_inset
5681 </cell>
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5683 \begin_inset Text
5684
5685 \begin_layout Standard
5686 3
5687 \end_layout
5688
5689 \end_inset
5690 </cell>
5691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5692 \begin_inset Text
5693
5694 \begin_layout Standard
5695 4
5696 \end_layout
5697
5698 \end_inset
5699 </cell>
5700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5701 \begin_inset Text
5702
5703 \begin_layout Standard
5704 5
5705 \end_layout
5706
5707 \end_inset
5708 </cell>
5709 </row>
5710 <row topline="true">
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5712 \begin_inset Text
5713
5714 \begin_layout Standard
5715 asd
5716 \end_layout
5717
5718 \end_inset
5719 </cell>
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_inset Text
5722
5723 \begin_layout Standard
5724 s
5725 \end_layout
5726
5727 \end_inset
5728 </cell>
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5730 \begin_inset Text
5731
5732 \begin_layout Standard
5733 s
5734 \end_layout
5735
5736 \end_inset
5737 </cell>
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5739 \begin_inset Text
5740
5741 \begin_layout Standard
5742 s
5743 \end_layout
5744
5745 \end_inset
5746 </cell>
5747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5748 \begin_inset Text
5749
5750 \begin_layout Standard
5751 asd
5752 \end_layout
5753
5754 \end_inset
5755 </cell>
5756 </row>
5757 <row topline="true">
5758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5759 \begin_inset Text
5760
5761 \begin_layout Standard
5762 asd
5763 \end_layout
5764
5765 \end_inset
5766 </cell>
5767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5768 \begin_inset Text
5769
5770 \begin_layout Standard
5771 s
5772 \end_layout
5773
5774 \end_inset
5775 </cell>
5776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5777 \begin_inset Text
5778
5779 \begin_layout Standard
5780 s
5781 \end_layout
5782
5783 \end_inset
5784 </cell>
5785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5786 \begin_inset Text
5787
5788 \begin_layout Standard
5789 s
5790 \end_layout
5791
5792 \end_inset
5793 </cell>
5794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5795 \begin_inset Text
5796
5797 \begin_layout Standard
5798 asd
5799 \end_layout
5800
5801 \end_inset
5802 </cell>
5803 </row>
5804 <row topline="true">
5805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_inset Text
5807
5808 \begin_layout Standard
5809 asd
5810 \end_layout
5811
5812 \end_inset
5813 </cell>
5814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_inset Text
5816
5817 \begin_layout Standard
5818 s
5819 \end_layout
5820
5821 \end_inset
5822 </cell>
5823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5824 \begin_inset Text
5825
5826 \begin_layout Standard
5827 s
5828 \end_layout
5829
5830 \end_inset
5831 </cell>
5832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5833 \begin_inset Text
5834
5835 \begin_layout Standard
5836 s
5837 \end_layout
5838
5839 \end_inset
5840 </cell>
5841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5842 \begin_inset Text
5843
5844 \begin_layout Standard
5845 asd
5846 \end_layout
5847
5848 \end_inset
5849 </cell>
5850 </row>
5851 <row topline="true" bottomline="true">
5852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_inset Text
5854
5855 \begin_layout Standard
5856 asd
5857 \end_layout
5858
5859 \end_inset
5860 </cell>
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_inset Text
5863
5864 \begin_layout Standard
5865 sad
5866 \end_layout
5867
5868 \end_inset
5869 </cell>
5870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5871 \begin_inset Text
5872
5873 \begin_layout Standard
5874 asd
5875 \end_layout
5876
5877 \end_inset
5878 </cell>
5879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5880 \begin_inset Text
5881
5882 \begin_layout Standard
5883 asd
5884 \end_layout
5885
5886 \end_inset
5887 </cell>
5888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5889 \begin_inset Text
5890
5891 \begin_layout Standard
5892 asd
5893 \end_layout
5894
5895 \end_inset
5896 </cell>
5897 </row>
5898 </lyxtabular>
5899
5900 \end_inset
5901
5902
5903 \end_layout
5904
5905 \begin_layout Standard
5906 To reference a longtable, insert a label into the caption.
5907  Note that you have to add the label prefix 
5908 \begin_inset Quotes eld
5909 \end_inset
5910
5911
5912 \emph on
5913 tab:
5914 \emph default
5915
5916 \begin_inset Quotes eld
5917 \end_inset
5918
5919  manually in the label field.
5920 \end_layout
5921
5922 \begin_layout Standard
5923 This is a reference to Table\InsetSpace ~
5924
5925 \begin_inset LatexCommand ref
5926 reference "tab:RefExample"
5927
5928 \end_inset
5929
5930 .
5931 \end_layout
5932
5933 \begin_layout Standard
5934 The caption layout can be set together with all other caption of your document
5935  using the LaTeX-package 
5936 \series bold
5937 caption
5938 \series default
5939
5940 \begin_inset LatexCommand index
5941 name "LaTeX-packages ! caption"
5942
5943 \end_inset
5944
5945 , see section\InsetSpace ~
5946
5947 \begin_inset LatexCommand ref
5948 reference "sec:Caption-Formatting"
5949
5950 \end_inset
5951
5952 .
5953 \end_layout
5954
5955 \begin_layout Subsubsection
5956 Caption Width
5957 \begin_inset LatexCommand index
5958 name "Longtables ! Caption Width"
5959
5960 \end_inset
5961
5962
5963 \end_layout
5964
5965 \begin_layout Standard
5966 The maximal width of of caption lines is defined by the length 
5967 \series bold
5968
5969 \backslash
5970 LTcapwidth
5971 \series default
5972 .
5973  Its default value is 4\InsetSpace \thinspace{}
5974 in.
5975  To change it add the following command to your document preamble or as
5976  TeX-Code into your document before the longtable that should be affected
5977 \end_layout
5978
5979 \begin_layout Standard
5980
5981 \series bold
5982
5983 \backslash
5984 setlength{
5985 \backslash
5986 LTcapwidth}{width}
5987 \end_layout
5988
5989 \begin_layout Standard
5990 where the width could have one of the units listed in appendix\InsetSpace ~
5991
5992 \begin_inset LatexCommand ref
5993 reference "cha:Units-available-in"
5994
5995 \end_inset
5996
5997 .
5998 \end_layout
5999
6000 \begin_layout Standard
6001 The following tables show the difference:
6002 \end_layout
6003
6004 \begin_layout Standard
6005 \begin_inset Tabular
6006 <lyxtabular version="3" rows="6" columns="5">
6007 <features islongtable="true">
6008 <column alignment="center" valignment="top" leftline="true" width="0">
6009 <column alignment="center" valignment="top" leftline="true" width="0">
6010 <column alignment="center" valignment="top" leftline="true" width="0">
6011 <column alignment="center" valignment="top" leftline="true" width="0">
6012 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6013 <row>
6014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6015 \begin_inset Text
6016
6017 \begin_layout Standard
6018 \begin_inset Caption
6019
6020 \begin_layout Standard
6021 long full title with default width long full title with default width long
6022  full title with default width
6023 \begin_inset OptArg
6024 status collapsed
6025
6026 \begin_layout Standard
6027 caption with default width
6028 \end_layout
6029
6030 \end_inset
6031
6032
6033 \end_layout
6034
6035 \end_inset
6036
6037
6038 \begin_inset ERT
6039 status collapsed
6040
6041 \begin_layout Standard
6042
6043
6044 \backslash
6045
6046 \backslash
6047 %
6048 \end_layout
6049
6050 \end_inset
6051
6052
6053 \end_layout
6054
6055 \end_inset
6056 </cell>
6057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6058 \begin_inset Text
6059
6060 \begin_layout Standard
6061
6062 \end_layout
6063
6064 \end_inset
6065 </cell>
6066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6067 \begin_inset Text
6068
6069 \begin_layout Standard
6070
6071 \end_layout
6072
6073 \end_inset
6074 </cell>
6075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6076 \begin_inset Text
6077
6078 \begin_layout Standard
6079
6080 \end_layout
6081
6082 \end_inset
6083 </cell>
6084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6085 \begin_inset Text
6086
6087 \begin_layout Standard
6088
6089 \end_layout
6090
6091 \end_inset
6092 </cell>
6093 </row>
6094 <row topline="true">
6095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6096 \begin_inset Text
6097
6098 \begin_layout Standard
6099 1
6100 \end_layout
6101
6102 \end_inset
6103 </cell>
6104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6105 \begin_inset Text
6106
6107 \begin_layout Standard
6108 2
6109 \end_layout
6110
6111 \end_inset
6112 </cell>
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6114 \begin_inset Text
6115
6116 \begin_layout Standard
6117 3
6118 \end_layout
6119
6120 \end_inset
6121 </cell>
6122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6123 \begin_inset Text
6124
6125 \begin_layout Standard
6126 4
6127 \end_layout
6128
6129 \end_inset
6130 </cell>
6131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6132 \begin_inset Text
6133
6134 \begin_layout Standard
6135 5
6136 \end_layout
6137
6138 \end_inset
6139 </cell>
6140 </row>
6141 <row topline="true">
6142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6143 \begin_inset Text
6144
6145 \begin_layout Standard
6146 asd
6147 \end_layout
6148
6149 \end_inset
6150 </cell>
6151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6152 \begin_inset Text
6153
6154 \begin_layout Standard
6155 s
6156 \end_layout
6157
6158 \end_inset
6159 </cell>
6160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6161 \begin_inset Text
6162
6163 \begin_layout Standard
6164 s
6165 \end_layout
6166
6167 \end_inset
6168 </cell>
6169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6170 \begin_inset Text
6171
6172 \begin_layout Standard
6173 s
6174 \end_layout
6175
6176 \end_inset
6177 </cell>
6178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6179 \begin_inset Text
6180
6181 \begin_layout Standard
6182 asd
6183 \end_layout
6184
6185 \end_inset
6186 </cell>
6187 </row>
6188 <row topline="true">
6189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6190 \begin_inset Text
6191
6192 \begin_layout Standard
6193 asd
6194 \end_layout
6195
6196 \end_inset
6197 </cell>
6198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6199 \begin_inset Text
6200
6201 \begin_layout Standard
6202 s
6203 \end_layout
6204
6205 \end_inset
6206 </cell>
6207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6208 \begin_inset Text
6209
6210 \begin_layout Standard
6211 s
6212 \end_layout
6213
6214 \end_inset
6215 </cell>
6216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6217 \begin_inset Text
6218
6219 \begin_layout Standard
6220 s
6221 \end_layout
6222
6223 \end_inset
6224 </cell>
6225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6226 \begin_inset Text
6227
6228 \begin_layout Standard
6229 asd
6230 \end_layout
6231
6232 \end_inset
6233 </cell>
6234 </row>
6235 <row topline="true">
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_inset Text
6238
6239 \begin_layout Standard
6240 asd
6241 \end_layout
6242
6243 \end_inset
6244 </cell>
6245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6246 \begin_inset Text
6247
6248 \begin_layout Standard
6249 s
6250 \end_layout
6251
6252 \end_inset
6253 </cell>
6254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6255 \begin_inset Text
6256
6257 \begin_layout Standard
6258 s
6259 \end_layout
6260
6261 \end_inset
6262 </cell>
6263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6264 \begin_inset Text
6265
6266 \begin_layout Standard
6267 s
6268 \end_layout
6269
6270 \end_inset
6271 </cell>
6272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6273 \begin_inset Text
6274
6275 \begin_layout Standard
6276 asd
6277 \end_layout
6278
6279 \end_inset
6280 </cell>
6281 </row>
6282 <row topline="true" bottomline="true">
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6284 \begin_inset Text
6285
6286 \begin_layout Standard
6287 asd
6288 \end_layout
6289
6290 \end_inset
6291 </cell>
6292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6293 \begin_inset Text
6294
6295 \begin_layout Standard
6296 sad
6297 \end_layout
6298
6299 \end_inset
6300 </cell>
6301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6302 \begin_inset Text
6303
6304 \begin_layout Standard
6305 asd
6306 \end_layout
6307
6308 \end_inset
6309 </cell>
6310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6311 \begin_inset Text
6312
6313 \begin_layout Standard
6314 asd
6315 \end_layout
6316
6317 \end_inset
6318 </cell>
6319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6320 \begin_inset Text
6321
6322 \begin_layout Standard
6323 asd
6324 \end_layout
6325
6326 \end_inset
6327 </cell>
6328 </row>
6329 </lyxtabular>
6330
6331 \end_inset
6332
6333
6334 \end_layout
6335
6336 \begin_layout Standard
6337 \begin_inset ERT
6338 status collapsed
6339
6340 \begin_layout Standard
6341
6342
6343 \backslash
6344 setlength{
6345 \backslash
6346 LTcapwidth}{5cm}
6347 \end_layout
6348
6349 \end_inset
6350
6351
6352 \begin_inset Tabular
6353 <lyxtabular version="3" rows="6" columns="5">
6354 <features islongtable="true">
6355 <column alignment="center" valignment="top" leftline="true" width="0">
6356 <column alignment="center" valignment="top" leftline="true" width="0">
6357 <column alignment="center" valignment="top" leftline="true" width="0">
6358 <column alignment="center" valignment="top" leftline="true" width="0">
6359 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6360 <row>
6361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6362 \begin_inset Text
6363
6364 \begin_layout Standard
6365 \begin_inset Caption
6366
6367 \begin_layout Standard
6368 long full title with width set to 5\InsetSpace \thinspace{}
6369 cm long full title with width set to
6370  5\InsetSpace \thinspace{}
6371 cm long full title with width set to 5\InsetSpace \thinspace{}
6372 cm
6373 \begin_inset OptArg
6374 status collapsed
6375
6376 \begin_layout Standard
6377 caption with width\InsetSpace \thinspace{}
6378 =\InsetSpace \thinspace{}
6379 5\InsetSpace \thinspace{}
6380 cm
6381 \end_layout
6382
6383 \end_inset
6384
6385
6386 \end_layout
6387
6388 \end_inset
6389
6390
6391 \begin_inset ERT
6392 status collapsed
6393
6394 \begin_layout Standard
6395
6396
6397 \backslash
6398
6399 \backslash
6400 %
6401 \end_layout
6402
6403 \end_inset
6404
6405
6406 \end_layout
6407
6408 \end_inset
6409 </cell>
6410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6411 \begin_inset Text
6412
6413 \begin_layout Standard
6414
6415 \end_layout
6416
6417 \end_inset
6418 </cell>
6419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6420 \begin_inset Text
6421
6422 \begin_layout Standard
6423
6424 \end_layout
6425
6426 \end_inset
6427 </cell>
6428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6429 \begin_inset Text
6430
6431 \begin_layout Standard
6432
6433 \end_layout
6434
6435 \end_inset
6436 </cell>
6437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6438 \begin_inset Text
6439
6440 \begin_layout Standard
6441
6442 \end_layout
6443
6444 \end_inset
6445 </cell>
6446 </row>
6447 <row topline="true">
6448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6449 \begin_inset Text
6450
6451 \begin_layout Standard
6452 1
6453 \end_layout
6454
6455 \end_inset
6456 </cell>
6457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6458 \begin_inset Text
6459
6460 \begin_layout Standard
6461 2
6462 \end_layout
6463
6464 \end_inset
6465 </cell>
6466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6467 \begin_inset Text
6468
6469 \begin_layout Standard
6470 3
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Standard
6479 4
6480 \end_layout
6481
6482 \end_inset
6483 </cell>
6484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6485 \begin_inset Text
6486
6487 \begin_layout Standard
6488 5
6489 \end_layout
6490
6491 \end_inset
6492 </cell>
6493 </row>
6494 <row topline="true">
6495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6496 \begin_inset Text
6497
6498 \begin_layout Standard
6499 asd
6500 \end_layout
6501
6502 \end_inset
6503 </cell>
6504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6505 \begin_inset Text
6506
6507 \begin_layout Standard
6508 s
6509 \end_layout
6510
6511 \end_inset
6512 </cell>
6513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6514 \begin_inset Text
6515
6516 \begin_layout Standard
6517 s
6518 \end_layout
6519
6520 \end_inset
6521 </cell>
6522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6523 \begin_inset Text
6524
6525 \begin_layout Standard
6526 s
6527 \end_layout
6528
6529 \end_inset
6530 </cell>
6531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6532 \begin_inset Text
6533
6534 \begin_layout Standard
6535 asd
6536 \end_layout
6537
6538 \end_inset
6539 </cell>
6540 </row>
6541 <row topline="true">
6542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6543 \begin_inset Text
6544
6545 \begin_layout Standard
6546 asd
6547 \end_layout
6548
6549 \end_inset
6550 </cell>
6551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6552 \begin_inset Text
6553
6554 \begin_layout Standard
6555 s
6556 \end_layout
6557
6558 \end_inset
6559 </cell>
6560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6561 \begin_inset Text
6562
6563 \begin_layout Standard
6564 s
6565 \end_layout
6566
6567 \end_inset
6568 </cell>
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Standard
6573 s
6574 \end_layout
6575
6576 \end_inset
6577 </cell>
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_inset Text
6580
6581 \begin_layout Standard
6582 asd
6583 \end_layout
6584
6585 \end_inset
6586 </cell>
6587 </row>
6588 <row topline="true">
6589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_inset Text
6591
6592 \begin_layout Standard
6593 asd
6594 \end_layout
6595
6596 \end_inset
6597 </cell>
6598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6599 \begin_inset Text
6600
6601 \begin_layout Standard
6602 s
6603 \end_layout
6604
6605 \end_inset
6606 </cell>
6607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6608 \begin_inset Text
6609
6610 \begin_layout Standard
6611 s
6612 \end_layout
6613
6614 \end_inset
6615 </cell>
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6617 \begin_inset Text
6618
6619 \begin_layout Standard
6620 s
6621 \end_layout
6622
6623 \end_inset
6624 </cell>
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6626 \begin_inset Text
6627
6628 \begin_layout Standard
6629 asd
6630 \end_layout
6631
6632 \end_inset
6633 </cell>
6634 </row>
6635 <row topline="true" bottomline="true">
6636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_inset Text
6638
6639 \begin_layout Standard
6640 asd
6641 \end_layout
6642
6643 \end_inset
6644 </cell>
6645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6646 \begin_inset Text
6647
6648 \begin_layout Standard
6649 sad
6650 \end_layout
6651
6652 \end_inset
6653 </cell>
6654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6655 \begin_inset Text
6656
6657 \begin_layout Standard
6658 asd
6659 \end_layout
6660
6661 \end_inset
6662 </cell>
6663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6664 \begin_inset Text
6665
6666 \begin_layout Standard
6667 asd
6668 \end_layout
6669
6670 \end_inset
6671 </cell>
6672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6673 \begin_inset Text
6674
6675 \begin_layout Standard
6676 asd
6677 \end_layout
6678
6679 \end_inset
6680 </cell>
6681 </row>
6682 </lyxtabular>
6683
6684 \end_inset
6685
6686
6687 \end_layout
6688
6689 \begin_layout Standard
6690 \begin_inset ERT
6691 status collapsed
6692
6693 \begin_layout Standard
6694
6695
6696 \backslash
6697 setlength{
6698 \backslash
6699 LTcapwidth}{4in}
6700 \end_layout
6701
6702 \end_inset
6703
6704
6705 \end_layout
6706
6707 \begin_layout Standard
6708 \begin_inset Note Greyedout
6709 status open
6710
6711 \begin_layout Standard
6712
6713 \series bold
6714 Note:
6715 \series default
6716  When the LaTeX-package 
6717 \series bold
6718 caption
6719 \series default
6720
6721 \begin_inset LatexCommand index
6722 name "LaTeX-packages ! caption"
6723
6724 \end_inset
6725
6726  is used, as in this document, the full page width is used for the caption
6727  when you use the default value of 4\InsetSpace \thinspace{}
6728 in for 
6729 \series bold
6730
6731 \backslash
6732 LTcapwidth
6733 \series default
6734 .
6735  To get in this case exactly a 4\InsetSpace \thinspace{}
6736 in wide caption, you can either use a value
6737  slightly different from 4.0\InsetSpace \thinspace{}
6738 in, e.g.
6739  3.99\InsetSpace \thinspace{}
6740 in, or the LaTeX-command 
6741 \series bold
6742
6743 \backslash
6744 captionsetup{width=value}
6745 \series default
6746  that is provided by the 
6747 \series bold
6748 caption
6749 \series default
6750 -package.
6751 \end_layout
6752
6753 \end_inset
6754
6755
6756 \end_layout
6757
6758 \begin_layout Subsubsection
6759 Different Captions for Table Pages
6760 \begin_inset LatexCommand index
6761 name "Longtables ! Different Captions for Pages"
6762
6763 \end_inset
6764
6765
6766 \end_layout
6767
6768 \begin_layout Standard
6769 When the other captions should differ from the one of the first table page,
6770  insert a caption with a non-empty short title in a dummy caption row marked
6771  as first header.
6772  The caption used for the other table pages is inserted as caption without
6773  a short title in a dummy caption row that is marked as main header.
6774  When this caption shouldn't include the table number, use the command
6775 \end_layout
6776
6777 \begin_layout Standard
6778
6779 \series bold
6780
6781 \backslash
6782 caption*{caption text}
6783 \end_layout
6784
6785 \begin_layout Standard
6786 instead of LyX's caption box.
6787  The label to reference the table is inserted into the caption of the first
6788  header.
6789  Table\InsetSpace ~
6790
6791 \begin_inset LatexCommand ref
6792 reference "tab:DiffCaptions"
6793
6794 \end_inset
6795
6796  is an example for a longtable with different heading where the second caption
6797  doesn't include the table number.
6798 \end_layout
6799
6800 \begin_layout Standard
6801 \align center
6802 \begin_inset Tabular
6803 <lyxtabular version="3" rows="60" columns="3">
6804 <features islongtable="true">
6805 <column alignment="left" valignment="top" leftline="true" width="0cm">
6806 <column alignment="left" valignment="top" rightline="true" width="0pt">
6807 <column alignment="right" valignment="top" rightline="true" width="0pt">
6808 <row endfirsthead="true">
6809 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6810 \begin_inset Text
6811
6812 \begin_layout Standard
6813 \begin_inset Caption
6814
6815 \begin_layout Standard
6816 Example Phone List
6817 \begin_inset LatexCommand label
6818 name "tab:DiffCaptions"
6819
6820 \end_inset
6821
6822
6823 \begin_inset OptArg
6824 status collapsed
6825
6826 \begin_layout Standard
6827 Example Phone List
6828 \end_layout
6829
6830 \end_inset
6831
6832
6833 \end_layout
6834
6835 \end_inset
6836
6837
6838 \begin_inset ERT
6839 status collapsed
6840
6841 \begin_layout Standard
6842
6843
6844 \backslash
6845
6846 \backslash
6847 %
6848 \end_layout
6849
6850 \end_inset
6851
6852
6853 \end_layout
6854
6855 \end_inset
6856 </cell>
6857 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6858 \begin_inset Text
6859
6860 \begin_layout Standard
6861
6862 \end_layout
6863
6864 \end_inset
6865 </cell>
6866 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6867 \begin_inset Text
6868
6869 \begin_layout Standard
6870
6871 \end_layout
6872
6873 \end_inset
6874 </cell>
6875 </row>
6876 <row topline="true" bottomline="true" endfirsthead="true">
6877 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6878 \begin_inset Text
6879
6880 \begin_layout Standard
6881
6882 \series bold
6883 Example Phone List (ignore the names)
6884 \end_layout
6885
6886 \end_inset
6887 </cell>
6888 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6889 \begin_inset Text
6890
6891 \begin_layout Standard
6892
6893 \end_layout
6894
6895 \end_inset
6896 </cell>
6897 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6898 \begin_inset Text
6899
6900 \begin_layout Standard
6901
6902 \end_layout
6903
6904 \end_inset
6905 </cell>
6906 </row>
6907 <row topline="true" bottomline="true" endfirsthead="true">
6908 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6909 \begin_inset Text
6910
6911 \begin_layout Standard
6912
6913 \series bold
6914 NAME
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6920 \begin_inset Text
6921
6922 \begin_layout Standard
6923
6924 \end_layout
6925
6926 \end_inset
6927 </cell>
6928 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6929 \begin_inset Text
6930
6931 \begin_layout Standard
6932
6933 \series bold
6934 TEL.
6935 \end_layout
6936
6937 \end_inset
6938 </cell>
6939 </row>
6940 <row bottomline="true" endhead="true">
6941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6942 \begin_inset Text
6943
6944 \begin_layout Standard
6945 \begin_inset ERT
6946 status open
6947
6948 \begin_layout Standard
6949
6950
6951 \backslash
6952 caption*{Continued Example Phone List}
6953 \backslash
6954
6955 \backslash
6956 %
6957 \end_layout
6958
6959 \end_inset
6960
6961
6962 \end_layout
6963
6964 \end_inset
6965 </cell>
6966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_inset Text
6968
6969 \begin_layout Standard
6970
6971 \end_layout
6972
6973 \end_inset
6974 </cell>
6975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6976 \begin_inset Text
6977
6978 \begin_layout Standard
6979
6980 \end_layout
6981
6982 \end_inset
6983 </cell>
6984 </row>
6985 <row topline="true" bottomline="true" endhead="true">
6986 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6987 \begin_inset Text
6988
6989 \begin_layout Standard
6990
6991 \series bold
6992 Example Phone List
6993 \end_layout
6994
6995 \end_inset
6996 </cell>
6997 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6998 \begin_inset Text
6999
7000 \begin_layout Standard
7001
7002 \end_layout
7003
7004 \end_inset
7005 </cell>
7006 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Standard
7010
7011 \end_layout
7012
7013 \end_inset
7014 </cell>
7015 </row>
7016 <row topline="true" bottomline="true" endhead="true">
7017 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7018 \begin_inset Text
7019
7020 \begin_layout Standard
7021
7022 \series bold
7023 NAME
7024 \end_layout
7025
7026 \end_inset
7027 </cell>
7028 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7029 \begin_inset Text
7030
7031 \begin_layout Standard
7032
7033 \end_layout
7034
7035 \end_inset
7036 </cell>
7037 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7038 \begin_inset Text
7039
7040 \begin_layout Standard
7041
7042 \series bold
7043 TEL.
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 </row>
7049 <row topline="true" bottomline="true" endfoot="true">
7050 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Standard
7054 continued on next page
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Standard
7063
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Standard
7072
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 </row>
7078 <row>
7079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7080 \begin_inset Text
7081
7082 \begin_layout Standard
7083
7084 \series bold
7085 Annovi
7086 \end_layout
7087
7088 \end_inset
7089 </cell>
7090 <cell alignment="center" valignment="top" topline="true" usebox="none">
7091 \begin_inset Text
7092
7093 \begin_layout Standard
7094 Silvia
7095 \end_layout
7096
7097 \end_inset
7098 </cell>
7099 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Standard
7103 111
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 </row>
7109 <row>
7110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7111 \begin_inset Text
7112
7113 \begin_layout Standard
7114
7115 \series bold
7116 Bertoli
7117 \end_layout
7118
7119 \end_inset
7120 </cell>
7121 <cell alignment="center" valignment="top" topline="true" usebox="none">
7122 \begin_inset Text
7123
7124 \begin_layout Standard
7125 Stefano
7126 \end_layout
7127
7128 \end_inset
7129 </cell>
7130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7131 \begin_inset Text
7132
7133 \begin_layout Standard
7134 111
7135 \end_layout
7136
7137 \end_inset
7138 </cell>
7139 </row>
7140 <row>
7141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7142 \begin_inset Text
7143
7144 \begin_layout Standard
7145
7146 \series bold
7147 Bozzi
7148 \end_layout
7149
7150 \end_inset
7151 </cell>
7152 <cell alignment="center" valignment="top" topline="true" usebox="none">
7153 \begin_inset Text
7154
7155 \begin_layout Standard
7156 Walter
7157 \end_layout
7158
7159 \end_inset
7160 </cell>
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Standard
7165 111
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 </row>
7171 <row>
7172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7173 \begin_inset Text
7174
7175 \begin_layout Standard
7176
7177 \series bold
7178 Cachia
7179 \end_layout
7180
7181 \end_inset
7182 </cell>
7183 <cell alignment="center" valignment="top" topline="true" usebox="none">
7184 \begin_inset Text
7185
7186 \begin_layout Standard
7187 Maria
7188 \end_layout
7189
7190 \end_inset
7191 </cell>
7192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7193 \begin_inset Text
7194
7195 \begin_layout Standard
7196 111
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 </row>
7202 <row>
7203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7204 \begin_inset Text
7205
7206 \begin_layout Standard
7207
7208 \series bold
7209 Cachia
7210 \end_layout
7211
7212 \end_inset
7213 </cell>
7214 <cell alignment="center" valignment="top" topline="true" usebox="none">
7215 \begin_inset Text
7216
7217 \begin_layout Standard
7218 Maurizio
7219 \end_layout
7220
7221 \end_inset
7222 </cell>
7223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7224 \begin_inset Text
7225
7226 \begin_layout Standard
7227 111
7228 \end_layout
7229
7230 \end_inset
7231 </cell>
7232 </row>
7233 <row>
7234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7235 \begin_inset Text
7236
7237 \begin_layout Standard
7238
7239 \series bold
7240 Cinquemani
7241 \end_layout
7242
7243 \end_inset
7244 </cell>
7245 <cell alignment="center" valignment="top" topline="true" usebox="none">
7246 \begin_inset Text
7247
7248 \begin_layout Standard
7249 Giusi
7250 \end_layout
7251
7252 \end_inset
7253 </cell>
7254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7255 \begin_inset Text
7256
7257 \begin_layout Standard
7258 111
7259 \end_layout
7260
7261 \end_inset
7262 </cell>
7263 </row>
7264 <row>
7265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7266 \begin_inset Text
7267
7268 \begin_layout Standard
7269
7270 \series bold
7271 Colin
7272 \end_layout
7273
7274 \end_inset
7275 </cell>
7276 <cell alignment="center" valignment="top" topline="true" usebox="none">
7277 \begin_inset Text
7278
7279 \begin_layout Standard
7280 Bernard
7281 \end_layout
7282
7283 \end_inset
7284 </cell>
7285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7286 \begin_inset Text
7287
7288 \begin_layout Standard
7289 111
7290 \end_layout
7291
7292 \end_inset
7293 </cell>
7294 </row>
7295 <row>
7296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7297 \begin_inset Text
7298
7299 \begin_layout Standard
7300
7301 \series bold
7302 Concli
7303 \end_layout
7304
7305 \end_inset
7306 </cell>
7307 <cell alignment="center" valignment="top" topline="true" usebox="none">
7308 \begin_inset Text
7309
7310 \begin_layout Standard
7311 Gianfranco
7312 \end_layout
7313
7314 \end_inset
7315 </cell>
7316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7317 \begin_inset Text
7318
7319 \begin_layout Standard
7320 111
7321 \end_layout
7322
7323 \end_inset
7324 </cell>
7325 </row>
7326 <row>
7327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7328 \begin_inset Text
7329
7330 \begin_layout Standard
7331
7332 \series bold
7333 Dal Bosco
7334 \end_layout
7335
7336 \end_inset
7337 </cell>
7338 <cell alignment="center" valignment="top" topline="true" usebox="none">
7339 \begin_inset Text
7340
7341 \begin_layout Standard
7342 Carolina
7343 \end_layout
7344
7345 \end_inset
7346 </cell>
7347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7348 \begin_inset Text
7349
7350 \begin_layout Standard
7351 111
7352 \end_layout
7353
7354 \end_inset
7355 </cell>
7356 </row>
7357 <row>
7358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7359 \begin_inset Text
7360
7361 \begin_layout Standard
7362
7363 \series bold
7364 Dalpiaz
7365 \end_layout
7366
7367 \end_inset
7368 </cell>
7369 <cell alignment="center" valignment="top" topline="true" usebox="none">
7370 \begin_inset Text
7371
7372 \begin_layout Standard
7373 Annamaria
7374 \end_layout
7375
7376 \end_inset
7377 </cell>
7378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7379 \begin_inset Text
7380
7381 \begin_layout Standard
7382 111
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 </row>
7388 <row>
7389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7390 \begin_inset Text
7391
7392 \begin_layout Standard
7393
7394 \series bold
7395 Feliciello
7396 \end_layout
7397
7398 \end_inset
7399 </cell>
7400 <cell alignment="center" valignment="top" topline="true" usebox="none">
7401 \begin_inset Text
7402
7403 \begin_layout Standard
7404 Domenico
7405 \end_layout
7406
7407 \end_inset
7408 </cell>
7409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7410 \begin_inset Text
7411
7412 \begin_layout Standard
7413 111
7414 \end_layout
7415
7416 \end_inset
7417 </cell>
7418 </row>
7419 <row>
7420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7421 \begin_inset Text
7422
7423 \begin_layout Standard
7424
7425 \series bold
7426 Focarelli
7427 \end_layout
7428
7429 \end_inset
7430 </cell>
7431 <cell alignment="center" valignment="top" topline="true" usebox="none">
7432 \begin_inset Text
7433
7434 \begin_layout Standard
7435 Paola
7436 \end_layout
7437
7438 \end_inset
7439 </cell>
7440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7441 \begin_inset Text
7442
7443 \begin_layout Standard
7444 111
7445 \end_layout
7446
7447 \end_inset
7448 </cell>
7449 </row>
7450 <row>
7451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7452 \begin_inset Text
7453
7454 \begin_layout Standard
7455
7456 \series bold
7457 Galletti
7458 \end_layout
7459
7460 \end_inset
7461 </cell>
7462 <cell alignment="center" valignment="top" topline="true" usebox="none">
7463 \begin_inset Text
7464
7465 \begin_layout Standard
7466 Oreste
7467 \end_layout
7468
7469 \end_inset
7470 </cell>
7471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7472 \begin_inset Text
7473
7474 \begin_layout Standard
7475 111
7476 \end_layout
7477
7478 \end_inset
7479 </cell>
7480 </row>
7481 <row>
7482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7483 \begin_inset Text
7484
7485 \begin_layout Standard
7486
7487 \series bold
7488 Gasparini
7489 \end_layout
7490
7491 \end_inset
7492 </cell>
7493 <cell alignment="center" valignment="top" topline="true" usebox="none">
7494 \begin_inset Text
7495
7496 \begin_layout Standard
7497 Franca
7498 \end_layout
7499
7500 \end_inset
7501 </cell>
7502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7503 \begin_inset Text
7504
7505 \begin_layout Standard
7506 111
7507 \end_layout
7508
7509 \end_inset
7510 </cell>
7511 </row>
7512 <row>
7513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7514 \begin_inset Text
7515
7516 \begin_layout Standard
7517
7518 \series bold
7519 Rizzardi
7520 \series default
7521
7522 \begin_inset Foot
7523 status collapsed
7524
7525 \begin_layout Standard
7526 Example footnote
7527 \end_layout
7528
7529 \end_inset
7530
7531
7532 \end_layout
7533
7534 \end_inset
7535 </cell>
7536 <cell alignment="center" valignment="top" topline="true" usebox="none">
7537 \begin_inset Text
7538
7539 \begin_layout Standard
7540 Paola
7541 \end_layout
7542
7543 \end_inset
7544 </cell>
7545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7546 \begin_inset Text
7547
7548 \begin_layout Standard
7549 111
7550 \end_layout
7551
7552 \end_inset
7553 </cell>
7554 </row>
7555 <row>
7556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7557 \begin_inset Text
7558
7559 \begin_layout Standard
7560
7561 \series bold
7562 Lassini
7563 \end_layout
7564
7565 \end_inset
7566 </cell>
7567 <cell alignment="center" valignment="top" topline="true" usebox="none">
7568 \begin_inset Text
7569
7570 \begin_layout Standard
7571 Giancarlo
7572 \end_layout
7573
7574 \end_inset
7575 </cell>
7576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7577 \begin_inset Text
7578
7579 \begin_layout Standard
7580 111
7581 \end_layout
7582
7583 \end_inset
7584 </cell>
7585 </row>
7586 <row>
7587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7588 \begin_inset Text
7589
7590 \begin_layout Standard
7591
7592 \series bold
7593 Malfatti
7594 \end_layout
7595
7596 \end_inset
7597 </cell>
7598 <cell alignment="center" valignment="top" topline="true" usebox="none">
7599 \begin_inset Text
7600
7601 \begin_layout Standard
7602 Luciano
7603 \end_layout
7604
7605 \end_inset
7606 </cell>
7607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7608 \begin_inset Text
7609
7610 \begin_layout Standard
7611 111
7612 \end_layout
7613
7614 \end_inset
7615 </cell>
7616 </row>
7617 <row>
7618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7619 \begin_inset Text
7620
7621 \begin_layout Standard
7622
7623 \series bold
7624 Malfatti
7625 \end_layout
7626
7627 \end_inset
7628 </cell>
7629 <cell alignment="center" valignment="top" topline="true" usebox="none">
7630 \begin_inset Text
7631
7632 \begin_layout Standard
7633 Valeriano
7634 \end_layout
7635
7636 \end_inset
7637 </cell>
7638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7639 \begin_inset Text
7640
7641 \begin_layout Standard
7642 111
7643 \end_layout
7644
7645 \end_inset
7646 </cell>
7647 </row>
7648 <row>
7649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7650 \begin_inset Text
7651
7652 \begin_layout Standard
7653
7654 \series bold
7655 Meneguzzo
7656 \end_layout
7657
7658 \end_inset
7659 </cell>
7660 <cell alignment="center" valignment="top" topline="true" usebox="none">
7661 \begin_inset Text
7662
7663 \begin_layout Standard
7664 Roberto
7665 \end_layout
7666
7667 \end_inset
7668 </cell>
7669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7670 \begin_inset Text
7671
7672 \begin_layout Standard
7673 111
7674 \end_layout
7675
7676 \end_inset
7677 </cell>
7678 </row>
7679 <row>
7680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7681 \begin_inset Text
7682
7683 \begin_layout Standard
7684
7685 \series bold
7686 Mezzadra
7687 \end_layout
7688
7689 \end_inset
7690 </cell>
7691 <cell alignment="center" valignment="top" topline="true" usebox="none">
7692 \begin_inset Text
7693
7694 \begin_layout Standard
7695 Roberto
7696 \end_layout
7697
7698 \end_inset
7699 </cell>
7700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7701 \begin_inset Text
7702
7703 \begin_layout Standard
7704 111
7705 \end_layout
7706
7707 \end_inset
7708 </cell>
7709 </row>
7710 <row>
7711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7712 \begin_inset Text
7713
7714 \begin_layout Standard
7715
7716 \series bold
7717 Pirpamer
7718 \end_layout
7719
7720 \end_inset
7721 </cell>
7722 <cell alignment="center" valignment="top" topline="true" usebox="none">
7723 \begin_inset Text
7724
7725 \begin_layout Standard
7726 Erich
7727 \end_layout
7728
7729 \end_inset
7730 </cell>
7731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7732 \begin_inset Text
7733
7734 \begin_layout Standard
7735 111
7736 \end_layout
7737
7738 \end_inset
7739 </cell>
7740 </row>
7741 <row>
7742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7743 \begin_inset Text
7744
7745 \begin_layout Standard
7746
7747 \series bold
7748 Pochiesa
7749 \end_layout
7750
7751 \end_inset
7752 </cell>
7753 <cell alignment="center" valignment="top" topline="true" usebox="none">
7754 \begin_inset Text
7755
7756 \begin_layout Standard
7757 Paolo
7758 \end_layout
7759
7760 \end_inset
7761 </cell>
7762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7763 \begin_inset Text
7764
7765 \begin_layout Standard
7766 111, 222
7767 \end_layout
7768
7769 \end_inset
7770 </cell>
7771 </row>
7772 <row>
7773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7774 \begin_inset Text
7775
7776 \begin_layout Standard
7777
7778 \series bold
7779 Radina
7780 \end_layout
7781
7782 \end_inset
7783 </cell>
7784 <cell alignment="center" valignment="top" topline="true" usebox="none">
7785 \begin_inset Text
7786
7787 \begin_layout Standard
7788 Claudio
7789 \end_layout
7790
7791 \end_inset
7792 </cell>
7793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7794 \begin_inset Text
7795
7796 \begin_layout Standard
7797 111
7798 \end_layout
7799
7800 \end_inset
7801 </cell>
7802 </row>
7803 <row>
7804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7805 \begin_inset Text
7806
7807 \begin_layout Standard
7808
7809 \series bold
7810 Stuffer
7811 \end_layout
7812
7813 \end_inset
7814 </cell>
7815 <cell alignment="center" valignment="top" topline="true" usebox="none">
7816 \begin_inset Text
7817
7818 \begin_layout Standard
7819 Oskar
7820 \end_layout
7821
7822 \end_inset
7823 </cell>
7824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7825 \begin_inset Text
7826
7827 \begin_layout Standard
7828 111
7829 \end_layout
7830
7831 \end_inset
7832 </cell>
7833 </row>
7834 <row>
7835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7836 \begin_inset Text
7837
7838 \begin_layout Standard
7839
7840 \series bold
7841 Tacchelli
7842 \end_layout
7843
7844 \end_inset
7845 </cell>
7846 <cell alignment="center" valignment="top" topline="true" usebox="none">
7847 \begin_inset Text
7848
7849 \begin_layout Standard
7850 Ugo
7851 \end_layout
7852
7853 \end_inset
7854 </cell>
7855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7856 \begin_inset Text
7857
7858 \begin_layout Standard
7859 111
7860 \end_layout
7861
7862 \end_inset
7863 </cell>
7864 </row>
7865 <row>
7866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7867 \begin_inset Text
7868
7869 \begin_layout Standard
7870
7871 \series bold
7872 Tezzele
7873 \end_layout
7874
7875 \end_inset
7876 </cell>
7877 <cell alignment="center" valignment="top" topline="true" usebox="none">
7878 \begin_inset Text
7879
7880 \begin_layout Standard
7881 Margit
7882 \end_layout
7883
7884 \end_inset
7885 </cell>
7886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7887 \begin_inset Text
7888
7889 \begin_layout Standard
7890 111
7891 \end_layout
7892
7893 \end_inset
7894 </cell>
7895 </row>
7896 <row>
7897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7898 \begin_inset Text
7899
7900 \begin_layout Standard
7901
7902 \series bold
7903 Unterkalmsteiner
7904 \end_layout
7905
7906 \end_inset
7907 </cell>
7908 <cell alignment="center" valignment="top" topline="true" usebox="none">
7909 \begin_inset Text
7910
7911 \begin_layout Standard
7912 Frieda
7913 \end_layout
7914
7915 \end_inset
7916 </cell>
7917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7918 \begin_inset Text
7919
7920 \begin_layout Standard
7921 111
7922 \end_layout
7923
7924 \end_inset
7925 </cell>
7926 </row>
7927 <row>
7928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7929 \begin_inset Text
7930
7931 \begin_layout Standard
7932
7933 \series bold
7934 Vieider
7935 \end_layout
7936
7937 \end_inset
7938 </cell>
7939 <cell alignment="center" valignment="top" topline="true" usebox="none">
7940 \begin_inset Text
7941
7942 \begin_layout Standard
7943 Hilde
7944 \end_layout
7945
7946 \end_inset
7947 </cell>
7948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7949 \begin_inset Text
7950
7951 \begin_layout Standard
7952 111
7953 \end_layout
7954
7955 \end_inset
7956 </cell>
7957 </row>
7958 <row>
7959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7960 \begin_inset Text
7961
7962 \begin_layout Standard
7963
7964 \series bold
7965 Vigna
7966 \end_layout
7967
7968 \end_inset
7969 </cell>
7970 <cell alignment="center" valignment="top" topline="true" usebox="none">
7971 \begin_inset Text
7972
7973 \begin_layout Standard
7974 Jürgen
7975 \end_layout
7976
7977 \end_inset
7978 </cell>
7979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7980 \begin_inset Text
7981
7982 \begin_layout Standard
7983 111
7984 \end_layout
7985
7986 \end_inset
7987 </cell>
7988 </row>
7989 <row>
7990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7991 \begin_inset Text
7992
7993 \begin_layout Standard
7994
7995 \series bold
7996 Weber
7997 \end_layout
7998
7999 \end_inset
8000 </cell>
8001 <cell alignment="center" valignment="top" topline="true" usebox="none">
8002 \begin_inset Text
8003
8004 \begin_layout Standard
8005 Maurizio
8006 \end_layout
8007
8008 \end_inset
8009 </cell>
8010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8011 \begin_inset Text
8012
8013 \begin_layout Standard
8014 111
8015 \end_layout
8016
8017 \end_inset
8018 </cell>
8019 </row>
8020 <row bottomline="true">
8021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8022 \begin_inset Text
8023
8024 \begin_layout Standard
8025
8026 \series bold
8027 Winkler
8028 \end_layout
8029
8030 \end_inset
8031 </cell>
8032 <cell alignment="center" valignment="top" topline="true" usebox="none">
8033 \begin_inset Text
8034
8035 \begin_layout Standard
8036 Franz
8037 \end_layout
8038
8039 \end_inset
8040 </cell>
8041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8042 \begin_inset Text
8043
8044 \begin_layout Standard
8045 111
8046 \end_layout
8047
8048 \end_inset
8049 </cell>
8050 </row>
8051 <row bottomline="true">
8052 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8053 \begin_inset Text
8054
8055 \begin_layout Standard
8056  
8057 \end_layout
8058
8059 \end_inset
8060 </cell>
8061 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8062 \begin_inset Text
8063
8064 \begin_layout Standard
8065
8066 \end_layout
8067
8068 \end_inset
8069 </cell>
8070 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8071 \begin_inset Text
8072
8073 \begin_layout Standard
8074
8075 \end_layout
8076
8077 \end_inset
8078 </cell>
8079 </row>
8080 <row>
8081 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8082 \begin_inset Text
8083
8084 \begin_layout Standard
8085
8086 \series bold
8087 Annovi
8088 \end_layout
8089
8090 \end_inset
8091 </cell>
8092 <cell alignment="center" valignment="top" topline="true" usebox="none">
8093 \begin_inset Text
8094
8095 \begin_layout Standard
8096 Silvia
8097 \end_layout
8098
8099 \end_inset
8100 </cell>
8101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8102 \begin_inset Text
8103
8104 \begin_layout Standard
8105 555
8106 \end_layout
8107
8108 \end_inset
8109 </cell>
8110 </row>
8111 <row>
8112 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8113 \begin_inset Text
8114
8115 \begin_layout Standard
8116
8117 \series bold
8118 Bertoli
8119 \end_layout
8120
8121 \end_inset
8122 </cell>
8123 <cell alignment="center" valignment="top" topline="true" usebox="none">
8124 \begin_inset Text
8125
8126 \begin_layout Standard
8127 Stefano
8128 \end_layout
8129
8130 \end_inset
8131 </cell>
8132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8133 \begin_inset Text
8134
8135 \begin_layout Standard
8136 555
8137 \end_layout
8138
8139 \end_inset
8140 </cell>
8141 </row>
8142 <row>
8143 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8144 \begin_inset Text
8145
8146 \begin_layout Standard
8147
8148 \series bold
8149 Bozzi
8150 \end_layout
8151
8152 \end_inset
8153 </cell>
8154 <cell alignment="center" valignment="top" topline="true" usebox="none">
8155 \begin_inset Text
8156
8157 \begin_layout Standard
8158 Walter
8159 \end_layout
8160
8161 \end_inset
8162 </cell>
8163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8164 \begin_inset Text
8165
8166 \begin_layout Standard
8167 555
8168 \end_layout
8169
8170 \end_inset
8171 </cell>
8172 </row>
8173 <row>
8174 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8175 \begin_inset Text
8176
8177 \begin_layout Standard
8178
8179 \series bold
8180 Cachia
8181 \end_layout
8182
8183 \end_inset
8184 </cell>
8185 <cell alignment="center" valignment="top" topline="true" usebox="none">
8186 \begin_inset Text
8187
8188 \begin_layout Standard
8189 Maria
8190 \end_layout
8191
8192 \end_inset
8193 </cell>
8194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8195 \begin_inset Text
8196
8197 \begin_layout Standard
8198 555
8199 \end_layout
8200
8201 \end_inset
8202 </cell>
8203 </row>
8204 <row>
8205 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8206 \begin_inset Text
8207
8208 \begin_layout Standard
8209
8210 \series bold
8211 Cachia
8212 \end_layout
8213
8214 \end_inset
8215 </cell>
8216 <cell alignment="center" valignment="top" topline="true" usebox="none">
8217 \begin_inset Text
8218
8219 \begin_layout Standard
8220 Maurizio
8221 \end_layout
8222
8223 \end_inset
8224 </cell>
8225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8226 \begin_inset Text
8227
8228 \begin_layout Standard
8229 555
8230 \end_layout
8231
8232 \end_inset
8233 </cell>
8234 </row>
8235 <row>
8236 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8237 \begin_inset Text
8238
8239 \begin_layout Standard
8240
8241 \series bold
8242 Cinquemani
8243 \end_layout
8244
8245 \end_inset
8246 </cell>
8247 <cell alignment="center" valignment="top" topline="true" usebox="none">
8248 \begin_inset Text
8249
8250 \begin_layout Standard
8251 Giusi
8252 \end_layout
8253
8254 \end_inset
8255 </cell>
8256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8257 \begin_inset Text
8258
8259 \begin_layout Standard
8260 555
8261 \end_layout
8262
8263 \end_inset
8264 </cell>
8265 </row>
8266 <row>
8267 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8268 \begin_inset Text
8269
8270 \begin_layout Standard
8271
8272 \series bold
8273 Colin
8274 \end_layout
8275
8276 \end_inset
8277 </cell>
8278 <cell alignment="center" valignment="top" topline="true" usebox="none">
8279 \begin_inset Text
8280
8281 \begin_layout Standard
8282 Bernard
8283 \end_layout
8284
8285 \end_inset
8286 </cell>
8287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8288 \begin_inset Text
8289
8290 \begin_layout Standard
8291 555
8292 \end_layout
8293
8294 \end_inset
8295 </cell>
8296 </row>
8297 <row>
8298 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8299 \begin_inset Text
8300
8301 \begin_layout Standard
8302
8303 \series bold
8304 Concli
8305 \end_layout
8306
8307 \end_inset
8308 </cell>
8309 <cell alignment="center" valignment="top" topline="true" usebox="none">
8310 \begin_inset Text
8311
8312 \begin_layout Standard
8313 Gianfranco
8314 \end_layout
8315
8316 \end_inset
8317 </cell>
8318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8319 \begin_inset Text
8320
8321 \begin_layout Standard
8322 555
8323 \end_layout
8324
8325 \end_inset
8326 </cell>
8327 </row>
8328 <row>
8329 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8330 \begin_inset Text
8331
8332 \begin_layout Standard
8333
8334 \series bold
8335 Dal Bosco
8336 \end_layout
8337
8338 \end_inset
8339 </cell>
8340 <cell alignment="center" valignment="top" topline="true" usebox="none">
8341 \begin_inset Text
8342
8343 \begin_layout Standard
8344 Carolina
8345 \end_layout
8346
8347 \end_inset
8348 </cell>
8349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8350 \begin_inset Text
8351
8352 \begin_layout Standard
8353 555
8354 \end_layout
8355
8356 \end_inset
8357 </cell>
8358 </row>
8359 <row>
8360 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8361 \begin_inset Text
8362
8363 \begin_layout Standard
8364
8365 \series bold
8366 Dalpiaz
8367 \end_layout
8368
8369 \end_inset
8370 </cell>
8371 <cell alignment="center" valignment="top" topline="true" usebox="none">
8372 \begin_inset Text
8373
8374 \begin_layout Standard
8375 Annamaria
8376 \end_layout
8377
8378 \end_inset
8379 </cell>
8380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8381 \begin_inset Text
8382
8383 \begin_layout Standard
8384 555
8385 \end_layout
8386
8387 \end_inset
8388 </cell>
8389 </row>
8390 <row>
8391 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8392 \begin_inset Text
8393
8394 \begin_layout Standard
8395
8396 \series bold
8397 Feliciello
8398 \end_layout
8399
8400 \end_inset
8401 </cell>
8402 <cell alignment="center" valignment="top" topline="true" usebox="none">
8403 \begin_inset Text
8404
8405 \begin_layout Standard
8406 Domenico
8407 \end_layout
8408
8409 \end_inset
8410 </cell>
8411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8412 \begin_inset Text
8413
8414 \begin_layout Standard
8415 555
8416 \end_layout
8417
8418 \end_inset
8419 </cell>
8420 </row>
8421 <row>
8422 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8423 \begin_inset Text
8424
8425 \begin_layout Standard
8426
8427 \series bold
8428 Focarelli
8429 \end_layout
8430
8431 \end_inset
8432 </cell>
8433 <cell alignment="center" valignment="top" topline="true" usebox="none">
8434 \begin_inset Text
8435
8436 \begin_layout Standard
8437 Paola
8438 \end_layout
8439
8440 \end_inset
8441 </cell>
8442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8443 \begin_inset Text
8444
8445 \begin_layout Standard
8446 555
8447 \end_layout
8448
8449 \end_inset
8450 </cell>
8451 </row>
8452 <row>
8453 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8454 \begin_inset Text
8455
8456 \begin_layout Standard
8457
8458 \series bold
8459 Galletti
8460 \end_layout
8461
8462 \end_inset
8463 </cell>
8464 <cell alignment="center" valignment="top" topline="true" usebox="none">
8465 \begin_inset Text
8466
8467 \begin_layout Standard
8468 Oreste
8469 \end_layout
8470
8471 \end_inset
8472 </cell>
8473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8474 \begin_inset Text
8475
8476 \begin_layout Standard
8477 555
8478 \end_layout
8479
8480 \end_inset
8481 </cell>
8482 </row>
8483 <row>
8484 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8485 \begin_inset Text
8486
8487 \begin_layout Standard
8488
8489 \series bold
8490 Gasparini
8491 \end_layout
8492
8493 \end_inset
8494 </cell>
8495 <cell alignment="center" valignment="top" topline="true" usebox="none">
8496 \begin_inset Text
8497
8498 \begin_layout Standard
8499 Franca
8500 \end_layout
8501
8502 \end_inset
8503 </cell>
8504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Standard
8508 555
8509 \end_layout
8510
8511 \end_inset
8512 </cell>
8513 </row>
8514 <row>
8515 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8516 \begin_inset Text
8517
8518 \begin_layout Standard
8519
8520 \series bold
8521 Rizzardi
8522 \end_layout
8523
8524 \end_inset
8525 </cell>
8526 <cell alignment="center" valignment="top" topline="true" usebox="none">
8527 \begin_inset Text
8528
8529 \begin_layout Standard
8530 Paola
8531 \end_layout
8532
8533 \end_inset
8534 </cell>
8535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Standard
8539 555
8540 \end_layout
8541
8542 \end_inset
8543 </cell>
8544 </row>
8545 <row>
8546 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8547 \begin_inset Text
8548
8549 \begin_layout Standard
8550
8551 \series bold
8552 Lassini
8553 \end_layout
8554
8555 \end_inset
8556 </cell>
8557 <cell alignment="center" valignment="top" topline="true" usebox="none">
8558 \begin_inset Text
8559
8560 \begin_layout Standard
8561 Giancarlo
8562 \end_layout
8563
8564 \end_inset
8565 </cell>
8566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Standard
8570 555
8571 \end_layout
8572
8573 \end_inset
8574 </cell>
8575 </row>
8576 <row>
8577 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8578 \begin_inset Text
8579
8580 \begin_layout Standard
8581
8582 \series bold
8583 Malfatti
8584 \end_layout
8585
8586 \end_inset
8587 </cell>
8588 <cell alignment="center" valignment="top" topline="true" usebox="none">
8589 \begin_inset Text
8590
8591 \begin_layout Standard
8592 Luciano
8593 \end_layout
8594
8595 \end_inset
8596 </cell>
8597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Standard
8601 555
8602 \end_layout
8603
8604 \end_inset
8605 </cell>
8606 </row>
8607 <row>
8608 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Standard
8612
8613 \series bold
8614 Malfatti
8615 \end_layout
8616
8617 \end_inset
8618 </cell>
8619 <cell alignment="center" valignment="top" topline="true" usebox="none">
8620 \begin_inset Text
8621
8622 \begin_layout Standard
8623 Valeriano
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Standard
8632 555
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 </row>
8638 <row>
8639 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Standard
8643
8644 \series bold
8645 Meneguzzo
8646 \end_layout
8647
8648 \end_inset
8649 </cell>
8650 <cell alignment="center" valignment="top" topline="true" usebox="none">
8651 \begin_inset Text
8652
8653 \begin_layout Standard
8654 Roberto
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Standard
8663 555
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 </row>
8669 <row bottomline="true">
8670 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Standard
8674
8675 \series bold
8676 Mezzadra
8677 \end_layout
8678
8679 \end_inset
8680 </cell>
8681 <cell alignment="center" valignment="top" topline="true" usebox="none">
8682 \begin_inset Text
8683
8684 \begin_layout Standard
8685 Roberto
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Standard
8694 555
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 </row>
8700 <row bottomline="true" endlastfoot="true">
8701 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8702 \begin_inset Text
8703
8704 \begin_layout Standard
8705
8706 \end_layout
8707
8708 \end_inset
8709 </cell>
8710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Standard
8714
8715 \end_layout
8716
8717 \end_inset
8718 </cell>
8719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8720 \begin_inset Text
8721
8722 \begin_layout Standard
8723
8724 \end_layout
8725
8726 \end_inset
8727 </cell>
8728 </row>
8729 </lyxtabular>
8730
8731 \end_inset
8732
8733
8734 \end_layout
8735
8736 \begin_layout Section
8737 Special Longtable Issues
8738 \begin_inset LatexCommand label
8739 name "sec:Special-Longtable-Issues"
8740
8741 \end_inset
8742
8743
8744 \end_layout
8745
8746 \begin_layout Subsection
8747 Longtable Calculation
8748 \begin_inset LatexCommand index
8749 name "Longtables ! Calculation"
8750
8751 \end_inset
8752
8753
8754 \end_layout
8755
8756 \begin_layout Standard
8757 LaTeX calculates the height of table pages and their page breaks using so
8758  called chunks.
8759  Chunks are pieces of the tables that are at once in LaTeX's memory.
8760  The default value is historically set to only 20 table rows.
8761  If you are using longtables with many pages this may slow down the creation
8762  of your document.
8763  You can safely increase the chunk size to values of 100-1000 by adding
8764  this command line to your document preamble:
8765 \end_layout
8766
8767 \begin_layout Standard
8768
8769 \series bold
8770
8771 \backslash
8772 setcounter{LTchunksize}{100}
8773 \end_layout
8774
8775 \begin_layout Subsection
8776 Floats and Longtables
8777 \begin_inset LatexCommand index
8778 name "Longtables ! Floats"
8779
8780 \end_inset
8781
8782
8783 \end_layout
8784
8785 \begin_layout Standard
8786 There might be problems when a float appears on the same page where a longtable
8787  starts.
8788  To avoid such situation, add the command 
8789 \series bold
8790
8791 \backslash
8792 clearpage
8793 \series default
8794  as TeX-Code before your longtable.
8795 \end_layout
8796
8797 \begin_layout Subsection
8798 Forced Page Breaks
8799 \begin_inset LatexCommand index
8800 name "Longtables ! Forced Page Breaks"
8801
8802 \end_inset
8803
8804
8805 \end_layout
8806
8807 \begin_layout Standard
8808 By default tables are only broken between rows.
8809  If you have a cell with multiples lines and want to have a page break within
8810  the cell, insert the new line command 
8811 \begin_inset Quotes eld
8812 \end_inset
8813
8814
8815 \series bold
8816
8817 \backslash
8818
8819 \backslash
8820
8821 \series default
8822
8823 \begin_inset Quotes erd
8824 \end_inset
8825
8826  as TeX-Code at this point of the cell where it should be broken.
8827  Before the 
8828 \series bold
8829
8830 \backslash
8831
8832 \backslash
8833
8834 \series default
8835  command you have to insert in TeX-Code so many 
8836 \begin_inset Quotes eld
8837 \end_inset
8838
8839
8840 \series bold
8841 &
8842 \series default
8843
8844 \begin_inset Quotes erd
8845 \end_inset
8846
8847  characters like the number of the following table columns.
8848  The 
8849 \series bold
8850 &
8851 \series default
8852  is the character to separate table cells.
8853  Write in TeX-Code after each 
8854 \series bold
8855 &
8856 \series default
8857  the content of the corresponding following cell and delete the content
8858  of these cells.
8859 \newline
8860 Behind the the 
8861 \series bold
8862
8863 \backslash
8864
8865 \backslash
8866
8867 \series default
8868  command, insert so many 
8869 \series bold
8870 &
8871 \series default
8872  characters like the number of table columns before the current column.
8873  In Table\InsetSpace ~
8874
8875 \begin_inset LatexCommand ref
8876 reference "tab:ForcedPagebreak"
8877
8878 \end_inset
8879
8880  the cell that should be broken is in the second column followed by another
8881  column.
8882  Therefore the following command was inserted in the cell as TeX-Code behind
8883  
8884 \begin_inset Quotes eld
8885 \end_inset
8886
8887
8888 \emph on
8889 Castelchiodato,
8890 \emph default
8891
8892 \begin_inset Quotes erd
8893 \end_inset
8894
8895 :
8896 \end_layout
8897
8898 \begin_layout Standard
8899
8900 \series bold
8901 & 111
8902 \backslash
8903
8904 \backslash
8905
8906 \newline
8907 &
8908 \end_layout
8909
8910 \begin_layout Standard
8911 The 
8912 \begin_inset Quotes eld
8913 \end_inset
8914
8915 111
8916 \begin_inset Quotes erd
8917 \end_inset
8918
8919  in the third columns of the row was deleted.
8920  If your footer row of the longtable has for a certain reason no upper line
8921  but you would have a horizontal line where the cell is broken, use this
8922  command instead:
8923 \end_layout
8924
8925 \begin_layout Standard
8926
8927 \series bold
8928 & 111
8929 \backslash
8930
8931 \backslash
8932
8933 \newline
8934
8935 \backslash
8936 hline &
8937 \end_layout
8938
8939 \begin_layout Standard
8940 When the cell to be broken is in the last column, the command
8941 \end_layout
8942
8943 \begin_layout Standard
8944
8945 \series bold
8946
8947 \backslash
8948 setlength{
8949 \backslash
8950 parf\SpecialChar \textcompwordmark{}
8951 illskip}{0pt}
8952 \end_layout
8953
8954 \begin_layout Standard
8955 must be inserted as TeX-Code at the beginning of the cell.
8956  This assures that the part of the cell that will be displayed on the new
8957  page appears with the full width.
8958 \end_layout
8959
8960 \begin_layout Standard
8961 \align center
8962 \begin_inset Tabular
8963 <lyxtabular version="3" rows="39" columns="3">
8964 <features islongtable="true">
8965 <column alignment="left" valignment="top" leftline="true" width="0cm">
8966 <column alignment="left" valignment="top" rightline="true" width="3cm">
8967 <column alignment="right" valignment="top" rightline="true" width="0pt">
8968 <row endfirsthead="true">
8969 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8970 \begin_inset Text
8971
8972 \begin_layout Standard
8973 \begin_inset Caption
8974
8975 \begin_layout Standard
8976 Table with forced page break in table cell
8977 \begin_inset LatexCommand label
8978 name "tab:ForcedPagebreak"
8979
8980 \end_inset
8981
8982
8983 \begin_inset OptArg
8984 status collapsed
8985
8986 \begin_layout Standard
8987 Table with forced page break in table cell
8988 \end_layout
8989
8990 \end_inset
8991
8992
8993 \end_layout
8994
8995 \end_inset
8996
8997
8998 \begin_inset ERT
8999 status collapsed
9000
9001 \begin_layout Standard
9002
9003
9004 \backslash
9005
9006 \backslash
9007 %
9008 \end_layout
9009
9010 \end_inset
9011
9012
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Standard
9021
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9027 \begin_inset Text
9028
9029 \begin_layout Standard
9030
9031 \end_layout
9032
9033 \end_inset
9034 </cell>
9035 </row>
9036 <row topline="true" bottomline="true" endfirsthead="true">
9037 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9038 \begin_inset Text
9039
9040 \begin_layout Standard
9041
9042 \series bold
9043 Example Phone List (ignore the names)
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Standard
9052
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9058 \begin_inset Text
9059
9060 \begin_layout Standard
9061
9062 \end_layout
9063
9064 \end_inset
9065 </cell>
9066 </row>
9067 <row topline="true" bottomline="true" endfirsthead="true">
9068 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9069 \begin_inset Text
9070
9071 \begin_layout Standard
9072
9073 \series bold
9074 NAME
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Standard
9083
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9089 \begin_inset Text
9090
9091 \begin_layout Standard
9092
9093 \series bold
9094 TEL.
9095 \end_layout
9096
9097 \end_inset
9098 </cell>
9099 </row>
9100 <row bottomline="true" endhead="true">
9101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Standard
9105 \begin_inset ERT
9106 status collapsed
9107
9108 \begin_layout Standard
9109
9110
9111 \backslash
9112 caption*{Continued table with forced page break in table cell}
9113 \backslash
9114
9115 \backslash
9116 %
9117 \end_layout
9118
9119 \end_inset
9120
9121
9122 \end_layout
9123
9124 \end_inset
9125 </cell>
9126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9127 \begin_inset Text
9128
9129 \begin_layout Standard
9130
9131 \end_layout
9132
9133 \end_inset
9134 </cell>
9135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9136 \begin_inset Text
9137
9138 \begin_layout Standard
9139
9140 \end_layout
9141
9142 \end_inset
9143 </cell>
9144 </row>
9145 <row topline="true" bottomline="true" endhead="true">
9146 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9147 \begin_inset Text
9148
9149 \begin_layout Standard
9150  
9151 \series bold
9152 Example Phone List
9153 \end_layout
9154
9155 \end_inset
9156 </cell>
9157 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9158 \begin_inset Text
9159
9160 \begin_layout Standard
9161
9162 \end_layout
9163
9164 \end_inset
9165 </cell>
9166 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9167 \begin_inset Text
9168
9169 \begin_layout Standard
9170
9171 \end_layout
9172
9173 \end_inset
9174 </cell>
9175 </row>
9176 <row topline="true" bottomline="true" endhead="true">
9177 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9178 \begin_inset Text
9179
9180 \begin_layout Standard
9181
9182 \series bold
9183 NAME
9184 \end_layout
9185
9186 \end_inset
9187 </cell>
9188 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9189 \begin_inset Text
9190
9191 \begin_layout Standard
9192
9193 \end_layout
9194
9195 \end_inset
9196 </cell>
9197 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9198 \begin_inset Text
9199
9200 \begin_layout Standard
9201
9202 \series bold
9203 TEL.
9204 \end_layout
9205
9206 \end_inset
9207 </cell>
9208 </row>
9209 <row topline="true" bottomline="true" endfoot="true">
9210 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Standard
9214 continued on next page
9215 \end_layout
9216
9217 \end_inset
9218 </cell>
9219 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9220 \begin_inset Text
9221
9222 \begin_layout Standard
9223
9224 \end_layout
9225
9226 \end_inset
9227 </cell>
9228 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9229 \begin_inset Text
9230
9231 \begin_layout Standard
9232
9233 \end_layout
9234
9235 \end_inset
9236 </cell>
9237 </row>
9238 <row>
9239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9240 \begin_inset Text
9241
9242 \begin_layout Standard
9243
9244 \series bold
9245 Annovi
9246 \end_layout
9247
9248 \end_inset
9249 </cell>
9250 <cell alignment="center" valignment="top" topline="true" usebox="none">
9251 \begin_inset Text
9252
9253 \begin_layout Standard
9254 Silvia
9255 \end_layout
9256
9257 \end_inset
9258 </cell>
9259 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9260 \begin_inset Text
9261
9262 \begin_layout Standard
9263 111
9264 \end_layout
9265
9266 \end_inset
9267 </cell>
9268 </row>
9269 <row>
9270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9271 \begin_inset Text
9272
9273 \begin_layout Standard
9274
9275 \series bold
9276 Bertoli
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 <cell alignment="center" valignment="top" topline="true" usebox="none">
9282 \begin_inset Text
9283
9284 \begin_layout Standard
9285 Stefano
9286 \end_layout
9287
9288 \end_inset
9289 </cell>
9290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9291 \begin_inset Text
9292
9293 \begin_layout Standard
9294 111
9295 \end_layout
9296
9297 \end_inset
9298 </cell>
9299 </row>
9300 <row>
9301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9302 \begin_inset Text
9303
9304 \begin_layout Standard
9305
9306 \series bold
9307 Bozzi
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 <cell alignment="center" valignment="top" topline="true" usebox="none">
9313 \begin_inset Text
9314
9315 \begin_layout Standard
9316 Walter
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9322 \begin_inset Text
9323
9324 \begin_layout Standard
9325 111
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 </row>
9331 <row>
9332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9333 \begin_inset Text
9334
9335 \begin_layout Standard
9336
9337 \series bold
9338 Cachia
9339 \end_layout
9340
9341 \end_inset
9342 </cell>
9343 <cell alignment="center" valignment="top" topline="true" usebox="none">
9344 \begin_inset Text
9345
9346 \begin_layout Standard
9347 Maria
9348 \end_layout
9349
9350 \end_inset
9351 </cell>
9352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9353 \begin_inset Text
9354
9355 \begin_layout Standard
9356 111
9357 \end_layout
9358
9359 \end_inset
9360 </cell>
9361 </row>
9362 <row>
9363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9364 \begin_inset Text
9365
9366 \begin_layout Standard
9367
9368 \series bold
9369 Cachia
9370 \end_layout
9371
9372 \end_inset
9373 </cell>
9374 <cell alignment="center" valignment="top" topline="true" usebox="none">
9375 \begin_inset Text
9376
9377 \begin_layout Standard
9378 Maurizio
9379 \end_layout
9380
9381 \end_inset
9382 </cell>
9383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9384 \begin_inset Text
9385
9386 \begin_layout Standard
9387 111
9388 \end_layout
9389
9390 \end_inset
9391 </cell>
9392 </row>
9393 <row>
9394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9395 \begin_inset Text
9396
9397 \begin_layout Standard
9398
9399 \series bold
9400 Cinquemani
9401 \end_layout
9402
9403 \end_inset
9404 </cell>
9405 <cell alignment="center" valignment="top" topline="true" usebox="none">
9406 \begin_inset Text
9407
9408 \begin_layout Standard
9409 Giusi
9410 \end_layout
9411
9412 \end_inset
9413 </cell>
9414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9415 \begin_inset Text
9416
9417 \begin_layout Standard
9418 111
9419 \end_layout
9420
9421 \end_inset
9422 </cell>
9423 </row>
9424 <row>
9425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9426 \begin_inset Text
9427
9428 \begin_layout Standard
9429
9430 \series bold
9431 Colin
9432 \end_layout
9433
9434 \end_inset
9435 </cell>
9436 <cell alignment="center" valignment="top" topline="true" usebox="none">
9437 \begin_inset Text
9438
9439 \begin_layout Standard
9440 Bernard
9441 \end_layout
9442
9443 \end_inset
9444 </cell>
9445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9446 \begin_inset Text
9447
9448 \begin_layout Standard
9449 111
9450 \end_layout
9451
9452 \end_inset
9453 </cell>
9454 </row>
9455 <row>
9456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9457 \begin_inset Text
9458
9459 \begin_layout Standard
9460
9461 \series bold
9462 Concli
9463 \end_layout
9464
9465 \end_inset
9466 </cell>
9467 <cell alignment="center" valignment="top" topline="true" usebox="none">
9468 \begin_inset Text
9469
9470 \begin_layout Standard
9471 Gianfranco
9472 \end_layout
9473
9474 \end_inset
9475 </cell>
9476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9477 \begin_inset Text
9478
9479 \begin_layout Standard
9480 111
9481 \end_layout
9482
9483 \end_inset
9484 </cell>
9485 </row>
9486 <row>
9487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9488 \begin_inset Text
9489
9490 \begin_layout Standard
9491
9492 \series bold
9493 Dal Bosco
9494 \end_layout
9495
9496 \end_inset
9497 </cell>
9498 <cell alignment="center" valignment="top" topline="true" usebox="none">
9499 \begin_inset Text
9500
9501 \begin_layout Standard
9502 Carolina
9503 \end_layout
9504
9505 \end_inset
9506 </cell>
9507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9508 \begin_inset Text
9509
9510 \begin_layout Standard
9511 111
9512 \end_layout
9513
9514 \end_inset
9515 </cell>
9516 </row>
9517 <row>
9518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9519 \begin_inset Text
9520
9521 \begin_layout Standard
9522
9523 \series bold
9524 Dalpiaz
9525 \end_layout
9526
9527 \end_inset
9528 </cell>
9529 <cell alignment="center" valignment="top" topline="true" usebox="none">
9530 \begin_inset Text
9531
9532 \begin_layout Standard
9533 Annamaria
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9539 \begin_inset Text
9540
9541 \begin_layout Standard
9542 111
9543 \end_layout
9544
9545 \end_inset
9546 </cell>
9547 </row>
9548 <row>
9549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9550 \begin_inset Text
9551
9552 \begin_layout Standard
9553
9554 \series bold
9555 Feliciello
9556 \end_layout
9557
9558 \end_inset
9559 </cell>
9560 <cell alignment="center" valignment="top" topline="true" usebox="none">
9561 \begin_inset Text
9562
9563 \begin_layout Standard
9564 Domenico
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9570 \begin_inset Text
9571
9572 \begin_layout Standard
9573 111
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 </row>
9579 <row>
9580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9581 \begin_inset Text
9582
9583 \begin_layout Standard
9584
9585 \series bold
9586 Focarelli
9587 \end_layout
9588
9589 \end_inset
9590 </cell>
9591 <cell alignment="center" valignment="top" topline="true" usebox="none">
9592 \begin_inset Text
9593
9594 \begin_layout Standard
9595 Paola
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9601 \begin_inset Text
9602
9603 \begin_layout Standard
9604 111
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 </row>
9610 <row>
9611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9612 \begin_inset Text
9613
9614 \begin_layout Standard
9615
9616 \series bold
9617 Galletti
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 <cell alignment="center" valignment="top" topline="true" usebox="none">
9623 \begin_inset Text
9624
9625 \begin_layout Standard
9626 Oreste
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9632 \begin_inset Text
9633
9634 \begin_layout Standard
9635 111
9636 \end_layout
9637
9638 \end_inset
9639 </cell>
9640 </row>
9641 <row>
9642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9643 \begin_inset Text
9644
9645 \begin_layout Standard
9646
9647 \series bold
9648 Gasparini
9649 \end_layout
9650
9651 \end_inset
9652 </cell>
9653 <cell alignment="center" valignment="top" topline="true" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Standard
9657 Franca
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9663 \begin_inset Text
9664
9665 \begin_layout Standard
9666 111
9667 \end_layout
9668
9669 \end_inset
9670 </cell>
9671 </row>
9672 <row>
9673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9674 \begin_inset Text
9675
9676 \begin_layout Standard
9677
9678 \series bold
9679 Lassini
9680 \end_layout
9681
9682 \end_inset
9683 </cell>
9684 <cell alignment="center" valignment="top" topline="true" usebox="none">
9685 \begin_inset Text
9686
9687 \begin_layout Standard
9688 Giancarlo
9689 \end_layout
9690
9691 \end_inset
9692 </cell>
9693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9694 \begin_inset Text
9695
9696 \begin_layout Standard
9697 111
9698 \end_layout
9699
9700 \end_inset
9701 </cell>
9702 </row>
9703 <row>
9704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9705 \begin_inset Text
9706
9707 \begin_layout Standard
9708
9709 \series bold
9710 Malfatti
9711 \end_layout
9712
9713 \end_inset
9714 </cell>
9715 <cell alignment="center" valignment="top" topline="true" usebox="none">
9716 \begin_inset Text
9717
9718 \begin_layout Standard
9719 Luciano
9720 \end_layout
9721
9722 \end_inset
9723 </cell>
9724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9725 \begin_inset Text
9726
9727 \begin_layout Standard
9728 111
9729 \end_layout
9730
9731 \end_inset
9732 </cell>
9733 </row>
9734 <row>
9735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9736 \begin_inset Text
9737
9738 \begin_layout Standard
9739
9740 \series bold
9741 Malfatti
9742 \end_layout
9743
9744 \end_inset
9745 </cell>
9746 <cell alignment="center" valignment="top" topline="true" usebox="none">
9747 \begin_inset Text
9748
9749 \begin_layout Standard
9750 Valeriano
9751 \end_layout
9752
9753 \end_inset
9754 </cell>
9755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9756 \begin_inset Text
9757
9758 \begin_layout Standard
9759 111
9760 \end_layout
9761
9762 \end_inset
9763 </cell>
9764 </row>
9765 <row>
9766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9767 \begin_inset Text
9768
9769 \begin_layout Standard
9770
9771 \series bold
9772 Meneguzzo
9773 \end_layout
9774
9775 \end_inset
9776 </cell>
9777 <cell alignment="center" valignment="top" topline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Standard
9781 Roberto
9782 \end_layout
9783
9784 \end_inset
9785 </cell>
9786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9787 \begin_inset Text
9788
9789 \begin_layout Standard
9790 111
9791 \end_layout
9792
9793 \end_inset
9794 </cell>
9795 </row>
9796 <row>
9797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9798 \begin_inset Text
9799
9800 \begin_layout Standard
9801
9802 \series bold
9803 Mezzadra
9804 \end_layout
9805
9806 \end_inset
9807 </cell>
9808 <cell alignment="center" valignment="top" topline="true" usebox="none">
9809 \begin_inset Text
9810
9811 \begin_layout Standard
9812 Roberto
9813 \end_layout
9814
9815 \end_inset
9816 </cell>
9817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9818 \begin_inset Text
9819
9820 \begin_layout Standard
9821 111
9822 \end_layout
9823
9824 \end_inset
9825 </cell>
9826 </row>
9827 <row>
9828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9829 \begin_inset Text
9830
9831 \begin_layout Standard
9832
9833 \series bold
9834 Pirpamer
9835 \end_layout
9836
9837 \end_inset
9838 </cell>
9839 <cell alignment="center" valignment="top" topline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Standard
9843 Erich
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Standard
9852 111
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 </row>
9858 <row>
9859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9860 \begin_inset Text
9861
9862 \begin_layout Standard
9863
9864 \series bold
9865 Pochiesa
9866 \end_layout
9867
9868 \end_inset
9869 </cell>
9870 <cell alignment="center" valignment="top" topline="true" usebox="none">
9871 \begin_inset Text
9872
9873 \begin_layout Standard
9874 Paolo
9875 \end_layout
9876
9877 \end_inset
9878 </cell>
9879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9880 \begin_inset Text
9881
9882 \begin_layout Standard
9883 111, 222
9884 \end_layout
9885
9886 \end_inset
9887 </cell>
9888 </row>
9889 <row>
9890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9891 \begin_inset Text
9892
9893 \begin_layout Standard
9894
9895 \series bold
9896 Radina
9897 \end_layout
9898
9899 \end_inset
9900 </cell>
9901 <cell alignment="center" valignment="top" topline="true" usebox="none">
9902 \begin_inset Text
9903
9904 \begin_layout Standard
9905 Claudio
9906 \end_layout
9907
9908 \end_inset
9909 </cell>
9910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9911 \begin_inset Text
9912
9913 \begin_layout Standard
9914 111
9915 \end_layout
9916
9917 \end_inset
9918 </cell>
9919 </row>
9920 <row>
9921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9922 \begin_inset Text
9923
9924 \begin_layout Standard
9925
9926 \series bold
9927 Rizzardi
9928 \end_layout
9929
9930 \end_inset
9931 </cell>
9932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9933 \begin_inset Text
9934
9935 \begin_layout Standard
9936 Paolo, 11.
9937  Fürst von Montecompatri, 11.
9938  Fürst von Sulmona und Vivaro, 10.
9939  Fürst von Rossano, 5.
9940  Herzog von Canemorte, 11.
9941  Herzog von Palombara, 5.
9942  Herzog von Castelchiodato,
9943 \begin_inset ERT
9944 status collapsed
9945
9946 \begin_layout Standard
9947
9948 & 111
9949 \backslash
9950
9951 \backslash
9952
9953 \end_layout
9954
9955 \begin_layout Standard
9956
9957 &
9958 \end_layout
9959
9960 \end_inset
9961
9962  11.
9963  Herzog von Poggionativo, 11.
9964  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9965  Graf von Valinfreda, 11.
9966  Baron von Cropalati, 11.
9967  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9968 \end_layout
9969
9970 \end_inset
9971 </cell>
9972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9973 \begin_inset Text
9974
9975 \begin_layout Standard
9976
9977 \end_layout
9978
9979 \end_inset
9980 </cell>
9981 </row>
9982 <row>
9983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9984 \begin_inset Text
9985
9986 \begin_layout Standard
9987
9988 \series bold
9989 Stuffer
9990 \end_layout
9991
9992 \end_inset
9993 </cell>
9994 <cell alignment="center" valignment="top" topline="true" usebox="none">
9995 \begin_inset Text
9996
9997 \begin_layout Standard
9998 Oskar
9999 \end_layout
10000
10001 \end_inset
10002 </cell>
10003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10004 \begin_inset Text
10005
10006 \begin_layout Standard
10007 111
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 </row>
10013 <row>
10014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10015 \begin_inset Text
10016
10017 \begin_layout Standard
10018
10019 \series bold
10020 Tacchelli
10021 \end_layout
10022
10023 \end_inset
10024 </cell>
10025 <cell alignment="center" valignment="top" topline="true" usebox="none">
10026 \begin_inset Text
10027
10028 \begin_layout Standard
10029 Ugo
10030 \end_layout
10031
10032 \end_inset
10033 </cell>
10034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10035 \begin_inset Text
10036
10037 \begin_layout Standard
10038 111
10039 \end_layout
10040
10041 \end_inset
10042 </cell>
10043 </row>
10044 <row>
10045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10046 \begin_inset Text
10047
10048 \begin_layout Standard
10049
10050 \series bold
10051 Tezzele
10052 \end_layout
10053
10054 \end_inset
10055 </cell>
10056 <cell alignment="center" valignment="top" topline="true" usebox="none">
10057 \begin_inset Text
10058
10059 \begin_layout Standard
10060 Margit
10061 \end_layout
10062
10063 \end_inset
10064 </cell>
10065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10066 \begin_inset Text
10067
10068 \begin_layout Standard
10069 111
10070 \end_layout
10071
10072 \end_inset
10073 </cell>
10074 </row>
10075 <row>
10076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10077 \begin_inset Text
10078
10079 \begin_layout Standard
10080
10081 \series bold
10082 Unterkalmsteiner
10083 \end_layout
10084
10085 \end_inset
10086 </cell>
10087 <cell alignment="center" valignment="top" topline="true" usebox="none">
10088 \begin_inset Text
10089
10090 \begin_layout Standard
10091 Frieda
10092 \end_layout
10093
10094 \end_inset
10095 </cell>
10096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10097 \begin_inset Text
10098
10099 \begin_layout Standard
10100 111
10101 \end_layout
10102
10103 \end_inset
10104 </cell>
10105 </row>
10106 <row>
10107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10108 \begin_inset Text
10109
10110 \begin_layout Standard
10111
10112 \series bold
10113 Vieider
10114 \end_layout
10115
10116 \end_inset
10117 </cell>
10118 <cell alignment="center" valignment="top" topline="true" usebox="none">
10119 \begin_inset Text
10120
10121 \begin_layout Standard
10122 Hilde
10123 \end_layout
10124
10125 \end_inset
10126 </cell>
10127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10128 \begin_inset Text
10129
10130 \begin_layout Standard
10131 111
10132 \end_layout
10133
10134 \end_inset
10135 </cell>
10136 </row>
10137 <row>
10138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10139 \begin_inset Text
10140
10141 \begin_layout Standard
10142
10143 \series bold
10144 Vigna
10145 \end_layout
10146
10147 \end_inset
10148 </cell>
10149 <cell alignment="center" valignment="top" topline="true" usebox="none">
10150 \begin_inset Text
10151
10152 \begin_layout Standard
10153 Jürgen
10154 \end_layout
10155
10156 \end_inset
10157 </cell>
10158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10159 \begin_inset Text
10160
10161 \begin_layout Standard
10162 111
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 </row>
10168 <row>
10169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10170 \begin_inset Text
10171
10172 \begin_layout Standard
10173
10174 \series bold
10175 Weber
10176 \end_layout
10177
10178 \end_inset
10179 </cell>
10180 <cell alignment="center" valignment="top" topline="true" usebox="none">
10181 \begin_inset Text
10182
10183 \begin_layout Standard
10184 Maurizio
10185 \end_layout
10186
10187 \end_inset
10188 </cell>
10189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10190 \begin_inset Text
10191
10192 \begin_layout Standard
10193 111
10194 \end_layout
10195
10196 \end_inset
10197 </cell>
10198 </row>
10199 <row bottomline="true">
10200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10201 \begin_inset Text
10202
10203 \begin_layout Standard
10204
10205 \series bold
10206 Winkler
10207 \end_layout
10208
10209 \end_inset
10210 </cell>
10211 <cell alignment="center" valignment="top" topline="true" usebox="none">
10212 \begin_inset Text
10213
10214 \begin_layout Standard
10215 Franz
10216 \end_layout
10217
10218 \end_inset
10219 </cell>
10220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10221 \begin_inset Text
10222
10223 \begin_layout Standard
10224 111
10225 \end_layout
10226
10227 \end_inset
10228 </cell>
10229 </row>
10230 <row endlastfoot="true">
10231 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10232 \begin_inset Text
10233
10234 \begin_layout Standard
10235
10236 \end_layout
10237
10238 \end_inset
10239 </cell>
10240 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10241 \begin_inset Text
10242
10243 \begin_layout Standard
10244
10245 \end_layout
10246
10247 \end_inset
10248 </cell>
10249 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10250 \begin_inset Text
10251
10252 \begin_layout Standard
10253
10254 \end_layout
10255
10256 \end_inset
10257 </cell>
10258 </row>
10259 </lyxtabular>
10260
10261 \end_inset
10262
10263
10264 \end_layout
10265
10266 \begin_layout Standard
10267
10268 \newpage
10269
10270 \end_layout
10271
10272 \begin_layout Section
10273 Multiple Lines Columns and Rows
10274 \end_layout
10275
10276 \begin_layout Subsection
10277 Multiple Lines in Table Cells
10278 \begin_inset LatexCommand label
10279 name "sub:Multiple-Lines-in"
10280
10281 \end_inset
10282
10283
10284 \begin_inset LatexCommand index
10285 name "Multiple Lines in Table Cells"
10286
10287 \end_inset
10288
10289
10290 \begin_inset LatexCommand index
10291 name "Table ! Linebreaks"
10292
10293 \end_inset
10294
10295
10296 \end_layout
10297
10298 \begin_layout Standard
10299 \align center
10300 \begin_inset Float table
10301 placement H
10302 wide false
10303 sideways false
10304 status open
10305
10306 \begin_layout Standard
10307 \begin_inset Caption
10308
10309 \begin_layout Standard
10310 \begin_inset LatexCommand label
10311 name "tab:Table-with-multiple"
10312
10313 \end_inset
10314
10315 Table with multiple lines in cells
10316 \end_layout
10317
10318 \end_inset
10319
10320
10321 \end_layout
10322
10323 \begin_layout Standard
10324 \align center
10325 \begin_inset Tabular
10326 <lyxtabular version="3" rows="3" columns="3">
10327 <features>
10328 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10329 <column alignment="center" valignment="middle" leftline="true" width="0">
10330 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10331 <row topline="true">
10332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10333 \begin_inset Text
10334
10335 \begin_layout Standard
10336 multiple
10337 \begin_inset ERT
10338 status collapsed
10339
10340 \begin_layout Standard
10341
10342
10343 \backslash
10344 linebreak 
10345 \end_layout
10346
10347 \end_inset
10348
10349  lines
10350 \end_layout
10351
10352 \end_inset
10353 </cell>
10354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10355 \begin_inset Text
10356
10357 \begin_layout Standard
10358 b
10359 \end_layout
10360
10361 \end_inset
10362 </cell>
10363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10364 \begin_inset Text
10365
10366 \begin_layout Standard
10367 c
10368 \end_layout
10369
10370 \end_inset
10371 </cell>
10372 </row>
10373 <row topline="true">
10374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10375 \begin_inset Text
10376
10377 \begin_layout Standard
10378 d
10379 \end_layout
10380
10381 \end_inset
10382 </cell>
10383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10384 \begin_inset Text
10385
10386 \begin_layout Standard
10387 e
10388 \end_layout
10389
10390 \end_inset
10391 </cell>
10392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10393 \begin_inset Text
10394
10395 \begin_layout Standard
10396 f
10397 \end_layout
10398
10399 \end_inset
10400 </cell>
10401 </row>
10402 <row topline="true" bottomline="true">
10403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10404 \begin_inset Text
10405
10406 \begin_layout Standard
10407 g
10408 \end_layout
10409
10410 \end_inset
10411 </cell>
10412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10413 \begin_inset Text
10414
10415 \begin_layout Standard
10416 h
10417 \end_layout
10418
10419 \end_inset
10420 </cell>
10421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10422 \begin_inset Text
10423
10424 \begin_layout Standard
10425 i
10426 \end_layout
10427
10428 \end_inset
10429 </cell>
10430 </row>
10431 </lyxtabular>
10432
10433 \end_inset
10434
10435
10436 \end_layout
10437
10438 \end_inset
10439
10440
10441 \end_layout
10442
10443 \begin_layout Standard
10444 Adjusting a fixed width for a column, enables to enter text as a paragraph
10445  with multiple lines and hyphenations.
10446 \end_layout
10447
10448 \begin_layout Standard
10449 To produce Table\InsetSpace ~
10450
10451 \begin_inset LatexCommand ref
10452 reference "tab:Table-with-multiple"
10453
10454 \end_inset
10455
10456 , create a 3×3 table, mark the first cell and right-click on it.
10457  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10458 cm and choose centered
10459  for the vertical and horizontal alignment.
10460  The vertical alignment is used for all cells of the row.
10461  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10462 cm, only one line will appear.
10463  To get two lines, we add a line break with the command
10464 \end_layout
10465
10466 \begin_layout Standard
10467
10468 \series bold
10469
10470 \backslash
10471 linebreak
10472 \end_layout
10473
10474 \begin_layout Standard
10475 in TeX-Code.
10476  If the text is wider than the set cell width it will automatically be broken
10477  to several lines.
10478 \end_layout
10479
10480 \begin_layout Standard
10481 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10482  by LaTeX if it is the first entry.
10483  Therefore you need to insert something, to make the word not being the
10484  first entry: Add the command
10485 \end_layout
10486
10487 \begin_layout Standard
10488
10489 \series bold
10490
10491 \backslash
10492 hspace{0pt}
10493 \end_layout
10494
10495 \begin_layout Standard
10496 in TeX-Code before the word.
10497  As the space is zero, it doesn't change the output.
10498  Table\InsetSpace ~
10499
10500 \begin_inset LatexCommand ref
10501 reference "tab:Table-with-and"
10502
10503 \end_inset
10504
10505  shows the effect.
10506 \end_layout
10507
10508 \begin_layout Standard
10509 \begin_inset Float table
10510 placement h
10511 wide false
10512 sideways false
10513 status open
10514
10515 \begin_layout Standard
10516 \begin_inset Caption
10517
10518 \begin_layout Standard
10519 \begin_inset LatexCommand label
10520 name "tab:Table-with-and"
10521
10522 \end_inset
10523
10524 Table with and without hyphenation
10525 \end_layout
10526
10527 \end_inset
10528
10529
10530 \end_layout
10531
10532 \begin_layout Standard
10533
10534 \hfill
10535
10536 \begin_inset Tabular
10537 <lyxtabular version="3" rows="3" columns="3">
10538 <features>
10539 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10540 <column alignment="center" valignment="middle" leftline="true" width="0">
10541 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10542 <row topline="true">
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10544 \begin_inset Text
10545
10546 \begin_layout Standard
10547 verylongtablecellword
10548 \end_layout
10549
10550 \end_inset
10551 </cell>
10552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10553 \begin_inset Text
10554
10555 \begin_layout Standard
10556 b
10557 \end_layout
10558
10559 \end_inset
10560 </cell>
10561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10562 \begin_inset Text
10563
10564 \begin_layout Standard
10565 c
10566 \end_layout
10567
10568 \end_inset
10569 </cell>
10570 </row>
10571 <row topline="true">
10572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10573 \begin_inset Text
10574
10575 \begin_layout Standard
10576 d
10577 \end_layout
10578
10579 \end_inset
10580 </cell>
10581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10582 \begin_inset Text
10583
10584 \begin_layout Standard
10585 e
10586 \end_layout
10587
10588 \end_inset
10589 </cell>
10590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10591 \begin_inset Text
10592
10593 \begin_layout Standard
10594 f
10595 \end_layout
10596
10597 \end_inset
10598 </cell>
10599 </row>
10600 <row topline="true" bottomline="true">
10601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10602 \begin_inset Text
10603
10604 \begin_layout Standard
10605 g
10606 \end_layout
10607
10608 \end_inset
10609 </cell>
10610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10611 \begin_inset Text
10612
10613 \begin_layout Standard
10614 h
10615 \end_layout
10616
10617 \end_inset
10618 </cell>
10619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10620 \begin_inset Text
10621
10622 \begin_layout Standard
10623 i
10624 \end_layout
10625
10626 \end_inset
10627 </cell>
10628 </row>
10629 </lyxtabular>
10630
10631 \end_inset
10632
10633
10634 \hfill
10635
10636 \begin_inset Tabular
10637 <lyxtabular version="3" rows="3" columns="3">
10638 <features>
10639 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10640 <column alignment="center" valignment="middle" leftline="true" width="0">
10641 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10642 <row topline="true">
10643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10644 \begin_inset Text
10645
10646 \begin_layout Standard
10647 \begin_inset ERT
10648 status collapsed
10649
10650 \begin_layout Standard
10651
10652
10653 \backslash
10654 hspace{0pt}
10655 \end_layout
10656
10657 \end_inset
10658
10659 verylongtablecellword
10660 \end_layout
10661
10662 \end_inset
10663 </cell>
10664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10665 \begin_inset Text
10666
10667 \begin_layout Standard
10668 b
10669 \end_layout
10670
10671 \end_inset
10672 </cell>
10673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Standard
10677 c
10678 \end_layout
10679
10680 \end_inset
10681 </cell>
10682 </row>
10683 <row topline="true">
10684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Standard
10688 d
10689 \end_layout
10690
10691 \end_inset
10692 </cell>
10693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10694 \begin_inset Text
10695
10696 \begin_layout Standard
10697 e
10698 \end_layout
10699
10700 \end_inset
10701 </cell>
10702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10703 \begin_inset Text
10704
10705 \begin_layout Standard
10706 f
10707 \end_layout
10708
10709 \end_inset
10710 </cell>
10711 </row>
10712 <row topline="true" bottomline="true">
10713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10714 \begin_inset Text
10715
10716 \begin_layout Standard
10717 g
10718 \end_layout
10719
10720 \end_inset
10721 </cell>
10722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10723 \begin_inset Text
10724
10725 \begin_layout Standard
10726 h
10727 \end_layout
10728
10729 \end_inset
10730 </cell>
10731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10732 \begin_inset Text
10733
10734 \begin_layout Standard
10735 i
10736 \end_layout
10737
10738 \end_inset
10739 </cell>
10740 </row>
10741 </lyxtabular>
10742
10743 \end_inset
10744
10745
10746 \hfill
10747
10748 \end_layout
10749
10750 \end_inset
10751
10752
10753 \end_layout
10754
10755 \begin_layout Standard
10756
10757 \newpage
10758
10759 \end_layout
10760
10761 \begin_layout Subsection
10762 Multicolumns
10763 \begin_inset LatexCommand label
10764 name "sub:Multicolumns"
10765
10766 \end_inset
10767
10768
10769 \begin_inset LatexCommand index
10770 name "Multicolumns"
10771
10772 \end_inset
10773
10774
10775 \begin_inset LatexCommand index
10776 name "Table ! Multicolumns"
10777
10778 \end_inset
10779
10780
10781 \end_layout
10782
10783 \begin_layout Subsubsection
10784 Multicolumn Basics
10785 \end_layout
10786
10787 \begin_layout Standard
10788 To span a cell over multiple columns, mark as much cells within a line that
10789  should be one spanned cell and use either the table-toolbar button 
10790 \begin_inset Graphics
10791         filename ../images/tabular-feature_multicolumn.png
10792         scale 85
10793         scaleBeforeRotation
10794
10795 \end_inset
10796
10797 , or the menu 
10798 \family sans
10799 Edit\SpecialChar \menuseparator
10800 Table\SpecialChar \menuseparator
10801 Multicolumn
10802 \family default
10803 , or right click on the marked cells and choose multicolumn in the appearing
10804  table dialog under the tab 
10805 \family sans
10806 Table Settings
10807 \family default
10808 .
10809 \end_layout
10810
10811 \begin_layout Standard
10812 Multicolumns have there own cell settings.
10813  That means changing cell borders, cell alignment, and the width only affects
10814  the multicolumn.
10815  Here is an example table with a multicolumn cell in the first row and one
10816  in the last row without the upper border:
10817 \end_layout
10818
10819 \begin_layout Standard
10820 \align center
10821 \begin_inset Tabular
10822 <lyxtabular version="3" rows="3" columns="4">
10823 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10824 <column alignment="center" valignment="top" leftline="true" width="0pt">
10825 <column alignment="center" valignment="middle" leftline="true" width="0">
10826 <column alignment="center" valignment="top" leftline="true" width="0in">
10827 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10828 <row topline="true" bottomline="true">
10829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10830 \begin_inset Text
10831
10832 \begin_layout Standard
10833 abc
10834 \end_layout
10835
10836 \end_inset
10837 </cell>
10838 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10839 \begin_inset Text
10840
10841 \begin_layout Standard
10842 def ghi
10843 \end_layout
10844
10845 \end_inset
10846 </cell>
10847 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10848 \begin_inset Text
10849
10850 \begin_layout Standard
10851
10852 \end_layout
10853
10854 \end_inset
10855 </cell>
10856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10857 \begin_inset Text
10858
10859 \begin_layout Standard
10860 jkl
10861 \end_layout
10862
10863 \end_inset
10864 </cell>
10865 </row>
10866 <row topline="true">
10867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10868 \begin_inset Text
10869
10870 \begin_layout Standard
10871
10872 \family roman
10873 \series medium
10874 \shape up
10875 \size normal
10876 \emph off
10877 \bar no
10878 \noun off
10879 \color none
10880 A
10881 \end_layout
10882
10883 \end_inset
10884 </cell>
10885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10886 \begin_inset Text
10887
10888 \begin_layout Standard
10889 B
10890 \end_layout
10891
10892 \end_inset
10893 </cell>
10894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10895 \begin_inset Text
10896
10897 \begin_layout Standard
10898 C
10899 \end_layout
10900
10901 \end_inset
10902 </cell>
10903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10904 \begin_inset Text
10905
10906 \begin_layout Standard
10907 D
10908 \end_layout
10909
10910 \end_inset
10911 </cell>
10912 </row>
10913 <row topline="true" bottomline="true">
10914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10915 \begin_inset Text
10916
10917 \begin_layout Standard
10918 1
10919 \end_layout
10920
10921 \end_inset
10922 </cell>
10923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10924 \begin_inset Text
10925
10926 \begin_layout Standard
10927 2
10928 \end_layout
10929
10930 \end_inset
10931 </cell>
10932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10933 \begin_inset Text
10934
10935 \begin_layout Standard
10936 3
10937 \end_layout
10938
10939 \end_inset
10940 </cell>
10941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10942 \begin_inset Text
10943
10944 \begin_layout Standard
10945 4
10946 \end_layout
10947
10948 \end_inset
10949 </cell>
10950 </row>
10951 </lyxtabular>
10952
10953 \end_inset
10954
10955
10956 \end_layout
10957
10958 \begin_layout Subsubsection
10959 Multicolumn Calculations
10960 \begin_inset LatexCommand label
10961 name "sub:Multicolumn-Calculations"
10962
10963 \end_inset
10964
10965
10966 \begin_inset LatexCommand index
10967 name "Multicolumns ! Calculations"
10968
10969 \end_inset
10970
10971
10972 \end_layout
10973
10974 \begin_layout Standard
10975 LyX supports multicolumns directly, but we have to take notice of the cell
10976  width of the columns spanned by the multicolumn cell.
10977 \end_layout
10978
10979 \begin_layout Standard
10980 \begin_inset Float table
10981 wide false
10982 sideways false
10983 status open
10984
10985 \begin_layout Standard
10986 \begin_inset Caption
10987
10988 \begin_layout Standard
10989 \begin_inset LatexCommand label
10990 name "tab:Table-with-centered"
10991
10992 \end_inset
10993
10994 Table with centered multicolumn text above two columns that have exactly
10995  half the width of the multicolumn cell
10996 \begin_inset OptArg
10997 status collapsed
10998
10999 \begin_layout Standard
11000 Perfect multicolumn table
11001 \end_layout
11002
11003 \end_inset
11004
11005
11006 \end_layout
11007
11008 \end_inset
11009
11010
11011 \end_layout
11012
11013 \begin_layout Standard
11014 \align center
11015 \begin_inset Tabular
11016 <lyxtabular version="3" rows="3" columns="3">
11017 <features>
11018 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11019 <column alignment="center" valignment="middle" leftline="true" width="0">
11020 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11021 <row topline="true">
11022 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11023 \begin_inset Text
11024
11025 \begin_layout Standard
11026 multiple lines multicolumn
11027 \end_layout
11028
11029 \end_inset
11030 </cell>
11031 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11032 \begin_inset Text
11033
11034 \begin_layout Standard
11035
11036 \end_layout
11037
11038 \end_inset
11039 </cell>
11040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11041 \begin_inset Text
11042
11043 \begin_layout Standard
11044 c
11045 \end_layout
11046
11047 \end_inset
11048 </cell>
11049 </row>
11050 <row topline="true">
11051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11052 \begin_inset Text
11053
11054 \begin_layout Standard
11055 d
11056 \end_layout
11057
11058 \end_inset
11059 </cell>
11060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11061 \begin_inset Text
11062
11063 \begin_layout Standard
11064 e
11065 \end_layout
11066
11067 \end_inset
11068 </cell>
11069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11070 \begin_inset Text
11071
11072 \begin_layout Standard
11073 f
11074 \end_layout
11075
11076 \end_inset
11077 </cell>
11078 </row>
11079 <row topline="true" bottomline="true">
11080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11081 \begin_inset Text
11082
11083 \begin_layout Standard
11084 g
11085 \end_layout
11086
11087 \end_inset
11088 </cell>
11089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11090 \begin_inset Text
11091
11092 \begin_layout Standard
11093 h
11094 \end_layout
11095
11096 \end_inset
11097 </cell>
11098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11099 \begin_inset Text
11100
11101 \begin_layout Standard
11102 i
11103 \end_layout
11104
11105 \end_inset
11106 </cell>
11107 </row>
11108 </lyxtabular>
11109
11110 \end_inset
11111
11112
11113 \end_layout
11114
11115 \end_inset
11116
11117
11118 \end_layout
11119
11120 \begin_layout Standard
11121 To create for example Table\InsetSpace ~
11122
11123 \begin_inset LatexCommand ref
11124 reference "tab:Table-with-centered"
11125
11126 \end_inset
11127
11128 , mark the first two cells in the first row of a 3×3 table and right-click
11129  on them.
11130  Now choose for this cell 
11131 \emph on
11132 multicolumn
11133 \emph default
11134
11135 \emph on
11136 centered alignment
11137 \emph default
11138  and a width of 2.5\InsetSpace \thinspace{}
11139 cm in the table dialog.
11140  The spanned columns should have exactly half the width of the multicolumn
11141  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
11142 cm for the first column.
11143  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
11144 cm (multicolumn
11145  width - width of first column).
11146  This was done for Table\InsetSpace ~
11147
11148 \begin_inset LatexCommand ref
11149 reference "tab:Table-without-half"
11150
11151 \end_inset
11152
11153 .
11154 \end_layout
11155
11156 \begin_layout Standard
11157 \begin_inset Float table
11158 wide false
11159 sideways false
11160 status open
11161
11162 \begin_layout Standard
11163 \begin_inset Caption
11164
11165 \begin_layout Standard
11166 \begin_inset LatexCommand label
11167 name "tab:Table-without-half"
11168
11169 \end_inset
11170
11171 Table where the spanned table columns have not exactly half the width of
11172  the multicolumn cell
11173 \begin_inset OptArg
11174 status collapsed
11175
11176 \begin_layout Standard
11177 Imperfect multicolumn table
11178 \end_layout
11179
11180 \end_inset
11181
11182
11183 \end_layout
11184
11185 \end_inset
11186
11187
11188 \end_layout
11189
11190 \begin_layout Standard
11191 \align center
11192 \begin_inset Tabular
11193 <lyxtabular version="3" rows="3" columns="3">
11194 <features>
11195 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
11196 <column alignment="center" valignment="top" leftline="true" width="0">
11197 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11198 <row topline="true" bottomline="true">
11199 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11200 \begin_inset Text
11201
11202 \begin_layout Standard
11203 multiple lines multicolumn
11204 \end_layout
11205
11206 \end_inset
11207 </cell>
11208 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11209 \begin_inset Text
11210
11211 \begin_layout Standard
11212
11213 \end_layout
11214
11215 \end_inset
11216 </cell>
11217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11218 \begin_inset Text
11219
11220 \begin_layout Standard
11221 c
11222 \end_layout
11223
11224 \end_inset
11225 </cell>
11226 </row>
11227 <row topline="true">
11228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11229 \begin_inset Text
11230
11231 \begin_layout Standard
11232 d
11233 \end_layout
11234
11235 \end_inset
11236 </cell>
11237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11238 \begin_inset Text
11239
11240 \begin_layout Standard
11241 e
11242 \end_layout
11243
11244 \end_inset
11245 </cell>
11246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11247 \begin_inset Text
11248
11249 \begin_layout Standard
11250 f
11251 \end_layout
11252
11253 \end_inset
11254 </cell>
11255 </row>
11256 <row topline="true" bottomline="true">
11257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11258 \begin_inset Text
11259
11260 \begin_layout Standard
11261 g
11262 \end_layout
11263
11264 \end_inset
11265 </cell>
11266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11267 \begin_inset Text
11268
11269 \begin_layout Standard
11270 h
11271 \end_layout
11272
11273 \end_inset
11274 </cell>
11275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11276 \begin_inset Text
11277
11278 \begin_layout Standard
11279 i
11280 \end_layout
11281
11282 \end_inset
11283 </cell>
11284 </row>
11285 </lyxtabular>
11286
11287 \end_inset
11288
11289
11290 \end_layout
11291
11292 \end_inset
11293
11294
11295 \end_layout
11296
11297 \begin_layout Standard
11298 You can see that the first column has not the half width of the multicolumn
11299  cell, it is a bit bigger.
11300  The reason is that the given width of a cell 
11301 \begin_inset Formula $W_{g}$
11302 \end_inset
11303
11304  is not its total width 
11305 \begin_inset Formula $W_{\mathrm{tot}}$
11306 \end_inset
11307
11308  because a cell is always a bit larger than its given width.
11309  Appendix\InsetSpace ~
11310
11311 \begin_inset LatexCommand eqref
11312 reference "cha:Explanation-of-Equation"
11313
11314 \end_inset
11315
11316  explains it in detail.
11317 \end_layout
11318
11319 \begin_layout Standard
11320 The needed given width 
11321 \begin_inset Formula $W_{g\, n}$
11322 \end_inset
11323
11324  when 
11325 \emph on
11326 n
11327 \emph default
11328  columns are spanned can be calculated, so that each column has a total
11329  width of 
11330 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11331 \end_inset
11332
11333 :
11334 \begin_inset Formula \begin{equation}
11335 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11336
11337 \end_inset
11338
11339
11340 \end_layout
11341
11342 \begin_layout Standard
11343 In our case we have 
11344 \begin_inset Formula $n=2$
11345 \end_inset
11346
11347
11348 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11349 \end_inset
11350
11351 cm and the default values for the lengths, so that equation 
11352 \begin_inset LatexCommand ref
11353 reference "eq:Wgn"
11354
11355 \end_inset
11356
11357  becomes
11358 \begin_inset Formula \begin{equation}
11359 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11360
11361 \end_inset
11362
11363
11364 \end_layout
11365
11366 \begin_layout Standard
11367 To enable calculations in LaTeX, the LaTeX-package 
11368 \series bold
11369 calc
11370 \series default
11371  must be loaded with the document preamble line
11372 \begin_inset LatexCommand index
11373 name "LaTeX-packages ! calc"
11374
11375 \end_inset
11376
11377
11378 \end_layout
11379
11380 \begin_layout Standard
11381
11382 \series bold
11383
11384 \backslash
11385 usepackage{calc}
11386 \end_layout
11387
11388 \begin_layout Standard
11389 LyX does not allow to calculate lengths in the width-field of the table
11390  dialog.
11391  Therefore you have to format the column by inserting a LaTeX-argument in
11392  the dialog.
11393  Here is an overview about the arguments:
11394 \end_layout
11395
11396 \begin_layout Itemize
11397
11398 \series bold
11399 p{width}
11400 \series default
11401  creates cell with a fixed width, its text is vertically top-aligned
11402 \end_layout
11403
11404 \begin_layout Itemize
11405
11406 \series bold
11407 m{width}
11408 \series default
11409  creates cell with a fixed width, its text is vertically centered
11410 \end_layout
11411
11412 \begin_layout Itemize
11413
11414 \series bold
11415 b{width}
11416 \series default
11417  creates cell with a fixed width, its text is vertically bottom-aligned
11418 \end_layout
11419
11420 \begin_layout Standard
11421 By entering a LaTeX-argument, all cell settings set in the table dialog
11422  are overwritten.
11423 \end_layout
11424
11425 \begin_layout Standard
11426 \begin_inset Note Greyedout
11427 status open
11428
11429 \begin_layout Standard
11430
11431 \series bold
11432 Note:
11433 \series default
11434  Due to a bug, LyX shows the overwritten settings anyway.
11435 \end_layout
11436
11437 \end_inset
11438
11439
11440 \end_layout
11441
11442 \begin_layout Standard
11443 As the text should be horizontally centered, the command 
11444 \series bold
11445
11446 \backslash
11447 centering
11448 \series default
11449  is added.
11450  You can now enter the following LaTeX-argument for the first spanned column:
11451 \end_layout
11452
11453 \begin_layout Standard
11454
11455 \series bold
11456 >{
11457 \backslash
11458 centering}m{1.25cm-6.2pt}
11459 \end_layout
11460
11461 \begin_layout Standard
11462 The command 
11463 \series bold
11464 >{ }
11465 \series default
11466  means, that the commands inside the braces are applied before the cell
11467  is created.
11468 \end_layout
11469
11470 \begin_layout Standard
11471 Although we have chosen centered alignment for the text of the multicolumn
11472  cell, it is still left aligned.
11473  This is because LyX only applies the alignment to single columns.
11474  So we have to use for the multicolumn the LaTeX-argument
11475 \end_layout
11476
11477 \begin_layout Standard
11478
11479 \series bold
11480 >{
11481 \backslash
11482 centering}m{2.5cm}
11483 \end_layout
11484
11485 \begin_layout Subsection
11486 Multirows
11487 \begin_inset LatexCommand index
11488 name "Multirows"
11489
11490 \end_inset
11491
11492
11493 \begin_inset LatexCommand index
11494 name "Table ! Multirows"
11495
11496 \end_inset
11497
11498
11499 \begin_inset LatexCommand index
11500 name "LaTeX-packages ! multirow"
11501
11502 \end_inset
11503
11504
11505 \end_layout
11506
11507 \begin_layout Standard
11508 In contrary to multicolumns multirows are not yet supported by LyX so a
11509  bit of TeX-Code needs to be used.
11510  To use multirows load the LaTeX-package 
11511 \series bold
11512 multirow
11513 \series default
11514  in your document preamble with the command
11515 \end_layout
11516
11517 \begin_layout Standard
11518
11519 \series bold
11520
11521 \backslash
11522 usepackage{multirow}
11523 \end_layout
11524
11525 \begin_layout Standard
11526 Multirows are created with the command
11527 \end_layout
11528
11529 \begin_layout Standard
11530
11531 \series bold
11532
11533 \backslash
11534 multirow{number of rows}{cell width}{cell entry}
11535 \end_layout
11536
11537 \begin_layout Standard
11538 To create the following table:
11539 \end_layout
11540
11541 \begin_layout Standard
11542 \align center
11543 \begin_inset ERT
11544 status collapsed
11545
11546 \begin_layout Standard
11547
11548
11549 \backslash
11550 renewcommand{
11551 \backslash
11552 multirowsetup}{
11553 \backslash
11554 centering}
11555 \end_layout
11556
11557 \end_inset
11558
11559
11560 \begin_inset Tabular
11561 <lyxtabular version="3" rows="3" columns="3">
11562 <features>
11563 <column alignment="center" valignment="top" leftline="true" width="0">
11564 <column alignment="center" valignment="top" leftline="true" width="0">
11565 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11566 <row topline="true">
11567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11568 \begin_inset Text
11569
11570 \begin_layout Standard
11571 a
11572 \end_layout
11573
11574 \end_inset
11575 </cell>
11576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11577 \begin_inset Text
11578
11579 \begin_layout Standard
11580 b
11581 \end_layout
11582
11583 \end_inset
11584 </cell>
11585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11586 \begin_inset Text
11587
11588 \begin_layout Standard
11589 c
11590 \end_layout
11591
11592 \end_inset
11593 </cell>
11594 </row>
11595 <row topline="true">
11596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11597 \begin_inset Text
11598
11599 \begin_layout Standard
11600 \begin_inset ERT
11601 status collapsed
11602
11603 \begin_layout Standard
11604
11605
11606 \backslash
11607 multirow{2}{2.5cm}{
11608 \end_layout
11609
11610 \end_inset
11611
11612 multirow entry
11613 \begin_inset ERT
11614 status collapsed
11615
11616 \begin_layout Standard
11617
11618 }
11619 \end_layout
11620
11621 \end_inset
11622
11623
11624 \end_layout
11625
11626 \end_inset
11627 </cell>
11628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11629 \begin_inset Text
11630
11631 \begin_layout Standard
11632 e
11633 \end_layout
11634
11635 \end_inset
11636 </cell>
11637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11638 \begin_inset Text
11639
11640 \begin_layout Standard
11641 f
11642 \end_layout
11643
11644 \end_inset
11645 </cell>
11646 </row>
11647 <row topline="true" bottomline="true">
11648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11649 \begin_inset Text
11650
11651 \begin_layout Standard
11652
11653 \end_layout
11654
11655 \end_inset
11656 </cell>
11657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11658 \begin_inset Text
11659
11660 \begin_layout Standard
11661 h
11662 \end_layout
11663
11664 \end_inset
11665 </cell>
11666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11667 \begin_inset Text
11668
11669 \begin_layout Standard
11670 i
11671 \end_layout
11672
11673 \end_inset
11674 </cell>
11675 </row>
11676 </lyxtabular>
11677
11678 \end_inset
11679
11680
11681 \begin_inset ERT
11682 status collapsed
11683
11684 \begin_layout Standard
11685
11686
11687 \backslash
11688 renewcommand{
11689 \backslash
11690 multirowsetup}{
11691 \backslash
11692 raggedright}
11693 \end_layout
11694
11695 \end_inset
11696
11697
11698 \end_layout
11699
11700 \begin_layout Standard
11701 create a 3×3 table.
11702  To get rid of the line above the last cell in the first column, the cell
11703  is marked as multicolumn and the upper border is unset.
11704  The multirow is now created in the second row of the first column by inserting
11705  there the command
11706 \end_layout
11707
11708 \begin_layout Standard
11709
11710 \series bold
11711
11712 \backslash
11713 multirow{2}{2.5cm}{
11714 \end_layout
11715
11716 \begin_layout Standard
11717 as TeX-Code.
11718  According to the command parameters the multirow spans now two rows and
11719  has a width of 2.5\InsetSpace \thinspace{}
11720 cm.
11721  The content of the multirow cell follows outside the TeX-Code box and the
11722  command is finished with a right brace 
11723 \series bold
11724 }
11725 \series default
11726  in another TeX-Code-box behind the text.
11727 \end_layout
11728
11729 \begin_layout Standard
11730
11731 \series bold
11732
11733 \backslash
11734 multirow
11735 \series default
11736  left-aligns its content by default.
11737  To override the default, renew the command 
11738 \series bold
11739
11740 \backslash
11741 multirowsetup
11742 \series default
11743  with the command
11744 \end_layout
11745
11746 \begin_layout Standard
11747
11748 \series bold
11749
11750 \backslash
11751 renewcommand{
11752 \backslash
11753 multirowsetup}{
11754 \backslash
11755 centering}
11756 \end_layout
11757
11758 \begin_layout Standard
11759 in TeX-Code in the document preamble.
11760  Then all entries of multirow cells in the document are centered.
11761  If centering is only needed for several tables, you can renew the command
11762  in an TeX-Code box just before the table instead of the preamble.
11763  If the text should be right-aligned, replace 
11764 \series bold
11765
11766 \backslash
11767 centering
11768 \series default
11769  by 
11770 \series bold
11771
11772 \backslash
11773 raggedleft
11774 \series default
11775 .
11776  To return to left-alignment 
11777 \series bold
11778
11779 \backslash
11780 raggedright
11781 \series default
11782  is used.
11783 \end_layout
11784
11785 \begin_layout Section
11786 Formal Tables
11787 \begin_inset LatexCommand label
11788 name "sec:Formal-Tables"
11789
11790 \end_inset
11791
11792
11793 \begin_inset LatexCommand index
11794 name "Table ! Formal"
11795
11796 \end_inset
11797
11798
11799 \end_layout
11800
11801 \begin_layout Standard
11802 Tables are often typeset in books similar to Table\InsetSpace ~
11803
11804 \begin_inset LatexCommand ref
11805 reference "tab:Example-booktabs-table"
11806
11807 \end_inset
11808
11809 .
11810  This kind of tables is called 
11811 \begin_inset Quotes eld
11812 \end_inset
11813
11814
11815 \emph on
11816 formal
11817 \emph default
11818
11819 \begin_inset Quotes erd
11820 \end_inset
11821
11822 .
11823  To make a table a formal table use the option 
11824 \family sans
11825 Formal
11826 \family default
11827  in the 
11828 \family sans
11829 Borders
11830 \family default
11831  tab of the table dialog.
11832 \end_layout
11833
11834 \begin_layout Standard
11835 \begin_inset Float table
11836 placement h
11837 wide false
11838 sideways false
11839 status open
11840
11841 \begin_layout Standard
11842 \begin_inset Caption
11843
11844 \begin_layout Standard
11845 \begin_inset LatexCommand label
11846 name "tab:Example-booktabs-table"
11847
11848 \end_inset
11849
11850 Example booktabs-table
11851 \end_layout
11852
11853 \end_inset
11854
11855
11856 \end_layout
11857
11858 \begin_layout Standard
11859 \align center
11860 \begin_inset Tabular
11861 <lyxtabular version="3" rows="8" columns="4">
11862 <features booktabs="true">
11863 <column alignment="center" valignment="top" rightline="true" width="0">
11864 <column alignment="center" valignment="top" width="0">
11865 <column alignment="center" valignment="top" width="0">
11866 <column alignment="center" valignment="top" width="0">
11867 <row topline="true">
11868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11869 \begin_inset Text
11870
11871 \begin_layout Standard
11872 System
11873 \end_layout
11874
11875 \end_inset
11876 </cell>
11877 <cell alignment="center" valignment="top" topline="true" usebox="none">
11878 \begin_inset Text
11879
11880 \begin_layout Standard
11881 Medipix
11882 \begin_inset Formula $\,$
11883 \end_inset
11884
11885 1
11886 \end_layout
11887
11888 \end_inset
11889 </cell>
11890 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11891 \begin_inset Text
11892
11893 \begin_layout Standard
11894 Medipix
11895 \begin_inset Formula $\,$
11896 \end_inset
11897
11898 2
11899 \end_layout
11900
11901 \end_inset
11902 </cell>
11903 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11904 \begin_inset Text
11905
11906 \begin_layout Standard
11907
11908 \end_layout
11909
11910 \end_inset
11911 </cell>
11912 </row>
11913 <row>
11914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11915 \begin_inset Text
11916
11917 \begin_layout Standard
11918 \begin_inset ERT
11919 status collapsed
11920
11921 \begin_layout Standard
11922
11923
11924 \backslash
11925 cmidrule(r){2-2}
11926 \end_layout
11927
11928 \end_inset
11929
11930
11931 \begin_inset ERT
11932 status collapsed
11933
11934 \begin_layout Standard
11935
11936
11937 \backslash
11938 cmidrule(l){3-4}
11939 \end_layout
11940
11941 \end_inset
11942
11943 Detector thickness [µm]
11944 \end_layout
11945
11946 \end_inset
11947 </cell>
11948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11949 \begin_inset Text
11950
11951 \begin_layout Standard
11952 300
11953 \end_layout
11954
11955 \end_inset
11956 </cell>
11957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11958 \begin_inset Text
11959
11960 \begin_layout Standard
11961 300
11962 \end_layout
11963
11964 \end_inset
11965 </cell>
11966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11967 \begin_inset Text
11968
11969 \begin_layout Standard
11970 700
11971 \end_layout
11972
11973 \end_inset
11974 </cell>
11975 </row>
11976 <row topline="true">
11977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11978 \begin_inset Text
11979
11980 \begin_layout Standard
11981 Edge angle [°]
11982 \end_layout
11983
11984 \end_inset
11985 </cell>
11986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11987 \begin_inset Text
11988
11989 \begin_layout Standard
11990 3.55
11991 \end_layout
11992
11993 \end_inset
11994 </cell>
11995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11996 \begin_inset Text
11997
11998 \begin_layout Standard
11999 2.71
12000 \end_layout
12001
12002 \end_inset
12003 </cell>
12004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12005 \begin_inset Text
12006
12007 \begin_layout Standard
12008 7.99
12009 \end_layout
12010
12011 \end_inset
12012 </cell>
12013 </row>
12014 <row topspace="default">
12015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12016 \begin_inset Text
12017
12018 \begin_layout Standard
12019 Spatial resolution [µm]
12020 \end_layout
12021
12022 \end_inset
12023 </cell>
12024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12025 \begin_inset Text
12026
12027 \begin_layout Standard
12028 4.26
12029 \end_layout
12030
12031 \end_inset
12032 </cell>
12033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12034 \begin_inset Text
12035
12036 \begin_layout Standard
12037 10.17
12038 \end_layout
12039
12040 \end_inset
12041 </cell>
12042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12043 \begin_inset Text
12044
12045 \begin_layout Standard
12046 10.56
12047 \end_layout
12048
12049 \end_inset
12050 </cell>
12051 </row>
12052 <row topspace="default">
12053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12054 \begin_inset Text
12055
12056 \begin_layout Standard
12057 MTF at 
12058 \begin_inset Formula $f_{\mathrm{max}}$
12059 \end_inset
12060
12061
12062 \end_layout
12063
12064 \end_inset
12065 </cell>
12066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12067 \begin_inset Text
12068
12069 \begin_layout Standard
12070 0.53
12071 \end_layout
12072
12073 \end_inset
12074 </cell>
12075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12076 \begin_inset Text
12077
12078 \begin_layout Standard
12079 0.37
12080 \end_layout
12081
12082 \end_inset
12083 </cell>
12084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12085 \begin_inset Text
12086
12087 \begin_layout Standard
12088 0.39
12089 \end_layout
12090
12091 \end_inset
12092 </cell>
12093 </row>
12094 <row topspace="default">
12095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12096 \begin_inset Text
12097
12098 \begin_layout Standard
12099 \begin_inset ERT
12100 status collapsed
12101
12102 \begin_layout Standard
12103
12104
12105 \backslash
12106 cmidrule(l{10pt}){1-1}
12107 \end_layout
12108
12109 \end_inset
12110
12111 LSF-spatial resolution
12112 \end_layout
12113
12114 \end_inset
12115 </cell>
12116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12117 \begin_inset Text
12118
12119 \begin_layout Standard
12120
12121 \end_layout
12122
12123 \end_inset
12124 </cell>
12125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12126 \begin_inset Text
12127
12128 \begin_layout Standard
12129
12130 \end_layout
12131
12132 \end_inset
12133 </cell>
12134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12135 \begin_inset Text
12136
12137 \begin_layout Standard
12138
12139 \end_layout
12140
12141 \end_inset
12142 </cell>
12143 </row>
12144 <row>
12145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12146 \begin_inset Text
12147
12148 \begin_layout Standard
12149 in Âµm
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12155 \begin_inset Text
12156
12157 \begin_layout Standard
12158 129.7
12159 \end_layout
12160
12161 \end_inset
12162 </cell>
12163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_inset Text
12165
12166 \begin_layout Standard
12167 52.75
12168 \end_layout
12169
12170 \end_inset
12171 </cell>
12172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12173 \begin_inset Text
12174
12175 \begin_layout Standard
12176 50.78
12177 \end_layout
12178
12179 \end_inset
12180 </cell>
12181 </row>
12182 <row bottomline="true">
12183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12184 \begin_inset Text
12185
12186 \begin_layout Standard
12187 in % of pixel size
12188 \end_layout
12189
12190 \end_inset
12191 </cell>
12192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12193 \begin_inset Text
12194
12195 \begin_layout Standard
12196 76.3
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12202 \begin_inset Text
12203
12204 \begin_layout Standard
12205 95.9
12206 \end_layout
12207
12208 \end_inset
12209 </cell>
12210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12211 \begin_inset Text
12212
12213 \begin_layout Standard
12214 92.3
12215 \end_layout
12216
12217 \end_inset
12218 </cell>
12219 </row>
12220 </lyxtabular>
12221
12222 \end_inset
12223
12224
12225 \end_layout
12226
12227 \end_inset
12228
12229
12230 \end_layout
12231
12232 \begin_layout Standard
12233 Spaces to table rows can be added using the 
12234 \family sans
12235 Borders
12236 \family default
12237  tab of the table dialog as described in section\InsetSpace ~
12238
12239 \begin_inset LatexCommand ref
12240 reference "sub:Row-Spacing"
12241
12242 \end_inset
12243
12244 .
12245 \end_layout
12246
12247 \begin_layout Standard
12248 In contrary to normal tables, formal tables have no vertical table lines.
12249  The horizontal table lines can be set like for normal tables but they appear
12250  with different width in the output:
12251 \newline
12252 The first and the last table line have
12253  a default width of 0.08\InsetSpace \thinspace{}
12254 em while the other lines have a default width of
12255  0.05\InsetSpace \thinspace{}
12256 em.
12257 \end_layout
12258
12259 \begin_layout Standard
12260 The default widths can be changed with the following preamble lines
12261 \end_layout
12262
12263 \begin_layout Standard
12264
12265 \series bold
12266
12267 \backslash
12268 let
12269 \backslash
12270 mytoprule
12271 \backslash
12272 toprule
12273 \newline
12274
12275 \backslash
12276 renewcommand{
12277 \backslash
12278 toprule}{
12279 \backslash
12280 mytoprule[width]}
12281 \end_layout
12282
12283 \begin_layout Standard
12284 This example is for the first line, the so called 
12285 \series bold
12286 toprule
12287 \series default
12288 .
12289  If you want to change the width for the last line, replace 
12290 \series bold
12291 toprule
12292 \series default
12293  by 
12294 \series bold
12295 bottomrule
12296 \series default
12297 .
12298  To change the width for the other lines replace 
12299 \series bold
12300 toprule
12301 \series default
12302  by 
12303 \series bold
12304 midrule
12305 \series default
12306 .
12307  You can use all units listed in appendix\InsetSpace ~
12308
12309 \begin_inset LatexCommand ref
12310 reference "cha:Units-available-in"
12311
12312 \end_inset
12313
12314  to set the width.
12315 \end_layout
12316
12317 \begin_layout Standard
12318 Lines that don't span over all table columns can be created by setting a
12319  table line for multicolumn cells.
12320  LyX will then internally use the command 
12321 \series bold
12322
12323 \backslash
12324 cmidrule
12325 \series default
12326  to create this line.
12327  Its full scheme is
12328 \end_layout
12329
12330 \begin_layout Standard
12331
12332 \series bold
12333
12334 \backslash
12335 cmidrule[width](trim){startcol-endcol}
12336 \end_layout
12337
12338 \begin_layout Standard
12339 The options of 
12340 \series bold
12341
12342 \backslash
12343 cmidrule
12344 \series default
12345  are are currently not supported by LyX so you have to use TeX-Code to be
12346  able to use them.
12347  
12348 \series bold
12349
12350 \backslash
12351 cmidrule
12352 \series default
12353 s can manually be created by inserting the command as TeX-Code as first
12354  cell entry of the first cell of a row.
12355  The line is then drawn in the output above the current row.
12356 \end_layout
12357
12358 \begin_layout Standard
12359 The default for the width is 0.03\InsetSpace \thinspace{}
12360 em.
12361  Startcol is the number of the column where the line starts and endcol the
12362  column number where the line ends.
12363  The endcol always needs to be specified, also when the line should span
12364  only one column.
12365  The optional parameter trim could be either 
12366 \emph on
12367 l{trimwidth}
12368 \emph default
12369 , or 
12370 \emph on
12371 r{trimwidth}
12372 \emph default
12373  where the trimwidth is also optional.
12374  Using for example the parameter 
12375 \emph on
12376 l{2pt}
12377 \emph default
12378  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12379 pt.
12380  If you don't specify the trimwidth the lines are trimmed by the default
12381  of 0.5\InsetSpace \thinspace{}
12382 em.
12383 \end_layout
12384
12385 \begin_layout Standard
12386 \begin_inset VSpace bigskip
12387 \end_inset
12388
12389 Table\InsetSpace ~
12390
12391 \begin_inset LatexCommand ref
12392 reference "tab:Example-booktabs-table"
12393
12394 \end_inset
12395
12396  was created using the commands
12397 \end_layout
12398
12399 \begin_layout Standard
12400
12401 \series bold
12402
12403 \backslash
12404 cmidrule(r){2-2}
12405 \backslash
12406 cmidrule(l){3-4}
12407 \end_layout
12408
12409 \begin_layout Standard
12410 at the beginning of the in the second row and
12411 \end_layout
12412
12413 \begin_layout Standard
12414
12415 \series bold
12416
12417 \backslash
12418 cmidrule(l{10pt}){1-1}
12419 \end_layout
12420
12421 \begin_layout Standard
12422 in the sixth row.
12423 \end_layout
12424
12425 \begin_layout Standard
12426 \begin_inset VSpace bigskip
12427 \end_inset
12428
12429
12430 \end_layout
12431
12432 \begin_layout Standard
12433 You might want to have overlapping 
12434 \series bold
12435
12436 \backslash
12437 cmidrule
12438 \series default
12439 s like in Table\InsetSpace ~
12440
12441 \begin_inset LatexCommand ref
12442 reference "tab:Special-booktabs-table"
12443
12444 \end_inset
12445
12446 .
12447  This can be achieved with the TeX-Code command
12448 \end_layout
12449
12450 \begin_layout Standard
12451
12452 \series bold
12453
12454 \backslash
12455 morecmidrules
12456 \end_layout
12457
12458 \begin_layout Standard
12459 The command that was used for the second row of Table\InsetSpace ~
12460
12461 \begin_inset LatexCommand ref
12462 reference "tab:Special-booktabs-table"
12463
12464 \end_inset
12465
12466  is
12467 \end_layout
12468
12469 \begin_layout Standard
12470
12471 \series bold
12472
12473 \backslash
12474 cmidrule(r){2-2}
12475 \backslash
12476 cmidrule(l){3-4}
12477 \backslash
12478 morecmidrules
12479 \backslash
12480 cmidrule{2-4}
12481 \end_layout
12482
12483 \begin_layout Standard
12484 The command for the sixth row is
12485 \end_layout
12486
12487 \begin_layout Standard
12488
12489 \series bold
12490
12491 \backslash
12492 midrule
12493 \backslash
12494 morecmidrules
12495 \backslash
12496 cmidrule{3-4}
12497 \end_layout
12498
12499 \begin_layout Standard
12500 \begin_inset VSpace bigskip
12501 \end_inset
12502
12503
12504 \end_layout
12505
12506 \begin_layout Standard
12507 If you are anyway not satisfied with the border line spacing, you can use
12508  the following command to produce lines that span over all table columns
12509 \series bold
12510 :
12511 \end_layout
12512
12513 \begin_layout Standard
12514
12515 \series bold
12516
12517 \backslash
12518 specialrule{width}{space above}{space below}
12519 \end_layout
12520
12521 \begin_layout Standard
12522 For more informations about these specialties, we refer to the manual of
12523  the LaTeX-package 
12524 \series bold
12525 booktabs
12526 \series default
12527  
12528 \begin_inset LatexCommand cite
12529 key "booktabs"
12530
12531 \end_inset
12532
12533 .
12534 \begin_inset LatexCommand index
12535 name "LaTeX-packages ! booktabs"
12536
12537 \end_inset
12538
12539
12540 \end_layout
12541
12542 \begin_layout Standard
12543 \begin_inset Float table
12544 placement h
12545 wide false
12546 sideways false
12547 status open
12548
12549 \begin_layout Standard
12550 \begin_inset Caption
12551
12552 \begin_layout Standard
12553 \begin_inset LatexCommand label
12554 name "tab:Special-booktabs-table"
12555
12556 \end_inset
12557
12558 Special booktabs-table
12559 \end_layout
12560
12561 \end_inset
12562
12563
12564 \end_layout
12565
12566 \begin_layout Standard
12567 \align center
12568 \begin_inset Tabular
12569 <lyxtabular version="3" rows="8" columns="4">
12570 <features booktabs="true">
12571 <column alignment="center" valignment="top" width="0">
12572 <column alignment="center" valignment="top" width="0">
12573 <column alignment="center" valignment="top" width="0">
12574 <column alignment="center" valignment="top" width="0">
12575 <row topline="true">
12576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12577 \begin_inset Text
12578
12579 \begin_layout Standard
12580 System
12581 \end_layout
12582
12583 \end_inset
12584 </cell>
12585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12586 \begin_inset Text
12587
12588 \begin_layout Standard
12589 Medipix\InsetSpace \thinspace{}
12590 1
12591 \end_layout
12592
12593 \end_inset
12594 </cell>
12595 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12596 \begin_inset Text
12597
12598 \begin_layout Standard
12599 Medipix\InsetSpace \thinspace{}
12600 2
12601 \end_layout
12602
12603 \end_inset
12604 </cell>
12605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12606 \begin_inset Text
12607
12608 \begin_layout Standard
12609
12610 \end_layout
12611
12612 \end_inset
12613 </cell>
12614 </row>
12615 <row>
12616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12617 \begin_inset Text
12618
12619 \begin_layout Standard
12620 \begin_inset ERT
12621 status collapsed
12622
12623 \begin_layout Standard
12624
12625
12626 \backslash
12627 cmidrule(r){2-2}
12628 \end_layout
12629
12630 \end_inset
12631
12632
12633 \begin_inset ERT
12634 status collapsed
12635
12636 \begin_layout Standard
12637
12638
12639 \backslash
12640 cmidrule(l){3-4}
12641 \end_layout
12642
12643 \end_inset
12644
12645
12646 \begin_inset ERT
12647 status collapsed
12648
12649 \begin_layout Standard
12650
12651
12652 \backslash
12653 morecmidrules 
12654 \end_layout
12655
12656 \end_inset
12657
12658
12659 \begin_inset ERT
12660 status collapsed
12661
12662 \begin_layout Standard
12663
12664
12665 \backslash
12666 cmidrule{2-4}
12667 \end_layout
12668
12669 \end_inset
12670
12671 Detector thickness [µm]
12672 \end_layout
12673
12674 \end_inset
12675 </cell>
12676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12677 \begin_inset Text
12678
12679 \begin_layout Standard
12680 300
12681 \end_layout
12682
12683 \end_inset
12684 </cell>
12685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12686 \begin_inset Text
12687
12688 \begin_layout Standard
12689 300
12690 \end_layout
12691
12692 \end_inset
12693 </cell>
12694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12695 \begin_inset Text
12696
12697 \begin_layout Standard
12698 700
12699 \end_layout
12700
12701 \end_inset
12702 </cell>
12703 </row>
12704 <row topline="true">
12705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12706 \begin_inset Text
12707
12708 \begin_layout Standard
12709 Edge angle [°]
12710 \end_layout
12711
12712 \end_inset
12713 </cell>
12714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12715 \begin_inset Text
12716
12717 \begin_layout Standard
12718 3.55
12719 \end_layout
12720
12721 \end_inset
12722 </cell>
12723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12724 \begin_inset Text
12725
12726 \begin_layout Standard
12727 2.71
12728 \end_layout
12729
12730 \end_inset
12731 </cell>
12732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12733 \begin_inset Text
12734
12735 \begin_layout Standard
12736 7.99
12737 \end_layout
12738
12739 \end_inset
12740 </cell>
12741 </row>
12742 <row topspace="default">
12743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12744 \begin_inset Text
12745
12746 \begin_layout Standard
12747 Spatial resolution [µm]
12748 \end_layout
12749
12750 \end_inset
12751 </cell>
12752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12753 \begin_inset Text
12754
12755 \begin_layout Standard
12756 4.26
12757 \end_layout
12758
12759 \end_inset
12760 </cell>
12761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12762 \begin_inset Text
12763
12764 \begin_layout Standard
12765 10.17
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12771 \begin_inset Text
12772
12773 \begin_layout Standard
12774 10.56
12775 \end_layout
12776
12777 \end_inset
12778 </cell>
12779 </row>
12780 <row topspace="default">
12781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12782 \begin_inset Text
12783
12784 \begin_layout Standard
12785 MTF at 
12786 \begin_inset Formula $f_{\mathrm{max}}$
12787 \end_inset
12788
12789
12790 \end_layout
12791
12792 \end_inset
12793 </cell>
12794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12795 \begin_inset Text
12796
12797 \begin_layout Standard
12798 0.53
12799 \end_layout
12800
12801 \end_inset
12802 </cell>
12803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12804 \begin_inset Text
12805
12806 \begin_layout Standard
12807 0.37
12808 \end_layout
12809
12810 \end_inset
12811 </cell>
12812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12813 \begin_inset Text
12814
12815 \begin_layout Standard
12816 0.39
12817 \end_layout
12818
12819 \end_inset
12820 </cell>
12821 </row>
12822 <row topline="true">
12823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12824 \begin_inset Text
12825
12826 \begin_layout Standard
12827 \begin_inset ERT
12828 status collapsed
12829
12830 \begin_layout Standard
12831
12832
12833 \backslash
12834 morecmidrules 
12835 \end_layout
12836
12837 \end_inset
12838
12839
12840 \begin_inset ERT
12841 status collapsed
12842
12843 \begin_layout Standard
12844
12845
12846 \backslash
12847 cmidrule{3-4}
12848 \end_layout
12849
12850 \end_inset
12851
12852 LSF-spatial resolution
12853 \end_layout
12854
12855 \end_inset
12856 </cell>
12857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12858 \begin_inset Text
12859
12860 \begin_layout Standard
12861
12862 \end_layout
12863
12864 \end_inset
12865 </cell>
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12867 \begin_inset Text
12868
12869 \begin_layout Standard
12870
12871 \end_layout
12872
12873 \end_inset
12874 </cell>
12875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12876 \begin_inset Text
12877
12878 \begin_layout Standard
12879
12880 \end_layout
12881
12882 \end_inset
12883 </cell>
12884 </row>
12885 <row>
12886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12887 \begin_inset Text
12888
12889 \begin_layout Standard
12890 in Âµm
12891 \end_layout
12892
12893 \end_inset
12894 </cell>
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12896 \begin_inset Text
12897
12898 \begin_layout Standard
12899 129.7
12900 \end_layout
12901
12902 \end_inset
12903 </cell>
12904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12905 \begin_inset Text
12906
12907 \begin_layout Standard
12908 52.75
12909 \end_layout
12910
12911 \end_inset
12912 </cell>
12913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12914 \begin_inset Text
12915
12916 \begin_layout Standard
12917 50.78
12918 \end_layout
12919
12920 \end_inset
12921 </cell>
12922 </row>
12923 <row bottomline="true">
12924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12925 \begin_inset Text
12926
12927 \begin_layout Standard
12928 in % of pixel size
12929 \end_layout
12930
12931 \end_inset
12932 </cell>
12933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12934 \begin_inset Text
12935
12936 \begin_layout Standard
12937 76.3
12938 \end_layout
12939
12940 \end_inset
12941 </cell>
12942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12943 \begin_inset Text
12944
12945 \begin_layout Standard
12946 95.9
12947 \end_layout
12948
12949 \end_inset
12950 </cell>
12951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12952 \begin_inset Text
12953
12954 \begin_layout Standard
12955 92.3
12956 \end_layout
12957
12958 \end_inset
12959 </cell>
12960 </row>
12961 </lyxtabular>
12962
12963 \end_inset
12964
12965
12966 \end_layout
12967
12968 \end_inset
12969
12970
12971 \end_layout
12972
12973 \begin_layout Section
12974 Vertical Table Alignment
12975 \begin_inset LatexCommand index
12976 name "Table ! Alignment"
12977
12978 \end_inset
12979
12980
12981 \end_layout
12982
12983 \begin_layout Standard
12984 To align tables vertically in a text line the table must be inside a box.
12985  The box can then be vertically aligned as described in section\InsetSpace ~
12986
12987 \begin_inset LatexCommand ref
12988 reference "sec:Box-Dialog"
12989
12990 \end_inset
12991
12992 .
12993 \end_layout
12994
12995 \begin_layout Standard
12996 In the following example the tables are inside a minipage
12997 \begin_inset Foot
12998 status collapsed
12999
13000 \begin_layout Standard
13001 Minipages are described in section\InsetSpace ~
13002
13003 \begin_inset LatexCommand ref
13004 reference "sec:Minipages"
13005
13006 \end_inset
13007
13008 .
13009 \end_layout
13010
13011 \end_inset
13012
13013  box that has a width of 15\InsetSpace \thinspace{}
13014 col%:
13015 \end_layout
13016
13017 \begin_layout Itemize
13018 test 
13019 \begin_inset Box Frameless
13020 position "t"
13021 hor_pos "c"
13022 has_inner_box 1
13023 inner_pos "c"
13024 use_parbox 0
13025 width "15col%"
13026 special "none"
13027 height "1in"
13028 height_special "totalheight"
13029 status collapsed
13030
13031 \begin_layout Standard
13032 \begin_inset Tabular
13033 <lyxtabular version="3" rows="3" columns="3">
13034 <features>
13035 <column alignment="center" valignment="top" leftline="true" width="0">
13036 <column alignment="center" valignment="top" leftline="true" width="0">
13037 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13038 <row topline="true">
13039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13040 \begin_inset Text
13041
13042 \begin_layout Standard
13043 a
13044 \end_layout
13045
13046 \end_inset
13047 </cell>
13048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13049 \begin_inset Text
13050
13051 \begin_layout Standard
13052 d
13053 \end_layout
13054
13055 \end_inset
13056 </cell>
13057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13058 \begin_inset Text
13059
13060 \begin_layout Standard
13061 g
13062 \end_layout
13063
13064 \end_inset
13065 </cell>
13066 </row>
13067 <row topline="true">
13068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13069 \begin_inset Text
13070
13071 \begin_layout Standard
13072 b
13073 \end_layout
13074
13075 \end_inset
13076 </cell>
13077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13078 \begin_inset Text
13079
13080 \begin_layout Standard
13081 e
13082 \end_layout
13083
13084 \end_inset
13085 </cell>
13086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13087 \begin_inset Text
13088
13089 \begin_layout Standard
13090 h
13091 \end_layout
13092
13093 \end_inset
13094 </cell>
13095 </row>
13096 <row topline="true" bottomline="true">
13097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13098 \begin_inset Text
13099
13100 \begin_layout Standard
13101 c
13102 \end_layout
13103
13104 \end_inset
13105 </cell>
13106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13107 \begin_inset Text
13108
13109 \begin_layout Standard
13110 f
13111 \end_layout
13112
13113 \end_inset
13114 </cell>
13115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13116 \begin_inset Text
13117
13118 \begin_layout Standard
13119 i
13120 \end_layout
13121
13122 \end_inset
13123 </cell>
13124 </row>
13125 </lyxtabular>
13126
13127 \end_inset
13128
13129
13130 \end_layout
13131
13132 \end_inset
13133
13134  test 
13135 \begin_inset ERT
13136 status collapsed
13137
13138 \begin_layout Standard
13139
13140
13141 \backslash
13142 raisebox{0.85
13143 \backslash
13144 baselineskip}{
13145 \end_layout
13146
13147 \end_inset
13148
13149
13150 \begin_inset Box Frameless
13151 position "t"
13152 hor_pos "c"
13153 has_inner_box 1
13154 inner_pos "c"
13155 use_parbox 0
13156 width "15col%"
13157 special "none"
13158 height "1in"
13159 height_special "totalheight"
13160 status collapsed
13161
13162 \begin_layout Standard
13163 \begin_inset Tabular
13164 <lyxtabular version="3" rows="3" columns="3">
13165 <features>
13166 <column alignment="center" valignment="top" leftline="true" width="0">
13167 <column alignment="center" valignment="top" leftline="true" width="0">
13168 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13169 <row topline="true">
13170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13171 \begin_inset Text
13172
13173 \begin_layout Standard
13174 a
13175 \end_layout
13176
13177 \end_inset
13178 </cell>
13179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13180 \begin_inset Text
13181
13182 \begin_layout Standard
13183 d
13184 \end_layout
13185
13186 \end_inset
13187 </cell>
13188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13189 \begin_inset Text
13190
13191 \begin_layout Standard
13192 g
13193 \end_layout
13194
13195 \end_inset
13196 </cell>
13197 </row>
13198 <row topline="true">
13199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13200 \begin_inset Text
13201
13202 \begin_layout Standard
13203 b
13204 \end_layout
13205
13206 \end_inset
13207 </cell>
13208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13209 \begin_inset Text
13210
13211 \begin_layout Standard
13212 e
13213 \end_layout
13214
13215 \end_inset
13216 </cell>
13217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13218 \begin_inset Text
13219
13220 \begin_layout Standard
13221 h
13222 \end_layout
13223
13224 \end_inset
13225 </cell>
13226 </row>
13227 <row topline="true" bottomline="true">
13228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13229 \begin_inset Text
13230
13231 \begin_layout Standard
13232 c
13233 \end_layout
13234
13235 \end_inset
13236 </cell>
13237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13238 \begin_inset Text
13239
13240 \begin_layout Standard
13241 f
13242 \end_layout
13243
13244 \end_inset
13245 </cell>
13246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13247 \begin_inset Text
13248
13249 \begin_layout Standard
13250 i
13251 \end_layout
13252
13253 \end_inset
13254 </cell>
13255 </row>
13256 </lyxtabular>
13257
13258 \end_inset
13259
13260
13261 \end_layout
13262
13263 \end_inset
13264
13265
13266 \begin_inset ERT
13267 status collapsed
13268
13269 \begin_layout Standard
13270
13271 }
13272 \end_layout
13273
13274 \end_inset
13275
13276
13277 \end_layout
13278
13279 \begin_layout Itemize
13280 test 
13281 \begin_inset Box Frameless
13282 position "c"
13283 hor_pos "c"
13284 has_inner_box 1
13285 inner_pos "c"
13286 use_parbox 0
13287 width "15col%"
13288 special "none"
13289 height "1in"
13290 height_special "totalheight"
13291 status collapsed
13292
13293 \begin_layout Standard
13294 \begin_inset Tabular
13295 <lyxtabular version="3" rows="3" columns="3">
13296 <features>
13297 <column alignment="center" valignment="top" leftline="true" width="0">
13298 <column alignment="center" valignment="top" leftline="true" width="0">
13299 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13300 <row topline="true">
13301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13302 \begin_inset Text
13303
13304 \begin_layout Standard
13305 a
13306 \end_layout
13307
13308 \end_inset
13309 </cell>
13310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13311 \begin_inset Text
13312
13313 \begin_layout Standard
13314 d
13315 \end_layout
13316
13317 \end_inset
13318 </cell>
13319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13320 \begin_inset Text
13321
13322 \begin_layout Standard
13323 g
13324 \end_layout
13325
13326 \end_inset
13327 </cell>
13328 </row>
13329 <row topline="true">
13330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13331 \begin_inset Text
13332
13333 \begin_layout Standard
13334 b
13335 \end_layout
13336
13337 \end_inset
13338 </cell>
13339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13340 \begin_inset Text
13341
13342 \begin_layout Standard
13343 e
13344 \end_layout
13345
13346 \end_inset
13347 </cell>
13348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Standard
13352 h
13353 \end_layout
13354
13355 \end_inset
13356 </cell>
13357 </row>
13358 <row topline="true" bottomline="true">
13359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13360 \begin_inset Text
13361
13362 \begin_layout Standard
13363 c
13364 \end_layout
13365
13366 \end_inset
13367 </cell>
13368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13369 \begin_inset Text
13370
13371 \begin_layout Standard
13372 f
13373 \end_layout
13374
13375 \end_inset
13376 </cell>
13377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13378 \begin_inset Text
13379
13380 \begin_layout Standard
13381 i
13382 \end_layout
13383
13384 \end_inset
13385 </cell>
13386 </row>
13387 </lyxtabular>
13388
13389 \end_inset
13390
13391
13392 \end_layout
13393
13394 \end_inset
13395
13396
13397 \end_layout
13398
13399 \begin_layout Itemize
13400 test 
13401 \begin_inset Box Frameless
13402 position "b"
13403 hor_pos "c"
13404 has_inner_box 1
13405 inner_pos "c"
13406 use_parbox 0
13407 width "15col%"
13408 special "none"
13409 height "1in"
13410 height_special "totalheight"
13411 status collapsed
13412
13413 \begin_layout Standard
13414 \begin_inset Tabular
13415 <lyxtabular version="3" rows="3" columns="3">
13416 <features>
13417 <column alignment="center" valignment="top" leftline="true" width="0">
13418 <column alignment="center" valignment="top" leftline="true" width="0">
13419 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13420 <row topline="true">
13421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13422 \begin_inset Text
13423
13424 \begin_layout Standard
13425 a
13426 \end_layout
13427
13428 \end_inset
13429 </cell>
13430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13431 \begin_inset Text
13432
13433 \begin_layout Standard
13434 d
13435 \end_layout
13436
13437 \end_inset
13438 </cell>
13439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13440 \begin_inset Text
13441
13442 \begin_layout Standard
13443 g
13444 \end_layout
13445
13446 \end_inset
13447 </cell>
13448 </row>
13449 <row topline="true">
13450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13451 \begin_inset Text
13452
13453 \begin_layout Standard
13454 b
13455 \end_layout
13456
13457 \end_inset
13458 </cell>
13459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13460 \begin_inset Text
13461
13462 \begin_layout Standard
13463 e
13464 \end_layout
13465
13466 \end_inset
13467 </cell>
13468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13469 \begin_inset Text
13470
13471 \begin_layout Standard
13472 h
13473 \end_layout
13474
13475 \end_inset
13476 </cell>
13477 </row>
13478 <row topline="true" bottomline="true">
13479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13480 \begin_inset Text
13481
13482 \begin_layout Standard
13483 c
13484 \end_layout
13485
13486 \end_inset
13487 </cell>
13488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13489 \begin_inset Text
13490
13491 \begin_layout Standard
13492 f
13493 \end_layout
13494
13495 \end_inset
13496 </cell>
13497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13498 \begin_inset Text
13499
13500 \begin_layout Standard
13501 i
13502 \end_layout
13503
13504 \end_inset
13505 </cell>
13506 </row>
13507 </lyxtabular>
13508
13509 \end_inset
13510
13511
13512 \end_layout
13513
13514 \end_inset
13515
13516  test 
13517 \begin_inset ERT
13518 status collapsed
13519
13520 \begin_layout Standard
13521
13522
13523 \backslash
13524 raisebox{-0.32
13525 \backslash
13526 baselineskip}{
13527 \end_layout
13528
13529 \end_inset
13530
13531
13532 \begin_inset Box Frameless
13533 position "b"
13534 hor_pos "c"
13535 has_inner_box 1
13536 inner_pos "c"
13537 use_parbox 0
13538 width "15col%"
13539 special "none"
13540 height "1in"
13541 height_special "totalheight"
13542 status collapsed
13543
13544 \begin_layout Standard
13545 \begin_inset Tabular
13546 <lyxtabular version="3" rows="3" columns="3">
13547 <features>
13548 <column alignment="center" valignment="top" leftline="true" width="0">
13549 <column alignment="center" valignment="top" leftline="true" width="0">
13550 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13551 <row topline="true">
13552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13553 \begin_inset Text
13554
13555 \begin_layout Standard
13556 a
13557 \end_layout
13558
13559 \end_inset
13560 </cell>
13561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13562 \begin_inset Text
13563
13564 \begin_layout Standard
13565 d
13566 \end_layout
13567
13568 \end_inset
13569 </cell>
13570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13571 \begin_inset Text
13572
13573 \begin_layout Standard
13574 g
13575 \end_layout
13576
13577 \end_inset
13578 </cell>
13579 </row>
13580 <row topline="true">
13581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13582 \begin_inset Text
13583
13584 \begin_layout Standard
13585 b
13586 \end_layout
13587
13588 \end_inset
13589 </cell>
13590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13591 \begin_inset Text
13592
13593 \begin_layout Standard
13594 e
13595 \end_layout
13596
13597 \end_inset
13598 </cell>
13599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13600 \begin_inset Text
13601
13602 \begin_layout Standard
13603 h
13604 \end_layout
13605
13606 \end_inset
13607 </cell>
13608 </row>
13609 <row topline="true" bottomline="true">
13610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13611 \begin_inset Text
13612
13613 \begin_layout Standard
13614 c
13615 \end_layout
13616
13617 \end_inset
13618 </cell>
13619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13620 \begin_inset Text
13621
13622 \begin_layout Standard
13623 f
13624 \end_layout
13625
13626 \end_inset
13627 </cell>
13628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13629 \begin_inset Text
13630
13631 \begin_layout Standard
13632 i
13633 \end_layout
13634
13635 \end_inset
13636 </cell>
13637 </row>
13638 </lyxtabular>
13639
13640 \end_inset
13641
13642
13643 \end_layout
13644
13645 \end_inset
13646
13647
13648 \begin_inset ERT
13649 status collapsed
13650
13651 \begin_layout Standard
13652
13653 }
13654 \end_layout
13655
13656 \end_inset
13657
13658
13659 \end_layout
13660
13661 \begin_layout Standard
13662 As you can see, the content of the first and last table row is not correctly
13663  aligned with the text line where the table is in.
13664  To get this alignment, the minipage box must be set into a raisebox
13665 \begin_inset Foot
13666 status collapsed
13667
13668 \begin_layout Standard
13669 Raiseboxes are described in section\InsetSpace ~
13670
13671 \begin_inset LatexCommand ref
13672 reference "sub:Vertical-Alignment"
13673
13674 \end_inset
13675
13676 .
13677 \end_layout
13678
13679 \end_inset
13680
13681 .
13682  In the example above the second table in the first item is aligned using
13683  the TeX-Code-command
13684 \end_layout
13685
13686 \begin_layout Standard
13687
13688 \series bold
13689
13690 \backslash
13691 raisebox{0.85
13692 \backslash
13693 baselineskip}{
13694 \end_layout
13695
13696 \begin_layout Standard
13697 before the box.
13698  Behind the box the closing brace 
13699 \series bold
13700 }
13701 \series default
13702  is inserted as TeX-Code.
13703  For the second table in the last item the command
13704 \end_layout
13705
13706 \begin_layout Standard
13707
13708 \series bold
13709
13710 \backslash
13711 raisebox{-0.32
13712 \backslash
13713 baselineskip}{
13714 \end_layout
13715
13716 \begin_layout Standard
13717 is used.
13718 \end_layout
13719
13720 \begin_layout Standard
13721 \begin_inset Note Greyedout
13722 status open
13723
13724 \begin_layout Standard
13725
13726 \series bold
13727 Note:
13728 \series default
13729  The alignment of the table row content to the surrounding text line is
13730  not exact.
13731  The needed factor of the 
13732 \series bold
13733
13734 \backslash
13735 raisebox
13736 \series default
13737  command for this alignment depends on the document font, the font size,
13738  and the table line thickness.
13739 \end_layout
13740
13741 \end_inset
13742
13743
13744 \end_layout
13745
13746 \begin_layout Section
13747 Colored Tables
13748 \begin_inset LatexCommand label
13749 name "sec:Colored-Tables"
13750
13751 \end_inset
13752
13753
13754 \begin_inset LatexCommand index
13755 name "Table ! Color"
13756
13757 \end_inset
13758
13759
13760 \end_layout
13761
13762 \begin_layout Subsection
13763 Colored Cells
13764 \begin_inset LatexCommand index
13765 name "Table Color ! for Cells"
13766
13767 \end_inset
13768
13769
13770 \begin_inset LatexCommand index
13771 name "Color ! for Table Cells"
13772
13773 \end_inset
13774
13775
13776 \end_layout
13777
13778 \begin_layout Standard
13779 \begin_inset Float table
13780 placement h
13781 wide false
13782 sideways false
13783 status open
13784
13785 \begin_layout Standard
13786 \begin_inset Caption
13787
13788 \begin_layout Standard
13789 \begin_inset LatexCommand label
13790 name "tab:Table-colored-without"
13791
13792 \end_inset
13793
13794 Table colored without using the package 
13795 \series bold
13796 colortbl
13797 \series default
13798
13799 \begin_inset OptArg
13800 status collapsed
13801
13802 \begin_layout Standard
13803 Table without colortbl
13804 \end_layout
13805
13806 \end_inset
13807
13808
13809 \end_layout
13810
13811 \end_inset
13812
13813
13814 \end_layout
13815
13816 \begin_layout Standard
13817 \align center
13818 \begin_inset Tabular
13819 <lyxtabular version="3" rows="3" columns="3">
13820 <features>
13821 <column alignment="center" valignment="top" leftline="true" width="0">
13822 <column alignment="center" valignment="top" leftline="true" width="0">
13823 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13824 <row topline="true">
13825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13826 \begin_inset Text
13827
13828 \begin_layout Standard
13829
13830 \color green
13831 a
13832 \end_layout
13833
13834 \end_inset
13835 </cell>
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13837 \begin_inset Text
13838
13839 \begin_layout Standard
13840
13841 \color red
13842 b
13843 \end_layout
13844
13845 \end_inset
13846 </cell>
13847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13848 \begin_inset Text
13849
13850 \begin_layout Standard
13851
13852 \color red
13853 c
13854 \end_layout
13855
13856 \end_inset
13857 </cell>
13858 </row>
13859 <row topline="true">
13860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13861 \begin_inset Text
13862
13863 \begin_layout Standard
13864
13865 \color green
13866 d
13867 \end_layout
13868
13869 \end_inset
13870 </cell>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color blue
13877 e
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13883 \begin_inset Text
13884
13885 \begin_layout Standard
13886
13887 \color blue
13888 f
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 </row>
13894 <row topline="true" bottomline="true">
13895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Standard
13899
13900 \color green
13901 g
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Standard
13910
13911 \color blue
13912 h
13913 \end_layout
13914
13915 \end_inset
13916 </cell>
13917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13918 \begin_inset Text
13919
13920 \begin_layout Standard
13921
13922 \color blue
13923 i
13924 \end_layout
13925
13926 \end_inset
13927 </cell>
13928 </row>
13929 </lyxtabular>
13930
13931 \end_inset
13932
13933
13934 \end_layout
13935
13936 \end_inset
13937
13938
13939 \end_layout
13940
13941 \begin_layout Standard
13942 If you only need colored text, mark the cells and choose a color in the
13943  menu 
13944 \family sans
13945 Edit\SpecialChar \menuseparator
13946 Text\InsetSpace ~
13947 Style
13948 \family default
13949 .
13950  This was used to create Table\InsetSpace ~
13951
13952 \begin_inset LatexCommand ref
13953 reference "tab:Table-colored-without"
13954
13955 \end_inset
13956
13957 .
13958  In any other case you have to use the LaTeX-package 
13959 \series bold
13960 colortbl
13961 \series default
13962 .
13963 \begin_inset LatexCommand index
13964 name "LaTeX-packages ! colortbl"
13965
13966 \end_inset
13967
13968
13969 \end_layout
13970
13971 \begin_layout Standard
13972 \begin_inset ERT
13973 status collapsed
13974
13975 \begin_layout Standard
13976
13977
13978 \backslash
13979 ifcolortbl
13980 \end_layout
13981
13982 \end_inset
13983
13984
13985 \begin_inset Note Note
13986 status open
13987
13988 \begin_layout Standard
13989 The following section part will only be displayed when the LaTeX-package
13990  
13991 \series bold
13992 colortbl
13993 \series default
13994  is installed.
13995 \end_layout
13996
13997 \end_inset
13998
13999
14000 \end_layout
14001
14002 \begin_layout Standard
14003 To create colored tables, 
14004 \series bold
14005 colortbl
14006 \series default
14007  must be loaded in the preamble with the line
14008 \end_layout
14009
14010 \begin_layout Standard
14011
14012 \series bold
14013
14014 \backslash
14015 usepackage{colortbl}
14016 \end_layout
14017
14018 \begin_layout Standard
14019 The color of a column is adjusted with the command
14020 \end_layout
14021
14022 \begin_layout Standard
14023
14024 \series bold
14025
14026 \backslash
14027 columncolor{name of color}
14028 \end_layout
14029
14030 \begin_layout Standard
14031 inside the command 
14032 \series bold
14033 >{ }
14034 \series default
14035 .
14036  More about the command 
14037 \series bold
14038 >{}
14039 \series default
14040  is described in section\InsetSpace ~
14041
14042 \begin_inset LatexCommand ref
14043 reference "sub:Multicolumn-Calculations"
14044
14045 \end_inset
14046
14047 .
14048 \end_layout
14049
14050 \begin_layout Standard
14051 The following color names are predefined:
14052 \end_layout
14053
14054 \begin_layout Standard
14055
14056 \family sans
14057 red
14058 \family default
14059
14060 \family sans
14061 green
14062 \family default
14063
14064 \family sans
14065 yellow
14066 \family default
14067
14068 \family sans
14069 blue
14070 \family default
14071
14072 \family sans
14073 cyan
14074 \family default
14075
14076 \family sans
14077 magenta
14078 \family default
14079
14080 \family sans
14081 black
14082 \family default
14083  and 
14084 \family sans
14085 white
14086 \end_layout
14087
14088 \begin_layout Standard
14089 \begin_inset VSpace medskip
14090 \end_inset
14091
14092
14093 \end_layout
14094
14095 \begin_layout Standard
14096 You can also define your own color with the command
14097 \end_layout
14098
14099 \begin_layout Standard
14100
14101 \series bold
14102
14103 \backslash
14104 def\SpecialChar \textcompwordmark{}
14105 inecolor{color name}{color model}{color values}
14106 \end_layout
14107
14108 \begin_layout Standard
14109 The color model can be
14110 \end_layout
14111
14112 \begin_layout Labeling
14113 \labelwidthstring 00.00.0000
14114 cmyk: cyan, magenta, yellow, black
14115 \end_layout
14116
14117 \begin_layout Labeling
14118 \labelwidthstring 00.00.0000
14119 rgb: red, green blue
14120 \end_layout
14121
14122 \begin_layout Labeling
14123 \labelwidthstring 00.00.0000
14124 gray gray
14125 \end_layout
14126
14127 \begin_layout Standard
14128 and the color values are comma separated numbers between 0 and 1 describing
14129  the factor for the corresponding color of the color model.
14130 \end_layout
14131
14132 \begin_layout Standard
14133 You can e.\InsetSpace \thinspace{}
14134 g.\InsetSpace ~
14135 define the color "
14136 \emph on
14137 darkgreen
14138 \emph default
14139 " in the preamble with
14140 \end_layout
14141
14142 \begin_layout Standard
14143
14144 \series bold
14145
14146 \backslash
14147 def\SpecialChar \textcompwordmark{}
14148 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14149 \end_layout
14150
14151 \begin_layout Standard
14152 and the color "
14153 \emph on
14154 lightgray
14155 \emph default
14156 " with
14157 \end_layout
14158
14159 \begin_layout Standard
14160
14161 \series bold
14162
14163 \backslash
14164 def\SpecialChar \textcompwordmark{}
14165 inecolor{lightgray}{gray}{0.8}
14166 \end_layout
14167
14168 \begin_layout Standard
14169 \begin_inset VSpace medskip
14170 \end_inset
14171
14172
14173 \end_layout
14174
14175 \begin_layout Standard
14176 Lines are colored with the command
14177 \end_layout
14178
14179 \begin_layout Standard
14180
14181 \series bold
14182
14183 \backslash
14184 rowcolor{name of color}
14185 \end_layout
14186
14187 \begin_layout Standard
14188 and cells are colored with the command
14189 \end_layout
14190
14191 \begin_layout Standard
14192
14193 \series bold
14194
14195 \backslash
14196 cellcolor{name of color}
14197 \end_layout
14198
14199 \begin_layout Standard
14200 Both commands are inserted at the beginning of a cell as TeX-Code.
14201 \end_layout
14202
14203 \begin_layout Standard
14204 To color characters in the table, mark the cells and use the LyX menu 
14205 \family sans
14206 Edit\SpecialChar \menuseparator
14207 Text\InsetSpace ~
14208 Style
14209 \family default
14210 .
14211  If a cell contains TeX-Code mark only the characters, otherwise the colored
14212  TeX-Code will cause LaTeX-errors.
14213 \end_layout
14214
14215 \begin_layout Standard
14216 \begin_inset Note Greyedout
14217 status open
14218
14219 \begin_layout Standard
14220
14221 \series bold
14222 Note:
14223 \series default
14224  Not all DVI-viewers are able to display self-defined colors.
14225 \end_layout
14226
14227 \end_inset
14228
14229
14230 \end_layout
14231
14232 \begin_layout Standard
14233 \begin_inset VSpace bigskip
14234 \end_inset
14235
14236
14237 \end_layout
14238
14239 \begin_layout Standard
14240 To create Table\InsetSpace ~
14241
14242 \begin_inset LatexCommand ref
14243 reference "tab:Table-colored-using"
14244
14245 \end_inset
14246
14247  do the following: The color of the first column should be 
14248 \emph on
14249 darkgreen
14250 \emph default
14251 .
14252  So insert
14253 \end_layout
14254
14255 \begin_layout Standard
14256
14257 \series bold
14258 >{
14259 \backslash
14260 columncolor{darkgreen}
14261 \backslash
14262 centering}c
14263 \end_layout
14264
14265 \begin_layout Standard
14266 as LaTeX-argument for this column.
14267  The first row should be blue, therefore the TeX-Code command
14268 \end_layout
14269
14270 \begin_layout Standard
14271
14272 \series bold
14273
14274 \backslash
14275 rowcolow{cyan}
14276 \end_layout
14277
14278 \begin_layout Standard
14279 is inserted to the first cell of this row.
14280  Note that this overwrites the column color for the first cell.
14281  The last cell of the last row is colored magenta by inserting the TeX-Code
14282  command
14283 \end_layout
14284
14285 \begin_layout Standard
14286
14287 \series bold
14288
14289 \backslash
14290 cellcolor{magenta}
14291 \end_layout
14292
14293 \begin_layout Standard
14294 The characters could now be colored using the menu 
14295 \family sans
14296 Edit\SpecialChar \menuseparator
14297 Text\InsetSpace ~
14298 Style
14299 \family default
14300 .
14301 \end_layout
14302
14303 \begin_layout Standard
14304 \begin_inset Float table
14305 placement h
14306 wide false
14307 sideways false
14308 status open
14309
14310 \begin_layout Standard
14311 \begin_inset Caption
14312
14313 \begin_layout Standard
14314 \begin_inset LatexCommand label
14315 name "tab:Table-colored-using"
14316
14317 \end_inset
14318
14319 Table colored using the package 
14320 \series bold
14321 colortbl
14322 \series default
14323
14324 \begin_inset OptArg
14325 status collapsed
14326
14327 \begin_layout Standard
14328 Table with colortbl
14329 \end_layout
14330
14331 \end_inset
14332
14333
14334 \end_layout
14335
14336 \end_inset
14337
14338
14339 \end_layout
14340
14341 \begin_layout Standard
14342 \align center
14343 \begin_inset Tabular
14344 <lyxtabular version="3" rows="3" columns="3">
14345 <features>
14346 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14347 <column alignment="center" valignment="top" width="0">
14348 <column alignment="center" valignment="top" width="0">
14349 <row>
14350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14351 \begin_inset Text
14352
14353 \begin_layout Standard
14354 \begin_inset ERT
14355 status collapsed
14356
14357 \begin_layout Standard
14358
14359
14360 \backslash
14361 rowcolor{cyan}
14362 \end_layout
14363
14364 \end_inset
14365
14366
14367 \color magenta
14368 a
14369 \end_layout
14370
14371 \end_inset
14372 </cell>
14373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14374 \begin_inset Text
14375
14376 \begin_layout Standard
14377
14378 \color red
14379 b
14380 \end_layout
14381
14382 \end_inset
14383 </cell>
14384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14385 \begin_inset Text
14386
14387 \begin_layout Standard
14388
14389 \color red
14390 c
14391 \end_layout
14392
14393 \end_inset
14394 </cell>
14395 </row>
14396 <row>
14397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14398 \begin_inset Text
14399
14400 \begin_layout Standard
14401
14402 \color yellow
14403 d
14404 \end_layout
14405
14406 \end_inset
14407 </cell>
14408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14409 \begin_inset Text
14410
14411 \begin_layout Standard
14412
14413 \color blue
14414 e
14415 \end_layout
14416
14417 \end_inset
14418 </cell>
14419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14420 \begin_inset Text
14421
14422 \begin_layout Standard
14423
14424 \color blue
14425 f
14426 \end_layout
14427
14428 \end_inset
14429 </cell>
14430 </row>
14431 <row>
14432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14433 \begin_inset Text
14434
14435 \begin_layout Standard
14436
14437 \color yellow
14438 g
14439 \end_layout
14440
14441 \end_inset
14442 </cell>
14443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14444 \begin_inset Text
14445
14446 \begin_layout Standard
14447
14448 \color blue
14449 h
14450 \end_layout
14451
14452 \end_inset
14453 </cell>
14454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14455 \begin_inset Text
14456
14457 \begin_layout Standard
14458 \begin_inset ERT
14459 status collapsed
14460
14461 \begin_layout Standard
14462
14463
14464 \backslash
14465 cellcolor{magenta}
14466 \end_layout
14467
14468 \end_inset
14469
14470
14471 \color green
14472 i
14473 \end_layout
14474
14475 \end_inset
14476 </cell>
14477 </row>
14478 </lyxtabular>
14479
14480 \end_inset
14481
14482
14483 \end_layout
14484
14485 \end_inset
14486
14487
14488 \end_layout
14489
14490 \begin_layout Standard
14491 \begin_inset ERT
14492 status collapsed
14493
14494 \begin_layout Standard
14495
14496
14497 \backslash
14498 else
14499 \end_layout
14500
14501 \end_inset
14502
14503
14504 \begin_inset Note Note
14505 status open
14506
14507 \begin_layout Standard
14508 The following will be displayed when the LaTeX-package 
14509 \series bold
14510 colortbl
14511 \series default
14512  is not installed:
14513 \end_layout
14514
14515 \end_inset
14516
14517
14518 \end_layout
14519
14520 \begin_layout Standard
14521 You need to install the package 
14522 \series bold
14523 colortbl
14524 \series default
14525  to see the content of this section in the output.
14526 \end_layout
14527
14528 \begin_layout Standard
14529 \begin_inset ERT
14530 status collapsed
14531
14532 \begin_layout Standard
14533
14534
14535 \backslash
14536 fi
14537 \end_layout
14538
14539 \end_inset
14540
14541
14542 \end_layout
14543
14544 \begin_layout Subsection
14545 Colored Lines
14546 \begin_inset LatexCommand index
14547 name "Table Color ! for Lines"
14548
14549 \end_inset
14550
14551
14552 \begin_inset LatexCommand index
14553 name "Color ! for Table Lines"
14554
14555 \end_inset
14556
14557
14558 \end_layout
14559
14560 \begin_layout Standard
14561 As described in section\InsetSpace ~
14562
14563 \begin_inset LatexCommand ref
14564 reference "sub:Line-Thickness"
14565
14566 \end_inset
14567
14568 , the line thickness for all lines in a table can be adjusted with the length
14569  
14570 \series bold
14571
14572 \backslash
14573 arrayrulewidth
14574 \series default
14575 .
14576  It is set to 1.5\InsetSpace \thinspace{}
14577 pt for all tables of this section.
14578 \begin_inset ERT
14579 status collapsed
14580
14581 \begin_layout Standard
14582
14583
14584 \backslash
14585 setlength{
14586 \backslash
14587 arrayrulewidth}{1.5pt}
14588 \end_layout
14589
14590 \end_inset
14591
14592
14593 \end_layout
14594
14595 \begin_layout Standard
14596 To color vertical lines for example with green, create the following column
14597  format in the document preamble, according to the description in section\InsetSpace ~
14598
14599 \begin_inset LatexCommand ref
14600 reference "sub:Customized-Format"
14601
14602 \end_inset
14603
14604 :
14605 \end_layout
14606
14607 \begin_layout Standard
14608
14609 \series bold
14610
14611 \backslash
14612 newcolumntype{W}{!{
14613 \backslash
14614 color{green}
14615 \backslash
14616 vline}}
14617 \end_layout
14618
14619 \begin_layout Standard
14620 For Table\InsetSpace ~
14621
14622 \begin_inset LatexCommand ref
14623 reference "tab:Table-with-vertical-colored"
14624
14625 \end_inset
14626
14627  the LaTeX-argument
14628 \series bold
14629  WcW
14630 \series default
14631  was used for the last column and
14632 \series bold
14633  Wc
14634 \series default
14635  for the other columns.
14636 \end_layout
14637
14638 \begin_layout Standard
14639 If you want to have several colors, define more column formats.
14640 \end_layout
14641
14642 \begin_layout Standard
14643 \begin_inset Float table
14644 wide false
14645 sideways false
14646 status open
14647
14648 \begin_layout Standard
14649 \begin_inset Caption
14650
14651 \begin_layout Standard
14652 \begin_inset LatexCommand label
14653 name "tab:Table-with-vertical-colored"
14654
14655 \end_inset
14656
14657 Table with colored vertical lines
14658 \end_layout
14659
14660 \end_inset
14661
14662
14663 \end_layout
14664
14665 \begin_layout Standard
14666 \align center
14667 \begin_inset Tabular
14668 <lyxtabular version="3" rows="3" columns="3">
14669 <features>
14670 <column alignment="center" valignment="top" width="0" special="Wc">
14671 <column alignment="center" valignment="top" width="0" special="Wc">
14672 <column alignment="center" valignment="top" width="0" special="WcW">
14673 <row topline="true">
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14675 \begin_inset Text
14676
14677 \begin_layout Standard
14678 sd
14679 \end_layout
14680
14681 \end_inset
14682 </cell>
14683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14684 \begin_inset Text
14685
14686 \begin_layout Standard
14687
14688 \end_layout
14689
14690 \end_inset
14691 </cell>
14692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14693 \begin_inset Text
14694
14695 \begin_layout Standard
14696
14697 \end_layout
14698
14699 \end_inset
14700 </cell>
14701 </row>
14702 <row topline="true">
14703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14704 \begin_inset Text
14705
14706 \begin_layout Standard
14707
14708 \end_layout
14709
14710 \end_inset
14711 </cell>
14712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14713 \begin_inset Text
14714
14715 \begin_layout Standard
14716 sd
14717 \end_layout
14718
14719 \end_inset
14720 </cell>
14721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14722 \begin_inset Text
14723
14724 \begin_layout Standard
14725
14726 \end_layout
14727
14728 \end_inset
14729 </cell>
14730 </row>
14731 <row topline="true" bottomline="true">
14732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14733 \begin_inset Text
14734
14735 \begin_layout Standard
14736
14737 \end_layout
14738
14739 \end_inset
14740 </cell>
14741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14742 \begin_inset Text
14743
14744 \begin_layout Standard
14745
14746 \end_layout
14747
14748 \end_inset
14749 </cell>
14750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14751 \begin_inset Text
14752
14753 \begin_layout Standard
14754 sd
14755 \end_layout
14756
14757 \end_inset
14758 </cell>
14759 </row>
14760 </lyxtabular>
14761
14762 \end_inset
14763
14764
14765 \end_layout
14766
14767 \end_inset
14768
14769
14770 \end_layout
14771
14772 \begin_layout Standard
14773 \begin_inset VSpace bigskip
14774 \end_inset
14775
14776 To color horizontal lines for example with red, like in Table\InsetSpace ~
14777
14778 \begin_inset LatexCommand ref
14779 reference "tab:Table-with-horizontal-colored"
14780
14781 \end_inset
14782
14783 , insert these commands in TeX-Code before the table or table float:
14784 \end_layout
14785
14786 \begin_layout Standard
14787
14788 \series bold
14789
14790 \backslash
14791 let
14792 \backslash
14793 myHlineC
14794 \backslash
14795 hline
14796 \newline
14797
14798 \backslash
14799 renewcommand{
14800 \backslash
14801 hline}
14802 \newline
14803
14804 \begin_inset ERT
14805 status collapsed
14806
14807 \begin_layout Standard
14808
14809
14810 \backslash
14811 hphantom{ }
14812 \end_layout
14813
14814 \end_inset
14815
14816 {
14817 \backslash
14818 arrayrulecolor{red}
14819 \backslash
14820 myHlineC
14821 \backslash
14822 arrayrulecolor{black}}
14823 \end_layout
14824
14825 \begin_layout Standard
14826 \begin_inset ERT
14827 status collapsed
14828
14829 \begin_layout Standard
14830
14831
14832 \backslash
14833 let
14834 \backslash
14835 myHlineC
14836 \backslash
14837 hline
14838 \end_layout
14839
14840 \begin_layout Standard
14841
14842
14843 \backslash
14844 renewcommand{
14845 \backslash
14846 hline}
14847 \end_layout
14848
14849 \begin_layout Standard
14850
14851  {
14852 \backslash
14853 arrayrulecolor{red}
14854 \backslash
14855 myHlineC
14856 \backslash
14857 arrayrulecolor{black}}
14858 \end_layout
14859
14860 \end_inset
14861
14862
14863 \begin_inset Float table
14864 wide false
14865 sideways false
14866 status open
14867
14868 \begin_layout Standard
14869 \begin_inset Caption
14870
14871 \begin_layout Standard
14872 \begin_inset LatexCommand label
14873 name "tab:Table-with-horizontal-colored"
14874
14875 \end_inset
14876
14877 Table with colored horizontal lines
14878 \end_layout
14879
14880 \end_inset
14881
14882
14883 \end_layout
14884
14885 \begin_layout Standard
14886 \align center
14887 \begin_inset Tabular
14888 <lyxtabular version="3" rows="3" columns="3">
14889 <features>
14890 <column alignment="center" valignment="top" leftline="true" width="0">
14891 <column alignment="center" valignment="top" leftline="true" width="0">
14892 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14893 <row topline="true">
14894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14895 \begin_inset Text
14896
14897 \begin_layout Standard
14898 sd
14899 \end_layout
14900
14901 \end_inset
14902 </cell>
14903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14904 \begin_inset Text
14905
14906 \begin_layout Standard
14907
14908 \end_layout
14909
14910 \end_inset
14911 </cell>
14912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14913 \begin_inset Text
14914
14915 \begin_layout Standard
14916
14917 \end_layout
14918
14919 \end_inset
14920 </cell>
14921 </row>
14922 <row topline="true">
14923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14924 \begin_inset Text
14925
14926 \begin_layout Standard
14927
14928 \end_layout
14929
14930 \end_inset
14931 </cell>
14932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14933 \begin_inset Text
14934
14935 \begin_layout Standard
14936 sd
14937 \end_layout
14938
14939 \end_inset
14940 </cell>
14941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14942 \begin_inset Text
14943
14944 \begin_layout Standard
14945
14946 \end_layout
14947
14948 \end_inset
14949 </cell>
14950 </row>
14951 <row topline="true" bottomline="true">
14952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14953 \begin_inset Text
14954
14955 \begin_layout Standard
14956
14957 \end_layout
14958
14959 \end_inset
14960 </cell>
14961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14962 \begin_inset Text
14963
14964 \begin_layout Standard
14965
14966 \end_layout
14967
14968 \end_inset
14969 </cell>
14970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14971 \begin_inset Text
14972
14973 \begin_layout Standard
14974 sd
14975 \end_layout
14976
14977 \end_inset
14978 </cell>
14979 </row>
14980 </lyxtabular>
14981
14982 \end_inset
14983
14984
14985 \end_layout
14986
14987 \end_inset
14988
14989
14990 \end_layout
14991
14992 \begin_layout Standard
14993 \begin_inset ERT
14994 status collapsed
14995
14996 \begin_layout Standard
14997
14998
14999 \backslash
15000 pagebreak 
15001 \end_layout
15002
15003 \end_inset
15004
15005
15006 \end_layout
15007
15008 \begin_layout Standard
15009 To return to the default line color black, insert this command in TeX-Code
15010  behind the table or table float:
15011 \end_layout
15012
15013 \begin_layout Standard
15014
15015 \series bold
15016
15017 \backslash
15018 renewcommand{
15019 \backslash
15020 hline}{
15021 \backslash
15022 myHlineC}
15023 \end_layout
15024
15025 \begin_layout Standard
15026 Table\InsetSpace ~
15027
15028 \begin_inset LatexCommand ref
15029 reference "tab:Table-with-colored"
15030
15031 \end_inset
15032
15033  is an example with colored vertical and horizontal lines.
15034 \end_layout
15035
15036 \begin_layout Standard
15037 \begin_inset Float table
15038 placement h
15039 wide false
15040 sideways false
15041 status open
15042
15043 \begin_layout Standard
15044 \begin_inset Caption
15045
15046 \begin_layout Standard
15047 \begin_inset LatexCommand label
15048 name "tab:Table-with-colored"
15049
15050 \end_inset
15051
15052 Table with colored lines
15053 \end_layout
15054
15055 \end_inset
15056
15057
15058 \end_layout
15059
15060 \begin_layout Standard
15061 \align center
15062 \begin_inset Tabular
15063 <lyxtabular version="3" rows="3" columns="3">
15064 <features>
15065 <column alignment="center" valignment="top" width="0" special="Wc">
15066 <column alignment="center" valignment="top" width="0" special="Wc">
15067 <column alignment="center" valignment="top" width="0" special="WcW">
15068 <row topline="true">
15069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15070 \begin_inset Text
15071
15072 \begin_layout Standard
15073 sd
15074 \end_layout
15075
15076 \end_inset
15077 </cell>
15078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15079 \begin_inset Text
15080
15081 \begin_layout Standard
15082
15083 \end_layout
15084
15085 \end_inset
15086 </cell>
15087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15088 \begin_inset Text
15089
15090 \begin_layout Standard
15091
15092 \end_layout
15093
15094 \end_inset
15095 </cell>
15096 </row>
15097 <row topline="true">
15098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15099 \begin_inset Text
15100
15101 \begin_layout Standard
15102
15103 \end_layout
15104
15105 \end_inset
15106 </cell>
15107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15108 \begin_inset Text
15109
15110 \begin_layout Standard
15111 sd
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15117 \begin_inset Text
15118
15119 \begin_layout Standard
15120
15121 \end_layout
15122
15123 \end_inset
15124 </cell>
15125 </row>
15126 <row topline="true" bottomline="true" topspace="default">
15127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15128 \begin_inset Text
15129
15130 \begin_layout Standard
15131
15132 \end_layout
15133
15134 \end_inset
15135 </cell>
15136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15137 \begin_inset Text
15138
15139 \begin_layout Standard
15140
15141 \end_layout
15142
15143 \end_inset
15144 </cell>
15145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_inset Text
15147
15148 \begin_layout Standard
15149 sd
15150 \end_layout
15151
15152 \end_inset
15153 </cell>
15154 </row>
15155 </lyxtabular>
15156
15157 \end_inset
15158
15159
15160 \end_layout
15161
15162 \end_inset
15163
15164
15165 \end_layout
15166
15167 \begin_layout Standard
15168 \begin_inset ERT
15169 status collapsed
15170
15171 \begin_layout Standard
15172
15173
15174 \backslash
15175 renewcommand{
15176 \backslash
15177 hline}{
15178 \backslash
15179 myHlineC}
15180 \end_layout
15181
15182 \end_inset
15183
15184
15185 \end_layout
15186
15187 \begin_layout Standard
15188 \begin_inset ERT
15189 status collapsed
15190
15191 \begin_layout Standard
15192
15193
15194 \backslash
15195 setlength{
15196 \backslash
15197 arrayrulewidth}{0.4pt}
15198 \end_layout
15199
15200 \end_inset
15201
15202
15203 \end_layout
15204
15205 \begin_layout Section
15206 Table Customization
15207 \begin_inset LatexCommand index
15208 name "Table Customization"
15209
15210 \end_inset
15211
15212
15213 \begin_inset LatexCommand index
15214 name "Table ! Customization"
15215
15216 \end_inset
15217
15218
15219 \end_layout
15220
15221 \begin_layout Subsection
15222 Row Spacing
15223 \begin_inset LatexCommand label
15224 name "sub:Row-Spacing"
15225
15226 \end_inset
15227
15228
15229 \begin_inset LatexCommand index
15230 name "Table Customization ! Row Spacing"
15231
15232 \end_inset
15233
15234
15235 \end_layout
15236
15237 \begin_layout Standard
15238 You can add vertical space to table rows in the 
15239 \family sans
15240 Borders
15241 \family default
15242  tab of the table dialog.
15243  You find there three possibilities:
15244 \end_layout
15245
15246 \begin_layout Description
15247 Top\InsetSpace ~
15248 of\InsetSpace ~
15249 row will add space above the characters of the table row.
15250  If the table is a formal table
15251 \begin_inset Foot
15252 status collapsed
15253
15254 \begin_layout Standard
15255 Formal tables are explained in section\InsetSpace ~
15256
15257 \begin_inset LatexCommand ref
15258 reference "sec:Formal-Tables"
15259
15260 \end_inset
15261
15262 .
15263 \end_layout
15264
15265 \end_inset
15266
15267  LyX will insert as default 0.5\InsetSpace \thinspace{}
15268 em space.
15269  For normal tables the inserted space will unfortunately destroy the vertical
15270  table lines as in the following table:
15271 \begin_inset VSpace medskip
15272 \end_inset
15273
15274
15275 \newline
15276
15277 \begin_inset ERT
15278 status collapsed
15279
15280 \begin_layout Standard
15281
15282
15283 \backslash
15284 hspace*{0pt}
15285 \end_layout
15286
15287 \end_inset
15288
15289
15290 \hfill
15291
15292 \begin_inset Tabular
15293 <lyxtabular version="3" rows="3" columns="1">
15294 <features>
15295 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15296 <row topline="true">
15297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15298 \begin_inset Text
15299
15300 \begin_layout Standard
15301 A
15302 \end_layout
15303
15304 \end_inset
15305 </cell>
15306 </row>
15307 <row topline="true" topspace="3mm">
15308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15309 \begin_inset Text
15310
15311 \begin_layout Standard
15312 3\InsetSpace \thinspace{}
15313 mm space top of row
15314 \end_layout
15315
15316 \end_inset
15317 </cell>
15318 </row>
15319 <row topline="true" bottomline="true">
15320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Standard
15324 C
15325 \end_layout
15326
15327 \end_inset
15328 </cell>
15329 </row>
15330 </lyxtabular>
15331
15332 \end_inset
15333
15334
15335 \hfill
15336
15337 \begin_inset ERT
15338 status collapsed
15339
15340 \begin_layout Standard
15341
15342
15343 \backslash
15344 hspace*{0pt}
15345 \end_layout
15346
15347 \end_inset
15348
15349
15350 \begin_inset VSpace medskip
15351 \end_inset
15352
15353
15354 \newline
15355 So inserting space to the top of row for normal tables is only useful when
15356  you don't have vertical lines.
15357 \end_layout
15358
15359 \begin_layout Description
15360 Bottom\InsetSpace ~
15361 of\InsetSpace ~
15362 row will add space below the characters of the table row.
15363  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15364 em space, for
15365  normal tables the default size is 2\InsetSpace \thinspace{}
15366 pt.
15367 \end_layout
15368
15369 \begin_layout Description
15370 Between\InsetSpace ~
15371 rows adds space between the current and the following row.
15372  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15373 em space.
15374  For normal tables the inserted space will unfortunately destroy the vertical
15375  table lines as in the following table:
15376 \begin_inset VSpace medskip
15377 \end_inset
15378
15379
15380 \newline
15381
15382 \begin_inset ERT
15383 status collapsed
15384
15385 \begin_layout Standard
15386
15387
15388 \backslash
15389 hspace*{0pt}
15390 \end_layout
15391
15392 \end_inset
15393
15394
15395 \hfill
15396
15397 \begin_inset Tabular
15398 <lyxtabular version="3" rows="3" columns="1">
15399 <features>
15400 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15401 <row topline="true">
15402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15403 \begin_inset Text
15404
15405 \begin_layout Standard
15406 A
15407 \end_layout
15408
15409 \end_inset
15410 </cell>
15411 </row>
15412 <row topline="true" interlinespace="3mm">
15413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15414 \begin_inset Text
15415
15416 \begin_layout Standard
15417 \begin_inset Formula $\downarrow$
15418 \end_inset
15419
15420  3\InsetSpace \thinspace{}
15421 mm space between row 
15422 \begin_inset Formula $\downarrow$
15423 \end_inset
15424
15425
15426 \end_layout
15427
15428 \end_inset
15429 </cell>
15430 </row>
15431 <row topline="true" bottomline="true">
15432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15433 \begin_inset Text
15434
15435 \begin_layout Standard
15436 \begin_inset Formula $\uparrow$
15437 \end_inset
15438
15439  3\InsetSpace \thinspace{}
15440 mm space between row 
15441 \begin_inset Formula $\uparrow$
15442 \end_inset
15443
15444
15445 \end_layout
15446
15447 \end_inset
15448 </cell>
15449 </row>
15450 </lyxtabular>
15451
15452 \end_inset
15453
15454
15455 \hfill
15456
15457 \begin_inset ERT
15458 status collapsed
15459
15460 \begin_layout Standard
15461
15462
15463 \backslash
15464 hspace*{0pt}
15465 \end_layout
15466
15467 \end_inset
15468
15469
15470 \begin_inset VSpace medskip
15471 \end_inset
15472
15473
15474 \newline
15475 So inserting space between rows for normal tables is only useful when you
15476  don't have vertical lines.
15477 \end_layout
15478
15479 \begin_layout Standard
15480 \begin_inset VSpace bigskip
15481 \end_inset
15482
15483 When you want to add extra height to all cells of all tables, you can do
15484  this with the following preamble lines:
15485 \end_layout
15486
15487 \begin_layout Standard
15488
15489 \series bold
15490
15491 \backslash
15492 @ifundef\SpecialChar \textcompwordmark{}
15493 ined{extrarowheight}
15494 \newline
15495
15496 \begin_inset ERT
15497 status collapsed
15498
15499 \begin_layout Standard
15500
15501
15502 \backslash
15503 hphantom{ }
15504 \end_layout
15505
15506 \end_inset
15507
15508 {
15509 \backslash
15510 usepackage{array}}{}
15511 \newline
15512
15513 \backslash
15514 setlength{
15515 \backslash
15516 extrarowheight}{height}
15517 \end_layout
15518
15519 \begin_layout Standard
15520 But this has the disadvantage that the cell texts are no longer exactly
15521  vertically centered.
15522  (The package 
15523 \series bold
15524 array
15525 \series default
15526  will be loaded automatically by LyX when you use self defined table formats.
15527  To avoid that it is loaded twice the command 
15528 \series bold
15529
15530 \backslash
15531 @ifundef\SpecialChar \textcompwordmark{}
15532 ined
15533 \series default
15534  is used in the above command.)
15535 \end_layout
15536
15537 \begin_layout Subsection
15538 Special Cell Alignment
15539 \begin_inset LatexCommand index
15540 name "Table Customization ! Special Cell Alignment"
15541
15542 \end_inset
15543
15544
15545 \end_layout
15546
15547 \begin_layout Standard
15548 Sometimes it looks better when the cell entries of a column are aligned
15549  with a special character, e.\InsetSpace \thinspace{}
15550 g.\InsetSpace ~
15551 with the decimal separator as in Table\InsetSpace ~
15552
15553 \begin_inset LatexCommand ref
15554 reference "tab:Table-cells-of"
15555
15556 \end_inset
15557
15558 .
15559 \end_layout
15560
15561 \begin_layout Standard
15562 \begin_inset Float table
15563 placement h
15564 wide false
15565 sideways false
15566 status open
15567
15568 \begin_layout Standard
15569 \begin_inset Caption
15570
15571 \begin_layout Standard
15572 \begin_inset LatexCommand label
15573 name "tab:Table-cells-of"
15574
15575 \end_inset
15576
15577 Table cells of a column aligned with the decimal separator.
15578 \end_layout
15579
15580 \end_inset
15581
15582
15583 \end_layout
15584
15585 \begin_layout Standard
15586 \align center
15587 \begin_inset Tabular
15588 <lyxtabular version="3" rows="4" columns="2">
15589 <features>
15590 <column alignment="right" valignment="top" width="0">
15591 <column alignment="left" valignment="top" width="0" special="@{}l">
15592 <row bottomline="true">
15593 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15594 \begin_inset Text
15595
15596 \begin_layout Standard
15597 heading
15598 \end_layout
15599
15600 \end_inset
15601 </cell>
15602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15603 \begin_inset Text
15604
15605 \begin_layout Standard
15606
15607 \end_layout
15608
15609 \end_inset
15610 </cell>
15611 </row>
15612 <row>
15613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15614 \begin_inset Text
15615
15616 \begin_layout Standard
15617 12.
15618 \end_layout
15619
15620 \end_inset
15621 </cell>
15622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15623 \begin_inset Text
15624
15625 \begin_layout Standard
15626 6
15627 \end_layout
15628
15629 \end_inset
15630 </cell>
15631 </row>
15632 <row>
15633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15634 \begin_inset Text
15635
15636 \begin_layout Standard
15637 0.
15638 \end_layout
15639
15640 \end_inset
15641 </cell>
15642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15643 \begin_inset Text
15644
15645 \begin_layout Standard
15646 68
15647 \end_layout
15648
15649 \end_inset
15650 </cell>
15651 </row>
15652 <row>
15653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15654 \begin_inset Text
15655
15656 \begin_layout Standard
15657 -123.
15658 \end_layout
15659
15660 \end_inset
15661 </cell>
15662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15663 \begin_inset Text
15664
15665 \begin_layout Standard
15666 0
15667 \end_layout
15668
15669 \end_inset
15670 </cell>
15671 </row>
15672 </lyxtabular>
15673
15674 \end_inset
15675
15676
15677 \end_layout
15678
15679 \end_inset
15680
15681
15682 \end_layout
15683
15684 \begin_layout Standard
15685 This table was created with a 4×2 table.
15686  The heading is a centered multicolumn.
15687  The first column is right-aligned and contains the digits before the decimal
15688  point and the decimal point.
15689  The second column is left aligned and contains the digits after the decimal
15690  point.
15691  To omit the space that is normally between two table columns, use the following
15692  LaTeX-argument for the second column:
15693 \end_layout
15694
15695 \begin_layout Standard
15696
15697 \series bold
15698 @{}l
15699 \end_layout
15700
15701 \begin_layout Standard
15702 Table\InsetSpace ~
15703
15704 \begin_inset LatexCommand ref
15705 reference "tab:Several-table-cell"
15706
15707 \end_inset
15708
15709  shows some example alignments.
15710  For the alignment with the relation sign, you must add the second smallest
15711  math-space at the beginning of the last column to get the correct space
15712  surrounding the relation sign.
15713 \end_layout
15714
15715 \begin_layout Standard
15716 \begin_inset Float table
15717 wide false
15718 sideways false
15719 status open
15720
15721 \begin_layout Standard
15722 \begin_inset Caption
15723
15724 \begin_layout Standard
15725 \begin_inset LatexCommand label
15726 name "tab:Several-table-cell"
15727
15728 \end_inset
15729
15730 Several table cell alignments.
15731 \end_layout
15732
15733 \end_inset
15734
15735
15736 \end_layout
15737
15738 \begin_layout Standard
15739 \align center
15740 \begin_inset Tabular
15741 <lyxtabular version="3" rows="4" columns="6">
15742 <features>
15743 <column alignment="right" valignment="top" width="0">
15744 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15745 <column alignment="right" valignment="top" width="0">
15746 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15747 <column alignment="right" valignment="top" width="0">
15748 <column alignment="left" valignment="top" width="0" special="@{}l">
15749 <row bottomline="true">
15750 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15751 \begin_inset Text
15752
15753 \begin_layout Standard
15754 units
15755 \end_layout
15756
15757 \end_inset
15758 </cell>
15759 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15760 \begin_inset Text
15761
15762 \begin_layout Standard
15763
15764 \end_layout
15765
15766 \end_inset
15767 </cell>
15768 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15769 \begin_inset Text
15770
15771 \begin_layout Standard
15772 exponents
15773 \end_layout
15774
15775 \end_inset
15776 </cell>
15777 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15778 \begin_inset Text
15779
15780 \begin_layout Standard
15781
15782 \end_layout
15783
15784 \end_inset
15785 </cell>
15786 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15787 \begin_inset Text
15788
15789 \begin_layout Standard
15790 relations
15791 \end_layout
15792
15793 \end_inset
15794 </cell>
15795 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15796 \begin_inset Text
15797
15798 \begin_layout Standard
15799
15800 \end_layout
15801
15802 \end_inset
15803 </cell>
15804 </row>
15805 <row>
15806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15807 \begin_inset Text
15808
15809 \begin_layout Standard
15810 12×
15811 \end_layout
15812
15813 \end_inset
15814 </cell>
15815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15816 \begin_inset Text
15817
15818 \begin_layout Standard
15819 24\InsetSpace \thinspace{}
15820 bottles
15821 \end_layout
15822
15823 \end_inset
15824 </cell>
15825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15826 \begin_inset Text
15827
15828 \begin_layout Standard
15829 \begin_inset Formula $10\cdot$
15830 \end_inset
15831
15832
15833 \end_layout
15834
15835 \end_inset
15836 </cell>
15837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15838 \begin_inset Text
15839
15840 \begin_layout Standard
15841 \begin_inset Formula $10^{\mbox{-}17}$
15842 \end_inset
15843
15844
15845 \end_layout
15846
15847 \end_inset
15848 </cell>
15849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15850 \begin_inset Text
15851
15852 \begin_layout Standard
15853 \begin_inset Formula $\Gamma(t)\propto$
15854 \end_inset
15855
15856
15857 \end_layout
15858
15859 \end_inset
15860 </cell>
15861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15862 \begin_inset Text
15863
15864 \begin_layout Standard
15865 \begin_inset Formula $\:\Upsilon(t)$
15866 \end_inset
15867
15868
15869 \end_layout
15870
15871 \end_inset
15872 </cell>
15873 </row>
15874 <row>
15875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15876 \begin_inset Text
15877
15878 \begin_layout Standard
15879 1024×
15880 \end_layout
15881
15882 \end_inset
15883 </cell>
15884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15885 \begin_inset Text
15886
15887 \begin_layout Standard
15888 768\InsetSpace \thinspace{}
15889 Pixels
15890 \end_layout
15891
15892 \end_inset
15893 </cell>
15894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15895 \begin_inset Text
15896
15897 \begin_layout Standard
15898 \begin_inset Formula $5.78\cdot$
15899 \end_inset
15900
15901
15902 \end_layout
15903
15904 \end_inset
15905 </cell>
15906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15907 \begin_inset Text
15908
15909 \begin_layout Standard
15910 \begin_inset Formula $10^{7}$
15911 \end_inset
15912
15913
15914 \end_layout
15915
15916 \end_inset
15917 </cell>
15918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15919 \begin_inset Text
15920
15921 \begin_layout Standard
15922 \begin_inset Formula $A\ne$
15923 \end_inset
15924
15925
15926 \end_layout
15927
15928 \end_inset
15929 </cell>
15930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15931 \begin_inset Text
15932
15933 \begin_layout Standard
15934 \begin_inset Formula $\: B_{\mathrm{red}}$
15935 \end_inset
15936
15937
15938 \end_layout
15939
15940 \end_inset
15941 </cell>
15942 </row>
15943 <row>
15944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15945 \begin_inset Text
15946
15947 \begin_layout Standard
15948 32×
15949 \end_layout
15950
15951 \end_inset
15952 </cell>
15953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15954 \begin_inset Text
15955
15956 \begin_layout Standard
15957 6\InsetSpace \thinspace{}
15958 cm
15959 \end_layout
15960
15961 \end_inset
15962 </cell>
15963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15964 \begin_inset Text
15965
15966 \begin_layout Standard
15967 -
15968 \begin_inset Formula $33.5\cdot$
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \end_inset
15975 </cell>
15976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15977 \begin_inset Text
15978
15979 \begin_layout Standard
15980 \begin_inset Formula $10^{4}$
15981 \end_inset
15982
15983
15984 \end_layout
15985
15986 \end_inset
15987 </cell>
15988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15989 \begin_inset Text
15990
15991 \begin_layout Standard
15992 \begin_inset Formula $\sin(\alpha)\ge$
15993 \end_inset
15994
15995
15996 \end_layout
15997
15998 \end_inset
15999 </cell>
16000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16001 \begin_inset Text
16002
16003 \begin_layout Standard
16004 \begin_inset Formula $\:\sin(\beta)$
16005 \end_inset
16006
16007
16008 \end_layout
16009
16010 \end_inset
16011 </cell>
16012 </row>
16013 </lyxtabular>
16014
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \end_inset
16021
16022
16023 \end_layout
16024
16025 \begin_layout Standard
16026 \begin_inset VSpace bigskip
16027 \end_inset
16028
16029 There is also the LaTeX-package 
16030 \series bold
16031 dcolumn
16032 \series default
16033
16034 \begin_inset LatexCommand index
16035 name "LaTeX-packages ! dcolumn"
16036
16037 \end_inset
16038
16039  that provides table cell alignments.
16040  But this unfortunately treats the cell entries as math and doesn't allow
16041  formulas in table cells: The first column of Table\InsetSpace ~
16042
16043 \begin_inset LatexCommand ref
16044 reference "tab:Several-table-cell"
16045
16046 \end_inset
16047
16048  will look with 
16049 \series bold
16050 dcolumn
16051 \series default
16052  like the first column in Table\InsetSpace ~
16053
16054 \begin_inset LatexCommand ref
16055 reference "tab:Alignments-when"
16056
16057 \end_inset
16058
16059  and only with some tricks like the expected.
16060  The alignment of the second and third column of Table\InsetSpace ~
16061
16062 \begin_inset LatexCommand ref
16063 reference "tab:Several-table-cell"
16064
16065 \end_inset
16066
16067  is not possible with 
16068 \series bold
16069 dcolumn
16070 \series default
16071 .
16072 \end_layout
16073
16074 \begin_layout Standard
16075 \begin_inset Float table
16076 placement h
16077 wide false
16078 sideways false
16079 status open
16080
16081 \begin_layout Standard
16082 \begin_inset Caption
16083
16084 \begin_layout Standard
16085 \begin_inset LatexCommand label
16086 name "tab:Alignments-when"
16087
16088 \end_inset
16089
16090 Alignments when LaTeX-package dcolumn is used.
16091  For all column alignments tricks have to be used to get the output.
16092 \end_layout
16093
16094 \end_inset
16095
16096
16097 \end_layout
16098
16099 \begin_layout Standard
16100 \align center
16101 \begin_inset Tabular
16102 <lyxtabular version="3" rows="4" columns="3">
16103 <features>
16104 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
16105 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
16106 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16107 <row bottomline="true">
16108 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16109 \begin_inset Text
16110
16111 \begin_layout Standard
16112 units
16113 \end_layout
16114
16115 \end_inset
16116 </cell>
16117 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16118 \begin_inset Text
16119
16120 \begin_layout Standard
16121 units
16122 \end_layout
16123
16124 \end_inset
16125 </cell>
16126 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16127 \begin_inset Text
16128
16129 \begin_layout Standard
16130 units
16131 \end_layout
16132
16133 \end_inset
16134 </cell>
16135 </row>
16136 <row>
16137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16138 \begin_inset Text
16139
16140 \begin_layout Standard
16141 12x24\InsetSpace \thinspace{}
16142 bottles
16143 \end_layout
16144
16145 \end_inset
16146 </cell>
16147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16148 \begin_inset Text
16149
16150 \begin_layout Standard
16151 12x24\InsetSpace \thinspace{}
16152
16153 \begin_inset Formula $\mbox{bottles}$
16154 \end_inset
16155
16156
16157 \end_layout
16158
16159 \end_inset
16160 </cell>
16161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16162 \begin_inset Text
16163
16164 \begin_layout Standard
16165 12
16166 \begin_inset ERT
16167 status collapsed
16168
16169 \begin_layout Standard
16170
16171
16172 \backslash
16173 times 
16174 \end_layout
16175
16176 \end_inset
16177
16178 24~
16179 \begin_inset Formula $\mbox{bottles}$
16180 \end_inset
16181
16182
16183 \end_layout
16184
16185 \end_inset
16186 </cell>
16187 </row>
16188 <row>
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Standard
16193 1024x768\InsetSpace \thinspace{}
16194 Pixels
16195 \end_layout
16196
16197 \end_inset
16198 </cell>
16199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16200 \begin_inset Text
16201
16202 \begin_layout Standard
16203 1024x768\InsetSpace \thinspace{}
16204
16205 \begin_inset Formula $\mbox{Pixels}$
16206 \end_inset
16207
16208
16209 \end_layout
16210
16211 \end_inset
16212 </cell>
16213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16214 \begin_inset Text
16215
16216 \begin_layout Standard
16217 1024
16218 \begin_inset ERT
16219 status collapsed
16220
16221 \begin_layout Standard
16222
16223
16224 \backslash
16225 times 
16226 \end_layout
16227
16228 \end_inset
16229
16230 768~
16231 \begin_inset Formula $\mbox{Pixels}$
16232 \end_inset
16233
16234
16235 \end_layout
16236
16237 \end_inset
16238 </cell>
16239 </row>
16240 <row>
16241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16242 \begin_inset Text
16243
16244 \begin_layout Standard
16245 32x6\InsetSpace \thinspace{}
16246 cm
16247 \end_layout
16248
16249 \end_inset
16250 </cell>
16251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16252 \begin_inset Text
16253
16254 \begin_layout Standard
16255 32x6\InsetSpace \thinspace{}
16256
16257 \begin_inset Formula $\mbox{cm}$
16258 \end_inset
16259
16260
16261 \end_layout
16262
16263 \end_inset
16264 </cell>
16265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16266 \begin_inset Text
16267
16268 \begin_layout Standard
16269 32
16270 \begin_inset ERT
16271 status collapsed
16272
16273 \begin_layout Standard
16274
16275
16276 \backslash
16277 times 
16278 \end_layout
16279
16280 \end_inset
16281
16282 6~
16283 \begin_inset Formula $\mbox{cm}$
16284 \end_inset
16285
16286
16287 \end_layout
16288
16289 \end_inset
16290 </cell>
16291 </row>
16292 </lyxtabular>
16293
16294 \end_inset
16295
16296
16297 \end_layout
16298
16299 \end_inset
16300
16301
16302 \end_layout
16303
16304 \begin_layout Subsection
16305 Customized Cell/Column Format
16306 \begin_inset LatexCommand label
16307 name "sub:Customized-Format"
16308
16309 \end_inset
16310
16311
16312 \begin_inset LatexCommand index
16313 name "Table Customization ! Cell/Column Format"
16314
16315 \end_inset
16316
16317
16318 \end_layout
16319
16320 \begin_layout Standard
16321 Calculating the needed width for spanned columns like in section\InsetSpace ~
16322
16323 \begin_inset LatexCommand ref
16324 reference "sub:Multicolumn-Calculations"
16325
16326 \end_inset
16327
16328  is very annoying if you have several tables with multicolumn cells.
16329  To make life easier, you can define a cell/column format in the preamble,
16330  so that it can be used in all tables of the document.
16331  The format is defined with the command
16332 \end_layout
16333
16334 \begin_layout Standard
16335
16336 \series bold
16337
16338 \backslash
16339 newcolumntype{name of format}[number of arguments]{commands}
16340 \end_layout
16341
16342 \begin_layout Standard
16343 The format name may only consist of one letter.
16344  The letters 
16345 \emph on
16346 b
16347 \emph default
16348
16349 \emph on
16350 c
16351 \emph default
16352
16353 \emph on
16354 l
16355 \emph default
16356
16357 \emph on
16358 m
16359 \emph default
16360
16361 \emph on
16362 p
16363 \emph default
16364  and 
16365 \emph on
16366 r
16367 \emph default
16368  are predefined and cannot be used.
16369  But all letters are allowed as capitals.
16370 \end_layout
16371
16372 \begin_layout Standard
16373 \begin_inset VSpace medskip
16374 \end_inset
16375
16376
16377 \end_layout
16378
16379 \begin_layout Standard
16380 For vertically and horizontally centered multicolumn cells with a fixed
16381  width you can define the cell format
16382 \end_layout
16383
16384 \begin_layout Standard
16385
16386 \series bold
16387
16388 \backslash
16389 newcolumntype{M}[1]{>{
16390 \backslash
16391 centering
16392 \backslash
16393 hspace{0pt}}m{#1}}
16394 \end_layout
16395
16396 \begin_layout Standard
16397 where 
16398 \series bold
16399
16400 \backslash
16401 hspace{0pt}
16402 \series default
16403  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
16404
16405 \begin_inset LatexCommand ref
16406 reference "sub:Multiple-Lines-in"
16407
16408 \end_inset
16409
16410 .
16411  Now you can simply enter
16412 \end_layout
16413
16414 \begin_layout Standard
16415
16416 \series bold
16417 M{width}
16418 \end_layout
16419
16420 \begin_layout Standard
16421 as LaTeX-argument in the table dialog to create a multicolumn.
16422 \end_layout
16423
16424 \begin_layout Standard
16425 \begin_inset VSpace bigskip
16426 \end_inset
16427
16428
16429 \end_layout
16430
16431 \begin_layout Standard
16432 For cells spanned by a multicolumn cell, you can define the format
16433 \end_layout
16434
16435 \begin_layout Standard
16436
16437 \series bold
16438
16439 \backslash
16440 newcolumntype{S}[2]{>{
16441 \backslash
16442 centering
16443 \backslash
16444 hspace{0pt}}
16445 \newline
16446
16447 \begin_inset ERT
16448 status collapsed
16449
16450 \begin_layout Standard
16451
16452
16453 \backslash
16454 phantom{
16455 \end_layout
16456
16457 \end_inset
16458
16459
16460 \backslash
16461 newcolumntype
16462 \begin_inset ERT
16463 status collapsed
16464
16465 \begin_layout Standard
16466
16467 }
16468 \end_layout
16469
16470 \end_inset
16471
16472 m{(#1+(2
16473 \backslash
16474 tabcolsep+
16475 \backslash
16476 arrayrulewidth)*(1-#2))/#2}}
16477 \end_layout
16478
16479 \begin_layout Standard
16480 This format uses equation 
16481 \begin_inset LatexCommand eqref
16482 reference "eq:Wgn"
16483
16484 \end_inset
16485
16486  to calculate the needed width so that each spanned cell has the same width.
16487 \end_layout
16488
16489 \begin_layout Standard
16490 You can now enter
16491 \end_layout
16492
16493 \begin_layout Standard
16494
16495 \series bold
16496 S{width of multicolumn cell}{number of spanned columns}
16497 \end_layout
16498
16499 \begin_layout Standard
16500 as LaTeX-argument of the column.
16501 \end_layout
16502
16503 \begin_layout Standard
16504 \begin_inset VSpace bigskip
16505 \end_inset
16506
16507
16508 \end_layout
16509
16510 \begin_layout Standard
16511 For colored columns, you can define
16512 \end_layout
16513
16514 \begin_layout Standard
16515
16516 \series bold
16517
16518 \backslash
16519 newcolumntype{K}[1]{>{
16520 \backslash
16521 columncolor{#1}
16522 \backslash
16523 hspace{0pt}}c}
16524 \end_layout
16525
16526 \begin_layout Standard
16527 The 
16528 \begin_inset Quotes eld
16529 \end_inset
16530
16531 c
16532 \begin_inset Quotes erd
16533 \end_inset
16534
16535  at the end creates a column with a flexible width whose text is horizontally
16536  centered.
16537  You can now enter
16538 \end_layout
16539
16540 \begin_layout Standard
16541
16542 \series bold
16543 K{color name}
16544 \end_layout
16545
16546 \begin_layout Standard
16547 as LaTeX-argument.
16548 \end_layout
16549
16550 \begin_layout Standard
16551 \begin_inset VSpace bigskip
16552 \end_inset
16553
16554
16555 \end_layout
16556
16557 \begin_layout Standard
16558 To create Table\InsetSpace ~
16559
16560 \begin_inset LatexCommand ref
16561 reference "tab:Table-using-user-defined"
16562
16563 \end_inset
16564
16565  use the LaTeX-arguments
16566 \end_layout
16567
16568 \begin_layout Standard
16569
16570 \series bold
16571 M{2.5cm}
16572 \end_layout
16573
16574 \begin_layout Standard
16575 for the first column and the multicolumn,
16576 \end_layout
16577
16578 \begin_layout Standard
16579
16580 \series bold
16581 K{red}
16582 \end_layout
16583
16584 \begin_layout Standard
16585 for the the last column, and
16586 \end_layout
16587
16588 \begin_layout Standard
16589
16590 \series bold
16591 S{2.5cm}{2}
16592 \end_layout
16593
16594 \begin_layout Standard
16595 for the cells in the second column.
16596 \end_layout
16597
16598 \begin_layout Standard
16599 \begin_inset Float table
16600 placement h
16601 wide false
16602 sideways false
16603 status open
16604
16605 \begin_layout Standard
16606 \begin_inset Caption
16607
16608 \begin_layout Standard
16609 \begin_inset LatexCommand label
16610 name "tab:Table-using-user-defined"
16611
16612 \end_inset
16613
16614 Table using user-defined table formats
16615 \end_layout
16616
16617 \end_inset
16618
16619
16620 \end_layout
16621
16622 \begin_layout Standard
16623 \align center
16624 \begin_inset Tabular
16625 <lyxtabular version="3" rows="3" columns="4">
16626 <features>
16627 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16628 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16629 <column alignment="center" valignment="middle" leftline="true" width="0">
16630 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16631 <row topline="true">
16632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16633 \begin_inset Text
16634
16635 \begin_layout Standard
16636 verylongtablecellword
16637 \end_layout
16638
16639 \end_inset
16640 </cell>
16641 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16642 \begin_inset Text
16643
16644 \begin_layout Standard
16645 multiple lines multicolumn
16646 \end_layout
16647
16648 \end_inset
16649 </cell>
16650 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16651 \begin_inset Text
16652
16653 \begin_layout Standard
16654
16655 \end_layout
16656
16657 \end_inset
16658 </cell>
16659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16660 \begin_inset Text
16661
16662 \begin_layout Standard
16663 c
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 </row>
16669 <row topline="true">
16670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16671 \begin_inset Text
16672
16673 \begin_layout Standard
16674 d
16675 \end_layout
16676
16677 \end_inset
16678 </cell>
16679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16680 \begin_inset Text
16681
16682 \begin_layout Standard
16683 e
16684 \end_layout
16685
16686 \end_inset
16687 </cell>
16688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16689 \begin_inset Text
16690
16691 \begin_layout Standard
16692 f
16693 \end_layout
16694
16695 \end_inset
16696 </cell>
16697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16698 \begin_inset Text
16699
16700 \begin_layout Standard
16701 g
16702 \end_layout
16703
16704 \end_inset
16705 </cell>
16706 </row>
16707 <row topline="true" bottomline="true">
16708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16709 \begin_inset Text
16710
16711 \begin_layout Standard
16712 h
16713 \end_layout
16714
16715 \end_inset
16716 </cell>
16717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16718 \begin_inset Text
16719
16720 \begin_layout Standard
16721 i
16722 \end_layout
16723
16724 \end_inset
16725 </cell>
16726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16727 \begin_inset Text
16728
16729 \begin_layout Standard
16730 j
16731 \end_layout
16732
16733 \end_inset
16734 </cell>
16735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16736 \begin_inset Text
16737
16738 \begin_layout Standard
16739 k
16740 \end_layout
16741
16742 \end_inset
16743 </cell>
16744 </row>
16745 </lyxtabular>
16746
16747 \end_inset
16748
16749
16750 \end_layout
16751
16752 \end_inset
16753
16754
16755 \end_layout
16756
16757 \begin_layout Subsection
16758 Line Thickness
16759 \begin_inset LatexCommand label
16760 name "sub:Line-Thickness"
16761
16762 \end_inset
16763
16764
16765 \begin_inset LatexCommand index
16766 name "Table Customization ! Line Thickness"
16767
16768 \end_inset
16769
16770
16771 \end_layout
16772
16773 \begin_layout Standard
16774 The line thickness for all lines in a table can be adjusted with the length
16775  
16776 \series bold
16777
16778 \backslash
16779 arrayrulewidth
16780 \series default
16781 .
16782  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16783 pt, like in Table\InsetSpace ~
16784
16785 \begin_inset LatexCommand ref
16786 reference "tab:Table-with-1.5"
16787
16788 \end_inset
16789
16790 , insert the command
16791 \end_layout
16792
16793 \begin_layout Standard
16794
16795 \series bold
16796
16797 \backslash
16798 setlength{
16799 \backslash
16800 arrayrulewidth}{1.5pt}
16801 \end_layout
16802
16803 \begin_layout Standard
16804 in TeX-Code before the table or table float.
16805  The changed thickness is valid for all following tables.
16806  To use the default value again, set 
16807 \series bold
16808
16809 \backslash
16810 arrayrulewidth
16811 \series default
16812  to 0.4\InsetSpace \thinspace{}
16813 pt in TeX-Code behind the table or table float.
16814 \end_layout
16815
16816 \begin_layout Standard
16817 \begin_inset ERT
16818 status collapsed
16819
16820 \begin_layout Standard
16821
16822
16823 \backslash
16824 setlength{
16825 \backslash
16826 arrayrulewidth}{1.5pt}
16827 \end_layout
16828
16829 \end_inset
16830
16831
16832 \begin_inset Float table
16833 wide false
16834 sideways false
16835 status open
16836
16837 \begin_layout Standard
16838 \begin_inset Caption
16839
16840 \begin_layout Standard
16841 \begin_inset LatexCommand label
16842 name "tab:Table-with-1.5"
16843
16844 \end_inset
16845
16846 Table with 1.5\InsetSpace \thinspace{}
16847 pt thick lines
16848 \end_layout
16849
16850 \end_inset
16851
16852
16853 \end_layout
16854
16855 \begin_layout Standard
16856 \align center
16857 \begin_inset Tabular
16858 <lyxtabular version="3" rows="3" columns="3">
16859 <features>
16860 <column alignment="center" valignment="top" leftline="true" width="0">
16861 <column alignment="center" valignment="top" leftline="true" width="0">
16862 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16863 <row topline="true">
16864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16865 \begin_inset Text
16866
16867 \begin_layout Standard
16868 sd
16869 \end_layout
16870
16871 \end_inset
16872 </cell>
16873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16874 \begin_inset Text
16875
16876 \begin_layout Standard
16877
16878 \end_layout
16879
16880 \end_inset
16881 </cell>
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16883 \begin_inset Text
16884
16885 \begin_layout Standard
16886
16887 \end_layout
16888
16889 \end_inset
16890 </cell>
16891 </row>
16892 <row topline="true">
16893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16894 \begin_inset Text
16895
16896 \begin_layout Standard
16897
16898 \end_layout
16899
16900 \end_inset
16901 </cell>
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_inset Text
16904
16905 \begin_layout Standard
16906 sd
16907 \end_layout
16908
16909 \end_inset
16910 </cell>
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16912 \begin_inset Text
16913
16914 \begin_layout Standard
16915
16916 \end_layout
16917
16918 \end_inset
16919 </cell>
16920 </row>
16921 <row topline="true" bottomline="true">
16922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16923 \begin_inset Text
16924
16925 \begin_layout Standard
16926
16927 \end_layout
16928
16929 \end_inset
16930 </cell>
16931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16932 \begin_inset Text
16933
16934 \begin_layout Standard
16935
16936 \end_layout
16937
16938 \end_inset
16939 </cell>
16940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16941 \begin_inset Text
16942
16943 \begin_layout Standard
16944 sd
16945 \end_layout
16946
16947 \end_inset
16948 </cell>
16949 </row>
16950 </lyxtabular>
16951
16952 \end_inset
16953
16954
16955 \end_layout
16956
16957 \end_inset
16958
16959
16960 \begin_inset ERT
16961 status collapsed
16962
16963 \begin_layout Standard
16964
16965
16966 \backslash
16967 setlength{
16968 \backslash
16969 arrayrulewidth}{0.4pt}
16970 \end_layout
16971
16972 \end_inset
16973
16974
16975 \end_layout
16976
16977 \begin_layout Standard
16978 \begin_inset VSpace bigskip
16979 \end_inset
16980
16981 To set the line thickness to 1.5\InsetSpace \thinspace{}
16982 pt only for horizontal lines, like in Table\InsetSpace ~
16983
16984 \begin_inset LatexCommand ref
16985 reference "tab:Table-with-horizontal"
16986
16987 \end_inset
16988
16989 , insert these commands in TeX-Code before the table or table float:
16990 \end_layout
16991
16992 \begin_layout Standard
16993
16994 \series bold
16995
16996 \backslash
16997 let
16998 \backslash
16999 myHline
17000 \backslash
17001 hline
17002 \newline
17003
17004 \backslash
17005 renewcommand{
17006 \backslash
17007 hline}
17008 \newline
17009  {
17010 \backslash
17011 noalign{
17012 \backslash
17013 global
17014 \backslash
17015 arrayrulewidth 1.5pt}
17016 \newline
17017  
17018 \backslash
17019 myHline
17020 \backslash
17021 noalign{
17022 \backslash
17023 global
17024 \backslash
17025 arrayrulewidth 0.4pt}}
17026 \end_layout
17027
17028 \begin_layout Standard
17029 To return to the default line thickness, insert this command in TeX-Code
17030  behind the table or table float:
17031 \end_layout
17032
17033 \begin_layout Standard
17034
17035 \series bold
17036
17037 \backslash
17038 renewcommand{
17039 \backslash
17040 hline}{
17041 \backslash
17042 myHline}
17043 \end_layout
17044
17045 \begin_layout Standard
17046 \begin_inset ERT
17047 status collapsed
17048
17049 \begin_layout Standard
17050
17051
17052 \backslash
17053 let
17054 \backslash
17055 myHline
17056 \backslash
17057 hline
17058 \end_layout
17059
17060 \begin_layout Standard
17061
17062
17063 \backslash
17064 renewcommand{
17065 \backslash
17066 hline}
17067 \end_layout
17068
17069 \begin_layout Standard
17070
17071  {
17072 \backslash
17073 noalign{
17074 \backslash
17075 global
17076 \backslash
17077 arrayrulewidth 1.5pt}
17078 \end_layout
17079
17080 \begin_layout Standard
17081
17082   
17083 \backslash
17084 myHline
17085 \backslash
17086 noalign{
17087 \backslash
17088 global
17089 \backslash
17090 arrayrulewidth 0.4pt}}
17091 \end_layout
17092
17093 \end_inset
17094
17095
17096 \begin_inset Float table
17097 wide false
17098 sideways false
17099 status open
17100
17101 \begin_layout Standard
17102 \begin_inset Caption
17103
17104 \begin_layout Standard
17105 \begin_inset LatexCommand label
17106 name "tab:Table-with-horizontal"
17107
17108 \end_inset
17109
17110 Table with 1.5\InsetSpace \thinspace{}
17111 pt thick horizontal lines
17112 \end_layout
17113
17114 \end_inset
17115
17116
17117 \end_layout
17118
17119 \begin_layout Standard
17120 \align center
17121 \begin_inset Tabular
17122 <lyxtabular version="3" rows="3" columns="3">
17123 <features>
17124 <column alignment="center" valignment="top" leftline="true" width="0">
17125 <column alignment="center" valignment="top" leftline="true" width="0">
17126 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17127 <row topline="true">
17128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17129 \begin_inset Text
17130
17131 \begin_layout Standard
17132 sd
17133 \end_layout
17134
17135 \end_inset
17136 </cell>
17137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17138 \begin_inset Text
17139
17140 \begin_layout Standard
17141
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Standard
17150
17151 \end_layout
17152
17153 \end_inset
17154 </cell>
17155 </row>
17156 <row topline="true">
17157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17158 \begin_inset Text
17159
17160 \begin_layout Standard
17161
17162 \end_layout
17163
17164 \end_inset
17165 </cell>
17166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17167 \begin_inset Text
17168
17169 \begin_layout Standard
17170 sd
17171 \end_layout
17172
17173 \end_inset
17174 </cell>
17175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17176 \begin_inset Text
17177
17178 \begin_layout Standard
17179
17180 \end_layout
17181
17182 \end_inset
17183 </cell>
17184 </row>
17185 <row topline="true" bottomline="true">
17186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17187 \begin_inset Text
17188
17189 \begin_layout Standard
17190
17191 \end_layout
17192
17193 \end_inset
17194 </cell>
17195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17196 \begin_inset Text
17197
17198 \begin_layout Standard
17199
17200 \end_layout
17201
17202 \end_inset
17203 </cell>
17204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17205 \begin_inset Text
17206
17207 \begin_layout Standard
17208 sd
17209 \end_layout
17210
17211 \end_inset
17212 </cell>
17213 </row>
17214 </lyxtabular>
17215
17216 \end_inset
17217
17218
17219 \end_layout
17220
17221 \end_inset
17222
17223
17224 \begin_inset ERT
17225 status collapsed
17226
17227 \begin_layout Standard
17228
17229
17230 \backslash
17231 renewcommand{
17232 \backslash
17233 hline}{
17234 \backslash
17235 myHline}
17236 \end_layout
17237
17238 \end_inset
17239
17240
17241 \end_layout
17242
17243 \begin_layout Standard
17244 \begin_inset VSpace bigskip
17245 \end_inset
17246
17247 To set the line thickness to 1.5\InsetSpace \thinspace{}
17248 pt only for vertical lines, create the following
17249  column format in the document preamble, according to the description in
17250  section\InsetSpace ~
17251
17252 \begin_inset LatexCommand ref
17253 reference "sub:Customized-Format"
17254
17255 \end_inset
17256
17257 :
17258 \end_layout
17259
17260 \begin_layout Standard
17261
17262 \series bold
17263
17264 \backslash
17265 newcolumntype{V}{!{
17266 \backslash
17267 vrule width 1.5pt}}
17268 \end_layout
17269
17270 \begin_layout Standard
17271 For Table\InsetSpace ~
17272
17273 \begin_inset LatexCommand ref
17274 reference "tab:Table-with-vertical"
17275
17276 \end_inset
17277
17278  the LaTeX-argument
17279 \end_layout
17280
17281 \begin_layout Standard
17282
17283 \series bold
17284 VcV
17285 \end_layout
17286
17287 \begin_layout Standard
17288 was used for the last column and
17289 \end_layout
17290
17291 \begin_layout Standard
17292
17293 \series bold
17294 Vc
17295 \end_layout
17296
17297 \begin_layout Standard
17298 for the other columns.
17299 \end_layout
17300
17301 \begin_layout Standard
17302 \begin_inset Float table
17303 wide false
17304 sideways false
17305 status open
17306
17307 \begin_layout Standard
17308 \begin_inset Caption
17309
17310 \begin_layout Standard
17311 \begin_inset LatexCommand label
17312 name "tab:Table-with-vertical"
17313
17314 \end_inset
17315
17316 Table with 1.5\InsetSpace \thinspace{}
17317 pt thick vertical lines
17318 \end_layout
17319
17320 \end_inset
17321
17322
17323 \end_layout
17324
17325 \begin_layout Standard
17326 \align center
17327 \begin_inset Tabular
17328 <lyxtabular version="3" rows="3" columns="3">
17329 <features>
17330 <column alignment="center" valignment="top" width="0" special="Vc">
17331 <column alignment="center" valignment="top" width="0" special="Vc">
17332 <column alignment="center" valignment="top" width="0" special="VcV">
17333 <row topline="true">
17334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17335 \begin_inset Text
17336
17337 \begin_layout Standard
17338 sd
17339 \end_layout
17340
17341 \end_inset
17342 </cell>
17343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17344 \begin_inset Text
17345
17346 \begin_layout Standard
17347
17348 \end_layout
17349
17350 \end_inset
17351 </cell>
17352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17353 \begin_inset Text
17354
17355 \begin_layout Standard
17356
17357 \end_layout
17358
17359 \end_inset
17360 </cell>
17361 </row>
17362 <row topline="true">
17363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17364 \begin_inset Text
17365
17366 \begin_layout Standard
17367
17368 \end_layout
17369
17370 \end_inset
17371 </cell>
17372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17373 \begin_inset Text
17374
17375 \begin_layout Standard
17376 sd
17377 \end_layout
17378
17379 \end_inset
17380 </cell>
17381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17382 \begin_inset Text
17383
17384 \begin_layout Standard
17385
17386 \end_layout
17387
17388 \end_inset
17389 </cell>
17390 </row>
17391 <row topline="true" bottomline="true">
17392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17393 \begin_inset Text
17394
17395 \begin_layout Standard
17396
17397 \end_layout
17398
17399 \end_inset
17400 </cell>
17401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17402 \begin_inset Text
17403
17404 \begin_layout Standard
17405
17406 \end_layout
17407
17408 \end_inset
17409 </cell>
17410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17411 \begin_inset Text
17412
17413 \begin_layout Standard
17414 sd
17415 \end_layout
17416
17417 \end_inset
17418 </cell>
17419 </row>
17420 </lyxtabular>
17421
17422 \end_inset
17423
17424
17425 \end_layout
17426
17427 \end_inset
17428
17429
17430 \end_layout
17431
17432 \begin_layout Subsection
17433 Dashed Lines
17434 \begin_inset LatexCommand index
17435 name "Table Customization ! Dashed Lines"
17436
17437 \end_inset
17438
17439
17440 \end_layout
17441
17442 \begin_layout Standard
17443 \begin_inset ERT
17444 status collapsed
17445
17446 \begin_layout Standard
17447
17448
17449 \backslash
17450 ifarydshln
17451 \end_layout
17452
17453 \end_inset
17454
17455
17456 \begin_inset Note Note
17457 status open
17458
17459 \begin_layout Standard
17460 The following section will only be displayed when the LaTeX-package 
17461 \series bold
17462 arydshln
17463 \series default
17464  is installed.
17465 \end_layout
17466
17467 \end_inset
17468
17469
17470 \end_layout
17471
17472 \begin_layout Standard
17473 \begin_inset Float table
17474 placement H
17475 wide false
17476 sideways false
17477 status open
17478
17479 \begin_layout Standard
17480 \begin_inset Caption
17481
17482 \begin_layout Standard
17483 \begin_inset LatexCommand label
17484 name "tab:Table-with-dashed"
17485
17486 \end_inset
17487
17488 Table with dashed lines
17489 \end_layout
17490
17491 \end_inset
17492
17493
17494 \end_layout
17495
17496 \begin_layout Standard
17497 \align center
17498 \begin_inset Tabular
17499 <lyxtabular version="3" rows="5" columns="5">
17500 <features>
17501 <column alignment="center" valignment="top" leftline="true" width="0">
17502 <column alignment="center" valignment="top" leftline="true" width="0">
17503 <column alignment="center" valignment="top" width="0" special=":c">
17504 <column alignment="center" valignment="top" leftline="true" width="0">
17505 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17506 <row topline="true" bottomline="true">
17507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17508 \begin_inset Text
17509
17510 \begin_layout Standard
17511 a
17512 \end_layout
17513
17514 \end_inset
17515 </cell>
17516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17517 \begin_inset Text
17518
17519 \begin_layout Standard
17520 b
17521 \end_layout
17522
17523 \end_inset
17524 </cell>
17525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17526 \begin_inset Text
17527
17528 \begin_layout Standard
17529 c
17530 \end_layout
17531
17532 \end_inset
17533 </cell>
17534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17535 \begin_inset Text
17536
17537 \begin_layout Standard
17538 d
17539 \end_layout
17540
17541 \end_inset
17542 </cell>
17543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17544 \begin_inset Text
17545
17546 \begin_layout Standard
17547 e
17548 \end_layout
17549
17550 \end_inset
17551 </cell>
17552 </row>
17553 <row topline="true">
17554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17555 \begin_inset Text
17556
17557 \begin_layout Standard
17558 f
17559 \end_layout
17560
17561 \end_inset
17562 </cell>
17563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17564 \begin_inset Text
17565
17566 \begin_layout Standard
17567 g
17568 \end_layout
17569
17570 \end_inset
17571 </cell>
17572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17573 \begin_inset Text
17574
17575 \begin_layout Standard
17576 h
17577 \end_layout
17578
17579 \end_inset
17580 </cell>
17581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17582 \begin_inset Text
17583
17584 \begin_layout Standard
17585 i
17586 \end_layout
17587
17588 \end_inset
17589 </cell>
17590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17591 \begin_inset Text
17592
17593 \begin_layout Standard
17594 j
17595 \end_layout
17596
17597 \end_inset
17598 </cell>
17599 </row>
17600 <row>
17601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17602 \begin_inset Text
17603
17604 \begin_layout Standard
17605 \begin_inset ERT
17606 status collapsed
17607
17608 \begin_layout Standard
17609
17610
17611 \backslash
17612 hdashline 
17613 \end_layout
17614
17615 \end_inset
17616
17617 k
17618 \end_layout
17619
17620 \end_inset
17621 </cell>
17622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17623 \begin_inset Text
17624
17625 \begin_layout Standard
17626 l
17627 \end_layout
17628
17629 \end_inset
17630 </cell>
17631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17632 \begin_inset Text
17633
17634 \begin_layout Standard
17635 m
17636 \end_layout
17637
17638 \end_inset
17639 </cell>
17640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17641 \begin_inset Text
17642
17643 \begin_layout Standard
17644 n
17645 \end_layout
17646
17647 \end_inset
17648 </cell>
17649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17650 \begin_inset Text
17651
17652 \begin_layout Standard
17653 o
17654 \end_layout
17655
17656 \end_inset
17657 </cell>
17658 </row>
17659 <row topline="true">
17660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17661 \begin_inset Text
17662
17663 \begin_layout Standard
17664 \begin_inset ERT
17665 status collapsed
17666
17667 \begin_layout Standard
17668
17669
17670 \backslash
17671 cdashline{4-5}
17672 \end_layout
17673
17674 \end_inset
17675
17676 p
17677 \end_layout
17678
17679 \end_inset
17680 </cell>
17681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17682 \begin_inset Text
17683
17684 \begin_layout Standard
17685 q
17686 \end_layout
17687
17688 \end_inset
17689 </cell>
17690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17691 \begin_inset Text
17692
17693 \begin_layout Standard
17694 r
17695 \end_layout
17696
17697 \end_inset
17698 </cell>
17699 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17700 \begin_inset Text
17701
17702 \begin_layout Standard
17703 s
17704 \end_layout
17705
17706 \end_inset
17707 </cell>
17708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17709 \begin_inset Text
17710
17711 \begin_layout Standard
17712
17713 \end_layout
17714
17715 \end_inset
17716 </cell>
17717 </row>
17718 <row topline="true" bottomline="true">
17719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17720 \begin_inset Text
17721
17722 \begin_layout Standard
17723 t
17724 \end_layout
17725
17726 \end_inset
17727 </cell>
17728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17729 \begin_inset Text
17730
17731 \begin_layout Standard
17732 u
17733 \end_layout
17734
17735 \end_inset
17736 </cell>
17737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17738 \begin_inset Text
17739
17740 \begin_layout Standard
17741 v
17742 \end_layout
17743
17744 \end_inset
17745 </cell>
17746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17747 \begin_inset Text
17748
17749 \begin_layout Standard
17750 w
17751 \end_layout
17752
17753 \end_inset
17754 </cell>
17755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17756 \begin_inset Text
17757
17758 \begin_layout Standard
17759 x
17760 \end_layout
17761
17762 \end_inset
17763 </cell>
17764 </row>
17765 </lyxtabular>
17766
17767 \end_inset
17768
17769
17770 \end_layout
17771
17772 \end_inset
17773
17774
17775 \end_layout
17776
17777 \begin_layout Standard
17778 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
17779  As prerequisite the LaTeX-package 
17780 \series bold
17781 arydshln
17782 \series default
17783
17784 \begin_inset LatexCommand index
17785 name "LaTeX-packages ! arydshln"
17786
17787 \end_inset
17788
17789  must be loaded in the document preamble with the command
17790 \end_layout
17791
17792 \begin_layout Standard
17793
17794 \series bold
17795
17796 \backslash
17797 usepackage{arydshln}
17798 \end_layout
17799
17800 \begin_layout Standard
17801 To make a vertical line dashed, enter the colon 
17802 \begin_inset Quotes eld
17803 \end_inset
17804
17805 :
17806 \begin_inset Quotes erd
17807 \end_inset
17808
17809  together with the character for the horizontal alignment as LaTeX-argument
17810  in the table cell dialog.
17811 \end_layout
17812
17813 \begin_layout Standard
17814 For a horizontal dashed line add the command
17815 \end_layout
17816
17817 \begin_layout Standard
17818
17819 \series bold
17820
17821 \backslash
17822 hdashline
17823 \end_layout
17824
17825 \begin_layout Standard
17826 in TeX-Code as first element of the first cell in the table row.
17827 \end_layout
17828
17829 \begin_layout Standard
17830 For dashed multicolumn lines use the command
17831 \end_layout
17832
17833 \begin_layout Standard
17834
17835 \series bold
17836
17837 \backslash
17838 cdashline{line number
17839 \series default
17840 }
17841 \end_layout
17842
17843 \begin_layout Standard
17844 in TeX-Code as first element of the first cell in the table row.
17845  If you have for example a multicolumn spanning over columns 2 to 4 and
17846  you want to have a dashed line above, add the command
17847 \end_layout
17848
17849 \begin_layout Standard
17850
17851 \series bold
17852
17853 \backslash
17854 cdashline{2-4}
17855 \end_layout
17856
17857 \begin_layout Standard
17858 as first element of the first cell in the row of the multicolumn.
17859 \end_layout
17860
17861 \begin_layout Standard
17862 \begin_inset VSpace bigskip
17863 \end_inset
17864
17865
17866 \end_layout
17867
17868 \begin_layout Standard
17869 Table\InsetSpace ~
17870
17871 \begin_inset LatexCommand ref
17872 reference "tab:Table-with-dashed"
17873
17874 \end_inset
17875
17876  was created using 
17877 \begin_inset Quotes eld
17878 \end_inset
17879
17880
17881 \series bold
17882 :c
17883 \series default
17884
17885 \begin_inset Quotes erd
17886 \end_inset
17887
17888  as LaTeX-argument of the third column.
17889  The TeX-Code command 
17890 \series bold
17891
17892 \backslash
17893 hdashline
17894 \series default
17895  was inserted to the first cell of the third row and the the TeX-Code command
17896 \newline
17897
17898  
17899 \series bold
17900
17901 \backslash
17902 cdashline{4-5}
17903 \series default
17904  was inserted to the first cell of the fourth row.
17905 \end_layout
17906
17907 \begin_layout Standard
17908 \begin_inset Note Greyedout
17909 status open
17910
17911 \begin_layout Standard
17912
17913 \series bold
17914 Note:
17915 \series default
17916  The used LaTeX-package 
17917 \series bold
17918 arydshln
17919 \series default
17920  is apparently not compatible with the LaTeX-package 
17921 \series bold
17922 colortbl
17923 \series default
17924
17925 \begin_inset LatexCommand index
17926 name "LaTeX-packages ! colortbl"
17927
17928 \end_inset
17929
17930  that is used for colored tables in section\InsetSpace ~
17931
17932 \begin_inset LatexCommand ref
17933 reference "sec:Colored-Tables"
17934
17935 \end_inset
17936
17937 .
17938  That means colored tables cannot have dashed lines.
17939 \end_layout
17940
17941 \end_inset
17942
17943
17944 \end_layout
17945
17946 \begin_layout Standard
17947 \begin_inset ERT
17948 status collapsed
17949
17950 \begin_layout Standard
17951
17952
17953 \backslash
17954 else
17955 \end_layout
17956
17957 \end_inset
17958
17959
17960 \begin_inset Note Note
17961 status open
17962
17963 \begin_layout Standard
17964 The following will be displayed when the LaTeX-package 
17965 \series bold
17966 arydshln
17967 \series default
17968  is not installed:
17969 \end_layout
17970
17971 \end_inset
17972
17973
17974 \end_layout
17975
17976 \begin_layout Standard
17977 You need to install the package 
17978 \series bold
17979 arydshln
17980 \series default
17981  to see the content of this section in the output.
17982 \end_layout
17983
17984 \begin_layout Standard
17985 \begin_inset ERT
17986 status collapsed
17987
17988 \begin_layout Standard
17989
17990
17991 \backslash
17992 fi
17993 \end_layout
17994
17995 \end_inset
17996
17997
17998 \end_layout
17999
18000 \begin_layout Chapter
18001 Floats
18002 \begin_inset LatexCommand index
18003 name "Floats"
18004
18005 \end_inset
18006
18007
18008 \begin_inset LatexCommand label
18009 name "cha:Floats"
18010
18011 \end_inset
18012
18013
18014 \end_layout
18015
18016 \begin_layout Section
18017 Introduction
18018 \begin_inset LatexCommand label
18019 name "sec:FloatIntroduction"
18020
18021 \end_inset
18022
18023
18024 \begin_inset LatexCommand index
18025 name "Floats ! Introduction"
18026
18027 \end_inset
18028
18029
18030 \end_layout
18031
18032 \begin_layout Standard
18033 A float is a block of text associated with some sort of label, which doesn't
18034  have a fixed location.
18035  It can 
18036 \begin_inset Quotes eld
18037 \end_inset
18038
18039 float
18040 \begin_inset Quotes erd
18041 \end_inset
18042
18043  forward or backward a page or two, to wherever it fits best.
18044  
18045 \family sans
18046 Footnotes
18047 \family default
18048  and 
18049 \family sans
18050 Margin\InsetSpace ~
18051 Notes
18052 \family default
18053  are also floats, because they can float to the next page when there are
18054  too many notes at the page.
18055 \end_layout
18056
18057 \begin_layout Standard
18058 Floats allow a high quality layout.
18059  Images and tables can evenly be spread to the pages to avoid white space
18060  and pages without text.
18061  As the floating often destroys the context between the text and the image/table
18062 , every float can be referenced in the text.
18063  Floats are therefore numbered.
18064  Referencing is described in section\InsetSpace ~
18065
18066 \begin_inset LatexCommand ref
18067 reference "sec:Referencing-Floats"
18068
18069 \end_inset
18070
18071 .
18072 \end_layout
18073
18074 \begin_layout Standard
18075 To insert a float, use the menu 
18076 \family sans
18077 Insert\SpecialChar \menuseparator
18078 Float
18079 \family default
18080 .
18081  This inserts the 
18082 \family sans
18083 Caption
18084 \family default
18085  inset, a box with a label.
18086  The label will automatically be translated to the document language in
18087  the output.
18088  Behind the label you can insert the caption text.
18089  The image or table is inserted above or below the caption in a separate
18090  paragraph within the float.
18091  More about the caption placement is described in section\InsetSpace ~
18092
18093 \begin_inset LatexCommand ref
18094 reference "sec:Caption-Placement"
18095
18096 \end_inset
18097
18098 .
18099  To keep your LyX-document readable, you can open and close the float box
18100  by left-clicking on the box label.
18101  A closed float box looks like this: 
18102 \begin_inset Graphics
18103         filename clipart/floatQt4.png
18104         scale 70
18105         scaleBeforeRotation
18106
18107 \end_inset
18108
18109  -- a gray button with a red label.
18110 \end_layout
18111
18112 \begin_layout Standard
18113 It is recommended to insert floats as a separate paragraph to avoid possible
18114  LaTeX-errors that can occur when the surrounding text is specially formatted.
18115 \end_layout
18116
18117 \begin_layout Standard
18118 Existing figures or tables can be put into a float by marking them and then
18119  pressing the corresponding toolbar button for a new float.
18120 \end_layout
18121
18122 \begin_layout Section
18123 Float Types
18124 \end_layout
18125
18126 \begin_layout Standard
18127 Besides figure and table floats that are described in section\InsetSpace ~
18128
18129 \begin_inset LatexCommand ref
18130 reference "sec:Figure-Floats"
18131
18132 \end_inset
18133
18134  and 
18135 \begin_inset LatexCommand ref
18136 reference "sec:Table-Floats"
18137
18138 \end_inset
18139
18140 , respectively, LyX offers the float types 
18141 \series bold
18142 Algorithm
18143 \series default
18144  and 
18145 \series bold
18146 Text\InsetSpace ~
18147 Wrap\InsetSpace ~
18148 Float
18149 \series default
18150 .
18151 \end_layout
18152
18153 \begin_layout Subsection
18154 Algorithm Floats
18155 \begin_inset LatexCommand index
18156 name "Floats ! Algorithms"
18157
18158 \end_inset
18159
18160
18161 \begin_inset LatexCommand label
18162 name "sub:Algorithm-Floats"
18163
18164 \end_inset
18165
18166
18167 \end_layout
18168
18169 \begin_layout Standard
18170 \begin_inset Float algorithm
18171 placement h
18172 wide false
18173 sideways false
18174 status open
18175
18176 \begin_layout Standard
18177 \begin_inset Caption
18178
18179 \begin_layout Standard
18180 \begin_inset LatexCommand label
18181 name "alg:Example-Algorithm-float"
18182
18183 \end_inset
18184
18185 Example Algorithm float
18186 \end_layout
18187
18188 \end_inset
18189
18190
18191 \end_layout
18192
18193 \begin_layout LyX-Code
18194 for I in 1..N loop
18195 \newline
18196  Sum:= Sum + A(I); /*comment*/
18197 \newline
18198 end loop
18199 \begin_inset VSpace -4mm
18200 \end_inset
18201
18202
18203 \end_layout
18204
18205 \end_inset
18206
18207
18208 \end_layout
18209
18210 \begin_layout Standard
18211 This float type is inserted with the menu 
18212 \family sans
18213 Insert\SpecialChar \menuseparator
18214 Floats\SpecialChar \menuseparator
18215 Algorithm
18216 \family default
18217 .
18218  It is used for program codes and descriptions of algorithms.
18219  A possible environment for algorithms is the 
18220 \family sans
18221 LyX-Code
18222 \family default
18223 , described in LyX's 
18224 \emph on
18225 Userguide
18226 \emph default
18227 .
18228  Algorithm\InsetSpace ~
18229
18230 \begin_inset LatexCommand ref
18231 reference "alg:Example-Algorithm-float"
18232
18233 \end_inset
18234
18235  is an example of an algorithm float where -4\InsetSpace \thinspace{}
18236 mm vertical space was added
18237  at the end of the float to have the bottom rule exactly below the last
18238  text line.
18239 \end_layout
18240
18241 \begin_layout Standard
18242 The float label is not automatically translated into the document language.
18243  If your document is not in English, you have to do this manually by adding
18244  the following line to the document preamble
18245 \series bold
18246 :
18247 \end_layout
18248
18249 \begin_layout Standard
18250
18251 \series bold
18252
18253 \backslash
18254 floatname{algorithm}{your\InsetSpace ~
18255 name}
18256 \end_layout
18257
18258 \begin_layout Standard
18259
18260 \family sans
18261 your\InsetSpace ~
18262 name
18263 \family default
18264  is the word 
18265 \begin_inset Quotes eld
18266 \end_inset
18267
18268
18269 \emph on
18270 algorithm
18271 \emph default
18272
18273 \begin_inset Quotes erd
18274 \end_inset
18275
18276  in your language.
18277 \end_layout
18278
18279 \begin_layout Description
18280
18281 \series bold
18282 Note:
18283 \series default
18284  When the LaTeX-package 
18285 \series bold
18286 hyperref
18287 \series default
18288
18289 \begin_inset LatexCommand index
18290 name "LaTeX-packages ! hyperref"
18291
18292 \end_inset
18293
18294  is used to link cross-references to floats in the PDF-output, it must be
18295  loaded in the document preamble before the definition of floats to be able
18296  to reference floats.
18297  As LyX sets the float definition for algorithm floats automatically before
18298  the user editable part of the document preamble, you need to insert the
18299  following preamble lines 
18300 \emph on
18301 after
18302 \emph default
18303  the loading command of 
18304 \series bold
18305 hyperref
18306 \series default
18307 :
18308 \begin_inset VSpace defskip
18309 \end_inset
18310
18311
18312 \series bold
18313
18314 \newline
18315
18316 \backslash
18317 newfloat{Xalgorithm}{tbp}{loa}
18318 \newline
18319
18320 \backslash
18321 floatname{Xalgorithm}{your\InsetSpace ~
18322 name}
18323 \newline
18324
18325 \backslash
18326 newcommand{
18327 \backslash
18328 theHalgorithm}{
18329 \backslash
18330 theHXalgorithm}
18331 \newline
18332
18333 \backslash
18334 renewenvironment{algorithm}[1][tbp]
18335 \newline
18336
18337 \begin_inset ERT
18338 status collapsed
18339
18340 \begin_layout Standard
18341
18342
18343 \backslash
18344 hphantom{ }
18345 \end_layout
18346
18347 \end_inset
18348
18349 {
18350 \backslash
18351 begin{Xalgorithm}[#1]}{
18352 \backslash
18353 end{Xalgorithm}}
18354 \series default
18355
18356 \begin_inset VSpace defskip
18357 \end_inset
18358
18359
18360 \newline
18361 To insert the list of algorithms you can in this case not use the menu 
18362 \family sans
18363 Insert\SpecialChar \menuseparator
18364 List\InsetSpace \thinspace{}
18365 /\InsetSpace \thinspace{}
18366 TOC\SpecialChar \menuseparator
18367 List of Algorithms
18368 \family default
18369  but have to use this command in TeX-Code instead:
18370 \newline
18371
18372 \series bold
18373
18374 \backslash
18375 listof{Xalgorithm}{List of Algorithms}
18376 \series default
18377
18378 \begin_inset Note Note
18379 status collapsed
18380
18381 \begin_layout Standard
18382
18383 \series medium
18384 is used at the end of this document
18385 \end_layout
18386
18387 \end_inset
18388
18389
18390 \end_layout
18391
18392 \begin_layout Standard
18393 Algorithm floats are not by default numbered in the scheme 
18394 \begin_inset Quotes eld
18395 \end_inset
18396
18397 chapter.algorithm
18398 \begin_inset Quotes erd
18399 \end_inset
18400
18401  like it is the case for table and figure floats in many document-classes.
18402  To number algorithm floats in the same scheme, add this command to your
18403  document preamble:
18404 \end_layout
18405
18406 \begin_layout Standard
18407
18408 \series bold
18409
18410 \backslash
18411 numberwithin{algorithm}{chapter}
18412 \end_layout
18413
18414 \begin_layout Standard
18415 If you use the LaTeX-package 
18416 \series bold
18417 hyperref
18418 \series default
18419 , add this line instead 
18420 \emph on
18421 after
18422 \emph default
18423  the definition of 
18424 \family sans
18425 Xalgorithm
18426 \family default
18427  (the commands from above) to the preamble:
18428 \end_layout
18429
18430 \begin_layout Standard
18431
18432 \series bold
18433
18434 \backslash
18435 numberwithin{Xalgorithm}{chapter}
18436 \end_layout
18437
18438 \begin_layout Standard
18439 To be able to use the command 
18440 \series bold
18441
18442 \backslash
18443 numberwithin
18444 \series default
18445 , set in the tab 
18446 \family sans
18447 Math\InsetSpace ~
18448 Options
18449 \family default
18450  in the document settings the option 
18451 \family sans
18452 Use\InsetSpace ~
18453 AMS\InsetSpace ~
18454 math\InsetSpace ~
18455 package
18456 \family default
18457 .
18458 \end_layout
18459
18460 \begin_layout Subsection
18461 Text Wrap Floats
18462 \begin_inset LatexCommand index
18463 name "Floats ! Text Wrap Floats"
18464
18465 \end_inset
18466
18467
18468 \begin_inset LatexCommand label
18469 name "sub:floatflt-wrap-float"
18470
18471 \end_inset
18472
18473
18474 \end_layout
18475
18476 \begin_layout Standard
18477 This float type is used if you want to 
18478 \begin_inset Quotes eld
18479 \end_inset
18480
18481 wrap
18482 \begin_inset Quotes erd
18483 \end_inset
18484
18485  text around a figure so that it only occupies some fraction of the column
18486  width.
18487  It can be inserted using the menu 
18488 \begin_inset Wrap figure
18489 placement l
18490 width "40col%"
18491 status open
18492
18493 \begin_layout Standard
18494 \begin_inset Graphics
18495         filename clipart/mobius.eps
18496         display color
18497         width 40col%
18498         scaleBeforeRotation
18499         rotateOrigin center
18500
18501 \end_inset
18502
18503
18504 \end_layout
18505
18506 \begin_layout Standard
18507 \begin_inset Caption
18508
18509 \begin_layout Standard
18510 \begin_inset LatexCommand label
18511 name "fig:This-is-a"
18512
18513 \end_inset
18514
18515 This is a wrapped figure, and this is the brilliant caption that describes
18516  it.
18517 \begin_inset VSpace medskip
18518 \end_inset
18519
18520
18521 \end_layout
18522
18523 \end_inset
18524
18525
18526 \end_layout
18527
18528 \end_inset
18529
18530  
18531 \family sans
18532 Insert\SpecialChar \menuseparator
18533 Floats\SpecialChar \menuseparator
18534 Text\InsetSpace ~
18535 Wrap\InsetSpace ~
18536 Float
18537 \family default
18538  if the LaTeX-package 
18539 \series bold
18540 f\SpecialChar \textcompwordmark{}
18541 loatf\SpecialChar \textcompwordmark{}
18542 lt
18543 \series default
18544
18545 \begin_inset LatexCommand index
18546 name "LaTeX-packages ! floatflt"
18547
18548 \end_inset
18549
18550  is installed.
18551 \begin_inset Foot
18552 status collapsed
18553
18554 \begin_layout Standard
18555 Installing a LaTeX-package is explained it in the 
18556 \emph on
18557 LaTeX\InsetSpace ~
18558 Configuration
18559 \emph default
18560  manual.
18561 \end_layout
18562
18563 \end_inset
18564
18565  The width and placement of the float is adjusted by right-clicking on the
18566  float box.
18567  Figure\InsetSpace ~
18568
18569 \begin_inset LatexCommand ref
18570 reference "fig:This-is-a"
18571
18572 \end_inset
18573
18574  is an example text wrap float with a width of 40
18575 \begin_inset Formula $\,$
18576 \end_inset
18577
18578 col%.
18579 \begin_inset Foot
18580 status collapsed
18581
18582 \begin_layout Standard
18583 Available units are explained in 
18584 \begin_inset LatexCommand ref
18585 reference "cha:Units-available-in"
18586
18587 \end_inset
18588
18589 .
18590 \end_layout
18591
18592 \end_inset
18593
18594  Some space was added under the caption to separate it better from the surroundi
18595 ng text.
18596 \end_layout
18597
18598 \begin_layout Standard
18599 The LaTeX-package 
18600 \series bold
18601 f\SpecialChar \textcompwordmark{}
18602 loatf\SpecialChar \textcompwordmark{}
18603 lt
18604 \series default
18605  also supports table wrap floats, but they are not yet supported by LyX.
18606  If you need this, read the documentation of 
18607 \series bold
18608 f\SpecialChar \textcompwordmark{}
18609 loatf\SpecialChar \textcompwordmark{}
18610 lt
18611 \series default
18612  
18613 \begin_inset LatexCommand cite
18614 key "floatflt"
18615
18616 \end_inset
18617
18618 .
18619 \end_layout
18620
18621 \begin_layout Standard
18622 \begin_inset Note Greyedout
18623 status open
18624
18625 \begin_layout Standard
18626
18627 \series bold
18628 Note:
18629 \series default
18630  Text\InsetSpace ~
18631 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18632 g.\InsetSpace ~
18633 having a figure too close to the bottom
18634  of the page can mess things up in the way that the float doesn't appear
18635  in the output or that it is placed over some other text.
18636 \begin_inset Foot
18637 status open
18638
18639 \begin_layout Standard
18640 The better solution is to use the LaTeX-package 
18641 \series bold
18642 wrapf\SpecialChar \textcompwordmark{}
18643 ig
18644 \series default
18645
18646 \begin_inset LatexCommand index
18647 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18648
18649 \end_inset
18650
18651  instead of 
18652 \series bold
18653 f\SpecialChar \textcompwordmark{}
18654 loatf\SpecialChar \textcompwordmark{}
18655 lt
18656 \series default
18657 , but it is currently not supported by LyX.
18658 \end_layout
18659
18660 \end_inset
18661
18662
18663 \end_layout
18664
18665 \end_inset
18666
18667
18668 \end_layout
18669
18670 \begin_layout Standard
18671 In general:
18672 \end_layout
18673
18674 \begin_layout Itemize
18675 Wrap floats should not be placed in paragraphs that run over a page break.
18676  That means that wrap floats should better be inserted to the exact place
18677  when the document is nearly finished and you are able to estimate where
18678  page breaks will appear.
18679 \end_layout
18680
18681 \begin_layout Itemize
18682 Wrap floats should either be placed in an own paragraph before the paragraph
18683  where they should wrap into or within a paragraph.
18684 \end_layout
18685
18686 \begin_layout Itemize
18687 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18688  there is a text paragraph between them as separator.
18689 \end_layout
18690
18691 \begin_layout Itemize
18692 Wrap floats are not allowed in section headings or tables.
18693 \end_layout
18694
18695 \begin_layout Section
18696 Float Numbering
18697 \begin_inset LatexCommand label
18698 name "sec:Float-Numbering"
18699
18700 \end_inset
18701
18702
18703 \begin_inset LatexCommand index
18704 name "Floats ! Numbering"
18705
18706 \end_inset
18707
18708
18709 \end_layout
18710
18711 \begin_layout Standard
18712 Floats are usually numbered either independent from the sections the floats
18713  are in, or in the scheme 
18714 \begin_inset Quotes eld
18715 \end_inset
18716
18717 chapter.number
18718 \begin_inset Quotes erd
18719 \end_inset
18720
18721  or 
18722 \begin_inset Quotes eld
18723 \end_inset
18724
18725 section.number
18726 \begin_inset Quotes erd
18727 \end_inset
18728
18729 .
18730  This depends on the used document class.
18731 \end_layout
18732
18733 \begin_layout Standard
18734 To change the section independent numbering, you can use this command in
18735  the document preamble:
18736 \end_layout
18737
18738 \begin_layout Standard
18739
18740 \series bold
18741
18742 \backslash
18743 renewcommand{
18744 \backslash
18745 thetable}{
18746 \backslash
18747 roman{table}}
18748 \end_layout
18749
18750 \begin_layout Standard
18751
18752 \series bold
18753
18754 \backslash
18755 thetable
18756 \series default
18757  is the command that prints the table number, for figure floats, the command
18758  would be 
18759 \series bold
18760
18761 \backslash
18762 thefigure
18763 \series default
18764 .
18765  The command 
18766 \series bold
18767
18768 \backslash
18769 roman
18770 \series default
18771  prints in the command above the table number as small roman number.
18772 \end_layout
18773
18774 \begin_layout Standard
18775 To change the numbering scheme for example to 
18776 \begin_inset Quotes eld
18777 \end_inset
18778
18779 subsection.number
18780 \begin_inset Quotes erd
18781 \end_inset
18782
18783 , use this command in the preamble:
18784 \end_layout
18785
18786 \begin_layout Standard
18787
18788 \series bold
18789
18790 \backslash
18791 numberwithin{table}{subsection}
18792 \end_layout
18793
18794 \begin_layout Standard
18795 To be able to use the command 
18796 \series bold
18797
18798 \backslash
18799 numberwithin
18800 \series default
18801 , set in the tab 
18802 \family sans
18803 Math\InsetSpace ~
18804 Options
18805 \family default
18806  in the document settings the option 
18807 \family sans
18808 Use\InsetSpace ~
18809 AMS\InsetSpace ~
18810 math\InsetSpace ~
18811 package
18812 \family default
18813 .
18814 \end_layout
18815
18816 \begin_layout Standard
18817 Please also have a look at section\InsetSpace ~
18818
18819 \begin_inset LatexCommand ref
18820 reference "sub:Footnote-Numbering"
18821
18822 \end_inset
18823
18824  for the details and important notes about the numbering commands.
18825 \end_layout
18826
18827 \begin_layout Section
18828 Referencing Floats
18829 \begin_inset LatexCommand label
18830 name "sec:Referencing-Floats"
18831
18832 \end_inset
18833
18834
18835 \begin_inset LatexCommand index
18836 name "Floats ! References"
18837
18838 \end_inset
18839
18840
18841 \begin_inset LatexCommand index
18842 name "References"
18843
18844 \end_inset
18845
18846
18847 \end_layout
18848
18849 \begin_layout Standard
18850 To reference a float, insert a label into its caption using the menu 
18851 \family sans
18852 Insert\SpecialChar \menuseparator
18853 Label
18854 \family default
18855  or the toolbar button 
18856 \begin_inset Graphics
18857         filename ../images/label-insert.png
18858         scale 85
18859         scaleBeforeRotation
18860
18861 \end_inset
18862
18863 .
18864  A grey label box like this one: 
18865 \begin_inset Graphics
18866         filename clipart/labelQt4.png
18867         scale 85
18868         scaleBeforeRotation
18869
18870 \end_inset
18871
18872  will be inserted and the label window pops up asking for the label text.
18873  LyX offers as text the first words of the caption with a prefix.
18874  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18875 g.\InsetSpace ~
18876 for figure floats the prefix will
18877  be "
18878 \family sans
18879 fig:
18880 \family default
18881 ".
18882 \end_layout
18883
18884 \begin_layout Standard
18885 The label is used as anchor and name for the reference.
18886  You can refer to the label using the menu 
18887 \family sans
18888 Insert\SpecialChar \menuseparator
18889 Cross-reference
18890 \family default
18891  or the toolbar button 
18892 \begin_inset Graphics
18893         filename ../images/dialog-show-new-inset_ref.png
18894         scale 85
18895         scaleBeforeRotation
18896
18897 \end_inset
18898
18899 .
18900  A grey cross-reference box like this one: 
18901 \begin_inset Graphics
18902         filename clipart/referenceQt4.png
18903         scale 85
18904         scaleBeforeRotation
18905
18906 \end_inset
18907
18908  will be inserted and the cross-reference window appear showing all labels
18909  of the document.
18910  If you have multiple LyX-documents opened, choose the one you are working
18911  on from the drop-list at the top of the dialog.
18912  You can now sort the labels alphabetically and then choose one.
18913  At the position of the cross-reference box the float number will appear
18914  in the output.
18915 \end_layout
18916
18917 \begin_layout Standard
18918 It is recommended to use a protected space between the cross-reference name
18919  and its number to avoid line breaks between them.
18920  If a cross-reference refers to a non-existing label, you will see two question
18921  marks in the output instead of the reference.
18922 \end_layout
18923
18924 \begin_layout Standard
18925 You can change labels at any time by clicking on the label box.
18926  References to the changed label will automatically change its link to the
18927  new label text, so that you don't need to take care about this.
18928 \end_layout
18929
18930 \begin_layout Standard
18931 The button 
18932 \family sans
18933 Go\InsetSpace ~
18934 to\InsetSpace ~
18935 Label
18936 \family default
18937  in the cross-reference window sets the cursor before the referred label.
18938  The button text changes then to Go\InsetSpace ~
18939 Back and you can use it to set the cursor
18940  back to the cross-reference.
18941  Right-clicking on a cross-reference box also sets the cursor before the
18942  referenced label but without a possibility to go back.
18943 \end_layout
18944
18945 \begin_layout Subsection
18946 Cross-Reference Formats
18947 \begin_inset LatexCommand label
18948 name "sub:Cross-Reference-Formats"
18949
18950 \end_inset
18951
18952
18953 \begin_inset LatexCommand index
18954 name "References ! Formats"
18955
18956 \end_inset
18957
18958
18959 \end_layout
18960
18961 \begin_layout Standard
18962 There are six varieties of cross-references:
18963 \end_layout
18964
18965 \begin_layout Description
18966 <reference>: prints the float number, this is the default: 
18967 \begin_inset LatexCommand ref
18968 reference "fig:Two-distorted-images"
18969
18970 \end_inset
18971
18972
18973 \end_layout
18974
18975 \begin_layout Description
18976 (<reference>): prints the float number within two parentheses, this is the
18977  style normally used to reference formulas, especially when the reference
18978  name 
18979 \begin_inset Quotes eld
18980 \end_inset
18981
18982 Equation
18983 \begin_inset Quotes erd
18984 \end_inset
18985
18986  is omitted: 
18987 \begin_inset LatexCommand eqref
18988 reference "eq:Wgn"
18989
18990 \end_inset
18991
18992
18993 \end_layout
18994
18995 \begin_layout Description
18996 <page>: prints the page number: Page\InsetSpace ~
18997
18998 \begin_inset LatexCommand pageref
18999 reference "fig:Two-distorted-images"
19000
19001 \end_inset
19002
19003
19004 \end_layout
19005
19006 \begin_layout Description
19007 on\InsetSpace ~
19008 page\InsetSpace ~
19009 <page>: prints the text "on page" and the page number: 
19010 \begin_inset LatexCommand vpageref
19011 reference "fig:Two-distorted-images"
19012
19013 \end_inset
19014
19015
19016 \end_layout
19017
19018 \begin_layout Description
19019 <reference>\InsetSpace ~
19020 on\InsetSpace ~
19021 page\InsetSpace ~
19022 <page>: prints the float number, the text "on page", and
19023  the page number: 
19024 \begin_inset LatexCommand vref
19025 reference "fig:Two-distorted-images"
19026
19027 \end_inset
19028
19029
19030 \end_layout
19031
19032 \begin_layout Description
19033 Formatted\InsetSpace ~
19034 reference: prints a self defined cross-reference format.
19035  
19036 \begin_inset Note Greyedout
19037 status open
19038
19039 \begin_layout Standard
19040
19041 \series bold
19042 Note:
19043 \series default
19044  This feature is only available when you have the LaTeX-package 
19045 \series bold
19046 prettyref
19047 \series default
19048  installed.
19049 \end_layout
19050
19051 \end_inset
19052
19053
19054 \end_layout
19055
19056 \begin_layout Standard
19057 Note that the style <page> won't print the page number if the label is on
19058  the previous, the same, or the next page.
19059  You will e.\InsetSpace \thinspace{}
19060 g.\InsetSpace ~
19061 see the text 
19062 \begin_inset Quotes eld
19063 \end_inset
19064
19065
19066 \family sans
19067 on this page
19068 \family default
19069
19070 \begin_inset Quotes erd
19071 \end_inset
19072
19073  instead.
19074 \end_layout
19075
19076 \begin_layout Standard
19077 The number and current page of the referred document part in the output,
19078  is automatically calculated by LaTeX.
19079  The varieties are adjusted in the field 
19080 \family sans
19081 Format
19082 \family default
19083  of the cross-reference window, that appear when you click on the cross-referenc
19084 e box.
19085 \end_layout
19086
19087 \begin_layout Subsection
19088 Referencing Subfigures
19089 \begin_inset LatexCommand label
19090 name "sub:Referencing-Subfigures"
19091
19092 \end_inset
19093
19094
19095 \begin_inset LatexCommand index
19096 name "References ! to Subfigures"
19097
19098 \end_inset
19099
19100
19101 \end_layout
19102
19103 \begin_layout Standard
19104 Currently referencing subfigures is not supported by LyX, so you have to
19105  use LaTeX-commands.
19106  The label is the created with the command
19107 \end_layout
19108
19109 \begin_layout Standard
19110
19111 \series bold
19112
19113 \backslash
19114 label{fig:YourLabelName}
19115 \end_layout
19116
19117 \begin_layout Standard
19118 that is directly inserted into the subfigure caption field.
19119  To reference the label add this command in TeX-Code
19120 \end_layout
19121
19122 \begin_layout Standard
19123
19124 \series bold
19125
19126 \backslash
19127 ref{fig:YourLabelName}
19128 \end_layout
19129
19130 \begin_layout Standard
19131 to the position in your document where the reference should be placed.
19132  Here is a reference to a subfigure: Subfigure\InsetSpace ~
19133
19134 \begin_inset ERT
19135 status collapsed
19136
19137 \begin_layout Standard
19138
19139
19140 \backslash
19141 ref{fig:Platypus}
19142 \end_layout
19143
19144 \end_inset
19145
19146 .
19147 \end_layout
19148
19149 \begin_layout Subsection
19150 Automatic Reference Naming
19151 \begin_inset LatexCommand index
19152 name "References ! Automatic Reference Naming"
19153
19154 \end_inset
19155
19156
19157 \end_layout
19158
19159 \begin_layout Standard
19160 The LaTeX-package 
19161 \series bold
19162 hyperref
19163 \series default
19164  provides a very useful feature that cross-references automatically include
19165  the name of the referenced floats (or text parts like sections).
19166  You save to write e.\InsetSpace \thinspace{}
19167 g.\InsetSpace ~
19168 the name 
19169 \begin_inset Quotes eld
19170 \end_inset
19171
19172 Figure
19173 \begin_inset Quotes erd
19174 \end_inset
19175
19176  before every reference box.
19177  To get this automatic reference naming, you have to load the LaTeX-package
19178  
19179 \series bold
19180 hyperref
19181 \series default
19182
19183 \begin_inset LatexCommand index
19184 name "LaTeX-packages ! hyperref"
19185
19186 \end_inset
19187
19188  in the document preamble with
19189 \end_layout
19190
19191 \begin_layout Standard
19192
19193 \series bold
19194
19195 \backslash
19196 usepackage[pdfborder={0 0 0}]{hyperref}
19197 \newline
19198
19199 \backslash
19200 AtBeginDocument{
19201 \backslash
19202 renewcommand{
19203 \backslash
19204 ref}[1]{
19205 \backslash
19206 mbox{
19207 \backslash
19208 autoref{#1}}}}
19209 \end_layout
19210
19211 \begin_layout Standard
19212
19213 \series bold
19214 hyperref
19215 \series default
19216  is used to link cross-references in the DVI- and PDF-output, this means
19217  that the reader of your document will be able to click on a table of content
19218  (TOC) entry or on a reference and he will be shown the referenced document
19219  part.
19220  
19221 \series bold
19222 hyperref
19223 \series default
19224  also creates PDF-bookmarks for every section of your document to make it
19225  easier for readers to navigate through the document.
19226  This is also used in this document but when you have a look in the document
19227  preamble you will find various options in the load command of 
19228 \series bold
19229 hyperref
19230 \series default
19231 .
19232  To learn more about the 
19233 \series bold
19234 hyperref
19235 \series default
19236  package, we refer to its documentation 
19237 \begin_inset LatexCommand cite
19238 key "hyperref"
19239
19240 \end_inset
19241
19242 .
19243 \end_layout
19244
19245 \begin_layout Standard
19246 \begin_inset Note Greyedout
19247 status open
19248
19249 \begin_layout Standard
19250
19251 \series bold
19252 Note:
19253 \series default
19254  Automatic reference naming cannot be used when you use cross-references
19255  in the 
19256 \family sans
19257 Formatted\InsetSpace ~
19258 reference
19259 \family default
19260  style, described in section\InsetSpace ~
19261
19262 \begin_inset LatexCommand ref
19263 reference "sub:Cross-Reference-Formats"
19264
19265 \end_inset
19266
19267 .
19268 \end_layout
19269
19270 \end_inset
19271
19272
19273 \end_layout
19274
19275 \begin_layout Subsection
19276 Reference Position
19277 \begin_inset LatexCommand label
19278 name "sub:Reference-Position"
19279
19280 \end_inset
19281
19282
19283 \begin_inset LatexCommand index
19284 name "References ! Reference Position"
19285
19286 \end_inset
19287
19288
19289 \end_layout
19290
19291 \begin_layout Standard
19292 If you use 
19293 \series bold
19294 hyperref
19295 \series default
19296
19297 \begin_inset LatexCommand index
19298 name "LaTeX-packages ! hyperref"
19299
19300 \end_inset
19301
19302  to link cross-references in the output, you will see that clicking on an
19303  image float reference jumps to the image label.
19304  The caption will be the first text part on the screen, so that you cannot
19305  see the image without scrolling.
19306  This is because the reference link anchor is placed at the position of
19307  the label.
19308  With the use of the package 
19309 \series bold
19310 hypcap
19311 \series default
19312
19313 \begin_inset LatexCommand index
19314 name "LaTeX-packages ! hypcap"
19315
19316 \end_inset
19317
19318 , which is part of the LaTeX-package 
19319 \series bold
19320 oberdiek
19321 \series default
19322
19323 \begin_inset LatexCommand index
19324 name "LaTeX-packages ! oberdiek"
19325
19326 \end_inset
19327
19328 , the link anchor is placed at the beginning of a float.
19329  To use this feature for figure floats, load 
19330 \series bold
19331 hypcap
19332 \series default
19333  in the document preamble with the line
19334 \end_layout
19335
19336 \begin_layout Standard
19337
19338 \series bold
19339
19340 \backslash
19341 usepackage[f\SpecialChar \textcompwordmark{}
19342 igure]{hypcap}
19343 \end_layout
19344
19345 \begin_layout Standard
19346 You can also use 
19347 \series bold
19348 hypcap
19349 \series default
19350  for all floats but this isn't recommended for stability reasons.
19351  For more informations, have a look at 
19352 \series bold
19353 hypcap
19354 \series default
19355 's manual 
19356 \begin_inset LatexCommand cite
19357 key "hypcap"
19358
19359 \end_inset
19360
19361 .
19362 \end_layout
19363
19364 \begin_layout Standard
19365 \begin_inset Note Greyedout
19366 status open
19367
19368 \begin_layout Standard
19369
19370 \series bold
19371 Note:
19372 \series default
19373  
19374 \series bold
19375 hypcap
19376 \series default
19377  must be loaded after 
19378 \series bold
19379 hyperref
19380 \series default
19381  in the document preamble.
19382 \end_layout
19383
19384 \end_inset
19385
19386
19387 \end_layout
19388
19389 \begin_layout Standard
19390 \begin_inset Note Greyedout
19391 status open
19392
19393 \begin_layout Standard
19394
19395 \series bold
19396 Note:
19397 \series default
19398  
19399 \series bold
19400 hypcap
19401 \series default
19402  has no effect for references to subfigures.
19403 \end_layout
19404
19405 \end_inset
19406
19407
19408 \end_layout
19409
19410 \begin_layout Section
19411 Float Placement
19412 \begin_inset LatexCommand label
19413 name "sec:Float-Placement"
19414
19415 \end_inset
19416
19417
19418 \begin_inset LatexCommand index
19419 name "Floats ! Placement"
19420
19421 \end_inset
19422
19423
19424 \end_layout
19425
19426 \begin_layout Standard
19427 Right-clicking on a float-box opens a dialog where you can alter the placement
19428  options that LaTeX uses for positioning the float.
19429 \newline
19430 The option 
19431 \family sans
19432 Span\InsetSpace ~
19433 columns
19434 \family default
19435  is only useful for two-column documents: If you select it, the float will
19436  span across both columns on the page instead of being confined to just
19437  one.
19438 \newline
19439 The option 
19440 \family sans
19441 Rotate\InsetSpace ~
19442 sideways
19443 \family default
19444  is used to rotate floats, see section 
19445 \begin_inset LatexCommand ref
19446 reference "sec:Rotated-Floats"
19447
19448 \end_inset
19449
19450 .
19451 \end_layout
19452
19453 \begin_layout Standard
19454 You can use one ore more of the following options in the float dialog to
19455  set the placement for a particular float when you uncheck the option 
19456 \family sans
19457 Use\InsetSpace ~
19458 default\InsetSpace ~
19459 placement
19460 \family default
19461 :
19462 \end_layout
19463
19464 \begin_layout Description
19465 Here\InsetSpace ~
19466 if\InsetSpace ~
19467 possible try to place the float on the position where it is inserted
19468 \end_layout
19469
19470 \begin_layout Description
19471 Top\InsetSpace ~
19472 of\InsetSpace ~
19473 page try to place the float on the top of the current page
19474 \end_layout
19475
19476 \begin_layout Description
19477 Bottom\InsetSpace ~
19478 of\InsetSpace ~
19479 page try to place the float on the bottom of the current page
19480 \end_layout
19481
19482 \begin_layout Description
19483 Page\InsetSpace ~
19484 of\InsetSpace ~
19485 floats try to place the float on an own page 
19486 \end_layout
19487
19488 \begin_layout Standard
19489 The order of the above option is 
19490 \emph on
19491 always
19492 \emph default
19493  used by LaTeX.
19494  That means, if you use the default placement, LaTeX will first try out
19495  
19496 \family sans
19497 Here\InsetSpace ~
19498 if\InsetSpace ~
19499 possible
19500 \family default
19501 , then 
19502 \family sans
19503 Top\InsetSpace ~
19504 of\InsetSpace ~
19505 page
19506 \family default
19507 , and then the others.
19508  If you don't use the default, LaTeX will try only the checked options but
19509  in the same order.
19510  If none of the 4 placements are possible the procedure is internally repeated
19511  but it is tried to put the float on the following page.
19512 \end_layout
19513
19514 \begin_layout Standard
19515 By default, each option has its own rules:
19516 \end_layout
19517
19518 \begin_layout Labeling
19519 \labelwidthstring 00.00.0000
19520
19521 \family sans
19522 Top\InsetSpace ~
19523 of\InsetSpace ~
19524 page
19525 \family default
19526  only floats occupying less than 70\InsetSpace \thinspace{}
19527 % of the page can be placed at the top
19528  of a page (
19529 \series bold
19530
19531 \backslash
19532 topfraction
19533 \series default
19534 )
19535 \end_layout
19536
19537 \begin_layout Labeling
19538 \labelwidthstring 00.00.0000
19539
19540 \family sans
19541 Bottom\InsetSpace ~
19542 of\InsetSpace ~
19543 page
19544 \family default
19545 : only floats occupying less than 30\InsetSpace \thinspace{}
19546 % of the page can be placed at the bottom
19547  of a page.
19548  (
19549 \series bold
19550
19551 \backslash
19552 bottomfraction
19553 \series default
19554 )
19555 \end_layout
19556
19557 \begin_layout Labeling
19558 \labelwidthstring 00.00.0000
19559
19560 \family sans
19561 Page\InsetSpace ~
19562 of\InsetSpace ~
19563 floats
19564 \family default
19565 : only if more than 50\InsetSpace \thinspace{}
19566 % of the page are occupied by floats, several floats
19567  can be set together on a page.
19568  (
19569 \series bold
19570
19571 \backslash
19572 floatpagefraction
19573 \series default
19574 )
19575 \end_layout
19576
19577 \begin_layout Standard
19578 If you don't like these rules, you can ignore them by using the additional
19579  option 
19580 \family sans
19581 Ignore\InsetSpace ~
19582 LaTeX\InsetSpace ~
19583 rules
19584 \family default
19585 .
19586 \newline
19587 You can also redefine the rules with LaTeX-commands that are given in parenthese
19588 s behind the rules description above.
19589  To increase for example the often too small default of the bottom-rule
19590  to 50\InsetSpace \thinspace{}
19591 % of the page, add this line to your document preamble:
19592 \end_layout
19593
19594 \begin_layout Standard
19595
19596 \series bold
19597
19598 \backslash
19599 renewcommand{
19600 \backslash
19601 bottomfraction}{0.5}
19602 \end_layout
19603
19604 \begin_layout Standard
19605 Sometimes you might need, under all circumstances, a float to be placed
19606  exactly at the position where it is inserted.
19607  For this case you can use the option 
19608 \family sans
19609 Here\InsetSpace ~
19610 definitely
19611 \family default
19612 .
19613  Use this option very rarely and only if the document is nearly ready to
19614  be printed.
19615  Because the float is then no longer able to 
19616 \begin_inset Quotes eld
19617 \end_inset
19618
19619 float
19620 \begin_inset Quotes erd
19621 \end_inset
19622
19623  when you change your document and this will often destroy the page layout.
19624 \end_layout
19625
19626 \begin_layout Standard
19627 There are no placement options for text wrap floats, because they are always
19628  surrounded by the text of a certain paragraph.
19629 \begin_inset VSpace bigskip
19630 \end_inset
19631
19632
19633 \end_layout
19634
19635 \begin_layout Standard
19636 Sometimes you have the problem that a float is placed at the top of a page
19637  while its corresponding section starts at the middle of the page, so that
19638  the reader could think the float is part of the previous section.
19639  To avoid this the LaTeX-command 
19640 \series bold
19641
19642 \backslash
19643 suppressfloats
19644 \series default
19645  can be used.
19646  It suppresses a given float placement for the page where it is inserted
19647  and can therefore be used to avoid that floats could be set before a section
19648  starts.
19649  To get this, add these commands to your document preamble:
19650 \end_layout
19651
19652 \begin_layout Standard
19653
19654 \series bold
19655
19656 \backslash
19657 let
19658 \backslash
19659 mySection
19660 \backslash
19661 section
19662 \newline
19663
19664 \backslash
19665 renewcommand{
19666 \backslash
19667 section}{
19668 \backslash
19669 suppressfloats[t]
19670 \backslash
19671 mySection}
19672 \end_layout
19673
19674 \begin_layout Standard
19675 You can define the same for all section headings, like chapters and subsections.
19676  This definition is not recommended to be used for small text parts like
19677  subsubsections because LaTeX may then have problems to find a suitable
19678  placement.
19679 \end_layout
19680
19681 \begin_layout Standard
19682 \begin_inset VSpace bigskip
19683 \end_inset
19684
19685 In some cases it is required to have all figures/tables at the end of the
19686  document.
19687  For this purpose the LaTeX-package 
19688 \series bold
19689 endfloat
19690 \series default
19691
19692 \begin_inset LatexCommand index
19693 name "LaTeX-packages ! endfloat"
19694
19695 \end_inset
19696
19697  was developed.
19698  It puts all figure and table floats at the end of the document into own
19699  sections.
19700  At the original float position a text hint like 
19701 \begin_inset Quotes eld
19702 \end_inset
19703
19704
19705 \family sans
19706 [Figure\InsetSpace ~
19707 3.2 about here.]
19708 \family default
19709
19710 \begin_inset Quotes erd
19711 \end_inset
19712
19713  is inserted.
19714  The endfloat-package is loaded in the preamble with the line
19715 \end_layout
19716
19717 \begin_layout Standard
19718
19719 \series bold
19720
19721 \backslash
19722 usepackage[options]{endfloat}
19723 \end_layout
19724
19725 \begin_layout Standard
19726 There are various package options to format the created figure/table sections.
19727  For more information we refer to the 
19728 \series bold
19729 endfloat
19730 \series default
19731  documentation 
19732 \begin_inset LatexCommand cite
19733 key "endfloat"
19734
19735 \end_inset
19736
19737 .
19738 \newline
19739
19740 \begin_inset Note Greyedout
19741 status open
19742
19743 \begin_layout Standard
19744
19745 \series bold
19746 Note: endfloat
19747 \series default
19748  doesn't provide an automatic translation for the text hint, you have to
19749  do this manually, see section\InsetSpace ~
19750 4 in 
19751 \begin_inset LatexCommand cite
19752 key "endfloat"
19753
19754 \end_inset
19755
19756 .
19757 \end_layout
19758
19759 \end_inset
19760
19761
19762 \newline
19763
19764 \begin_inset Note Greyedout
19765 status open
19766
19767 \begin_layout Standard
19768
19769 \series bold
19770 Note:
19771 \series default
19772  There is currently a bug in 
19773 \series bold
19774 endfloat
19775 \series default
19776  when the caption contains a German 
19777 \begin_inset Quotes eld
19778 \end_inset
19779
19780 ß
19781 \begin_inset Quotes erd
19782 \end_inset
19783
19784 .
19785  Use in this case the command 
19786 \begin_inset Quotes eld
19787 \end_inset
19788
19789
19790 \series bold
19791
19792 \backslash
19793 ss
19794 \series default
19795
19796 \begin_inset Quotes erd
19797 \end_inset
19798
19799  in TeX-Code instead of 
19800 \begin_inset Quotes eld
19801 \end_inset
19802
19803 ß
19804 \begin_inset Quotes erd
19805 \end_inset
19806
19807 .
19808 \end_layout
19809
19810 \end_inset
19811
19812
19813 \end_layout
19814
19815 \begin_layout Standard
19816 \begin_inset VSpace bigskip
19817 \end_inset
19818
19819 For more details about float placements, have a look at LaTeX books, 
19820 \begin_inset LatexCommand cite
19821 key "latexcompanion,latexguide,latexbook"
19822
19823 \end_inset
19824
19825 .
19826 \end_layout
19827
19828 \begin_layout Section
19829 Rotated Floats
19830 \begin_inset LatexCommand label
19831 name "sec:Rotated-Floats"
19832
19833 \end_inset
19834
19835
19836 \begin_inset LatexCommand index
19837 name "Floats ! Rotating"
19838
19839 \end_inset
19840
19841
19842 \end_layout
19843
19844 \begin_layout Standard
19845 Especially for wide tables you might have floats rotated.
19846  To rotate a whole float including the caption, right-click on the float-box
19847  and use the option 
19848 \family sans
19849 Rotate\InsetSpace ~
19850 sideways
19851 \family default
19852 .
19853 \end_layout
19854
19855 \begin_layout Standard
19856 Rotated floats are always placed on its own page (or column, when you have
19857  a two-column document).
19858  They are rotated so that you can read them from the outside margin.
19859  To force a certain rotation direction for all pages, you can add either
19860  the option 
19861 \series bold
19862 figuresleft
19863 \series default
19864  or 
19865 \series bold
19866 figuresright
19867 \series default
19868  to the document class options.
19869 \end_layout
19870
19871 \begin_layout Standard
19872 Referencing rotated floats is the same like for normal floats, the caption
19873  format is also the same: Table\InsetSpace ~
19874
19875 \begin_inset LatexCommand ref
19876 reference "tab:Rotated-table"
19877
19878 \end_inset
19879
19880  is an example of a rotated table float.
19881 \end_layout
19882
19883 \begin_layout Standard
19884 \begin_inset Note Greyedout
19885 status open
19886
19887 \begin_layout Standard
19888
19889 \series bold
19890 Note:
19891 \series default
19892  Not all DVI-viewers are able to display rotated floats.
19893 \end_layout
19894
19895 \end_inset
19896
19897
19898 \end_layout
19899
19900 \begin_layout Standard
19901 \begin_inset Float table
19902 wide false
19903 sideways true
19904 status open
19905
19906 \begin_layout Standard
19907 \begin_inset Caption
19908
19909 \begin_layout Standard
19910 \begin_inset LatexCommand label
19911 name "tab:Rotated-table"
19912
19913 \end_inset
19914
19915  Rotated table
19916 \end_layout
19917
19918 \end_inset
19919
19920
19921 \end_layout
19922
19923 \begin_layout Standard
19924 \align center
19925 \begin_inset Tabular
19926 <lyxtabular version="3" rows="1" columns="5">
19927 <features>
19928 <column alignment="center" valignment="top" leftline="true" width="0">
19929 <column alignment="center" valignment="top" leftline="true" width="0">
19930 <column alignment="center" valignment="top" leftline="true" width="0">
19931 <column alignment="center" valignment="top" leftline="true" width="0">
19932 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19933 <row topline="true" bottomline="true">
19934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19935 \begin_inset Text
19936
19937 \begin_layout Standard
19938 test
19939 \end_layout
19940
19941 \end_inset
19942 </cell>
19943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19944 \begin_inset Text
19945
19946 \begin_layout Standard
19947 b
19948 \end_layout
19949
19950 \end_inset
19951 </cell>
19952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19953 \begin_inset Text
19954
19955 \begin_layout Standard
19956 c
19957 \end_layout
19958
19959 \end_inset
19960 </cell>
19961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19962 \begin_inset Text
19963
19964 \begin_layout Standard
19965 d
19966 \end_layout
19967
19968 \end_inset
19969 </cell>
19970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19971 \begin_inset Text
19972
19973 \begin_layout Standard
19974 e
19975 \end_layout
19976
19977 \end_inset
19978 </cell>
19979 </row>
19980 </lyxtabular>
19981
19982 \end_inset
19983
19984
19985 \end_layout
19986
19987 \end_inset
19988
19989
19990 \end_layout
19991
19992 \begin_layout Section
19993 Caption Formatting
19994 \begin_inset LatexCommand index
19995 name "Caption ! Formatting"
19996
19997 \end_inset
19998
19999
20000 \begin_inset LatexCommand index
20001 name "Floats ! Caption Formatting"
20002
20003 \end_inset
20004
20005
20006 \begin_inset LatexCommand index
20007 name "LaTeX-packages ! caption"
20008
20009 \end_inset
20010
20011
20012 \begin_inset LatexCommand label
20013 name "sec:Caption-Formatting"
20014
20015 \end_inset
20016
20017
20018 \end_layout
20019
20020 \begin_layout Standard
20021 The 
20022 \family sans
20023 Caption
20024 \family default
20025  environment is the default paragraph environment for 
20026 \family sans
20027 Floats
20028 \family default
20029 .
20030  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
20031 g.\InsetSpace ~
20032
20033 \begin_inset Quotes eld
20034 \end_inset
20035
20036
20037 \family sans
20038 Figure #:
20039 \family default
20040
20041 \begin_inset Quotes erd
20042 \end_inset
20043
20044  followed by the caption text.
20045  
20046 \begin_inset Quotes eld
20047 \end_inset
20048
20049 #
20050 \begin_inset Quotes erd
20051 \end_inset
20052
20053  is the actual reference number.
20054  By default the label and the number are in the same font as the caption
20055  text and a colon follows the number to divide the label from the text.
20056  This caption format is not suitable for all document formats.
20057  
20058 \end_layout
20059
20060 \begin_layout Standard
20061 To change the default caption format, load the LaTeX-package 
20062 \series bold
20063 caption
20064 \series default
20065
20066 \begin_inset LatexCommand index
20067 name "LaTeX-packages ! caption"
20068
20069 \end_inset
20070
20071  in the document preamble with this line:
20072 \end_layout
20073
20074 \begin_layout Standard
20075
20076 \series bold
20077
20078 \backslash
20079 usepackage[format definition]{caption}
20080 \end_layout
20081
20082 \begin_layout Standard
20083 To have for example the label and the number in sans-serif bold font and
20084  the table captions always above the table like in this document, use the
20085  following command:
20086 \end_layout
20087
20088 \begin_layout Standard
20089
20090 \series bold
20091
20092 \backslash
20093 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20094 \end_layout
20095
20096 \begin_layout Standard
20097 You can also define different caption formats for the different float types.
20098  In this case load the 
20099 \series bold
20100 caption
20101 \series default
20102  package without format specific options and define the different formats
20103  with the help of the command
20104 \end_layout
20105
20106 \begin_layout Standard
20107
20108 \series bold
20109
20110 \backslash
20111 captionsetup[float type]{format definition}
20112 \end_layout
20113
20114 \begin_layout Standard
20115 in the document preamble.
20116  For example the caption formats of Figure\InsetSpace ~
20117
20118 \begin_inset LatexCommand ref
20119 reference "fig:This-is-an-fig"
20120
20121 \end_inset
20122
20123  and Table\InsetSpace ~
20124
20125 \begin_inset LatexCommand ref
20126 reference "tab:This-is-an-tab"
20127
20128 \end_inset
20129
20130  can be created using these commands in the document preamble:
20131 \end_layout
20132
20133 \begin_layout Standard
20134
20135 \series bold
20136
20137 \backslash
20138 usepackage[tableposition=top]{caption}
20139 \series default
20140
20141 \newline
20142
20143 \series bold
20144
20145 \backslash
20146 captionsetup[f\SpecialChar \textcompwordmark{}
20147 igure]{labelfont={tt}, textfont=it, indention=1cm,%
20148 \newline
20149
20150 \begin_inset ERT
20151 status collapsed
20152
20153 \begin_layout Standard
20154
20155
20156 \backslash
20157 hphantom{
20158 \backslash
20159
20160 \backslash
20161 captionsetup[figure]
20162 \backslash
20163 {}
20164 \end_layout
20165
20166 \end_inset
20167
20168  labelsep=period}
20169 \newline
20170
20171 \backslash
20172 captionsetup[table]{labelfont={bf,sf}}
20173 \end_layout
20174
20175 \begin_layout Standard
20176 \begin_inset Note Greyedout
20177 status open
20178
20179 \begin_layout Standard
20180
20181 \series bold
20182 Note:
20183 \series default
20184  The option 
20185 \series bold
20186 tableposition=top
20187 \series default
20188  has no effect when a 
20189 \series bold
20190 koma-script
20191 \series default
20192
20193 \begin_inset LatexCommand index
20194 name "LaTeX-packages ! koma-script"
20195
20196 \end_inset
20197
20198  document class is used.
20199  In this case the document class option 
20200 \series bold
20201 tablecaptionabove
20202 \series default
20203  must be used.
20204 \end_layout
20205
20206 \end_inset
20207
20208
20209 \end_layout
20210
20211 \begin_layout Standard
20212 For more information about the package 
20213 \series bold
20214 caption
20215 \series default
20216  we refer to its documentation 
20217 \begin_inset LatexCommand cite
20218 key "caption,caption-de"
20219
20220 \end_inset
20221
20222 .
20223 \end_layout
20224
20225 \begin_layout Standard
20226 To change the label name from e.g.
20227  
20228 \begin_inset Quotes eld
20229 \end_inset
20230
20231 Figure
20232 \begin_inset Quotes erd
20233 \end_inset
20234
20235  to 
20236 \begin_inset Quotes eld
20237 \end_inset
20238
20239 Image
20240 \begin_inset Quotes erd
20241 \end_inset
20242
20243  use this preamble command:
20244 \end_layout
20245
20246 \begin_layout Standard
20247
20248 \series bold
20249
20250 \backslash
20251 renewcommand{
20252 \backslash
20253 fnum@figure}{Image~
20254 \backslash
20255 thefigure}
20256 \end_layout
20257
20258 \begin_layout Standard
20259 where 
20260 \series bold
20261
20262 \backslash
20263 thefigure
20264 \series default
20265  inserts the figure number and
20266 \series bold
20267  
20268 \begin_inset Quotes eld
20269 \end_inset
20270
20271 ~
20272 \series default
20273
20274 \begin_inset Quotes erd
20275 \end_inset
20276
20277  creates a protected space.
20278 \end_layout
20279
20280 \begin_layout Standard
20281 \begin_inset VSpace bigskip
20282 \end_inset
20283
20284 If you are using a 
20285 \series bold
20286 koma-script
20287 \series default
20288
20289 \begin_inset LatexCommand index
20290 name "LaTeX-packages ! koma-script"
20291
20292 \end_inset
20293
20294  document class (
20295 \family sans
20296 article (koma-script)
20297 \family default
20298
20299 \family sans
20300 book (koma-script)
20301 \family default
20302
20303 \family sans
20304 letter (koma-script)
20305 \family default
20306 , or 
20307 \family sans
20308 report (koma-script)
20309 \family default
20310 \InsetSpace \thinspace{}
20311 ), you can alternatively to the 
20312 \series bold
20313 caption
20314 \series default
20315  package use 
20316 \series bold
20317 koma-script
20318 \series default
20319 's built-in command 
20320 \series bold
20321
20322 \backslash
20323 setkomafont
20324 \series default
20325 .
20326  For example, to have the caption label in bold, add this command to your
20327  document preamble:
20328 \end_layout
20329
20330 \begin_layout Standard
20331
20332 \series bold
20333
20334 \backslash
20335 setkomafont{captionlabel}{
20336 \backslash
20337 bfseries}
20338 \end_layout
20339
20340 \begin_layout Standard
20341 For more information about 
20342 \series bold
20343
20344 \backslash
20345 setkomafont
20346 \series default
20347  we refer to the 
20348 \series bold
20349 koma-script
20350 \series default
20351  documentation 
20352 \begin_inset LatexCommand cite
20353 key "koma-script,koma-script-de"
20354
20355 \end_inset
20356
20357 .
20358 \end_layout
20359
20360 \begin_layout Standard
20361 \begin_inset ERT
20362 status collapsed
20363
20364 \begin_layout Standard
20365
20366
20367 \backslash
20368 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20369 }
20370 \end_layout
20371
20372 \end_inset
20373
20374
20375 \begin_inset Note Note
20376 status open
20377
20378 \begin_layout Standard
20379 The caption format is changed only for this example.
20380 \end_layout
20381
20382 \end_inset
20383
20384
20385 \end_layout
20386
20387 \begin_layout Standard
20388 \begin_inset Float figure
20389 placement !p
20390 wide false
20391 sideways false
20392 status open
20393
20394 \begin_layout Standard
20395 \align center
20396 \begin_inset Graphics
20397         filename clipart/mobius.eps
20398         lyxscale 50
20399         scale 50
20400         scaleBeforeRotation
20401
20402 \end_inset
20403
20404
20405 \end_layout
20406
20407 \begin_layout Standard
20408 \begin_inset Caption
20409
20410 \begin_layout Standard
20411 \begin_inset LatexCommand label
20412 name "fig:This-is-an-fig"
20413
20414 \end_inset
20415
20416 This is an example figure caption that is longer than one line to show the
20417  different caption format.
20418  Here a self-defined caption format is used.
20419 \end_layout
20420
20421 \end_inset
20422
20423
20424 \end_layout
20425
20426 \end_inset
20427
20428
20429 \end_layout
20430
20431 \begin_layout Standard
20432 \begin_inset ERT
20433 status collapsed
20434
20435 \begin_layout Standard
20436
20437
20438 \backslash
20439 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20440 on}
20441 \end_layout
20442
20443 \end_inset
20444
20445
20446 \end_layout
20447
20448 \begin_layout Standard
20449 \begin_inset Float table
20450 placement !p
20451 wide false
20452 sideways false
20453 status open
20454
20455 \begin_layout Standard
20456 \begin_inset Caption
20457
20458 \begin_layout Standard
20459 \begin_inset LatexCommand label
20460 name "tab:This-is-an-tab"
20461
20462 \end_inset
20463
20464 This is an example table caption that is longer than one line to show the
20465  different caption format.
20466  Here the standard caption format for tables in this document is used.
20467 \end_layout
20468
20469 \end_inset
20470
20471
20472 \end_layout
20473
20474 \begin_layout Standard
20475 \align center
20476 \begin_inset Tabular
20477 <lyxtabular version="3" rows="1" columns="5">
20478 <features>
20479 <column alignment="center" valignment="top" leftline="true" width="0">
20480 <column alignment="center" valignment="top" leftline="true" width="0">
20481 <column alignment="center" valignment="top" leftline="true" width="0">
20482 <column alignment="center" valignment="top" leftline="true" width="0">
20483 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20484 <row topline="true" bottomline="true">
20485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20486 \begin_inset Text
20487
20488 \begin_layout Standard
20489 a
20490 \end_layout
20491
20492 \end_inset
20493 </cell>
20494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20495 \begin_inset Text
20496
20497 \begin_layout Standard
20498 b
20499 \end_layout
20500
20501 \end_inset
20502 </cell>
20503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20504 \begin_inset Text
20505
20506 \begin_layout Standard
20507 c
20508 \end_layout
20509
20510 \end_inset
20511 </cell>
20512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20513 \begin_inset Text
20514
20515 \begin_layout Standard
20516 d
20517 \end_layout
20518
20519 \end_inset
20520 </cell>
20521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20522 \begin_inset Text
20523
20524 \begin_layout Standard
20525 e
20526 \end_layout
20527
20528 \end_inset
20529 </cell>
20530 </row>
20531 </lyxtabular>
20532
20533 \end_inset
20534
20535
20536 \end_layout
20537
20538 \end_inset
20539
20540
20541 \end_layout
20542
20543 \begin_layout Section
20544 Caption Placement
20545 \begin_inset LatexCommand index
20546 name "Caption ! Placement"
20547
20548 \end_inset
20549
20550
20551 \begin_inset LatexCommand index
20552 name "Floats ! Caption Placement"
20553
20554 \end_inset
20555
20556
20557 \begin_inset LatexCommand label
20558 name "sec:Caption-Placement"
20559
20560 \end_inset
20561
20562
20563 \end_layout
20564
20565 \begin_layout Standard
20566 The common caption placement rule is:
20567 \end_layout
20568
20569 \begin_layout Description
20570 Figure: Caption is set below the figure
20571 \end_layout
20572
20573 \begin_layout Description
20574 Table: Caption is set above the table
20575 \end_layout
20576
20577 \begin_layout Standard
20578 Having the caption above the table is unfortunately not supported in LaTeX's
20579  standard classes.
20580  That means if you are using the document classes 
20581 \family sans
20582 article
20583 \family default
20584
20585 \family sans
20586 book
20587 \family default
20588
20589 \family sans
20590 letter
20591 \family default
20592 , or 
20593 \family sans
20594 report
20595 \family default
20596  there will be no space between the caption and the table.
20597  To insert the needed space, add the following option to the load command
20598  of the LaTeX-package 
20599 \series bold
20600 caption
20601 \series default
20602  in your document preamble
20603 \begin_inset Foot
20604 status collapsed
20605
20606 \begin_layout Standard
20607 See section\InsetSpace ~
20608
20609 \begin_inset LatexCommand ref
20610 reference "sec:Caption-Formatting"
20611
20612 \end_inset
20613
20614  for more information of the package 
20615 \series bold
20616 caption
20617 \series default
20618 .
20619 \end_layout
20620
20621 \end_inset
20622
20623 :
20624 \end_layout
20625
20626 \begin_layout Standard
20627
20628 \series bold
20629 tableposition=top
20630 \end_layout
20631
20632 \begin_layout Standard
20633 If you are using a 
20634 \series bold
20635 koma-script
20636 \series default
20637
20638 \begin_inset LatexCommand index
20639 name "LaTeX-packages ! koma-script"
20640
20641 \end_inset
20642
20643  document class (
20644 \family sans
20645 article (koma-script)
20646 \family default
20647
20648 \family sans
20649 book (koma-script)
20650 \family default
20651
20652 \family sans
20653 letter (koma-script)
20654 \family default
20655 , or 
20656 \family sans
20657 report (koma-script)
20658 \family default
20659 \InsetSpace \thinspace{}
20660 ), you can alternatively to the 
20661 \series bold
20662 caption
20663 \series default
20664  package set the document class option 
20665 \series bold
20666 tablecaptionabove
20667 \series default
20668 .
20669 \end_layout
20670
20671 \begin_layout Standard
20672 \begin_inset VSpace bigskip
20673 \end_inset
20674
20675 It is also possible to set the caption beside a figure or table.
20676  To get this the LaTeX-package 
20677 \series bold
20678 sidecap
20679 \series default
20680
20681 \begin_inset LatexCommand index
20682 name "LaTeX-packages ! sidecap"
20683
20684 \end_inset
20685
20686  has to be loaded in the document preamble with the line
20687 \end_layout
20688
20689 \begin_layout Standard
20690
20691 \series bold
20692
20693 \backslash
20694 usepackage[option]{sidecap}
20695 \end_layout
20696
20697 \begin_layout Standard
20698 If you set no option, the caption is placed on the side of the outer page
20699  margin -- to the right on odd pages, to the left on even pages.
20700  You can change the placement to inner margin with the option 
20701 \series bold
20702 innercaption
20703 \series default
20704 .
20705  To force the placement always to the right or left, use the option 
20706 \series bold
20707 rightcaption
20708 \series default
20709  or 
20710 \series bold
20711 leftcaption
20712 \series default
20713 , respectively.
20714 \end_layout
20715
20716 \begin_layout Standard
20717 To place in LyX the caption of a float on the side, it is necessary to add
20718  these commands to the document preamble:
20719 \end_layout
20720
20721 \begin_layout Standard
20722
20723 \lyxline
20724
20725 \end_layout
20726
20727 \begin_layout Standard
20728
20729 \series bold
20730
20731 \backslash
20732 newcommand{
20733 \backslash
20734 TabBesBeg}{%
20735 \newline
20736
20737 \begin_inset ERT
20738 status collapsed
20739
20740 \begin_layout Standard
20741
20742
20743 \backslash
20744 hphantom{ }
20745 \end_layout
20746
20747 \end_inset
20748
20749
20750 \backslash
20751 let
20752 \backslash
20753 MyTable
20754 \backslash
20755 table
20756 \newline
20757
20758 \begin_inset ERT
20759 status collapsed
20760
20761 \begin_layout Standard
20762
20763
20764 \backslash
20765 hphantom{ }
20766 \end_layout
20767
20768 \end_inset
20769
20770
20771 \backslash
20772 let
20773 \backslash
20774 MyEndtable
20775 \backslash
20776 endtable
20777 \newline
20778
20779 \begin_inset ERT
20780 status collapsed
20781
20782 \begin_layout Standard
20783
20784
20785 \backslash
20786 hphantom{ }
20787 \end_layout
20788
20789 \end_inset
20790
20791
20792 \backslash
20793 renewenvironment{table}{
20794 \backslash
20795 begin{SCtable}}{
20796 \backslash
20797 end{SCtable}}}
20798 \end_layout
20799
20800 \begin_layout Standard
20801
20802 \series bold
20803
20804 \backslash
20805 newcommand{
20806 \backslash
20807 TabBesEnd}{%
20808 \newline
20809
20810 \begin_inset ERT
20811 status collapsed
20812
20813 \begin_layout Standard
20814
20815
20816 \backslash
20817 hphantom{ }
20818 \end_layout
20819
20820 \end_inset
20821
20822
20823 \backslash
20824 let
20825 \backslash
20826 table
20827 \backslash
20828 MyTable
20829 \newline
20830
20831 \begin_inset ERT
20832 status collapsed
20833
20834 \begin_layout Standard
20835
20836
20837 \backslash
20838 hphantom{ }
20839 \end_layout
20840
20841 \end_inset
20842
20843
20844 \backslash
20845 let
20846 \backslash
20847 endtable
20848 \backslash
20849 MyEndtable
20850 \end_layout
20851
20852 \begin_layout Standard
20853
20854 \series bold
20855
20856 \backslash
20857 newcommand{
20858 \backslash
20859 FigBesBeg}{%
20860 \newline
20861
20862 \begin_inset ERT
20863 status collapsed
20864
20865 \begin_layout Standard
20866
20867
20868 \backslash
20869 hphantom{ }
20870 \end_layout
20871
20872 \end_inset
20873
20874
20875 \backslash
20876 let
20877 \backslash
20878 MyFigure
20879 \backslash
20880 f\SpecialChar \textcompwordmark{}
20881 igure
20882 \newline
20883
20884 \begin_inset ERT
20885 status collapsed
20886
20887 \begin_layout Standard
20888
20889
20890 \backslash
20891 hphantom{ }
20892 \end_layout
20893
20894 \end_inset
20895
20896
20897 \backslash
20898 let
20899 \backslash
20900 MyEndf\SpecialChar \textcompwordmark{}
20901 igure
20902 \backslash
20903 endf\SpecialChar \textcompwordmark{}
20904 igure
20905 \newline
20906
20907 \begin_inset ERT
20908 status collapsed
20909
20910 \begin_layout Standard
20911
20912
20913 \backslash
20914 hphantom{ }
20915 \end_layout
20916
20917 \end_inset
20918
20919
20920 \backslash
20921 renewenvironment{f\SpecialChar \textcompwordmark{}
20922 igure}{
20923 \backslash
20924 begin{SCf\SpecialChar \textcompwordmark{}
20925 igure}}{
20926 \backslash
20927 end{SCf\SpecialChar \textcompwordmark{}
20928 igure}}}
20929 \end_layout
20930
20931 \begin_layout Standard
20932
20933 \series bold
20934
20935 \backslash
20936 newcommand{
20937 \backslash
20938 FigBesEnd}{%
20939 \newline
20940
20941 \begin_inset ERT
20942 status collapsed
20943
20944 \begin_layout Standard
20945
20946
20947 \backslash
20948 hphantom{ }
20949 \end_layout
20950
20951 \end_inset
20952
20953
20954 \backslash
20955 let
20956 \backslash
20957 f\SpecialChar \textcompwordmark{}
20958 igure
20959 \backslash
20960 MyFigure
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 endf\SpecialChar \textcompwordmark{}
20980 igure
20981 \backslash
20982 MyEndf\SpecialChar \textcompwordmark{}
20983 igure}
20984 \end_layout
20985
20986 \begin_layout Standard
20987
20988 \lyxline
20989
20990 \end_layout
20991
20992 \begin_layout Standard
20993 The commands allow you to redefine the floats so that the caption is set
20994  on the side.
20995  For figure floats use the command
20996 \end_layout
20997
20998 \begin_layout Standard
20999
21000 \series bold
21001
21002 \backslash
21003 FigBesBeg
21004 \end_layout
21005
21006 \begin_layout Standard
21007 in TeX-Code before the float.
21008  Behind the float insert the command
21009 \end_layout
21010
21011 \begin_layout Standard
21012
21013 \series bold
21014
21015 \backslash
21016 FigBesEnd
21017 \end_layout
21018
21019 \begin_layout Standard
21020 in TeX-Code to get back to the original float definition.
21021 \end_layout
21022
21023 \begin_layout Standard
21024 For table floats use the corresponding commands
21025 \end_layout
21026
21027 \begin_layout Standard
21028
21029 \series bold
21030
21031 \backslash
21032 TabBesBeg
21033 \series default
21034  and 
21035 \series bold
21036
21037 \backslash
21038 TabBesEnd
21039 \end_layout
21040
21041 \begin_layout Standard
21042 Figure\InsetSpace ~
21043
21044 \begin_inset LatexCommand ref
21045 reference "fig:cap-beside-fig"
21046
21047 \end_inset
21048
21049  and Table\InsetSpace ~
21050
21051 \begin_inset LatexCommand ref
21052 reference "tab:cap-beside-tab"
21053
21054 \end_inset
21055
21056  are examples where the caption is set beside.
21057 \end_layout
21058
21059 \begin_layout Standard
21060 You can see in the examples that the caption text appears at the top of
21061  the floats for table floats and at the bottom for figure floats.
21062  To change this, you can use the command
21063 \end_layout
21064
21065 \begin_layout Standard
21066
21067 \series bold
21068
21069 \backslash
21070 sidecaptionvpos{float type}{placement}
21071 \end_layout
21072
21073 \begin_layout Standard
21074 in the document preamble or in TeX-Code before the float.
21075  The float type is either 
21076 \family sans
21077 figure
21078 \family default
21079  or 
21080 \family sans
21081 table
21082 \family default
21083 , the placement can be 
21084 \begin_inset Quotes eld
21085 \end_inset
21086
21087
21088 \family sans
21089 t
21090 \family default
21091
21092 \begin_inset Quotes erd
21093 \end_inset
21094
21095  for top, 
21096 \begin_inset Quotes eld
21097 \end_inset
21098
21099
21100 \family sans
21101 c
21102 \family default
21103
21104 \begin_inset Quotes erd
21105 \end_inset
21106
21107  for center, or 
21108 \begin_inset Quotes eld
21109 \end_inset
21110
21111
21112 \family sans
21113 b
21114 \family default
21115
21116 \begin_inset Quotes erd
21117 \end_inset
21118
21119  for bottom.
21120  To have for example the caption of figure floats vertically centered, use
21121  the command
21122 \end_layout
21123
21124 \begin_layout Standard
21125
21126 \series bold
21127
21128 \backslash
21129 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
21130 igure}{c}
21131 \end_layout
21132
21133 \begin_layout Standard
21134 This was used for Figure\InsetSpace ~
21135
21136 \begin_inset LatexCommand ref
21137 reference "fig:cap-beside-fig-2"
21138
21139 \end_inset
21140
21141 .
21142 \end_layout
21143
21144 \begin_layout Standard
21145 \begin_inset VSpace medskip
21146 \end_inset
21147
21148 For more information about the package 
21149 \series bold
21150 sidecap
21151 \series default
21152  we refer to its documentation 
21153 \begin_inset LatexCommand cite
21154 key "sidecap"
21155
21156 \end_inset
21157
21158 .
21159 \end_layout
21160
21161 \begin_layout Standard
21162 \begin_inset Note Greyedout
21163 status open
21164
21165 \begin_layout Standard
21166
21167 \series bold
21168 Note:
21169 \series default
21170  The LaTeX-package 
21171 \series bold
21172 hypcap
21173 \series default
21174
21175 \begin_inset LatexCommand index
21176 name "LaTeX-packages ! hypcap"
21177
21178 \end_inset
21179
21180 , described in section\InsetSpace ~
21181
21182 \begin_inset LatexCommand ref
21183 reference "sub:Reference-Position"
21184
21185 \end_inset
21186
21187 , has no effect on floats with the caption set beside.
21188 \end_layout
21189
21190 \end_inset
21191
21192
21193 \end_layout
21194
21195 \begin_layout Standard
21196 \begin_inset ERT
21197 status collapsed
21198
21199 \begin_layout Standard
21200
21201
21202 \backslash
21203 FigBesBeg 
21204 \end_layout
21205
21206 \end_inset
21207
21208
21209 \end_layout
21210
21211 \begin_layout Standard
21212 \begin_inset Float figure
21213 wide false
21214 sideways false
21215 status open
21216
21217 \begin_layout Standard
21218 \begin_inset Graphics
21219         filename clipart/escher-lsd.eps
21220         scale 75
21221         scaleBeforeRotation
21222
21223 \end_inset
21224
21225
21226 \end_layout
21227
21228 \begin_layout Standard
21229 \begin_inset Caption
21230
21231 \begin_layout Standard
21232 \begin_inset LatexCommand label
21233 name "fig:cap-beside-fig"
21234
21235 \end_inset
21236
21237 This is a caption beside a figure.
21238 \end_layout
21239
21240 \end_inset
21241
21242
21243 \end_layout
21244
21245 \end_inset
21246
21247
21248 \end_layout
21249
21250 \begin_layout Standard
21251 \begin_inset ERT
21252 status collapsed
21253
21254 \begin_layout Standard
21255
21256
21257 \backslash
21258 TabBesBeg 
21259 \end_layout
21260
21261 \end_inset
21262
21263
21264 \end_layout
21265
21266 \begin_layout Standard
21267 \begin_inset Float table
21268 wide false
21269 sideways false
21270 status open
21271
21272 \begin_layout Standard
21273 \begin_inset Caption
21274
21275 \begin_layout Standard
21276 \begin_inset LatexCommand label
21277 name "tab:cap-beside-tab"
21278
21279 \end_inset
21280
21281 This is a caption beside a table.
21282 \end_layout
21283
21284 \end_inset
21285
21286
21287 \end_layout
21288
21289 \begin_layout Standard
21290 \begin_inset Tabular
21291 <lyxtabular version="3" rows="4" columns="5">
21292 <features>
21293 <column alignment="center" valignment="top" leftline="true" width="0">
21294 <column alignment="center" valignment="top" leftline="true" width="0">
21295 <column alignment="center" valignment="top" leftline="true" width="0">
21296 <column alignment="center" valignment="top" leftline="true" width="0">
21297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21298 <row topline="true">
21299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21300 \begin_inset Text
21301
21302 \begin_layout Standard
21303 a
21304 \end_layout
21305
21306 \end_inset
21307 </cell>
21308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21309 \begin_inset Text
21310
21311 \begin_layout Standard
21312
21313 \end_layout
21314
21315 \end_inset
21316 </cell>
21317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21318 \begin_inset Text
21319
21320 \begin_layout Standard
21321 b
21322 \end_layout
21323
21324 \end_inset
21325 </cell>
21326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21327 \begin_inset Text
21328
21329 \begin_layout Standard
21330
21331 \end_layout
21332
21333 \end_inset
21334 </cell>
21335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21336 \begin_inset Text
21337
21338 \begin_layout Standard
21339 c
21340 \end_layout
21341
21342 \end_inset
21343 </cell>
21344 </row>
21345 <row topline="true">
21346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21347 \begin_inset Text
21348
21349 \begin_layout Standard
21350
21351 \end_layout
21352
21353 \end_inset
21354 </cell>
21355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21356 \begin_inset Text
21357
21358 \begin_layout Standard
21359 d
21360 \end_layout
21361
21362 \end_inset
21363 </cell>
21364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21365 \begin_inset Text
21366
21367 \begin_layout Standard
21368
21369 \end_layout
21370
21371 \end_inset
21372 </cell>
21373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21374 \begin_inset Text
21375
21376 \begin_layout Standard
21377 e
21378 \end_layout
21379
21380 \end_inset
21381 </cell>
21382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21383 \begin_inset Text
21384
21385 \begin_layout Standard
21386
21387 \end_layout
21388
21389 \end_inset
21390 </cell>
21391 </row>
21392 <row topline="true">
21393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21394 \begin_inset Text
21395
21396 \begin_layout Standard
21397 f
21398 \end_layout
21399
21400 \end_inset
21401 </cell>
21402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21403 \begin_inset Text
21404
21405 \begin_layout Standard
21406
21407 \end_layout
21408
21409 \end_inset
21410 </cell>
21411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21412 \begin_inset Text
21413
21414 \begin_layout Standard
21415 g
21416 \end_layout
21417
21418 \end_inset
21419 </cell>
21420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21421 \begin_inset Text
21422
21423 \begin_layout Standard
21424
21425 \end_layout
21426
21427 \end_inset
21428 </cell>
21429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21430 \begin_inset Text
21431
21432 \begin_layout Standard
21433 h
21434 \end_layout
21435
21436 \end_inset
21437 </cell>
21438 </row>
21439 <row topline="true" bottomline="true">
21440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21441 \begin_inset Text
21442
21443 \begin_layout Standard
21444
21445 \end_layout
21446
21447 \end_inset
21448 </cell>
21449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21450 \begin_inset Text
21451
21452 \begin_layout Standard
21453 i
21454 \end_layout
21455
21456 \end_inset
21457 </cell>
21458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21459 \begin_inset Text
21460
21461 \begin_layout Standard
21462
21463 \end_layout
21464
21465 \end_inset
21466 </cell>
21467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21468 \begin_inset Text
21469
21470 \begin_layout Standard
21471 j
21472 \end_layout
21473
21474 \end_inset
21475 </cell>
21476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21477 \begin_inset Text
21478
21479 \begin_layout Standard
21480
21481 \end_layout
21482
21483 \end_inset
21484 </cell>
21485 </row>
21486 </lyxtabular>
21487
21488 \end_inset
21489
21490
21491 \end_layout
21492
21493 \end_inset
21494
21495
21496 \end_layout
21497
21498 \begin_layout Standard
21499 \begin_inset ERT
21500 status collapsed
21501
21502 \begin_layout Standard
21503
21504
21505 \backslash
21506 TabBesEnd
21507 \end_layout
21508
21509 \end_inset
21510
21511
21512 \end_layout
21513
21514 \begin_layout Standard
21515 \begin_inset ERT
21516 status collapsed
21517
21518 \begin_layout Standard
21519
21520
21521 \backslash
21522 sidecaptionvpos{figure}{c}
21523 \end_layout
21524
21525 \end_inset
21526
21527
21528 \begin_inset Float figure
21529 wide false
21530 sideways false
21531 status open
21532
21533 \begin_layout Standard
21534 \begin_inset Graphics
21535         filename clipart/escher-lsd.eps
21536         scale 75
21537         scaleBeforeRotation
21538
21539 \end_inset
21540
21541
21542 \end_layout
21543
21544 \begin_layout Standard
21545 \begin_inset Caption
21546
21547 \begin_layout Standard
21548 \begin_inset LatexCommand label
21549 name "fig:cap-beside-fig-2"
21550
21551 \end_inset
21552
21553 This is a vertically centered caption beside a figure.
21554 \end_layout
21555
21556 \end_inset
21557
21558
21559 \end_layout
21560
21561 \end_inset
21562
21563
21564 \end_layout
21565
21566 \begin_layout Standard
21567 \begin_inset ERT
21568 status collapsed
21569
21570 \begin_layout Standard
21571
21572
21573 \backslash
21574 FigBesEnd
21575 \end_layout
21576
21577 \end_inset
21578
21579
21580 \end_layout
21581
21582 \begin_layout Section
21583 Listings of Floats
21584 \begin_inset LatexCommand label
21585 name "sec:Listings-of-Floats"
21586
21587 \end_inset
21588
21589
21590 \begin_inset LatexCommand index
21591 name "Floats ! Float Lists"
21592
21593 \end_inset
21594
21595
21596 \end_layout
21597
21598 \begin_layout Standard
21599 Similar to the the table of contents where the sections of the document
21600  are listed, there are listings for all float types, like the figures of
21601  the documents.
21602  You can insert them via the 
21603 \family sans
21604 Insert\SpecialChar \menuseparator
21605 List\InsetSpace ~
21606 /\InsetSpace ~
21607 TOC
21608 \family default
21609  sub menus.
21610 \end_layout
21611
21612 \begin_layout Standard
21613 The list entries are the float captions or its short title, the float number,
21614  and the page number where they appear in the document.
21615 \end_layout
21616
21617 \begin_layout Standard
21618 You can find the list of figures and tables at the end of this document.
21619 \end_layout
21620
21621 \begin_layout Chapter
21622 Notes
21623 \end_layout
21624
21625 \begin_layout Section
21626 LyX Notes
21627 \begin_inset LatexCommand label
21628 name "sec:LyX-Notes"
21629
21630 \end_inset
21631
21632
21633 \begin_inset LatexCommand index
21634 name "Notes ! LyX Notes"
21635
21636 \end_inset
21637
21638
21639 \end_layout
21640
21641 \begin_layout Standard
21642 Notes are inserted with the toolbar button 
21643 \begin_inset Graphics
21644         filename ../images/note-insert.png
21645         scale 85
21646         scaleBeforeRotation
21647
21648 \end_inset
21649
21650  or the menu 
21651 \family sans
21652 Insert\SpecialChar \menuseparator
21653 Note
21654 \family default
21655 .
21656  There are five types of notes:
21657 \end_layout
21658
21659 \begin_layout Description
21660 LyX\InsetSpace ~
21661 Note This note type is for internal notes that won't appear in the output.
21662  Its note-box looks like this:
21663 \newline
21664
21665 \newline
21666
21667 \begin_inset Graphics
21668         filename clipart/LyXNoteImageQt4.png
21669         display none
21670         scale 85
21671         scaleBeforeRotation
21672
21673 \end_inset
21674
21675  
21676 \begin_inset Note Note
21677 status open
21678
21679 \begin_layout Standard
21680 This is text in a note box that doesn't appear in the output.
21681 \end_layout
21682
21683 \end_inset
21684
21685
21686 \end_layout
21687
21688 \begin_layout Description
21689 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21690 ent, when you export the document to LaTeX via the menu 
21691 \family sans
21692 File\SpecialChar \menuseparator
21693 Export\SpecialChar \menuseparator
21694 LaTeX (pdflatex) / (plain)
21695 \family default
21696 .
21697  Its note-box looks like this:
21698 \newline
21699
21700 \newline
21701
21702 \begin_inset Graphics
21703         filename clipart/CommentNoteImageQt4.png
21704         display none
21705         scale 85
21706         scaleBeforeRotation
21707
21708 \end_inset
21709
21710  
21711 \begin_inset Note Comment
21712 status open
21713
21714 \begin_layout Standard
21715 This is text in a note box that only appears as comment in LaTeX-files.
21716 \end_layout
21717
21718 \end_inset
21719
21720
21721 \end_layout
21722
21723 \begin_layout Description
21724 Greyed\InsetSpace ~
21725 Out This note will appear in the output as grey text.
21726  Its note-box looks like this:
21727 \newline
21728
21729 \newline
21730
21731 \begin_inset Graphics
21732         filename clipart/GreyedOutNoteImageQt4.png
21733         display none
21734         scale 85
21735         scaleBeforeRotation
21736
21737 \end_inset
21738
21739
21740 \newline
21741
21742 \begin_inset ERT
21743 status collapsed
21744
21745 \begin_layout Standard
21746
21747
21748 \backslash
21749 renewenvironment{lyxgreyedout}
21750 \end_layout
21751
21752 \begin_layout Standard
21753
21754 {
21755 \backslash
21756 textcolor[gray]{0.8}
21757 \backslash
21758 bgroup}{
21759 \backslash
21760 egroup}
21761 \end_layout
21762
21763 \end_inset
21764
21765
21766 \begin_inset Note Greyedout
21767 status open
21768
21769 \begin_layout Standard
21770 This is text
21771 \begin_inset Foot
21772 status open
21773
21774 \begin_layout Standard
21775 This is an example footnote within a greyed out note.
21776 \end_layout
21777
21778 \end_inset
21779
21780  of a comment that appears in the output as grey text.
21781 \end_layout
21782
21783 \end_inset
21784
21785
21786 \begin_inset ERT
21787 status collapsed
21788
21789 \begin_layout Standard
21790
21791
21792 \backslash
21793 renewenvironment{lyxgreyedout}
21794 \end_layout
21795
21796 \begin_layout Standard
21797
21798 {
21799 \backslash
21800 textcolor{blue}
21801 \backslash
21802 bgroup}{
21803 \backslash
21804 egroup}
21805 \end_layout
21806
21807 \end_inset
21808
21809
21810 \begin_inset Note Note
21811 status collapsed
21812
21813 \begin_layout Standard
21814 The greyed out note is here redefined to show it with the original LyX definitio
21815 n because greyed out notes are redefined in the preamble of this document,
21816  as described below, to have blue text.
21817 \end_layout
21818
21819 \end_inset
21820
21821
21822 \newline
21823
21824 \newline
21825 As you can see in the example, the first line of greyed out notes is a bit
21826  indented and greyed out notes can have footnotes.
21827 \end_layout
21828
21829 \begin_layout Description
21830 Framed This note will appear in the output as framed text.
21831  Its note-box looks like this:
21832 \newline
21833
21834 \newline
21835
21836 \begin_inset Graphics
21837         filename clipart/FramedNoteImageQt4.png
21838         display none
21839         scale 85
21840         scaleBeforeRotation
21841
21842 \end_inset
21843
21844  
21845 \begin_inset Note Framed
21846 status open
21847
21848 \begin_layout Standard
21849 This is text in a note box that appears framed in the output.
21850 \end_layout
21851
21852 \end_inset
21853
21854  In contrary to framed boxes
21855 \begin_inset Foot
21856 status collapsed
21857
21858 \begin_layout Standard
21859 Framed boxes are described in section\InsetSpace ~
21860
21861 \begin_inset LatexCommand ref
21862 reference "sec:Framed-Boxes"
21863
21864 \end_inset
21865
21866 .
21867 \end_layout
21868
21869 \end_inset
21870
21871  the frame uses always the whole text width and the note is set into its
21872  own paragraph.
21873 \end_layout
21874
21875 \begin_layout Description
21876 Shaded This note will appear in the output with red background color.
21877  Its note box looks like this:
21878 \newline
21879
21880 \newline
21881
21882 \begin_inset Graphics
21883         filename clipart/ShadedNoteImageQt4.png
21884         display none
21885         scale 85
21886         scaleBeforeRotation
21887
21888 \end_inset
21889
21890
21891 \begin_inset Note Shaded
21892 status open
21893
21894 \begin_layout Standard
21895 This text in a note box appears in the output with red background.
21896 \end_layout
21897
21898 \end_inset
21899
21900 In contrary to colored boxes
21901 \begin_inset Foot
21902 status collapsed
21903
21904 \begin_layout Standard
21905 Colored boxes are described in section\InsetSpace ~
21906
21907 \begin_inset LatexCommand ref
21908 reference "sec:Colored-Boxes"
21909
21910 \end_inset
21911
21912 .
21913 \end_layout
21914
21915 \end_inset
21916
21917  the note uses always the whole text width and the note is set into its
21918  own paragraph.
21919 \end_layout
21920
21921 \begin_layout Standard
21922 \begin_inset VSpace bigskip
21923 \end_inset
21924
21925 When you use the toolbar button 
21926 \begin_inset Graphics
21927         filename ../images/note-insert.png
21928         scale 85
21929         scaleBeforeRotation
21930
21931 \end_inset
21932
21933  to insert notes, a 
21934 \family sans
21935 LyX\InsetSpace ~
21936 Note
21937 \family default
21938  is inserted.
21939  You can switch between the five note types by right-clicking on the note-box.
21940  
21941 \family roman
21942 \series medium
21943 \bar no
21944 If you want to turn existing text into a note, mark it and click on the
21945  note
21946 \family default
21947 \series default
21948 \bar default
21949  toolbar 
21950 \family roman
21951 \series medium
21952 \bar no
21953 button
21954 \family default
21955 \series default
21956 \bar default
21957 .
21958  To change a note to text, press the backspace key when the cursor is in
21959  the first position of a note, or press the deletey key when the cursor
21960  is in the very last position of the note, respectively.
21961 \end_layout
21962
21963 \begin_layout Standard
21964 \begin_inset VSpace bigskip
21965 \end_inset
21966
21967 You can change the text color of the greyed out notes in the preamble with
21968  the following command:
21969 \end_layout
21970
21971 \begin_layout Standard
21972
21973 \series bold
21974
21975 \backslash
21976 renewenvironment{lyxgreyedout}
21977 \newline
21978
21979 \begin_inset ERT
21980 status collapsed
21981
21982 \begin_layout Standard
21983
21984
21985 \backslash
21986 hphantom{ }
21987 \end_layout
21988
21989 \end_inset
21990
21991 {
21992 \backslash
21993 textcolor{color}
21994 \backslash
21995 bgroup}{
21996 \backslash
21997 egroup}
21998 \end_layout
21999
22000 \begin_layout Standard
22001 The available colors and the method to define own colors is explained in
22002  section\InsetSpace ~
22003
22004 \begin_inset LatexCommand ref
22005 reference "sec:Colored-Tables"
22006
22007 \end_inset
22008
22009 .
22010 \end_layout
22011
22012 \begin_layout Standard
22013 Notes that appear in blue in this document are set using greyed out notes
22014  with blue text.
22015 \end_layout
22016
22017 \begin_layout Standard
22018 \begin_inset VSpace bigskip
22019 \end_inset
22020
22021
22022 \end_layout
22023
22024 \begin_layout Standard
22025 The text style of 
22026 \family sans
22027 Framed
22028 \family default
22029  and 
22030 \family sans
22031 Shaded
22032 \family default
22033  notes can be set in the 
22034 \family sans
22035 Text Style
22036 \family default
22037  dialog.
22038 \end_layout
22039
22040 \begin_layout Standard
22041 The default frame width for 
22042 \family sans
22043 Framed
22044 \family default
22045  notes is 0.4\InsetSpace \thinspace{}
22046 pt; it can be changed by changing the size 
22047 \series bold
22048
22049 \backslash
22050 FrameRule
22051 \series default
22052 .
22053  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22054 pt; it can
22055  be changed by changing the size 
22056 \series bold
22057
22058 \backslash
22059 FrameSep
22060 \series default
22061 .
22062  For example the frame appearance of the following 
22063 \family sans
22064 Framed
22065 \family default
22066  note is set with the TeX-Code commands
22067 \end_layout
22068
22069 \begin_layout Standard
22070
22071 \series bold
22072
22073 \backslash
22074 FrameRule 5pt 
22075 \backslash
22076 FrameSep 0.5cm
22077 \end_layout
22078
22079 \begin_layout Standard
22080 \begin_inset ERT
22081 status collapsed
22082
22083 \begin_layout Standard
22084
22085
22086 \backslash
22087 FrameRule 5pt 
22088 \backslash
22089 FrameSep 0.5cm
22090 \end_layout
22091
22092 \end_inset
22093
22094
22095 \begin_inset Note Framed
22096 status open
22097
22098 \begin_layout Standard
22099 This is text in a 
22100 \family sans
22101 Framed
22102 \family default
22103  note.
22104 \end_layout
22105
22106 \end_inset
22107
22108
22109 \begin_inset ERT
22110 status collapsed
22111
22112 \begin_layout Standard
22113
22114
22115 \backslash
22116 FrameRule 0.4pt 
22117 \backslash
22118 FrameSep 9pt
22119 \end_layout
22120
22121 \end_inset
22122
22123
22124 \end_layout
22125
22126 \begin_layout Standard
22127 \begin_inset VSpace bigskip
22128 \end_inset
22129
22130
22131 \end_layout
22132
22133 \begin_layout Standard
22134 For 
22135 \family sans
22136 Shaded
22137 \family default
22138  notes the default space between the note content and the note border is
22139  3\InsetSpace \thinspace{}
22140 pt; it can be changed by changing the size 
22141 \series bold
22142
22143 \backslash
22144 fboxsep
22145 \series default
22146 .
22147 \newline
22148 The default background color red can be changed with the command 
22149 \series bold
22150
22151 \backslash
22152 def\SpecialChar \textcompwordmark{}
22153 inecolor{shadebox}
22154 \series default
22155 .
22156  The scheme of the 
22157 \series bold
22158
22159 \backslash
22160 def\SpecialChar \textcompwordmark{}
22161 inecolor
22162 \series default
22163  command is explained in section\InsetSpace ~
22164
22165 \begin_inset LatexCommand ref
22166 reference "sec:Colored-Tables"
22167
22168 \end_inset
22169
22170
22171 \begin_inset Foot
22172 status collapsed
22173
22174 \begin_layout Standard
22175 Note that 
22176 \series bold
22177
22178 \backslash
22179 def
22180 \series default
22181 \SpecialChar \textcompwordmark{}
22182
22183 \series bold
22184 inecolor
22185 \series default
22186  requires the LaTeX-package 
22187 \series bold
22188 color
22189 \series default
22190  in the preamble, see section\InsetSpace ~
22191
22192 \begin_inset LatexCommand ref
22193 reference "sec:Colored-Boxes"
22194
22195 \end_inset
22196
22197 .
22198 \end_layout
22199
22200 \end_inset
22201
22202 .
22203 \end_layout
22204
22205 \begin_layout Standard
22206 For example the appearance of the following 
22207 \family sans
22208 Shaded
22209 \family default
22210  note is set with the TeX-Code commands
22211 \end_layout
22212
22213 \begin_layout Standard
22214
22215 \series bold
22216
22217 \backslash
22218 fboxsep 0.5cm
22219 \series default
22220
22221 \newline
22222
22223 \series bold
22224
22225 \backslash
22226 def\SpecialChar \textcompwordmark{}
22227 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22228 \end_layout
22229
22230 \begin_layout Standard
22231 \begin_inset ERT
22232 status collapsed
22233
22234 \begin_layout Standard
22235
22236
22237 \backslash
22238 fboxsep 0.5cm
22239 \end_layout
22240
22241 \end_inset
22242
22243
22244 \begin_inset ERT
22245 status collapsed
22246
22247 \begin_layout Standard
22248
22249
22250 \backslash
22251 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22252 \end_layout
22253
22254 \end_inset
22255
22256
22257 \begin_inset Note Shaded
22258 status open
22259
22260 \begin_layout Standard
22261
22262 \color yellow
22263 This is yellow text in a
22264 \color none
22265  
22266 \family sans
22267 \color yellow
22268 Shaded
22269 \family default
22270 \color none
22271  
22272 \color yellow
22273 note with darkgreen background.
22274 \end_layout
22275
22276 \end_inset
22277
22278
22279 \begin_inset ERT
22280 status collapsed
22281
22282 \begin_layout Standard
22283
22284
22285 \backslash
22286 fboxsep 3pt
22287 \end_layout
22288
22289 \end_inset
22290
22291
22292 \begin_inset ERT
22293 status collapsed
22294
22295 \begin_layout Standard
22296
22297
22298 \backslash
22299 definecolor{shadecolor}{rgb}{1,0,0}
22300 \end_layout
22301
22302 \end_inset
22303
22304
22305 \end_layout
22306
22307 \begin_layout Section
22308 Footnotes
22309 \begin_inset LatexCommand label
22310 name "sec:Footnotes"
22311
22312 \end_inset
22313
22314
22315 \begin_inset LatexCommand index
22316 name "Notes ! Footnotes"
22317
22318 \end_inset
22319
22320
22321 \begin_inset LatexCommand index
22322 name "Footnotes"
22323
22324 \end_inset
22325
22326
22327 \end_layout
22328
22329 \begin_layout Standard
22330 Footnotes can be inserted using the toolbar button 
22331 \begin_inset Graphics
22332         filename ../images/footnote-insert.png
22333         scale 85
22334         scaleBeforeRotation
22335
22336 \end_inset
22337
22338  or the menu 
22339 \family sans
22340 Insert\SpecialChar \menuseparator
22341 Footnote
22342 \family default
22343 .
22344  
22345 \family roman
22346 \series medium
22347 \bar no
22348 You'll see
22349 \family default
22350 \series default
22351 \bar default
22352  then the following footnote-box: 
22353 \begin_inset Graphics
22354         filename clipart/footnoteQt4.png
22355         scale 80
22356         scaleBeforeRotation
22357
22358 \end_inset
22359
22360  
22361 \family roman
22362 \series medium
22363 \bar no
22364 where you can enter the footnote text.
22365  If you want to turn existing text into a footnote, mark it and click on
22366  the footnote
22367 \family default
22368 \series default
22369 \bar default
22370  toolbar 
22371 \family roman
22372 \series medium
22373 \bar no
22374 button
22375 \family default
22376 \series default
22377 \bar default
22378 .
22379  To change a 
22380 \family roman
22381 \series medium
22382 \bar no
22383 footnote
22384 \family default
22385 \series default
22386 \bar default
22387  to text, press the Backspace key when the cursor is in the first position
22388  of a 
22389 \family roman
22390 \series medium
22391 \bar no
22392 footnote
22393 \family default
22394 \series default
22395 \bar default
22396 , or press the Delete key when the cursor is in the very last position of
22397  the 
22398 \family roman
22399 \series medium
22400 \bar no
22401 footnote
22402 \family default
22403 \series default
22404 \bar default
22405 , respectively.
22406 \end_layout
22407
22408 \begin_layout Standard
22409 Here is an example footnote:
22410 \family roman
22411 \series medium
22412 \bar no
22413
22414 \begin_inset Foot
22415 status open
22416
22417 \begin_layout Standard
22418 \begin_inset LatexCommand label
22419 name "foot:This-is-an"
22420
22421 \end_inset
22422
22423 This is an example footnote.
22424 \end_layout
22425
22426 \end_inset
22427
22428
22429 \family default
22430 \series default
22431 \bar default
22432
22433 \begin_inset ERT
22434 status collapsed
22435
22436 \begin_layout Standard
22437
22438
22439 \backslash
22440 newcounter{MyRepeatFoot}
22441 \end_layout
22442
22443 \begin_layout Standard
22444
22445
22446 \backslash
22447 setcounter{MyRepeatFoot}{
22448 \backslash
22449 thefootnote}
22450 \end_layout
22451
22452 \end_inset
22453
22454
22455 \end_layout
22456
22457 \begin_layout Standard
22458 The footnote will appear in the output as a superscript number at the text
22459  position where the footnote box is placed.
22460  The footnote text is placed at the bottom of the current page.
22461  The footnote number is calculated by LaTeX, the numbers are consecutive.
22462  It depends on your document-class, if the footnote number is reset for
22463  every chapter.
22464 \end_layout
22465
22466 \begin_layout Standard
22467 Footnotes can be referenced like floats: Insert a label into the footnote
22468  and cross-reference this label in the text as described in section\InsetSpace ~
22469
22470 \begin_inset LatexCommand ref
22471 reference "sec:Referencing-Floats"
22472
22473 \end_inset
22474
22475 .
22476 \newline
22477 This is a cross-reference of Footnote\InsetSpace ~
22478
22479 \begin_inset LatexCommand ref
22480 reference "foot:This-is-an"
22481
22482 \end_inset
22483
22484 .
22485 \end_layout
22486
22487 \begin_layout Standard
22488 \begin_inset VSpace defskip
22489 \end_inset
22490
22491 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22492
22493 \begin_inset LatexCommand ref
22494 reference "sec:Minipages"
22495
22496 \end_inset
22497
22498 .
22499  Footnotes within longtables are described in section\InsetSpace ~
22500
22501 \begin_inset LatexCommand ref
22502 reference "sub:Footnotes-in-Longtables"
22503
22504 \end_inset
22505
22506 .
22507 \end_layout
22508
22509 \begin_layout Standard
22510 \begin_inset VSpace defskip
22511 \end_inset
22512
22513 To create only a mark for a footnote, use the command 
22514 \series bold
22515
22516 \backslash
22517 footnotemark[number]
22518 \series default
22519  in TeX-Code.
22520  This is used when you have the same annotation several times in a text
22521  but doesn't want to print the footnote text every time.
22522 \newline
22523 As you don't know
22524  the number of the repeating footnote while you are writing the text, you
22525  have to store its number.
22526  For the following footnote mark example, these commands were inserted in
22527  TeX-Code behind Footnote\InsetSpace ~
22528
22529 \begin_inset LatexCommand ref
22530 reference "foot:This-is-an"
22531
22532 \end_inset
22533
22534  to store the footnote number:
22535 \end_layout
22536
22537 \begin_layout Standard
22538
22539 \series bold
22540
22541 \backslash
22542 newcounter{MyRepeatFoot}
22543 \newline
22544
22545 \backslash
22546 setcounter{MyRepeatFoot}{
22547 \backslash
22548 thefootnote}
22549 \end_layout
22550
22551 \begin_layout Standard
22552 The footnote mark was then created with this command:
22553 \end_layout
22554
22555 \begin_layout Standard
22556
22557 \series bold
22558
22559 \backslash
22560 footnotemark[
22561 \backslash
22562 theMyRepeatFoot]
22563 \end_layout
22564
22565 \begin_layout Standard
22566 Here is an example footnote mark:
22567 \family roman
22568 \series medium
22569 \bar no
22570
22571 \begin_inset ERT
22572 status collapsed
22573
22574 \begin_layout Standard
22575
22576
22577 \backslash
22578 footnotemark[
22579 \backslash
22580 theMyRepeatFoot]
22581 \end_layout
22582
22583 \end_inset
22584
22585
22586 \end_layout
22587
22588 \begin_layout Subsection
22589 Footnote Numbering
22590 \begin_inset LatexCommand label
22591 name "sub:Footnote-Numbering"
22592
22593 \end_inset
22594
22595
22596 \begin_inset LatexCommand index
22597 name "Footnotes ! Numbering"
22598
22599 \end_inset
22600
22601
22602 \end_layout
22603
22604 \begin_layout Standard
22605 To reset the footnote number back to 1 after each section
22606 \family roman
22607 , add this command to your document preamble:
22608 \end_layout
22609
22610 \begin_layout Standard
22611
22612 \series bold
22613
22614 \backslash
22615 @addtoreset{footnote}{section}
22616 \end_layout
22617
22618 \begin_layout Standard
22619 \begin_inset VSpace bigskip
22620 \end_inset
22621
22622 The following preamble command changes the footnote numbering style to small
22623  roman numerals:
22624 \end_layout
22625
22626 \begin_layout Standard
22627
22628 \series bold
22629
22630 \backslash
22631 renewcommand{
22632 \backslash
22633 thefootnote}{
22634 \backslash
22635 roman{footnote}}
22636 \end_layout
22637
22638 \begin_layout Standard
22639 \begin_inset ERT
22640 status collapsed
22641
22642 \begin_layout Standard
22643
22644
22645 \backslash
22646 renewcommand{
22647 \backslash
22648 thefootnote}{
22649 \backslash
22650 roman{footnote}}
22651 \end_layout
22652
22653 \end_inset
22654
22655  This is a footnote with roman numbering:
22656 \begin_inset Foot
22657 status open
22658
22659 \begin_layout Standard
22660 This is an example footnote with roman numbering.
22661 \end_layout
22662
22663 \end_inset
22664
22665
22666 \end_layout
22667
22668 \begin_layout Standard
22669 To change the numbering style to capital roman numerals replace in the command
22670  above 
22671 \series bold
22672
22673 \backslash
22674 roman
22675 \series default
22676  by 
22677 \series bold
22678
22679 \backslash
22680 Roman
22681 \series default
22682 .
22683  To 
22684 \begin_inset Quotes eld
22685 \end_inset
22686
22687 number
22688 \begin_inset Quotes erd
22689 \end_inset
22690
22691  footnotes with capital or small Latin letters use 
22692 \series bold
22693
22694 \backslash
22695 Alph
22696 \series default
22697  or 
22698 \series bold
22699
22700 \backslash
22701 alph
22702 \series default
22703 , respectively.
22704  To 
22705 \begin_inset Quotes eld
22706 \end_inset
22707
22708 number
22709 \begin_inset Quotes erd
22710 \end_inset
22711
22712  footnotes with symbols use 
22713 \series bold
22714
22715 \backslash
22716 fnsymbol
22717 \series default
22718 .
22719 \end_layout
22720
22721 \begin_layout Standard
22722 \begin_inset Note Greyedout
22723 status open
22724
22725 \begin_layout Standard
22726
22727 \series bold
22728 Note:
22729 \series default
22730  You can only number 26 footnotes with Latin letters, because this numbering
22731  is limited to single letters.
22732 \end_layout
22733
22734 \end_inset
22735
22736
22737 \newline
22738
22739 \begin_inset Note Greyedout
22740 status open
22741
22742 \begin_layout Standard
22743
22744 \series bold
22745 Note:
22746 \series default
22747  You can only number 9 footnotes with symbols.
22748 \end_layout
22749
22750 \end_inset
22751
22752
22753 \end_layout
22754
22755 \begin_layout Standard
22756 To return to the default numbering style when you changed to another one,
22757  use 
22758 \series bold
22759
22760 \backslash
22761 arabic
22762 \series default
22763  instead of 
22764 \series bold
22765
22766 \backslash
22767 roman
22768 \series default
22769  in the command above.
22770 \begin_inset ERT
22771 status collapsed
22772
22773 \begin_layout Standard
22774
22775
22776 \backslash
22777 renewcommand{
22778 \backslash
22779 thefootnote}{
22780 \backslash
22781 arabic{footnote}}
22782 \end_layout
22783
22784 \end_inset
22785
22786
22787 \end_layout
22788
22789 \begin_layout Standard
22790 \begin_inset VSpace bigskip
22791 \end_inset
22792
22793
22794 \end_layout
22795
22796 \begin_layout Standard
22797 If you want to have footnotes numbered in the scheme 
22798 \begin_inset Quotes eld
22799 \end_inset
22800
22801 chapter.footnote
22802 \begin_inset Quotes erd
22803 \end_inset
22804
22805 , add the following command to your document preamble:
22806 \end_layout
22807
22808 \begin_layout Standard
22809
22810 \series bold
22811
22812 \backslash
22813 numberwithin{footnote}{chapter}
22814 \end_layout
22815
22816 \begin_layout Standard
22817 To be able to use the command 
22818 \series bold
22819
22820 \backslash
22821 numberwithin
22822 \series default
22823 , set in the tab 
22824 \family sans
22825 Math\InsetSpace ~
22826 Options
22827 \family default
22828  in the document settings the option 
22829 \family sans
22830 Use\InsetSpace ~
22831 AMS\InsetSpace ~
22832 math\InsetSpace ~
22833 package
22834 \family default
22835 .
22836 \end_layout
22837
22838 \begin_layout Standard
22839 \begin_inset ERT
22840 status collapsed
22841
22842 \begin_layout Standard
22843
22844
22845 \backslash
22846 numberwithin{footnote}{chapter}
22847 \end_layout
22848
22849 \end_inset
22850
22851 This is another example footnote:
22852 \series bold
22853
22854 \begin_inset Foot
22855 status open
22856
22857 \begin_layout Standard
22858 This is a footnote numbered in the scheme 
22859 \begin_inset Quotes eld
22860 \end_inset
22861
22862 chapter.footnote
22863 \begin_inset Quotes erd
22864 \end_inset
22865
22866 .
22867 \end_layout
22868
22869 \end_inset
22870
22871
22872 \series default
22873
22874 \begin_inset ERT
22875 status collapsed
22876
22877 \begin_layout Standard
22878
22879
22880 \backslash
22881 renewcommand{
22882 \backslash
22883 thefootnote}{
22884 \backslash
22885 arabic{footnote}}
22886 \end_layout
22887
22888 \end_inset
22889
22890
22891 \end_layout
22892
22893 \begin_layout Standard
22894 \begin_inset Note Greyedout
22895 status open
22896
22897 \begin_layout Standard
22898
22899 \series bold
22900 Note:
22901 \series default
22902  
22903 \series bold
22904
22905 \backslash
22906 numberwithin
22907 \series default
22908  always prints out the footnote number as arabic number; previous redefinitions
22909  to get non-arabic numbers are overwritten.
22910 \end_layout
22911
22912 \end_inset
22913
22914
22915 \end_layout
22916
22917 \begin_layout Standard
22918 So to get for example the scheme 
22919 \begin_inset Quotes eld
22920 \end_inset
22921
22922 chapter.
22923 \backslash
22924 Roman{footnote}
22925 \begin_inset Quotes erd
22926 \end_inset
22927
22928 , use this command instead of 
22929 \series bold
22930
22931 \backslash
22932 numberwithin
22933 \series default
22934 :
22935 \end_layout
22936
22937 \begin_layout Standard
22938
22939 \series bold
22940
22941 \backslash
22942 renewcommand{
22943 \backslash
22944 thefootnote}{
22945 \backslash
22946 thechapter.
22947 \backslash
22948 Roman{footnote}}
22949 \end_layout
22950
22951 \begin_layout Subsection
22952 Footnote Placement
22953 \begin_inset LatexCommand index
22954 name "Footnotes ! Placement"
22955
22956 \end_inset
22957
22958
22959 \end_layout
22960
22961 \begin_layout Standard
22962 If you have several footnotes in one page, they appear without vertical
22963  space between them at the bottom of the page.
22964  To make them better readable you can e.\InsetSpace \thinspace{}
22965 g.\InsetSpace ~
22966 add 1.5\InsetSpace \thinspace{}
22967 mm space with the following
22968  preamble command:
22969 \end_layout
22970
22971 \begin_layout Standard
22972
22973 \series bold
22974
22975 \backslash
22976 let
22977 \backslash
22978 myFoot
22979 \backslash
22980 footnote
22981 \newline
22982
22983 \backslash
22984 renewcommand{
22985 \backslash
22986 footnote}[1]{
22987 \backslash
22988 myFoot{#1
22989 \backslash
22990 vspace{1.5mm}}}
22991 \end_layout
22992
22993 \begin_layout Standard
22994 \begin_inset VSpace bigskip
22995 \end_inset
22996
22997 In a two-column document the footnotes appear at the bottom of every column,
22998  see Figure\InsetSpace ~
22999
23000 \begin_inset LatexCommand ref
23001 reference "fig:Standard-footnote-placement"
23002
23003 \end_inset
23004
23005 .
23006  If the footnotes should only appear at the bottom of the right column,
23007  as in Figure\InsetSpace ~
23008
23009 \begin_inset LatexCommand ref
23010 reference "fig:Footnote-placement-in"
23011
23012 \end_inset
23013
23014 , use the LaTeX-package 
23015 \series bold
23016 ftnright
23017 \series default
23018
23019 \begin_inset LatexCommand index
23020 name "LaTeX-packages ! ftnright"
23021
23022 \end_inset
23023
23024  with this command in the document preamble:
23025 \end_layout
23026
23027 \begin_layout Standard
23028
23029 \series bold
23030
23031 \backslash
23032 usepackage{ftnright}
23033 \end_layout
23034
23035 \begin_layout Standard
23036 \begin_inset Float figure
23037 placement !h
23038 wide false
23039 sideways false
23040 status open
23041
23042 \begin_layout Standard
23043 \begin_inset ERT
23044 status collapsed
23045
23046 \begin_layout Standard
23047
23048
23049 \backslash
23050 framebox{
23051 \end_layout
23052
23053 \end_inset
23054
23055
23056 \begin_inset Graphics
23057         filename clipart/without_fntright.pdf
23058         width 100col%
23059         scaleBeforeRotation
23060
23061 \end_inset
23062
23063
23064 \begin_inset ERT
23065 status collapsed
23066
23067 \begin_layout Standard
23068
23069 }
23070 \end_layout
23071
23072 \end_inset
23073
23074
23075 \end_layout
23076
23077 \begin_layout Standard
23078 \begin_inset Caption
23079
23080 \begin_layout Standard
23081 \begin_inset LatexCommand label
23082 name "fig:Standard-footnote-placement"
23083
23084 \end_inset
23085
23086 Standard footnote placement in two-column documents.
23087 \end_layout
23088
23089 \end_inset
23090
23091
23092 \end_layout
23093
23094 \end_inset
23095
23096
23097 \end_layout
23098
23099 \begin_layout Standard
23100 \begin_inset Float figure
23101 placement !h
23102 wide false
23103 sideways false
23104 status open
23105
23106 \begin_layout Standard
23107 \begin_inset ERT
23108 status collapsed
23109
23110 \begin_layout Standard
23111
23112
23113 \backslash
23114 framebox{
23115 \end_layout
23116
23117 \end_inset
23118
23119
23120 \begin_inset Graphics
23121         filename clipart/with_fntright.pdf
23122         width 100col%
23123         scaleBeforeRotation
23124
23125 \end_inset
23126
23127
23128 \begin_inset ERT
23129 status collapsed
23130
23131 \begin_layout Standard
23132
23133 }
23134 \end_layout
23135
23136 \end_inset
23137
23138
23139 \end_layout
23140
23141 \begin_layout Standard
23142 \begin_inset Caption
23143
23144 \begin_layout Standard
23145 \begin_inset LatexCommand label
23146 name "fig:Footnote-placement-in"
23147
23148 \end_inset
23149
23150 Footnote placement in two-column documents when the LaTeX-package 
23151 \series bold
23152 ftnright
23153 \series default
23154  is used.
23155 \end_layout
23156
23157 \end_inset
23158
23159
23160 \end_layout
23161
23162 \end_inset
23163
23164
23165 \end_layout
23166
23167 \begin_layout Standard
23168 \begin_inset VSpace bigskip
23169 \end_inset
23170
23171 In some scientific literature it is usual to collect the footnotes and print
23172  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23173
23174 \begin_inset LatexCommand ref
23175 reference "fig:Endnotes----footnotes"
23176
23177 \end_inset
23178
23179 .
23180  They are then so called 
23181 \begin_inset Quotes eld
23182 \end_inset
23183
23184 endnotes
23185 \begin_inset Quotes erd
23186 \end_inset
23187
23188 .
23189  To use endnotes instead of footnotes in your document, load the LaTeX-package
23190  
23191 \series bold
23192 endnotes
23193 \series default
23194
23195 \begin_inset LatexCommand index
23196 name "LaTeX-packages ! endnotes"
23197
23198 \end_inset
23199
23200  with the document preamble lines
23201 \end_layout
23202
23203 \begin_layout Standard
23204
23205 \series bold
23206
23207 \backslash
23208 usepackage{endnotes}
23209 \newline
23210
23211 \backslash
23212 let
23213 \backslash
23214 footnote
23215 \backslash
23216 endnote
23217 \end_layout
23218
23219 \begin_layout Standard
23220 To insert the collected footnotes, insert the command
23221 \end_layout
23222
23223 \begin_layout Standard
23224
23225 \series bold
23226
23227 \backslash
23228 theendnotes
23229 \end_layout
23230
23231 \begin_layout Standard
23232 in TeX-Code at the the end of a section or chapter.
23233 \end_layout
23234
23235 \begin_layout Standard
23236 \begin_inset Float figure
23237 wide false
23238 sideways false
23239 status open
23240
23241 \begin_layout Standard
23242 \align center
23243 \begin_inset ERT
23244 status collapsed
23245
23246 \begin_layout Standard
23247
23248
23249 \backslash
23250 framebox{
23251 \end_layout
23252
23253 \end_inset
23254
23255
23256 \begin_inset Graphics
23257         filename clipart/endnotes.pdf
23258         scaleBeforeRotation
23259
23260 \end_inset
23261
23262
23263 \begin_inset ERT
23264 status collapsed
23265
23266 \begin_layout Standard
23267
23268 }
23269 \end_layout
23270
23271 \end_inset
23272
23273
23274 \end_layout
23275
23276 \begin_layout Standard
23277 \begin_inset Caption
23278
23279 \begin_layout Standard
23280 \begin_inset LatexCommand label
23281 name "fig:Endnotes----footnotes"
23282
23283 \end_inset
23284
23285 Endnotes -- footnotes are printed in a separate paragraph at the end of
23286  sections or chapters.
23287 \end_layout
23288
23289 \end_inset
23290
23291
23292 \end_layout
23293
23294 \end_inset
23295
23296
23297 \end_layout
23298
23299 \begin_layout Standard
23300 \begin_inset VSpace medskip
23301 \end_inset
23302
23303 The paragraph heading for the endnotes isn't automatically translated into
23304  the document language, this must be done manually.
23305  The following preamble command translate the default English name 
23306 \begin_inset Quotes eld
23307 \end_inset
23308
23309 Notes
23310 \begin_inset Quotes erd
23311 \end_inset
23312
23313  to the German translation 
23314 \begin_inset Quotes eld
23315 \end_inset
23316
23317 Anmerkungen
23318 \begin_inset Quotes erd
23319 \end_inset
23320
23321 :
23322 \end_layout
23323
23324 \begin_layout Standard
23325
23326 \series bold
23327
23328 \backslash
23329 renewcommand{
23330 \backslash
23331 notesname}{Anmerkungen}
23332 \end_layout
23333
23334 \begin_layout Standard
23335 \begin_inset VSpace medskip
23336 \end_inset
23337
23338 The numbering of endnotes can be changed like the footnote numbering as
23339  described in section\InsetSpace ~
23340
23341 \begin_inset LatexCommand ref
23342 reference "sub:Footnote-Numbering"
23343
23344 \end_inset
23345
23346 ; just replace the command 
23347 \series bold
23348
23349 \backslash
23350 thefootnote
23351 \series default
23352  by 
23353 \series bold
23354
23355 \backslash
23356 theendnote
23357 \series default
23358 .
23359  To reset the endnote number use the command 
23360 \series bold
23361
23362 \backslash
23363 @addtoreset
23364 \series default
23365  as described in section\InsetSpace ~
23366
23367 \begin_inset LatexCommand ref
23368 reference "sub:Footnote-Numbering"
23369
23370 \end_inset
23371
23372  and replace the command parameter 
23373 \series bold
23374 footnote
23375 \series default
23376  by 
23377 \series bold
23378 endnote
23379 \series default
23380 .
23381 \end_layout
23382
23383 \begin_layout Standard
23384 To create only a mark for an endnote, use the command 
23385 \series bold
23386
23387 \backslash
23388 endnotemark[number]
23389 \series default
23390  similar to the command 
23391 \series bold
23392
23393 \backslash
23394 footnotemark
23395 \series default
23396 , described in section\InsetSpace ~
23397
23398 \begin_inset LatexCommand ref
23399 reference "sec:Footnotes"
23400
23401 \end_inset
23402
23403 .
23404 \end_layout
23405
23406 \begin_layout Standard
23407 \begin_inset VSpace bigskip
23408 \end_inset
23409
23410 Footnotes can also be placed in the page margin and the footnote text alignment
23411  can be changed, see the LaTeX-package 
23412 \series bold
23413 footmisc
23414 \series default
23415
23416 \begin_inset LatexCommand index
23417 name "LaTeX-packages ! footmisc"
23418
23419 \end_inset
23420
23421
23422 \begin_inset LatexCommand cite
23423 key "footmisc"
23424
23425 \end_inset
23426
23427  for more information about this.
23428 \end_layout
23429
23430 \begin_layout Standard
23431 For various further footnote formatting issues have a look at LaTeX-books,
23432  
23433 \begin_inset LatexCommand cite
23434 key "latexcompanion,latexguide,latexbook"
23435
23436 \end_inset
23437
23438 .
23439 \end_layout
23440
23441 \begin_layout Section
23442 Margin Notes
23443 \begin_inset LatexCommand index
23444 name "Notes ! Margin Notes"
23445
23446 \end_inset
23447
23448
23449 \end_layout
23450
23451 \begin_layout Standard
23452 Margin notes look and behave in LyX like footnotes.
23453  They are inserted via the menu 
23454 \family sans
23455 Insert\SpecialChar \menuseparator
23456 Marginal\InsetSpace ~
23457 Note
23458 \family default
23459  or the toolbar button 
23460 \begin_inset Graphics
23461         filename ../images/marginalnote-insert.png
23462         scale 85
23463         scaleBeforeRotation
23464
23465 \end_inset
23466
23467 .
23468  A grey 
23469 \family roman
23470 \series medium
23471 box with the
23472 \family default
23473 \series default
23474  red 
23475 \family roman
23476 \series medium
23477 label 
23478 \begin_inset Quotes eld
23479 \end_inset
23480
23481 margin
23482 \begin_inset Quotes erd
23483 \end_inset
23484
23485  appears where you can enter the text of the margin note.
23486 \end_layout
23487
23488 \begin_layout Standard
23489 At the side is an example margin note.
23490 \family roman
23491 \series medium
23492
23493 \begin_inset Marginal
23494 status open
23495
23496 \begin_layout Standard
23497 This is a margin note.
23498 \end_layout
23499
23500 \end_inset
23501
23502
23503 \end_layout
23504
23505 \begin_layout Standard
23506 Margin notes appear at the right side in single-sided documents.
23507  In double-sided documents they appear in the outer margin -- left on even
23508  pages, right on odd pages.
23509  The text of margin notes is aligned opposite to the outer margin -- right-align
23510 ed when the note appears in the left margin.
23511  The first line of the margin note is placed at the position of the text
23512  line where it is inserted in the document.
23513 \end_layout
23514
23515 \begin_layout Standard
23516 \begin_inset VSpace bigskip
23517 \end_inset
23518
23519 To place the margin note in the inner margin, add the command
23520 \end_layout
23521
23522 \begin_layout Standard
23523
23524 \series bold
23525
23526 \backslash
23527 reversemarginpar
23528 \end_layout
23529
23530 \begin_layout Standard
23531 in TeX-Code before a margin note.
23532  The new placement is valid for all following margin notes.
23533 \begin_inset ERT
23534 status collapsed
23535
23536 \begin_layout Standard
23537
23538
23539 \backslash
23540 reversemarginpar 
23541 \end_layout
23542
23543 \end_inset
23544
23545
23546 \begin_inset Marginal
23547 status open
23548
23549 \begin_layout Standard
23550 This is a margin note in the inner margin.
23551 \end_layout
23552
23553 \end_inset
23554
23555
23556 \series bold
23557
23558 \newline
23559
23560 \series default
23561
23562 \begin_inset Note Greyedout
23563 status open
23564
23565 \begin_layout Standard
23566
23567 \series bold
23568 Note:
23569 \series default
23570  There is often not enough space in the inner margin so that the notes are
23571  not correctly displayed in the output.
23572 \end_layout
23573
23574 \end_inset
23575
23576
23577 \end_layout
23578
23579 \begin_layout Standard
23580 To return to the default placement insert the command
23581 \end_layout
23582
23583 \begin_layout Standard
23584
23585 \series bold
23586
23587 \backslash
23588 normalmarginpar
23589 \end_layout
23590
23591 \begin_layout Standard
23592 in TeX-Code.
23593 \begin_inset ERT
23594 status collapsed
23595
23596 \begin_layout Standard
23597
23598
23599 \backslash
23600 normalmarginpar 
23601 \end_layout
23602
23603 \end_inset
23604
23605  
23606 \begin_inset Note Greyedout
23607 status open
23608
23609 \begin_layout Standard
23610
23611 \series bold
23612 Note:
23613 \series default
23614  The command is ignored when it is within a paragraph where also the command
23615  
23616 \series bold
23617
23618 \backslash
23619 reversemarginpar
23620 \series default
23621  is inserted.
23622 \end_layout
23623
23624 \end_inset
23625
23626
23627 \end_layout
23628
23629 \begin_layout Standard
23630 \begin_inset VSpace bigskip
23631 \end_inset
23632
23633
23634 \family roman
23635 \series medium
23636
23637 \begin_inset Marginal
23638 status open
23639
23640 \begin_layout Standard
23641 AVeryLongMarginParWord that isn't hyphenated.
23642 \end_layout
23643
23644 \end_inset
23645
23646
23647 \family default
23648 \series default
23649 Similar to the case described in section\InsetSpace ~
23650
23651 \begin_inset LatexCommand ref
23652 reference "sub:Multiple-Lines-in"
23653
23654 \end_inset
23655
23656 , long words cannot be hyphenated when they are the first word in a margin
23657  note.
23658  To avoid this, insert the command
23659 \end_layout
23660
23661 \begin_layout Standard
23662
23663 \series bold
23664
23665 \backslash
23666 hspace{0pt}
23667 \end_layout
23668
23669 \begin_layout Standard
23670 in TeX-Code before the word
23671 \family roman
23672 \series medium
23673 .
23674 \begin_inset Marginal
23675 status open
23676
23677 \begin_layout Standard
23678 \begin_inset ERT
23679 status collapsed
23680
23681 \begin_layout Standard
23682
23683
23684 \backslash
23685 hspace{0pt}
23686 \end_layout
23687
23688 \end_inset
23689
23690 AVeryLongMarginParWord that is hyphenated.
23691 \end_layout
23692
23693 \end_inset
23694
23695
23696 \end_layout
23697
23698 \begin_layout Standard
23699 \begin_inset VSpace bigskip
23700 \end_inset
23701
23702
23703 \end_layout
23704
23705 \begin_layout Standard
23706 \begin_inset Note Greyedout
23707 status open
23708
23709 \begin_layout Standard
23710
23711 \series bold
23712 Note:
23713 \series default
23714  Margin notes can normally not be used inside tables, floats, and footnotes.
23715 \end_layout
23716
23717 \end_inset
23718
23719
23720 \end_layout
23721
23722 \begin_layout Standard
23723 \begin_inset VSpace bigskip
23724 \end_inset
23725
23726
23727 \end_layout
23728
23729 \begin_layout Standard
23730 \begin_inset ERT
23731 status collapsed
23732
23733 \begin_layout Standard
23734
23735
23736 \backslash
23737 ifmarginnote
23738 \end_layout
23739
23740 \end_inset
23741
23742
23743 \begin_inset Note Note
23744 status open
23745
23746 \begin_layout Standard
23747 The following section will only be displayed when the LaTeX-package 
23748 \series bold
23749 marginnote
23750 \series default
23751  is installed.
23752 \end_layout
23753
23754 \end_inset
23755
23756
23757 \end_layout
23758
23759 \begin_layout Standard
23760 This restriction can be evaded by using the LaTeX-package 
23761 \series bold
23762 marginnote
23763 \series default
23764
23765 \begin_inset LatexCommand index
23766 name "LaTeX-packages ! marginnote"
23767
23768 \end_inset
23769
23770 .
23771  By adding these two lines to your document preamble, the command used by
23772  LyX for margin notes is redefined to use the command provided by the 
23773 \series bold
23774 marginnote
23775 \series default
23776 -package:
23777 \end_layout
23778
23779 \begin_layout Standard
23780
23781 \series bold
23782
23783 \backslash
23784 usepackage{marginnote}
23785 \newline
23786
23787 \backslash
23788 let
23789 \backslash
23790 marginpar
23791 \backslash
23792 marginnote
23793 \end_layout
23794
23795 \begin_layout Standard
23796 This is also used in this document because 
23797 \series bold
23798 marginnote
23799 \series default
23800  has another useful feature: You can set a vertical offset for the note.
23801  This is often needed when too many margin notes are too close together
23802  or for a better page layout.
23803  The offset is set in LyX as TeX-Code directly behind the margin note in
23804  the scheme
23805 \end_layout
23806
23807 \begin_layout Standard
23808
23809 \series bold
23810 [offset]
23811 \end_layout
23812
23813 \begin_layout Standard
23814 where the offset is a length with one of the units listed in Table\InsetSpace ~
23815
23816 \begin_inset LatexCommand ref
23817 reference "tab:Units"
23818
23819 \end_inset
23820
23821 .
23822  A negative value shifts the note up, a positive value shifts it down.
23823  
23824 \family roman
23825 \series medium
23826 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23827 cm with
23828  the TeX-Code-command 
23829 \begin_inset Quotes eld
23830 \end_inset
23831
23832
23833 \family default
23834 \series bold
23835 [-1.5cm]
23836 \family roman
23837 \series medium
23838
23839 \begin_inset Quotes erd
23840 \end_inset
23841
23842
23843 \begin_inset Marginal
23844 status open
23845
23846 \begin_layout Standard
23847 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23848 cm from its original position.
23849 \end_layout
23850
23851 \end_inset
23852
23853
23854 \family default
23855 \series default
23856
23857 \begin_inset ERT
23858 status collapsed
23859
23860 \begin_layout Standard
23861
23862 [-1.5cm]
23863 \end_layout
23864
23865 \end_inset
23866
23867
23868 \end_layout
23869
23870 \begin_layout Standard
23871 \begin_inset VSpace medskip
23872 \end_inset
23873
23874 With 
23875 \series bold
23876 marginnote
23877 \series default
23878  you can also change the alignment of the text in the margin note.
23879  For example the commands
23880 \end_layout
23881
23882 \begin_layout Standard
23883
23884 \series bold
23885
23886 \backslash
23887 renewcommand*{
23888 \backslash
23889 raggedleftmarginnote}{
23890 \backslash
23891 centering}
23892 \newline
23893
23894 \backslash
23895 renewcommand*{
23896 \backslash
23897 raggedrightmarginnote}{
23898 \backslash
23899 centering}
23900 \end_layout
23901
23902 \begin_layout Standard
23903 set the alignment to centered.
23904  
23905 \series bold
23906
23907 \backslash
23908 raggedleftmarginnote
23909 \series default
23910  denotes margin notes that appear at the left side.
23911 \family roman
23912 \series medium
23913
23914 \begin_inset ERT
23915 status collapsed
23916
23917 \begin_layout Standard
23918
23919
23920 \backslash
23921 renewcommand*{
23922 \backslash
23923 raggedleftmarginnote}{
23924 \backslash
23925 centering}
23926 \end_layout
23927
23928 \begin_layout Standard
23929
23930
23931 \backslash
23932 renewcommand*{
23933 \backslash
23934 raggedrightmarginnote}{
23935 \backslash
23936 centering}
23937 \end_layout
23938
23939 \end_inset
23940
23941
23942 \begin_inset Marginal
23943 status open
23944
23945 \begin_layout Standard
23946 The text of this margin note is centered.
23947 \end_layout
23948
23949 \end_inset
23950
23951
23952 \family default
23953 \series default
23954  The default is
23955 \end_layout
23956
23957 \begin_layout Standard
23958
23959 \series bold
23960
23961 \backslash
23962 renewcommand*{
23963 \backslash
23964 raggedleftmarginnote}{
23965 \backslash
23966 raggedleft}
23967 \newline
23968
23969 \backslash
23970 renewcommand*{
23971 \backslash
23972 raggedrightmarginnote}{
23973 \backslash
23974 raggedright}
23975 \family roman
23976 \series medium
23977
23978 \begin_inset ERT
23979 status collapsed
23980
23981 \begin_layout Standard
23982
23983
23984 \backslash
23985 renewcommand*{
23986 \backslash
23987 raggedleftmarginnote}{
23988 \backslash
23989 raggedleft}
23990 \end_layout
23991
23992 \begin_layout Standard
23993
23994
23995 \backslash
23996 renewcommand*{
23997 \backslash
23998 raggedrightmarginnote}{
23999 \backslash
24000 raggedright}
24001 \end_layout
24002
24003 \end_inset
24004
24005
24006 \end_layout
24007
24008 \begin_layout Standard
24009 \begin_inset VSpace medskip
24010 \end_inset
24011
24012 For the other features of 
24013 \series bold
24014 marginnote
24015 \series default
24016  we refer to its documentation 
24017 \begin_inset LatexCommand cite
24018 key "marginnote"
24019
24020 \end_inset
24021
24022 .
24023 \end_layout
24024
24025 \begin_layout Standard
24026 \begin_inset VSpace bigskip
24027 \end_inset
24028
24029 You can adjust the layout of margin notes by changing its definition.
24030  To create for example a header for all margin notes with the underlined,
24031  sans-serif, and bold header text 
24032 \begin_inset Quotes eld
24033 \end_inset
24034
24035
24036 \family sans
24037 \series bold
24038 \bar under
24039 Attention!
24040 \family default
24041 \series default
24042 \bar default
24043
24044 \begin_inset Quotes erd
24045 \end_inset
24046
24047 , add this to your document preamble:
24048 \end_layout
24049
24050 \begin_layout Standard
24051
24052 \series bold
24053
24054 \backslash
24055 let
24056 \backslash
24057 myMarginpar
24058 \backslash
24059 marginpar
24060 \newline
24061
24062 \backslash
24063 renewcommand{
24064 \backslash
24065 marginpar}[1]{
24066 \backslash
24067 myMarginpar{%
24068 \newline
24069
24070 \begin_inset ERT
24071 status collapsed
24072
24073 \begin_layout Standard
24074
24075
24076 \backslash
24077 hphantom{ }
24078 \end_layout
24079
24080 \end_inset
24081
24082
24083 \backslash
24084 hspace{0pt}
24085 \backslash
24086 textsf{
24087 \backslash
24088 textbf{
24089 \backslash
24090 underbar{Attention!}}}%
24091 \newline
24092
24093 \begin_inset ERT
24094 status collapsed
24095
24096 \begin_layout Standard
24097
24098
24099 \backslash
24100 hphantom{ }
24101 \end_layout
24102
24103 \end_inset
24104
24105
24106 \backslash
24107 vspace{1.5mm}
24108 \backslash
24109
24110 \backslash
24111 #1}}
24112 \end_layout
24113
24114 \begin_layout Standard
24115
24116 \family roman
24117 \series medium
24118 \begin_inset ERT
24119 status collapsed
24120
24121 \begin_layout Standard
24122
24123
24124 \backslash
24125 let
24126 \backslash
24127 myMarginpar
24128 \backslash
24129 marginpar
24130 \end_layout
24131
24132 \begin_layout Standard
24133
24134
24135 \backslash
24136 renewcommand{
24137 \backslash
24138 marginpar}[1]{
24139 \backslash
24140 myMarginpar{%
24141 \end_layout
24142
24143 \begin_layout Standard
24144
24145    
24146 \backslash
24147 textsf{
24148 \backslash
24149 textbf{
24150 \backslash
24151 underbar{Attention!}}}%
24152 \end_layout
24153
24154 \begin_layout Standard
24155
24156    
24157 \backslash
24158 vspace{1.5mm}
24159 \backslash
24160
24161 \backslash
24162 #1}}
24163 \end_layout
24164
24165 \end_inset
24166
24167
24168 \begin_inset Marginal
24169 status open
24170
24171 \begin_layout Standard
24172 This is a margin note with a defined heading.
24173 \end_layout
24174
24175 \end_inset
24176
24177
24178 \family default
24179 \series default
24180
24181 \begin_inset ERT
24182 status collapsed
24183
24184 \begin_layout Standard
24185
24186 [-1.5cm]
24187 \end_layout
24188
24189 \end_inset
24190
24191
24192 \family roman
24193 \series medium
24194
24195 \begin_inset ERT
24196 status collapsed
24197
24198 \begin_layout Standard
24199
24200
24201 \backslash
24202 renewcommand{
24203 \backslash
24204 marginpar}[1]{
24205 \backslash
24206 myMarginpar{#1}}
24207 \end_layout
24208
24209 \end_inset
24210
24211
24212 \family default
24213 \series default
24214
24215 \begin_inset Note Note
24216 status collapsed
24217
24218 \begin_layout Standard
24219 The margin note format is changed only for this example.
24220 \end_layout
24221
24222 \end_inset
24223
24224
24225 \end_layout
24226
24227 \begin_layout Standard
24228 \begin_inset ERT
24229 status collapsed
24230
24231 \begin_layout Standard
24232
24233
24234 \backslash
24235 else
24236 \end_layout
24237
24238 \end_inset
24239
24240
24241 \begin_inset Note Note
24242 status open
24243
24244 \begin_layout Standard
24245 The following will be displayed when the LaTeX-package 
24246 \series bold
24247 marginnote
24248 \series default
24249  is not installed:
24250 \end_layout
24251
24252 \end_inset
24253
24254
24255 \end_layout
24256
24257 \begin_layout Standard
24258 You need to install the LaTeX-package 
24259 \series bold
24260 marginnote
24261 \series default
24262  to see the following part of this section in the output.
24263 \end_layout
24264
24265 \begin_layout Standard
24266 \begin_inset ERT
24267 status collapsed
24268
24269 \begin_layout Standard
24270
24271
24272 \backslash
24273 fi
24274 \end_layout
24275
24276 \end_inset
24277
24278
24279 \end_layout
24280
24281 \begin_layout Chapter
24282 Boxes
24283 \end_layout
24284
24285 \begin_layout Section
24286 Introduction
24287 \begin_inset LatexCommand index
24288 name "Boxes ! Introduction"
24289
24290 \end_inset
24291
24292
24293 \end_layout
24294
24295 \begin_layout Standard
24296 Boxes are used to format a block of text.
24297  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24298
24299 \begin_inset LatexCommand ref
24300 reference "sec:Minipages"
24301
24302 \end_inset
24303
24304 , to frame texts, see section\InsetSpace ~
24305
24306 \begin_inset LatexCommand ref
24307 reference "sec:Framed-Boxes"
24308
24309 \end_inset
24310
24311 , to prevent words to be hyphenated, see section\InsetSpace ~
24312
24313 \begin_inset LatexCommand ref
24314 reference "sec:Prevent-Hyphenation"
24315
24316 \end_inset
24317
24318 , to align text, see section\InsetSpace ~
24319
24320 \begin_inset LatexCommand ref
24321 reference "sub:Vertical-Alignment"
24322
24323 \end_inset
24324
24325 , or to set the background color of texts, see section\InsetSpace ~
24326
24327 \begin_inset LatexCommand ref
24328 reference "sec:Colored-Boxes"
24329
24330 \end_inset
24331
24332 .
24333 \end_layout
24334
24335 \begin_layout Standard
24336 Boxes can be inserted with the menu 
24337 \family sans
24338 Insert\SpecialChar \menuseparator
24339 Box
24340 \family default
24341 .
24342  A grey box with the label 
24343 \family sans
24344 Box (Minipage)
24345 \family default
24346
24347 \begin_inset Graphics
24348         filename clipart/BoxInsetDefaultQt4.png
24349         scale 85
24350         scaleBeforeRotation
24351
24352 \end_inset
24353
24354 , will be inserted.
24355  The box type can be specified by right-clicking on the box.
24356  The appearing box dialog offers the 
24357 \family sans
24358 Inner\InsetSpace ~
24359 Box
24360 \family default
24361  types 
24362 \family sans
24363 Parbox
24364 \family default
24365  and 
24366 \family sans
24367 Minipage
24368 \family default
24369 .
24370  The type 
24371 \family sans
24372 Minipage
24373 \family default
24374  is the default for new boxes and is explained in section\InsetSpace ~
24375
24376 \begin_inset LatexCommand ref
24377 reference "sec:Minipages"
24378
24379 \end_inset
24380
24381 ; the type 
24382 \family sans
24383 Parbox
24384 \family default
24385  is described in section\InsetSpace ~
24386
24387 \begin_inset LatexCommand ref
24388 reference "sec:Parboxes"
24389
24390 \end_inset
24391
24392 .
24393 \end_layout
24394
24395 \begin_layout Standard
24396 Boxes aren't numbered and can therefore not be referenced like floats or
24397  footnotes.
24398 \end_layout
24399
24400 \begin_layout Standard
24401 \begin_inset Note Greyedout
24402 status open
24403
24404 \begin_layout Standard
24405
24406 \series bold
24407 Note:
24408 \series default
24409  Due to a bug in LyX you have to insert a protected space behind a box when
24410  you want to separate in a line the box from the following text with a space.
24411 \end_layout
24412
24413 \end_inset
24414
24415
24416 \end_layout
24417
24418 \begin_layout Standard
24419 \begin_inset Note Greyedout
24420 status open
24421
24422 \begin_layout Standard
24423
24424 \series bold
24425 Note:
24426 \series default
24427  Boxes must not be the item in an 
24428 \family sans
24429 Itemize
24430 \family default
24431  or 
24432 \family sans
24433 Description
24434 \family default
24435  environment.
24436 \end_layout
24437
24438 \end_inset
24439
24440
24441 \end_layout
24442
24443 \begin_layout Standard
24444 \begin_inset Note Greyedout
24445 status open
24446
24447 \begin_layout Standard
24448
24449 \series bold
24450 Note:
24451 \series default
24452  For an unknown reason you can only set the 
24453 \family sans
24454 Inner\InsetSpace ~
24455 Box
24456 \family default
24457  type to 
24458 \family sans
24459 None
24460 \family default
24461  when you use a framed box.
24462  Boxes without an 
24463 \family sans
24464 Inner\InsetSpace ~
24465 Box
24466 \family default
24467  type and without frames are explained in section\InsetSpace ~
24468
24469 \begin_inset LatexCommand ref
24470 reference "sec:Prevent-Hyphenation"
24471
24472 \end_inset
24473
24474 .
24475 \end_layout
24476
24477 \end_inset
24478
24479
24480 \end_layout
24481
24482 \begin_layout Section
24483 Box Dialog
24484 \begin_inset LatexCommand label
24485 name "sec:Box-Dialog"
24486
24487 \end_inset
24488
24489
24490 \begin_inset LatexCommand index
24491 name "Boxes ! Box Dialog"
24492
24493 \end_inset
24494
24495
24496 \begin_inset LatexCommand index
24497 name "Boxes ! Alignment"
24498
24499 \end_inset
24500
24501
24502 \end_layout
24503
24504 \begin_layout Standard
24505 In the box dialog you can adjust the box geometry in the fields 
24506 \family sans
24507 Width
24508 \family default
24509  and 
24510 \family sans
24511 Height
24512 \family default
24513 .
24514  The available units for the geometry are explained in Table\InsetSpace ~
24515
24516 \begin_inset LatexCommand ref
24517 reference "tab:Units"
24518
24519 \end_inset
24520
24521 .
24522  The field 
24523 \family sans
24524 Heigth
24525 \family default
24526  offers the following additional sizes:
24527 \end_layout
24528
24529 \begin_layout Description
24530 Depth This is the plain text 
24531 \begin_inset Quotes eld
24532 \end_inset
24533
24534 height
24535 \begin_inset Quotes erd
24536 \end_inset
24537
24538 .
24539  It ignores the total depth when there are multiple text lines in the box:
24540 \newline
24541
24542 \newline
24543
24544 \newline
24545
24546 \begin_inset Box Boxed
24547 position "c"
24548 hor_pos "c"
24549 has_inner_box 1
24550 inner_pos "c"
24551 use_parbox 0
24552 width "12col%"
24553 special "none"
24554 height "1in"
24555 height_special "depth"
24556 status collapsed
24557
24558 \begin_layout Standard
24559 \align center
24560 Box height set to 1\InsetSpace \thinspace{}
24561 Depth
24562 \end_layout
24563
24564 \end_inset
24565
24566
24567 \newline
24568
24569 \newline
24570
24571 \end_layout
24572
24573 \begin_layout Description
24574 Height This is the heigth of the text that is inside the box.
24575  A value of e.\InsetSpace \thinspace{}
24576 g.\InsetSpace ~
24577 2 for this size will set the box heigth to 2 times the text
24578  height: 
24579 \begin_inset Box Boxed
24580 position "c"
24581 hor_pos "c"
24582 has_inner_box 1
24583 inner_pos "c"
24584 use_parbox 0
24585 width "20col%"
24586 special "none"
24587 height "2in"
24588 height_special "height"
24589 status collapsed
24590
24591 \begin_layout Standard
24592 \align center
24593 Box height set to 2\InsetSpace \thinspace{}
24594 Height
24595 \end_layout
24596
24597 \end_inset
24598
24599
24600 \end_layout
24601
24602 \begin_layout Description
24603 Total\InsetSpace ~
24604 Height This is the Height\InsetSpace \thinspace{}
24605 +\InsetSpace \thinspace{}
24606 Depth: 
24607 \begin_inset Box Boxed
24608 position "c"
24609 hor_pos "c"
24610 has_inner_box 1
24611 inner_pos "c"
24612 use_parbox 0
24613 width "20col%"
24614 special "none"
24615 height "1in"
24616 height_special "totalheight"
24617 status collapsed
24618
24619 \begin_layout Standard
24620 \align center
24621 Box height set to 1\InsetSpace \thinspace{}
24622 Total\InsetSpace ~
24623 Height
24624 \end_layout
24625
24626 \end_inset
24627
24628
24629 \end_layout
24630
24631 \begin_layout Description
24632 Width This sets the width of the box as heigth: 
24633 \begin_inset Box Boxed
24634 position "c"
24635 hor_pos "c"
24636 has_inner_box 1
24637 inner_pos "c"
24638 use_parbox 0
24639 width "12col%"
24640 special "none"
24641 height "1in"
24642 height_special "width"
24643 status collapsed
24644
24645 \begin_layout Standard
24646 \align center
24647 Box height set to 1\InsetSpace \thinspace{}
24648 Width
24649 \end_layout
24650
24651 \end_inset
24652
24653
24654 \end_layout
24655
24656 \begin_layout Standard
24657 \begin_inset VSpace bigskip
24658 \end_inset
24659
24660 When you have chosen an 
24661 \family sans
24662 Inner\InsetSpace ~
24663 Box
24664 \family default
24665 , the vertical box alignment can be:
24666 \end_layout
24667
24668 \begin_layout Description
24669 Top This is an example text line.
24670  
24671 \begin_inset Box Boxed
24672 position "t"
24673 hor_pos "c"
24674 has_inner_box 1
24675 inner_pos "c"
24676 use_parbox 0
24677 width "12col%"
24678 special "none"
24679 height "1in"
24680 height_special "totalheight"
24681 status collapsed
24682
24683 \begin_layout Standard
24684 \align center
24685 This box is top-aligned.
24686 \end_layout
24687
24688 \end_inset
24689
24690 \InsetSpace ~
24691 This is an example text line.
24692 \end_layout
24693
24694 \begin_layout Description
24695 Middle This is an example text line.
24696  
24697 \begin_inset Box Boxed
24698 position "c"
24699 hor_pos "c"
24700 has_inner_box 1
24701 inner_pos "c"
24702 use_parbox 0
24703 width "12col%"
24704 special "none"
24705 height "1in"
24706 height_special "totalheight"
24707 status collapsed
24708
24709 \begin_layout Standard
24710 \align center
24711 This box is middle-aligned.
24712 \end_layout
24713
24714 \end_inset
24715
24716 \InsetSpace ~
24717 This is an example text line.
24718 \end_layout
24719
24720 \begin_layout Description
24721 Bottom This is an example text line.
24722  
24723 \begin_inset Box Boxed
24724 position "b"
24725 hor_pos "c"
24726 has_inner_box 1
24727 inner_pos "c"
24728 use_parbox 0
24729 width "12col%"
24730 special "none"
24731 height "1in"
24732 height_special "totalheight"
24733 status collapsed
24734
24735 \begin_layout Standard
24736 \align center
24737 This box is bottom-aligned.
24738 \end_layout
24739
24740 \end_inset
24741
24742 \InsetSpace ~
24743 This is an example text line.
24744 \end_layout
24745
24746 \begin_layout Standard
24747 The horizontal box alignment can be set via LyX's paragraph dialog when
24748  you set the box into its own paragraph.
24749 \end_layout
24750
24751 \begin_layout Standard
24752 \begin_inset VSpace bigskip
24753 \end_inset
24754
24755 When you have chosen an 
24756 \family sans
24757 Inner\InsetSpace ~
24758 Box
24759 \family default
24760 , the box content can be vertical aligned to:
24761 \end_layout
24762
24763 \begin_layout Description
24764 top This is an example text line.
24765  
24766 \begin_inset Box Boxed
24767 position "c"
24768 hor_pos "c"
24769 has_inner_box 1
24770 inner_pos "t"
24771 use_parbox 0
24772 width "12col%"
24773 special "none"
24774 height "1.5in"
24775 height_special "totalheight"
24776 status collapsed
24777
24778 \begin_layout Standard
24779 \align center
24780 This box text is top-aligned.
24781 \end_layout
24782
24783 \end_inset
24784
24785 \InsetSpace ~
24786 This is an example text line.
24787 \end_layout
24788
24789 \begin_layout Description
24790 middle This is an example text line.
24791  
24792 \begin_inset Box Boxed
24793 position "c"
24794 hor_pos "c"
24795 has_inner_box 1
24796 inner_pos "c"
24797 use_parbox 0
24798 width "12col%"
24799 special "none"
24800 height "1.5in"
24801 height_special "totalheight"
24802 status collapsed
24803
24804 \begin_layout Standard
24805 \align center
24806 This box text is middle-aligned.
24807 \end_layout
24808
24809 \end_inset
24810
24811 \InsetSpace ~
24812 This is an example text line.
24813 \end_layout
24814
24815 \begin_layout Description
24816 bottom This is an example text line.
24817  
24818 \begin_inset Box Boxed
24819 position "c"
24820 hor_pos "c"
24821 has_inner_box 1
24822 inner_pos "b"
24823 use_parbox 0
24824 width "12col%"
24825 special "none"
24826 height "1.5in"
24827 height_special "totalheight"
24828 status collapsed
24829
24830 \begin_layout Standard
24831 \align center
24832 This box text is bottom-aligned.
24833 \end_layout
24834
24835 \end_inset
24836
24837 \InsetSpace ~
24838 This is an example text line.
24839 \end_layout
24840
24841 \begin_layout Description
24842 stretch This is an example text line.
24843  
24844 \begin_inset Box Boxed
24845 position "c"
24846 hor_pos "c"
24847 has_inner_box 1
24848 inner_pos "s"
24849 use_parbox 0
24850 width "12col%"
24851 special "none"
24852 height "1.5in"
24853 height_special "totalheight"
24854 status collapsed
24855
24856 \begin_layout Standard
24857 \align center
24858 This box
24859 \end_layout
24860
24861 \begin_layout Standard
24862 \align center
24863 text is
24864 \end_layout
24865
24866 \begin_layout Standard
24867 \align center
24868 stretched.
24869 \end_layout
24870
24871 \end_inset
24872
24873 \InsetSpace ~
24874 This is an example text line.
24875 \end_layout
24876
24877 \begin_layout Standard
24878 To stretch the box content, it must consist of more than one paragraph.
24879  In the example above every text line is in an own paragraph.
24880 \end_layout
24881
24882 \begin_layout Standard
24883 \begin_inset VSpace bigskip
24884 \end_inset
24885
24886 To align the box content horizontally you can use LyX's paragraph dialog
24887  when you have chosen an 
24888 \family sans
24889 Inner\InsetSpace ~
24890 Box
24891 \family default
24892 .
24893 \end_layout
24894
24895 \begin_layout Standard
24896 \align center
24897 \begin_inset Box Boxed
24898 position "c"
24899 hor_pos "c"
24900 has_inner_box 1
24901 inner_pos "s"
24902 use_parbox 0
24903 width "15col%"
24904 special "none"
24905 height "1.25in"
24906 height_special "totalheight"
24907 status collapsed
24908
24909 \begin_layout Standard
24910 \align left
24911 This box
24912 \end_layout
24913
24914 \begin_layout Standard
24915 \align center
24916 text is
24917 \end_layout
24918
24919 \begin_layout Standard
24920 \align right
24921 stretched.
24922 \end_layout
24923
24924 \end_inset
24925
24926
24927 \end_layout
24928
24929 \begin_layout Standard
24930 If you haven't set an 
24931 \family sans
24932 Inner\InsetSpace ~
24933 Box
24934 \family default
24935 , you can align the box content horizontally in the box dialog.
24936 \end_layout
24937
24938 \begin_layout Standard
24939 \align center
24940 \begin_inset Box Boxed
24941 position "c"
24942 hor_pos "s"
24943 has_inner_box 0
24944 inner_pos "s"
24945 use_parbox 0
24946 width "90col%"
24947 special "none"
24948 height "1.25in"
24949 height_special "totalheight"
24950 status collapsed
24951
24952 \begin_layout Standard
24953 \align left
24954 This box text is horizontally stretched.
24955 \end_layout
24956
24957 \end_inset
24958
24959
24960 \end_layout
24961
24962 \begin_layout Section
24963 Framed Boxes
24964 \begin_inset LatexCommand label
24965 name "sec:Framed-Boxes"
24966
24967 \end_inset
24968
24969
24970 \begin_inset LatexCommand index
24971 name "Boxes ! Frames"
24972
24973 \end_inset
24974
24975
24976 \end_layout
24977
24978 \begin_layout Standard
24979 The frame style of the box can be specified in the box-dialog in the drop-down
24980  list 
24981 \family sans
24982 Type
24983 \family default
24984 .
24985  The following frame types are possible:
24986 \end_layout
24987
24988 \begin_layout Description
24989 Rectangular\InsetSpace ~
24990 box This draws a rectangle frame around the box.
24991  The frame line thickness has the size of 
24992 \series bold
24993
24994 \backslash
24995 fboxrule
24996 \series default
24997 .
24998  
24999 \begin_inset Box Boxed
25000 position "c"
25001 hor_pos "c"
25002 has_inner_box 1
25003 inner_pos "c"
25004 use_parbox 0
25005 width "20col%"
25006 special "none"
25007 height "1in"
25008 height_special "totalheight"
25009 status collapsed
25010
25011 \begin_layout Standard
25012 \align center
25013 Rectangular box
25014 \end_layout
25015
25016 \end_inset
25017
25018
25019 \end_layout
25020
25021 \begin_layout Description
25022 Oval\InsetSpace ~
25023 box,\InsetSpace ~
25024 thin This draws an oval frame around the box.
25025  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
25026 pt.
25027  
25028 \begin_inset Box ovalbox
25029 position "c"
25030 hor_pos "c"
25031 has_inner_box 1
25032 inner_pos "c"
25033 use_parbox 0
25034 width "20col%"
25035 special "none"
25036 height "1in"
25037 height_special "totalheight"
25038 status collapsed
25039
25040 \begin_layout Standard
25041 \align center
25042 Oval box, thin
25043 \end_layout
25044
25045 \end_inset
25046
25047
25048 \end_layout
25049
25050 \begin_layout Description
25051 Oval\InsetSpace ~
25052 box,\InsetSpace ~
25053 thick This draws an oval frame around the box.
25054  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25055 pt.
25056  
25057 \begin_inset Box Ovalbox
25058 position "c"
25059 hor_pos "c"
25060 has_inner_box 1
25061 inner_pos "c"
25062 use_parbox 0
25063 width "20col%"
25064 special "none"
25065 height "1in"
25066 height_special "totalheight"
25067 status collapsed
25068
25069 \begin_layout Standard
25070 \align center
25071 Oval box, thick
25072 \end_layout
25073
25074 \end_inset
25075
25076
25077 \end_layout
25078
25079 \begin_layout Description
25080 Shadow\InsetSpace ~
25081 box This draws a rectangle frame with a shadow around the box.
25082  The frame line thickness has the size of 
25083 \series bold
25084
25085 \backslash
25086 fboxrule
25087 \series default
25088 , the shadow has a width of 4\InsetSpace \thinspace{}
25089 pt.
25090  
25091 \begin_inset Box Shadowbox
25092 position "c"
25093 hor_pos "c"
25094 has_inner_box 1
25095 inner_pos "c"
25096 use_parbox 0
25097 width "20col%"
25098 special "none"
25099 height "1in"
25100 height_special "totalheight"
25101 status collapsed
25102
25103 \begin_layout Standard
25104 \align center
25105 Shadow box
25106 \end_layout
25107
25108 \end_inset
25109
25110
25111 \end_layout
25112
25113 \begin_layout Description
25114 Double\InsetSpace ~
25115 box This draws a double-line rectangle frame around the box.
25116  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25117
25118 \series bold
25119
25120 \backslash
25121 fboxrule
25122 \series default
25123 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25124
25125 \series bold
25126
25127 \backslash
25128 fboxrule
25129 \series default
25130 .
25131  The distance between the lines is 1.5\InsetSpace \thinspace{}
25132
25133 \series bold
25134
25135 \backslash
25136 fboxrule
25137 \series default
25138 \InsetSpace \thinspace{}
25139 +\InsetSpace \thinspace{}
25140 0.5\InsetSpace \thinspace{}
25141 pt.
25142  
25143 \begin_inset Box Doublebox
25144 position "c"
25145 hor_pos "c"
25146 has_inner_box 1
25147 inner_pos "c"
25148 use_parbox 0
25149 width "20col%"
25150 special "none"
25151 height "1in"
25152 height_special "totalheight"
25153 status collapsed
25154
25155 \begin_layout Standard
25156 \align center
25157 Double box
25158 \end_layout
25159
25160 \end_inset
25161
25162
25163 \end_layout
25164
25165 \begin_layout Standard
25166 \begin_inset VSpace bigskip
25167 \end_inset
25168
25169 LyX's box label will change to the used frame style when you set a frame.
25170  To be able to use the different frame styles, the LaTeX-package 
25171 \series bold
25172 fancybox
25173 \series default
25174
25175 \begin_inset LatexCommand index
25176 name "LaTeX-packages ! fancybox"
25177
25178 \end_inset
25179
25180  must be installed.
25181 \end_layout
25182
25183 \begin_layout Standard
25184 \begin_inset VSpace bigskip
25185 \end_inset
25186
25187 The default value for the size 
25188 \series bold
25189
25190 \backslash
25191 fboxrule
25192 \series default
25193  is 0.4\InsetSpace \thinspace{}
25194 pt.
25195  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25196 g.\InsetSpace ~
25197 2\InsetSpace \thinspace{}
25198 pt:
25199 \end_layout
25200
25201 \begin_layout Standard
25202
25203 \series bold
25204
25205 \backslash
25206 setlength{
25207 \backslash
25208 fboxrule}{2pt}
25209 \end_layout
25210
25211 \begin_layout Standard
25212 \begin_inset ERT
25213 status collapsed
25214
25215 \begin_layout Standard
25216
25217
25218 \backslash
25219 setlength{
25220 \backslash
25221 fboxrule}{2pt}
25222 \end_layout
25223
25224 \end_inset
25225
25226
25227 \begin_inset Box Boxed
25228 position "c"
25229 hor_pos "c"
25230 has_inner_box 1
25231 inner_pos "c"
25232 use_parbox 0
25233 width "25col%"
25234 special "none"
25235 height "1in"
25236 height_special "totalheight"
25237 status collapsed
25238
25239 \begin_layout Standard
25240 \align center
25241 Rectangular box with 
25242 \series bold
25243
25244 \backslash
25245 fboxrule
25246 \series default
25247 \InsetSpace \thinspace{}
25248 =\InsetSpace \thinspace{}
25249 2\InsetSpace \thinspace{}
25250 pt
25251 \end_layout
25252
25253 \end_inset
25254
25255
25256 \begin_inset ERT
25257 status collapsed
25258
25259 \begin_layout Standard
25260
25261
25262 \backslash
25263 setlength{
25264 \backslash
25265 fboxrule}{0.4pt}
25266 \end_layout
25267
25268 \end_inset
25269
25270
25271 \end_layout
25272
25273 \begin_layout Standard
25274 \begin_inset VSpace bigskip
25275 \end_inset
25276
25277 The space between the frame and the box content is for all frame styles
25278  by default 3\InsetSpace \thinspace{}
25279 pt.
25280  You can change it by setting the length 
25281 \series bold
25282
25283 \backslash
25284 fboxsep
25285 \series default
25286  to another value.
25287  For example the command
25288 \end_layout
25289
25290 \begin_layout Standard
25291
25292 \series bold
25293
25294 \backslash
25295 setlength{
25296 \backslash
25297 fboxsep}{10pt}
25298 \end_layout
25299
25300 \begin_layout Standard
25301 sets the value to 10\InsetSpace \thinspace{}
25302 pt, like for the following box:
25303 \end_layout
25304
25305 \begin_layout Standard
25306 \begin_inset ERT
25307 status collapsed
25308
25309 \begin_layout Standard
25310
25311
25312 \backslash
25313 setlength{
25314 \backslash
25315 fboxsep}{10pt}
25316 \end_layout
25317
25318 \end_inset
25319
25320
25321 \begin_inset Box Boxed
25322 position "c"
25323 hor_pos "c"
25324 has_inner_box 1
25325 inner_pos "c"
25326 use_parbox 0
25327 width "25col%"
25328 special "none"
25329 height "1in"
25330 height_special "totalheight"
25331 status collapsed
25332
25333 \begin_layout Standard
25334 \align center
25335 Rectangular box with 
25336 \series bold
25337
25338 \backslash
25339 fboxsep
25340 \series default
25341 \InsetSpace \thinspace{}
25342 =\InsetSpace \thinspace{}
25343 10\InsetSpace \thinspace{}
25344 pt
25345 \end_layout
25346
25347 \end_inset
25348
25349
25350 \begin_inset ERT
25351 status collapsed
25352
25353 \begin_layout Standard
25354
25355
25356 \backslash
25357 setlength{
25358 \backslash
25359 fboxsep}{3pt}
25360 \end_layout
25361
25362 \end_inset
25363
25364
25365 \end_layout
25366
25367 \begin_layout Standard
25368 \begin_inset VSpace bigskip
25369 \end_inset
25370
25371 The diameter of the round corners of the oval boxes can be set with the
25372  command 
25373 \series bold
25374
25375 \backslash
25376 cornersize
25377 \series default
25378 .
25379  The command
25380 \end_layout
25381
25382 \begin_layout Standard
25383
25384 \series bold
25385
25386 \backslash
25387 cornersize*{1cm}
25388 \end_layout
25389
25390 \begin_layout Standard
25391 sets the diameter to 1\InsetSpace \thinspace{}
25392 cm.
25393  The command
25394 \end_layout
25395
25396 \begin_layout Standard
25397
25398 \series bold
25399
25400 \backslash
25401 cornersize{num}
25402 \end_layout
25403
25404 \begin_layout Standard
25405 sets the diameter to 
25406 \family sans
25407 num\InsetSpace \thinspace{}
25408 ×\InsetSpace \thinspace{}
25409 minimum(width and heigth of box)
25410 \family default
25411 .
25412  The default is 
25413 \series bold
25414
25415 \backslash
25416 cornersize{0.5}
25417 \series default
25418 .
25419 \end_layout
25420
25421 \begin_layout Standard
25422 \begin_inset ERT
25423 status collapsed
25424
25425 \begin_layout Standard
25426
25427
25428 \backslash
25429 cornersize*{1.5cm}
25430 \end_layout
25431
25432 \end_inset
25433
25434
25435 \begin_inset Box Ovalbox
25436 position "c"
25437 hor_pos "c"
25438 has_inner_box 1
25439 inner_pos "c"
25440 use_parbox 0
25441 width "25col%"
25442 special "none"
25443 height "1in"
25444 height_special "totalheight"
25445 status collapsed
25446
25447 \begin_layout Standard
25448 \align center
25449 Oval box with 
25450 \series bold
25451
25452 \backslash
25453 cornersize
25454 \series default
25455 \InsetSpace \thinspace{}
25456 =\InsetSpace \thinspace{}
25457 1.5\InsetSpace \thinspace{}
25458 cm
25459 \end_layout
25460
25461 \end_inset
25462
25463
25464 \begin_inset ERT
25465 status collapsed
25466
25467 \begin_layout Standard
25468
25469
25470 \backslash
25471 cornersize{0.5}
25472 \end_layout
25473
25474 \end_inset
25475
25476
25477 \end_layout
25478
25479 \begin_layout Standard
25480 \begin_inset VSpace bigskip
25481 \end_inset
25482
25483 The size of the shadow can be adjusted by changing the length 
25484 \series bold
25485
25486 \backslash
25487 shadowsize
25488 \series default
25489 .
25490  It it set to 2\InsetSpace \thinspace{}
25491 pt for the following box by this command:
25492 \end_layout
25493
25494 \begin_layout Standard
25495
25496 \series bold
25497
25498 \backslash
25499 setlength{
25500 \backslash
25501 shadowsize}{2pt}
25502 \end_layout
25503
25504 \begin_layout Standard
25505 \begin_inset ERT
25506 status collapsed
25507
25508 \begin_layout Standard
25509
25510
25511 \backslash
25512 setlength{
25513 \backslash
25514 shadowsize}{2pt}
25515 \end_layout
25516
25517 \end_inset
25518
25519
25520 \begin_inset Box Shadowbox
25521 position "c"
25522 hor_pos "c"
25523 has_inner_box 1
25524 inner_pos "c"
25525 use_parbox 0
25526 width "25col%"
25527 special "none"
25528 height "1in"
25529 height_special "totalheight"
25530 status collapsed
25531
25532 \begin_layout Standard
25533 \align center
25534 Shadow box with 
25535 \series bold
25536
25537 \backslash
25538 shadowsize
25539 \series default
25540 \InsetSpace \thinspace{}
25541 =\InsetSpace \thinspace{}
25542 2\InsetSpace \thinspace{}
25543 pt
25544 \end_layout
25545
25546 \end_inset
25547
25548
25549 \begin_inset ERT
25550 status collapsed
25551
25552 \begin_layout Standard
25553
25554
25555 \backslash
25556 setlength{
25557 \backslash
25558 shadowsize}{4pt}
25559 \end_layout
25560
25561 \end_inset
25562
25563
25564 \end_layout
25565
25566 \begin_layout Standard
25567 \begin_inset VSpace bigskip
25568 \end_inset
25569
25570 Changed lengths and widths are valid for all boxes following the commands
25571  that change them.
25572 \end_layout
25573
25574 \begin_layout Section
25575 Minipages
25576 \begin_inset LatexCommand label
25577 name "sec:Minipages"
25578
25579 \end_inset
25580
25581
25582 \begin_inset LatexCommand index
25583 name "Boxes ! Minipages"
25584
25585 \end_inset
25586
25587
25588 \end_layout
25589
25590 \begin_layout Standard
25591 Minipages are treated by LaTeX as pages within pages and can therefore for
25592  example have their own footnotes.
25593 \end_layout
25594
25595 \begin_layout Standard
25596 Minipages are useful when you write documents with different languages.
25597 \end_layout
25598
25599 \begin_layout Standard
25600 Below are two example minipages side by side.
25601  Their width is set to 45\InsetSpace \thinspace{}
25602 col% and they are separated by a horizontal fill,
25603  that was inserted via the menu 
25604 \family sans
25605 Insert\SpecialChar \menuseparator
25606 Special\InsetSpace ~
25607 Formatting\SpecialChar \menuseparator
25608 Horizontal\InsetSpace ~
25609 Fill
25610 \family default
25611 .
25612 \end_layout
25613
25614 \begin_layout Standard
25615 \begin_inset Box Frameless
25616 position "t"
25617 hor_pos "c"
25618 has_inner_box 1
25619 inner_pos "c"
25620 use_parbox 0
25621 width "45col%"
25622 special "none"
25623 height "1in"
25624 height_special "totalheight"
25625 status open
25626
25627 \begin_layout Standard
25628
25629 \lang german
25630 Dies ist ein deutscher Text.
25631  Dies ist ein deutscher Text.
25632  Dies ist ein deutscher Text.
25633  Dies ist ein deutscher Text.
25634  Dies ist ein deutscher Text.
25635  Dies ist ein deutscher Text.
25636  Dies ist ein deutscher Text.
25637  Dies ist ein deutscher Text.
25638  Dies ist ein deutscher Text.
25639  Dies ist ein deutscher Text.
25640  Dies ist ein deutscher Text.
25641  Dies ist ein deutscher Text.
25642  Dies ist ein deutscher Text
25643 \begin_inset Foot
25644 status collapsed
25645
25646 \begin_layout Standard
25647
25648 \lang german
25649 Dies ist eine deutsche Fußnote.
25650 \end_layout
25651
25652 \end_inset
25653
25654 .
25655  Dies ist ein deutscher Text.
25656  Dies ist ein deutscher Text.
25657 \end_layout
25658
25659 \end_inset
25660
25661
25662 \hfill
25663
25664 \begin_inset Box Frameless
25665 position "t"
25666 hor_pos "c"
25667 has_inner_box 1
25668 inner_pos "c"
25669 use_parbox 0
25670 width "45col%"
25671 special "none"
25672 height "1in"
25673 height_special "totalheight"
25674 status open
25675
25676 \begin_layout Standard
25677 This is an English Text.
25678  This is an English Text.
25679  This is an English Text.
25680  This is an English Text.
25681  This is an English Text.
25682  This is an English Text.
25683  This is an English Text.
25684  This is an English Text.
25685  This is an English Text.
25686  This is an English Text.
25687  This is an English Text.
25688  This is an English Text.
25689  This is an English Text.
25690  This is an English Text.
25691  This is an English Text.
25692  This is an English Text.
25693 \begin_inset Foot
25694 status collapsed
25695
25696 \begin_layout Standard
25697 This is an English footnote.
25698 \end_layout
25699
25700 \end_inset
25701
25702  This is an English Text.
25703  
25704 \end_layout
25705
25706 \end_inset
25707
25708
25709 \end_layout
25710
25711 \begin_layout Standard
25712 \begin_inset VSpace bigskip
25713 \end_inset
25714
25715 Another application for minipages are footnotes within tables.
25716  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25717  bottom of the current page.
25718  But when you put the table with the footnote to a minipage, the footnote
25719  will appear at its bottom, numbered with Latin letters.
25720  The footnote number is reset to 1 in every minipage but not outside the
25721  minipages.
25722 \end_layout
25723
25724 \begin_layout Standard
25725 The footnote of this table doesn't appear: 
25726 \begin_inset Tabular
25727 <lyxtabular version="3" rows="3" columns="4">
25728 <features>
25729 <column alignment="center" valignment="top" leftline="true" width="0pt">
25730 <column alignment="center" valignment="top" leftline="true" width="0pt">
25731 <column alignment="center" valignment="top" leftline="true" width="0pt">
25732 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25733 <row topline="true">
25734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25735 \begin_inset Text
25736
25737 \begin_layout Standard
25738 1
25739 \end_layout
25740
25741 \end_inset
25742 </cell>
25743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25744 \begin_inset Text
25745
25746 \begin_layout Standard
25747 2
25748 \end_layout
25749
25750 \end_inset
25751 </cell>
25752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25753 \begin_inset Text
25754
25755 \begin_layout Standard
25756 3
25757 \begin_inset Foot
25758 status collapsed
25759
25760 \begin_layout Standard
25761 This is a footnote within a table.
25762 \end_layout
25763
25764 \end_inset
25765
25766
25767 \end_layout
25768
25769 \end_inset
25770 </cell>
25771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25772 \begin_inset Text
25773
25774 \begin_layout Standard
25775 4
25776 \end_layout
25777
25778 \end_inset
25779 </cell>
25780 </row>
25781 <row topline="true">
25782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25783 \begin_inset Text
25784
25785 \begin_layout Standard
25786 a
25787 \end_layout
25788
25789 \end_inset
25790 </cell>
25791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25792 \begin_inset Text
25793
25794 \begin_layout Standard
25795 b
25796 \end_layout
25797
25798 \end_inset
25799 </cell>
25800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25801 \begin_inset Text
25802
25803 \begin_layout Standard
25804 c
25805 \end_layout
25806
25807 \end_inset
25808 </cell>
25809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25810 \begin_inset Text
25811
25812 \begin_layout Standard
25813 d
25814 \end_layout
25815
25816 \end_inset
25817 </cell>
25818 </row>
25819 <row topline="true" bottomline="true">
25820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25821 \begin_inset Text
25822
25823 \begin_layout Standard
25824 e
25825 \end_layout
25826
25827 \end_inset
25828 </cell>
25829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25830 \begin_inset Text
25831
25832 \begin_layout Standard
25833 f
25834 \end_layout
25835
25836 \end_inset
25837 </cell>
25838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25839 \begin_inset Text
25840
25841 \begin_layout Standard
25842 g
25843 \end_layout
25844
25845 \end_inset
25846 </cell>
25847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25848 \begin_inset Text
25849
25850 \begin_layout Standard
25851 h
25852 \end_layout
25853
25854 \end_inset
25855 </cell>
25856 </row>
25857 </lyxtabular>
25858
25859 \end_inset
25860
25861
25862 \end_layout
25863
25864 \begin_layout Standard
25865 \align center
25866 \begin_inset Box Frameless
25867 position "t"
25868 hor_pos "c"
25869 has_inner_box 1
25870 inner_pos "c"
25871 use_parbox 0
25872 width "30col%"
25873 special "none"
25874 height "1in"
25875 height_special "totalheight"
25876 status open
25877
25878 \begin_layout Standard
25879 \align center
25880 \begin_inset Tabular
25881 <lyxtabular version="3" rows="3" columns="4">
25882 <features>
25883 <column alignment="center" valignment="top" leftline="true" width="0pt">
25884 <column alignment="center" valignment="top" leftline="true" width="0pt">
25885 <column alignment="center" valignment="top" leftline="true" width="0pt">
25886 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25887 <row topline="true">
25888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25889 \begin_inset Text
25890
25891 \begin_layout Standard
25892 1
25893 \end_layout
25894
25895 \end_inset
25896 </cell>
25897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25898 \begin_inset Text
25899
25900 \begin_layout Standard
25901 2
25902 \end_layout
25903
25904 \end_inset
25905 </cell>
25906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25907 \begin_inset Text
25908
25909 \begin_layout Standard
25910 3
25911 \begin_inset Foot
25912 status collapsed
25913
25914 \begin_layout Standard
25915 This is a footnote within a table.
25916 \end_layout
25917
25918 \end_inset
25919
25920
25921 \end_layout
25922
25923 \end_inset
25924 </cell>
25925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25926 \begin_inset Text
25927
25928 \begin_layout Standard
25929 4
25930 \end_layout
25931
25932 \end_inset
25933 </cell>
25934 </row>
25935 <row topline="true">
25936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25937 \begin_inset Text
25938
25939 \begin_layout Standard
25940 a
25941 \end_layout
25942
25943 \end_inset
25944 </cell>
25945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25946 \begin_inset Text
25947
25948 \begin_layout Standard
25949 b
25950 \end_layout
25951
25952 \end_inset
25953 </cell>
25954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25955 \begin_inset Text
25956
25957 \begin_layout Standard
25958 c
25959 \end_layout
25960
25961 \end_inset
25962 </cell>
25963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25964 \begin_inset Text
25965
25966 \begin_layout Standard
25967 d
25968 \end_layout
25969
25970 \end_inset
25971 </cell>
25972 </row>
25973 <row topline="true" bottomline="true">
25974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25975 \begin_inset Text
25976
25977 \begin_layout Standard
25978 e
25979 \end_layout
25980
25981 \end_inset
25982 </cell>
25983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25984 \begin_inset Text
25985
25986 \begin_layout Standard
25987 f
25988 \end_layout
25989
25990 \end_inset
25991 </cell>
25992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25993 \begin_inset Text
25994
25995 \begin_layout Standard
25996 g
25997 \end_layout
25998
25999 \end_inset
26000 </cell>
26001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26002 \begin_inset Text
26003
26004 \begin_layout Standard
26005 h
26006 \end_layout
26007
26008 \end_inset
26009 </cell>
26010 </row>
26011 </lyxtabular>
26012
26013 \end_inset
26014
26015
26016 \end_layout
26017
26018 \end_inset
26019
26020
26021 \end_layout
26022
26023 \begin_layout Standard
26024 \begin_inset VSpace bigskip
26025 \end_inset
26026
26027 The document-wide paragraph settings are ignored within minipages.
26028  That means that there will be no space between paragraphs in minipages
26029  although you set it to e.\InsetSpace \thinspace{}
26030 g.\InsetSpace ~
26031
26032 \family sans
26033 MedSkip
26034 \family default
26035  in the document settings.
26036 \end_layout
26037
26038 \begin_layout Standard
26039 Minipages can also be used to set a background color for text parts, see
26040  section\InsetSpace ~
26041
26042 \begin_inset LatexCommand ref
26043 reference "sub:Color-for-Paragraphs"
26044
26045 \end_inset
26046
26047 .
26048 \end_layout
26049
26050 \begin_layout Standard
26051 \begin_inset Note Greyedout
26052 status open
26053
26054 \begin_layout Standard
26055
26056 \series bold
26057 Note:
26058 \series default
26059  You cannot have floats or margin notes inside minipages but minipages can
26060  be used inside tables, floats, and other boxes.
26061 \end_layout
26062
26063 \end_inset
26064
26065
26066 \end_layout
26067
26068 \begin_layout Section
26069 Parboxes
26070 \begin_inset LatexCommand label
26071 name "sec:Parboxes"
26072
26073 \end_inset
26074
26075
26076 \begin_inset LatexCommand index
26077 name "Boxes ! Parboxes"
26078
26079 \end_inset
26080
26081
26082 \end_layout
26083
26084 \begin_layout Standard
26085 Parboxes are very similar to minipages with the difference that they cannot
26086  have footnotes.
26087  The main difference to minipages is that minipages are in contrary to parboxes
26088  no real boxes but LaTeX-environments.
26089 \end_layout
26090
26091 \begin_layout Standard
26092 \align center
26093 \begin_inset Box Frameless
26094 position "t"
26095 hor_pos "c"
26096 has_inner_box 1
26097 inner_pos "t"
26098 use_parbox 1
26099 width "33col%"
26100 special "none"
26101 height "1in"
26102 height_special "totalheight"
26103 status collapsed
26104
26105 \begin_layout Standard
26106 This a text within a parbox.
26107  This a text within a parbox.
26108 \end_layout
26109
26110 \begin_layout Standard
26111 This footnote won't appear:
26112 \begin_inset Foot
26113 status collapsed
26114
26115 \begin_layout Standard
26116 This footnote is inside a parbox and will therefore not appear.
26117 \end_layout
26118
26119 \end_inset
26120
26121
26122 \end_layout
26123
26124 \end_inset
26125
26126
26127 \end_layout
26128
26129 \begin_layout Section
26130 Boxes for Words and Characters
26131 \begin_inset LatexCommand index
26132 name "Boxes ! for Characters"
26133
26134 \end_inset
26135
26136
26137 \end_layout
26138
26139 \begin_layout Subsection
26140 Prevent Hyphenation
26141 \begin_inset LatexCommand label
26142 name "sec:Prevent-Hyphenation"
26143
26144 \end_inset
26145
26146
26147 \begin_inset LatexCommand index
26148 name "Boxes ! to Prevent Hyphenation"
26149
26150 \end_inset
26151
26152
26153 \end_layout
26154
26155 \begin_layout Standard
26156 You can use a special kind of boxes to prevent words or text to be hyphenated.
26157 \newline
26158 Her
26159 e is an example text:
26160 \end_layout
26161
26162 \begin_layout Standard
26163 This line is an example to show how you can prevent the hyphenation of 
26164 \begin_inset Quotes eld
26165 \end_inset
26166
26167 veryverylongword
26168 \begin_inset Quotes erd
26169 \end_inset
26170
26171 .
26172 \end_layout
26173
26174 \begin_layout Standard
26175 To prevent the hyphenation of the word 
26176 \begin_inset Quotes eld
26177 \end_inset
26178
26179 veryverylongword
26180 \begin_inset Quotes erd
26181 \end_inset
26182
26183 , add the command
26184 \end_layout
26185
26186 \begin_layout Standard
26187
26188 \series bold
26189
26190 \backslash
26191 mbox{
26192 \end_layout
26193
26194 \begin_layout Standard
26195 in TeX-Code before the word.
26196  Behind the word insert a closing brace 
26197 \begin_inset Quotes eld
26198 \end_inset
26199
26200
26201 \series bold
26202 }
26203 \series default
26204
26205 \begin_inset Quotes erd
26206 \end_inset
26207
26208  in TeX-Code.
26209 \begin_inset ERT
26210 status collapsed
26211
26212 \begin_layout Standard
26213
26214
26215 \backslash
26216 pagebreak 
26217 \end_layout
26218
26219 \end_inset
26220
26221
26222 \end_layout
26223
26224 \begin_layout Standard
26225 This is the result:
26226 \end_layout
26227
26228 \begin_layout Standard
26229 This line is an example to show how you can prevent the hyphenation of 
26230 \begin_inset ERT
26231 status collapsed
26232
26233 \begin_layout Standard
26234
26235
26236 \backslash
26237 mbox{
26238 \end_layout
26239
26240 \end_inset
26241
26242
26243 \begin_inset Quotes eld
26244 \end_inset
26245
26246 veryverylongword
26247 \begin_inset Quotes erd
26248 \end_inset
26249
26250 .
26251 \begin_inset ERT
26252 status collapsed
26253
26254 \begin_layout Standard
26255
26256 }
26257 \end_layout
26258
26259 \end_inset
26260
26261
26262 \end_layout
26263
26264 \begin_layout Standard
26265 You can alternatively set the command 
26266 \begin_inset Quotes eld
26267 \end_inset
26268
26269
26270 \series bold
26271
26272 \backslash
26273 -
26274 \series default
26275
26276 \begin_inset Quotes grd
26277 \end_inset
26278
26279  as TeX-Code directly before the word:
26280 \end_layout
26281
26282 \begin_layout Standard
26283 This line is an example to show how you can prevent the hyphenation of 
26284 \begin_inset Quotes eld
26285 \end_inset
26286
26287
26288 \begin_inset ERT
26289 status collapsed
26290
26291 \begin_layout Standard
26292
26293
26294 \backslash
26295 -
26296 \end_layout
26297
26298 \end_inset
26299
26300 veryverylongword
26301 \begin_inset Quotes erd
26302 \end_inset
26303
26304 .
26305 \end_layout
26306
26307 \begin_layout Standard
26308 Of course the word now protrudes over the side margin.
26309  To avoid this, add via the menu 
26310 \family sans
26311 Insert\SpecialChar \menuseparator
26312 Special\InsetSpace ~
26313 Formatting\SpecialChar \menuseparator
26314 Line\InsetSpace ~
26315 Break
26316 \family default
26317  (shortcut 
26318 \series bold
26319 Ctrl-Return
26320 \series default
26321 ) a line break before the word:
26322 \end_layout
26323
26324 \begin_layout Standard
26325 This line is an example to show how you can prevent the hyphenation of 
26326 \newline
26327
26328 \begin_inset ERT
26329 status collapsed
26330
26331 \begin_layout Standard
26332
26333
26334 \backslash
26335 mbox{
26336 \end_layout
26337
26338 \end_inset
26339
26340
26341 \begin_inset Quotes eld
26342 \end_inset
26343
26344 veryverylongword
26345 \begin_inset Quotes erd
26346 \end_inset
26347
26348 .
26349 \begin_inset ERT
26350 status collapsed
26351
26352 \begin_layout Standard
26353
26354 }
26355 \end_layout
26356
26357 \end_inset
26358
26359
26360 \end_layout
26361
26362 \begin_layout Subsection
26363 Vertical Alignment
26364 \begin_inset LatexCommand label
26365 name "sub:Vertical-Alignment"
26366
26367 \end_inset
26368
26369
26370 \begin_inset LatexCommand index
26371 name "Boxes ! for Vertical Alignment"
26372
26373 \end_inset
26374
26375
26376 \begin_inset LatexCommand index
26377 name "Boxes ! Raiseboxes"
26378
26379 \end_inset
26380
26381
26382 \end_layout
26383
26384 \begin_layout Standard
26385 With the help of the command 
26386 \series bold
26387
26388 \backslash
26389 raisebox
26390 \series default
26391  you can align words, characters or other boxes vertically to the surrounding
26392  text.
26393  
26394 \series bold
26395
26396 \backslash
26397 raisebox
26398 \series default
26399  is used with the following scheme:
26400 \end_layout
26401
26402 \begin_layout Standard
26403
26404 \series bold
26405
26406 \backslash
26407 raisebox{lift}[height][depth]{box content}
26408 \end_layout
26409
26410 \begin_layout Standard
26411 The lift can be a positive value to raise the box or a negative value to
26412  lower the box.
26413 \end_layout
26414
26415 \begin_layout Standard
26416 To align for example the word 
26417 \begin_inset Quotes eld
26418 \end_inset
26419
26420 preventing
26421 \begin_inset Quotes erd
26422 \end_inset
26423
26424  so that the bottom of the 
26425 \begin_inset Quotes eld
26426 \end_inset
26427
26428 deepest
26429 \begin_inset Quotes erd
26430 \end_inset
26431
26432  character 
26433 \begin_inset Quotes eld
26434 \end_inset
26435
26436 p
26437 \begin_inset Quotes erd
26438 \end_inset
26439
26440  is at the baseline, insert the command
26441 \end_layout
26442
26443 \begin_layout Standard
26444
26445 \series bold
26446
26447 \backslash
26448 raisebox{
26449 \backslash
26450 depth}{
26451 \end_layout
26452
26453 \begin_layout Standard
26454 in TeX-Code before the word.
26455  Behind the word insert a closing brace 
26456 \begin_inset Quotes eld
26457 \end_inset
26458
26459
26460 \series bold
26461 }
26462 \series default
26463
26464 \begin_inset Quotes erd
26465 \end_inset
26466
26467  in TeX-Code.
26468 \newline
26469 This is the result:
26470 \end_layout
26471
26472 \begin_layout Standard
26473 This is a text line with the word 
26474 \begin_inset ERT
26475 status collapsed
26476
26477 \begin_layout Standard
26478
26479
26480 \backslash
26481 raisebox{
26482 \backslash
26483 depth}{
26484 \end_layout
26485
26486 \end_inset
26487
26488
26489 \begin_inset Quotes eld
26490 \end_inset
26491
26492 preventing
26493 \begin_inset Quotes erd
26494 \end_inset
26495
26496
26497 \begin_inset ERT
26498 status collapsed
26499
26500 \begin_layout Standard
26501
26502 }
26503 \end_layout
26504
26505 \end_inset
26506
26507  as raised word.
26508 \end_layout
26509
26510 \begin_layout Standard
26511 \begin_inset VSpace bigskip
26512 \end_inset
26513
26514 When you raise or lower characters in a line, the line distance will be
26515  spread:
26516 \end_layout
26517
26518 \begin_layout Standard
26519 This is a text line with the word 
26520 \begin_inset ERT
26521 status collapsed
26522
26523 \begin_layout Standard
26524
26525
26526 \backslash
26527 raisebox{-
26528 \backslash
26529 depth}{
26530 \end_layout
26531
26532 \end_inset
26533
26534
26535 \begin_inset Quotes eld
26536 \end_inset
26537
26538 preventing
26539 \begin_inset Quotes erd
26540 \end_inset
26541
26542
26543 \begin_inset ERT
26544 status collapsed
26545
26546 \begin_layout Standard
26547
26548 }
26549 \end_layout
26550
26551 \end_inset
26552
26553  as lowered word.
26554 \newline
26555 This is a text line with the word 
26556 \begin_inset ERT
26557 status collapsed
26558
26559 \begin_layout Standard
26560
26561
26562 \backslash
26563 raisebox{0.5cm}{
26564 \end_layout
26565
26566 \end_inset
26567
26568
26569 \begin_inset Quotes eld
26570 \end_inset
26571
26572 testing
26573 \begin_inset Quotes erd
26574 \end_inset
26575
26576
26577 \begin_inset ERT
26578 status collapsed
26579
26580 \begin_layout Standard
26581
26582 }
26583 \end_layout
26584
26585 \end_inset
26586
26587  as raised word.
26588 \end_layout
26589
26590 \begin_layout Standard
26591 If you want to prevent this for a certain reason, set the box height to
26592  a zero value.
26593  For example use
26594 \end_layout
26595
26596 \begin_layout Standard
26597
26598 \series bold
26599
26600 \backslash
26601 raisebox{-
26602 \backslash
26603 depth}[0pt]{
26604 \end_layout
26605
26606 \begin_layout Standard
26607 This is a text line with the word 
26608 \begin_inset ERT
26609 status collapsed
26610
26611 \begin_layout Standard
26612
26613
26614 \backslash
26615 raisebox{-
26616 \backslash
26617 depth}[0pt]{
26618 \end_layout
26619
26620 \end_inset
26621
26622
26623 \begin_inset Quotes eld
26624 \end_inset
26625
26626 preventing
26627 \begin_inset Quotes erd
26628 \end_inset
26629
26630
26631 \begin_inset ERT
26632 status collapsed
26633
26634 \begin_layout Standard
26635
26636 }
26637 \end_layout
26638
26639 \end_inset
26640
26641  as lowered word.
26642 \newline
26643 This is a text line with the word 
26644 \begin_inset ERT
26645 status collapsed
26646
26647 \begin_layout Standard
26648
26649
26650 \backslash
26651 raisebox{0.5cm}[0pt]{
26652 \end_layout
26653
26654 \end_inset
26655
26656
26657 \begin_inset Quotes eld
26658 \end_inset
26659
26660 testing
26661 \begin_inset Quotes erd
26662 \end_inset
26663
26664
26665 \begin_inset ERT
26666 status collapsed
26667
26668 \begin_layout Standard
26669
26670 }
26671 \end_layout
26672
26673 \end_inset
26674
26675  as raised word.
26676 \end_layout
26677
26678 \begin_layout Section
26679 Colored Boxes
26680 \begin_inset LatexCommand label
26681 name "sec:Colored-Boxes"
26682
26683 \end_inset
26684
26685
26686 \begin_inset LatexCommand index
26687 name "Boxes ! Color"
26688
26689 \end_inset
26690
26691
26692 \end_layout
26693
26694 \begin_layout Subsection
26695 Color for Text
26696 \begin_inset LatexCommand index
26697 name "Color ! for Text"
26698
26699 \end_inset
26700
26701
26702 \end_layout
26703
26704 \begin_layout Standard
26705 To color the background of text the text must be put into a so called 
26706 \begin_inset Quotes eld
26707 \end_inset
26708
26709 colorbox
26710 \begin_inset Quotes erd
26711 \end_inset
26712
26713 .
26714  This requires that the LaTeX-package 
26715 \series bold
26716 color
26717 \series default
26718
26719 \begin_inset LatexCommand index
26720 name "LaTeX-packages ! color"
26721
26722 \end_inset
26723
26724  is loaded in the document preamble with the command
26725 \end_layout
26726
26727 \begin_layout Standard
26728
26729 \series bold
26730
26731 \backslash
26732 @ifundefined{textcolor}
26733 \newline
26734
26735 \begin_inset ERT
26736 status collapsed
26737
26738 \begin_layout Standard
26739
26740
26741 \backslash
26742 hphantom{ }
26743 \end_layout
26744
26745 \end_inset
26746
26747 {
26748 \backslash
26749 usepackage{color}}{}
26750 \end_layout
26751
26752 \begin_layout Standard
26753 The package 
26754 \series bold
26755 color
26756 \series default
26757  will be loaded automatically by LyX when you color text
26758 \begin_inset Foot
26759 status collapsed
26760
26761 \begin_layout Standard
26762 To avoid that it is loaded twice the command 
26763 \series bold
26764
26765 \backslash
26766 @ifundef\SpecialChar \textcompwordmark{}
26767 ined
26768 \series default
26769  is used.
26770 \end_layout
26771
26772 \end_inset
26773
26774 .
26775 \end_layout
26776
26777 \begin_layout Standard
26778 \begin_inset VSpace medskip
26779 \end_inset
26780
26781 Colorboxes are created with the command 
26782 \series bold
26783
26784 \backslash
26785 colorbox
26786 \series default
26787 .
26788  This will be used with the following scheme:
26789 \end_layout
26790
26791 \begin_layout Standard
26792
26793 \series bold
26794
26795 \backslash
26796 colorbox{color}{box content}
26797 \end_layout
26798
26799 \begin_layout Standard
26800 The box content can also be a box and colorboxes can also be within other
26801  boxes.
26802 \end_layout
26803
26804 \begin_layout Standard
26805 The following colors are predefined:
26806 \newline
26807
26808 \family sans
26809 black
26810 \family default
26811
26812 \family sans
26813 blue
26814 \family default
26815
26816 \family sans
26817 cyan
26818 \family default
26819 \series bold
26820 ,
26821 \series default
26822  
26823 \family sans
26824 green
26825 \family default
26826
26827 \family sans
26828 magenta
26829 \family default
26830
26831 \family sans
26832 red
26833 \family default
26834
26835 \family sans
26836 white
26837 \family default
26838 , and 
26839 \family sans
26840 yellow
26841 \family default
26842 .
26843 \newline
26844 You can also define your own color as described in section\InsetSpace ~
26845
26846 \begin_inset LatexCommand ref
26847 reference "sec:Colored-Tables"
26848
26849 \end_inset
26850
26851 .
26852 \end_layout
26853
26854 \begin_layout Standard
26855 To have e.\InsetSpace \thinspace{}
26856 g.\InsetSpace ~
26857 a red background for a word, insert the command
26858 \end_layout
26859
26860 \begin_layout Standard
26861
26862 \series bold
26863
26864 \backslash
26865 colorbox{red}{
26866 \end_layout
26867
26868 \begin_layout Standard
26869 before the word in TeX-Code.
26870  Behind the word insert a closing brace 
26871 \begin_inset Quotes eld
26872 \end_inset
26873
26874
26875 \series bold
26876 }
26877 \series default
26878
26879 \begin_inset Quotes erd
26880 \end_inset
26881
26882  in TeX-Code.
26883 \newline
26884 This is the result:
26885 \end_layout
26886
26887 \begin_layout Standard
26888 This is a line where the word 
26889 \begin_inset ERT
26890 status collapsed
26891
26892 \begin_layout Standard
26893
26894
26895 \backslash
26896 colorbox{red}{
26897 \end_layout
26898
26899 \end_inset
26900
26901
26902 \begin_inset Quotes eld
26903 \end_inset
26904
26905 Attention!
26906 \begin_inset Quotes erd
26907 \end_inset
26908
26909
26910 \begin_inset ERT
26911 status collapsed
26912
26913 \begin_layout Standard
26914
26915 }
26916 \end_layout
26917
26918 \end_inset
26919
26920  has a red background.
26921 \end_layout
26922
26923 \begin_layout Standard
26924 \begin_inset VSpace bigskip
26925 \end_inset
26926
26927 If you would have the box frame in a different color, you can use the command
26928  
26929 \series bold
26930
26931 \backslash
26932 fcolorbox
26933 \series default
26934  with the following scheme:
26935 \end_layout
26936
26937 \begin_layout Standard
26938
26939 \series bold
26940
26941 \backslash
26942 fcolorbox{frame color}{box color}{box content}
26943 \end_layout
26944
26945 \begin_layout Standard
26946
26947 \series bold
26948
26949 \backslash
26950 fcolorbox
26951 \series default
26952  is an extension to 
26953 \series bold
26954
26955 \backslash
26956 colorbox
26957 \series default
26958 .
26959  The frame thickness and the space between the frame and the box content
26960  can be adjusted with the lengths 
26961 \series bold
26962
26963 \backslash
26964 fboxrule
26965 \series default
26966  and 
26967 \series bold
26968
26969 \backslash
26970 fboxsep
26971 \series default
26972 , respectively, as described in section\InsetSpace ~
26973
26974 \begin_inset LatexCommand ref
26975 reference "sec:Framed-Boxes"
26976
26977 \end_inset
26978
26979 .
26980 \end_layout
26981
26982 \begin_layout Standard
26983 For the following example the command
26984 \end_layout
26985
26986 \begin_layout Standard
26987
26988 \series bold
26989
26990 \backslash
26991 fcolorbox{cyan}{magenta}{
26992 \end_layout
26993
26994 \begin_layout Standard
26995 was used.
26996 \end_layout
26997
26998 \begin_layout Standard
26999 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
27000 mm:
27001 \newline
27002
27003 \begin_inset ERT
27004 status collapsed
27005
27006 \begin_layout Standard
27007
27008
27009 \backslash
27010 fboxrule 1mm 
27011 \backslash
27012 fboxsep 1mm
27013 \end_layout
27014
27015 \end_inset
27016
27017
27018 \begin_inset ERT
27019 status collapsed
27020
27021 \begin_layout Standard
27022
27023
27024 \backslash
27025 fcolorbox{cyan}{magenta}{
27026 \end_layout
27027
27028 \end_inset
27029
27030 This is text within a colored, framed box.
27031 \begin_inset ERT
27032 status collapsed
27033
27034 \begin_layout Standard
27035
27036 }
27037 \end_layout
27038
27039 \end_inset
27040
27041
27042 \end_layout
27043
27044 \begin_layout Standard
27045 \begin_inset VSpace bigskip
27046 \end_inset
27047
27048 Of course you can also have colored text inside a colorbox:
27049 \newline
27050
27051 \begin_inset ERT
27052 status collapsed
27053
27054 \begin_layout Standard
27055
27056
27057 \backslash
27058 fcolorbox{cyan}{magenta}{
27059 \end_layout
27060
27061 \end_inset
27062
27063
27064 \color yellow
27065 This is colored text within a colored, framed box.
27066 \color none
27067
27068 \begin_inset ERT
27069 status collapsed
27070
27071 \begin_layout Standard
27072
27073 }
27074 \end_layout
27075
27076 \end_inset
27077
27078
27079 \begin_inset ERT
27080 status collapsed
27081
27082 \begin_layout Standard
27083
27084
27085 \backslash
27086 fboxrule 0.4pt 
27087 \backslash
27088 fboxsep 3pt
27089 \end_layout
27090
27091 \end_inset
27092
27093
27094 \end_layout
27095
27096 \begin_layout Standard
27097
27098 \series bold
27099 \begin_inset VSpace medskip
27100 \end_inset
27101
27102
27103 \end_layout
27104
27105 \begin_layout Standard
27106 \begin_inset Note Greyedout
27107 status open
27108
27109 \begin_layout Standard
27110
27111 \series bold
27112 Note:
27113 \series default
27114  Text in colorboxes cannot have line breaks.
27115  To color multiple text lines or paragraphs, use a box inside a colorbox
27116  as described in the following.
27117 \end_layout
27118
27119 \end_inset
27120
27121
27122 \end_layout
27123
27124 \begin_layout Subsection
27125 Color for Paragraphs
27126 \begin_inset LatexCommand label
27127 name "sub:Color-for-Paragraphs"
27128
27129 \end_inset
27130
27131
27132 \begin_inset LatexCommand index
27133 name "Color ! for Paragraphs"
27134
27135 \end_inset
27136
27137
27138 \end_layout
27139
27140 \begin_layout Standard
27141 To set the background color for more than one text line, put the text into
27142  a minipage.
27143  Before the minipage insert the 
27144 \series bold
27145
27146 \backslash
27147 colorbox
27148 \series default
27149  command
27150 \end_layout
27151
27152 \begin_layout Standard
27153
27154 \series bold
27155
27156 \backslash
27157 colorbox{color}{
27158 \end_layout
27159
27160 \begin_layout Standard
27161 in TeX-Code.
27162  Behind the minipage insert a closing brace 
27163 \begin_inset Quotes eld
27164 \end_inset
27165
27166
27167 \series bold
27168 }
27169 \series default
27170
27171 \begin_inset Quotes erd
27172 \end_inset
27173
27174  in TeX-Code.
27175 \end_layout
27176
27177 \begin_layout Standard
27178 \begin_inset ERT
27179 status collapsed
27180
27181 \begin_layout Standard
27182
27183
27184 \backslash
27185 colorbox{lightgrey}{
27186 \end_layout
27187
27188 \end_inset
27189
27190
27191 \begin_inset Box Frameless
27192 position "t"
27193 hor_pos "c"
27194 has_inner_box 1
27195 inner_pos "t"
27196 use_parbox 0
27197 width "100col%"
27198 special "none"
27199 height "1in"
27200 height_special "totalheight"
27201 status collapsed
27202
27203 \begin_layout Standard
27204 This is text with background color.
27205  This is text with background color.
27206 \end_layout
27207
27208 \begin_layout Standard
27209 \begin_inset VSpace defskip
27210 \end_inset
27211
27212 The text can have footnotes
27213 \begin_inset Foot
27214 status collapsed
27215
27216 \begin_layout Standard
27217 Another example footnote
27218 \end_layout
27219
27220 \end_inset
27221
27222  and can include tables and figures.
27223 \end_layout
27224
27225 \begin_layout Standard
27226 \align center
27227 \begin_inset Tabular
27228 <lyxtabular version="3" rows="3" columns="3">
27229 <features>
27230 <column alignment="center" valignment="top" leftline="true" width="0">
27231 <column alignment="center" valignment="top" leftline="true" width="0">
27232 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27233 <row topline="true">
27234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27235 \begin_inset Text
27236
27237 \begin_layout Standard
27238 a
27239 \end_layout
27240
27241 \end_inset
27242 </cell>
27243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27244 \begin_inset Text
27245
27246 \begin_layout Standard
27247 !
27248 \end_layout
27249
27250 \end_inset
27251 </cell>
27252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27253 \begin_inset Text
27254
27255 \begin_layout Standard
27256 3
27257 \end_layout
27258
27259 \end_inset
27260 </cell>
27261 </row>
27262 <row topline="true">
27263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27264 \begin_inset Text
27265
27266 \begin_layout Standard
27267 <
27268 \end_layout
27269
27270 \end_inset
27271 </cell>
27272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27273 \begin_inset Text
27274
27275 \begin_layout Standard
27276 b2
27277 \begin_inset Quotes erd
27278 \end_inset
27279
27280 |
27281 \end_layout
27282
27283 \end_inset
27284 </cell>
27285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27286 \begin_inset Text
27287
27288 \begin_layout Standard
27289 >
27290 \end_layout
27291
27292 \end_inset
27293 </cell>
27294 </row>
27295 <row topline="true" bottomline="true">
27296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27297 \begin_inset Text
27298
27299 \begin_layout Standard
27300 1
27301 \end_layout
27302
27303 \end_inset
27304 </cell>
27305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27306 \begin_inset Text
27307
27308 \begin_layout Standard
27309 §
27310 \end_layout
27311
27312 \end_inset
27313 </cell>
27314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27315 \begin_inset Text
27316
27317 \begin_layout Standard
27318 c
27319 \end_layout
27320
27321 \end_inset
27322 </cell>
27323 </row>
27324 </lyxtabular>
27325
27326 \end_inset
27327
27328
27329 \end_layout
27330
27331 \end_inset
27332
27333
27334 \begin_inset ERT
27335 status collapsed
27336
27337 \begin_layout Standard
27338
27339 }
27340 \end_layout
27341
27342 \end_inset
27343
27344
27345 \end_layout
27346
27347 \begin_layout Section
27348 Rotated and Scaled Boxes
27349 \end_layout
27350
27351 \begin_layout Standard
27352 To use the the commands described in this section, the LaTeX-package 
27353 \series bold
27354 graphicx
27355 \series default
27356
27357 \begin_inset LatexCommand index
27358 name "LaTeX-packages ! graphicx"
27359
27360 \end_inset
27361
27362  needs to be loaded in the document preamble with the command
27363 \end_layout
27364
27365 \begin_layout Standard
27366
27367 \series bold
27368
27369 \backslash
27370 @ifundefined{rotatebox}
27371 \newline
27372
27373 \begin_inset ERT
27374 status collapsed
27375
27376 \begin_layout Standard
27377
27378
27379 \backslash
27380 hphantom{ }
27381 \end_layout
27382
27383 \end_inset
27384
27385 {
27386 \backslash
27387 usepackage{graphicx}}{}
27388 \end_layout
27389
27390 \begin_layout Standard
27391 \begin_inset Note Greyedout
27392 status open
27393
27394 \begin_layout Standard
27395
27396 \series bold
27397 Note:
27398 \series default
27399  Some DVI-viewers can't display rotated or scaled material.
27400 \end_layout
27401
27402 \end_inset
27403
27404
27405 \end_layout
27406
27407 \begin_layout Standard
27408 \begin_inset Note Greyedout
27409 status open
27410
27411 \begin_layout Standard
27412
27413 \series bold
27414 Note:
27415 \series default
27416  Floats mustn't be inside a rotated or scaled box.
27417 \end_layout
27418
27419 \end_inset
27420
27421
27422 \end_layout
27423
27424 \begin_layout Subsection
27425 Rotated Boxes
27426 \begin_inset LatexCommand index
27427 name "Boxes ! rotated"
27428
27429 \end_inset
27430
27431
27432 \begin_inset LatexCommand index
27433 name "Rotated material"
27434
27435 \end_inset
27436
27437
27438 \begin_inset LatexCommand index
27439 name "Figures ! rotated"
27440
27441 \end_inset
27442
27443
27444 \begin_inset LatexCommand index
27445 name "Table Customization ! Rotating"
27446
27447 \end_inset
27448
27449
27450 \end_layout
27451
27452 \begin_layout Standard
27453 To rotate material, you can put it into a rotated box.
27454  Such a box is created using the command 
27455 \series bold
27456
27457 \backslash
27458 rotatebox
27459 \series default
27460  in TeX-Code with the following scheme:
27461 \end_layout
27462
27463 \begin_layout Standard
27464
27465 \series bold
27466
27467 \backslash
27468 rotatebox[rotation origin]{rotation angle}{box content}
27469 \end_layout
27470
27471 \begin_layout Standard
27472 The rotation origin is specified in the form 
27473 \series bold
27474 origin=position
27475 \series default
27476 .
27477  The following positions are possible: 
27478 \emph on
27479 c
27480 \emph default
27481  (center), 
27482 \emph on
27483 l
27484 \emph default
27485  (left), 
27486 \emph on
27487 r
27488 \emph default
27489  (right), 
27490 \emph on
27491 b
27492 \emph default
27493  (bottom), 
27494 \emph on
27495 t
27496 \emph default
27497  (top), and also expedient combinations of the four base positions.
27498  For example 
27499 \emph on
27500 lt
27501 \emph default
27502  means, that the rotation origin is at the top left corner of the box.
27503  When no rotation origin is specified, the position 
27504 \emph on
27505 l
27506 \emph default
27507  will be used.
27508  The rotation angle is a number that can be negative that specifies the
27509  angle in degrees.
27510  The rotation direction is counterclockwise.
27511 \end_layout
27512
27513 \begin_layout Standard
27514 In the following example the command 
27515 \series bold
27516
27517 \backslash
27518 rotatebox[origin=c]{60}{
27519 \series default
27520  was inserted as TeX-Code before the text 
27521 \begin_inset Quotes eld
27522 \end_inset
27523
27524 with rotated
27525 \begin_inset Quotes erd
27526 \end_inset
27527
27528 ; after the text the box was closed by a closing brace 
27529 \series bold
27530 }
27531 \series default
27532  in TeX-Code.
27533 \end_layout
27534
27535 \begin_layout Standard
27536 This is a line 
27537 \begin_inset ERT
27538 status collapsed
27539
27540 \begin_layout Standard
27541
27542
27543 \backslash
27544 rotatebox[origin=c]{60}{
27545 \end_layout
27546
27547 \end_inset
27548
27549 with rotated
27550 \begin_inset ERT
27551 status collapsed
27552
27553 \begin_layout Standard
27554
27555 }
27556 \end_layout
27557
27558 \end_inset
27559
27560  text.
27561 \end_layout
27562
27563 \begin_layout Standard
27564 The box content can also be another box or an inline formula:
27565 \end_layout
27566
27567 \begin_layout Standard
27568 This is a line
27569 \begin_inset ERT
27570 status collapsed
27571
27572 \begin_layout Standard
27573
27574
27575 \backslash
27576 rotatebox[origin=r]{-60}{
27577 \end_layout
27578
27579 \end_inset
27580
27581
27582 \begin_inset Box Doublebox
27583 position "c"
27584 hor_pos "c"
27585 has_inner_box 0
27586 inner_pos "c"
27587 use_parbox 0
27588 width "1in"
27589 special "width"
27590 height "1in"
27591 height_special "totalheight"
27592 status collapsed
27593
27594 \begin_layout Standard
27595 with rotated
27596 \end_layout
27597
27598 \end_inset
27599
27600
27601 \begin_inset ERT
27602 status collapsed
27603
27604 \begin_layout Standard
27605
27606 }
27607 \end_layout
27608
27609 \end_inset
27610
27611  framed text 
27612 \begin_inset ERT
27613 status collapsed
27614
27615 \begin_layout Standard
27616
27617
27618 \backslash
27619 rotatebox[origin=lb]{60}{
27620 \end_layout
27621
27622 \end_inset
27623
27624
27625 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27626 \end_inset
27627
27628
27629 \begin_inset ERT
27630 status collapsed
27631
27632 \begin_layout Standard
27633
27634 }
27635 \end_layout
27636
27637 \end_inset
27638
27639  and a formula.
27640 \end_layout
27641
27642 \begin_layout Standard
27643 or an image or table:
27644 \end_layout
27645
27646 \begin_layout Standard
27647 This is a line
27648 \begin_inset ERT
27649 status collapsed
27650
27651 \begin_layout Standard
27652
27653
27654 \backslash
27655 rotatebox[origin=lb]{90}{
27656 \end_layout
27657
27658 \end_inset
27659
27660
27661 \begin_inset Graphics
27662         filename clipart/platypus.eps
27663         lyxscale 50
27664         width 25col%
27665
27666 \end_inset
27667
27668
27669 \begin_inset ERT
27670 status collapsed
27671
27672 \begin_layout Standard
27673
27674 }
27675 \end_layout
27676
27677 \end_inset
27678
27679  with a rotated image 
27680 \begin_inset ERT
27681 status collapsed
27682
27683 \begin_layout Standard
27684
27685
27686 \backslash
27687 rotatebox[origin=l]{-90}{
27688 \end_layout
27689
27690 \end_inset
27691
27692
27693 \begin_inset Tabular
27694 <lyxtabular version="3" rows="2" columns="2">
27695 <features>
27696 <column alignment="center" valignment="top" leftline="true" width="0">
27697 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27698 <row topline="true">
27699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27700 \begin_inset Text
27701
27702 \begin_layout Standard
27703 q
27704 \end_layout
27705
27706 \end_inset
27707 </cell>
27708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27709 \begin_inset Text
27710
27711 \begin_layout Standard
27712 w
27713 \end_layout
27714
27715 \end_inset
27716 </cell>
27717 </row>
27718 <row topline="true" bottomline="true">
27719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27720 \begin_inset Text
27721
27722 \begin_layout Standard
27723 e
27724 \end_layout
27725
27726 \end_inset
27727 </cell>
27728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27729 \begin_inset Text
27730
27731 \begin_layout Standard
27732 r
27733 \end_layout
27734
27735 \end_inset
27736 </cell>
27737 </row>
27738 </lyxtabular>
27739
27740 \end_inset
27741
27742
27743 \begin_inset ERT
27744 status collapsed
27745
27746 \begin_layout Standard
27747
27748 }
27749 \end_layout
27750
27751 \end_inset
27752
27753  and table.
27754 \end_layout
27755
27756 \begin_layout Subsection
27757 Scaled Boxes
27758 \begin_inset LatexCommand index
27759 name "Boxes ! scaled"
27760
27761 \end_inset
27762
27763
27764 \begin_inset LatexCommand index
27765 name "Scaled material"
27766
27767 \end_inset
27768
27769
27770 \begin_inset LatexCommand index
27771 name "Figures ! scaled"
27772
27773 \end_inset
27774
27775
27776 \begin_inset LatexCommand index
27777 name "Table Customization ! Scaling"
27778
27779 \end_inset
27780
27781
27782 \end_layout
27783
27784 \begin_layout Standard
27785 To scale material the commands 
27786 \series bold
27787
27788 \backslash
27789 scalebox
27790 \series default
27791  and 
27792 \series bold
27793
27794 \backslash
27795 resizebox
27796 \series default
27797  can be used as TeX-Code.
27798 \end_layout
27799
27800 \begin_layout Standard
27801
27802 \series bold
27803
27804 \backslash
27805 scalebox
27806 \series default
27807  is used with the following scheme:
27808 \end_layout
27809
27810 \begin_layout Standard
27811
27812 \series bold
27813
27814 \backslash
27815 scalebox{horizontal}[vertical]{box content}
27816 \end_layout
27817
27818 \begin_layout Standard
27819 Horizontal and vertical are the corresponding scaling factors.
27820  If no vertical scaling factor is given, the horizontal factor will also
27821  be used as vertical one.
27822 \end_layout
27823
27824 \begin_layout Standard
27825 The command 
27826 \series bold
27827
27828 \backslash
27829 scalebox{2}{Hello}
27830 \series default
27831  creates for example a double size 
27832 \begin_inset ERT
27833 status collapsed
27834
27835 \begin_layout Standard
27836
27837
27838 \backslash
27839 scalebox{2}{
27840 \end_layout
27841
27842 \end_inset
27843
27844 Hello
27845 \begin_inset ERT
27846 status collapsed
27847
27848 \begin_layout Standard
27849
27850 }
27851 \end_layout
27852
27853 \end_inset
27854
27855 , compared to the document text size.
27856 \end_layout
27857
27858 \begin_layout Standard
27859
27860 \series bold
27861
27862 \backslash
27863 scalebox{2}[1]{Hello}
27864 \series default
27865  in contrary distorts the 
27866 \begin_inset ERT
27867 status collapsed
27868
27869 \begin_layout Standard
27870
27871
27872 \backslash
27873 scalebox{2}[1]{
27874 \end_layout
27875
27876 \end_inset
27877
27878 Hello
27879 \begin_inset ERT
27880 status collapsed
27881
27882 \begin_layout Standard
27883
27884 }
27885 \end_layout
27886
27887 \end_inset
27888
27889 .
27890 \end_layout
27891
27892 \begin_layout Standard
27893 If a the scaling factor is negative, the box content will be mirrored.
27894  Therefore the command 
27895 \series bold
27896
27897 \backslash
27898 scalebox{-1}[1]{Hello}
27899 \series default
27900  can be used to create mirror writing: 
27901 \begin_inset ERT
27902 status collapsed
27903
27904 \begin_layout Standard
27905
27906
27907 \backslash
27908 scalebox{-1}[1]{
27909 \end_layout
27910
27911 \end_inset
27912
27913 Hello
27914 \begin_inset ERT
27915 status collapsed
27916
27917 \begin_layout Standard
27918
27919 }
27920 \end_layout
27921
27922 \end_inset
27923
27924
27925 \end_layout
27926
27927 \begin_layout Standard
27928
27929 \series bold
27930
27931 \backslash
27932 scalebox{1}[-1]{Hello}
27933 \series default
27934  reflects the 
27935 \begin_inset ERT
27936 status collapsed
27937
27938 \begin_layout Standard
27939
27940
27941 \backslash
27942 scalebox{1}[-1]{
27943 \end_layout
27944
27945 \end_inset
27946
27947 Hello
27948 \begin_inset ERT
27949 status collapsed
27950
27951 \begin_layout Standard
27952
27953 }
27954 \end_layout
27955
27956 \end_inset
27957
27958  at the base line.
27959 \end_layout
27960
27961 \begin_layout Standard
27962 Equivalent to 
27963 \series bold
27964
27965 \backslash
27966 scalebox{-1}[1]{box content}
27967 \series default
27968  there exists the command
27969 \newline
27970
27971 \series bold
27972
27973 \backslash
27974 reflectbox{box content}
27975 \series default
27976 .
27977 \end_layout
27978
27979 \begin_layout Standard
27980 \begin_inset VSpace bigskip
27981 \end_inset
27982
27983 The command 
27984 \series bold
27985
27986 \backslash
27987 resizebox
27988 \series default
27989  is used to scale the box to a defined width and height.
27990  The command scheme is:
27991 \end_layout
27992
27993 \begin_layout Standard
27994
27995 \series bold
27996
27997 \backslash
27998 resizebox{width}{height}{box content}
27999 \end_layout
28000
28001 \begin_layout Standard
28002 Is one of the two command arguments given as exclamation mark 
28003 \series bold
28004 !
28005 \series default
28006 , the size is set so that the aspect ratio of the box content is kept.
28007 \end_layout
28008
28009 \begin_layout Standard
28010 The command 
28011 \series bold
28012
28013 \backslash
28014 resizebox{2cm}{1cm}{Hello}
28015 \series default
28016  produces: 
28017 \begin_inset ERT
28018 status collapsed
28019
28020 \begin_layout Standard
28021
28022
28023 \backslash
28024 resizebox{2cm}{1cm}{
28025 \end_layout
28026
28027 \end_inset
28028
28029 Hello
28030 \begin_inset ERT
28031 status collapsed
28032
28033 \begin_layout Standard
28034
28035 }
28036 \end_layout
28037
28038 \end_inset
28039
28040
28041 \newline
28042 The command 
28043 \series bold
28044
28045 \backslash
28046 resizebox{2cm}{!}{Hello}
28047 \series default
28048  produces: 
28049 \begin_inset ERT
28050 status collapsed
28051
28052 \begin_layout Standard
28053
28054
28055 \backslash
28056 resizebox{2cm}{!}{
28057 \end_layout
28058
28059 \end_inset
28060
28061 Hello
28062 \begin_inset ERT
28063 status collapsed
28064
28065 \begin_layout Standard
28066
28067 }
28068 \end_layout
28069
28070 \end_inset
28071
28072
28073 \end_layout
28074
28075 \begin_layout Standard
28076 \begin_inset VSpace bigskip
28077 \end_inset
28078
28079
28080 \begin_inset Note Greyedout
28081 status open
28082
28083 \begin_layout Standard
28084
28085 \series bold
28086 Note:
28087 \series default
28088  When arguments of 
28089 \series bold
28090
28091 \backslash
28092 scalebox
28093 \series default
28094  or 
28095 \series bold
28096
28097 \backslash
28098 resizebox
28099 \series default
28100  are set to zero, no LaTeX-errors occur when exporting the document but
28101  the exported files can not or only partly be displayed.
28102 \end_layout
28103
28104 \end_inset
28105
28106
28107 \end_layout
28108
28109 \begin_layout Standard
28110 \begin_inset VSpace bigskip
28111 \end_inset
28112
28113
28114 \end_layout
28115
28116 \begin_layout Standard
28117 The boxes can be combined in any order.
28118  E.\InsetSpace \thinspace{}
28119 g.\InsetSpace ~
28120 the command
28121 \newline
28122
28123 \series bold
28124
28125 \backslash
28126 rotatebox[origin=c]{-45}{
28127 \backslash
28128 resizebox{2cm}{!}{
28129 \backslash
28130 reflectbox{Hello}}}
28131 \newline
28132
28133 \series default
28134 produces:
28135 \end_layout
28136
28137 \begin_layout Standard
28138 \align center
28139 \begin_inset ERT
28140 status collapsed
28141
28142 \begin_layout Standard
28143
28144
28145 \backslash
28146 rotatebox[origin=c]{-45}{
28147 \backslash
28148 resizebox{2cm}{!}{
28149 \backslash
28150 reflectbox{
28151 \end_layout
28152
28153 \end_inset
28154
28155 Hello
28156 \begin_inset ERT
28157 status collapsed
28158
28159 \begin_layout Standard
28160
28161 }}}
28162 \end_layout
28163
28164 \end_inset
28165
28166
28167 \end_layout
28168
28169 \begin_layout Standard
28170 \noindent
28171 Images, tables, and inline formulas are allowed as box content:
28172 \end_layout
28173
28174 \begin_layout Standard
28175 \align center
28176 \begin_inset ERT
28177 status collapsed
28178
28179 \begin_layout Standard
28180
28181
28182 \backslash
28183 rotatebox[origin=c]{-30}{
28184 \backslash
28185 resizebox{2cm}{!}{
28186 \backslash
28187 reflectbox{
28188 \end_layout
28189
28190 \end_inset
28191
28192
28193 \begin_inset Graphics
28194         filename clipart/platypus.eps
28195         lyxscale 50
28196         width 25col%
28197
28198 \end_inset
28199
28200
28201 \begin_inset ERT
28202 status collapsed
28203
28204 \begin_layout Standard
28205
28206 }}}
28207 \end_layout
28208
28209 \end_inset
28210
28211
28212 \begin_inset ERT
28213 status collapsed
28214
28215 \begin_layout Standard
28216
28217
28218 \backslash
28219 rotatebox[origin=c]{-45}{
28220 \backslash
28221 resizebox{2cm}{!}{
28222 \backslash
28223 reflectbox{
28224 \end_layout
28225
28226 \end_inset
28227
28228
28229 \begin_inset Tabular
28230 <lyxtabular version="3" rows="2" columns="2">
28231 <features>
28232 <column alignment="center" valignment="top" leftline="true" width="0">
28233 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28234 <row topline="true">
28235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28236 \begin_inset Text
28237
28238 \begin_layout Standard
28239 q
28240 \end_layout
28241
28242 \end_inset
28243 </cell>
28244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28245 \begin_inset Text
28246
28247 \begin_layout Standard
28248 w
28249 \end_layout
28250
28251 \end_inset
28252 </cell>
28253 </row>
28254 <row topline="true" bottomline="true">
28255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28256 \begin_inset Text
28257
28258 \begin_layout Standard
28259 e
28260 \end_layout
28261
28262 \end_inset
28263 </cell>
28264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28265 \begin_inset Text
28266
28267 \begin_layout Standard
28268 r
28269 \end_layout
28270
28271 \end_inset
28272 </cell>
28273 </row>
28274 </lyxtabular>
28275
28276 \end_inset
28277
28278
28279 \begin_inset ERT
28280 status collapsed
28281
28282 \begin_layout Standard
28283
28284 }}}
28285 \end_layout
28286
28287 \end_inset
28288
28289
28290 \begin_inset ERT
28291 status collapsed
28292
28293 \begin_layout Standard
28294
28295
28296 \backslash
28297 rotatebox[origin=c]{-45}{
28298 \backslash
28299 resizebox{2cm}{!}{
28300 \backslash
28301 reflectbox{
28302 \end_layout
28303
28304 \end_inset
28305
28306
28307 \begin_inset Formula $\int A\,\mathrm{d}x=B$
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 \end_layout
28323
28324 \begin_layout Standard
28325 When the global formula style 
28326 \series bold
28327 fleqn
28328 \series default
28329  is used in the document
28330 \begin_inset Foot
28331 status collapsed
28332
28333 \begin_layout Standard
28334 When 
28335 \begin_inset Quotes eld
28336 \end_inset
28337
28338 fleqn
28339 \begin_inset Quotes erd
28340 \end_inset
28341
28342  is added to the document class options.
28343 \end_layout
28344
28345 \end_inset
28346
28347 , also display formulas can be scaled.
28348 \end_layout
28349
28350 \begin_layout Section
28351 URLs (Uniform Resource Locators)
28352 \begin_inset LatexCommand index
28353 name "URLs"
28354
28355 \end_inset
28356
28357
28358 \end_layout
28359
28360 \begin_layout Standard
28361 Links to web pages or email addresses can be inserted via the menu 
28362 \family sans
28363 Insert\SpecialChar \menuseparator
28364 URL
28365 \family default
28366 .
28367  The appearing URL dialog has two fields; the 
28368 \family sans
28369 URL
28370 \family default
28371  field and the 
28372 \family sans
28373 Name
28374 \family default
28375  field for the URL description, which will be typeset as plain text immediately
28376  before the URL.
28377 \end_layout
28378
28379 \begin_layout Standard
28380 Here is an example URL: 
28381 \begin_inset LatexCommand url
28382 name "LyX's homepage"
28383 target "http://www.lyx.org"
28384
28385 \end_inset
28386
28387
28388 \end_layout
28389
28390 \begin_layout Standard
28391 The option 
28392 \family sans
28393 Generate\InsetSpace ~
28394 hyperlink
28395 \family default
28396  in the URL dialog does nothing.
28397  This relict will be removed in the next LyX-version.
28398 \end_layout
28399
28400 \begin_layout Standard
28401 You cannot change the style of the link text.
28402  The text of the 
28403 \family sans
28404 Name
28405 \family default
28406  field will have the default text style of the document while the text of
28407  the 
28408 \family sans
28409 URL
28410 \family default
28411  field will have the style 
28412 \begin_inset Quotes eld
28413 \end_inset
28414
28415
28416 \family sans
28417 Typewriter
28418 \family default
28419
28420 \begin_inset Quotes erd
28421 \end_inset
28422
28423 .
28424 \end_layout
28425
28426 \begin_layout Standard
28427 When you use the LaTeX-package 
28428 \series bold
28429 hyperref
28430 \series default
28431
28432 \begin_inset LatexCommand index
28433 name "LaTeX-packages ! hyperref"
28434
28435 \end_inset
28436
28437  to link cross-references in the output, URLs will automatically become
28438  clickable hyperlinks in DVI and PDF-output.
28439 \end_layout
28440
28441 \begin_layout Standard
28442 \begin_inset Note Greyedout
28443 status open
28444
28445 \begin_layout Standard
28446
28447 \series bold
28448 Note:
28449 \series default
28450  When you use the following characters: "%", "#", "^", you have to write
28451  them with a preceding backslash, e.\InsetSpace \thinspace{}
28452 g.\InsetSpace ~
28453
28454 \begin_inset Quotes eld
28455 \end_inset
28456
28457
28458 \backslash
28459 #
28460 \begin_inset Quotes erd
28461 \end_inset
28462
28463 .
28464  URLs must not end with a backslash.
28465 \end_layout
28466
28467 \end_inset
28468
28469
28470 \end_layout
28471
28472 \begin_layout Standard
28473 \begin_inset VSpace bigskip
28474 \end_inset
28475
28476 To create real hyperlinks without the force to write the link location to
28477  the text, you can use the command
28478 \end_layout
28479
28480 \begin_layout Standard
28481
28482 \series bold
28483
28484 \backslash
28485 href{link location}{link text}
28486 \end_layout
28487
28488 \begin_layout Standard
28489 in TeX-Code.
28490  To get for example a link to LyX's web page, write the command
28491 \end_layout
28492
28493 \begin_layout Standard
28494
28495 \series bold
28496
28497 \backslash
28498 href{http://www.lyx.org}{
28499 \end_layout
28500
28501 \begin_layout Standard
28502 in TeX-Code.
28503  Insert after the command the link text 
28504 \begin_inset Quotes eld
28505 \end_inset
28506
28507 LyX's homepage
28508 \begin_inset Quotes erd
28509 \end_inset
28510
28511  as normal text followed by a closing brace 
28512 \begin_inset Quotes eld
28513 \end_inset
28514
28515
28516 \series bold
28517 }
28518 \series default
28519
28520 \begin_inset Quotes erd
28521 \end_inset
28522
28523  in TeX-Code.
28524  This is the result: 
28525 \begin_inset ERT
28526 status collapsed
28527
28528 \begin_layout Standard
28529
28530
28531 \backslash
28532 href{http://www.lyx.org}{
28533 \end_layout
28534
28535 \end_inset
28536
28537 LyX's homepage
28538 \begin_inset ERT
28539 status collapsed
28540
28541 \begin_layout Standard
28542
28543 }
28544 \end_layout
28545
28546 \end_inset
28547
28548
28549 \end_layout
28550
28551 \begin_layout Standard
28552 To link to email addresses, add the prefix 
28553 \begin_inset Quotes eld
28554 \end_inset
28555
28556
28557 \family sans
28558 mailto:
28559 \family default
28560
28561 \begin_inset Quotes erd
28562 \end_inset
28563
28564  to the link location:
28565 \newline
28566 Email to 
28567 \begin_inset ERT
28568 status collapsed
28569
28570 \begin_layout Standard
28571
28572
28573 \backslash
28574 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
28575 \end_layout
28576
28577 \end_inset
28578
28579 lyx-docs mailing list
28580 \begin_inset ERT
28581 status collapsed
28582
28583 \begin_layout Standard
28584
28585 }
28586 \end_layout
28587
28588 \end_inset
28589
28590 .
28591 \end_layout
28592
28593 \begin_layout Standard
28594 Using 
28595 \series bold
28596
28597 \backslash
28598 href
28599 \series default
28600  instead of LyX's URL box has the advantage that you can specify the text
28601  style of the link text like for all other text parts.
28602  You can then set hyphenation points and forced linebreaks to have long
28603  link text broken at the page margin.
28604  You are furthermore able to change the text style for all URLs in your
28605  document with an option in 
28606 \series bold
28607 hyperref
28608 \series default
28609 's load command and the restrictions mentioned above doesn't apply for 
28610 \series bold
28611
28612 \backslash
28613 href
28614 \series default
28615 .
28616 \end_layout
28617
28618 \begin_layout Chapter
28619 External Stuff
28620 \begin_inset LatexCommand index
28621 name "External Stuff"
28622
28623 \end_inset
28624
28625
28626 \end_layout
28627
28628 \begin_layout Standard
28629 With the menu 
28630 \family sans
28631 Insert\SpecialChar \menuseparator
28632 File
28633 \family default
28634  you can insert external material to your document.
28635  This can be:
28636 \end_layout
28637
28638 \begin_layout Description
28639 LyX\InsetSpace ~
28640 Document Another LyX document; its content is directly inserted to your
28641  document.
28642 \end_layout
28643
28644 \begin_layout Description
28645 Plain\InsetSpace ~
28646 Text A text document; every of its text lines is inserted to your document
28647  as own paragraph.
28648 \end_layout
28649
28650 \begin_layout Description
28651 Plain\InsetSpace ~
28652 Text,\InsetSpace ~
28653 Join\InsetSpace ~
28654 Lines A text document; its text lines are inserted as they
28655  are.
28656  Empty text lines creates a new paragraph in your document.
28657 \end_layout
28658
28659 \begin_layout Description
28660 External\InsetSpace ~
28661 Material Files in various formats.
28662 \end_layout
28663
28664 \begin_layout Description
28665 Child\InsetSpace ~
28666 Document LyX or LaTeX-documents.
28667 \end_layout
28668
28669 \begin_layout Section
28670 External Material
28671 \begin_inset LatexCommand index
28672 name "External Stuff ! External Material"
28673
28674 \end_inset
28675
28676
28677 \end_layout
28678
28679 \begin_layout Standard
28680 The external material feature allows you to insert files to your document
28681  without converting them previously to a format that can be read by the
28682  document output format because LyX takes care of needed conversions.
28683  This is similar to images that can be inserted in various image formats
28684  to LyX documents.
28685 \end_layout
28686
28687 \begin_layout Standard
28688 External material can be inserted via the 
28689 \family sans
28690 External Material
28691 \family default
28692  dialog that is accessible with the menu 
28693 \family sans
28694 Insert\SpecialChar \menuseparator
28695 File\SpecialChar \menuseparator
28696 External\InsetSpace ~
28697 Material
28698 \family default
28699 .
28700  Currently the following file types (
28701 \family sans
28702 Templates
28703 \family default
28704 ) are allowed:
28705 \end_layout
28706
28707 \begin_layout Description
28708 ChessDiagram This template supports chess position diagrams made with the
28709  program 
28710 \begin_inset ERT
28711 status collapsed
28712
28713 \begin_layout Standard
28714
28715
28716 \backslash
28717 href{http://en.wikipedia.org/wiki/XBoard}{
28718 \end_layout
28719
28720 \end_inset
28721
28722
28723 \series bold
28724 XBoard
28725 \series default
28726
28727 \begin_inset ERT
28728 status collapsed
28729
28730 \begin_layout Standard
28731
28732 }
28733 \end_layout
28734
28735 \end_inset
28736
28737 .
28738 \end_layout
28739
28740 \begin_layout Description
28741 Date This inserts the date in the form 
28742 \emph on
28743 Day-Month-Year
28744 \emph default
28745 .
28746  This is a date inserted as external material: 
28747 \begin_inset External
28748         template Date
28749         filename .
28750
28751 \end_inset
28752
28753
28754 \newline
28755 The date is not shown within LyX, only in the output.
28756  There are two other methods of inserting a date: Via menu 
28757 \family sans
28758 Insert\SpecialChar \menuseparator
28759 Date
28760 \family default
28761  and with the LaTeX command 
28762 \series bold
28763
28764 \backslash
28765 today
28766 \series default
28767  as TeX-Code.
28768  The different methods are compared in Table\InsetSpace ~
28769
28770 \begin_inset LatexCommand ref
28771 reference "tab:Comparison-of-the"
28772
28773 \end_inset
28774
28775 .
28776 \end_layout
28777
28778 \begin_layout Description
28779 LilyPond This template is used for music notation typeset with the program
28780 \begin_inset ERT
28781 status collapsed
28782
28783 \begin_layout Standard
28784
28785
28786 \backslash
28787 linebreak 
28788 \end_layout
28789
28790 \end_inset
28791
28792
28793 \begin_inset ERT
28794 status collapsed
28795
28796 \begin_layout Standard
28797
28798
28799 \backslash
28800 href{http://en.wikipedia.org/wiki/LilyPond}{
28801 \end_layout
28802
28803 \end_inset
28804
28805
28806 \series bold
28807 LilyPond
28808 \series default
28809
28810 \begin_inset ERT
28811 status collapsed
28812
28813 \begin_layout Standard
28814
28815 }
28816 \end_layout
28817
28818 \end_inset
28819
28820 .
28821 \begin_inset Note Note
28822 status collapsed
28823
28824 \begin_layout Standard
28825 The command 
28826 \series bold
28827
28828 \backslash
28829 linebreak
28830 \series default
28831  breaks the line while the remaining text in the line is stretched to the
28832  page margin.
28833 \end_layout
28834
28835 \end_inset
28836
28837
28838 \end_layout
28839
28840 \begin_layout Description
28841 RasterImage This can be used for bitmap images.
28842  Nearly all popular image formats are supported.
28843  The image can be treated in the 
28844 \family sans
28845 External material
28846 \family default
28847  dialog like the images that are usually included via the 
28848 \family sans
28849 Graphics
28850 \family default
28851  dialog as described in section\InsetSpace ~
28852
28853 \begin_inset LatexCommand ref
28854 reference "sec:Graphics-Dialog"
28855
28856 \end_inset
28857
28858 .
28859  The difference is that only raster images are allowed, that means that
28860  PDF and EPS-images are not supported.
28861 \end_layout
28862
28863 \begin_layout Description
28864 XFig This template supports images created with the program 
28865 \begin_inset ERT
28866 status collapsed
28867
28868 \begin_layout Standard
28869
28870
28871 \backslash
28872 href{http://en.wikipedia.org/wiki/Xfig}{
28873 \end_layout
28874
28875 \end_inset
28876
28877
28878 \series bold
28879 Xfig
28880 \series default
28881
28882 \begin_inset ERT
28883 status collapsed
28884
28885 \begin_layout Standard
28886
28887 }
28888 \end_layout
28889
28890 \end_inset
28891
28892 .
28893 \end_layout
28894
28895 \begin_layout Standard
28896 \begin_inset Float table
28897 placement h
28898 wide false
28899 sideways false
28900 status open
28901
28902 \begin_layout Standard
28903 \begin_inset Caption
28904
28905 \begin_layout Standard
28906 \begin_inset LatexCommand label
28907 name "tab:Comparison-of-the"
28908
28909 \end_inset
28910
28911 Comparison of the date input methods.
28912 \end_layout
28913
28914 \end_inset
28915
28916
28917 \end_layout
28918
28919 \begin_layout Standard
28920 \align center
28921 \begin_inset Tabular
28922 <lyxtabular version="3" rows="4" columns="4">
28923 <features>
28924 <column alignment="center" valignment="top" leftline="true" width="0">
28925 <column alignment="center" valignment="top" leftline="true" width="0">
28926 <column alignment="center" valignment="top" leftline="true" width="0">
28927 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28928 <row topline="true">
28929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28930 \begin_inset Text
28931
28932 \begin_layout Standard
28933 Document format
28934 \end_layout
28935
28936 \end_inset
28937 </cell>
28938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28939 \begin_inset Text
28940
28941 \begin_layout Standard
28942
28943 \family sans
28944 External Material\SpecialChar \menuseparator
28945 Date
28946 \end_layout
28947
28948 \end_inset
28949 </cell>
28950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28951 \begin_inset Text
28952
28953 \begin_layout Standard
28954
28955 \family sans
28956 Insert\SpecialChar \menuseparator
28957 Date
28958 \end_layout
28959
28960 \end_inset
28961 </cell>
28962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28963 \begin_inset Text
28964
28965 \begin_layout Standard
28966 command 
28967 \series bold
28968
28969 \backslash
28970 today
28971 \end_layout
28972
28973 \end_inset
28974 </cell>
28975 </row>
28976 <row topline="true">
28977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28978 \begin_inset Text
28979
28980 \begin_layout Standard
28981 LyX
28982 \end_layout
28983
28984 \end_inset
28985 </cell>
28986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28987 \begin_inset Text
28988
28989 \begin_layout Standard
28990 as inset box
28991 \end_layout
28992
28993 \end_inset
28994 </cell>
28995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28996 \begin_inset Text
28997
28998 \begin_layout Standard
28999 as date
29000 \end_layout
29001
29002 \end_inset
29003 </cell>
29004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29005 \begin_inset Text
29006
29007 \begin_layout Standard
29008 as TeX-Code inset box
29009 \end_layout
29010
29011 \end_inset
29012 </cell>
29013 </row>
29014 <row topline="true">
29015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29016 \begin_inset Text
29017
29018 \begin_layout Standard
29019 LaTeX
29020 \end_layout
29021
29022 \end_inset
29023 </cell>
29024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29025 \begin_inset Text
29026
29027 \begin_layout Standard
29028 as date
29029 \end_layout
29030
29031 \end_inset
29032 </cell>
29033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29034 \begin_inset Text
29035
29036 \begin_layout Standard
29037 as date
29038 \end_layout
29039
29040 \end_inset
29041 </cell>
29042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29043 \begin_inset Text
29044
29045 \begin_layout Standard
29046 as command
29047 \end_layout
29048
29049 \end_inset
29050 </cell>
29051 </row>
29052 <row topline="true" bottomline="true">
29053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29054 \begin_inset Text
29055
29056 \begin_layout Standard
29057 DVI, PDF, PS
29058 \end_layout
29059
29060 \end_inset
29061 </cell>
29062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29063 \begin_inset Text
29064
29065 \begin_layout Standard
29066 as date
29067 \end_layout
29068
29069 \end_inset
29070 </cell>
29071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29072 \begin_inset Text
29073
29074 \begin_layout Standard
29075 as date
29076 \end_layout
29077
29078 \end_inset
29079 </cell>
29080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29081 \begin_inset Text
29082
29083 \begin_layout Standard
29084 as date
29085 \end_layout
29086
29087 \end_inset
29088 </cell>
29089 </row>
29090 </lyxtabular>
29091
29092 \end_inset
29093
29094
29095 \end_layout
29096
29097 \end_inset
29098
29099
29100 \end_layout
29101
29102 \begin_layout Standard
29103 When you use the option 
29104 \family sans
29105 Draft
29106 \family default
29107  in the 
29108 \family sans
29109 File
29110 \family default
29111  tab of the 
29112 \family sans
29113 External Material
29114 \family default
29115  dialog, only the path to the inserted file is shown in the output.
29116 \newline
29117 External
29118  material is displayed in LyX either as box like this: 
29119 \begin_inset Graphics
29120         filename clipart/ExternalMaterialQt4.png
29121         scale 85
29122         scaleBeforeRotation
29123
29124 \end_inset
29125
29126  or as image, depending on the setting in the 
29127 \family sans
29128 LyX\InsetSpace ~
29129 View
29130 \family default
29131  tab of the 
29132 \family sans
29133 External Material
29134 \family default
29135  dialog.
29136 \end_layout
29137
29138 \begin_layout Standard
29139 The 
29140 \family sans
29141 \emph on
29142 Customization
29143 \family default
29144 \emph default
29145  manual explains how you can define your own templates.
29146 \end_layout
29147
29148 \begin_layout Section
29149 Child Documents
29150 \begin_inset LatexCommand label
29151 name "sec:Child-Documents"
29152
29153 \end_inset
29154
29155
29156 \begin_inset LatexCommand index
29157 name "External Stuff ! Child Documents"
29158
29159 \end_inset
29160
29161
29162 \begin_inset LatexCommand index
29163 name "Files ! Include"
29164
29165 \end_inset
29166
29167
29168 \end_layout
29169
29170 \begin_layout Standard
29171 Child documents are used when you have a long document consisting of several
29172  larger parts or sections.
29173  For maintenance it is often useful and sometimes even required to split
29174  the document in several files that can be revised separately.
29175  The different documents are then the so called child documents and a master
29176  document connects them to print the full document or parts of it.
29177 \end_layout
29178
29179 \begin_layout Standard
29180 Included documents are displayed in LyX as a box like this: 
29181 \begin_inset Graphics
29182         filename clipart/ChildDocumentQt4.png
29183         scale 85
29184         scaleBeforeRotation
29185
29186 \end_inset
29187
29188  To include child documents to a master document use the menu 
29189 \family sans
29190 Insert\SpecialChar \menuseparator
29191 File\SpecialChar \menuseparator
29192 Child\InsetSpace ~
29193 Documents
29194 \family default
29195 .
29196  A dialog pops up where you can choose between four include methods:
29197 \end_layout
29198
29199 \begin_layout Description
29200 Include You can include LyX and LaTeX-documents.
29201  When you press the 
29202 \family sans
29203 Load
29204 \family default
29205  button in the 
29206 \family sans
29207 Child Document
29208 \family default
29209  dialog, the included documents will be opened in LyX in a new file tab
29210  so that you can modify it.
29211 \newline
29212
29213 \end_layout
29214
29215 \begin_layout Standard
29216 Here is a child document inserted using 
29217 \family sans
29218 Include
29219 \family default
29220
29221 \begin_inset Include \include{DummyDocument1.lyx}
29222 preview false
29223
29224 \end_inset
29225
29226
29227 \end_layout
29228
29229 \begin_layout Standard
29230 The section numbering includes the sections of the included files in the
29231  order they are inserted in the master document.
29232  The included example document has for example a subsection that is numbered
29233  as subsection of this section.
29234  Labels of included documents can be referenced: Subsection\InsetSpace ~
29235
29236 \begin_inset LatexCommand ref
29237 reference "sub:External-Subsection-1"
29238
29239 \end_inset
29240
29241
29242 \end_layout
29243
29244 \begin_layout Standard
29245 The preamble of the child document is ignored, only the preamble of the
29246  master document is used.
29247  Included documents are inserted starting on a new page and end with a pagebreak.
29248 \end_layout
29249
29250 \begin_layout Standard
29251 With the LaTeX-command 
29252 \series bold
29253
29254 \backslash
29255 includeonly 
29256 \series default
29257 you can specify which included child documents are processed when the output
29258  is generated.
29259  This is useful when you are perhaps only working on a certain chapter of
29260  your large document as this saves compiling time.
29261  
29262 \series bold
29263
29264 \backslash
29265 includeonly
29266 \series default
29267  is inserted to the master document preamble.
29268  It takes a comma-separated list of the filenames as argument, e.g.
29269 \end_layout
29270
29271 \begin_layout Standard
29272
29273 \series bold
29274
29275 \backslash
29276 includeonly{chapter1,chapter5}
29277 \end_layout
29278
29279 \begin_layout Standard
29280 will only process the included files named 
29281 \begin_inset Quotes eld
29282 \end_inset
29283
29284 chapter1.lyx
29285 \begin_inset Quotes erd
29286 \end_inset
29287
29288  (or 
29289 \begin_inset Quotes eld
29290 \end_inset
29291
29292 chapter1.tex
29293 \begin_inset Quotes erd
29294 \end_inset
29295
29296 ) and 
29297 \begin_inset Quotes eld
29298 \end_inset
29299
29300 chapter5.lyx
29301 \begin_inset Quotes erd
29302 \end_inset
29303
29304  .
29305 \end_layout
29306
29307 \begin_layout Standard
29308 \begin_inset Note Greyedout
29309 status open
29310
29311 \begin_layout Standard
29312
29313 \series bold
29314 Note:
29315 \series default
29316  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29317 w the document in case that the child document uses another document class
29318  than the master document as this will lead to unexpected outputs.
29319 \end_layout
29320
29321 \end_inset
29322
29323
29324 \end_layout
29325
29326 \begin_layout Description
29327 Input This method is very similar to the Include method.
29328  The differences are:
29329 \end_layout
29330
29331 \begin_deeper
29332 \begin_layout Itemize
29333 Input files don't start with a new page and don't end with a pagebreak.
29334 \end_layout
29335
29336 \begin_layout Itemize
29337 Input files can be previewed in LyX when 
29338 \family sans
29339 Instant\InsetSpace ~
29340 Preview
29341 \family default
29342  is enabled in LyX's preferences under 
29343 \family sans
29344 Look\InsetSpace ~
29345 and\InsetSpace ~
29346 feel\SpecialChar \menuseparator
29347 Graphics
29348 \family default
29349 .
29350 \end_layout
29351
29352 \begin_layout Itemize
29353 The LaTeX-command 
29354 \series bold
29355
29356 \backslash
29357 includeonly
29358 \series default
29359  cannot be used.
29360 \end_layout
29361
29362 \end_deeper
29363 \begin_layout Standard
29364 Here is a child document inserted using 
29365 \family sans
29366 Input
29367 \family default
29368
29369 \begin_inset Include \input{DummyDocument2.lyx}
29370 preview false
29371
29372 \end_inset
29373
29374
29375 \end_layout
29376
29377 \begin_layout Description
29378 Verbatim With this method every text file can be included.
29379  The file is shown in the output with its source code, no command used in
29380  the text is invoked.
29381  You can use the option 
29382 \family sans
29383 Mark spaces in output
29384 \family default
29385  that displays the character 
29386 \begin_inset Quotes eld
29387 \end_inset
29388
29389
29390 \begin_inset ERT
29391 status collapsed
29392
29393 \begin_layout Standard
29394
29395
29396 \backslash
29397 textvisiblespace 
29398 \end_layout
29399
29400 \end_inset
29401
29402
29403 \begin_inset Quotes erd
29404 \end_inset
29405
29406  for every space character in the source code.
29407  The difference to the method via the menu 
29408 \family sans
29409 Insert\SpecialChar \menuseparator
29410 File\SpecialChar \menuseparator
29411 Plain\InsetSpace ~
29412 Text
29413 \family default
29414  is that the document content is not shown in LyX.
29415 \end_layout
29416
29417 \begin_layout Standard
29418 Here is a child document inserted as Verbatim: 
29419 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29420 preview false
29421
29422 \end_inset
29423
29424
29425 \begin_inset VSpace bigskip
29426 \end_inset
29427
29428 Here is a child document inserted as Verbatim using the 
29429 \family sans
29430 Mark spaces in output
29431 \family default
29432  option: 
29433 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29434 preview false
29435
29436 \end_inset
29437
29438
29439 \end_layout
29440
29441 \begin_layout Standard
29442 \begin_inset VSpace bigskip
29443 \end_inset
29444
29445
29446 \end_layout
29447
29448 \begin_layout Standard
29449 \begin_inset Note Greyedout
29450 status open
29451
29452 \begin_layout Standard
29453
29454 \series bold
29455 Note:
29456 \series default
29457  As you can see in the examples above, the text of the documents included
29458  as 
29459 \family sans
29460 verbatim
29461 \family default
29462  is not broken at the end of the document lines.
29463 \end_layout
29464
29465 \end_inset
29466
29467
29468 \end_layout
29469
29470 \begin_layout Description
29471 Listings This type is described in chapter\InsetSpace ~
29472
29473 \begin_inset LatexCommand ref
29474 reference "cha:Program-Code-Listings"
29475
29476 \end_inset
29477
29478 .
29479 \end_layout
29480
29481 \begin_layout Standard
29482 \begin_inset Note Greyedout
29483 status open
29484
29485 \begin_layout Standard
29486
29487 \series bold
29488 Note:
29489 \series default
29490  Including the same document twice in a document using different methods
29491  could cause LaTeX-problems.
29492 \end_layout
29493
29494 \end_inset
29495
29496
29497 \end_layout
29498
29499 \begin_layout Chapter
29500 Program Code Listings
29501 \begin_inset LatexCommand label
29502 name "cha:Program-Code-Listings"
29503
29504 \end_inset
29505
29506
29507 \begin_inset LatexCommand index
29508 name "Listings"
29509
29510 \end_inset
29511
29512
29513 \begin_inset LatexCommand index
29514 name "Program Code"
29515
29516 \end_inset
29517
29518
29519 \begin_inset LatexCommand index
29520 name "Floats ! Listings"
29521
29522 \end_inset
29523
29524
29525 \end_layout
29526
29527 \begin_layout Standard
29528 To include and typeset program code you can use the 
29529 \family sans
29530 Listings
29531 \family default
29532  inset that can be inserted via the menu 
29533 \family sans
29534 Insert\SpecialChar \menuseparator
29535 Program Listing
29536 \family default
29537 .
29538  The LaTeX-package 
29539 \series bold
29540 listings
29541 \series default
29542
29543 \begin_inset LatexCommand index
29544 name "LaTeX-packages ! listings"
29545
29546 \end_inset
29547
29548  provides a powerful and flexible way to insert program source code to your
29549  document.
29550 \end_layout
29551
29552 \begin_layout Standard
29553 When right-clicking on a listings inset a dialog pops up where you can set
29554  the listings format.
29555 \end_layout
29556
29557 \begin_layout Standard
29558 By default, a listing starts a new paragraph in the output.
29559  The placement option 
29560 \family sans
29561 Inline\InsetSpace ~
29562 listing
29563 \family default
29564  prints the listing inline like this: 
29565 \begin_inset listings
29566 lstparams "language={C++}"
29567 inline true
29568 status open
29569
29570 \begin_layout Standard
29571
29572 int a=5;
29573 \end_layout
29574
29575 \end_inset
29576
29577
29578 \newline
29579 The option 
29580 \family sans
29581 Float
29582 \family default
29583  creates a listings float where you can specify the placement options 
29584 \begin_inset Quotes eld
29585 \end_inset
29586
29587
29588 \family sans
29589 h
29590 \family default
29591
29592 \begin_inset Quotes erd
29593 \end_inset
29594
29595
29596 \begin_inset Quotes eld
29597 \end_inset
29598
29599
29600 \family sans
29601 t
29602 \family default
29603
29604 \begin_inset Quotes erd
29605 \end_inset
29606
29607
29608 \begin_inset Quotes eld
29609 \end_inset
29610
29611
29612 \family sans
29613 b
29614 \family default
29615
29616 \begin_inset Quotes erd
29617 \end_inset
29618
29619 , and 
29620 \begin_inset Quotes eld
29621 \end_inset
29622
29623
29624 \family sans
29625 p
29626 \family default
29627
29628 \begin_inset Quotes erd
29629 \end_inset
29630
29631  corresponding to the float placement options described in section\InsetSpace ~
29632
29633 \begin_inset LatexCommand ref
29634 reference "sec:Float-Placement"
29635
29636 \end_inset
29637
29638 .
29639  The placement options can be mixed and are inserted without any separation,
29640  e.\InsetSpace \thinspace{}
29641 g.\InsetSpace ~
29642
29643 \begin_inset Quotes eld
29644 \end_inset
29645
29646
29647 \family sans
29648 htbp
29649 \family default
29650
29651 \begin_inset Quotes erd
29652 \end_inset
29653
29654 .
29655  The option 
29656 \begin_inset Quotes eld
29657 \end_inset
29658
29659 h
29660 \begin_inset Quotes erd
29661 \end_inset
29662
29663  has sometimes no effect, but you don't need to use the 
29664 \family sans
29665 Float
29666 \family default
29667  option in this case as also non-float listings can have captions and be
29668  referenced.
29669 \end_layout
29670
29671 \begin_layout Standard
29672 You can add captions to listings with the menu 
29673 \family sans
29674 Insert\SpecialChar \menuseparator
29675 Caption
29676 \family default
29677 .
29678  Listings can be referenced like floats: Listing\InsetSpace ~
29679
29680 \begin_inset LatexCommand ref
29681 reference "lst:Example-Listing"
29682
29683 \end_inset
29684
29685
29686 \end_layout
29687
29688 \begin_layout Standard
29689 \begin_inset listings
29690 lstparams "language=Python"
29691 inline false
29692 status open
29693
29694 \begin_layout Standard
29695
29696 \begin_inset Caption
29697
29698 \begin_layout Standard
29699 \begin_inset LatexCommand label
29700 name "lst:Example-Listing"
29701
29702 \end_inset
29703
29704 Example Listing float
29705 \end_layout
29706
29707 \end_inset
29708
29709 # Example listing float
29710 \end_layout
29711
29712 \begin_layout Standard
29713
29714 def func(param):
29715 \end_layout
29716
29717 \begin_layout Standard
29718
29719     'this is a python function'
29720 \end_layout
29721
29722 \begin_layout Standard
29723
29724     pass
29725 \end_layout
29726
29727 \end_inset
29728
29729
29730 \end_layout
29731
29732 \begin_layout Standard
29733 When you have set a programming language in the listings dialog, the keywords
29734  of this language will be recognized and specially typeset in the output.
29735  In the example listings the Python keyword 
29736 \begin_inset Quotes eld
29737 \end_inset
29738
29739 def
29740 \begin_inset Quotes erd
29741 \end_inset
29742
29743  is recognized and printed bold in the output.
29744 \end_layout
29745
29746 \begin_layout Standard
29747 \begin_inset Note Greyedout
29748 status open
29749
29750 \begin_layout Standard
29751
29752 \series bold
29753 Note:
29754 \series default
29755  If you don't get bold keywords when using typewriter fonts, your typewriter
29756  font probably doesn't provide a bold shape.
29757  In this case select a different one in the menu 
29758 \family sans
29759 Document\SpecialChar \menuseparator
29760 Settings\SpecialChar \menuseparator
29761 Fonts
29762 \family default
29763 .
29764  (The fonts 
29765 \emph on
29766 LuxiMono, BeraMono
29767 \emph default
29768  and 
29769 \emph on
29770 Courier
29771 \emph default
29772  provide bold shapes.)
29773 \end_layout
29774
29775 \end_inset
29776
29777
29778 \end_layout
29779
29780 \begin_layout Standard
29781 In section 
29782 \family sans
29783 Line\InsetSpace ~
29784 numbering
29785 \family default
29786  of the listings dialog you can specify the line numbering style.
29787  You can insert a number to specify which lines are numbered to the field
29788  
29789 \family sans
29790 Step
29791 \family default
29792 .
29793  When you insert e.g.
29794  
29795 \begin_inset Quotes eld
29796 \end_inset
29797
29798 3
29799 \begin_inset Quotes erd
29800 \end_inset
29801
29802 , only every 3rd line will be numbered.
29803 \end_layout
29804
29805 \begin_layout Standard
29806 You can furthermore specify a range of lines, only these will then appear
29807  in the output.
29808  The option 
29809 \family sans
29810 Extended\InsetSpace ~
29811 chars
29812 \family default
29813  should be used when you use national characters like the German umlauts
29814  in the listing.
29815 \newline
29816 Here is an example listing with left line numbering, step
29817  
29818 \begin_inset Quotes eld
29819 \end_inset
29820
29821 3
29822 \begin_inset Quotes erd
29823 \end_inset
29824
29825 , language 
29826 \begin_inset Quotes eld
29827 \end_inset
29828
29829 Python
29830 \begin_inset Quotes erd
29831 \end_inset
29832
29833 , options 
29834 \begin_inset Quotes eld
29835 \end_inset
29836
29837 Extended\InsetSpace ~
29838 chars
29839 \begin_inset Quotes erd
29840 \end_inset
29841
29842  and 
29843 \begin_inset Quotes eld
29844 \end_inset
29845
29846 Space\InsetSpace ~
29847 as\InsetSpace ~
29848 Symbol
29849 \begin_inset Quotes erd
29850 \end_inset
29851
29852 , range lines 3\InsetSpace \thinspace{}
29853 -\InsetSpace \thinspace{}
29854 8:
29855 \end_layout
29856
29857 \begin_layout Standard
29858 \begin_inset listings
29859 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
29860 inline false
29861 status open
29862
29863 \begin_layout Standard
29864
29865 def func(param):
29866 \end_layout
29867
29868 \begin_layout Standard
29869
29870     'this is a python function'
29871 \end_layout
29872
29873 \begin_layout Standard
29874
29875     pass
29876 \end_layout
29877
29878 \begin_layout Standard
29879
29880 def func(param):
29881 \end_layout
29882
29883 \begin_layout Standard
29884
29885 'This is a German word: Tschüß'
29886 \end_layout
29887
29888 \begin_layout Standard
29889
29890 pass
29891 \end_layout
29892
29893 \begin_layout Standard
29894
29895 def func(param):
29896 \end_layout
29897
29898 \begin_layout Standard
29899
29900 'this is a python function'
29901 \end_layout
29902
29903 \begin_layout Standard
29904
29905 pass
29906 \end_layout
29907
29908 \end_inset
29909
29910
29911 \end_layout
29912
29913 \begin_layout Standard
29914 \begin_inset Note Greyedout
29915 status open
29916
29917 \begin_layout Standard
29918
29919 \series bold
29920 Note:
29921 \series default
29922  Due to a bug in the 
29923 \series bold
29924 listings
29925 \series default
29926  package the line numbering is shifted by a line by every previous listing.
29927  That's the reason why the lines 2 and 5 are numbered in the above listing
29928  and not the lines 3 and 6.
29929 \end_layout
29930
29931 \end_inset
29932
29933
29934 \end_layout
29935
29936 \begin_layout Standard
29937 \begin_inset VSpace bigskip
29938 \end_inset
29939
29940
29941 \end_layout
29942
29943 \begin_layout Standard
29944 It is also possible to print lines from a file as listing.
29945  To do this, use the menu 
29946 \family sans
29947 Insert\SpecialChar \menuseparator
29948 File\SpecialChar \menuseparator
29949 Child Document
29950 \family default
29951  and choose the type 
29952 \family sans
29953 Listings
29954 \family default
29955 .
29956 \begin_inset Foot
29957 status collapsed
29958
29959 \begin_layout Standard
29960 The other child document types are described in section\InsetSpace ~
29961
29962 \begin_inset LatexCommand ref
29963 reference "sec:Child-Documents"
29964
29965 \end_inset
29966
29967 .
29968 \end_layout
29969
29970 \end_inset
29971
29972  In the child document dialog you can specify the listing parameters in
29973  a text box.
29974  To show a list of all available parameters, type in a question mark 
29975 \begin_inset Quotes eld
29976 \end_inset
29977
29978 ?
29979 \begin_inset Quotes erd
29980 \end_inset
29981
29982  in the text box.
29983 \end_layout
29984
29985 \begin_layout Standard
29986 To reference child document listings, write a label text into the corresponding
29987  field of the child document dialog.
29988  The label can then be referenced using the menu 
29989 \family sans
29990 Insert\SpecialChar \menuseparator
29991 Cross-Reference
29992 \family default
29993 .
29994 \end_layout
29995
29996 \begin_layout Standard
29997 Listing\InsetSpace ~
29998
29999 \begin_inset LatexCommand ref
30000 reference "lst:file-listing"
30001
30002 \end_inset
30003
30004  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
30005 -\InsetSpace \thinspace{}
30006 15 of this LyX
30007  file are listed.
30008 \end_layout
30009
30010 \begin_layout Standard
30011 \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]
30012 preview false
30013
30014 \end_inset
30015
30016
30017 \end_layout
30018
30019 \begin_layout Standard
30020 \begin_inset VSpace bigskip
30021 \end_inset
30022
30023
30024 \end_layout
30025
30026 \begin_layout Standard
30027 Global listings settings can be set in the 
30028 \family sans
30029 Document\SpecialChar \menuseparator
30030 Settings\SpecialChar \menuseparator
30031 Text Layout
30032 \family default
30033  dialog.
30034  To get there a list of available options, type in a question mark 
30035 \begin_inset Quotes eld
30036 \end_inset
30037
30038 ?
30039 \begin_inset Quotes erd
30040 \end_inset
30041
30042  in the 
30043 \family sans
30044 Listings\InsetSpace ~
30045 settings
30046 \family default
30047  field.
30048 \end_layout
30049
30050 \begin_layout Standard
30051 For more information about the 
30052 \series bold
30053 listings
30054 \series default
30055  package, we refer to its documentation 
30056 \begin_inset LatexCommand cite
30057 key "listings"
30058
30059 \end_inset
30060
30061 .
30062 \end_layout
30063
30064 \begin_layout Standard
30065
30066 \newpage
30067
30068 \end_layout
30069
30070 \begin_layout Chapter
30071 \start_of_appendix
30072 Units available in LyX
30073 \begin_inset LatexCommand index
30074 name "Units"
30075
30076 \end_inset
30077
30078
30079 \begin_inset LatexCommand label
30080 name "cha:Units-available-in"
30081
30082 \end_inset
30083
30084
30085 \end_layout
30086
30087 \begin_layout Standard
30088 To understand the units described in this documentation, Table\InsetSpace ~
30089
30090 \begin_inset LatexCommand ref
30091 reference "tab:Units"
30092
30093 \end_inset
30094
30095  explains all units available in LyX.
30096 \end_layout
30097
30098 \begin_layout Standard
30099 \begin_inset Float table
30100 placement h
30101 wide false
30102 sideways false
30103 status open
30104
30105 \begin_layout Standard
30106 \begin_inset Caption
30107
30108 \begin_layout Standard
30109 \begin_inset LatexCommand label
30110 name "tab:Units"
30111
30112 \end_inset
30113
30114 Units
30115 \end_layout
30116
30117 \end_inset
30118
30119
30120 \end_layout
30121
30122 \begin_layout Standard
30123 \begin_inset VSpace medskip
30124 \end_inset
30125
30126
30127 \end_layout
30128
30129 \begin_layout Standard
30130 \align center
30131 \begin_inset Tabular
30132 <lyxtabular version="3" rows="20" columns="2">
30133 <features>
30134 <column alignment="center" valignment="top" leftline="true" width="0">
30135 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30136 <row topline="true" bottomline="true">
30137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30138 \begin_inset Text
30139
30140 \begin_layout Standard
30141 unit
30142 \end_layout
30143
30144 \end_inset
30145 </cell>
30146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30147 \begin_inset Text
30148
30149 \begin_layout Standard
30150 name/description
30151 \end_layout
30152
30153 \end_inset
30154 </cell>
30155 </row>
30156 <row topline="true">
30157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30158 \begin_inset Text
30159
30160 \begin_layout Standard
30161 mm
30162 \end_layout
30163
30164 \end_inset
30165 </cell>
30166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30167 \begin_inset Text
30168
30169 \begin_layout Standard
30170 millimeter
30171 \end_layout
30172
30173 \end_inset
30174 </cell>
30175 </row>
30176 <row topline="true">
30177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30178 \begin_inset Text
30179
30180 \begin_layout Standard
30181 cm
30182 \end_layout
30183
30184 \end_inset
30185 </cell>
30186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30187 \begin_inset Text
30188
30189 \begin_layout Standard
30190 centimeter
30191 \end_layout
30192
30193 \end_inset
30194 </cell>
30195 </row>
30196 <row topline="true">
30197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30198 \begin_inset Text
30199
30200 \begin_layout Standard
30201 in
30202 \end_layout
30203
30204 \end_inset
30205 </cell>
30206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30207 \begin_inset Text
30208
30209 \begin_layout Standard
30210 inch
30211 \end_layout
30212
30213 \end_inset
30214 </cell>
30215 </row>
30216 <row topline="true">
30217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30218 \begin_inset Text
30219
30220 \begin_layout Standard
30221 pt
30222 \end_layout
30223
30224 \end_inset
30225 </cell>
30226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30227 \begin_inset Text
30228
30229 \begin_layout Standard
30230 point (72.27\InsetSpace \thinspace{}
30231 pt = 1\InsetSpace \thinspace{}
30232 in)
30233 \end_layout
30234
30235 \end_inset
30236 </cell>
30237 </row>
30238 <row topline="true">
30239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30240 \begin_inset Text
30241
30242 \begin_layout Standard
30243 pc
30244 \end_layout
30245
30246 \end_inset
30247 </cell>
30248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30249 \begin_inset Text
30250
30251 \begin_layout Standard
30252 pica (1\InsetSpace \thinspace{}
30253 pc = 12\InsetSpace \thinspace{}
30254 pt)
30255 \end_layout
30256
30257 \end_inset
30258 </cell>
30259 </row>
30260 <row topline="true">
30261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30262 \begin_inset Text
30263
30264 \begin_layout Standard
30265 sp
30266 \end_layout
30267
30268 \end_inset
30269 </cell>
30270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30271 \begin_inset Text
30272
30273 \begin_layout Standard
30274 scaled point (65536\InsetSpace \thinspace{}
30275 sp = 1\InsetSpace \thinspace{}
30276 pt)
30277 \end_layout
30278
30279 \end_inset
30280 </cell>
30281 </row>
30282 <row topline="true">
30283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30284 \begin_inset Text
30285
30286 \begin_layout Standard
30287 bp
30288 \end_layout
30289
30290 \end_inset
30291 </cell>
30292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30293 \begin_inset Text
30294
30295 \begin_layout Standard
30296 big point (72\InsetSpace \thinspace{}
30297 bp = 1\InsetSpace \thinspace{}
30298 in)
30299 \end_layout
30300
30301 \end_inset
30302 </cell>
30303 </row>
30304 <row topline="true">
30305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30306 \begin_inset Text
30307
30308 \begin_layout Standard
30309 dd
30310 \end_layout
30311
30312 \end_inset
30313 </cell>
30314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30315 \begin_inset Text
30316
30317 \begin_layout Standard
30318 didot (1\InsetSpace \thinspace{}
30319 dd 
30320 \begin_inset Formula $\approx$
30321 \end_inset
30322
30323  0.376\InsetSpace \thinspace{}
30324 mm)
30325 \end_layout
30326
30327 \end_inset
30328 </cell>
30329 </row>
30330 <row topline="true">
30331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30332 \begin_inset Text
30333
30334 \begin_layout Standard
30335 cc
30336 \end_layout
30337
30338 \end_inset
30339 </cell>
30340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30341 \begin_inset Text
30342
30343 \begin_layout Standard
30344 cicero (1\InsetSpace \thinspace{}
30345 cc = 12\InsetSpace \thinspace{}
30346 dd)
30347 \end_layout
30348
30349 \end_inset
30350 </cell>
30351 </row>
30352 <row topline="true">
30353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30354 \begin_inset Text
30355
30356 \begin_layout Standard
30357 Scale%
30358 \end_layout
30359
30360 \end_inset
30361 </cell>
30362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30363 \begin_inset Text
30364
30365 \begin_layout Standard
30366 % of original image width
30367 \end_layout
30368
30369 \end_inset
30370 </cell>
30371 </row>
30372 <row topline="true">
30373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30374 \begin_inset Text
30375
30376 \begin_layout Standard
30377 text%
30378 \end_layout
30379
30380 \end_inset
30381 </cell>
30382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30383 \begin_inset Text
30384
30385 \begin_layout Standard
30386 % of text width
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 col%
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 % of column width
30407 \end_layout
30408
30409 \end_inset
30410 </cell>
30411 </row>
30412 <row topline="true">
30413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30414 \begin_inset Text
30415
30416 \begin_layout Standard
30417 page%
30418 \end_layout
30419
30420 \end_inset
30421 </cell>
30422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30423 \begin_inset Text
30424
30425 \begin_layout Standard
30426 % of paper width
30427 \end_layout
30428
30429 \end_inset
30430 </cell>
30431 </row>
30432 <row topline="true">
30433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30434 \begin_inset Text
30435
30436 \begin_layout Standard
30437 line%
30438 \end_layout
30439
30440 \end_inset
30441 </cell>
30442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30443 \begin_inset Text
30444
30445 \begin_layout Standard
30446 % of line width
30447 \end_layout
30448
30449 \end_inset
30450 </cell>
30451 </row>
30452 <row topline="true">
30453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30454 \begin_inset Text
30455
30456 \begin_layout Standard
30457 theight%
30458 \end_layout
30459
30460 \end_inset
30461 </cell>
30462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30463 \begin_inset Text
30464
30465 \begin_layout Standard
30466 % of text height
30467 \end_layout
30468
30469 \end_inset
30470 </cell>
30471 </row>
30472 <row topline="true">
30473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30474 \begin_inset Text
30475
30476 \begin_layout Standard
30477 pheight%
30478 \end_layout
30479
30480 \end_inset
30481 </cell>
30482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30483 \begin_inset Text
30484
30485 \begin_layout Standard
30486 % of paper height
30487 \end_layout
30488
30489 \end_inset
30490 </cell>
30491 </row>
30492 <row topline="true">
30493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30494 \begin_inset Text
30495
30496 \begin_layout Standard
30497 ex
30498 \end_layout
30499
30500 \end_inset
30501 </cell>
30502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30503 \begin_inset Text
30504
30505 \begin_layout Standard
30506 height of letter 
30507 \emph on
30508 x
30509 \emph default
30510  in current font
30511 \end_layout
30512
30513 \end_inset
30514 </cell>
30515 </row>
30516 <row topline="true">
30517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30518 \begin_inset Text
30519
30520 \begin_layout Standard
30521 em
30522 \end_layout
30523
30524 \end_inset
30525 </cell>
30526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30527 \begin_inset Text
30528
30529 \begin_layout Standard
30530 width of letter 
30531 \emph on
30532 M
30533 \emph default
30534  in current font
30535 \end_layout
30536
30537 \end_inset
30538 </cell>
30539 </row>
30540 <row topline="true" bottomline="true">
30541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30542 \begin_inset Text
30543
30544 \begin_layout Standard
30545 mu
30546 \end_layout
30547
30548 \end_inset
30549 </cell>
30550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30551 \begin_inset Text
30552
30553 \begin_layout Standard
30554 math unit (1\InsetSpace \thinspace{}
30555 mu = 1/18\InsetSpace \thinspace{}
30556 em)
30557 \end_layout
30558
30559 \end_inset
30560 </cell>
30561 </row>
30562 </lyxtabular>
30563
30564 \end_inset
30565
30566
30567 \end_layout
30568
30569 \end_inset
30570
30571
30572 \end_layout
30573
30574 \begin_layout Chapter
30575 Output File Formats with Graphics
30576 \begin_inset LatexCommand label
30577 name "cha:Output-File-Formats"
30578
30579 \end_inset
30580
30581
30582 \end_layout
30583
30584 \begin_layout Section
30585 DVI
30586 \begin_inset LatexCommand index
30587 name "File Formats ! DVI"
30588
30589 \end_inset
30590
30591
30592 \begin_inset LatexCommand index
30593 name "DVI|see{File Formats}"
30594
30595 \end_inset
30596
30597
30598 \end_layout
30599
30600 \begin_layout Standard
30601 This file type has the extension 
30602 \begin_inset Quotes eld
30603 \end_inset
30604
30605
30606 \family typewriter
30607 .dvi
30608 \family default
30609
30610 \begin_inset Quotes erd
30611 \end_inset
30612
30613 .
30614  It is called 
30615 \begin_inset Quotes eld
30616 \end_inset
30617
30618 device-independent
30619 \begin_inset Quotes erd
30620 \end_inset
30621
30622  (DVI), because it is completely portable; you can move them from one machine
30623  to another without needing to do any sort of conversion.
30624  At the time when this file-format was developed, this was no matter of
30625  course.
30626  DVIs are used for quick previews and as pre-stage for other output formats,
30627  like PostScript.
30628 \end_layout
30629
30630 \begin_layout Standard
30631 \begin_inset Note Greyedout
30632 status open
30633
30634 \begin_layout Standard
30635
30636 \series bold
30637 Note:
30638 \series default
30639  DVI-files doesn't contain images, they will only be a linked.
30640 \end_layout
30641
30642 \end_inset
30643
30644  So don't forget this, if you move your 
30645 \family typewriter
30646 .dvi
30647 \family default
30648  file to another computer.
30649  This property can also slow down your computer when you view the DVI.
30650  Because the DVI-viewer has to convert the image in the background to make
30651  it visible when you scroll in the DVI.
30652  So we recommend to use PDF for files with many images.
30653 \end_layout
30654
30655 \begin_layout Standard
30656 You can export your document to DVI by using the menu 
30657 \family sans
30658 File\SpecialChar \menuseparator
30659 Export\SpecialChar \menuseparator
30660 DVI
30661 \family default
30662 .
30663  You can view your document as DVI via the 
30664 \family sans
30665 View
30666 \family default
30667  menu or by using the toolbar button 
30668 \begin_inset Graphics
30669         filename ../images/buffer-view_dvi.png
30670         scale 85
30671         scaleBeforeRotation
30672
30673 \end_inset
30674
30675 .
30676 \end_layout
30677
30678 \begin_layout Section
30679 PostScript
30680 \begin_inset LatexCommand label
30681 name "sec:PostScript"
30682
30683 \end_inset
30684
30685
30686 \begin_inset LatexCommand index
30687 name "File Formats ! PostScript"
30688
30689 \end_inset
30690
30691
30692 \begin_inset LatexCommand index
30693 name "PostScript|see{File Formats}"
30694
30695 \end_inset
30696
30697
30698 \end_layout
30699
30700 \begin_layout Standard
30701 This file type has the extension 
30702 \begin_inset Quotes eld
30703 \end_inset
30704
30705
30706 \family typewriter
30707 .ps
30708 \family default
30709
30710 \begin_inset Quotes erd
30711 \end_inset
30712
30713 .
30714  PostScript was developed by the company 
30715 \family typewriter
30716 Adobe
30717 \family default
30718  as printer language.
30719  The file contains therefore commands that the printer uses to print the
30720  file.
30721  PostScript can be seen as 
30722 \begin_inset Quotes eld
30723 \end_inset
30724
30725 programming language
30726 \begin_inset Quotes erd
30727 \end_inset
30728
30729 ; you can calculate with it and draw diagrams and images
30730 \begin_inset Foot
30731 status collapsed
30732
30733 \begin_layout Standard
30734 If you are interested to learn more about this, have a look at the LaTeX-package
30735  
30736 \series bold
30737 PSTricks
30738 \series default
30739  
30740 \begin_inset LatexCommand cite
30741 key "pstricks"
30742
30743 \end_inset
30744
30745 .
30746 \end_layout
30747
30748 \end_inset
30749
30750 .
30751  Due to this ability, the files are often bigger than PDFs.
30752 \end_layout
30753
30754 \begin_layout Standard
30755 PostScript can only contain images in the format 
30756 \begin_inset Quotes eld
30757 \end_inset
30758
30759 Encapsulated PostScript
30760 \begin_inset Quotes erd
30761 \end_inset
30762
30763  (EPS, file extension 
30764 \begin_inset Quotes eld
30765 \end_inset
30766
30767
30768 \family typewriter
30769 .eps
30770 \family default
30771
30772 \begin_inset Quotes erd
30773 \end_inset
30774
30775 ).
30776  As LyX allows you to use any known image format in your document, it has
30777  to convert images in the background to EPS.
30778  If you have e.g 50 images in your document, LyX has to do 50 conversions
30779  whenever you view or export your document.
30780  This will slow down your work flow with LyX drastically.
30781  So if you plan to use PostScript, you can insert your images directly as
30782  EPS to avoid this problem.
30783 \end_layout
30784
30785 \begin_layout Standard
30786 You can export your document to PostScript using the menu 
30787 \family sans
30788 File\SpecialChar \menuseparator
30789 Export\SpecialChar \menuseparator
30790 Postscript
30791 \family default
30792 .
30793  You can view your document as PostScript via the 
30794 \family sans
30795 View
30796 \family default
30797  menu or by using the toolbar button 
30798 \begin_inset Graphics
30799         filename ../images/buffer-view_ps.png
30800         scale 85
30801         scaleBeforeRotation
30802
30803 \end_inset
30804
30805 .
30806 \end_layout
30807
30808 \begin_layout Section
30809 PDF
30810 \begin_inset LatexCommand label
30811 name "sec:PDF"
30812
30813 \end_inset
30814
30815
30816 \begin_inset LatexCommand index
30817 name "File Formats ! PDF"
30818
30819 \end_inset
30820
30821
30822 \begin_inset LatexCommand index
30823 name "PDF"
30824
30825 \end_inset
30826
30827
30828 \end_layout
30829
30830 \begin_layout Standard
30831 This file type has the extension 
30832 \begin_inset Quotes eld
30833 \end_inset
30834
30835
30836 \family typewriter
30837 .pdf
30838 \family default
30839
30840 \begin_inset Quotes erd
30841 \end_inset
30842
30843 .
30844  The 
30845 \begin_inset Quotes eld
30846 \end_inset
30847
30848 Portable Document Format
30849 \begin_inset Quotes erd
30850 \end_inset
30851
30852  (PDF) is developed by 
30853 \family typewriter
30854 Adobe
30855 \family default
30856  as derivative from PostScript.
30857  It is more compressed and it uses much less commands than PostScript.
30858  As the name 
30859 \begin_inset Quotes eld
30860 \end_inset
30861
30862 portable
30863 \begin_inset Quotes erd
30864 \end_inset
30865
30866  implies, it can be processed at any computer system and the printed output
30867  looks exactly the same.
30868 \end_layout
30869
30870 \begin_layout Standard
30871 PDF can contain images in its own PDF format, in the format 
30872 \begin_inset Quotes eld
30873 \end_inset
30874
30875 Joint Photographic Experts Group
30876 \begin_inset Quotes erd
30877 \end_inset
30878
30879  (JPG, file extension 
30880 \begin_inset Quotes eld
30881 \end_inset
30882
30883
30884 \family typewriter
30885 .jpg
30886 \family default
30887
30888 \begin_inset Quotes erd
30889 \end_inset
30890
30891  or 
30892 \begin_inset Quotes eld
30893 \end_inset
30894
30895
30896 \family typewriter
30897 .jpeg
30898 \family default
30899
30900 \begin_inset Quotes erd
30901 \end_inset
30902
30903 ), and in the format 
30904 \begin_inset Quotes eld
30905 \end_inset
30906
30907 Portable Network Graphics
30908 \begin_inset Quotes erd
30909 \end_inset
30910
30911  (PNG, file extension 
30912 \begin_inset Quotes eld
30913 \end_inset
30914
30915
30916 \family typewriter
30917 .png
30918 \family default
30919
30920 \begin_inset Quotes erd
30921 \end_inset
30922
30923 ).
30924  Nevertheless you can use any other image format, because LyX converts them
30925  in the background to one of these formats.
30926  But as described in the section about PostScript, the image conversion
30927  will slow down your work flow.
30928  So it is recommended to use images in one of the three mentioned formats.
30929 \end_layout
30930
30931 \begin_layout Standard
30932 You can export your document to PDF via the menu 
30933 \family sans
30934 File\SpecialChar \menuseparator
30935 Export
30936 \family default
30937  in three different ways:
30938 \end_layout
30939
30940 \begin_layout Description
30941 PDF\InsetSpace ~
30942 (ps2pdf) This uses the program 
30943 \family typewriter
30944 ps2pdf
30945 \family default
30946  that creates a PDF from a PostScript-version of your file.
30947  The PostScript-version is produced by the program 
30948 \family typewriter
30949 dvips
30950 \family default
30951  which uses a DVI-version as intermediate step.
30952  So this export variant consist of three conversions.
30953 \end_layout
30954
30955 \begin_layout Description
30956 PDF\InsetSpace ~
30957 (dvipdfm) This uses the program 
30958 \family typewriter
30959 dvipdfm
30960 \family default
30961  that converts your file in the background to DVI and in a second step to
30962  PDF.
30963 \end_layout
30964
30965 \begin_layout Description
30966 PDF\InsetSpace ~
30967 (pdflatex) This uses the program 
30968 \family typewriter
30969 pdftex
30970 \family default
30971  that converts your file directly to PDF.
30972 \end_layout
30973
30974 \begin_layout Standard
30975 It is recommended to use 
30976 \family sans
30977 PDF\InsetSpace ~
30978 (pdflatex)
30979 \family default
30980  because 
30981 \family typewriter
30982 pdftex
30983 \family default
30984  supports all features of actual PDF-versions, is quick and works stable
30985  without problems.
30986  The program 
30987 \family typewriter
30988 dvipdfm
30989 \family default
30990  is not under development and therefore a bit outdated.
30991 \end_layout
30992
30993 \begin_layout Standard
30994 You can view your document as PDF via the 
30995 \family sans
30996 View
30997 \family default
30998  menu or by using the toolbar button 
30999 \begin_inset Graphics
31000         filename ../images/buffer-view_pdf2.png
31001         scale 85
31002         scaleBeforeRotation
31003
31004 \end_inset
31005
31006  
31007 \family sans
31008 (
31009 \family default
31010 that uses 
31011 \family sans
31012 PDF\InsetSpace ~
31013 (pdflatex)
31014 \family default
31015 ).
31016 \end_layout
31017
31018 \begin_layout Chapter
31019 Explanation of Equation\InsetSpace ~
31020
31021 \begin_inset LatexCommand eqref
31022 reference "eq:Wgn"
31023
31024 \end_inset
31025
31026
31027 \begin_inset LatexCommand label
31028 name "cha:Explanation-of-Equation"
31029
31030 \end_inset
31031
31032
31033 \end_layout
31034
31035 \begin_layout Standard
31036 The total width of 
31037 \emph on
31038 n
31039 \emph default
31040  table cells 
31041 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31042 \end_inset
31043
31044  can be calculated to
31045 \end_layout
31046
31047 \begin_layout Standard
31048 \begin_inset Formula \begin{equation}
31049 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}
31050
31051 \end_inset
31052
31053
31054 \end_layout
31055
31056 \begin_layout Standard
31057 Where 
31058 \begin_inset Formula $W_{g\, n}$
31059 \end_inset
31060
31061  is the given width of all cells.
31062  
31063 \series bold
31064
31065 \backslash
31066 tabcolsep
31067 \series default
31068  is the LaTeX-length between the cell text and the cell border, its default
31069  value is 6\InsetSpace \thinspace{}
31070 pt.
31071  
31072 \series bold
31073
31074 \backslash
31075 arrayrulewidth
31076 \series default
31077  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31078 pt.
31079 \end_layout
31080
31081 \begin_layout Standard
31082 Following equation\InsetSpace ~
31083
31084 \begin_inset LatexCommand eqref
31085 reference "eq:Wtot_n"
31086
31087 \end_inset
31088
31089 , the total width of a multicolumn 
31090 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31091 \end_inset
31092
31093  is
31094 \end_layout
31095
31096 \begin_layout Standard
31097 \begin_inset Formula \begin{equation}
31098 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31099
31100 \end_inset
31101
31102
31103 \end_layout
31104
31105 \begin_layout Standard
31106 By setting equation\InsetSpace ~
31107
31108 \begin_inset LatexCommand eqref
31109 reference "eq:Wtot_n"
31110
31111 \end_inset
31112
31113  and 
31114 \begin_inset LatexCommand eqref
31115 reference "eq:Wtot_mult"
31116
31117 \end_inset
31118
31119  equal we can calculate the needed given width 
31120 \begin_inset Formula $W_{g\, n}$
31121 \end_inset
31122
31123  when 
31124 \emph on
31125 n
31126 \emph default
31127  columns are spanned, so that each column has a total width of 
31128 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31129 \end_inset
31130
31131 :
31132 \end_layout
31133
31134 \begin_layout Standard
31135 \begin_inset Formula \begin{equation}
31136 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31137
31138 \end_inset
31139
31140
31141 \end_layout
31142
31143 \begin_layout Bibliography
31144 \begin_inset LatexCommand bibitem
31145 key "latexcompanion"
31146
31147 \end_inset
31148
31149 Frank Mittelbach and Michel Goossens: 
31150 \emph on
31151 The LaTeX Companion Second Edition.
31152
31153 \emph default
31154  Addison-Wesley, 2004
31155 \end_layout
31156
31157 \begin_layout Bibliography
31158 \begin_inset LatexCommand bibitem
31159 key "latexguide"
31160
31161 \end_inset
31162
31163 Helmut Kopka and Patrick W.
31164  Daly: 
31165 \emph on
31166 A Guide to LaTeX Fourth Edition.
31167
31168 \emph default
31169  Addison-Wesley, 2003
31170 \end_layout
31171
31172 \begin_layout Bibliography
31173 \begin_inset LatexCommand bibitem
31174 key "latexbook"
31175
31176 \end_inset
31177
31178 Leslie Lamport: 
31179 \emph on
31180 LaTeX: A Document Preparation System.
31181
31182 \emph default
31183  Addison-Wesley, second edition, 1994
31184 \end_layout
31185
31186 \begin_layout Bibliography
31187 \begin_inset LatexCommand bibitem
31188 key "booktabs"
31189
31190 \end_inset
31191
31192
31193 \begin_inset ERT
31194 status collapsed
31195
31196 \begin_layout Standard
31197
31198
31199 \backslash
31200 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31201 {
31202 \end_layout
31203
31204 \end_inset
31205
31206 Documentation
31207 \begin_inset ERT
31208 status collapsed
31209
31210 \begin_layout Standard
31211
31212 }
31213 \end_layout
31214
31215 \end_inset
31216
31217  of the LaTeX-package 
31218 \series bold
31219 booktabs
31220 \series default
31221
31222 \begin_inset LatexCommand index
31223 name "LaTeX-packages ! booktabs"
31224
31225 \end_inset
31226
31227
31228 \end_layout
31229
31230 \begin_layout Bibliography
31231 \begin_inset LatexCommand bibitem
31232 key "caption"
31233
31234 \end_inset
31235
31236
31237 \begin_inset ERT
31238 status collapsed
31239
31240 \begin_layout Standard
31241
31242
31243 \backslash
31244 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31245 \end_layout
31246
31247 \end_inset
31248
31249 Documentation
31250 \begin_inset ERT
31251 status collapsed
31252
31253 \begin_layout Standard
31254
31255 }
31256 \end_layout
31257
31258 \end_inset
31259
31260  of the LaTeX-package 
31261 \series bold
31262 caption
31263 \series default
31264
31265 \begin_inset LatexCommand index
31266 name "LaTeX-packages ! caption"
31267
31268 \end_inset
31269
31270
31271 \end_layout
31272
31273 \begin_layout Bibliography
31274 \begin_inset LatexCommand bibitem
31275 key "caption-de"
31276
31277 \end_inset
31278
31279 German 
31280 \begin_inset ERT
31281 status collapsed
31282
31283 \begin_layout Standard
31284
31285
31286 \backslash
31287 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31288 {
31289 \end_layout
31290
31291 \end_inset
31292
31293 documentation
31294 \begin_inset ERT
31295 status collapsed
31296
31297 \begin_layout Standard
31298
31299 }
31300 \end_layout
31301
31302 \end_inset
31303
31304  of the LaTeX-package 
31305 \series bold
31306 caption
31307 \end_layout
31308
31309 \begin_layout Bibliography
31310 \begin_inset LatexCommand bibitem
31311 key "endfloat"
31312
31313 \end_inset
31314
31315
31316 \begin_inset ERT
31317 status collapsed
31318
31319 \begin_layout Standard
31320
31321
31322 \backslash
31323 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31324 {
31325 \end_layout
31326
31327 \end_inset
31328
31329 Documentation
31330 \begin_inset ERT
31331 status collapsed
31332
31333 \begin_layout Standard
31334
31335 }
31336 \end_layout
31337
31338 \end_inset
31339
31340  of the LaTeX-package 
31341 \series bold
31342 endf\SpecialChar \textcompwordmark{}
31343 loat
31344 \series default
31345
31346 \begin_inset LatexCommand index
31347 name "LaTeX-packages ! endfloat"
31348
31349 \end_inset
31350
31351
31352 \end_layout
31353
31354 \begin_layout Bibliography
31355 \begin_inset LatexCommand bibitem
31356 key "floatflt"
31357
31358 \end_inset
31359
31360
31361 \begin_inset ERT
31362 status collapsed
31363
31364 \begin_layout Standard
31365
31366
31367 \backslash
31368 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
31369 {
31370 \end_layout
31371
31372 \end_inset
31373
31374 Documentation
31375 \begin_inset ERT
31376 status collapsed
31377
31378 \begin_layout Standard
31379
31380 }
31381 \end_layout
31382
31383 \end_inset
31384
31385  of the LaTeX-package 
31386 \series bold
31387 f\SpecialChar \textcompwordmark{}
31388 loatf\SpecialChar \textcompwordmark{}
31389 lt
31390 \series default
31391
31392 \begin_inset LatexCommand index
31393 name "LaTeX-packages ! floatflt"
31394
31395 \end_inset
31396
31397
31398 \end_layout
31399
31400 \begin_layout Bibliography
31401 \begin_inset LatexCommand bibitem
31402 key "footmisc"
31403
31404 \end_inset
31405
31406
31407 \begin_inset ERT
31408 status collapsed
31409
31410 \begin_layout Standard
31411
31412
31413 \backslash
31414 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31415 {
31416 \end_layout
31417
31418 \end_inset
31419
31420 Documentation
31421 \begin_inset ERT
31422 status collapsed
31423
31424 \begin_layout Standard
31425
31426 }
31427 \end_layout
31428
31429 \end_inset
31430
31431  of the LaTeX-package 
31432 \series bold
31433 footmisc
31434 \series default
31435
31436 \begin_inset LatexCommand index
31437 name "LaTeX-packages ! footmisc"
31438
31439 \end_inset
31440
31441
31442 \end_layout
31443
31444 \begin_layout Bibliography
31445 \begin_inset LatexCommand bibitem
31446 key "hypcap"
31447
31448 \end_inset
31449
31450
31451 \begin_inset ERT
31452 status collapsed
31453
31454 \begin_layout Standard
31455
31456
31457 \backslash
31458 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
31459 \end_layout
31460
31461 \end_inset
31462
31463 Documentation
31464 \begin_inset ERT
31465 status collapsed
31466
31467 \begin_layout Standard
31468
31469 }
31470 \end_layout
31471
31472 \end_inset
31473
31474  of the LaTeX-package 
31475 \series bold
31476 hypcap
31477 \series default
31478
31479 \begin_inset LatexCommand index
31480 name "LaTeX-packages ! hyperref"
31481
31482 \end_inset
31483
31484
31485 \end_layout
31486
31487 \begin_layout Bibliography
31488 \begin_inset LatexCommand bibitem
31489 key "hyperref"
31490
31491 \end_inset
31492
31493
31494 \begin_inset ERT
31495 status collapsed
31496
31497 \begin_layout Standard
31498
31499
31500 \backslash
31501 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31502 {
31503 \end_layout
31504
31505 \end_inset
31506
31507 Documentation
31508 \begin_inset ERT
31509 status collapsed
31510
31511 \begin_layout Standard
31512
31513 }
31514 \end_layout
31515
31516 \end_inset
31517
31518  of the LaTeX-package 
31519 \series bold
31520 hyperref
31521 \series default
31522
31523 \begin_inset LatexCommand index
31524 name "LaTeX-packages ! hyperref"
31525
31526 \end_inset
31527
31528
31529 \end_layout
31530
31531 \begin_layout Bibliography
31532 \begin_inset LatexCommand bibitem
31533 key "koma-script"
31534
31535 \end_inset
31536
31537
31538 \begin_inset ERT
31539 status collapsed
31540
31541 \begin_layout Standard
31542
31543
31544 \backslash
31545 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31546 df}{
31547 \end_layout
31548
31549 \end_inset
31550
31551 Documentation
31552 \begin_inset ERT
31553 status collapsed
31554
31555 \begin_layout Standard
31556
31557 }
31558 \end_layout
31559
31560 \end_inset
31561
31562  of the LaTeX-package 
31563 \series bold
31564 koma-script
31565 \series default
31566
31567 \begin_inset LatexCommand index
31568 name "LaTeX-packages ! koma-script"
31569
31570 \end_inset
31571
31572
31573 \end_layout
31574
31575 \begin_layout Bibliography
31576 \begin_inset LatexCommand bibitem
31577 key "koma-script-de"
31578
31579 \end_inset
31580
31581 German 
31582 \begin_inset ERT
31583 status collapsed
31584
31585 \begin_layout Standard
31586
31587
31588 \backslash
31589 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
31590 df}{
31591 \end_layout
31592
31593 \end_inset
31594
31595 documentation
31596 \begin_inset ERT
31597 status collapsed
31598
31599 \begin_layout Standard
31600
31601 }
31602 \end_layout
31603
31604 \end_inset
31605
31606  of the LaTeX-package 
31607 \series bold
31608 koma-script
31609 \series default
31610
31611 \begin_inset LatexCommand index
31612 name "LaTeX-packages ! koma-script"
31613
31614 \end_inset
31615
31616
31617 \end_layout
31618
31619 \begin_layout Bibliography
31620 \begin_inset LatexCommand bibitem
31621 key "listings"
31622
31623 \end_inset
31624
31625
31626 \begin_inset ERT
31627 status collapsed
31628
31629 \begin_layout Standard
31630
31631
31632 \backslash
31633 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31634 {
31635 \end_layout
31636
31637 \end_inset
31638
31639 Documentation
31640 \begin_inset ERT
31641 status collapsed
31642
31643 \begin_layout Standard
31644
31645 }
31646 \end_layout
31647
31648 \end_inset
31649
31650  of the LaTeX-package 
31651 \series bold
31652 listings
31653 \series default
31654
31655 \begin_inset LatexCommand index
31656 name "LaTeX-packages ! listings"
31657
31658 \end_inset
31659
31660
31661 \end_layout
31662
31663 \begin_layout Bibliography
31664 \begin_inset LatexCommand bibitem
31665 key "marginnote"
31666
31667 \end_inset
31668
31669
31670 \begin_inset ERT
31671 status collapsed
31672
31673 \begin_layout Standard
31674
31675
31676 \backslash
31677 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31678 pdf}{
31679 \end_layout
31680
31681 \end_inset
31682
31683 Documentation
31684 \begin_inset ERT
31685 status collapsed
31686
31687 \begin_layout Standard
31688
31689 }
31690 \end_layout
31691
31692 \end_inset
31693
31694  of the LaTeX-package 
31695 \series bold
31696 marginnote
31697 \series default
31698
31699 \begin_inset LatexCommand index
31700 name "LaTeX-packages ! marginnote"
31701
31702 \end_inset
31703
31704
31705 \end_layout
31706
31707 \begin_layout Bibliography
31708 \begin_inset LatexCommand bibitem
31709 key "pstricks"
31710
31711 \end_inset
31712
31713
31714 \begin_inset ERT
31715 status collapsed
31716
31717 \begin_layout Standard
31718
31719
31720 \backslash
31721 href{http://tug.org/PSTricks/main.cgi/}{
31722 \end_layout
31723
31724 \end_inset
31725
31726 Web page
31727 \begin_inset ERT
31728 status collapsed
31729
31730 \begin_layout Standard
31731
31732 }
31733 \end_layout
31734
31735 \end_inset
31736
31737  of the LaTeX-package 
31738 \series bold
31739 PSTricks
31740 \series default
31741
31742 \begin_inset LatexCommand index
31743 name "LaTeX-packages ! PSTricks"
31744
31745 \end_inset
31746
31747
31748 \end_layout
31749
31750 \begin_layout Bibliography
31751 \begin_inset LatexCommand bibitem
31752 key "sidecap"
31753
31754 \end_inset
31755
31756
31757 \begin_inset ERT
31758 status collapsed
31759
31760 \begin_layout Standard
31761
31762
31763 \backslash
31764 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
31765 \end_layout
31766
31767 \end_inset
31768
31769 Documentation
31770 \begin_inset ERT
31771 status collapsed
31772
31773 \begin_layout Standard
31774
31775 }
31776 \end_layout
31777
31778 \end_inset
31779
31780  of the LaTeX-package 
31781 \series bold
31782 sidecap
31783 \series default
31784
31785 \begin_inset LatexCommand index
31786 name "LaTeX-packages ! sidecap"
31787
31788 \end_inset
31789
31790
31791 \end_layout
31792
31793 \begin_layout Bibliography
31794 \begin_inset LatexCommand bibitem
31795 key "NewInLyX15"
31796
31797 \end_inset
31798
31799
31800 \begin_inset ERT
31801 status collapsed
31802
31803 \begin_layout Standard
31804
31805
31806 \backslash
31807 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31808 \end_layout
31809
31810 \end_inset
31811
31812 Wiki page
31813 \begin_inset ERT
31814 status collapsed
31815
31816 \begin_layout Standard
31817
31818 }
31819 \end_layout
31820
31821 \end_inset
31822
31823  about new features in 
31824 \family sans
31825 LyX 1.5.0
31826 \family default
31827 .
31828 \end_layout
31829
31830 \begin_layout Standard
31831 \begin_inset LatexCommand printindex
31832
31833 \end_inset
31834
31835
31836 \end_layout
31837
31838 \begin_layout Standard
31839 \begin_inset FloatList figure
31840
31841 \end_inset
31842
31843
31844 \end_layout
31845
31846 \begin_layout Standard
31847 \begin_inset FloatList table
31848
31849 \end_inset
31850
31851
31852 \end_layout
31853
31854 \begin_layout Standard
31855 \begin_inset ERT
31856 status collapsed
31857
31858 \begin_layout Standard
31859
31860
31861 \backslash
31862 listof{Xalgorithm}{List of Algorithms}
31863 \end_layout
31864
31865 \end_inset
31866
31867
31868 \begin_inset Note Note
31869 status collapsed
31870
31871 \begin_layout Standard
31872 see section\InsetSpace ~
31873
31874 \begin_inset LatexCommand ref
31875 reference "sub:Algorithm-Floats"
31876
31877 \end_inset
31878
31879  for a description
31880 \end_layout
31881
31882 \end_inset
31883
31884
31885 \end_layout
31886
31887 \end_body
31888 \end_document