]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
adjust
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.2svn 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{S}[2]
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 \end_layout
21960
21961 \begin_layout Standard
21962 \begin_inset VSpace bigskip
21963 \end_inset
21964
21965 You can change the text color of the greyed out notes in the preamble with
21966  the following command:
21967 \end_layout
21968
21969 \begin_layout Standard
21970
21971 \series bold
21972
21973 \backslash
21974 renewenvironment{lyxgreyedout}
21975 \newline
21976
21977 \begin_inset ERT
21978 status collapsed
21979
21980 \begin_layout Standard
21981
21982
21983 \backslash
21984 hphantom{ }
21985 \end_layout
21986
21987 \end_inset
21988
21989 {
21990 \backslash
21991 textcolor{color}
21992 \backslash
21993 bgroup}{
21994 \backslash
21995 egroup}
21996 \end_layout
21997
21998 \begin_layout Standard
21999 The available colors and the method to define own colors is explained in
22000  section\InsetSpace ~
22001
22002 \begin_inset LatexCommand ref
22003 reference "sec:Colored-Tables"
22004
22005 \end_inset
22006
22007 .
22008 \end_layout
22009
22010 \begin_layout Standard
22011 Notes that appear in blue in this document are set using greyed out notes
22012  with blue text.
22013 \end_layout
22014
22015 \begin_layout Standard
22016 \begin_inset VSpace bigskip
22017 \end_inset
22018
22019
22020 \end_layout
22021
22022 \begin_layout Standard
22023 The text style of 
22024 \family sans
22025 Framed
22026 \family default
22027  and 
22028 \family sans
22029 Shaded
22030 \family default
22031  notes can be set in the 
22032 \family sans
22033 Text Style
22034 \family default
22035  dialog.
22036 \end_layout
22037
22038 \begin_layout Standard
22039 The default frame width for 
22040 \family sans
22041 Framed
22042 \family default
22043  notes is 0.4\InsetSpace \thinspace{}
22044 pt; it can be changed by changing the size 
22045 \series bold
22046
22047 \backslash
22048 FrameRule
22049 \series default
22050 .
22051  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22052 pt; it can
22053  be changed by changing the size 
22054 \series bold
22055
22056 \backslash
22057 FrameSep
22058 \series default
22059 .
22060  For example the frame appearance of the following 
22061 \family sans
22062 Framed
22063 \family default
22064  note is set with the TeX-Code commands
22065 \end_layout
22066
22067 \begin_layout Standard
22068
22069 \series bold
22070
22071 \backslash
22072 FrameRule 5pt 
22073 \backslash
22074 FrameSep 0.5cm
22075 \end_layout
22076
22077 \begin_layout Standard
22078 \begin_inset ERT
22079 status collapsed
22080
22081 \begin_layout Standard
22082
22083
22084 \backslash
22085 FrameRule 5pt 
22086 \backslash
22087 FrameSep 0.5cm
22088 \end_layout
22089
22090 \end_inset
22091
22092
22093 \begin_inset Note Framed
22094 status open
22095
22096 \begin_layout Standard
22097 This is text in a 
22098 \family sans
22099 Framed
22100 \family default
22101  note.
22102 \end_layout
22103
22104 \end_inset
22105
22106
22107 \begin_inset ERT
22108 status collapsed
22109
22110 \begin_layout Standard
22111
22112
22113 \backslash
22114 FrameRule 0.4pt 
22115 \backslash
22116 FrameSep 9pt
22117 \end_layout
22118
22119 \end_inset
22120
22121
22122 \end_layout
22123
22124 \begin_layout Standard
22125 \begin_inset VSpace bigskip
22126 \end_inset
22127
22128
22129 \end_layout
22130
22131 \begin_layout Standard
22132 For 
22133 \family sans
22134 Shaded
22135 \family default
22136  notes the default space between the note content and the note border is
22137  3\InsetSpace \thinspace{}
22138 pt; it can be changed by changing the size 
22139 \series bold
22140
22141 \backslash
22142 fboxsep
22143 \series default
22144 .
22145 \newline
22146 The default background color red can be changed with the command 
22147 \series bold
22148
22149 \backslash
22150 def\SpecialChar \textcompwordmark{}
22151 inecolor{shadebox}
22152 \series default
22153 .
22154  The scheme of the 
22155 \series bold
22156
22157 \backslash
22158 def\SpecialChar \textcompwordmark{}
22159 inecolor
22160 \series default
22161  command is explained in section\InsetSpace ~
22162
22163 \begin_inset LatexCommand ref
22164 reference "sec:Colored-Tables"
22165
22166 \end_inset
22167
22168
22169 \begin_inset Foot
22170 status collapsed
22171
22172 \begin_layout Standard
22173 Note that 
22174 \series bold
22175
22176 \backslash
22177 def
22178 \series default
22179 \SpecialChar \textcompwordmark{}
22180
22181 \series bold
22182 inecolor
22183 \series default
22184  requires the LaTeX-package 
22185 \series bold
22186 color
22187 \series default
22188  in the preamble, see section\InsetSpace ~
22189
22190 \begin_inset LatexCommand ref
22191 reference "sec:Colored-Boxes"
22192
22193 \end_inset
22194
22195 .
22196 \end_layout
22197
22198 \end_inset
22199
22200 .
22201 \end_layout
22202
22203 \begin_layout Standard
22204 For example the appearance of the following 
22205 \family sans
22206 Shaded
22207 \family default
22208  note is set with the TeX-Code commands
22209 \end_layout
22210
22211 \begin_layout Standard
22212
22213 \series bold
22214
22215 \backslash
22216 fboxsep 0.5cm
22217 \series default
22218
22219 \newline
22220
22221 \series bold
22222
22223 \backslash
22224 def\SpecialChar \textcompwordmark{}
22225 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22226 \end_layout
22227
22228 \begin_layout Standard
22229 \begin_inset ERT
22230 status collapsed
22231
22232 \begin_layout Standard
22233
22234
22235 \backslash
22236 fboxsep 0.5cm
22237 \end_layout
22238
22239 \end_inset
22240
22241
22242 \begin_inset ERT
22243 status collapsed
22244
22245 \begin_layout Standard
22246
22247
22248 \backslash
22249 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22250 \end_layout
22251
22252 \end_inset
22253
22254
22255 \begin_inset Note Shaded
22256 status open
22257
22258 \begin_layout Standard
22259
22260 \color yellow
22261 This is yellow text in a
22262 \color none
22263  
22264 \family sans
22265 \color yellow
22266 Shaded
22267 \family default
22268 \color none
22269  
22270 \color yellow
22271 note with darkgreen background.
22272 \end_layout
22273
22274 \end_inset
22275
22276
22277 \begin_inset ERT
22278 status collapsed
22279
22280 \begin_layout Standard
22281
22282
22283 \backslash
22284 fboxsep 3pt
22285 \end_layout
22286
22287 \end_inset
22288
22289
22290 \begin_inset ERT
22291 status collapsed
22292
22293 \begin_layout Standard
22294
22295
22296 \backslash
22297 definecolor{shadecolor}{rgb}{1,0,0}
22298 \end_layout
22299
22300 \end_inset
22301
22302
22303 \end_layout
22304
22305 \begin_layout Section
22306 Footnotes
22307 \begin_inset LatexCommand label
22308 name "sec:Footnotes"
22309
22310 \end_inset
22311
22312
22313 \begin_inset LatexCommand index
22314 name "Notes ! Footnotes"
22315
22316 \end_inset
22317
22318
22319 \begin_inset LatexCommand index
22320 name "Footnotes"
22321
22322 \end_inset
22323
22324
22325 \end_layout
22326
22327 \begin_layout Standard
22328 Footnotes can be inserted using the toolbar button 
22329 \begin_inset Graphics
22330         filename ../images/footnote-insert.png
22331         scale 85
22332         scaleBeforeRotation
22333
22334 \end_inset
22335
22336  or the menu 
22337 \family sans
22338 Insert\SpecialChar \menuseparator
22339 Footnote
22340 \family default
22341 .
22342  
22343 \family roman
22344 \series medium
22345 \bar no
22346 You'll see
22347 \family default
22348 \series default
22349 \bar default
22350  then the following footnote-box: 
22351 \begin_inset Graphics
22352         filename clipart/footnoteQt4.png
22353         scale 80
22354         scaleBeforeRotation
22355
22356 \end_inset
22357
22358  
22359 \family roman
22360 \series medium
22361 \bar no
22362 where you can enter the footnote text.
22363  If you want to turn existing text into a footnote, mark it and click on
22364  the footnote
22365 \family default
22366 \series default
22367 \bar default
22368  toolbar 
22369 \family roman
22370 \series medium
22371 \bar no
22372 button
22373 \family default
22374 \series default
22375 \bar default
22376 .
22377 \end_layout
22378
22379 \begin_layout Standard
22380 Here is an example footnote:
22381 \family roman
22382 \series medium
22383 \bar no
22384
22385 \begin_inset Foot
22386 status open
22387
22388 \begin_layout Standard
22389 \begin_inset LatexCommand label
22390 name "foot:This-is-an"
22391
22392 \end_inset
22393
22394 This is an example footnote.
22395 \end_layout
22396
22397 \end_inset
22398
22399
22400 \family default
22401 \series default
22402 \bar default
22403
22404 \begin_inset ERT
22405 status collapsed
22406
22407 \begin_layout Standard
22408
22409
22410 \backslash
22411 newcounter{MyRepeatFoot}
22412 \end_layout
22413
22414 \begin_layout Standard
22415
22416
22417 \backslash
22418 setcounter{MyRepeatFoot}{
22419 \backslash
22420 thefootnote}
22421 \end_layout
22422
22423 \end_inset
22424
22425
22426 \end_layout
22427
22428 \begin_layout Standard
22429 The footnote will appear in the output as a superscript number at the text
22430  position where the footnote box is placed.
22431  The footnote text is placed at the bottom of the current page.
22432  The footnote number is calculated by LaTeX, the numbers are consecutive.
22433  It depends on your document-class, if the footnote number is reset for
22434  every chapter.
22435 \end_layout
22436
22437 \begin_layout Standard
22438 Footnotes can be referenced like floats: Insert a label into the footnote
22439  and cross-reference this label in the text as described in section\InsetSpace ~
22440
22441 \begin_inset LatexCommand ref
22442 reference "sec:Referencing-Floats"
22443
22444 \end_inset
22445
22446 .
22447 \newline
22448 This is a cross-reference of Footnote\InsetSpace ~
22449
22450 \begin_inset LatexCommand ref
22451 reference "foot:This-is-an"
22452
22453 \end_inset
22454
22455 .
22456 \end_layout
22457
22458 \begin_layout Standard
22459 \begin_inset VSpace defskip
22460 \end_inset
22461
22462 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22463
22464 \begin_inset LatexCommand ref
22465 reference "sec:Minipages"
22466
22467 \end_inset
22468
22469 .
22470  Footnotes within longtables are described in section\InsetSpace ~
22471
22472 \begin_inset LatexCommand ref
22473 reference "sub:Footnotes-in-Longtables"
22474
22475 \end_inset
22476
22477 .
22478 \end_layout
22479
22480 \begin_layout Standard
22481 \begin_inset VSpace defskip
22482 \end_inset
22483
22484 To create only a mark for a footnote, use the command 
22485 \series bold
22486
22487 \backslash
22488 footnotemark[number]
22489 \series default
22490  in TeX-Code.
22491  This is used when you have the same annotation several times in a text
22492  but doesn't want to print the footnote text every time.
22493 \newline
22494 As you don't know
22495  the number of the repeating footnote while you are writing the text, you
22496  have to store its number.
22497  For the following footnote mark example, these commands were inserted in
22498  TeX-Code behind Footnote\InsetSpace ~
22499
22500 \begin_inset LatexCommand ref
22501 reference "foot:This-is-an"
22502
22503 \end_inset
22504
22505  to store the footnote number:
22506 \end_layout
22507
22508 \begin_layout Standard
22509
22510 \series bold
22511
22512 \backslash
22513 newcounter{MyRepeatFoot}
22514 \newline
22515
22516 \backslash
22517 setcounter{MyRepeatFoot}{
22518 \backslash
22519 thefootnote}
22520 \end_layout
22521
22522 \begin_layout Standard
22523 The footnote mark was then created with this command:
22524 \end_layout
22525
22526 \begin_layout Standard
22527
22528 \series bold
22529
22530 \backslash
22531 footnotemark[
22532 \backslash
22533 theMyRepeatFoot]
22534 \end_layout
22535
22536 \begin_layout Standard
22537 Here is an example footnote mark:
22538 \family roman
22539 \series medium
22540 \bar no
22541
22542 \begin_inset ERT
22543 status collapsed
22544
22545 \begin_layout Standard
22546
22547
22548 \backslash
22549 footnotemark[
22550 \backslash
22551 theMyRepeatFoot]
22552 \end_layout
22553
22554 \end_inset
22555
22556
22557 \end_layout
22558
22559 \begin_layout Subsection
22560 Footnote Numbering
22561 \begin_inset LatexCommand label
22562 name "sub:Footnote-Numbering"
22563
22564 \end_inset
22565
22566
22567 \begin_inset LatexCommand index
22568 name "Footnotes ! Numbering"
22569
22570 \end_inset
22571
22572
22573 \end_layout
22574
22575 \begin_layout Standard
22576 To reset the footnote number back to 1 after each section
22577 \family roman
22578 , add this command to your document preamble:
22579 \end_layout
22580
22581 \begin_layout Standard
22582
22583 \series bold
22584
22585 \backslash
22586 @addtoreset{footnote}{section}
22587 \end_layout
22588
22589 \begin_layout Standard
22590 \begin_inset VSpace bigskip
22591 \end_inset
22592
22593 The following preamble command changes the footnote numbering style to small
22594  roman numerals:
22595 \end_layout
22596
22597 \begin_layout Standard
22598
22599 \series bold
22600
22601 \backslash
22602 renewcommand{
22603 \backslash
22604 thefootnote}{
22605 \backslash
22606 roman{footnote}}
22607 \end_layout
22608
22609 \begin_layout Standard
22610 \begin_inset ERT
22611 status collapsed
22612
22613 \begin_layout Standard
22614
22615
22616 \backslash
22617 renewcommand{
22618 \backslash
22619 thefootnote}{
22620 \backslash
22621 roman{footnote}}
22622 \end_layout
22623
22624 \end_inset
22625
22626  This is a footnote with roman numbering:
22627 \begin_inset Foot
22628 status open
22629
22630 \begin_layout Standard
22631 This is an example footnote with roman numbering.
22632 \end_layout
22633
22634 \end_inset
22635
22636
22637 \end_layout
22638
22639 \begin_layout Standard
22640 To change the numbering style to capital roman numerals replace in the command
22641  above 
22642 \series bold
22643
22644 \backslash
22645 roman
22646 \series default
22647  by 
22648 \series bold
22649
22650 \backslash
22651 Roman
22652 \series default
22653 .
22654  To 
22655 \begin_inset Quotes eld
22656 \end_inset
22657
22658 number
22659 \begin_inset Quotes erd
22660 \end_inset
22661
22662  footnotes with capital or small Latin letters use 
22663 \series bold
22664
22665 \backslash
22666 Alph
22667 \series default
22668  or 
22669 \series bold
22670
22671 \backslash
22672 alph
22673 \series default
22674 , respectively.
22675  To 
22676 \begin_inset Quotes eld
22677 \end_inset
22678
22679 number
22680 \begin_inset Quotes erd
22681 \end_inset
22682
22683  footnotes with symbols use 
22684 \series bold
22685
22686 \backslash
22687 fnsymbol
22688 \series default
22689 .
22690 \end_layout
22691
22692 \begin_layout Standard
22693 \begin_inset Note Greyedout
22694 status open
22695
22696 \begin_layout Standard
22697
22698 \series bold
22699 Note:
22700 \series default
22701  You can only number 26 footnotes with Latin letters, because this numbering
22702  is limited to single letters.
22703 \end_layout
22704
22705 \end_inset
22706
22707
22708 \newline
22709
22710 \begin_inset Note Greyedout
22711 status open
22712
22713 \begin_layout Standard
22714
22715 \series bold
22716 Note:
22717 \series default
22718  You can only number 9 footnotes with symbols.
22719 \end_layout
22720
22721 \end_inset
22722
22723
22724 \end_layout
22725
22726 \begin_layout Standard
22727 To return to the default numbering style when you changed to another one,
22728  use 
22729 \series bold
22730
22731 \backslash
22732 arabic
22733 \series default
22734  instead of 
22735 \series bold
22736
22737 \backslash
22738 roman
22739 \series default
22740  in the command above.
22741 \begin_inset ERT
22742 status collapsed
22743
22744 \begin_layout Standard
22745
22746
22747 \backslash
22748 renewcommand{
22749 \backslash
22750 thefootnote}{
22751 \backslash
22752 arabic{footnote}}
22753 \end_layout
22754
22755 \end_inset
22756
22757
22758 \end_layout
22759
22760 \begin_layout Standard
22761 \begin_inset VSpace bigskip
22762 \end_inset
22763
22764
22765 \end_layout
22766
22767 \begin_layout Standard
22768 If you want to have footnotes numbered in the scheme 
22769 \begin_inset Quotes eld
22770 \end_inset
22771
22772 chapter.footnote
22773 \begin_inset Quotes erd
22774 \end_inset
22775
22776 , add the following command to your document preamble:
22777 \end_layout
22778
22779 \begin_layout Standard
22780
22781 \series bold
22782
22783 \backslash
22784 numberwithin{footnote}{chapter}
22785 \end_layout
22786
22787 \begin_layout Standard
22788 To be able to use the command 
22789 \series bold
22790
22791 \backslash
22792 numberwithin
22793 \series default
22794 , set in the tab 
22795 \family sans
22796 Math\InsetSpace ~
22797 Options
22798 \family default
22799  in the document settings the option 
22800 \family sans
22801 Use\InsetSpace ~
22802 AMS\InsetSpace ~
22803 math\InsetSpace ~
22804 package
22805 \family default
22806 .
22807 \end_layout
22808
22809 \begin_layout Standard
22810 \begin_inset ERT
22811 status collapsed
22812
22813 \begin_layout Standard
22814
22815
22816 \backslash
22817 numberwithin{footnote}{chapter}
22818 \end_layout
22819
22820 \end_inset
22821
22822 This is another example footnote:
22823 \series bold
22824
22825 \begin_inset Foot
22826 status open
22827
22828 \begin_layout Standard
22829 This is a footnote numbered in the scheme 
22830 \begin_inset Quotes eld
22831 \end_inset
22832
22833 chapter.footnote
22834 \begin_inset Quotes erd
22835 \end_inset
22836
22837 .
22838 \end_layout
22839
22840 \end_inset
22841
22842
22843 \series default
22844
22845 \begin_inset ERT
22846 status collapsed
22847
22848 \begin_layout Standard
22849
22850
22851 \backslash
22852 renewcommand{
22853 \backslash
22854 thefootnote}{
22855 \backslash
22856 arabic{footnote}}
22857 \end_layout
22858
22859 \end_inset
22860
22861
22862 \end_layout
22863
22864 \begin_layout Standard
22865 \begin_inset Note Greyedout
22866 status open
22867
22868 \begin_layout Standard
22869
22870 \series bold
22871 Note:
22872 \series default
22873  
22874 \series bold
22875
22876 \backslash
22877 numberwithin
22878 \series default
22879  always prints out the footnote number as arabic number; previous redefinitions
22880  to get non-arabic numbers are overwritten.
22881 \end_layout
22882
22883 \end_inset
22884
22885
22886 \end_layout
22887
22888 \begin_layout Standard
22889 So to get for example the scheme 
22890 \begin_inset Quotes eld
22891 \end_inset
22892
22893 chapter.
22894 \backslash
22895 Roman{footnote}
22896 \begin_inset Quotes erd
22897 \end_inset
22898
22899 , use this command instead of 
22900 \series bold
22901
22902 \backslash
22903 numberwithin
22904 \series default
22905 :
22906 \end_layout
22907
22908 \begin_layout Standard
22909
22910 \series bold
22911
22912 \backslash
22913 renewcommand{
22914 \backslash
22915 thefootnote}{
22916 \backslash
22917 thechapter.
22918 \backslash
22919 Roman{footnote}}
22920 \end_layout
22921
22922 \begin_layout Subsection
22923 Footnote Placement
22924 \begin_inset LatexCommand index
22925 name "Footnotes ! Placement"
22926
22927 \end_inset
22928
22929
22930 \end_layout
22931
22932 \begin_layout Standard
22933 If you have several footnotes in one page, they appear without vertical
22934  space between them at the bottom of the page.
22935  To make them better readable you can e.\InsetSpace \thinspace{}
22936 g.\InsetSpace ~
22937 add 1.5\InsetSpace \thinspace{}
22938 mm space with the following
22939  preamble command:
22940 \end_layout
22941
22942 \begin_layout Standard
22943
22944 \series bold
22945
22946 \backslash
22947 let
22948 \backslash
22949 myFoot
22950 \backslash
22951 footnote
22952 \newline
22953
22954 \backslash
22955 renewcommand{
22956 \backslash
22957 footnote}[1]{
22958 \backslash
22959 myFoot{#1
22960 \backslash
22961 vspace{1.5mm}}}
22962 \end_layout
22963
22964 \begin_layout Standard
22965 \begin_inset VSpace bigskip
22966 \end_inset
22967
22968 In a two-column document the footnotes appear at the bottom of every column,
22969  see Figure\InsetSpace ~
22970
22971 \begin_inset LatexCommand ref
22972 reference "fig:Standard-footnote-placement"
22973
22974 \end_inset
22975
22976 .
22977  If the footnotes should only appear at the bottom of the right column,
22978  as in Figure\InsetSpace ~
22979
22980 \begin_inset LatexCommand ref
22981 reference "fig:Footnote-placement-in"
22982
22983 \end_inset
22984
22985 , use the LaTeX-package 
22986 \series bold
22987 ftnright
22988 \series default
22989
22990 \begin_inset LatexCommand index
22991 name "LaTeX-packages ! ftnright"
22992
22993 \end_inset
22994
22995  with this command in the document preamble:
22996 \end_layout
22997
22998 \begin_layout Standard
22999
23000 \series bold
23001
23002 \backslash
23003 usepackage{ftnright}
23004 \end_layout
23005
23006 \begin_layout Standard
23007 \begin_inset Float figure
23008 placement !h
23009 wide false
23010 sideways false
23011 status open
23012
23013 \begin_layout Standard
23014 \begin_inset ERT
23015 status collapsed
23016
23017 \begin_layout Standard
23018
23019
23020 \backslash
23021 framebox{
23022 \end_layout
23023
23024 \end_inset
23025
23026
23027 \begin_inset Graphics
23028         filename clipart/without_fntright.pdf
23029         width 100col%
23030         scaleBeforeRotation
23031
23032 \end_inset
23033
23034
23035 \begin_inset ERT
23036 status collapsed
23037
23038 \begin_layout Standard
23039
23040 }
23041 \end_layout
23042
23043 \end_inset
23044
23045
23046 \end_layout
23047
23048 \begin_layout Standard
23049 \begin_inset Caption
23050
23051 \begin_layout Standard
23052 \begin_inset LatexCommand label
23053 name "fig:Standard-footnote-placement"
23054
23055 \end_inset
23056
23057 Standard footnote placement in two-column documents.
23058 \end_layout
23059
23060 \end_inset
23061
23062
23063 \end_layout
23064
23065 \end_inset
23066
23067
23068 \end_layout
23069
23070 \begin_layout Standard
23071 \begin_inset Float figure
23072 placement !h
23073 wide false
23074 sideways false
23075 status open
23076
23077 \begin_layout Standard
23078 \begin_inset ERT
23079 status collapsed
23080
23081 \begin_layout Standard
23082
23083
23084 \backslash
23085 framebox{
23086 \end_layout
23087
23088 \end_inset
23089
23090
23091 \begin_inset Graphics
23092         filename clipart/with_fntright.pdf
23093         width 100col%
23094         scaleBeforeRotation
23095
23096 \end_inset
23097
23098
23099 \begin_inset ERT
23100 status collapsed
23101
23102 \begin_layout Standard
23103
23104 }
23105 \end_layout
23106
23107 \end_inset
23108
23109
23110 \end_layout
23111
23112 \begin_layout Standard
23113 \begin_inset Caption
23114
23115 \begin_layout Standard
23116 \begin_inset LatexCommand label
23117 name "fig:Footnote-placement-in"
23118
23119 \end_inset
23120
23121 Footnote placement in two-column documents when the LaTeX-package 
23122 \series bold
23123 ftnright
23124 \series default
23125  is used.
23126 \end_layout
23127
23128 \end_inset
23129
23130
23131 \end_layout
23132
23133 \end_inset
23134
23135
23136 \end_layout
23137
23138 \begin_layout Standard
23139 \begin_inset VSpace bigskip
23140 \end_inset
23141
23142 In some scientific literature it is usual to collect the footnotes and print
23143  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23144
23145 \begin_inset LatexCommand ref
23146 reference "fig:Endnotes----footnotes"
23147
23148 \end_inset
23149
23150 .
23151  They are then so called 
23152 \begin_inset Quotes eld
23153 \end_inset
23154
23155 endnotes
23156 \begin_inset Quotes erd
23157 \end_inset
23158
23159 .
23160  To use endnotes instead of footnotes in your document, load the LaTeX-package
23161  
23162 \series bold
23163 endnotes
23164 \series default
23165
23166 \begin_inset LatexCommand index
23167 name "LaTeX-packages ! endnotes"
23168
23169 \end_inset
23170
23171  with the document preamble lines
23172 \end_layout
23173
23174 \begin_layout Standard
23175
23176 \series bold
23177
23178 \backslash
23179 usepackage{endnotes}
23180 \newline
23181
23182 \backslash
23183 let
23184 \backslash
23185 footnote
23186 \backslash
23187 endnote
23188 \end_layout
23189
23190 \begin_layout Standard
23191 To insert the collected footnotes, insert the command
23192 \end_layout
23193
23194 \begin_layout Standard
23195
23196 \series bold
23197
23198 \backslash
23199 theendnotes
23200 \end_layout
23201
23202 \begin_layout Standard
23203 in TeX-Code at the the end of a section or chapter.
23204 \end_layout
23205
23206 \begin_layout Standard
23207 \begin_inset Float figure
23208 wide false
23209 sideways false
23210 status open
23211
23212 \begin_layout Standard
23213 \align center
23214 \begin_inset ERT
23215 status collapsed
23216
23217 \begin_layout Standard
23218
23219
23220 \backslash
23221 framebox{
23222 \end_layout
23223
23224 \end_inset
23225
23226
23227 \begin_inset Graphics
23228         filename clipart/endnotes.pdf
23229         scaleBeforeRotation
23230
23231 \end_inset
23232
23233
23234 \begin_inset ERT
23235 status collapsed
23236
23237 \begin_layout Standard
23238
23239 }
23240 \end_layout
23241
23242 \end_inset
23243
23244
23245 \end_layout
23246
23247 \begin_layout Standard
23248 \begin_inset Caption
23249
23250 \begin_layout Standard
23251 \begin_inset LatexCommand label
23252 name "fig:Endnotes----footnotes"
23253
23254 \end_inset
23255
23256 Endnotes -- footnotes are printed in a separate paragraph at the end of
23257  sections or chapters.
23258 \end_layout
23259
23260 \end_inset
23261
23262
23263 \end_layout
23264
23265 \end_inset
23266
23267
23268 \end_layout
23269
23270 \begin_layout Standard
23271 \begin_inset VSpace medskip
23272 \end_inset
23273
23274 The paragraph heading for the endnotes isn't automatically translated into
23275  the document language, this must be done manually.
23276  The following preamble command translate the default English name 
23277 \begin_inset Quotes eld
23278 \end_inset
23279
23280 Notes
23281 \begin_inset Quotes erd
23282 \end_inset
23283
23284  to the German translation 
23285 \begin_inset Quotes eld
23286 \end_inset
23287
23288 Anmerkungen
23289 \begin_inset Quotes erd
23290 \end_inset
23291
23292 :
23293 \end_layout
23294
23295 \begin_layout Standard
23296
23297 \series bold
23298
23299 \backslash
23300 renewcommand{
23301 \backslash
23302 notesname}{Anmerkungen}
23303 \end_layout
23304
23305 \begin_layout Standard
23306 \begin_inset VSpace medskip
23307 \end_inset
23308
23309 The numbering of endnotes can be changed like the footnote numbering as
23310  described in section\InsetSpace ~
23311
23312 \begin_inset LatexCommand ref
23313 reference "sub:Footnote-Numbering"
23314
23315 \end_inset
23316
23317 ; just replace the command 
23318 \series bold
23319
23320 \backslash
23321 thefootnote
23322 \series default
23323  by 
23324 \series bold
23325
23326 \backslash
23327 theendnote
23328 \series default
23329 .
23330  To reset the endnote number use the command 
23331 \series bold
23332
23333 \backslash
23334 @addtoreset
23335 \series default
23336  as described in section\InsetSpace ~
23337
23338 \begin_inset LatexCommand ref
23339 reference "sub:Footnote-Numbering"
23340
23341 \end_inset
23342
23343  and replace the command parameter 
23344 \series bold
23345 footnote
23346 \series default
23347  by 
23348 \series bold
23349 endnote
23350 \series default
23351 .
23352 \end_layout
23353
23354 \begin_layout Standard
23355 To create only a mark for an endnote, use the command 
23356 \series bold
23357
23358 \backslash
23359 endnotemark[number]
23360 \series default
23361  similar to the command 
23362 \series bold
23363
23364 \backslash
23365 footnotemark
23366 \series default
23367 , described in section\InsetSpace ~
23368
23369 \begin_inset LatexCommand ref
23370 reference "sec:Footnotes"
23371
23372 \end_inset
23373
23374 .
23375 \end_layout
23376
23377 \begin_layout Standard
23378 \begin_inset VSpace bigskip
23379 \end_inset
23380
23381 Footnotes can also be placed in the page margin and the footnote text alignment
23382  can be changed, see the LaTeX-package 
23383 \series bold
23384 footmisc
23385 \series default
23386
23387 \begin_inset LatexCommand index
23388 name "LaTeX-packages ! footmisc"
23389
23390 \end_inset
23391
23392
23393 \begin_inset LatexCommand cite
23394 key "footmisc"
23395
23396 \end_inset
23397
23398  for more information about this.
23399 \end_layout
23400
23401 \begin_layout Standard
23402 For various further footnote formatting issues have a look at LaTeX-books,
23403  
23404 \begin_inset LatexCommand cite
23405 key "latexcompanion,latexguide,latexbook"
23406
23407 \end_inset
23408
23409 .
23410 \end_layout
23411
23412 \begin_layout Section
23413 Margin Notes
23414 \begin_inset LatexCommand index
23415 name "Notes ! Margin Notes"
23416
23417 \end_inset
23418
23419
23420 \end_layout
23421
23422 \begin_layout Standard
23423 Margin notes look and behave in LyX like footnotes.
23424  They are inserted via the menu 
23425 \family sans
23426 Insert\SpecialChar \menuseparator
23427 Marginal\InsetSpace ~
23428 Note
23429 \family default
23430  or the toolbar button 
23431 \begin_inset Graphics
23432         filename ../images/marginalnote-insert.png
23433         scale 85
23434         scaleBeforeRotation
23435
23436 \end_inset
23437
23438 .
23439  A grey 
23440 \family roman
23441 \series medium
23442 box with the
23443 \family default
23444 \series default
23445  red 
23446 \family roman
23447 \series medium
23448 label 
23449 \begin_inset Quotes eld
23450 \end_inset
23451
23452 margin
23453 \begin_inset Quotes erd
23454 \end_inset
23455
23456  appears where you can enter the text of the margin note.
23457 \end_layout
23458
23459 \begin_layout Standard
23460 At the side is an example margin note.
23461 \family roman
23462 \series medium
23463
23464 \begin_inset Marginal
23465 status open
23466
23467 \begin_layout Standard
23468 This is a margin note.
23469 \end_layout
23470
23471 \end_inset
23472
23473
23474 \end_layout
23475
23476 \begin_layout Standard
23477 Margin notes appear at the right side in single-sided documents.
23478  In double-sided documents they appear in the outer margin -- left on even
23479  pages, right on odd pages.
23480  The text of margin notes is aligned opposite to the outer margin -- right-align
23481 ed when the note appears in the left margin.
23482  The first line of the margin note is placed at the position of the text
23483  line where it is inserted in the document.
23484 \end_layout
23485
23486 \begin_layout Standard
23487 \begin_inset VSpace bigskip
23488 \end_inset
23489
23490 To place the margin note in the inner margin, add the command
23491 \end_layout
23492
23493 \begin_layout Standard
23494
23495 \series bold
23496
23497 \backslash
23498 reversemarginpar
23499 \end_layout
23500
23501 \begin_layout Standard
23502 in TeX-Code before a margin note.
23503  The new placement is valid for all following margin notes.
23504 \begin_inset ERT
23505 status collapsed
23506
23507 \begin_layout Standard
23508
23509
23510 \backslash
23511 reversemarginpar 
23512 \end_layout
23513
23514 \end_inset
23515
23516
23517 \begin_inset Marginal
23518 status open
23519
23520 \begin_layout Standard
23521 This is a margin note in the inner margin.
23522 \end_layout
23523
23524 \end_inset
23525
23526
23527 \series bold
23528
23529 \newline
23530
23531 \series default
23532
23533 \begin_inset Note Greyedout
23534 status open
23535
23536 \begin_layout Standard
23537
23538 \series bold
23539 Note:
23540 \series default
23541  There is often not enough space in the inner margin so that the notes are
23542  not correctly displayed in the output.
23543 \end_layout
23544
23545 \end_inset
23546
23547
23548 \end_layout
23549
23550 \begin_layout Standard
23551 To return to the default placement insert the command
23552 \end_layout
23553
23554 \begin_layout Standard
23555
23556 \series bold
23557
23558 \backslash
23559 normalmarginpar
23560 \end_layout
23561
23562 \begin_layout Standard
23563 in TeX-Code.
23564 \begin_inset ERT
23565 status collapsed
23566
23567 \begin_layout Standard
23568
23569
23570 \backslash
23571 normalmarginpar 
23572 \end_layout
23573
23574 \end_inset
23575
23576  
23577 \begin_inset Note Greyedout
23578 status open
23579
23580 \begin_layout Standard
23581
23582 \series bold
23583 Note:
23584 \series default
23585  The command is ignored when it is within a paragraph where also the command
23586  
23587 \series bold
23588
23589 \backslash
23590 reversemarginpar
23591 \series default
23592  is inserted.
23593 \end_layout
23594
23595 \end_inset
23596
23597
23598 \end_layout
23599
23600 \begin_layout Standard
23601 \begin_inset VSpace bigskip
23602 \end_inset
23603
23604
23605 \family roman
23606 \series medium
23607
23608 \begin_inset Marginal
23609 status open
23610
23611 \begin_layout Standard
23612 AVeryLongMarginParWord that isn't hyphenated.
23613 \end_layout
23614
23615 \end_inset
23616
23617
23618 \family default
23619 \series default
23620 Similar to the case described in section\InsetSpace ~
23621
23622 \begin_inset LatexCommand ref
23623 reference "sub:Multiple-Lines-in"
23624
23625 \end_inset
23626
23627 , long words cannot be hyphenated when they are the first word in a margin
23628  note.
23629  To avoid this, insert the command
23630 \end_layout
23631
23632 \begin_layout Standard
23633
23634 \series bold
23635
23636 \backslash
23637 hspace{0pt}
23638 \end_layout
23639
23640 \begin_layout Standard
23641 in TeX-Code before the word
23642 \family roman
23643 \series medium
23644 .
23645 \begin_inset Marginal
23646 status open
23647
23648 \begin_layout Standard
23649 \begin_inset ERT
23650 status collapsed
23651
23652 \begin_layout Standard
23653
23654
23655 \backslash
23656 hspace{0pt}
23657 \end_layout
23658
23659 \end_inset
23660
23661 AVeryLongMarginParWord that is hyphenated.
23662 \end_layout
23663
23664 \end_inset
23665
23666
23667 \end_layout
23668
23669 \begin_layout Standard
23670 \begin_inset VSpace bigskip
23671 \end_inset
23672
23673
23674 \end_layout
23675
23676 \begin_layout Standard
23677 \begin_inset Note Greyedout
23678 status open
23679
23680 \begin_layout Standard
23681
23682 \series bold
23683 Note:
23684 \series default
23685  Margin notes can normally not be used inside tables, floats, and footnotes.
23686 \end_layout
23687
23688 \end_inset
23689
23690
23691 \end_layout
23692
23693 \begin_layout Standard
23694 \begin_inset VSpace bigskip
23695 \end_inset
23696
23697
23698 \end_layout
23699
23700 \begin_layout Standard
23701 \begin_inset ERT
23702 status collapsed
23703
23704 \begin_layout Standard
23705
23706
23707 \backslash
23708 ifmarginnote
23709 \end_layout
23710
23711 \end_inset
23712
23713
23714 \begin_inset Note Note
23715 status open
23716
23717 \begin_layout Standard
23718 The following section will only be displayed when you have the LaTeX-package
23719  
23720 \series bold
23721 marginnote
23722 \series default
23723  is installed.
23724 \end_layout
23725
23726 \end_inset
23727
23728
23729 \end_layout
23730
23731 \begin_layout Standard
23732 This restriction can be evaded by using the LaTeX-package 
23733 \series bold
23734 marginnote
23735 \series default
23736
23737 \begin_inset LatexCommand index
23738 name "LaTeX-packages ! marginnote"
23739
23740 \end_inset
23741
23742 .
23743  By adding these two lines to your document preamble, the command used by
23744  LyX for margin notes is redefined to use the command provided by the 
23745 \series bold
23746 marginnote
23747 \series default
23748 -package:
23749 \end_layout
23750
23751 \begin_layout Standard
23752
23753 \series bold
23754
23755 \backslash
23756 usepackage{marginnote}
23757 \newline
23758
23759 \backslash
23760 let
23761 \backslash
23762 marginpar
23763 \backslash
23764 marginnote
23765 \end_layout
23766
23767 \begin_layout Standard
23768 This is also used in this document because 
23769 \series bold
23770 marginnote
23771 \series default
23772  has another useful feature: You can set a vertical offset for the note.
23773  This is often needed when too many margin notes are too close together
23774  or for a better page layout.
23775  The offset is set in LyX as TeX-Code directly behind the margin note in
23776  the scheme
23777 \end_layout
23778
23779 \begin_layout Standard
23780
23781 \series bold
23782 [offset]
23783 \end_layout
23784
23785 \begin_layout Standard
23786 where the offset is a length with one of the units listed in Table\InsetSpace ~
23787
23788 \begin_inset LatexCommand ref
23789 reference "tab:Units"
23790
23791 \end_inset
23792
23793 .
23794  A negative value shifts the note up, a positive value shifts it down.
23795  
23796 \family roman
23797 \series medium
23798 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23799 cm with
23800  the TeX-Code-command 
23801 \begin_inset Quotes eld
23802 \end_inset
23803
23804
23805 \family default
23806 \series bold
23807 [-1.5cm]
23808 \family roman
23809 \series medium
23810
23811 \begin_inset Quotes erd
23812 \end_inset
23813
23814
23815 \begin_inset Marginal
23816 status open
23817
23818 \begin_layout Standard
23819 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23820 cm from its original position.
23821 \end_layout
23822
23823 \end_inset
23824
23825
23826 \family default
23827 \series default
23828
23829 \begin_inset ERT
23830 status collapsed
23831
23832 \begin_layout Standard
23833
23834 [-1.5cm]
23835 \end_layout
23836
23837 \end_inset
23838
23839
23840 \end_layout
23841
23842 \begin_layout Standard
23843 \begin_inset VSpace medskip
23844 \end_inset
23845
23846 With 
23847 \series bold
23848 marginnote
23849 \series default
23850  you can also change the alignment of the text in the margin note.
23851  For example the commands
23852 \end_layout
23853
23854 \begin_layout Standard
23855
23856 \series bold
23857
23858 \backslash
23859 renewcommand*{
23860 \backslash
23861 raggedleftmarginnote}{
23862 \backslash
23863 centering}
23864 \newline
23865
23866 \backslash
23867 renewcommand*{
23868 \backslash
23869 raggedrightmarginnote}{
23870 \backslash
23871 centering}
23872 \end_layout
23873
23874 \begin_layout Standard
23875 set the alignment to centered.
23876  
23877 \series bold
23878
23879 \backslash
23880 raggedleftmarginnote
23881 \series default
23882  denotes margin notes that appear at the left side.
23883 \family roman
23884 \series medium
23885
23886 \begin_inset ERT
23887 status collapsed
23888
23889 \begin_layout Standard
23890
23891
23892 \backslash
23893 renewcommand*{
23894 \backslash
23895 raggedleftmarginnote}{
23896 \backslash
23897 centering}
23898 \end_layout
23899
23900 \begin_layout Standard
23901
23902
23903 \backslash
23904 renewcommand*{
23905 \backslash
23906 raggedrightmarginnote}{
23907 \backslash
23908 centering}
23909 \end_layout
23910
23911 \end_inset
23912
23913
23914 \begin_inset Marginal
23915 status open
23916
23917 \begin_layout Standard
23918 The text of this margin note is centered.
23919 \end_layout
23920
23921 \end_inset
23922
23923
23924 \family default
23925 \series default
23926  The default is
23927 \end_layout
23928
23929 \begin_layout Standard
23930
23931 \series bold
23932
23933 \backslash
23934 renewcommand*{
23935 \backslash
23936 raggedleftmarginnote}{
23937 \backslash
23938 raggedleft}
23939 \newline
23940
23941 \backslash
23942 renewcommand*{
23943 \backslash
23944 raggedrightmarginnote}{
23945 \backslash
23946 raggedright}
23947 \family roman
23948 \series medium
23949
23950 \begin_inset ERT
23951 status collapsed
23952
23953 \begin_layout Standard
23954
23955
23956 \backslash
23957 renewcommand*{
23958 \backslash
23959 raggedleftmarginnote}{
23960 \backslash
23961 raggedleft}
23962 \end_layout
23963
23964 \begin_layout Standard
23965
23966
23967 \backslash
23968 renewcommand*{
23969 \backslash
23970 raggedrightmarginnote}{
23971 \backslash
23972 raggedright}
23973 \end_layout
23974
23975 \end_inset
23976
23977
23978 \end_layout
23979
23980 \begin_layout Standard
23981 \begin_inset VSpace medskip
23982 \end_inset
23983
23984 For the other features of 
23985 \series bold
23986 marginnote
23987 \series default
23988  we refer to its documentation 
23989 \begin_inset LatexCommand cite
23990 key "marginnote"
23991
23992 \end_inset
23993
23994 .
23995 \end_layout
23996
23997 \begin_layout Standard
23998 \begin_inset VSpace bigskip
23999 \end_inset
24000
24001 You can adjust the layout of margin notes by changing its definition.
24002  To create for example a header for all margin notes with the underlined,
24003  sans-serif, and bold header text 
24004 \begin_inset Quotes eld
24005 \end_inset
24006
24007
24008 \family sans
24009 \series bold
24010 \bar under
24011 Attention!
24012 \family default
24013 \series default
24014 \bar default
24015
24016 \begin_inset Quotes erd
24017 \end_inset
24018
24019 , add this to your document preamble:
24020 \end_layout
24021
24022 \begin_layout Standard
24023
24024 \series bold
24025
24026 \backslash
24027 let
24028 \backslash
24029 myMarginpar
24030 \backslash
24031 marginpar
24032 \newline
24033
24034 \backslash
24035 renewcommand{
24036 \backslash
24037 marginpar}[1]{
24038 \backslash
24039 myMarginpar{%
24040 \newline
24041
24042 \begin_inset ERT
24043 status collapsed
24044
24045 \begin_layout Standard
24046
24047
24048 \backslash
24049 hphantom{ }
24050 \end_layout
24051
24052 \end_inset
24053
24054
24055 \backslash
24056 hspace{0pt}
24057 \backslash
24058 textsf{
24059 \backslash
24060 textbf{
24061 \backslash
24062 underbar{Attention!}}}%
24063 \newline
24064
24065 \begin_inset ERT
24066 status collapsed
24067
24068 \begin_layout Standard
24069
24070
24071 \backslash
24072 hphantom{ }
24073 \end_layout
24074
24075 \end_inset
24076
24077
24078 \backslash
24079 vspace{1.5mm}
24080 \backslash
24081
24082 \backslash
24083 #1}}
24084 \end_layout
24085
24086 \begin_layout Standard
24087
24088 \family roman
24089 \series medium
24090 \begin_inset ERT
24091 status collapsed
24092
24093 \begin_layout Standard
24094
24095
24096 \backslash
24097 let
24098 \backslash
24099 myMarginpar
24100 \backslash
24101 marginpar
24102 \end_layout
24103
24104 \begin_layout Standard
24105
24106
24107 \backslash
24108 renewcommand{
24109 \backslash
24110 marginpar}[1]{
24111 \backslash
24112 myMarginpar{%
24113 \end_layout
24114
24115 \begin_layout Standard
24116
24117    
24118 \backslash
24119 textsf{
24120 \backslash
24121 textbf{
24122 \backslash
24123 underbar{Attention!}}}%
24124 \end_layout
24125
24126 \begin_layout Standard
24127
24128    
24129 \backslash
24130 vspace{1.5mm}
24131 \backslash
24132
24133 \backslash
24134 #1}}
24135 \end_layout
24136
24137 \end_inset
24138
24139
24140 \begin_inset Marginal
24141 status open
24142
24143 \begin_layout Standard
24144 This is a margin note with a defined heading.
24145 \end_layout
24146
24147 \end_inset
24148
24149
24150 \family default
24151 \series default
24152
24153 \begin_inset ERT
24154 status collapsed
24155
24156 \begin_layout Standard
24157
24158 [-1.5cm]
24159 \end_layout
24160
24161 \end_inset
24162
24163
24164 \family roman
24165 \series medium
24166
24167 \begin_inset ERT
24168 status collapsed
24169
24170 \begin_layout Standard
24171
24172
24173 \backslash
24174 renewcommand{
24175 \backslash
24176 marginpar}[1]{
24177 \backslash
24178 myMarginpar{#1}}
24179 \end_layout
24180
24181 \end_inset
24182
24183
24184 \family default
24185 \series default
24186
24187 \begin_inset Note Note
24188 status collapsed
24189
24190 \begin_layout Standard
24191 The margin note format is changed only for this example.
24192 \end_layout
24193
24194 \end_inset
24195
24196
24197 \end_layout
24198
24199 \begin_layout Standard
24200 \begin_inset ERT
24201 status collapsed
24202
24203 \begin_layout Standard
24204
24205
24206 \backslash
24207 else
24208 \end_layout
24209
24210 \end_inset
24211
24212
24213 \begin_inset Note Note
24214 status open
24215
24216 \begin_layout Standard
24217 The following will be displayed when the LaTeX-package 
24218 \series bold
24219 marginnote
24220 \series default
24221  is not installed:
24222 \end_layout
24223
24224 \end_inset
24225
24226
24227 \end_layout
24228
24229 \begin_layout Standard
24230 You need to install the LaTeX-package 
24231 \series bold
24232 marginnote
24233 \series default
24234  to see the following part of this section in the output.
24235 \end_layout
24236
24237 \begin_layout Standard
24238 \begin_inset ERT
24239 status collapsed
24240
24241 \begin_layout Standard
24242
24243
24244 \backslash
24245 fi
24246 \end_layout
24247
24248 \end_inset
24249
24250
24251 \end_layout
24252
24253 \begin_layout Chapter
24254 Boxes
24255 \end_layout
24256
24257 \begin_layout Section
24258 Introduction
24259 \begin_inset LatexCommand index
24260 name "Boxes ! Introduction"
24261
24262 \end_inset
24263
24264
24265 \end_layout
24266
24267 \begin_layout Standard
24268 Boxes are used to format a block of text.
24269  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24270
24271 \begin_inset LatexCommand ref
24272 reference "sec:Minipages"
24273
24274 \end_inset
24275
24276 , to frame texts, see section\InsetSpace ~
24277
24278 \begin_inset LatexCommand ref
24279 reference "sec:Framed-Boxes"
24280
24281 \end_inset
24282
24283 , to prevent words to be hyphenated, see section\InsetSpace ~
24284
24285 \begin_inset LatexCommand ref
24286 reference "sec:Prevent-Hyphenation"
24287
24288 \end_inset
24289
24290 , to align text, see section\InsetSpace ~
24291
24292 \begin_inset LatexCommand ref
24293 reference "sub:Vertical-Alignment"
24294
24295 \end_inset
24296
24297 , or to set the background color of texts, see section\InsetSpace ~
24298
24299 \begin_inset LatexCommand ref
24300 reference "sec:Colored-Boxes"
24301
24302 \end_inset
24303
24304 .
24305 \end_layout
24306
24307 \begin_layout Standard
24308 Boxes can be inserted with the menu 
24309 \family sans
24310 Insert\SpecialChar \menuseparator
24311 Box
24312 \family default
24313 .
24314  A grey box with the label 
24315 \family sans
24316 Box (Minipage)
24317 \family default
24318
24319 \begin_inset Graphics
24320         filename clipart/BoxInsetDefaultQt4.png
24321         scale 85
24322         scaleBeforeRotation
24323
24324 \end_inset
24325
24326 , will be inserted.
24327  The box type can be specified by right-clicking on the box.
24328  The appearing box dialog offers the 
24329 \family sans
24330 Inner\InsetSpace ~
24331 Box
24332 \family default
24333  types 
24334 \family sans
24335 Parbox
24336 \family default
24337  and 
24338 \family sans
24339 Minipage
24340 \family default
24341 .
24342  The type 
24343 \family sans
24344 Minipage
24345 \family default
24346  is the default for new boxes and is explained in section\InsetSpace ~
24347
24348 \begin_inset LatexCommand ref
24349 reference "sec:Minipages"
24350
24351 \end_inset
24352
24353 ; the type 
24354 \family sans
24355 Parbox
24356 \family default
24357  is described in section\InsetSpace ~
24358
24359 \begin_inset LatexCommand ref
24360 reference "sec:Parboxes"
24361
24362 \end_inset
24363
24364 .
24365 \end_layout
24366
24367 \begin_layout Standard
24368 Boxes aren't numbered and can therefore not be referenced like floats or
24369  footnotes.
24370 \end_layout
24371
24372 \begin_layout Standard
24373 \begin_inset Note Greyedout
24374 status open
24375
24376 \begin_layout Standard
24377
24378 \series bold
24379 Note:
24380 \series default
24381  Due to a bug in LyX you have to insert a protected space behind a box when
24382  you want to separate in a line the box from the following text with a space.
24383 \end_layout
24384
24385 \end_inset
24386
24387
24388 \end_layout
24389
24390 \begin_layout Standard
24391 \begin_inset Note Greyedout
24392 status open
24393
24394 \begin_layout Standard
24395
24396 \series bold
24397 Note:
24398 \series default
24399  Boxes must not be the item in an 
24400 \family sans
24401 Itemize
24402 \family default
24403  or 
24404 \family sans
24405 Description
24406 \family default
24407  environment.
24408 \end_layout
24409
24410 \end_inset
24411
24412
24413 \end_layout
24414
24415 \begin_layout Standard
24416 \begin_inset Note Greyedout
24417 status open
24418
24419 \begin_layout Standard
24420
24421 \series bold
24422 Note:
24423 \series default
24424  For an unknown reason you can only set the 
24425 \family sans
24426 Inner\InsetSpace ~
24427 Box
24428 \family default
24429  type to 
24430 \family sans
24431 None
24432 \family default
24433  when you use a framed box.
24434  Boxes without an 
24435 \family sans
24436 Inner\InsetSpace ~
24437 Box
24438 \family default
24439  type and without frames are explained in section\InsetSpace ~
24440
24441 \begin_inset LatexCommand ref
24442 reference "sec:Prevent-Hyphenation"
24443
24444 \end_inset
24445
24446 .
24447 \end_layout
24448
24449 \end_inset
24450
24451
24452 \end_layout
24453
24454 \begin_layout Section
24455 Box Dialog
24456 \begin_inset LatexCommand label
24457 name "sec:Box-Dialog"
24458
24459 \end_inset
24460
24461
24462 \begin_inset LatexCommand index
24463 name "Boxes ! Box Dialog"
24464
24465 \end_inset
24466
24467
24468 \begin_inset LatexCommand index
24469 name "Boxes ! Alignment"
24470
24471 \end_inset
24472
24473
24474 \end_layout
24475
24476 \begin_layout Standard
24477 In the box dialog you can adjust the box geometry in the fields 
24478 \family sans
24479 Width
24480 \family default
24481  and 
24482 \family sans
24483 Height
24484 \family default
24485 .
24486  The available units for the geometry are explained in Table\InsetSpace ~
24487
24488 \begin_inset LatexCommand ref
24489 reference "tab:Units"
24490
24491 \end_inset
24492
24493 .
24494  The field 
24495 \family sans
24496 Heigth
24497 \family default
24498  offers the following additional sizes:
24499 \end_layout
24500
24501 \begin_layout Description
24502 Depth This is the plain text 
24503 \begin_inset Quotes eld
24504 \end_inset
24505
24506 height
24507 \begin_inset Quotes erd
24508 \end_inset
24509
24510 .
24511  It ignores the total depth when there are multiple text lines in the box:
24512 \newline
24513
24514 \newline
24515
24516 \newline
24517
24518 \begin_inset Box Boxed
24519 position "c"
24520 hor_pos "c"
24521 has_inner_box 1
24522 inner_pos "c"
24523 use_parbox 0
24524 width "12col%"
24525 special "none"
24526 height "1in"
24527 height_special "depth"
24528 status collapsed
24529
24530 \begin_layout Standard
24531 \align center
24532 Box height set to 1\InsetSpace \thinspace{}
24533 Depth
24534 \end_layout
24535
24536 \end_inset
24537
24538
24539 \newline
24540
24541 \newline
24542
24543 \end_layout
24544
24545 \begin_layout Description
24546 Height This is the heigth of the text that is inside the box.
24547  A value of e.\InsetSpace \thinspace{}
24548 g.\InsetSpace ~
24549 2 for this size will set the box heigth to 2 times the text
24550  height: 
24551 \begin_inset Box Boxed
24552 position "c"
24553 hor_pos "c"
24554 has_inner_box 1
24555 inner_pos "c"
24556 use_parbox 0
24557 width "20col%"
24558 special "none"
24559 height "2in"
24560 height_special "height"
24561 status collapsed
24562
24563 \begin_layout Standard
24564 \align center
24565 Box height set to 2\InsetSpace \thinspace{}
24566 Height
24567 \end_layout
24568
24569 \end_inset
24570
24571
24572 \end_layout
24573
24574 \begin_layout Description
24575 Total\InsetSpace ~
24576 Height This is the Height\InsetSpace \thinspace{}
24577 +\InsetSpace \thinspace{}
24578 Depth: 
24579 \begin_inset Box Boxed
24580 position "c"
24581 hor_pos "c"
24582 has_inner_box 1
24583 inner_pos "c"
24584 use_parbox 0
24585 width "20col%"
24586 special "none"
24587 height "1in"
24588 height_special "totalheight"
24589 status collapsed
24590
24591 \begin_layout Standard
24592 \align center
24593 Box height set to 1\InsetSpace \thinspace{}
24594 Total\InsetSpace ~
24595 Height
24596 \end_layout
24597
24598 \end_inset
24599
24600
24601 \end_layout
24602
24603 \begin_layout Description
24604 Width This sets the width of the box as heigth: 
24605 \begin_inset Box Boxed
24606 position "c"
24607 hor_pos "c"
24608 has_inner_box 1
24609 inner_pos "c"
24610 use_parbox 0
24611 width "12col%"
24612 special "none"
24613 height "1in"
24614 height_special "width"
24615 status collapsed
24616
24617 \begin_layout Standard
24618 \align center
24619 Box height set to 1\InsetSpace \thinspace{}
24620 Width
24621 \end_layout
24622
24623 \end_inset
24624
24625
24626 \end_layout
24627
24628 \begin_layout Standard
24629 \begin_inset VSpace bigskip
24630 \end_inset
24631
24632 When you have chosen an 
24633 \family sans
24634 Inner\InsetSpace ~
24635 Box
24636 \family default
24637 , the vertical box alignment can be:
24638 \end_layout
24639
24640 \begin_layout Description
24641 Top This is an example text line.
24642  
24643 \begin_inset Box Boxed
24644 position "t"
24645 hor_pos "c"
24646 has_inner_box 1
24647 inner_pos "c"
24648 use_parbox 0
24649 width "12col%"
24650 special "none"
24651 height "1in"
24652 height_special "totalheight"
24653 status collapsed
24654
24655 \begin_layout Standard
24656 \align center
24657 This box is top-aligned.
24658 \end_layout
24659
24660 \end_inset
24661
24662 \InsetSpace ~
24663 This is an example text line.
24664 \end_layout
24665
24666 \begin_layout Description
24667 Middle This is an example text line.
24668  
24669 \begin_inset Box Boxed
24670 position "c"
24671 hor_pos "c"
24672 has_inner_box 1
24673 inner_pos "c"
24674 use_parbox 0
24675 width "12col%"
24676 special "none"
24677 height "1in"
24678 height_special "totalheight"
24679 status collapsed
24680
24681 \begin_layout Standard
24682 \align center
24683 This box is middle-aligned.
24684 \end_layout
24685
24686 \end_inset
24687
24688 \InsetSpace ~
24689 This is an example text line.
24690 \end_layout
24691
24692 \begin_layout Description
24693 Bottom This is an example text line.
24694  
24695 \begin_inset Box Boxed
24696 position "b"
24697 hor_pos "c"
24698 has_inner_box 1
24699 inner_pos "c"
24700 use_parbox 0
24701 width "12col%"
24702 special "none"
24703 height "1in"
24704 height_special "totalheight"
24705 status collapsed
24706
24707 \begin_layout Standard
24708 \align center
24709 This box is bottom-aligned.
24710 \end_layout
24711
24712 \end_inset
24713
24714 \InsetSpace ~
24715 This is an example text line.
24716 \end_layout
24717
24718 \begin_layout Standard
24719 The horizontal box alignment can be set via LyX's paragraph dialog when
24720  you set the box into its own paragraph.
24721 \end_layout
24722
24723 \begin_layout Standard
24724 \begin_inset VSpace bigskip
24725 \end_inset
24726
24727 When you have chosen an 
24728 \family sans
24729 Inner\InsetSpace ~
24730 Box
24731 \family default
24732 , the box content can be vertical aligned to:
24733 \end_layout
24734
24735 \begin_layout Description
24736 top This is an example text line.
24737  
24738 \begin_inset Box Boxed
24739 position "c"
24740 hor_pos "c"
24741 has_inner_box 1
24742 inner_pos "t"
24743 use_parbox 0
24744 width "12col%"
24745 special "none"
24746 height "1.5in"
24747 height_special "totalheight"
24748 status collapsed
24749
24750 \begin_layout Standard
24751 \align center
24752 This box text is top-aligned.
24753 \end_layout
24754
24755 \end_inset
24756
24757 \InsetSpace ~
24758 This is an example text line.
24759 \end_layout
24760
24761 \begin_layout Description
24762 middle This is an example text line.
24763  
24764 \begin_inset Box Boxed
24765 position "c"
24766 hor_pos "c"
24767 has_inner_box 1
24768 inner_pos "c"
24769 use_parbox 0
24770 width "12col%"
24771 special "none"
24772 height "1.5in"
24773 height_special "totalheight"
24774 status collapsed
24775
24776 \begin_layout Standard
24777 \align center
24778 This box text is middle-aligned.
24779 \end_layout
24780
24781 \end_inset
24782
24783 \InsetSpace ~
24784 This is an example text line.
24785 \end_layout
24786
24787 \begin_layout Description
24788 bottom This is an example text line.
24789  
24790 \begin_inset Box Boxed
24791 position "c"
24792 hor_pos "c"
24793 has_inner_box 1
24794 inner_pos "b"
24795 use_parbox 0
24796 width "12col%"
24797 special "none"
24798 height "1.5in"
24799 height_special "totalheight"
24800 status collapsed
24801
24802 \begin_layout Standard
24803 \align center
24804 This box text is bottom-aligned.
24805 \end_layout
24806
24807 \end_inset
24808
24809 \InsetSpace ~
24810 This is an example text line.
24811 \end_layout
24812
24813 \begin_layout Description
24814 stretch This is an example text line.
24815  
24816 \begin_inset Box Boxed
24817 position "c"
24818 hor_pos "c"
24819 has_inner_box 1
24820 inner_pos "s"
24821 use_parbox 0
24822 width "12col%"
24823 special "none"
24824 height "1.5in"
24825 height_special "totalheight"
24826 status collapsed
24827
24828 \begin_layout Standard
24829 \align center
24830 This box
24831 \end_layout
24832
24833 \begin_layout Standard
24834 \align center
24835 text is
24836 \end_layout
24837
24838 \begin_layout Standard
24839 \align center
24840 stretched.
24841 \end_layout
24842
24843 \end_inset
24844
24845 \InsetSpace ~
24846 This is an example text line.
24847 \end_layout
24848
24849 \begin_layout Standard
24850 To stretch the box content, it must consist of more than one paragraph.
24851  In the example above every text line is in an own paragraph.
24852 \end_layout
24853
24854 \begin_layout Standard
24855 \begin_inset VSpace bigskip
24856 \end_inset
24857
24858 To align the box content horizontally you can use LyX's paragraph dialog
24859  when you have chosen an 
24860 \family sans
24861 Inner\InsetSpace ~
24862 Box
24863 \family default
24864 .
24865 \end_layout
24866
24867 \begin_layout Standard
24868 \align center
24869 \begin_inset Box Boxed
24870 position "c"
24871 hor_pos "c"
24872 has_inner_box 1
24873 inner_pos "s"
24874 use_parbox 0
24875 width "15col%"
24876 special "none"
24877 height "1.25in"
24878 height_special "totalheight"
24879 status collapsed
24880
24881 \begin_layout Standard
24882 \align left
24883 This box
24884 \end_layout
24885
24886 \begin_layout Standard
24887 \align center
24888 text is
24889 \end_layout
24890
24891 \begin_layout Standard
24892 \align right
24893 stretched.
24894 \end_layout
24895
24896 \end_inset
24897
24898
24899 \end_layout
24900
24901 \begin_layout Standard
24902 If you haven't set an 
24903 \family sans
24904 Inner\InsetSpace ~
24905 Box
24906 \family default
24907 , you can align the box content horizontally in the box dialog.
24908 \end_layout
24909
24910 \begin_layout Standard
24911 \align center
24912 \begin_inset Box Boxed
24913 position "c"
24914 hor_pos "s"
24915 has_inner_box 0
24916 inner_pos "s"
24917 use_parbox 0
24918 width "90col%"
24919 special "none"
24920 height "1.25in"
24921 height_special "totalheight"
24922 status collapsed
24923
24924 \begin_layout Standard
24925 \align left
24926 This box text is horizontally stretched.
24927 \end_layout
24928
24929 \end_inset
24930
24931
24932 \end_layout
24933
24934 \begin_layout Section
24935 Framed Boxes
24936 \begin_inset LatexCommand label
24937 name "sec:Framed-Boxes"
24938
24939 \end_inset
24940
24941
24942 \begin_inset LatexCommand index
24943 name "Boxes ! Frames"
24944
24945 \end_inset
24946
24947
24948 \end_layout
24949
24950 \begin_layout Standard
24951 The frame style of the box can be specified in the box-dialog in the drop-down
24952  list 
24953 \family sans
24954 Type
24955 \family default
24956 .
24957  The following frame types are possible:
24958 \end_layout
24959
24960 \begin_layout Description
24961 Rectangular\InsetSpace ~
24962 box This draws a rectangle frame around the box.
24963  The frame line thickness has the size of 
24964 \series bold
24965
24966 \backslash
24967 fboxrule
24968 \series default
24969 .
24970  
24971 \begin_inset Box Boxed
24972 position "c"
24973 hor_pos "c"
24974 has_inner_box 1
24975 inner_pos "c"
24976 use_parbox 0
24977 width "20col%"
24978 special "none"
24979 height "1in"
24980 height_special "totalheight"
24981 status collapsed
24982
24983 \begin_layout Standard
24984 \align center
24985 Rectangular box
24986 \end_layout
24987
24988 \end_inset
24989
24990
24991 \end_layout
24992
24993 \begin_layout Description
24994 Oval\InsetSpace ~
24995 box,\InsetSpace ~
24996 thin This draws an oval frame around the box.
24997  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24998 pt.
24999  
25000 \begin_inset Box ovalbox
25001 position "c"
25002 hor_pos "c"
25003 has_inner_box 1
25004 inner_pos "c"
25005 use_parbox 0
25006 width "20col%"
25007 special "none"
25008 height "1in"
25009 height_special "totalheight"
25010 status collapsed
25011
25012 \begin_layout Standard
25013 \align center
25014 Oval box, thin
25015 \end_layout
25016
25017 \end_inset
25018
25019
25020 \end_layout
25021
25022 \begin_layout Description
25023 Oval\InsetSpace ~
25024 box,\InsetSpace ~
25025 thick This draws an oval frame around the box.
25026  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25027 pt.
25028  
25029 \begin_inset Box Ovalbox
25030 position "c"
25031 hor_pos "c"
25032 has_inner_box 1
25033 inner_pos "c"
25034 use_parbox 0
25035 width "20col%"
25036 special "none"
25037 height "1in"
25038 height_special "totalheight"
25039 status collapsed
25040
25041 \begin_layout Standard
25042 \align center
25043 Oval box, thick
25044 \end_layout
25045
25046 \end_inset
25047
25048
25049 \end_layout
25050
25051 \begin_layout Description
25052 Shadow\InsetSpace ~
25053 box This draws a rectangle frame with a shadow around the box.
25054  The frame line thickness has the size of 
25055 \series bold
25056
25057 \backslash
25058 fboxrule
25059 \series default
25060 , the shadow has a width of 4\InsetSpace \thinspace{}
25061 pt.
25062  
25063 \begin_inset Box Shadowbox
25064 position "c"
25065 hor_pos "c"
25066 has_inner_box 1
25067 inner_pos "c"
25068 use_parbox 0
25069 width "20col%"
25070 special "none"
25071 height "1in"
25072 height_special "totalheight"
25073 status collapsed
25074
25075 \begin_layout Standard
25076 \align center
25077 Shadow box
25078 \end_layout
25079
25080 \end_inset
25081
25082
25083 \end_layout
25084
25085 \begin_layout Description
25086 Double\InsetSpace ~
25087 box This draws a double-line rectangle frame around the box.
25088  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25089
25090 \series bold
25091
25092 \backslash
25093 fboxrule
25094 \series default
25095 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25096
25097 \series bold
25098
25099 \backslash
25100 fboxrule
25101 \series default
25102 .
25103  The distance between the lines is 1.5\InsetSpace \thinspace{}
25104
25105 \series bold
25106
25107 \backslash
25108 fboxrule
25109 \series default
25110 \InsetSpace \thinspace{}
25111 +\InsetSpace \thinspace{}
25112 0.5\InsetSpace \thinspace{}
25113 pt.
25114  
25115 \begin_inset Box Doublebox
25116 position "c"
25117 hor_pos "c"
25118 has_inner_box 1
25119 inner_pos "c"
25120 use_parbox 0
25121 width "20col%"
25122 special "none"
25123 height "1in"
25124 height_special "totalheight"
25125 status collapsed
25126
25127 \begin_layout Standard
25128 \align center
25129 Double box
25130 \end_layout
25131
25132 \end_inset
25133
25134
25135 \end_layout
25136
25137 \begin_layout Standard
25138 \begin_inset VSpace bigskip
25139 \end_inset
25140
25141 LyX's box label will change to the used frame style when you set a frame.
25142  To be able to use the different frame styles, the LaTeX-package 
25143 \series bold
25144 fancybox
25145 \series default
25146
25147 \begin_inset LatexCommand index
25148 name "LaTeX-packages ! fancybox"
25149
25150 \end_inset
25151
25152  must be installed.
25153 \end_layout
25154
25155 \begin_layout Standard
25156 \begin_inset VSpace bigskip
25157 \end_inset
25158
25159 The default value for the size 
25160 \series bold
25161
25162 \backslash
25163 fboxrule
25164 \series default
25165  is 0.4\InsetSpace \thinspace{}
25166 pt.
25167  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25168 g.\InsetSpace ~
25169 2\InsetSpace \thinspace{}
25170 pt:
25171 \end_layout
25172
25173 \begin_layout Standard
25174
25175 \series bold
25176
25177 \backslash
25178 setlength{
25179 \backslash
25180 fboxrule}{2pt}
25181 \end_layout
25182
25183 \begin_layout Standard
25184 \begin_inset ERT
25185 status collapsed
25186
25187 \begin_layout Standard
25188
25189
25190 \backslash
25191 setlength{
25192 \backslash
25193 fboxrule}{2pt}
25194 \end_layout
25195
25196 \end_inset
25197
25198
25199 \begin_inset Box Boxed
25200 position "c"
25201 hor_pos "c"
25202 has_inner_box 1
25203 inner_pos "c"
25204 use_parbox 0
25205 width "25col%"
25206 special "none"
25207 height "1in"
25208 height_special "totalheight"
25209 status collapsed
25210
25211 \begin_layout Standard
25212 \align center
25213 Rectangular box with 
25214 \series bold
25215
25216 \backslash
25217 fboxrule
25218 \series default
25219 \InsetSpace \thinspace{}
25220 =\InsetSpace \thinspace{}
25221 2\InsetSpace \thinspace{}
25222 pt
25223 \end_layout
25224
25225 \end_inset
25226
25227
25228 \begin_inset ERT
25229 status collapsed
25230
25231 \begin_layout Standard
25232
25233
25234 \backslash
25235 setlength{
25236 \backslash
25237 fboxrule}{0.4pt}
25238 \end_layout
25239
25240 \end_inset
25241
25242
25243 \end_layout
25244
25245 \begin_layout Standard
25246 \begin_inset VSpace bigskip
25247 \end_inset
25248
25249 The space between the frame and the box content is for all frame styles
25250  by default 3\InsetSpace \thinspace{}
25251 pt.
25252  You can change it by setting the length 
25253 \series bold
25254
25255 \backslash
25256 fboxsep
25257 \series default
25258  to another value.
25259  For example the command
25260 \end_layout
25261
25262 \begin_layout Standard
25263
25264 \series bold
25265
25266 \backslash
25267 setlength{
25268 \backslash
25269 fboxsep}{10pt}
25270 \end_layout
25271
25272 \begin_layout Standard
25273 sets the value to 10\InsetSpace \thinspace{}
25274 pt, like for the following box:
25275 \end_layout
25276
25277 \begin_layout Standard
25278 \begin_inset ERT
25279 status collapsed
25280
25281 \begin_layout Standard
25282
25283
25284 \backslash
25285 setlength{
25286 \backslash
25287 fboxsep}{10pt}
25288 \end_layout
25289
25290 \end_inset
25291
25292
25293 \begin_inset Box Boxed
25294 position "c"
25295 hor_pos "c"
25296 has_inner_box 1
25297 inner_pos "c"
25298 use_parbox 0
25299 width "25col%"
25300 special "none"
25301 height "1in"
25302 height_special "totalheight"
25303 status collapsed
25304
25305 \begin_layout Standard
25306 \align center
25307 Rectangular box with 
25308 \series bold
25309
25310 \backslash
25311 fboxsep
25312 \series default
25313 \InsetSpace \thinspace{}
25314 =\InsetSpace \thinspace{}
25315 10\InsetSpace \thinspace{}
25316 pt
25317 \end_layout
25318
25319 \end_inset
25320
25321
25322 \begin_inset ERT
25323 status collapsed
25324
25325 \begin_layout Standard
25326
25327
25328 \backslash
25329 setlength{
25330 \backslash
25331 fboxsep}{3pt}
25332 \end_layout
25333
25334 \end_inset
25335
25336
25337 \end_layout
25338
25339 \begin_layout Standard
25340 \begin_inset VSpace bigskip
25341 \end_inset
25342
25343 The diameter of the round corners of the oval boxes can be set with the
25344  command 
25345 \series bold
25346
25347 \backslash
25348 cornersize
25349 \series default
25350 .
25351  The command
25352 \end_layout
25353
25354 \begin_layout Standard
25355
25356 \series bold
25357
25358 \backslash
25359 cornersize*{1cm}
25360 \end_layout
25361
25362 \begin_layout Standard
25363 sets the diameter to 1\InsetSpace \thinspace{}
25364 cm.
25365  The command
25366 \end_layout
25367
25368 \begin_layout Standard
25369
25370 \series bold
25371
25372 \backslash
25373 cornersize{num}
25374 \end_layout
25375
25376 \begin_layout Standard
25377 sets the diameter to 
25378 \family sans
25379 num\InsetSpace \thinspace{}
25380 ×\InsetSpace \thinspace{}
25381 minimum(width and heigth of box)
25382 \family default
25383 .
25384  The default is 
25385 \series bold
25386
25387 \backslash
25388 cornersize{0.5}
25389 \series default
25390 .
25391 \end_layout
25392
25393 \begin_layout Standard
25394 \begin_inset ERT
25395 status collapsed
25396
25397 \begin_layout Standard
25398
25399
25400 \backslash
25401 cornersize*{1.5cm}
25402 \end_layout
25403
25404 \end_inset
25405
25406
25407 \begin_inset Box Ovalbox
25408 position "c"
25409 hor_pos "c"
25410 has_inner_box 1
25411 inner_pos "c"
25412 use_parbox 0
25413 width "25col%"
25414 special "none"
25415 height "1in"
25416 height_special "totalheight"
25417 status collapsed
25418
25419 \begin_layout Standard
25420 \align center
25421 Oval box with 
25422 \series bold
25423
25424 \backslash
25425 cornersize
25426 \series default
25427 \InsetSpace \thinspace{}
25428 =\InsetSpace \thinspace{}
25429 1.5\InsetSpace \thinspace{}
25430 cm
25431 \end_layout
25432
25433 \end_inset
25434
25435
25436 \begin_inset ERT
25437 status collapsed
25438
25439 \begin_layout Standard
25440
25441
25442 \backslash
25443 cornersize{0.5}
25444 \end_layout
25445
25446 \end_inset
25447
25448
25449 \end_layout
25450
25451 \begin_layout Standard
25452 \begin_inset VSpace bigskip
25453 \end_inset
25454
25455 The size of the shadow can be adjusted by changing the length 
25456 \series bold
25457
25458 \backslash
25459 shadowsize
25460 \series default
25461 .
25462  It it set to 2\InsetSpace \thinspace{}
25463 pt for the following box by this command:
25464 \end_layout
25465
25466 \begin_layout Standard
25467
25468 \series bold
25469
25470 \backslash
25471 setlength{
25472 \backslash
25473 shadowsize}{2pt}
25474 \end_layout
25475
25476 \begin_layout Standard
25477 \begin_inset ERT
25478 status collapsed
25479
25480 \begin_layout Standard
25481
25482
25483 \backslash
25484 setlength{
25485 \backslash
25486 shadowsize}{2pt}
25487 \end_layout
25488
25489 \end_inset
25490
25491
25492 \begin_inset Box Shadowbox
25493 position "c"
25494 hor_pos "c"
25495 has_inner_box 1
25496 inner_pos "c"
25497 use_parbox 0
25498 width "25col%"
25499 special "none"
25500 height "1in"
25501 height_special "totalheight"
25502 status collapsed
25503
25504 \begin_layout Standard
25505 \align center
25506 Shadow box with 
25507 \series bold
25508
25509 \backslash
25510 shadowsize
25511 \series default
25512 \InsetSpace \thinspace{}
25513 =\InsetSpace \thinspace{}
25514 2\InsetSpace \thinspace{}
25515 pt
25516 \end_layout
25517
25518 \end_inset
25519
25520
25521 \begin_inset ERT
25522 status collapsed
25523
25524 \begin_layout Standard
25525
25526
25527 \backslash
25528 setlength{
25529 \backslash
25530 shadowsize}{4pt}
25531 \end_layout
25532
25533 \end_inset
25534
25535
25536 \end_layout
25537
25538 \begin_layout Standard
25539 \begin_inset VSpace bigskip
25540 \end_inset
25541
25542 Changed lengths and widths are valid for all boxes following the commands
25543  that change them.
25544 \end_layout
25545
25546 \begin_layout Section
25547 Minipages
25548 \begin_inset LatexCommand label
25549 name "sec:Minipages"
25550
25551 \end_inset
25552
25553
25554 \begin_inset LatexCommand index
25555 name "Boxes ! Minipages"
25556
25557 \end_inset
25558
25559
25560 \end_layout
25561
25562 \begin_layout Standard
25563 Minipages are treated by LaTeX as pages within pages and can therefore for
25564  example have their own footnotes.
25565 \end_layout
25566
25567 \begin_layout Standard
25568 Minipages are useful when you write documents with different languages.
25569 \end_layout
25570
25571 \begin_layout Standard
25572 Below are two example minipages side by side.
25573  Their width is set to 45\InsetSpace \thinspace{}
25574 col% and they are separated by a horizontal fill,
25575  that was inserted via the menu 
25576 \family sans
25577 Insert\SpecialChar \menuseparator
25578 Special\InsetSpace ~
25579 Formatting\SpecialChar \menuseparator
25580 Horizontal\InsetSpace ~
25581 Fill
25582 \family default
25583 .
25584 \end_layout
25585
25586 \begin_layout Standard
25587 \begin_inset Box Frameless
25588 position "t"
25589 hor_pos "c"
25590 has_inner_box 1
25591 inner_pos "c"
25592 use_parbox 0
25593 width "45col%"
25594 special "none"
25595 height "1in"
25596 height_special "totalheight"
25597 status open
25598
25599 \begin_layout Standard
25600
25601 \lang german
25602 Dies ist ein deutscher Text.
25603  Dies ist ein deutscher Text.
25604  Dies ist ein deutscher Text.
25605  Dies ist ein deutscher Text.
25606  Dies ist ein deutscher Text.
25607  Dies ist ein deutscher Text.
25608  Dies ist ein deutscher Text.
25609  Dies ist ein deutscher Text.
25610  Dies ist ein deutscher Text.
25611  Dies ist ein deutscher Text.
25612  Dies ist ein deutscher Text.
25613  Dies ist ein deutscher Text.
25614  Dies ist ein deutscher Text
25615 \begin_inset Foot
25616 status collapsed
25617
25618 \begin_layout Standard
25619
25620 \lang german
25621 Dies ist eine deutsche Fußnote.
25622 \end_layout
25623
25624 \end_inset
25625
25626 .
25627  Dies ist ein deutscher Text.
25628  Dies ist ein deutscher Text.
25629 \end_layout
25630
25631 \end_inset
25632
25633
25634 \hfill
25635
25636 \begin_inset Box Frameless
25637 position "t"
25638 hor_pos "c"
25639 has_inner_box 1
25640 inner_pos "c"
25641 use_parbox 0
25642 width "45col%"
25643 special "none"
25644 height "1in"
25645 height_special "totalheight"
25646 status open
25647
25648 \begin_layout Standard
25649 This is an English Text.
25650  This is an English Text.
25651  This is an English Text.
25652  This is an English Text.
25653  This is an English Text.
25654  This is an English Text.
25655  This is an English Text.
25656  This is an English Text.
25657  This is an English Text.
25658  This is an English Text.
25659  This is an English Text.
25660  This is an English Text.
25661  This is an English Text.
25662  This is an English Text.
25663  This is an English Text.
25664  This is an English Text.
25665 \begin_inset Foot
25666 status collapsed
25667
25668 \begin_layout Standard
25669 This is an English footnote.
25670 \end_layout
25671
25672 \end_inset
25673
25674  This is an English Text.
25675  
25676 \end_layout
25677
25678 \end_inset
25679
25680
25681 \end_layout
25682
25683 \begin_layout Standard
25684 \begin_inset VSpace bigskip
25685 \end_inset
25686
25687 Another application for minipages are footnotes within tables.
25688  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25689  bottom of the current page.
25690  But when you put the table with the footnote to a minipage, the footnote
25691  will appear at its bottom, numbered with Latin letters.
25692  The footnote number is reset to 1 in every minipage but not outside the
25693  minipages.
25694 \end_layout
25695
25696 \begin_layout Standard
25697 The footnote of this table doesn't appear: 
25698 \begin_inset Tabular
25699 <lyxtabular version="3" rows="3" columns="4">
25700 <features>
25701 <column alignment="center" valignment="top" leftline="true" width="0pt">
25702 <column alignment="center" valignment="top" leftline="true" width="0pt">
25703 <column alignment="center" valignment="top" leftline="true" width="0pt">
25704 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25705 <row topline="true">
25706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25707 \begin_inset Text
25708
25709 \begin_layout Standard
25710 1
25711 \end_layout
25712
25713 \end_inset
25714 </cell>
25715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25716 \begin_inset Text
25717
25718 \begin_layout Standard
25719 2
25720 \end_layout
25721
25722 \end_inset
25723 </cell>
25724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25725 \begin_inset Text
25726
25727 \begin_layout Standard
25728 3
25729 \begin_inset Foot
25730 status collapsed
25731
25732 \begin_layout Standard
25733 This is a footnote within a table.
25734 \end_layout
25735
25736 \end_inset
25737
25738
25739 \end_layout
25740
25741 \end_inset
25742 </cell>
25743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25744 \begin_inset Text
25745
25746 \begin_layout Standard
25747 4
25748 \end_layout
25749
25750 \end_inset
25751 </cell>
25752 </row>
25753 <row topline="true">
25754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25755 \begin_inset Text
25756
25757 \begin_layout Standard
25758 a
25759 \end_layout
25760
25761 \end_inset
25762 </cell>
25763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25764 \begin_inset Text
25765
25766 \begin_layout Standard
25767 b
25768 \end_layout
25769
25770 \end_inset
25771 </cell>
25772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25773 \begin_inset Text
25774
25775 \begin_layout Standard
25776 c
25777 \end_layout
25778
25779 \end_inset
25780 </cell>
25781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25782 \begin_inset Text
25783
25784 \begin_layout Standard
25785 d
25786 \end_layout
25787
25788 \end_inset
25789 </cell>
25790 </row>
25791 <row topline="true" bottomline="true">
25792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25793 \begin_inset Text
25794
25795 \begin_layout Standard
25796 e
25797 \end_layout
25798
25799 \end_inset
25800 </cell>
25801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25802 \begin_inset Text
25803
25804 \begin_layout Standard
25805 f
25806 \end_layout
25807
25808 \end_inset
25809 </cell>
25810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25811 \begin_inset Text
25812
25813 \begin_layout Standard
25814 g
25815 \end_layout
25816
25817 \end_inset
25818 </cell>
25819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25820 \begin_inset Text
25821
25822 \begin_layout Standard
25823 h
25824 \end_layout
25825
25826 \end_inset
25827 </cell>
25828 </row>
25829 </lyxtabular>
25830
25831 \end_inset
25832
25833
25834 \end_layout
25835
25836 \begin_layout Standard
25837 \align center
25838 \begin_inset Box Frameless
25839 position "t"
25840 hor_pos "c"
25841 has_inner_box 1
25842 inner_pos "c"
25843 use_parbox 0
25844 width "30col%"
25845 special "none"
25846 height "1in"
25847 height_special "totalheight"
25848 status open
25849
25850 \begin_layout Standard
25851 \align center
25852 \begin_inset Tabular
25853 <lyxtabular version="3" rows="3" columns="4">
25854 <features>
25855 <column alignment="center" valignment="top" leftline="true" width="0pt">
25856 <column alignment="center" valignment="top" leftline="true" width="0pt">
25857 <column alignment="center" valignment="top" leftline="true" width="0pt">
25858 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25859 <row topline="true">
25860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25861 \begin_inset Text
25862
25863 \begin_layout Standard
25864 1
25865 \end_layout
25866
25867 \end_inset
25868 </cell>
25869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25870 \begin_inset Text
25871
25872 \begin_layout Standard
25873 2
25874 \end_layout
25875
25876 \end_inset
25877 </cell>
25878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25879 \begin_inset Text
25880
25881 \begin_layout Standard
25882 3
25883 \begin_inset Foot
25884 status collapsed
25885
25886 \begin_layout Standard
25887 This is a footnote within a table.
25888 \end_layout
25889
25890 \end_inset
25891
25892
25893 \end_layout
25894
25895 \end_inset
25896 </cell>
25897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25898 \begin_inset Text
25899
25900 \begin_layout Standard
25901 4
25902 \end_layout
25903
25904 \end_inset
25905 </cell>
25906 </row>
25907 <row topline="true">
25908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25909 \begin_inset Text
25910
25911 \begin_layout Standard
25912 a
25913 \end_layout
25914
25915 \end_inset
25916 </cell>
25917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25918 \begin_inset Text
25919
25920 \begin_layout Standard
25921 b
25922 \end_layout
25923
25924 \end_inset
25925 </cell>
25926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25927 \begin_inset Text
25928
25929 \begin_layout Standard
25930 c
25931 \end_layout
25932
25933 \end_inset
25934 </cell>
25935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25936 \begin_inset Text
25937
25938 \begin_layout Standard
25939 d
25940 \end_layout
25941
25942 \end_inset
25943 </cell>
25944 </row>
25945 <row topline="true" bottomline="true">
25946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25947 \begin_inset Text
25948
25949 \begin_layout Standard
25950 e
25951 \end_layout
25952
25953 \end_inset
25954 </cell>
25955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25956 \begin_inset Text
25957
25958 \begin_layout Standard
25959 f
25960 \end_layout
25961
25962 \end_inset
25963 </cell>
25964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25965 \begin_inset Text
25966
25967 \begin_layout Standard
25968 g
25969 \end_layout
25970
25971 \end_inset
25972 </cell>
25973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25974 \begin_inset Text
25975
25976 \begin_layout Standard
25977 h
25978 \end_layout
25979
25980 \end_inset
25981 </cell>
25982 </row>
25983 </lyxtabular>
25984
25985 \end_inset
25986
25987
25988 \end_layout
25989
25990 \end_inset
25991
25992
25993 \end_layout
25994
25995 \begin_layout Standard
25996 \begin_inset VSpace bigskip
25997 \end_inset
25998
25999 The document-wide paragraph settings are ignored within minipages.
26000  That means that there will be no space between paragraphs in minipages
26001  although you set it to e.\InsetSpace \thinspace{}
26002 g.\InsetSpace ~
26003
26004 \family sans
26005 MedSkip
26006 \family default
26007  in the document settings.
26008 \end_layout
26009
26010 \begin_layout Standard
26011 Minipages can also be used to set a background color for text parts, see
26012  section\InsetSpace ~
26013
26014 \begin_inset LatexCommand ref
26015 reference "sub:Color-for-Paragraphs"
26016
26017 \end_inset
26018
26019 .
26020 \end_layout
26021
26022 \begin_layout Standard
26023 \begin_inset Note Greyedout
26024 status open
26025
26026 \begin_layout Standard
26027
26028 \series bold
26029 Note:
26030 \series default
26031  You cannot have floats or margin notes inside minipages but minipages can
26032  be used inside tables, floats, and other boxes.
26033 \end_layout
26034
26035 \end_inset
26036
26037
26038 \end_layout
26039
26040 \begin_layout Section
26041 Parboxes
26042 \begin_inset LatexCommand label
26043 name "sec:Parboxes"
26044
26045 \end_inset
26046
26047
26048 \begin_inset LatexCommand index
26049 name "Boxes ! Parboxes"
26050
26051 \end_inset
26052
26053
26054 \end_layout
26055
26056 \begin_layout Standard
26057 Parboxes are very similar to minipages with the difference that they cannot
26058  have footnotes.
26059  The main difference to minipages is that minipages are in contrary to parboxes
26060  no real boxes but LaTeX-environments.
26061 \end_layout
26062
26063 \begin_layout Standard
26064 \align center
26065 \begin_inset Box Frameless
26066 position "t"
26067 hor_pos "c"
26068 has_inner_box 1
26069 inner_pos "t"
26070 use_parbox 1
26071 width "33col%"
26072 special "none"
26073 height "1in"
26074 height_special "totalheight"
26075 status collapsed
26076
26077 \begin_layout Standard
26078 This a text within a parbox.
26079  This a text within a parbox.
26080 \end_layout
26081
26082 \begin_layout Standard
26083 This footnote won't appear:
26084 \begin_inset Foot
26085 status collapsed
26086
26087 \begin_layout Standard
26088 This footnote is inside a parbox and will therefore not appear.
26089 \end_layout
26090
26091 \end_inset
26092
26093
26094 \end_layout
26095
26096 \end_inset
26097
26098
26099 \end_layout
26100
26101 \begin_layout Section
26102 Boxes for Words and Characters
26103 \begin_inset LatexCommand index
26104 name "Boxes ! for Characters"
26105
26106 \end_inset
26107
26108
26109 \end_layout
26110
26111 \begin_layout Subsection
26112 Prevent Hyphenation
26113 \begin_inset LatexCommand label
26114 name "sec:Prevent-Hyphenation"
26115
26116 \end_inset
26117
26118
26119 \begin_inset LatexCommand index
26120 name "Boxes ! to Prevent Hyphenation"
26121
26122 \end_inset
26123
26124
26125 \end_layout
26126
26127 \begin_layout Standard
26128 You can use a special kind of boxes to prevent words or text to be hyphenated.
26129 \newline
26130 Her
26131 e is an example text:
26132 \end_layout
26133
26134 \begin_layout Standard
26135 This line is an example to show how you can prevent the hyphenation of 
26136 \begin_inset Quotes eld
26137 \end_inset
26138
26139 veryverylongword
26140 \begin_inset Quotes erd
26141 \end_inset
26142
26143 .
26144 \end_layout
26145
26146 \begin_layout Standard
26147 To prevent the hyphenation of the word 
26148 \begin_inset Quotes eld
26149 \end_inset
26150
26151 veryverylongword
26152 \begin_inset Quotes erd
26153 \end_inset
26154
26155 , add the command
26156 \end_layout
26157
26158 \begin_layout Standard
26159
26160 \series bold
26161
26162 \backslash
26163 mbox{
26164 \end_layout
26165
26166 \begin_layout Standard
26167 in TeX-Code before the word.
26168  Behind the word insert a closing brace 
26169 \begin_inset Quotes eld
26170 \end_inset
26171
26172
26173 \series bold
26174 }
26175 \series default
26176
26177 \begin_inset Quotes erd
26178 \end_inset
26179
26180  in TeX-Code.
26181 \begin_inset ERT
26182 status collapsed
26183
26184 \begin_layout Standard
26185
26186
26187 \backslash
26188 pagebreak 
26189 \end_layout
26190
26191 \end_inset
26192
26193
26194 \end_layout
26195
26196 \begin_layout Standard
26197 This is the result:
26198 \end_layout
26199
26200 \begin_layout Standard
26201 This line is an example to show how you can prevent the hyphenation of 
26202 \begin_inset ERT
26203 status collapsed
26204
26205 \begin_layout Standard
26206
26207
26208 \backslash
26209 mbox{
26210 \end_layout
26211
26212 \end_inset
26213
26214
26215 \begin_inset Quotes eld
26216 \end_inset
26217
26218 veryverylongword
26219 \begin_inset Quotes erd
26220 \end_inset
26221
26222 .
26223 \begin_inset ERT
26224 status collapsed
26225
26226 \begin_layout Standard
26227
26228 }
26229 \end_layout
26230
26231 \end_inset
26232
26233
26234 \end_layout
26235
26236 \begin_layout Standard
26237 You can alternatively set the command 
26238 \begin_inset Quotes eld
26239 \end_inset
26240
26241
26242 \series bold
26243
26244 \backslash
26245 -
26246 \series default
26247
26248 \begin_inset Quotes grd
26249 \end_inset
26250
26251  as TeX-Code directly before the word:
26252 \end_layout
26253
26254 \begin_layout Standard
26255 This line is an example to show how you can prevent the hyphenation of 
26256 \begin_inset Quotes eld
26257 \end_inset
26258
26259
26260 \begin_inset ERT
26261 status collapsed
26262
26263 \begin_layout Standard
26264
26265
26266 \backslash
26267 -
26268 \end_layout
26269
26270 \end_inset
26271
26272 veryverylongword
26273 \begin_inset Quotes erd
26274 \end_inset
26275
26276 .
26277 \end_layout
26278
26279 \begin_layout Standard
26280 Of course the word now protrudes over the side margin.
26281  To avoid this, add via the menu 
26282 \family sans
26283 Insert\SpecialChar \menuseparator
26284 Special\InsetSpace ~
26285 Formatting\SpecialChar \menuseparator
26286 Line\InsetSpace ~
26287 Break
26288 \family default
26289  (shortcut 
26290 \series bold
26291 Ctrl-Return
26292 \series default
26293 ) a line break before the word:
26294 \end_layout
26295
26296 \begin_layout Standard
26297 This line is an example to show how you can prevent the hyphenation of 
26298 \newline
26299
26300 \begin_inset ERT
26301 status collapsed
26302
26303 \begin_layout Standard
26304
26305
26306 \backslash
26307 mbox{
26308 \end_layout
26309
26310 \end_inset
26311
26312
26313 \begin_inset Quotes eld
26314 \end_inset
26315
26316 veryverylongword
26317 \begin_inset Quotes erd
26318 \end_inset
26319
26320 .
26321 \begin_inset ERT
26322 status collapsed
26323
26324 \begin_layout Standard
26325
26326 }
26327 \end_layout
26328
26329 \end_inset
26330
26331
26332 \end_layout
26333
26334 \begin_layout Subsection
26335 Vertical Alignment
26336 \begin_inset LatexCommand label
26337 name "sub:Vertical-Alignment"
26338
26339 \end_inset
26340
26341
26342 \begin_inset LatexCommand index
26343 name "Boxes ! for Vertical Alignment"
26344
26345 \end_inset
26346
26347
26348 \begin_inset LatexCommand index
26349 name "Boxes ! Raiseboxes"
26350
26351 \end_inset
26352
26353
26354 \end_layout
26355
26356 \begin_layout Standard
26357 With the help of the command 
26358 \series bold
26359
26360 \backslash
26361 raisebox
26362 \series default
26363  you can align words, characters or other boxes vertically to the surrounding
26364  text.
26365  
26366 \series bold
26367
26368 \backslash
26369 raisebox
26370 \series default
26371  is used with the following scheme:
26372 \end_layout
26373
26374 \begin_layout Standard
26375
26376 \series bold
26377
26378 \backslash
26379 raisebox{lift}[height][depth]{box content}
26380 \end_layout
26381
26382 \begin_layout Standard
26383 The lift can be a positive value to raise the box or a negative value to
26384  lower the box.
26385 \end_layout
26386
26387 \begin_layout Standard
26388 To align for example the word 
26389 \begin_inset Quotes eld
26390 \end_inset
26391
26392 preventing
26393 \begin_inset Quotes erd
26394 \end_inset
26395
26396  so that the bottom of the 
26397 \begin_inset Quotes eld
26398 \end_inset
26399
26400 deepest
26401 \begin_inset Quotes erd
26402 \end_inset
26403
26404  character 
26405 \begin_inset Quotes eld
26406 \end_inset
26407
26408 p
26409 \begin_inset Quotes erd
26410 \end_inset
26411
26412  is at the baseline, insert the command
26413 \end_layout
26414
26415 \begin_layout Standard
26416
26417 \series bold
26418
26419 \backslash
26420 raisebox{
26421 \backslash
26422 depth}{
26423 \end_layout
26424
26425 \begin_layout Standard
26426 in TeX-Code before the word.
26427  Behind the word insert a closing brace 
26428 \begin_inset Quotes eld
26429 \end_inset
26430
26431
26432 \series bold
26433 }
26434 \series default
26435
26436 \begin_inset Quotes erd
26437 \end_inset
26438
26439  in TeX-Code.
26440 \newline
26441 This is the result:
26442 \end_layout
26443
26444 \begin_layout Standard
26445 This is a text line with the word 
26446 \begin_inset ERT
26447 status collapsed
26448
26449 \begin_layout Standard
26450
26451
26452 \backslash
26453 raisebox{
26454 \backslash
26455 depth}{
26456 \end_layout
26457
26458 \end_inset
26459
26460
26461 \begin_inset Quotes eld
26462 \end_inset
26463
26464 preventing
26465 \begin_inset Quotes erd
26466 \end_inset
26467
26468
26469 \begin_inset ERT
26470 status collapsed
26471
26472 \begin_layout Standard
26473
26474 }
26475 \end_layout
26476
26477 \end_inset
26478
26479  as raised word.
26480 \end_layout
26481
26482 \begin_layout Standard
26483 \begin_inset VSpace bigskip
26484 \end_inset
26485
26486 When you raise or lower characters in a line, the line distance will be
26487  spread:
26488 \end_layout
26489
26490 \begin_layout Standard
26491 This is a text line with the word 
26492 \begin_inset ERT
26493 status collapsed
26494
26495 \begin_layout Standard
26496
26497
26498 \backslash
26499 raisebox{-
26500 \backslash
26501 depth}{
26502 \end_layout
26503
26504 \end_inset
26505
26506
26507 \begin_inset Quotes eld
26508 \end_inset
26509
26510 preventing
26511 \begin_inset Quotes erd
26512 \end_inset
26513
26514
26515 \begin_inset ERT
26516 status collapsed
26517
26518 \begin_layout Standard
26519
26520 }
26521 \end_layout
26522
26523 \end_inset
26524
26525  as lowered word.
26526 \newline
26527 This is a text line with the word 
26528 \begin_inset ERT
26529 status collapsed
26530
26531 \begin_layout Standard
26532
26533
26534 \backslash
26535 raisebox{0.5cm}{
26536 \end_layout
26537
26538 \end_inset
26539
26540
26541 \begin_inset Quotes eld
26542 \end_inset
26543
26544 testing
26545 \begin_inset Quotes erd
26546 \end_inset
26547
26548
26549 \begin_inset ERT
26550 status collapsed
26551
26552 \begin_layout Standard
26553
26554 }
26555 \end_layout
26556
26557 \end_inset
26558
26559  as raised word.
26560 \end_layout
26561
26562 \begin_layout Standard
26563 If you want to prevent this for a certain reason, set the box height to
26564  a zero value.
26565  For example use
26566 \end_layout
26567
26568 \begin_layout Standard
26569
26570 \series bold
26571
26572 \backslash
26573 raisebox{-
26574 \backslash
26575 depth}[0pt]{
26576 \end_layout
26577
26578 \begin_layout Standard
26579 This is a text line with the word 
26580 \begin_inset ERT
26581 status collapsed
26582
26583 \begin_layout Standard
26584
26585
26586 \backslash
26587 raisebox{-
26588 \backslash
26589 depth}[0pt]{
26590 \end_layout
26591
26592 \end_inset
26593
26594
26595 \begin_inset Quotes eld
26596 \end_inset
26597
26598 preventing
26599 \begin_inset Quotes erd
26600 \end_inset
26601
26602
26603 \begin_inset ERT
26604 status collapsed
26605
26606 \begin_layout Standard
26607
26608 }
26609 \end_layout
26610
26611 \end_inset
26612
26613  as lowered word.
26614 \newline
26615 This is a text line with the word 
26616 \begin_inset ERT
26617 status collapsed
26618
26619 \begin_layout Standard
26620
26621
26622 \backslash
26623 raisebox{0.5cm}[0pt]{
26624 \end_layout
26625
26626 \end_inset
26627
26628
26629 \begin_inset Quotes eld
26630 \end_inset
26631
26632 testing
26633 \begin_inset Quotes erd
26634 \end_inset
26635
26636
26637 \begin_inset ERT
26638 status collapsed
26639
26640 \begin_layout Standard
26641
26642 }
26643 \end_layout
26644
26645 \end_inset
26646
26647  as raised word.
26648 \end_layout
26649
26650 \begin_layout Section
26651 Colored Boxes
26652 \begin_inset LatexCommand label
26653 name "sec:Colored-Boxes"
26654
26655 \end_inset
26656
26657
26658 \begin_inset LatexCommand index
26659 name "Boxes ! Color"
26660
26661 \end_inset
26662
26663
26664 \end_layout
26665
26666 \begin_layout Subsection
26667 Color for Text
26668 \begin_inset LatexCommand index
26669 name "Color ! for Text"
26670
26671 \end_inset
26672
26673
26674 \end_layout
26675
26676 \begin_layout Standard
26677 To color the background of text the text must be put into a so called 
26678 \begin_inset Quotes eld
26679 \end_inset
26680
26681 colorbox
26682 \begin_inset Quotes erd
26683 \end_inset
26684
26685 .
26686  This requires that the LaTeX-package 
26687 \series bold
26688 color
26689 \series default
26690
26691 \begin_inset LatexCommand index
26692 name "LaTeX-packages ! color"
26693
26694 \end_inset
26695
26696  is loaded in the document preamble with the command
26697 \end_layout
26698
26699 \begin_layout Standard
26700
26701 \series bold
26702
26703 \backslash
26704 @ifundefined{textcolor}
26705 \newline
26706
26707 \begin_inset ERT
26708 status collapsed
26709
26710 \begin_layout Standard
26711
26712
26713 \backslash
26714 hphantom{ }
26715 \end_layout
26716
26717 \end_inset
26718
26719 {
26720 \backslash
26721 usepackage{color}}{}
26722 \end_layout
26723
26724 \begin_layout Standard
26725 The package 
26726 \series bold
26727 color
26728 \series default
26729  will be loaded automatically by LyX when you color text
26730 \begin_inset Foot
26731 status collapsed
26732
26733 \begin_layout Standard
26734 To avoid that it is loaded twice the command 
26735 \series bold
26736
26737 \backslash
26738 @ifundef\SpecialChar \textcompwordmark{}
26739 ined
26740 \series default
26741  is used.
26742 \end_layout
26743
26744 \end_inset
26745
26746 .
26747 \end_layout
26748
26749 \begin_layout Standard
26750 \begin_inset VSpace medskip
26751 \end_inset
26752
26753 Colorboxes are created with the command 
26754 \series bold
26755
26756 \backslash
26757 colorbox
26758 \series default
26759 .
26760  This will be used with the following scheme:
26761 \end_layout
26762
26763 \begin_layout Standard
26764
26765 \series bold
26766
26767 \backslash
26768 colorbox{color}{box content}
26769 \end_layout
26770
26771 \begin_layout Standard
26772 The box content can also be a box and colorboxes can also be within other
26773  boxes.
26774 \end_layout
26775
26776 \begin_layout Standard
26777 The following colors are predefined:
26778 \newline
26779
26780 \family sans
26781 black
26782 \family default
26783
26784 \family sans
26785 blue
26786 \family default
26787
26788 \family sans
26789 cyan
26790 \family default
26791 \series bold
26792 ,
26793 \series default
26794  
26795 \family sans
26796 green
26797 \family default
26798
26799 \family sans
26800 magenta
26801 \family default
26802
26803 \family sans
26804 red
26805 \family default
26806
26807 \family sans
26808 white
26809 \family default
26810 , and 
26811 \family sans
26812 yellow
26813 \family default
26814 .
26815 \newline
26816 You can also define your own color as described in section\InsetSpace ~
26817
26818 \begin_inset LatexCommand ref
26819 reference "sec:Colored-Tables"
26820
26821 \end_inset
26822
26823 .
26824 \end_layout
26825
26826 \begin_layout Standard
26827 To have e.\InsetSpace \thinspace{}
26828 g.\InsetSpace ~
26829 a red background for a word, insert the command
26830 \end_layout
26831
26832 \begin_layout Standard
26833
26834 \series bold
26835
26836 \backslash
26837 colorbox{red}{
26838 \end_layout
26839
26840 \begin_layout Standard
26841 before the word in TeX-Code.
26842  Behind the word insert a closing brace 
26843 \begin_inset Quotes eld
26844 \end_inset
26845
26846
26847 \series bold
26848 }
26849 \series default
26850
26851 \begin_inset Quotes erd
26852 \end_inset
26853
26854  in TeX-Code.
26855 \newline
26856 This is the result:
26857 \end_layout
26858
26859 \begin_layout Standard
26860 This is a line where the word 
26861 \begin_inset ERT
26862 status collapsed
26863
26864 \begin_layout Standard
26865
26866
26867 \backslash
26868 colorbox{red}{
26869 \end_layout
26870
26871 \end_inset
26872
26873
26874 \begin_inset Quotes eld
26875 \end_inset
26876
26877 Attention!
26878 \begin_inset Quotes erd
26879 \end_inset
26880
26881
26882 \begin_inset ERT
26883 status collapsed
26884
26885 \begin_layout Standard
26886
26887 }
26888 \end_layout
26889
26890 \end_inset
26891
26892  has a red background.
26893 \end_layout
26894
26895 \begin_layout Standard
26896 \begin_inset VSpace bigskip
26897 \end_inset
26898
26899 If you would have the box frame in a different color, you can use the command
26900  
26901 \series bold
26902
26903 \backslash
26904 fcolorbox
26905 \series default
26906  with the following scheme:
26907 \end_layout
26908
26909 \begin_layout Standard
26910
26911 \series bold
26912
26913 \backslash
26914 fcolorbox{frame color}{box color}{box content}
26915 \end_layout
26916
26917 \begin_layout Standard
26918
26919 \series bold
26920
26921 \backslash
26922 fcolorbox
26923 \series default
26924  is an extension to 
26925 \series bold
26926
26927 \backslash
26928 colorbox
26929 \series default
26930 .
26931  The frame thickness and the space between the frame and the box content
26932  can be adjusted with the lengths 
26933 \series bold
26934
26935 \backslash
26936 fboxrule
26937 \series default
26938  and 
26939 \series bold
26940
26941 \backslash
26942 fboxsep
26943 \series default
26944 , respectively, as described in section\InsetSpace ~
26945
26946 \begin_inset LatexCommand ref
26947 reference "sec:Framed-Boxes"
26948
26949 \end_inset
26950
26951 .
26952 \end_layout
26953
26954 \begin_layout Standard
26955 For the following example the command
26956 \end_layout
26957
26958 \begin_layout Standard
26959
26960 \series bold
26961
26962 \backslash
26963 fcolorbox{cyan}{magenta}{
26964 \end_layout
26965
26966 \begin_layout Standard
26967 was used.
26968 \end_layout
26969
26970 \begin_layout Standard
26971 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26972 mm:
26973 \newline
26974
26975 \begin_inset ERT
26976 status collapsed
26977
26978 \begin_layout Standard
26979
26980
26981 \backslash
26982 fboxrule 1mm 
26983 \backslash
26984 fboxsep 1mm
26985 \end_layout
26986
26987 \end_inset
26988
26989
26990 \begin_inset ERT
26991 status collapsed
26992
26993 \begin_layout Standard
26994
26995
26996 \backslash
26997 fcolorbox{cyan}{magenta}{
26998 \end_layout
26999
27000 \end_inset
27001
27002 This is text within a colored, framed box.
27003 \begin_inset ERT
27004 status collapsed
27005
27006 \begin_layout Standard
27007
27008 }
27009 \end_layout
27010
27011 \end_inset
27012
27013
27014 \end_layout
27015
27016 \begin_layout Standard
27017 \begin_inset VSpace bigskip
27018 \end_inset
27019
27020 Of course you can also have colored text inside a colorbox:
27021 \newline
27022
27023 \begin_inset ERT
27024 status collapsed
27025
27026 \begin_layout Standard
27027
27028
27029 \backslash
27030 fcolorbox{cyan}{magenta}{
27031 \end_layout
27032
27033 \end_inset
27034
27035
27036 \color yellow
27037 This is colored text within a colored, framed box.
27038 \color none
27039
27040 \begin_inset ERT
27041 status collapsed
27042
27043 \begin_layout Standard
27044
27045 }
27046 \end_layout
27047
27048 \end_inset
27049
27050
27051 \begin_inset ERT
27052 status collapsed
27053
27054 \begin_layout Standard
27055
27056
27057 \backslash
27058 fboxrule 0.4pt 
27059 \backslash
27060 fboxsep 3pt
27061 \end_layout
27062
27063 \end_inset
27064
27065
27066 \end_layout
27067
27068 \begin_layout Standard
27069
27070 \series bold
27071 \begin_inset VSpace medskip
27072 \end_inset
27073
27074
27075 \end_layout
27076
27077 \begin_layout Standard
27078 \begin_inset Note Greyedout
27079 status open
27080
27081 \begin_layout Standard
27082
27083 \series bold
27084 Note:
27085 \series default
27086  Text in colorboxes cannot have line breaks.
27087  To color multiple text lines or paragraphs, use a box inside a colorbox
27088  as described in the following.
27089 \end_layout
27090
27091 \end_inset
27092
27093
27094 \end_layout
27095
27096 \begin_layout Subsection
27097 Color for Paragraphs
27098 \begin_inset LatexCommand label
27099 name "sub:Color-for-Paragraphs"
27100
27101 \end_inset
27102
27103
27104 \begin_inset LatexCommand index
27105 name "Color ! for Paragraphs"
27106
27107 \end_inset
27108
27109
27110 \end_layout
27111
27112 \begin_layout Standard
27113 To set the background color for more than one text line, put the text into
27114  a minipage.
27115  Before the minipage insert the 
27116 \series bold
27117
27118 \backslash
27119 colorbox
27120 \series default
27121  command
27122 \end_layout
27123
27124 \begin_layout Standard
27125
27126 \series bold
27127
27128 \backslash
27129 colorbox{color}{
27130 \end_layout
27131
27132 \begin_layout Standard
27133 in TeX-Code.
27134  Behind the minipage insert a closing brace 
27135 \begin_inset Quotes eld
27136 \end_inset
27137
27138
27139 \series bold
27140 }
27141 \series default
27142
27143 \begin_inset Quotes erd
27144 \end_inset
27145
27146  in TeX-Code.
27147 \end_layout
27148
27149 \begin_layout Standard
27150 \begin_inset ERT
27151 status collapsed
27152
27153 \begin_layout Standard
27154
27155
27156 \backslash
27157 colorbox{lightgrey}{
27158 \end_layout
27159
27160 \end_inset
27161
27162
27163 \begin_inset Box Frameless
27164 position "t"
27165 hor_pos "c"
27166 has_inner_box 1
27167 inner_pos "t"
27168 use_parbox 0
27169 width "100col%"
27170 special "none"
27171 height "1in"
27172 height_special "totalheight"
27173 status collapsed
27174
27175 \begin_layout Standard
27176 This is text with background color.
27177  This is text with background color.
27178 \end_layout
27179
27180 \begin_layout Standard
27181 \begin_inset VSpace defskip
27182 \end_inset
27183
27184 The text can have footnotes
27185 \begin_inset Foot
27186 status collapsed
27187
27188 \begin_layout Standard
27189 Another example footnote
27190 \end_layout
27191
27192 \end_inset
27193
27194  and can include tables and figures.
27195 \end_layout
27196
27197 \begin_layout Standard
27198 \align center
27199 \begin_inset Tabular
27200 <lyxtabular version="3" rows="3" columns="3">
27201 <features>
27202 <column alignment="center" valignment="top" leftline="true" width="0">
27203 <column alignment="center" valignment="top" leftline="true" width="0">
27204 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27205 <row topline="true">
27206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27207 \begin_inset Text
27208
27209 \begin_layout Standard
27210 a
27211 \end_layout
27212
27213 \end_inset
27214 </cell>
27215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27216 \begin_inset Text
27217
27218 \begin_layout Standard
27219 !
27220 \end_layout
27221
27222 \end_inset
27223 </cell>
27224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27225 \begin_inset Text
27226
27227 \begin_layout Standard
27228 3
27229 \end_layout
27230
27231 \end_inset
27232 </cell>
27233 </row>
27234 <row topline="true">
27235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27236 \begin_inset Text
27237
27238 \begin_layout Standard
27239 <
27240 \end_layout
27241
27242 \end_inset
27243 </cell>
27244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27245 \begin_inset Text
27246
27247 \begin_layout Standard
27248 b2
27249 \begin_inset Quotes erd
27250 \end_inset
27251
27252 |
27253 \end_layout
27254
27255 \end_inset
27256 </cell>
27257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27258 \begin_inset Text
27259
27260 \begin_layout Standard
27261 >
27262 \end_layout
27263
27264 \end_inset
27265 </cell>
27266 </row>
27267 <row topline="true" bottomline="true">
27268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27269 \begin_inset Text
27270
27271 \begin_layout Standard
27272 1
27273 \end_layout
27274
27275 \end_inset
27276 </cell>
27277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27278 \begin_inset Text
27279
27280 \begin_layout Standard
27281 §
27282 \end_layout
27283
27284 \end_inset
27285 </cell>
27286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27287 \begin_inset Text
27288
27289 \begin_layout Standard
27290 c
27291 \end_layout
27292
27293 \end_inset
27294 </cell>
27295 </row>
27296 </lyxtabular>
27297
27298 \end_inset
27299
27300
27301 \end_layout
27302
27303 \end_inset
27304
27305
27306 \begin_inset ERT
27307 status collapsed
27308
27309 \begin_layout Standard
27310
27311 }
27312 \end_layout
27313
27314 \end_inset
27315
27316
27317 \end_layout
27318
27319 \begin_layout Section
27320 Rotated and Scaled Boxes
27321 \end_layout
27322
27323 \begin_layout Standard
27324 To use the the commands described in this section, the LaTeX-package 
27325 \series bold
27326 graphicx
27327 \series default
27328
27329 \begin_inset LatexCommand index
27330 name "LaTeX-packages ! graphicx"
27331
27332 \end_inset
27333
27334  needs to be loaded in the document preamble with the command
27335 \end_layout
27336
27337 \begin_layout Standard
27338
27339 \series bold
27340
27341 \backslash
27342 @ifundefined{rotatebox}
27343 \newline
27344
27345 \begin_inset ERT
27346 status collapsed
27347
27348 \begin_layout Standard
27349
27350
27351 \backslash
27352 hphantom{ }
27353 \end_layout
27354
27355 \end_inset
27356
27357 {
27358 \backslash
27359 usepackage{graphicx}}{}
27360 \end_layout
27361
27362 \begin_layout Standard
27363 \begin_inset Note Greyedout
27364 status open
27365
27366 \begin_layout Standard
27367
27368 \series bold
27369 Note:
27370 \series default
27371  Some DVI-viewers can't display rotated or scaled material.
27372 \end_layout
27373
27374 \end_inset
27375
27376
27377 \end_layout
27378
27379 \begin_layout Standard
27380 \begin_inset Note Greyedout
27381 status open
27382
27383 \begin_layout Standard
27384
27385 \series bold
27386 Note:
27387 \series default
27388  Floats mustn't be inside a rotated or scaled box.
27389 \end_layout
27390
27391 \end_inset
27392
27393
27394 \end_layout
27395
27396 \begin_layout Subsection
27397 Rotated Boxes
27398 \begin_inset LatexCommand index
27399 name "Boxes ! rotated"
27400
27401 \end_inset
27402
27403
27404 \begin_inset LatexCommand index
27405 name "Rotated material"
27406
27407 \end_inset
27408
27409
27410 \begin_inset LatexCommand index
27411 name "Figures ! rotated"
27412
27413 \end_inset
27414
27415
27416 \begin_inset LatexCommand index
27417 name "Table Customization ! Rotating"
27418
27419 \end_inset
27420
27421
27422 \end_layout
27423
27424 \begin_layout Standard
27425 To rotate material, you can put it into a rotated box.
27426  Such a box is created using the command 
27427 \series bold
27428
27429 \backslash
27430 rotatebox
27431 \series default
27432  in TeX-Code with the following scheme:
27433 \end_layout
27434
27435 \begin_layout Standard
27436
27437 \series bold
27438
27439 \backslash
27440 rotatebox[rotation origin]{rotation angle}{box content}
27441 \end_layout
27442
27443 \begin_layout Standard
27444 The rotation origin is specified in the form 
27445 \series bold
27446 origin=position
27447 \series default
27448 .
27449  The following positions are possible: 
27450 \emph on
27451 c
27452 \emph default
27453  (center), 
27454 \emph on
27455 l
27456 \emph default
27457  (left), 
27458 \emph on
27459 r
27460 \emph default
27461  (right), 
27462 \emph on
27463 b
27464 \emph default
27465  (bottom), 
27466 \emph on
27467 t
27468 \emph default
27469  (top), and also expedient combinations of the four base positions.
27470  For example 
27471 \emph on
27472 lt
27473 \emph default
27474  means, that the rotation origin is at the top left corner of the box.
27475  When no rotation origin is specified, the position 
27476 \emph on
27477 l
27478 \emph default
27479  will be used.
27480  The rotation angle is a number that can be negative that specifies the
27481  angle in degrees.
27482  The rotation direction is counterclockwise.
27483 \end_layout
27484
27485 \begin_layout Standard
27486 In the following example the command 
27487 \series bold
27488
27489 \backslash
27490 rotatebox[origin=c]{60}{
27491 \series default
27492  was inserted as TeX-Code before the text 
27493 \begin_inset Quotes eld
27494 \end_inset
27495
27496 with rotated
27497 \begin_inset Quotes erd
27498 \end_inset
27499
27500 ; after the text the box was closed by a closing brace 
27501 \series bold
27502 }
27503 \series default
27504  in TeX-Code.
27505 \end_layout
27506
27507 \begin_layout Standard
27508 This is a line 
27509 \begin_inset ERT
27510 status collapsed
27511
27512 \begin_layout Standard
27513
27514
27515 \backslash
27516 rotatebox[origin=c]{60}{
27517 \end_layout
27518
27519 \end_inset
27520
27521 with rotated
27522 \begin_inset ERT
27523 status collapsed
27524
27525 \begin_layout Standard
27526
27527 }
27528 \end_layout
27529
27530 \end_inset
27531
27532  text.
27533 \end_layout
27534
27535 \begin_layout Standard
27536 The box content can also be another box or an inline formula:
27537 \end_layout
27538
27539 \begin_layout Standard
27540 This is a line
27541 \begin_inset ERT
27542 status collapsed
27543
27544 \begin_layout Standard
27545
27546
27547 \backslash
27548 rotatebox[origin=r]{-60}{
27549 \end_layout
27550
27551 \end_inset
27552
27553
27554 \begin_inset Box Doublebox
27555 position "c"
27556 hor_pos "c"
27557 has_inner_box 0
27558 inner_pos "c"
27559 use_parbox 0
27560 width "1in"
27561 special "width"
27562 height "1in"
27563 height_special "totalheight"
27564 status collapsed
27565
27566 \begin_layout Standard
27567 with rotated
27568 \end_layout
27569
27570 \end_inset
27571
27572
27573 \begin_inset ERT
27574 status collapsed
27575
27576 \begin_layout Standard
27577
27578 }
27579 \end_layout
27580
27581 \end_inset
27582
27583  framed text 
27584 \begin_inset ERT
27585 status collapsed
27586
27587 \begin_layout Standard
27588
27589
27590 \backslash
27591 rotatebox[origin=lb]{60}{
27592 \end_layout
27593
27594 \end_inset
27595
27596
27597 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27598 \end_inset
27599
27600
27601 \begin_inset ERT
27602 status collapsed
27603
27604 \begin_layout Standard
27605
27606 }
27607 \end_layout
27608
27609 \end_inset
27610
27611  and a formula.
27612 \end_layout
27613
27614 \begin_layout Standard
27615 or an image or table:
27616 \end_layout
27617
27618 \begin_layout Standard
27619 This is a line
27620 \begin_inset ERT
27621 status collapsed
27622
27623 \begin_layout Standard
27624
27625
27626 \backslash
27627 rotatebox[origin=lb]{90}{
27628 \end_layout
27629
27630 \end_inset
27631
27632
27633 \begin_inset Graphics
27634         filename clipart/platypus.eps
27635         lyxscale 50
27636         width 25col%
27637
27638 \end_inset
27639
27640
27641 \begin_inset ERT
27642 status collapsed
27643
27644 \begin_layout Standard
27645
27646 }
27647 \end_layout
27648
27649 \end_inset
27650
27651  with a rotated image 
27652 \begin_inset ERT
27653 status collapsed
27654
27655 \begin_layout Standard
27656
27657
27658 \backslash
27659 rotatebox[origin=l]{-90}{
27660 \end_layout
27661
27662 \end_inset
27663
27664
27665 \begin_inset Tabular
27666 <lyxtabular version="3" rows="2" columns="2">
27667 <features>
27668 <column alignment="center" valignment="top" leftline="true" width="0">
27669 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27670 <row topline="true">
27671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27672 \begin_inset Text
27673
27674 \begin_layout Standard
27675 q
27676 \end_layout
27677
27678 \end_inset
27679 </cell>
27680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27681 \begin_inset Text
27682
27683 \begin_layout Standard
27684 w
27685 \end_layout
27686
27687 \end_inset
27688 </cell>
27689 </row>
27690 <row topline="true" bottomline="true">
27691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27692 \begin_inset Text
27693
27694 \begin_layout Standard
27695 e
27696 \end_layout
27697
27698 \end_inset
27699 </cell>
27700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27701 \begin_inset Text
27702
27703 \begin_layout Standard
27704 r
27705 \end_layout
27706
27707 \end_inset
27708 </cell>
27709 </row>
27710 </lyxtabular>
27711
27712 \end_inset
27713
27714
27715 \begin_inset ERT
27716 status collapsed
27717
27718 \begin_layout Standard
27719
27720 }
27721 \end_layout
27722
27723 \end_inset
27724
27725  and table.
27726 \end_layout
27727
27728 \begin_layout Subsection
27729 Scaled Boxes
27730 \begin_inset LatexCommand index
27731 name "Boxes ! scaled"
27732
27733 \end_inset
27734
27735
27736 \begin_inset LatexCommand index
27737 name "Scaled material"
27738
27739 \end_inset
27740
27741
27742 \begin_inset LatexCommand index
27743 name "Figures ! scaled"
27744
27745 \end_inset
27746
27747
27748 \begin_inset LatexCommand index
27749 name "Table Customization ! Scaling"
27750
27751 \end_inset
27752
27753
27754 \end_layout
27755
27756 \begin_layout Standard
27757 To scale material the commands 
27758 \series bold
27759
27760 \backslash
27761 scalebox
27762 \series default
27763  and 
27764 \series bold
27765
27766 \backslash
27767 resizebox
27768 \series default
27769  can be used as TeX-Code.
27770 \end_layout
27771
27772 \begin_layout Standard
27773
27774 \series bold
27775
27776 \backslash
27777 scalebox
27778 \series default
27779  is used with the following scheme:
27780 \end_layout
27781
27782 \begin_layout Standard
27783
27784 \series bold
27785
27786 \backslash
27787 scalebox{horizontal}[vertical]{box content}
27788 \end_layout
27789
27790 \begin_layout Standard
27791 Horizontal and vertical are the corresponding scaling factors.
27792  If no vertical scaling factor is given, the horizontal factor will also
27793  be used as vertical one.
27794 \end_layout
27795
27796 \begin_layout Standard
27797 The command 
27798 \series bold
27799
27800 \backslash
27801 scalebox{2}{Hello}
27802 \series default
27803  creates for example a double size 
27804 \begin_inset ERT
27805 status collapsed
27806
27807 \begin_layout Standard
27808
27809
27810 \backslash
27811 scalebox{2}{
27812 \end_layout
27813
27814 \end_inset
27815
27816 Hello
27817 \begin_inset ERT
27818 status collapsed
27819
27820 \begin_layout Standard
27821
27822 }
27823 \end_layout
27824
27825 \end_inset
27826
27827 , compared to the document text size.
27828 \end_layout
27829
27830 \begin_layout Standard
27831
27832 \series bold
27833
27834 \backslash
27835 scalebox{2}[1]{Hello}
27836 \series default
27837  in contrary distorts the 
27838 \begin_inset ERT
27839 status collapsed
27840
27841 \begin_layout Standard
27842
27843
27844 \backslash
27845 scalebox{2}[1]{
27846 \end_layout
27847
27848 \end_inset
27849
27850 Hello
27851 \begin_inset ERT
27852 status collapsed
27853
27854 \begin_layout Standard
27855
27856 }
27857 \end_layout
27858
27859 \end_inset
27860
27861 .
27862 \end_layout
27863
27864 \begin_layout Standard
27865 If a the scaling factor is negative, the box content will be mirrored.
27866  Therefore the command 
27867 \series bold
27868
27869 \backslash
27870 scalebox{-1}[1]{Hello}
27871 \series default
27872  can be used to create mirror writing: 
27873 \begin_inset ERT
27874 status collapsed
27875
27876 \begin_layout Standard
27877
27878
27879 \backslash
27880 scalebox{-1}[1]{
27881 \end_layout
27882
27883 \end_inset
27884
27885 Hello
27886 \begin_inset ERT
27887 status collapsed
27888
27889 \begin_layout Standard
27890
27891 }
27892 \end_layout
27893
27894 \end_inset
27895
27896
27897 \end_layout
27898
27899 \begin_layout Standard
27900
27901 \series bold
27902
27903 \backslash
27904 scalebox{1}[-1]{Hello}
27905 \series default
27906  reflects the 
27907 \begin_inset ERT
27908 status collapsed
27909
27910 \begin_layout Standard
27911
27912
27913 \backslash
27914 scalebox{1}[-1]{
27915 \end_layout
27916
27917 \end_inset
27918
27919 Hello
27920 \begin_inset ERT
27921 status collapsed
27922
27923 \begin_layout Standard
27924
27925 }
27926 \end_layout
27927
27928 \end_inset
27929
27930  at the base line.
27931 \end_layout
27932
27933 \begin_layout Standard
27934 Equivalent to 
27935 \series bold
27936
27937 \backslash
27938 scalebox{-1}[1]{box content}
27939 \series default
27940  there exists the command
27941 \newline
27942
27943 \series bold
27944
27945 \backslash
27946 reflectbox{box content}
27947 \series default
27948 .
27949 \end_layout
27950
27951 \begin_layout Standard
27952 \begin_inset VSpace bigskip
27953 \end_inset
27954
27955 The command 
27956 \series bold
27957
27958 \backslash
27959 resizebox
27960 \series default
27961  is used to scale the box to a defined width and height.
27962  The command scheme is:
27963 \end_layout
27964
27965 \begin_layout Standard
27966
27967 \series bold
27968
27969 \backslash
27970 resizebox{width}{height}{box content}
27971 \end_layout
27972
27973 \begin_layout Standard
27974 Is one of the two command arguments given as exclamation mark 
27975 \series bold
27976 !
27977 \series default
27978 , the size is set so that the aspect ratio of the box content is kept.
27979 \end_layout
27980
27981 \begin_layout Standard
27982 The command 
27983 \series bold
27984
27985 \backslash
27986 resizebox{2cm}{1cm}{Hello}
27987 \series default
27988  produces: 
27989 \begin_inset ERT
27990 status collapsed
27991
27992 \begin_layout Standard
27993
27994
27995 \backslash
27996 resizebox{2cm}{1cm}{
27997 \end_layout
27998
27999 \end_inset
28000
28001 Hello
28002 \begin_inset ERT
28003 status collapsed
28004
28005 \begin_layout Standard
28006
28007 }
28008 \end_layout
28009
28010 \end_inset
28011
28012
28013 \newline
28014 The command 
28015 \series bold
28016
28017 \backslash
28018 resizebox{2cm}{!}{Hello}
28019 \series default
28020  produces: 
28021 \begin_inset ERT
28022 status collapsed
28023
28024 \begin_layout Standard
28025
28026
28027 \backslash
28028 resizebox{2cm}{!}{
28029 \end_layout
28030
28031 \end_inset
28032
28033 Hello
28034 \begin_inset ERT
28035 status collapsed
28036
28037 \begin_layout Standard
28038
28039 }
28040 \end_layout
28041
28042 \end_inset
28043
28044
28045 \end_layout
28046
28047 \begin_layout Standard
28048 \begin_inset VSpace bigskip
28049 \end_inset
28050
28051
28052 \begin_inset Note Greyedout
28053 status open
28054
28055 \begin_layout Standard
28056
28057 \series bold
28058 Note:
28059 \series default
28060  When arguments of 
28061 \series bold
28062
28063 \backslash
28064 scalebox
28065 \series default
28066  or 
28067 \series bold
28068
28069 \backslash
28070 resizebox
28071 \series default
28072  are set to zero, no LaTeX-errors occur when exporting the document but
28073  the exported files can not or only partly be displayed.
28074 \end_layout
28075
28076 \end_inset
28077
28078
28079 \end_layout
28080
28081 \begin_layout Standard
28082 \begin_inset VSpace bigskip
28083 \end_inset
28084
28085
28086 \end_layout
28087
28088 \begin_layout Standard
28089 The boxes can be combined in any order.
28090  E.\InsetSpace \thinspace{}
28091 g.\InsetSpace ~
28092 the command
28093 \newline
28094
28095 \series bold
28096
28097 \backslash
28098 rotatebox[origin=c]{-45}{
28099 \backslash
28100 resizebox{2cm}{!}{
28101 \backslash
28102 reflectbox{Hello}}}
28103 \newline
28104
28105 \series default
28106 produces:
28107 \end_layout
28108
28109 \begin_layout Standard
28110 \align center
28111 \begin_inset ERT
28112 status collapsed
28113
28114 \begin_layout Standard
28115
28116
28117 \backslash
28118 rotatebox[origin=c]{-45}{
28119 \backslash
28120 resizebox{2cm}{!}{
28121 \backslash
28122 reflectbox{
28123 \end_layout
28124
28125 \end_inset
28126
28127 Hello
28128 \begin_inset ERT
28129 status collapsed
28130
28131 \begin_layout Standard
28132
28133 }}}
28134 \end_layout
28135
28136 \end_inset
28137
28138
28139 \end_layout
28140
28141 \begin_layout Standard
28142 \noindent
28143 Images, tables, and inline formulas are allowed as box content:
28144 \end_layout
28145
28146 \begin_layout Standard
28147 \align center
28148 \begin_inset ERT
28149 status collapsed
28150
28151 \begin_layout Standard
28152
28153
28154 \backslash
28155 rotatebox[origin=c]{-30}{
28156 \backslash
28157 resizebox{2cm}{!}{
28158 \backslash
28159 reflectbox{
28160 \end_layout
28161
28162 \end_inset
28163
28164
28165 \begin_inset Graphics
28166         filename clipart/platypus.eps
28167         lyxscale 50
28168         width 25col%
28169
28170 \end_inset
28171
28172
28173 \begin_inset ERT
28174 status collapsed
28175
28176 \begin_layout Standard
28177
28178 }}}
28179 \end_layout
28180
28181 \end_inset
28182
28183
28184 \begin_inset ERT
28185 status collapsed
28186
28187 \begin_layout Standard
28188
28189
28190 \backslash
28191 rotatebox[origin=c]{-45}{
28192 \backslash
28193 resizebox{2cm}{!}{
28194 \backslash
28195 reflectbox{
28196 \end_layout
28197
28198 \end_inset
28199
28200
28201 \begin_inset Tabular
28202 <lyxtabular version="3" rows="2" columns="2">
28203 <features>
28204 <column alignment="center" valignment="top" leftline="true" width="0">
28205 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28206 <row topline="true">
28207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28208 \begin_inset Text
28209
28210 \begin_layout Standard
28211 q
28212 \end_layout
28213
28214 \end_inset
28215 </cell>
28216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28217 \begin_inset Text
28218
28219 \begin_layout Standard
28220 w
28221 \end_layout
28222
28223 \end_inset
28224 </cell>
28225 </row>
28226 <row topline="true" bottomline="true">
28227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28228 \begin_inset Text
28229
28230 \begin_layout Standard
28231 e
28232 \end_layout
28233
28234 \end_inset
28235 </cell>
28236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28237 \begin_inset Text
28238
28239 \begin_layout Standard
28240 r
28241 \end_layout
28242
28243 \end_inset
28244 </cell>
28245 </row>
28246 </lyxtabular>
28247
28248 \end_inset
28249
28250
28251 \begin_inset ERT
28252 status collapsed
28253
28254 \begin_layout Standard
28255
28256 }}}
28257 \end_layout
28258
28259 \end_inset
28260
28261
28262 \begin_inset ERT
28263 status collapsed
28264
28265 \begin_layout Standard
28266
28267
28268 \backslash
28269 rotatebox[origin=c]{-45}{
28270 \backslash
28271 resizebox{2cm}{!}{
28272 \backslash
28273 reflectbox{
28274 \end_layout
28275
28276 \end_inset
28277
28278
28279 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28280 \end_inset
28281
28282
28283 \begin_inset ERT
28284 status collapsed
28285
28286 \begin_layout Standard
28287
28288 }}}
28289 \end_layout
28290
28291 \end_inset
28292
28293
28294 \end_layout
28295
28296 \begin_layout Standard
28297 When the global formula style 
28298 \series bold
28299 fleqn
28300 \series default
28301  is used in the document
28302 \begin_inset Foot
28303 status collapsed
28304
28305 \begin_layout Standard
28306 When 
28307 \begin_inset Quotes eld
28308 \end_inset
28309
28310 fleqn
28311 \begin_inset Quotes erd
28312 \end_inset
28313
28314  is added to the document class options.
28315 \end_layout
28316
28317 \end_inset
28318
28319 , also display formulas can be scaled.
28320 \end_layout
28321
28322 \begin_layout Section
28323 URLs (Uniform Resource Locators)
28324 \begin_inset LatexCommand index
28325 name "URLs"
28326
28327 \end_inset
28328
28329
28330 \end_layout
28331
28332 \begin_layout Standard
28333 Links to web pages or email addresses can be inserted via the menu 
28334 \family sans
28335 Insert\SpecialChar \menuseparator
28336 URL
28337 \family default
28338 .
28339  The appearing URL dialog has two fields; the 
28340 \family sans
28341 URL
28342 \family default
28343  field and the 
28344 \family sans
28345 Name
28346 \family default
28347  field for the URL description, which will be typeset as plain text immediately
28348  before the URL.
28349 \end_layout
28350
28351 \begin_layout Standard
28352 Here is an example URL: 
28353 \begin_inset LatexCommand url
28354 name "LyX's homepage"
28355 target "http://www.lyx.org"
28356
28357 \end_inset
28358
28359
28360 \end_layout
28361
28362 \begin_layout Standard
28363 The option 
28364 \family sans
28365 Generate\InsetSpace ~
28366 hyperlink
28367 \family default
28368  in the URL dialog does nothing.
28369  This relict will be removed in the next LyX-version.
28370 \end_layout
28371
28372 \begin_layout Standard
28373 You cannot change the style of the link text.
28374  The text of the 
28375 \family sans
28376 Name
28377 \family default
28378  field will have the default text style of the document while the text of
28379  the 
28380 \family sans
28381 URL
28382 \family default
28383  field will have the style 
28384 \begin_inset Quotes eld
28385 \end_inset
28386
28387
28388 \family sans
28389 Typewriter
28390 \family default
28391
28392 \begin_inset Quotes erd
28393 \end_inset
28394
28395 .
28396 \end_layout
28397
28398 \begin_layout Standard
28399 When you use the LaTeX-package 
28400 \series bold
28401 hyperref
28402 \series default
28403
28404 \begin_inset LatexCommand index
28405 name "LaTeX-packages ! hyperref"
28406
28407 \end_inset
28408
28409  to link cross-references in the output, URLs will automatically become
28410  clickable hyperlinks in DVI and PDF-output.
28411 \end_layout
28412
28413 \begin_layout Standard
28414 \begin_inset Note Greyedout
28415 status open
28416
28417 \begin_layout Standard
28418
28419 \series bold
28420 Note:
28421 \series default
28422  When you use the following characters: "%", "#", "^", you have to write
28423  them with a preceding backslash, e.\InsetSpace \thinspace{}
28424 g.\InsetSpace ~
28425
28426 \begin_inset Quotes eld
28427 \end_inset
28428
28429
28430 \backslash
28431 #
28432 \begin_inset Quotes erd
28433 \end_inset
28434
28435 .
28436  URLs must not end with a backslash.
28437 \end_layout
28438
28439 \end_inset
28440
28441
28442 \end_layout
28443
28444 \begin_layout Standard
28445 \begin_inset VSpace bigskip
28446 \end_inset
28447
28448 To create real hyperlinks without the force to write the link location to
28449  the text, you can use the command
28450 \end_layout
28451
28452 \begin_layout Standard
28453
28454 \series bold
28455
28456 \backslash
28457 href{link location}{link text}
28458 \end_layout
28459
28460 \begin_layout Standard
28461 in TeX-Code.
28462  To get for example a link to LyX's web page, write the command
28463 \end_layout
28464
28465 \begin_layout Standard
28466
28467 \series bold
28468
28469 \backslash
28470 href{http://www.lyx.org}{
28471 \end_layout
28472
28473 \begin_layout Standard
28474 in TeX-Code.
28475  Insert after the command the link text 
28476 \begin_inset Quotes eld
28477 \end_inset
28478
28479 LyX's homepage
28480 \begin_inset Quotes erd
28481 \end_inset
28482
28483  as normal text followed by a closing brace 
28484 \begin_inset Quotes eld
28485 \end_inset
28486
28487
28488 \series bold
28489 }
28490 \series default
28491
28492 \begin_inset Quotes erd
28493 \end_inset
28494
28495  in TeX-Code.
28496  This is the result: 
28497 \begin_inset ERT
28498 status collapsed
28499
28500 \begin_layout Standard
28501
28502
28503 \backslash
28504 href{http://www.lyx.org}{
28505 \end_layout
28506
28507 \end_inset
28508
28509 LyX's homepage
28510 \begin_inset ERT
28511 status collapsed
28512
28513 \begin_layout Standard
28514
28515 }
28516 \end_layout
28517
28518 \end_inset
28519
28520
28521 \end_layout
28522
28523 \begin_layout Standard
28524 To link to email addresses, add the prefix 
28525 \begin_inset Quotes eld
28526 \end_inset
28527
28528
28529 \family sans
28530 mailto:
28531 \family default
28532
28533 \begin_inset Quotes erd
28534 \end_inset
28535
28536  to the link location:
28537 \newline
28538 Email to 
28539 \begin_inset ERT
28540 status collapsed
28541
28542 \begin_layout Standard
28543
28544
28545 \backslash
28546 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
28547 \end_layout
28548
28549 \end_inset
28550
28551 lyx-docs mailing list
28552 \begin_inset ERT
28553 status collapsed
28554
28555 \begin_layout Standard
28556
28557 }
28558 \end_layout
28559
28560 \end_inset
28561
28562 .
28563 \end_layout
28564
28565 \begin_layout Standard
28566 Using 
28567 \series bold
28568
28569 \backslash
28570 href
28571 \series default
28572  instead of LyX's URL box has the advantage that you can specify the text
28573  style of the link text like for all other text parts.
28574  You can then set hyphenation points and forced linebreaks to have long
28575  link text broken at the page margin.
28576  You are furthermore able to change the text style for all URLs in your
28577  document with an option in 
28578 \series bold
28579 hyperref
28580 \series default
28581 's load command and the restrictions mentioned above doesn't apply for 
28582 \series bold
28583
28584 \backslash
28585 href
28586 \series default
28587 .
28588 \end_layout
28589
28590 \begin_layout Chapter
28591 External Stuff
28592 \begin_inset LatexCommand index
28593 name "External Stuff"
28594
28595 \end_inset
28596
28597
28598 \end_layout
28599
28600 \begin_layout Standard
28601 With the menu 
28602 \family sans
28603 Insert\SpecialChar \menuseparator
28604 File
28605 \family default
28606  you can insert external material to your document.
28607  This can be:
28608 \end_layout
28609
28610 \begin_layout Description
28611 LyX\InsetSpace ~
28612 Document Another LyX document; its content is directly inserted to your
28613  document.
28614 \end_layout
28615
28616 \begin_layout Description
28617 Plain\InsetSpace ~
28618 Text A text document; every of its text lines is inserted to your document
28619  as own paragraph.
28620 \end_layout
28621
28622 \begin_layout Description
28623 Plain\InsetSpace ~
28624 Text,\InsetSpace ~
28625 Join\InsetSpace ~
28626 Lines A text document; its text lines are inserted as they
28627  are.
28628  Empty text lines creates a new paragraph in your document.
28629 \end_layout
28630
28631 \begin_layout Description
28632 External\InsetSpace ~
28633 Material Files in various formats.
28634 \end_layout
28635
28636 \begin_layout Description
28637 Child\InsetSpace ~
28638 Document LyX or LaTeX-documents.
28639 \end_layout
28640
28641 \begin_layout Section
28642 External Material
28643 \begin_inset LatexCommand index
28644 name "External Stuff ! External Material"
28645
28646 \end_inset
28647
28648
28649 \end_layout
28650
28651 \begin_layout Standard
28652 The external material feature allows you to insert files to your document
28653  without converting them previously to a format that can be read by the
28654  document output format because LyX takes care of needed conversions.
28655  This is similar to images that can be inserted in various image formats
28656  to LyX documents.
28657 \end_layout
28658
28659 \begin_layout Standard
28660 External material can be inserted via the 
28661 \family sans
28662 External Material
28663 \family default
28664  dialog that is accessible with the menu 
28665 \family sans
28666 Insert\SpecialChar \menuseparator
28667 File\SpecialChar \menuseparator
28668 External\InsetSpace ~
28669 Material
28670 \family default
28671 .
28672  Currently the following file types (
28673 \family sans
28674 Templates
28675 \family default
28676 ) are allowed:
28677 \end_layout
28678
28679 \begin_layout Description
28680 ChessDiagram This template supports chess position diagrams made with the
28681  program 
28682 \begin_inset ERT
28683 status collapsed
28684
28685 \begin_layout Standard
28686
28687
28688 \backslash
28689 href{http://en.wikipedia.org/wiki/XBoard}{
28690 \end_layout
28691
28692 \end_inset
28693
28694
28695 \series bold
28696 XBoard
28697 \series default
28698
28699 \begin_inset ERT
28700 status collapsed
28701
28702 \begin_layout Standard
28703
28704 }
28705 \end_layout
28706
28707 \end_inset
28708
28709 .
28710 \end_layout
28711
28712 \begin_layout Description
28713 Date This inserts the date in the form 
28714 \emph on
28715 Day-Month-Year
28716 \emph default
28717 .
28718  This is a date inserted as external material: 
28719 \begin_inset External
28720         template Date
28721         filename .
28722
28723 \end_inset
28724
28725
28726 \newline
28727 The date is not shown within LyX, only in the output.
28728  There are two other methods of inserting a date: Via menu 
28729 \family sans
28730 Insert\SpecialChar \menuseparator
28731 Date
28732 \family default
28733  and with the LaTeX command 
28734 \series bold
28735
28736 \backslash
28737 today
28738 \series default
28739  as TeX-Code.
28740  The different methods are compared in Table\InsetSpace ~
28741
28742 \begin_inset LatexCommand ref
28743 reference "tab:Comparison-of-the"
28744
28745 \end_inset
28746
28747 .
28748 \end_layout
28749
28750 \begin_layout Description
28751 LilyPond This template is used for music notation typeset with the program
28752 \begin_inset ERT
28753 status collapsed
28754
28755 \begin_layout Standard
28756
28757
28758 \backslash
28759 linebreak 
28760 \end_layout
28761
28762 \end_inset
28763
28764
28765 \begin_inset ERT
28766 status collapsed
28767
28768 \begin_layout Standard
28769
28770
28771 \backslash
28772 href{http://en.wikipedia.org/wiki/LilyPond}{
28773 \end_layout
28774
28775 \end_inset
28776
28777
28778 \series bold
28779 LilyPond
28780 \series default
28781
28782 \begin_inset ERT
28783 status collapsed
28784
28785 \begin_layout Standard
28786
28787 }
28788 \end_layout
28789
28790 \end_inset
28791
28792 .
28793 \begin_inset Note Note
28794 status collapsed
28795
28796 \begin_layout Standard
28797 The command 
28798 \series bold
28799
28800 \backslash
28801 linebreak
28802 \series default
28803  breaks the line while the remaining text in the line is stretched to the
28804  page margin.
28805 \end_layout
28806
28807 \end_inset
28808
28809
28810 \end_layout
28811
28812 \begin_layout Description
28813 RasterImage This can be used for bitmap images.
28814  Nearly all popular image formats are supported.
28815  The image can be treated in the 
28816 \family sans
28817 External material
28818 \family default
28819  dialog like the images that are usually included via the 
28820 \family sans
28821 Graphics
28822 \family default
28823  dialog as described in section\InsetSpace ~
28824
28825 \begin_inset LatexCommand ref
28826 reference "sec:Graphics-Dialog"
28827
28828 \end_inset
28829
28830 .
28831  The difference is that only raster images are allowed, that means that
28832  PDF and EPS-images are not supported.
28833 \end_layout
28834
28835 \begin_layout Description
28836 XFig This template supports images created with the program 
28837 \begin_inset ERT
28838 status collapsed
28839
28840 \begin_layout Standard
28841
28842
28843 \backslash
28844 href{http://en.wikipedia.org/wiki/Xfig}{
28845 \end_layout
28846
28847 \end_inset
28848
28849
28850 \series bold
28851 Xfig
28852 \series default
28853
28854 \begin_inset ERT
28855 status collapsed
28856
28857 \begin_layout Standard
28858
28859 }
28860 \end_layout
28861
28862 \end_inset
28863
28864 .
28865 \end_layout
28866
28867 \begin_layout Standard
28868 \begin_inset Float table
28869 placement h
28870 wide false
28871 sideways false
28872 status open
28873
28874 \begin_layout Standard
28875 \begin_inset Caption
28876
28877 \begin_layout Standard
28878 \begin_inset LatexCommand label
28879 name "tab:Comparison-of-the"
28880
28881 \end_inset
28882
28883 Comparison of the date input methods.
28884 \end_layout
28885
28886 \end_inset
28887
28888
28889 \end_layout
28890
28891 \begin_layout Standard
28892 \align center
28893 \begin_inset Tabular
28894 <lyxtabular version="3" rows="4" columns="4">
28895 <features>
28896 <column alignment="center" valignment="top" leftline="true" width="0">
28897 <column alignment="center" valignment="top" leftline="true" width="0">
28898 <column alignment="center" valignment="top" leftline="true" width="0">
28899 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28900 <row topline="true">
28901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28902 \begin_inset Text
28903
28904 \begin_layout Standard
28905 Document format
28906 \end_layout
28907
28908 \end_inset
28909 </cell>
28910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28911 \begin_inset Text
28912
28913 \begin_layout Standard
28914
28915 \family sans
28916 External Material\SpecialChar \menuseparator
28917 Date
28918 \end_layout
28919
28920 \end_inset
28921 </cell>
28922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28923 \begin_inset Text
28924
28925 \begin_layout Standard
28926
28927 \family sans
28928 Insert\SpecialChar \menuseparator
28929 Date
28930 \end_layout
28931
28932 \end_inset
28933 </cell>
28934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28935 \begin_inset Text
28936
28937 \begin_layout Standard
28938 command 
28939 \series bold
28940
28941 \backslash
28942 today
28943 \end_layout
28944
28945 \end_inset
28946 </cell>
28947 </row>
28948 <row topline="true">
28949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28950 \begin_inset Text
28951
28952 \begin_layout Standard
28953 LyX
28954 \end_layout
28955
28956 \end_inset
28957 </cell>
28958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28959 \begin_inset Text
28960
28961 \begin_layout Standard
28962 as inset box
28963 \end_layout
28964
28965 \end_inset
28966 </cell>
28967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28968 \begin_inset Text
28969
28970 \begin_layout Standard
28971 as date
28972 \end_layout
28973
28974 \end_inset
28975 </cell>
28976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28977 \begin_inset Text
28978
28979 \begin_layout Standard
28980 as TeX-Code inset box
28981 \end_layout
28982
28983 \end_inset
28984 </cell>
28985 </row>
28986 <row topline="true">
28987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28988 \begin_inset Text
28989
28990 \begin_layout Standard
28991 LaTeX
28992 \end_layout
28993
28994 \end_inset
28995 </cell>
28996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28997 \begin_inset Text
28998
28999 \begin_layout Standard
29000 as date
29001 \end_layout
29002
29003 \end_inset
29004 </cell>
29005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29006 \begin_inset Text
29007
29008 \begin_layout Standard
29009 as date
29010 \end_layout
29011
29012 \end_inset
29013 </cell>
29014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29015 \begin_inset Text
29016
29017 \begin_layout Standard
29018 as command
29019 \end_layout
29020
29021 \end_inset
29022 </cell>
29023 </row>
29024 <row topline="true" bottomline="true">
29025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29026 \begin_inset Text
29027
29028 \begin_layout Standard
29029 DVI, PDF, PS
29030 \end_layout
29031
29032 \end_inset
29033 </cell>
29034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29035 \begin_inset Text
29036
29037 \begin_layout Standard
29038 as date
29039 \end_layout
29040
29041 \end_inset
29042 </cell>
29043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29044 \begin_inset Text
29045
29046 \begin_layout Standard
29047 as date
29048 \end_layout
29049
29050 \end_inset
29051 </cell>
29052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29053 \begin_inset Text
29054
29055 \begin_layout Standard
29056 as date
29057 \end_layout
29058
29059 \end_inset
29060 </cell>
29061 </row>
29062 </lyxtabular>
29063
29064 \end_inset
29065
29066
29067 \end_layout
29068
29069 \end_inset
29070
29071
29072 \end_layout
29073
29074 \begin_layout Standard
29075 When you use the option 
29076 \family sans
29077 Draft
29078 \family default
29079  in the 
29080 \family sans
29081 File
29082 \family default
29083  tab of the 
29084 \family sans
29085 External Material
29086 \family default
29087  dialog, only the path to the inserted file is shown in the output.
29088 \newline
29089 External
29090  material is displayed in LyX either as box like this: 
29091 \begin_inset Graphics
29092         filename clipart/ExternalMaterialQt4.png
29093         scale 85
29094         scaleBeforeRotation
29095
29096 \end_inset
29097
29098  or as image, depending on the setting in the 
29099 \family sans
29100 LyX\InsetSpace ~
29101 View
29102 \family default
29103  tab of the 
29104 \family sans
29105 External Material
29106 \family default
29107  dialog.
29108 \end_layout
29109
29110 \begin_layout Standard
29111 The 
29112 \family sans
29113 \emph on
29114 Customization
29115 \family default
29116 \emph default
29117  manual explains how you can define your own templates.
29118 \end_layout
29119
29120 \begin_layout Section
29121 Child Documents
29122 \begin_inset LatexCommand label
29123 name "sec:Child-Documents"
29124
29125 \end_inset
29126
29127
29128 \begin_inset LatexCommand index
29129 name "External Stuff ! Child Documents"
29130
29131 \end_inset
29132
29133
29134 \begin_inset LatexCommand index
29135 name "Files ! Include"
29136
29137 \end_inset
29138
29139
29140 \end_layout
29141
29142 \begin_layout Standard
29143 Child documents are used when you have a long document consisting of several
29144  larger parts or sections.
29145  For maintenance it is often useful and sometimes even required to split
29146  the document in several files that can be revised separately.
29147  The different documents are then the so called child documents and a master
29148  document connects them to print the full document or parts of it.
29149 \end_layout
29150
29151 \begin_layout Standard
29152 Included documents are displayed in LyX as a box like this: 
29153 \begin_inset Graphics
29154         filename clipart/ChildDocumentQt4.png
29155         scale 85
29156         scaleBeforeRotation
29157
29158 \end_inset
29159
29160  To include child documents to a master document use the menu 
29161 \family sans
29162 Insert\SpecialChar \menuseparator
29163 File\SpecialChar \menuseparator
29164 Child\InsetSpace ~
29165 Documents
29166 \family default
29167 .
29168  A dialog pops up where you can choose between four include methods:
29169 \end_layout
29170
29171 \begin_layout Description
29172 Include You can include LyX and LaTeX-documents.
29173  When you press the 
29174 \family sans
29175 Load
29176 \family default
29177  button in the 
29178 \family sans
29179 Child Document
29180 \family default
29181  dialog, the included documents will be opened in LyX in a new file tab
29182  so that you can modify it.
29183 \newline
29184
29185 \end_layout
29186
29187 \begin_layout Standard
29188 Here is a child document inserted using 
29189 \family sans
29190 Include
29191 \family default
29192
29193 \begin_inset Include \include{DummyDocument1.lyx}
29194 preview false
29195
29196 \end_inset
29197
29198
29199 \end_layout
29200
29201 \begin_layout Standard
29202 The section numbering includes the sections of the included files in the
29203  order they are inserted in the master document.
29204  The included example document has for example a subsection that is numbered
29205  as subsection of this section.
29206  Labels of included documents can be referenced: Subsection\InsetSpace ~
29207
29208 \begin_inset LatexCommand ref
29209 reference "sub:External-Subsection-1"
29210
29211 \end_inset
29212
29213
29214 \end_layout
29215
29216 \begin_layout Standard
29217 The preamble of the child document is ignored, only the preamble of the
29218  master document is used.
29219  Included documents are inserted starting on a new page and end with a pagebreak.
29220 \end_layout
29221
29222 \begin_layout Standard
29223 With the LaTeX-command 
29224 \series bold
29225
29226 \backslash
29227 includeonly 
29228 \series default
29229 you can specify which included child documents are processed when the output
29230  is generated.
29231  This is useful when you are perhaps only working on a certain chapter of
29232  your large document as this saves compiling time.
29233  
29234 \series bold
29235
29236 \backslash
29237 includeonly
29238 \series default
29239  is inserted to the master document preamble.
29240  It takes a comma-separated list of the filenames as argument, e.g.
29241 \end_layout
29242
29243 \begin_layout Standard
29244
29245 \series bold
29246
29247 \backslash
29248 includeonly{chapter1,chapter5}
29249 \end_layout
29250
29251 \begin_layout Standard
29252 will only process the included files named 
29253 \begin_inset Quotes eld
29254 \end_inset
29255
29256 chapter1.lyx
29257 \begin_inset Quotes erd
29258 \end_inset
29259
29260  (or 
29261 \begin_inset Quotes eld
29262 \end_inset
29263
29264 chapter1.tex
29265 \begin_inset Quotes erd
29266 \end_inset
29267
29268 ) and 
29269 \begin_inset Quotes eld
29270 \end_inset
29271
29272 chapter5.lyx
29273 \begin_inset Quotes erd
29274 \end_inset
29275
29276  .
29277 \end_layout
29278
29279 \begin_layout Standard
29280 \begin_inset Note Greyedout
29281 status open
29282
29283 \begin_layout Standard
29284
29285 \series bold
29286 Note:
29287 \series default
29288  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29289 w the document in case that the child document uses another document class
29290  than the master document as this will lead to unexpected outputs.
29291 \end_layout
29292
29293 \end_inset
29294
29295
29296 \end_layout
29297
29298 \begin_layout Description
29299 Input This method is very similar to the Include method.
29300  The differences are:
29301 \end_layout
29302
29303 \begin_deeper
29304 \begin_layout Itemize
29305 Input files don't start with a new page and don't end with a pagebreak.
29306 \end_layout
29307
29308 \begin_layout Itemize
29309 Input files can be previewed in LyX when 
29310 \family sans
29311 Instant\InsetSpace ~
29312 Preview
29313 \family default
29314  is enabled in LyX's preferences under 
29315 \family sans
29316 Look\InsetSpace ~
29317 and\InsetSpace ~
29318 feel\SpecialChar \menuseparator
29319 Graphics
29320 \family default
29321 .
29322 \end_layout
29323
29324 \begin_layout Itemize
29325 The LaTeX-command 
29326 \series bold
29327
29328 \backslash
29329 includeonly
29330 \series default
29331  cannot be used.
29332 \end_layout
29333
29334 \end_deeper
29335 \begin_layout Standard
29336 Here is a child document inserted using 
29337 \family sans
29338 Input
29339 \family default
29340
29341 \begin_inset Include \input{DummyDocument2.lyx}
29342 preview false
29343
29344 \end_inset
29345
29346
29347 \end_layout
29348
29349 \begin_layout Description
29350 Verbatim With this method every text file can be included.
29351  The file is shown in the output with its source code, no command used in
29352  the text is invoked.
29353  You can use the option 
29354 \family sans
29355 Mark spaces in output
29356 \family default
29357  that displays the character 
29358 \begin_inset Quotes eld
29359 \end_inset
29360
29361
29362 \begin_inset ERT
29363 status collapsed
29364
29365 \begin_layout Standard
29366
29367
29368 \backslash
29369 textvisiblespace 
29370 \end_layout
29371
29372 \end_inset
29373
29374
29375 \begin_inset Quotes erd
29376 \end_inset
29377
29378  for every space character in the source code.
29379  The difference to the method via the menu 
29380 \family sans
29381 Insert\SpecialChar \menuseparator
29382 File\SpecialChar \menuseparator
29383 Plain\InsetSpace ~
29384 Text
29385 \family default
29386  is that the document content is not shown in LyX.
29387 \end_layout
29388
29389 \begin_layout Standard
29390 Here is a child document inserted as Verbatim: 
29391 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29392 preview false
29393
29394 \end_inset
29395
29396
29397 \begin_inset VSpace bigskip
29398 \end_inset
29399
29400 Here is a child document inserted as Verbatim using the 
29401 \family sans
29402 Mark spaces in output
29403 \family default
29404  option: 
29405 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29406 preview false
29407
29408 \end_inset
29409
29410
29411 \end_layout
29412
29413 \begin_layout Standard
29414 \begin_inset VSpace bigskip
29415 \end_inset
29416
29417
29418 \end_layout
29419
29420 \begin_layout Standard
29421 \begin_inset Note Greyedout
29422 status open
29423
29424 \begin_layout Standard
29425
29426 \series bold
29427 Note:
29428 \series default
29429  As you can see in the examples above, the text of the documents included
29430  as 
29431 \family sans
29432 verbatim
29433 \family default
29434  is not broken at the end of the document lines.
29435 \end_layout
29436
29437 \end_inset
29438
29439
29440 \end_layout
29441
29442 \begin_layout Description
29443 Listings This type is described in chapter\InsetSpace ~
29444
29445 \begin_inset LatexCommand ref
29446 reference "cha:Program-Code-Listings"
29447
29448 \end_inset
29449
29450 .
29451 \end_layout
29452
29453 \begin_layout Standard
29454 \begin_inset Note Greyedout
29455 status open
29456
29457 \begin_layout Standard
29458
29459 \series bold
29460 Note:
29461 \series default
29462  Including the same document twice in a document using different methods
29463  could cause LaTeX-problems.
29464 \end_layout
29465
29466 \end_inset
29467
29468
29469 \end_layout
29470
29471 \begin_layout Chapter
29472 Program Code Listings
29473 \begin_inset LatexCommand label
29474 name "cha:Program-Code-Listings"
29475
29476 \end_inset
29477
29478
29479 \begin_inset LatexCommand index
29480 name "Listings"
29481
29482 \end_inset
29483
29484
29485 \begin_inset LatexCommand index
29486 name "Program Code"
29487
29488 \end_inset
29489
29490
29491 \begin_inset LatexCommand index
29492 name "Floats ! Listings"
29493
29494 \end_inset
29495
29496
29497 \end_layout
29498
29499 \begin_layout Standard
29500 To include and typeset program code you can use the 
29501 \family sans
29502 Listings
29503 \family default
29504  inset that can be inserted via the menu 
29505 \family sans
29506 Insert\SpecialChar \menuseparator
29507 Program Listing
29508 \family default
29509 .
29510  The LaTeX-package 
29511 \series bold
29512 listings
29513 \series default
29514
29515 \begin_inset LatexCommand index
29516 name "LaTeX-packages ! listings"
29517
29518 \end_inset
29519
29520  provides a powerful and flexible way to insert program source code to your
29521  document.
29522 \end_layout
29523
29524 \begin_layout Standard
29525 When right-clicking on a listings inset a dialog pops up where you can set
29526  the listings format.
29527 \end_layout
29528
29529 \begin_layout Standard
29530 By default, a listing starts a new paragraph in the output.
29531  The placement option 
29532 \family sans
29533 Inline\InsetSpace ~
29534 listing
29535 \family default
29536  prints the listing inline like this: 
29537 \begin_inset listings
29538 lstparams "language={C++}"
29539 inline true
29540 status open
29541
29542 \begin_layout Standard
29543
29544 int a=5;
29545 \end_layout
29546
29547 \end_inset
29548
29549
29550 \newline
29551 The option 
29552 \family sans
29553 Float
29554 \family default
29555  creates a listings float where you can specify the placement options 
29556 \begin_inset Quotes eld
29557 \end_inset
29558
29559
29560 \family sans
29561 h
29562 \family default
29563
29564 \begin_inset Quotes erd
29565 \end_inset
29566
29567
29568 \begin_inset Quotes eld
29569 \end_inset
29570
29571
29572 \family sans
29573 t
29574 \family default
29575
29576 \begin_inset Quotes erd
29577 \end_inset
29578
29579
29580 \begin_inset Quotes eld
29581 \end_inset
29582
29583
29584 \family sans
29585 b
29586 \family default
29587
29588 \begin_inset Quotes erd
29589 \end_inset
29590
29591 , and 
29592 \begin_inset Quotes eld
29593 \end_inset
29594
29595
29596 \family sans
29597 p
29598 \family default
29599
29600 \begin_inset Quotes erd
29601 \end_inset
29602
29603  corresponding to the float placement options described in section\InsetSpace ~
29604
29605 \begin_inset LatexCommand ref
29606 reference "sec:Float-Placement"
29607
29608 \end_inset
29609
29610 .
29611  The placement options can be mixed and are inserted without any separation,
29612  e.\InsetSpace \thinspace{}
29613 g.\InsetSpace ~
29614
29615 \begin_inset Quotes eld
29616 \end_inset
29617
29618
29619 \family sans
29620 htbp
29621 \family default
29622
29623 \begin_inset Quotes erd
29624 \end_inset
29625
29626 .
29627  The option 
29628 \begin_inset Quotes eld
29629 \end_inset
29630
29631 h
29632 \begin_inset Quotes erd
29633 \end_inset
29634
29635  has sometimes no effect, but you don't need to use the 
29636 \family sans
29637 Float
29638 \family default
29639  option in this case as also non-float listings can have captions and be
29640  referenced.
29641 \end_layout
29642
29643 \begin_layout Standard
29644 You can add captions to listings with the menu 
29645 \family sans
29646 Insert\SpecialChar \menuseparator
29647 Caption
29648 \family default
29649 .
29650  Listings can be referenced like floats: Listing\InsetSpace ~
29651
29652 \begin_inset LatexCommand ref
29653 reference "lst:Example-Listing"
29654
29655 \end_inset
29656
29657
29658 \end_layout
29659
29660 \begin_layout Standard
29661 \begin_inset listings
29662 lstparams "language=Python"
29663 inline false
29664 status open
29665
29666 \begin_layout Standard
29667
29668 \begin_inset Caption
29669
29670 \begin_layout Standard
29671 \begin_inset LatexCommand label
29672 name "lst:Example-Listing"
29673
29674 \end_inset
29675
29676 Example Listing float
29677 \end_layout
29678
29679 \end_inset
29680
29681 # Example listing float
29682 \end_layout
29683
29684 \begin_layout Standard
29685
29686 def func(param):
29687 \end_layout
29688
29689 \begin_layout Standard
29690
29691     'this is a python function'
29692 \end_layout
29693
29694 \begin_layout Standard
29695
29696     pass
29697 \end_layout
29698
29699 \end_inset
29700
29701
29702 \end_layout
29703
29704 \begin_layout Standard
29705 When you have set a programming language in the listings dialog, the keywords
29706  of this language will be recognized and specially typeset in the output.
29707  In the example listings the Python keyword 
29708 \begin_inset Quotes eld
29709 \end_inset
29710
29711 def
29712 \begin_inset Quotes erd
29713 \end_inset
29714
29715  is recognized and printed bold in the output.
29716 \end_layout
29717
29718 \begin_layout Standard
29719 \begin_inset Note Greyedout
29720 status open
29721
29722 \begin_layout Standard
29723
29724 \series bold
29725 Note:
29726 \series default
29727  If you don't get bold keywords when using typewriter fonts, your typewriter
29728  font probably doesn't provide a bold shape.
29729  In this case select a different one in the menu 
29730 \family sans
29731 Document\SpecialChar \menuseparator
29732 Settings\SpecialChar \menuseparator
29733 Fonts
29734 \family default
29735 .
29736  (The fonts 
29737 \emph on
29738 LuxiMono, BeraMono
29739 \emph default
29740  and 
29741 \emph on
29742 Courier
29743 \emph default
29744  provide bold shapes.)
29745 \end_layout
29746
29747 \end_inset
29748
29749
29750 \end_layout
29751
29752 \begin_layout Standard
29753 In section 
29754 \family sans
29755 Line\InsetSpace ~
29756 numbering
29757 \family default
29758  of the listings dialog you can specify the line numbering style.
29759  You can insert a number to specify which lines are numbered to the field
29760  
29761 \family sans
29762 Step
29763 \family default
29764 .
29765  When you insert e.g.
29766  
29767 \begin_inset Quotes eld
29768 \end_inset
29769
29770 3
29771 \begin_inset Quotes erd
29772 \end_inset
29773
29774 , only every 3rd line will be numbered.
29775 \end_layout
29776
29777 \begin_layout Standard
29778 You can furthermore specify a range of lines, only these will then appear
29779  in the output.
29780  The option 
29781 \family sans
29782 Extended\InsetSpace ~
29783 chars
29784 \family default
29785  should be used when you use national characters like the German umlauts
29786  in the listing.
29787 \newline
29788 Here is an example listing with left line numbering, step
29789  
29790 \begin_inset Quotes eld
29791 \end_inset
29792
29793 3
29794 \begin_inset Quotes erd
29795 \end_inset
29796
29797 , language 
29798 \begin_inset Quotes eld
29799 \end_inset
29800
29801 Python
29802 \begin_inset Quotes erd
29803 \end_inset
29804
29805 , options 
29806 \begin_inset Quotes eld
29807 \end_inset
29808
29809 Extended\InsetSpace ~
29810 chars
29811 \begin_inset Quotes erd
29812 \end_inset
29813
29814  and 
29815 \begin_inset Quotes eld
29816 \end_inset
29817
29818 Space\InsetSpace ~
29819 as\InsetSpace ~
29820 Symbol
29821 \begin_inset Quotes erd
29822 \end_inset
29823
29824 , range lines 3\InsetSpace \thinspace{}
29825 -\InsetSpace \thinspace{}
29826 8:
29827 \end_layout
29828
29829 \begin_layout Standard
29830 \begin_inset listings
29831 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
29832 inline false
29833 status open
29834
29835 \begin_layout Standard
29836
29837 def func(param):
29838 \end_layout
29839
29840 \begin_layout Standard
29841
29842     'this is a python function'
29843 \end_layout
29844
29845 \begin_layout Standard
29846
29847     pass
29848 \end_layout
29849
29850 \begin_layout Standard
29851
29852 def func(param):
29853 \end_layout
29854
29855 \begin_layout Standard
29856
29857 'This is a German word: Tschüß'
29858 \end_layout
29859
29860 \begin_layout Standard
29861
29862 pass
29863 \end_layout
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 \end_inset
29881
29882
29883 \end_layout
29884
29885 \begin_layout Standard
29886 \begin_inset Note Greyedout
29887 status open
29888
29889 \begin_layout Standard
29890
29891 \series bold
29892 Note:
29893 \series default
29894  Due to a bug in the 
29895 \series bold
29896 listings
29897 \series default
29898  package the line numbering is shifted by a line by every previous listing.
29899  That's the reason why the lines 2 and 5 are numbered in the above listing
29900  and not the lines 3 and 6.
29901 \end_layout
29902
29903 \end_inset
29904
29905
29906 \end_layout
29907
29908 \begin_layout Standard
29909 \begin_inset VSpace bigskip
29910 \end_inset
29911
29912
29913 \end_layout
29914
29915 \begin_layout Standard
29916 It is also possible to print lines from a file as listing.
29917  To do this, use the menu 
29918 \family sans
29919 Insert\SpecialChar \menuseparator
29920 File\SpecialChar \menuseparator
29921 Child Document
29922 \family default
29923  and choose the type 
29924 \family sans
29925 Listings
29926 \family default
29927 .
29928 \begin_inset Foot
29929 status collapsed
29930
29931 \begin_layout Standard
29932 The other child document types are described in section\InsetSpace ~
29933
29934 \begin_inset LatexCommand ref
29935 reference "sec:Child-Documents"
29936
29937 \end_inset
29938
29939 .
29940 \end_layout
29941
29942 \end_inset
29943
29944  In the child document dialog you can specify the listing parameters in
29945  a text box.
29946  To show a list of all available parameters, type in a question mark 
29947 \begin_inset Quotes eld
29948 \end_inset
29949
29950 ?
29951 \begin_inset Quotes erd
29952 \end_inset
29953
29954  in the text box.
29955 \end_layout
29956
29957 \begin_layout Standard
29958 To reference child document listings, write a label text into the corresponding
29959  field of the child document dialog.
29960  The label can then be referenced using the menu 
29961 \family sans
29962 Insert\SpecialChar \menuseparator
29963 Cross-Reference
29964 \family default
29965 .
29966 \end_layout
29967
29968 \begin_layout Standard
29969 Listing\InsetSpace ~
29970
29971 \begin_inset LatexCommand ref
29972 reference "lst:file-listing"
29973
29974 \end_inset
29975
29976  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
29977 -\InsetSpace \thinspace{}
29978 15 of this LyX
29979  file are listed.
29980 \end_layout
29981
29982 \begin_layout Standard
29983 \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]
29984 preview false
29985
29986 \end_inset
29987
29988
29989 \end_layout
29990
29991 \begin_layout Standard
29992 \begin_inset VSpace bigskip
29993 \end_inset
29994
29995
29996 \end_layout
29997
29998 \begin_layout Standard
29999 Global listings settings can be set in the 
30000 \family sans
30001 Document\SpecialChar \menuseparator
30002 Settings\SpecialChar \menuseparator
30003 Text Layout
30004 \family default
30005  dialog.
30006  To get there a list of available options, type in a question mark 
30007 \begin_inset Quotes eld
30008 \end_inset
30009
30010 ?
30011 \begin_inset Quotes erd
30012 \end_inset
30013
30014  in the 
30015 \family sans
30016 Listings\InsetSpace ~
30017 settings
30018 \family default
30019  field.
30020 \end_layout
30021
30022 \begin_layout Standard
30023 For more information about the 
30024 \series bold
30025 listings
30026 \series default
30027  package, we refer to its documentation 
30028 \begin_inset LatexCommand cite
30029 key "listings"
30030
30031 \end_inset
30032
30033 .
30034 \end_layout
30035
30036 \begin_layout Standard
30037
30038 \newpage
30039
30040 \end_layout
30041
30042 \begin_layout Chapter
30043 \start_of_appendix
30044 Units available in LyX
30045 \begin_inset LatexCommand index
30046 name "Units"
30047
30048 \end_inset
30049
30050
30051 \begin_inset LatexCommand label
30052 name "cha:Units-available-in"
30053
30054 \end_inset
30055
30056
30057 \end_layout
30058
30059 \begin_layout Standard
30060 To understand the units described in this documentation, Table\InsetSpace ~
30061
30062 \begin_inset LatexCommand ref
30063 reference "tab:Units"
30064
30065 \end_inset
30066
30067  explains all units available in LyX.
30068 \end_layout
30069
30070 \begin_layout Standard
30071 \begin_inset Float table
30072 placement h
30073 wide false
30074 sideways false
30075 status open
30076
30077 \begin_layout Standard
30078 \begin_inset Caption
30079
30080 \begin_layout Standard
30081 \begin_inset LatexCommand label
30082 name "tab:Units"
30083
30084 \end_inset
30085
30086 Units
30087 \end_layout
30088
30089 \end_inset
30090
30091
30092 \end_layout
30093
30094 \begin_layout Standard
30095 \begin_inset VSpace medskip
30096 \end_inset
30097
30098
30099 \end_layout
30100
30101 \begin_layout Standard
30102 \align center
30103 \begin_inset Tabular
30104 <lyxtabular version="3" rows="20" columns="2">
30105 <features>
30106 <column alignment="center" valignment="top" leftline="true" width="0">
30107 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30108 <row topline="true" bottomline="true">
30109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30110 \begin_inset Text
30111
30112 \begin_layout Standard
30113 unit
30114 \end_layout
30115
30116 \end_inset
30117 </cell>
30118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30119 \begin_inset Text
30120
30121 \begin_layout Standard
30122 name/description
30123 \end_layout
30124
30125 \end_inset
30126 </cell>
30127 </row>
30128 <row topline="true">
30129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30130 \begin_inset Text
30131
30132 \begin_layout Standard
30133 mm
30134 \end_layout
30135
30136 \end_inset
30137 </cell>
30138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30139 \begin_inset Text
30140
30141 \begin_layout Standard
30142 millimeter
30143 \end_layout
30144
30145 \end_inset
30146 </cell>
30147 </row>
30148 <row topline="true">
30149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30150 \begin_inset Text
30151
30152 \begin_layout Standard
30153 cm
30154 \end_layout
30155
30156 \end_inset
30157 </cell>
30158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30159 \begin_inset Text
30160
30161 \begin_layout Standard
30162 centimeter
30163 \end_layout
30164
30165 \end_inset
30166 </cell>
30167 </row>
30168 <row topline="true">
30169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30170 \begin_inset Text
30171
30172 \begin_layout Standard
30173 in
30174 \end_layout
30175
30176 \end_inset
30177 </cell>
30178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30179 \begin_inset Text
30180
30181 \begin_layout Standard
30182 inch
30183 \end_layout
30184
30185 \end_inset
30186 </cell>
30187 </row>
30188 <row topline="true">
30189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30190 \begin_inset Text
30191
30192 \begin_layout Standard
30193 pt
30194 \end_layout
30195
30196 \end_inset
30197 </cell>
30198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30199 \begin_inset Text
30200
30201 \begin_layout Standard
30202 point (72.27\InsetSpace \thinspace{}
30203 pt = 1\InsetSpace \thinspace{}
30204 in)
30205 \end_layout
30206
30207 \end_inset
30208 </cell>
30209 </row>
30210 <row topline="true">
30211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30212 \begin_inset Text
30213
30214 \begin_layout Standard
30215 pc
30216 \end_layout
30217
30218 \end_inset
30219 </cell>
30220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30221 \begin_inset Text
30222
30223 \begin_layout Standard
30224 pica (1\InsetSpace \thinspace{}
30225 pc = 12\InsetSpace \thinspace{}
30226 pt)
30227 \end_layout
30228
30229 \end_inset
30230 </cell>
30231 </row>
30232 <row topline="true">
30233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30234 \begin_inset Text
30235
30236 \begin_layout Standard
30237 sp
30238 \end_layout
30239
30240 \end_inset
30241 </cell>
30242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30243 \begin_inset Text
30244
30245 \begin_layout Standard
30246 scaled point (65536\InsetSpace \thinspace{}
30247 sp = 1\InsetSpace \thinspace{}
30248 pt)
30249 \end_layout
30250
30251 \end_inset
30252 </cell>
30253 </row>
30254 <row topline="true">
30255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30256 \begin_inset Text
30257
30258 \begin_layout Standard
30259 bp
30260 \end_layout
30261
30262 \end_inset
30263 </cell>
30264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30265 \begin_inset Text
30266
30267 \begin_layout Standard
30268 big point (72\InsetSpace \thinspace{}
30269 bp = 1\InsetSpace \thinspace{}
30270 in)
30271 \end_layout
30272
30273 \end_inset
30274 </cell>
30275 </row>
30276 <row topline="true">
30277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30278 \begin_inset Text
30279
30280 \begin_layout Standard
30281 dd
30282 \end_layout
30283
30284 \end_inset
30285 </cell>
30286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30287 \begin_inset Text
30288
30289 \begin_layout Standard
30290 didot (1\InsetSpace \thinspace{}
30291 dd 
30292 \begin_inset Formula $\approx$
30293 \end_inset
30294
30295  0.376\InsetSpace \thinspace{}
30296 mm)
30297 \end_layout
30298
30299 \end_inset
30300 </cell>
30301 </row>
30302 <row topline="true">
30303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30304 \begin_inset Text
30305
30306 \begin_layout Standard
30307 cc
30308 \end_layout
30309
30310 \end_inset
30311 </cell>
30312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30313 \begin_inset Text
30314
30315 \begin_layout Standard
30316 cicero (1\InsetSpace \thinspace{}
30317 cc = 12\InsetSpace \thinspace{}
30318 dd)
30319 \end_layout
30320
30321 \end_inset
30322 </cell>
30323 </row>
30324 <row topline="true">
30325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30326 \begin_inset Text
30327
30328 \begin_layout Standard
30329 Scale%
30330 \end_layout
30331
30332 \end_inset
30333 </cell>
30334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30335 \begin_inset Text
30336
30337 \begin_layout Standard
30338 % of original image width
30339 \end_layout
30340
30341 \end_inset
30342 </cell>
30343 </row>
30344 <row topline="true">
30345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30346 \begin_inset Text
30347
30348 \begin_layout Standard
30349 text%
30350 \end_layout
30351
30352 \end_inset
30353 </cell>
30354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30355 \begin_inset Text
30356
30357 \begin_layout Standard
30358 % of text width
30359 \end_layout
30360
30361 \end_inset
30362 </cell>
30363 </row>
30364 <row topline="true">
30365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30366 \begin_inset Text
30367
30368 \begin_layout Standard
30369 col%
30370 \end_layout
30371
30372 \end_inset
30373 </cell>
30374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30375 \begin_inset Text
30376
30377 \begin_layout Standard
30378 % of column width
30379 \end_layout
30380
30381 \end_inset
30382 </cell>
30383 </row>
30384 <row topline="true">
30385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30386 \begin_inset Text
30387
30388 \begin_layout Standard
30389 page%
30390 \end_layout
30391
30392 \end_inset
30393 </cell>
30394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30395 \begin_inset Text
30396
30397 \begin_layout Standard
30398 % of paper width
30399 \end_layout
30400
30401 \end_inset
30402 </cell>
30403 </row>
30404 <row topline="true">
30405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30406 \begin_inset Text
30407
30408 \begin_layout Standard
30409 line%
30410 \end_layout
30411
30412 \end_inset
30413 </cell>
30414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30415 \begin_inset Text
30416
30417 \begin_layout Standard
30418 % of line width
30419 \end_layout
30420
30421 \end_inset
30422 </cell>
30423 </row>
30424 <row topline="true">
30425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30426 \begin_inset Text
30427
30428 \begin_layout Standard
30429 theight%
30430 \end_layout
30431
30432 \end_inset
30433 </cell>
30434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30435 \begin_inset Text
30436
30437 \begin_layout Standard
30438 % of text height
30439 \end_layout
30440
30441 \end_inset
30442 </cell>
30443 </row>
30444 <row topline="true">
30445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30446 \begin_inset Text
30447
30448 \begin_layout Standard
30449 pheight%
30450 \end_layout
30451
30452 \end_inset
30453 </cell>
30454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30455 \begin_inset Text
30456
30457 \begin_layout Standard
30458 % of paper height
30459 \end_layout
30460
30461 \end_inset
30462 </cell>
30463 </row>
30464 <row topline="true">
30465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30466 \begin_inset Text
30467
30468 \begin_layout Standard
30469 ex
30470 \end_layout
30471
30472 \end_inset
30473 </cell>
30474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30475 \begin_inset Text
30476
30477 \begin_layout Standard
30478 height of letter 
30479 \emph on
30480 x
30481 \emph default
30482  in current font
30483 \end_layout
30484
30485 \end_inset
30486 </cell>
30487 </row>
30488 <row topline="true">
30489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30490 \begin_inset Text
30491
30492 \begin_layout Standard
30493 em
30494 \end_layout
30495
30496 \end_inset
30497 </cell>
30498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30499 \begin_inset Text
30500
30501 \begin_layout Standard
30502 width of letter 
30503 \emph on
30504 M
30505 \emph default
30506  in current font
30507 \end_layout
30508
30509 \end_inset
30510 </cell>
30511 </row>
30512 <row topline="true" bottomline="true">
30513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30514 \begin_inset Text
30515
30516 \begin_layout Standard
30517 mu
30518 \end_layout
30519
30520 \end_inset
30521 </cell>
30522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30523 \begin_inset Text
30524
30525 \begin_layout Standard
30526 math unit (1\InsetSpace \thinspace{}
30527 mu = 1/18\InsetSpace \thinspace{}
30528 em)
30529 \end_layout
30530
30531 \end_inset
30532 </cell>
30533 </row>
30534 </lyxtabular>
30535
30536 \end_inset
30537
30538
30539 \end_layout
30540
30541 \end_inset
30542
30543
30544 \end_layout
30545
30546 \begin_layout Chapter
30547 Output File Formats with Graphics
30548 \begin_inset LatexCommand label
30549 name "cha:Output-File-Formats"
30550
30551 \end_inset
30552
30553
30554 \end_layout
30555
30556 \begin_layout Section
30557 DVI
30558 \begin_inset LatexCommand index
30559 name "File Formats ! DVI"
30560
30561 \end_inset
30562
30563
30564 \begin_inset LatexCommand index
30565 name "DVI|see{File Formats}"
30566
30567 \end_inset
30568
30569
30570 \end_layout
30571
30572 \begin_layout Standard
30573 This file type has the extension 
30574 \begin_inset Quotes eld
30575 \end_inset
30576
30577
30578 \family typewriter
30579 .dvi
30580 \family default
30581
30582 \begin_inset Quotes erd
30583 \end_inset
30584
30585 .
30586  It is called 
30587 \begin_inset Quotes eld
30588 \end_inset
30589
30590 device-independent
30591 \begin_inset Quotes erd
30592 \end_inset
30593
30594  (DVI), because it is completely portable; you can move them from one machine
30595  to another without needing to do any sort of conversion.
30596  At the time when this file-format was developed, this was no matter of
30597  course.
30598  DVIs are used for quick previews and as pre-stage for other output formats,
30599  like PostScript.
30600 \end_layout
30601
30602 \begin_layout Standard
30603 \begin_inset Note Greyedout
30604 status open
30605
30606 \begin_layout Standard
30607
30608 \series bold
30609 Note:
30610 \series default
30611  DVI-files doesn't contain images, they will only be a linked.
30612 \end_layout
30613
30614 \end_inset
30615
30616  So don't forget this, if you move your 
30617 \family typewriter
30618 .dvi
30619 \family default
30620  file to another computer.
30621  This property can also slow down your computer when you view the DVI.
30622  Because the DVI-viewer has to convert the image in the background to make
30623  it visible when you scroll in the DVI.
30624  So we recommend to use PDF for files with many images.
30625 \end_layout
30626
30627 \begin_layout Standard
30628 You can export your document to DVI by using the menu 
30629 \family sans
30630 File\SpecialChar \menuseparator
30631 Export\SpecialChar \menuseparator
30632 DVI
30633 \family default
30634 .
30635  You can view your document as DVI via the 
30636 \family sans
30637 View
30638 \family default
30639  menu or by using the toolbar button 
30640 \begin_inset Graphics
30641         filename ../images/buffer-view_dvi.png
30642         scale 85
30643         scaleBeforeRotation
30644
30645 \end_inset
30646
30647 .
30648 \end_layout
30649
30650 \begin_layout Section
30651 PostScript
30652 \begin_inset LatexCommand label
30653 name "sec:PostScript"
30654
30655 \end_inset
30656
30657
30658 \begin_inset LatexCommand index
30659 name "File Formats ! PostScript"
30660
30661 \end_inset
30662
30663
30664 \begin_inset LatexCommand index
30665 name "PostScript|see{File Formats}"
30666
30667 \end_inset
30668
30669
30670 \end_layout
30671
30672 \begin_layout Standard
30673 This file type has the extension 
30674 \begin_inset Quotes eld
30675 \end_inset
30676
30677
30678 \family typewriter
30679 .ps
30680 \family default
30681
30682 \begin_inset Quotes erd
30683 \end_inset
30684
30685 .
30686  PostScript was developed by the company 
30687 \family typewriter
30688 Adobe
30689 \family default
30690  as printer language.
30691  The file contains therefore commands that the printer uses to print the
30692  file.
30693  PostScript can be seen as 
30694 \begin_inset Quotes eld
30695 \end_inset
30696
30697 programming language
30698 \begin_inset Quotes erd
30699 \end_inset
30700
30701 ; you can calculate with it and draw diagrams and images
30702 \begin_inset Foot
30703 status collapsed
30704
30705 \begin_layout Standard
30706 If you are interested to learn more about this, have a look at the LaTeX-package
30707  
30708 \series bold
30709 PSTricks
30710 \series default
30711  
30712 \begin_inset LatexCommand cite
30713 key "pstricks"
30714
30715 \end_inset
30716
30717 .
30718 \end_layout
30719
30720 \end_inset
30721
30722 .
30723  Due to this ability, the files are often bigger than PDFs.
30724 \end_layout
30725
30726 \begin_layout Standard
30727 PostScript can only contain images in the format 
30728 \begin_inset Quotes eld
30729 \end_inset
30730
30731 Encapsulated PostScript
30732 \begin_inset Quotes erd
30733 \end_inset
30734
30735  (EPS, file extension 
30736 \begin_inset Quotes eld
30737 \end_inset
30738
30739
30740 \family typewriter
30741 .eps
30742 \family default
30743
30744 \begin_inset Quotes erd
30745 \end_inset
30746
30747 ).
30748  As LyX allows you to use any known image format in your document, it has
30749  to convert images in the background to EPS.
30750  If you have e.g 50 images in your document, LyX has to do 50 conversions
30751  whenever you view or export your document.
30752  This will slow down your work flow with LyX drastically.
30753  So if you plan to use PostScript, you can insert your images directly as
30754  EPS to avoid this problem.
30755 \end_layout
30756
30757 \begin_layout Standard
30758 You can export your document to PostScript using the menu 
30759 \family sans
30760 File\SpecialChar \menuseparator
30761 Export\SpecialChar \menuseparator
30762 Postscript
30763 \family default
30764 .
30765  You can view your document as PostScript via the 
30766 \family sans
30767 View
30768 \family default
30769  menu or by using the toolbar button 
30770 \begin_inset Graphics
30771         filename ../images/buffer-view_ps.png
30772         scale 85
30773         scaleBeforeRotation
30774
30775 \end_inset
30776
30777 .
30778 \end_layout
30779
30780 \begin_layout Section
30781 PDF
30782 \begin_inset LatexCommand label
30783 name "sec:PDF"
30784
30785 \end_inset
30786
30787
30788 \begin_inset LatexCommand index
30789 name "File Formats ! PDF"
30790
30791 \end_inset
30792
30793
30794 \begin_inset LatexCommand index
30795 name "PDF"
30796
30797 \end_inset
30798
30799
30800 \end_layout
30801
30802 \begin_layout Standard
30803 This file type has the extension 
30804 \begin_inset Quotes eld
30805 \end_inset
30806
30807
30808 \family typewriter
30809 .pdf
30810 \family default
30811
30812 \begin_inset Quotes erd
30813 \end_inset
30814
30815 .
30816  The 
30817 \begin_inset Quotes eld
30818 \end_inset
30819
30820 Portable Document Format
30821 \begin_inset Quotes erd
30822 \end_inset
30823
30824  (PDF) is developed by 
30825 \family typewriter
30826 Adobe
30827 \family default
30828  as derivative from PostScript.
30829  It is more compressed and it uses much less commands than PostScript.
30830  As the name 
30831 \begin_inset Quotes eld
30832 \end_inset
30833
30834 portable
30835 \begin_inset Quotes erd
30836 \end_inset
30837
30838  implies, it can be processed at any computer system and the printed output
30839  looks exactly the same.
30840 \end_layout
30841
30842 \begin_layout Standard
30843 PDF can contain images in its own PDF format, in the format 
30844 \begin_inset Quotes eld
30845 \end_inset
30846
30847 Joint Photographic Experts Group
30848 \begin_inset Quotes erd
30849 \end_inset
30850
30851  (JPG, file extension 
30852 \begin_inset Quotes eld
30853 \end_inset
30854
30855
30856 \family typewriter
30857 .jpg
30858 \family default
30859
30860 \begin_inset Quotes erd
30861 \end_inset
30862
30863  or 
30864 \begin_inset Quotes eld
30865 \end_inset
30866
30867
30868 \family typewriter
30869 .jpeg
30870 \family default
30871
30872 \begin_inset Quotes erd
30873 \end_inset
30874
30875 ), and in the format 
30876 \begin_inset Quotes eld
30877 \end_inset
30878
30879 Portable Network Graphics
30880 \begin_inset Quotes erd
30881 \end_inset
30882
30883  (PNG, file extension 
30884 \begin_inset Quotes eld
30885 \end_inset
30886
30887
30888 \family typewriter
30889 .png
30890 \family default
30891
30892 \begin_inset Quotes erd
30893 \end_inset
30894
30895 ).
30896  Nevertheless you can use any other image format, because LyX converts them
30897  in the background to one of these formats.
30898  But as described in the section about PostScript, the image conversion
30899  will slow down your work flow.
30900  So it is recommended to use images in one of the three mentioned formats.
30901 \end_layout
30902
30903 \begin_layout Standard
30904 You can export your document to PDF via the menu 
30905 \family sans
30906 File\SpecialChar \menuseparator
30907 Export
30908 \family default
30909  in three different ways:
30910 \end_layout
30911
30912 \begin_layout Description
30913 PDF\InsetSpace ~
30914 (ps2pdf) This uses the program 
30915 \family typewriter
30916 ps2pdf
30917 \family default
30918  that creates a PDF from a PostScript-version of your file.
30919  The PostScript-version is produced by the program 
30920 \family typewriter
30921 dvips
30922 \family default
30923  which uses a DVI-version as intermediate step.
30924  So this export variant consist of three conversions.
30925 \end_layout
30926
30927 \begin_layout Description
30928 PDF\InsetSpace ~
30929 (dvipdfm) This uses the program 
30930 \family typewriter
30931 dvipdfm
30932 \family default
30933  that converts your file in the background to DVI and in a second step to
30934  PDF.
30935 \end_layout
30936
30937 \begin_layout Description
30938 PDF\InsetSpace ~
30939 (pdflatex) This uses the program 
30940 \family typewriter
30941 pdftex
30942 \family default
30943  that converts your file directly to PDF.
30944 \end_layout
30945
30946 \begin_layout Standard
30947 It is recommended to use 
30948 \family sans
30949 PDF\InsetSpace ~
30950 (pdflatex)
30951 \family default
30952  because 
30953 \family typewriter
30954 pdftex
30955 \family default
30956  supports all features of actual PDF-versions, is quick and works stable
30957  without problems.
30958  The program 
30959 \family typewriter
30960 dvipdfm
30961 \family default
30962  is not under development and therefore a bit outdated.
30963 \end_layout
30964
30965 \begin_layout Standard
30966 You can view your document as PDF via the 
30967 \family sans
30968 View
30969 \family default
30970  menu or by using the toolbar button 
30971 \begin_inset Graphics
30972         filename ../images/buffer-view_pdf2.png
30973         scale 85
30974         scaleBeforeRotation
30975
30976 \end_inset
30977
30978  
30979 \family sans
30980 (
30981 \family default
30982 that uses 
30983 \family sans
30984 PDF\InsetSpace ~
30985 (pdflatex)
30986 \family default
30987 ).
30988 \end_layout
30989
30990 \begin_layout Chapter
30991 Explanation of Equation\InsetSpace ~
30992
30993 \begin_inset LatexCommand eqref
30994 reference "eq:Wgn"
30995
30996 \end_inset
30997
30998
30999 \begin_inset LatexCommand label
31000 name "cha:Explanation-of-Equation"
31001
31002 \end_inset
31003
31004
31005 \end_layout
31006
31007 \begin_layout Standard
31008 The total width of 
31009 \emph on
31010 n
31011 \emph default
31012  table cells 
31013 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31014 \end_inset
31015
31016  can be calculated to
31017 \end_layout
31018
31019 \begin_layout Standard
31020 \begin_inset Formula \begin{equation}
31021 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}
31022
31023 \end_inset
31024
31025
31026 \end_layout
31027
31028 \begin_layout Standard
31029 Where 
31030 \begin_inset Formula $W_{g\, n}$
31031 \end_inset
31032
31033  is the given width of all cells.
31034  
31035 \series bold
31036
31037 \backslash
31038 tabcolsep
31039 \series default
31040  is the LaTeX-length between the cell text and the cell border, its default
31041  value is 6\InsetSpace \thinspace{}
31042 pt.
31043  
31044 \series bold
31045
31046 \backslash
31047 arrayrulewidth
31048 \series default
31049  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31050 pt.
31051 \end_layout
31052
31053 \begin_layout Standard
31054 Following equation\InsetSpace ~
31055
31056 \begin_inset LatexCommand eqref
31057 reference "eq:Wtot_n"
31058
31059 \end_inset
31060
31061 , the total width of a multicolumn 
31062 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31063 \end_inset
31064
31065  is
31066 \end_layout
31067
31068 \begin_layout Standard
31069 \begin_inset Formula \begin{equation}
31070 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31071
31072 \end_inset
31073
31074
31075 \end_layout
31076
31077 \begin_layout Standard
31078 By setting equation\InsetSpace ~
31079
31080 \begin_inset LatexCommand eqref
31081 reference "eq:Wtot_n"
31082
31083 \end_inset
31084
31085  and 
31086 \begin_inset LatexCommand eqref
31087 reference "eq:Wtot_mult"
31088
31089 \end_inset
31090
31091  equal we can calculate the needed given width 
31092 \begin_inset Formula $W_{g\, n}$
31093 \end_inset
31094
31095  when 
31096 \emph on
31097 n
31098 \emph default
31099  columns are spanned, so that each column has a total width of 
31100 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31101 \end_inset
31102
31103 :
31104 \end_layout
31105
31106 \begin_layout Standard
31107 \begin_inset Formula \begin{equation}
31108 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31109
31110 \end_inset
31111
31112
31113 \end_layout
31114
31115 \begin_layout Bibliography
31116 \begin_inset LatexCommand bibitem
31117 key "latexcompanion"
31118
31119 \end_inset
31120
31121 Frank Mittelbach and Michel Goossens: 
31122 \emph on
31123 The LaTeX Companion Second Edition.
31124
31125 \emph default
31126  Addison-Wesley, 2004
31127 \end_layout
31128
31129 \begin_layout Bibliography
31130 \begin_inset LatexCommand bibitem
31131 key "latexguide"
31132
31133 \end_inset
31134
31135 Helmut Kopka and Patrick W.
31136  Daly: 
31137 \emph on
31138 A Guide to LaTeX Fourth Edition.
31139
31140 \emph default
31141  Addison-Wesley, 2003
31142 \end_layout
31143
31144 \begin_layout Bibliography
31145 \begin_inset LatexCommand bibitem
31146 key "latexbook"
31147
31148 \end_inset
31149
31150 Leslie Lamport: 
31151 \emph on
31152 LaTeX: A Document Preparation System.
31153
31154 \emph default
31155  Addison-Wesley, second edition, 1994
31156 \end_layout
31157
31158 \begin_layout Bibliography
31159 \begin_inset LatexCommand bibitem
31160 key "booktabs"
31161
31162 \end_inset
31163
31164
31165 \begin_inset ERT
31166 status collapsed
31167
31168 \begin_layout Standard
31169
31170
31171 \backslash
31172 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31173 {
31174 \end_layout
31175
31176 \end_inset
31177
31178 Documentation
31179 \begin_inset ERT
31180 status collapsed
31181
31182 \begin_layout Standard
31183
31184 }
31185 \end_layout
31186
31187 \end_inset
31188
31189  of the LaTeX-package 
31190 \series bold
31191 booktabs
31192 \series default
31193
31194 \begin_inset LatexCommand index
31195 name "LaTeX-packages ! booktabs"
31196
31197 \end_inset
31198
31199
31200 \end_layout
31201
31202 \begin_layout Bibliography
31203 \begin_inset LatexCommand bibitem
31204 key "caption"
31205
31206 \end_inset
31207
31208
31209 \begin_inset ERT
31210 status collapsed
31211
31212 \begin_layout Standard
31213
31214
31215 \backslash
31216 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31217 \end_layout
31218
31219 \end_inset
31220
31221 Documentation
31222 \begin_inset ERT
31223 status collapsed
31224
31225 \begin_layout Standard
31226
31227 }
31228 \end_layout
31229
31230 \end_inset
31231
31232  of the LaTeX-package 
31233 \series bold
31234 caption
31235 \series default
31236
31237 \begin_inset LatexCommand index
31238 name "LaTeX-packages ! caption"
31239
31240 \end_inset
31241
31242
31243 \end_layout
31244
31245 \begin_layout Bibliography
31246 \begin_inset LatexCommand bibitem
31247 key "caption-de"
31248
31249 \end_inset
31250
31251 German 
31252 \begin_inset ERT
31253 status collapsed
31254
31255 \begin_layout Standard
31256
31257
31258 \backslash
31259 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31260 {
31261 \end_layout
31262
31263 \end_inset
31264
31265 documentation
31266 \begin_inset ERT
31267 status collapsed
31268
31269 \begin_layout Standard
31270
31271 }
31272 \end_layout
31273
31274 \end_inset
31275
31276  of the LaTeX-package 
31277 \series bold
31278 caption
31279 \end_layout
31280
31281 \begin_layout Bibliography
31282 \begin_inset LatexCommand bibitem
31283 key "endfloat"
31284
31285 \end_inset
31286
31287
31288 \begin_inset ERT
31289 status collapsed
31290
31291 \begin_layout Standard
31292
31293
31294 \backslash
31295 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31296 {
31297 \end_layout
31298
31299 \end_inset
31300
31301 Documentation
31302 \begin_inset ERT
31303 status collapsed
31304
31305 \begin_layout Standard
31306
31307 }
31308 \end_layout
31309
31310 \end_inset
31311
31312  of the LaTeX-package 
31313 \series bold
31314 endf\SpecialChar \textcompwordmark{}
31315 loat
31316 \series default
31317
31318 \begin_inset LatexCommand index
31319 name "LaTeX-packages ! endfloat"
31320
31321 \end_inset
31322
31323
31324 \end_layout
31325
31326 \begin_layout Bibliography
31327 \begin_inset LatexCommand bibitem
31328 key "floatflt"
31329
31330 \end_inset
31331
31332
31333 \begin_inset ERT
31334 status collapsed
31335
31336 \begin_layout Standard
31337
31338
31339 \backslash
31340 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
31341 {
31342 \end_layout
31343
31344 \end_inset
31345
31346 Documentation
31347 \begin_inset ERT
31348 status collapsed
31349
31350 \begin_layout Standard
31351
31352 }
31353 \end_layout
31354
31355 \end_inset
31356
31357  of the LaTeX-package 
31358 \series bold
31359 f\SpecialChar \textcompwordmark{}
31360 loatf\SpecialChar \textcompwordmark{}
31361 lt
31362 \series default
31363
31364 \begin_inset LatexCommand index
31365 name "LaTeX-packages ! floatflt"
31366
31367 \end_inset
31368
31369
31370 \end_layout
31371
31372 \begin_layout Bibliography
31373 \begin_inset LatexCommand bibitem
31374 key "footmisc"
31375
31376 \end_inset
31377
31378
31379 \begin_inset ERT
31380 status collapsed
31381
31382 \begin_layout Standard
31383
31384
31385 \backslash
31386 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31387 {
31388 \end_layout
31389
31390 \end_inset
31391
31392 Documentation
31393 \begin_inset ERT
31394 status collapsed
31395
31396 \begin_layout Standard
31397
31398 }
31399 \end_layout
31400
31401 \end_inset
31402
31403  of the LaTeX-package 
31404 \series bold
31405 footmisc
31406 \series default
31407
31408 \begin_inset LatexCommand index
31409 name "LaTeX-packages ! footmisc"
31410
31411 \end_inset
31412
31413
31414 \end_layout
31415
31416 \begin_layout Bibliography
31417 \begin_inset LatexCommand bibitem
31418 key "hypcap"
31419
31420 \end_inset
31421
31422
31423 \begin_inset ERT
31424 status collapsed
31425
31426 \begin_layout Standard
31427
31428
31429 \backslash
31430 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
31431 \end_layout
31432
31433 \end_inset
31434
31435 Documentation
31436 \begin_inset ERT
31437 status collapsed
31438
31439 \begin_layout Standard
31440
31441 }
31442 \end_layout
31443
31444 \end_inset
31445
31446  of the LaTeX-package 
31447 \series bold
31448 hypcap
31449 \series default
31450
31451 \begin_inset LatexCommand index
31452 name "LaTeX-packages ! hyperref"
31453
31454 \end_inset
31455
31456
31457 \end_layout
31458
31459 \begin_layout Bibliography
31460 \begin_inset LatexCommand bibitem
31461 key "hyperref"
31462
31463 \end_inset
31464
31465
31466 \begin_inset ERT
31467 status collapsed
31468
31469 \begin_layout Standard
31470
31471
31472 \backslash
31473 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31474 {
31475 \end_layout
31476
31477 \end_inset
31478
31479 Documentation
31480 \begin_inset ERT
31481 status collapsed
31482
31483 \begin_layout Standard
31484
31485 }
31486 \end_layout
31487
31488 \end_inset
31489
31490  of the LaTeX-package 
31491 \series bold
31492 hyperref
31493 \series default
31494
31495 \begin_inset LatexCommand index
31496 name "LaTeX-packages ! hyperref"
31497
31498 \end_inset
31499
31500
31501 \end_layout
31502
31503 \begin_layout Bibliography
31504 \begin_inset LatexCommand bibitem
31505 key "koma-script"
31506
31507 \end_inset
31508
31509
31510 \begin_inset ERT
31511 status collapsed
31512
31513 \begin_layout Standard
31514
31515
31516 \backslash
31517 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31518 df}{
31519 \end_layout
31520
31521 \end_inset
31522
31523 Documentation
31524 \begin_inset ERT
31525 status collapsed
31526
31527 \begin_layout Standard
31528
31529 }
31530 \end_layout
31531
31532 \end_inset
31533
31534  of the LaTeX-package 
31535 \series bold
31536 koma-script
31537 \series default
31538
31539 \begin_inset LatexCommand index
31540 name "LaTeX-packages ! koma-script"
31541
31542 \end_inset
31543
31544
31545 \end_layout
31546
31547 \begin_layout Bibliography
31548 \begin_inset LatexCommand bibitem
31549 key "koma-script-de"
31550
31551 \end_inset
31552
31553 German 
31554 \begin_inset ERT
31555 status collapsed
31556
31557 \begin_layout Standard
31558
31559
31560 \backslash
31561 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
31562 df}{
31563 \end_layout
31564
31565 \end_inset
31566
31567 documentation
31568 \begin_inset ERT
31569 status collapsed
31570
31571 \begin_layout Standard
31572
31573 }
31574 \end_layout
31575
31576 \end_inset
31577
31578  of the LaTeX-package 
31579 \series bold
31580 koma-script
31581 \series default
31582
31583 \begin_inset LatexCommand index
31584 name "LaTeX-packages ! koma-script"
31585
31586 \end_inset
31587
31588
31589 \end_layout
31590
31591 \begin_layout Bibliography
31592 \begin_inset LatexCommand bibitem
31593 key "listings"
31594
31595 \end_inset
31596
31597
31598 \begin_inset ERT
31599 status collapsed
31600
31601 \begin_layout Standard
31602
31603
31604 \backslash
31605 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31606 {
31607 \end_layout
31608
31609 \end_inset
31610
31611 Documentation
31612 \begin_inset ERT
31613 status collapsed
31614
31615 \begin_layout Standard
31616
31617 }
31618 \end_layout
31619
31620 \end_inset
31621
31622  of the LaTeX-package 
31623 \series bold
31624 listings
31625 \series default
31626
31627 \begin_inset LatexCommand index
31628 name "LaTeX-packages ! listings"
31629
31630 \end_inset
31631
31632
31633 \end_layout
31634
31635 \begin_layout Bibliography
31636 \begin_inset LatexCommand bibitem
31637 key "marginnote"
31638
31639 \end_inset
31640
31641
31642 \begin_inset ERT
31643 status collapsed
31644
31645 \begin_layout Standard
31646
31647
31648 \backslash
31649 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31650 pdf}{
31651 \end_layout
31652
31653 \end_inset
31654
31655 Documentation
31656 \begin_inset ERT
31657 status collapsed
31658
31659 \begin_layout Standard
31660
31661 }
31662 \end_layout
31663
31664 \end_inset
31665
31666  of the LaTeX-package 
31667 \series bold
31668 marginnote
31669 \series default
31670
31671 \begin_inset LatexCommand index
31672 name "LaTeX-packages ! marginnote"
31673
31674 \end_inset
31675
31676
31677 \end_layout
31678
31679 \begin_layout Bibliography
31680 \begin_inset LatexCommand bibitem
31681 key "pstricks"
31682
31683 \end_inset
31684
31685
31686 \begin_inset ERT
31687 status collapsed
31688
31689 \begin_layout Standard
31690
31691
31692 \backslash
31693 href{http://tug.org/PSTricks/main.cgi/}{
31694 \end_layout
31695
31696 \end_inset
31697
31698 Web page
31699 \begin_inset ERT
31700 status collapsed
31701
31702 \begin_layout Standard
31703
31704 }
31705 \end_layout
31706
31707 \end_inset
31708
31709  of the LaTeX-package 
31710 \series bold
31711 PSTricks
31712 \series default
31713
31714 \begin_inset LatexCommand index
31715 name "LaTeX-packages ! PSTricks"
31716
31717 \end_inset
31718
31719
31720 \end_layout
31721
31722 \begin_layout Bibliography
31723 \begin_inset LatexCommand bibitem
31724 key "sidecap"
31725
31726 \end_inset
31727
31728
31729 \begin_inset ERT
31730 status collapsed
31731
31732 \begin_layout Standard
31733
31734
31735 \backslash
31736 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
31737 \end_layout
31738
31739 \end_inset
31740
31741 Documentation
31742 \begin_inset ERT
31743 status collapsed
31744
31745 \begin_layout Standard
31746
31747 }
31748 \end_layout
31749
31750 \end_inset
31751
31752  of the LaTeX-package 
31753 \series bold
31754 sidecap
31755 \series default
31756
31757 \begin_inset LatexCommand index
31758 name "LaTeX-packages ! sidecap"
31759
31760 \end_inset
31761
31762
31763 \end_layout
31764
31765 \begin_layout Bibliography
31766 \begin_inset LatexCommand bibitem
31767 key "NewInLyX15"
31768
31769 \end_inset
31770
31771
31772 \begin_inset ERT
31773 status collapsed
31774
31775 \begin_layout Standard
31776
31777
31778 \backslash
31779 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31780 \end_layout
31781
31782 \end_inset
31783
31784 Wiki page
31785 \begin_inset ERT
31786 status collapsed
31787
31788 \begin_layout Standard
31789
31790 }
31791 \end_layout
31792
31793 \end_inset
31794
31795  about new features in 
31796 \family sans
31797 LyX 1.5.0
31798 \family default
31799 .
31800 \end_layout
31801
31802 \begin_layout Standard
31803 \begin_inset LatexCommand printindex
31804
31805 \end_inset
31806
31807
31808 \end_layout
31809
31810 \begin_layout Standard
31811 \begin_inset FloatList figure
31812
31813 \end_inset
31814
31815
31816 \end_layout
31817
31818 \begin_layout Standard
31819 \begin_inset FloatList table
31820
31821 \end_inset
31822
31823
31824 \end_layout
31825
31826 \begin_layout Standard
31827 \begin_inset ERT
31828 status collapsed
31829
31830 \begin_layout Standard
31831
31832
31833 \backslash
31834 listof{Xalgorithm}{List of Algorithms}
31835 \end_layout
31836
31837 \end_inset
31838
31839
31840 \begin_inset Note Note
31841 status collapsed
31842
31843 \begin_layout Standard
31844 see section\InsetSpace ~
31845
31846 \begin_inset LatexCommand ref
31847 reference "sub:Algorithm-Floats"
31848
31849 \end_inset
31850
31851  for a description
31852 \end_layout
31853
31854 \end_inset
31855
31856
31857 \end_layout
31858
31859 \end_body
31860 \end_document