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