]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
documentation: the macro chapter for the Math manual
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.1svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16
17 % that links to image floats jumps
18 % to the beginning of the float and 
19 % not to its caption
20 \usepackage[figure]{hypcap}
21
22 % the pages of the TOC is numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \let\myTOC\tableofcontents
25 \renewcommand\tableofcontents{%
26   \frontmatter
27   \pdfbookmark[1]{\contentsname}{}
28   \myTOC
29   \mainmatter }
30
31 % provides caption formatting
32 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
33
34 % provides commands to set caption
35 % beside tables/images
36 \usepackage{sidecap}
37
38 \newcommand{\TabBesBeg}{%
39  \let\MyTable\table
40  \let\MyEndtable\endtable
41  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
42
43 \newcommand{\TabBesEnd}{%
44  \let\table\MyTable
45  \let\endtable\MyEndtable}
46
47 \newcommand{\FigBesBeg}{%
48  \let\MyFigure\figure
49  \let\MyEndfigure\endfigure
50  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
51
52 \newcommand{\FigBesEnd}{%
53  \let\figure\MyFigure
54  \let\endfigure\MyEndfigure}
55
56 % enables calculation of values,
57 \usepackage{calc}
58
59 % provides special table cell alignments
60 \usepackage{dcolumn}
61
62 % increase the bottom float placement fraction
63 \renewcommand{\bottomfraction}{0.5}
64
65 % avoids that floats are placed before their
66 % corresponding section starts
67 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
68
69 % speed up the longtable calculation
70 \setcounter{LTchunksize}{100}
71
72 % used for scaled and rotated boxes
73 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
74
75 % used for colored tables
76 \@ifundefined{textcolor}
77  {\usepackage{color}}{}
78 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
79 \definecolor{lightgrey}{gray}{0.8}
80
81 % check for package colortbl
82 % used for colored table cells
83 \newboolean{colortbl}
84 \IfFileExists{colortbl.sty}
85  {\usepackage{colortbl}
86   \setboolean{colortbl}{true}}
87  {\setboolean{colortbl}{false}}
88
89 % used for multirows
90 \usepackage{multirow}
91 %\renewcommand{\multirowsetup}{\centering}
92
93 % used for book-style tables
94 \usepackage{booktabs}
95
96 % used to have extra space in table cells
97 \@ifundefined{extrarowheight}
98  {\usepackage{array}}{}
99 \setlength{\extrarowheight}{2pt}
100
101 % used for customized tables
102 % ---
103 \newcolumntype{M}[1]
104  {>{\centering\hspace{0pt}}m{#1}}
105
106 \newcolumntype{S}[2]
107  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
108
109 \newcolumntype{K}[1]
110  {>{\columncolor{#1}\hspace{0pt}}c}
111
112 \newcolumntype{V}{!{\vrule width 1.5pt}}
113
114 \newcolumntype{W}{!{\color{green}\vline}}
115 % ---
116
117 % insert additional vertical space of
118 % 1.5 mm between footnotes
119 \let\myFoot\footnote
120 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
121
122 % number algorithm floats within chapters
123 \numberwithin{algorithm}{chapter}
124
125 % redefine the greyed out note
126 \renewenvironment{lyxgreyedout}
127  {\textcolor{blue}\bgroup}{\egroup}
128
129 % ------------------------------------
130 % used to check for needed LaTeX packages
131 \usepackage{ifthen}
132
133 % check for package arydshln
134 % used for tables with dashed lines
135 \newboolean{arydshln}
136 \IfFileExists{arydshln.sty}
137  {\usepackage{arydshln}
138   \setboolean{arydshln}{true}}
139  {\setboolean{arydshln}{false}}
140
141 % check for package marginnote
142 % used for margin notes
143 \newboolean{marginnote}
144 \IfFileExists{marginnote.sty}
145  {\usepackage{marginnote}
146   \let\marginpar\marginnote
147   \setboolean{marginnote}{true}}
148  {\setboolean{marginnote}{false}}
149
150 % check for package sidecap
151 % used for captions on the side
152 \newboolean{sidecap}
153 \IfFileExists{sidecap.sty}
154  {\usepackage{sidecap}
155   \let\marginpar\marginnote
156   \setboolean{sidecap}{true}}
157  {\setboolean{sidecap}{false}}
158
159 % redefine the \LyX macro for PDF bookmarks
160 \def\LyX{\texorpdfstring{%
161   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
162   {LyX }}
163 \end_preamble
164 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
165 \use_default_options false
166 \language english
167 \inputencoding auto
168 \font_roman default
169 \font_sans default
170 \font_typewriter default
171 \font_default_family default
172 \font_sc false
173 \font_osf false
174 \font_sf_scale 100
175 \font_tt_scale 100
176
177 \graphics default
178 \paperfontsize 12
179 \spacing single
180 \use_hyperref true
181 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
182 \pdf_author "LyX Team, Uwe Stöhr"
183 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
184 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
185 \pdf_bookmarks true
186 \pdf_bookmarksnumbered true
187 \pdf_bookmarksopen true
188 \pdf_bookmarksopenlevel 1
189 \pdf_breaklinks false
190 \pdf_pdfborder false
191 \pdf_colorlinks true
192 \pdf_backref false
193 \pdf_pdfusetitle false
194 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
195 \papersize default
196 \use_geometry false
197 \use_amsmath 2
198 \use_esint 0
199 \cite_engine basic
200 \use_bibtopic false
201 \paperorientation portrait
202 \secnumdepth 3
203 \tocdepth 3
204 \paragraph_separation skip
205 \defskip medskip
206 \quotes_language english
207 \papercolumns 1
208 \papersides 2
209 \paperpagestyle default
210 \bullet 1 1 34 -1
211 \bullet 2 2 35 -1
212 \bullet 3 2 7 -1
213 \tracking_changes false
214 \output_changes false
215 \author "" 
216 \author "" 
217 \end_header
218
219 \begin_body
220
221 \begin_layout Title
222 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
223  manual
224 \end_layout
225
226 \begin_layout Author
227 by the LyX Team
228 \begin_inset Foot
229 status collapsed
230
231 \begin_layout Plain Layout
232 \noindent
233 If you have comments or error corrections, please send them to the LyX Documenta
234 tion mailing list: 
235 \begin_inset CommandInset href
236 LatexCommand href
237 name "lyx-docs@lists.lyx.org"
238 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
239 type "mailto:"
240
241 \end_inset
242
243
244 \end_layout
245
246 \end_inset
247
248
249 \begin_inset Note Note
250 status collapsed
251
252 \begin_layout Plain Layout
253 author: Uwe Stöhr
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Newline newline
260 \end_inset
261
262
263 \begin_inset Newline newline
264 \end_inset
265
266
267 \family sans
268 Version 2.0svn
269 \end_layout
270
271 \begin_layout Standard
272 \begin_inset CommandInset toc
273 LatexCommand tableofcontents
274
275 \end_inset
276
277
278 \end_layout
279
280 \begin_layout Standard
281 \begin_inset Note Note
282 status open
283
284 \begin_layout Plain Layout
285 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
286  
287 \series bold
288 arydshln
289 \series default
290
291 \series bold
292 colortbl
293 \series default
294
295 \series bold
296 marginnote
297 \series default
298 , and 
299 \series bold
300 sidecap
301 \series default
302  must be installed.
303  If they are not installed you can export the document anyway but the sections
304  where the packages are required won't appear in the output.
305 \end_layout
306
307 \begin_layout Plain Layout
308 The latest PDF-version of this document can be found here:
309 \begin_inset Newline newline
310 \end_inset
311
312
313 \series bold
314 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
315 \end_layout
316
317 \end_inset
318
319
320 \end_layout
321
322 \begin_layout Chapter
323 Figures
324 \begin_inset Index
325 status collapsed
326
327 \begin_layout Plain Layout
328 Figures
329 \end_layout
330
331 \end_inset
332
333
334 \begin_inset Index
335 status collapsed
336
337 \begin_layout Plain Layout
338 Graphics|see
339 \begin_inset ERT
340 status collapsed
341
342 \begin_layout Plain Layout
343
344 {
345 \end_layout
346
347 \end_inset
348
349 Figures
350 \begin_inset ERT
351 status collapsed
352
353 \begin_layout Plain Layout
354
355 }
356 \end_layout
357
358 \end_inset
359
360
361 \end_layout
362
363 \end_inset
364
365
366 \end_layout
367
368 \begin_layout Section
369 Graphics Dialog
370 \begin_inset Index
371 status collapsed
372
373 \begin_layout Plain Layout
374 Figures ! Graphics Dialog
375 \end_layout
376
377 \end_inset
378
379
380 \begin_inset CommandInset label
381 LatexCommand label
382 name "sec:Graphics-Dialog"
383
384 \end_inset
385
386
387 \end_layout
388
389 \begin_layout Standard
390 To insert an image into your document, place the cursor at the text position
391  you want and click on the toolbar icon 
392 \begin_inset Graphics
393         filename ../images/dialog-show-new-inset_graphics.png
394         scale 85
395         scaleBeforeRotation
396
397 \end_inset
398
399  or use the menu 
400 \family sans
401 Insert\SpecialChar \menuseparator
402 Graphics
403 \family default
404 .
405  Then a dialog will appear to choose the file to load.
406  The image will appear in the output exactly at the position where it is
407  in the text.
408 \end_layout
409
410 \begin_layout Standard
411 The graphics dialog can be called at any time by clicking on an image.
412  This dialog has three tabs:
413 \end_layout
414
415 \begin_layout Description
416
417 \family sans
418 Graphics
419 \family default
420  Here you can choose an image file and adjust its appearance in the output.
421  The available units for the image size are explained in appendix
422 \begin_inset space ~
423 \end_inset
424
425
426 \begin_inset CommandInset ref
427 LatexCommand ref
428 reference "cha:Units-available-in"
429
430 \end_inset
431
432 .
433 \begin_inset Newline newline
434 \end_inset
435
436
437 \begin_inset Index
438 status collapsed
439
440 \begin_layout Plain Layout
441 Figures ! rotated
442 \end_layout
443
444 \end_inset
445
446 You can rotate images counter-clockwise by setting a rotation angle and
447  a rotation origin.
448  The image will also be rotated inside LyX.
449 \begin_inset Newline newline
450 \end_inset
451
452
453 \begin_inset Index
454 status collapsed
455
456 \begin_layout Plain Layout
457 Figures ! scaled
458 \end_layout
459
460 \end_inset
461
462 Images can be scaled by using a percentage value or by setting the width
463  and height explicitly.
464  If you set only the width or only the height, the other size will be determined
465  automatically.
466  If you set both, then the image will be transformed to the given size,
467  possibly distorting it.
468  To prevent the image from distortion, use the option 
469 \family sans
470 Maintain aspect ratio
471 \family default
472 .
473  The image will then be scaled so that its width and height don't exceed
474  the specified dimensions.
475 \begin_inset Newline newline
476 \end_inset
477
478 Images can be opened in a program of your choice when pressing the 
479 \family sans
480 Edit
481 \family default
482  button.
483  The program can be set for every image format in the file format settings
484  in LyX's preferences.
485 \end_layout
486
487 \begin_layout Description
488
489 \family sans
490 Clipping
491 \family default
492  Alternatively to the usage of scaling units it is possible to set image
493  coordinates to adjust the height and width of the image in the output.
494  The coordinates can also be calculated automatically by pressing the button
495  
496 \family sans
497 Get
498 \begin_inset space ~
499 \end_inset
500
501 from
502 \begin_inset space ~
503 \end_inset
504
505 File
506 \family default
507 .
508  The option 
509 \family sans
510 Clip
511 \begin_inset space ~
512 \end_inset
513
514 to
515 \begin_inset space ~
516 \end_inset
517
518 bounding
519 \begin_inset space ~
520 \end_inset
521
522 box
523 \family default
524  will only print the image region within the given coordinates.
525  Normally you don't need to take care about image coordinates and can ignore
526  this tab.
527 \end_layout
528
529 \begin_layout Description
530
531 \family sans
532 LaTeX
533 \begin_inset space ~
534 \end_inset
535
536 and
537 \begin_inset space ~
538 \end_inset
539
540 LyX
541 \begin_inset space ~
542 \end_inset
543
544 options
545 \family default
546  In this tab you can modify the appearance of the image within LyX and LaTeX
547  experts can specify additional LaTeX options.
548 \begin_inset Newline newline
549 \end_inset
550
551 The option 
552 \family sans
553 Draft
554 \begin_inset space ~
555 \end_inset
556
557 mode
558 \family default
559  makes the image appear in the output only as a frame with the size of the
560  image.
561 \begin_inset Newline newline
562 \end_inset
563
564 The 
565 \family sans
566 Don't
567 \begin_inset space ~
568 \end_inset
569
570 unzip
571 \begin_inset space ~
572 \end_inset
573
574 on
575 \begin_inset space ~
576 \end_inset
577
578 export
579 \family default
580  option only affects zipped EPS-graphics, e.
581 \begin_inset space \thinspace{}
582 \end_inset
583
584 g.
585 \begin_inset space \space{}
586 \end_inset
587
588
589 \emph on
590 x.eps.gz
591 \emph default
592 .
593  When the option is used the images will not be unzipped on export, since
594  LaTeX can handle them as they are.
595 \begin_inset Newline newline
596 \end_inset
597
598 Zipped EPS-graphics are useful to save disk space when you choose PostScript
599  as output format, see appendix
600 \begin_inset space ~
601 \end_inset
602
603
604 \begin_inset CommandInset ref
605 LatexCommand ref
606 reference "sec:PostScript"
607
608 \end_inset
609
610 .
611  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
612  console:
613 \begin_inset Newline newline
614 \end_inset
615
616
617 \series bold
618 gzip x.eps
619 \series default
620
621 \begin_inset Newline newline
622 \end_inset
623
624
625 \series bold
626 zgrep %%Bounding x.eps.gz > x.eps.bb
627 \series default
628
629 \begin_inset Newline newline
630 \end_inset
631
632 The second command creates the bounding box file 
633 \begin_inset Quotes eld
634 \end_inset
635
636 x.eps.bb
637 \begin_inset Quotes erd
638 \end_inset
639
640  that is needed by LaTeX for zipped graphics.
641 \begin_inset Newline newline
642 \end_inset
643
644 The field 
645 \family sans
646 Initialize
647 \begin_inset space ~
648 \end_inset
649
650 Group
651 \begin_inset space ~
652 \end_inset
653
654 Name
655 \family default
656  allows you define or join an image settings group.
657 \begin_inset Index
658 status collapsed
659
660 \begin_layout Plain Layout
661 Figures ! Settings grouping
662 \end_layout
663
664 \end_inset
665
666  Images within such a group share their settings, so adjusting one image
667  of the group automatically also adjusts all other images of the group in
668  the same way.
669  So you can for example change the size for a bunch of images without the
670  need to manually change each of them.
671  Joining an existing group can also be done using the context menu of the
672  image by checking the name of the desired group.
673 \end_layout
674
675 \begin_layout Standard
676 \begin_inset VSpace bigskip
677 \end_inset
678
679
680 \end_layout
681
682 \begin_layout Standard
683 This is an example image in EPS format
684 \begin_inset Foot
685 status collapsed
686
687 \begin_layout Plain Layout
688 Image formats are explained in section
689 \begin_inset space ~
690 \end_inset
691
692
693 \begin_inset CommandInset ref
694 LatexCommand ref
695 reference "sec:Image-Formats"
696
697 \end_inset
698
699 .
700 \end_layout
701
702 \end_inset
703
704  within a separate, horizontally centered paragraph:
705 \end_layout
706
707 \begin_layout Standard
708 \align center
709 \begin_inset Graphics
710         filename clipart/mobius.eps
711         scale 70
712         scaleBeforeRotation
713         rotateOrigin center
714
715 \end_inset
716
717
718 \end_layout
719
720 \begin_layout Standard
721 This is the same image like the one above but in draft mode:
722 \end_layout
723
724 \begin_layout Standard
725 \align center
726 \begin_inset Graphics
727         filename clipart/mobius.eps
728         scale 70
729         draft
730         scaleBeforeRotation
731         rotateOrigin center
732
733 \end_inset
734
735
736 \end_layout
737
738 \begin_layout Standard
739 \begin_inset Newpage newpage
740 \end_inset
741
742
743 \end_layout
744
745 \begin_layout Section
746 Figure Floats
747 \begin_inset CommandInset label
748 LatexCommand label
749 name "sec:Figure-Floats"
750
751 \end_inset
752
753
754 \begin_inset Index
755 status collapsed
756
757 \begin_layout Plain Layout
758 Floats ! Figures
759 \end_layout
760
761 \end_inset
762
763
764 \begin_inset Index
765 status collapsed
766
767 \begin_layout Plain Layout
768 Figures ! Floats
769 \end_layout
770
771 \end_inset
772
773
774 \end_layout
775
776 \begin_layout Standard
777 For general explanations about floats, have a look at section
778 \begin_inset space ~
779 \end_inset
780
781
782 \begin_inset CommandInset ref
783 LatexCommand ref
784 reference "sec:FloatIntroduction"
785
786 \end_inset
787
788 .
789 \end_layout
790
791 \begin_layout Standard
792 The toolbar button 
793 \begin_inset Graphics
794         filename ../images/float-insert_figure.png
795         scale 85
796         scaleBeforeRotation
797
798 \end_inset
799
800  and the menu 
801 \family sans
802 Insert\SpecialChar \menuseparator
803 Float\SpecialChar \menuseparator
804 Figure
805 \family default
806  inserts a float with a caption that has the label 
807 \begin_inset Quotes eld
808 \end_inset
809
810 Figure
811 \begin_inset space ~
812 \end_inset
813
814 #:
815 \begin_inset Quotes erd
816 \end_inset
817
818  (# is the actual number).
819  You can insert the image above the caption, like in Figure
820 \begin_inset space ~
821 \end_inset
822
823
824 \begin_inset CommandInset ref
825 LatexCommand ref
826 reference "fig:kill-plat"
827
828 \end_inset
829
830  or below the caption, like in Figure
831 \begin_inset space ~
832 \end_inset
833
834
835 \begin_inset CommandInset ref
836 LatexCommand ref
837 reference "fig:escher"
838
839 \end_inset
840
841 .
842  More about the caption placement is described in section
843 \begin_inset space ~
844 \end_inset
845
846
847 \begin_inset CommandInset ref
848 LatexCommand ref
849 reference "sec:Caption-Placement"
850
851 \end_inset
852
853 .
854 \end_layout
855
856 \begin_layout Standard
857 \begin_inset Float figure
858 wide false
859 sideways false
860 status open
861
862 \begin_layout Plain Layout
863 \align center
864 \begin_inset Graphics
865         filename clipart/platypus.eps
866         width 50col%
867         scaleBeforeRotation
868         rotateOrigin center
869
870 \end_inset
871
872
873 \end_layout
874
875 \begin_layout Plain Layout
876 \begin_inset Caption
877
878 \begin_layout Plain Layout
879 \begin_inset CommandInset label
880 LatexCommand label
881 name "fig:kill-plat"
882
883 \end_inset
884
885 A severely distorted platypus in a float.
886 \end_layout
887
888 \end_inset
889
890
891 \end_layout
892
893 \end_inset
894
895
896 \end_layout
897
898 \begin_layout Standard
899 \begin_inset Float figure
900 wide false
901 sideways false
902 status open
903
904 \begin_layout Plain Layout
905 \begin_inset Caption
906
907 \begin_layout Plain Layout
908 \begin_inset CommandInset label
909 LatexCommand label
910 name "fig:escher"
911
912 \end_inset
913
914 M.C.
915  Escher on acid.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \begin_layout Plain Layout
924 \align center
925 \begin_inset Graphics
926         filename clipart/escher-lsd.eps
927         scale 80
928         scaleBeforeRotation
929         rotateOrigin center
930
931 \end_inset
932
933
934 \end_layout
935
936 \end_inset
937
938
939 \end_layout
940
941 \begin_layout Standard
942 \begin_inset Index
943 status collapsed
944
945 \begin_layout Plain Layout
946 References ! to Figures
947 \end_layout
948
949 \end_inset
950
951 Figure
952 \begin_inset space ~
953 \end_inset
954
955
956 \begin_inset CommandInset ref
957 LatexCommand ref
958 reference "fig:kill-plat"
959
960 \end_inset
961
962  and 
963 \begin_inset CommandInset ref
964 LatexCommand ref
965 reference "fig:escher"
966
967 \end_inset
968
969  are examples of referenced figures.
970  Figures can be referenced in the text by referencing their label.
971  To do this insert a label in the caption using the menu 
972 \family sans
973 Insert\SpecialChar \menuseparator
974 Label
975 \family default
976  or the toolbar button 
977 \begin_inset Graphics
978         filename ../images/label-insert.png
979         scale 85
980         scaleBeforeRotation
981
982 \end_inset
983
984 .
985  You can now refer to the label using the menu 
986 \family sans
987 Insert\SpecialChar \menuseparator
988 Cross
989 \begin_inset space ~
990 \end_inset
991
992 reference
993 \family default
994  or the toolbar button 
995 \begin_inset Graphics
996         filename ../images/dialog-show-new-inset_ref.png
997         scale 85
998         scaleBeforeRotation
999
1000 \end_inset
1001
1002 .
1003  It is important to use references to floats, rather than using vague references
1004  like 
1005 \begin_inset Quotes eld
1006 \end_inset
1007
1008 the figure above
1009 \begin_inset Quotes erd
1010 \end_inset
1011
1012 , because as LaTeX will reposition the floats in the final document, it
1013  might not be 
1014 \begin_inset Quotes eld
1015 \end_inset
1016
1017 above
1018 \begin_inset Quotes erd
1019 \end_inset
1020
1021  at all.
1022 \begin_inset Newline newline
1023 \end_inset
1024
1025 Referencing is explained in detail in section
1026 \begin_inset space ~
1027 \end_inset
1028
1029
1030 \begin_inset CommandInset ref
1031 LatexCommand ref
1032 reference "sec:Referencing-Floats"
1033
1034 \end_inset
1035
1036 .
1037 \end_layout
1038
1039 \begin_layout Standard
1040 Normally only one image is inserted to a figure float, but sometimes you
1041  might want to use two images with separate subcaptions.
1042  This can be done by inserting image floats into existing image floats.
1043  Note that only the main caption of the float is added to the List of Figures.
1044  Figure
1045 \begin_inset space ~
1046 \end_inset
1047
1048
1049 \begin_inset CommandInset ref
1050 LatexCommand ref
1051 reference "fig:Two-distorted-images"
1052
1053 \end_inset
1054
1055  is an example of a figure float with two images set side by side.
1056  You can also set the images one below the other.
1057  Figure
1058 \begin_inset space ~
1059 \end_inset
1060
1061
1062 \begin_inset CommandInset ref
1063 LatexCommand ref
1064 reference "fig:Undefinable-structure"
1065
1066 \end_inset
1067
1068  and 
1069 \begin_inset CommandInset ref
1070 LatexCommand ref
1071 reference "fig:A-Platypus"
1072
1073 \end_inset
1074
1075  are the subfigures.
1076 \end_layout
1077
1078 \begin_layout Standard
1079 \begin_inset Float figure
1080 wide false
1081 sideways false
1082 status open
1083
1084 \begin_layout Plain Layout
1085 \begin_inset space \hfill{}
1086 \end_inset
1087
1088
1089 \begin_inset Float figure
1090 wide false
1091 sideways false
1092 status collapsed
1093
1094 \begin_layout Plain Layout
1095 \begin_inset Caption
1096
1097 \begin_layout Plain Layout
1098 \begin_inset CommandInset label
1099 LatexCommand label
1100 name "fig:Undefinable-structure"
1101
1102 \end_inset
1103
1104 Undefinable structure.
1105 \end_layout
1106
1107 \end_inset
1108
1109
1110 \end_layout
1111
1112 \begin_layout Plain Layout
1113 \begin_inset Graphics
1114         filename clipart/escher-lsd.eps
1115         width 45col%
1116         scaleBeforeRotation
1117         groupId distorted
1118
1119 \end_inset
1120
1121
1122 \end_layout
1123
1124 \end_inset
1125
1126
1127 \begin_inset space \hfill{}
1128 \end_inset
1129
1130
1131 \begin_inset Float figure
1132 wide false
1133 sideways false
1134 status collapsed
1135
1136 \begin_layout Plain Layout
1137 \begin_inset Caption
1138
1139 \begin_layout Plain Layout
1140 \begin_inset CommandInset label
1141 LatexCommand label
1142 name "fig:A-Platypus"
1143
1144 \end_inset
1145
1146 A Platypus.
1147 \end_layout
1148
1149 \end_inset
1150
1151
1152 \end_layout
1153
1154 \begin_layout Plain Layout
1155 \begin_inset Graphics
1156         filename clipart/platypus.eps
1157         width 45col%
1158         scaleBeforeRotation
1159         groupId distorted
1160
1161 \end_inset
1162
1163
1164 \end_layout
1165
1166 \end_inset
1167
1168
1169 \begin_inset space \hfill{}
1170 \end_inset
1171
1172
1173 \end_layout
1174
1175 \begin_layout Plain Layout
1176 \begin_inset Caption
1177
1178 \begin_layout Plain Layout
1179 \begin_inset CommandInset label
1180 LatexCommand label
1181 name "fig:Two-distorted-images"
1182
1183 \end_inset
1184
1185 Two distorted images.
1186  Both images are in the image settings group named 
1187 \begin_inset Quotes eld
1188 \end_inset
1189
1190 distorted
1191 \begin_inset Quotes erd
1192 \end_inset
1193
1194 .
1195 \end_layout
1196
1197 \end_inset
1198
1199
1200 \end_layout
1201
1202 \end_inset
1203
1204
1205 \end_layout
1206
1207 \begin_layout Standard
1208 \begin_inset Newpage newpage
1209 \end_inset
1210
1211
1212 \end_layout
1213
1214 \begin_layout Section
1215 Image Formats
1216 \begin_inset CommandInset label
1217 LatexCommand label
1218 name "sec:Image-Formats"
1219
1220 \end_inset
1221
1222
1223 \begin_inset Index
1224 status collapsed
1225
1226 \begin_layout Plain Layout
1227 Image Formats
1228 \end_layout
1229
1230 \end_inset
1231
1232
1233 \begin_inset Index
1234 status collapsed
1235
1236 \begin_layout Plain Layout
1237 Figures ! Image Formats
1238 \end_layout
1239
1240 \end_inset
1241
1242
1243 \end_layout
1244
1245 \begin_layout Standard
1246 You can insert images in any known file format.
1247  But as explained in appendix
1248 \begin_inset space ~
1249 \end_inset
1250
1251
1252 \begin_inset CommandInset ref
1253 LatexCommand ref
1254 reference "cha:Output-File-Formats"
1255
1256 \end_inset
1257
1258 , every output document format allows only a few image formats.
1259  LyX uses therefore the program 
1260 \family typewriter
1261 Imagemagick
1262 \family default
1263  in the background to convert the images to the right format.
1264  To increase your work flow by avoiding these conversions in the background,
1265  you can use only the image formats that can directly be embedded in the
1266  output file format.
1267  The output file formats are explained in appendix
1268 \begin_inset space ~
1269 \end_inset
1270
1271
1272 \begin_inset CommandInset ref
1273 LatexCommand ref
1274 reference "cha:Output-File-Formats"
1275
1276 \end_inset
1277
1278 .
1279 \end_layout
1280
1281 \begin_layout Standard
1282 Similar to fonts there are two types of image formats:
1283 \end_layout
1284
1285 \begin_layout Description
1286 Bitmap
1287 \begin_inset space ~
1288 \end_inset
1289
1290 images consist of pixel values, often in a compressed form.
1291  They are therefore not fully scalable and look pixeled in large zooms.
1292  Well-known bitmap image formats are 
1293 \begin_inset Quotes eld
1294 \end_inset
1295
1296 Graphics Interchange Format
1297 \begin_inset Quotes erd
1298 \end_inset
1299
1300  (GIF, file extension 
1301 \begin_inset Quotes eld
1302 \end_inset
1303
1304
1305 \family typewriter
1306 .gif
1307 \family default
1308
1309 \begin_inset Quotes erd
1310 \end_inset
1311
1312 )
1313 \begin_inset Index
1314 status collapsed
1315
1316 \begin_layout Plain Layout
1317 GIF|see
1318 \begin_inset ERT
1319 status collapsed
1320
1321 \begin_layout Plain Layout
1322
1323 {
1324 \end_layout
1325
1326 \end_inset
1327
1328 Image formats
1329 \begin_inset ERT
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333
1334 }
1335 \end_layout
1336
1337 \end_inset
1338
1339
1340 \end_layout
1341
1342 \end_inset
1343
1344
1345 \begin_inset Quotes eld
1346 \end_inset
1347
1348 Portable Network Graphics
1349 \begin_inset Quotes erd
1350 \end_inset
1351
1352  (PNG, file extension 
1353 \begin_inset Quotes eld
1354 \end_inset
1355
1356
1357 \family typewriter
1358 .png
1359 \family default
1360
1361 \begin_inset Quotes erd
1362 \end_inset
1363
1364 )
1365 \begin_inset Index
1366 status collapsed
1367
1368 \begin_layout Plain Layout
1369 PNG|see
1370 \begin_inset ERT
1371 status collapsed
1372
1373 \begin_layout Plain Layout
1374
1375 {
1376 \end_layout
1377
1378 \end_inset
1379
1380 Image formats
1381 \begin_inset ERT
1382 status collapsed
1383
1384 \begin_layout Plain Layout
1385
1386 }
1387 \end_layout
1388
1389 \end_inset
1390
1391
1392 \end_layout
1393
1394 \end_inset
1395
1396 , and 
1397 \begin_inset Quotes eld
1398 \end_inset
1399
1400 Joint Photographic Experts Group
1401 \begin_inset Quotes erd
1402 \end_inset
1403
1404  (JPG, file extension 
1405 \begin_inset Quotes eld
1406 \end_inset
1407
1408
1409 \family typewriter
1410 .jpg
1411 \family default
1412
1413 \begin_inset Quotes erd
1414 \end_inset
1415
1416  or 
1417 \begin_inset Quotes eld
1418 \end_inset
1419
1420
1421 \family typewriter
1422 .jpeg
1423 \family default
1424
1425 \begin_inset Quotes erd
1426 \end_inset
1427
1428 )
1429 \begin_inset Index
1430 status collapsed
1431
1432 \begin_layout Plain Layout
1433 JPG|see
1434 \begin_inset ERT
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438
1439 {
1440 \end_layout
1441
1442 \end_inset
1443
1444 Image formats
1445 \begin_inset ERT
1446 status collapsed
1447
1448 \begin_layout Plain Layout
1449
1450 }
1451 \end_layout
1452
1453 \end_inset
1454
1455
1456 \end_layout
1457
1458 \end_inset
1459
1460 .
1461 \end_layout
1462
1463 \begin_layout Description
1464 Vector
1465 \begin_inset space ~
1466 \end_inset
1467
1468 images consist of vectors and can therefore be scaled to any size without
1469  data loss.
1470  The scaling ability is necessary if you want to create presentations, because
1471  presentations are always scaled by the video projector.
1472  Scaling is also useful for online documents to let the user zoom into diagrams.
1473 \begin_inset Newline newline
1474 \end_inset
1475
1476 Well-known scalable image formats are 
1477 \begin_inset Quotes eld
1478 \end_inset
1479
1480 Scalable Vector Graphics
1481 \begin_inset Quotes erd
1482 \end_inset
1483
1484  (SVG, file extension 
1485 \begin_inset Quotes eld
1486 \end_inset
1487
1488
1489 \family typewriter
1490 .svg
1491 \family default
1492
1493 \begin_inset Quotes erd
1494 \end_inset
1495
1496 )
1497 \begin_inset Index
1498 status collapsed
1499
1500 \begin_layout Plain Layout
1501 SVG|see
1502 \begin_inset ERT
1503 status collapsed
1504
1505 \begin_layout Plain Layout
1506
1507 {
1508 \end_layout
1509
1510 \end_inset
1511
1512 Image formats
1513 \begin_inset ERT
1514 status collapsed
1515
1516 \begin_layout Plain Layout
1517
1518 }
1519 \end_layout
1520
1521 \end_inset
1522
1523
1524 \end_layout
1525
1526 \end_inset
1527
1528
1529 \begin_inset Quotes eld
1530 \end_inset
1531
1532 Encapsulated PostScript
1533 \begin_inset Quotes erd
1534 \end_inset
1535
1536  (EPS, file extension 
1537 \begin_inset Quotes eld
1538 \end_inset
1539
1540
1541 \family typewriter
1542 .eps
1543 \family default
1544
1545 \begin_inset Quotes erd
1546 \end_inset
1547
1548 )
1549 \begin_inset Index
1550 status collapsed
1551
1552 \begin_layout Plain Layout
1553 EPS|see
1554 \begin_inset ERT
1555 status collapsed
1556
1557 \begin_layout Plain Layout
1558
1559 {
1560 \end_layout
1561
1562 \end_inset
1563
1564 Image formats
1565 \begin_inset ERT
1566 status collapsed
1567
1568 \begin_layout Plain Layout
1569
1570 }
1571 \end_layout
1572
1573 \end_inset
1574
1575
1576 \end_layout
1577
1578 \end_inset
1579
1580
1581 \begin_inset Quotes eld
1582 \end_inset
1583
1584 Portable Document Format
1585 \begin_inset Quotes erd
1586 \end_inset
1587
1588  (PDF, file extension 
1589 \begin_inset Quotes eld
1590 \end_inset
1591
1592
1593 \family typewriter
1594 .pdf
1595 \family default
1596
1597 \begin_inset Quotes erd
1598 \end_inset
1599
1600 )
1601 \begin_inset Index
1602 status collapsed
1603
1604 \begin_layout Plain Layout
1605 PDF
1606 \end_layout
1607
1608 \end_inset
1609
1610 , and 
1611 \begin_inset Quotes eld
1612 \end_inset
1613
1614 Windows Metafile
1615 \begin_inset Quotes erd
1616 \end_inset
1617
1618  (WMF, file extension 
1619 \begin_inset Quotes eld
1620 \end_inset
1621
1622
1623 \family typewriter
1624 .wmf
1625 \family default
1626
1627 \begin_inset Quotes erd
1628 \end_inset
1629
1630 )
1631 \begin_inset Index
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635 SVG|see
1636 \begin_inset ERT
1637 status collapsed
1638
1639 \begin_layout Plain Layout
1640
1641 {
1642 \end_layout
1643
1644 \end_inset
1645
1646 Image formats
1647 \begin_inset ERT
1648 status collapsed
1649
1650 \begin_layout Plain Layout
1651
1652 }
1653 \end_layout
1654
1655 \end_inset
1656
1657
1658 \end_layout
1659
1660 \end_inset
1661
1662 .
1663  We wrote 
1664 \begin_inset Quotes eld
1665 \end_inset
1666
1667 can be
1668 \begin_inset Quotes erd
1669 \end_inset
1670
1671 , because you can convert any bitmap image to a PDF or EPS-image and the
1672  result will still be a bitmap image.
1673  In this cases only a header with the image properties is added to the original
1674  image
1675 \begin_inset Foot
1676 status open
1677
1678 \begin_layout Plain Layout
1679 In the case of PDF, the original image is additionally compressed.
1680 \end_layout
1681
1682 \end_inset
1683
1684 .
1685  The PDF-files generated by 
1686 \family typewriter
1687 Adobe Photoshop
1688 \family default
1689  are for example bitmap images.
1690 \end_layout
1691
1692 \begin_layout Standard
1693 Normally it is not possible to convert a bitmap image into a scalable one,
1694  only vice versa.
1695  Only the image formats PDF and EPS can directly be embedded to PDF and
1696  PostScript output files, respectively.
1697  SVG and WMF-images are recalculated to bitmaps when the output file is
1698  generated because there is currently no adequate WMF/SVG
1699 \begin_inset Formula $\to$
1700 \end_inset
1701
1702 PDF/EPS converter available.
1703 \end_layout
1704
1705 \begin_layout Chapter
1706 Tables
1707 \begin_inset Index
1708 status collapsed
1709
1710 \begin_layout Plain Layout
1711 Table
1712 \end_layout
1713
1714 \end_inset
1715
1716
1717 \end_layout
1718
1719 \begin_layout Section
1720 Introduction
1721 \begin_inset Index
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 Table ! Introduction
1726 \end_layout
1727
1728 \end_inset
1729
1730
1731 \end_layout
1732
1733 \begin_layout Standard
1734 You can insert a table using either the toolbar button 
1735 \begin_inset Graphics
1736         filename ../images/tabular-insert.png
1737         scale 85
1738         scaleBeforeRotation
1739
1740 \end_inset
1741
1742  or the menu 
1743 \family sans
1744 Insert\SpecialChar \menuseparator
1745 Table
1746 \family default
1747 .
1748  The toolbar button offers you a graphical selection: Move the mouse to
1749  set the column/row number of the table that should be created and then
1750  press a mouse button.
1751  When you use the menu to create a table, a dialog will appear, asking you
1752  for the number of rows and columns.
1753 \begin_inset Newline newline
1754 \end_inset
1755
1756  The default table has lines around any cell and the first row appears separated
1757  from the rest of the table.
1758  This separation occurs due to a double line: The cells of the first row
1759  have a line below them and the cells of the second row have a line above
1760  them.
1761  Here is an example table:
1762 \end_layout
1763
1764 \begin_layout Standard
1765 \align center
1766 \begin_inset Tabular
1767 <lyxtabular version="3" rows="4" columns="4">
1768 <features>
1769 <column alignment="center" valignment="top" width="0">
1770 <column alignment="center" valignment="top" width="0">
1771 <column alignment="center" valignment="top" width="0">
1772 <column alignment="center" valignment="top" width="0">
1773 <row>
1774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1775 \begin_inset Text
1776
1777 \begin_layout Plain Layout
1778
1779 \end_layout
1780
1781 \end_inset
1782 </cell>
1783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1784 \begin_inset Text
1785
1786 \begin_layout Plain Layout
1787
1788 \family roman
1789 \series medium
1790 \shape up
1791 \size normal
1792 \emph off
1793 \bar no
1794 \noun off
1795 \color none
1796 1
1797 \end_layout
1798
1799 \end_inset
1800 </cell>
1801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1802 \begin_inset Text
1803
1804 \begin_layout Plain Layout
1805 2
1806 \end_layout
1807
1808 \end_inset
1809 </cell>
1810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1811 \begin_inset Text
1812
1813 \begin_layout Plain Layout
1814 3
1815 \end_layout
1816
1817 \end_inset
1818 </cell>
1819 </row>
1820 <row>
1821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1822 \begin_inset Text
1823
1824 \begin_layout Plain Layout
1825
1826 \family roman
1827 \series medium
1828 \shape up
1829 \size normal
1830 \emph off
1831 \bar no
1832 \noun off
1833 \color none
1834 A
1835 \end_layout
1836
1837 \end_inset
1838 </cell>
1839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1840 \begin_inset Text
1841
1842 \begin_layout Plain Layout
1843
1844 \end_layout
1845
1846 \end_inset
1847 </cell>
1848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1849 \begin_inset Text
1850
1851 \begin_layout Plain Layout
1852
1853 \end_layout
1854
1855 \end_inset
1856 </cell>
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1858 \begin_inset Text
1859
1860 \begin_layout Plain Layout
1861
1862 \end_layout
1863
1864 \end_inset
1865 </cell>
1866 </row>
1867 <row>
1868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1869 \begin_inset Text
1870
1871 \begin_layout Plain Layout
1872
1873 \family roman
1874 \series medium
1875 \shape up
1876 \size normal
1877 \emph off
1878 \bar no
1879 \noun off
1880 \color none
1881 B
1882 \end_layout
1883
1884 \end_inset
1885 </cell>
1886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1887 \begin_inset Text
1888
1889 \begin_layout Plain Layout
1890
1891 \end_layout
1892
1893 \end_inset
1894 </cell>
1895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1896 \begin_inset Text
1897
1898 \begin_layout Plain Layout
1899
1900 \end_layout
1901
1902 \end_inset
1903 </cell>
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1905 \begin_inset Text
1906
1907 \begin_layout Plain Layout
1908
1909 \end_layout
1910
1911 \end_inset
1912 </cell>
1913 </row>
1914 <row>
1915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1916 \begin_inset Text
1917
1918 \begin_layout Plain Layout
1919
1920 \family roman
1921 \series medium
1922 \shape up
1923 \size normal
1924 \emph off
1925 \bar no
1926 \noun off
1927 \color none
1928 C
1929 \end_layout
1930
1931 \end_inset
1932 </cell>
1933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1934 \begin_inset Text
1935
1936 \begin_layout Plain Layout
1937
1938 \end_layout
1939
1940 \end_inset
1941 </cell>
1942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1943 \begin_inset Text
1944
1945 \begin_layout Plain Layout
1946
1947 \end_layout
1948
1949 \end_inset
1950 </cell>
1951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1952 \begin_inset Text
1953
1954 \begin_layout Plain Layout
1955
1956 \end_layout
1957
1958 \end_inset
1959 </cell>
1960 </row>
1961 </lyxtabular>
1962
1963 \end_inset
1964
1965
1966 \end_layout
1967
1968 \begin_layout Section
1969 Table Dialog
1970 \begin_inset Index
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 Table ! Dialog
1975 \end_layout
1976
1977 \end_inset
1978
1979
1980 \end_layout
1981
1982 \begin_layout Standard
1983 You can alter a table by clicking on it with the right mouse button, which
1984  brings up the table dialog.
1985  Here you can adjust the settings of that cell and row/column respectively
1986  where the cursor is currently placed.
1987  Most of the dialog options also work on selections.
1988  This means if you select more cells, columns or rows, the action is done
1989  for the whole selection.
1990  Note that there is a difference between selecting the 
1991 \emph on
1992 contents
1993 \emph default
1994  of the cell, and the cell itself.
1995  You can alter tables with the following tabs of the table dialog:
1996 \end_layout
1997
1998 \begin_layout Description
1999
2000 \family sans
2001 Table
2002 \begin_inset space ~
2003 \end_inset
2004
2005 Settings
2006 \family default
2007  Here you can set the horizontal alignment and the width of the current
2008  column.
2009  When you have set a width you can also adjust the vertical alignment of
2010  the current row.
2011  A given width will allow the cell to have line breaks and multiple paragraphs
2012  of text, see section
2013 \begin_inset space ~
2014 \end_inset
2015
2016
2017 \begin_inset CommandInset ref
2018 LatexCommand ref
2019 reference "sub:Multiple-Lines-in"
2020
2021 \end_inset
2022
2023 .
2024  If you set no width, the column is as wide as their widest cell content
2025  is.
2026 \begin_inset Newline newline
2027 \end_inset
2028
2029 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2030  cell, see section
2031 \begin_inset space ~
2032 \end_inset
2033
2034
2035 \begin_inset CommandInset ref
2036 LatexCommand ref
2037 reference "sub:Multicolumns"
2038
2039 \end_inset
2040
2041 .
2042 \begin_inset Newline newline
2043 \end_inset
2044
2045 The rotate check boxes rotates the current cell, a selection, or the whole
2046  table counter-clockwise by 90°.
2047  The rotation is not shown within LyX, only in the output.
2048 \begin_inset Newline newline
2049 \end_inset
2050
2051
2052 \begin_inset Note Greyedout
2053 status open
2054
2055 \begin_layout Plain Layout
2056
2057 \series bold
2058 Note:
2059 \series default
2060  Not all DVI-viewers are able to display rotations.
2061 \end_layout
2062
2063 \end_inset
2064
2065
2066 \begin_inset Newline newline
2067 \end_inset
2068
2069 It is also possible to enter a LaTeX-argument which is needed for special
2070  table formattings, see section
2071 \begin_inset space ~
2072 \end_inset
2073
2074
2075 \begin_inset CommandInset ref
2076 LatexCommand ref
2077 reference "sub:Multicolumn-Calculations"
2078
2079 \end_inset
2080
2081  and 
2082 \begin_inset CommandInset ref
2083 LatexCommand ref
2084 reference "sec:Colored-Tables"
2085
2086 \end_inset
2087
2088 .
2089 \end_layout
2090
2091 \begin_layout Description
2092
2093 \family sans
2094 Borders
2095 \family default
2096  In this tab you can add and delete border lines for the current row/column.
2097 \begin_inset Newline newline
2098 \end_inset
2099
2100 Using the style option 
2101 \family sans
2102 Formal
2103 \family default
2104  will convert the table to a formal table as described in section
2105 \begin_inset space ~
2106 \end_inset
2107
2108
2109 \begin_inset CommandInset ref
2110 LatexCommand ref
2111 reference "sec:Formal-Tables"
2112
2113 \end_inset
2114
2115 .
2116 \begin_inset Newline newline
2117 \end_inset
2118
2119 You can also add here space to table rows as decribed in section
2120 \begin_inset space ~
2121 \end_inset
2122
2123
2124 \begin_inset CommandInset ref
2125 LatexCommand ref
2126 reference "sub:Row-Spacing"
2127
2128 \end_inset
2129
2130 .
2131 \end_layout
2132
2133 \begin_layout Description
2134
2135 \family sans
2136 Longtable
2137 \family default
2138  This tab is to make a table a so called 
2139 \begin_inset Quotes eld
2140 \end_inset
2141
2142
2143 \emph on
2144 longtable
2145 \emph default
2146
2147 \begin_inset Quotes erd
2148 \end_inset
2149
2150  that can run over several pages.
2151  Section
2152 \begin_inset space ~
2153 \end_inset
2154
2155
2156 \begin_inset CommandInset ref
2157 LatexCommand ref
2158 reference "sec:Longtables"
2159
2160 \end_inset
2161
2162  and 
2163 \begin_inset CommandInset ref
2164 LatexCommand ref
2165 reference "sec:Special-Longtable-Issues"
2166
2167 \end_inset
2168
2169  describe the longtable features in detail.
2170 \end_layout
2171
2172 \begin_layout Standard
2173 When the table toolbar is opened, you can move the cursor with the arrow
2174  keys from cell to cell and the property of the current cell will immediately
2175  be displayed in the dialog.
2176 \end_layout
2177
2178 \begin_layout Section
2179 Table Toolbar
2180 \begin_inset Index
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 Table ! Toolbar
2185 \end_layout
2186
2187 \end_inset
2188
2189
2190 \end_layout
2191
2192 \begin_layout Standard
2193 The table toolbar is an alternative to the table dialog to be able to alter
2194  tables faster.
2195  It should normally appear at the bottom of LyX's main window when the cursor
2196  is inside a table.
2197  You can alternatively switch it on to appear always, by right-clicking
2198  in LyX's main menu bar.
2199 \end_layout
2200
2201 \begin_layout Standard
2202 The toolbar has the following icons:
2203 \end_layout
2204
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207 \begin_inset Graphics
2208         filename ../images/tabular-feature_append-row.png
2209         scaleBeforeRotation
2210
2211 \end_inset
2212
2213  adds a row below the current cell or selection
2214 \end_layout
2215
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2218 \begin_inset Graphics
2219         filename ../images/tabular-feature_append-column.png
2220         scaleBeforeRotation
2221
2222 \end_inset
2223
2224  adds a column right beside the current cell or selection
2225 \end_layout
2226
2227 \begin_layout Labeling
2228 \labelwidthstring 00.00.0000
2229 \begin_inset Graphics
2230         filename ../images/tabular-feature_delete-row.png
2231         scaleBeforeRotation
2232
2233 \end_inset
2234
2235  deletes the current row or selection
2236 \end_layout
2237
2238 \begin_layout Labeling
2239 \labelwidthstring 00.00.0000
2240 \begin_inset Graphics
2241         filename ../images/tabular-feature_delete-column.png
2242         scaleBeforeRotation
2243
2244 \end_inset
2245
2246  deletes the current column or selection
2247 \end_layout
2248
2249 \begin_layout Labeling
2250 \labelwidthstring 00.00.0000
2251 \begin_inset Graphics
2252         filename ../images/tabular-feature_toggle-line-top.png
2253         scaleBeforeRotation
2254
2255 \end_inset
2256
2257  adds a line at the top of the current cell / row or of a selection
2258 \end_layout
2259
2260 \begin_layout Labeling
2261 \labelwidthstring 00.00.0000
2262 \begin_inset Graphics
2263         filename ../images/tabular-feature_toggle-line-bottom.png
2264         scaleBeforeRotation
2265
2266 \end_inset
2267
2268  adds a line at the bottom of the current cell / row or of a selection
2269 \end_layout
2270
2271 \begin_layout Labeling
2272 \labelwidthstring 00.00.0000
2273 \begin_inset Graphics
2274         filename ../images/tabular-feature_toggle-line-left.png
2275         scaleBeforeRotation
2276
2277 \end_inset
2278
2279  adds a line at the left side of the current cell / row or of a selection
2280 \end_layout
2281
2282 \begin_layout Labeling
2283 \labelwidthstring 00.00.0000
2284 \begin_inset Graphics
2285         filename ../images/tabular-feature_toggle-line-right.png
2286         scaleBeforeRotation
2287
2288 \end_inset
2289
2290  adds a line at the right side of the current cell / row or of a selection
2291 \end_layout
2292
2293 \begin_layout Labeling
2294 \labelwidthstring 00.00.0000
2295 \begin_inset Graphics
2296         filename ../images/tabular-feature_set-all-lines.png
2297         scaleBeforeRotation
2298
2299 \end_inset
2300
2301  adds lines around the current or selected cells - if the current cell no
2302  multicolumn this also affects the current row and column
2303 \end_layout
2304
2305 \begin_layout Labeling
2306 \labelwidthstring 00.00.0000
2307 \begin_inset Graphics
2308         filename ../images/tabular-feature_unset-all-lines.png
2309         scaleBeforeRotation
2310
2311 \end_inset
2312
2313  deletes all lines of the current or selected cells - if the current cell
2314  no multicolumn this also affects the current row and column
2315 \end_layout
2316
2317 \begin_layout Labeling
2318 \labelwidthstring 00.00.0000
2319 \begin_inset Graphics
2320         filename ../images/tabular-feature_align-left.png
2321         scaleBeforeRotation
2322
2323 \end_inset
2324
2325  left-aligns the content of the current cell / column
2326 \end_layout
2327
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Graphics
2331         filename ../images/tabular-feature_align-center.png
2332         scaleBeforeRotation
2333
2334 \end_inset
2335
2336  centers the content of the current cell / column horizontally
2337 \end_layout
2338
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Graphics
2342         filename ../images/tabular-feature_align-right.png
2343         scaleBeforeRotation
2344
2345 \end_inset
2346
2347  right-aligns the content of the current cell / column
2348 \end_layout
2349
2350 \begin_layout Labeling
2351 \labelwidthstring 00.00.0000
2352 \begin_inset Graphics
2353         filename ../images/tabular-feature_valign-top.png
2354         scaleBeforeRotation
2355
2356 \end_inset
2357
2358  aligns the content of the current cell vertically to the top
2359 \end_layout
2360
2361 \begin_layout Labeling
2362 \labelwidthstring 00.00.0000
2363 \begin_inset Graphics
2364         filename ../images/tabular-feature_valign-middle.png
2365         scaleBeforeRotation
2366
2367 \end_inset
2368
2369  centers the content of the current cell vertically
2370 \end_layout
2371
2372 \begin_layout Labeling
2373 \labelwidthstring 00.00.0000
2374 \begin_inset Graphics
2375         filename ../images/tabular-feature_valign-bottom.png
2376         scaleBeforeRotation
2377
2378 \end_inset
2379
2380  aligns the content of the current cell vertically to the bottom
2381 \end_layout
2382
2383 \begin_layout Labeling
2384 \labelwidthstring 00.00.0000
2385 \begin_inset Graphics
2386         filename ../images/tabular-feature_set-rotate-cell.png
2387         scaleBeforeRotation
2388
2389 \end_inset
2390
2391  rotates the current cell or selection counter-clockwise by 90°
2392 \end_layout
2393
2394 \begin_layout Labeling
2395 \labelwidthstring 00.00.0000
2396 \begin_inset Graphics
2397         filename ../images/tabular-feature_set-rotate-tabular.png
2398         scaleBeforeRotation
2399
2400 \end_inset
2401
2402  rotates the whole table counter-clockwise by 90°
2403 \end_layout
2404
2405 \begin_layout Labeling
2406 \labelwidthstring 00.00.0000
2407 \begin_inset Graphics
2408         filename ../images/tabular-feature_multicolumn.png
2409         scaleBeforeRotation
2410
2411 \end_inset
2412
2413  sets the current cell or selection as a multicolumn
2414 \end_layout
2415
2416 \begin_layout Standard
2417 \begin_inset Note Greyedout
2418 status open
2419
2420 \begin_layout Plain Layout
2421
2422 \series bold
2423 Note:
2424 \series default
2425  For the output the vertical alignment of the first cell in a row is used
2426  for all following cells in the row.
2427 \end_layout
2428
2429 \end_inset
2430
2431
2432 \end_layout
2433
2434 \begin_layout Section
2435 Edit Table Menu
2436 \begin_inset Index
2437 status collapsed
2438
2439 \begin_layout Plain Layout
2440 Table ! Edit Menu
2441 \end_layout
2442
2443 \end_inset
2444
2445
2446 \end_layout
2447
2448 \begin_layout Standard
2449 Additionally to the table dialog and toolbar, the menu 
2450 \family sans
2451 Edit\SpecialChar \menuseparator
2452 Table
2453 \family default
2454  allows you to add and delete border lines for the current row/column and
2455  to set the current selection as multicolumn.
2456  The menu is only available when the cursor is inside a table.
2457 \end_layout
2458
2459 \begin_layout Section
2460 Table Floats
2461 \begin_inset CommandInset label
2462 LatexCommand label
2463 name "sec:Table-Floats"
2464
2465 \end_inset
2466
2467
2468 \begin_inset Index
2469 status collapsed
2470
2471 \begin_layout Plain Layout
2472 Floats ! Tables
2473 \end_layout
2474
2475 \end_inset
2476
2477
2478 \begin_inset Index
2479 status collapsed
2480
2481 \begin_layout Plain Layout
2482 Table ! Floats
2483 \end_layout
2484
2485 \end_inset
2486
2487
2488 \end_layout
2489
2490 \begin_layout Standard
2491 For general explanations about floats, have a look at section
2492 \begin_inset space ~
2493 \end_inset
2494
2495
2496 \begin_inset CommandInset ref
2497 LatexCommand ref
2498 reference "sec:FloatIntroduction"
2499
2500 \end_inset
2501
2502 .
2503 \end_layout
2504
2505 \begin_layout Standard
2506 \begin_inset Float table
2507 placement h
2508 wide false
2509 sideways false
2510 status open
2511
2512 \begin_layout Plain Layout
2513 \begin_inset Caption
2514
2515 \begin_layout Plain Layout
2516 \begin_inset CommandInset label
2517 LatexCommand label
2518 name "tab:a table float"
2519
2520 \end_inset
2521
2522 A table float.
2523 \end_layout
2524
2525 \end_inset
2526
2527
2528 \end_layout
2529
2530 \begin_layout Plain Layout
2531 \align center
2532 \begin_inset Tabular
2533 <lyxtabular version="3" rows="3" columns="3">
2534 <features>
2535 <column alignment="center" valignment="top" width="0pt">
2536 <column alignment="center" valignment="top" width="0pt">
2537 <column alignment="center" valignment="top" width="0pt">
2538 <row>
2539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2540 \begin_inset Text
2541
2542 \begin_layout Plain Layout
2543
2544 \family roman
2545 \series medium
2546 \shape up
2547 \size normal
2548 \emph off
2549 \bar no
2550 \noun off
2551 \color none
2552 1
2553 \end_layout
2554
2555 \end_inset
2556 </cell>
2557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2558 \begin_inset Text
2559
2560 \begin_layout Plain Layout
2561
2562 \family roman
2563 \series medium
2564 \shape up
2565 \size normal
2566 \emph off
2567 \bar no
2568 \noun off
2569 \color none
2570 2
2571 \end_layout
2572
2573 \end_inset
2574 </cell>
2575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2576 \begin_inset Text
2577
2578 \begin_layout Plain Layout
2579
2580 \family roman
2581 \series medium
2582 \shape up
2583 \size normal
2584 \emph off
2585 \bar no
2586 \noun off
2587 \color none
2588 3
2589 \end_layout
2590
2591 \end_inset
2592 </cell>
2593 </row>
2594 <row>
2595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2596 \begin_inset Text
2597
2598 \begin_layout Plain Layout
2599
2600 \family roman
2601 \series medium
2602 \shape up
2603 \size normal
2604 \emph off
2605 \bar no
2606 \noun off
2607 \color none
2608 Joe
2609 \end_layout
2610
2611 \end_inset
2612 </cell>
2613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2614 \begin_inset Text
2615
2616 \begin_layout Plain Layout
2617
2618 \family roman
2619 \series medium
2620 \shape up
2621 \size normal
2622 \emph off
2623 \bar no
2624 \noun off
2625 \color none
2626 Mary
2627 \end_layout
2628
2629 \end_inset
2630 </cell>
2631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2632 \begin_inset Text
2633
2634 \begin_layout Plain Layout
2635
2636 \family roman
2637 \series medium
2638 \shape up
2639 \size normal
2640 \emph off
2641 \bar no
2642 \noun off
2643 \color none
2644 Ted
2645 \end_layout
2646
2647 \end_inset
2648 </cell>
2649 </row>
2650 <row>
2651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2652 \begin_inset Text
2653
2654 \begin_layout Plain Layout
2655
2656 \family roman
2657 \series medium
2658 \shape up
2659 \size normal
2660 \emph off
2661 \bar no
2662 \noun off
2663 \color none
2664 \begin_inset Formula $\int x^{2}dx$
2665 \end_inset
2666
2667
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Plain Layout
2676
2677 \family roman
2678 \series medium
2679 \shape up
2680 \size normal
2681 \emph off
2682 \bar no
2683 \noun off
2684 \color none
2685 \begin_inset Formula $\left[\begin{array}{cc}
2686 a & b\\
2687 c & d\end{array}\right]$
2688 \end_inset
2689
2690
2691 \end_layout
2692
2693 \end_inset
2694 </cell>
2695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2696 \begin_inset Text
2697
2698 \begin_layout Plain Layout
2699
2700 \family roman
2701 \series medium
2702 \shape up
2703 \size normal
2704 \emph off
2705 \bar no
2706 \noun off
2707 \color none
2708 \begin_inset Formula $1+1=2$
2709 \end_inset
2710
2711
2712 \end_layout
2713
2714 \end_inset
2715 </cell>
2716 </row>
2717 </lyxtabular>
2718
2719 \end_inset
2720
2721
2722 \end_layout
2723
2724 \end_inset
2725
2726
2727 \end_layout
2728
2729 \begin_layout Standard
2730 Table floats can be inserted using the menu 
2731 \family sans
2732 Insert\SpecialChar \menuseparator
2733 Float\SpecialChar \menuseparator
2734 Table
2735 \family default
2736  or the toolbar button 
2737 \begin_inset Graphics
2738         filename ../images/float-insert_table.png
2739         scale 85
2740         scaleBeforeRotation
2741
2742 \end_inset
2743
2744 .
2745 \end_layout
2746
2747 \begin_layout Standard
2748 The float appears as a collapsible box with a caption that has the label
2749  
2750 \begin_inset Quotes eld
2751 \end_inset
2752
2753 Table
2754 \begin_inset space ~
2755 \end_inset
2756
2757 #:
2758 \begin_inset Quotes erd
2759 \end_inset
2760
2761  (# is the actual table number).
2762  You can insert tables to the float above or below the caption.
2763 \end_layout
2764
2765 \begin_layout Standard
2766 Table
2767 \begin_inset space ~
2768 \end_inset
2769
2770
2771 \begin_inset CommandInset ref
2772 LatexCommand ref
2773 reference "tab:a table float"
2774
2775 \end_inset
2776
2777  is an example table within a table float.
2778 \end_layout
2779
2780 \begin_layout Standard
2781 Having the caption above the table is the common rule that is unfortunately
2782  not supported in LaTeX's standard classes.
2783  That means if you are using the document classes 
2784 \family sans
2785 article
2786 \family default
2787
2788 \family sans
2789 book
2790 \family default
2791
2792 \family sans
2793 letter
2794 \family default
2795 , or 
2796 \family sans
2797 report
2798 \family default
2799  there will be no space between the caption and the table.
2800  To insert the needed space, add the following option to the load command
2801  of the LaTeX-package 
2802 \series bold
2803 caption
2804 \series default
2805
2806 \begin_inset Index
2807 status collapsed
2808
2809 \begin_layout Plain Layout
2810 LaTeX-packages ! caption
2811 \end_layout
2812
2813 \end_inset
2814
2815  in your document preamble
2816 \begin_inset Foot
2817 status collapsed
2818
2819 \begin_layout Plain Layout
2820 For more information have a look at section
2821 \begin_inset space ~
2822 \end_inset
2823
2824
2825 \begin_inset CommandInset ref
2826 LatexCommand ref
2827 reference "sec:Caption-Placement"
2828
2829 \end_inset
2830
2831 .
2832 \end_layout
2833
2834 \end_inset
2835
2836 :
2837 \end_layout
2838
2839 \begin_layout Standard
2840
2841 \series bold
2842 tableposition=top
2843 \end_layout
2844
2845 \begin_layout Standard
2846 The package 
2847 \series bold
2848 caption
2849 \series default
2850 , which is described in section
2851 \begin_inset space ~
2852 \end_inset
2853
2854
2855 \begin_inset CommandInset ref
2856 LatexCommand ref
2857 reference "sec:Caption-Formatting"
2858
2859 \end_inset
2860
2861 , is used to adjust the caption format.
2862 \end_layout
2863
2864 \begin_layout Standard
2865 \begin_inset Index
2866 status collapsed
2867
2868 \begin_layout Plain Layout
2869 References ! to Tables
2870 \end_layout
2871
2872 \end_inset
2873
2874 Tables can be cross-referenced in the text by referencing their label.
2875  To do this insert a label in the caption using the menu 
2876 \family sans
2877 Insert\SpecialChar \menuseparator
2878 Label
2879 \family default
2880  or the toolbar button 
2881 \begin_inset Graphics
2882         filename ../images/label-insert.png
2883         scale 85
2884         scaleBeforeRotation
2885
2886 \end_inset
2887
2888 .
2889  You can now refer to the label using the menu 
2890 \family sans
2891 Insert\SpecialChar \menuseparator
2892 Cross
2893 \begin_inset space ~
2894 \end_inset
2895
2896 reference
2897 \family default
2898  or the toolbar button 
2899 \begin_inset Graphics
2900         filename ../images/dialog-show-new-inset_ref.png
2901         scale 85
2902         scaleBeforeRotation
2903
2904 \end_inset
2905
2906 .
2907 \begin_inset Newline newline
2908 \end_inset
2909
2910 Referencing is explained in detail in section
2911 \begin_inset space ~
2912 \end_inset
2913
2914
2915 \begin_inset CommandInset ref
2916 LatexCommand ref
2917 reference "sec:Referencing-Floats"
2918
2919 \end_inset
2920
2921 .
2922 \end_layout
2923
2924 \begin_layout Section
2925 Longtables
2926 \begin_inset CommandInset label
2927 LatexCommand label
2928 name "sec:Longtables"
2929
2930 \end_inset
2931
2932
2933 \begin_inset Index
2934 status collapsed
2935
2936 \begin_layout Plain Layout
2937 Longtables
2938 \end_layout
2939
2940 \end_inset
2941
2942
2943 \begin_inset Index
2944 status collapsed
2945
2946 \begin_layout Plain Layout
2947 Table ! Longtables
2948 \end_layout
2949
2950 \end_inset
2951
2952
2953 \end_layout
2954
2955 \begin_layout Standard
2956 If the table is too long to fit on one page, you can use the option 
2957 \family sans
2958 Use
2959 \begin_inset space ~
2960 \end_inset
2961
2962 long
2963 \begin_inset space ~
2964 \end_inset
2965
2966 table
2967 \family default
2968  in the tab 
2969 \family sans
2970 Longtable
2971 \family default
2972  of the table dialog to split the table automatically over more pages.
2973  Doing this enables the following options:
2974 \end_layout
2975
2976 \begin_layout Description
2977
2978 \family sans
2979 Header
2980 \family default
2981 : The current row and all rows above, that don't have any special options
2982  defined, are defined to be the header rows of all pages of the longtable;
2983  except for the first page, if 
2984 \family sans
2985 First
2986 \begin_inset space ~
2987 \end_inset
2988
2989 header
2990 \family default
2991  is defined.
2992  This therefore called the main header.
2993 \end_layout
2994
2995 \begin_layout Description
2996
2997 \family sans
2998 First
2999 \begin_inset space ~
3000 \end_inset
3001
3002 header
3003 \family default
3004 : The current row and all rows above, that don't have any special options
3005  defined, are defined to be the header rows of the first page of the longtable.
3006 \end_layout
3007
3008 \begin_layout Description
3009
3010 \family sans
3011 Footer
3012 \family default
3013 : The current row and all rows below, that don't have any special options
3014  defined, are defined to be the footer rows of all pages of the longtable;
3015  except for the last page, if 
3016 \family sans
3017 Last
3018 \begin_inset space ~
3019 \end_inset
3020
3021 footer
3022 \family default
3023  is defined.
3024 \end_layout
3025
3026 \begin_layout Description
3027
3028 \family sans
3029 Last
3030 \begin_inset space ~
3031 \end_inset
3032
3033 footer
3034 \family default
3035 : The current row and all rows below, that don't have any special options
3036  defined, are defined to be the footer rows of the last page of the longtable.
3037 \end_layout
3038
3039 \begin_layout Description
3040 Caption: The first row is reset as single column.
3041  You can now insert there the table caption via the menu 
3042 \family sans
3043 Insert\SpecialChar \menuseparator
3044 Caption
3045 \family default
3046 .
3047  More about longtable captions is explained in sec.
3048 \begin_inset space \thinspace{}
3049 \end_inset
3050
3051
3052 \begin_inset CommandInset ref
3053 LatexCommand ref
3054 reference "sub:Longtable-Captions"
3055
3056 \end_inset
3057
3058 .
3059 \end_layout
3060
3061 \begin_layout Standard
3062 You can also specify a row where the table is splitted.
3063  If you set more than one option in the same table row, you should be aware
3064  of the fact that only the first one is used in the given table row.
3065  The others will then be defined as 
3066 \emph on
3067 empty
3068 \emph default
3069 .
3070  In this context, first means first in this order: 
3071 \family sans
3072 Header,
3073 \family default
3074  
3075 \family sans
3076 First
3077 \begin_inset space ~
3078 \end_inset
3079
3080 header, Footer, Last
3081 \begin_inset space ~
3082 \end_inset
3083
3084 footer.
3085
3086 \family default
3087  See the following longtable to see how it works:
3088 \end_layout
3089
3090 \begin_layout Standard
3091 \align center
3092 \begin_inset Tabular
3093 <lyxtabular version="3" rows="69" columns="3">
3094 <features islongtable="true">
3095 <column alignment="left" valignment="top" width="0cm">
3096 <column alignment="left" valignment="top" width="0pt">
3097 <column alignment="center" valignment="top" width="0pt">
3098 <row endfirsthead="true">
3099 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3100 \begin_inset Text
3101
3102 \begin_layout Plain Layout
3103
3104 \series bold
3105 Example Phone List (ignore the names)
3106 \end_layout
3107
3108 \end_inset
3109 </cell>
3110 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3111 \begin_inset Text
3112
3113 \begin_layout Plain Layout
3114
3115 \end_layout
3116
3117 \end_inset
3118 </cell>
3119 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3120 \begin_inset Text
3121
3122 \begin_layout Plain Layout
3123
3124 \end_layout
3125
3126 \end_inset
3127 </cell>
3128 </row>
3129 <row endfirsthead="true">
3130 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3131 \begin_inset Text
3132
3133 \begin_layout Plain Layout
3134
3135 \series bold
3136 NAME
3137 \end_layout
3138
3139 \end_inset
3140 </cell>
3141 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3142 \begin_inset Text
3143
3144 \begin_layout Plain Layout
3145
3146 \end_layout
3147
3148 \end_inset
3149 </cell>
3150 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3151 \begin_inset Text
3152
3153 \begin_layout Plain Layout
3154
3155 \series bold
3156 TEL.
3157 \end_layout
3158
3159 \end_inset
3160 </cell>
3161 </row>
3162 <row endhead="true">
3163 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3164 \begin_inset Text
3165
3166 \begin_layout Plain Layout
3167
3168 \series bold
3169 Example Phone List
3170 \end_layout
3171
3172 \end_inset
3173 </cell>
3174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3175 \begin_inset Text
3176
3177 \begin_layout Plain Layout
3178
3179 \end_layout
3180
3181 \end_inset
3182 </cell>
3183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3184 \begin_inset Text
3185
3186 \begin_layout Plain Layout
3187
3188 \end_layout
3189
3190 \end_inset
3191 </cell>
3192 </row>
3193 <row endhead="true">
3194 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3195 \begin_inset Text
3196
3197 \begin_layout Plain Layout
3198
3199 \series bold
3200 NAME
3201 \end_layout
3202
3203 \end_inset
3204 </cell>
3205 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3206 \begin_inset Text
3207
3208 \begin_layout Plain Layout
3209
3210 \end_layout
3211
3212 \end_inset
3213 </cell>
3214 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3215 \begin_inset Text
3216
3217 \begin_layout Plain Layout
3218
3219 \series bold
3220 TEL.
3221 \end_layout
3222
3223 \end_inset
3224 </cell>
3225 </row>
3226 <row endfoot="true">
3227 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
3228 \begin_inset Text
3229
3230 \begin_layout Plain Layout
3231  continued on next page
3232 \end_layout
3233
3234 \end_inset
3235 </cell>
3236 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3237 \begin_inset Text
3238
3239 \begin_layout Plain Layout
3240
3241 \end_layout
3242
3243 \end_inset
3244 </cell>
3245 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3246 \begin_inset Text
3247
3248 \begin_layout Plain Layout
3249
3250 \end_layout
3251
3252 \end_inset
3253 </cell>
3254 </row>
3255 <row>
3256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3257 \begin_inset Text
3258
3259 \begin_layout Plain Layout
3260
3261 \series bold
3262 Annovi
3263 \end_layout
3264
3265 \end_inset
3266 </cell>
3267 <cell alignment="center" valignment="top" usebox="none">
3268 \begin_inset Text
3269
3270 \begin_layout Plain Layout
3271 Silvia
3272 \end_layout
3273
3274 \end_inset
3275 </cell>
3276 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3277 \begin_inset Text
3278
3279 \begin_layout Plain Layout
3280 111
3281 \end_layout
3282
3283 \end_inset
3284 </cell>
3285 </row>
3286 <row>
3287 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3288 \begin_inset Text
3289
3290 \begin_layout Plain Layout
3291
3292 \series bold
3293 Bertoli
3294 \end_layout
3295
3296 \end_inset
3297 </cell>
3298 <cell alignment="center" valignment="top" usebox="none">
3299 \begin_inset Text
3300
3301 \begin_layout Plain Layout
3302 Stefano
3303 \end_layout
3304
3305 \end_inset
3306 </cell>
3307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3308 \begin_inset Text
3309
3310 \begin_layout Plain Layout
3311 111
3312 \end_layout
3313
3314 \end_inset
3315 </cell>
3316 </row>
3317 <row>
3318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3319 \begin_inset Text
3320
3321 \begin_layout Plain Layout
3322
3323 \series bold
3324 Bozzi
3325 \end_layout
3326
3327 \end_inset
3328 </cell>
3329 <cell alignment="center" valignment="top" usebox="none">
3330 \begin_inset Text
3331
3332 \begin_layout Plain Layout
3333 Walter
3334 \end_layout
3335
3336 \end_inset
3337 </cell>
3338 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3339 \begin_inset Text
3340
3341 \begin_layout Plain Layout
3342 111
3343 \end_layout
3344
3345 \end_inset
3346 </cell>
3347 </row>
3348 <row>
3349 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3350 \begin_inset Text
3351
3352 \begin_layout Plain Layout
3353
3354 \series bold
3355 Cachia
3356 \end_layout
3357
3358 \end_inset
3359 </cell>
3360 <cell alignment="center" valignment="top" usebox="none">
3361 \begin_inset Text
3362
3363 \begin_layout Plain Layout
3364 Maria
3365 \end_layout
3366
3367 \end_inset
3368 </cell>
3369 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3370 \begin_inset Text
3371
3372 \begin_layout Plain Layout
3373 111
3374 \end_layout
3375
3376 \end_inset
3377 </cell>
3378 </row>
3379 <row>
3380 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3381 \begin_inset Text
3382
3383 \begin_layout Plain Layout
3384
3385 \series bold
3386 Cachia
3387 \end_layout
3388
3389 \end_inset
3390 </cell>
3391 <cell alignment="center" valignment="top" usebox="none">
3392 \begin_inset Text
3393
3394 \begin_layout Plain Layout
3395 Maurizio
3396 \end_layout
3397
3398 \end_inset
3399 </cell>
3400 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3401 \begin_inset Text
3402
3403 \begin_layout Plain Layout
3404 111
3405 \end_layout
3406
3407 \end_inset
3408 </cell>
3409 </row>
3410 <row>
3411 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3412 \begin_inset Text
3413
3414 \begin_layout Plain Layout
3415
3416 \series bold
3417 Cinquemani
3418 \end_layout
3419
3420 \end_inset
3421 </cell>
3422 <cell alignment="center" valignment="top" usebox="none">
3423 \begin_inset Text
3424
3425 \begin_layout Plain Layout
3426 Giusi
3427 \end_layout
3428
3429 \end_inset
3430 </cell>
3431 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3432 \begin_inset Text
3433
3434 \begin_layout Plain Layout
3435 111
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 </row>
3441 <row>
3442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3443 \begin_inset Text
3444
3445 \begin_layout Plain Layout
3446
3447 \series bold
3448 Colin
3449 \end_layout
3450
3451 \end_inset
3452 </cell>
3453 <cell alignment="center" valignment="top" usebox="none">
3454 \begin_inset Text
3455
3456 \begin_layout Plain Layout
3457 Bernard
3458 \end_layout
3459
3460 \end_inset
3461 </cell>
3462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3463 \begin_inset Text
3464
3465 \begin_layout Plain Layout
3466 111
3467 \end_layout
3468
3469 \end_inset
3470 </cell>
3471 </row>
3472 <row>
3473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3474 \begin_inset Text
3475
3476 \begin_layout Plain Layout
3477
3478 \series bold
3479 Concli
3480 \end_layout
3481
3482 \end_inset
3483 </cell>
3484 <cell alignment="center" valignment="top" usebox="none">
3485 \begin_inset Text
3486
3487 \begin_layout Plain Layout
3488 Gianfranco
3489 \end_layout
3490
3491 \end_inset
3492 </cell>
3493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3494 \begin_inset Text
3495
3496 \begin_layout Plain Layout
3497 111
3498 \end_layout
3499
3500 \end_inset
3501 </cell>
3502 </row>
3503 <row>
3504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3505 \begin_inset Text
3506
3507 \begin_layout Plain Layout
3508
3509 \series bold
3510 Dal Bosco
3511 \end_layout
3512
3513 \end_inset
3514 </cell>
3515 <cell alignment="center" valignment="top" usebox="none">
3516 \begin_inset Text
3517
3518 \begin_layout Plain Layout
3519 Carolina
3520 \end_layout
3521
3522 \end_inset
3523 </cell>
3524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3525 \begin_inset Text
3526
3527 \begin_layout Plain Layout
3528 111
3529 \end_layout
3530
3531 \end_inset
3532 </cell>
3533 </row>
3534 <row>
3535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3536 \begin_inset Text
3537
3538 \begin_layout Plain Layout
3539
3540 \series bold
3541 Dalpiaz
3542 \end_layout
3543
3544 \end_inset
3545 </cell>
3546 <cell alignment="center" valignment="top" usebox="none">
3547 \begin_inset Text
3548
3549 \begin_layout Plain Layout
3550 Annamaria
3551 \end_layout
3552
3553 \end_inset
3554 </cell>
3555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3556 \begin_inset Text
3557
3558 \begin_layout Plain Layout
3559 111
3560 \end_layout
3561
3562 \end_inset
3563 </cell>
3564 </row>
3565 <row>
3566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3567 \begin_inset Text
3568
3569 \begin_layout Plain Layout
3570
3571 \series bold
3572 Feliciello
3573 \end_layout
3574
3575 \end_inset
3576 </cell>
3577 <cell alignment="center" valignment="top" usebox="none">
3578 \begin_inset Text
3579
3580 \begin_layout Plain Layout
3581 Domenico
3582 \end_layout
3583
3584 \end_inset
3585 </cell>
3586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3587 \begin_inset Text
3588
3589 \begin_layout Plain Layout
3590 111
3591 \end_layout
3592
3593 \end_inset
3594 </cell>
3595 </row>
3596 <row>
3597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3598 \begin_inset Text
3599
3600 \begin_layout Plain Layout
3601
3602 \series bold
3603 Focarelli
3604 \end_layout
3605
3606 \end_inset
3607 </cell>
3608 <cell alignment="center" valignment="top" usebox="none">
3609 \begin_inset Text
3610
3611 \begin_layout Plain Layout
3612 Paola
3613 \end_layout
3614
3615 \end_inset
3616 </cell>
3617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3618 \begin_inset Text
3619
3620 \begin_layout Plain Layout
3621 111
3622 \end_layout
3623
3624 \end_inset
3625 </cell>
3626 </row>
3627 <row>
3628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3629 \begin_inset Text
3630
3631 \begin_layout Plain Layout
3632
3633 \series bold
3634 Galletti
3635 \end_layout
3636
3637 \end_inset
3638 </cell>
3639 <cell alignment="center" valignment="top" usebox="none">
3640 \begin_inset Text
3641
3642 \begin_layout Plain Layout
3643 Oreste
3644 \end_layout
3645
3646 \end_inset
3647 </cell>
3648 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3649 \begin_inset Text
3650
3651 \begin_layout Plain Layout
3652 111
3653 \end_layout
3654
3655 \end_inset
3656 </cell>
3657 </row>
3658 <row>
3659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3660 \begin_inset Text
3661
3662 \begin_layout Plain Layout
3663
3664 \series bold
3665 Gasparini
3666 \end_layout
3667
3668 \end_inset
3669 </cell>
3670 <cell alignment="center" valignment="top" usebox="none">
3671 \begin_inset Text
3672
3673 \begin_layout Plain Layout
3674 Franca
3675 \end_layout
3676
3677 \end_inset
3678 </cell>
3679 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3680 \begin_inset Text
3681
3682 \begin_layout Plain Layout
3683 111
3684 \end_layout
3685
3686 \end_inset
3687 </cell>
3688 </row>
3689 <row>
3690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3691 \begin_inset Text
3692
3693 \begin_layout Plain Layout
3694
3695 \series bold
3696 Rizzardi
3697 \end_layout
3698
3699 \end_inset
3700 </cell>
3701 <cell alignment="center" valignment="top" usebox="none">
3702 \begin_inset Text
3703
3704 \begin_layout Plain Layout
3705 Paola
3706 \end_layout
3707
3708 \end_inset
3709 </cell>
3710 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3711 \begin_inset Text
3712
3713 \begin_layout Plain Layout
3714 111
3715 \end_layout
3716
3717 \end_inset
3718 </cell>
3719 </row>
3720 <row>
3721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3722 \begin_inset Text
3723
3724 \begin_layout Plain Layout
3725
3726 \series bold
3727 Lassini
3728 \end_layout
3729
3730 \end_inset
3731 </cell>
3732 <cell alignment="center" valignment="top" usebox="none">
3733 \begin_inset Text
3734
3735 \begin_layout Plain Layout
3736 Giancarlo
3737 \end_layout
3738
3739 \end_inset
3740 </cell>
3741 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3742 \begin_inset Text
3743
3744 \begin_layout Plain Layout
3745 111
3746 \end_layout
3747
3748 \end_inset
3749 </cell>
3750 </row>
3751 <row>
3752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3753 \begin_inset Text
3754
3755 \begin_layout Plain Layout
3756
3757 \series bold
3758 Malfatti
3759 \end_layout
3760
3761 \end_inset
3762 </cell>
3763 <cell alignment="center" valignment="top" usebox="none">
3764 \begin_inset Text
3765
3766 \begin_layout Plain Layout
3767 Luciano
3768 \end_layout
3769
3770 \end_inset
3771 </cell>
3772 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3773 \begin_inset Text
3774
3775 \begin_layout Plain Layout
3776 111
3777 \end_layout
3778
3779 \end_inset
3780 </cell>
3781 </row>
3782 <row>
3783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3784 \begin_inset Text
3785
3786 \begin_layout Plain Layout
3787
3788 \series bold
3789 Malfatti
3790 \end_layout
3791
3792 \end_inset
3793 </cell>
3794 <cell alignment="center" valignment="top" usebox="none">
3795 \begin_inset Text
3796
3797 \begin_layout Plain Layout
3798 Valeriano
3799 \end_layout
3800
3801 \end_inset
3802 </cell>
3803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3804 \begin_inset Text
3805
3806 \begin_layout Plain Layout
3807 111
3808 \end_layout
3809
3810 \end_inset
3811 </cell>
3812 </row>
3813 <row>
3814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3815 \begin_inset Text
3816
3817 \begin_layout Plain Layout
3818
3819 \series bold
3820 Meneguzzo
3821 \end_layout
3822
3823 \end_inset
3824 </cell>
3825 <cell alignment="center" valignment="top" usebox="none">
3826 \begin_inset Text
3827
3828 \begin_layout Plain Layout
3829 Roberto
3830 \end_layout
3831
3832 \end_inset
3833 </cell>
3834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3835 \begin_inset Text
3836
3837 \begin_layout Plain Layout
3838 111
3839 \end_layout
3840
3841 \end_inset
3842 </cell>
3843 </row>
3844 <row>
3845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3846 \begin_inset Text
3847
3848 \begin_layout Plain Layout
3849
3850 \series bold
3851 Mezzadra
3852 \end_layout
3853
3854 \end_inset
3855 </cell>
3856 <cell alignment="center" valignment="top" usebox="none">
3857 \begin_inset Text
3858
3859 \begin_layout Plain Layout
3860 Roberto
3861 \end_layout
3862
3863 \end_inset
3864 </cell>
3865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3866 \begin_inset Text
3867
3868 \begin_layout Plain Layout
3869 111
3870 \end_layout
3871
3872 \end_inset
3873 </cell>
3874 </row>
3875 <row>
3876 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3877 \begin_inset Text
3878
3879 \begin_layout Plain Layout
3880
3881 \series bold
3882 Pirpamer
3883 \end_layout
3884
3885 \end_inset
3886 </cell>
3887 <cell alignment="center" valignment="top" usebox="none">
3888 \begin_inset Text
3889
3890 \begin_layout Plain Layout
3891 Erich
3892 \end_layout
3893
3894 \end_inset
3895 </cell>
3896 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3897 \begin_inset Text
3898
3899 \begin_layout Plain Layout
3900 111
3901 \end_layout
3902
3903 \end_inset
3904 </cell>
3905 </row>
3906 <row>
3907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3908 \begin_inset Text
3909
3910 \begin_layout Plain Layout
3911
3912 \series bold
3913 Pochiesa
3914 \end_layout
3915
3916 \end_inset
3917 </cell>
3918 <cell alignment="center" valignment="top" usebox="none">
3919 \begin_inset Text
3920
3921 \begin_layout Plain Layout
3922 Paolo
3923 \end_layout
3924
3925 \end_inset
3926 </cell>
3927 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3928 \begin_inset Text
3929
3930 \begin_layout Plain Layout
3931 111, 222
3932 \end_layout
3933
3934 \end_inset
3935 </cell>
3936 </row>
3937 <row>
3938 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3939 \begin_inset Text
3940
3941 \begin_layout Plain Layout
3942
3943 \series bold
3944 Radina
3945 \end_layout
3946
3947 \end_inset
3948 </cell>
3949 <cell alignment="center" valignment="top" usebox="none">
3950 \begin_inset Text
3951
3952 \begin_layout Plain Layout
3953 Claudio
3954 \end_layout
3955
3956 \end_inset
3957 </cell>
3958 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3959 \begin_inset Text
3960
3961 \begin_layout Plain Layout
3962 111
3963 \end_layout
3964
3965 \end_inset
3966 </cell>
3967 </row>
3968 <row>
3969 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3970 \begin_inset Text
3971
3972 \begin_layout Plain Layout
3973
3974 \series bold
3975 Stuffer
3976 \end_layout
3977
3978 \end_inset
3979 </cell>
3980 <cell alignment="center" valignment="top" usebox="none">
3981 \begin_inset Text
3982
3983 \begin_layout Plain Layout
3984 Oskar
3985 \end_layout
3986
3987 \end_inset
3988 </cell>
3989 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3990 \begin_inset Text
3991
3992 \begin_layout Plain Layout
3993 111
3994 \end_layout
3995
3996 \end_inset
3997 </cell>
3998 </row>
3999 <row>
4000 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4001 \begin_inset Text
4002
4003 \begin_layout Plain Layout
4004
4005 \series bold
4006 Tacchelli
4007 \end_layout
4008
4009 \end_inset
4010 </cell>
4011 <cell alignment="center" valignment="top" usebox="none">
4012 \begin_inset Text
4013
4014 \begin_layout Plain Layout
4015 Ugo
4016 \end_layout
4017
4018 \end_inset
4019 </cell>
4020 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4021 \begin_inset Text
4022
4023 \begin_layout Plain Layout
4024 111
4025 \end_layout
4026
4027 \end_inset
4028 </cell>
4029 </row>
4030 <row>
4031 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4032 \begin_inset Text
4033
4034 \begin_layout Plain Layout
4035
4036 \series bold
4037 Tezzele
4038 \end_layout
4039
4040 \end_inset
4041 </cell>
4042 <cell alignment="center" valignment="top" usebox="none">
4043 \begin_inset Text
4044
4045 \begin_layout Plain Layout
4046 Margit
4047 \end_layout
4048
4049 \end_inset
4050 </cell>
4051 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4052 \begin_inset Text
4053
4054 \begin_layout Plain Layout
4055 111
4056 \end_layout
4057
4058 \end_inset
4059 </cell>
4060 </row>
4061 <row>
4062 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4063 \begin_inset Text
4064
4065 \begin_layout Plain Layout
4066
4067 \series bold
4068 Unterkalmsteiner
4069 \end_layout
4070
4071 \end_inset
4072 </cell>
4073 <cell alignment="center" valignment="top" usebox="none">
4074 \begin_inset Text
4075
4076 \begin_layout Plain Layout
4077 Frieda
4078 \end_layout
4079
4080 \end_inset
4081 </cell>
4082 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4083 \begin_inset Text
4084
4085 \begin_layout Plain Layout
4086 111
4087 \end_layout
4088
4089 \end_inset
4090 </cell>
4091 </row>
4092 <row>
4093 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4094 \begin_inset Text
4095
4096 \begin_layout Plain Layout
4097
4098 \series bold
4099 Vieider
4100 \end_layout
4101
4102 \end_inset
4103 </cell>
4104 <cell alignment="center" valignment="top" usebox="none">
4105 \begin_inset Text
4106
4107 \begin_layout Plain Layout
4108 Hilde
4109 \end_layout
4110
4111 \end_inset
4112 </cell>
4113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4114 \begin_inset Text
4115
4116 \begin_layout Plain Layout
4117 111
4118 \end_layout
4119
4120 \end_inset
4121 </cell>
4122 </row>
4123 <row>
4124 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4125 \begin_inset Text
4126
4127 \begin_layout Plain Layout
4128
4129 \series bold
4130 Vigna
4131 \end_layout
4132
4133 \end_inset
4134 </cell>
4135 <cell alignment="center" valignment="top" usebox="none">
4136 \begin_inset Text
4137
4138 \begin_layout Plain Layout
4139 Jürgen
4140 \end_layout
4141
4142 \end_inset
4143 </cell>
4144 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4145 \begin_inset Text
4146
4147 \begin_layout Plain Layout
4148 111
4149 \end_layout
4150
4151 \end_inset
4152 </cell>
4153 </row>
4154 <row>
4155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4156 \begin_inset Text
4157
4158 \begin_layout Plain Layout
4159
4160 \series bold
4161 Weber
4162 \end_layout
4163
4164 \end_inset
4165 </cell>
4166 <cell alignment="center" valignment="top" usebox="none">
4167 \begin_inset Text
4168
4169 \begin_layout Plain Layout
4170 Maurizio
4171 \end_layout
4172
4173 \end_inset
4174 </cell>
4175 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4176 \begin_inset Text
4177
4178 \begin_layout Plain Layout
4179 111
4180 \end_layout
4181
4182 \end_inset
4183 </cell>
4184 </row>
4185 <row>
4186 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4187 \begin_inset Text
4188
4189 \begin_layout Plain Layout
4190
4191 \series bold
4192 Winkler
4193 \end_layout
4194
4195 \end_inset
4196 </cell>
4197 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4198 \begin_inset Text
4199
4200 \begin_layout Plain Layout
4201 Franz
4202 \end_layout
4203
4204 \end_inset
4205 </cell>
4206 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4207 \begin_inset Text
4208
4209 \begin_layout Plain Layout
4210 111
4211 \end_layout
4212
4213 \end_inset
4214 </cell>
4215 </row>
4216 <row>
4217 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4218 \begin_inset Text
4219
4220 \begin_layout Plain Layout
4221  
4222 \end_layout
4223
4224 \end_inset
4225 </cell>
4226 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4227 \begin_inset Text
4228
4229 \begin_layout Plain Layout
4230
4231 \end_layout
4232
4233 \end_inset
4234 </cell>
4235 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4236 \begin_inset Text
4237
4238 \begin_layout Plain Layout
4239
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 </row>
4245 <row>
4246 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4247 \begin_inset Text
4248
4249 \begin_layout Plain Layout
4250
4251 \series bold
4252 Annovi
4253 \end_layout
4254
4255 \end_inset
4256 </cell>
4257 <cell alignment="center" valignment="top" usebox="none">
4258 \begin_inset Text
4259
4260 \begin_layout Plain Layout
4261 Silvia
4262 \end_layout
4263
4264 \end_inset
4265 </cell>
4266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4267 \begin_inset Text
4268
4269 \begin_layout Plain Layout
4270 555
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 </row>
4276 <row>
4277 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4278 \begin_inset Text
4279
4280 \begin_layout Plain Layout
4281
4282 \series bold
4283 Bertoli
4284 \end_layout
4285
4286 \end_inset
4287 </cell>
4288 <cell alignment="center" valignment="top" usebox="none">
4289 \begin_inset Text
4290
4291 \begin_layout Plain Layout
4292 Stefano
4293 \end_layout
4294
4295 \end_inset
4296 </cell>
4297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4298 \begin_inset Text
4299
4300 \begin_layout Plain Layout
4301 555
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 </row>
4307 <row>
4308 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4309 \begin_inset Text
4310
4311 \begin_layout Plain Layout
4312
4313 \series bold
4314 Bozzi
4315 \end_layout
4316
4317 \end_inset
4318 </cell>
4319 <cell alignment="center" valignment="top" usebox="none">
4320 \begin_inset Text
4321
4322 \begin_layout Plain Layout
4323 Walter
4324 \end_layout
4325
4326 \end_inset
4327 </cell>
4328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4329 \begin_inset Text
4330
4331 \begin_layout Plain Layout
4332 555
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 </row>
4338 <row>
4339 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4340 \begin_inset Text
4341
4342 \begin_layout Plain Layout
4343
4344 \series bold
4345 Cachia
4346 \end_layout
4347
4348 \end_inset
4349 </cell>
4350 <cell alignment="center" valignment="top" usebox="none">
4351 \begin_inset Text
4352
4353 \begin_layout Plain Layout
4354 Maria
4355 \end_layout
4356
4357 \end_inset
4358 </cell>
4359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4360 \begin_inset Text
4361
4362 \begin_layout Plain Layout
4363 555
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 </row>
4369 <row>
4370 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4371 \begin_inset Text
4372
4373 \begin_layout Plain Layout
4374
4375 \series bold
4376 Cachia
4377 \end_layout
4378
4379 \end_inset
4380 </cell>
4381 <cell alignment="center" valignment="top" usebox="none">
4382 \begin_inset Text
4383
4384 \begin_layout Plain Layout
4385 Maurizio
4386 \end_layout
4387
4388 \end_inset
4389 </cell>
4390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4391 \begin_inset Text
4392
4393 \begin_layout Plain Layout
4394 555
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 </row>
4400 <row>
4401 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4402 \begin_inset Text
4403
4404 \begin_layout Plain Layout
4405
4406 \series bold
4407 Cinquemani
4408 \end_layout
4409
4410 \end_inset
4411 </cell>
4412 <cell alignment="center" valignment="top" usebox="none">
4413 \begin_inset Text
4414
4415 \begin_layout Plain Layout
4416 Giusi
4417 \end_layout
4418
4419 \end_inset
4420 </cell>
4421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4422 \begin_inset Text
4423
4424 \begin_layout Plain Layout
4425 555
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 </row>
4431 <row>
4432 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4433 \begin_inset Text
4434
4435 \begin_layout Plain Layout
4436
4437 \series bold
4438 Colin
4439 \end_layout
4440
4441 \end_inset
4442 </cell>
4443 <cell alignment="center" valignment="top" usebox="none">
4444 \begin_inset Text
4445
4446 \begin_layout Plain Layout
4447 Bernard
4448 \end_layout
4449
4450 \end_inset
4451 </cell>
4452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Plain Layout
4456 555
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 </row>
4462 <row>
4463 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4464 \begin_inset Text
4465
4466 \begin_layout Plain Layout
4467
4468 \series bold
4469 Concli
4470 \end_layout
4471
4472 \end_inset
4473 </cell>
4474 <cell alignment="center" valignment="top" usebox="none">
4475 \begin_inset Text
4476
4477 \begin_layout Plain Layout
4478 Gianfranco
4479 \end_layout
4480
4481 \end_inset
4482 </cell>
4483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4484 \begin_inset Text
4485
4486 \begin_layout Plain Layout
4487 555
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 </row>
4493 <row>
4494 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4495 \begin_inset Text
4496
4497 \begin_layout Plain Layout
4498
4499 \series bold
4500 Dal Bosco
4501 \end_layout
4502
4503 \end_inset
4504 </cell>
4505 <cell alignment="center" valignment="top" usebox="none">
4506 \begin_inset Text
4507
4508 \begin_layout Plain Layout
4509 Carolina
4510 \end_layout
4511
4512 \end_inset
4513 </cell>
4514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4515 \begin_inset Text
4516
4517 \begin_layout Plain Layout
4518 555
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 </row>
4524 <row>
4525 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4526 \begin_inset Text
4527
4528 \begin_layout Plain Layout
4529
4530 \series bold
4531 Dalpiaz
4532 \end_layout
4533
4534 \end_inset
4535 </cell>
4536 <cell alignment="center" valignment="top" usebox="none">
4537 \begin_inset Text
4538
4539 \begin_layout Plain Layout
4540 Annamaria
4541 \end_layout
4542
4543 \end_inset
4544 </cell>
4545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4546 \begin_inset Text
4547
4548 \begin_layout Plain Layout
4549 555
4550 \end_layout
4551
4552 \end_inset
4553 </cell>
4554 </row>
4555 <row>
4556 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4557 \begin_inset Text
4558
4559 \begin_layout Plain Layout
4560
4561 \series bold
4562 Feliciello
4563 \end_layout
4564
4565 \end_inset
4566 </cell>
4567 <cell alignment="center" valignment="top" usebox="none">
4568 \begin_inset Text
4569
4570 \begin_layout Plain Layout
4571 Domenico
4572 \end_layout
4573
4574 \end_inset
4575 </cell>
4576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4577 \begin_inset Text
4578
4579 \begin_layout Plain Layout
4580 555
4581 \end_layout
4582
4583 \end_inset
4584 </cell>
4585 </row>
4586 <row>
4587 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4588 \begin_inset Text
4589
4590 \begin_layout Plain Layout
4591
4592 \series bold
4593 Focarelli
4594 \end_layout
4595
4596 \end_inset
4597 </cell>
4598 <cell alignment="center" valignment="top" usebox="none">
4599 \begin_inset Text
4600
4601 \begin_layout Plain Layout
4602 Paola
4603 \end_layout
4604
4605 \end_inset
4606 </cell>
4607 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4608 \begin_inset Text
4609
4610 \begin_layout Plain Layout
4611 555
4612 \end_layout
4613
4614 \end_inset
4615 </cell>
4616 </row>
4617 <row>
4618 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4619 \begin_inset Text
4620
4621 \begin_layout Plain Layout
4622
4623 \series bold
4624 Galletti
4625 \end_layout
4626
4627 \end_inset
4628 </cell>
4629 <cell alignment="center" valignment="top" usebox="none">
4630 \begin_inset Text
4631
4632 \begin_layout Plain Layout
4633 Oreste
4634 \end_layout
4635
4636 \end_inset
4637 </cell>
4638 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4639 \begin_inset Text
4640
4641 \begin_layout Plain Layout
4642 555
4643 \end_layout
4644
4645 \end_inset
4646 </cell>
4647 </row>
4648 <row>
4649 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4650 \begin_inset Text
4651
4652 \begin_layout Plain Layout
4653
4654 \series bold
4655 Gasparini
4656 \end_layout
4657
4658 \end_inset
4659 </cell>
4660 <cell alignment="center" valignment="top" usebox="none">
4661 \begin_inset Text
4662
4663 \begin_layout Plain Layout
4664 Franca
4665 \end_layout
4666
4667 \end_inset
4668 </cell>
4669 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4670 \begin_inset Text
4671
4672 \begin_layout Plain Layout
4673 555
4674 \end_layout
4675
4676 \end_inset
4677 </cell>
4678 </row>
4679 <row>
4680 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4681 \begin_inset Text
4682
4683 \begin_layout Plain Layout
4684
4685 \series bold
4686 Rizzardi
4687 \end_layout
4688
4689 \end_inset
4690 </cell>
4691 <cell alignment="center" valignment="top" usebox="none">
4692 \begin_inset Text
4693
4694 \begin_layout Plain Layout
4695 Paola
4696 \end_layout
4697
4698 \end_inset
4699 </cell>
4700 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4701 \begin_inset Text
4702
4703 \begin_layout Plain Layout
4704 555
4705 \end_layout
4706
4707 \end_inset
4708 </cell>
4709 </row>
4710 <row>
4711 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4712 \begin_inset Text
4713
4714 \begin_layout Plain Layout
4715
4716 \series bold
4717 Lassini
4718 \end_layout
4719
4720 \end_inset
4721 </cell>
4722 <cell alignment="center" valignment="top" usebox="none">
4723 \begin_inset Text
4724
4725 \begin_layout Plain Layout
4726 Giancarlo
4727 \end_layout
4728
4729 \end_inset
4730 </cell>
4731 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4732 \begin_inset Text
4733
4734 \begin_layout Plain Layout
4735 555
4736 \end_layout
4737
4738 \end_inset
4739 </cell>
4740 </row>
4741 <row>
4742 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4743 \begin_inset Text
4744
4745 \begin_layout Plain Layout
4746
4747 \series bold
4748 Malfatti
4749 \end_layout
4750
4751 \end_inset
4752 </cell>
4753 <cell alignment="center" valignment="top" usebox="none">
4754 \begin_inset Text
4755
4756 \begin_layout Plain Layout
4757 Luciano
4758 \end_layout
4759
4760 \end_inset
4761 </cell>
4762 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4763 \begin_inset Text
4764
4765 \begin_layout Plain Layout
4766 555
4767 \end_layout
4768
4769 \end_inset
4770 </cell>
4771 </row>
4772 <row>
4773 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4774 \begin_inset Text
4775
4776 \begin_layout Plain Layout
4777
4778 \series bold
4779 Malfatti
4780 \end_layout
4781
4782 \end_inset
4783 </cell>
4784 <cell alignment="center" valignment="top" usebox="none">
4785 \begin_inset Text
4786
4787 \begin_layout Plain Layout
4788 Valeriano
4789 \end_layout
4790
4791 \end_inset
4792 </cell>
4793 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4794 \begin_inset Text
4795
4796 \begin_layout Plain Layout
4797 555
4798 \end_layout
4799
4800 \end_inset
4801 </cell>
4802 </row>
4803 <row>
4804 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4805 \begin_inset Text
4806
4807 \begin_layout Plain Layout
4808
4809 \series bold
4810 Meneguzzo
4811 \end_layout
4812
4813 \end_inset
4814 </cell>
4815 <cell alignment="center" valignment="top" usebox="none">
4816 \begin_inset Text
4817
4818 \begin_layout Plain Layout
4819 Roberto
4820 \end_layout
4821
4822 \end_inset
4823 </cell>
4824 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4825 \begin_inset Text
4826
4827 \begin_layout Plain Layout
4828 555
4829 \end_layout
4830
4831 \end_inset
4832 </cell>
4833 </row>
4834 <row>
4835 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4836 \begin_inset Text
4837
4838 \begin_layout Plain Layout
4839
4840 \series bold
4841 Mezzadra
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Plain Layout
4850 Roberto
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Plain Layout
4859 555
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 </row>
4865 <row>
4866 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4867 \begin_inset Text
4868
4869 \begin_layout Plain Layout
4870
4871 \series bold
4872 Pirpamer
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Plain Layout
4881 Erich
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4887 \begin_inset Text
4888
4889 \begin_layout Plain Layout
4890 555
4891 \end_layout
4892
4893 \end_inset
4894 </cell>
4895 </row>
4896 <row>
4897 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Plain Layout
4901
4902 \series bold
4903 Pochiesa
4904 \end_layout
4905
4906 \end_inset
4907 </cell>
4908 <cell alignment="center" valignment="top" usebox="none">
4909 \begin_inset Text
4910
4911 \begin_layout Plain Layout
4912 Paolo
4913 \end_layout
4914
4915 \end_inset
4916 </cell>
4917 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4918 \begin_inset Text
4919
4920 \begin_layout Plain Layout
4921 555, 222
4922 \end_layout
4923
4924 \end_inset
4925 </cell>
4926 </row>
4927 <row>
4928 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4929 \begin_inset Text
4930
4931 \begin_layout Plain Layout
4932
4933 \series bold
4934 Radina
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Plain Layout
4943 Claudio
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Plain Layout
4952 555
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 </row>
4958 <row>
4959 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Plain Layout
4963
4964 \series bold
4965 Stuffer
4966 \end_layout
4967
4968 \end_inset
4969 </cell>
4970 <cell alignment="center" valignment="top" usebox="none">
4971 \begin_inset Text
4972
4973 \begin_layout Plain Layout
4974 Oskar
4975 \end_layout
4976
4977 \end_inset
4978 </cell>
4979 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4980 \begin_inset Text
4981
4982 \begin_layout Plain Layout
4983 555
4984 \end_layout
4985
4986 \end_inset
4987 </cell>
4988 </row>
4989 <row>
4990 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4991 \begin_inset Text
4992
4993 \begin_layout Plain Layout
4994
4995 \series bold
4996 Tacchelli
4997 \end_layout
4998
4999 \end_inset
5000 </cell>
5001 <cell alignment="center" valignment="top" usebox="none">
5002 \begin_inset Text
5003
5004 \begin_layout Plain Layout
5005 Ugo
5006 \end_layout
5007
5008 \end_inset
5009 </cell>
5010 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5011 \begin_inset Text
5012
5013 \begin_layout Plain Layout
5014 555
5015 \end_layout
5016
5017 \end_inset
5018 </cell>
5019 </row>
5020 <row>
5021 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5022 \begin_inset Text
5023
5024 \begin_layout Plain Layout
5025
5026 \series bold
5027 Tezzele
5028 \end_layout
5029
5030 \end_inset
5031 </cell>
5032 <cell alignment="center" valignment="top" usebox="none">
5033 \begin_inset Text
5034
5035 \begin_layout Plain Layout
5036 Margit
5037 \end_layout
5038
5039 \end_inset
5040 </cell>
5041 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5042 \begin_inset Text
5043
5044 \begin_layout Plain Layout
5045 555
5046 \end_layout
5047
5048 \end_inset
5049 </cell>
5050 </row>
5051 <row>
5052 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5053 \begin_inset Text
5054
5055 \begin_layout Plain Layout
5056
5057 \series bold
5058 Unterkalmsteiner
5059 \end_layout
5060
5061 \end_inset
5062 </cell>
5063 <cell alignment="center" valignment="top" usebox="none">
5064 \begin_inset Text
5065
5066 \begin_layout Plain Layout
5067 Frieda
5068 \end_layout
5069
5070 \end_inset
5071 </cell>
5072 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5073 \begin_inset Text
5074
5075 \begin_layout Plain Layout
5076 555
5077 \end_layout
5078
5079 \end_inset
5080 </cell>
5081 </row>
5082 <row>
5083 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5084 \begin_inset Text
5085
5086 \begin_layout Plain Layout
5087
5088 \series bold
5089 Vieider
5090 \end_layout
5091
5092 \end_inset
5093 </cell>
5094 <cell alignment="center" valignment="top" usebox="none">
5095 \begin_inset Text
5096
5097 \begin_layout Plain Layout
5098 Hilde
5099 \end_layout
5100
5101 \end_inset
5102 </cell>
5103 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5104 \begin_inset Text
5105
5106 \begin_layout Plain Layout
5107 555
5108 \end_layout
5109
5110 \end_inset
5111 </cell>
5112 </row>
5113 <row>
5114 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5115 \begin_inset Text
5116
5117 \begin_layout Plain Layout
5118
5119 \series bold
5120 Vigna
5121 \end_layout
5122
5123 \end_inset
5124 </cell>
5125 <cell alignment="center" valignment="top" usebox="none">
5126 \begin_inset Text
5127
5128 \begin_layout Plain Layout
5129 Jürgen
5130 \end_layout
5131
5132 \end_inset
5133 </cell>
5134 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5135 \begin_inset Text
5136
5137 \begin_layout Plain Layout
5138 999
5139 \end_layout
5140
5141 \end_inset
5142 </cell>
5143 </row>
5144 <row>
5145 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5146 \begin_inset Text
5147
5148 \begin_layout Plain Layout
5149
5150 \series bold
5151 Weber
5152 \end_layout
5153
5154 \end_inset
5155 </cell>
5156 <cell alignment="center" valignment="top" usebox="none">
5157 \begin_inset Text
5158
5159 \begin_layout Plain Layout
5160 Maurizio
5161 \end_layout
5162
5163 \end_inset
5164 </cell>
5165 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5166 \begin_inset Text
5167
5168 \begin_layout Plain Layout
5169 555
5170 \end_layout
5171
5172 \end_inset
5173 </cell>
5174 </row>
5175 <row>
5176 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5177 \begin_inset Text
5178
5179 \begin_layout Plain Layout
5180
5181 \series bold
5182 Winkler
5183 \end_layout
5184
5185 \end_inset
5186 </cell>
5187 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5188 \begin_inset Text
5189
5190 \begin_layout Plain Layout
5191 Franz
5192 \end_layout
5193
5194 \end_inset
5195 </cell>
5196 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5197 \begin_inset Text
5198
5199 \begin_layout Plain Layout
5200 555
5201 \end_layout
5202
5203 \end_inset
5204 </cell>
5205 </row>
5206 <row endlastfoot="true">
5207 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5208 \begin_inset Text
5209
5210 \begin_layout Plain Layout
5211 end
5212 \end_layout
5213
5214 \end_inset
5215 </cell>
5216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5217 \begin_inset Text
5218
5219 \begin_layout Plain Layout
5220
5221 \end_layout
5222
5223 \end_inset
5224 </cell>
5225 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5226 \begin_inset Text
5227
5228 \begin_layout Plain Layout
5229
5230 \end_layout
5231
5232 \end_inset
5233 </cell>
5234 </row>
5235 </lyxtabular>
5236
5237 \end_inset
5238
5239
5240 \begin_inset ERT
5241 status collapsed
5242
5243 \begin_layout Plain Layout
5244
5245
5246 \backslash
5247 addtocounter{table}{-1}
5248 \end_layout
5249
5250 \end_inset
5251
5252
5253 \begin_inset Note Note
5254 status collapsed
5255
5256 \begin_layout Plain Layout
5257 See greyed-out note in section
5258 \begin_inset space ~
5259 \end_inset
5260
5261
5262 \begin_inset CommandInset ref
5263 LatexCommand ref
5264 reference "sub:Longtable-Captions"
5265
5266 \end_inset
5267
5268  for an explanation of this command.
5269 \end_layout
5270
5271 \end_inset
5272
5273
5274 \end_layout
5275
5276 \begin_layout Subsection
5277 Footnotes in Longtables
5278 \begin_inset CommandInset label
5279 LatexCommand label
5280 name "sub:Footnotes-in-Longtables"
5281
5282 \end_inset
5283
5284
5285 \begin_inset Index
5286 status collapsed
5287
5288 \begin_layout Plain Layout
5289 Longtables ! Footnotes
5290 \end_layout
5291
5292 \end_inset
5293
5294
5295 \end_layout
5296
5297 \begin_layout Standard
5298 Footnotes can be inserted to every longtable cell.
5299  They appear at the bottom of the page where the table cell with the footnote
5300  appears.
5301  Table
5302 \begin_inset space ~
5303 \end_inset
5304
5305
5306 \begin_inset CommandInset ref
5307 LatexCommand ref
5308 reference "tab:DiffCaptions"
5309
5310 \end_inset
5311
5312  has for example a footnote.
5313 \end_layout
5314
5315 \begin_layout Subsection
5316 Longtable Alignment
5317 \begin_inset Index
5318 status collapsed
5319
5320 \begin_layout Plain Layout
5321 Longtables ! Alignment
5322 \end_layout
5323
5324 \end_inset
5325
5326
5327 \end_layout
5328
5329 \begin_layout Standard
5330 Longtables are by default centered.
5331  In contrary to the alignment of the table columns and row, the table alignment
5332  can currently not be changed in the table dialog.
5333  To change the alignment of longtables you have to change the value of the
5334  lengths 
5335 \series bold
5336
5337 \backslash
5338 LTleft 
5339 \series default
5340 and 
5341 \series bold
5342
5343 \backslash
5344 LTright
5345 \series default
5346  by inserting this line as TeX-Code before the corresponding longtable:
5347 \end_layout
5348
5349 \begin_layout Standard
5350
5351 \series bold
5352
5353 \backslash
5354 setlength{
5355 \backslash
5356 LTleft}{value}
5357 \end_layout
5358
5359 \begin_layout Standard
5360 Where the value can have any of the units listed in Table
5361 \begin_inset space ~
5362 \end_inset
5363
5364
5365 \begin_inset CommandInset ref
5366 LatexCommand ref
5367 reference "tab:Units"
5368
5369 \end_inset
5370
5371 .
5372  
5373 \series bold
5374
5375 \backslash
5376 LTleft
5377 \series default
5378  controls the horizontal distance from the left page border to the longtable,
5379  
5380 \series bold
5381
5382 \backslash
5383 LTright
5384 \series default
5385  the distance from the right side.
5386  The default value for both lengths is 
5387 \series bold
5388
5389 \backslash
5390 fill
5391 \series default
5392 , which is in this case the same as an horizontal fill in LyX.
5393 \end_layout
5394
5395 \begin_layout Standard
5396 The following longtable was left-aligned by setting 
5397 \series bold
5398
5399 \backslash
5400 LTleft
5401 \series default
5402  to 0
5403 \begin_inset space \thinspace{}
5404 \end_inset
5405
5406 pt.
5407 \begin_inset ERT
5408 status collapsed
5409
5410 \begin_layout Plain Layout
5411
5412
5413 \backslash
5414 setlength{
5415 \backslash
5416 LTleft}{0pt}
5417 \end_layout
5418
5419 \end_inset
5420
5421
5422 \end_layout
5423
5424 \begin_layout Standard
5425 \begin_inset Tabular
5426 <lyxtabular version="3" rows="5" columns="5">
5427 <features islongtable="true">
5428 <column alignment="center" valignment="top" width="0">
5429 <column alignment="center" valignment="top" width="0">
5430 <column alignment="center" valignment="top" width="0">
5431 <column alignment="center" valignment="top" width="0">
5432 <column alignment="center" valignment="top" width="0">
5433 <row>
5434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_inset Text
5436
5437 \begin_layout Plain Layout
5438 1
5439 \end_layout
5440
5441 \end_inset
5442 </cell>
5443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5444 \begin_inset Text
5445
5446 \begin_layout Plain Layout
5447 2
5448 \end_layout
5449
5450 \end_inset
5451 </cell>
5452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5453 \begin_inset Text
5454
5455 \begin_layout Plain Layout
5456 3
5457 \end_layout
5458
5459 \end_inset
5460 </cell>
5461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5462 \begin_inset Text
5463
5464 \begin_layout Plain Layout
5465 4
5466 \end_layout
5467
5468 \end_inset
5469 </cell>
5470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5471 \begin_inset Text
5472
5473 \begin_layout Plain Layout
5474 5
5475 \end_layout
5476
5477 \end_inset
5478 </cell>
5479 </row>
5480 <row>
5481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5482 \begin_inset Text
5483
5484 \begin_layout Plain Layout
5485 asd
5486 \end_layout
5487
5488 \end_inset
5489 </cell>
5490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5491 \begin_inset Text
5492
5493 \begin_layout Plain Layout
5494 s
5495 \end_layout
5496
5497 \end_inset
5498 </cell>
5499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5500 \begin_inset Text
5501
5502 \begin_layout Plain Layout
5503 s
5504 \end_layout
5505
5506 \end_inset
5507 </cell>
5508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5509 \begin_inset Text
5510
5511 \begin_layout Plain Layout
5512 s
5513 \end_layout
5514
5515 \end_inset
5516 </cell>
5517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5518 \begin_inset Text
5519
5520 \begin_layout Plain Layout
5521 asd
5522 \end_layout
5523
5524 \end_inset
5525 </cell>
5526 </row>
5527 <row>
5528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5529 \begin_inset Text
5530
5531 \begin_layout Plain Layout
5532 asd
5533 \end_layout
5534
5535 \end_inset
5536 </cell>
5537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5538 \begin_inset Text
5539
5540 \begin_layout Plain Layout
5541 s
5542 \end_layout
5543
5544 \end_inset
5545 </cell>
5546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5547 \begin_inset Text
5548
5549 \begin_layout Plain Layout
5550 s
5551 \end_layout
5552
5553 \end_inset
5554 </cell>
5555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5556 \begin_inset Text
5557
5558 \begin_layout Plain Layout
5559 s
5560 \end_layout
5561
5562 \end_inset
5563 </cell>
5564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5565 \begin_inset Text
5566
5567 \begin_layout Plain Layout
5568 asd
5569 \end_layout
5570
5571 \end_inset
5572 </cell>
5573 </row>
5574 <row>
5575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5576 \begin_inset Text
5577
5578 \begin_layout Plain Layout
5579 asd
5580 \end_layout
5581
5582 \end_inset
5583 </cell>
5584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5585 \begin_inset Text
5586
5587 \begin_layout Plain Layout
5588 s
5589 \end_layout
5590
5591 \end_inset
5592 </cell>
5593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5594 \begin_inset Text
5595
5596 \begin_layout Plain Layout
5597 s
5598 \end_layout
5599
5600 \end_inset
5601 </cell>
5602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5603 \begin_inset Text
5604
5605 \begin_layout Plain Layout
5606 s
5607 \end_layout
5608
5609 \end_inset
5610 </cell>
5611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5612 \begin_inset Text
5613
5614 \begin_layout Plain Layout
5615 asd
5616 \end_layout
5617
5618 \end_inset
5619 </cell>
5620 </row>
5621 <row>
5622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5623 \begin_inset Text
5624
5625 \begin_layout Plain Layout
5626 asd
5627 \end_layout
5628
5629 \end_inset
5630 </cell>
5631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5632 \begin_inset Text
5633
5634 \begin_layout Plain Layout
5635 asd
5636 \end_layout
5637
5638 \end_inset
5639 </cell>
5640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5641 \begin_inset Text
5642
5643 \begin_layout Plain Layout
5644 asd
5645 \end_layout
5646
5647 \end_inset
5648 </cell>
5649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5650 \begin_inset Text
5651
5652 \begin_layout Plain Layout
5653 asd
5654 \end_layout
5655
5656 \end_inset
5657 </cell>
5658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5659 \begin_inset Text
5660
5661 \begin_layout Plain Layout
5662 asd
5663 \end_layout
5664
5665 \end_inset
5666 </cell>
5667 </row>
5668 </lyxtabular>
5669
5670 \end_inset
5671
5672
5673 \begin_inset ERT
5674 status collapsed
5675
5676 \begin_layout Plain Layout
5677
5678
5679 \backslash
5680 setlength{
5681 \backslash
5682 LTleft}{
5683 \backslash
5684 fill}
5685 \end_layout
5686
5687 \end_inset
5688
5689
5690 \end_layout
5691
5692 \begin_layout Subsection
5693 Longtable Captions
5694 \begin_inset Index
5695 status collapsed
5696
5697 \begin_layout Plain Layout
5698 Longtables ! Captions
5699 \end_layout
5700
5701 \end_inset
5702
5703
5704 \begin_inset CommandInset label
5705 LatexCommand label
5706 name "sub:Longtable-Captions"
5707
5708 \end_inset
5709
5710
5711 \end_layout
5712
5713 \begin_layout Standard
5714 A longtable cannot be put into a table float because floats can only be
5715  on one page but the caption environment of floats can also be used for
5716  longtables.
5717  Therefore the caption is inserted as first row of the table, as explained
5718  in sec.
5719 \begin_inset space \thinspace{}
5720 \end_inset
5721
5722
5723 \begin_inset CommandInset ref
5724 LatexCommand ref
5725 reference "sec:Longtables"
5726
5727 \end_inset
5728
5729 .
5730  The first table row is then only a dummy row for the caption, the actual
5731  table starts with the second row.
5732 \end_layout
5733
5734 \begin_layout Standard
5735 Here is a short longtable to see how it works:
5736 \end_layout
5737
5738 \begin_layout Standard
5739 \begin_inset Tabular
5740 <lyxtabular version="3" rows="6" columns="5">
5741 <features islongtable="true">
5742 <column alignment="center" valignment="top" width="0">
5743 <column alignment="center" valignment="top" width="0">
5744 <column alignment="center" valignment="top" width="0">
5745 <column alignment="center" valignment="top" width="0">
5746 <column alignment="center" valignment="top" width="0">
5747 <row caption="true">
5748 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5749 \begin_inset Text
5750
5751 \begin_layout Plain Layout
5752 \begin_inset Caption
5753
5754 \begin_layout Plain Layout
5755 Longtable with caption
5756 \begin_inset OptArg
5757 status open
5758
5759 \begin_layout Plain Layout
5760 Longtable
5761 \end_layout
5762
5763 \end_inset
5764
5765
5766 \end_layout
5767
5768 \end_inset
5769
5770
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5776 \begin_inset Text
5777
5778 \begin_layout Plain Layout
5779
5780 \end_layout
5781
5782 \end_inset
5783 </cell>
5784 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5785 \begin_inset Text
5786
5787 \begin_layout Plain Layout
5788
5789 \end_layout
5790
5791 \end_inset
5792 </cell>
5793 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5794 \begin_inset Text
5795
5796 \begin_layout Plain Layout
5797
5798 \end_layout
5799
5800 \end_inset
5801 </cell>
5802 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Plain Layout
5806
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 </row>
5812 <row>
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Plain Layout
5817 1
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_inset Text
5824
5825 \begin_layout Plain Layout
5826 2
5827 \end_layout
5828
5829 \end_inset
5830 </cell>
5831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5832 \begin_inset Text
5833
5834 \begin_layout Plain Layout
5835 3
5836 \end_layout
5837
5838 \end_inset
5839 </cell>
5840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_inset Text
5842
5843 \begin_layout Plain Layout
5844 4
5845 \end_layout
5846
5847 \end_inset
5848 </cell>
5849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5850 \begin_inset Text
5851
5852 \begin_layout Plain Layout
5853 5
5854 \end_layout
5855
5856 \end_inset
5857 </cell>
5858 </row>
5859 <row>
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Plain Layout
5864 asd
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_inset Text
5871
5872 \begin_layout Plain Layout
5873 s
5874 \end_layout
5875
5876 \end_inset
5877 </cell>
5878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_inset Text
5880
5881 \begin_layout Plain Layout
5882 s
5883 \end_layout
5884
5885 \end_inset
5886 </cell>
5887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5888 \begin_inset Text
5889
5890 \begin_layout Plain Layout
5891 s
5892 \end_layout
5893
5894 \end_inset
5895 </cell>
5896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5897 \begin_inset Text
5898
5899 \begin_layout Plain Layout
5900 asd
5901 \end_layout
5902
5903 \end_inset
5904 </cell>
5905 </row>
5906 <row>
5907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5908 \begin_inset Text
5909
5910 \begin_layout Plain Layout
5911 asd
5912 \end_layout
5913
5914 \end_inset
5915 </cell>
5916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5917 \begin_inset Text
5918
5919 \begin_layout Plain Layout
5920 s
5921 \end_layout
5922
5923 \end_inset
5924 </cell>
5925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5926 \begin_inset Text
5927
5928 \begin_layout Plain Layout
5929 s
5930 \end_layout
5931
5932 \end_inset
5933 </cell>
5934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5935 \begin_inset Text
5936
5937 \begin_layout Plain Layout
5938 s
5939 \end_layout
5940
5941 \end_inset
5942 </cell>
5943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5944 \begin_inset Text
5945
5946 \begin_layout Plain Layout
5947 asd
5948 \end_layout
5949
5950 \end_inset
5951 </cell>
5952 </row>
5953 <row>
5954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5955 \begin_inset Text
5956
5957 \begin_layout Plain Layout
5958 asd
5959 \end_layout
5960
5961 \end_inset
5962 </cell>
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5964 \begin_inset Text
5965
5966 \begin_layout Plain Layout
5967 s
5968 \end_layout
5969
5970 \end_inset
5971 </cell>
5972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5973 \begin_inset Text
5974
5975 \begin_layout Plain Layout
5976 s
5977 \end_layout
5978
5979 \end_inset
5980 </cell>
5981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5982 \begin_inset Text
5983
5984 \begin_layout Plain Layout
5985 s
5986 \end_layout
5987
5988 \end_inset
5989 </cell>
5990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5991 \begin_inset Text
5992
5993 \begin_layout Plain Layout
5994 asd
5995 \end_layout
5996
5997 \end_inset
5998 </cell>
5999 </row>
6000 <row>
6001 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6002 \begin_inset Text
6003
6004 \begin_layout Plain Layout
6005 asd
6006 \end_layout
6007
6008 \end_inset
6009 </cell>
6010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6011 \begin_inset Text
6012
6013 \begin_layout Plain Layout
6014 asd
6015 \end_layout
6016
6017 \end_inset
6018 </cell>
6019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6020 \begin_inset Text
6021
6022 \begin_layout Plain Layout
6023 asd
6024 \end_layout
6025
6026 \end_inset
6027 </cell>
6028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6029 \begin_inset Text
6030
6031 \begin_layout Plain Layout
6032 asd
6033 \end_layout
6034
6035 \end_inset
6036 </cell>
6037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6038 \begin_inset Text
6039
6040 \begin_layout Plain Layout
6041 asd
6042 \end_layout
6043
6044 \end_inset
6045 </cell>
6046 </row>
6047 </lyxtabular>
6048
6049 \end_inset
6050
6051
6052 \end_layout
6053
6054 \begin_layout Standard
6055 \begin_inset VSpace medskip
6056 \end_inset
6057
6058
6059 \begin_inset Note Greyedout
6060 status open
6061
6062 \begin_layout Plain Layout
6063
6064 \series bold
6065 Note:
6066 \series default
6067  The table number is increased for every longtable, also if you didn't set
6068  a caption for it.
6069  For this reason you could have the case that e.
6070 \begin_inset space \thinspace{}
6071 \end_inset
6072
6073 g.
6074 \begin_inset space \space{}
6075 \end_inset
6076
6077 Table
6078 \begin_inset space ~
6079 \end_inset
6080
6081 2.4 follows on Table
6082 \begin_inset space ~
6083 \end_inset
6084
6085 2.1 in the list of tables if there are two longtables without captions.
6086  To avoid this you can add the following command in TeX-Code behind every
6087  longtable without a caption:
6088 \end_layout
6089
6090 \begin_layout Plain Layout
6091
6092 \series bold
6093
6094 \backslash
6095 addtocounter{table}{-1}
6096 \end_layout
6097
6098 \end_inset
6099
6100
6101 \end_layout
6102
6103 \begin_layout Standard
6104 \begin_inset Note Greyedout
6105 status open
6106
6107 \begin_layout Plain Layout
6108
6109 \series bold
6110 Note:
6111 \series default
6112  If you are using
6113 \series bold
6114  hyperref
6115 \series default
6116
6117 \begin_inset Index
6118 status collapsed
6119
6120 \begin_layout Plain Layout
6121 LaTeX-packages ! hyperref
6122 \end_layout
6123
6124 \end_inset
6125
6126  in the 
6127 \family sans
6128 PDF Properties
6129 \family default
6130  of the 
6131 \family sans
6132 Document Settings
6133 \family default
6134  dialog to link cross-references, the link to a longtable caption will always
6135  point to the beginning of the document.
6136 \end_layout
6137
6138 \end_inset
6139
6140
6141 \end_layout
6142
6143 \begin_layout Standard
6144 \begin_inset Newpage newpage
6145 \end_inset
6146
6147
6148 \end_layout
6149
6150 \begin_layout Subsubsection
6151 References to Longtables
6152 \begin_inset Index
6153 status collapsed
6154
6155 \begin_layout Plain Layout
6156 Longtables ! References
6157 \end_layout
6158
6159 \end_inset
6160
6161
6162 \end_layout
6163
6164 \begin_layout Standard
6165 \begin_inset Tabular
6166 <lyxtabular version="3" rows="6" columns="5">
6167 <features islongtable="true">
6168 <column alignment="center" valignment="top" width="0">
6169 <column alignment="center" valignment="top" width="0">
6170 <column alignment="center" valignment="top" width="0">
6171 <column alignment="center" valignment="top" width="0">
6172 <column alignment="center" valignment="top" width="0">
6173 <row caption="true">
6174 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6175 \begin_inset Text
6176
6177 \begin_layout Plain Layout
6178 \begin_inset Caption
6179
6180 \begin_layout Plain Layout
6181 Referenced longtable
6182 \begin_inset CommandInset label
6183 LatexCommand label
6184 name "tab:RefExample"
6185
6186 \end_inset
6187
6188
6189 \end_layout
6190
6191 \end_inset
6192
6193
6194 \end_layout
6195
6196 \end_inset
6197 </cell>
6198 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6199 \begin_inset Text
6200
6201 \begin_layout Plain Layout
6202
6203 \end_layout
6204
6205 \end_inset
6206 </cell>
6207 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6208 \begin_inset Text
6209
6210 \begin_layout Plain Layout
6211
6212 \end_layout
6213
6214 \end_inset
6215 </cell>
6216 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6217 \begin_inset Text
6218
6219 \begin_layout Plain Layout
6220
6221 \end_layout
6222
6223 \end_inset
6224 </cell>
6225 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6226 \begin_inset Text
6227
6228 \begin_layout Plain Layout
6229
6230 \end_layout
6231
6232 \end_inset
6233 </cell>
6234 </row>
6235 <row>
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_inset Text
6238
6239 \begin_layout Plain Layout
6240 1
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 Plain Layout
6249 2
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 Plain Layout
6258 3
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 Plain Layout
6267 4
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 Plain Layout
6276 5
6277 \end_layout
6278
6279 \end_inset
6280 </cell>
6281 </row>
6282 <row>
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6284 \begin_inset Text
6285
6286 \begin_layout Plain Layout
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 Plain Layout
6296 s
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 Plain Layout
6305 s
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 Plain Layout
6314 s
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 Plain Layout
6323 asd
6324 \end_layout
6325
6326 \end_inset
6327 </cell>
6328 </row>
6329 <row>
6330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6331 \begin_inset Text
6332
6333 \begin_layout Plain Layout
6334 asd
6335 \end_layout
6336
6337 \end_inset
6338 </cell>
6339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6340 \begin_inset Text
6341
6342 \begin_layout Plain Layout
6343 s
6344 \end_layout
6345
6346 \end_inset
6347 </cell>
6348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6349 \begin_inset Text
6350
6351 \begin_layout Plain Layout
6352 s
6353 \end_layout
6354
6355 \end_inset
6356 </cell>
6357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6358 \begin_inset Text
6359
6360 \begin_layout Plain Layout
6361 s
6362 \end_layout
6363
6364 \end_inset
6365 </cell>
6366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6367 \begin_inset Text
6368
6369 \begin_layout Plain Layout
6370 asd
6371 \end_layout
6372
6373 \end_inset
6374 </cell>
6375 </row>
6376 <row>
6377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6378 \begin_inset Text
6379
6380 \begin_layout Plain Layout
6381 asd
6382 \end_layout
6383
6384 \end_inset
6385 </cell>
6386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6387 \begin_inset Text
6388
6389 \begin_layout Plain Layout
6390 s
6391 \end_layout
6392
6393 \end_inset
6394 </cell>
6395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6396 \begin_inset Text
6397
6398 \begin_layout Plain Layout
6399 s
6400 \end_layout
6401
6402 \end_inset
6403 </cell>
6404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6405 \begin_inset Text
6406
6407 \begin_layout Plain Layout
6408 s
6409 \end_layout
6410
6411 \end_inset
6412 </cell>
6413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6414 \begin_inset Text
6415
6416 \begin_layout Plain Layout
6417 asd
6418 \end_layout
6419
6420 \end_inset
6421 </cell>
6422 </row>
6423 <row>
6424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6425 \begin_inset Text
6426
6427 \begin_layout Plain Layout
6428 asd
6429 \end_layout
6430
6431 \end_inset
6432 </cell>
6433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6434 \begin_inset Text
6435
6436 \begin_layout Plain Layout
6437 sad
6438 \end_layout
6439
6440 \end_inset
6441 </cell>
6442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6443 \begin_inset Text
6444
6445 \begin_layout Plain Layout
6446 asd
6447 \end_layout
6448
6449 \end_inset
6450 </cell>
6451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6452 \begin_inset Text
6453
6454 \begin_layout Plain Layout
6455 asd
6456 \end_layout
6457
6458 \end_inset
6459 </cell>
6460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6461 \begin_inset Text
6462
6463 \begin_layout Plain Layout
6464 asd
6465 \end_layout
6466
6467 \end_inset
6468 </cell>
6469 </row>
6470 </lyxtabular>
6471
6472 \end_inset
6473
6474
6475 \end_layout
6476
6477 \begin_layout Standard
6478 To reference a longtable, insert a label into the caption.
6479 \end_layout
6480
6481 \begin_layout Standard
6482 This is a reference to Table
6483 \begin_inset space ~
6484 \end_inset
6485
6486
6487 \begin_inset CommandInset ref
6488 LatexCommand ref
6489 reference "tab:RefExample"
6490
6491 \end_inset
6492
6493 .
6494 \end_layout
6495
6496 \begin_layout Standard
6497 The caption layout can be set together with all other captions of your document
6498  using the LaTeX-package 
6499 \series bold
6500 caption
6501 \series default
6502
6503 \begin_inset Index
6504 status collapsed
6505
6506 \begin_layout Plain Layout
6507 LaTeX-packages ! caption
6508 \end_layout
6509
6510 \end_inset
6511
6512 , see section
6513 \begin_inset space ~
6514 \end_inset
6515
6516
6517 \begin_inset CommandInset ref
6518 LatexCommand ref
6519 reference "sec:Caption-Formatting"
6520
6521 \end_inset
6522
6523 .
6524 \end_layout
6525
6526 \begin_layout Subsubsection
6527 Caption Width
6528 \begin_inset Index
6529 status collapsed
6530
6531 \begin_layout Plain Layout
6532 Longtables ! Caption Width
6533 \end_layout
6534
6535 \end_inset
6536
6537
6538 \end_layout
6539
6540 \begin_layout Standard
6541 The maximal width of of caption lines is defined by the length 
6542 \series bold
6543
6544 \backslash
6545 LTcapwidth
6546 \series default
6547 .
6548  Its default value is 4
6549 \begin_inset space \thinspace{}
6550 \end_inset
6551
6552 in.
6553  To change it add the following command to your document preamble or as
6554  TeX-Code into your document before the longtable that should be affected
6555 \end_layout
6556
6557 \begin_layout Standard
6558
6559 \series bold
6560
6561 \backslash
6562 setlength{
6563 \backslash
6564 LTcapwidth}{width}
6565 \end_layout
6566
6567 \begin_layout Standard
6568 where the width could have one of the units listed in appendix
6569 \begin_inset space ~
6570 \end_inset
6571
6572
6573 \begin_inset CommandInset ref
6574 LatexCommand ref
6575 reference "cha:Units-available-in"
6576
6577 \end_inset
6578
6579 .
6580 \end_layout
6581
6582 \begin_layout Standard
6583 The following tables show the difference:
6584 \end_layout
6585
6586 \begin_layout Standard
6587 \begin_inset Tabular
6588 <lyxtabular version="3" rows="6" columns="5">
6589 <features islongtable="true">
6590 <column alignment="center" valignment="top" width="0">
6591 <column alignment="center" valignment="top" width="0">
6592 <column alignment="center" valignment="top" width="0">
6593 <column alignment="center" valignment="top" width="0">
6594 <column alignment="center" valignment="top" width="0">
6595 <row caption="true">
6596 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6597 \begin_inset Text
6598
6599 \begin_layout Plain Layout
6600 \begin_inset Caption
6601
6602 \begin_layout Plain Layout
6603 long full title with default width long full title with default width long
6604  full title with default width
6605 \begin_inset OptArg
6606 status collapsed
6607
6608 \begin_layout Plain Layout
6609 caption with default width
6610 \end_layout
6611
6612 \end_inset
6613
6614
6615 \end_layout
6616
6617 \end_inset
6618
6619
6620 \end_layout
6621
6622 \end_inset
6623 </cell>
6624 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6625 \begin_inset Text
6626
6627 \begin_layout Plain Layout
6628
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6634 \begin_inset Text
6635
6636 \begin_layout Plain Layout
6637
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Plain Layout
6646
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6652 \begin_inset Text
6653
6654 \begin_layout Plain Layout
6655
6656 \end_layout
6657
6658 \end_inset
6659 </cell>
6660 </row>
6661 <row>
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Plain Layout
6666 1
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Plain Layout
6675 2
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6681 \begin_inset Text
6682
6683 \begin_layout Plain Layout
6684 3
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6690 \begin_inset Text
6691
6692 \begin_layout Plain Layout
6693 4
6694 \end_layout
6695
6696 \end_inset
6697 </cell>
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6699 \begin_inset Text
6700
6701 \begin_layout Plain Layout
6702 5
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 </row>
6708 <row>
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Plain Layout
6713 asd
6714 \end_layout
6715
6716 \end_inset
6717 </cell>
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6719 \begin_inset Text
6720
6721 \begin_layout Plain Layout
6722 s
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Plain Layout
6731 s
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6737 \begin_inset Text
6738
6739 \begin_layout Plain Layout
6740 s
6741 \end_layout
6742
6743 \end_inset
6744 </cell>
6745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6746 \begin_inset Text
6747
6748 \begin_layout Plain Layout
6749 asd
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 </row>
6755 <row>
6756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6757 \begin_inset Text
6758
6759 \begin_layout Plain Layout
6760 asd
6761 \end_layout
6762
6763 \end_inset
6764 </cell>
6765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6766 \begin_inset Text
6767
6768 \begin_layout Plain Layout
6769 s
6770 \end_layout
6771
6772 \end_inset
6773 </cell>
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Plain Layout
6778 s
6779 \end_layout
6780
6781 \end_inset
6782 </cell>
6783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6784 \begin_inset Text
6785
6786 \begin_layout Plain Layout
6787 s
6788 \end_layout
6789
6790 \end_inset
6791 </cell>
6792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6793 \begin_inset Text
6794
6795 \begin_layout Plain Layout
6796 asd
6797 \end_layout
6798
6799 \end_inset
6800 </cell>
6801 </row>
6802 <row>
6803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6804 \begin_inset Text
6805
6806 \begin_layout Plain Layout
6807 asd
6808 \end_layout
6809
6810 \end_inset
6811 </cell>
6812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6813 \begin_inset Text
6814
6815 \begin_layout Plain Layout
6816 s
6817 \end_layout
6818
6819 \end_inset
6820 </cell>
6821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6822 \begin_inset Text
6823
6824 \begin_layout Plain Layout
6825 s
6826 \end_layout
6827
6828 \end_inset
6829 </cell>
6830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6831 \begin_inset Text
6832
6833 \begin_layout Plain Layout
6834 s
6835 \end_layout
6836
6837 \end_inset
6838 </cell>
6839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6840 \begin_inset Text
6841
6842 \begin_layout Plain Layout
6843 asd
6844 \end_layout
6845
6846 \end_inset
6847 </cell>
6848 </row>
6849 <row>
6850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6851 \begin_inset Text
6852
6853 \begin_layout Plain Layout
6854 asd
6855 \end_layout
6856
6857 \end_inset
6858 </cell>
6859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6860 \begin_inset Text
6861
6862 \begin_layout Plain Layout
6863 sad
6864 \end_layout
6865
6866 \end_inset
6867 </cell>
6868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6869 \begin_inset Text
6870
6871 \begin_layout Plain Layout
6872 asd
6873 \end_layout
6874
6875 \end_inset
6876 </cell>
6877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6878 \begin_inset Text
6879
6880 \begin_layout Plain Layout
6881 asd
6882 \end_layout
6883
6884 \end_inset
6885 </cell>
6886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6887 \begin_inset Text
6888
6889 \begin_layout Plain Layout
6890 asd
6891 \end_layout
6892
6893 \end_inset
6894 </cell>
6895 </row>
6896 </lyxtabular>
6897
6898 \end_inset
6899
6900
6901 \end_layout
6902
6903 \begin_layout Standard
6904 \begin_inset ERT
6905 status collapsed
6906
6907 \begin_layout Plain Layout
6908
6909
6910 \backslash
6911 setlength{
6912 \backslash
6913 LTcapwidth}{5cm}
6914 \end_layout
6915
6916 \end_inset
6917
6918
6919 \begin_inset Tabular
6920 <lyxtabular version="3" rows="6" columns="5">
6921 <features islongtable="true">
6922 <column alignment="center" valignment="top" width="0">
6923 <column alignment="center" valignment="top" width="0">
6924 <column alignment="center" valignment="top" width="0">
6925 <column alignment="center" valignment="top" width="0">
6926 <column alignment="center" valignment="top" width="0">
6927 <row caption="true">
6928 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6929 \begin_inset Text
6930
6931 \begin_layout Plain Layout
6932 \begin_inset Caption
6933
6934 \begin_layout Plain Layout
6935 long full title with width set to 5
6936 \begin_inset space \thinspace{}
6937 \end_inset
6938
6939 cm long full title with width set to 5
6940 \begin_inset space \thinspace{}
6941 \end_inset
6942
6943 cm long full title with width set to 5
6944 \begin_inset space \thinspace{}
6945 \end_inset
6946
6947 cm
6948 \begin_inset OptArg
6949 status collapsed
6950
6951 \begin_layout Plain Layout
6952 caption with width
6953 \begin_inset space \thinspace{}
6954 \end_inset
6955
6956 =
6957 \begin_inset space \thinspace{}
6958 \end_inset
6959
6960 5
6961 \begin_inset space \thinspace{}
6962 \end_inset
6963
6964 cm
6965 \end_layout
6966
6967 \end_inset
6968
6969
6970 \end_layout
6971
6972 \end_inset
6973
6974
6975 \end_layout
6976
6977 \end_inset
6978 </cell>
6979 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6980 \begin_inset Text
6981
6982 \begin_layout Plain Layout
6983
6984 \end_layout
6985
6986 \end_inset
6987 </cell>
6988 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6989 \begin_inset Text
6990
6991 \begin_layout Plain Layout
6992
6993 \end_layout
6994
6995 \end_inset
6996 </cell>
6997 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6998 \begin_inset Text
6999
7000 \begin_layout Plain Layout
7001
7002 \end_layout
7003
7004 \end_inset
7005 </cell>
7006 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Plain Layout
7010
7011 \end_layout
7012
7013 \end_inset
7014 </cell>
7015 </row>
7016 <row>
7017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7018 \begin_inset Text
7019
7020 \begin_layout Plain Layout
7021 1
7022 \end_layout
7023
7024 \end_inset
7025 </cell>
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7027 \begin_inset Text
7028
7029 \begin_layout Plain Layout
7030 2
7031 \end_layout
7032
7033 \end_inset
7034 </cell>
7035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7036 \begin_inset Text
7037
7038 \begin_layout Plain Layout
7039 3
7040 \end_layout
7041
7042 \end_inset
7043 </cell>
7044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7045 \begin_inset Text
7046
7047 \begin_layout Plain Layout
7048 4
7049 \end_layout
7050
7051 \end_inset
7052 </cell>
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7054 \begin_inset Text
7055
7056 \begin_layout Plain Layout
7057 5
7058 \end_layout
7059
7060 \end_inset
7061 </cell>
7062 </row>
7063 <row>
7064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7065 \begin_inset Text
7066
7067 \begin_layout Plain Layout
7068 asd
7069 \end_layout
7070
7071 \end_inset
7072 </cell>
7073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7074 \begin_inset Text
7075
7076 \begin_layout Plain Layout
7077 s
7078 \end_layout
7079
7080 \end_inset
7081 </cell>
7082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7083 \begin_inset Text
7084
7085 \begin_layout Plain Layout
7086 s
7087 \end_layout
7088
7089 \end_inset
7090 </cell>
7091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7092 \begin_inset Text
7093
7094 \begin_layout Plain Layout
7095 s
7096 \end_layout
7097
7098 \end_inset
7099 </cell>
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7101 \begin_inset Text
7102
7103 \begin_layout Plain Layout
7104 asd
7105 \end_layout
7106
7107 \end_inset
7108 </cell>
7109 </row>
7110 <row>
7111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7112 \begin_inset Text
7113
7114 \begin_layout Plain Layout
7115 asd
7116 \end_layout
7117
7118 \end_inset
7119 </cell>
7120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7121 \begin_inset Text
7122
7123 \begin_layout Plain Layout
7124 s
7125 \end_layout
7126
7127 \end_inset
7128 </cell>
7129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7130 \begin_inset Text
7131
7132 \begin_layout Plain Layout
7133 s
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Plain Layout
7142 s
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Plain Layout
7151 asd
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 </row>
7157 <row>
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7159 \begin_inset Text
7160
7161 \begin_layout Plain Layout
7162 asd
7163 \end_layout
7164
7165 \end_inset
7166 </cell>
7167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7168 \begin_inset Text
7169
7170 \begin_layout Plain Layout
7171 s
7172 \end_layout
7173
7174 \end_inset
7175 </cell>
7176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7177 \begin_inset Text
7178
7179 \begin_layout Plain Layout
7180 s
7181 \end_layout
7182
7183 \end_inset
7184 </cell>
7185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7186 \begin_inset Text
7187
7188 \begin_layout Plain Layout
7189 s
7190 \end_layout
7191
7192 \end_inset
7193 </cell>
7194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7195 \begin_inset Text
7196
7197 \begin_layout Plain Layout
7198 asd
7199 \end_layout
7200
7201 \end_inset
7202 </cell>
7203 </row>
7204 <row>
7205 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7206 \begin_inset Text
7207
7208 \begin_layout Plain Layout
7209 asd
7210 \end_layout
7211
7212 \end_inset
7213 </cell>
7214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7215 \begin_inset Text
7216
7217 \begin_layout Plain Layout
7218 sad
7219 \end_layout
7220
7221 \end_inset
7222 </cell>
7223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7224 \begin_inset Text
7225
7226 \begin_layout Plain Layout
7227 asd
7228 \end_layout
7229
7230 \end_inset
7231 </cell>
7232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7233 \begin_inset Text
7234
7235 \begin_layout Plain Layout
7236 asd
7237 \end_layout
7238
7239 \end_inset
7240 </cell>
7241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7242 \begin_inset Text
7243
7244 \begin_layout Plain Layout
7245 asd
7246 \end_layout
7247
7248 \end_inset
7249 </cell>
7250 </row>
7251 </lyxtabular>
7252
7253 \end_inset
7254
7255
7256 \end_layout
7257
7258 \begin_layout Standard
7259 \begin_inset ERT
7260 status collapsed
7261
7262 \begin_layout Plain Layout
7263
7264
7265 \backslash
7266 setlength{
7267 \backslash
7268 LTcapwidth}{4in}
7269 \end_layout
7270
7271 \end_inset
7272
7273
7274 \end_layout
7275
7276 \begin_layout Standard
7277 \begin_inset Note Greyedout
7278 status open
7279
7280 \begin_layout Plain Layout
7281
7282 \series bold
7283 Note:
7284 \series default
7285  When the LaTeX-package 
7286 \series bold
7287 caption
7288 \series default
7289
7290 \begin_inset Index
7291 status collapsed
7292
7293 \begin_layout Plain Layout
7294 LaTeX-packages ! caption
7295 \end_layout
7296
7297 \end_inset
7298
7299  is used, as in this document, the full page width is used for the caption
7300  when you use the default value of 4
7301 \begin_inset space \thinspace{}
7302 \end_inset
7303
7304 in for 
7305 \series bold
7306
7307 \backslash
7308 LTcapwidth
7309 \series default
7310 .
7311  To get in this case exactly a 4
7312 \begin_inset space \thinspace{}
7313 \end_inset
7314
7315 in wide caption, you can either use a value slightly different from 4.0
7316 \begin_inset space \thinspace{}
7317 \end_inset
7318
7319 in, e.
7320 \begin_inset space \thinspace{}
7321 \end_inset
7322
7323 g.
7324 \begin_inset space \space{}
7325 \end_inset
7326
7327 3.99
7328 \begin_inset space \thinspace{}
7329 \end_inset
7330
7331 in, or the LaTeX-command 
7332 \series bold
7333
7334 \backslash
7335 captionsetup{width=value}
7336 \series default
7337  that is provided by the 
7338 \series bold
7339 caption
7340 \series default
7341 -package.
7342 \end_layout
7343
7344 \end_inset
7345
7346
7347 \end_layout
7348
7349 \begin_layout Subsubsection
7350 Different Captions for Table Pages
7351 \begin_inset Index
7352 status collapsed
7353
7354 \begin_layout Plain Layout
7355 Longtables ! Different Captions for Pages
7356 \end_layout
7357
7358 \end_inset
7359
7360
7361 \end_layout
7362
7363 \begin_layout Standard
7364 When the other captions should differ from the one of the first table page,
7365  insert a caption with a non-empty short title in a dummy caption row marked
7366  as first header.
7367  The caption used for the other table pages is inserted as caption without
7368  a short title in a dummy caption row that is marked as main header.
7369  When this caption shouldn't include the table number, use the command
7370 \end_layout
7371
7372 \begin_layout Standard
7373
7374 \series bold
7375
7376 \backslash
7377 caption*{caption text}
7378 \end_layout
7379
7380 \begin_layout Standard
7381 instead of LyX's caption box.
7382  The label to reference the table is inserted into the caption of the first
7383  header.
7384  Table
7385 \begin_inset space ~
7386 \end_inset
7387
7388
7389 \begin_inset CommandInset ref
7390 LatexCommand ref
7391 reference "tab:DiffCaptions"
7392
7393 \end_inset
7394
7395  is an example for a longtable with different heading where the second caption
7396  doesn't include the table number.
7397 \end_layout
7398
7399 \begin_layout Standard
7400 \align center
7401 \begin_inset Tabular
7402 <lyxtabular version="3" rows="60" columns="3">
7403 <features islongtable="true">
7404 <column alignment="left" valignment="top" width="0cm">
7405 <column alignment="left" valignment="top" width="0pt">
7406 <column alignment="center" valignment="top" width="0pt">
7407 <row endfirsthead="true" caption="true">
7408 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7409 \begin_inset Text
7410
7411 \begin_layout Plain Layout
7412 \begin_inset Caption
7413
7414 \begin_layout Plain Layout
7415 Example Phone List
7416 \begin_inset CommandInset label
7417 LatexCommand label
7418 name "tab:DiffCaptions"
7419
7420 \end_inset
7421
7422
7423 \begin_inset OptArg
7424 status collapsed
7425
7426 \begin_layout Plain Layout
7427 Example Phone List
7428 \end_layout
7429
7430 \end_inset
7431
7432
7433 \end_layout
7434
7435 \end_inset
7436
7437
7438 \end_layout
7439
7440 \end_inset
7441 </cell>
7442 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7443 \begin_inset Text
7444
7445 \begin_layout Plain Layout
7446
7447 \end_layout
7448
7449 \end_inset
7450 </cell>
7451 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7452 \begin_inset Text
7453
7454 \begin_layout Plain Layout
7455
7456 \end_layout
7457
7458 \end_inset
7459 </cell>
7460 </row>
7461 <row endfirsthead="true">
7462 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7463 \begin_inset Text
7464
7465 \begin_layout Plain Layout
7466
7467 \series bold
7468 Example Phone List (ignore the names)
7469 \end_layout
7470
7471 \end_inset
7472 </cell>
7473 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7474 \begin_inset Text
7475
7476 \begin_layout Plain Layout
7477
7478 \end_layout
7479
7480 \end_inset
7481 </cell>
7482 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7483 \begin_inset Text
7484
7485 \begin_layout Plain Layout
7486
7487 \end_layout
7488
7489 \end_inset
7490 </cell>
7491 </row>
7492 <row endfirsthead="true">
7493 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7494 \begin_inset Text
7495
7496 \begin_layout Plain Layout
7497
7498 \series bold
7499 NAME
7500 \end_layout
7501
7502 \end_inset
7503 </cell>
7504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7505 \begin_inset Text
7506
7507 \begin_layout Plain Layout
7508
7509 \end_layout
7510
7511 \end_inset
7512 </cell>
7513 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7514 \begin_inset Text
7515
7516 \begin_layout Plain Layout
7517
7518 \series bold
7519 TEL.
7520 \end_layout
7521
7522 \end_inset
7523 </cell>
7524 </row>
7525 <row endhead="true" caption="true">
7526 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7527 \begin_inset Text
7528
7529 \begin_layout Plain Layout
7530 \begin_inset ERT
7531 status open
7532
7533 \begin_layout Plain Layout
7534
7535
7536 \backslash
7537 caption*{Continued Example Phone List}
7538 \backslash
7539
7540 \backslash
7541 %
7542 \end_layout
7543
7544 \end_inset
7545
7546
7547 \end_layout
7548
7549 \end_inset
7550 </cell>
7551 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Plain Layout
7555
7556 \end_layout
7557
7558 \end_inset
7559 </cell>
7560 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7561 \begin_inset Text
7562
7563 \begin_layout Plain Layout
7564
7565 \end_layout
7566
7567 \end_inset
7568 </cell>
7569 </row>
7570 <row endhead="true">
7571 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7572 \begin_inset Text
7573
7574 \begin_layout Plain Layout
7575
7576 \series bold
7577 Example Phone List
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Plain Layout
7586
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7592 \begin_inset Text
7593
7594 \begin_layout Plain Layout
7595
7596 \end_layout
7597
7598 \end_inset
7599 </cell>
7600 </row>
7601 <row endhead="true">
7602 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Plain Layout
7606
7607 \series bold
7608 NAME
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Plain Layout
7617
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7623 \begin_inset Text
7624
7625 \begin_layout Plain Layout
7626
7627 \series bold
7628 TEL.
7629 \end_layout
7630
7631 \end_inset
7632 </cell>
7633 </row>
7634 <row endfoot="true">
7635 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7636 \begin_inset Text
7637
7638 \begin_layout Plain Layout
7639 continued on next page
7640 \end_layout
7641
7642 \end_inset
7643 </cell>
7644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Plain Layout
7648
7649 \end_layout
7650
7651 \end_inset
7652 </cell>
7653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7654 \begin_inset Text
7655
7656 \begin_layout Plain Layout
7657
7658 \end_layout
7659
7660 \end_inset
7661 </cell>
7662 </row>
7663 <row>
7664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Plain Layout
7668
7669 \series bold
7670 Annovi
7671 \end_layout
7672
7673 \end_inset
7674 </cell>
7675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Plain Layout
7679 Silvia
7680 \end_layout
7681
7682 \end_inset
7683 </cell>
7684 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7685 \begin_inset Text
7686
7687 \begin_layout Plain Layout
7688 111
7689 \end_layout
7690
7691 \end_inset
7692 </cell>
7693 </row>
7694 <row>
7695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Plain Layout
7699
7700 \series bold
7701 Bertoli
7702 \end_layout
7703
7704 \end_inset
7705 </cell>
7706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Plain Layout
7710 Stefano
7711 \end_layout
7712
7713 \end_inset
7714 </cell>
7715 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7716 \begin_inset Text
7717
7718 \begin_layout Plain Layout
7719 111
7720 \end_layout
7721
7722 \end_inset
7723 </cell>
7724 </row>
7725 <row>
7726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Plain Layout
7730
7731 \series bold
7732 Bozzi
7733 \end_layout
7734
7735 \end_inset
7736 </cell>
7737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Plain Layout
7741 Walter
7742 \end_layout
7743
7744 \end_inset
7745 </cell>
7746 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7747 \begin_inset Text
7748
7749 \begin_layout Plain Layout
7750 111
7751 \end_layout
7752
7753 \end_inset
7754 </cell>
7755 </row>
7756 <row>
7757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Plain Layout
7761
7762 \series bold
7763 Cachia
7764 \end_layout
7765
7766 \end_inset
7767 </cell>
7768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Plain Layout
7772 Maria
7773 \end_layout
7774
7775 \end_inset
7776 </cell>
7777 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7778 \begin_inset Text
7779
7780 \begin_layout Plain Layout
7781 111
7782 \end_layout
7783
7784 \end_inset
7785 </cell>
7786 </row>
7787 <row>
7788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Plain Layout
7792
7793 \series bold
7794 Cachia
7795 \end_layout
7796
7797 \end_inset
7798 </cell>
7799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Plain Layout
7803 Maurizio
7804 \end_layout
7805
7806 \end_inset
7807 </cell>
7808 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7809 \begin_inset Text
7810
7811 \begin_layout Plain Layout
7812 111
7813 \end_layout
7814
7815 \end_inset
7816 </cell>
7817 </row>
7818 <row>
7819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Plain Layout
7823
7824 \series bold
7825 Cinquemani
7826 \end_layout
7827
7828 \end_inset
7829 </cell>
7830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Plain Layout
7834 Giusi
7835 \end_layout
7836
7837 \end_inset
7838 </cell>
7839 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7840 \begin_inset Text
7841
7842 \begin_layout Plain Layout
7843 111
7844 \end_layout
7845
7846 \end_inset
7847 </cell>
7848 </row>
7849 <row>
7850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Plain Layout
7854
7855 \series bold
7856 Colin
7857 \end_layout
7858
7859 \end_inset
7860 </cell>
7861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Plain Layout
7865 Bernard
7866 \end_layout
7867
7868 \end_inset
7869 </cell>
7870 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7871 \begin_inset Text
7872
7873 \begin_layout Plain Layout
7874 111
7875 \end_layout
7876
7877 \end_inset
7878 </cell>
7879 </row>
7880 <row>
7881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Plain Layout
7885
7886 \series bold
7887 Concli
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Plain Layout
7896 Gianfranco
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7902 \begin_inset Text
7903
7904 \begin_layout Plain Layout
7905 111
7906 \end_layout
7907
7908 \end_inset
7909 </cell>
7910 </row>
7911 <row>
7912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Plain Layout
7916
7917 \series bold
7918 Dal Bosco
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Plain Layout
7927 Carolina
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7933 \begin_inset Text
7934
7935 \begin_layout Plain Layout
7936 111
7937 \end_layout
7938
7939 \end_inset
7940 </cell>
7941 </row>
7942 <row>
7943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Plain Layout
7947
7948 \series bold
7949 Dalpiaz
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Plain Layout
7958 Annamaria
7959 \end_layout
7960
7961 \end_inset
7962 </cell>
7963 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7964 \begin_inset Text
7965
7966 \begin_layout Plain Layout
7967 111
7968 \end_layout
7969
7970 \end_inset
7971 </cell>
7972 </row>
7973 <row>
7974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Plain Layout
7978
7979 \series bold
7980 Feliciello
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Plain Layout
7989 Domenico
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7995 \begin_inset Text
7996
7997 \begin_layout Plain Layout
7998 111
7999 \end_layout
8000
8001 \end_inset
8002 </cell>
8003 </row>
8004 <row>
8005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Plain Layout
8009
8010 \series bold
8011 Focarelli
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Plain Layout
8020 Paola
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8026 \begin_inset Text
8027
8028 \begin_layout Plain Layout
8029 111
8030 \end_layout
8031
8032 \end_inset
8033 </cell>
8034 </row>
8035 <row>
8036 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Plain Layout
8040
8041 \series bold
8042 Galletti
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Plain Layout
8051 Oreste
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Plain Layout
8060 111
8061 \end_layout
8062
8063 \end_inset
8064 </cell>
8065 </row>
8066 <row>
8067 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Plain Layout
8071
8072 \series bold
8073 Gasparini
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Plain Layout
8082 Franca
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Plain Layout
8091 111
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 </row>
8097 <row>
8098 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Plain Layout
8102
8103 \series bold
8104 Rizzardi
8105 \series default
8106
8107 \begin_inset Foot
8108 status open
8109
8110 \begin_layout Plain Layout
8111 Example footnote
8112 \end_layout
8113
8114 \end_inset
8115
8116
8117 \end_layout
8118
8119 \end_inset
8120 </cell>
8121 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8122 \begin_inset Text
8123
8124 \begin_layout Plain Layout
8125 Paola
8126 \end_layout
8127
8128 \end_inset
8129 </cell>
8130 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8131 \begin_inset Text
8132
8133 \begin_layout Plain Layout
8134 111
8135 \end_layout
8136
8137 \end_inset
8138 </cell>
8139 </row>
8140 <row>
8141 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8142 \begin_inset Text
8143
8144 \begin_layout Plain Layout
8145
8146 \series bold
8147 Lassini
8148 \end_layout
8149
8150 \end_inset
8151 </cell>
8152 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8153 \begin_inset Text
8154
8155 \begin_layout Plain Layout
8156 Giancarlo
8157 \end_layout
8158
8159 \end_inset
8160 </cell>
8161 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8162 \begin_inset Text
8163
8164 \begin_layout Plain Layout
8165 111
8166 \end_layout
8167
8168 \end_inset
8169 </cell>
8170 </row>
8171 <row>
8172 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8173 \begin_inset Text
8174
8175 \begin_layout Plain Layout
8176
8177 \series bold
8178 Malfatti
8179 \end_layout
8180
8181 \end_inset
8182 </cell>
8183 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8184 \begin_inset Text
8185
8186 \begin_layout Plain Layout
8187 Luciano
8188 \end_layout
8189
8190 \end_inset
8191 </cell>
8192 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8193 \begin_inset Text
8194
8195 \begin_layout Plain Layout
8196 111
8197 \end_layout
8198
8199 \end_inset
8200 </cell>
8201 </row>
8202 <row>
8203 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8204 \begin_inset Text
8205
8206 \begin_layout Plain Layout
8207
8208 \series bold
8209 Malfatti
8210 \end_layout
8211
8212 \end_inset
8213 </cell>
8214 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8215 \begin_inset Text
8216
8217 \begin_layout Plain Layout
8218 Valeriano
8219 \end_layout
8220
8221 \end_inset
8222 </cell>
8223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8224 \begin_inset Text
8225
8226 \begin_layout Plain Layout
8227 111
8228 \end_layout
8229
8230 \end_inset
8231 </cell>
8232 </row>
8233 <row>
8234 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8235 \begin_inset Text
8236
8237 \begin_layout Plain Layout
8238
8239 \series bold
8240 Meneguzzo
8241 \end_layout
8242
8243 \end_inset
8244 </cell>
8245 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8246 \begin_inset Text
8247
8248 \begin_layout Plain Layout
8249 Roberto
8250 \end_layout
8251
8252 \end_inset
8253 </cell>
8254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8255 \begin_inset Text
8256
8257 \begin_layout Plain Layout
8258 111
8259 \end_layout
8260
8261 \end_inset
8262 </cell>
8263 </row>
8264 <row>
8265 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8266 \begin_inset Text
8267
8268 \begin_layout Plain Layout
8269
8270 \series bold
8271 Mezzadra
8272 \end_layout
8273
8274 \end_inset
8275 </cell>
8276 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8277 \begin_inset Text
8278
8279 \begin_layout Plain Layout
8280 Roberto
8281 \end_layout
8282
8283 \end_inset
8284 </cell>
8285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8286 \begin_inset Text
8287
8288 \begin_layout Plain Layout
8289 111
8290 \end_layout
8291
8292 \end_inset
8293 </cell>
8294 </row>
8295 <row>
8296 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8297 \begin_inset Text
8298
8299 \begin_layout Plain Layout
8300
8301 \series bold
8302 Pirpamer
8303 \end_layout
8304
8305 \end_inset
8306 </cell>
8307 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8308 \begin_inset Text
8309
8310 \begin_layout Plain Layout
8311 Erich
8312 \end_layout
8313
8314 \end_inset
8315 </cell>
8316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8317 \begin_inset Text
8318
8319 \begin_layout Plain Layout
8320 111
8321 \end_layout
8322
8323 \end_inset
8324 </cell>
8325 </row>
8326 <row>
8327 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8328 \begin_inset Text
8329
8330 \begin_layout Plain Layout
8331
8332 \series bold
8333 Pochiesa
8334 \end_layout
8335
8336 \end_inset
8337 </cell>
8338 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8339 \begin_inset Text
8340
8341 \begin_layout Plain Layout
8342 Paolo
8343 \end_layout
8344
8345 \end_inset
8346 </cell>
8347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8348 \begin_inset Text
8349
8350 \begin_layout Plain Layout
8351 111, 222
8352 \end_layout
8353
8354 \end_inset
8355 </cell>
8356 </row>
8357 <row>
8358 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8359 \begin_inset Text
8360
8361 \begin_layout Plain Layout
8362
8363 \series bold
8364 Radina
8365 \end_layout
8366
8367 \end_inset
8368 </cell>
8369 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8370 \begin_inset Text
8371
8372 \begin_layout Plain Layout
8373 Claudio
8374 \end_layout
8375
8376 \end_inset
8377 </cell>
8378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8379 \begin_inset Text
8380
8381 \begin_layout Plain Layout
8382 111
8383 \end_layout
8384
8385 \end_inset
8386 </cell>
8387 </row>
8388 <row>
8389 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8390 \begin_inset Text
8391
8392 \begin_layout Plain Layout
8393
8394 \series bold
8395 Stuffer
8396 \end_layout
8397
8398 \end_inset
8399 </cell>
8400 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8401 \begin_inset Text
8402
8403 \begin_layout Plain Layout
8404 Oskar
8405 \end_layout
8406
8407 \end_inset
8408 </cell>
8409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8410 \begin_inset Text
8411
8412 \begin_layout Plain Layout
8413 111
8414 \end_layout
8415
8416 \end_inset
8417 </cell>
8418 </row>
8419 <row>
8420 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8421 \begin_inset Text
8422
8423 \begin_layout Plain Layout
8424
8425 \series bold
8426 Tacchelli
8427 \end_layout
8428
8429 \end_inset
8430 </cell>
8431 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8432 \begin_inset Text
8433
8434 \begin_layout Plain Layout
8435 Ugo
8436 \end_layout
8437
8438 \end_inset
8439 </cell>
8440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8441 \begin_inset Text
8442
8443 \begin_layout Plain Layout
8444 111
8445 \end_layout
8446
8447 \end_inset
8448 </cell>
8449 </row>
8450 <row>
8451 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8452 \begin_inset Text
8453
8454 \begin_layout Plain Layout
8455
8456 \series bold
8457 Tezzele
8458 \end_layout
8459
8460 \end_inset
8461 </cell>
8462 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8463 \begin_inset Text
8464
8465 \begin_layout Plain Layout
8466 Margit
8467 \end_layout
8468
8469 \end_inset
8470 </cell>
8471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8472 \begin_inset Text
8473
8474 \begin_layout Plain Layout
8475 111
8476 \end_layout
8477
8478 \end_inset
8479 </cell>
8480 </row>
8481 <row>
8482 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8483 \begin_inset Text
8484
8485 \begin_layout Plain Layout
8486
8487 \series bold
8488 Unterkalmsteiner
8489 \end_layout
8490
8491 \end_inset
8492 </cell>
8493 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8494 \begin_inset Text
8495
8496 \begin_layout Plain Layout
8497 Frieda
8498 \end_layout
8499
8500 \end_inset
8501 </cell>
8502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8503 \begin_inset Text
8504
8505 \begin_layout Plain Layout
8506 111
8507 \end_layout
8508
8509 \end_inset
8510 </cell>
8511 </row>
8512 <row>
8513 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8514 \begin_inset Text
8515
8516 \begin_layout Plain Layout
8517
8518 \series bold
8519 Vieider
8520 \end_layout
8521
8522 \end_inset
8523 </cell>
8524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8525 \begin_inset Text
8526
8527 \begin_layout Plain Layout
8528 Hilde
8529 \end_layout
8530
8531 \end_inset
8532 </cell>
8533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8534 \begin_inset Text
8535
8536 \begin_layout Plain Layout
8537 111
8538 \end_layout
8539
8540 \end_inset
8541 </cell>
8542 </row>
8543 <row>
8544 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8545 \begin_inset Text
8546
8547 \begin_layout Plain Layout
8548
8549 \series bold
8550 Vigna
8551 \end_layout
8552
8553 \end_inset
8554 </cell>
8555 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Plain Layout
8559 Jürgen
8560 \end_layout
8561
8562 \end_inset
8563 </cell>
8564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8565 \begin_inset Text
8566
8567 \begin_layout Plain Layout
8568 111
8569 \end_layout
8570
8571 \end_inset
8572 </cell>
8573 </row>
8574 <row>
8575 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8576 \begin_inset Text
8577
8578 \begin_layout Plain Layout
8579
8580 \series bold
8581 Weber
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Plain Layout
8590 Maurizio
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8596 \begin_inset Text
8597
8598 \begin_layout Plain Layout
8599 111
8600 \end_layout
8601
8602 \end_inset
8603 </cell>
8604 </row>
8605 <row>
8606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8607 \begin_inset Text
8608
8609 \begin_layout Plain Layout
8610
8611 \series bold
8612 Winkler
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Plain Layout
8621 Franz
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8627 \begin_inset Text
8628
8629 \begin_layout Plain Layout
8630 111
8631 \end_layout
8632
8633 \end_inset
8634 </cell>
8635 </row>
8636 <row>
8637 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8638 \begin_inset Text
8639
8640 \begin_layout Plain Layout
8641  
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8647 \begin_inset Text
8648
8649 \begin_layout Plain Layout
8650
8651 \end_layout
8652
8653 \end_inset
8654 </cell>
8655 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8656 \begin_inset Text
8657
8658 \begin_layout Plain Layout
8659
8660 \end_layout
8661
8662 \end_inset
8663 </cell>
8664 </row>
8665 <row>
8666 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8667 \begin_inset Text
8668
8669 \begin_layout Plain Layout
8670
8671 \series bold
8672 Annovi
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8678 \begin_inset Text
8679
8680 \begin_layout Plain Layout
8681 Silvia
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8687 \begin_inset Text
8688
8689 \begin_layout Plain Layout
8690 555
8691 \end_layout
8692
8693 \end_inset
8694 </cell>
8695 </row>
8696 <row>
8697 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8698 \begin_inset Text
8699
8700 \begin_layout Plain Layout
8701
8702 \series bold
8703 Bertoli
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8709 \begin_inset Text
8710
8711 \begin_layout Plain Layout
8712 Stefano
8713 \end_layout
8714
8715 \end_inset
8716 </cell>
8717 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8718 \begin_inset Text
8719
8720 \begin_layout Plain Layout
8721 555
8722 \end_layout
8723
8724 \end_inset
8725 </cell>
8726 </row>
8727 <row>
8728 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8729 \begin_inset Text
8730
8731 \begin_layout Plain Layout
8732
8733 \series bold
8734 Bozzi
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8740 \begin_inset Text
8741
8742 \begin_layout Plain Layout
8743 Walter
8744 \end_layout
8745
8746 \end_inset
8747 </cell>
8748 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Plain Layout
8752 555
8753 \end_layout
8754
8755 \end_inset
8756 </cell>
8757 </row>
8758 <row>
8759 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8760 \begin_inset Text
8761
8762 \begin_layout Plain Layout
8763
8764 \series bold
8765 Cachia
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8771 \begin_inset Text
8772
8773 \begin_layout Plain Layout
8774 Maria
8775 \end_layout
8776
8777 \end_inset
8778 </cell>
8779 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8780 \begin_inset Text
8781
8782 \begin_layout Plain Layout
8783 555
8784 \end_layout
8785
8786 \end_inset
8787 </cell>
8788 </row>
8789 <row>
8790 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8791 \begin_inset Text
8792
8793 \begin_layout Plain Layout
8794
8795 \series bold
8796 Cachia
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8802 \begin_inset Text
8803
8804 \begin_layout Plain Layout
8805 Maurizio
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8811 \begin_inset Text
8812
8813 \begin_layout Plain Layout
8814 555
8815 \end_layout
8816
8817 \end_inset
8818 </cell>
8819 </row>
8820 <row>
8821 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8822 \begin_inset Text
8823
8824 \begin_layout Plain Layout
8825
8826 \series bold
8827 Cinquemani
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8833 \begin_inset Text
8834
8835 \begin_layout Plain Layout
8836 Giusi
8837 \end_layout
8838
8839 \end_inset
8840 </cell>
8841 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8842 \begin_inset Text
8843
8844 \begin_layout Plain Layout
8845 555
8846 \end_layout
8847
8848 \end_inset
8849 </cell>
8850 </row>
8851 <row>
8852 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8853 \begin_inset Text
8854
8855 \begin_layout Plain Layout
8856
8857 \series bold
8858 Colin
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8864 \begin_inset Text
8865
8866 \begin_layout Plain Layout
8867 Bernard
8868 \end_layout
8869
8870 \end_inset
8871 </cell>
8872 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8873 \begin_inset Text
8874
8875 \begin_layout Plain Layout
8876 555
8877 \end_layout
8878
8879 \end_inset
8880 </cell>
8881 </row>
8882 <row>
8883 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8884 \begin_inset Text
8885
8886 \begin_layout Plain Layout
8887
8888 \series bold
8889 Concli
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8895 \begin_inset Text
8896
8897 \begin_layout Plain Layout
8898 Gianfranco
8899 \end_layout
8900
8901 \end_inset
8902 </cell>
8903 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8904 \begin_inset Text
8905
8906 \begin_layout Plain Layout
8907 555
8908 \end_layout
8909
8910 \end_inset
8911 </cell>
8912 </row>
8913 <row>
8914 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8915 \begin_inset Text
8916
8917 \begin_layout Plain Layout
8918
8919 \series bold
8920 Dal Bosco
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8926 \begin_inset Text
8927
8928 \begin_layout Plain Layout
8929 Carolina
8930 \end_layout
8931
8932 \end_inset
8933 </cell>
8934 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8935 \begin_inset Text
8936
8937 \begin_layout Plain Layout
8938 555
8939 \end_layout
8940
8941 \end_inset
8942 </cell>
8943 </row>
8944 <row>
8945 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8946 \begin_inset Text
8947
8948 \begin_layout Plain Layout
8949
8950 \series bold
8951 Dalpiaz
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8957 \begin_inset Text
8958
8959 \begin_layout Plain Layout
8960 Annamaria
8961 \end_layout
8962
8963 \end_inset
8964 </cell>
8965 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8966 \begin_inset Text
8967
8968 \begin_layout Plain Layout
8969 555
8970 \end_layout
8971
8972 \end_inset
8973 </cell>
8974 </row>
8975 <row>
8976 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Plain Layout
8980
8981 \series bold
8982 Feliciello
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Plain Layout
8991 Domenico
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8997 \begin_inset Text
8998
8999 \begin_layout Plain Layout
9000 555
9001 \end_layout
9002
9003 \end_inset
9004 </cell>
9005 </row>
9006 <row>
9007 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9008 \begin_inset Text
9009
9010 \begin_layout Plain Layout
9011
9012 \series bold
9013 Focarelli
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Plain Layout
9022 Paola
9023 \end_layout
9024
9025 \end_inset
9026 </cell>
9027 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9028 \begin_inset Text
9029
9030 \begin_layout Plain Layout
9031 555
9032 \end_layout
9033
9034 \end_inset
9035 </cell>
9036 </row>
9037 <row>
9038 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9039 \begin_inset Text
9040
9041 \begin_layout Plain Layout
9042
9043 \series bold
9044 Galletti
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Plain Layout
9053 Oreste
9054 \end_layout
9055
9056 \end_inset
9057 </cell>
9058 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9059 \begin_inset Text
9060
9061 \begin_layout Plain Layout
9062 555
9063 \end_layout
9064
9065 \end_inset
9066 </cell>
9067 </row>
9068 <row>
9069 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Plain Layout
9073
9074 \series bold
9075 Gasparini
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Plain Layout
9084 Franca
9085 \end_layout
9086
9087 \end_inset
9088 </cell>
9089 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9090 \begin_inset Text
9091
9092 \begin_layout Plain Layout
9093 555
9094 \end_layout
9095
9096 \end_inset
9097 </cell>
9098 </row>
9099 <row>
9100 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Plain Layout
9104
9105 \series bold
9106 Rizzardi
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Plain Layout
9115 Paola
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Plain Layout
9124 555
9125 \end_layout
9126
9127 \end_inset
9128 </cell>
9129 </row>
9130 <row>
9131 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Plain Layout
9135
9136 \series bold
9137 Lassini
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Plain Layout
9146 Giancarlo
9147 \end_layout
9148
9149 \end_inset
9150 </cell>
9151 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9152 \begin_inset Text
9153
9154 \begin_layout Plain Layout
9155 555
9156 \end_layout
9157
9158 \end_inset
9159 </cell>
9160 </row>
9161 <row>
9162 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Plain Layout
9166
9167 \series bold
9168 Malfatti
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Plain Layout
9177 Luciano
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9183 \begin_inset Text
9184
9185 \begin_layout Plain Layout
9186 555
9187 \end_layout
9188
9189 \end_inset
9190 </cell>
9191 </row>
9192 <row>
9193 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Plain Layout
9197
9198 \series bold
9199 Malfatti
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Plain Layout
9208 Valeriano
9209 \end_layout
9210
9211 \end_inset
9212 </cell>
9213 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9214 \begin_inset Text
9215
9216 \begin_layout Plain Layout
9217 555
9218 \end_layout
9219
9220 \end_inset
9221 </cell>
9222 </row>
9223 <row>
9224 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9225 \begin_inset Text
9226
9227 \begin_layout Plain Layout
9228
9229 \series bold
9230 Meneguzzo
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Plain Layout
9239 Roberto
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9245 \begin_inset Text
9246
9247 \begin_layout Plain Layout
9248 555
9249 \end_layout
9250
9251 \end_inset
9252 </cell>
9253 </row>
9254 <row>
9255 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9256 \begin_inset Text
9257
9258 \begin_layout Plain Layout
9259
9260 \series bold
9261 Mezzadra
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Plain Layout
9270 Roberto
9271 \end_layout
9272
9273 \end_inset
9274 </cell>
9275 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9276 \begin_inset Text
9277
9278 \begin_layout Plain Layout
9279 555
9280 \end_layout
9281
9282 \end_inset
9283 </cell>
9284 </row>
9285 <row endlastfoot="true">
9286 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9287 \begin_inset Text
9288
9289 \begin_layout Plain Layout
9290
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
9296 \begin_inset Text
9297
9298 \begin_layout Plain Layout
9299
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9305 \begin_inset Text
9306
9307 \begin_layout Plain Layout
9308
9309 \end_layout
9310
9311 \end_inset
9312 </cell>
9313 </row>
9314 </lyxtabular>
9315
9316 \end_inset
9317
9318
9319 \end_layout
9320
9321 \begin_layout Section
9322 Special Longtable Issues
9323 \begin_inset CommandInset label
9324 LatexCommand label
9325 name "sec:Special-Longtable-Issues"
9326
9327 \end_inset
9328
9329
9330 \end_layout
9331
9332 \begin_layout Subsection
9333 Longtable Calculation
9334 \begin_inset Index
9335 status collapsed
9336
9337 \begin_layout Plain Layout
9338 Longtables ! Calculation
9339 \end_layout
9340
9341 \end_inset
9342
9343
9344 \end_layout
9345
9346 \begin_layout Standard
9347 LaTeX calculates the height of table pages and their page breaks using so
9348  called chunks.
9349  Chunks are pieces of the tables that are at once in LaTeX's memory.
9350  The default value is historically set to only 20 table rows.
9351  If you are using longtables with many pages this may slow down the creation
9352  of your document.
9353  You can safely increase the chunk size to values of 100-1000 by adding
9354  this command line to your document preamble:
9355 \end_layout
9356
9357 \begin_layout Standard
9358
9359 \series bold
9360
9361 \backslash
9362 setcounter{LTchunksize}{100}
9363 \end_layout
9364
9365 \begin_layout Subsection
9366 Floats and Longtables
9367 \begin_inset Index
9368 status collapsed
9369
9370 \begin_layout Plain Layout
9371 Longtables ! Floats
9372 \end_layout
9373
9374 \end_inset
9375
9376
9377 \end_layout
9378
9379 \begin_layout Standard
9380 There might be problems when a float appears on the same page where a longtable
9381  starts.
9382  To avoid such situation, add the command 
9383 \series bold
9384
9385 \backslash
9386 clearpage
9387 \series default
9388  as TeX-Code before your longtable.
9389 \end_layout
9390
9391 \begin_layout Subsection
9392 Forced Page Breaks
9393 \begin_inset Index
9394 status collapsed
9395
9396 \begin_layout Plain Layout
9397 Longtables ! Forced Page Breaks
9398 \end_layout
9399
9400 \end_inset
9401
9402
9403 \end_layout
9404
9405 \begin_layout Standard
9406 By default tables are only broken between rows.
9407  If you have a cell with multiples lines and want to have a page break within
9408  the cell, insert the new line command 
9409 \begin_inset Quotes eld
9410 \end_inset
9411
9412
9413 \series bold
9414
9415 \backslash
9416
9417 \backslash
9418
9419 \series default
9420
9421 \begin_inset Quotes erd
9422 \end_inset
9423
9424  as TeX-Code at this point of the cell where it should be broken.
9425  Before the 
9426 \series bold
9427
9428 \backslash
9429
9430 \backslash
9431
9432 \series default
9433  command you have to insert in TeX-Code so many 
9434 \begin_inset Quotes eld
9435 \end_inset
9436
9437
9438 \series bold
9439 &
9440 \series default
9441
9442 \begin_inset Quotes erd
9443 \end_inset
9444
9445  characters like the number of the following table columns.
9446  The 
9447 \series bold
9448 &
9449 \series default
9450  is the character to separate table cells.
9451  Write in TeX-Code after each 
9452 \series bold
9453 &
9454 \series default
9455  the content of the corresponding following cell and delete the content
9456  of these cells.
9457 \begin_inset Newline newline
9458 \end_inset
9459
9460 Behind the the 
9461 \series bold
9462
9463 \backslash
9464
9465 \backslash
9466
9467 \series default
9468  command, insert so many 
9469 \series bold
9470 &
9471 \series default
9472  characters like the number of table columns before the current column.
9473  In Table
9474 \begin_inset space ~
9475 \end_inset
9476
9477
9478 \begin_inset CommandInset ref
9479 LatexCommand ref
9480 reference "tab:ForcedPagebreak"
9481
9482 \end_inset
9483
9484  the cell that should be broken is in the second column followed by another
9485  column.
9486  Therefore the following command was inserted in the cell as TeX-Code behind
9487  
9488 \begin_inset Quotes eld
9489 \end_inset
9490
9491
9492 \emph on
9493 Castelchiodato,
9494 \emph default
9495
9496 \begin_inset Quotes erd
9497 \end_inset
9498
9499 :
9500 \end_layout
9501
9502 \begin_layout Standard
9503
9504 \series bold
9505 & 111
9506 \backslash
9507
9508 \backslash
9509
9510 \begin_inset Newline newline
9511 \end_inset
9512
9513 &
9514 \end_layout
9515
9516 \begin_layout Standard
9517 The 
9518 \begin_inset Quotes eld
9519 \end_inset
9520
9521 111
9522 \begin_inset Quotes erd
9523 \end_inset
9524
9525  in the third columns of the row was deleted.
9526  If your footer row of the longtable has for a certain reason no upper line
9527  but you would have a horizontal line where the cell is broken, use this
9528  command instead:
9529 \end_layout
9530
9531 \begin_layout Standard
9532
9533 \series bold
9534 & 111
9535 \backslash
9536
9537 \backslash
9538
9539 \begin_inset Newline newline
9540 \end_inset
9541
9542
9543 \backslash
9544 hline &
9545 \end_layout
9546
9547 \begin_layout Standard
9548 When the cell to be broken is in the last column, the command
9549 \end_layout
9550
9551 \begin_layout Standard
9552
9553 \series bold
9554
9555 \backslash
9556 setlength{
9557 \backslash
9558 parfillskip}{0pt}
9559 \end_layout
9560
9561 \begin_layout Standard
9562 must be inserted as TeX-Code at the beginning of the cell.
9563  This assures that the part of the cell that will be displayed on the new
9564  page appears with the full width.
9565 \end_layout
9566
9567 \begin_layout Standard
9568 \align center
9569 \begin_inset Tabular
9570 <lyxtabular version="3" rows="39" columns="3">
9571 <features islongtable="true">
9572 <column alignment="left" valignment="top" width="0cm">
9573 <column alignment="left" valignment="top" width="3cm">
9574 <column alignment="center" valignment="top" width="0pt">
9575 <row endfirsthead="true" caption="true">
9576 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Plain Layout
9580 \begin_inset Caption
9581
9582 \begin_layout Plain Layout
9583 Table with forced page break in table cell
9584 \begin_inset CommandInset label
9585 LatexCommand label
9586 name "tab:ForcedPagebreak"
9587
9588 \end_inset
9589
9590
9591 \begin_inset OptArg
9592 status collapsed
9593
9594 \begin_layout Plain Layout
9595 Table with forced page break in table cell
9596 \end_layout
9597
9598 \end_inset
9599
9600
9601 \end_layout
9602
9603 \end_inset
9604
9605
9606 \end_layout
9607
9608 \end_inset
9609 </cell>
9610 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9611 \begin_inset Text
9612
9613 \begin_layout Plain Layout
9614
9615 \end_layout
9616
9617 \end_inset
9618 </cell>
9619 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9620 \begin_inset Text
9621
9622 \begin_layout Plain Layout
9623
9624 \end_layout
9625
9626 \end_inset
9627 </cell>
9628 </row>
9629 <row endfirsthead="true">
9630 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9631 \begin_inset Text
9632
9633 \begin_layout Plain Layout
9634
9635 \series bold
9636 Example Phone List (ignore the names)
9637 \end_layout
9638
9639 \end_inset
9640 </cell>
9641 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9642 \begin_inset Text
9643
9644 \begin_layout Plain Layout
9645
9646 \end_layout
9647
9648 \end_inset
9649 </cell>
9650 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9651 \begin_inset Text
9652
9653 \begin_layout Plain Layout
9654
9655 \end_layout
9656
9657 \end_inset
9658 </cell>
9659 </row>
9660 <row endfirsthead="true">
9661 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9662 \begin_inset Text
9663
9664 \begin_layout Plain Layout
9665
9666 \series bold
9667 NAME
9668 \end_layout
9669
9670 \end_inset
9671 </cell>
9672 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9673 \begin_inset Text
9674
9675 \begin_layout Plain Layout
9676
9677 \end_layout
9678
9679 \end_inset
9680 </cell>
9681 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9682 \begin_inset Text
9683
9684 \begin_layout Plain Layout
9685
9686 \series bold
9687 TEL.
9688 \end_layout
9689
9690 \end_inset
9691 </cell>
9692 </row>
9693 <row endhead="true" caption="true">
9694 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
9695 \begin_inset Text
9696
9697 \begin_layout Plain Layout
9698 \begin_inset ERT
9699 status collapsed
9700
9701 \begin_layout Plain Layout
9702
9703
9704 \backslash
9705 caption*{Continued table with forced page break in table cell}
9706 \backslash
9707
9708 \backslash
9709 %
9710 \end_layout
9711
9712 \end_inset
9713
9714
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9720 \begin_inset Text
9721
9722 \begin_layout Plain Layout
9723
9724 \end_layout
9725
9726 \end_inset
9727 </cell>
9728 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9729 \begin_inset Text
9730
9731 \begin_layout Plain Layout
9732
9733 \end_layout
9734
9735 \end_inset
9736 </cell>
9737 </row>
9738 <row endhead="true">
9739 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9740 \begin_inset Text
9741
9742 \begin_layout Plain Layout
9743  
9744 \series bold
9745 Example Phone List
9746 \end_layout
9747
9748 \end_inset
9749 </cell>
9750 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9751 \begin_inset Text
9752
9753 \begin_layout Plain Layout
9754
9755 \end_layout
9756
9757 \end_inset
9758 </cell>
9759 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9760 \begin_inset Text
9761
9762 \begin_layout Plain Layout
9763
9764 \end_layout
9765
9766 \end_inset
9767 </cell>
9768 </row>
9769 <row endhead="true">
9770 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9771 \begin_inset Text
9772
9773 \begin_layout Plain Layout
9774
9775 \series bold
9776 NAME
9777 \end_layout
9778
9779 \end_inset
9780 </cell>
9781 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9782 \begin_inset Text
9783
9784 \begin_layout Plain Layout
9785
9786 \end_layout
9787
9788 \end_inset
9789 </cell>
9790 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9791 \begin_inset Text
9792
9793 \begin_layout Plain Layout
9794
9795 \series bold
9796 TEL.
9797 \end_layout
9798
9799 \end_inset
9800 </cell>
9801 </row>
9802 <row endfoot="true">
9803 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9804 \begin_inset Text
9805
9806 \begin_layout Plain Layout
9807 continued on next page
9808 \end_layout
9809
9810 \end_inset
9811 </cell>
9812 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9813 \begin_inset Text
9814
9815 \begin_layout Plain Layout
9816
9817 \end_layout
9818
9819 \end_inset
9820 </cell>
9821 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9822 \begin_inset Text
9823
9824 \begin_layout Plain Layout
9825
9826 \end_layout
9827
9828 \end_inset
9829 </cell>
9830 </row>
9831 <row>
9832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9833 \begin_inset Text
9834
9835 \begin_layout Plain Layout
9836
9837 \series bold
9838 Annovi
9839 \end_layout
9840
9841 \end_inset
9842 </cell>
9843 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9844 \begin_inset Text
9845
9846 \begin_layout Plain Layout
9847 Silvia
9848 \end_layout
9849
9850 \end_inset
9851 </cell>
9852 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9853 \begin_inset Text
9854
9855 \begin_layout Plain Layout
9856 111
9857 \end_layout
9858
9859 \end_inset
9860 </cell>
9861 </row>
9862 <row>
9863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9864 \begin_inset Text
9865
9866 \begin_layout Plain Layout
9867
9868 \series bold
9869 Bertoli
9870 \end_layout
9871
9872 \end_inset
9873 </cell>
9874 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9875 \begin_inset Text
9876
9877 \begin_layout Plain Layout
9878 Stefano
9879 \end_layout
9880
9881 \end_inset
9882 </cell>
9883 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9884 \begin_inset Text
9885
9886 \begin_layout Plain Layout
9887 111
9888 \end_layout
9889
9890 \end_inset
9891 </cell>
9892 </row>
9893 <row>
9894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9895 \begin_inset Text
9896
9897 \begin_layout Plain Layout
9898
9899 \series bold
9900 Bozzi
9901 \end_layout
9902
9903 \end_inset
9904 </cell>
9905 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9906 \begin_inset Text
9907
9908 \begin_layout Plain Layout
9909 Walter
9910 \end_layout
9911
9912 \end_inset
9913 </cell>
9914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9915 \begin_inset Text
9916
9917 \begin_layout Plain Layout
9918 111
9919 \end_layout
9920
9921 \end_inset
9922 </cell>
9923 </row>
9924 <row>
9925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9926 \begin_inset Text
9927
9928 \begin_layout Plain Layout
9929
9930 \series bold
9931 Cachia
9932 \end_layout
9933
9934 \end_inset
9935 </cell>
9936 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9937 \begin_inset Text
9938
9939 \begin_layout Plain Layout
9940 Maria
9941 \end_layout
9942
9943 \end_inset
9944 </cell>
9945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9946 \begin_inset Text
9947
9948 \begin_layout Plain Layout
9949 111
9950 \end_layout
9951
9952 \end_inset
9953 </cell>
9954 </row>
9955 <row>
9956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9957 \begin_inset Text
9958
9959 \begin_layout Plain Layout
9960
9961 \series bold
9962 Cachia
9963 \end_layout
9964
9965 \end_inset
9966 </cell>
9967 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9968 \begin_inset Text
9969
9970 \begin_layout Plain Layout
9971 Maurizio
9972 \end_layout
9973
9974 \end_inset
9975 </cell>
9976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9977 \begin_inset Text
9978
9979 \begin_layout Plain Layout
9980 111
9981 \end_layout
9982
9983 \end_inset
9984 </cell>
9985 </row>
9986 <row>
9987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9988 \begin_inset Text
9989
9990 \begin_layout Plain Layout
9991
9992 \series bold
9993 Cinquemani
9994 \end_layout
9995
9996 \end_inset
9997 </cell>
9998 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9999 \begin_inset Text
10000
10001 \begin_layout Plain Layout
10002 Giusi
10003 \end_layout
10004
10005 \end_inset
10006 </cell>
10007 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10008 \begin_inset Text
10009
10010 \begin_layout Plain Layout
10011 111
10012 \end_layout
10013
10014 \end_inset
10015 </cell>
10016 </row>
10017 <row>
10018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10019 \begin_inset Text
10020
10021 \begin_layout Plain Layout
10022
10023 \series bold
10024 Colin
10025 \end_layout
10026
10027 \end_inset
10028 </cell>
10029 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10030 \begin_inset Text
10031
10032 \begin_layout Plain Layout
10033 Bernard
10034 \end_layout
10035
10036 \end_inset
10037 </cell>
10038 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10039 \begin_inset Text
10040
10041 \begin_layout Plain Layout
10042 111
10043 \end_layout
10044
10045 \end_inset
10046 </cell>
10047 </row>
10048 <row>
10049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10050 \begin_inset Text
10051
10052 \begin_layout Plain Layout
10053
10054 \series bold
10055 Concli
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Plain Layout
10064 Gianfranco
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10070 \begin_inset Text
10071
10072 \begin_layout Plain Layout
10073 111
10074 \end_layout
10075
10076 \end_inset
10077 </cell>
10078 </row>
10079 <row>
10080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10081 \begin_inset Text
10082
10083 \begin_layout Plain Layout
10084
10085 \series bold
10086 Dal Bosco
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10092 \begin_inset Text
10093
10094 \begin_layout Plain Layout
10095 Carolina
10096 \end_layout
10097
10098 \end_inset
10099 </cell>
10100 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10101 \begin_inset Text
10102
10103 \begin_layout Plain Layout
10104 111
10105 \end_layout
10106
10107 \end_inset
10108 </cell>
10109 </row>
10110 <row>
10111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10112 \begin_inset Text
10113
10114 \begin_layout Plain Layout
10115
10116 \series bold
10117 Dalpiaz
10118 \end_layout
10119
10120 \end_inset
10121 </cell>
10122 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Plain Layout
10126 Annamaria
10127 \end_layout
10128
10129 \end_inset
10130 </cell>
10131 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10132 \begin_inset Text
10133
10134 \begin_layout Plain Layout
10135 111
10136 \end_layout
10137
10138 \end_inset
10139 </cell>
10140 </row>
10141 <row>
10142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10143 \begin_inset Text
10144
10145 \begin_layout Plain Layout
10146
10147 \series bold
10148 Feliciello
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Plain Layout
10157 Domenico
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10163 \begin_inset Text
10164
10165 \begin_layout Plain Layout
10166 111
10167 \end_layout
10168
10169 \end_inset
10170 </cell>
10171 </row>
10172 <row>
10173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10174 \begin_inset Text
10175
10176 \begin_layout Plain Layout
10177
10178 \series bold
10179 Focarelli
10180 \end_layout
10181
10182 \end_inset
10183 </cell>
10184 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Plain Layout
10188 Paola
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10194 \begin_inset Text
10195
10196 \begin_layout Plain Layout
10197 111
10198 \end_layout
10199
10200 \end_inset
10201 </cell>
10202 </row>
10203 <row>
10204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10205 \begin_inset Text
10206
10207 \begin_layout Plain Layout
10208
10209 \series bold
10210 Galletti
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Plain Layout
10219 Oreste
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10225 \begin_inset Text
10226
10227 \begin_layout Plain Layout
10228 111
10229 \end_layout
10230
10231 \end_inset
10232 </cell>
10233 </row>
10234 <row>
10235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Plain Layout
10239
10240 \series bold
10241 Gasparini
10242 \end_layout
10243
10244 \end_inset
10245 </cell>
10246 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10247 \begin_inset Text
10248
10249 \begin_layout Plain Layout
10250 Franca
10251 \end_layout
10252
10253 \end_inset
10254 </cell>
10255 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10256 \begin_inset Text
10257
10258 \begin_layout Plain Layout
10259 111
10260 \end_layout
10261
10262 \end_inset
10263 </cell>
10264 </row>
10265 <row>
10266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10267 \begin_inset Text
10268
10269 \begin_layout Plain Layout
10270
10271 \series bold
10272 Lassini
10273 \end_layout
10274
10275 \end_inset
10276 </cell>
10277 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10278 \begin_inset Text
10279
10280 \begin_layout Plain Layout
10281 Giancarlo
10282 \end_layout
10283
10284 \end_inset
10285 </cell>
10286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10287 \begin_inset Text
10288
10289 \begin_layout Plain Layout
10290 111
10291 \end_layout
10292
10293 \end_inset
10294 </cell>
10295 </row>
10296 <row>
10297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10298 \begin_inset Text
10299
10300 \begin_layout Plain Layout
10301
10302 \series bold
10303 Malfatti
10304 \end_layout
10305
10306 \end_inset
10307 </cell>
10308 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10309 \begin_inset Text
10310
10311 \begin_layout Plain Layout
10312 Luciano
10313 \end_layout
10314
10315 \end_inset
10316 </cell>
10317 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10318 \begin_inset Text
10319
10320 \begin_layout Plain Layout
10321 111
10322 \end_layout
10323
10324 \end_inset
10325 </cell>
10326 </row>
10327 <row>
10328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10329 \begin_inset Text
10330
10331 \begin_layout Plain Layout
10332
10333 \series bold
10334 Malfatti
10335 \end_layout
10336
10337 \end_inset
10338 </cell>
10339 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10340 \begin_inset Text
10341
10342 \begin_layout Plain Layout
10343 Valeriano
10344 \end_layout
10345
10346 \end_inset
10347 </cell>
10348 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10349 \begin_inset Text
10350
10351 \begin_layout Plain Layout
10352 111
10353 \end_layout
10354
10355 \end_inset
10356 </cell>
10357 </row>
10358 <row>
10359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10360 \begin_inset Text
10361
10362 \begin_layout Plain Layout
10363
10364 \series bold
10365 Meneguzzo
10366 \end_layout
10367
10368 \end_inset
10369 </cell>
10370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10371 \begin_inset Text
10372
10373 \begin_layout Plain Layout
10374 Roberto
10375 \end_layout
10376
10377 \end_inset
10378 </cell>
10379 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10380 \begin_inset Text
10381
10382 \begin_layout Plain Layout
10383 111
10384 \end_layout
10385
10386 \end_inset
10387 </cell>
10388 </row>
10389 <row>
10390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10391 \begin_inset Text
10392
10393 \begin_layout Plain Layout
10394
10395 \series bold
10396 Mezzadra
10397 \end_layout
10398
10399 \end_inset
10400 </cell>
10401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10402 \begin_inset Text
10403
10404 \begin_layout Plain Layout
10405 Roberto
10406 \end_layout
10407
10408 \end_inset
10409 </cell>
10410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10411 \begin_inset Text
10412
10413 \begin_layout Plain Layout
10414 111
10415 \end_layout
10416
10417 \end_inset
10418 </cell>
10419 </row>
10420 <row>
10421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10422 \begin_inset Text
10423
10424 \begin_layout Plain Layout
10425
10426 \series bold
10427 Pirpamer
10428 \end_layout
10429
10430 \end_inset
10431 </cell>
10432 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10433 \begin_inset Text
10434
10435 \begin_layout Plain Layout
10436 Erich
10437 \end_layout
10438
10439 \end_inset
10440 </cell>
10441 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10442 \begin_inset Text
10443
10444 \begin_layout Plain Layout
10445 111
10446 \end_layout
10447
10448 \end_inset
10449 </cell>
10450 </row>
10451 <row>
10452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10453 \begin_inset Text
10454
10455 \begin_layout Plain Layout
10456
10457 \series bold
10458 Pochiesa
10459 \end_layout
10460
10461 \end_inset
10462 </cell>
10463 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10464 \begin_inset Text
10465
10466 \begin_layout Plain Layout
10467 Paolo
10468 \end_layout
10469
10470 \end_inset
10471 </cell>
10472 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10473 \begin_inset Text
10474
10475 \begin_layout Plain Layout
10476 111, 222
10477 \end_layout
10478
10479 \end_inset
10480 </cell>
10481 </row>
10482 <row>
10483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10484 \begin_inset Text
10485
10486 \begin_layout Plain Layout
10487
10488 \series bold
10489 Radina
10490 \end_layout
10491
10492 \end_inset
10493 </cell>
10494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10495 \begin_inset Text
10496
10497 \begin_layout Plain Layout
10498 Claudio
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10504 \begin_inset Text
10505
10506 \begin_layout Plain Layout
10507 111
10508 \end_layout
10509
10510 \end_inset
10511 </cell>
10512 </row>
10513 <row>
10514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10515 \begin_inset Text
10516
10517 \begin_layout Plain Layout
10518
10519 \series bold
10520 Rizzardi
10521 \end_layout
10522
10523 \end_inset
10524 </cell>
10525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10526 \begin_inset Text
10527
10528 \begin_layout Plain Layout
10529 Paolo, 11.
10530  Fürst von Montecompatri, 11.
10531  Fürst von Sulmona und Vivaro, 10.
10532  Fürst von Rossano, 5.
10533  Herzog von Canemorte, 11.
10534  Herzog von Palombara, 5.
10535  Herzog von Castelchiodato,
10536 \begin_inset ERT
10537 status open
10538
10539 \begin_layout Plain Layout
10540
10541 & 111
10542 \backslash
10543
10544 \backslash
10545
10546 \end_layout
10547
10548 \begin_layout Plain Layout
10549
10550 &
10551 \end_layout
10552
10553 \end_inset
10554
10555  11.
10556  Herzog von Poggionativo, 11.
10557  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10558  Graf von Valinfreda, 11.
10559  Baron von Cropalati, 11.
10560  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10561 \end_layout
10562
10563 \end_inset
10564 </cell>
10565 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10566 \begin_inset Text
10567
10568 \begin_layout Plain Layout
10569
10570 \end_layout
10571
10572 \end_inset
10573 </cell>
10574 </row>
10575 <row>
10576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10577 \begin_inset Text
10578
10579 \begin_layout Plain Layout
10580
10581 \series bold
10582 Stuffer
10583 \end_layout
10584
10585 \end_inset
10586 </cell>
10587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10588 \begin_inset Text
10589
10590 \begin_layout Plain Layout
10591 Oskar
10592 \end_layout
10593
10594 \end_inset
10595 </cell>
10596 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10597 \begin_inset Text
10598
10599 \begin_layout Plain Layout
10600 111
10601 \end_layout
10602
10603 \end_inset
10604 </cell>
10605 </row>
10606 <row>
10607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10608 \begin_inset Text
10609
10610 \begin_layout Plain Layout
10611
10612 \series bold
10613 Tacchelli
10614 \end_layout
10615
10616 \end_inset
10617 </cell>
10618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10619 \begin_inset Text
10620
10621 \begin_layout Plain Layout
10622 Ugo
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10628 \begin_inset Text
10629
10630 \begin_layout Plain Layout
10631 111
10632 \end_layout
10633
10634 \end_inset
10635 </cell>
10636 </row>
10637 <row>
10638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10639 \begin_inset Text
10640
10641 \begin_layout Plain Layout
10642
10643 \series bold
10644 Tezzele
10645 \end_layout
10646
10647 \end_inset
10648 </cell>
10649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10650 \begin_inset Text
10651
10652 \begin_layout Plain Layout
10653 Margit
10654 \end_layout
10655
10656 \end_inset
10657 </cell>
10658 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10659 \begin_inset Text
10660
10661 \begin_layout Plain Layout
10662 111
10663 \end_layout
10664
10665 \end_inset
10666 </cell>
10667 </row>
10668 <row>
10669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10670 \begin_inset Text
10671
10672 \begin_layout Plain Layout
10673
10674 \series bold
10675 Unterkalmsteiner
10676 \end_layout
10677
10678 \end_inset
10679 </cell>
10680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10681 \begin_inset Text
10682
10683 \begin_layout Plain Layout
10684 Frieda
10685 \end_layout
10686
10687 \end_inset
10688 </cell>
10689 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10690 \begin_inset Text
10691
10692 \begin_layout Plain Layout
10693 111
10694 \end_layout
10695
10696 \end_inset
10697 </cell>
10698 </row>
10699 <row>
10700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10701 \begin_inset Text
10702
10703 \begin_layout Plain Layout
10704
10705 \series bold
10706 Vieider
10707 \end_layout
10708
10709 \end_inset
10710 </cell>
10711 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10712 \begin_inset Text
10713
10714 \begin_layout Plain Layout
10715 Hilde
10716 \end_layout
10717
10718 \end_inset
10719 </cell>
10720 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10721 \begin_inset Text
10722
10723 \begin_layout Plain Layout
10724 111
10725 \end_layout
10726
10727 \end_inset
10728 </cell>
10729 </row>
10730 <row>
10731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10732 \begin_inset Text
10733
10734 \begin_layout Plain Layout
10735
10736 \series bold
10737 Vigna
10738 \end_layout
10739
10740 \end_inset
10741 </cell>
10742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10743 \begin_inset Text
10744
10745 \begin_layout Plain Layout
10746 Jürgen
10747 \end_layout
10748
10749 \end_inset
10750 </cell>
10751 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10752 \begin_inset Text
10753
10754 \begin_layout Plain Layout
10755 111
10756 \end_layout
10757
10758 \end_inset
10759 </cell>
10760 </row>
10761 <row>
10762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10763 \begin_inset Text
10764
10765 \begin_layout Plain Layout
10766
10767 \series bold
10768 Weber
10769 \end_layout
10770
10771 \end_inset
10772 </cell>
10773 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10774 \begin_inset Text
10775
10776 \begin_layout Plain Layout
10777 Maurizio
10778 \end_layout
10779
10780 \end_inset
10781 </cell>
10782 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10783 \begin_inset Text
10784
10785 \begin_layout Plain Layout
10786 111
10787 \end_layout
10788
10789 \end_inset
10790 </cell>
10791 </row>
10792 <row>
10793 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10794 \begin_inset Text
10795
10796 \begin_layout Plain Layout
10797
10798 \series bold
10799 Winkler
10800 \end_layout
10801
10802 \end_inset
10803 </cell>
10804 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10805 \begin_inset Text
10806
10807 \begin_layout Plain Layout
10808 Franz
10809 \end_layout
10810
10811 \end_inset
10812 </cell>
10813 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10814 \begin_inset Text
10815
10816 \begin_layout Plain Layout
10817 111
10818 \end_layout
10819
10820 \end_inset
10821 </cell>
10822 </row>
10823 <row endlastfoot="true">
10824 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10825 \begin_inset Text
10826
10827 \begin_layout Plain Layout
10828
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Plain Layout
10837
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Plain Layout
10846
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 </row>
10852 </lyxtabular>
10853
10854 \end_inset
10855
10856
10857 \end_layout
10858
10859 \begin_layout Standard
10860 \begin_inset Newpage newpage
10861 \end_inset
10862
10863
10864 \end_layout
10865
10866 \begin_layout Section
10867 Multiple Lines Columns and Rows
10868 \end_layout
10869
10870 \begin_layout Subsection
10871 Multiple Lines in Table Cells
10872 \begin_inset CommandInset label
10873 LatexCommand label
10874 name "sub:Multiple-Lines-in"
10875
10876 \end_inset
10877
10878
10879 \begin_inset Index
10880 status collapsed
10881
10882 \begin_layout Plain Layout
10883 Multiple Lines in Table Cells
10884 \end_layout
10885
10886 \end_inset
10887
10888
10889 \begin_inset Index
10890 status collapsed
10891
10892 \begin_layout Plain Layout
10893 Table ! Linebreaks
10894 \end_layout
10895
10896 \end_inset
10897
10898
10899 \end_layout
10900
10901 \begin_layout Standard
10902 \noindent
10903 \begin_inset Float table
10904 placement H
10905 wide false
10906 sideways false
10907 status open
10908
10909 \begin_layout Plain Layout
10910 \begin_inset Caption
10911
10912 \begin_layout Plain Layout
10913 \begin_inset CommandInset label
10914 LatexCommand label
10915 name "tab:Table-with-multiple"
10916
10917 \end_inset
10918
10919 Table with multiple lines in cells
10920 \end_layout
10921
10922 \end_inset
10923
10924
10925 \end_layout
10926
10927 \begin_layout Plain Layout
10928 \align center
10929 \begin_inset Tabular
10930 <lyxtabular version="3" rows="3" columns="3">
10931 <features>
10932 <column alignment="center" valignment="middle" width="2.5cm">
10933 <column alignment="center" valignment="middle" width="0">
10934 <column alignment="center" valignment="middle" width="0">
10935 <row>
10936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10937 \begin_inset Text
10938
10939 \begin_layout Plain Layout
10940 multiple
10941 \begin_inset Newline linebreak
10942 \end_inset
10943
10944 lines
10945 \end_layout
10946
10947 \end_inset
10948 </cell>
10949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10950 \begin_inset Text
10951
10952 \begin_layout Plain Layout
10953 b
10954 \end_layout
10955
10956 \end_inset
10957 </cell>
10958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10959 \begin_inset Text
10960
10961 \begin_layout Plain Layout
10962 c
10963 \end_layout
10964
10965 \end_inset
10966 </cell>
10967 </row>
10968 <row>
10969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10970 \begin_inset Text
10971
10972 \begin_layout Plain Layout
10973 d
10974 \end_layout
10975
10976 \end_inset
10977 </cell>
10978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10979 \begin_inset Text
10980
10981 \begin_layout Plain Layout
10982 e
10983 \end_layout
10984
10985 \end_inset
10986 </cell>
10987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10988 \begin_inset Text
10989
10990 \begin_layout Plain Layout
10991 f
10992 \end_layout
10993
10994 \end_inset
10995 </cell>
10996 </row>
10997 <row>
10998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10999 \begin_inset Text
11000
11001 \begin_layout Plain Layout
11002 g
11003 \end_layout
11004
11005 \end_inset
11006 </cell>
11007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11008 \begin_inset Text
11009
11010 \begin_layout Plain Layout
11011 h
11012 \end_layout
11013
11014 \end_inset
11015 </cell>
11016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11017 \begin_inset Text
11018
11019 \begin_layout Plain Layout
11020 i
11021 \end_layout
11022
11023 \end_inset
11024 </cell>
11025 </row>
11026 </lyxtabular>
11027
11028 \end_inset
11029
11030
11031 \end_layout
11032
11033 \end_inset
11034
11035
11036 \end_layout
11037
11038 \begin_layout Standard
11039 Adjusting a fixed width for a column, enables to enter text as a paragraph
11040  with multiple lines and hyphenations.
11041 \end_layout
11042
11043 \begin_layout Standard
11044 To produce Table
11045 \begin_inset space ~
11046 \end_inset
11047
11048
11049 \begin_inset CommandInset ref
11050 LatexCommand ref
11051 reference "tab:Table-with-multiple"
11052
11053 \end_inset
11054
11055 , create a 3×3 table, mark the first cell and right-click on it.
11056  In the appearing table dialog we set a cell width of 2.5
11057 \begin_inset space \thinspace{}
11058 \end_inset
11059
11060 cm and choose centered for the vertical and horizontal alignment.
11061  The vertical alignment is used for all cells of the row.
11062  As our text is smaller than than 2.5
11063 \begin_inset space \thinspace{}
11064 \end_inset
11065
11066 cm, only one line will appear.
11067  To get two lines, a justified line break (shortcut 
11068 \begin_inset Info
11069 type  "shortcut"
11070 arg   "newline-insert linebreak"
11071 \end_inset
11072
11073 ) was added.
11074  If the text is wider than the set cell width, it will automatically be
11075  broken to several lines.
11076 \end_layout
11077
11078 \begin_layout Standard
11079 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11080  by LaTeX if it is the first entry.
11081  Therefore you need to insert something, to make the word not being the
11082  first entry.
11083  So add a horizontal space of 0
11084 \begin_inset space \thinspace{}
11085 \end_inset
11086
11087 pt before the word.
11088  As the space is zero, it doesn't change the output.
11089  Table
11090 \begin_inset space ~
11091 \end_inset
11092
11093
11094 \begin_inset CommandInset ref
11095 LatexCommand ref
11096 reference "tab:Table-with-and"
11097
11098 \end_inset
11099
11100  shows the effect.
11101 \end_layout
11102
11103 \begin_layout Standard
11104 \begin_inset Float table
11105 placement h
11106 wide false
11107 sideways false
11108 status open
11109
11110 \begin_layout Plain Layout
11111 \begin_inset Caption
11112
11113 \begin_layout Plain Layout
11114 \begin_inset CommandInset label
11115 LatexCommand label
11116 name "tab:Table-with-and"
11117
11118 \end_inset
11119
11120 Table with and without hyphenation
11121 \end_layout
11122
11123 \end_inset
11124
11125
11126 \end_layout
11127
11128 \begin_layout Plain Layout
11129 \begin_inset space \hfill{}
11130 \end_inset
11131
11132
11133 \begin_inset Tabular
11134 <lyxtabular version="3" rows="3" columns="3">
11135 <features>
11136 <column alignment="center" valignment="middle" width="2.5cm">
11137 <column alignment="center" valignment="middle" width="0">
11138 <column alignment="center" valignment="middle" width="0">
11139 <row>
11140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11141 \begin_inset Text
11142
11143 \begin_layout Plain Layout
11144 verylongtablecellword
11145 \end_layout
11146
11147 \end_inset
11148 </cell>
11149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11150 \begin_inset Text
11151
11152 \begin_layout Plain Layout
11153 b
11154 \end_layout
11155
11156 \end_inset
11157 </cell>
11158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11159 \begin_inset Text
11160
11161 \begin_layout Plain Layout
11162 c
11163 \end_layout
11164
11165 \end_inset
11166 </cell>
11167 </row>
11168 <row>
11169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11170 \begin_inset Text
11171
11172 \begin_layout Plain Layout
11173 d
11174 \end_layout
11175
11176 \end_inset
11177 </cell>
11178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11179 \begin_inset Text
11180
11181 \begin_layout Plain Layout
11182 e
11183 \end_layout
11184
11185 \end_inset
11186 </cell>
11187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11188 \begin_inset Text
11189
11190 \begin_layout Plain Layout
11191 f
11192 \end_layout
11193
11194 \end_inset
11195 </cell>
11196 </row>
11197 <row>
11198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11199 \begin_inset Text
11200
11201 \begin_layout Plain Layout
11202 g
11203 \end_layout
11204
11205 \end_inset
11206 </cell>
11207 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11208 \begin_inset Text
11209
11210 \begin_layout Plain Layout
11211 h
11212 \end_layout
11213
11214 \end_inset
11215 </cell>
11216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11217 \begin_inset Text
11218
11219 \begin_layout Plain Layout
11220 i
11221 \end_layout
11222
11223 \end_inset
11224 </cell>
11225 </row>
11226 </lyxtabular>
11227
11228 \end_inset
11229
11230
11231 \begin_inset space \hfill{}
11232 \end_inset
11233
11234
11235 \begin_inset Tabular
11236 <lyxtabular version="3" rows="3" columns="3">
11237 <features>
11238 <column alignment="center" valignment="middle" width="2.5cm">
11239 <column alignment="center" valignment="middle" width="0">
11240 <column alignment="center" valignment="middle" width="0">
11241 <row>
11242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11243 \begin_inset Text
11244
11245 \begin_layout Plain Layout
11246 \begin_inset space \hspace{}
11247 \length 0pt
11248 \end_inset
11249
11250 verylongtablecellword
11251 \end_layout
11252
11253 \end_inset
11254 </cell>
11255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11256 \begin_inset Text
11257
11258 \begin_layout Plain Layout
11259 b
11260 \end_layout
11261
11262 \end_inset
11263 </cell>
11264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11265 \begin_inset Text
11266
11267 \begin_layout Plain Layout
11268 c
11269 \end_layout
11270
11271 \end_inset
11272 </cell>
11273 </row>
11274 <row>
11275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11276 \begin_inset Text
11277
11278 \begin_layout Plain Layout
11279 d
11280 \end_layout
11281
11282 \end_inset
11283 </cell>
11284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11285 \begin_inset Text
11286
11287 \begin_layout Plain Layout
11288 e
11289 \end_layout
11290
11291 \end_inset
11292 </cell>
11293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11294 \begin_inset Text
11295
11296 \begin_layout Plain Layout
11297 f
11298 \end_layout
11299
11300 \end_inset
11301 </cell>
11302 </row>
11303 <row>
11304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11305 \begin_inset Text
11306
11307 \begin_layout Plain Layout
11308 g
11309 \end_layout
11310
11311 \end_inset
11312 </cell>
11313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11314 \begin_inset Text
11315
11316 \begin_layout Plain Layout
11317 h
11318 \end_layout
11319
11320 \end_inset
11321 </cell>
11322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11323 \begin_inset Text
11324
11325 \begin_layout Plain Layout
11326 i
11327 \end_layout
11328
11329 \end_inset
11330 </cell>
11331 </row>
11332 </lyxtabular>
11333
11334 \end_inset
11335
11336
11337 \begin_inset space \hfill{}
11338 \end_inset
11339
11340
11341 \end_layout
11342
11343 \end_inset
11344
11345
11346 \end_layout
11347
11348 \begin_layout Subsection
11349 Multicolumns
11350 \begin_inset CommandInset label
11351 LatexCommand label
11352 name "sub:Multicolumns"
11353
11354 \end_inset
11355
11356
11357 \begin_inset Index
11358 status collapsed
11359
11360 \begin_layout Plain Layout
11361 Multicolumns
11362 \end_layout
11363
11364 \end_inset
11365
11366
11367 \begin_inset Index
11368 status collapsed
11369
11370 \begin_layout Plain Layout
11371 Table ! Multicolumns
11372 \end_layout
11373
11374 \end_inset
11375
11376
11377 \end_layout
11378
11379 \begin_layout Subsubsection
11380 Multicolumn Basics
11381 \end_layout
11382
11383 \begin_layout Standard
11384 To span a cell over multiple columns, mark as much cells within a line that
11385  should be one spanned cell and use either the table-toolbar button 
11386 \begin_inset Graphics
11387         filename ../images/tabular-feature_multicolumn.png
11388         scale 85
11389         scaleBeforeRotation
11390
11391 \end_inset
11392
11393 , or the menu 
11394 \family sans
11395 Edit\SpecialChar \menuseparator
11396 Table\SpecialChar \menuseparator
11397 Multicolumn
11398 \family default
11399 , or right click on the marked cells and choose multicolumn in the appearing
11400  table dialog under the tab 
11401 \family sans
11402 Table Settings
11403 \family default
11404 .
11405 \end_layout
11406
11407 \begin_layout Standard
11408 Multicolumns have there own cell settings.
11409  That means changing cell borders, cell alignment, and the width only affects
11410  the multicolumn.
11411  Here is an example table with a multicolumn cell in the first row and one
11412  in the last row without the upper border:
11413 \end_layout
11414
11415 \begin_layout Standard
11416 \align center
11417 \begin_inset Tabular
11418 <lyxtabular version="3" rows="3" columns="4">
11419 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11420 <column alignment="center" valignment="top" width="0pt">
11421 <column alignment="center" valignment="middle" width="0">
11422 <column alignment="center" valignment="top" width="0in">
11423 <column alignment="center" valignment="top" width="0pt">
11424 <row>
11425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11426 \begin_inset Text
11427
11428 \begin_layout Plain Layout
11429 abc
11430 \end_layout
11431
11432 \end_inset
11433 </cell>
11434 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11435 \begin_inset Text
11436
11437 \begin_layout Plain Layout
11438 def ghi
11439 \end_layout
11440
11441 \end_inset
11442 </cell>
11443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11444 \begin_inset Text
11445
11446 \begin_layout Plain Layout
11447
11448 \end_layout
11449
11450 \end_inset
11451 </cell>
11452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11453 \begin_inset Text
11454
11455 \begin_layout Plain Layout
11456 jkl
11457 \end_layout
11458
11459 \end_inset
11460 </cell>
11461 </row>
11462 <row>
11463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11464 \begin_inset Text
11465
11466 \begin_layout Plain Layout
11467
11468 \family roman
11469 \series medium
11470 \shape up
11471 \size normal
11472 \emph off
11473 \bar no
11474 \noun off
11475 \color none
11476 A
11477 \end_layout
11478
11479 \end_inset
11480 </cell>
11481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11482 \begin_inset Text
11483
11484 \begin_layout Plain Layout
11485 B
11486 \end_layout
11487
11488 \end_inset
11489 </cell>
11490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11491 \begin_inset Text
11492
11493 \begin_layout Plain Layout
11494 C
11495 \end_layout
11496
11497 \end_inset
11498 </cell>
11499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11500 \begin_inset Text
11501
11502 \begin_layout Plain Layout
11503 D
11504 \end_layout
11505
11506 \end_inset
11507 </cell>
11508 </row>
11509 <row>
11510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11511 \begin_inset Text
11512
11513 \begin_layout Plain Layout
11514 1
11515 \end_layout
11516
11517 \end_inset
11518 </cell>
11519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11520 \begin_inset Text
11521
11522 \begin_layout Plain Layout
11523 2
11524 \end_layout
11525
11526 \end_inset
11527 </cell>
11528 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11529 \begin_inset Text
11530
11531 \begin_layout Plain Layout
11532 3
11533 \end_layout
11534
11535 \end_inset
11536 </cell>
11537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11538 \begin_inset Text
11539
11540 \begin_layout Plain Layout
11541 4
11542 \end_layout
11543
11544 \end_inset
11545 </cell>
11546 </row>
11547 </lyxtabular>
11548
11549 \end_inset
11550
11551
11552 \end_layout
11553
11554 \begin_layout Subsubsection
11555 Multicolumn Calculations
11556 \begin_inset CommandInset label
11557 LatexCommand label
11558 name "sub:Multicolumn-Calculations"
11559
11560 \end_inset
11561
11562
11563 \begin_inset Index
11564 status collapsed
11565
11566 \begin_layout Plain Layout
11567 Multicolumns ! Calculations
11568 \end_layout
11569
11570 \end_inset
11571
11572
11573 \end_layout
11574
11575 \begin_layout Standard
11576 LyX supports multicolumns directly, but we have to take notice of the cell
11577  width of the columns spanned by the multicolumn cell.
11578 \end_layout
11579
11580 \begin_layout Standard
11581 \begin_inset Float table
11582 placement h
11583 wide false
11584 sideways false
11585 status open
11586
11587 \begin_layout Plain Layout
11588 \begin_inset Caption
11589
11590 \begin_layout Plain Layout
11591 \begin_inset CommandInset label
11592 LatexCommand label
11593 name "tab:Table-with-centered"
11594
11595 \end_inset
11596
11597 Table with centered multicolumn text above two columns that have exactly
11598  half the width of the multicolumn cell
11599 \begin_inset OptArg
11600 status collapsed
11601
11602 \begin_layout Plain Layout
11603 Perfect multicolumn table
11604 \end_layout
11605
11606 \end_inset
11607
11608
11609 \end_layout
11610
11611 \end_inset
11612
11613
11614 \end_layout
11615
11616 \begin_layout Plain Layout
11617 \align center
11618 \begin_inset Tabular
11619 <lyxtabular version="3" rows="3" columns="3">
11620 <features>
11621 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11622 <column alignment="center" valignment="middle" width="0">
11623 <column alignment="center" valignment="top" width="0">
11624 <row>
11625 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11626 \begin_inset Text
11627
11628 \begin_layout Plain Layout
11629 multiple lines multicolumn
11630 \end_layout
11631
11632 \end_inset
11633 </cell>
11634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11635 \begin_inset Text
11636
11637 \begin_layout Plain Layout
11638
11639 \end_layout
11640
11641 \end_inset
11642 </cell>
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Plain Layout
11647 c
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 </row>
11653 <row>
11654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11655 \begin_inset Text
11656
11657 \begin_layout Plain Layout
11658 d
11659 \end_layout
11660
11661 \end_inset
11662 </cell>
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_inset Text
11665
11666 \begin_layout Plain Layout
11667 e
11668 \end_layout
11669
11670 \end_inset
11671 </cell>
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11673 \begin_inset Text
11674
11675 \begin_layout Plain Layout
11676 f
11677 \end_layout
11678
11679 \end_inset
11680 </cell>
11681 </row>
11682 <row>
11683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11684 \begin_inset Text
11685
11686 \begin_layout Plain Layout
11687 g
11688 \end_layout
11689
11690 \end_inset
11691 </cell>
11692 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11693 \begin_inset Text
11694
11695 \begin_layout Plain Layout
11696 h
11697 \end_layout
11698
11699 \end_inset
11700 </cell>
11701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11702 \begin_inset Text
11703
11704 \begin_layout Plain Layout
11705 i
11706 \end_layout
11707
11708 \end_inset
11709 </cell>
11710 </row>
11711 </lyxtabular>
11712
11713 \end_inset
11714
11715
11716 \end_layout
11717
11718 \end_inset
11719
11720
11721 \end_layout
11722
11723 \begin_layout Standard
11724 To create for example Table
11725 \begin_inset space ~
11726 \end_inset
11727
11728
11729 \begin_inset CommandInset ref
11730 LatexCommand ref
11731 reference "tab:Table-with-centered"
11732
11733 \end_inset
11734
11735 , mark the first two cells in the first row of a 3×3 table and right-click
11736  on them.
11737  Now choose for this cell 
11738 \emph on
11739 multicolumn
11740 \emph default
11741
11742 \emph on
11743 centered alignment
11744 \emph default
11745  and a width of 2.5
11746 \begin_inset space \thinspace{}
11747 \end_inset
11748
11749 cm in the table dialog.
11750  The spanned columns should have exactly half the width of the multicolumn
11751  cell, so that you would adjust a width of 1.25
11752 \begin_inset space \thinspace{}
11753 \end_inset
11754
11755 cm for the first column.
11756  The second column has then automatically a width of 1.25
11757 \begin_inset space \thinspace{}
11758 \end_inset
11759
11760 cm (multicolumn width - width of first column).
11761  This was done for Table
11762 \begin_inset space ~
11763 \end_inset
11764
11765
11766 \begin_inset CommandInset ref
11767 LatexCommand ref
11768 reference "tab:Table-without-half"
11769
11770 \end_inset
11771
11772 .
11773 \end_layout
11774
11775 \begin_layout Standard
11776 \begin_inset Float table
11777 wide false
11778 sideways false
11779 status open
11780
11781 \begin_layout Plain Layout
11782 \begin_inset Caption
11783
11784 \begin_layout Plain Layout
11785 \begin_inset CommandInset label
11786 LatexCommand label
11787 name "tab:Table-without-half"
11788
11789 \end_inset
11790
11791 Table where the spanned table columns have not exactly half the width of
11792  the multicolumn cell
11793 \begin_inset OptArg
11794 status collapsed
11795
11796 \begin_layout Plain Layout
11797 Imperfect multicolumn table
11798 \end_layout
11799
11800 \end_inset
11801
11802
11803 \end_layout
11804
11805 \end_inset
11806
11807
11808 \end_layout
11809
11810 \begin_layout Plain Layout
11811 \align center
11812 \begin_inset Tabular
11813 <lyxtabular version="3" rows="3" columns="3">
11814 <features>
11815 <column alignment="center" valignment="top" width="1.25cm">
11816 <column alignment="center" valignment="top" width="0">
11817 <column alignment="center" valignment="top" width="0">
11818 <row>
11819 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11820 \begin_inset Text
11821
11822 \begin_layout Plain Layout
11823 multiple lines multicolumn
11824 \end_layout
11825
11826 \end_inset
11827 </cell>
11828 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11829 \begin_inset Text
11830
11831 \begin_layout Plain Layout
11832
11833 \end_layout
11834
11835 \end_inset
11836 </cell>
11837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11838 \begin_inset Text
11839
11840 \begin_layout Plain Layout
11841 c
11842 \end_layout
11843
11844 \end_inset
11845 </cell>
11846 </row>
11847 <row>
11848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11849 \begin_inset Text
11850
11851 \begin_layout Plain Layout
11852 d
11853 \end_layout
11854
11855 \end_inset
11856 </cell>
11857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11858 \begin_inset Text
11859
11860 \begin_layout Plain Layout
11861 e
11862 \end_layout
11863
11864 \end_inset
11865 </cell>
11866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11867 \begin_inset Text
11868
11869 \begin_layout Plain Layout
11870 f
11871 \end_layout
11872
11873 \end_inset
11874 </cell>
11875 </row>
11876 <row>
11877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11878 \begin_inset Text
11879
11880 \begin_layout Plain Layout
11881 g
11882 \end_layout
11883
11884 \end_inset
11885 </cell>
11886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11887 \begin_inset Text
11888
11889 \begin_layout Plain Layout
11890 h
11891 \end_layout
11892
11893 \end_inset
11894 </cell>
11895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11896 \begin_inset Text
11897
11898 \begin_layout Plain Layout
11899 i
11900 \end_layout
11901
11902 \end_inset
11903 </cell>
11904 </row>
11905 </lyxtabular>
11906
11907 \end_inset
11908
11909
11910 \end_layout
11911
11912 \end_inset
11913
11914
11915 \end_layout
11916
11917 \begin_layout Standard
11918 You can see that the first column has not the half width of the multicolumn
11919  cell, it is a bit bigger.
11920  The reason is that the given width of a cell 
11921 \begin_inset Formula $W_{g}$
11922 \end_inset
11923
11924  is not its total width 
11925 \begin_inset Formula $W_{\mathrm{tot}}$
11926 \end_inset
11927
11928  because a cell is always a bit larger than its given width.
11929  Appendix
11930 \begin_inset space ~
11931 \end_inset
11932
11933
11934 \begin_inset CommandInset ref
11935 LatexCommand eqref
11936 reference "cha:Explanation-of-Equation"
11937
11938 \end_inset
11939
11940  explains it in detail.
11941 \end_layout
11942
11943 \begin_layout Standard
11944 The needed given width 
11945 \begin_inset Formula $W_{g\, n}$
11946 \end_inset
11947
11948  when 
11949 \emph on
11950 n
11951 \emph default
11952  columns are spanned can be calculated, so that each column has a total
11953  width of 
11954 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11955 \end_inset
11956
11957 :
11958 \begin_inset Formula \begin{equation}
11959 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11960
11961 \end_inset
11962
11963
11964 \end_layout
11965
11966 \begin_layout Standard
11967 In our case we have 
11968 \begin_inset Formula $n=2$
11969 \end_inset
11970
11971
11972 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11973 \end_inset
11974
11975 cm and the default values for the lengths, so that equation 
11976 \begin_inset CommandInset ref
11977 LatexCommand ref
11978 reference "eq:Wgn"
11979
11980 \end_inset
11981
11982  becomes
11983 \begin_inset Formula \begin{equation}
11984 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11985
11986 \end_inset
11987
11988
11989 \end_layout
11990
11991 \begin_layout Standard
11992 To enable calculations in LaTeX, the LaTeX-package 
11993 \series bold
11994 calc
11995 \series default
11996  must be loaded with the document preamble line
11997 \begin_inset Index
11998 status collapsed
11999
12000 \begin_layout Plain Layout
12001 LaTeX-packages ! calc
12002 \end_layout
12003
12004 \end_inset
12005
12006
12007 \end_layout
12008
12009 \begin_layout Standard
12010
12011 \series bold
12012
12013 \backslash
12014 usepackage{calc}
12015 \end_layout
12016
12017 \begin_layout Standard
12018 LyX does not allow to calculate lengths in the width-field of the table
12019  dialog.
12020  Therefore you have to format the column by inserting a LaTeX-argument in
12021  the dialog.
12022  Here is an overview about the arguments:
12023 \end_layout
12024
12025 \begin_layout Itemize
12026
12027 \series bold
12028 p{width}
12029 \series default
12030  creates cell with a fixed width, its text is vertically top-aligned
12031 \end_layout
12032
12033 \begin_layout Itemize
12034
12035 \series bold
12036 m{width}
12037 \series default
12038  creates cell with a fixed width, its text is vertically centered
12039 \end_layout
12040
12041 \begin_layout Itemize
12042
12043 \series bold
12044 b{width}
12045 \series default
12046  creates cell with a fixed width, its text is vertically bottom-aligned
12047 \end_layout
12048
12049 \begin_layout Standard
12050 By entering a LaTeX-argument, all cell settings set in the table dialog
12051  are overwritten.
12052 \end_layout
12053
12054 \begin_layout Standard
12055 \begin_inset Note Greyedout
12056 status open
12057
12058 \begin_layout Plain Layout
12059
12060 \series bold
12061 Note:
12062 \series default
12063  Due to a bug, LyX shows the overwritten settings anyway.
12064 \end_layout
12065
12066 \end_inset
12067
12068
12069 \end_layout
12070
12071 \begin_layout Standard
12072 As the text should be horizontally centered, the command 
12073 \series bold
12074
12075 \backslash
12076 centering
12077 \series default
12078  is added.
12079  You can now enter the following LaTeX-argument for the first spanned column:
12080 \end_layout
12081
12082 \begin_layout Standard
12083
12084 \series bold
12085 >{
12086 \backslash
12087 centering}m{1.25cm-6.2pt}
12088 \end_layout
12089
12090 \begin_layout Standard
12091 The command 
12092 \series bold
12093 >{ }
12094 \series default
12095  means, that the commands inside the braces are applied before the cell
12096  is created.
12097 \end_layout
12098
12099 \begin_layout Standard
12100 Although we have chosen centered alignment for the text of the multicolumn
12101  cell, it is still left aligned.
12102  This is because LyX only applies the alignment to single columns.
12103  So we have to use for the multicolumn the LaTeX-argument
12104 \end_layout
12105
12106 \begin_layout Standard
12107
12108 \series bold
12109 >{
12110 \backslash
12111 centering}m{2.5cm}
12112 \end_layout
12113
12114 \begin_layout Subsection
12115 Multirows
12116 \begin_inset Index
12117 status collapsed
12118
12119 \begin_layout Plain Layout
12120 Multirows
12121 \end_layout
12122
12123 \end_inset
12124
12125
12126 \begin_inset Index
12127 status collapsed
12128
12129 \begin_layout Plain Layout
12130 Table ! Multirows
12131 \end_layout
12132
12133 \end_inset
12134
12135
12136 \end_layout
12137
12138 \begin_layout Standard
12139 In contrary to multicolumns multirows are not yet supported by LyX so a
12140  bit of TeX-Code needs to be used.
12141  To use multirows load the LaTeX-package 
12142 \series bold
12143 multirow
12144 \series default
12145
12146 \begin_inset Index
12147 status collapsed
12148
12149 \begin_layout Plain Layout
12150 LaTeX-packages ! multirow
12151 \end_layout
12152
12153 \end_inset
12154
12155  in your document preamble with the command
12156 \end_layout
12157
12158 \begin_layout Standard
12159
12160 \series bold
12161
12162 \backslash
12163 usepackage{multirow}
12164 \end_layout
12165
12166 \begin_layout Standard
12167 Multirows are created with the command
12168 \end_layout
12169
12170 \begin_layout Standard
12171
12172 \series bold
12173
12174 \backslash
12175 multirow{number of rows}{cell width}{cell entry}
12176 \end_layout
12177
12178 \begin_layout Standard
12179 To create the following table:
12180 \end_layout
12181
12182 \begin_layout Standard
12183 \align center
12184 \begin_inset ERT
12185 status collapsed
12186
12187 \begin_layout Plain Layout
12188
12189
12190 \backslash
12191 renewcommand{
12192 \backslash
12193 multirowsetup}{
12194 \backslash
12195 centering}
12196 \end_layout
12197
12198 \end_inset
12199
12200
12201 \begin_inset Tabular
12202 <lyxtabular version="3" rows="3" columns="3">
12203 <features>
12204 <column alignment="center" valignment="top" width="0">
12205 <column alignment="center" valignment="top" width="0">
12206 <column alignment="center" valignment="top" width="0">
12207 <row>
12208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12209 \begin_inset Text
12210
12211 \begin_layout Plain Layout
12212 a
12213 \end_layout
12214
12215 \end_inset
12216 </cell>
12217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12218 \begin_inset Text
12219
12220 \begin_layout Plain Layout
12221 b
12222 \end_layout
12223
12224 \end_inset
12225 </cell>
12226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12227 \begin_inset Text
12228
12229 \begin_layout Plain Layout
12230 c
12231 \end_layout
12232
12233 \end_inset
12234 </cell>
12235 </row>
12236 <row>
12237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12238 \begin_inset Text
12239
12240 \begin_layout Plain Layout
12241 \begin_inset ERT
12242 status collapsed
12243
12244 \begin_layout Plain Layout
12245
12246
12247 \backslash
12248 multirow{2}{2.5cm}{
12249 \end_layout
12250
12251 \end_inset
12252
12253 multirow entry
12254 \begin_inset ERT
12255 status collapsed
12256
12257 \begin_layout Plain Layout
12258
12259 }
12260 \end_layout
12261
12262 \end_inset
12263
12264
12265 \end_layout
12266
12267 \end_inset
12268 </cell>
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12270 \begin_inset Text
12271
12272 \begin_layout Plain Layout
12273 e
12274 \end_layout
12275
12276 \end_inset
12277 </cell>
12278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12279 \begin_inset Text
12280
12281 \begin_layout Plain Layout
12282 f
12283 \end_layout
12284
12285 \end_inset
12286 </cell>
12287 </row>
12288 <row>
12289 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12290 \begin_inset Text
12291
12292 \begin_layout Plain Layout
12293
12294 \end_layout
12295
12296 \end_inset
12297 </cell>
12298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12299 \begin_inset Text
12300
12301 \begin_layout Plain Layout
12302 h
12303 \end_layout
12304
12305 \end_inset
12306 </cell>
12307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12308 \begin_inset Text
12309
12310 \begin_layout Plain Layout
12311 i
12312 \end_layout
12313
12314 \end_inset
12315 </cell>
12316 </row>
12317 </lyxtabular>
12318
12319 \end_inset
12320
12321
12322 \begin_inset ERT
12323 status collapsed
12324
12325 \begin_layout Plain Layout
12326
12327
12328 \backslash
12329 renewcommand{
12330 \backslash
12331 multirowsetup}{
12332 \backslash
12333 raggedright}
12334 \end_layout
12335
12336 \end_inset
12337
12338
12339 \end_layout
12340
12341 \begin_layout Standard
12342 create a 3×3 table.
12343  To get rid of the line above the last cell in the first column, the cell
12344  is marked as multicolumn and the upper border is unset.
12345  The multirow is now created in the second row of the first column by inserting
12346  there the command
12347 \end_layout
12348
12349 \begin_layout Standard
12350
12351 \series bold
12352
12353 \backslash
12354 multirow{2}{2.5cm}{
12355 \end_layout
12356
12357 \begin_layout Standard
12358 as TeX-Code.
12359  According to the command parameters the multirow spans now two rows and
12360  has a width of 2.5
12361 \begin_inset space \thinspace{}
12362 \end_inset
12363
12364 cm.
12365  The content of the multirow cell follows outside the TeX-Code box and the
12366  command is finished with a right brace 
12367 \series bold
12368 }
12369 \series default
12370  in another TeX-Code-box behind the text.
12371 \end_layout
12372
12373 \begin_layout Standard
12374
12375 \series bold
12376
12377 \backslash
12378 multirow
12379 \series default
12380  left-aligns its content by default.
12381  To override the default, renew the command 
12382 \series bold
12383
12384 \backslash
12385 multirowsetup
12386 \series default
12387  with the command
12388 \end_layout
12389
12390 \begin_layout Standard
12391
12392 \series bold
12393
12394 \backslash
12395 renewcommand{
12396 \backslash
12397 multirowsetup}{
12398 \backslash
12399 centering}
12400 \end_layout
12401
12402 \begin_layout Standard
12403 in TeX-Code in the document preamble.
12404  Then all entries of multirow cells in the document are centered.
12405  If centering is only needed for several tables, you can renew the command
12406  in an TeX-Code box just before the table instead of the preamble.
12407  If the text should be right-aligned, replace 
12408 \series bold
12409
12410 \backslash
12411 centering
12412 \series default
12413  by 
12414 \series bold
12415
12416 \backslash
12417 raggedleft
12418 \series default
12419 .
12420  To return to left-alignment 
12421 \series bold
12422
12423 \backslash
12424 raggedright
12425 \series default
12426  is used.
12427 \end_layout
12428
12429 \begin_layout Section
12430 Formal Tables
12431 \begin_inset CommandInset label
12432 LatexCommand label
12433 name "sec:Formal-Tables"
12434
12435 \end_inset
12436
12437
12438 \begin_inset Index
12439 status collapsed
12440
12441 \begin_layout Plain Layout
12442 Table ! Formal
12443 \end_layout
12444
12445 \end_inset
12446
12447
12448 \end_layout
12449
12450 \begin_layout Standard
12451 Tables are often typeset in books similar to Table
12452 \begin_inset space ~
12453 \end_inset
12454
12455
12456 \begin_inset CommandInset ref
12457 LatexCommand ref
12458 reference "tab:Example-booktabs-table"
12459
12460 \end_inset
12461
12462 .
12463  This kind of tables is called 
12464 \begin_inset Quotes eld
12465 \end_inset
12466
12467
12468 \emph on
12469 formal
12470 \emph default
12471
12472 \begin_inset Quotes erd
12473 \end_inset
12474
12475 .
12476  To make a table a formal table use the option 
12477 \family sans
12478 Formal
12479 \family default
12480  in the 
12481 \family sans
12482 Borders
12483 \family default
12484  tab of the table dialog.
12485 \end_layout
12486
12487 \begin_layout Standard
12488 \begin_inset Float table
12489 placement h
12490 wide false
12491 sideways false
12492 status open
12493
12494 \begin_layout Plain Layout
12495 \begin_inset Caption
12496
12497 \begin_layout Plain Layout
12498 \begin_inset CommandInset label
12499 LatexCommand label
12500 name "tab:Example-booktabs-table"
12501
12502 \end_inset
12503
12504 Example booktabs-table
12505 \end_layout
12506
12507 \end_inset
12508
12509
12510 \end_layout
12511
12512 \begin_layout Plain Layout
12513 \align center
12514 \begin_inset Tabular
12515 <lyxtabular version="3" rows="8" columns="4">
12516 <features booktabs="true">
12517 <column alignment="center" valignment="top" width="0">
12518 <column alignment="center" valignment="top" width="0">
12519 <column alignment="center" valignment="top" width="0">
12520 <column alignment="center" valignment="top" width="0">
12521 <row>
12522 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12523 \begin_inset Text
12524
12525 \begin_layout Plain Layout
12526 System
12527 \end_layout
12528
12529 \end_inset
12530 </cell>
12531 <cell alignment="center" valignment="top" topline="true" usebox="none">
12532 \begin_inset Text
12533
12534 \begin_layout Plain Layout
12535 Medipix
12536 \begin_inset space \thinspace{}
12537 \end_inset
12538
12539 1
12540 \end_layout
12541
12542 \end_inset
12543 </cell>
12544 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12545 \begin_inset Text
12546
12547 \begin_layout Plain Layout
12548 Medipix
12549 \begin_inset space \thinspace{}
12550 \end_inset
12551
12552 2
12553 \end_layout
12554
12555 \end_inset
12556 </cell>
12557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12558 \begin_inset Text
12559
12560 \begin_layout Plain Layout
12561
12562 \end_layout
12563
12564 \end_inset
12565 </cell>
12566 </row>
12567 <row>
12568 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12569 \begin_inset Text
12570
12571 \begin_layout Plain Layout
12572 \begin_inset ERT
12573 status collapsed
12574
12575 \begin_layout Plain Layout
12576
12577
12578 \backslash
12579 cmidrule(r){2-2}
12580 \end_layout
12581
12582 \end_inset
12583
12584
12585 \begin_inset ERT
12586 status collapsed
12587
12588 \begin_layout Plain Layout
12589
12590
12591 \backslash
12592 cmidrule(l){3-4}
12593 \end_layout
12594
12595 \end_inset
12596
12597 Detector thickness [µm]
12598 \end_layout
12599
12600 \end_inset
12601 </cell>
12602 <cell alignment="center" valignment="top" usebox="none">
12603 \begin_inset Text
12604
12605 \begin_layout Plain Layout
12606 300
12607 \end_layout
12608
12609 \end_inset
12610 </cell>
12611 <cell alignment="center" valignment="top" usebox="none">
12612 \begin_inset Text
12613
12614 \begin_layout Plain Layout
12615 300
12616 \end_layout
12617
12618 \end_inset
12619 </cell>
12620 <cell alignment="center" valignment="top" usebox="none">
12621 \begin_inset Text
12622
12623 \begin_layout Plain Layout
12624 700
12625 \end_layout
12626
12627 \end_inset
12628 </cell>
12629 </row>
12630 <row>
12631 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12632 \begin_inset Text
12633
12634 \begin_layout Plain Layout
12635 Edge angle [°]
12636 \end_layout
12637
12638 \end_inset
12639 </cell>
12640 <cell alignment="center" valignment="top" topline="true" usebox="none">
12641 \begin_inset Text
12642
12643 \begin_layout Plain Layout
12644 3.55
12645 \end_layout
12646
12647 \end_inset
12648 </cell>
12649 <cell alignment="center" valignment="top" topline="true" usebox="none">
12650 \begin_inset Text
12651
12652 \begin_layout Plain Layout
12653 2.71
12654 \end_layout
12655
12656 \end_inset
12657 </cell>
12658 <cell alignment="center" valignment="top" topline="true" usebox="none">
12659 \begin_inset Text
12660
12661 \begin_layout Plain Layout
12662 7.99
12663 \end_layout
12664
12665 \end_inset
12666 </cell>
12667 </row>
12668 <row topspace="default">
12669 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12670 \begin_inset Text
12671
12672 \begin_layout Plain Layout
12673 Spatial resolution [µm]
12674 \end_layout
12675
12676 \end_inset
12677 </cell>
12678 <cell alignment="center" valignment="top" usebox="none">
12679 \begin_inset Text
12680
12681 \begin_layout Plain Layout
12682 4.26
12683 \end_layout
12684
12685 \end_inset
12686 </cell>
12687 <cell alignment="center" valignment="top" usebox="none">
12688 \begin_inset Text
12689
12690 \begin_layout Plain Layout
12691 10.17
12692 \end_layout
12693
12694 \end_inset
12695 </cell>
12696 <cell alignment="center" valignment="top" usebox="none">
12697 \begin_inset Text
12698
12699 \begin_layout Plain Layout
12700 10.56
12701 \end_layout
12702
12703 \end_inset
12704 </cell>
12705 </row>
12706 <row topspace="default">
12707 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12708 \begin_inset Text
12709
12710 \begin_layout Plain Layout
12711 MTF at 
12712 \begin_inset Formula $f_{\mathrm{max}}$
12713 \end_inset
12714
12715
12716 \end_layout
12717
12718 \end_inset
12719 </cell>
12720 <cell alignment="center" valignment="top" usebox="none">
12721 \begin_inset Text
12722
12723 \begin_layout Plain Layout
12724 0.53
12725 \end_layout
12726
12727 \end_inset
12728 </cell>
12729 <cell alignment="center" valignment="top" usebox="none">
12730 \begin_inset Text
12731
12732 \begin_layout Plain Layout
12733 0.37
12734 \end_layout
12735
12736 \end_inset
12737 </cell>
12738 <cell alignment="center" valignment="top" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Plain Layout
12742 0.39
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 </row>
12748 <row topspace="default">
12749 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12750 \begin_inset Text
12751
12752 \begin_layout Plain Layout
12753 \begin_inset ERT
12754 status collapsed
12755
12756 \begin_layout Plain Layout
12757
12758
12759 \backslash
12760 cmidrule(l{10pt}){1-1}
12761 \end_layout
12762
12763 \end_inset
12764
12765 LSF-spatial resolution
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 <cell alignment="center" valignment="top" usebox="none">
12771 \begin_inset Text
12772
12773 \begin_layout Plain Layout
12774
12775 \end_layout
12776
12777 \end_inset
12778 </cell>
12779 <cell alignment="center" valignment="top" usebox="none">
12780 \begin_inset Text
12781
12782 \begin_layout Plain Layout
12783
12784 \end_layout
12785
12786 \end_inset
12787 </cell>
12788 <cell alignment="center" valignment="top" usebox="none">
12789 \begin_inset Text
12790
12791 \begin_layout Plain Layout
12792
12793 \end_layout
12794
12795 \end_inset
12796 </cell>
12797 </row>
12798 <row>
12799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Plain Layout
12803 in Âµm
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 <cell alignment="center" valignment="top" usebox="none">
12809 \begin_inset Text
12810
12811 \begin_layout Plain Layout
12812 129.7
12813 \end_layout
12814
12815 \end_inset
12816 </cell>
12817 <cell alignment="center" valignment="top" usebox="none">
12818 \begin_inset Text
12819
12820 \begin_layout Plain Layout
12821 52.75
12822 \end_layout
12823
12824 \end_inset
12825 </cell>
12826 <cell alignment="center" valignment="top" usebox="none">
12827 \begin_inset Text
12828
12829 \begin_layout Plain Layout
12830 50.78
12831 \end_layout
12832
12833 \end_inset
12834 </cell>
12835 </row>
12836 <row>
12837 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12838 \begin_inset Text
12839
12840 \begin_layout Plain Layout
12841 in % of pixel size
12842 \end_layout
12843
12844 \end_inset
12845 </cell>
12846 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12847 \begin_inset Text
12848
12849 \begin_layout Plain Layout
12850 76.3
12851 \end_layout
12852
12853 \end_inset
12854 </cell>
12855 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12856 \begin_inset Text
12857
12858 \begin_layout Plain Layout
12859 95.9
12860 \end_layout
12861
12862 \end_inset
12863 </cell>
12864 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12865 \begin_inset Text
12866
12867 \begin_layout Plain Layout
12868 92.3
12869 \end_layout
12870
12871 \end_inset
12872 </cell>
12873 </row>
12874 </lyxtabular>
12875
12876 \end_inset
12877
12878
12879 \end_layout
12880
12881 \end_inset
12882
12883
12884 \end_layout
12885
12886 \begin_layout Standard
12887 Spaces to table rows can be added using the 
12888 \family sans
12889 Borders
12890 \family default
12891  tab of the table dialog as described in section
12892 \begin_inset space ~
12893 \end_inset
12894
12895
12896 \begin_inset CommandInset ref
12897 LatexCommand ref
12898 reference "sub:Row-Spacing"
12899
12900 \end_inset
12901
12902 .
12903 \end_layout
12904
12905 \begin_layout Standard
12906 In contrary to normal tables, formal tables have no vertical table lines.
12907  The horizontal table lines can be set like for normal tables but they appear
12908  with different width in the output:
12909 \begin_inset Newline newline
12910 \end_inset
12911
12912 The first and the last table line have a default width of 0.08
12913 \begin_inset space \thinspace{}
12914 \end_inset
12915
12916 em while the other lines have a default width of 0.05
12917 \begin_inset space \thinspace{}
12918 \end_inset
12919
12920 em.
12921 \end_layout
12922
12923 \begin_layout Standard
12924 The default widths can be changed with the following preamble lines
12925 \end_layout
12926
12927 \begin_layout Standard
12928
12929 \series bold
12930
12931 \backslash
12932 let
12933 \backslash
12934 mytoprule
12935 \backslash
12936 toprule
12937 \begin_inset Newline newline
12938 \end_inset
12939
12940
12941 \backslash
12942 renewcommand{
12943 \backslash
12944 toprule}{
12945 \backslash
12946 mytoprule[width]}
12947 \end_layout
12948
12949 \begin_layout Standard
12950 This example is for the first line, the so called 
12951 \series bold
12952 toprule
12953 \series default
12954 .
12955  If you want to change the width for the last line, replace 
12956 \series bold
12957 toprule
12958 \series default
12959  by 
12960 \series bold
12961 bottomrule
12962 \series default
12963 .
12964  To change the width for the other lines replace 
12965 \series bold
12966 toprule
12967 \series default
12968  by 
12969 \series bold
12970 midrule
12971 \series default
12972 .
12973  You can use all units listed in appendix
12974 \begin_inset space ~
12975 \end_inset
12976
12977
12978 \begin_inset CommandInset ref
12979 LatexCommand ref
12980 reference "cha:Units-available-in"
12981
12982 \end_inset
12983
12984  to set the width.
12985 \end_layout
12986
12987 \begin_layout Standard
12988 Lines that don't span over all table columns can be created by setting a
12989  table line for multicolumn cells.
12990  LyX will then internally use the command 
12991 \series bold
12992
12993 \backslash
12994 cmidrule
12995 \series default
12996  to create this line.
12997  Its full scheme is
12998 \end_layout
12999
13000 \begin_layout Standard
13001
13002 \series bold
13003
13004 \backslash
13005 cmidrule[width](trim){startcol-endcol}
13006 \end_layout
13007
13008 \begin_layout Standard
13009 The options of 
13010 \series bold
13011
13012 \backslash
13013 cmidrule
13014 \series default
13015  are are currently not supported by LyX so you have to use TeX-Code to be
13016  able to use them.
13017  
13018 \series bold
13019
13020 \backslash
13021 cmidrule
13022 \series default
13023 s can manually be created by inserting the command as TeX-Code as first
13024  cell entry of the first cell of a row.
13025  The line is then drawn in the output above the current row.
13026 \end_layout
13027
13028 \begin_layout Standard
13029 The default for the width is 0.03
13030 \begin_inset space \thinspace{}
13031 \end_inset
13032
13033 em.
13034  Startcol is the number of the column where the line starts and endcol the
13035  column number where the line ends.
13036  The endcol always needs to be specified, also when the line should span
13037  only one column.
13038  The optional parameter trim could be either 
13039 \emph on
13040 l{trimwidth}
13041 \emph default
13042 , or 
13043 \emph on
13044 r{trimwidth}
13045 \emph default
13046  where the trimwidth is also optional.
13047  Using for example the parameter 
13048 \emph on
13049 l{2pt}
13050 \emph default
13051  means that the line is trimmed from its left end by 2
13052 \begin_inset space \thinspace{}
13053 \end_inset
13054
13055 pt.
13056  If you don't specify the trimwidth the lines are trimmed by the default
13057  of 0.5
13058 \begin_inset space \thinspace{}
13059 \end_inset
13060
13061 em.
13062 \end_layout
13063
13064 \begin_layout Standard
13065 \begin_inset VSpace bigskip
13066 \end_inset
13067
13068 Table
13069 \begin_inset space ~
13070 \end_inset
13071
13072
13073 \begin_inset CommandInset ref
13074 LatexCommand ref
13075 reference "tab:Example-booktabs-table"
13076
13077 \end_inset
13078
13079  was created using the commands
13080 \end_layout
13081
13082 \begin_layout Standard
13083
13084 \series bold
13085
13086 \backslash
13087 cmidrule(r){2-2}
13088 \backslash
13089 cmidrule(l){3-4}
13090 \end_layout
13091
13092 \begin_layout Standard
13093 at the beginning of the in the second row and
13094 \end_layout
13095
13096 \begin_layout Standard
13097
13098 \series bold
13099
13100 \backslash
13101 cmidrule(l{10pt}){1-1}
13102 \end_layout
13103
13104 \begin_layout Standard
13105 in the sixth row.
13106 \end_layout
13107
13108 \begin_layout Standard
13109 \begin_inset VSpace bigskip
13110 \end_inset
13111
13112
13113 \end_layout
13114
13115 \begin_layout Standard
13116 You might want to have overlapping 
13117 \series bold
13118
13119 \backslash
13120 cmidrule
13121 \series default
13122 s like in Table
13123 \begin_inset space ~
13124 \end_inset
13125
13126
13127 \begin_inset CommandInset ref
13128 LatexCommand ref
13129 reference "tab:Special-booktabs-table"
13130
13131 \end_inset
13132
13133 .
13134  This can be achieved with the TeX-Code command
13135 \end_layout
13136
13137 \begin_layout Standard
13138
13139 \series bold
13140
13141 \backslash
13142 morecmidrules
13143 \end_layout
13144
13145 \begin_layout Standard
13146 The command that was used for the second row of Table
13147 \begin_inset space ~
13148 \end_inset
13149
13150
13151 \begin_inset CommandInset ref
13152 LatexCommand ref
13153 reference "tab:Special-booktabs-table"
13154
13155 \end_inset
13156
13157  is
13158 \end_layout
13159
13160 \begin_layout Standard
13161
13162 \series bold
13163
13164 \backslash
13165 cmidrule(r){2-2}
13166 \backslash
13167 cmidrule(l){3-4}
13168 \backslash
13169 morecmidrules
13170 \backslash
13171 cmidrule{2-4}
13172 \end_layout
13173
13174 \begin_layout Standard
13175 The command for the sixth row is
13176 \end_layout
13177
13178 \begin_layout Standard
13179
13180 \series bold
13181
13182 \backslash
13183 midrule
13184 \backslash
13185 morecmidrules
13186 \backslash
13187 cmidrule{3-4}
13188 \end_layout
13189
13190 \begin_layout Standard
13191 \begin_inset VSpace bigskip
13192 \end_inset
13193
13194
13195 \end_layout
13196
13197 \begin_layout Standard
13198 If you are anyway not satisfied with the border line spacing, you can use
13199  the following command to produce lines that span over all table columns
13200 \series bold
13201 :
13202 \end_layout
13203
13204 \begin_layout Standard
13205
13206 \series bold
13207
13208 \backslash
13209 specialrule{width}{space above}{space below}
13210 \end_layout
13211
13212 \begin_layout Standard
13213 For more informations about these specialties, we refer to the manual of
13214  the LaTeX-package 
13215 \series bold
13216 booktabs
13217 \series default
13218  
13219 \begin_inset CommandInset citation
13220 LatexCommand cite
13221 key "booktabs"
13222
13223 \end_inset
13224
13225 .
13226 \begin_inset Index
13227 status collapsed
13228
13229 \begin_layout Plain Layout
13230 LaTeX-packages ! booktabs
13231 \end_layout
13232
13233 \end_inset
13234
13235
13236 \end_layout
13237
13238 \begin_layout Standard
13239 \begin_inset Float table
13240 placement h
13241 wide false
13242 sideways false
13243 status open
13244
13245 \begin_layout Plain Layout
13246 \begin_inset Caption
13247
13248 \begin_layout Plain Layout
13249 \begin_inset CommandInset label
13250 LatexCommand label
13251 name "tab:Special-booktabs-table"
13252
13253 \end_inset
13254
13255 Special booktabs-table
13256 \end_layout
13257
13258 \end_inset
13259
13260
13261 \end_layout
13262
13263 \begin_layout Plain Layout
13264 \align center
13265 \begin_inset Tabular
13266 <lyxtabular version="3" rows="8" columns="4">
13267 <features booktabs="true">
13268 <column alignment="center" valignment="top" width="0">
13269 <column alignment="center" valignment="top" width="0">
13270 <column alignment="center" valignment="top" width="0">
13271 <column alignment="center" valignment="top" width="0">
13272 <row>
13273 <cell alignment="center" valignment="top" topline="true" usebox="none">
13274 \begin_inset Text
13275
13276 \begin_layout Plain Layout
13277 System
13278 \end_layout
13279
13280 \end_inset
13281 </cell>
13282 <cell alignment="center" valignment="top" topline="true" usebox="none">
13283 \begin_inset Text
13284
13285 \begin_layout Plain Layout
13286 Medipix
13287 \begin_inset space \thinspace{}
13288 \end_inset
13289
13290 1
13291 \end_layout
13292
13293 \end_inset
13294 </cell>
13295 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13296 \begin_inset Text
13297
13298 \begin_layout Plain Layout
13299 Medipix
13300 \begin_inset space \thinspace{}
13301 \end_inset
13302
13303 2
13304 \end_layout
13305
13306 \end_inset
13307 </cell>
13308 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13309 \begin_inset Text
13310
13311 \begin_layout Plain Layout
13312
13313 \end_layout
13314
13315 \end_inset
13316 </cell>
13317 </row>
13318 <row>
13319 <cell alignment="center" valignment="top" usebox="none">
13320 \begin_inset Text
13321
13322 \begin_layout Plain Layout
13323 \begin_inset ERT
13324 status collapsed
13325
13326 \begin_layout Plain Layout
13327
13328
13329 \backslash
13330 cmidrule(r){2-2}
13331 \end_layout
13332
13333 \end_inset
13334
13335
13336 \begin_inset ERT
13337 status collapsed
13338
13339 \begin_layout Plain Layout
13340
13341
13342 \backslash
13343 cmidrule(l){3-4}
13344 \end_layout
13345
13346 \end_inset
13347
13348
13349 \begin_inset ERT
13350 status collapsed
13351
13352 \begin_layout Plain Layout
13353
13354
13355 \backslash
13356 morecmidrules 
13357 \end_layout
13358
13359 \end_inset
13360
13361
13362 \begin_inset ERT
13363 status collapsed
13364
13365 \begin_layout Plain Layout
13366
13367
13368 \backslash
13369 cmidrule{2-4}
13370 \end_layout
13371
13372 \end_inset
13373
13374 Detector thickness [µm]
13375 \end_layout
13376
13377 \end_inset
13378 </cell>
13379 <cell alignment="center" valignment="top" usebox="none">
13380 \begin_inset Text
13381
13382 \begin_layout Plain Layout
13383 300
13384 \end_layout
13385
13386 \end_inset
13387 </cell>
13388 <cell alignment="center" valignment="top" usebox="none">
13389 \begin_inset Text
13390
13391 \begin_layout Plain Layout
13392 300
13393 \end_layout
13394
13395 \end_inset
13396 </cell>
13397 <cell alignment="center" valignment="top" usebox="none">
13398 \begin_inset Text
13399
13400 \begin_layout Plain Layout
13401 700
13402 \end_layout
13403
13404 \end_inset
13405 </cell>
13406 </row>
13407 <row>
13408 <cell alignment="center" valignment="top" topline="true" usebox="none">
13409 \begin_inset Text
13410
13411 \begin_layout Plain Layout
13412 Edge angle [°]
13413 \end_layout
13414
13415 \end_inset
13416 </cell>
13417 <cell alignment="center" valignment="top" topline="true" usebox="none">
13418 \begin_inset Text
13419
13420 \begin_layout Plain Layout
13421 3.55
13422 \end_layout
13423
13424 \end_inset
13425 </cell>
13426 <cell alignment="center" valignment="top" topline="true" usebox="none">
13427 \begin_inset Text
13428
13429 \begin_layout Plain Layout
13430 2.71
13431 \end_layout
13432
13433 \end_inset
13434 </cell>
13435 <cell alignment="center" valignment="top" topline="true" usebox="none">
13436 \begin_inset Text
13437
13438 \begin_layout Plain Layout
13439 7.99
13440 \end_layout
13441
13442 \end_inset
13443 </cell>
13444 </row>
13445 <row topspace="default">
13446 <cell alignment="center" valignment="top" usebox="none">
13447 \begin_inset Text
13448
13449 \begin_layout Plain Layout
13450 Spatial resolution [µm]
13451 \end_layout
13452
13453 \end_inset
13454 </cell>
13455 <cell alignment="center" valignment="top" usebox="none">
13456 \begin_inset Text
13457
13458 \begin_layout Plain Layout
13459 4.26
13460 \end_layout
13461
13462 \end_inset
13463 </cell>
13464 <cell alignment="center" valignment="top" usebox="none">
13465 \begin_inset Text
13466
13467 \begin_layout Plain Layout
13468 10.17
13469 \end_layout
13470
13471 \end_inset
13472 </cell>
13473 <cell alignment="center" valignment="top" usebox="none">
13474 \begin_inset Text
13475
13476 \begin_layout Plain Layout
13477 10.56
13478 \end_layout
13479
13480 \end_inset
13481 </cell>
13482 </row>
13483 <row topspace="default">
13484 <cell alignment="center" valignment="top" usebox="none">
13485 \begin_inset Text
13486
13487 \begin_layout Plain Layout
13488 MTF at 
13489 \begin_inset Formula $f_{\mathrm{max}}$
13490 \end_inset
13491
13492
13493 \end_layout
13494
13495 \end_inset
13496 </cell>
13497 <cell alignment="center" valignment="top" usebox="none">
13498 \begin_inset Text
13499
13500 \begin_layout Plain Layout
13501 0.53
13502 \end_layout
13503
13504 \end_inset
13505 </cell>
13506 <cell alignment="center" valignment="top" usebox="none">
13507 \begin_inset Text
13508
13509 \begin_layout Plain Layout
13510 0.37
13511 \end_layout
13512
13513 \end_inset
13514 </cell>
13515 <cell alignment="center" valignment="top" usebox="none">
13516 \begin_inset Text
13517
13518 \begin_layout Plain Layout
13519 0.39
13520 \end_layout
13521
13522 \end_inset
13523 </cell>
13524 </row>
13525 <row>
13526 <cell alignment="center" valignment="top" topline="true" usebox="none">
13527 \begin_inset Text
13528
13529 \begin_layout Plain Layout
13530 \begin_inset ERT
13531 status collapsed
13532
13533 \begin_layout Plain Layout
13534
13535
13536 \backslash
13537 morecmidrules 
13538 \end_layout
13539
13540 \end_inset
13541
13542
13543 \begin_inset ERT
13544 status collapsed
13545
13546 \begin_layout Plain Layout
13547
13548
13549 \backslash
13550 cmidrule{3-4}
13551 \end_layout
13552
13553 \end_inset
13554
13555 LSF-spatial resolution
13556 \end_layout
13557
13558 \end_inset
13559 </cell>
13560 <cell alignment="center" valignment="top" topline="true" usebox="none">
13561 \begin_inset Text
13562
13563 \begin_layout Plain Layout
13564
13565 \end_layout
13566
13567 \end_inset
13568 </cell>
13569 <cell alignment="center" valignment="top" topline="true" usebox="none">
13570 \begin_inset Text
13571
13572 \begin_layout Plain Layout
13573
13574 \end_layout
13575
13576 \end_inset
13577 </cell>
13578 <cell alignment="center" valignment="top" topline="true" usebox="none">
13579 \begin_inset Text
13580
13581 \begin_layout Plain Layout
13582
13583 \end_layout
13584
13585 \end_inset
13586 </cell>
13587 </row>
13588 <row>
13589 <cell alignment="center" valignment="top" usebox="none">
13590 \begin_inset Text
13591
13592 \begin_layout Plain Layout
13593 in Âµm
13594 \end_layout
13595
13596 \end_inset
13597 </cell>
13598 <cell alignment="center" valignment="top" usebox="none">
13599 \begin_inset Text
13600
13601 \begin_layout Plain Layout
13602 129.7
13603 \end_layout
13604
13605 \end_inset
13606 </cell>
13607 <cell alignment="center" valignment="top" usebox="none">
13608 \begin_inset Text
13609
13610 \begin_layout Plain Layout
13611 52.75
13612 \end_layout
13613
13614 \end_inset
13615 </cell>
13616 <cell alignment="center" valignment="top" usebox="none">
13617 \begin_inset Text
13618
13619 \begin_layout Plain Layout
13620 50.78
13621 \end_layout
13622
13623 \end_inset
13624 </cell>
13625 </row>
13626 <row>
13627 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13628 \begin_inset Text
13629
13630 \begin_layout Plain Layout
13631 in % of pixel size
13632 \end_layout
13633
13634 \end_inset
13635 </cell>
13636 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13637 \begin_inset Text
13638
13639 \begin_layout Plain Layout
13640 76.3
13641 \end_layout
13642
13643 \end_inset
13644 </cell>
13645 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13646 \begin_inset Text
13647
13648 \begin_layout Plain Layout
13649 95.9
13650 \end_layout
13651
13652 \end_inset
13653 </cell>
13654 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13655 \begin_inset Text
13656
13657 \begin_layout Plain Layout
13658 92.3
13659 \end_layout
13660
13661 \end_inset
13662 </cell>
13663 </row>
13664 </lyxtabular>
13665
13666 \end_inset
13667
13668
13669 \end_layout
13670
13671 \end_inset
13672
13673
13674 \end_layout
13675
13676 \begin_layout Section
13677 Vertical Table Alignment
13678 \begin_inset Index
13679 status collapsed
13680
13681 \begin_layout Plain Layout
13682 Table ! Alignment
13683 \end_layout
13684
13685 \end_inset
13686
13687
13688 \end_layout
13689
13690 \begin_layout Standard
13691 To align tables vertically in a text line the table must be inside a box.
13692  The box can then be vertically aligned as described in section
13693 \begin_inset space ~
13694 \end_inset
13695
13696
13697 \begin_inset CommandInset ref
13698 LatexCommand ref
13699 reference "sec:Box-Dialog"
13700
13701 \end_inset
13702
13703 .
13704 \end_layout
13705
13706 \begin_layout Standard
13707 In the following example the tables are inside a minipage
13708 \begin_inset Foot
13709 status collapsed
13710
13711 \begin_layout Plain Layout
13712 Minipages are described in section
13713 \begin_inset space ~
13714 \end_inset
13715
13716
13717 \begin_inset CommandInset ref
13718 LatexCommand ref
13719 reference "sec:Minipages"
13720
13721 \end_inset
13722
13723 .
13724 \end_layout
13725
13726 \end_inset
13727
13728  box that has a width of 15
13729 \begin_inset space \thinspace{}
13730 \end_inset
13731
13732 col%:
13733 \end_layout
13734
13735 \begin_layout Itemize
13736 test 
13737 \begin_inset Box Frameless
13738 position "t"
13739 hor_pos "c"
13740 has_inner_box 1
13741 inner_pos "c"
13742 use_parbox 0
13743 width "15col%"
13744 special "none"
13745 height "1in"
13746 height_special "totalheight"
13747 status collapsed
13748
13749 \begin_layout Plain Layout
13750 \begin_inset Tabular
13751 <lyxtabular version="3" rows="3" columns="3">
13752 <features>
13753 <column alignment="center" valignment="top" width="0">
13754 <column alignment="center" valignment="top" width="0">
13755 <column alignment="center" valignment="top" width="0">
13756 <row>
13757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13758 \begin_inset Text
13759
13760 \begin_layout Plain Layout
13761 a
13762 \end_layout
13763
13764 \end_inset
13765 </cell>
13766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13767 \begin_inset Text
13768
13769 \begin_layout Plain Layout
13770 d
13771 \end_layout
13772
13773 \end_inset
13774 </cell>
13775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13776 \begin_inset Text
13777
13778 \begin_layout Plain Layout
13779 g
13780 \end_layout
13781
13782 \end_inset
13783 </cell>
13784 </row>
13785 <row>
13786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13787 \begin_inset Text
13788
13789 \begin_layout Plain Layout
13790 b
13791 \end_layout
13792
13793 \end_inset
13794 </cell>
13795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13796 \begin_inset Text
13797
13798 \begin_layout Plain Layout
13799 e
13800 \end_layout
13801
13802 \end_inset
13803 </cell>
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13805 \begin_inset Text
13806
13807 \begin_layout Plain Layout
13808 h
13809 \end_layout
13810
13811 \end_inset
13812 </cell>
13813 </row>
13814 <row>
13815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13816 \begin_inset Text
13817
13818 \begin_layout Plain Layout
13819 c
13820 \end_layout
13821
13822 \end_inset
13823 </cell>
13824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13825 \begin_inset Text
13826
13827 \begin_layout Plain Layout
13828 f
13829 \end_layout
13830
13831 \end_inset
13832 </cell>
13833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13834 \begin_inset Text
13835
13836 \begin_layout Plain Layout
13837 i
13838 \end_layout
13839
13840 \end_inset
13841 </cell>
13842 </row>
13843 </lyxtabular>
13844
13845 \end_inset
13846
13847
13848 \end_layout
13849
13850 \end_inset
13851
13852  test 
13853 \begin_inset ERT
13854 status collapsed
13855
13856 \begin_layout Plain Layout
13857
13858
13859 \backslash
13860 raisebox{0.85
13861 \backslash
13862 baselineskip}{
13863 \end_layout
13864
13865 \end_inset
13866
13867
13868 \begin_inset Box Frameless
13869 position "t"
13870 hor_pos "c"
13871 has_inner_box 1
13872 inner_pos "c"
13873 use_parbox 0
13874 width "15col%"
13875 special "none"
13876 height "1in"
13877 height_special "totalheight"
13878 status collapsed
13879
13880 \begin_layout Plain Layout
13881 \begin_inset Tabular
13882 <lyxtabular version="3" rows="3" columns="3">
13883 <features>
13884 <column alignment="center" valignment="top" width="0">
13885 <column alignment="center" valignment="top" width="0">
13886 <column alignment="center" valignment="top" width="0">
13887 <row>
13888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13889 \begin_inset Text
13890
13891 \begin_layout Plain Layout
13892 a
13893 \end_layout
13894
13895 \end_inset
13896 </cell>
13897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13898 \begin_inset Text
13899
13900 \begin_layout Plain Layout
13901 d
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Plain Layout
13910 g
13911 \end_layout
13912
13913 \end_inset
13914 </cell>
13915 </row>
13916 <row>
13917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13918 \begin_inset Text
13919
13920 \begin_layout Plain Layout
13921 b
13922 \end_layout
13923
13924 \end_inset
13925 </cell>
13926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13927 \begin_inset Text
13928
13929 \begin_layout Plain Layout
13930 e
13931 \end_layout
13932
13933 \end_inset
13934 </cell>
13935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13936 \begin_inset Text
13937
13938 \begin_layout Plain Layout
13939 h
13940 \end_layout
13941
13942 \end_inset
13943 </cell>
13944 </row>
13945 <row>
13946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13947 \begin_inset Text
13948
13949 \begin_layout Plain Layout
13950 c
13951 \end_layout
13952
13953 \end_inset
13954 </cell>
13955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13956 \begin_inset Text
13957
13958 \begin_layout Plain Layout
13959 f
13960 \end_layout
13961
13962 \end_inset
13963 </cell>
13964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13965 \begin_inset Text
13966
13967 \begin_layout Plain Layout
13968 i
13969 \end_layout
13970
13971 \end_inset
13972 </cell>
13973 </row>
13974 </lyxtabular>
13975
13976 \end_inset
13977
13978
13979 \end_layout
13980
13981 \end_inset
13982
13983
13984 \begin_inset ERT
13985 status collapsed
13986
13987 \begin_layout Plain Layout
13988
13989 }
13990 \end_layout
13991
13992 \end_inset
13993
13994
13995 \end_layout
13996
13997 \begin_layout Itemize
13998 test 
13999 \begin_inset Box Frameless
14000 position "c"
14001 hor_pos "c"
14002 has_inner_box 1
14003 inner_pos "c"
14004 use_parbox 0
14005 width "15col%"
14006 special "none"
14007 height "1in"
14008 height_special "totalheight"
14009 status collapsed
14010
14011 \begin_layout Plain Layout
14012 \begin_inset Tabular
14013 <lyxtabular version="3" rows="3" columns="3">
14014 <features>
14015 <column alignment="center" valignment="top" width="0">
14016 <column alignment="center" valignment="top" width="0">
14017 <column alignment="center" valignment="top" width="0">
14018 <row>
14019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14020 \begin_inset Text
14021
14022 \begin_layout Plain Layout
14023 a
14024 \end_layout
14025
14026 \end_inset
14027 </cell>
14028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14029 \begin_inset Text
14030
14031 \begin_layout Plain Layout
14032 d
14033 \end_layout
14034
14035 \end_inset
14036 </cell>
14037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14038 \begin_inset Text
14039
14040 \begin_layout Plain Layout
14041 g
14042 \end_layout
14043
14044 \end_inset
14045 </cell>
14046 </row>
14047 <row>
14048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14049 \begin_inset Text
14050
14051 \begin_layout Plain Layout
14052 b
14053 \end_layout
14054
14055 \end_inset
14056 </cell>
14057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14058 \begin_inset Text
14059
14060 \begin_layout Plain Layout
14061 e
14062 \end_layout
14063
14064 \end_inset
14065 </cell>
14066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14067 \begin_inset Text
14068
14069 \begin_layout Plain Layout
14070 h
14071 \end_layout
14072
14073 \end_inset
14074 </cell>
14075 </row>
14076 <row>
14077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14078 \begin_inset Text
14079
14080 \begin_layout Plain Layout
14081 c
14082 \end_layout
14083
14084 \end_inset
14085 </cell>
14086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14087 \begin_inset Text
14088
14089 \begin_layout Plain Layout
14090 f
14091 \end_layout
14092
14093 \end_inset
14094 </cell>
14095 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14096 \begin_inset Text
14097
14098 \begin_layout Plain Layout
14099 i
14100 \end_layout
14101
14102 \end_inset
14103 </cell>
14104 </row>
14105 </lyxtabular>
14106
14107 \end_inset
14108
14109
14110 \end_layout
14111
14112 \end_inset
14113
14114
14115 \end_layout
14116
14117 \begin_layout Itemize
14118 test 
14119 \begin_inset Box Frameless
14120 position "b"
14121 hor_pos "c"
14122 has_inner_box 1
14123 inner_pos "c"
14124 use_parbox 0
14125 width "15col%"
14126 special "none"
14127 height "1in"
14128 height_special "totalheight"
14129 status collapsed
14130
14131 \begin_layout Plain Layout
14132 \begin_inset Tabular
14133 <lyxtabular version="3" rows="3" columns="3">
14134 <features>
14135 <column alignment="center" valignment="top" width="0">
14136 <column alignment="center" valignment="top" width="0">
14137 <column alignment="center" valignment="top" width="0">
14138 <row>
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14140 \begin_inset Text
14141
14142 \begin_layout Plain Layout
14143 a
14144 \end_layout
14145
14146 \end_inset
14147 </cell>
14148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14149 \begin_inset Text
14150
14151 \begin_layout Plain Layout
14152 d
14153 \end_layout
14154
14155 \end_inset
14156 </cell>
14157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14158 \begin_inset Text
14159
14160 \begin_layout Plain Layout
14161 g
14162 \end_layout
14163
14164 \end_inset
14165 </cell>
14166 </row>
14167 <row>
14168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14169 \begin_inset Text
14170
14171 \begin_layout Plain Layout
14172 b
14173 \end_layout
14174
14175 \end_inset
14176 </cell>
14177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14178 \begin_inset Text
14179
14180 \begin_layout Plain Layout
14181 e
14182 \end_layout
14183
14184 \end_inset
14185 </cell>
14186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14187 \begin_inset Text
14188
14189 \begin_layout Plain Layout
14190 h
14191 \end_layout
14192
14193 \end_inset
14194 </cell>
14195 </row>
14196 <row>
14197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14198 \begin_inset Text
14199
14200 \begin_layout Plain Layout
14201 c
14202 \end_layout
14203
14204 \end_inset
14205 </cell>
14206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14207 \begin_inset Text
14208
14209 \begin_layout Plain Layout
14210 f
14211 \end_layout
14212
14213 \end_inset
14214 </cell>
14215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14216 \begin_inset Text
14217
14218 \begin_layout Plain Layout
14219 i
14220 \end_layout
14221
14222 \end_inset
14223 </cell>
14224 </row>
14225 </lyxtabular>
14226
14227 \end_inset
14228
14229
14230 \end_layout
14231
14232 \end_inset
14233
14234  test 
14235 \begin_inset ERT
14236 status collapsed
14237
14238 \begin_layout Plain Layout
14239
14240
14241 \backslash
14242 raisebox{-0.32
14243 \backslash
14244 baselineskip}{
14245 \end_layout
14246
14247 \end_inset
14248
14249
14250 \begin_inset Box Frameless
14251 position "b"
14252 hor_pos "c"
14253 has_inner_box 1
14254 inner_pos "c"
14255 use_parbox 0
14256 width "15col%"
14257 special "none"
14258 height "1in"
14259 height_special "totalheight"
14260 status collapsed
14261
14262 \begin_layout Plain Layout
14263 \begin_inset Tabular
14264 <lyxtabular version="3" rows="3" columns="3">
14265 <features>
14266 <column alignment="center" valignment="top" width="0">
14267 <column alignment="center" valignment="top" width="0">
14268 <column alignment="center" valignment="top" width="0">
14269 <row>
14270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14271 \begin_inset Text
14272
14273 \begin_layout Plain Layout
14274 a
14275 \end_layout
14276
14277 \end_inset
14278 </cell>
14279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14280 \begin_inset Text
14281
14282 \begin_layout Plain Layout
14283 d
14284 \end_layout
14285
14286 \end_inset
14287 </cell>
14288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14289 \begin_inset Text
14290
14291 \begin_layout Plain Layout
14292 g
14293 \end_layout
14294
14295 \end_inset
14296 </cell>
14297 </row>
14298 <row>
14299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14300 \begin_inset Text
14301
14302 \begin_layout Plain Layout
14303 b
14304 \end_layout
14305
14306 \end_inset
14307 </cell>
14308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14309 \begin_inset Text
14310
14311 \begin_layout Plain Layout
14312 e
14313 \end_layout
14314
14315 \end_inset
14316 </cell>
14317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14318 \begin_inset Text
14319
14320 \begin_layout Plain Layout
14321 h
14322 \end_layout
14323
14324 \end_inset
14325 </cell>
14326 </row>
14327 <row>
14328 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14329 \begin_inset Text
14330
14331 \begin_layout Plain Layout
14332 c
14333 \end_layout
14334
14335 \end_inset
14336 </cell>
14337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14338 \begin_inset Text
14339
14340 \begin_layout Plain Layout
14341 f
14342 \end_layout
14343
14344 \end_inset
14345 </cell>
14346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14347 \begin_inset Text
14348
14349 \begin_layout Plain Layout
14350 i
14351 \end_layout
14352
14353 \end_inset
14354 </cell>
14355 </row>
14356 </lyxtabular>
14357
14358 \end_inset
14359
14360
14361 \end_layout
14362
14363 \end_inset
14364
14365
14366 \begin_inset ERT
14367 status collapsed
14368
14369 \begin_layout Plain Layout
14370
14371 }
14372 \end_layout
14373
14374 \end_inset
14375
14376
14377 \end_layout
14378
14379 \begin_layout Standard
14380 As you can see, the content of the first and last table row is not correctly
14381  aligned with the text line where the table is in.
14382  To get this alignment, the minipage box must be set into a raisebox
14383 \begin_inset Foot
14384 status collapsed
14385
14386 \begin_layout Plain Layout
14387 Raiseboxes are described in section
14388 \begin_inset space ~
14389 \end_inset
14390
14391
14392 \begin_inset CommandInset ref
14393 LatexCommand ref
14394 reference "sub:Vertical-Alignment"
14395
14396 \end_inset
14397
14398 .
14399 \end_layout
14400
14401 \end_inset
14402
14403 .
14404  In the example above the second table in the first item is aligned using
14405  the TeX-Code-command
14406 \end_layout
14407
14408 \begin_layout Standard
14409
14410 \series bold
14411
14412 \backslash
14413 raisebox{0.85
14414 \backslash
14415 baselineskip}{
14416 \end_layout
14417
14418 \begin_layout Standard
14419 before the box.
14420  Behind the box the closing brace 
14421 \series bold
14422 }
14423 \series default
14424  is inserted as TeX-Code.
14425  For the second table in the last item the command
14426 \end_layout
14427
14428 \begin_layout Standard
14429
14430 \series bold
14431
14432 \backslash
14433 raisebox{-0.32
14434 \backslash
14435 baselineskip}{
14436 \end_layout
14437
14438 \begin_layout Standard
14439 is used.
14440 \end_layout
14441
14442 \begin_layout Standard
14443 \begin_inset Note Greyedout
14444 status open
14445
14446 \begin_layout Plain Layout
14447
14448 \series bold
14449 Note:
14450 \series default
14451  The alignment of the table row content to the surrounding text line is
14452  not exact.
14453  The needed factor of the 
14454 \series bold
14455
14456 \backslash
14457 raisebox
14458 \series default
14459  command for this alignment depends on the document font, the font size,
14460  and the table line thickness.
14461 \end_layout
14462
14463 \end_inset
14464
14465
14466 \end_layout
14467
14468 \begin_layout Section
14469 Colored Tables
14470 \begin_inset CommandInset label
14471 LatexCommand label
14472 name "sec:Colored-Tables"
14473
14474 \end_inset
14475
14476
14477 \begin_inset Index
14478 status collapsed
14479
14480 \begin_layout Plain Layout
14481 Table ! Color
14482 \end_layout
14483
14484 \end_inset
14485
14486
14487 \end_layout
14488
14489 \begin_layout Subsection
14490 Colored Cells
14491 \begin_inset Index
14492 status collapsed
14493
14494 \begin_layout Plain Layout
14495 Table Color ! for Cells
14496 \end_layout
14497
14498 \end_inset
14499
14500
14501 \begin_inset Index
14502 status collapsed
14503
14504 \begin_layout Plain Layout
14505 Color ! for Table Cells
14506 \end_layout
14507
14508 \end_inset
14509
14510
14511 \end_layout
14512
14513 \begin_layout Standard
14514 \begin_inset Float table
14515 placement h
14516 wide false
14517 sideways false
14518 status open
14519
14520 \begin_layout Plain Layout
14521 \begin_inset Caption
14522
14523 \begin_layout Plain Layout
14524 \begin_inset CommandInset label
14525 LatexCommand label
14526 name "tab:Table-colored-without"
14527
14528 \end_inset
14529
14530 Table colored without using the package 
14531 \series bold
14532 colortbl
14533 \series default
14534
14535 \begin_inset OptArg
14536 status collapsed
14537
14538 \begin_layout Plain Layout
14539 Table without colortbl
14540 \end_layout
14541
14542 \end_inset
14543
14544
14545 \end_layout
14546
14547 \end_inset
14548
14549
14550 \end_layout
14551
14552 \begin_layout Plain Layout
14553 \align center
14554 \begin_inset Tabular
14555 <lyxtabular version="3" rows="3" columns="3">
14556 <features>
14557 <column alignment="center" valignment="top" width="0">
14558 <column alignment="center" valignment="top" width="0">
14559 <column alignment="center" valignment="top" width="0">
14560 <row>
14561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14562 \begin_inset Text
14563
14564 \begin_layout Plain Layout
14565
14566 \color green
14567 a
14568 \end_layout
14569
14570 \end_inset
14571 </cell>
14572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14573 \begin_inset Text
14574
14575 \begin_layout Plain Layout
14576
14577 \color red
14578 b
14579 \end_layout
14580
14581 \end_inset
14582 </cell>
14583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14584 \begin_inset Text
14585
14586 \begin_layout Plain Layout
14587
14588 \color red
14589 c
14590 \end_layout
14591
14592 \end_inset
14593 </cell>
14594 </row>
14595 <row>
14596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14597 \begin_inset Text
14598
14599 \begin_layout Plain Layout
14600
14601 \color green
14602 d
14603 \end_layout
14604
14605 \end_inset
14606 </cell>
14607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14608 \begin_inset Text
14609
14610 \begin_layout Plain Layout
14611
14612 \color blue
14613 e
14614 \end_layout
14615
14616 \end_inset
14617 </cell>
14618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14619 \begin_inset Text
14620
14621 \begin_layout Plain Layout
14622
14623 \color blue
14624 f
14625 \end_layout
14626
14627 \end_inset
14628 </cell>
14629 </row>
14630 <row>
14631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14632 \begin_inset Text
14633
14634 \begin_layout Plain Layout
14635
14636 \color green
14637 g
14638 \end_layout
14639
14640 \end_inset
14641 </cell>
14642 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14643 \begin_inset Text
14644
14645 \begin_layout Plain Layout
14646
14647 \color blue
14648 h
14649 \end_layout
14650
14651 \end_inset
14652 </cell>
14653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14654 \begin_inset Text
14655
14656 \begin_layout Plain Layout
14657
14658 \color blue
14659 i
14660 \end_layout
14661
14662 \end_inset
14663 </cell>
14664 </row>
14665 </lyxtabular>
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \end_inset
14673
14674
14675 \end_layout
14676
14677 \begin_layout Standard
14678 If you only need colored text, mark the cells and choose a color in the
14679  menu 
14680 \family sans
14681 Edit\SpecialChar \menuseparator
14682 Text
14683 \begin_inset space ~
14684 \end_inset
14685
14686 Style
14687 \family default
14688 .
14689  This was used to create Table
14690 \begin_inset space ~
14691 \end_inset
14692
14693
14694 \begin_inset CommandInset ref
14695 LatexCommand ref
14696 reference "tab:Table-colored-without"
14697
14698 \end_inset
14699
14700 .
14701  In any other case you have to use the LaTeX-package 
14702 \series bold
14703 colortbl
14704 \series default
14705 .
14706 \begin_inset Index
14707 status collapsed
14708
14709 \begin_layout Plain Layout
14710 LaTeX-packages ! colortbl
14711 \end_layout
14712
14713 \end_inset
14714
14715
14716 \end_layout
14717
14718 \begin_layout Standard
14719 \begin_inset ERT
14720 status collapsed
14721
14722 \begin_layout Plain Layout
14723
14724
14725 \backslash
14726 ifcolortbl
14727 \end_layout
14728
14729 \end_inset
14730
14731
14732 \begin_inset Note Note
14733 status open
14734
14735 \begin_layout Plain Layout
14736 The following section part will only be displayed when the LaTeX-package
14737  
14738 \series bold
14739 colortbl
14740 \series default
14741  is installed.
14742 \end_layout
14743
14744 \end_inset
14745
14746
14747 \end_layout
14748
14749 \begin_layout Standard
14750 To create colored tables, 
14751 \series bold
14752 colortbl
14753 \series default
14754  must be loaded in the preamble with the line
14755 \end_layout
14756
14757 \begin_layout Standard
14758
14759 \series bold
14760
14761 \backslash
14762 usepackage{colortbl}
14763 \end_layout
14764
14765 \begin_layout Standard
14766 The color of a column is adjusted with the command
14767 \end_layout
14768
14769 \begin_layout Standard
14770
14771 \series bold
14772
14773 \backslash
14774 columncolor{name of color}
14775 \end_layout
14776
14777 \begin_layout Standard
14778 inside the command 
14779 \series bold
14780 >{ }
14781 \series default
14782 .
14783  More about the command 
14784 \series bold
14785 >{}
14786 \series default
14787  is described in section
14788 \begin_inset space ~
14789 \end_inset
14790
14791
14792 \begin_inset CommandInset ref
14793 LatexCommand ref
14794 reference "sub:Multicolumn-Calculations"
14795
14796 \end_inset
14797
14798 .
14799 \end_layout
14800
14801 \begin_layout Standard
14802 The following color names are predefined:
14803 \end_layout
14804
14805 \begin_layout Standard
14806
14807 \family sans
14808 red
14809 \family default
14810
14811 \family sans
14812 green
14813 \family default
14814
14815 \family sans
14816 yellow
14817 \family default
14818
14819 \family sans
14820 blue
14821 \family default
14822
14823 \family sans
14824 cyan
14825 \family default
14826
14827 \family sans
14828 magenta
14829 \family default
14830
14831 \family sans
14832 black
14833 \family default
14834  and 
14835 \family sans
14836 white
14837 \end_layout
14838
14839 \begin_layout Standard
14840 \begin_inset VSpace medskip
14841 \end_inset
14842
14843
14844 \end_layout
14845
14846 \begin_layout Standard
14847 You can also define your own color with the command
14848 \end_layout
14849
14850 \begin_layout Standard
14851
14852 \series bold
14853
14854 \backslash
14855 definecolor{color name}{color model}{color values}
14856 \end_layout
14857
14858 \begin_layout Standard
14859 The color model can be
14860 \end_layout
14861
14862 \begin_layout Labeling
14863 \labelwidthstring 00.00.0000
14864 cmyk: cyan, magenta, yellow, black
14865 \end_layout
14866
14867 \begin_layout Labeling
14868 \labelwidthstring 00.00.0000
14869 rgb: red, green blue
14870 \end_layout
14871
14872 \begin_layout Labeling
14873 \labelwidthstring 00.00.0000
14874 gray gray
14875 \end_layout
14876
14877 \begin_layout Standard
14878 and the color values are comma separated numbers between 0 and 1 describing
14879  the factor for the corresponding color of the color model.
14880 \end_layout
14881
14882 \begin_layout Standard
14883 You can e.
14884 \begin_inset space \thinspace{}
14885 \end_inset
14886
14887 g.
14888 \begin_inset space \space{}
14889 \end_inset
14890
14891 define the color "
14892 \emph on
14893 darkgreen
14894 \emph default
14895 " in the preamble with
14896 \end_layout
14897
14898 \begin_layout Standard
14899
14900 \series bold
14901
14902 \backslash
14903 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14904 \end_layout
14905
14906 \begin_layout Standard
14907 and the color "
14908 \emph on
14909 lightgray
14910 \emph default
14911 " with
14912 \end_layout
14913
14914 \begin_layout Standard
14915
14916 \series bold
14917
14918 \backslash
14919 definecolor{lightgray}{gray}{0.8}
14920 \end_layout
14921
14922 \begin_layout Standard
14923 \begin_inset VSpace medskip
14924 \end_inset
14925
14926
14927 \end_layout
14928
14929 \begin_layout Standard
14930 Lines are colored with the command
14931 \end_layout
14932
14933 \begin_layout Standard
14934
14935 \series bold
14936
14937 \backslash
14938 rowcolor{name of color}
14939 \end_layout
14940
14941 \begin_layout Standard
14942 and cells are colored with the command
14943 \end_layout
14944
14945 \begin_layout Standard
14946
14947 \series bold
14948
14949 \backslash
14950 cellcolor{name of color}
14951 \end_layout
14952
14953 \begin_layout Standard
14954 Both commands are inserted at the beginning of a cell as TeX-Code.
14955 \end_layout
14956
14957 \begin_layout Standard
14958 To color characters in the table, mark the cells and use the LyX menu 
14959 \family sans
14960 Edit\SpecialChar \menuseparator
14961 Text
14962 \begin_inset space ~
14963 \end_inset
14964
14965 Style
14966 \family default
14967 .
14968  If a cell contains TeX-Code mark only the characters, otherwise the colored
14969  TeX-Code will cause LaTeX-errors.
14970 \end_layout
14971
14972 \begin_layout Standard
14973 \begin_inset Note Greyedout
14974 status open
14975
14976 \begin_layout Plain Layout
14977
14978 \series bold
14979 Note:
14980 \series default
14981  Not all DVI-viewers are able to display self-defined colors.
14982 \end_layout
14983
14984 \end_inset
14985
14986
14987 \end_layout
14988
14989 \begin_layout Standard
14990 \begin_inset VSpace bigskip
14991 \end_inset
14992
14993
14994 \end_layout
14995
14996 \begin_layout Standard
14997 To create Table
14998 \begin_inset space ~
14999 \end_inset
15000
15001
15002 \begin_inset CommandInset ref
15003 LatexCommand ref
15004 reference "tab:Table-colored-using"
15005
15006 \end_inset
15007
15008  do the following: The color of the first column should be 
15009 \emph on
15010 darkgreen
15011 \emph default
15012 .
15013  So insert
15014 \end_layout
15015
15016 \begin_layout Standard
15017
15018 \series bold
15019 >{
15020 \backslash
15021 columncolor{darkgreen}
15022 \backslash
15023 centering}c
15024 \end_layout
15025
15026 \begin_layout Standard
15027 as LaTeX-argument for this column.
15028  The first row should be blue, therefore the TeX-Code command
15029 \end_layout
15030
15031 \begin_layout Standard
15032
15033 \series bold
15034
15035 \backslash
15036 rowcolow{cyan}
15037 \end_layout
15038
15039 \begin_layout Standard
15040 is inserted to the first cell of this row.
15041  Note that this overwrites the column color for the first cell.
15042  The last cell of the last row is colored magenta by inserting the TeX-Code
15043  command
15044 \end_layout
15045
15046 \begin_layout Standard
15047
15048 \series bold
15049
15050 \backslash
15051 cellcolor{magenta}
15052 \end_layout
15053
15054 \begin_layout Standard
15055 The characters could now be colored using the menu 
15056 \family sans
15057 Edit\SpecialChar \menuseparator
15058 Text
15059 \begin_inset space ~
15060 \end_inset
15061
15062 Style
15063 \family default
15064 .
15065 \end_layout
15066
15067 \begin_layout Standard
15068 \begin_inset Float table
15069 placement h
15070 wide false
15071 sideways false
15072 status open
15073
15074 \begin_layout Plain Layout
15075 \begin_inset Caption
15076
15077 \begin_layout Plain Layout
15078 \begin_inset CommandInset label
15079 LatexCommand label
15080 name "tab:Table-colored-using"
15081
15082 \end_inset
15083
15084 Table colored using the package 
15085 \series bold
15086 colortbl
15087 \series default
15088
15089 \begin_inset OptArg
15090 status collapsed
15091
15092 \begin_layout Plain Layout
15093 Table with colortbl
15094 \end_layout
15095
15096 \end_inset
15097
15098
15099 \end_layout
15100
15101 \end_inset
15102
15103
15104 \end_layout
15105
15106 \begin_layout Plain Layout
15107 \align center
15108 \begin_inset Tabular
15109 <lyxtabular version="3" rows="3" columns="3">
15110 <features>
15111 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15112 <column alignment="center" valignment="top" width="0">
15113 <column alignment="center" valignment="top" width="0">
15114 <row>
15115 <cell alignment="center" valignment="top" usebox="none">
15116 \begin_inset Text
15117
15118 \begin_layout Plain Layout
15119 \begin_inset ERT
15120 status collapsed
15121
15122 \begin_layout Plain Layout
15123
15124
15125 \backslash
15126 rowcolor{cyan}
15127 \end_layout
15128
15129 \end_inset
15130
15131
15132 \color magenta
15133 a
15134 \end_layout
15135
15136 \end_inset
15137 </cell>
15138 <cell alignment="center" valignment="top" usebox="none">
15139 \begin_inset Text
15140
15141 \begin_layout Plain Layout
15142
15143 \color red
15144 b
15145 \end_layout
15146
15147 \end_inset
15148 </cell>
15149 <cell alignment="center" valignment="top" usebox="none">
15150 \begin_inset Text
15151
15152 \begin_layout Plain Layout
15153
15154 \color red
15155 c
15156 \end_layout
15157
15158 \end_inset
15159 </cell>
15160 </row>
15161 <row>
15162 <cell alignment="center" valignment="top" usebox="none">
15163 \begin_inset Text
15164
15165 \begin_layout Plain Layout
15166
15167 \color yellow
15168 d
15169 \end_layout
15170
15171 \end_inset
15172 </cell>
15173 <cell alignment="center" valignment="top" usebox="none">
15174 \begin_inset Text
15175
15176 \begin_layout Plain Layout
15177
15178 \color blue
15179 e
15180 \end_layout
15181
15182 \end_inset
15183 </cell>
15184 <cell alignment="center" valignment="top" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Plain Layout
15188
15189 \color blue
15190 f
15191 \end_layout
15192
15193 \end_inset
15194 </cell>
15195 </row>
15196 <row>
15197 <cell alignment="center" valignment="top" usebox="none">
15198 \begin_inset Text
15199
15200 \begin_layout Plain Layout
15201
15202 \color yellow
15203 g
15204 \end_layout
15205
15206 \end_inset
15207 </cell>
15208 <cell alignment="center" valignment="top" usebox="none">
15209 \begin_inset Text
15210
15211 \begin_layout Plain Layout
15212
15213 \color blue
15214 h
15215 \end_layout
15216
15217 \end_inset
15218 </cell>
15219 <cell alignment="center" valignment="top" usebox="none">
15220 \begin_inset Text
15221
15222 \begin_layout Plain Layout
15223 \begin_inset ERT
15224 status collapsed
15225
15226 \begin_layout Plain Layout
15227
15228
15229 \backslash
15230 cellcolor{magenta}
15231 \end_layout
15232
15233 \end_inset
15234
15235
15236 \color green
15237 i
15238 \end_layout
15239
15240 \end_inset
15241 </cell>
15242 </row>
15243 </lyxtabular>
15244
15245 \end_inset
15246
15247
15248 \end_layout
15249
15250 \end_inset
15251
15252
15253 \end_layout
15254
15255 \begin_layout Standard
15256 \begin_inset ERT
15257 status collapsed
15258
15259 \begin_layout Plain Layout
15260
15261
15262 \backslash
15263 else
15264 \end_layout
15265
15266 \end_inset
15267
15268
15269 \begin_inset Note Note
15270 status open
15271
15272 \begin_layout Plain Layout
15273 The following will be displayed when the LaTeX-package 
15274 \series bold
15275 colortbl
15276 \series default
15277  is not installed:
15278 \end_layout
15279
15280 \end_inset
15281
15282
15283 \end_layout
15284
15285 \begin_layout Standard
15286 You need to install the package 
15287 \series bold
15288 colortbl
15289 \series default
15290  to see the content of this section in the output.
15291 \end_layout
15292
15293 \begin_layout Standard
15294 \begin_inset ERT
15295 status collapsed
15296
15297 \begin_layout Plain Layout
15298
15299
15300 \backslash
15301 fi
15302 \end_layout
15303
15304 \end_inset
15305
15306
15307 \end_layout
15308
15309 \begin_layout Subsection
15310 Colored Lines
15311 \begin_inset Index
15312 status collapsed
15313
15314 \begin_layout Plain Layout
15315 Table Color ! for Lines
15316 \end_layout
15317
15318 \end_inset
15319
15320
15321 \begin_inset Index
15322 status collapsed
15323
15324 \begin_layout Plain Layout
15325 Color ! for Table Lines
15326 \end_layout
15327
15328 \end_inset
15329
15330
15331 \end_layout
15332
15333 \begin_layout Standard
15334 As described in section
15335 \begin_inset space ~
15336 \end_inset
15337
15338
15339 \begin_inset CommandInset ref
15340 LatexCommand ref
15341 reference "sub:Line-Thickness"
15342
15343 \end_inset
15344
15345 , the line thickness for all lines in a table can be adjusted with the length
15346  
15347 \series bold
15348
15349 \backslash
15350 arrayrulewidth
15351 \series default
15352 .
15353  It is set to 1.5
15354 \begin_inset space \thinspace{}
15355 \end_inset
15356
15357 pt for all tables of this section.
15358 \begin_inset ERT
15359 status collapsed
15360
15361 \begin_layout Plain Layout
15362
15363
15364 \backslash
15365 setlength{
15366 \backslash
15367 arrayrulewidth}{1.5pt}
15368 \end_layout
15369
15370 \end_inset
15371
15372
15373 \end_layout
15374
15375 \begin_layout Standard
15376 To color vertical lines for example with green, create the following column
15377  format in the document preamble, according to the description in section
15378 \begin_inset space ~
15379 \end_inset
15380
15381
15382 \begin_inset CommandInset ref
15383 LatexCommand ref
15384 reference "sub:Customized-Format"
15385
15386 \end_inset
15387
15388 :
15389 \end_layout
15390
15391 \begin_layout Standard
15392
15393 \series bold
15394
15395 \backslash
15396 newcolumntype{W}{!{
15397 \backslash
15398 color{green}
15399 \backslash
15400 vline}}
15401 \end_layout
15402
15403 \begin_layout Standard
15404 For Table
15405 \begin_inset space ~
15406 \end_inset
15407
15408
15409 \begin_inset CommandInset ref
15410 LatexCommand ref
15411 reference "tab:Table-with-vertical-colored"
15412
15413 \end_inset
15414
15415  the LaTeX-argument
15416 \series bold
15417  WcW
15418 \series default
15419  was used for the last column and
15420 \series bold
15421  Wc
15422 \series default
15423  for the other columns.
15424 \end_layout
15425
15426 \begin_layout Standard
15427 If you want to have several colors, define more column formats.
15428 \end_layout
15429
15430 \begin_layout Standard
15431 \begin_inset Float table
15432 placement h
15433 wide false
15434 sideways false
15435 status open
15436
15437 \begin_layout Plain Layout
15438 \begin_inset Caption
15439
15440 \begin_layout Plain Layout
15441 \begin_inset CommandInset label
15442 LatexCommand label
15443 name "tab:Table-with-vertical-colored"
15444
15445 \end_inset
15446
15447 Table with colored vertical lines
15448 \end_layout
15449
15450 \end_inset
15451
15452
15453 \end_layout
15454
15455 \begin_layout Plain Layout
15456 \align center
15457 \begin_inset Tabular
15458 <lyxtabular version="3" rows="3" columns="3">
15459 <features>
15460 <column alignment="center" valignment="top" width="0" special="Wc">
15461 <column alignment="center" valignment="top" width="0" special="Wc">
15462 <column alignment="center" valignment="top" width="0" special="WcW">
15463 <row>
15464 <cell alignment="center" valignment="top" topline="true" usebox="none">
15465 \begin_inset Text
15466
15467 \begin_layout Plain Layout
15468 sd
15469 \end_layout
15470
15471 \end_inset
15472 </cell>
15473 <cell alignment="center" valignment="top" topline="true" usebox="none">
15474 \begin_inset Text
15475
15476 \begin_layout Plain Layout
15477
15478 \end_layout
15479
15480 \end_inset
15481 </cell>
15482 <cell alignment="center" valignment="top" topline="true" usebox="none">
15483 \begin_inset Text
15484
15485 \begin_layout Plain Layout
15486
15487 \end_layout
15488
15489 \end_inset
15490 </cell>
15491 </row>
15492 <row>
15493 <cell alignment="center" valignment="top" topline="true" usebox="none">
15494 \begin_inset Text
15495
15496 \begin_layout Plain Layout
15497
15498 \end_layout
15499
15500 \end_inset
15501 </cell>
15502 <cell alignment="center" valignment="top" topline="true" usebox="none">
15503 \begin_inset Text
15504
15505 \begin_layout Plain Layout
15506 sd
15507 \end_layout
15508
15509 \end_inset
15510 </cell>
15511 <cell alignment="center" valignment="top" topline="true" usebox="none">
15512 \begin_inset Text
15513
15514 \begin_layout Plain Layout
15515
15516 \end_layout
15517
15518 \end_inset
15519 </cell>
15520 </row>
15521 <row>
15522 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15523 \begin_inset Text
15524
15525 \begin_layout Plain Layout
15526
15527 \end_layout
15528
15529 \end_inset
15530 </cell>
15531 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15532 \begin_inset Text
15533
15534 \begin_layout Plain Layout
15535
15536 \end_layout
15537
15538 \end_inset
15539 </cell>
15540 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15541 \begin_inset Text
15542
15543 \begin_layout Plain Layout
15544 sd
15545 \end_layout
15546
15547 \end_inset
15548 </cell>
15549 </row>
15550 </lyxtabular>
15551
15552 \end_inset
15553
15554
15555 \end_layout
15556
15557 \end_inset
15558
15559
15560 \end_layout
15561
15562 \begin_layout Standard
15563 \begin_inset VSpace bigskip
15564 \end_inset
15565
15566 To color horizontal lines for example with red, like in Table
15567 \begin_inset space ~
15568 \end_inset
15569
15570
15571 \begin_inset CommandInset ref
15572 LatexCommand ref
15573 reference "tab:Table-with-horizontal-colored"
15574
15575 \end_inset
15576
15577 , insert these commands in TeX-Code before the table or table float:
15578 \end_layout
15579
15580 \begin_layout Standard
15581
15582 \series bold
15583
15584 \backslash
15585 let
15586 \backslash
15587 myHlineC
15588 \backslash
15589 hline
15590 \begin_inset Newline newline
15591 \end_inset
15592
15593
15594 \backslash
15595 renewcommand{
15596 \backslash
15597 hline}
15598 \begin_inset Newline newline
15599 \end_inset
15600
15601
15602 \begin_inset ERT
15603 status collapsed
15604
15605 \begin_layout Plain Layout
15606
15607
15608 \backslash
15609 hphantom{ }
15610 \end_layout
15611
15612 \end_inset
15613
15614 {
15615 \backslash
15616 arrayrulecolor{red}
15617 \backslash
15618 myHlineC
15619 \backslash
15620 arrayrulecolor{black}}
15621 \end_layout
15622
15623 \begin_layout Standard
15624 \begin_inset ERT
15625 status collapsed
15626
15627 \begin_layout Plain Layout
15628
15629
15630 \backslash
15631 let
15632 \backslash
15633 myHlineC
15634 \backslash
15635 hline
15636 \end_layout
15637
15638 \begin_layout Plain Layout
15639
15640
15641 \backslash
15642 renewcommand{
15643 \backslash
15644 hline}
15645 \end_layout
15646
15647 \begin_layout Plain Layout
15648
15649  {
15650 \backslash
15651 arrayrulecolor{red}
15652 \backslash
15653 myHlineC
15654 \backslash
15655 arrayrulecolor{black}}
15656 \end_layout
15657
15658 \end_inset
15659
15660
15661 \begin_inset Float table
15662 placement h
15663 wide false
15664 sideways false
15665 status open
15666
15667 \begin_layout Plain Layout
15668 \begin_inset Caption
15669
15670 \begin_layout Plain Layout
15671 \begin_inset CommandInset label
15672 LatexCommand label
15673 name "tab:Table-with-horizontal-colored"
15674
15675 \end_inset
15676
15677 Table with colored horizontal lines
15678 \end_layout
15679
15680 \end_inset
15681
15682
15683 \end_layout
15684
15685 \begin_layout Plain Layout
15686 \align center
15687 \begin_inset Tabular
15688 <lyxtabular version="3" rows="3" columns="3">
15689 <features>
15690 <column alignment="center" valignment="top" width="0">
15691 <column alignment="center" valignment="top" width="0">
15692 <column alignment="center" valignment="top" width="0">
15693 <row>
15694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15695 \begin_inset Text
15696
15697 \begin_layout Plain Layout
15698 sd
15699 \end_layout
15700
15701 \end_inset
15702 </cell>
15703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15704 \begin_inset Text
15705
15706 \begin_layout Plain Layout
15707
15708 \end_layout
15709
15710 \end_inset
15711 </cell>
15712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15713 \begin_inset Text
15714
15715 \begin_layout Plain Layout
15716
15717 \end_layout
15718
15719 \end_inset
15720 </cell>
15721 </row>
15722 <row>
15723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15724 \begin_inset Text
15725
15726 \begin_layout Plain Layout
15727
15728 \end_layout
15729
15730 \end_inset
15731 </cell>
15732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15733 \begin_inset Text
15734
15735 \begin_layout Plain Layout
15736 sd
15737 \end_layout
15738
15739 \end_inset
15740 </cell>
15741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15742 \begin_inset Text
15743
15744 \begin_layout Plain Layout
15745
15746 \end_layout
15747
15748 \end_inset
15749 </cell>
15750 </row>
15751 <row>
15752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15753 \begin_inset Text
15754
15755 \begin_layout Plain Layout
15756
15757 \end_layout
15758
15759 \end_inset
15760 </cell>
15761 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15762 \begin_inset Text
15763
15764 \begin_layout Plain Layout
15765
15766 \end_layout
15767
15768 \end_inset
15769 </cell>
15770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15771 \begin_inset Text
15772
15773 \begin_layout Plain Layout
15774 sd
15775 \end_layout
15776
15777 \end_inset
15778 </cell>
15779 </row>
15780 </lyxtabular>
15781
15782 \end_inset
15783
15784
15785 \end_layout
15786
15787 \end_inset
15788
15789
15790 \end_layout
15791
15792 \begin_layout Standard
15793 To return to the default line color black, insert this command in TeX-Code
15794  behind the table or table float:
15795 \end_layout
15796
15797 \begin_layout Standard
15798
15799 \series bold
15800
15801 \backslash
15802 renewcommand{
15803 \backslash
15804 hline}{
15805 \backslash
15806 myHlineC}
15807 \end_layout
15808
15809 \begin_layout Standard
15810 Table
15811 \begin_inset space ~
15812 \end_inset
15813
15814
15815 \begin_inset CommandInset ref
15816 LatexCommand ref
15817 reference "tab:Table-with-colored"
15818
15819 \end_inset
15820
15821  is an example with colored vertical and horizontal lines.
15822 \end_layout
15823
15824 \begin_layout Standard
15825 \begin_inset Float table
15826 placement h
15827 wide false
15828 sideways false
15829 status open
15830
15831 \begin_layout Plain Layout
15832 \begin_inset Caption
15833
15834 \begin_layout Plain Layout
15835 \begin_inset CommandInset label
15836 LatexCommand label
15837 name "tab:Table-with-colored"
15838
15839 \end_inset
15840
15841 Table with colored lines
15842 \end_layout
15843
15844 \end_inset
15845
15846
15847 \end_layout
15848
15849 \begin_layout Plain Layout
15850 \align center
15851 \begin_inset Tabular
15852 <lyxtabular version="3" rows="3" columns="3">
15853 <features>
15854 <column alignment="center" valignment="top" width="0" special="Wc">
15855 <column alignment="center" valignment="top" width="0" special="Wc">
15856 <column alignment="center" valignment="top" width="0" special="WcW">
15857 <row>
15858 <cell alignment="center" valignment="top" topline="true" usebox="none">
15859 \begin_inset Text
15860
15861 \begin_layout Plain Layout
15862 sd
15863 \end_layout
15864
15865 \end_inset
15866 </cell>
15867 <cell alignment="center" valignment="top" topline="true" usebox="none">
15868 \begin_inset Text
15869
15870 \begin_layout Plain Layout
15871
15872 \end_layout
15873
15874 \end_inset
15875 </cell>
15876 <cell alignment="center" valignment="top" topline="true" usebox="none">
15877 \begin_inset Text
15878
15879 \begin_layout Plain Layout
15880
15881 \end_layout
15882
15883 \end_inset
15884 </cell>
15885 </row>
15886 <row>
15887 <cell alignment="center" valignment="top" topline="true" usebox="none">
15888 \begin_inset Text
15889
15890 \begin_layout Plain Layout
15891
15892 \end_layout
15893
15894 \end_inset
15895 </cell>
15896 <cell alignment="center" valignment="top" topline="true" usebox="none">
15897 \begin_inset Text
15898
15899 \begin_layout Plain Layout
15900 sd
15901 \end_layout
15902
15903 \end_inset
15904 </cell>
15905 <cell alignment="center" valignment="top" topline="true" usebox="none">
15906 \begin_inset Text
15907
15908 \begin_layout Plain Layout
15909
15910 \end_layout
15911
15912 \end_inset
15913 </cell>
15914 </row>
15915 <row topspace="default">
15916 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15917 \begin_inset Text
15918
15919 \begin_layout Plain Layout
15920
15921 \end_layout
15922
15923 \end_inset
15924 </cell>
15925 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15926 \begin_inset Text
15927
15928 \begin_layout Plain Layout
15929
15930 \end_layout
15931
15932 \end_inset
15933 </cell>
15934 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15935 \begin_inset Text
15936
15937 \begin_layout Plain Layout
15938 sd
15939 \end_layout
15940
15941 \end_inset
15942 </cell>
15943 </row>
15944 </lyxtabular>
15945
15946 \end_inset
15947
15948
15949 \end_layout
15950
15951 \end_inset
15952
15953
15954 \end_layout
15955
15956 \begin_layout Standard
15957 \begin_inset ERT
15958 status collapsed
15959
15960 \begin_layout Plain Layout
15961
15962
15963 \backslash
15964 renewcommand{
15965 \backslash
15966 hline}{
15967 \backslash
15968 myHlineC}
15969 \end_layout
15970
15971 \end_inset
15972
15973
15974 \end_layout
15975
15976 \begin_layout Standard
15977 \begin_inset ERT
15978 status collapsed
15979
15980 \begin_layout Plain Layout
15981
15982
15983 \backslash
15984 setlength{
15985 \backslash
15986 arrayrulewidth}{0.4pt}
15987 \end_layout
15988
15989 \end_inset
15990
15991
15992 \end_layout
15993
15994 \begin_layout Section
15995 Table Customization
15996 \begin_inset Index
15997 status collapsed
15998
15999 \begin_layout Plain Layout
16000 Table Customization
16001 \end_layout
16002
16003 \end_inset
16004
16005
16006 \begin_inset Index
16007 status collapsed
16008
16009 \begin_layout Plain Layout
16010 Table ! Customization
16011 \end_layout
16012
16013 \end_inset
16014
16015
16016 \end_layout
16017
16018 \begin_layout Subsection
16019 Row Spacing
16020 \begin_inset CommandInset label
16021 LatexCommand label
16022 name "sub:Row-Spacing"
16023
16024 \end_inset
16025
16026
16027 \begin_inset Index
16028 status collapsed
16029
16030 \begin_layout Plain Layout
16031 Table Customization ! Row Spacing
16032 \end_layout
16033
16034 \end_inset
16035
16036
16037 \end_layout
16038
16039 \begin_layout Standard
16040 You can add vertical space to table rows in the 
16041 \family sans
16042 Borders
16043 \family default
16044  tab of the table dialog.
16045  You find there three possibilities:
16046 \end_layout
16047
16048 \begin_layout Description
16049 Top
16050 \begin_inset space ~
16051 \end_inset
16052
16053 of
16054 \begin_inset space ~
16055 \end_inset
16056
16057 row will add space above the characters of the table row.
16058  If the table is a formal table
16059 \begin_inset Foot
16060 status collapsed
16061
16062 \begin_layout Plain Layout
16063 Formal tables are explained in section
16064 \begin_inset space ~
16065 \end_inset
16066
16067
16068 \begin_inset CommandInset ref
16069 LatexCommand ref
16070 reference "sec:Formal-Tables"
16071
16072 \end_inset
16073
16074 .
16075 \end_layout
16076
16077 \end_inset
16078
16079  LyX will insert as default 0.5
16080 \begin_inset space \thinspace{}
16081 \end_inset
16082
16083 em space.
16084  For normal tables the inserted space will unfortunately destroy the vertical
16085  table lines as in the following table:
16086 \begin_inset VSpace medskip
16087 \end_inset
16088
16089
16090 \begin_inset Newline newline
16091 \end_inset
16092
16093
16094 \begin_inset space \hspace*{}
16095 \length 0pt
16096 \end_inset
16097
16098
16099 \begin_inset space \hfill{}
16100 \end_inset
16101
16102
16103 \begin_inset Tabular
16104 <lyxtabular version="3" rows="3" columns="1">
16105 <features>
16106 <column alignment="center" valignment="top" width="0">
16107 <row>
16108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16109 \begin_inset Text
16110
16111 \begin_layout Plain Layout
16112 A
16113 \end_layout
16114
16115 \end_inset
16116 </cell>
16117 </row>
16118 <row topspace="3mm">
16119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16120 \begin_inset Text
16121
16122 \begin_layout Plain Layout
16123 3
16124 \begin_inset space \thinspace{}
16125 \end_inset
16126
16127 mm space top of row
16128 \end_layout
16129
16130 \end_inset
16131 </cell>
16132 </row>
16133 <row>
16134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16135 \begin_inset Text
16136
16137 \begin_layout Plain Layout
16138 C
16139 \end_layout
16140
16141 \end_inset
16142 </cell>
16143 </row>
16144 </lyxtabular>
16145
16146 \end_inset
16147
16148
16149 \begin_inset space \hfill{}
16150 \end_inset
16151
16152
16153 \begin_inset space \hspace*{}
16154 \length 0pt
16155 \end_inset
16156
16157
16158 \begin_inset VSpace medskip
16159 \end_inset
16160
16161
16162 \begin_inset Newline newline
16163 \end_inset
16164
16165 So inserting space to the top of row for normal tables is only useful when
16166  you don't have vertical lines.
16167 \end_layout
16168
16169 \begin_layout Description
16170 Bottom
16171 \begin_inset space ~
16172 \end_inset
16173
16174 of
16175 \begin_inset space ~
16176 \end_inset
16177
16178 row will add space below the characters of the table row.
16179  If the table is a formal table LyX will insert as default 0.5
16180 \begin_inset space \thinspace{}
16181 \end_inset
16182
16183 em space, for normal tables the default size is 2
16184 \begin_inset space \thinspace{}
16185 \end_inset
16186
16187 pt.
16188 \end_layout
16189
16190 \begin_layout Description
16191 Between
16192 \begin_inset space ~
16193 \end_inset
16194
16195 rows adds space between the current and the following row.
16196  If the table is a formal table LyX will insert as default 0.5
16197 \begin_inset space \thinspace{}
16198 \end_inset
16199
16200 em space.
16201  For normal tables the inserted space will unfortunately destroy the vertical
16202  table lines as in the following table:
16203 \begin_inset VSpace medskip
16204 \end_inset
16205
16206
16207 \begin_inset Newline newline
16208 \end_inset
16209
16210
16211 \begin_inset space \hspace*{}
16212 \length 0pt
16213 \end_inset
16214
16215
16216 \begin_inset space \hfill{}
16217 \end_inset
16218
16219
16220 \begin_inset Tabular
16221 <lyxtabular version="3" rows="3" columns="1">
16222 <features>
16223 <column alignment="center" valignment="top" width="0">
16224 <row>
16225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16226 \begin_inset Text
16227
16228 \begin_layout Plain Layout
16229 A
16230 \end_layout
16231
16232 \end_inset
16233 </cell>
16234 </row>
16235 <row interlinespace="3mm">
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Plain Layout
16240 \begin_inset Formula $\downarrow$
16241 \end_inset
16242
16243  3
16244 \begin_inset space \thinspace{}
16245 \end_inset
16246
16247 mm space between row 
16248 \begin_inset Formula $\downarrow$
16249 \end_inset
16250
16251
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 </row>
16257 <row>
16258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16259 \begin_inset Text
16260
16261 \begin_layout Plain Layout
16262 \begin_inset Formula $\uparrow$
16263 \end_inset
16264
16265  3
16266 \begin_inset space \thinspace{}
16267 \end_inset
16268
16269 mm space between row 
16270 \begin_inset Formula $\uparrow$
16271 \end_inset
16272
16273
16274 \end_layout
16275
16276 \end_inset
16277 </cell>
16278 </row>
16279 </lyxtabular>
16280
16281 \end_inset
16282
16283
16284 \begin_inset space \hfill{}
16285 \end_inset
16286
16287
16288 \begin_inset space \hspace*{}
16289 \length 0pt
16290 \end_inset
16291
16292
16293 \begin_inset VSpace medskip
16294 \end_inset
16295
16296
16297 \begin_inset Newline newline
16298 \end_inset
16299
16300 So inserting space between rows for normal tables is only useful when you
16301  don't have vertical lines.
16302 \end_layout
16303
16304 \begin_layout Standard
16305 \begin_inset VSpace bigskip
16306 \end_inset
16307
16308 When you want to add extra height to all cells of all tables, you can do
16309  this with the following preamble lines:
16310 \end_layout
16311
16312 \begin_layout Standard
16313
16314 \series bold
16315
16316 \backslash
16317 @ifundefined{extrarowheight}
16318 \begin_inset Newline newline
16319 \end_inset
16320
16321
16322 \begin_inset ERT
16323 status collapsed
16324
16325 \begin_layout Plain Layout
16326
16327
16328 \backslash
16329 hphantom{ }
16330 \end_layout
16331
16332 \end_inset
16333
16334 {
16335 \backslash
16336 usepackage{array}}{}
16337 \begin_inset Newline newline
16338 \end_inset
16339
16340
16341 \backslash
16342 setlength{
16343 \backslash
16344 extrarowheight}{height}
16345 \end_layout
16346
16347 \begin_layout Standard
16348 But this has the disadvantage that the cell texts are no longer exactly
16349  vertically centered.
16350  (The package 
16351 \series bold
16352 array
16353 \series default
16354  will be loaded automatically by LyX when you use self defined table formats.
16355  To avoid that it is loaded twice the command 
16356 \series bold
16357
16358 \backslash
16359 @ifundefined
16360 \series default
16361  is used in the above command.)
16362 \end_layout
16363
16364 \begin_layout Standard
16365 In case you are using font sizes larger than the normal size, the table
16366  borders are often too close to the letters.
16367  This can be corrected by inserting the command 
16368 \series bold
16369
16370 \backslash
16371 strut
16372 \series default
16373  in TeX code at the beginning of a table row.
16374  Table
16375 \begin_inset space ~
16376 \end_inset
16377
16378
16379 \begin_inset CommandInset ref
16380 LatexCommand ref
16381 reference "tab:Vertical-alignment-of"
16382
16383 \end_inset
16384
16385  visualizes the effect.
16386 \end_layout
16387
16388 \begin_layout Standard
16389 \noindent
16390 \begin_inset Float table
16391 placement h
16392 wide false
16393 sideways false
16394 status open
16395
16396 \begin_layout Plain Layout
16397 \begin_inset Caption
16398
16399 \begin_layout Plain Layout
16400 \begin_inset CommandInset label
16401 LatexCommand label
16402 name "tab:Vertical-alignment-of"
16403
16404 \end_inset
16405
16406 Vertical alignment of text with large font sizes.
16407 \end_layout
16408
16409 \end_inset
16410
16411
16412 \end_layout
16413
16414 \begin_layout Plain Layout
16415 \begin_inset space \hfill{}
16416 \end_inset
16417
16418
16419 \begin_inset Float table
16420 wide false
16421 sideways false
16422 status collapsed
16423
16424 \begin_layout Plain Layout
16425 \begin_inset Caption
16426
16427 \begin_layout Plain Layout
16428 Normal table.
16429 \end_layout
16430
16431 \end_inset
16432
16433
16434 \end_layout
16435
16436 \begin_layout Plain Layout
16437 \noindent
16438 \align center
16439 \begin_inset Tabular
16440 <lyxtabular version="3" rows="6" columns="1">
16441 <features>
16442 <column alignment="left" valignment="top" width="0">
16443 <row>
16444 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16445 \begin_inset Text
16446
16447 \begin_layout Plain Layout
16448 Normal, g
16449 \end_layout
16450
16451 \end_inset
16452 </cell>
16453 </row>
16454 <row>
16455 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16456 \begin_inset Text
16457
16458 \begin_layout Plain Layout
16459
16460 \size large
16461 Large
16462 \end_layout
16463
16464 \end_inset
16465 </cell>
16466 </row>
16467 <row>
16468 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16469 \begin_inset Text
16470
16471 \begin_layout Plain Layout
16472
16473 \size larger
16474 Larger
16475 \end_layout
16476
16477 \end_inset
16478 </cell>
16479 </row>
16480 <row>
16481 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16482 \begin_inset Text
16483
16484 \begin_layout Plain Layout
16485
16486 \size largest
16487 Largest
16488 \end_layout
16489
16490 \end_inset
16491 </cell>
16492 </row>
16493 <row>
16494 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16495 \begin_inset Text
16496
16497 \begin_layout Plain Layout
16498
16499 \size huge
16500 Huge
16501 \end_layout
16502
16503 \end_inset
16504 </cell>
16505 </row>
16506 <row>
16507 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16508 \begin_inset Text
16509
16510 \begin_layout Plain Layout
16511
16512 \size huge
16513 Huger
16514 \end_layout
16515
16516 \end_inset
16517 </cell>
16518 </row>
16519 </lyxtabular>
16520
16521 \end_inset
16522
16523
16524 \end_layout
16525
16526 \end_inset
16527
16528
16529 \begin_inset space \hfill{}
16530 \end_inset
16531
16532
16533 \begin_inset Float table
16534 wide false
16535 sideways false
16536 status collapsed
16537
16538 \begin_layout Plain Layout
16539 \begin_inset Caption
16540
16541 \begin_layout Plain Layout
16542 Table using the command 
16543 \series bold
16544
16545 \backslash
16546 strut
16547 \series default
16548 .
16549 \end_layout
16550
16551 \end_inset
16552
16553
16554 \end_layout
16555
16556 \begin_layout Plain Layout
16557 \noindent
16558 \align center
16559 \begin_inset Tabular
16560 <lyxtabular version="3" rows="6" columns="1">
16561 <features>
16562 <column alignment="left" valignment="top" width="0">
16563 <row>
16564 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16565 \begin_inset Text
16566
16567 \begin_layout Plain Layout
16568 Normal, g
16569 \end_layout
16570
16571 \end_inset
16572 </cell>
16573 </row>
16574 <row>
16575 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16576 \begin_inset Text
16577
16578 \begin_layout Plain Layout
16579
16580 \size large
16581 \begin_inset ERT
16582 status collapsed
16583
16584 \begin_layout Plain Layout
16585
16586
16587 \backslash
16588 strut 
16589 \end_layout
16590
16591 \end_inset
16592
16593 Large
16594 \end_layout
16595
16596 \end_inset
16597 </cell>
16598 </row>
16599 <row>
16600 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16601 \begin_inset Text
16602
16603 \begin_layout Plain Layout
16604
16605 \size larger
16606 \begin_inset ERT
16607 status collapsed
16608
16609 \begin_layout Plain Layout
16610
16611
16612 \backslash
16613 strut 
16614 \end_layout
16615
16616 \end_inset
16617
16618 Larger
16619 \end_layout
16620
16621 \end_inset
16622 </cell>
16623 </row>
16624 <row>
16625 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16626 \begin_inset Text
16627
16628 \begin_layout Plain Layout
16629
16630 \size largest
16631 \begin_inset ERT
16632 status collapsed
16633
16634 \begin_layout Plain Layout
16635
16636
16637 \backslash
16638 strut 
16639 \end_layout
16640
16641 \end_inset
16642
16643 Largest
16644 \end_layout
16645
16646 \end_inset
16647 </cell>
16648 </row>
16649 <row>
16650 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16651 \begin_inset Text
16652
16653 \begin_layout Plain Layout
16654
16655 \size huge
16656 \begin_inset ERT
16657 status collapsed
16658
16659 \begin_layout Plain Layout
16660
16661
16662 \backslash
16663 strut 
16664 \end_layout
16665
16666 \end_inset
16667
16668 Huge
16669 \end_layout
16670
16671 \end_inset
16672 </cell>
16673 </row>
16674 <row>
16675 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16676 \begin_inset Text
16677
16678 \begin_layout Plain Layout
16679
16680 \size giant
16681 \begin_inset ERT
16682 status collapsed
16683
16684 \begin_layout Plain Layout
16685
16686
16687 \backslash
16688 strut 
16689 \end_layout
16690
16691 \end_inset
16692
16693
16694 \size huge
16695 Huger
16696 \end_layout
16697
16698 \end_inset
16699 </cell>
16700 </row>
16701 </lyxtabular>
16702
16703 \end_inset
16704
16705
16706 \end_layout
16707
16708 \end_inset
16709
16710
16711 \begin_inset space \hfill{}
16712 \end_inset
16713
16714
16715 \end_layout
16716
16717 \end_inset
16718
16719
16720 \end_layout
16721
16722 \begin_layout Subsection
16723 Special Cell Alignment
16724 \begin_inset Index
16725 status collapsed
16726
16727 \begin_layout Plain Layout
16728 Table Customization ! Special Cell Alignment
16729 \end_layout
16730
16731 \end_inset
16732
16733
16734 \end_layout
16735
16736 \begin_layout Standard
16737 Sometimes it looks better when the cell entries of a column are aligned
16738  with a special character, e.
16739 \begin_inset space \thinspace{}
16740 \end_inset
16741
16742 g.
16743 \begin_inset space \space{}
16744 \end_inset
16745
16746 with the decimal separator as in Table
16747 \begin_inset space ~
16748 \end_inset
16749
16750
16751 \begin_inset CommandInset ref
16752 LatexCommand ref
16753 reference "tab:Table-cells-of"
16754
16755 \end_inset
16756
16757 .
16758 \end_layout
16759
16760 \begin_layout Standard
16761 \begin_inset Float table
16762 placement h
16763 wide false
16764 sideways false
16765 status open
16766
16767 \begin_layout Plain Layout
16768 \begin_inset Caption
16769
16770 \begin_layout Plain Layout
16771 \begin_inset CommandInset label
16772 LatexCommand label
16773 name "tab:Table-cells-of"
16774
16775 \end_inset
16776
16777 Table cells of a column aligned with the decimal separator.
16778 \end_layout
16779
16780 \end_inset
16781
16782
16783 \end_layout
16784
16785 \begin_layout Plain Layout
16786 \align center
16787 \begin_inset Tabular
16788 <lyxtabular version="3" rows="4" columns="2">
16789 <features>
16790 <column alignment="right" valignment="top" width="0">
16791 <column alignment="left" valignment="top" width="0" special="@{}l">
16792 <row>
16793 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16794 \begin_inset Text
16795
16796 \begin_layout Plain Layout
16797 heading
16798 \end_layout
16799
16800 \end_inset
16801 </cell>
16802 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16803 \begin_inset Text
16804
16805 \begin_layout Plain Layout
16806
16807 \end_layout
16808
16809 \end_inset
16810 </cell>
16811 </row>
16812 <row>
16813 <cell alignment="center" valignment="top" usebox="none">
16814 \begin_inset Text
16815
16816 \begin_layout Plain Layout
16817 12.
16818 \end_layout
16819
16820 \end_inset
16821 </cell>
16822 <cell alignment="center" valignment="top" usebox="none">
16823 \begin_inset Text
16824
16825 \begin_layout Plain Layout
16826 6
16827 \end_layout
16828
16829 \end_inset
16830 </cell>
16831 </row>
16832 <row>
16833 <cell alignment="center" valignment="top" usebox="none">
16834 \begin_inset Text
16835
16836 \begin_layout Plain Layout
16837 0.
16838 \end_layout
16839
16840 \end_inset
16841 </cell>
16842 <cell alignment="center" valignment="top" usebox="none">
16843 \begin_inset Text
16844
16845 \begin_layout Plain Layout
16846 68
16847 \end_layout
16848
16849 \end_inset
16850 </cell>
16851 </row>
16852 <row>
16853 <cell alignment="center" valignment="top" usebox="none">
16854 \begin_inset Text
16855
16856 \begin_layout Plain Layout
16857 -123.
16858 \end_layout
16859
16860 \end_inset
16861 </cell>
16862 <cell alignment="center" valignment="top" usebox="none">
16863 \begin_inset Text
16864
16865 \begin_layout Plain Layout
16866 0
16867 \end_layout
16868
16869 \end_inset
16870 </cell>
16871 </row>
16872 </lyxtabular>
16873
16874 \end_inset
16875
16876
16877 \end_layout
16878
16879 \end_inset
16880
16881
16882 \end_layout
16883
16884 \begin_layout Standard
16885 This table was created with a 4×2 table.
16886  The heading is a centered multicolumn.
16887  The first column is right-aligned and contains the digits before the decimal
16888  point and the decimal point.
16889  The second column is left aligned and contains the digits after the decimal
16890  point.
16891  To omit the space that is normally between two table columns, use the following
16892  LaTeX-argument for the second column:
16893 \end_layout
16894
16895 \begin_layout Standard
16896
16897 \series bold
16898 @{}l
16899 \end_layout
16900
16901 \begin_layout Standard
16902 Table
16903 \begin_inset space ~
16904 \end_inset
16905
16906
16907 \begin_inset CommandInset ref
16908 LatexCommand ref
16909 reference "tab:Several-table-cell"
16910
16911 \end_inset
16912
16913  shows some example alignments.
16914  For the alignment with the relation sign, you must add the second smallest
16915  math-space at the beginning of the last column to get the correct space
16916  surrounding the relation sign.
16917 \end_layout
16918
16919 \begin_layout Standard
16920 \begin_inset Float table
16921 wide false
16922 sideways false
16923 status open
16924
16925 \begin_layout Plain Layout
16926 \begin_inset Caption
16927
16928 \begin_layout Plain Layout
16929 \begin_inset CommandInset label
16930 LatexCommand label
16931 name "tab:Several-table-cell"
16932
16933 \end_inset
16934
16935 Several table cell alignments.
16936 \end_layout
16937
16938 \end_inset
16939
16940
16941 \end_layout
16942
16943 \begin_layout Plain Layout
16944 \align center
16945 \begin_inset Tabular
16946 <lyxtabular version="3" rows="4" columns="6">
16947 <features>
16948 <column alignment="right" valignment="top" width="0">
16949 <column alignment="left" valignment="top" width="0" special="@{}l">
16950 <column alignment="right" valignment="top" width="0">
16951 <column alignment="left" valignment="top" width="0" special="@{}l">
16952 <column alignment="right" valignment="top" width="0">
16953 <column alignment="left" valignment="top" width="0" special="@{}l">
16954 <row>
16955 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16956 \begin_inset Text
16957
16958 \begin_layout Plain Layout
16959 units
16960 \end_layout
16961
16962 \end_inset
16963 </cell>
16964 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16965 \begin_inset Text
16966
16967 \begin_layout Plain Layout
16968
16969 \end_layout
16970
16971 \end_inset
16972 </cell>
16973 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16974 \begin_inset Text
16975
16976 \begin_layout Plain Layout
16977 exponents
16978 \end_layout
16979
16980 \end_inset
16981 </cell>
16982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16983 \begin_inset Text
16984
16985 \begin_layout Plain Layout
16986
16987 \end_layout
16988
16989 \end_inset
16990 </cell>
16991 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16992 \begin_inset Text
16993
16994 \begin_layout Plain Layout
16995 relations
16996 \end_layout
16997
16998 \end_inset
16999 </cell>
17000 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17001 \begin_inset Text
17002
17003 \begin_layout Plain Layout
17004
17005 \end_layout
17006
17007 \end_inset
17008 </cell>
17009 </row>
17010 <row>
17011 <cell alignment="center" valignment="top" usebox="none">
17012 \begin_inset Text
17013
17014 \begin_layout Plain Layout
17015 12×
17016 \end_layout
17017
17018 \end_inset
17019 </cell>
17020 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17021 \begin_inset Text
17022
17023 \begin_layout Plain Layout
17024 24
17025 \begin_inset space \thinspace{}
17026 \end_inset
17027
17028 bottles
17029 \end_layout
17030
17031 \end_inset
17032 </cell>
17033 <cell alignment="center" valignment="top" usebox="none">
17034 \begin_inset Text
17035
17036 \begin_layout Plain Layout
17037 \begin_inset Formula $10\cdot$
17038 \end_inset
17039
17040
17041 \end_layout
17042
17043 \end_inset
17044 </cell>
17045 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17046 \begin_inset Text
17047
17048 \begin_layout Plain Layout
17049 \begin_inset Formula $10^{\mbox{-}17}$
17050 \end_inset
17051
17052
17053 \end_layout
17054
17055 \end_inset
17056 </cell>
17057 <cell alignment="center" valignment="top" usebox="none">
17058 \begin_inset Text
17059
17060 \begin_layout Plain Layout
17061 \begin_inset Formula $\Gamma(t)\propto$
17062 \end_inset
17063
17064
17065 \end_layout
17066
17067 \end_inset
17068 </cell>
17069 <cell alignment="center" valignment="top" usebox="none">
17070 \begin_inset Text
17071
17072 \begin_layout Plain Layout
17073 \begin_inset Formula $\:\Upsilon(t)$
17074 \end_inset
17075
17076
17077 \end_layout
17078
17079 \end_inset
17080 </cell>
17081 </row>
17082 <row>
17083 <cell alignment="center" valignment="top" usebox="none">
17084 \begin_inset Text
17085
17086 \begin_layout Plain Layout
17087 1024×
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Plain Layout
17096 768
17097 \begin_inset space \thinspace{}
17098 \end_inset
17099
17100 Pixels
17101 \end_layout
17102
17103 \end_inset
17104 </cell>
17105 <cell alignment="center" valignment="top" usebox="none">
17106 \begin_inset Text
17107
17108 \begin_layout Plain Layout
17109 \begin_inset Formula $5.78\cdot$
17110 \end_inset
17111
17112
17113 \end_layout
17114
17115 \end_inset
17116 </cell>
17117 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17118 \begin_inset Text
17119
17120 \begin_layout Plain Layout
17121 \begin_inset Formula $10^{7}$
17122 \end_inset
17123
17124
17125 \end_layout
17126
17127 \end_inset
17128 </cell>
17129 <cell alignment="center" valignment="top" usebox="none">
17130 \begin_inset Text
17131
17132 \begin_layout Plain Layout
17133 \begin_inset Formula $A\ne$
17134 \end_inset
17135
17136
17137 \end_layout
17138
17139 \end_inset
17140 </cell>
17141 <cell alignment="center" valignment="top" usebox="none">
17142 \begin_inset Text
17143
17144 \begin_layout Plain Layout
17145 \begin_inset Formula $\: B_{\mathrm{red}}$
17146 \end_inset
17147
17148
17149 \end_layout
17150
17151 \end_inset
17152 </cell>
17153 </row>
17154 <row>
17155 <cell alignment="center" valignment="top" usebox="none">
17156 \begin_inset Text
17157
17158 \begin_layout Plain Layout
17159 32×
17160 \end_layout
17161
17162 \end_inset
17163 </cell>
17164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17165 \begin_inset Text
17166
17167 \begin_layout Plain Layout
17168 6
17169 \begin_inset space \thinspace{}
17170 \end_inset
17171
17172 cm
17173 \end_layout
17174
17175 \end_inset
17176 </cell>
17177 <cell alignment="center" valignment="top" usebox="none">
17178 \begin_inset Text
17179
17180 \begin_layout Plain Layout
17181 -
17182 \begin_inset Formula $33.5\cdot$
17183 \end_inset
17184
17185
17186 \end_layout
17187
17188 \end_inset
17189 </cell>
17190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17191 \begin_inset Text
17192
17193 \begin_layout Plain Layout
17194 \begin_inset Formula $10^{4}$
17195 \end_inset
17196
17197
17198 \end_layout
17199
17200 \end_inset
17201 </cell>
17202 <cell alignment="center" valignment="top" usebox="none">
17203 \begin_inset Text
17204
17205 \begin_layout Plain Layout
17206 \begin_inset Formula $\sin(\alpha)\ge$
17207 \end_inset
17208
17209
17210 \end_layout
17211
17212 \end_inset
17213 </cell>
17214 <cell alignment="center" valignment="top" usebox="none">
17215 \begin_inset Text
17216
17217 \begin_layout Plain Layout
17218 \begin_inset Formula $\:\sin(\beta)$
17219 \end_inset
17220
17221
17222 \end_layout
17223
17224 \end_inset
17225 </cell>
17226 </row>
17227 </lyxtabular>
17228
17229 \end_inset
17230
17231
17232 \end_layout
17233
17234 \end_inset
17235
17236
17237 \end_layout
17238
17239 \begin_layout Standard
17240 \begin_inset VSpace bigskip
17241 \end_inset
17242
17243 There is also the LaTeX-package 
17244 \series bold
17245 dcolumn
17246 \series default
17247
17248 \begin_inset Index
17249 status collapsed
17250
17251 \begin_layout Plain Layout
17252 LaTeX-packages ! dcolumn
17253 \end_layout
17254
17255 \end_inset
17256
17257  that provides table cell alignments.
17258  But this unfortunately treats the cell entries as math and doesn't allow
17259  formulas in table cells: The first column of Table
17260 \begin_inset space ~
17261 \end_inset
17262
17263
17264 \begin_inset CommandInset ref
17265 LatexCommand ref
17266 reference "tab:Several-table-cell"
17267
17268 \end_inset
17269
17270  will look with 
17271 \series bold
17272 dcolumn
17273 \series default
17274  like the first column in Table
17275 \begin_inset space ~
17276 \end_inset
17277
17278
17279 \begin_inset CommandInset ref
17280 LatexCommand ref
17281 reference "tab:Alignments-when"
17282
17283 \end_inset
17284
17285  and only with some tricks like the expected.
17286  The alignment of the second and third column of Table
17287 \begin_inset space ~
17288 \end_inset
17289
17290
17291 \begin_inset CommandInset ref
17292 LatexCommand ref
17293 reference "tab:Several-table-cell"
17294
17295 \end_inset
17296
17297  is not possible with 
17298 \series bold
17299 dcolumn
17300 \series default
17301 .
17302 \end_layout
17303
17304 \begin_layout Standard
17305 \begin_inset Float table
17306 placement h
17307 wide false
17308 sideways false
17309 status open
17310
17311 \begin_layout Plain Layout
17312 \begin_inset Caption
17313
17314 \begin_layout Plain Layout
17315 \begin_inset CommandInset label
17316 LatexCommand label
17317 name "tab:Alignments-when"
17318
17319 \end_inset
17320
17321 Alignments when LaTeX-package dcolumn is used.
17322  For all column alignments tricks have to be used to get the output.
17323 \end_layout
17324
17325 \end_inset
17326
17327
17328 \end_layout
17329
17330 \begin_layout Plain Layout
17331 \align center
17332 \begin_inset Tabular
17333 <lyxtabular version="3" rows="4" columns="3">
17334 <features>
17335 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17336 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17337 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
17338 <row>
17339 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17340 \begin_inset Text
17341
17342 \begin_layout Plain Layout
17343 units
17344 \end_layout
17345
17346 \end_inset
17347 </cell>
17348 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17349 \begin_inset Text
17350
17351 \begin_layout Plain Layout
17352 units
17353 \end_layout
17354
17355 \end_inset
17356 </cell>
17357 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17358 \begin_inset Text
17359
17360 \begin_layout Plain Layout
17361 units
17362 \end_layout
17363
17364 \end_inset
17365 </cell>
17366 </row>
17367 <row>
17368 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17369 \begin_inset Text
17370
17371 \begin_layout Plain Layout
17372 12x24
17373 \begin_inset space \thinspace{}
17374 \end_inset
17375
17376 bottles
17377 \end_layout
17378
17379 \end_inset
17380 </cell>
17381 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17382 \begin_inset Text
17383
17384 \begin_layout Plain Layout
17385 12x24
17386 \begin_inset space \thinspace{}
17387 \end_inset
17388
17389
17390 \begin_inset Formula $\mbox{bottles}$
17391 \end_inset
17392
17393
17394 \end_layout
17395
17396 \end_inset
17397 </cell>
17398 <cell alignment="center" valignment="top" usebox="none">
17399 \begin_inset Text
17400
17401 \begin_layout Plain Layout
17402 12
17403 \begin_inset ERT
17404 status collapsed
17405
17406 \begin_layout Plain Layout
17407
17408
17409 \backslash
17410 times 
17411 \end_layout
17412
17413 \end_inset
17414
17415 24~
17416 \begin_inset Formula $\mbox{bottles}$
17417 \end_inset
17418
17419
17420 \end_layout
17421
17422 \end_inset
17423 </cell>
17424 </row>
17425 <row>
17426 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17427 \begin_inset Text
17428
17429 \begin_layout Plain Layout
17430 1024x768
17431 \begin_inset space \thinspace{}
17432 \end_inset
17433
17434 Pixels
17435 \end_layout
17436
17437 \end_inset
17438 </cell>
17439 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17440 \begin_inset Text
17441
17442 \begin_layout Plain Layout
17443 1024x768
17444 \begin_inset space \thinspace{}
17445 \end_inset
17446
17447
17448 \begin_inset Formula $\mbox{Pixels}$
17449 \end_inset
17450
17451
17452 \end_layout
17453
17454 \end_inset
17455 </cell>
17456 <cell alignment="center" valignment="top" usebox="none">
17457 \begin_inset Text
17458
17459 \begin_layout Plain Layout
17460 1024
17461 \begin_inset ERT
17462 status collapsed
17463
17464 \begin_layout Plain Layout
17465
17466
17467 \backslash
17468 times 
17469 \end_layout
17470
17471 \end_inset
17472
17473 768~
17474 \begin_inset Formula $\mbox{Pixels}$
17475 \end_inset
17476
17477
17478 \end_layout
17479
17480 \end_inset
17481 </cell>
17482 </row>
17483 <row>
17484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17485 \begin_inset Text
17486
17487 \begin_layout Plain Layout
17488 32x6
17489 \begin_inset space \thinspace{}
17490 \end_inset
17491
17492 cm
17493 \end_layout
17494
17495 \end_inset
17496 </cell>
17497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17498 \begin_inset Text
17499
17500 \begin_layout Plain Layout
17501 32x6
17502 \begin_inset space \thinspace{}
17503 \end_inset
17504
17505
17506 \begin_inset Formula $\mbox{cm}$
17507 \end_inset
17508
17509
17510 \end_layout
17511
17512 \end_inset
17513 </cell>
17514 <cell alignment="center" valignment="top" usebox="none">
17515 \begin_inset Text
17516
17517 \begin_layout Plain Layout
17518 32
17519 \begin_inset ERT
17520 status collapsed
17521
17522 \begin_layout Plain Layout
17523
17524
17525 \backslash
17526 times 
17527 \end_layout
17528
17529 \end_inset
17530
17531 6~
17532 \begin_inset Formula $\mbox{cm}$
17533 \end_inset
17534
17535
17536 \end_layout
17537
17538 \end_inset
17539 </cell>
17540 </row>
17541 </lyxtabular>
17542
17543 \end_inset
17544
17545
17546 \end_layout
17547
17548 \end_inset
17549
17550
17551 \end_layout
17552
17553 \begin_layout Subsection
17554 Customized Cell/Column Format
17555 \begin_inset CommandInset label
17556 LatexCommand label
17557 name "sub:Customized-Format"
17558
17559 \end_inset
17560
17561
17562 \begin_inset Index
17563 status collapsed
17564
17565 \begin_layout Plain Layout
17566 Table Customization ! Cell/Column Format
17567 \end_layout
17568
17569 \end_inset
17570
17571
17572 \end_layout
17573
17574 \begin_layout Standard
17575 Calculating the needed width for spanned columns like in section
17576 \begin_inset space ~
17577 \end_inset
17578
17579
17580 \begin_inset CommandInset ref
17581 LatexCommand ref
17582 reference "sub:Multicolumn-Calculations"
17583
17584 \end_inset
17585
17586  is very annoying if you have several tables with multicolumn cells.
17587  To make life easier, you can define a cell/column format in the preamble,
17588  so that it can be used in all tables of the document.
17589  The format is defined with the command
17590 \end_layout
17591
17592 \begin_layout Standard
17593
17594 \series bold
17595
17596 \backslash
17597 newcolumntype{name of format}[number of arguments]{commands}
17598 \end_layout
17599
17600 \begin_layout Standard
17601 The format name may only consist of one letter.
17602  The letters 
17603 \emph on
17604 b
17605 \emph default
17606
17607 \emph on
17608 c
17609 \emph default
17610
17611 \emph on
17612 l
17613 \emph default
17614
17615 \emph on
17616 m
17617 \emph default
17618
17619 \emph on
17620 p
17621 \emph default
17622  and 
17623 \emph on
17624 r
17625 \emph default
17626  are predefined and cannot be used.
17627  But all letters are allowed as capitals.
17628 \end_layout
17629
17630 \begin_layout Standard
17631 \begin_inset VSpace medskip
17632 \end_inset
17633
17634
17635 \end_layout
17636
17637 \begin_layout Standard
17638 For vertically and horizontally centered multicolumn cells with a fixed
17639  width you can define the cell format
17640 \end_layout
17641
17642 \begin_layout Standard
17643
17644 \series bold
17645
17646 \backslash
17647 newcolumntype{M}[1]{>{
17648 \backslash
17649 centering
17650 \backslash
17651 hspace{0pt}}m{#1}}
17652 \end_layout
17653
17654 \begin_layout Standard
17655 where 
17656 \series bold
17657
17658 \backslash
17659 hspace{0pt}
17660 \series default
17661  avoids the problem of hyphenating the first word, as described in section
17662 \begin_inset space ~
17663 \end_inset
17664
17665
17666 \begin_inset CommandInset ref
17667 LatexCommand ref
17668 reference "sub:Multiple-Lines-in"
17669
17670 \end_inset
17671
17672 .
17673  Now you can simply enter
17674 \end_layout
17675
17676 \begin_layout Standard
17677
17678 \series bold
17679 M{width}
17680 \end_layout
17681
17682 \begin_layout Standard
17683 as LaTeX-argument in the table dialog to create a multicolumn.
17684 \end_layout
17685
17686 \begin_layout Standard
17687 \begin_inset VSpace bigskip
17688 \end_inset
17689
17690
17691 \end_layout
17692
17693 \begin_layout Standard
17694 For cells spanned by a multicolumn cell, you can define the format
17695 \end_layout
17696
17697 \begin_layout Standard
17698
17699 \series bold
17700
17701 \backslash
17702 newcolumntype{S}[2]{>{
17703 \backslash
17704 centering
17705 \backslash
17706 hspace{0pt}}
17707 \begin_inset Newline newline
17708 \end_inset
17709
17710
17711 \begin_inset ERT
17712 status collapsed
17713
17714 \begin_layout Plain Layout
17715
17716
17717 \backslash
17718 phantom{
17719 \end_layout
17720
17721 \end_inset
17722
17723
17724 \backslash
17725 newcolumntype
17726 \begin_inset ERT
17727 status collapsed
17728
17729 \begin_layout Plain Layout
17730
17731 }
17732 \end_layout
17733
17734 \end_inset
17735
17736 m{(#1+(2
17737 \backslash
17738 tabcolsep+
17739 \backslash
17740 arrayrulewidth)*(1-#2))/#2}}
17741 \end_layout
17742
17743 \begin_layout Standard
17744 This format uses equation 
17745 \begin_inset CommandInset ref
17746 LatexCommand eqref
17747 reference "eq:Wgn"
17748
17749 \end_inset
17750
17751  to calculate the needed width so that each spanned cell has the same width.
17752 \end_layout
17753
17754 \begin_layout Standard
17755 You can now enter
17756 \end_layout
17757
17758 \begin_layout Standard
17759
17760 \series bold
17761 S{width of multicolumn cell}{number of spanned columns}
17762 \end_layout
17763
17764 \begin_layout Standard
17765 as LaTeX-argument of the column.
17766 \end_layout
17767
17768 \begin_layout Standard
17769 \begin_inset VSpace bigskip
17770 \end_inset
17771
17772
17773 \end_layout
17774
17775 \begin_layout Standard
17776 For colored columns, you can define
17777 \end_layout
17778
17779 \begin_layout Standard
17780
17781 \series bold
17782
17783 \backslash
17784 newcolumntype{K}[1]{>{
17785 \backslash
17786 columncolor{#1}
17787 \backslash
17788 hspace{0pt}}c}
17789 \end_layout
17790
17791 \begin_layout Standard
17792 The 
17793 \begin_inset Quotes eld
17794 \end_inset
17795
17796 c
17797 \begin_inset Quotes erd
17798 \end_inset
17799
17800  at the end creates a column with a flexible width whose text is horizontally
17801  centered.
17802  You can now enter
17803 \end_layout
17804
17805 \begin_layout Standard
17806
17807 \series bold
17808 K{color name}
17809 \end_layout
17810
17811 \begin_layout Standard
17812 as LaTeX-argument.
17813 \end_layout
17814
17815 \begin_layout Standard
17816 \begin_inset VSpace bigskip
17817 \end_inset
17818
17819
17820 \end_layout
17821
17822 \begin_layout Standard
17823 To create Table
17824 \begin_inset space ~
17825 \end_inset
17826
17827
17828 \begin_inset CommandInset ref
17829 LatexCommand ref
17830 reference "tab:Table-using-user-defined"
17831
17832 \end_inset
17833
17834  use the LaTeX-arguments
17835 \end_layout
17836
17837 \begin_layout Standard
17838
17839 \series bold
17840 M{2.5cm}
17841 \end_layout
17842
17843 \begin_layout Standard
17844 for the first column and the multicolumn,
17845 \end_layout
17846
17847 \begin_layout Standard
17848
17849 \series bold
17850 K{red}
17851 \end_layout
17852
17853 \begin_layout Standard
17854 for the the last column, and
17855 \end_layout
17856
17857 \begin_layout Standard
17858
17859 \series bold
17860 S{2.5cm}{2}
17861 \end_layout
17862
17863 \begin_layout Standard
17864 for the cells in the second column.
17865 \end_layout
17866
17867 \begin_layout Standard
17868 \begin_inset Float table
17869 placement h
17870 wide false
17871 sideways false
17872 status open
17873
17874 \begin_layout Plain Layout
17875 \begin_inset Caption
17876
17877 \begin_layout Plain Layout
17878 \begin_inset CommandInset label
17879 LatexCommand label
17880 name "tab:Table-using-user-defined"
17881
17882 \end_inset
17883
17884 Table using user-defined table formats
17885 \end_layout
17886
17887 \end_inset
17888
17889
17890 \end_layout
17891
17892 \begin_layout Plain Layout
17893 \align center
17894 \begin_inset Tabular
17895 <lyxtabular version="3" rows="3" columns="4">
17896 <features>
17897 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17898 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17899 <column alignment="center" valignment="middle" width="0">
17900 <column alignment="center" valignment="middle" width="0" special="K{red}">
17901 <row>
17902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17903 \begin_inset Text
17904
17905 \begin_layout Plain Layout
17906 verylongtablecellword
17907 \end_layout
17908
17909 \end_inset
17910 </cell>
17911 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17912 \begin_inset Text
17913
17914 \begin_layout Plain Layout
17915 multiple lines multicolumn
17916 \end_layout
17917
17918 \end_inset
17919 </cell>
17920 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17921 \begin_inset Text
17922
17923 \begin_layout Plain Layout
17924
17925 \end_layout
17926
17927 \end_inset
17928 </cell>
17929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17930 \begin_inset Text
17931
17932 \begin_layout Plain Layout
17933 c
17934 \end_layout
17935
17936 \end_inset
17937 </cell>
17938 </row>
17939 <row>
17940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17941 \begin_inset Text
17942
17943 \begin_layout Plain Layout
17944 d
17945 \end_layout
17946
17947 \end_inset
17948 </cell>
17949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17950 \begin_inset Text
17951
17952 \begin_layout Plain Layout
17953 e
17954 \end_layout
17955
17956 \end_inset
17957 </cell>
17958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17959 \begin_inset Text
17960
17961 \begin_layout Plain Layout
17962 f
17963 \end_layout
17964
17965 \end_inset
17966 </cell>
17967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17968 \begin_inset Text
17969
17970 \begin_layout Plain Layout
17971 g
17972 \end_layout
17973
17974 \end_inset
17975 </cell>
17976 </row>
17977 <row>
17978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17979 \begin_inset Text
17980
17981 \begin_layout Plain Layout
17982 h
17983 \end_layout
17984
17985 \end_inset
17986 </cell>
17987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17988 \begin_inset Text
17989
17990 \begin_layout Plain Layout
17991 i
17992 \end_layout
17993
17994 \end_inset
17995 </cell>
17996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17997 \begin_inset Text
17998
17999 \begin_layout Plain Layout
18000 j
18001 \end_layout
18002
18003 \end_inset
18004 </cell>
18005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18006 \begin_inset Text
18007
18008 \begin_layout Plain Layout
18009 k
18010 \end_layout
18011
18012 \end_inset
18013 </cell>
18014 </row>
18015 </lyxtabular>
18016
18017 \end_inset
18018
18019
18020 \end_layout
18021
18022 \end_inset
18023
18024
18025 \end_layout
18026
18027 \begin_layout Subsection
18028 Line Thickness
18029 \begin_inset CommandInset label
18030 LatexCommand label
18031 name "sub:Line-Thickness"
18032
18033 \end_inset
18034
18035
18036 \begin_inset Index
18037 status collapsed
18038
18039 \begin_layout Plain Layout
18040 Table Customization ! Line Thickness
18041 \end_layout
18042
18043 \end_inset
18044
18045
18046 \end_layout
18047
18048 \begin_layout Standard
18049 The line thickness for all lines in a table can be adjusted with the length
18050  
18051 \series bold
18052
18053 \backslash
18054 arrayrulewidth
18055 \series default
18056 .
18057  To set for example a line thickness of 1.5
18058 \begin_inset space \thinspace{}
18059 \end_inset
18060
18061 pt, like in Table
18062 \begin_inset space ~
18063 \end_inset
18064
18065
18066 \begin_inset CommandInset ref
18067 LatexCommand ref
18068 reference "tab:Table-with-1.5"
18069
18070 \end_inset
18071
18072 , insert the command
18073 \end_layout
18074
18075 \begin_layout Standard
18076
18077 \series bold
18078
18079 \backslash
18080 setlength{
18081 \backslash
18082 arrayrulewidth}{1.5pt}
18083 \end_layout
18084
18085 \begin_layout Standard
18086 in TeX-Code before the table or table float.
18087  The changed thickness is valid for all following tables.
18088  To use the default value again, set 
18089 \series bold
18090
18091 \backslash
18092 arrayrulewidth
18093 \series default
18094  to 0.4
18095 \begin_inset space \thinspace{}
18096 \end_inset
18097
18098 pt in TeX-Code behind the table or table float.
18099 \end_layout
18100
18101 \begin_layout Standard
18102 \begin_inset ERT
18103 status collapsed
18104
18105 \begin_layout Plain Layout
18106
18107
18108 \backslash
18109 setlength{
18110 \backslash
18111 arrayrulewidth}{1.5pt}
18112 \end_layout
18113
18114 \end_inset
18115
18116
18117 \begin_inset Float table
18118 wide false
18119 sideways false
18120 status open
18121
18122 \begin_layout Plain Layout
18123 \begin_inset Caption
18124
18125 \begin_layout Plain Layout
18126 \begin_inset CommandInset label
18127 LatexCommand label
18128 name "tab:Table-with-1.5"
18129
18130 \end_inset
18131
18132 Table with 1.5
18133 \begin_inset space \thinspace{}
18134 \end_inset
18135
18136 pt thick lines
18137 \end_layout
18138
18139 \end_inset
18140
18141
18142 \end_layout
18143
18144 \begin_layout Plain Layout
18145 \align center
18146 \begin_inset Tabular
18147 <lyxtabular version="3" rows="3" columns="3">
18148 <features>
18149 <column alignment="center" valignment="top" width="0">
18150 <column alignment="center" valignment="top" width="0">
18151 <column alignment="center" valignment="top" width="0">
18152 <row>
18153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18154 \begin_inset Text
18155
18156 \begin_layout Plain Layout
18157 sd
18158 \end_layout
18159
18160 \end_inset
18161 </cell>
18162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18163 \begin_inset Text
18164
18165 \begin_layout Plain Layout
18166
18167 \end_layout
18168
18169 \end_inset
18170 </cell>
18171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18172 \begin_inset Text
18173
18174 \begin_layout Plain Layout
18175
18176 \end_layout
18177
18178 \end_inset
18179 </cell>
18180 </row>
18181 <row>
18182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18183 \begin_inset Text
18184
18185 \begin_layout Plain Layout
18186
18187 \end_layout
18188
18189 \end_inset
18190 </cell>
18191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18192 \begin_inset Text
18193
18194 \begin_layout Plain Layout
18195 sd
18196 \end_layout
18197
18198 \end_inset
18199 </cell>
18200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18201 \begin_inset Text
18202
18203 \begin_layout Plain Layout
18204
18205 \end_layout
18206
18207 \end_inset
18208 </cell>
18209 </row>
18210 <row>
18211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18212 \begin_inset Text
18213
18214 \begin_layout Plain Layout
18215
18216 \end_layout
18217
18218 \end_inset
18219 </cell>
18220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18221 \begin_inset Text
18222
18223 \begin_layout Plain Layout
18224
18225 \end_layout
18226
18227 \end_inset
18228 </cell>
18229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18230 \begin_inset Text
18231
18232 \begin_layout Plain Layout
18233 sd
18234 \end_layout
18235
18236 \end_inset
18237 </cell>
18238 </row>
18239 </lyxtabular>
18240
18241 \end_inset
18242
18243
18244 \end_layout
18245
18246 \end_inset
18247
18248
18249 \begin_inset ERT
18250 status collapsed
18251
18252 \begin_layout Plain Layout
18253
18254
18255 \backslash
18256 setlength{
18257 \backslash
18258 arrayrulewidth}{0.4pt}
18259 \end_layout
18260
18261 \end_inset
18262
18263
18264 \end_layout
18265
18266 \begin_layout Standard
18267 \begin_inset VSpace bigskip
18268 \end_inset
18269
18270 To set the line thickness to 1.5
18271 \begin_inset space \thinspace{}
18272 \end_inset
18273
18274 pt only for horizontal lines, like in Table
18275 \begin_inset space ~
18276 \end_inset
18277
18278
18279 \begin_inset CommandInset ref
18280 LatexCommand ref
18281 reference "tab:Table-with-horizontal"
18282
18283 \end_inset
18284
18285 , insert these commands in TeX-Code before the table or table float:
18286 \end_layout
18287
18288 \begin_layout Standard
18289
18290 \series bold
18291
18292 \backslash
18293 let
18294 \backslash
18295 myHline
18296 \backslash
18297 hline
18298 \begin_inset Newline newline
18299 \end_inset
18300
18301
18302 \backslash
18303 renewcommand{
18304 \backslash
18305 hline}
18306 \begin_inset Newline newline
18307 \end_inset
18308
18309  {
18310 \backslash
18311 noalign{
18312 \backslash
18313 global
18314 \backslash
18315 arrayrulewidth 1.5pt}
18316 \begin_inset Newline newline
18317 \end_inset
18318
18319  
18320 \backslash
18321 myHline
18322 \backslash
18323 noalign{
18324 \backslash
18325 global
18326 \backslash
18327 arrayrulewidth 0.4pt}}
18328 \end_layout
18329
18330 \begin_layout Standard
18331 To return to the default line thickness, insert this command in TeX-Code
18332  behind the table or table float:
18333 \end_layout
18334
18335 \begin_layout Standard
18336
18337 \series bold
18338
18339 \backslash
18340 renewcommand{
18341 \backslash
18342 hline}{
18343 \backslash
18344 myHline}
18345 \end_layout
18346
18347 \begin_layout Standard
18348 \begin_inset ERT
18349 status collapsed
18350
18351 \begin_layout Plain Layout
18352
18353
18354 \backslash
18355 let
18356 \backslash
18357 myHline
18358 \backslash
18359 hline
18360 \end_layout
18361
18362 \begin_layout Plain Layout
18363
18364
18365 \backslash
18366 renewcommand{
18367 \backslash
18368 hline}
18369 \end_layout
18370
18371 \begin_layout Plain Layout
18372
18373  {
18374 \backslash
18375 noalign{
18376 \backslash
18377 global
18378 \backslash
18379 arrayrulewidth 1.5pt}
18380 \end_layout
18381
18382 \begin_layout Plain Layout
18383
18384   
18385 \backslash
18386 myHline
18387 \backslash
18388 noalign{
18389 \backslash
18390 global
18391 \backslash
18392 arrayrulewidth 0.4pt}}
18393 \end_layout
18394
18395 \end_inset
18396
18397
18398 \begin_inset Float table
18399 wide false
18400 sideways false
18401 status open
18402
18403 \begin_layout Plain Layout
18404 \begin_inset Caption
18405
18406 \begin_layout Plain Layout
18407 \begin_inset CommandInset label
18408 LatexCommand label
18409 name "tab:Table-with-horizontal"
18410
18411 \end_inset
18412
18413 Table with 1.5
18414 \begin_inset space \thinspace{}
18415 \end_inset
18416
18417 pt thick horizontal lines
18418 \end_layout
18419
18420 \end_inset
18421
18422
18423 \end_layout
18424
18425 \begin_layout Plain Layout
18426 \align center
18427 \begin_inset Tabular
18428 <lyxtabular version="3" rows="3" columns="3">
18429 <features>
18430 <column alignment="center" valignment="top" width="0">
18431 <column alignment="center" valignment="top" width="0">
18432 <column alignment="center" valignment="top" width="0">
18433 <row>
18434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18435 \begin_inset Text
18436
18437 \begin_layout Plain Layout
18438 sd
18439 \end_layout
18440
18441 \end_inset
18442 </cell>
18443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18444 \begin_inset Text
18445
18446 \begin_layout Plain Layout
18447
18448 \end_layout
18449
18450 \end_inset
18451 </cell>
18452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18453 \begin_inset Text
18454
18455 \begin_layout Plain Layout
18456
18457 \end_layout
18458
18459 \end_inset
18460 </cell>
18461 </row>
18462 <row>
18463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18464 \begin_inset Text
18465
18466 \begin_layout Plain Layout
18467
18468 \end_layout
18469
18470 \end_inset
18471 </cell>
18472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18473 \begin_inset Text
18474
18475 \begin_layout Plain Layout
18476 sd
18477 \end_layout
18478
18479 \end_inset
18480 </cell>
18481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18482 \begin_inset Text
18483
18484 \begin_layout Plain Layout
18485
18486 \end_layout
18487
18488 \end_inset
18489 </cell>
18490 </row>
18491 <row>
18492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18493 \begin_inset Text
18494
18495 \begin_layout Plain Layout
18496
18497 \end_layout
18498
18499 \end_inset
18500 </cell>
18501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18502 \begin_inset Text
18503
18504 \begin_layout Plain Layout
18505
18506 \end_layout
18507
18508 \end_inset
18509 </cell>
18510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18511 \begin_inset Text
18512
18513 \begin_layout Plain Layout
18514 sd
18515 \end_layout
18516
18517 \end_inset
18518 </cell>
18519 </row>
18520 </lyxtabular>
18521
18522 \end_inset
18523
18524
18525 \end_layout
18526
18527 \end_inset
18528
18529
18530 \begin_inset ERT
18531 status collapsed
18532
18533 \begin_layout Plain Layout
18534
18535
18536 \backslash
18537 renewcommand{
18538 \backslash
18539 hline}{
18540 \backslash
18541 myHline}
18542 \end_layout
18543
18544 \end_inset
18545
18546
18547 \end_layout
18548
18549 \begin_layout Standard
18550 \begin_inset VSpace bigskip
18551 \end_inset
18552
18553 To set the line thickness to 1.5
18554 \begin_inset space \thinspace{}
18555 \end_inset
18556
18557 pt only for vertical lines, create the following column format in the document
18558  preamble, according to the description in section
18559 \begin_inset space ~
18560 \end_inset
18561
18562
18563 \begin_inset CommandInset ref
18564 LatexCommand ref
18565 reference "sub:Customized-Format"
18566
18567 \end_inset
18568
18569 :
18570 \end_layout
18571
18572 \begin_layout Standard
18573
18574 \series bold
18575
18576 \backslash
18577 newcolumntype{V}{!{
18578 \backslash
18579 vrule width 1.5pt}}
18580 \end_layout
18581
18582 \begin_layout Standard
18583 For Table
18584 \begin_inset space ~
18585 \end_inset
18586
18587
18588 \begin_inset CommandInset ref
18589 LatexCommand ref
18590 reference "tab:Table-with-vertical"
18591
18592 \end_inset
18593
18594  the LaTeX-argument
18595 \end_layout
18596
18597 \begin_layout Standard
18598
18599 \series bold
18600 VcV
18601 \end_layout
18602
18603 \begin_layout Standard
18604 was used for the last column and
18605 \end_layout
18606
18607 \begin_layout Standard
18608
18609 \series bold
18610 Vc
18611 \end_layout
18612
18613 \begin_layout Standard
18614 for the other columns.
18615 \end_layout
18616
18617 \begin_layout Standard
18618 \begin_inset Float table
18619 wide false
18620 sideways false
18621 status open
18622
18623 \begin_layout Plain Layout
18624 \begin_inset Caption
18625
18626 \begin_layout Plain Layout
18627 \begin_inset CommandInset label
18628 LatexCommand label
18629 name "tab:Table-with-vertical"
18630
18631 \end_inset
18632
18633 Table with 1.5
18634 \begin_inset space \thinspace{}
18635 \end_inset
18636
18637 pt thick vertical lines
18638 \end_layout
18639
18640 \end_inset
18641
18642
18643 \end_layout
18644
18645 \begin_layout Plain Layout
18646 \align center
18647 \begin_inset Tabular
18648 <lyxtabular version="3" rows="3" columns="3">
18649 <features>
18650 <column alignment="center" valignment="top" width="0" special="Vc">
18651 <column alignment="center" valignment="top" width="0" special="Vc">
18652 <column alignment="center" valignment="top" width="0" special="VcV">
18653 <row>
18654 <cell alignment="center" valignment="top" topline="true" usebox="none">
18655 \begin_inset Text
18656
18657 \begin_layout Plain Layout
18658 sd
18659 \end_layout
18660
18661 \end_inset
18662 </cell>
18663 <cell alignment="center" valignment="top" topline="true" usebox="none">
18664 \begin_inset Text
18665
18666 \begin_layout Plain Layout
18667
18668 \end_layout
18669
18670 \end_inset
18671 </cell>
18672 <cell alignment="center" valignment="top" topline="true" usebox="none">
18673 \begin_inset Text
18674
18675 \begin_layout Plain Layout
18676
18677 \end_layout
18678
18679 \end_inset
18680 </cell>
18681 </row>
18682 <row>
18683 <cell alignment="center" valignment="top" topline="true" usebox="none">
18684 \begin_inset Text
18685
18686 \begin_layout Plain Layout
18687
18688 \end_layout
18689
18690 \end_inset
18691 </cell>
18692 <cell alignment="center" valignment="top" topline="true" usebox="none">
18693 \begin_inset Text
18694
18695 \begin_layout Plain Layout
18696 sd
18697 \end_layout
18698
18699 \end_inset
18700 </cell>
18701 <cell alignment="center" valignment="top" topline="true" usebox="none">
18702 \begin_inset Text
18703
18704 \begin_layout Plain Layout
18705
18706 \end_layout
18707
18708 \end_inset
18709 </cell>
18710 </row>
18711 <row>
18712 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18713 \begin_inset Text
18714
18715 \begin_layout Plain Layout
18716
18717 \end_layout
18718
18719 \end_inset
18720 </cell>
18721 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18722 \begin_inset Text
18723
18724 \begin_layout Plain Layout
18725
18726 \end_layout
18727
18728 \end_inset
18729 </cell>
18730 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18731 \begin_inset Text
18732
18733 \begin_layout Plain Layout
18734 sd
18735 \end_layout
18736
18737 \end_inset
18738 </cell>
18739 </row>
18740 </lyxtabular>
18741
18742 \end_inset
18743
18744
18745 \end_layout
18746
18747 \end_inset
18748
18749
18750 \end_layout
18751
18752 \begin_layout Subsection
18753 Dashed Lines
18754 \begin_inset Index
18755 status collapsed
18756
18757 \begin_layout Plain Layout
18758 Table Customization ! Dashed Lines
18759 \end_layout
18760
18761 \end_inset
18762
18763
18764 \end_layout
18765
18766 \begin_layout Standard
18767 \begin_inset ERT
18768 status collapsed
18769
18770 \begin_layout Plain Layout
18771
18772
18773 \backslash
18774 ifarydshln
18775 \end_layout
18776
18777 \end_inset
18778
18779
18780 \begin_inset Note Note
18781 status open
18782
18783 \begin_layout Plain Layout
18784 The following section will only be displayed when the LaTeX-package 
18785 \series bold
18786 arydshln
18787 \series default
18788  is installed.
18789 \end_layout
18790
18791 \end_inset
18792
18793
18794 \end_layout
18795
18796 \begin_layout Standard
18797 \begin_inset Float table
18798 placement H
18799 wide false
18800 sideways false
18801 status open
18802
18803 \begin_layout Plain Layout
18804 \begin_inset Caption
18805
18806 \begin_layout Plain Layout
18807 \begin_inset CommandInset label
18808 LatexCommand label
18809 name "tab:Table-with-dashed"
18810
18811 \end_inset
18812
18813 Table with dashed lines
18814 \end_layout
18815
18816 \end_inset
18817
18818
18819 \end_layout
18820
18821 \begin_layout Plain Layout
18822 \align center
18823 \begin_inset Tabular
18824 <lyxtabular version="3" rows="5" columns="5">
18825 <features>
18826 <column alignment="center" valignment="top" width="0">
18827 <column alignment="center" valignment="top" width="0">
18828 <column alignment="center" valignment="top" width="0" special=":c">
18829 <column alignment="center" valignment="top" width="0">
18830 <column alignment="center" valignment="top" width="0">
18831 <row>
18832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18833 \begin_inset Text
18834
18835 \begin_layout Plain Layout
18836 a
18837 \end_layout
18838
18839 \end_inset
18840 </cell>
18841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18842 \begin_inset Text
18843
18844 \begin_layout Plain Layout
18845 b
18846 \end_layout
18847
18848 \end_inset
18849 </cell>
18850 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18851 \begin_inset Text
18852
18853 \begin_layout Plain Layout
18854 c
18855 \end_layout
18856
18857 \end_inset
18858 </cell>
18859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18860 \begin_inset Text
18861
18862 \begin_layout Plain Layout
18863 d
18864 \end_layout
18865
18866 \end_inset
18867 </cell>
18868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18869 \begin_inset Text
18870
18871 \begin_layout Plain Layout
18872 e
18873 \end_layout
18874
18875 \end_inset
18876 </cell>
18877 </row>
18878 <row>
18879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18880 \begin_inset Text
18881
18882 \begin_layout Plain Layout
18883 f
18884 \end_layout
18885
18886 \end_inset
18887 </cell>
18888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18889 \begin_inset Text
18890
18891 \begin_layout Plain Layout
18892 g
18893 \end_layout
18894
18895 \end_inset
18896 </cell>
18897 <cell alignment="center" valignment="top" topline="true" usebox="none">
18898 \begin_inset Text
18899
18900 \begin_layout Plain Layout
18901 h
18902 \end_layout
18903
18904 \end_inset
18905 </cell>
18906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18907 \begin_inset Text
18908
18909 \begin_layout Plain Layout
18910 i
18911 \end_layout
18912
18913 \end_inset
18914 </cell>
18915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18916 \begin_inset Text
18917
18918 \begin_layout Plain Layout
18919 j
18920 \end_layout
18921
18922 \end_inset
18923 </cell>
18924 </row>
18925 <row>
18926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18927 \begin_inset Text
18928
18929 \begin_layout Plain Layout
18930 \begin_inset ERT
18931 status collapsed
18932
18933 \begin_layout Plain Layout
18934
18935
18936 \backslash
18937 hdashline 
18938 \end_layout
18939
18940 \end_inset
18941
18942 k
18943 \end_layout
18944
18945 \end_inset
18946 </cell>
18947 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18948 \begin_inset Text
18949
18950 \begin_layout Plain Layout
18951 l
18952 \end_layout
18953
18954 \end_inset
18955 </cell>
18956 <cell alignment="center" valignment="top" usebox="none">
18957 \begin_inset Text
18958
18959 \begin_layout Plain Layout
18960 m
18961 \end_layout
18962
18963 \end_inset
18964 </cell>
18965 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18966 \begin_inset Text
18967
18968 \begin_layout Plain Layout
18969 n
18970 \end_layout
18971
18972 \end_inset
18973 </cell>
18974 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18975 \begin_inset Text
18976
18977 \begin_layout Plain Layout
18978 o
18979 \end_layout
18980
18981 \end_inset
18982 </cell>
18983 </row>
18984 <row>
18985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18986 \begin_inset Text
18987
18988 \begin_layout Plain Layout
18989 \begin_inset ERT
18990 status collapsed
18991
18992 \begin_layout Plain Layout
18993
18994
18995 \backslash
18996 cdashline{4-5}
18997 \end_layout
18998
18999 \end_inset
19000
19001 p
19002 \end_layout
19003
19004 \end_inset
19005 </cell>
19006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19007 \begin_inset Text
19008
19009 \begin_layout Plain Layout
19010 q
19011 \end_layout
19012
19013 \end_inset
19014 </cell>
19015 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19016 \begin_inset Text
19017
19018 \begin_layout Plain Layout
19019 r
19020 \end_layout
19021
19022 \end_inset
19023 </cell>
19024 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19025 \begin_inset Text
19026
19027 \begin_layout Plain Layout
19028 s
19029 \end_layout
19030
19031 \end_inset
19032 </cell>
19033 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19034 \begin_inset Text
19035
19036 \begin_layout Plain Layout
19037
19038 \end_layout
19039
19040 \end_inset
19041 </cell>
19042 </row>
19043 <row>
19044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19045 \begin_inset Text
19046
19047 \begin_layout Plain Layout
19048 t
19049 \end_layout
19050
19051 \end_inset
19052 </cell>
19053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19054 \begin_inset Text
19055
19056 \begin_layout Plain Layout
19057 u
19058 \end_layout
19059
19060 \end_inset
19061 </cell>
19062 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19063 \begin_inset Text
19064
19065 \begin_layout Plain Layout
19066 v
19067 \end_layout
19068
19069 \end_inset
19070 </cell>
19071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19072 \begin_inset Text
19073
19074 \begin_layout Plain Layout
19075 w
19076 \end_layout
19077
19078 \end_inset
19079 </cell>
19080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19081 \begin_inset Text
19082
19083 \begin_layout Plain Layout
19084 x
19085 \end_layout
19086
19087 \end_inset
19088 </cell>
19089 </row>
19090 </lyxtabular>
19091
19092 \end_inset
19093
19094
19095 \end_layout
19096
19097 \end_inset
19098
19099
19100 \end_layout
19101
19102 \begin_layout Standard
19103 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
19104  As prerequisite the LaTeX-package 
19105 \series bold
19106 arydshln
19107 \series default
19108
19109 \begin_inset Index
19110 status collapsed
19111
19112 \begin_layout Plain Layout
19113 LaTeX-packages ! arydshln
19114 \end_layout
19115
19116 \end_inset
19117
19118  must be loaded in the document preamble with the command
19119 \end_layout
19120
19121 \begin_layout Standard
19122
19123 \series bold
19124
19125 \backslash
19126 usepackage{arydshln}
19127 \end_layout
19128
19129 \begin_layout Standard
19130 To make a vertical line dashed, enter the colon 
19131 \begin_inset Quotes eld
19132 \end_inset
19133
19134 :
19135 \begin_inset Quotes erd
19136 \end_inset
19137
19138  together with the character for the horizontal alignment as LaTeX-argument
19139  in the table cell dialog.
19140 \end_layout
19141
19142 \begin_layout Standard
19143 For a horizontal dashed line add the command
19144 \end_layout
19145
19146 \begin_layout Standard
19147
19148 \series bold
19149
19150 \backslash
19151 hdashline
19152 \end_layout
19153
19154 \begin_layout Standard
19155 in TeX-Code as first element of the first cell in the table row.
19156 \end_layout
19157
19158 \begin_layout Standard
19159 For dashed multicolumn lines use the command
19160 \end_layout
19161
19162 \begin_layout Standard
19163
19164 \series bold
19165
19166 \backslash
19167 cdashline{line number
19168 \series default
19169 }
19170 \end_layout
19171
19172 \begin_layout Standard
19173 in TeX-Code as first element of the first cell in the table row.
19174  If you have for example a multicolumn spanning over columns 2 to 4 and
19175  you want to have a dashed line above, add the command
19176 \end_layout
19177
19178 \begin_layout Standard
19179
19180 \series bold
19181
19182 \backslash
19183 cdashline{2-4}
19184 \end_layout
19185
19186 \begin_layout Standard
19187 as first element of the first cell in the row of the multicolumn.
19188 \end_layout
19189
19190 \begin_layout Standard
19191 \begin_inset VSpace bigskip
19192 \end_inset
19193
19194
19195 \end_layout
19196
19197 \begin_layout Standard
19198 Table
19199 \begin_inset space ~
19200 \end_inset
19201
19202
19203 \begin_inset CommandInset ref
19204 LatexCommand ref
19205 reference "tab:Table-with-dashed"
19206
19207 \end_inset
19208
19209  was created using 
19210 \begin_inset Quotes eld
19211 \end_inset
19212
19213
19214 \series bold
19215 :c
19216 \series default
19217
19218 \begin_inset Quotes erd
19219 \end_inset
19220
19221  as LaTeX-argument of the third column.
19222  The TeX-Code command 
19223 \series bold
19224
19225 \backslash
19226 hdashline
19227 \series default
19228  was inserted to the first cell of the third row and the the TeX-Code command
19229 \begin_inset Newline newline
19230 \end_inset
19231
19232  
19233 \series bold
19234
19235 \backslash
19236 cdashline{4-5}
19237 \series default
19238  was inserted to the first cell of the fourth row.
19239 \end_layout
19240
19241 \begin_layout Standard
19242 \begin_inset Note Greyedout
19243 status open
19244
19245 \begin_layout Plain Layout
19246
19247 \series bold
19248 Note:
19249 \series default
19250  The used LaTeX-package 
19251 \series bold
19252 arydshln
19253 \series default
19254  is apparently not compatible with the LaTeX-package 
19255 \series bold
19256 colortbl
19257 \series default
19258
19259 \begin_inset Index
19260 status collapsed
19261
19262 \begin_layout Plain Layout
19263 LaTeX-packages ! colortbl
19264 \end_layout
19265
19266 \end_inset
19267
19268  that is used for colored tables in section
19269 \begin_inset space ~
19270 \end_inset
19271
19272
19273 \begin_inset CommandInset ref
19274 LatexCommand ref
19275 reference "sec:Colored-Tables"
19276
19277 \end_inset
19278
19279 .
19280  That means colored tables cannot have dashed lines.
19281 \end_layout
19282
19283 \end_inset
19284
19285
19286 \end_layout
19287
19288 \begin_layout Standard
19289 \begin_inset ERT
19290 status collapsed
19291
19292 \begin_layout Plain Layout
19293
19294
19295 \backslash
19296 else
19297 \end_layout
19298
19299 \end_inset
19300
19301
19302 \begin_inset Note Note
19303 status open
19304
19305 \begin_layout Plain Layout
19306 The following will be displayed when the LaTeX-package 
19307 \series bold
19308 arydshln
19309 \series default
19310  is not installed:
19311 \end_layout
19312
19313 \end_inset
19314
19315
19316 \end_layout
19317
19318 \begin_layout Standard
19319 You need to install the package 
19320 \series bold
19321 arydshln
19322 \series default
19323  to see the content of this section in the output.
19324 \end_layout
19325
19326 \begin_layout Standard
19327 \begin_inset ERT
19328 status collapsed
19329
19330 \begin_layout Plain Layout
19331
19332
19333 \backslash
19334 fi
19335 \end_layout
19336
19337 \end_inset
19338
19339
19340 \end_layout
19341
19342 \begin_layout Chapter
19343 Floats
19344 \begin_inset Index
19345 status collapsed
19346
19347 \begin_layout Plain Layout
19348 Floats
19349 \end_layout
19350
19351 \end_inset
19352
19353
19354 \end_layout
19355
19356 \begin_layout Section
19357 Introduction
19358 \begin_inset CommandInset label
19359 LatexCommand label
19360 name "sec:FloatIntroduction"
19361
19362 \end_inset
19363
19364
19365 \begin_inset Index
19366 status collapsed
19367
19368 \begin_layout Plain Layout
19369 Floats ! Introduction
19370 \end_layout
19371
19372 \end_inset
19373
19374
19375 \end_layout
19376
19377 \begin_layout Standard
19378 A float is a block of text associated with some sort of label, which doesn't
19379  have a fixed location.
19380  It can 
19381 \begin_inset Quotes eld
19382 \end_inset
19383
19384 float
19385 \begin_inset Quotes erd
19386 \end_inset
19387
19388  forward or backward a page or two, to wherever it fits best.
19389  
19390 \family sans
19391 Footnotes
19392 \family default
19393  and 
19394 \family sans
19395 Margin
19396 \begin_inset space ~
19397 \end_inset
19398
19399 Notes
19400 \family default
19401  are also floats, because they can float to the next page when there are
19402  too many notes at the page.
19403 \end_layout
19404
19405 \begin_layout Standard
19406 Floats allow a high quality layout.
19407  Images and tables can evenly be spread to the pages to avoid white space
19408  and pages without text.
19409  As the floating often destroys the context between the text and the image/table
19410 , every float can be referenced in the text.
19411  Floats are therefore numbered.
19412  Referencing is described in section
19413 \begin_inset space ~
19414 \end_inset
19415
19416
19417 \begin_inset CommandInset ref
19418 LatexCommand ref
19419 reference "sec:Referencing-Floats"
19420
19421 \end_inset
19422
19423 .
19424 \end_layout
19425
19426 \begin_layout Standard
19427 To insert a float, use the menu 
19428 \family sans
19429 Insert\SpecialChar \menuseparator
19430 Float
19431 \family default
19432 .
19433  This inserts the 
19434 \family sans
19435 Caption
19436 \family default
19437  inset, a box with a label.
19438  The label will automatically be translated to the document language in
19439  the output.
19440  Behind the label you can insert the caption text.
19441  The image or table is inserted above or below the caption in a separate
19442  paragraph within the float.
19443  More about the caption placement is described in section
19444 \begin_inset space ~
19445 \end_inset
19446
19447
19448 \begin_inset CommandInset ref
19449 LatexCommand ref
19450 reference "sec:Caption-Placement"
19451
19452 \end_inset
19453
19454 .
19455  To keep your LyX-document readable, you can open and close the float box
19456  by left-clicking on the box label.
19457  A closed float box looks like this: 
19458 \begin_inset Graphics
19459         filename clipart/floatQt4.png
19460         scale 70
19461         scaleBeforeRotation
19462
19463 \end_inset
19464
19465  -- a gray button with a red label.
19466 \end_layout
19467
19468 \begin_layout Standard
19469 It is recommended to insert floats as a separate paragraph to avoid possible
19470  LaTeX-errors that can occur when the surrounding text is specially formatted.
19471 \end_layout
19472
19473 \begin_layout Standard
19474 Existing figures or tables can be put into a float by marking them and then
19475  pressing the corresponding toolbar button for a new float.
19476 \end_layout
19477
19478 \begin_layout Section
19479 Float Types
19480 \end_layout
19481
19482 \begin_layout Standard
19483 Besides figure and table floats that are described in section
19484 \begin_inset space ~
19485 \end_inset
19486
19487
19488 \begin_inset CommandInset ref
19489 LatexCommand ref
19490 reference "sec:Figure-Floats"
19491
19492 \end_inset
19493
19494  and 
19495 \begin_inset CommandInset ref
19496 LatexCommand ref
19497 reference "sec:Table-Floats"
19498
19499 \end_inset
19500
19501 , respectively, LyX offers the float types 
19502 \series bold
19503 Algorithm
19504 \series default
19505  and 
19506 \series bold
19507 Wrap
19508 \series default
19509 .
19510 \end_layout
19511
19512 \begin_layout Subsection
19513 Algorithm Floats
19514 \begin_inset Index
19515 status collapsed
19516
19517 \begin_layout Plain Layout
19518 Floats ! Algorithms
19519 \end_layout
19520
19521 \end_inset
19522
19523
19524 \end_layout
19525
19526 \begin_layout Standard
19527 \begin_inset Float algorithm
19528 placement h
19529 wide false
19530 sideways false
19531 status open
19532
19533 \begin_layout Plain Layout
19534 \begin_inset Caption
19535
19536 \begin_layout Plain Layout
19537 \begin_inset CommandInset label
19538 LatexCommand label
19539 name "alg:Example-Algorithm-float"
19540
19541 \end_inset
19542
19543 Example Algorithm float
19544 \end_layout
19545
19546 \end_inset
19547
19548
19549 \end_layout
19550
19551 \begin_layout LyX-Code
19552 for I in 1..N loop
19553 \begin_inset Newline newline
19554 \end_inset
19555
19556  Sum:= Sum + A(I); /*comment*/
19557 \begin_inset Newline newline
19558 \end_inset
19559
19560 end loop
19561 \begin_inset VSpace -4mm
19562 \end_inset
19563
19564
19565 \end_layout
19566
19567 \end_inset
19568
19569
19570 \end_layout
19571
19572 \begin_layout Standard
19573 This float type is inserted with the menu 
19574 \family sans
19575 Insert\SpecialChar \menuseparator
19576 Floats\SpecialChar \menuseparator
19577 Algorithm
19578 \family default
19579 .
19580  It is used for program codes and descriptions of algorithms.
19581  A possible environment for algorithms is the 
19582 \family sans
19583 LyX-Code
19584 \family default
19585 , described in LyX's 
19586 \emph on
19587 Userguide
19588 \emph default
19589 .
19590  Algorithm
19591 \begin_inset space ~
19592 \end_inset
19593
19594
19595 \begin_inset CommandInset ref
19596 LatexCommand ref
19597 reference "alg:Example-Algorithm-float"
19598
19599 \end_inset
19600
19601  is an example of an algorithm float where -4
19602 \begin_inset space \thinspace{}
19603 \end_inset
19604
19605 mm vertical space was added at the end of the float to have the bottom rule
19606  exactly below the last text line.
19607 \end_layout
19608
19609 \begin_layout Standard
19610 The float label is not automatically translated into the document language.
19611  If your document is not in English, you have to do this manually by adding
19612  the following line to the document preamble
19613 \series bold
19614 :
19615 \end_layout
19616
19617 \begin_layout Standard
19618
19619 \series bold
19620
19621 \backslash
19622 floatname{algorithm}{your
19623 \begin_inset space ~
19624 \end_inset
19625
19626 name}
19627 \end_layout
19628
19629 \begin_layout Standard
19630 where 
19631 \family sans
19632 your
19633 \begin_inset space ~
19634 \end_inset
19635
19636 name
19637 \family default
19638  is the word 
19639 \begin_inset Quotes eld
19640 \end_inset
19641
19642
19643 \emph on
19644 algorithm
19645 \emph default
19646
19647 \begin_inset Quotes erd
19648 \end_inset
19649
19650  in your language.
19651 \end_layout
19652
19653 \begin_layout Standard
19654 To insert the list of algorithms you can not use the menu 
19655 \family sans
19656 Insert\SpecialChar \menuseparator
19657 List
19658 \begin_inset space \thinspace{}
19659 \end_inset
19660
19661 /
19662 \begin_inset space \thinspace{}
19663 \end_inset
19664
19665 TOC\SpecialChar \menuseparator
19666 List of Algorithms
19667 \family default
19668  when your document is a non-English one.
19669  In this case use this command in TeX-Code instead:
19670 \end_layout
19671
19672 \begin_layout Standard
19673
19674 \series bold
19675
19676 \backslash
19677 listof{algorithm}{your
19678 \begin_inset space ~
19679 \end_inset
19680
19681 name}
19682 \end_layout
19683
19684 \begin_layout Standard
19685 where 
19686 \family sans
19687 your
19688 \begin_inset space ~
19689 \end_inset
19690
19691 name
19692 \family default
19693  is the word 
19694 \begin_inset Quotes eld
19695 \end_inset
19696
19697
19698 \emph on
19699 List of Algorithm
19700 \emph default
19701 s
19702 \begin_inset Quotes erd
19703 \end_inset
19704
19705  in your language.
19706 \end_layout
19707
19708 \begin_layout Standard
19709 Algorithm floats are not by default numbered in the scheme 
19710 \begin_inset Quotes eld
19711 \end_inset
19712
19713 chapter.algorithm
19714 \begin_inset Quotes erd
19715 \end_inset
19716
19717  like it is the case for table and figure floats in many document-classes.
19718  To number algorithm floats in the same scheme, add this command to your
19719  document preamble:
19720 \end_layout
19721
19722 \begin_layout Standard
19723
19724 \series bold
19725
19726 \backslash
19727 numberwithin{algorithm}{chapter}
19728 \end_layout
19729
19730 \begin_layout Standard
19731 To be able to use the command 
19732 \series bold
19733
19734 \backslash
19735 numberwithin
19736 \series default
19737 , set in the tab 
19738 \family sans
19739 Math
19740 \begin_inset space ~
19741 \end_inset
19742
19743 Options
19744 \family default
19745  in the document settings the option 
19746 \family sans
19747 Use
19748 \begin_inset space ~
19749 \end_inset
19750
19751 AMS
19752 \begin_inset space ~
19753 \end_inset
19754
19755 math
19756 \begin_inset space ~
19757 \end_inset
19758
19759 package
19760 \family default
19761 .
19762 \end_layout
19763
19764 \begin_layout Subsection
19765 Wrap Floats
19766 \begin_inset Index
19767 status collapsed
19768
19769 \begin_layout Plain Layout
19770 Floats ! Wrap Floats
19771 \end_layout
19772
19773 \end_inset
19774
19775
19776 \end_layout
19777
19778 \begin_layout Standard
19779 \begin_inset Wrap figure
19780 lines 0
19781 placement l
19782 overhang 1cm
19783 width "40col%"
19784 status open
19785
19786 \begin_layout Plain Layout
19787 \begin_inset Graphics
19788         filename clipart/mobius.eps
19789         width 40col%
19790         scaleBeforeRotation
19791         rotateOrigin center
19792
19793 \end_inset
19794
19795
19796 \end_layout
19797
19798 \begin_layout Plain Layout
19799 \begin_inset Caption
19800
19801 \begin_layout Plain Layout
19802 \begin_inset CommandInset label
19803 LatexCommand label
19804 name "fig:This-is-a"
19805
19806 \end_inset
19807
19808 This is a figure wrap float.
19809 \end_layout
19810
19811 \end_inset
19812
19813
19814 \end_layout
19815
19816 \end_inset
19817
19818  This float type is used if you want to wrap text around a figure or table
19819  so that it only occupies some fraction of the column width.
19820  It can be inserted using the menu 
19821 \family sans
19822 Insert\SpecialChar \menuseparator
19823 Floats\SpecialChar \menuseparator
19824 Figure
19825 \begin_inset space ~
19826 \end_inset
19827
19828 Wrap
19829 \begin_inset space ~
19830 \end_inset
19831
19832 Float
19833 \family default
19834  or 
19835 \family sans
19836 Table
19837 \begin_inset space ~
19838 \end_inset
19839
19840 Wrap
19841 \begin_inset space ~
19842 \end_inset
19843
19844 Float
19845 \family default
19846  if the LaTeX-package 
19847 \series bold
19848 wrapfig
19849 \series default
19850
19851 \begin_inset Index
19852 status collapsed
19853
19854 \begin_layout Plain Layout
19855 LaTeX-packages ! wrapfig
19856 \begin_inset ERT
19857 status collapsed
19858
19859 \begin_layout Plain Layout
19860
19861
19862 \backslash
19863 vspace{4mm}
19864 \end_layout
19865
19866 \end_inset
19867
19868
19869 \end_layout
19870
19871 \end_inset
19872
19873  is installed.
19874 \begin_inset Foot
19875 status collapsed
19876
19877 \begin_layout Plain Layout
19878 Installing a LaTeX-package is explained it in the 
19879 \emph on
19880 LaTeX
19881 \begin_inset space ~
19882 \end_inset
19883
19884 Configuration
19885 \emph default
19886  manual.
19887 \end_layout
19888
19889 \end_inset
19890
19891  The settings of the float can be modified by right-clicking on the float
19892  box.
19893  The mandatory settings are the float 
19894 \family sans
19895 Placement
19896 \family default
19897  and its 
19898 \family sans
19899 Width
19900 \family default
19901 .
19902  Optional are the 
19903 \family sans
19904 Overhang
19905 \family default
19906  that specifies how much the float is set into the paragraph
19907 \begin_inset space \thinspace{}
19908 \end_inset
19909
19910 /
19911 \begin_inset space \thinspace{}
19912 \end_inset
19913
19914 page margin, and the 
19915 \family sans
19916 Line
19917 \begin_inset space ~
19918 \end_inset
19919
19920 span
19921 \family default
19922  that specifies how many text lines the float will approximately need.
19923  The line span is often hard to be approximated, so better only use it when
19924  you encounter float placement problems.
19925  You can furthermore decide if LaTeX is allowed to let the float float within
19926  the paragraph or to surrounding paragraphs.
19927  Figure
19928 \begin_inset space ~
19929 \end_inset
19930
19931
19932 \begin_inset CommandInset ref
19933 LatexCommand ref
19934 reference "fig:This-is-a"
19935
19936 \end_inset
19937
19938  is an example text wrap float with a width of 40
19939 \begin_inset space \thinspace{}
19940 \end_inset
19941
19942 col%, 1
19943 \begin_inset space \thinspace{}
19944 \end_inset
19945
19946 cm overhang, set to the left.
19947 \begin_inset Foot
19948 status collapsed
19949
19950 \begin_layout Plain Layout
19951 Available units are explained in appendix
19952 \begin_inset space ~
19953 \end_inset
19954
19955
19956 \begin_inset CommandInset ref
19957 LatexCommand ref
19958 reference "cha:Units-available-in"
19959
19960 \end_inset
19961
19962 .
19963 \end_layout
19964
19965 \end_inset
19966
19967
19968 \end_layout
19969
19970 \begin_layout Standard
19971 \begin_inset Note Greyedout
19972 status open
19973
19974 \begin_layout Plain Layout
19975
19976 \series bold
19977 Note:
19978 \series default
19979  Text
19980 \begin_inset space ~
19981 \end_inset
19982
19983 wrap float floats are fragile! E.
19984 \begin_inset space \thinspace{}
19985 \end_inset
19986
19987 g.
19988 \begin_inset space \space{}
19989 \end_inset
19990
19991 having a figure too close to the bottom of the page can mess things up in
19992  the way that the float doesn't appear in the output or that it is placed
19993  over some other text.
19994 \end_layout
19995
19996 \end_inset
19997
19998
19999 \end_layout
20000
20001 \begin_layout Standard
20002 In general:
20003 \end_layout
20004
20005 \begin_layout Itemize
20006 Wrap floats should not be placed in paragraphs that run over a page break.
20007  That means that wrap floats should better be inserted to the exact place
20008  when the document is nearly finished and you are able to estimate where
20009  page breaks will appear.
20010 \end_layout
20011
20012 \begin_layout Itemize
20013 Wrap floats should either be placed in an own paragraph before the paragraph
20014  where they should wrap into or within a paragraph.
20015 \end_layout
20016
20017 \begin_layout Itemize
20018 Wrap floats in consecutive paragraphs may cause troubles, so assure that
20019  there is a text paragraph between them as separator.
20020 \end_layout
20021
20022 \begin_layout Itemize
20023 Wrap floats are not allowed in section headings or tables.
20024 \end_layout
20025
20026 \begin_layout Section
20027 Float Numbering
20028 \begin_inset Index
20029 status collapsed
20030
20031 \begin_layout Plain Layout
20032 Floats ! Numbering
20033 \end_layout
20034
20035 \end_inset
20036
20037
20038 \end_layout
20039
20040 \begin_layout Standard
20041 Floats are usually numbered either independent from the sections the floats
20042  are in, or in the scheme 
20043 \begin_inset Quotes eld
20044 \end_inset
20045
20046 chapter.number
20047 \begin_inset Quotes erd
20048 \end_inset
20049
20050  or 
20051 \begin_inset Quotes eld
20052 \end_inset
20053
20054 section.number
20055 \begin_inset Quotes erd
20056 \end_inset
20057
20058 .
20059  This depends on the used document class.
20060 \end_layout
20061
20062 \begin_layout Standard
20063 To change the section independent numbering, you can use this command in
20064  the document preamble:
20065 \end_layout
20066
20067 \begin_layout Standard
20068
20069 \series bold
20070
20071 \backslash
20072 renewcommand{
20073 \backslash
20074 thetable}{
20075 \backslash
20076 roman{table}}
20077 \end_layout
20078
20079 \begin_layout Standard
20080
20081 \series bold
20082
20083 \backslash
20084 thetable
20085 \series default
20086  is the command that prints the table number, for figure floats, the command
20087  would be 
20088 \series bold
20089
20090 \backslash
20091 thefigure
20092 \series default
20093 .
20094  The command 
20095 \series bold
20096
20097 \backslash
20098 roman
20099 \series default
20100  prints in the command above the table number as small roman number.
20101 \end_layout
20102
20103 \begin_layout Standard
20104 To change the numbering scheme for example to 
20105 \begin_inset Quotes eld
20106 \end_inset
20107
20108 subsection.number
20109 \begin_inset Quotes erd
20110 \end_inset
20111
20112 , use this command in the preamble:
20113 \end_layout
20114
20115 \begin_layout Standard
20116
20117 \series bold
20118
20119 \backslash
20120 numberwithin{table}{subsection}
20121 \end_layout
20122
20123 \begin_layout Standard
20124 To be able to use the command 
20125 \series bold
20126
20127 \backslash
20128 numberwithin
20129 \series default
20130 , set in the tab 
20131 \family sans
20132 Math
20133 \begin_inset space ~
20134 \end_inset
20135
20136 Options
20137 \family default
20138  in the document settings the option 
20139 \family sans
20140 Use
20141 \begin_inset space ~
20142 \end_inset
20143
20144 AMS
20145 \begin_inset space ~
20146 \end_inset
20147
20148 math
20149 \begin_inset space ~
20150 \end_inset
20151
20152 package
20153 \family default
20154 .
20155 \end_layout
20156
20157 \begin_layout Standard
20158 Please also have a look at section
20159 \begin_inset space ~
20160 \end_inset
20161
20162
20163 \begin_inset CommandInset ref
20164 LatexCommand ref
20165 reference "sub:Footnote-Numbering"
20166
20167 \end_inset
20168
20169  for the details and important notes about the numbering commands.
20170 \end_layout
20171
20172 \begin_layout Section
20173 Referencing Floats
20174 \begin_inset CommandInset label
20175 LatexCommand label
20176 name "sec:Referencing-Floats"
20177
20178 \end_inset
20179
20180
20181 \begin_inset Index
20182 status collapsed
20183
20184 \begin_layout Plain Layout
20185 Floats ! References
20186 \end_layout
20187
20188 \end_inset
20189
20190
20191 \begin_inset Index
20192 status collapsed
20193
20194 \begin_layout Plain Layout
20195 References ! to Floats
20196 \end_layout
20197
20198 \end_inset
20199
20200
20201 \end_layout
20202
20203 \begin_layout Standard
20204 To reference a float, insert a label into its caption using the menu 
20205 \family sans
20206 Insert\SpecialChar \menuseparator
20207 Label
20208 \family default
20209  or the toolbar button 
20210 \begin_inset Graphics
20211         filename ../images/label-insert.png
20212         scale 85
20213         scaleBeforeRotation
20214
20215 \end_inset
20216
20217 .
20218  A grey label box like this one: 
20219 \begin_inset Graphics
20220         filename clipart/labelQt4.png
20221         scale 85
20222         scaleBeforeRotation
20223
20224 \end_inset
20225
20226  will be inserted and the label window pops up asking for the label text.
20227  LyX offers as text the first words of the caption with a prefix.
20228  The prefix depends on the float type, e.
20229 \begin_inset space \thinspace{}
20230 \end_inset
20231
20232 g.
20233 \begin_inset space \space{}
20234 \end_inset
20235
20236 for figure floats the prefix will be "
20237 \family sans
20238 fig:
20239 \family default
20240 ".
20241 \end_layout
20242
20243 \begin_layout Standard
20244 The label is used as anchor and name for the reference.
20245  You can refer to the label using the menu 
20246 \family sans
20247 Insert\SpecialChar \menuseparator
20248 Cross-reference
20249 \family default
20250  or the toolbar button 
20251 \begin_inset Graphics
20252         filename ../images/dialog-show-new-inset_ref.png
20253         scale 85
20254         scaleBeforeRotation
20255
20256 \end_inset
20257
20258 .
20259  A grey cross-reference box like this one: 
20260 \begin_inset Graphics
20261         filename clipart/referenceQt4.png
20262         scale 85
20263         scaleBeforeRotation
20264
20265 \end_inset
20266
20267  will be inserted and the cross-reference window appear showing all labels
20268  of the document.
20269  If you have multiple LyX-documents opened, choose the one you are working
20270  on from the drop-list at the top of the dialog.
20271  You can now sort the labels alphabetically and then choose one.
20272  At the position of the cross-reference box the float number will appear
20273  in the output.
20274 \end_layout
20275
20276 \begin_layout Standard
20277 It is recommended to use a protected space between the cross-reference name
20278  and its number to avoid line breaks between them.
20279  If a cross-reference refers to a non-existing label, you will see two question
20280  marks in the output instead of the reference.
20281 \end_layout
20282
20283 \begin_layout Standard
20284 You can change labels at any time by clicking on the label box.
20285  References to the changed label will automatically change its link to the
20286  new label text, so that you don't need to take care about this.
20287 \end_layout
20288
20289 \begin_layout Standard
20290 The button 
20291 \family sans
20292 Go
20293 \begin_inset space ~
20294 \end_inset
20295
20296 to
20297 \begin_inset space ~
20298 \end_inset
20299
20300 Label
20301 \family default
20302  in the cross-reference window sets the cursor before the referred label.
20303  The button text changes then to Go
20304 \begin_inset space ~
20305 \end_inset
20306
20307 Back and you can use it to set the cursor back to the cross-reference.
20308  Right-clicking on a cross-reference box also sets the cursor before the
20309  referenced label but without a possibility to go back.
20310 \end_layout
20311
20312 \begin_layout Subsection
20313 Cross-Reference Formats
20314 \begin_inset CommandInset label
20315 LatexCommand label
20316 name "sub:Cross-Reference-Formats"
20317
20318 \end_inset
20319
20320
20321 \begin_inset Index
20322 status collapsed
20323
20324 \begin_layout Plain Layout
20325 References ! Formats
20326 \end_layout
20327
20328 \end_inset
20329
20330
20331 \end_layout
20332
20333 \begin_layout Standard
20334 There are six varieties of cross-references:
20335 \end_layout
20336
20337 \begin_layout Description
20338 <reference>: prints the float number, this is the default: 
20339 \begin_inset CommandInset ref
20340 LatexCommand ref
20341 reference "fig:Two-distorted-images"
20342
20343 \end_inset
20344
20345
20346 \end_layout
20347
20348 \begin_layout Description
20349 (<reference>): prints the float number within two parentheses, this is the
20350  style normally used to reference formulas, especially when the reference
20351  name 
20352 \begin_inset Quotes eld
20353 \end_inset
20354
20355 Equation
20356 \begin_inset Quotes erd
20357 \end_inset
20358
20359  is omitted: 
20360 \begin_inset CommandInset ref
20361 LatexCommand eqref
20362 reference "eq:Wgn"
20363
20364 \end_inset
20365
20366
20367 \end_layout
20368
20369 \begin_layout Description
20370 <page>: prints the page number: Page
20371 \begin_inset space ~
20372 \end_inset
20373
20374
20375 \begin_inset CommandInset ref
20376 LatexCommand pageref
20377 reference "fig:Two-distorted-images"
20378
20379 \end_inset
20380
20381
20382 \end_layout
20383
20384 \begin_layout Description
20385 on
20386 \begin_inset space ~
20387 \end_inset
20388
20389 page
20390 \begin_inset space ~
20391 \end_inset
20392
20393 <page>: prints the text "on page" and the page number: 
20394 \begin_inset CommandInset ref
20395 LatexCommand vpageref
20396 reference "fig:Two-distorted-images"
20397
20398 \end_inset
20399
20400
20401 \end_layout
20402
20403 \begin_layout Description
20404 <reference>
20405 \begin_inset space ~
20406 \end_inset
20407
20408 on
20409 \begin_inset space ~
20410 \end_inset
20411
20412 page
20413 \begin_inset space ~
20414 \end_inset
20415
20416 <page>: prints the float number, the text "on page", and the page number:
20417  
20418 \begin_inset CommandInset ref
20419 LatexCommand vref
20420 reference "fig:Two-distorted-images"
20421
20422 \end_inset
20423
20424
20425 \end_layout
20426
20427 \begin_layout Description
20428 Formatted
20429 \begin_inset space ~
20430 \end_inset
20431
20432 reference: prints a self defined cross-reference format.
20433  
20434 \begin_inset Note Greyedout
20435 status open
20436
20437 \begin_layout Plain Layout
20438
20439 \series bold
20440 Note:
20441 \series default
20442  This feature is only available when you have the LaTeX-package 
20443 \series bold
20444 prettyref
20445 \series default
20446  installed.
20447 \end_layout
20448
20449 \end_inset
20450
20451
20452 \end_layout
20453
20454 \begin_layout Standard
20455 Note that the style <page> won't print the page number if the label is on
20456  the previous, the same, or the next page.
20457  You will e.
20458 \begin_inset space \thinspace{}
20459 \end_inset
20460
20461 g.
20462 \begin_inset space \space{}
20463 \end_inset
20464
20465 see the text 
20466 \begin_inset Quotes eld
20467 \end_inset
20468
20469
20470 \family sans
20471 on this page
20472 \family default
20473
20474 \begin_inset Quotes erd
20475 \end_inset
20476
20477  instead.
20478 \end_layout
20479
20480 \begin_layout Standard
20481 The number and current page of the referred document part in the output,
20482  is automatically calculated by LaTeX.
20483  The varieties are adjusted in the field 
20484 \family sans
20485 Format
20486 \family default
20487  of the cross-reference window, that appear when you click on the cross-referenc
20488 e box.
20489 \end_layout
20490
20491 \begin_layout Subsection
20492 Automatic Reference Naming
20493 \begin_inset Index
20494 status collapsed
20495
20496 \begin_layout Plain Layout
20497 References ! Automatic Reference Naming
20498 \end_layout
20499
20500 \end_inset
20501
20502
20503 \end_layout
20504
20505 \begin_layout Standard
20506 The LaTeX-package 
20507 \series bold
20508 hyperref
20509 \series default
20510
20511 \begin_inset Index
20512 status collapsed
20513
20514 \begin_layout Plain Layout
20515 LaTeX-packages ! hyperref
20516 \end_layout
20517
20518 \end_inset
20519
20520 , that is enabled in the 
20521 \family sans
20522 PDF Properties
20523 \family default
20524  of the 
20525 \family sans
20526 Document Settings
20527 \family default
20528  dialog, provides a very useful feature that cross-references automatically
20529  include the name of the referenced floats (or text parts like 
20530 \emph on
20531 section
20532 \emph default
20533 ).
20534  So you will save to write e.
20535 \begin_inset space \thinspace{}
20536 \end_inset
20537
20538 g.
20539 \begin_inset space \space{}
20540 \end_inset
20541
20542 the name 
20543 \begin_inset Quotes eld
20544 \end_inset
20545
20546 Figure
20547 \begin_inset Quotes erd
20548 \end_inset
20549
20550  before every reference to a figure.
20551  To use this feature, enable 
20552 \series bold
20553 hyperref
20554 \series default
20555  and insert this line to the LaTeX preamble:
20556 \end_layout
20557
20558 \begin_layout Standard
20559
20560 \series bold
20561
20562 \backslash
20563 AtBeginDocument{
20564 \backslash
20565 renewcommand{
20566 \backslash
20567 ref}[1]{
20568 \backslash
20569 mbox{
20570 \backslash
20571 autoref{#1}}}}
20572 \end_layout
20573
20574 \begin_layout Standard
20575 When you prefer other reference names than the default ones, for example
20576  you want instead of 
20577 \begin_inset Quotes eld
20578 \end_inset
20579
20580 section
20581 \begin_inset Quotes erd
20582 \end_inset
20583
20584  the name 
20585 \begin_inset Quotes eld
20586 \end_inset
20587
20588 sec.
20589 \begin_inset space \thinspace{}
20590 \end_inset
20591
20592
20593 \begin_inset Quotes eld
20594 \end_inset
20595
20596 , you can redefine the name by inserting this to the preamble:
20597 \end_layout
20598
20599 \begin_layout Standard
20600
20601 \series bold
20602
20603 \backslash
20604 addto
20605 \backslash
20606 extrasenglish{
20607 \backslash
20608 renewcommand{
20609 \backslash
20610 sectionautorefname}
20611 \begin_inset Newline newline
20612 \end_inset
20613
20614
20615 \begin_inset ERT
20616 status collapsed
20617
20618 \begin_layout Plain Layout
20619
20620
20621 \backslash
20622 hphantom{ }
20623 \end_layout
20624
20625 \end_inset
20626
20627 {sec.
20628 \backslash
20629 negthinspace}}
20630 \end_layout
20631
20632 \begin_layout Standard
20633 When you are using another document language than English, replace
20634 \begin_inset Newline newline
20635 \end_inset
20636
20637
20638 \series bold
20639
20640 \backslash
20641 extrasenglish
20642 \series default
20643  by 
20644 \series bold
20645
20646 \backslash
20647 extras***
20648 \series default
20649 , where *** is the name of the used language.
20650 \end_layout
20651
20652 \begin_layout Standard
20653 To get automatic names, but not for certain reference types, for example
20654  not for equations, use this preamble code:
20655 \end_layout
20656
20657 \begin_layout Standard
20658
20659 \series bold
20660
20661 \backslash
20662 newlength{
20663 \backslash
20664 abc}
20665 \begin_inset Newline newline
20666 \end_inset
20667
20668
20669 \backslash
20670 settowidth{
20671 \backslash
20672 abc}{
20673 \backslash
20674 space}
20675 \begin_inset Newline newline
20676 \end_inset
20677
20678
20679 \backslash
20680 addto
20681 \backslash
20682 extrasenglish{
20683 \backslash
20684 renewcommand{
20685 \backslash
20686 equationautorefname}
20687 \begin_inset Newline newline
20688 \end_inset
20689
20690
20691 \begin_inset ERT
20692 status collapsed
20693
20694 \begin_layout Plain Layout
20695
20696
20697 \backslash
20698 hphantom{ }
20699 \end_layout
20700
20701 \end_inset
20702
20703 {
20704 \backslash
20705 hspace{-
20706 \backslash
20707 abc}}
20708 \end_layout
20709
20710 \begin_layout Standard
20711 More about this topic can be found in 
20712 \series bold
20713 hyperref
20714 \series default
20715 's documentation 
20716 \begin_inset CommandInset citation
20717 LatexCommand cite
20718 key "hyperref"
20719
20720 \end_inset
20721
20722 .
20723 \end_layout
20724
20725 \begin_layout Standard
20726 \begin_inset Note Greyedout
20727 status open
20728
20729 \begin_layout Plain Layout
20730
20731 \series bold
20732 Note:
20733 \series default
20734  Automatic reference naming cannot be used when you use cross-references
20735  in the 
20736 \family sans
20737 Formatted
20738 \begin_inset space ~
20739 \end_inset
20740
20741 reference
20742 \family default
20743  style, as described in section
20744 \begin_inset space ~
20745 \end_inset
20746
20747
20748 \begin_inset CommandInset ref
20749 LatexCommand ref
20750 reference "sub:Cross-Reference-Formats"
20751
20752 \end_inset
20753
20754 .
20755 \end_layout
20756
20757 \end_inset
20758
20759
20760 \end_layout
20761
20762 \begin_layout Standard
20763 The 
20764 \emph on
20765 Math
20766 \emph default
20767  manual is an example where automatic reference naming is used.
20768 \end_layout
20769
20770 \begin_layout Subsection
20771 Reference Position
20772 \begin_inset CommandInset label
20773 LatexCommand label
20774 name "sub:Reference-Position"
20775
20776 \end_inset
20777
20778
20779 \begin_inset Index
20780 status collapsed
20781
20782 \begin_layout Plain Layout
20783 References ! Reference Position
20784 \end_layout
20785
20786 \end_inset
20787
20788
20789 \end_layout
20790
20791 \begin_layout Standard
20792 If you use 
20793 \series bold
20794 hyperref
20795 \series default
20796
20797 \begin_inset Index
20798 status collapsed
20799
20800 \begin_layout Plain Layout
20801 LaTeX-packages ! hyperref
20802 \end_layout
20803
20804 \end_inset
20805
20806  in the 
20807 \family sans
20808 PDF Properties
20809 \family default
20810  of the 
20811 \family sans
20812 Document Settings
20813 \family default
20814  dialog to link cross-references in the output, you will see that clicking
20815  on an image float reference jumps to the image label.
20816  The caption will be the first text part on the screen, so that you cannot
20817  see the image without scrolling.
20818  This is because the reference link anchor is placed at the position of
20819  the label.
20820  With the use of the package 
20821 \series bold
20822 hypcap
20823 \series default
20824
20825 \begin_inset Index
20826 status collapsed
20827
20828 \begin_layout Plain Layout
20829 LaTeX-packages ! hypcap
20830 \end_layout
20831
20832 \end_inset
20833
20834 , which is part of the LaTeX-package 
20835 \series bold
20836 oberdiek
20837 \series default
20838
20839 \begin_inset Index
20840 status collapsed
20841
20842 \begin_layout Plain Layout
20843 LaTeX-packages ! oberdiek
20844 \end_layout
20845
20846 \end_inset
20847
20848 , the link anchor is placed at the beginning of a float.
20849  To use this feature for figure floats, load 
20850 \series bold
20851 hypcap
20852 \series default
20853  in the document preamble with the line
20854 \end_layout
20855
20856 \begin_layout Standard
20857
20858 \series bold
20859
20860 \backslash
20861 usepackage[figure]{hypcap}
20862 \end_layout
20863
20864 \begin_layout Standard
20865 You can also use 
20866 \series bold
20867 hypcap
20868 \series default
20869  for all float types but this is not recommended for stability reasons.
20870  For more informations, have a look at 
20871 \series bold
20872 hypcap
20873 \series default
20874 's manual 
20875 \begin_inset CommandInset citation
20876 LatexCommand cite
20877 key "hypcap"
20878
20879 \end_inset
20880
20881 .
20882 \end_layout
20883
20884 \begin_layout Standard
20885 \begin_inset Note Greyedout
20886 status open
20887
20888 \begin_layout Plain Layout
20889
20890 \series bold
20891 Note:
20892 \series default
20893  
20894 \series bold
20895 hypcap
20896 \series default
20897  has no effect for references to subfigures.
20898 \end_layout
20899
20900 \end_inset
20901
20902
20903 \end_layout
20904
20905 \begin_layout Section
20906 Float Placement
20907 \begin_inset CommandInset label
20908 LatexCommand label
20909 name "sec:Float-Placement"
20910
20911 \end_inset
20912
20913
20914 \begin_inset Index
20915 status collapsed
20916
20917 \begin_layout Plain Layout
20918 Floats ! Placement
20919 \end_layout
20920
20921 \end_inset
20922
20923
20924 \end_layout
20925
20926 \begin_layout Standard
20927 Right-clicking on a float-box opens a dialog where you can alter the placement
20928  options that LaTeX uses for positioning the float.
20929 \begin_inset Newline newline
20930 \end_inset
20931
20932 The option 
20933 \family sans
20934 Span
20935 \begin_inset space ~
20936 \end_inset
20937
20938 columns
20939 \family default
20940  is only useful for two-column documents: If you select it, the float will
20941  span across both columns on the page instead of being confined to just
20942  one.
20943 \begin_inset Newline newline
20944 \end_inset
20945
20946 The option 
20947 \family sans
20948 Rotate
20949 \begin_inset space ~
20950 \end_inset
20951
20952 sideways
20953 \family default
20954  is used to rotate floats, see section 
20955 \begin_inset CommandInset ref
20956 LatexCommand ref
20957 reference "sec:Rotated-Floats"
20958
20959 \end_inset
20960
20961 .
20962 \end_layout
20963
20964 \begin_layout Standard
20965 You can use one ore more of the following options in the float dialog to
20966  set the placement for a particular float when you uncheck the option 
20967 \family sans
20968 Use
20969 \begin_inset space ~
20970 \end_inset
20971
20972 default
20973 \begin_inset space ~
20974 \end_inset
20975
20976 placement
20977 \family default
20978 :
20979 \end_layout
20980
20981 \begin_layout Description
20982 Here
20983 \begin_inset space ~
20984 \end_inset
20985
20986 if
20987 \begin_inset space ~
20988 \end_inset
20989
20990 possible try to place the float on the position where it is inserted
20991 \end_layout
20992
20993 \begin_layout Description
20994 Top
20995 \begin_inset space ~
20996 \end_inset
20997
20998 of
20999 \begin_inset space ~
21000 \end_inset
21001
21002 page try to place the float on the top of the current page
21003 \end_layout
21004
21005 \begin_layout Description
21006 Bottom
21007 \begin_inset space ~
21008 \end_inset
21009
21010 of
21011 \begin_inset space ~
21012 \end_inset
21013
21014 page try to place the float on the bottom of the current page
21015 \end_layout
21016
21017 \begin_layout Description
21018 Page
21019 \begin_inset space ~
21020 \end_inset
21021
21022 of
21023 \begin_inset space ~
21024 \end_inset
21025
21026 floats try to place the float on an own page 
21027 \end_layout
21028
21029 \begin_layout Standard
21030 The order of the above option is 
21031 \emph on
21032 always
21033 \emph default
21034  used by LaTeX.
21035  That means, if you use the default placement, LaTeX will first try out
21036  
21037 \family sans
21038 Here
21039 \begin_inset space ~
21040 \end_inset
21041
21042 if
21043 \begin_inset space ~
21044 \end_inset
21045
21046 possible
21047 \family default
21048 , then 
21049 \family sans
21050 Top
21051 \begin_inset space ~
21052 \end_inset
21053
21054 of
21055 \begin_inset space ~
21056 \end_inset
21057
21058 page
21059 \family default
21060 , and then the others.
21061  If you don't use the default, LaTeX will try only the checked options but
21062  in the same order.
21063  If none of the 4 placements are possible the procedure is internally repeated
21064  but it is tried to put the float on the following page.
21065 \end_layout
21066
21067 \begin_layout Standard
21068 By default, each option has its own rules:
21069 \end_layout
21070
21071 \begin_layout Labeling
21072 \labelwidthstring 00.00.0000
21073
21074 \family sans
21075 Top
21076 \begin_inset space ~
21077 \end_inset
21078
21079 of
21080 \begin_inset space ~
21081 \end_inset
21082
21083 page
21084 \family default
21085  only floats occupying less than 70
21086 \begin_inset space \thinspace{}
21087 \end_inset
21088
21089 % of the page can be placed at the top of a page (
21090 \series bold
21091
21092 \backslash
21093 topfraction
21094 \series default
21095 )
21096 \end_layout
21097
21098 \begin_layout Labeling
21099 \labelwidthstring 00.00.0000
21100
21101 \family sans
21102 Bottom
21103 \begin_inset space ~
21104 \end_inset
21105
21106 of
21107 \begin_inset space ~
21108 \end_inset
21109
21110 page
21111 \family default
21112 : only floats occupying less than 30
21113 \begin_inset space \thinspace{}
21114 \end_inset
21115
21116 % of the page can be placed at the bottom of a page.
21117  (
21118 \series bold
21119
21120 \backslash
21121 bottomfraction
21122 \series default
21123 )
21124 \end_layout
21125
21126 \begin_layout Labeling
21127 \labelwidthstring 00.00.0000
21128
21129 \family sans
21130 Page
21131 \begin_inset space ~
21132 \end_inset
21133
21134 of
21135 \begin_inset space ~
21136 \end_inset
21137
21138 floats
21139 \family default
21140 : only if more than 50
21141 \begin_inset space \thinspace{}
21142 \end_inset
21143
21144 % of the page are occupied by floats, several floats can be set together
21145  on a page.
21146  (
21147 \series bold
21148
21149 \backslash
21150 floatpagefraction
21151 \series default
21152 )
21153 \end_layout
21154
21155 \begin_layout Standard
21156 If you don't like these rules, you can ignore them by using the additional
21157  option 
21158 \family sans
21159 Ignore
21160 \begin_inset space ~
21161 \end_inset
21162
21163 LaTeX
21164 \begin_inset space ~
21165 \end_inset
21166
21167 rules
21168 \family default
21169 .
21170 \begin_inset Newline newline
21171 \end_inset
21172
21173 You can also redefine the rules with LaTeX-commands that are given in parenthese
21174 s behind the rules description above.
21175  To increase for example the often too small default of the bottom-rule
21176  to 50
21177 \begin_inset space \thinspace{}
21178 \end_inset
21179
21180 % of the page, add this line to your document preamble:
21181 \end_layout
21182
21183 \begin_layout Standard
21184
21185 \series bold
21186
21187 \backslash
21188 renewcommand{
21189 \backslash
21190 bottomfraction}{0.5}
21191 \end_layout
21192
21193 \begin_layout Standard
21194 Sometimes you might need, under all circumstances, a float to be placed
21195  exactly at the position where it is inserted.
21196  For this case you can use the option 
21197 \family sans
21198 Here
21199 \begin_inset space ~
21200 \end_inset
21201
21202 definitely
21203 \family default
21204 .
21205  Use this option very rarely and only if the document is nearly ready to
21206  be printed.
21207  Because the float is then no longer able to 
21208 \begin_inset Quotes eld
21209 \end_inset
21210
21211 float
21212 \begin_inset Quotes erd
21213 \end_inset
21214
21215  when you change your document and this will often destroy the page layout.
21216 \end_layout
21217
21218 \begin_layout Standard
21219 There are no placement options for text wrap floats, because they are always
21220  surrounded by the text of a certain paragraph.
21221 \begin_inset VSpace bigskip
21222 \end_inset
21223
21224
21225 \end_layout
21226
21227 \begin_layout Standard
21228 Sometimes you have the problem that a float is placed at the top of a page
21229  while its corresponding section starts at the middle of the page, so that
21230  the reader could think the float is part of the previous section.
21231  To avoid this the LaTeX-command 
21232 \series bold
21233
21234 \backslash
21235 suppressfloats
21236 \series default
21237  can be used.
21238  It suppresses a given float placement for the page where it is inserted
21239  and can therefore be used to avoid that floats could be set before a section
21240  starts.
21241  To get this, add these commands to your document preamble:
21242 \end_layout
21243
21244 \begin_layout Standard
21245
21246 \series bold
21247
21248 \backslash
21249 let
21250 \backslash
21251 mySection
21252 \backslash
21253 section
21254 \begin_inset Newline newline
21255 \end_inset
21256
21257
21258 \backslash
21259 renewcommand{
21260 \backslash
21261 section}{
21262 \backslash
21263 suppressfloats[t]
21264 \backslash
21265 mySection}
21266 \end_layout
21267
21268 \begin_layout Standard
21269 You can define the same for all section headings, like chapters and subsections.
21270  This definition is not recommended to be used for small text parts like
21271  subsubsections because LaTeX may then have problems to find a suitable
21272  placement.
21273 \end_layout
21274
21275 \begin_layout Standard
21276 \begin_inset VSpace bigskip
21277 \end_inset
21278
21279 In some cases it is required to have all figures/tables at the end of the
21280  document.
21281  For this purpose the LaTeX-package 
21282 \series bold
21283 endfloat
21284 \series default
21285
21286 \begin_inset Index
21287 status collapsed
21288
21289 \begin_layout Plain Layout
21290 LaTeX-packages ! endfloat
21291 \end_layout
21292
21293 \end_inset
21294
21295  was developed.
21296  It puts all figure and table floats at the end of the document into own
21297  sections.
21298  At the original float position a text hint like 
21299 \begin_inset Quotes eld
21300 \end_inset
21301
21302
21303 \family sans
21304 [Figure
21305 \begin_inset space ~
21306 \end_inset
21307
21308 3.2 about here.]
21309 \family default
21310
21311 \begin_inset Quotes erd
21312 \end_inset
21313
21314  is inserted.
21315  The endfloat-package is loaded in the preamble with the line
21316 \end_layout
21317
21318 \begin_layout Standard
21319
21320 \series bold
21321
21322 \backslash
21323 usepackage[options]{endfloat}
21324 \end_layout
21325
21326 \begin_layout Standard
21327 There are various package options to format the created figure/table sections.
21328  For more information we refer to the 
21329 \series bold
21330 endfloat
21331 \series default
21332  documentation 
21333 \begin_inset CommandInset citation
21334 LatexCommand cite
21335 key "endfloat"
21336
21337 \end_inset
21338
21339 .
21340 \begin_inset Newline newline
21341 \end_inset
21342
21343
21344 \begin_inset Note Greyedout
21345 status open
21346
21347 \begin_layout Plain Layout
21348
21349 \series bold
21350 Note: endfloat
21351 \series default
21352  doesn't provide an automatic translation for the text hint, you have to
21353  do this manually, see section
21354 \begin_inset space ~
21355 \end_inset
21356
21357 4 in 
21358 \begin_inset CommandInset citation
21359 LatexCommand cite
21360 key "endfloat"
21361
21362 \end_inset
21363
21364 .
21365 \end_layout
21366
21367 \end_inset
21368
21369
21370 \begin_inset Newline newline
21371 \end_inset
21372
21373
21374 \begin_inset Note Greyedout
21375 status open
21376
21377 \begin_layout Plain Layout
21378
21379 \series bold
21380 Note:
21381 \series default
21382  There is currently a bug in 
21383 \series bold
21384 endfloat
21385 \series default
21386  when the caption contains a German 
21387 \begin_inset Quotes eld
21388 \end_inset
21389
21390 ß
21391 \begin_inset Quotes erd
21392 \end_inset
21393
21394 .
21395  Use in this case the command 
21396 \begin_inset Quotes eld
21397 \end_inset
21398
21399
21400 \series bold
21401
21402 \backslash
21403 ss
21404 \series default
21405
21406 \begin_inset Quotes erd
21407 \end_inset
21408
21409  in TeX-Code instead of 
21410 \begin_inset Quotes eld
21411 \end_inset
21412
21413 ß
21414 \begin_inset Quotes erd
21415 \end_inset
21416
21417 .
21418 \end_layout
21419
21420 \end_inset
21421
21422
21423 \end_layout
21424
21425 \begin_layout Standard
21426 \begin_inset VSpace bigskip
21427 \end_inset
21428
21429 For more details about float placements, have a look at LaTeX books, 
21430 \begin_inset CommandInset citation
21431 LatexCommand cite
21432 key "latexcompanion,latexguide,latexbook"
21433
21434 \end_inset
21435
21436 .
21437 \end_layout
21438
21439 \begin_layout Section
21440 Rotated Floats
21441 \begin_inset CommandInset label
21442 LatexCommand label
21443 name "sec:Rotated-Floats"
21444
21445 \end_inset
21446
21447
21448 \begin_inset Index
21449 status collapsed
21450
21451 \begin_layout Plain Layout
21452 Floats ! Rotating
21453 \end_layout
21454
21455 \end_inset
21456
21457
21458 \end_layout
21459
21460 \begin_layout Standard
21461 Especially for wide tables you might have floats rotated.
21462  To rotate a whole float including the caption, right-click on the float-box
21463  and use the option 
21464 \family sans
21465 Rotate
21466 \begin_inset space ~
21467 \end_inset
21468
21469 sideways
21470 \family default
21471 .
21472 \end_layout
21473
21474 \begin_layout Standard
21475 Rotated floats are always placed on its own page (or column, in case you
21476  have a multi-column document).
21477  You can let them span several columns using the float settings option 
21478 \family sans
21479 Span
21480 \begin_inset space ~
21481 \end_inset
21482
21483 columns
21484 \family default
21485 .
21486  Floats are rotated so that you can read them from the outside margin.
21487  To force a certain rotation direction for all pages, you can add either
21488  the option 
21489 \series bold
21490 figuresleft
21491 \series default
21492  or 
21493 \series bold
21494 figuresright
21495 \series default
21496  to the document class options.
21497 \end_layout
21498
21499 \begin_layout Standard
21500 Referencing rotated floats is the same like for normal floats, the caption
21501  format is also the same: Table
21502 \begin_inset space ~
21503 \end_inset
21504
21505
21506 \begin_inset CommandInset ref
21507 LatexCommand ref
21508 reference "tab:Rotated-table"
21509
21510 \end_inset
21511
21512  is an example of a rotated table float.
21513 \end_layout
21514
21515 \begin_layout Standard
21516 \begin_inset Note Greyedout
21517 status open
21518
21519 \begin_layout Plain Layout
21520
21521 \series bold
21522 Note:
21523 \series default
21524  Not all DVI-viewers are able to display rotated floats.
21525 \end_layout
21526
21527 \end_inset
21528
21529
21530 \end_layout
21531
21532 \begin_layout Standard
21533 \begin_inset Float table
21534 wide false
21535 sideways true
21536 status open
21537
21538 \begin_layout Plain Layout
21539 \begin_inset Caption
21540
21541 \begin_layout Plain Layout
21542 \begin_inset CommandInset label
21543 LatexCommand label
21544 name "tab:Rotated-table"
21545
21546 \end_inset
21547
21548  Rotated table
21549 \end_layout
21550
21551 \end_inset
21552
21553
21554 \end_layout
21555
21556 \begin_layout Plain Layout
21557 \align center
21558 \begin_inset Tabular
21559 <lyxtabular version="3" rows="1" columns="5">
21560 <features>
21561 <column alignment="center" valignment="top" width="0">
21562 <column alignment="center" valignment="top" width="0">
21563 <column alignment="center" valignment="top" width="0">
21564 <column alignment="center" valignment="top" width="0">
21565 <column alignment="center" valignment="top" width="0">
21566 <row>
21567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21568 \begin_inset Text
21569
21570 \begin_layout Plain Layout
21571 test
21572 \end_layout
21573
21574 \end_inset
21575 </cell>
21576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21577 \begin_inset Text
21578
21579 \begin_layout Plain Layout
21580 b
21581 \end_layout
21582
21583 \end_inset
21584 </cell>
21585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21586 \begin_inset Text
21587
21588 \begin_layout Plain Layout
21589 c
21590 \end_layout
21591
21592 \end_inset
21593 </cell>
21594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21595 \begin_inset Text
21596
21597 \begin_layout Plain Layout
21598 d
21599 \end_layout
21600
21601 \end_inset
21602 </cell>
21603 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21604 \begin_inset Text
21605
21606 \begin_layout Plain Layout
21607 e
21608 \end_layout
21609
21610 \end_inset
21611 </cell>
21612 </row>
21613 </lyxtabular>
21614
21615 \end_inset
21616
21617
21618 \end_layout
21619
21620 \end_inset
21621
21622
21623 \end_layout
21624
21625 \begin_layout Section
21626 Floats Side by Side
21627 \begin_inset Index
21628 status collapsed
21629
21630 \begin_layout Plain Layout
21631 Floats ! Side by side
21632 \end_layout
21633
21634 \end_inset
21635
21636
21637 \end_layout
21638
21639 \begin_layout Standard
21640 To place floats side by side, like for Figure
21641 \begin_inset space ~
21642 \end_inset
21643
21644
21645 \begin_inset CommandInset ref
21646 LatexCommand ref
21647 reference "fig:Float-left"
21648
21649 \end_inset
21650
21651  and 
21652 \begin_inset CommandInset ref
21653 LatexCommand ref
21654 reference "fig:Float-right"
21655
21656 \end_inset
21657
21658 , only 
21659 \emph on
21660 one
21661 \emph default
21662  float is used.
21663  In it two minipage boxes are inserted.
21664 \begin_inset Foot
21665 status collapsed
21666
21667 \begin_layout Plain Layout
21668 Minipages are explained in section
21669 \begin_inset space ~
21670 \end_inset
21671
21672
21673 \begin_inset CommandInset ref
21674 LatexCommand ref
21675 reference "sec:Minipages"
21676
21677 \end_inset
21678
21679 .
21680 \end_layout
21681
21682 \end_inset
21683
21684  The width is set to 45
21685 \begin_inset space \thinspace{}
21686 \end_inset
21687
21688 -50
21689 \begin_inset space \thinspace{}
21690 \end_inset
21691
21692 column% and the box alignment to 
21693 \family sans
21694 Bottom
21695 \family default
21696  for each minipage.
21697  The minipage boxes contain the image and the caption in the same way as
21698  they are in a float.
21699  The only difference is that the image unit 
21700 \family sans
21701 Column
21702 \begin_inset space ~
21703 \end_inset
21704
21705 Width
21706 \begin_inset space ~
21707 \end_inset
21708
21709 %
21710 \family default
21711  is now calculated according to the width of the minipage boxes.
21712 \end_layout
21713
21714 \begin_layout Standard
21715 \begin_inset Float figure
21716 wide false
21717 sideways false
21718 status open
21719
21720 \begin_layout Plain Layout
21721 \begin_inset Box Frameless
21722 position "b"
21723 hor_pos "c"
21724 has_inner_box 1
21725 inner_pos "t"
21726 use_parbox 0
21727 width "45col%"
21728 special "none"
21729 height "1in"
21730 height_special "totalheight"
21731 status open
21732
21733 \begin_layout Plain Layout
21734 \align center
21735 \begin_inset Graphics
21736         filename clipart/mobius.eps
21737         lyxscale 50
21738         width 100col%
21739         scaleBeforeRotation
21740
21741 \end_inset
21742
21743
21744 \end_layout
21745
21746 \begin_layout Plain Layout
21747 \begin_inset Caption
21748
21749 \begin_layout Plain Layout
21750 \begin_inset CommandInset label
21751 LatexCommand label
21752 name "fig:Float-left"
21753
21754 \end_inset
21755
21756 Float on the left side.
21757 \end_layout
21758
21759 \end_inset
21760
21761
21762 \end_layout
21763
21764 \end_inset
21765
21766
21767 \begin_inset space \hfill{}
21768 \end_inset
21769
21770
21771 \begin_inset Box Frameless
21772 position "b"
21773 hor_pos "c"
21774 has_inner_box 1
21775 inner_pos "t"
21776 use_parbox 0
21777 width "45col%"
21778 special "none"
21779 height "1in"
21780 height_special "totalheight"
21781 status open
21782
21783 \begin_layout Plain Layout
21784 \align center
21785 \begin_inset Graphics
21786         filename clipart/platypus.eps
21787         lyxscale 50
21788         width 100col%
21789         scaleBeforeRotation
21790
21791 \end_inset
21792
21793
21794 \end_layout
21795
21796 \begin_layout Plain Layout
21797 \begin_inset Caption
21798
21799 \begin_layout Plain Layout
21800 \begin_inset CommandInset label
21801 LatexCommand label
21802 name "fig:Float-right"
21803
21804 \end_inset
21805
21806 Float on the right side.
21807 \end_layout
21808
21809 \end_inset
21810
21811
21812 \end_layout
21813
21814 \end_inset
21815
21816
21817 \end_layout
21818
21819 \begin_layout Plain Layout
21820
21821 \end_layout
21822
21823 \end_inset
21824
21825
21826 \end_layout
21827
21828 \begin_layout Section
21829 Caption Formatting
21830 \begin_inset Index
21831 status collapsed
21832
21833 \begin_layout Plain Layout
21834 Caption ! Formatting
21835 \end_layout
21836
21837 \end_inset
21838
21839
21840 \begin_inset Index
21841 status collapsed
21842
21843 \begin_layout Plain Layout
21844 Floats ! Caption Formatting
21845 \end_layout
21846
21847 \end_inset
21848
21849
21850 \begin_inset CommandInset label
21851 LatexCommand label
21852 name "sec:Caption-Formatting"
21853
21854 \end_inset
21855
21856
21857 \end_layout
21858
21859 \begin_layout Standard
21860 The 
21861 \family sans
21862 Caption
21863 \family default
21864  environment is the default paragraph environment for 
21865 \family sans
21866 Floats
21867 \family default
21868 .
21869  On the LyX screen captions appear as label, e.
21870 \begin_inset space \thinspace{}
21871 \end_inset
21872
21873 g.
21874 \begin_inset space \space{}
21875 \end_inset
21876
21877
21878 \begin_inset Quotes eld
21879 \end_inset
21880
21881
21882 \family sans
21883 Figure #:
21884 \family default
21885
21886 \begin_inset Quotes erd
21887 \end_inset
21888
21889  followed by the caption text.
21890  
21891 \begin_inset Quotes eld
21892 \end_inset
21893
21894 #
21895 \begin_inset Quotes erd
21896 \end_inset
21897
21898  is the actual reference number.
21899  By default the label and the number are in the same font as the caption
21900  text and a colon follows the number to divide the label from the text.
21901  This caption format is not suitable for all document formats.
21902  
21903 \end_layout
21904
21905 \begin_layout Standard
21906 To change the default caption format, load the LaTeX-package 
21907 \series bold
21908 caption
21909 \series default
21910
21911 \begin_inset Index
21912 status collapsed
21913
21914 \begin_layout Plain Layout
21915 LaTeX-packages ! caption
21916 \end_layout
21917
21918 \end_inset
21919
21920  in the document preamble with this line:
21921 \end_layout
21922
21923 \begin_layout Standard
21924
21925 \series bold
21926
21927 \backslash
21928 usepackage[format definition]{caption}
21929 \end_layout
21930
21931 \begin_layout Standard
21932 To have for example the label and the number in sans-serif bold font and
21933  the table captions always above the table like in this document, use the
21934  following command:
21935 \end_layout
21936
21937 \begin_layout Standard
21938
21939 \series bold
21940
21941 \backslash
21942 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21943 \end_layout
21944
21945 \begin_layout Standard
21946 You can also define different caption formats for the different float types.
21947  In this case load the 
21948 \series bold
21949 caption
21950 \series default
21951  package without format specific options and define the different formats
21952  with the help of the command
21953 \end_layout
21954
21955 \begin_layout Standard
21956
21957 \series bold
21958
21959 \backslash
21960 captionsetup[float type]{format definition}
21961 \end_layout
21962
21963 \begin_layout Standard
21964 in the document preamble.
21965  For example the caption formats of Figure
21966 \begin_inset space ~
21967 \end_inset
21968
21969
21970 \begin_inset CommandInset ref
21971 LatexCommand ref
21972 reference "fig:This-is-an-fig"
21973
21974 \end_inset
21975
21976  and Table
21977 \begin_inset space ~
21978 \end_inset
21979
21980
21981 \begin_inset CommandInset ref
21982 LatexCommand ref
21983 reference "tab:This-is-an-tab"
21984
21985 \end_inset
21986
21987  can be created using these commands in the document preamble:
21988 \end_layout
21989
21990 \begin_layout Standard
21991
21992 \series bold
21993
21994 \backslash
21995 usepackage[tableposition=top]{caption}
21996 \series default
21997
21998 \begin_inset Newline newline
21999 \end_inset
22000
22001
22002 \series bold
22003
22004 \backslash
22005 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22006 \begin_inset Newline newline
22007 \end_inset
22008
22009
22010 \begin_inset ERT
22011 status collapsed
22012
22013 \begin_layout Plain Layout
22014
22015
22016 \backslash
22017 hphantom{
22018 \backslash
22019
22020 \backslash
22021 captionsetup[figure]
22022 \backslash
22023 {}
22024 \end_layout
22025
22026 \end_inset
22027
22028  labelsep=period}
22029 \begin_inset Newline newline
22030 \end_inset
22031
22032
22033 \backslash
22034 captionsetup[table]{labelfont={bf,sf}}
22035 \end_layout
22036
22037 \begin_layout Standard
22038 \begin_inset Note Greyedout
22039 status open
22040
22041 \begin_layout Plain Layout
22042
22043 \series bold
22044 Note:
22045 \series default
22046  The option 
22047 \series bold
22048 tableposition=top
22049 \series default
22050  has no effect when a 
22051 \series bold
22052 koma-script
22053 \series default
22054
22055 \begin_inset Index
22056 status collapsed
22057
22058 \begin_layout Plain Layout
22059 LaTeX-packages ! koma-script
22060 \end_layout
22061
22062 \end_inset
22063
22064  document class is used.
22065  In this case the document class option 
22066 \series bold
22067 tablecaptionabove
22068 \series default
22069  must be used.
22070 \end_layout
22071
22072 \end_inset
22073
22074
22075 \end_layout
22076
22077 \begin_layout Standard
22078 For more information about the package 
22079 \series bold
22080 caption
22081 \series default
22082  we refer to its documentation 
22083 \begin_inset CommandInset citation
22084 LatexCommand cite
22085 key "caption"
22086
22087 \end_inset
22088
22089 .
22090 \end_layout
22091
22092 \begin_layout Standard
22093 To change the label name from e.
22094 \begin_inset space \thinspace{}
22095 \end_inset
22096
22097 g.
22098 \begin_inset space \space{}
22099 \end_inset
22100
22101
22102 \begin_inset Quotes eld
22103 \end_inset
22104
22105 Figure
22106 \begin_inset Quotes erd
22107 \end_inset
22108
22109  to 
22110 \begin_inset Quotes eld
22111 \end_inset
22112
22113 Image
22114 \begin_inset Quotes erd
22115 \end_inset
22116
22117  use this preamble command:
22118 \end_layout
22119
22120 \begin_layout Standard
22121
22122 \series bold
22123
22124 \backslash
22125 renewcommand{
22126 \backslash
22127 fnum@figure}{Image~
22128 \backslash
22129 thefigure}
22130 \end_layout
22131
22132 \begin_layout Standard
22133 where 
22134 \series bold
22135
22136 \backslash
22137 thefigure
22138 \series default
22139  inserts the figure number and
22140 \series bold
22141  
22142 \begin_inset Quotes eld
22143 \end_inset
22144
22145 ~
22146 \series default
22147
22148 \begin_inset Quotes erd
22149 \end_inset
22150
22151  creates a protected space.
22152 \end_layout
22153
22154 \begin_layout Standard
22155 \begin_inset VSpace bigskip
22156 \end_inset
22157
22158 If you are using a 
22159 \series bold
22160 koma-script
22161 \series default
22162
22163 \begin_inset Index
22164 status collapsed
22165
22166 \begin_layout Plain Layout
22167 LaTeX-packages ! koma-script
22168 \end_layout
22169
22170 \end_inset
22171
22172  document class (
22173 \family sans
22174 article (koma-script)
22175 \family default
22176
22177 \family sans
22178 book (koma-script)
22179 \family default
22180
22181 \family sans
22182 letter (koma-script)
22183 \family default
22184 , or 
22185 \family sans
22186 report (koma-script)
22187 \family default
22188
22189 \begin_inset space \thinspace{}
22190 \end_inset
22191
22192 ), you can alternatively to the 
22193 \series bold
22194 caption
22195 \series default
22196  package use 
22197 \series bold
22198 koma-script
22199 \series default
22200 's built-in command 
22201 \series bold
22202
22203 \backslash
22204 setkomafont
22205 \series default
22206 .
22207  For example, to have the caption label in bold, add this command to your
22208  document preamble:
22209 \end_layout
22210
22211 \begin_layout Standard
22212
22213 \series bold
22214
22215 \backslash
22216 setkomafont{captionlabel}{
22217 \backslash
22218 bfseries}
22219 \end_layout
22220
22221 \begin_layout Standard
22222 For more information about 
22223 \series bold
22224
22225 \backslash
22226 setkomafont
22227 \series default
22228  we refer to the 
22229 \series bold
22230 koma-script
22231 \series default
22232  documentation 
22233 \begin_inset CommandInset citation
22234 LatexCommand cite
22235 key "koma-script"
22236
22237 \end_inset
22238
22239 .
22240 \end_layout
22241
22242 \begin_layout Standard
22243 \begin_inset ERT
22244 status collapsed
22245
22246 \begin_layout Plain Layout
22247
22248
22249 \backslash
22250 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22251 }
22252 \end_layout
22253
22254 \end_inset
22255
22256
22257 \begin_inset Note Note
22258 status open
22259
22260 \begin_layout Plain Layout
22261 The caption format is changed only for this example.
22262 \end_layout
22263
22264 \end_inset
22265
22266
22267 \end_layout
22268
22269 \begin_layout Standard
22270 \begin_inset Float figure
22271 placement !p
22272 wide false
22273 sideways false
22274 status open
22275
22276 \begin_layout Plain Layout
22277 \align center
22278 \begin_inset Graphics
22279         filename clipart/mobius.eps
22280         lyxscale 50
22281         scale 50
22282         scaleBeforeRotation
22283
22284 \end_inset
22285
22286
22287 \end_layout
22288
22289 \begin_layout Plain Layout
22290 \begin_inset Caption
22291
22292 \begin_layout Plain Layout
22293 \begin_inset CommandInset label
22294 LatexCommand label
22295 name "fig:This-is-an-fig"
22296
22297 \end_inset
22298
22299 This is an example figure caption that is longer than one line to show the
22300  different caption format.
22301  Here a self-defined caption format is used.
22302 \end_layout
22303
22304 \end_inset
22305
22306
22307 \end_layout
22308
22309 \end_inset
22310
22311
22312 \end_layout
22313
22314 \begin_layout Standard
22315 \begin_inset ERT
22316 status collapsed
22317
22318 \begin_layout Plain Layout
22319
22320
22321 \backslash
22322 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22323 on}
22324 \end_layout
22325
22326 \end_inset
22327
22328
22329 \end_layout
22330
22331 \begin_layout Standard
22332 \begin_inset Float table
22333 placement !p
22334 wide false
22335 sideways false
22336 status open
22337
22338 \begin_layout Plain Layout
22339 \begin_inset Caption
22340
22341 \begin_layout Plain Layout
22342 \begin_inset CommandInset label
22343 LatexCommand label
22344 name "tab:This-is-an-tab"
22345
22346 \end_inset
22347
22348 This is an example table caption that is longer than one line to show the
22349  different caption format.
22350  Here the standard caption format for tables in this document is used.
22351 \end_layout
22352
22353 \end_inset
22354
22355
22356 \end_layout
22357
22358 \begin_layout Plain Layout
22359 \align center
22360 \begin_inset Tabular
22361 <lyxtabular version="3" rows="1" columns="5">
22362 <features>
22363 <column alignment="center" valignment="top" width="0">
22364 <column alignment="center" valignment="top" width="0">
22365 <column alignment="center" valignment="top" width="0">
22366 <column alignment="center" valignment="top" width="0">
22367 <column alignment="center" valignment="top" width="0">
22368 <row>
22369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22370 \begin_inset Text
22371
22372 \begin_layout Plain Layout
22373 a
22374 \end_layout
22375
22376 \end_inset
22377 </cell>
22378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22379 \begin_inset Text
22380
22381 \begin_layout Plain Layout
22382 b
22383 \end_layout
22384
22385 \end_inset
22386 </cell>
22387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22388 \begin_inset Text
22389
22390 \begin_layout Plain Layout
22391 c
22392 \end_layout
22393
22394 \end_inset
22395 </cell>
22396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22397 \begin_inset Text
22398
22399 \begin_layout Plain Layout
22400 d
22401 \end_layout
22402
22403 \end_inset
22404 </cell>
22405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22406 \begin_inset Text
22407
22408 \begin_layout Plain Layout
22409 e
22410 \end_layout
22411
22412 \end_inset
22413 </cell>
22414 </row>
22415 </lyxtabular>
22416
22417 \end_inset
22418
22419
22420 \end_layout
22421
22422 \end_inset
22423
22424
22425 \end_layout
22426
22427 \begin_layout Section
22428 Caption Placement
22429 \begin_inset Index
22430 status collapsed
22431
22432 \begin_layout Plain Layout
22433 Caption ! Placement
22434 \end_layout
22435
22436 \end_inset
22437
22438
22439 \begin_inset Index
22440 status collapsed
22441
22442 \begin_layout Plain Layout
22443 Floats ! Caption Placement
22444 \end_layout
22445
22446 \end_inset
22447
22448
22449 \begin_inset CommandInset label
22450 LatexCommand label
22451 name "sec:Caption-Placement"
22452
22453 \end_inset
22454
22455
22456 \end_layout
22457
22458 \begin_layout Standard
22459 The common caption placement rule is:
22460 \end_layout
22461
22462 \begin_layout Description
22463 Figure: Caption is set below the figure
22464 \end_layout
22465
22466 \begin_layout Description
22467 Table: Caption is set above the table
22468 \end_layout
22469
22470 \begin_layout Standard
22471 Having the caption above the table is unfortunately not supported in LaTeX's
22472  standard classes.
22473  That means if you are using the document classes 
22474 \family sans
22475 article
22476 \family default
22477
22478 \family sans
22479 book
22480 \family default
22481
22482 \family sans
22483 letter
22484 \family default
22485 , or 
22486 \family sans
22487 report
22488 \family default
22489  there will be no space between the caption and the table.
22490  To insert the needed space, add the following option to the load command
22491  of the LaTeX-package 
22492 \series bold
22493 caption
22494 \series default
22495  in your document preamble
22496 \begin_inset Foot
22497 status collapsed
22498
22499 \begin_layout Plain Layout
22500 See section
22501 \begin_inset space ~
22502 \end_inset
22503
22504
22505 \begin_inset CommandInset ref
22506 LatexCommand ref
22507 reference "sec:Caption-Formatting"
22508
22509 \end_inset
22510
22511  for more information of the package 
22512 \series bold
22513 caption
22514 \series default
22515 .
22516 \end_layout
22517
22518 \end_inset
22519
22520 :
22521 \end_layout
22522
22523 \begin_layout Standard
22524
22525 \series bold
22526 tableposition=top
22527 \end_layout
22528
22529 \begin_layout Standard
22530 If you are using a 
22531 \series bold
22532 koma-script
22533 \series default
22534
22535 \begin_inset Index
22536 status collapsed
22537
22538 \begin_layout Plain Layout
22539 LaTeX-packages ! koma-script
22540 \end_layout
22541
22542 \end_inset
22543
22544  document class (
22545 \family sans
22546 article (koma-script)
22547 \family default
22548
22549 \family sans
22550 book (koma-script)
22551 \family default
22552
22553 \family sans
22554 letter (koma-script)
22555 \family default
22556 , or 
22557 \family sans
22558 report (koma-script)
22559 \family default
22560
22561 \begin_inset space \thinspace{}
22562 \end_inset
22563
22564 ), you can alternatively to the 
22565 \series bold
22566 caption
22567 \series default
22568  package set the document class option 
22569 \series bold
22570 tablecaptionabove
22571 \series default
22572 .
22573 \end_layout
22574
22575 \begin_layout Standard
22576 \begin_inset VSpace bigskip
22577 \end_inset
22578
22579 It is also possible to set the caption beside a figure or table.
22580  To get this the LaTeX-package 
22581 \series bold
22582 sidecap
22583 \series default
22584
22585 \begin_inset Index
22586 status collapsed
22587
22588 \begin_layout Plain Layout
22589 LaTeX-packages ! sidecap
22590 \end_layout
22591
22592 \end_inset
22593
22594  has to be loaded in the document preamble with the line
22595 \end_layout
22596
22597 \begin_layout Standard
22598
22599 \series bold
22600
22601 \backslash
22602 usepackage[option]{sidecap}
22603 \end_layout
22604
22605 \begin_layout Standard
22606 If you set no option, the caption is placed on the side of the outer page
22607  margin -- to the right on odd pages, to the left on even pages.
22608  You can change the placement to inner margin with the option 
22609 \series bold
22610 innercaption
22611 \series default
22612 .
22613  To force the placement always to the right or left, use the option 
22614 \series bold
22615 rightcaption
22616 \series default
22617  or 
22618 \series bold
22619 leftcaption
22620 \series default
22621 , respectively.
22622 \end_layout
22623
22624 \begin_layout Standard
22625 \begin_inset ERT
22626 status collapsed
22627
22628 \begin_layout Plain Layout
22629
22630
22631 \backslash
22632 ifsidecap
22633 \end_layout
22634
22635 \end_inset
22636
22637
22638 \begin_inset Note Note
22639 status open
22640
22641 \begin_layout Plain Layout
22642 The following section will only be displayed when the LaTeX-package 
22643 \series bold
22644 sidecap
22645 \series default
22646  is installed.
22647 \end_layout
22648
22649 \end_inset
22650
22651
22652 \end_layout
22653
22654 \begin_layout Standard
22655 To place in LyX the caption of a float on the side, it is necessary to add
22656  these commands to the document preamble:
22657 \end_layout
22658
22659 \begin_layout Standard
22660
22661 \lyxline
22662
22663 \end_layout
22664
22665 \begin_layout Standard
22666
22667 \series bold
22668
22669 \backslash
22670 newcommand{
22671 \backslash
22672 TabBesBeg}{%
22673 \begin_inset Newline newline
22674 \end_inset
22675
22676
22677 \begin_inset ERT
22678 status collapsed
22679
22680 \begin_layout Plain Layout
22681
22682
22683 \backslash
22684 hphantom{ }
22685 \end_layout
22686
22687 \end_inset
22688
22689
22690 \backslash
22691 let
22692 \backslash
22693 MyTable
22694 \backslash
22695 table
22696 \begin_inset Newline newline
22697 \end_inset
22698
22699
22700 \begin_inset ERT
22701 status collapsed
22702
22703 \begin_layout Plain Layout
22704
22705
22706 \backslash
22707 hphantom{ }
22708 \end_layout
22709
22710 \end_inset
22711
22712
22713 \backslash
22714 let
22715 \backslash
22716 MyEndtable
22717 \backslash
22718 endtable
22719 \begin_inset Newline newline
22720 \end_inset
22721
22722
22723 \begin_inset ERT
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727
22728
22729 \backslash
22730 hphantom{ }
22731 \end_layout
22732
22733 \end_inset
22734
22735
22736 \backslash
22737 renewenvironment{table}{
22738 \backslash
22739 begin{SCtable}}{
22740 \backslash
22741 end{SCtable}}}
22742 \end_layout
22743
22744 \begin_layout Standard
22745
22746 \series bold
22747
22748 \backslash
22749 newcommand{
22750 \backslash
22751 TabBesEnd}{%
22752 \begin_inset Newline newline
22753 \end_inset
22754
22755
22756 \begin_inset ERT
22757 status collapsed
22758
22759 \begin_layout Plain Layout
22760
22761
22762 \backslash
22763 hphantom{ }
22764 \end_layout
22765
22766 \end_inset
22767
22768
22769 \backslash
22770 let
22771 \backslash
22772 table
22773 \backslash
22774 MyTable
22775 \begin_inset Newline newline
22776 \end_inset
22777
22778
22779 \begin_inset ERT
22780 status collapsed
22781
22782 \begin_layout Plain Layout
22783
22784
22785 \backslash
22786 hphantom{ }
22787 \end_layout
22788
22789 \end_inset
22790
22791
22792 \backslash
22793 let
22794 \backslash
22795 endtable
22796 \backslash
22797 MyEndtable
22798 \end_layout
22799
22800 \begin_layout Standard
22801
22802 \series bold
22803
22804 \backslash
22805 newcommand{
22806 \backslash
22807 FigBesBeg}{%
22808 \begin_inset Newline newline
22809 \end_inset
22810
22811
22812 \begin_inset ERT
22813 status collapsed
22814
22815 \begin_layout Plain Layout
22816
22817
22818 \backslash
22819 hphantom{ }
22820 \end_layout
22821
22822 \end_inset
22823
22824
22825 \backslash
22826 let
22827 \backslash
22828 MyFigure
22829 \backslash
22830 figure
22831 \begin_inset Newline newline
22832 \end_inset
22833
22834
22835 \begin_inset ERT
22836 status collapsed
22837
22838 \begin_layout Plain Layout
22839
22840
22841 \backslash
22842 hphantom{ }
22843 \end_layout
22844
22845 \end_inset
22846
22847
22848 \backslash
22849 let
22850 \backslash
22851 MyEndfigure
22852 \backslash
22853 endfigure
22854 \begin_inset Newline newline
22855 \end_inset
22856
22857
22858 \begin_inset ERT
22859 status collapsed
22860
22861 \begin_layout Plain Layout
22862
22863
22864 \backslash
22865 hphantom{ }
22866 \end_layout
22867
22868 \end_inset
22869
22870
22871 \backslash
22872 renewenvironment{figure}{
22873 \backslash
22874 begin{SCfigure}}{
22875 \backslash
22876 end{SCfigure}}}
22877 \end_layout
22878
22879 \begin_layout Standard
22880
22881 \series bold
22882
22883 \backslash
22884 newcommand{
22885 \backslash
22886 FigBesEnd}{%
22887 \begin_inset Newline newline
22888 \end_inset
22889
22890
22891 \begin_inset ERT
22892 status collapsed
22893
22894 \begin_layout Plain Layout
22895
22896
22897 \backslash
22898 hphantom{ }
22899 \end_layout
22900
22901 \end_inset
22902
22903
22904 \backslash
22905 let
22906 \backslash
22907 figure
22908 \backslash
22909 MyFigure
22910 \begin_inset Newline newline
22911 \end_inset
22912
22913
22914 \begin_inset ERT
22915 status collapsed
22916
22917 \begin_layout Plain Layout
22918
22919
22920 \backslash
22921 hphantom{ }
22922 \end_layout
22923
22924 \end_inset
22925
22926
22927 \backslash
22928 let
22929 \backslash
22930 endfigure
22931 \backslash
22932 MyEndfigure}
22933 \end_layout
22934
22935 \begin_layout Standard
22936
22937 \lyxline
22938
22939 \end_layout
22940
22941 \begin_layout Standard
22942 The commands allow you to redefine the floats so that the caption is set
22943  on the side.
22944  For figure floats use the command
22945 \end_layout
22946
22947 \begin_layout Standard
22948
22949 \series bold
22950
22951 \backslash
22952 FigBesBeg
22953 \end_layout
22954
22955 \begin_layout Standard
22956 in TeX-Code before the float.
22957  Behind the float insert the command
22958 \end_layout
22959
22960 \begin_layout Standard
22961
22962 \series bold
22963
22964 \backslash
22965 FigBesEnd
22966 \end_layout
22967
22968 \begin_layout Standard
22969 in TeX-Code to get back to the original float definition.
22970 \end_layout
22971
22972 \begin_layout Standard
22973 For table floats use the corresponding commands
22974 \end_layout
22975
22976 \begin_layout Standard
22977
22978 \series bold
22979
22980 \backslash
22981 TabBesBeg
22982 \series default
22983  and 
22984 \series bold
22985
22986 \backslash
22987 TabBesEnd
22988 \end_layout
22989
22990 \begin_layout Standard
22991 Figure
22992 \begin_inset space ~
22993 \end_inset
22994
22995
22996 \begin_inset CommandInset ref
22997 LatexCommand ref
22998 reference "fig:cap-beside-fig"
22999
23000 \end_inset
23001
23002  and Table
23003 \begin_inset space ~
23004 \end_inset
23005
23006
23007 \begin_inset CommandInset ref
23008 LatexCommand ref
23009 reference "tab:cap-beside-tab"
23010
23011 \end_inset
23012
23013  are examples where the caption is set beside.
23014 \end_layout
23015
23016 \begin_layout Standard
23017 You can see in the examples that the caption text appears at the top of
23018  the floats for table floats and at the bottom for figure floats.
23019  To change this, you can use the command
23020 \end_layout
23021
23022 \begin_layout Standard
23023
23024 \series bold
23025
23026 \backslash
23027 sidecaptionvpos{float type}{placement}
23028 \end_layout
23029
23030 \begin_layout Standard
23031 in the document preamble or in TeX-Code before the float.
23032  The float type is either 
23033 \family sans
23034 figure
23035 \family default
23036  or 
23037 \family sans
23038 table
23039 \family default
23040 , the placement can be 
23041 \begin_inset Quotes eld
23042 \end_inset
23043
23044
23045 \family sans
23046 t
23047 \family default
23048
23049 \begin_inset Quotes erd
23050 \end_inset
23051
23052  for top, 
23053 \begin_inset Quotes eld
23054 \end_inset
23055
23056
23057 \family sans
23058 c
23059 \family default
23060
23061 \begin_inset Quotes erd
23062 \end_inset
23063
23064  for center, or 
23065 \begin_inset Quotes eld
23066 \end_inset
23067
23068
23069 \family sans
23070 b
23071 \family default
23072
23073 \begin_inset Quotes erd
23074 \end_inset
23075
23076  for bottom.
23077  To have for example the caption of figure floats vertically centered, use
23078  the command
23079 \end_layout
23080
23081 \begin_layout Standard
23082
23083 \series bold
23084
23085 \backslash
23086 sidecaptionvpos{figure}{c}
23087 \end_layout
23088
23089 \begin_layout Standard
23090 This was used for Figure
23091 \begin_inset space ~
23092 \end_inset
23093
23094
23095 \begin_inset CommandInset ref
23096 LatexCommand ref
23097 reference "fig:cap-beside-fig-2"
23098
23099 \end_inset
23100
23101 .
23102 \end_layout
23103
23104 \begin_layout Standard
23105 \begin_inset VSpace medskip
23106 \end_inset
23107
23108 For more information about the package 
23109 \series bold
23110 sidecap
23111 \series default
23112  we refer to its documentation 
23113 \begin_inset CommandInset citation
23114 LatexCommand cite
23115 key "sidecap"
23116
23117 \end_inset
23118
23119 .
23120 \end_layout
23121
23122 \begin_layout Standard
23123 \begin_inset Note Greyedout
23124 status open
23125
23126 \begin_layout Plain Layout
23127
23128 \series bold
23129 Note:
23130 \series default
23131  The LaTeX-package 
23132 \series bold
23133 hypcap
23134 \series default
23135
23136 \begin_inset Index
23137 status collapsed
23138
23139 \begin_layout Plain Layout
23140 LaTeX-packages ! hypcap
23141 \end_layout
23142
23143 \end_inset
23144
23145 , described in section
23146 \begin_inset space ~
23147 \end_inset
23148
23149
23150 \begin_inset CommandInset ref
23151 LatexCommand ref
23152 reference "sub:Reference-Position"
23153
23154 \end_inset
23155
23156 , has no effect on floats with the caption set beside.
23157 \end_layout
23158
23159 \end_inset
23160
23161
23162 \end_layout
23163
23164 \begin_layout Standard
23165 \begin_inset ERT
23166 status collapsed
23167
23168 \begin_layout Plain Layout
23169
23170
23171 \backslash
23172 FigBesBeg 
23173 \end_layout
23174
23175 \end_inset
23176
23177
23178 \end_layout
23179
23180 \begin_layout Standard
23181 \begin_inset Float figure
23182 wide false
23183 sideways false
23184 status open
23185
23186 \begin_layout Plain Layout
23187 \begin_inset Graphics
23188         filename clipart/escher-lsd.eps
23189         scale 75
23190         scaleBeforeRotation
23191
23192 \end_inset
23193
23194
23195 \end_layout
23196
23197 \begin_layout Plain Layout
23198 \begin_inset Caption
23199
23200 \begin_layout Plain Layout
23201 \begin_inset CommandInset label
23202 LatexCommand label
23203 name "fig:cap-beside-fig"
23204
23205 \end_inset
23206
23207 This is a caption beside a figure.
23208 \end_layout
23209
23210 \end_inset
23211
23212
23213 \end_layout
23214
23215 \end_inset
23216
23217
23218 \end_layout
23219
23220 \begin_layout Standard
23221 \begin_inset ERT
23222 status collapsed
23223
23224 \begin_layout Plain Layout
23225
23226
23227 \backslash
23228 TabBesBeg 
23229 \end_layout
23230
23231 \end_inset
23232
23233
23234 \end_layout
23235
23236 \begin_layout Standard
23237 \begin_inset Float table
23238 wide false
23239 sideways false
23240 status open
23241
23242 \begin_layout Plain Layout
23243 \begin_inset Caption
23244
23245 \begin_layout Plain Layout
23246 \begin_inset CommandInset label
23247 LatexCommand label
23248 name "tab:cap-beside-tab"
23249
23250 \end_inset
23251
23252 This is a caption beside a table.
23253 \end_layout
23254
23255 \end_inset
23256
23257
23258 \end_layout
23259
23260 \begin_layout Plain Layout
23261 \begin_inset Tabular
23262 <lyxtabular version="3" rows="4" columns="5">
23263 <features>
23264 <column alignment="center" valignment="top" width="0">
23265 <column alignment="center" valignment="top" width="0">
23266 <column alignment="center" valignment="top" width="0">
23267 <column alignment="center" valignment="top" width="0">
23268 <column alignment="center" valignment="top" width="0">
23269 <row>
23270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23271 \begin_inset Text
23272
23273 \begin_layout Plain Layout
23274 a
23275 \end_layout
23276
23277 \end_inset
23278 </cell>
23279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23280 \begin_inset Text
23281
23282 \begin_layout Plain Layout
23283
23284 \end_layout
23285
23286 \end_inset
23287 </cell>
23288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23289 \begin_inset Text
23290
23291 \begin_layout Plain Layout
23292 b
23293 \end_layout
23294
23295 \end_inset
23296 </cell>
23297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23298 \begin_inset Text
23299
23300 \begin_layout Plain Layout
23301
23302 \end_layout
23303
23304 \end_inset
23305 </cell>
23306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23307 \begin_inset Text
23308
23309 \begin_layout Plain Layout
23310 c
23311 \end_layout
23312
23313 \end_inset
23314 </cell>
23315 </row>
23316 <row>
23317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23318 \begin_inset Text
23319
23320 \begin_layout Plain Layout
23321
23322 \end_layout
23323
23324 \end_inset
23325 </cell>
23326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23327 \begin_inset Text
23328
23329 \begin_layout Plain Layout
23330 d
23331 \end_layout
23332
23333 \end_inset
23334 </cell>
23335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23336 \begin_inset Text
23337
23338 \begin_layout Plain Layout
23339
23340 \end_layout
23341
23342 \end_inset
23343 </cell>
23344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23345 \begin_inset Text
23346
23347 \begin_layout Plain Layout
23348 e
23349 \end_layout
23350
23351 \end_inset
23352 </cell>
23353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23354 \begin_inset Text
23355
23356 \begin_layout Plain Layout
23357
23358 \end_layout
23359
23360 \end_inset
23361 </cell>
23362 </row>
23363 <row>
23364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23365 \begin_inset Text
23366
23367 \begin_layout Plain Layout
23368 f
23369 \end_layout
23370
23371 \end_inset
23372 </cell>
23373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23374 \begin_inset Text
23375
23376 \begin_layout Plain Layout
23377
23378 \end_layout
23379
23380 \end_inset
23381 </cell>
23382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23383 \begin_inset Text
23384
23385 \begin_layout Plain Layout
23386 g
23387 \end_layout
23388
23389 \end_inset
23390 </cell>
23391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23392 \begin_inset Text
23393
23394 \begin_layout Plain Layout
23395
23396 \end_layout
23397
23398 \end_inset
23399 </cell>
23400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23401 \begin_inset Text
23402
23403 \begin_layout Plain Layout
23404 h
23405 \end_layout
23406
23407 \end_inset
23408 </cell>
23409 </row>
23410 <row>
23411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23412 \begin_inset Text
23413
23414 \begin_layout Plain Layout
23415
23416 \end_layout
23417
23418 \end_inset
23419 </cell>
23420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23421 \begin_inset Text
23422
23423 \begin_layout Plain Layout
23424 i
23425 \end_layout
23426
23427 \end_inset
23428 </cell>
23429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23430 \begin_inset Text
23431
23432 \begin_layout Plain Layout
23433
23434 \end_layout
23435
23436 \end_inset
23437 </cell>
23438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23439 \begin_inset Text
23440
23441 \begin_layout Plain Layout
23442 j
23443 \end_layout
23444
23445 \end_inset
23446 </cell>
23447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23448 \begin_inset Text
23449
23450 \begin_layout Plain Layout
23451
23452 \end_layout
23453
23454 \end_inset
23455 </cell>
23456 </row>
23457 </lyxtabular>
23458
23459 \end_inset
23460
23461
23462 \end_layout
23463
23464 \end_inset
23465
23466
23467 \end_layout
23468
23469 \begin_layout Standard
23470 \begin_inset ERT
23471 status collapsed
23472
23473 \begin_layout Plain Layout
23474
23475
23476 \backslash
23477 TabBesEnd
23478 \end_layout
23479
23480 \end_inset
23481
23482
23483 \end_layout
23484
23485 \begin_layout Standard
23486 \begin_inset ERT
23487 status collapsed
23488
23489 \begin_layout Plain Layout
23490
23491
23492 \backslash
23493 sidecaptionvpos{figure}{c}
23494 \end_layout
23495
23496 \end_inset
23497
23498
23499 \begin_inset Float figure
23500 wide false
23501 sideways false
23502 status open
23503
23504 \begin_layout Plain Layout
23505 \begin_inset Graphics
23506         filename clipart/escher-lsd.eps
23507         scale 75
23508         scaleBeforeRotation
23509
23510 \end_inset
23511
23512
23513 \end_layout
23514
23515 \begin_layout Plain Layout
23516 \begin_inset Caption
23517
23518 \begin_layout Plain Layout
23519 \begin_inset CommandInset label
23520 LatexCommand label
23521 name "fig:cap-beside-fig-2"
23522
23523 \end_inset
23524
23525 This is a vertically centered caption beside a figure.
23526 \end_layout
23527
23528 \end_inset
23529
23530
23531 \end_layout
23532
23533 \end_inset
23534
23535
23536 \end_layout
23537
23538 \begin_layout Standard
23539 \begin_inset ERT
23540 status collapsed
23541
23542 \begin_layout Plain Layout
23543
23544
23545 \backslash
23546 FigBesEnd
23547 \end_layout
23548
23549 \end_inset
23550
23551
23552 \end_layout
23553
23554 \begin_layout Standard
23555 \begin_inset ERT
23556 status collapsed
23557
23558 \begin_layout Plain Layout
23559
23560
23561 \backslash
23562 else
23563 \end_layout
23564
23565 \end_inset
23566
23567
23568 \begin_inset Note Note
23569 status open
23570
23571 \begin_layout Plain Layout
23572 The following will be displayed when the LaTeX-package 
23573 \series bold
23574 sidecap
23575 \series default
23576  is not installed:
23577 \end_layout
23578
23579 \end_inset
23580
23581
23582 \end_layout
23583
23584 \begin_layout Standard
23585 You need to install the LaTeX-package 
23586 \series bold
23587 sidecap
23588 \series default
23589  to see the following part of this section in the output.
23590 \end_layout
23591
23592 \begin_layout Standard
23593 \begin_inset ERT
23594 status collapsed
23595
23596 \begin_layout Plain Layout
23597
23598
23599 \backslash
23600 fi
23601 \end_layout
23602
23603 \end_inset
23604
23605
23606 \end_layout
23607
23608 \begin_layout Section
23609 Listings of Floats
23610 \begin_inset Index
23611 status collapsed
23612
23613 \begin_layout Plain Layout
23614 Floats ! Float Lists
23615 \end_layout
23616
23617 \end_inset
23618
23619
23620 \end_layout
23621
23622 \begin_layout Standard
23623 Similar to the the table of contents where the sections of the document
23624  are listed, there are listings for all float types, like the figures of
23625  the documents.
23626  You can insert them via the 
23627 \family sans
23628 Insert\SpecialChar \menuseparator
23629 List
23630 \begin_inset space ~
23631 \end_inset
23632
23633 /
23634 \begin_inset space ~
23635 \end_inset
23636
23637 TOC
23638 \family default
23639  sub menus.
23640 \end_layout
23641
23642 \begin_layout Standard
23643 The list entries are the float captions or its short title, the float number,
23644  and the page number where they appear in the document.
23645 \end_layout
23646
23647 \begin_layout Standard
23648 You can find the list of figures and tables at the end of this document.
23649 \end_layout
23650
23651 \begin_layout Chapter
23652 Notes
23653 \end_layout
23654
23655 \begin_layout Section
23656 LyX Notes
23657 \begin_inset Index
23658 status collapsed
23659
23660 \begin_layout Plain Layout
23661 Notes ! LyX Notes
23662 \end_layout
23663
23664 \end_inset
23665
23666
23667 \end_layout
23668
23669 \begin_layout Standard
23670 Notes are inserted with the toolbar button 
23671 \begin_inset Graphics
23672         filename ../images/note-insert.png
23673         scale 85
23674         scaleBeforeRotation
23675
23676 \end_inset
23677
23678  or the menu 
23679 \family sans
23680 Insert\SpecialChar \menuseparator
23681 Note
23682 \family default
23683 .
23684  There are three types of notes:
23685 \end_layout
23686
23687 \begin_layout Description
23688 LyX
23689 \begin_inset space ~
23690 \end_inset
23691
23692 Note This note type is for internal notes that won't appear in the output.
23693  Its note-box looks like this:
23694 \begin_inset Newline newline
23695 \end_inset
23696
23697
23698 \begin_inset Newline newline
23699 \end_inset
23700
23701
23702 \begin_inset Graphics
23703         filename clipart/LyXNoteImageQt4.png
23704         display false
23705         scale 85
23706         scaleBeforeRotation
23707
23708 \end_inset
23709
23710  
23711 \begin_inset Note Note
23712 status open
23713
23714 \begin_layout Plain Layout
23715 This is text in a note box that doesn't appear in the output.
23716 \end_layout
23717
23718 \end_inset
23719
23720
23721 \end_layout
23722
23723 \begin_layout Description
23724 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23725 ent, when you export the document to LaTeX via the menu 
23726 \family sans
23727 File\SpecialChar \menuseparator
23728 Export\SpecialChar \menuseparator
23729 LaTeX (pdflatex) / (plain)
23730 \family default
23731 .
23732  Its note-box looks like this:
23733 \begin_inset Newline newline
23734 \end_inset
23735
23736
23737 \begin_inset Newline newline
23738 \end_inset
23739
23740
23741 \begin_inset Graphics
23742         filename clipart/CommentNoteImageQt4.png
23743         display false
23744         scale 85
23745         scaleBeforeRotation
23746
23747 \end_inset
23748
23749  
23750 \begin_inset Note Comment
23751 status open
23752
23753 \begin_layout Plain Layout
23754 This is text in a note box that only appears as comment in LaTeX-files.
23755 \end_layout
23756
23757 \end_inset
23758
23759
23760 \end_layout
23761
23762 \begin_layout Description
23763 Greyed
23764 \begin_inset space ~
23765 \end_inset
23766
23767 Out This note will appear in the output as grey text.
23768  Its note-box looks like this:
23769 \begin_inset Newline newline
23770 \end_inset
23771
23772
23773 \begin_inset Newline newline
23774 \end_inset
23775
23776
23777 \begin_inset Graphics
23778         filename clipart/GreyedOutNoteImageQt4.png
23779         display false
23780         scale 85
23781         scaleBeforeRotation
23782
23783 \end_inset
23784
23785
23786 \begin_inset Newline newline
23787 \end_inset
23788
23789
23790 \begin_inset ERT
23791 status collapsed
23792
23793 \begin_layout Plain Layout
23794
23795
23796 \backslash
23797 renewenvironment{lyxgreyedout}
23798 \end_layout
23799
23800 \begin_layout Plain Layout
23801
23802 {
23803 \backslash
23804 textcolor[gray]{0.8}
23805 \backslash
23806 bgroup}{
23807 \backslash
23808 egroup}
23809 \end_layout
23810
23811 \end_inset
23812
23813
23814 \begin_inset Note Greyedout
23815 status open
23816
23817 \begin_layout Plain Layout
23818 This is text
23819 \begin_inset Foot
23820 status open
23821
23822 \begin_layout Plain Layout
23823 This is an example footnote within a greyed out note.
23824 \end_layout
23825
23826 \end_inset
23827
23828  of a comment that appears in the output as grey text.
23829 \end_layout
23830
23831 \end_inset
23832
23833
23834 \begin_inset ERT
23835 status collapsed
23836
23837 \begin_layout Plain Layout
23838
23839
23840 \backslash
23841 renewenvironment{lyxgreyedout}
23842 \end_layout
23843
23844 \begin_layout Plain Layout
23845
23846 {
23847 \backslash
23848 textcolor{blue}
23849 \backslash
23850 bgroup}{
23851 \backslash
23852 egroup}
23853 \end_layout
23854
23855 \end_inset
23856
23857
23858 \begin_inset Note Note
23859 status collapsed
23860
23861 \begin_layout Plain Layout
23862 The greyed out note is here redefined to show it with the original LyX definitio
23863 n because greyed out notes are redefined in the preamble of this document,
23864  as described below, to have blue text.
23865 \end_layout
23866
23867 \end_inset
23868
23869
23870 \begin_inset Newline newline
23871 \end_inset
23872
23873
23874 \begin_inset Newline newline
23875 \end_inset
23876
23877 As you can see in the example, the first line of greyed out notes is a bit
23878  indented and greyed out notes can have footnotes.
23879 \end_layout
23880
23881 \begin_layout Standard
23882 \begin_inset VSpace bigskip
23883 \end_inset
23884
23885 When you use the toolbar button 
23886 \begin_inset Graphics
23887         filename ../images/note-insert.png
23888         scale 85
23889         scaleBeforeRotation
23890
23891 \end_inset
23892
23893  to insert notes, a 
23894 \family sans
23895 LyX
23896 \begin_inset space ~
23897 \end_inset
23898
23899 Note
23900 \family default
23901  is inserted.
23902  You can switch between the five note types by right-clicking on the note-box.
23903  
23904 \family roman
23905 \series medium
23906 \bar no
23907 If you want to turn existing text into a note, mark it and click on the
23908  note
23909 \family default
23910 \series default
23911 \bar default
23912  toolbar 
23913 \family roman
23914 \series medium
23915 \bar no
23916 button
23917 \family default
23918 \series default
23919 \bar default
23920 .
23921  To change a note to text, press the backspace key when the cursor is in
23922  the first position of a note, or press the deletey key when the cursor
23923  is in the very last position of the note, respectively.
23924 \end_layout
23925
23926 \begin_layout Standard
23927 \begin_inset VSpace bigskip
23928 \end_inset
23929
23930 You can change the text color of the greyed out notes in the preamble with
23931  the following command:
23932 \end_layout
23933
23934 \begin_layout Standard
23935
23936 \series bold
23937
23938 \backslash
23939 renewenvironment{lyxgreyedout}
23940 \begin_inset Newline newline
23941 \end_inset
23942
23943
23944 \begin_inset ERT
23945 status collapsed
23946
23947 \begin_layout Plain Layout
23948
23949
23950 \backslash
23951 hphantom{ }
23952 \end_layout
23953
23954 \end_inset
23955
23956 {
23957 \backslash
23958 textcolor{color}
23959 \backslash
23960 bgroup}{
23961 \backslash
23962 egroup}
23963 \end_layout
23964
23965 \begin_layout Standard
23966 The available colors and the method to define own colors is explained in
23967  section
23968 \begin_inset space ~
23969 \end_inset
23970
23971
23972 \begin_inset CommandInset ref
23973 LatexCommand ref
23974 reference "sec:Colored-Tables"
23975
23976 \end_inset
23977
23978 .
23979 \end_layout
23980
23981 \begin_layout Standard
23982 Notes that appear in blue in this document are set using greyed out notes
23983  with blue text.
23984 \end_layout
23985
23986 \begin_layout Section
23987 Footnotes
23988 \begin_inset CommandInset label
23989 LatexCommand label
23990 name "sec:Footnotes"
23991
23992 \end_inset
23993
23994
23995 \begin_inset Index
23996 status collapsed
23997
23998 \begin_layout Plain Layout
23999 Notes ! Footnotes
24000 \end_layout
24001
24002 \end_inset
24003
24004
24005 \begin_inset Index
24006 status collapsed
24007
24008 \begin_layout Plain Layout
24009 Footnotes
24010 \end_layout
24011
24012 \end_inset
24013
24014
24015 \end_layout
24016
24017 \begin_layout Standard
24018 Footnotes can be inserted using the toolbar button 
24019 \begin_inset Graphics
24020         filename ../images/footnote-insert.png
24021         scale 85
24022         scaleBeforeRotation
24023
24024 \end_inset
24025
24026  or the menu 
24027 \family sans
24028 Insert\SpecialChar \menuseparator
24029 Footnote
24030 \family default
24031 .
24032  
24033 \family roman
24034 \series medium
24035 \bar no
24036 You'll see
24037 \family default
24038 \series default
24039 \bar default
24040  then the following footnote-box: 
24041 \begin_inset Graphics
24042         filename clipart/footnoteQt4.png
24043         scale 80
24044         scaleBeforeRotation
24045
24046 \end_inset
24047
24048  
24049 \family roman
24050 \series medium
24051 \bar no
24052 where you can enter the footnote text.
24053  If you want to turn existing text into a footnote, mark it and click on
24054  the footnote
24055 \family default
24056 \series default
24057 \bar default
24058  toolbar 
24059 \family roman
24060 \series medium
24061 \bar no
24062 button
24063 \family default
24064 \series default
24065 \bar default
24066 .
24067  To change a 
24068 \family roman
24069 \series medium
24070 \bar no
24071 footnote
24072 \family default
24073 \series default
24074 \bar default
24075  to text, press the Backspace key when the cursor is in the first position
24076  of a 
24077 \family roman
24078 \series medium
24079 \bar no
24080 footnote
24081 \family default
24082 \series default
24083 \bar default
24084 , or press the Delete key when the cursor is in the very last position of
24085  the 
24086 \family roman
24087 \series medium
24088 \bar no
24089 footnote
24090 \family default
24091 \series default
24092 \bar default
24093 , respectively.
24094 \end_layout
24095
24096 \begin_layout Standard
24097 Here is an example footnote:
24098 \family roman
24099 \series medium
24100 \bar no
24101
24102 \begin_inset Foot
24103 status open
24104
24105 \begin_layout Plain Layout
24106 \begin_inset CommandInset label
24107 LatexCommand label
24108 name "foot:This-is-an"
24109
24110 \end_inset
24111
24112 This is an example footnote.
24113 \end_layout
24114
24115 \end_inset
24116
24117
24118 \family default
24119 \series default
24120 \bar default
24121
24122 \begin_inset ERT
24123 status collapsed
24124
24125 \begin_layout Plain Layout
24126
24127
24128 \backslash
24129 newcounter{MyRepeatFoot}
24130 \end_layout
24131
24132 \begin_layout Plain Layout
24133
24134
24135 \backslash
24136 setcounter{MyRepeatFoot}{
24137 \backslash
24138 thefootnote}
24139 \end_layout
24140
24141 \end_inset
24142
24143
24144 \end_layout
24145
24146 \begin_layout Standard
24147 The footnote will appear in the output as a superscript number at the text
24148  position where the footnote box is placed.
24149  The footnote text is placed at the bottom of the current page.
24150  The footnote number is calculated by LaTeX, the numbers are consecutive.
24151  It depends on your document-class, if the footnote number is reset for
24152  every chapter.
24153 \end_layout
24154
24155 \begin_layout Standard
24156 Footnotes can be referenced like floats: Insert a label into the footnote
24157  and cross-reference this label in the text as described in section
24158 \begin_inset space ~
24159 \end_inset
24160
24161
24162 \begin_inset CommandInset ref
24163 LatexCommand ref
24164 reference "sec:Referencing-Floats"
24165
24166 \end_inset
24167
24168 .
24169 \begin_inset Newline newline
24170 \end_inset
24171
24172 This is a cross-reference of Footnote
24173 \begin_inset space ~
24174 \end_inset
24175
24176
24177 \begin_inset CommandInset ref
24178 LatexCommand ref
24179 reference "foot:This-is-an"
24180
24181 \end_inset
24182
24183 .
24184 \end_layout
24185
24186 \begin_layout Standard
24187 \begin_inset VSpace defskip
24188 \end_inset
24189
24190 To use footnotes within tables, you have to use minipages, see section
24191 \begin_inset space ~
24192 \end_inset
24193
24194
24195 \begin_inset CommandInset ref
24196 LatexCommand ref
24197 reference "sec:Minipages"
24198
24199 \end_inset
24200
24201 .
24202  Footnotes within longtables are described in section
24203 \begin_inset space ~
24204 \end_inset
24205
24206
24207 \begin_inset CommandInset ref
24208 LatexCommand ref
24209 reference "sub:Footnotes-in-Longtables"
24210
24211 \end_inset
24212
24213 .
24214 \end_layout
24215
24216 \begin_layout Standard
24217 \begin_inset VSpace defskip
24218 \end_inset
24219
24220 To create only a mark for a footnote, use the command 
24221 \series bold
24222
24223 \backslash
24224 footnotemark[number]
24225 \series default
24226  in TeX-Code.
24227  This is used when you have the same annotation several times in a text
24228  but doesn't want to print the footnote text every time.
24229 \begin_inset Newline newline
24230 \end_inset
24231
24232 As you don't know the number of the repeating footnote while you are writing
24233  the text, you have to store its number.
24234  For the following footnote mark example, these commands were inserted in
24235  TeX-Code behind Footnote
24236 \begin_inset space ~
24237 \end_inset
24238
24239
24240 \begin_inset CommandInset ref
24241 LatexCommand ref
24242 reference "foot:This-is-an"
24243
24244 \end_inset
24245
24246  to store the footnote number:
24247 \end_layout
24248
24249 \begin_layout Standard
24250
24251 \series bold
24252
24253 \backslash
24254 newcounter{MyRepeatFoot}
24255 \begin_inset Newline newline
24256 \end_inset
24257
24258
24259 \backslash
24260 setcounter{MyRepeatFoot}{
24261 \backslash
24262 thefootnote}
24263 \end_layout
24264
24265 \begin_layout Standard
24266 The footnote mark was then created with this command:
24267 \end_layout
24268
24269 \begin_layout Standard
24270
24271 \series bold
24272
24273 \backslash
24274 footnotemark[
24275 \backslash
24276 theMyRepeatFoot]
24277 \end_layout
24278
24279 \begin_layout Standard
24280 Here is an example footnote mark:
24281 \family roman
24282 \series medium
24283 \bar no
24284
24285 \begin_inset ERT
24286 status collapsed
24287
24288 \begin_layout Plain Layout
24289
24290
24291 \backslash
24292 footnotemark[
24293 \backslash
24294 theMyRepeatFoot]
24295 \end_layout
24296
24297 \end_inset
24298
24299
24300 \end_layout
24301
24302 \begin_layout Subsection
24303 Footnote Numbering
24304 \begin_inset CommandInset label
24305 LatexCommand label
24306 name "sub:Footnote-Numbering"
24307
24308 \end_inset
24309
24310
24311 \begin_inset Index
24312 status collapsed
24313
24314 \begin_layout Plain Layout
24315 Footnotes ! Numbering
24316 \end_layout
24317
24318 \end_inset
24319
24320
24321 \end_layout
24322
24323 \begin_layout Standard
24324 To reset the footnote number back to 1 after each section
24325 \family roman
24326 , add this command to your document preamble:
24327 \end_layout
24328
24329 \begin_layout Standard
24330
24331 \series bold
24332
24333 \backslash
24334 @addtoreset{footnote}{section}
24335 \end_layout
24336
24337 \begin_layout Standard
24338 \begin_inset VSpace bigskip
24339 \end_inset
24340
24341 The following preamble command changes the footnote numbering style to small
24342  roman numerals:
24343 \end_layout
24344
24345 \begin_layout Standard
24346
24347 \series bold
24348
24349 \backslash
24350 renewcommand{
24351 \backslash
24352 thefootnote}{
24353 \backslash
24354 roman{footnote}}
24355 \end_layout
24356
24357 \begin_layout Standard
24358 \begin_inset ERT
24359 status collapsed
24360
24361 \begin_layout Plain Layout
24362
24363
24364 \backslash
24365 renewcommand{
24366 \backslash
24367 thefootnote}{
24368 \backslash
24369 roman{footnote}}
24370 \end_layout
24371
24372 \end_inset
24373
24374  This is a footnote with roman numbering:
24375 \begin_inset Foot
24376 status open
24377
24378 \begin_layout Plain Layout
24379 This is an example footnote with roman numbering.
24380 \end_layout
24381
24382 \end_inset
24383
24384
24385 \end_layout
24386
24387 \begin_layout Standard
24388 To change the numbering style to capital roman numerals replace in the command
24389  above 
24390 \series bold
24391
24392 \backslash
24393 roman
24394 \series default
24395  by 
24396 \series bold
24397
24398 \backslash
24399 Roman
24400 \series default
24401 .
24402  To 
24403 \begin_inset Quotes eld
24404 \end_inset
24405
24406 number
24407 \begin_inset Quotes erd
24408 \end_inset
24409
24410  footnotes with capital or small Latin letters use 
24411 \series bold
24412
24413 \backslash
24414 Alph
24415 \series default
24416  or 
24417 \series bold
24418
24419 \backslash
24420 alph
24421 \series default
24422 , respectively.
24423  To 
24424 \begin_inset Quotes eld
24425 \end_inset
24426
24427 number
24428 \begin_inset Quotes erd
24429 \end_inset
24430
24431  footnotes with symbols use 
24432 \series bold
24433
24434 \backslash
24435 fnsymbol
24436 \series default
24437 .
24438 \end_layout
24439
24440 \begin_layout Standard
24441 \begin_inset Note Greyedout
24442 status open
24443
24444 \begin_layout Plain Layout
24445
24446 \series bold
24447 Note:
24448 \series default
24449  You can only number 26 footnotes with Latin letters, because this numbering
24450  is limited to single letters.
24451 \end_layout
24452
24453 \end_inset
24454
24455
24456 \begin_inset Newline newline
24457 \end_inset
24458
24459
24460 \begin_inset Note Greyedout
24461 status open
24462
24463 \begin_layout Plain Layout
24464
24465 \series bold
24466 Note:
24467 \series default
24468  You can only number 9 footnotes with symbols.
24469 \end_layout
24470
24471 \end_inset
24472
24473
24474 \end_layout
24475
24476 \begin_layout Standard
24477 To return to the default numbering style when you changed to another one,
24478  use 
24479 \series bold
24480
24481 \backslash
24482 arabic
24483 \series default
24484  instead of 
24485 \series bold
24486
24487 \backslash
24488 roman
24489 \series default
24490  in the command above.
24491 \begin_inset ERT
24492 status collapsed
24493
24494 \begin_layout Plain Layout
24495
24496
24497 \backslash
24498 renewcommand{
24499 \backslash
24500 thefootnote}{
24501 \backslash
24502 arabic{footnote}}
24503 \end_layout
24504
24505 \end_inset
24506
24507
24508 \end_layout
24509
24510 \begin_layout Standard
24511 \begin_inset VSpace bigskip
24512 \end_inset
24513
24514
24515 \end_layout
24516
24517 \begin_layout Standard
24518 If you want to have footnotes numbered in the scheme 
24519 \begin_inset Quotes eld
24520 \end_inset
24521
24522 chapter.footnote
24523 \begin_inset Quotes erd
24524 \end_inset
24525
24526 , add the following command to your document preamble:
24527 \end_layout
24528
24529 \begin_layout Standard
24530
24531 \series bold
24532
24533 \backslash
24534 numberwithin{footnote}{chapter}
24535 \end_layout
24536
24537 \begin_layout Standard
24538 To be able to use the command 
24539 \series bold
24540
24541 \backslash
24542 numberwithin
24543 \series default
24544 , set in the tab 
24545 \family sans
24546 Math
24547 \begin_inset space ~
24548 \end_inset
24549
24550 Options
24551 \family default
24552  in the document settings the option 
24553 \family sans
24554 Use
24555 \begin_inset space ~
24556 \end_inset
24557
24558 AMS
24559 \begin_inset space ~
24560 \end_inset
24561
24562 math
24563 \begin_inset space ~
24564 \end_inset
24565
24566 package
24567 \family default
24568 .
24569 \end_layout
24570
24571 \begin_layout Standard
24572 \begin_inset ERT
24573 status collapsed
24574
24575 \begin_layout Plain Layout
24576
24577
24578 \backslash
24579 numberwithin{footnote}{chapter}
24580 \end_layout
24581
24582 \end_inset
24583
24584 This is another example footnote:
24585 \series bold
24586
24587 \begin_inset Foot
24588 status open
24589
24590 \begin_layout Plain Layout
24591 This is a footnote numbered in the scheme 
24592 \begin_inset Quotes eld
24593 \end_inset
24594
24595 chapter.footnote
24596 \begin_inset Quotes erd
24597 \end_inset
24598
24599 .
24600 \end_layout
24601
24602 \end_inset
24603
24604
24605 \series default
24606
24607 \begin_inset ERT
24608 status collapsed
24609
24610 \begin_layout Plain Layout
24611
24612
24613 \backslash
24614 renewcommand{
24615 \backslash
24616 thefootnote}{
24617 \backslash
24618 arabic{footnote}}
24619 \end_layout
24620
24621 \end_inset
24622
24623
24624 \end_layout
24625
24626 \begin_layout Standard
24627 \begin_inset Note Greyedout
24628 status open
24629
24630 \begin_layout Plain Layout
24631
24632 \series bold
24633 Note:
24634 \series default
24635  
24636 \series bold
24637
24638 \backslash
24639 numberwithin
24640 \series default
24641  always prints out the footnote number as arabic number; previous redefinitions
24642  to get non-arabic numbers are overwritten.
24643 \end_layout
24644
24645 \end_inset
24646
24647
24648 \end_layout
24649
24650 \begin_layout Standard
24651 So to get for example the scheme 
24652 \begin_inset Quotes eld
24653 \end_inset
24654
24655 chapter.
24656 \backslash
24657 Roman{footnote}
24658 \begin_inset Quotes erd
24659 \end_inset
24660
24661 , use this command instead of 
24662 \series bold
24663
24664 \backslash
24665 numberwithin
24666 \series default
24667 :
24668 \end_layout
24669
24670 \begin_layout Standard
24671
24672 \series bold
24673
24674 \backslash
24675 renewcommand{
24676 \backslash
24677 thefootnote}{
24678 \backslash
24679 thechapter.
24680 \backslash
24681 Roman{footnote}}
24682 \end_layout
24683
24684 \begin_layout Subsection
24685 Footnote Placement
24686 \begin_inset Index
24687 status collapsed
24688
24689 \begin_layout Plain Layout
24690 Footnotes ! Placement
24691 \end_layout
24692
24693 \end_inset
24694
24695
24696 \end_layout
24697
24698 \begin_layout Standard
24699 If you have several footnotes in one page, they appear without vertical
24700  space between them at the bottom of the page.
24701  To make them better readable you can e.
24702 \begin_inset space \thinspace{}
24703 \end_inset
24704
24705 g.
24706 \begin_inset space \space{}
24707 \end_inset
24708
24709 add 1.5
24710 \begin_inset space \thinspace{}
24711 \end_inset
24712
24713 mm space with the following preamble command:
24714 \end_layout
24715
24716 \begin_layout Standard
24717
24718 \series bold
24719
24720 \backslash
24721 let
24722 \backslash
24723 myFoot
24724 \backslash
24725 footnote
24726 \begin_inset Newline newline
24727 \end_inset
24728
24729
24730 \backslash
24731 renewcommand{
24732 \backslash
24733 footnote}[1]{
24734 \backslash
24735 myFoot{#1
24736 \backslash
24737 vspace{1.5mm}}}
24738 \end_layout
24739
24740 \begin_layout Standard
24741 \begin_inset VSpace bigskip
24742 \end_inset
24743
24744 In a two-column document the footnotes appear at the bottom of every column,
24745  see Figure
24746 \begin_inset space ~
24747 \end_inset
24748
24749
24750 \begin_inset CommandInset ref
24751 LatexCommand ref
24752 reference "fig:Standard-footnote-placement"
24753
24754 \end_inset
24755
24756 .
24757  If the footnotes should only appear at the bottom of the right column,
24758  as in Figure
24759 \begin_inset space ~
24760 \end_inset
24761
24762
24763 \begin_inset CommandInset ref
24764 LatexCommand ref
24765 reference "fig:Footnote-placement-in"
24766
24767 \end_inset
24768
24769 , use the LaTeX-package 
24770 \series bold
24771 ftnright
24772 \series default
24773
24774 \begin_inset Index
24775 status collapsed
24776
24777 \begin_layout Plain Layout
24778 LaTeX-packages ! ftnright
24779 \end_layout
24780
24781 \end_inset
24782
24783  with this command in the document preamble:
24784 \end_layout
24785
24786 \begin_layout Standard
24787
24788 \series bold
24789
24790 \backslash
24791 usepackage{ftnright}
24792 \end_layout
24793
24794 \begin_layout Standard
24795 \begin_inset Float figure
24796 placement !h
24797 wide false
24798 sideways false
24799 status open
24800
24801 \begin_layout Plain Layout
24802 \begin_inset ERT
24803 status collapsed
24804
24805 \begin_layout Plain Layout
24806
24807
24808 \backslash
24809 framebox{
24810 \end_layout
24811
24812 \end_inset
24813
24814
24815 \begin_inset Graphics
24816         filename clipart/without_fntright.pdf
24817         width 100col%
24818         scaleBeforeRotation
24819
24820 \end_inset
24821
24822
24823 \begin_inset ERT
24824 status collapsed
24825
24826 \begin_layout Plain Layout
24827
24828 }
24829 \end_layout
24830
24831 \end_inset
24832
24833
24834 \end_layout
24835
24836 \begin_layout Plain Layout
24837 \begin_inset Caption
24838
24839 \begin_layout Plain Layout
24840 \begin_inset CommandInset label
24841 LatexCommand label
24842 name "fig:Standard-footnote-placement"
24843
24844 \end_inset
24845
24846 Standard footnote placement in two-column documents.
24847 \end_layout
24848
24849 \end_inset
24850
24851
24852 \end_layout
24853
24854 \end_inset
24855
24856
24857 \end_layout
24858
24859 \begin_layout Standard
24860 \begin_inset Float figure
24861 placement !h
24862 wide false
24863 sideways false
24864 status open
24865
24866 \begin_layout Plain Layout
24867 \begin_inset ERT
24868 status collapsed
24869
24870 \begin_layout Plain Layout
24871
24872
24873 \backslash
24874 framebox{
24875 \end_layout
24876
24877 \end_inset
24878
24879
24880 \begin_inset Graphics
24881         filename clipart/with_fntright.pdf
24882         width 100col%
24883         scaleBeforeRotation
24884
24885 \end_inset
24886
24887
24888 \begin_inset ERT
24889 status collapsed
24890
24891 \begin_layout Plain Layout
24892
24893 }
24894 \end_layout
24895
24896 \end_inset
24897
24898
24899 \end_layout
24900
24901 \begin_layout Plain Layout
24902 \begin_inset Caption
24903
24904 \begin_layout Plain Layout
24905 \begin_inset CommandInset label
24906 LatexCommand label
24907 name "fig:Footnote-placement-in"
24908
24909 \end_inset
24910
24911 Footnote placement in two-column documents when the LaTeX-package 
24912 \series bold
24913 ftnright
24914 \series default
24915  is used.
24916 \end_layout
24917
24918 \end_inset
24919
24920
24921 \end_layout
24922
24923 \end_inset
24924
24925
24926 \end_layout
24927
24928 \begin_layout Standard
24929 \begin_inset VSpace bigskip
24930 \end_inset
24931
24932 In some scientific literature it is usual to collect the footnotes and print
24933  them in a separate paragraph at the the end of a section, like in Figure
24934 \begin_inset space ~
24935 \end_inset
24936
24937
24938 \begin_inset CommandInset ref
24939 LatexCommand ref
24940 reference "fig:Endnotes----footnotes"
24941
24942 \end_inset
24943
24944 .
24945  They are then so called 
24946 \begin_inset Quotes eld
24947 \end_inset
24948
24949 endnotes
24950 \begin_inset Quotes erd
24951 \end_inset
24952
24953 .
24954 \begin_inset Index
24955 status collapsed
24956
24957 \begin_layout Plain Layout
24958 Endnotes
24959 \end_layout
24960
24961 \end_inset
24962
24963  To use endnotes instead of footnotes in your document, load the LaTeX-package
24964  
24965 \series bold
24966 endnotes
24967 \series default
24968
24969 \begin_inset Index
24970 status collapsed
24971
24972 \begin_layout Plain Layout
24973 LaTeX-packages ! endnotes
24974 \end_layout
24975
24976 \end_inset
24977
24978  with the document preamble lines
24979 \end_layout
24980
24981 \begin_layout Standard
24982
24983 \series bold
24984
24985 \backslash
24986 usepackage{endnotes}
24987 \begin_inset Newline newline
24988 \end_inset
24989
24990
24991 \backslash
24992 let
24993 \backslash
24994 footnote
24995 \backslash
24996 endnote
24997 \end_layout
24998
24999 \begin_layout Standard
25000 To insert the collected footnotes, insert the command
25001 \end_layout
25002
25003 \begin_layout Standard
25004
25005 \series bold
25006
25007 \backslash
25008 theendnotes
25009 \end_layout
25010
25011 \begin_layout Standard
25012 in TeX-Code at the the end of a section or chapter.
25013 \end_layout
25014
25015 \begin_layout Standard
25016 \begin_inset Float figure
25017 wide false
25018 sideways false
25019 status open
25020
25021 \begin_layout Plain Layout
25022 \align center
25023 \begin_inset ERT
25024 status collapsed
25025
25026 \begin_layout Plain Layout
25027
25028
25029 \backslash
25030 framebox{
25031 \end_layout
25032
25033 \end_inset
25034
25035
25036 \begin_inset Graphics
25037         filename clipart/endnotes.pdf
25038         scaleBeforeRotation
25039
25040 \end_inset
25041
25042
25043 \begin_inset ERT
25044 status collapsed
25045
25046 \begin_layout Plain Layout
25047
25048 }
25049 \end_layout
25050
25051 \end_inset
25052
25053
25054 \end_layout
25055
25056 \begin_layout Plain Layout
25057 \begin_inset Caption
25058
25059 \begin_layout Plain Layout
25060 \begin_inset CommandInset label
25061 LatexCommand label
25062 name "fig:Endnotes----footnotes"
25063
25064 \end_inset
25065
25066 Endnotes -- footnotes are printed in a separate paragraph at the end of
25067  sections or chapters.
25068 \end_layout
25069
25070 \end_inset
25071
25072
25073 \end_layout
25074
25075 \end_inset
25076
25077
25078 \end_layout
25079
25080 \begin_layout Standard
25081 \begin_inset VSpace medskip
25082 \end_inset
25083
25084 The paragraph heading for the endnotes isn't automatically translated into
25085  the document language, this must be done manually.
25086  The following preamble command translate the default English name 
25087 \begin_inset Quotes eld
25088 \end_inset
25089
25090 Notes
25091 \begin_inset Quotes erd
25092 \end_inset
25093
25094  to the German translation 
25095 \begin_inset Quotes eld
25096 \end_inset
25097
25098 Anmerkungen
25099 \begin_inset Quotes erd
25100 \end_inset
25101
25102 :
25103 \end_layout
25104
25105 \begin_layout Standard
25106
25107 \series bold
25108
25109 \backslash
25110 renewcommand{
25111 \backslash
25112 notesname}{Anmerkungen}
25113 \end_layout
25114
25115 \begin_layout Standard
25116 \begin_inset VSpace medskip
25117 \end_inset
25118
25119 The numbering of endnotes can be changed like the footnote numbering as
25120  described in section
25121 \begin_inset space ~
25122 \end_inset
25123
25124
25125 \begin_inset CommandInset ref
25126 LatexCommand ref
25127 reference "sub:Footnote-Numbering"
25128
25129 \end_inset
25130
25131 ; just replace the command 
25132 \series bold
25133
25134 \backslash
25135 thefootnote
25136 \series default
25137  by 
25138 \series bold
25139
25140 \backslash
25141 theendnote
25142 \series default
25143 .
25144  To reset the endnote number use the command 
25145 \series bold
25146
25147 \backslash
25148 @addtoreset
25149 \series default
25150  as described in section
25151 \begin_inset space ~
25152 \end_inset
25153
25154
25155 \begin_inset CommandInset ref
25156 LatexCommand ref
25157 reference "sub:Footnote-Numbering"
25158
25159 \end_inset
25160
25161  and replace the command parameter 
25162 \series bold
25163 footnote
25164 \series default
25165  by 
25166 \series bold
25167 endnote
25168 \series default
25169 .
25170 \end_layout
25171
25172 \begin_layout Standard
25173 To create only a mark for an endnote, use the command 
25174 \series bold
25175
25176 \backslash
25177 endnotemark[number]
25178 \series default
25179  similar to the command 
25180 \series bold
25181
25182 \backslash
25183 footnotemark
25184 \series default
25185 , described in section
25186 \begin_inset space ~
25187 \end_inset
25188
25189
25190 \begin_inset CommandInset ref
25191 LatexCommand ref
25192 reference "sec:Footnotes"
25193
25194 \end_inset
25195
25196 .
25197 \end_layout
25198
25199 \begin_layout Standard
25200 \begin_inset VSpace bigskip
25201 \end_inset
25202
25203 Footnotes can also be placed in the page margin and the footnote text alignment
25204  can be changed, see the LaTeX-package 
25205 \series bold
25206 footmisc
25207 \series default
25208
25209 \begin_inset Index
25210 status collapsed
25211
25212 \begin_layout Plain Layout
25213 LaTeX-packages ! footmisc
25214 \end_layout
25215
25216 \end_inset
25217
25218
25219 \begin_inset CommandInset citation
25220 LatexCommand cite
25221 key "footmisc"
25222
25223 \end_inset
25224
25225  for more information about this.
25226 \end_layout
25227
25228 \begin_layout Standard
25229 For various further footnote formatting issues have a look at LaTeX-books,
25230  
25231 \begin_inset CommandInset citation
25232 LatexCommand cite
25233 key "latexcompanion,latexguide,latexbook"
25234
25235 \end_inset
25236
25237 .
25238 \end_layout
25239
25240 \begin_layout Section
25241 Margin Notes
25242 \begin_inset Index
25243 status collapsed
25244
25245 \begin_layout Plain Layout
25246 Notes ! Margin Notes
25247 \end_layout
25248
25249 \end_inset
25250
25251
25252 \end_layout
25253
25254 \begin_layout Standard
25255 Margin notes look and behave in LyX like footnotes.
25256  They are inserted via the menu 
25257 \family sans
25258 Insert\SpecialChar \menuseparator
25259 Marginal
25260 \begin_inset space ~
25261 \end_inset
25262
25263 Note
25264 \family default
25265  or the toolbar button 
25266 \begin_inset Graphics
25267         filename ../images/marginalnote-insert.png
25268         scale 85
25269         scaleBeforeRotation
25270
25271 \end_inset
25272
25273 .
25274  A grey 
25275 \family roman
25276 \series medium
25277 box with the
25278 \family default
25279 \series default
25280  red 
25281 \family roman
25282 \series medium
25283 label 
25284 \begin_inset Quotes eld
25285 \end_inset
25286
25287 margin
25288 \begin_inset Quotes erd
25289 \end_inset
25290
25291  appears where you can enter the text of the margin note.
25292 \end_layout
25293
25294 \begin_layout Standard
25295 At the side is an example margin note.
25296
25297 \family roman
25298 \series medium
25299  
25300 \begin_inset Marginal
25301 status open
25302
25303 \begin_layout Plain Layout
25304 This is a margin note.
25305 \end_layout
25306
25307 \end_inset
25308
25309
25310 \end_layout
25311
25312 \begin_layout Standard
25313 Margin notes appear at the right side in single-sided documents.
25314  In double-sided documents they appear in the outer margin -- left on even
25315  pages, right on odd pages.
25316  The text of margin notes is aligned opposite to the outer margin -- right-align
25317 ed when the note appears in the left margin.
25318  The first line of the margin note is placed at the position of the text
25319  line where it is inserted in the document.
25320 \end_layout
25321
25322 \begin_layout Standard
25323 \begin_inset VSpace bigskip
25324 \end_inset
25325
25326 To place the margin note in the inner margin, add the command
25327 \end_layout
25328
25329 \begin_layout Standard
25330
25331 \series bold
25332
25333 \backslash
25334 reversemarginpar
25335 \end_layout
25336
25337 \begin_layout Standard
25338 in TeX-Code before a margin note.
25339  The new placement is valid for all following margin notes.
25340  
25341 \begin_inset ERT
25342 status collapsed
25343
25344 \begin_layout Plain Layout
25345
25346
25347 \backslash
25348 reversemarginpar 
25349 \end_layout
25350
25351 \end_inset
25352
25353
25354 \begin_inset Marginal
25355 status open
25356
25357 \begin_layout Plain Layout
25358 This is a margin note in the inner margin.
25359 \end_layout
25360
25361 \end_inset
25362
25363
25364 \series bold
25365
25366 \begin_inset Newline newline
25367 \end_inset
25368
25369
25370 \series default
25371
25372 \begin_inset Note Greyedout
25373 status open
25374
25375 \begin_layout Plain Layout
25376
25377 \series bold
25378 Note:
25379 \series default
25380  There is often not enough space in the inner margin so that the notes are
25381  not correctly displayed in the output.
25382 \end_layout
25383
25384 \end_inset
25385
25386
25387 \end_layout
25388
25389 \begin_layout Standard
25390 To return to the default placement insert the command
25391 \end_layout
25392
25393 \begin_layout Standard
25394
25395 \series bold
25396
25397 \backslash
25398 normalmarginpar
25399 \end_layout
25400
25401 \begin_layout Standard
25402 in TeX-Code.
25403 \begin_inset ERT
25404 status collapsed
25405
25406 \begin_layout Plain Layout
25407
25408
25409 \backslash
25410 normalmarginpar 
25411 \end_layout
25412
25413 \end_inset
25414
25415  
25416 \begin_inset Note Greyedout
25417 status open
25418
25419 \begin_layout Plain Layout
25420
25421 \series bold
25422 Note:
25423 \series default
25424  The command is ignored when it is within a paragraph where also the command
25425  
25426 \series bold
25427
25428 \backslash
25429 reversemarginpar
25430 \series default
25431  is inserted.
25432 \end_layout
25433
25434 \end_inset
25435
25436
25437 \end_layout
25438
25439 \begin_layout Standard
25440 \begin_inset VSpace bigskip
25441 \end_inset
25442
25443
25444 \family roman
25445 \series medium
25446
25447 \begin_inset Marginal
25448 status open
25449
25450 \begin_layout Plain Layout
25451 AVeryLongMarginParWord that isn't hyphenated.
25452 \end_layout
25453
25454 \end_inset
25455
25456
25457 \family default
25458 \series default
25459  Similar to the case described in section
25460 \begin_inset space ~
25461 \end_inset
25462
25463
25464 \begin_inset CommandInset ref
25465 LatexCommand ref
25466 reference "sub:Multiple-Lines-in"
25467
25468 \end_inset
25469
25470 , long words cannot be hyphenated when they are the first word in a margin
25471  note.
25472  To avoid this, insert 0
25473 \begin_inset space \thinspace{}
25474 \end_inset
25475
25476 pt horizontal space before the word
25477 \family roman
25478 \series medium
25479 .
25480  
25481 \begin_inset Marginal
25482 status open
25483
25484 \begin_layout Plain Layout
25485 \begin_inset space \hspace*{}
25486 \length 0pt
25487 \end_inset
25488
25489 AVeryLongMarginParWord that is hyphenated.
25490 \end_layout
25491
25492 \end_inset
25493
25494
25495 \end_layout
25496
25497 \begin_layout Standard
25498 \begin_inset VSpace bigskip
25499 \end_inset
25500
25501
25502 \end_layout
25503
25504 \begin_layout Standard
25505 \begin_inset Note Greyedout
25506 status open
25507
25508 \begin_layout Plain Layout
25509
25510 \series bold
25511 Note:
25512 \series default
25513  Margin notes can normally not be used inside tables, floats, and footnotes.
25514 \end_layout
25515
25516 \end_inset
25517
25518
25519 \end_layout
25520
25521 \begin_layout Standard
25522 \begin_inset VSpace bigskip
25523 \end_inset
25524
25525
25526 \end_layout
25527
25528 \begin_layout Standard
25529 \begin_inset ERT
25530 status collapsed
25531
25532 \begin_layout Plain Layout
25533
25534
25535 \backslash
25536 ifmarginnote
25537 \end_layout
25538
25539 \end_inset
25540
25541
25542 \begin_inset Note Note
25543 status open
25544
25545 \begin_layout Plain Layout
25546 The following section will only be displayed when the LaTeX-package 
25547 \series bold
25548 marginnote
25549 \series default
25550  is installed.
25551 \end_layout
25552
25553 \end_inset
25554
25555
25556 \end_layout
25557
25558 \begin_layout Standard
25559 This restriction can be evaded by using the LaTeX-package 
25560 \series bold
25561 marginnote
25562 \series default
25563
25564 \begin_inset Index
25565 status collapsed
25566
25567 \begin_layout Plain Layout
25568 LaTeX-packages ! marginnote
25569 \end_layout
25570
25571 \end_inset
25572
25573 .
25574  By adding these two lines to your document preamble, the command used by
25575  LyX for margin notes is redefined to use the command provided by the 
25576 \series bold
25577 marginnote
25578 \series default
25579 -package:
25580 \end_layout
25581
25582 \begin_layout Standard
25583
25584 \series bold
25585
25586 \backslash
25587 usepackage{marginnote}
25588 \begin_inset Newline newline
25589 \end_inset
25590
25591
25592 \backslash
25593 let
25594 \backslash
25595 marginpar
25596 \backslash
25597 marginnote
25598 \end_layout
25599
25600 \begin_layout Standard
25601 This is also used in this document because 
25602 \series bold
25603 marginnote
25604 \series default
25605  has another useful feature: You can set a vertical offset for the note.
25606  This is often needed when too many margin notes are too close together
25607  or for a better page layout.
25608  The offset is set in LyX as TeX-Code directly behind the margin note in
25609  the scheme
25610 \end_layout
25611
25612 \begin_layout Standard
25613
25614 \series bold
25615 [offset]
25616 \end_layout
25617
25618 \begin_layout Standard
25619 where the offset is a length with one of the units listed in Table
25620 \begin_inset space ~
25621 \end_inset
25622
25623
25624 \begin_inset CommandInset ref
25625 LatexCommand ref
25626 reference "tab:Units"
25627
25628 \end_inset
25629
25630 .
25631  A negative value shifts the note up, a positive value shifts it down.
25632  
25633 \family roman
25634 \series medium
25635 For example the margin note beside this text line is shifted up 1.5
25636 \begin_inset space \thinspace{}
25637 \end_inset
25638
25639 cm with the TeX-Code-command 
25640 \begin_inset Quotes eld
25641 \end_inset
25642
25643
25644 \family default
25645 \series bold
25646 [-1.5cm]
25647 \family roman
25648 \series medium
25649
25650 \begin_inset Quotes erd
25651 \end_inset
25652
25653
25654 \begin_inset Marginal
25655 status open
25656
25657 \begin_layout Plain Layout
25658 This margin note is shifted up 1.5
25659 \begin_inset space \thinspace{}
25660 \end_inset
25661
25662 cm from its original position.
25663 \end_layout
25664
25665 \end_inset
25666
25667
25668 \family default
25669 \series default
25670
25671 \begin_inset ERT
25672 status collapsed
25673
25674 \begin_layout Plain Layout
25675
25676 [-1.5cm]
25677 \end_layout
25678
25679 \end_inset
25680
25681
25682 \end_layout
25683
25684 \begin_layout Standard
25685 \begin_inset VSpace medskip
25686 \end_inset
25687
25688 With 
25689 \series bold
25690 marginnote
25691 \series default
25692  you can also change the alignment of the text in the margin note.
25693  For example the commands
25694 \end_layout
25695
25696 \begin_layout Standard
25697
25698 \series bold
25699
25700 \backslash
25701 renewcommand*{
25702 \backslash
25703 raggedleftmarginnote}{
25704 \backslash
25705 centering}
25706 \begin_inset Newline newline
25707 \end_inset
25708
25709
25710 \backslash
25711 renewcommand*{
25712 \backslash
25713 raggedrightmarginnote}{
25714 \backslash
25715 centering}
25716 \end_layout
25717
25718 \begin_layout Standard
25719 set the alignment to centered.
25720  
25721 \series bold
25722
25723 \backslash
25724 raggedleftmarginnote
25725 \series default
25726  denotes margin notes that appear at the left side.
25727 \family roman
25728 \series medium
25729
25730 \begin_inset ERT
25731 status collapsed
25732
25733 \begin_layout Plain Layout
25734
25735
25736 \backslash
25737 renewcommand*{
25738 \backslash
25739 raggedleftmarginnote}{
25740 \backslash
25741 centering}
25742 \end_layout
25743
25744 \begin_layout Plain Layout
25745
25746
25747 \backslash
25748 renewcommand*{
25749 \backslash
25750 raggedrightmarginnote}{
25751 \backslash
25752 centering}
25753 \end_layout
25754
25755 \end_inset
25756
25757
25758 \begin_inset Marginal
25759 status open
25760
25761 \begin_layout Plain Layout
25762 The text of this margin note is centered.
25763 \end_layout
25764
25765 \end_inset
25766
25767
25768 \family default
25769 \series default
25770  The default is
25771 \end_layout
25772
25773 \begin_layout Standard
25774
25775 \series bold
25776
25777 \backslash
25778 renewcommand*{
25779 \backslash
25780 raggedleftmarginnote}{
25781 \backslash
25782 raggedleft}
25783 \begin_inset Newline newline
25784 \end_inset
25785
25786
25787 \backslash
25788 renewcommand*{
25789 \backslash
25790 raggedrightmarginnote}{
25791 \backslash
25792 raggedright}
25793 \family roman
25794 \series medium
25795
25796 \begin_inset ERT
25797 status collapsed
25798
25799 \begin_layout Plain Layout
25800
25801
25802 \backslash
25803 renewcommand*{
25804 \backslash
25805 raggedleftmarginnote}{
25806 \backslash
25807 raggedleft}
25808 \end_layout
25809
25810 \begin_layout Plain Layout
25811
25812
25813 \backslash
25814 renewcommand*{
25815 \backslash
25816 raggedrightmarginnote}{
25817 \backslash
25818 raggedright}
25819 \end_layout
25820
25821 \end_inset
25822
25823
25824 \end_layout
25825
25826 \begin_layout Standard
25827 \begin_inset VSpace medskip
25828 \end_inset
25829
25830 For the other features of 
25831 \series bold
25832 marginnote
25833 \series default
25834  we refer to its documentation 
25835 \begin_inset CommandInset citation
25836 LatexCommand cite
25837 key "marginnote"
25838
25839 \end_inset
25840
25841 .
25842 \end_layout
25843
25844 \begin_layout Standard
25845 \begin_inset VSpace bigskip
25846 \end_inset
25847
25848 You can adjust the layout of margin notes by changing its definition.
25849  To create for example a header for all margin notes with the underlined,
25850  sans-serif, and bold header text 
25851 \begin_inset Quotes eld
25852 \end_inset
25853
25854
25855 \family sans
25856 \series bold
25857 \bar under
25858 Attention!
25859 \family default
25860 \series default
25861 \bar default
25862
25863 \begin_inset Quotes erd
25864 \end_inset
25865
25866 , add this to your document preamble:
25867 \end_layout
25868
25869 \begin_layout Standard
25870
25871 \series bold
25872
25873 \backslash
25874 let
25875 \backslash
25876 myMarginpar
25877 \backslash
25878 marginpar
25879 \begin_inset Newline newline
25880 \end_inset
25881
25882
25883 \backslash
25884 renewcommand{
25885 \backslash
25886 marginpar}[1]{
25887 \backslash
25888 myMarginpar{%
25889 \begin_inset Newline newline
25890 \end_inset
25891
25892
25893 \begin_inset ERT
25894 status collapsed
25895
25896 \begin_layout Plain Layout
25897
25898
25899 \backslash
25900 hphantom{ }
25901 \end_layout
25902
25903 \end_inset
25904
25905
25906 \backslash
25907 hspace{0pt}
25908 \backslash
25909 textsf{
25910 \backslash
25911 textbf{
25912 \backslash
25913 underbar{Attention!}}}%
25914 \begin_inset Newline newline
25915 \end_inset
25916
25917
25918 \begin_inset ERT
25919 status collapsed
25920
25921 \begin_layout Plain Layout
25922
25923
25924 \backslash
25925 hphantom{ }
25926 \end_layout
25927
25928 \end_inset
25929
25930
25931 \backslash
25932 vspace{1.5mm}
25933 \backslash
25934
25935 \backslash
25936 #1}}
25937 \end_layout
25938
25939 \begin_layout Standard
25940
25941 \family roman
25942 \series medium
25943 \begin_inset ERT
25944 status collapsed
25945
25946 \begin_layout Plain Layout
25947
25948
25949 \backslash
25950 let
25951 \backslash
25952 myMarginpar
25953 \backslash
25954 marginpar
25955 \end_layout
25956
25957 \begin_layout Plain Layout
25958
25959
25960 \backslash
25961 renewcommand{
25962 \backslash
25963 marginpar}[1]{
25964 \backslash
25965 myMarginpar{%
25966 \end_layout
25967
25968 \begin_layout Plain Layout
25969
25970    
25971 \backslash
25972 textsf{
25973 \backslash
25974 textbf{
25975 \backslash
25976 underbar{Attention!}}}%
25977 \end_layout
25978
25979 \begin_layout Plain Layout
25980
25981    
25982 \backslash
25983 vspace{1.5mm}
25984 \backslash
25985
25986 \backslash
25987 #1}}
25988 \end_layout
25989
25990 \end_inset
25991
25992
25993 \begin_inset Marginal
25994 status open
25995
25996 \begin_layout Plain Layout
25997 This is a margin note with a defined heading.
25998 \end_layout
25999
26000 \end_inset
26001
26002
26003 \family default
26004 \series default
26005
26006 \begin_inset ERT
26007 status collapsed
26008
26009 \begin_layout Plain Layout
26010
26011 [-1.5cm]
26012 \end_layout
26013
26014 \end_inset
26015
26016
26017 \family roman
26018 \series medium
26019
26020 \begin_inset ERT
26021 status collapsed
26022
26023 \begin_layout Plain Layout
26024
26025
26026 \backslash
26027 renewcommand{
26028 \backslash
26029 marginpar}[1]{
26030 \backslash
26031 myMarginpar{#1}}
26032 \end_layout
26033
26034 \end_inset
26035
26036
26037 \family default
26038 \series default
26039
26040 \begin_inset Note Note
26041 status collapsed
26042
26043 \begin_layout Plain Layout
26044 The margin note format is changed only for this example.
26045 \end_layout
26046
26047 \end_inset
26048
26049
26050 \end_layout
26051
26052 \begin_layout Standard
26053 \begin_inset ERT
26054 status collapsed
26055
26056 \begin_layout Plain Layout
26057
26058
26059 \backslash
26060 else
26061 \end_layout
26062
26063 \end_inset
26064
26065
26066 \begin_inset Note Note
26067 status open
26068
26069 \begin_layout Plain Layout
26070 The following will be displayed when the LaTeX-package 
26071 \series bold
26072 marginnote
26073 \series default
26074  is not installed:
26075 \end_layout
26076
26077 \end_inset
26078
26079
26080 \end_layout
26081
26082 \begin_layout Standard
26083 You need to install the LaTeX-package 
26084 \series bold
26085 marginnote
26086 \series default
26087  to see the following part of this section in the output.
26088 \end_layout
26089
26090 \begin_layout Standard
26091 \begin_inset ERT
26092 status collapsed
26093
26094 \begin_layout Plain Layout
26095
26096
26097 \backslash
26098 fi
26099 \end_layout
26100
26101 \end_inset
26102
26103
26104 \end_layout
26105
26106 \begin_layout Chapter
26107 Boxes
26108 \end_layout
26109
26110 \begin_layout Section
26111 Introduction
26112 \begin_inset Index
26113 status collapsed
26114
26115 \begin_layout Plain Layout
26116 Boxes ! Introduction
26117 \end_layout
26118
26119 \end_inset
26120
26121
26122 \end_layout
26123
26124 \begin_layout Standard
26125 Boxes are used to format a block of text.
26126  Boxes can be used to write documents with multiple languages, see section
26127 \begin_inset space ~
26128 \end_inset
26129
26130
26131 \begin_inset CommandInset ref
26132 LatexCommand ref
26133 reference "sec:Minipages"
26134
26135 \end_inset
26136
26137 , to frame texts, see section
26138 \begin_inset space ~
26139 \end_inset
26140
26141
26142 \begin_inset CommandInset ref
26143 LatexCommand ref
26144 reference "sec:Decoration"
26145
26146 \end_inset
26147
26148 , to prevent words to be hyphenated, see section
26149 \begin_inset space ~
26150 \end_inset
26151
26152
26153 \begin_inset CommandInset ref
26154 LatexCommand ref
26155 reference "sec:Prevent-Hyphenation"
26156
26157 \end_inset
26158
26159 , to align text, see section
26160 \begin_inset space ~
26161 \end_inset
26162
26163
26164 \begin_inset CommandInset ref
26165 LatexCommand ref
26166 reference "sub:Vertical-Alignment"
26167
26168 \end_inset
26169
26170 , or to set the background color of texts, see section
26171 \begin_inset space ~
26172 \end_inset
26173
26174
26175 \begin_inset CommandInset ref
26176 LatexCommand ref
26177 reference "sec:Colored-Boxes"
26178
26179 \end_inset
26180
26181 .
26182 \end_layout
26183
26184 \begin_layout Standard
26185 Boxes can be inserted with the menu 
26186 \family sans
26187 Insert\SpecialChar \menuseparator
26188 Box
26189 \family default
26190  or the toolbar button 
26191 \begin_inset Graphics
26192         filename ../images/box-insert.png
26193         scale 85
26194         scaleBeforeRotation
26195
26196 \end_inset
26197
26198 .
26199  A grey box with the label 
26200 \family sans
26201 Box (Minipage)
26202 \family default
26203
26204 \begin_inset Graphics
26205         filename clipart/BoxInsetDefaultQt4.png
26206         scale 85
26207         scaleBeforeRotation
26208
26209 \end_inset
26210
26211  will be inserted.
26212  The box type can be specified by right-clicking on the box.
26213  The appearing box dialog offers the 
26214 \family sans
26215 Inner
26216 \begin_inset space ~
26217 \end_inset
26218
26219 Box
26220 \family default
26221  types 
26222 \family sans
26223 Parbox
26224 \family default
26225  and 
26226 \family sans
26227 Minipage
26228 \family default
26229 .
26230  The type 
26231 \family sans
26232 Minipage
26233 \family default
26234  is the default for new boxes and is explained in section
26235 \begin_inset space ~
26236 \end_inset
26237
26238
26239 \begin_inset CommandInset ref
26240 LatexCommand ref
26241 reference "sec:Minipages"
26242
26243 \end_inset
26244
26245 ; the type 
26246 \family sans
26247 Parbox
26248 \family default
26249  is described in section
26250 \begin_inset space ~
26251 \end_inset
26252
26253
26254 \begin_inset CommandInset ref
26255 LatexCommand ref
26256 reference "sec:Parboxes"
26257
26258 \end_inset
26259
26260 .
26261 \end_layout
26262
26263 \begin_layout Standard
26264 Boxes aren't numbered and can therefore not be referenced like floats or
26265  footnotes.
26266 \end_layout
26267
26268 \begin_layout Standard
26269 \begin_inset Note Greyedout
26270 status open
26271
26272 \begin_layout Plain Layout
26273
26274 \series bold
26275 Note:
26276 \series default
26277  Boxes must not be the item in an 
26278 \family sans
26279 Itemize
26280 \family default
26281  or 
26282 \family sans
26283 Description
26284 \family default
26285  environment.
26286 \end_layout
26287
26288 \end_inset
26289
26290
26291 \end_layout
26292
26293 \begin_layout Standard
26294 \begin_inset Note Greyedout
26295 status open
26296
26297 \begin_layout Plain Layout
26298
26299 \series bold
26300 Note:
26301 \series default
26302  For an unknown reason you can only set the 
26303 \family sans
26304 Inner
26305 \begin_inset space ~
26306 \end_inset
26307
26308 Box
26309 \family default
26310  type to 
26311 \family sans
26312 None
26313 \family default
26314  when you use a framed box.
26315  Boxes without an 
26316 \family sans
26317 Inner
26318 \begin_inset space ~
26319 \end_inset
26320
26321 Box
26322 \family default
26323  type and without frames are explained in section
26324 \begin_inset space ~
26325 \end_inset
26326
26327
26328 \begin_inset CommandInset ref
26329 LatexCommand ref
26330 reference "sec:Prevent-Hyphenation"
26331
26332 \end_inset
26333
26334 .
26335 \end_layout
26336
26337 \end_inset
26338
26339
26340 \end_layout
26341
26342 \begin_layout Section
26343 Box Dialog
26344 \begin_inset CommandInset label
26345 LatexCommand label
26346 name "sec:Box-Dialog"
26347
26348 \end_inset
26349
26350
26351 \begin_inset Index
26352 status collapsed
26353
26354 \begin_layout Plain Layout
26355 Boxes ! Box Dialog
26356 \end_layout
26357
26358 \end_inset
26359
26360
26361 \end_layout
26362
26363 \begin_layout Subsection
26364 Size
26365 \begin_inset Index
26366 status collapsed
26367
26368 \begin_layout Plain Layout
26369 Boxes ! Size
26370 \end_layout
26371
26372 \end_inset
26373
26374
26375 \end_layout
26376
26377 \begin_layout Standard
26378 In the box dialog you can adjust the box geometry in the fields 
26379 \family sans
26380 Width
26381 \family default
26382  and 
26383 \family sans
26384 Height
26385 \family default
26386 .
26387  The available units for the geometry are explained in Table
26388 \begin_inset space ~
26389 \end_inset
26390
26391
26392 \begin_inset CommandInset ref
26393 LatexCommand ref
26394 reference "tab:Units"
26395
26396 \end_inset
26397
26398 .
26399  The field 
26400 \family sans
26401 Heigth
26402 \family default
26403  offers the following additional sizes:
26404 \end_layout
26405
26406 \begin_layout Description
26407 Depth This is the plain text 
26408 \begin_inset Quotes eld
26409 \end_inset
26410
26411 height
26412 \begin_inset Quotes erd
26413 \end_inset
26414
26415 .
26416  It ignores the total depth when there are multiple text lines in the box:
26417 \begin_inset Newline newline
26418 \end_inset
26419
26420
26421 \begin_inset Newline newline
26422 \end_inset
26423
26424
26425 \begin_inset Newline newline
26426 \end_inset
26427
26428
26429 \begin_inset Box Boxed
26430 position "c"
26431 hor_pos "c"
26432 has_inner_box 1
26433 inner_pos "c"
26434 use_parbox 0
26435 width "12col%"
26436 special "none"
26437 height "1in"
26438 height_special "depth"
26439 status collapsed
26440
26441 \begin_layout Plain Layout
26442 \align center
26443 Box height set to 1
26444 \begin_inset space \thinspace{}
26445 \end_inset
26446
26447 Depth
26448 \end_layout
26449
26450 \end_inset
26451
26452
26453 \begin_inset Newline newline
26454 \end_inset
26455
26456
26457 \begin_inset Newline newline
26458 \end_inset
26459
26460
26461 \end_layout
26462
26463 \begin_layout Description
26464 Height This is the heigth of the text that is inside the box.
26465  A value of e.
26466 \begin_inset space \thinspace{}
26467 \end_inset
26468
26469 g.
26470 \begin_inset space \space{}
26471 \end_inset
26472
26473 2 for this size will set the box heigth to 2 times the text height: 
26474 \begin_inset Box Boxed
26475 position "c"
26476 hor_pos "c"
26477 has_inner_box 1
26478 inner_pos "c"
26479 use_parbox 0
26480 width "20col%"
26481 special "none"
26482 height "2in"
26483 height_special "height"
26484 status collapsed
26485
26486 \begin_layout Plain Layout
26487 \align center
26488 Box height set to 2
26489 \begin_inset space \thinspace{}
26490 \end_inset
26491
26492 Height
26493 \end_layout
26494
26495 \end_inset
26496
26497
26498 \end_layout
26499
26500 \begin_layout Description
26501 Total
26502 \begin_inset space ~
26503 \end_inset
26504
26505 Height This is the Height
26506 \begin_inset space \thinspace{}
26507 \end_inset
26508
26509 +
26510 \begin_inset space \thinspace{}
26511 \end_inset
26512
26513 Depth: 
26514 \begin_inset Box Boxed
26515 position "c"
26516 hor_pos "c"
26517 has_inner_box 1
26518 inner_pos "c"
26519 use_parbox 0
26520 width "20col%"
26521 special "none"
26522 height "1in"
26523 height_special "totalheight"
26524 status collapsed
26525
26526 \begin_layout Plain Layout
26527 \align center
26528 Box height set to 1
26529 \begin_inset space \thinspace{}
26530 \end_inset
26531
26532 Total
26533 \begin_inset space ~
26534 \end_inset
26535
26536 Height
26537 \end_layout
26538
26539 \end_inset
26540
26541
26542 \end_layout
26543
26544 \begin_layout Description
26545 Width This sets the width of the box as heigth: 
26546 \begin_inset Box Boxed
26547 position "c"
26548 hor_pos "c"
26549 has_inner_box 1
26550 inner_pos "c"
26551 use_parbox 0
26552 width "12col%"
26553 special "none"
26554 height "1in"
26555 height_special "width"
26556 status collapsed
26557
26558 \begin_layout Plain Layout
26559 \align center
26560 Box height set to 1
26561 \begin_inset space \thinspace{}
26562 \end_inset
26563
26564 Width
26565 \end_layout
26566
26567 \end_inset
26568
26569
26570 \end_layout
26571
26572 \begin_layout Subsection
26573 Alignment
26574 \begin_inset Index
26575 status collapsed
26576
26577 \begin_layout Plain Layout
26578 Boxes ! Alignment
26579 \end_layout
26580
26581 \end_inset
26582
26583
26584 \end_layout
26585
26586 \begin_layout Standard
26587 When you have chosen an 
26588 \family sans
26589 Inner
26590 \begin_inset space ~
26591 \end_inset
26592
26593 Box
26594 \family default
26595 , the vertical box alignment can be:
26596 \end_layout
26597
26598 \begin_layout Description
26599 Top This is an example text line.
26600  
26601 \begin_inset Box Boxed
26602 position "t"
26603 hor_pos "c"
26604 has_inner_box 1
26605 inner_pos "c"
26606 use_parbox 0
26607 width "12col%"
26608 special "none"
26609 height "1in"
26610 height_special "totalheight"
26611 status collapsed
26612
26613 \begin_layout Plain Layout
26614 \align center
26615 This box is top-aligned.
26616 \end_layout
26617
26618 \end_inset
26619
26620  This is an example text line.
26621 \end_layout
26622
26623 \begin_layout Description
26624 Middle This is an example text line.
26625  
26626 \begin_inset Box Boxed
26627 position "c"
26628 hor_pos "c"
26629 has_inner_box 1
26630 inner_pos "c"
26631 use_parbox 0
26632 width "12col%"
26633 special "none"
26634 height "1in"
26635 height_special "totalheight"
26636 status collapsed
26637
26638 \begin_layout Plain Layout
26639 \align center
26640 This box is middle-aligned.
26641 \end_layout
26642
26643 \end_inset
26644
26645  This is an example text line.
26646 \end_layout
26647
26648 \begin_layout Description
26649 Bottom This is an example text line.
26650  
26651 \begin_inset Box Boxed
26652 position "b"
26653 hor_pos "c"
26654 has_inner_box 1
26655 inner_pos "c"
26656 use_parbox 0
26657 width "12col%"
26658 special "none"
26659 height "1in"
26660 height_special "totalheight"
26661 status collapsed
26662
26663 \begin_layout Plain Layout
26664 \align center
26665 This box is bottom-aligned.
26666 \end_layout
26667
26668 \end_inset
26669
26670  This is an example text line.
26671 \end_layout
26672
26673 \begin_layout Standard
26674 \begin_inset Note Greyedout
26675 status open
26676
26677 \begin_layout Plain Layout
26678
26679 \series bold
26680 Note:
26681 \series default
26682  The vertical box aligment can be lost in the output when you have two boxes
26683  in a line and one has e.
26684 \begin_inset space \thinspace{}
26685 \end_inset
26686
26687 g.
26688 \begin_inset space \space{}
26689 \end_inset
26690
26691 a shadow and the other one not.
26692 \end_layout
26693
26694 \end_inset
26695
26696
26697 \end_layout
26698
26699 \begin_layout Standard
26700 The horizontal box alignment can be set via LyX's paragraph dialog when
26701  you set the box into its own paragraph.
26702 \end_layout
26703
26704 \begin_layout Standard
26705 \begin_inset VSpace bigskip
26706 \end_inset
26707
26708 When you have chosen an 
26709 \family sans
26710 Inner
26711 \begin_inset space ~
26712 \end_inset
26713
26714 Box
26715 \family default
26716 , the box content can be vertical aligned to:
26717 \end_layout
26718
26719 \begin_layout Description
26720 top This is an example text line.
26721  
26722 \begin_inset Box Boxed
26723 position "c"
26724 hor_pos "c"
26725 has_inner_box 1
26726 inner_pos "t"
26727 use_parbox 0
26728 width "12col%"
26729 special "none"
26730 height "1.5in"
26731 height_special "totalheight"
26732 status collapsed
26733
26734 \begin_layout Plain Layout
26735 \align center
26736 This box text is top-aligned.
26737 \end_layout
26738
26739 \end_inset
26740
26741  This is an example text line.
26742 \end_layout
26743
26744 \begin_layout Description
26745 middle This is an example text line.
26746  
26747 \begin_inset Box Boxed
26748 position "c"
26749 hor_pos "c"
26750 has_inner_box 1
26751 inner_pos "c"
26752 use_parbox 0
26753 width "12col%"
26754 special "none"
26755 height "1.5in"
26756 height_special "totalheight"
26757 status collapsed
26758
26759 \begin_layout Plain Layout
26760 \align center
26761 This box text is middle-aligned.
26762 \end_layout
26763
26764 \end_inset
26765
26766  This is an example text line.
26767 \end_layout
26768
26769 \begin_layout Description
26770 bottom This is an example text line.
26771  
26772 \begin_inset Box Boxed
26773 position "c"
26774 hor_pos "c"
26775 has_inner_box 1
26776 inner_pos "b"
26777 use_parbox 0
26778 width "12col%"
26779 special "none"
26780 height "1.5in"
26781 height_special "totalheight"
26782 status collapsed
26783
26784 \begin_layout Plain Layout
26785 \align center
26786 This box text is bottom-aligned.
26787 \end_layout
26788
26789 \end_inset
26790
26791  This is an example text line.
26792 \end_layout
26793
26794 \begin_layout Description
26795 stretch This is an example text line.
26796  
26797 \begin_inset Box Boxed
26798 position "c"
26799 hor_pos "c"
26800 has_inner_box 1
26801 inner_pos "s"
26802 use_parbox 0
26803 width "12col%"
26804 special "none"
26805 height "1.5in"
26806 height_special "totalheight"
26807 status collapsed
26808
26809 \begin_layout Plain Layout
26810 \align center
26811 This box
26812 \end_layout
26813
26814 \begin_layout Plain Layout
26815 \align center
26816 text is
26817 \end_layout
26818
26819 \begin_layout Plain Layout
26820 \align center
26821 stretched.
26822 \end_layout
26823
26824 \end_inset
26825
26826  This is an example text line.
26827 \end_layout
26828
26829 \begin_layout Standard
26830 To stretch the box content, it must consist of more than one paragraph.
26831  In the example above every text line is in an own paragraph.
26832 \end_layout
26833
26834 \begin_layout Standard
26835 \begin_inset VSpace bigskip
26836 \end_inset
26837
26838 To align the box content horizontally you can use LyX's paragraph dialog
26839  when you have chosen an 
26840 \family sans
26841 Inner
26842 \begin_inset space ~
26843 \end_inset
26844
26845 Box
26846 \family default
26847 .
26848 \end_layout
26849
26850 \begin_layout Standard
26851 \align center
26852 \begin_inset Box Boxed
26853 position "c"
26854 hor_pos "c"
26855 has_inner_box 1
26856 inner_pos "s"
26857 use_parbox 0
26858 width "15col%"
26859 special "none"
26860 height "1.25in"
26861 height_special "totalheight"
26862 status collapsed
26863
26864 \begin_layout Plain Layout
26865 \align left
26866 This box
26867 \end_layout
26868
26869 \begin_layout Plain Layout
26870 \align center
26871 text is
26872 \end_layout
26873
26874 \begin_layout Plain Layout
26875 \align right
26876 stretched.
26877 \end_layout
26878
26879 \end_inset
26880
26881
26882 \end_layout
26883
26884 \begin_layout Standard
26885 If you haven't set an 
26886 \family sans
26887 Inner
26888 \begin_inset space ~
26889 \end_inset
26890
26891 Box
26892 \family default
26893 , you can align the box content horizontally in the box dialog.
26894 \end_layout
26895
26896 \begin_layout Standard
26897 \align center
26898 \begin_inset Box Boxed
26899 position "c"
26900 hor_pos "s"
26901 has_inner_box 0
26902 inner_pos "s"
26903 use_parbox 0
26904 width "90col%"
26905 special "none"
26906 height "1.25in"
26907 height_special "totalheight"
26908 status collapsed
26909
26910 \begin_layout Plain Layout
26911 \align left
26912 This box text is horizontally stretched.
26913 \end_layout
26914
26915 \end_inset
26916
26917
26918 \end_layout
26919
26920 \begin_layout Subsection
26921 Decoration
26922 \begin_inset CommandInset label
26923 LatexCommand label
26924 name "sec:Decoration"
26925
26926 \end_inset
26927
26928
26929 \begin_inset Index
26930 status collapsed
26931
26932 \begin_layout Plain Layout
26933 Boxes ! Decoration
26934 \end_layout
26935
26936 \end_inset
26937
26938
26939 \end_layout
26940
26941 \begin_layout Standard
26942 The type of the box can be specified in the box-dialog in the drop-down
26943  list 
26944 \family sans
26945 Decoration
26946 \family default
26947 .
26948  The following types are possible:
26949 \end_layout
26950
26951 \begin_layout Description
26952 Simple
26953 \begin_inset space ~
26954 \end_inset
26955
26956 rectangular
26957 \begin_inset space ~
26958 \end_inset
26959
26960 frame This draws a rectangle frame around the box.
26961  The frame line thickness has the size of 
26962 \series bold
26963
26964 \backslash
26965 fboxrule
26966 \series default
26967 .
26968  
26969 \begin_inset Box Boxed
26970 position "c"
26971 hor_pos "c"
26972 has_inner_box 1
26973 inner_pos "c"
26974 use_parbox 0
26975 width "20col%"
26976 special "none"
26977 height "1in"
26978 height_special "totalheight"
26979 status collapsed
26980
26981 \begin_layout Plain Layout
26982 \align center
26983 Rectangular box
26984 \end_layout
26985
26986 \end_inset
26987
26988
26989 \end_layout
26990
26991 \begin_layout Description
26992 Allow
26993 \begin_inset space ~
26994 \end_inset
26995
26996 page
26997 \begin_inset space ~
26998 \end_inset
26999
27000 break When you use the decoration 
27001 \family sans
27002 simple rectangular frame
27003 \family default
27004  and no inner box, you can allow page breaks within a box.
27005  Note that then, in contrary to other framed boxes, the frame always uses
27006  the whole column width, the box is set as its own paragraph, and 
27007 \series bold
27008
27009 \backslash
27010 fboxrule
27011 \series default
27012  and 
27013 \series bold
27014
27015 \backslash
27016 fboxsep
27017 \series default
27018  has no effect on this box type.
27019  The frame line thickness has the size of 
27020 \series bold
27021
27022 \backslash
27023 FrameRule
27024 \series default
27025 .
27026  
27027 \begin_inset Box Framed
27028 position "t"
27029 hor_pos "c"
27030 has_inner_box 0
27031 inner_pos "t"
27032 use_parbox 0
27033 width "100col%"
27034 special "none"
27035 height "1in"
27036 height_special "totalheight"
27037 status collapsed
27038
27039 \begin_layout Plain Layout
27040 Allow page break box
27041 \end_layout
27042
27043 \end_inset
27044
27045
27046 \end_layout
27047
27048 \begin_layout Description
27049 Oval
27050 \begin_inset space ~
27051 \end_inset
27052
27053 box,
27054 \begin_inset space ~
27055 \end_inset
27056
27057 thin This draws an oval frame around the box.
27058  The frame line thickness has the size 0.4
27059 \begin_inset space \thinspace{}
27060 \end_inset
27061
27062 pt.
27063  
27064 \begin_inset Box ovalbox
27065 position "c"
27066 hor_pos "c"
27067 has_inner_box 1
27068 inner_pos "c"
27069 use_parbox 0
27070 width "20col%"
27071 special "none"
27072 height "1in"
27073 height_special "totalheight"
27074 status collapsed
27075
27076 \begin_layout Plain Layout
27077 \align center
27078 Oval box, thin
27079 \end_layout
27080
27081 \end_inset
27082
27083
27084 \end_layout
27085
27086 \begin_layout Description
27087 Oval
27088 \begin_inset space ~
27089 \end_inset
27090
27091 box,
27092 \begin_inset space ~
27093 \end_inset
27094
27095 thick This draws an oval frame around the box.
27096  The frame line thickness has the size 0.8
27097 \begin_inset space \thinspace{}
27098 \end_inset
27099
27100 pt.
27101  
27102 \begin_inset Box Ovalbox
27103 position "c"
27104 hor_pos "c"
27105 has_inner_box 1
27106 inner_pos "c"
27107 use_parbox 0
27108 width "20col%"
27109 special "none"
27110 height "1in"
27111 height_special "totalheight"
27112 status collapsed
27113
27114 \begin_layout Plain Layout
27115 \align center
27116 Oval box, thick
27117 \end_layout
27118
27119 \end_inset
27120
27121
27122 \end_layout
27123
27124 \begin_layout Description
27125 Drop
27126 \begin_inset space ~
27127 \end_inset
27128
27129 shadow This draws a rectangle frame with a shadow around the box.
27130  The frame line thickness has the size of 
27131 \series bold
27132
27133 \backslash
27134 fboxrule
27135 \series default
27136 , the shadow has a width of 4
27137 \begin_inset space \thinspace{}
27138 \end_inset
27139
27140 pt.
27141  
27142 \begin_inset Box Shadowbox
27143 position "c"
27144 hor_pos "c"
27145 has_inner_box 1
27146 inner_pos "c"
27147 use_parbox 0
27148 width "20col%"
27149 special "none"
27150 height "1in"
27151 height_special "totalheight"
27152 status collapsed
27153
27154 \begin_layout Plain Layout
27155 \align center
27156 Shadow box
27157 \end_layout
27158
27159 \end_inset
27160
27161
27162 \end_layout
27163
27164 \begin_layout Description
27165 Shaded
27166 \begin_inset space ~
27167 \end_inset
27168
27169 background This draws a box with red background color.
27170  In contrary to colored boxes
27171 \begin_inset Foot
27172 status collapsed
27173
27174 \begin_layout Plain Layout
27175 see sec.
27176 \begin_inset space \thinspace{}
27177 \end_inset
27178
27179
27180 \begin_inset CommandInset ref
27181 LatexCommand ref
27182 reference "sec:Colored-Boxes"
27183
27184 \end_inset
27185
27186
27187 \end_layout
27188
27189 \end_inset
27190
27191 , it always uses the whole column width and the box is set as its own paragraph.
27192  
27193 \begin_inset Box Shaded
27194 position "t"
27195 hor_pos "c"
27196 has_inner_box 0
27197 inner_pos "t"
27198 use_parbox 0
27199 width "50col%"
27200 special "none"
27201 height "1in"
27202 height_special "totalheight"
27203 status collapsed
27204
27205 \begin_layout Plain Layout
27206 Shaded background box
27207 \end_layout
27208
27209 \end_inset
27210
27211
27212 \end_layout
27213
27214 \begin_layout Description
27215 Double
27216 \begin_inset space ~
27217 \end_inset
27218
27219 rectangular
27220 \begin_inset space ~
27221 \end_inset
27222
27223 frame This draws a double-line rectangle frame around the box.
27224  The line thickness of the inner frame is 0.75
27225 \begin_inset space \thinspace{}
27226 \end_inset
27227
27228
27229 \series bold
27230
27231 \backslash
27232 fboxrule
27233 \series default
27234 , the thickness of the outer frame is 1.5
27235 \begin_inset space \thinspace{}
27236 \end_inset
27237
27238
27239 \series bold
27240
27241 \backslash
27242 fboxrule
27243 \series default
27244 .
27245  The distance between the lines is 1.5
27246 \begin_inset space \thinspace{}
27247 \end_inset
27248
27249
27250 \series bold
27251
27252 \backslash
27253 fboxrule
27254 \series default
27255
27256 \begin_inset space \thinspace{}
27257 \end_inset
27258
27259 +
27260 \begin_inset space \thinspace{}
27261 \end_inset
27262
27263 0.5
27264 \begin_inset space \thinspace{}
27265 \end_inset
27266
27267 pt.
27268  
27269 \begin_inset Box Doublebox
27270 position "c"
27271 hor_pos "c"
27272 has_inner_box 1
27273 inner_pos "c"
27274 use_parbox 0
27275 width "20col%"
27276 special "none"
27277 height "1in"
27278 height_special "totalheight"
27279 status collapsed
27280
27281 \begin_layout Plain Layout
27282 \align center
27283 Double rectangular box
27284 \end_layout
27285
27286 \end_inset
27287
27288
27289 \end_layout
27290
27291 \begin_layout Standard
27292 \begin_inset VSpace bigskip
27293 \end_inset
27294
27295 LyX's box label will reflect the different frame types.
27296  To be able to use all types, the LaTeX-package 
27297 \series bold
27298 fancybox
27299 \series default
27300
27301 \begin_inset Index
27302 status collapsed
27303
27304 \begin_layout Plain Layout
27305 LaTeX-packages ! fancybox
27306 \end_layout
27307
27308 \end_inset
27309
27310  must be installed.
27311 \end_layout
27312
27313 \begin_layout Section
27314 Box customization
27315 \begin_inset Index
27316 status collapsed
27317
27318 \begin_layout Plain Layout
27319 Boxes ! Customization
27320 \end_layout
27321
27322 \end_inset
27323
27324
27325 \end_layout
27326
27327 \begin_layout Standard
27328 The default value for the size 
27329 \series bold
27330
27331 \backslash
27332 fboxrule
27333 \series default
27334  is 0.4
27335 \begin_inset space \thinspace{}
27336 \end_inset
27337
27338 pt.
27339  It can be changed with the following command in TeX-Code to e.
27340 \begin_inset space \thinspace{}
27341 \end_inset
27342
27343 g.
27344 \begin_inset space \space{}
27345 \end_inset
27346
27347 2
27348 \begin_inset space \thinspace{}
27349 \end_inset
27350
27351 pt:
27352 \end_layout
27353
27354 \begin_layout Standard
27355
27356 \series bold
27357
27358 \backslash
27359 setlength{
27360 \backslash
27361 fboxrule}{2pt}
27362 \end_layout
27363
27364 \begin_layout Standard
27365 \begin_inset ERT
27366 status collapsed
27367
27368 \begin_layout Plain Layout
27369
27370
27371 \backslash
27372 setlength{
27373 \backslash
27374 fboxrule}{2pt}
27375 \end_layout
27376
27377 \end_inset
27378
27379
27380 \begin_inset Box Boxed
27381 position "c"
27382 hor_pos "c"
27383 has_inner_box 1
27384 inner_pos "c"
27385 use_parbox 0
27386 width "25col%"
27387 special "none"
27388 height "1in"
27389 height_special "totalheight"
27390 status open
27391
27392 \begin_layout Plain Layout
27393 \align center
27394 Rectangular box with 
27395 \series bold
27396
27397 \backslash
27398 fboxrule
27399 \series default
27400
27401 \begin_inset space \thinspace{}
27402 \end_inset
27403
27404 =
27405 \begin_inset space \thinspace{}
27406 \end_inset
27407
27408 2
27409 \begin_inset space \thinspace{}
27410 \end_inset
27411
27412 pt
27413 \end_layout
27414
27415 \end_inset
27416
27417
27418 \begin_inset ERT
27419 status collapsed
27420
27421 \begin_layout Plain Layout
27422
27423
27424 \backslash
27425 setlength{
27426 \backslash
27427 fboxrule}{0.4pt}
27428 \end_layout
27429
27430 \end_inset
27431
27432
27433 \end_layout
27434
27435 \begin_layout Standard
27436 \begin_inset VSpace bigskip
27437 \end_inset
27438
27439 The space between the frame and the box content is for all frame styles
27440  by default 3
27441 \begin_inset space \thinspace{}
27442 \end_inset
27443
27444 pt.
27445  You can change it by setting the length 
27446 \series bold
27447
27448 \backslash
27449 fboxsep
27450 \series default
27451  to another value.
27452  For example the command
27453 \end_layout
27454
27455 \begin_layout Standard
27456
27457 \series bold
27458
27459 \backslash
27460 setlength{
27461 \backslash
27462 fboxsep}{10pt}
27463 \end_layout
27464
27465 \begin_layout Standard
27466 sets the value to 10
27467 \begin_inset space \thinspace{}
27468 \end_inset
27469
27470 pt, like for the following box:
27471 \end_layout
27472
27473 \begin_layout Standard
27474 \begin_inset ERT
27475 status collapsed
27476
27477 \begin_layout Plain Layout
27478
27479
27480 \backslash
27481 setlength{
27482 \backslash
27483 fboxsep}{10pt}
27484 \end_layout
27485
27486 \end_inset
27487
27488
27489 \begin_inset Box Boxed
27490 position "c"
27491 hor_pos "c"
27492 has_inner_box 1
27493 inner_pos "c"
27494 use_parbox 0
27495 width "25col%"
27496 special "none"
27497 height "1in"
27498 height_special "totalheight"
27499 status open
27500
27501 \begin_layout Plain Layout
27502 \align center
27503 Rectangular box with 
27504 \series bold
27505
27506 \backslash
27507 fboxsep
27508 \series default
27509
27510 \begin_inset space \thinspace{}
27511 \end_inset
27512
27513 =
27514 \begin_inset space \thinspace{}
27515 \end_inset
27516
27517 10
27518 \begin_inset space \thinspace{}
27519 \end_inset
27520
27521 pt
27522 \end_layout
27523
27524 \end_inset
27525
27526
27527 \begin_inset ERT
27528 status collapsed
27529
27530 \begin_layout Plain Layout
27531
27532
27533 \backslash
27534 setlength{
27535 \backslash
27536 fboxsep}{3pt}
27537 \end_layout
27538
27539 \end_inset
27540
27541
27542 \end_layout
27543
27544 \begin_layout Standard
27545 \begin_inset VSpace bigskip
27546 \end_inset
27547
27548 The diameter of the round corners of the oval boxes can be set with the
27549  command 
27550 \series bold
27551
27552 \backslash
27553 cornersize
27554 \series default
27555 .
27556  The command
27557 \end_layout
27558
27559 \begin_layout Standard
27560
27561 \series bold
27562
27563 \backslash
27564 cornersize*{1cm}
27565 \end_layout
27566
27567 \begin_layout Standard
27568 sets the diameter to 1
27569 \begin_inset space \thinspace{}
27570 \end_inset
27571
27572 cm.
27573  The command
27574 \end_layout
27575
27576 \begin_layout Standard
27577
27578 \series bold
27579
27580 \backslash
27581 cornersize{num}
27582 \end_layout
27583
27584 \begin_layout Standard
27585 sets the diameter to 
27586 \family sans
27587 num
27588 \begin_inset space \thinspace{}
27589 \end_inset
27590
27591 ×
27592 \begin_inset space \thinspace{}
27593 \end_inset
27594
27595 minimum(width and heigth of box)
27596 \family default
27597 .
27598  The default is 
27599 \series bold
27600
27601 \backslash
27602 cornersize{0.5}
27603 \series default
27604 .
27605 \end_layout
27606
27607 \begin_layout Standard
27608 \begin_inset ERT
27609 status collapsed
27610
27611 \begin_layout Plain Layout
27612
27613
27614 \backslash
27615 cornersize*{1.5cm}
27616 \end_layout
27617
27618 \end_inset
27619
27620
27621 \begin_inset Box Ovalbox
27622 position "c"
27623 hor_pos "c"
27624 has_inner_box 1
27625 inner_pos "c"
27626 use_parbox 0
27627 width "25col%"
27628 special "none"
27629 height "1in"
27630 height_special "totalheight"
27631 status open
27632
27633 \begin_layout Plain Layout
27634 \align center
27635 Oval box with 
27636 \series bold
27637
27638 \backslash
27639 cornersize
27640 \series default
27641
27642 \begin_inset space \thinspace{}
27643 \end_inset
27644
27645 =
27646 \begin_inset space \thinspace{}
27647 \end_inset
27648
27649 1.5
27650 \begin_inset space \thinspace{}
27651 \end_inset
27652
27653 cm
27654 \end_layout
27655
27656 \end_inset
27657
27658
27659 \begin_inset ERT
27660 status collapsed
27661
27662 \begin_layout Plain Layout
27663
27664
27665 \backslash
27666 cornersize{0.5}
27667 \end_layout
27668
27669 \end_inset
27670
27671
27672 \end_layout
27673
27674 \begin_layout Standard
27675 \begin_inset VSpace bigskip
27676 \end_inset
27677
27678 The size of the shadow can be adjusted by changing the length 
27679 \series bold
27680
27681 \backslash
27682 shadowsize
27683 \series default
27684 .
27685  It it set to 2
27686 \begin_inset space \thinspace{}
27687 \end_inset
27688
27689 pt for the following box by this command:
27690 \end_layout
27691
27692 \begin_layout Standard
27693
27694 \series bold
27695
27696 \backslash
27697 setlength{
27698 \backslash
27699 shadowsize}{2pt}
27700 \end_layout
27701
27702 \begin_layout Standard
27703 \begin_inset ERT
27704 status collapsed
27705
27706 \begin_layout Plain Layout
27707
27708
27709 \backslash
27710 setlength{
27711 \backslash
27712 shadowsize}{2pt}
27713 \end_layout
27714
27715 \end_inset
27716
27717
27718 \begin_inset Box Shadowbox
27719 position "c"
27720 hor_pos "c"
27721 has_inner_box 1
27722 inner_pos "c"
27723 use_parbox 0
27724 width "25col%"
27725 special "none"
27726 height "1in"
27727 height_special "totalheight"
27728 status open
27729
27730 \begin_layout Plain Layout
27731 \align center
27732 Shadow box with 
27733 \series bold
27734
27735 \backslash
27736 shadowsize
27737 \series default
27738
27739 \begin_inset space \thinspace{}
27740 \end_inset
27741
27742 =
27743 \begin_inset space \thinspace{}
27744 \end_inset
27745
27746 2
27747 \begin_inset space \thinspace{}
27748 \end_inset
27749
27750 pt
27751 \end_layout
27752
27753 \end_inset
27754
27755
27756 \begin_inset ERT
27757 status collapsed
27758
27759 \begin_layout Plain Layout
27760
27761
27762 \backslash
27763 setlength{
27764 \backslash
27765 shadowsize}{4pt}
27766 \end_layout
27767
27768 \end_inset
27769
27770
27771 \end_layout
27772
27773 \begin_layout Standard
27774 \begin_inset VSpace bigskip
27775 \end_inset
27776
27777
27778 \end_layout
27779
27780 \begin_layout Standard
27781 The default value for the size 
27782 \series bold
27783
27784 \backslash
27785 FrameRule
27786 \series default
27787  is 0.4
27788 \begin_inset space \thinspace{}
27789 \end_inset
27790
27791 pt.
27792  The default space between the note content and the frame is 9
27793 \begin_inset space \thinspace{}
27794 \end_inset
27795
27796 pt and can be changed with the value of 
27797 \series bold
27798
27799 \backslash
27800 FrameSep
27801 \series default
27802 .
27803  For example the frame appearance of the following 
27804 \family sans
27805 box
27806 \family default
27807  is set with the TeX-Code commands
27808 \end_layout
27809
27810 \begin_layout Standard
27811
27812 \series bold
27813
27814 \backslash
27815 setlength{
27816 \backslash
27817 FrameRule}{5pt}
27818 \begin_inset Newline newline
27819 \end_inset
27820
27821
27822 \backslash
27823 setlength{
27824 \backslash
27825 FrameSep}{0.5cm}
27826 \end_layout
27827
27828 \begin_layout Standard
27829 \begin_inset ERT
27830 status collapsed
27831
27832 \begin_layout Plain Layout
27833
27834
27835 \backslash
27836 setlength{
27837 \backslash
27838 FrameRule}{5pt}
27839 \end_layout
27840
27841 \begin_layout Plain Layout
27842
27843
27844 \backslash
27845 setlength{
27846 \backslash
27847 FrameSep}{0.5cm}
27848 \end_layout
27849
27850 \end_inset
27851
27852
27853 \begin_inset Box Framed
27854 position "t"
27855 hor_pos "c"
27856 has_inner_box 0
27857 inner_pos "t"
27858 use_parbox 0
27859 width "100col%"
27860 special "none"
27861 height "1in"
27862 height_special "totalheight"
27863 status open
27864
27865 \begin_layout Plain Layout
27866 This is text in an 
27867 \family sans
27868 allow page break
27869 \family default
27870  box.
27871 \end_layout
27872
27873 \end_inset
27874
27875
27876 \begin_inset ERT
27877 status collapsed
27878
27879 \begin_layout Plain Layout
27880
27881
27882 \backslash
27883 setlength{
27884 \backslash
27885 FrameRule}{0.4pt}
27886 \end_layout
27887
27888 \begin_layout Plain Layout
27889
27890
27891 \backslash
27892 setlength{
27893 \backslash
27894 FrameSep}{9pt}
27895 \end_layout
27896
27897 \end_inset
27898
27899
27900 \end_layout
27901
27902 \begin_layout Standard
27903 \begin_inset VSpace bigskip
27904 \end_inset
27905
27906
27907 \end_layout
27908
27909 \begin_layout Standard
27910 For 
27911 \family sans
27912 shaded background
27913 \family default
27914  boxes the default space between the box content and the box border is 3
27915 \begin_inset space \thinspace{}
27916 \end_inset
27917
27918 pt and can be changed with the value of 
27919 \series bold
27920
27921 \backslash
27922 fboxsep
27923 \series default
27924 .
27925  The default background color red can either be changed locally with the
27926  command 
27927 \series bold
27928
27929 \backslash
27930 definecolor{shadebox}
27931 \series default
27932  or globally with the menu 
27933 \family sans
27934 Tools\SpecialChar \menuseparator
27935 Preferences\SpecialChar \menuseparator
27936 Colors\SpecialChar \menuseparator
27937 shaded
27938 \begin_inset space ~
27939 \end_inset
27940
27941 box
27942 \family default
27943 .
27944  The scheme of the 
27945 \series bold
27946
27947 \backslash
27948 definecolor
27949 \series default
27950  command is explained in section
27951 \begin_inset space ~
27952 \end_inset
27953
27954
27955 \begin_inset CommandInset ref
27956 LatexCommand ref
27957 reference "sec:Colored-Tables"
27958
27959 \end_inset
27960
27961 .
27962 \begin_inset Foot
27963 status collapsed
27964
27965 \begin_layout Plain Layout
27966 Note that 
27967 \series bold
27968
27969 \backslash
27970 definecolor
27971 \series default
27972  requires the LaTeX-package 
27973 \series bold
27974 color
27975 \series default
27976  in the preamble, see section
27977 \begin_inset space ~
27978 \end_inset
27979
27980
27981 \begin_inset CommandInset ref
27982 LatexCommand ref
27983 reference "sec:Colored-Boxes"
27984
27985 \end_inset
27986
27987 .
27988 \end_layout
27989
27990 \end_inset
27991
27992  For example the appearance of the following shaded background note is set
27993  with the TeX-Code commands
27994 \end_layout
27995
27996 \begin_layout Standard
27997
27998 \series bold
27999
28000 \backslash
28001 setlength{
28002 \backslash
28003 fboxsep}{0.5cm}
28004 \series default
28005
28006 \begin_inset Newline newline
28007 \end_inset
28008
28009
28010 \series bold
28011
28012 \backslash
28013 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28014 \end_layout
28015
28016 \begin_layout Standard
28017 \begin_inset ERT
28018 status collapsed
28019
28020 \begin_layout Plain Layout
28021
28022
28023 \backslash
28024 setlength{
28025 \backslash
28026 fboxsep}{0.5cm}
28027 \end_layout
28028
28029 \begin_layout Plain Layout
28030
28031
28032 \backslash
28033 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28034 \end_layout
28035
28036 \end_inset
28037
28038
28039 \begin_inset Box Shaded
28040 position "t"
28041 hor_pos "c"
28042 has_inner_box 0
28043 inner_pos "t"
28044 use_parbox 0
28045 width "100col%"
28046 special "none"
28047 height "1in"
28048 height_special "totalheight"
28049 status open
28050
28051 \begin_layout Plain Layout
28052
28053 \color yellow
28054 This is yellow text in a
28055 \color none
28056  
28057 \family sans
28058 \color yellow
28059 shaded background
28060 \family default
28061 \color none
28062  
28063 \color yellow
28064 box with dark green background.
28065 \end_layout
28066
28067 \end_inset
28068
28069
28070 \begin_inset ERT
28071 status collapsed
28072
28073 \begin_layout Plain Layout
28074
28075
28076 \backslash
28077 setlength{
28078 \backslash
28079 fboxsep}{3pt}
28080 \end_layout
28081
28082 \begin_layout Plain Layout
28083
28084
28085 \backslash
28086 definecolor{shadecolor}{rgb}{1,0,0}
28087 \end_layout
28088
28089 \end_inset
28090
28091
28092 \end_layout
28093
28094 \begin_layout Standard
28095 \begin_inset VSpace bigskip
28096 \end_inset
28097
28098 Changed lengths and widths are valid for all boxes following the commands
28099  that change them.
28100 \end_layout
28101
28102 \begin_layout Section
28103 Minipages
28104 \begin_inset CommandInset label
28105 LatexCommand label
28106 name "sec:Minipages"
28107
28108 \end_inset
28109
28110
28111 \begin_inset Index
28112 status collapsed
28113
28114 \begin_layout Plain Layout
28115 Boxes ! Minipages
28116 \end_layout
28117
28118 \end_inset
28119
28120
28121 \end_layout
28122
28123 \begin_layout Standard
28124 Minipages are treated by LaTeX as pages within pages and can therefore for
28125  example have their own footnotes.
28126 \end_layout
28127
28128 \begin_layout Standard
28129 Minipages are useful when you write documents with different languages.
28130 \end_layout
28131
28132 \begin_layout Standard
28133 Below are two example minipages side by side.
28134  Their width is set to 45
28135 \begin_inset space \thinspace{}
28136 \end_inset
28137
28138 col% and they are separated by a horizontal fill, that was inserted via
28139  the menu 
28140 \family sans
28141 Insert\SpecialChar \menuseparator
28142 Special
28143 \begin_inset space ~
28144 \end_inset
28145
28146 Formatting\SpecialChar \menuseparator
28147 Horizontal
28148 \begin_inset space ~
28149 \end_inset
28150
28151 Fill
28152 \family default
28153 .
28154 \begin_inset Newpage newpage
28155 \end_inset
28156
28157
28158 \end_layout
28159
28160 \begin_layout Standard
28161 \begin_inset Box Frameless
28162 position "t"
28163 hor_pos "c"
28164 has_inner_box 1
28165 inner_pos "c"
28166 use_parbox 0
28167 width "45col%"
28168 special "none"
28169 height "1in"
28170 height_special "totalheight"
28171 status open
28172
28173 \begin_layout Plain Layout
28174
28175 \lang german
28176 Dies ist ein deutscher Text.
28177  Dies ist ein deutscher Text.
28178  Dies ist ein deutscher Text.
28179  Dies ist ein deutscher Text.
28180  Dies ist ein deutscher Text.
28181  Dies ist ein deutscher Text.
28182  Dies ist ein deutscher Text.
28183  Dies ist ein deutscher Text.
28184  Dies ist ein deutscher Text.
28185  Dies ist ein deutscher Text.
28186  Dies ist ein deutscher Text.
28187  Dies ist ein deutscher Text.
28188  Dies ist ein deutscher Text
28189 \begin_inset Foot
28190 status collapsed
28191
28192 \begin_layout Plain Layout
28193
28194 \lang german
28195 Dies ist eine deutsche Fußnote.
28196 \end_layout
28197
28198 \end_inset
28199
28200 .
28201  Dies ist ein deutscher Text.
28202  Dies ist ein deutscher Text.
28203 \end_layout
28204
28205 \end_inset
28206
28207
28208 \begin_inset space \hfill{}
28209 \end_inset
28210
28211
28212 \begin_inset Box Frameless
28213 position "t"
28214 hor_pos "c"
28215 has_inner_box 1
28216 inner_pos "c"
28217 use_parbox 0
28218 width "45col%"
28219 special "none"
28220 height "1in"
28221 height_special "totalheight"
28222 status open
28223
28224 \begin_layout Plain Layout
28225 This is an English Text.
28226  This is an English Text.
28227  This is an English Text.
28228  This is an English Text.
28229  This is an English Text.
28230  This is an English Text.
28231  This is an English Text.
28232  This is an English Text.
28233  This is an English Text.
28234  This is an English Text.
28235  This is an English Text.
28236  This is an English Text.
28237  This is an English Text.
28238  This is an English Text.
28239  This is an English Text.
28240  This is an English Text.
28241 \begin_inset Foot
28242 status collapsed
28243
28244 \begin_layout Plain Layout
28245 This is an English footnote.
28246 \end_layout
28247
28248 \end_inset
28249
28250  This is an English Text.
28251  
28252 \end_layout
28253
28254 \end_inset
28255
28256
28257 \end_layout
28258
28259 \begin_layout Standard
28260 \begin_inset VSpace bigskip
28261 \end_inset
28262
28263 Another application for minipages are footnotes within tables.
28264  Due to a LaTeX restriction footnotes within tables doesn't appear at the
28265  bottom of the current page.
28266  But when you put the table with the footnote to a minipage, the footnote
28267  will appear at its bottom, numbered with Latin letters.
28268  The footnote number is reset to 1 in every minipage but not outside the
28269  minipages.
28270 \end_layout
28271
28272 \begin_layout Standard
28273 The footnote of this table doesn't appear: 
28274 \begin_inset Tabular
28275 <lyxtabular version="3" rows="3" columns="4">
28276 <features>
28277 <column alignment="center" valignment="top" width="0pt">
28278 <column alignment="center" valignment="top" width="0pt">
28279 <column alignment="center" valignment="top" width="0pt">
28280 <column alignment="center" valignment="top" width="0pt">
28281 <row>
28282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28283 \begin_inset Text
28284
28285 \begin_layout Plain Layout
28286 1
28287 \end_layout
28288
28289 \end_inset
28290 </cell>
28291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28292 \begin_inset Text
28293
28294 \begin_layout Plain Layout
28295 2
28296 \end_layout
28297
28298 \end_inset
28299 </cell>
28300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28301 \begin_inset Text
28302
28303 \begin_layout Plain Layout
28304 3
28305 \begin_inset Foot
28306 status collapsed
28307
28308 \begin_layout Plain Layout
28309 This is a footnote within a table.
28310 \end_layout
28311
28312 \end_inset
28313
28314
28315 \end_layout
28316
28317 \end_inset
28318 </cell>
28319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28320 \begin_inset Text
28321
28322 \begin_layout Plain Layout
28323 4
28324 \end_layout
28325
28326 \end_inset
28327 </cell>
28328 </row>
28329 <row>
28330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28331 \begin_inset Text
28332
28333 \begin_layout Plain Layout
28334 a
28335 \end_layout
28336
28337 \end_inset
28338 </cell>
28339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28340 \begin_inset Text
28341
28342 \begin_layout Plain Layout
28343 b
28344 \end_layout
28345
28346 \end_inset
28347 </cell>
28348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28349 \begin_inset Text
28350
28351 \begin_layout Plain Layout
28352 c
28353 \end_layout
28354
28355 \end_inset
28356 </cell>
28357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28358 \begin_inset Text
28359
28360 \begin_layout Plain Layout
28361 d
28362 \end_layout
28363
28364 \end_inset
28365 </cell>
28366 </row>
28367 <row>
28368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28369 \begin_inset Text
28370
28371 \begin_layout Plain Layout
28372 e
28373 \end_layout
28374
28375 \end_inset
28376 </cell>
28377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28378 \begin_inset Text
28379
28380 \begin_layout Plain Layout
28381 f
28382 \end_layout
28383
28384 \end_inset
28385 </cell>
28386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28387 \begin_inset Text
28388
28389 \begin_layout Plain Layout
28390 g
28391 \end_layout
28392
28393 \end_inset
28394 </cell>
28395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28396 \begin_inset Text
28397
28398 \begin_layout Plain Layout
28399 h
28400 \end_layout
28401
28402 \end_inset
28403 </cell>
28404 </row>
28405 </lyxtabular>
28406
28407 \end_inset
28408
28409
28410 \end_layout
28411
28412 \begin_layout Standard
28413 \align center
28414 \begin_inset Box Frameless
28415 position "t"
28416 hor_pos "c"
28417 has_inner_box 1
28418 inner_pos "c"
28419 use_parbox 0
28420 width "30col%"
28421 special "none"
28422 height "1in"
28423 height_special "totalheight"
28424 status open
28425
28426 \begin_layout Plain Layout
28427 \align center
28428 \begin_inset Tabular
28429 <lyxtabular version="3" rows="3" columns="4">
28430 <features>
28431 <column alignment="center" valignment="top" width="0pt">
28432 <column alignment="center" valignment="top" width="0pt">
28433 <column alignment="center" valignment="top" width="0pt">
28434 <column alignment="center" valignment="top" width="0pt">
28435 <row>
28436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28437 \begin_inset Text
28438
28439 \begin_layout Plain Layout
28440 1
28441 \end_layout
28442
28443 \end_inset
28444 </cell>
28445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28446 \begin_inset Text
28447
28448 \begin_layout Plain Layout
28449 2
28450 \end_layout
28451
28452 \end_inset
28453 </cell>
28454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28455 \begin_inset Text
28456
28457 \begin_layout Plain Layout
28458 3
28459 \begin_inset Foot
28460 status collapsed
28461
28462 \begin_layout Plain Layout
28463 This is a footnote within a table.
28464 \end_layout
28465
28466 \end_inset
28467
28468
28469 \end_layout
28470
28471 \end_inset
28472 </cell>
28473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28474 \begin_inset Text
28475
28476 \begin_layout Plain Layout
28477 4
28478 \end_layout
28479
28480 \end_inset
28481 </cell>
28482 </row>
28483 <row>
28484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28485 \begin_inset Text
28486
28487 \begin_layout Plain Layout
28488 a
28489 \end_layout
28490
28491 \end_inset
28492 </cell>
28493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28494 \begin_inset Text
28495
28496 \begin_layout Plain Layout
28497 b
28498 \end_layout
28499
28500 \end_inset
28501 </cell>
28502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28503 \begin_inset Text
28504
28505 \begin_layout Plain Layout
28506 c
28507 \end_layout
28508
28509 \end_inset
28510 </cell>
28511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28512 \begin_inset Text
28513
28514 \begin_layout Plain Layout
28515 d
28516 \end_layout
28517
28518 \end_inset
28519 </cell>
28520 </row>
28521 <row>
28522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28523 \begin_inset Text
28524
28525 \begin_layout Plain Layout
28526 e
28527 \end_layout
28528
28529 \end_inset
28530 </cell>
28531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28532 \begin_inset Text
28533
28534 \begin_layout Plain Layout
28535 f
28536 \end_layout
28537
28538 \end_inset
28539 </cell>
28540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28541 \begin_inset Text
28542
28543 \begin_layout Plain Layout
28544 g
28545 \end_layout
28546
28547 \end_inset
28548 </cell>
28549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28550 \begin_inset Text
28551
28552 \begin_layout Plain Layout
28553 h
28554 \end_layout
28555
28556 \end_inset
28557 </cell>
28558 </row>
28559 </lyxtabular>
28560
28561 \end_inset
28562
28563
28564 \end_layout
28565
28566 \end_inset
28567
28568
28569 \end_layout
28570
28571 \begin_layout Standard
28572 \begin_inset VSpace bigskip
28573 \end_inset
28574
28575 The document-wide paragraph settings are ignored within minipages.
28576  That means that there will be no space between paragraphs in minipages
28577  although you set it to e.
28578 \begin_inset space \thinspace{}
28579 \end_inset
28580
28581 g.
28582 \begin_inset space \space{}
28583 \end_inset
28584
28585
28586 \family sans
28587 MedSkip
28588 \family default
28589  in the document settings.
28590 \end_layout
28591
28592 \begin_layout Standard
28593 Minipages can also be used to set a background color for text parts, see
28594  section
28595 \begin_inset space ~
28596 \end_inset
28597
28598
28599 \begin_inset CommandInset ref
28600 LatexCommand ref
28601 reference "sub:Color-for-Paragraphs"
28602
28603 \end_inset
28604
28605 .
28606 \end_layout
28607
28608 \begin_layout Standard
28609 \begin_inset Note Greyedout
28610 status open
28611
28612 \begin_layout Plain Layout
28613
28614 \series bold
28615 Note:
28616 \series default
28617  You cannot have floats or margin notes inside minipages but minipages can
28618  be used inside tables, floats, and other boxes.
28619 \end_layout
28620
28621 \end_inset
28622
28623
28624 \end_layout
28625
28626 \begin_layout Section
28627 Parboxes
28628 \begin_inset CommandInset label
28629 LatexCommand label
28630 name "sec:Parboxes"
28631
28632 \end_inset
28633
28634
28635 \begin_inset Index
28636 status collapsed
28637
28638 \begin_layout Plain Layout
28639 Boxes ! Parboxes
28640 \end_layout
28641
28642 \end_inset
28643
28644
28645 \end_layout
28646
28647 \begin_layout Standard
28648 Parboxes are very similar to minipages with the difference that they cannot
28649  have footnotes.
28650  The main difference to minipages is that minipages are in contrary to parboxes
28651  no real boxes but LaTeX-environments.
28652 \end_layout
28653
28654 \begin_layout Standard
28655 \align center
28656 \begin_inset Box Frameless
28657 position "t"
28658 hor_pos "c"
28659 has_inner_box 1
28660 inner_pos "t"
28661 use_parbox 1
28662 width "33col%"
28663 special "none"
28664 height "1in"
28665 height_special "totalheight"
28666 status collapsed
28667
28668 \begin_layout Plain Layout
28669 This a text within a parbox.
28670  This a text within a parbox.
28671 \end_layout
28672
28673 \begin_layout Plain Layout
28674 This footnote won't appear:
28675 \begin_inset Foot
28676 status collapsed
28677
28678 \begin_layout Plain Layout
28679 This footnote is inside a parbox and will therefore not appear.
28680 \end_layout
28681
28682 \end_inset
28683
28684
28685 \end_layout
28686
28687 \end_inset
28688
28689
28690 \end_layout
28691
28692 \begin_layout Section
28693 Boxes for Words and Characters
28694 \begin_inset Index
28695 status collapsed
28696
28697 \begin_layout Plain Layout
28698 Boxes ! for Characters
28699 \end_layout
28700
28701 \end_inset
28702
28703
28704 \end_layout
28705
28706 \begin_layout Subsection
28707 Prevent Hyphenation
28708 \begin_inset CommandInset label
28709 LatexCommand label
28710 name "sec:Prevent-Hyphenation"
28711
28712 \end_inset
28713
28714
28715 \begin_inset Index
28716 status collapsed
28717
28718 \begin_layout Plain Layout
28719 Boxes ! to Prevent Hyphenation
28720 \end_layout
28721
28722 \end_inset
28723
28724
28725 \end_layout
28726
28727 \begin_layout Standard
28728 You can use a special kind of boxes to prevent words or text to be hyphenated.
28729 \begin_inset Newline newline
28730 \end_inset
28731
28732 Here is an example text:
28733 \end_layout
28734
28735 \begin_layout Standard
28736 This line is an example to show how you can prevent the hyphenation of 
28737 \begin_inset Quotes eld
28738 \end_inset
28739
28740 veryverylongword
28741 \begin_inset Quotes erd
28742 \end_inset
28743
28744 .
28745 \end_layout
28746
28747 \begin_layout Standard
28748 To prevent the hyphenation of the word 
28749 \begin_inset Quotes eld
28750 \end_inset
28751
28752 veryverylongword
28753 \begin_inset Quotes erd
28754 \end_inset
28755
28756 , add the command
28757 \end_layout
28758
28759 \begin_layout Standard
28760
28761 \series bold
28762
28763 \backslash
28764 mbox{
28765 \end_layout
28766
28767 \begin_layout Standard
28768 in TeX-Code before the word.
28769  Behind the word insert a closing brace 
28770 \begin_inset Quotes eld
28771 \end_inset
28772
28773
28774 \series bold
28775 }
28776 \series default
28777
28778 \begin_inset Quotes erd
28779 \end_inset
28780
28781  in TeX-Code.
28782 \end_layout
28783
28784 \begin_layout Standard
28785 This is the result:
28786 \end_layout
28787
28788 \begin_layout Standard
28789 This line is an example to show how you can prevent the hyphenation of 
28790 \begin_inset ERT
28791 status collapsed
28792
28793 \begin_layout Plain Layout
28794
28795
28796 \backslash
28797 mbox{
28798 \end_layout
28799
28800 \end_inset
28801
28802
28803 \begin_inset Quotes eld
28804 \end_inset
28805
28806 veryverylongword
28807 \begin_inset Quotes erd
28808 \end_inset
28809
28810 .
28811 \begin_inset ERT
28812 status collapsed
28813
28814 \begin_layout Plain Layout
28815
28816 }
28817 \end_layout
28818
28819 \end_inset
28820
28821
28822 \end_layout
28823
28824 \begin_layout Standard
28825 You can alternatively set the command 
28826 \begin_inset Quotes eld
28827 \end_inset
28828
28829
28830 \series bold
28831
28832 \backslash
28833 -
28834 \series default
28835
28836 \begin_inset Quotes grd
28837 \end_inset
28838
28839  as TeX-Code directly before the word:
28840 \end_layout
28841
28842 \begin_layout Standard
28843 This line is an example to show how you can prevent the hyphenation of 
28844 \begin_inset Quotes eld
28845 \end_inset
28846
28847
28848 \begin_inset ERT
28849 status collapsed
28850
28851 \begin_layout Plain Layout
28852
28853
28854 \backslash
28855 -
28856 \end_layout
28857
28858 \end_inset
28859
28860 veryverylongword
28861 \begin_inset Quotes erd
28862 \end_inset
28863
28864 .
28865 \end_layout
28866
28867 \begin_layout Standard
28868 Of course the word now protrudes over the side margin.
28869  To avoid this, add via the menu 
28870 \family sans
28871 Insert\SpecialChar \menuseparator
28872 Special
28873 \begin_inset space ~
28874 \end_inset
28875
28876 Formatting\SpecialChar \menuseparator
28877 Line
28878 \begin_inset space ~
28879 \end_inset
28880
28881 Break
28882 \family default
28883  (shortcut 
28884 \begin_inset Info
28885 type  "shortcut"
28886 arg   "newline-insert newline"
28887 \end_inset
28888
28889 ) a line break before the word:
28890 \end_layout
28891
28892 \begin_layout Standard
28893 This line is an example to show how you can prevent the hyphenation of 
28894 \begin_inset Newline newline
28895 \end_inset
28896
28897
28898 \begin_inset ERT
28899 status collapsed
28900
28901 \begin_layout Plain Layout
28902
28903
28904 \backslash
28905 mbox{
28906 \end_layout
28907
28908 \end_inset
28909
28910
28911 \begin_inset Quotes eld
28912 \end_inset
28913
28914 veryverylongword
28915 \begin_inset Quotes erd
28916 \end_inset
28917
28918 .
28919 \begin_inset ERT
28920 status collapsed
28921
28922 \begin_layout Plain Layout
28923
28924 }
28925 \end_layout
28926
28927 \end_inset
28928
28929
28930 \end_layout
28931
28932 \begin_layout Subsection
28933 Vertical Alignment
28934 \begin_inset CommandInset label
28935 LatexCommand label
28936 name "sub:Vertical-Alignment"
28937
28938 \end_inset
28939
28940
28941 \begin_inset Index
28942 status collapsed
28943
28944 \begin_layout Plain Layout
28945 Boxes ! for Vertical Alignment
28946 \end_layout
28947
28948 \end_inset
28949
28950
28951 \begin_inset Index
28952 status collapsed
28953
28954 \begin_layout Plain Layout
28955 Boxes ! Raiseboxes
28956 \end_layout
28957
28958 \end_inset
28959
28960
28961 \end_layout
28962
28963 \begin_layout Standard
28964 With the help of the command 
28965 \series bold
28966
28967 \backslash
28968 raisebox
28969 \series default
28970  you can align words, characters or other boxes vertically to the surrounding
28971  text.
28972  
28973 \series bold
28974
28975 \backslash
28976 raisebox
28977 \series default
28978  is used with the following scheme:
28979 \end_layout
28980
28981 \begin_layout Standard
28982
28983 \series bold
28984
28985 \backslash
28986 raisebox{lift}[height][depth]{box content}
28987 \end_layout
28988
28989 \begin_layout Standard
28990 The lift can be a positive value to raise the box or a negative value to
28991  lower the box.
28992 \end_layout
28993
28994 \begin_layout Standard
28995 To align for example the word 
28996 \begin_inset Quotes eld
28997 \end_inset
28998
28999 preventing
29000 \begin_inset Quotes erd
29001 \end_inset
29002
29003  so that the bottom of the 
29004 \begin_inset Quotes eld
29005 \end_inset
29006
29007 deepest
29008 \begin_inset Quotes erd
29009 \end_inset
29010
29011  character 
29012 \begin_inset Quotes eld
29013 \end_inset
29014
29015 p
29016 \begin_inset Quotes erd
29017 \end_inset
29018
29019  is at the baseline, insert the command
29020 \end_layout
29021
29022 \begin_layout Standard
29023
29024 \series bold
29025
29026 \backslash
29027 raisebox{
29028 \backslash
29029 depth}{
29030 \end_layout
29031
29032 \begin_layout Standard
29033 in TeX-Code before the word.
29034  Behind the word insert a closing brace 
29035 \begin_inset Quotes eld
29036 \end_inset
29037
29038
29039 \series bold
29040 }
29041 \series default
29042
29043 \begin_inset Quotes erd
29044 \end_inset
29045
29046  in TeX-Code.
29047 \begin_inset Newline newline
29048 \end_inset
29049
29050 This is the result:
29051 \end_layout
29052
29053 \begin_layout Standard
29054 This is a text line with the word 
29055 \begin_inset ERT
29056 status collapsed
29057
29058 \begin_layout Plain Layout
29059
29060
29061 \backslash
29062 raisebox{
29063 \backslash
29064 depth}{
29065 \end_layout
29066
29067 \end_inset
29068
29069
29070 \begin_inset Quotes eld
29071 \end_inset
29072
29073 preventing
29074 \begin_inset Quotes erd
29075 \end_inset
29076
29077
29078 \begin_inset ERT
29079 status collapsed
29080
29081 \begin_layout Plain Layout
29082
29083 }
29084 \end_layout
29085
29086 \end_inset
29087
29088  as raised word.
29089 \end_layout
29090
29091 \begin_layout Standard
29092 \begin_inset VSpace bigskip
29093 \end_inset
29094
29095 When you raise or lower characters in a line, the line distance will be
29096  spread:
29097 \end_layout
29098
29099 \begin_layout Standard
29100 This is a text line with the word 
29101 \begin_inset ERT
29102 status collapsed
29103
29104 \begin_layout Plain Layout
29105
29106
29107 \backslash
29108 raisebox{-
29109 \backslash
29110 depth}{
29111 \end_layout
29112
29113 \end_inset
29114
29115
29116 \begin_inset Quotes eld
29117 \end_inset
29118
29119 preventing
29120 \begin_inset Quotes erd
29121 \end_inset
29122
29123
29124 \begin_inset ERT
29125 status collapsed
29126
29127 \begin_layout Plain Layout
29128
29129 }
29130 \end_layout
29131
29132 \end_inset
29133
29134  as lowered word.
29135 \begin_inset Newline newline
29136 \end_inset
29137
29138 This is a text line with the word 
29139 \begin_inset ERT
29140 status collapsed
29141
29142 \begin_layout Plain Layout
29143
29144
29145 \backslash
29146 raisebox{0.5cm}{
29147 \end_layout
29148
29149 \end_inset
29150
29151
29152 \begin_inset Quotes eld
29153 \end_inset
29154
29155 testing
29156 \begin_inset Quotes erd
29157 \end_inset
29158
29159
29160 \begin_inset ERT
29161 status collapsed
29162
29163 \begin_layout Plain Layout
29164
29165 }
29166 \end_layout
29167
29168 \end_inset
29169
29170  as raised word.
29171 \end_layout
29172
29173 \begin_layout Standard
29174 If you want to prevent this for a certain reason, set the box height to
29175  a zero value.
29176  For example use
29177 \end_layout
29178
29179 \begin_layout Standard
29180
29181 \series bold
29182
29183 \backslash
29184 raisebox{-
29185 \backslash
29186 depth}[0pt]{
29187 \end_layout
29188
29189 \begin_layout Standard
29190 This is a text line with the word 
29191 \begin_inset ERT
29192 status collapsed
29193
29194 \begin_layout Plain Layout
29195
29196
29197 \backslash
29198 raisebox{-
29199 \backslash
29200 depth}[0pt]{
29201 \end_layout
29202
29203 \end_inset
29204
29205
29206 \begin_inset Quotes eld
29207 \end_inset
29208
29209 preventing
29210 \begin_inset Quotes erd
29211 \end_inset
29212
29213
29214 \begin_inset ERT
29215 status collapsed
29216
29217 \begin_layout Plain Layout
29218
29219 }
29220 \end_layout
29221
29222 \end_inset
29223
29224  as lowered word.
29225 \begin_inset Newline newline
29226 \end_inset
29227
29228 This is a text line with the word 
29229 \begin_inset ERT
29230 status collapsed
29231
29232 \begin_layout Plain Layout
29233
29234
29235 \backslash
29236 raisebox{0.5cm}[0pt]{
29237 \end_layout
29238
29239 \end_inset
29240
29241
29242 \begin_inset Quotes eld
29243 \end_inset
29244
29245 testing
29246 \begin_inset Quotes erd
29247 \end_inset
29248
29249
29250 \begin_inset ERT
29251 status collapsed
29252
29253 \begin_layout Plain Layout
29254
29255 }
29256 \end_layout
29257
29258 \end_inset
29259
29260  as raised word.
29261 \end_layout
29262
29263 \begin_layout Section
29264 Colored Boxes
29265 \begin_inset CommandInset label
29266 LatexCommand label
29267 name "sec:Colored-Boxes"
29268
29269 \end_inset
29270
29271
29272 \begin_inset Index
29273 status collapsed
29274
29275 \begin_layout Plain Layout
29276 Boxes ! Color
29277 \end_layout
29278
29279 \end_inset
29280
29281
29282 \end_layout
29283
29284 \begin_layout Subsection
29285 Color for Text
29286 \begin_inset Index
29287 status collapsed
29288
29289 \begin_layout Plain Layout
29290 Color ! for Text
29291 \end_layout
29292
29293 \end_inset
29294
29295
29296 \end_layout
29297
29298 \begin_layout Standard
29299 To color the background of text the text must be put into a so called 
29300 \begin_inset Quotes eld
29301 \end_inset
29302
29303 colorbox
29304 \begin_inset Quotes erd
29305 \end_inset
29306
29307 .
29308  This requires that the LaTeX-package 
29309 \series bold
29310 color
29311 \series default
29312
29313 \begin_inset Index
29314 status collapsed
29315
29316 \begin_layout Plain Layout
29317 LaTeX-packages ! color
29318 \end_layout
29319
29320 \end_inset
29321
29322  is loaded in the document preamble with the command
29323 \end_layout
29324
29325 \begin_layout Standard
29326
29327 \series bold
29328
29329 \backslash
29330 @ifundefined{textcolor}
29331 \begin_inset Newline newline
29332 \end_inset
29333
29334
29335 \begin_inset ERT
29336 status collapsed
29337
29338 \begin_layout Plain Layout
29339
29340
29341 \backslash
29342 hphantom{ }
29343 \end_layout
29344
29345 \end_inset
29346
29347 {
29348 \backslash
29349 usepackage{color}}{}
29350 \end_layout
29351
29352 \begin_layout Standard
29353 The package 
29354 \series bold
29355 color
29356 \series default
29357  will be loaded automatically by LyX when you color text
29358 \begin_inset Foot
29359 status collapsed
29360
29361 \begin_layout Plain Layout
29362 To avoid that it is loaded twice the command 
29363 \series bold
29364
29365 \backslash
29366 @ifundefined
29367 \series default
29368  is used.
29369 \end_layout
29370
29371 \end_inset
29372
29373 .
29374 \end_layout
29375
29376 \begin_layout Standard
29377 \begin_inset VSpace medskip
29378 \end_inset
29379
29380 Colorboxes are created with the command 
29381 \series bold
29382
29383 \backslash
29384 colorbox
29385 \series default
29386 .
29387  This will be used with the following scheme:
29388 \end_layout
29389
29390 \begin_layout Standard
29391
29392 \series bold
29393
29394 \backslash
29395 colorbox{color}{box content}
29396 \end_layout
29397
29398 \begin_layout Standard
29399 The box content can also be a box and colorboxes can also be within other
29400  boxes.
29401 \end_layout
29402
29403 \begin_layout Standard
29404 The following colors are predefined:
29405 \begin_inset Newline newline
29406 \end_inset
29407
29408
29409 \family sans
29410 black
29411 \family default
29412
29413 \family sans
29414 blue
29415 \family default
29416
29417 \family sans
29418 cyan
29419 \family default
29420 \series bold
29421 ,
29422 \series default
29423  
29424 \family sans
29425 green
29426 \family default
29427
29428 \family sans
29429 magenta
29430 \family default
29431
29432 \family sans
29433 red
29434 \family default
29435
29436 \family sans
29437 white
29438 \family default
29439 , and 
29440 \family sans
29441 yellow
29442 \family default
29443 .
29444 \begin_inset Newline newline
29445 \end_inset
29446
29447 You can also define your own color as described in section
29448 \begin_inset space ~
29449 \end_inset
29450
29451
29452 \begin_inset CommandInset ref
29453 LatexCommand ref
29454 reference "sec:Colored-Tables"
29455
29456 \end_inset
29457
29458 .
29459 \end_layout
29460
29461 \begin_layout Standard
29462 To have e.
29463 \begin_inset space \thinspace{}
29464 \end_inset
29465
29466 g.
29467 \begin_inset space \space{}
29468 \end_inset
29469
29470 a red background for a word, insert the command
29471 \end_layout
29472
29473 \begin_layout Standard
29474
29475 \series bold
29476
29477 \backslash
29478 colorbox{red}{
29479 \end_layout
29480
29481 \begin_layout Standard
29482 before the word in TeX-Code.
29483  Behind the word insert a closing brace 
29484 \begin_inset Quotes eld
29485 \end_inset
29486
29487
29488 \series bold
29489 }
29490 \series default
29491
29492 \begin_inset Quotes erd
29493 \end_inset
29494
29495  in TeX-Code.
29496 \begin_inset Newline newline
29497 \end_inset
29498
29499 This is the result:
29500 \end_layout
29501
29502 \begin_layout Standard
29503 This is a line where the word 
29504 \begin_inset ERT
29505 status collapsed
29506
29507 \begin_layout Plain Layout
29508
29509
29510 \backslash
29511 colorbox{red}{
29512 \end_layout
29513
29514 \end_inset
29515
29516
29517 \begin_inset Quotes eld
29518 \end_inset
29519
29520 Attention!
29521 \begin_inset Quotes erd
29522 \end_inset
29523
29524
29525 \begin_inset ERT
29526 status collapsed
29527
29528 \begin_layout Plain Layout
29529
29530 }
29531 \end_layout
29532
29533 \end_inset
29534
29535  has a red background.
29536 \end_layout
29537
29538 \begin_layout Standard
29539 \begin_inset VSpace bigskip
29540 \end_inset
29541
29542 If you would have the box frame in a different color, you can use the command
29543  
29544 \series bold
29545
29546 \backslash
29547 fcolorbox
29548 \series default
29549  with the following scheme:
29550 \end_layout
29551
29552 \begin_layout Standard
29553
29554 \series bold
29555
29556 \backslash
29557 fcolorbox{frame color}{box color}{box content}
29558 \end_layout
29559
29560 \begin_layout Standard
29561
29562 \series bold
29563
29564 \backslash
29565 fcolorbox
29566 \series default
29567  is an extension to 
29568 \series bold
29569
29570 \backslash
29571 colorbox
29572 \series default
29573 .
29574  The frame thickness and the space between the frame and the box content
29575  can be adjusted with the lengths 
29576 \series bold
29577
29578 \backslash
29579 fboxrule
29580 \series default
29581  and 
29582 \series bold
29583
29584 \backslash
29585 fboxsep
29586 \series default
29587 , respectively, as described in section
29588 \begin_inset space ~
29589 \end_inset
29590
29591
29592 \begin_inset CommandInset ref
29593 LatexCommand ref
29594 reference "sec:Decoration"
29595
29596 \end_inset
29597
29598 .
29599 \end_layout
29600
29601 \begin_layout Standard
29602 For the following example the command
29603 \end_layout
29604
29605 \begin_layout Standard
29606
29607 \series bold
29608
29609 \backslash
29610 fcolorbox{cyan}{magenta}{
29611 \end_layout
29612
29613 \begin_layout Standard
29614 was used.
29615 \end_layout
29616
29617 \begin_layout Standard
29618 Here is an example where the frame line thickness was set to 1
29619 \begin_inset space \thinspace{}
29620 \end_inset
29621
29622 mm:
29623 \begin_inset Newline newline
29624 \end_inset
29625
29626
29627 \begin_inset ERT
29628 status collapsed
29629
29630 \begin_layout Plain Layout
29631
29632
29633 \backslash
29634 fboxrule 1mm 
29635 \backslash
29636 fboxsep 1mm
29637 \end_layout
29638
29639 \end_inset
29640
29641
29642 \begin_inset ERT
29643 status collapsed
29644
29645 \begin_layout Plain Layout
29646
29647
29648 \backslash
29649 fcolorbox{cyan}{magenta}{
29650 \end_layout
29651
29652 \end_inset
29653
29654 This is text within a colored, framed box.
29655 \begin_inset ERT
29656 status collapsed
29657
29658 \begin_layout Plain Layout
29659
29660 }
29661 \end_layout
29662
29663 \end_inset
29664
29665
29666 \end_layout
29667
29668 \begin_layout Standard
29669 \begin_inset VSpace bigskip
29670 \end_inset
29671
29672 Of course you can also have colored text inside a colorbox:
29673 \begin_inset Newline newline
29674 \end_inset
29675
29676
29677 \begin_inset ERT
29678 status collapsed
29679
29680 \begin_layout Plain Layout
29681
29682
29683 \backslash
29684 fcolorbox{cyan}{magenta}{
29685 \end_layout
29686
29687 \end_inset
29688
29689
29690 \color yellow
29691 This is colored text within a colored, framed box.
29692 \color none
29693
29694 \begin_inset ERT
29695 status collapsed
29696
29697 \begin_layout Plain Layout
29698
29699 }
29700 \end_layout
29701
29702 \end_inset
29703
29704
29705 \begin_inset ERT
29706 status collapsed
29707
29708 \begin_layout Plain Layout
29709
29710
29711 \backslash
29712 fboxrule 0.4pt 
29713 \backslash
29714 fboxsep 3pt
29715 \end_layout
29716
29717 \end_inset
29718
29719
29720 \end_layout
29721
29722 \begin_layout Standard
29723
29724 \series bold
29725 \begin_inset VSpace medskip
29726 \end_inset
29727
29728
29729 \end_layout
29730
29731 \begin_layout Standard
29732 \begin_inset Note Greyedout
29733 status open
29734
29735 \begin_layout Plain Layout
29736
29737 \series bold
29738 Note:
29739 \series default
29740  Text in colorboxes cannot have line breaks.
29741  To color multiple text lines or paragraphs, use a box inside a colorbox
29742  as described in the following.
29743 \end_layout
29744
29745 \end_inset
29746
29747
29748 \end_layout
29749
29750 \begin_layout Subsection
29751 Color for Paragraphs
29752 \begin_inset CommandInset label
29753 LatexCommand label
29754 name "sub:Color-for-Paragraphs"
29755
29756 \end_inset
29757
29758
29759 \begin_inset Index
29760 status collapsed
29761
29762 \begin_layout Plain Layout
29763 Color ! for Paragraphs
29764 \end_layout
29765
29766 \end_inset
29767
29768
29769 \end_layout
29770
29771 \begin_layout Standard
29772 To set the background color for more than one text line, put the text into
29773  a minipage.
29774  Before the minipage insert the 
29775 \series bold
29776
29777 \backslash
29778 colorbox
29779 \series default
29780  command
29781 \end_layout
29782
29783 \begin_layout Standard
29784
29785 \series bold
29786
29787 \backslash
29788 colorbox{color}{
29789 \end_layout
29790
29791 \begin_layout Standard
29792 in TeX-Code.
29793  Behind the minipage insert a closing brace 
29794 \begin_inset Quotes eld
29795 \end_inset
29796
29797
29798 \series bold
29799 }
29800 \series default
29801
29802 \begin_inset Quotes erd
29803 \end_inset
29804
29805  in TeX-Code.
29806 \end_layout
29807
29808 \begin_layout Standard
29809 \begin_inset ERT
29810 status collapsed
29811
29812 \begin_layout Plain Layout
29813
29814
29815 \backslash
29816 colorbox{lightgrey}{
29817 \end_layout
29818
29819 \end_inset
29820
29821
29822 \begin_inset Box Frameless
29823 position "t"
29824 hor_pos "c"
29825 has_inner_box 1
29826 inner_pos "t"
29827 use_parbox 0
29828 width "100col%"
29829 special "none"
29830 height "1in"
29831 height_special "totalheight"
29832 status collapsed
29833
29834 \begin_layout Plain Layout
29835 This is text with background color.
29836  This is text with background color.
29837 \end_layout
29838
29839 \begin_layout Plain Layout
29840 \begin_inset VSpace defskip
29841 \end_inset
29842
29843 The text can have footnotes
29844 \begin_inset Foot
29845 status collapsed
29846
29847 \begin_layout Plain Layout
29848 Another example footnote
29849 \end_layout
29850
29851 \end_inset
29852
29853  and can include tables and figures.
29854 \end_layout
29855
29856 \begin_layout Plain Layout
29857 \align center
29858 \begin_inset Tabular
29859 <lyxtabular version="3" rows="3" columns="3">
29860 <features>
29861 <column alignment="center" valignment="top" width="0">
29862 <column alignment="center" valignment="top" width="0">
29863 <column alignment="center" valignment="top" width="0">
29864 <row>
29865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29866 \begin_inset Text
29867
29868 \begin_layout Plain Layout
29869 a
29870 \end_layout
29871
29872 \end_inset
29873 </cell>
29874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29875 \begin_inset Text
29876
29877 \begin_layout Plain Layout
29878 !
29879 \end_layout
29880
29881 \end_inset
29882 </cell>
29883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29884 \begin_inset Text
29885
29886 \begin_layout Plain Layout
29887 3
29888 \end_layout
29889
29890 \end_inset
29891 </cell>
29892 </row>
29893 <row>
29894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29895 \begin_inset Text
29896
29897 \begin_layout Plain Layout
29898 <
29899 \end_layout
29900
29901 \end_inset
29902 </cell>
29903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29904 \begin_inset Text
29905
29906 \begin_layout Plain Layout
29907 b2
29908 \begin_inset Quotes erd
29909 \end_inset
29910
29911 |
29912 \end_layout
29913
29914 \end_inset
29915 </cell>
29916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29917 \begin_inset Text
29918
29919 \begin_layout Plain Layout
29920 >
29921 \end_layout
29922
29923 \end_inset
29924 </cell>
29925 </row>
29926 <row>
29927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29928 \begin_inset Text
29929
29930 \begin_layout Plain Layout
29931 1
29932 \end_layout
29933
29934 \end_inset
29935 </cell>
29936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29937 \begin_inset Text
29938
29939 \begin_layout Plain Layout
29940 §
29941 \end_layout
29942
29943 \end_inset
29944 </cell>
29945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29946 \begin_inset Text
29947
29948 \begin_layout Plain Layout
29949 c
29950 \end_layout
29951
29952 \end_inset
29953 </cell>
29954 </row>
29955 </lyxtabular>
29956
29957 \end_inset
29958
29959
29960 \end_layout
29961
29962 \end_inset
29963
29964
29965 \begin_inset ERT
29966 status collapsed
29967
29968 \begin_layout Plain Layout
29969
29970 }
29971 \end_layout
29972
29973 \end_inset
29974
29975
29976 \end_layout
29977
29978 \begin_layout Section
29979 Rotated and Scaled Boxes
29980 \end_layout
29981
29982 \begin_layout Standard
29983 To use the the commands described in this section, the LaTeX-package 
29984 \series bold
29985 graphicx
29986 \series default
29987
29988 \begin_inset Index
29989 status collapsed
29990
29991 \begin_layout Plain Layout
29992 LaTeX-packages ! graphicx
29993 \end_layout
29994
29995 \end_inset
29996
29997  needs to be loaded in the document preamble with the command
29998 \end_layout
29999
30000 \begin_layout Standard
30001
30002 \series bold
30003
30004 \backslash
30005 @ifundefined{rotatebox}
30006 \begin_inset Newline newline
30007 \end_inset
30008
30009
30010 \begin_inset ERT
30011 status collapsed
30012
30013 \begin_layout Plain Layout
30014
30015
30016 \backslash
30017 hphantom{ }
30018 \end_layout
30019
30020 \end_inset
30021
30022 {
30023 \backslash
30024 usepackage{graphicx}}{}
30025 \end_layout
30026
30027 \begin_layout Standard
30028 \begin_inset Note Greyedout
30029 status open
30030
30031 \begin_layout Plain Layout
30032
30033 \series bold
30034 Note:
30035 \series default
30036  Some DVI-viewers can't display rotated or scaled material.
30037 \end_layout
30038
30039 \end_inset
30040
30041
30042 \end_layout
30043
30044 \begin_layout Standard
30045 \begin_inset Note Greyedout
30046 status open
30047
30048 \begin_layout Plain Layout
30049
30050 \series bold
30051 Note:
30052 \series default
30053  Floats mustn't be inside a rotated or scaled box.
30054 \end_layout
30055
30056 \end_inset
30057
30058
30059 \end_layout
30060
30061 \begin_layout Subsection
30062 Rotated Boxes
30063 \begin_inset Index
30064 status collapsed
30065
30066 \begin_layout Plain Layout
30067 Boxes ! rotated
30068 \end_layout
30069
30070 \end_inset
30071
30072
30073 \begin_inset Index
30074 status collapsed
30075
30076 \begin_layout Plain Layout
30077 Rotated material
30078 \end_layout
30079
30080 \end_inset
30081
30082
30083 \begin_inset Index
30084 status collapsed
30085
30086 \begin_layout Plain Layout
30087 Figures ! rotated
30088 \end_layout
30089
30090 \end_inset
30091
30092
30093 \begin_inset Index
30094 status collapsed
30095
30096 \begin_layout Plain Layout
30097 Table Customization ! Rotating
30098 \end_layout
30099
30100 \end_inset
30101
30102
30103 \end_layout
30104
30105 \begin_layout Standard
30106 To rotate material, you can put it into a rotated box.
30107  Such a box is created using the command 
30108 \series bold
30109
30110 \backslash
30111 rotatebox
30112 \series default
30113  in TeX-Code with the following scheme:
30114 \end_layout
30115
30116 \begin_layout Standard
30117
30118 \series bold
30119
30120 \backslash
30121 rotatebox[rotation origin]{rotation angle}{box content}
30122 \end_layout
30123
30124 \begin_layout Standard
30125 The rotation origin is specified in the form 
30126 \series bold
30127 origin=position
30128 \series default
30129 .
30130  The following positions are possible: 
30131 \emph on
30132 c
30133 \emph default
30134  (center), 
30135 \emph on
30136 l
30137 \emph default
30138  (left), 
30139 \emph on
30140 r
30141 \emph default
30142  (right), 
30143 \emph on
30144 b
30145 \emph default
30146  (bottom), 
30147 \emph on
30148 t
30149 \emph default
30150  (top), and also expedient combinations of the four base positions.
30151  For example 
30152 \emph on
30153 lt
30154 \emph default
30155  means, that the rotation origin is at the top left corner of the box.
30156  When no rotation origin is specified, the position 
30157 \emph on
30158 l
30159 \emph default
30160  will be used.
30161  The rotation angle is a number that can be negative that specifies the
30162  angle in degrees.
30163  The rotation direction is counterclockwise.
30164 \end_layout
30165
30166 \begin_layout Standard
30167 In the following example the command 
30168 \series bold
30169
30170 \backslash
30171 rotatebox[origin=c]{60}{
30172 \series default
30173  was inserted as TeX-Code before the text 
30174 \begin_inset Quotes eld
30175 \end_inset
30176
30177 with rotated
30178 \begin_inset Quotes erd
30179 \end_inset
30180
30181 ; after the text the box was closed by a closing brace 
30182 \series bold
30183 }
30184 \series default
30185  in TeX-Code.
30186 \end_layout
30187
30188 \begin_layout Standard
30189 This is a line 
30190 \begin_inset ERT
30191 status collapsed
30192
30193 \begin_layout Plain Layout
30194
30195
30196 \backslash
30197 rotatebox[origin=c]{60}{
30198 \end_layout
30199
30200 \end_inset
30201
30202 with rotated
30203 \begin_inset ERT
30204 status collapsed
30205
30206 \begin_layout Plain Layout
30207
30208 }
30209 \end_layout
30210
30211 \end_inset
30212
30213  text.
30214 \end_layout
30215
30216 \begin_layout Standard
30217 The box content can also be another box or an inline formula:
30218 \end_layout
30219
30220 \begin_layout Standard
30221 This is a line
30222 \begin_inset ERT
30223 status collapsed
30224
30225 \begin_layout Plain Layout
30226
30227
30228 \backslash
30229 rotatebox[origin=r]{-60}{
30230 \end_layout
30231
30232 \end_inset
30233
30234
30235 \begin_inset Box Doublebox
30236 position "c"
30237 hor_pos "c"
30238 has_inner_box 0
30239 inner_pos "c"
30240 use_parbox 0
30241 width "1in"
30242 special "width"
30243 height "1in"
30244 height_special "totalheight"
30245 status collapsed
30246
30247 \begin_layout Plain Layout
30248 with rotated
30249 \end_layout
30250
30251 \end_inset
30252
30253
30254 \begin_inset ERT
30255 status collapsed
30256
30257 \begin_layout Plain Layout
30258
30259 }
30260 \end_layout
30261
30262 \end_inset
30263
30264  framed text 
30265 \begin_inset ERT
30266 status collapsed
30267
30268 \begin_layout Plain Layout
30269
30270
30271 \backslash
30272 rotatebox[origin=lb]{60}{
30273 \end_layout
30274
30275 \end_inset
30276
30277
30278 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30279 \end_inset
30280
30281
30282 \begin_inset ERT
30283 status collapsed
30284
30285 \begin_layout Plain Layout
30286
30287 }
30288 \end_layout
30289
30290 \end_inset
30291
30292  and a formula.
30293 \end_layout
30294
30295 \begin_layout Standard
30296 or an image or table:
30297 \end_layout
30298
30299 \begin_layout Standard
30300 This is a line
30301 \begin_inset ERT
30302 status collapsed
30303
30304 \begin_layout Plain Layout
30305
30306
30307 \backslash
30308 rotatebox[origin=lb]{90}{
30309 \end_layout
30310
30311 \end_inset
30312
30313
30314 \begin_inset Graphics
30315         filename clipart/platypus.eps
30316         lyxscale 50
30317         width 25col%
30318
30319 \end_inset
30320
30321
30322 \begin_inset ERT
30323 status collapsed
30324
30325 \begin_layout Plain Layout
30326
30327 }
30328 \end_layout
30329
30330 \end_inset
30331
30332  with a rotated image 
30333 \begin_inset ERT
30334 status collapsed
30335
30336 \begin_layout Plain Layout
30337
30338
30339 \backslash
30340 rotatebox[origin=l]{-90}{
30341 \end_layout
30342
30343 \end_inset
30344
30345
30346 \begin_inset Tabular
30347 <lyxtabular version="3" rows="2" columns="2">
30348 <features>
30349 <column alignment="center" valignment="top" width="0">
30350 <column alignment="center" valignment="top" width="0">
30351 <row>
30352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30353 \begin_inset Text
30354
30355 \begin_layout Plain Layout
30356 q
30357 \end_layout
30358
30359 \end_inset
30360 </cell>
30361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30362 \begin_inset Text
30363
30364 \begin_layout Plain Layout
30365 w
30366 \end_layout
30367
30368 \end_inset
30369 </cell>
30370 </row>
30371 <row>
30372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30373 \begin_inset Text
30374
30375 \begin_layout Plain Layout
30376 e
30377 \end_layout
30378
30379 \end_inset
30380 </cell>
30381 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30382 \begin_inset Text
30383
30384 \begin_layout Plain Layout
30385 r
30386 \end_layout
30387
30388 \end_inset
30389 </cell>
30390 </row>
30391 </lyxtabular>
30392
30393 \end_inset
30394
30395
30396 \begin_inset ERT
30397 status collapsed
30398
30399 \begin_layout Plain Layout
30400
30401 }
30402 \end_layout
30403
30404 \end_inset
30405
30406  and table.
30407 \end_layout
30408
30409 \begin_layout Subsection
30410 Scaled Boxes
30411 \begin_inset Index
30412 status collapsed
30413
30414 \begin_layout Plain Layout
30415 Boxes ! scaled
30416 \end_layout
30417
30418 \end_inset
30419
30420
30421 \begin_inset Index
30422 status collapsed
30423
30424 \begin_layout Plain Layout
30425 Scaled material
30426 \end_layout
30427
30428 \end_inset
30429
30430
30431 \begin_inset Index
30432 status collapsed
30433
30434 \begin_layout Plain Layout
30435 Figures ! scaled
30436 \end_layout
30437
30438 \end_inset
30439
30440
30441 \begin_inset Index
30442 status collapsed
30443
30444 \begin_layout Plain Layout
30445 Table Customization ! Scaling
30446 \end_layout
30447
30448 \end_inset
30449
30450
30451 \end_layout
30452
30453 \begin_layout Standard
30454 To scale material the commands 
30455 \series bold
30456
30457 \backslash
30458 scalebox
30459 \series default
30460  and 
30461 \series bold
30462
30463 \backslash
30464 resizebox
30465 \series default
30466  can be used as TeX-Code.
30467 \end_layout
30468
30469 \begin_layout Standard
30470
30471 \series bold
30472
30473 \backslash
30474 scalebox
30475 \series default
30476  is used with the following scheme:
30477 \end_layout
30478
30479 \begin_layout Standard
30480
30481 \series bold
30482
30483 \backslash
30484 scalebox{horizontal}[vertical]{box content}
30485 \end_layout
30486
30487 \begin_layout Standard
30488 Horizontal and vertical are the corresponding scaling factors.
30489  If no vertical scaling factor is given, the horizontal factor will also
30490  be used as vertical one.
30491 \end_layout
30492
30493 \begin_layout Standard
30494 The command 
30495 \series bold
30496
30497 \backslash
30498 scalebox{2}{Hello}
30499 \series default
30500  creates for example a double size 
30501 \begin_inset ERT
30502 status collapsed
30503
30504 \begin_layout Plain Layout
30505
30506
30507 \backslash
30508 scalebox{2}{
30509 \end_layout
30510
30511 \end_inset
30512
30513 Hello
30514 \begin_inset ERT
30515 status collapsed
30516
30517 \begin_layout Plain Layout
30518
30519 }
30520 \end_layout
30521
30522 \end_inset
30523
30524 , compared to the document text size.
30525 \end_layout
30526
30527 \begin_layout Standard
30528
30529 \series bold
30530
30531 \backslash
30532 scalebox{2}[1]{Hello}
30533 \series default
30534  in contrary distorts the 
30535 \begin_inset ERT
30536 status collapsed
30537
30538 \begin_layout Plain Layout
30539
30540
30541 \backslash
30542 scalebox{2}[1]{
30543 \end_layout
30544
30545 \end_inset
30546
30547 Hello
30548 \begin_inset ERT
30549 status collapsed
30550
30551 \begin_layout Plain Layout
30552
30553 }
30554 \end_layout
30555
30556 \end_inset
30557
30558 .
30559 \end_layout
30560
30561 \begin_layout Standard
30562 If a the scaling factor is negative, the box content will be mirrored.
30563  Therefore the command 
30564 \series bold
30565
30566 \backslash
30567 scalebox{-1}[1]{Hello}
30568 \series default
30569  can be used to create mirror writing: 
30570 \begin_inset ERT
30571 status collapsed
30572
30573 \begin_layout Plain Layout
30574
30575
30576 \backslash
30577 scalebox{-1}[1]{
30578 \end_layout
30579
30580 \end_inset
30581
30582 Hello
30583 \begin_inset ERT
30584 status collapsed
30585
30586 \begin_layout Plain Layout
30587
30588 }
30589 \end_layout
30590
30591 \end_inset
30592
30593
30594 \end_layout
30595
30596 \begin_layout Standard
30597
30598 \series bold
30599
30600 \backslash
30601 scalebox{1}[-1]{Hello}
30602 \series default
30603  reflects the 
30604 \begin_inset ERT
30605 status collapsed
30606
30607 \begin_layout Plain Layout
30608
30609
30610 \backslash
30611 scalebox{1}[-1]{
30612 \end_layout
30613
30614 \end_inset
30615
30616 Hello
30617 \begin_inset ERT
30618 status collapsed
30619
30620 \begin_layout Plain Layout
30621
30622 }
30623 \end_layout
30624
30625 \end_inset
30626
30627  at the base line.
30628 \end_layout
30629
30630 \begin_layout Standard
30631 Equivalent to 
30632 \series bold
30633
30634 \backslash
30635 scalebox{-1}[1]{box content}
30636 \series default
30637  there exists the command
30638 \begin_inset Newline newline
30639 \end_inset
30640
30641
30642 \series bold
30643
30644 \backslash
30645 reflectbox{box content}
30646 \series default
30647 .
30648 \end_layout
30649
30650 \begin_layout Standard
30651 \begin_inset VSpace bigskip
30652 \end_inset
30653
30654 The command 
30655 \series bold
30656
30657 \backslash
30658 resizebox
30659 \series default
30660  is used to scale the box to a defined width and height.
30661  The command scheme is:
30662 \end_layout
30663
30664 \begin_layout Standard
30665
30666 \series bold
30667
30668 \backslash
30669 resizebox{width}{height}{box content}
30670 \end_layout
30671
30672 \begin_layout Standard
30673 Is one of the two command arguments given as exclamation mark 
30674 \series bold
30675 !
30676 \series default
30677 , the size is set so that the aspect ratio of the box content is kept.
30678 \end_layout
30679
30680 \begin_layout Standard
30681 The command 
30682 \series bold
30683
30684 \backslash
30685 resizebox{2cm}{1cm}{Hello}
30686 \series default
30687  produces: 
30688 \begin_inset ERT
30689 status collapsed
30690
30691 \begin_layout Plain Layout
30692
30693
30694 \backslash
30695 resizebox{2cm}{1cm}{
30696 \end_layout
30697
30698 \end_inset
30699
30700 Hello
30701 \begin_inset ERT
30702 status collapsed
30703
30704 \begin_layout Plain Layout
30705
30706 }
30707 \end_layout
30708
30709 \end_inset
30710
30711
30712 \begin_inset Newline newline
30713 \end_inset
30714
30715 The command 
30716 \series bold
30717
30718 \backslash
30719 resizebox{2cm}{!}{Hello}
30720 \series default
30721  produces: 
30722 \begin_inset ERT
30723 status collapsed
30724
30725 \begin_layout Plain Layout
30726
30727
30728 \backslash
30729 resizebox{2cm}{!}{
30730 \end_layout
30731
30732 \end_inset
30733
30734 Hello
30735 \begin_inset ERT
30736 status collapsed
30737
30738 \begin_layout Plain Layout
30739
30740 }
30741 \end_layout
30742
30743 \end_inset
30744
30745
30746 \end_layout
30747
30748 \begin_layout Standard
30749 \begin_inset VSpace bigskip
30750 \end_inset
30751
30752
30753 \begin_inset Note Greyedout
30754 status open
30755
30756 \begin_layout Plain Layout
30757
30758 \series bold
30759 Note:
30760 \series default
30761  When arguments of 
30762 \series bold
30763
30764 \backslash
30765 scalebox
30766 \series default
30767  or 
30768 \series bold
30769
30770 \backslash
30771 resizebox
30772 \series default
30773  are set to zero, no LaTeX-errors occur when exporting the document but
30774  the exported files can not or only partly be displayed.
30775 \end_layout
30776
30777 \end_inset
30778
30779
30780 \end_layout
30781
30782 \begin_layout Standard
30783 \begin_inset VSpace bigskip
30784 \end_inset
30785
30786
30787 \end_layout
30788
30789 \begin_layout Standard
30790 The boxes can be combined in any order.
30791  E.
30792 \begin_inset space \thinspace{}
30793 \end_inset
30794
30795 g.
30796 \begin_inset space \space{}
30797 \end_inset
30798
30799 the command
30800 \begin_inset Newline newline
30801 \end_inset
30802
30803
30804 \series bold
30805
30806 \backslash
30807 rotatebox[origin=c]{-45}{
30808 \backslash
30809 resizebox{2cm}{!}{
30810 \backslash
30811 reflectbox{Hello}}}
30812 \begin_inset Newline newline
30813 \end_inset
30814
30815
30816 \series default
30817 produces:
30818 \end_layout
30819
30820 \begin_layout Standard
30821 \align center
30822 \begin_inset ERT
30823 status collapsed
30824
30825 \begin_layout Plain Layout
30826
30827
30828 \backslash
30829 rotatebox[origin=c]{-45}{
30830 \backslash
30831 resizebox{2cm}{!}{
30832 \backslash
30833 reflectbox{
30834 \end_layout
30835
30836 \end_inset
30837
30838 Hello
30839 \begin_inset ERT
30840 status collapsed
30841
30842 \begin_layout Plain Layout
30843
30844 }}}
30845 \end_layout
30846
30847 \end_inset
30848
30849
30850 \end_layout
30851
30852 \begin_layout Standard
30853 \noindent
30854 Images, tables, and inline formulas are allowed as box content:
30855 \end_layout
30856
30857 \begin_layout Standard
30858 \align center
30859 \begin_inset ERT
30860 status collapsed
30861
30862 \begin_layout Plain Layout
30863
30864
30865 \backslash
30866 rotatebox[origin=c]{-30}{
30867 \backslash
30868 resizebox{2cm}{!}{
30869 \backslash
30870 reflectbox{
30871 \end_layout
30872
30873 \end_inset
30874
30875
30876 \begin_inset Graphics
30877         filename clipart/platypus.eps
30878         lyxscale 50
30879         width 25col%
30880
30881 \end_inset
30882
30883
30884 \begin_inset ERT
30885 status collapsed
30886
30887 \begin_layout Plain Layout
30888
30889 }}}
30890 \end_layout
30891
30892 \end_inset
30893
30894
30895 \begin_inset ERT
30896 status collapsed
30897
30898 \begin_layout Plain Layout
30899
30900
30901 \backslash
30902 rotatebox[origin=c]{-45}{
30903 \backslash
30904 resizebox{2cm}{!}{
30905 \backslash
30906 reflectbox{
30907 \end_layout
30908
30909 \end_inset
30910
30911
30912 \begin_inset Tabular
30913 <lyxtabular version="3" rows="2" columns="2">
30914 <features>
30915 <column alignment="center" valignment="top" width="0">
30916 <column alignment="center" valignment="top" width="0">
30917 <row>
30918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30919 \begin_inset Text
30920
30921 \begin_layout Plain Layout
30922 q
30923 \end_layout
30924
30925 \end_inset
30926 </cell>
30927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30928 \begin_inset Text
30929
30930 \begin_layout Plain Layout
30931 w
30932 \end_layout
30933
30934 \end_inset
30935 </cell>
30936 </row>
30937 <row>
30938 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30939 \begin_inset Text
30940
30941 \begin_layout Plain Layout
30942 e
30943 \end_layout
30944
30945 \end_inset
30946 </cell>
30947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30948 \begin_inset Text
30949
30950 \begin_layout Plain Layout
30951 r
30952 \end_layout
30953
30954 \end_inset
30955 </cell>
30956 </row>
30957 </lyxtabular>
30958
30959 \end_inset
30960
30961
30962 \begin_inset ERT
30963 status collapsed
30964
30965 \begin_layout Plain Layout
30966
30967 }}}
30968 \end_layout
30969
30970 \end_inset
30971
30972
30973 \begin_inset ERT
30974 status collapsed
30975
30976 \begin_layout Plain Layout
30977
30978
30979 \backslash
30980 rotatebox[origin=c]{-45}{
30981 \backslash
30982 resizebox{2cm}{!}{
30983 \backslash
30984 reflectbox{
30985 \end_layout
30986
30987 \end_inset
30988
30989
30990 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30991 \end_inset
30992
30993
30994 \begin_inset ERT
30995 status collapsed
30996
30997 \begin_layout Plain Layout
30998
30999 }}}
31000 \end_layout
31001
31002 \end_inset
31003
31004
31005 \end_layout
31006
31007 \begin_layout Standard
31008 When the global formula style 
31009 \series bold
31010 fleqn
31011 \series default
31012  is used in the document
31013 \begin_inset Foot
31014 status collapsed
31015
31016 \begin_layout Plain Layout
31017 When 
31018 \begin_inset Quotes eld
31019 \end_inset
31020
31021 fleqn
31022 \begin_inset Quotes erd
31023 \end_inset
31024
31025  is added to the document class options.
31026 \end_layout
31027
31028 \end_inset
31029
31030 , also display formulas can be scaled.
31031 \end_layout
31032
31033 \begin_layout Chapter
31034 External Stuff
31035 \begin_inset Index
31036 status collapsed
31037
31038 \begin_layout Plain Layout
31039 External Stuff
31040 \end_layout
31041
31042 \end_inset
31043
31044
31045 \end_layout
31046
31047 \begin_layout Standard
31048 With the menu 
31049 \family sans
31050 Insert\SpecialChar \menuseparator
31051 File
31052 \family default
31053  you can insert external material to your document.
31054  This can be:
31055 \end_layout
31056
31057 \begin_layout Description
31058 LyX
31059 \begin_inset space ~
31060 \end_inset
31061
31062 Document Another LyX document; its content is directly inserted to your
31063  document.
31064 \end_layout
31065
31066 \begin_layout Description
31067 Plain
31068 \begin_inset space ~
31069 \end_inset
31070
31071 Text A text document; every of its text lines is inserted to your document
31072  as own paragraph.
31073 \end_layout
31074
31075 \begin_layout Description
31076 Plain
31077 \begin_inset space ~
31078 \end_inset
31079
31080 Text,
31081 \begin_inset space ~
31082 \end_inset
31083
31084 Join
31085 \begin_inset space ~
31086 \end_inset
31087
31088 Lines A text document; its text lines are inserted as they are.
31089  Empty text lines creates a new paragraph in your document.
31090 \end_layout
31091
31092 \begin_layout Description
31093 External
31094 \begin_inset space ~
31095 \end_inset
31096
31097 Material Files in various formats.
31098 \end_layout
31099
31100 \begin_layout Description
31101 Child
31102 \begin_inset space ~
31103 \end_inset
31104
31105 Document LyX or LaTeX-documents.
31106 \end_layout
31107
31108 \begin_layout Section
31109 External Material
31110 \begin_inset Index
31111 status collapsed
31112
31113 \begin_layout Plain Layout
31114 External Stuff ! External Material
31115 \end_layout
31116
31117 \end_inset
31118
31119
31120 \end_layout
31121
31122 \begin_layout Standard
31123 The external material feature allows you to insert files to your document
31124  without converting them previously to a format that can be read by the
31125  document output format because LyX takes care of needed conversions.
31126  This is similar to images that can be inserted in various image formats
31127  to LyX documents.
31128 \end_layout
31129
31130 \begin_layout Standard
31131 External material can be inserted via the 
31132 \family sans
31133 External Material
31134 \family default
31135  dialog that is accessible with the menu 
31136 \family sans
31137 Insert\SpecialChar \menuseparator
31138 File\SpecialChar \menuseparator
31139 External
31140 \begin_inset space ~
31141 \end_inset
31142
31143 Material
31144 \family default
31145 .
31146  Currently the following file types (
31147 \family sans
31148 Templates
31149 \family default
31150 ) are allowed:
31151 \end_layout
31152
31153 \begin_layout Description
31154 ChessDiagram This template supports chess position diagrams made with the
31155  program 
31156 \series bold
31157
31158 \begin_inset CommandInset href
31159 LatexCommand href
31160 name "XBoard"
31161 target "http://en.wikipedia.org/wiki/XBoard"
31162
31163 \end_inset
31164
31165
31166 \series default
31167 .
31168 \end_layout
31169
31170 \begin_layout Description
31171 Date This inserts the date in the form 
31172 \emph on
31173 Day-Month-Year
31174 \emph default
31175 .
31176  This is a date inserted as external material: 
31177 \begin_inset External
31178         template Date
31179         filename .
31180
31181 \end_inset
31182
31183
31184 \begin_inset space ~
31185 \end_inset
31186
31187
31188 \begin_inset Note Note
31189 status open
31190
31191 \begin_layout Plain Layout
31192 Remove the protected space when bug 4398 is fixed!
31193 \end_layout
31194
31195 \end_inset
31196
31197
31198 \begin_inset Newline newline
31199 \end_inset
31200
31201 The date is not shown within LyX, only in the output.
31202  There are two other methods of inserting a date: Via menu 
31203 \family sans
31204 Insert\SpecialChar \menuseparator
31205 Date
31206 \family default
31207  and with the LaTeX command 
31208 \series bold
31209
31210 \backslash
31211 today
31212 \series default
31213  as TeX-Code.
31214  The different methods are compared in Table
31215 \begin_inset space ~
31216 \end_inset
31217
31218
31219 \begin_inset CommandInset ref
31220 LatexCommand ref
31221 reference "tab:Comparison-of-the"
31222
31223 \end_inset
31224
31225 .
31226 \end_layout
31227
31228 \begin_layout Description
31229 LilyPond This template is used for music notation typeset with the program
31230 \begin_inset Newline linebreak
31231 \end_inset
31232
31233
31234 \series bold
31235
31236 \begin_inset CommandInset href
31237 LatexCommand href
31238 name "LilyPond"
31239 target "http://en.wikipedia.org/wiki/LilyPond"
31240
31241 \end_inset
31242
31243
31244 \series default
31245 .
31246 \end_layout
31247
31248 \begin_layout Description
31249 PDFPages With this template you can insert PDF documents to your document.
31250  To insert certain or all pages of a PDF, use the 
31251 \emph on
31252 pages
31253 \emph default
31254  option in the 
31255 \family sans
31256 Option
31257 \family default
31258  field in the 
31259 \family sans
31260 LaTeX and LyX options
31261 \family default
31262  tab according to the template description in the dialog.
31263  When no 
31264 \emph on
31265 pages
31266 \emph default
31267  option is given, only the first page of the PDF will be inserted.
31268 \end_layout
31269
31270 \begin_layout Description
31271 RasterImage This can be used for bitmap images.
31272  Nearly all popular image formats are supported.
31273  The image can be treated in the 
31274 \family sans
31275 External material
31276 \family default
31277  dialog like the images that are usually included via the 
31278 \family sans
31279 Graphics
31280 \family default
31281  dialog as described in section
31282 \begin_inset space ~
31283 \end_inset
31284
31285
31286 \begin_inset CommandInset ref
31287 LatexCommand ref
31288 reference "sec:Graphics-Dialog"
31289
31290 \end_inset
31291
31292 .
31293  The difference is that only raster images are allowed, that means that
31294  PDF and EPS-images are not supported.
31295 \end_layout
31296
31297 \begin_layout Description
31298 XFig This template supports images created with the program 
31299 \series bold
31300
31301 \begin_inset CommandInset href
31302 LatexCommand href
31303 name "Xfig"
31304 target "http://en.wikipedia.org/wiki/Xfig"
31305
31306 \end_inset
31307
31308
31309 \series default
31310 .
31311 \end_layout
31312
31313 \begin_layout Standard
31314 \begin_inset Float table
31315 placement h
31316 wide false
31317 sideways false
31318 status open
31319
31320 \begin_layout Plain Layout
31321 \begin_inset Caption
31322
31323 \begin_layout Plain Layout
31324 \begin_inset CommandInset label
31325 LatexCommand label
31326 name "tab:Comparison-of-the"
31327
31328 \end_inset
31329
31330 Comparison of the date input methods.
31331 \end_layout
31332
31333 \end_inset
31334
31335
31336 \end_layout
31337
31338 \begin_layout Plain Layout
31339 \align center
31340 \begin_inset Tabular
31341 <lyxtabular version="3" rows="4" columns="4">
31342 <features>
31343 <column alignment="center" valignment="top" width="0">
31344 <column alignment="center" valignment="top" width="0">
31345 <column alignment="center" valignment="top" width="0">
31346 <column alignment="center" valignment="top" width="0">
31347 <row>
31348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31349 \begin_inset Text
31350
31351 \begin_layout Plain Layout
31352 Document format
31353 \end_layout
31354
31355 \end_inset
31356 </cell>
31357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31358 \begin_inset Text
31359
31360 \begin_layout Plain Layout
31361
31362 \family sans
31363 External Material\SpecialChar \menuseparator
31364 Date
31365 \end_layout
31366
31367 \end_inset
31368 </cell>
31369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31370 \begin_inset Text
31371
31372 \begin_layout Plain Layout
31373
31374 \family sans
31375 Insert\SpecialChar \menuseparator
31376 Date
31377 \end_layout
31378
31379 \end_inset
31380 </cell>
31381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31382 \begin_inset Text
31383
31384 \begin_layout Plain Layout
31385 command 
31386 \series bold
31387
31388 \backslash
31389 today
31390 \end_layout
31391
31392 \end_inset
31393 </cell>
31394 </row>
31395 <row>
31396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31397 \begin_inset Text
31398
31399 \begin_layout Plain Layout
31400 LyX
31401 \end_layout
31402
31403 \end_inset
31404 </cell>
31405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31406 \begin_inset Text
31407
31408 \begin_layout Plain Layout
31409 as inset box
31410 \end_layout
31411
31412 \end_inset
31413 </cell>
31414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31415 \begin_inset Text
31416
31417 \begin_layout Plain Layout
31418 as date
31419 \end_layout
31420
31421 \end_inset
31422 </cell>
31423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31424 \begin_inset Text
31425
31426 \begin_layout Plain Layout
31427 as TeX-Code inset box
31428 \end_layout
31429
31430 \end_inset
31431 </cell>
31432 </row>
31433 <row>
31434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31435 \begin_inset Text
31436
31437 \begin_layout Plain Layout
31438 LaTeX
31439 \end_layout
31440
31441 \end_inset
31442 </cell>
31443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31444 \begin_inset Text
31445
31446 \begin_layout Plain Layout
31447 as date
31448 \end_layout
31449
31450 \end_inset
31451 </cell>
31452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31453 \begin_inset Text
31454
31455 \begin_layout Plain Layout
31456 as date
31457 \end_layout
31458
31459 \end_inset
31460 </cell>
31461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31462 \begin_inset Text
31463
31464 \begin_layout Plain Layout
31465 as command
31466 \end_layout
31467
31468 \end_inset
31469 </cell>
31470 </row>
31471 <row>
31472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31473 \begin_inset Text
31474
31475 \begin_layout Plain Layout
31476 DVI, PDF, PS
31477 \end_layout
31478
31479 \end_inset
31480 </cell>
31481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31482 \begin_inset Text
31483
31484 \begin_layout Plain Layout
31485 as date
31486 \end_layout
31487
31488 \end_inset
31489 </cell>
31490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31491 \begin_inset Text
31492
31493 \begin_layout Plain Layout
31494 as date
31495 \end_layout
31496
31497 \end_inset
31498 </cell>
31499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31500 \begin_inset Text
31501
31502 \begin_layout Plain Layout
31503 as date
31504 \end_layout
31505
31506 \end_inset
31507 </cell>
31508 </row>
31509 </lyxtabular>
31510
31511 \end_inset
31512
31513
31514 \end_layout
31515
31516 \end_inset
31517
31518
31519 \end_layout
31520
31521 \begin_layout Standard
31522 When you use the option 
31523 \family sans
31524 Draft
31525 \family default
31526  in the 
31527 \family sans
31528 File
31529 \family default
31530  tab of the 
31531 \family sans
31532 External Material
31533 \family default
31534  dialog, only the path to the inserted file is shown in the output.
31535 \begin_inset Newline newline
31536 \end_inset
31537
31538 External material is displayed in LyX either as box like this: 
31539 \begin_inset Graphics
31540         filename clipart/ExternalMaterialQt4.png
31541         scale 85
31542         scaleBeforeRotation
31543
31544 \end_inset
31545
31546  or as image, depending on the option 
31547 \family sans
31548 Show in LyX
31549 \family default
31550  in the 
31551 \family sans
31552 LaTeX and LyX options
31553 \family default
31554  tab of the dialog.
31555 \end_layout
31556
31557 \begin_layout Standard
31558 The 
31559 \family sans
31560 \emph on
31561 Customization
31562 \family default
31563 \emph default
31564  manual explains how you can define your own templates.
31565 \end_layout
31566
31567 \begin_layout Section
31568 Child Documents
31569 \begin_inset CommandInset label
31570 LatexCommand label
31571 name "sec:Child-Documents"
31572
31573 \end_inset
31574
31575
31576 \begin_inset Index
31577 status collapsed
31578
31579 \begin_layout Plain Layout
31580 External Stuff ! Child Documents
31581 \end_layout
31582
31583 \end_inset
31584
31585
31586 \begin_inset Index
31587 status collapsed
31588
31589 \begin_layout Plain Layout
31590 Files ! Include
31591 \end_layout
31592
31593 \end_inset
31594
31595
31596 \end_layout
31597
31598 \begin_layout Standard
31599 Child documents are used when you have a long document consisting of several
31600  larger parts or sections.
31601  For maintenance it is often useful and sometimes even required to split
31602  the document in several files that can be revised separately.
31603  The different documents are then the so called child documents and a master
31604  document connects them to print the full document or parts of it.
31605  A child documents inherits contents of its master, for example the bibliography
31606  and the labels for cross-references.
31607 \end_layout
31608
31609 \begin_layout Standard
31610 To be able to work on child documents without the need to open its master,
31611  specify in the child document the master in the menu
31612 \family sans
31613  Document\SpecialChar \menuseparator
31614 Settings\SpecialChar \menuseparator
31615 Document
31616 \begin_inset space ~
31617 \end_inset
31618
31619 Class
31620 \family default
31621 .
31622  This master file will then be used in the background by LyX when you edit
31623  the child document.
31624 \end_layout
31625
31626 \begin_layout Standard
31627 Included documents are displayed in LyX as a box like this: 
31628 \begin_inset Graphics
31629         filename clipart/ChildDocumentQt4.png
31630         scale 85
31631         scaleBeforeRotation
31632
31633 \end_inset
31634
31635  To include child documents to a master document use the menu 
31636 \family sans
31637 Insert\SpecialChar \menuseparator
31638 File\SpecialChar \menuseparator
31639 Child
31640 \begin_inset space ~
31641 \end_inset
31642
31643 Documents
31644 \family default
31645 .
31646  A dialog pops up where you can choose between four include methods:
31647 \end_layout
31648
31649 \begin_layout Description
31650 Include You can include LyX and LaTeX-documents.
31651  When you press the 
31652 \family sans
31653 Load
31654 \family default
31655  button in the 
31656 \family sans
31657 Child Document
31658 \family default
31659  dialog, the included documents will be opened in LyX in a new file tab
31660  so that you can modify it.
31661 \begin_inset Newline newline
31662 \end_inset
31663
31664
31665 \end_layout
31666
31667 \begin_layout Standard
31668 Here is a child document inserted using 
31669 \family sans
31670 Include
31671 \family default
31672
31673 \begin_inset CommandInset include
31674 LatexCommand include
31675 filename "DummyDocument1.lyx"
31676
31677 \end_inset
31678
31679
31680 \end_layout
31681
31682 \begin_layout Standard
31683 The section numbering includes the sections of the included files in the
31684  order they are inserted in the master document.
31685  The included example document has for example a subsection that is numbered
31686  as subsection of this section.
31687  Labels of included documents can be referenced: Subsection
31688 \begin_inset space ~
31689 \end_inset
31690
31691
31692 \begin_inset CommandInset ref
31693 LatexCommand ref
31694 reference "sub:External-Subsection-1"
31695
31696 \end_inset
31697
31698
31699 \end_layout
31700
31701 \begin_layout Standard
31702 The preamble of the child document is ignored, only the preamble of the
31703  master document is used.
31704  Included documents are inserted starting on a new page and end with a page
31705  break.
31706 \end_layout
31707
31708 \begin_layout Standard
31709 With the LaTeX-command 
31710 \series bold
31711
31712 \backslash
31713 includeonly 
31714 \series default
31715 you can specify which included child documents are processed when the output
31716  is generated.
31717  This is useful when you are perhaps only working on a certain chapter of
31718  your large document as this saves compiling time.
31719  
31720 \series bold
31721
31722 \backslash
31723 includeonly
31724 \series default
31725  is inserted to the master document preamble.
31726  It takes a comma-separated list of the filenames as argument, e.
31727 \begin_inset space \thinspace{}
31728 \end_inset
31729
31730 g.
31731 \end_layout
31732
31733 \begin_layout Standard
31734
31735 \series bold
31736
31737 \backslash
31738 includeonly{chapter1,chapter5}
31739 \end_layout
31740
31741 \begin_layout Standard
31742 will only process the included files named 
31743 \begin_inset Quotes eld
31744 \end_inset
31745
31746 chapter1.lyx
31747 \begin_inset Quotes erd
31748 \end_inset
31749
31750  (or 
31751 \begin_inset Quotes eld
31752 \end_inset
31753
31754 chapter1.tex
31755 \begin_inset Quotes erd
31756 \end_inset
31757
31758 ) and 
31759 \begin_inset Quotes eld
31760 \end_inset
31761
31762 chapter5.lyx
31763 \begin_inset Quotes erd
31764 \end_inset
31765
31766  .
31767 \end_layout
31768
31769 \begin_layout Standard
31770 \begin_inset Note Greyedout
31771 status open
31772
31773 \begin_layout Plain Layout
31774
31775 \series bold
31776 Note:
31777 \series default
31778  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31779 w the document in case that the child document uses another document class
31780  than the master document as this will lead to unexpected outputs.
31781 \end_layout
31782
31783 \end_inset
31784
31785
31786 \end_layout
31787
31788 \begin_layout Description
31789 Input This method is very similar to the Include method.
31790  The differences are:
31791 \end_layout
31792
31793 \begin_deeper
31794 \begin_layout Itemize
31795 Input files don't start with a new page and don't end with a page break.
31796 \end_layout
31797
31798 \begin_layout Itemize
31799 Input files can be previewed in LyX when 
31800 \family sans
31801 Instant
31802 \begin_inset space ~
31803 \end_inset
31804
31805 Preview
31806 \family default
31807  is enabled in LyX's preferences under 
31808 \family sans
31809 Look
31810 \begin_inset space ~
31811 \end_inset
31812
31813 and
31814 \begin_inset space ~
31815 \end_inset
31816
31817 feel\SpecialChar \menuseparator
31818 Graphics
31819 \family default
31820 .
31821 \end_layout
31822
31823 \begin_layout Itemize
31824 The LaTeX-command 
31825 \series bold
31826
31827 \backslash
31828 includeonly
31829 \series default
31830  cannot be used.
31831 \end_layout
31832
31833 \end_deeper
31834 \begin_layout Standard
31835 Here is a child document inserted using 
31836 \family sans
31837 Input
31838 \family default
31839
31840 \begin_inset CommandInset include
31841 LatexCommand input
31842 filename "DummyDocument2.lyx"
31843
31844 \end_inset
31845
31846
31847 \end_layout
31848
31849 \begin_layout Description
31850 Verbatim With this method every text file can be included.
31851  The file is shown in the output with its source code, no command used in
31852  the text is invoked.
31853  You can use the option 
31854 \family sans
31855 Mark spaces in output
31856 \family default
31857  that displays the character 
31858 \begin_inset Quotes eld
31859 \end_inset
31860
31861
31862 \begin_inset ERT
31863 status collapsed
31864
31865 \begin_layout Plain Layout
31866
31867
31868 \backslash
31869 textvisiblespace 
31870 \end_layout
31871
31872 \end_inset
31873
31874
31875 \begin_inset Quotes erd
31876 \end_inset
31877
31878  for every space character in the source code.
31879  The difference to the method via the menu 
31880 \family sans
31881 Insert\SpecialChar \menuseparator
31882 File\SpecialChar \menuseparator
31883 Plain
31884 \begin_inset space ~
31885 \end_inset
31886
31887 Text
31888 \family default
31889  is that the document content is not shown in LyX.
31890 \end_layout
31891
31892 \begin_layout Standard
31893 Here is a child document inserted as Verbatim: 
31894 \begin_inset CommandInset include
31895 LatexCommand verbatiminput
31896 filename "DummyTextDocument.txt"
31897
31898 \end_inset
31899
31900
31901 \begin_inset VSpace bigskip
31902 \end_inset
31903
31904 Here is a child document inserted as Verbatim using the 
31905 \family sans
31906 Mark spaces in output
31907 \family default
31908  option: 
31909 \begin_inset CommandInset include
31910 LatexCommand verbatiminput*
31911 filename "DummyTextDocument.txt"
31912
31913 \end_inset
31914
31915
31916 \end_layout
31917
31918 \begin_layout Standard
31919 \begin_inset VSpace bigskip
31920 \end_inset
31921
31922
31923 \end_layout
31924
31925 \begin_layout Standard
31926 \begin_inset Note Greyedout
31927 status open
31928
31929 \begin_layout Plain Layout
31930
31931 \series bold
31932 Note:
31933 \series default
31934  As you can see in the examples above, the text of the documents included
31935  as 
31936 \family sans
31937 verbatim
31938 \family default
31939  is not broken at the end of the document lines.
31940 \end_layout
31941
31942 \end_inset
31943
31944
31945 \end_layout
31946
31947 \begin_layout Description
31948 Listings This type is described in chapter
31949 \begin_inset space ~
31950 \end_inset
31951
31952
31953 \begin_inset CommandInset ref
31954 LatexCommand ref
31955 reference "cha:Program-Code-Listings"
31956
31957 \end_inset
31958
31959 .
31960 \end_layout
31961
31962 \begin_layout Standard
31963 \begin_inset Note Greyedout
31964 status open
31965
31966 \begin_layout Plain Layout
31967
31968 \series bold
31969 Note:
31970 \series default
31971  Including the same document twice in a document using different methods
31972  could cause LaTeX-problems.
31973 \end_layout
31974
31975 \end_inset
31976
31977
31978 \end_layout
31979
31980 \begin_layout Chapter
31981 Program Code Listings
31982 \begin_inset CommandInset label
31983 LatexCommand label
31984 name "cha:Program-Code-Listings"
31985
31986 \end_inset
31987
31988
31989 \begin_inset Index
31990 status collapsed
31991
31992 \begin_layout Plain Layout
31993 Listings
31994 \end_layout
31995
31996 \end_inset
31997
31998
31999 \begin_inset Index
32000 status collapsed
32001
32002 \begin_layout Plain Layout
32003 Program Code
32004 \end_layout
32005
32006 \end_inset
32007
32008
32009 \begin_inset Index
32010 status collapsed
32011
32012 \begin_layout Plain Layout
32013 Floats ! Listings
32014 \end_layout
32015
32016 \end_inset
32017
32018
32019 \end_layout
32020
32021 \begin_layout Standard
32022 To include and typeset program code you can use the 
32023 \family sans
32024 Listings
32025 \family default
32026  inset that can be inserted via the menu 
32027 \family sans
32028 Insert\SpecialChar \menuseparator
32029 Program Listing
32030 \family default
32031 .
32032  The LaTeX-package 
32033 \series bold
32034 listings
32035 \series default
32036
32037 \begin_inset Index
32038 status collapsed
32039
32040 \begin_layout Plain Layout
32041 LaTeX-packages ! listings
32042 \end_layout
32043
32044 \end_inset
32045
32046  provides a powerful and flexible way to insert program source code to your
32047  document.
32048 \end_layout
32049
32050 \begin_layout Standard
32051 Right-clicking on a listings inset opens the context menu containing where
32052  you can set the listings format.
32053 \end_layout
32054
32055 \begin_layout Standard
32056 By default, a listing starts a new paragraph in the output.
32057  The placement option 
32058 \family sans
32059 Inline
32060 \begin_inset space ~
32061 \end_inset
32062
32063 listing
32064 \family default
32065  prints the listing inline like this: 
32066 \begin_inset listings
32067 lstparams "language={C++}"
32068 inline true
32069 status open
32070
32071 \begin_layout Plain Layout
32072
32073 int a=5;
32074 \end_layout
32075
32076 \end_inset
32077
32078
32079 \begin_inset Newline newline
32080 \end_inset
32081
32082 The option 
32083 \family sans
32084 Float
32085 \family default
32086  creates a listings float where you can specify the placement options 
32087 \begin_inset Quotes eld
32088 \end_inset
32089
32090
32091 \family sans
32092 h
32093 \family default
32094
32095 \begin_inset Quotes erd
32096 \end_inset
32097
32098
32099 \begin_inset Quotes eld
32100 \end_inset
32101
32102
32103 \family sans
32104 t
32105 \family default
32106
32107 \begin_inset Quotes erd
32108 \end_inset
32109
32110
32111 \begin_inset Quotes eld
32112 \end_inset
32113
32114
32115 \family sans
32116 b
32117 \family default
32118
32119 \begin_inset Quotes erd
32120 \end_inset
32121
32122 , and 
32123 \begin_inset Quotes eld
32124 \end_inset
32125
32126
32127 \family sans
32128 p
32129 \family default
32130
32131 \begin_inset Quotes erd
32132 \end_inset
32133
32134  corresponding to the float placement options described in section
32135 \begin_inset space ~
32136 \end_inset
32137
32138
32139 \begin_inset CommandInset ref
32140 LatexCommand ref
32141 reference "sec:Float-Placement"
32142
32143 \end_inset
32144
32145 .
32146  The placement options can be mixed and are inserted without any separation,
32147  e.
32148 \begin_inset space \thinspace{}
32149 \end_inset
32150
32151 g.
32152 \begin_inset space \space{}
32153 \end_inset
32154
32155
32156 \begin_inset Quotes eld
32157 \end_inset
32158
32159
32160 \family sans
32161 htbp
32162 \family default
32163
32164 \begin_inset Quotes erd
32165 \end_inset
32166
32167 .
32168  The option 
32169 \begin_inset Quotes eld
32170 \end_inset
32171
32172 h
32173 \begin_inset Quotes erd
32174 \end_inset
32175
32176  has sometimes no effect, but you don't need to use the 
32177 \family sans
32178 Float
32179 \family default
32180  option in this case as also non-float listings can have captions and be
32181  referenced.
32182 \end_layout
32183
32184 \begin_layout Standard
32185 You can add captions to listings with the menu 
32186 \family sans
32187 Insert\SpecialChar \menuseparator
32188 Caption
32189 \family default
32190 .
32191  Listings can be referenced like floats: Listing
32192 \begin_inset space ~
32193 \end_inset
32194
32195
32196 \begin_inset CommandInset ref
32197 LatexCommand ref
32198 reference "lst:Example-Listing"
32199
32200 \end_inset
32201
32202
32203 \end_layout
32204
32205 \begin_layout Standard
32206 \begin_inset listings
32207 lstparams "language=Python"
32208 inline false
32209 status open
32210
32211 \begin_layout Plain Layout
32212
32213 \begin_inset Caption
32214
32215 \begin_layout Plain Layout
32216 \begin_inset CommandInset label
32217 LatexCommand label
32218 name "lst:Example-Listing"
32219
32220 \end_inset
32221
32222 Example Listing float
32223 \end_layout
32224
32225 \end_inset
32226
32227 # Example listing float
32228 \end_layout
32229
32230 \begin_layout Plain Layout
32231
32232 def func(param):
32233 \end_layout
32234
32235 \begin_layout Plain Layout
32236
32237     'this is a python function'
32238 \end_layout
32239
32240 \begin_layout Plain Layout
32241
32242     pass
32243 \end_layout
32244
32245 \end_inset
32246
32247
32248 \end_layout
32249
32250 \begin_layout Standard
32251 When you have set a programming language in the listings dialog, the keywords
32252  of this language will be recognized and specially typeset in the output.
32253  In the example listings the Python keyword 
32254 \begin_inset Quotes eld
32255 \end_inset
32256
32257 def
32258 \begin_inset Quotes erd
32259 \end_inset
32260
32261  is recognized and printed bold in the output.
32262 \end_layout
32263
32264 \begin_layout Standard
32265 \begin_inset Note Greyedout
32266 status open
32267
32268 \begin_layout Plain Layout
32269
32270 \series bold
32271 Note:
32272 \series default
32273  If you don't get bold keywords when using typewriter fonts, your 
32274 \family typewriter
32275 typewriter
32276 \family default
32277  font probably doesn't provide a bold shape.
32278  In this case select a different one in the menu 
32279 \family sans
32280 Document\SpecialChar \menuseparator
32281 Settings\SpecialChar \menuseparator
32282 Fonts
32283 \family default
32284 .
32285  (The fonts 
32286 \emph on
32287 LuxiMono, BeraMono
32288 \emph default
32289  and 
32290 \emph on
32291 Courier
32292 \emph default
32293  provide bold shapes.)
32294 \end_layout
32295
32296 \end_inset
32297
32298
32299 \end_layout
32300
32301 \begin_layout Standard
32302 In section 
32303 \family sans
32304 Line
32305 \begin_inset space ~
32306 \end_inset
32307
32308 numbering
32309 \family default
32310  of the listings dialog you can specify the line numbering style.
32311  You can insert a number to specify which lines are numbered to the field
32312  
32313 \family sans
32314 Step
32315 \family default
32316 .
32317  When you insert e.
32318 \begin_inset space \thinspace{}
32319 \end_inset
32320
32321 g.
32322 \begin_inset space \space{}
32323 \end_inset
32324
32325
32326 \begin_inset Quotes eld
32327 \end_inset
32328
32329 3
32330 \begin_inset Quotes erd
32331 \end_inset
32332
32333 , only every 3rd line will be numbered.
32334 \end_layout
32335
32336 \begin_layout Standard
32337 You can furthermore specify a range of lines, only these will then appear
32338  in the output.
32339  The option 
32340 \family sans
32341 Extended character table
32342 \family default
32343  should be used when you use national characters like the German umlauts
32344  in the listing.
32345 \begin_inset Newline newline
32346 \end_inset
32347
32348 Here is an example listing with left line numbering, step 
32349 \begin_inset Quotes eld
32350 \end_inset
32351
32352 3
32353 \begin_inset Quotes erd
32354 \end_inset
32355
32356 , language 
32357 \begin_inset Quotes eld
32358 \end_inset
32359
32360 Python
32361 \begin_inset Quotes erd
32362 \end_inset
32363
32364 , options 
32365 \begin_inset Quotes eld
32366 \end_inset
32367
32368 Extended character table
32369 \begin_inset Quotes erd
32370 \end_inset
32371
32372  and 
32373 \begin_inset Quotes eld
32374 \end_inset
32375
32376 Space
32377 \begin_inset space ~
32378 \end_inset
32379
32380 as
32381 \begin_inset space ~
32382 \end_inset
32383
32384 symbol
32385 \begin_inset Quotes erd
32386 \end_inset
32387
32388 , range lines 3
32389 \begin_inset space \thinspace{}
32390 \end_inset
32391
32392 -
32393 \begin_inset space \thinspace{}
32394 \end_inset
32395
32396 8:
32397 \end_layout
32398
32399 \begin_layout Standard
32400 \begin_inset listings
32401 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32402 inline false
32403 status open
32404
32405 \begin_layout Plain Layout
32406
32407 def func(param):
32408 \end_layout
32409
32410 \begin_layout Plain Layout
32411
32412     'this is a python function'
32413 \end_layout
32414
32415 \begin_layout Plain Layout
32416
32417     pass
32418 \end_layout
32419
32420 \begin_layout Plain Layout
32421
32422 def func(param):
32423 \end_layout
32424
32425 \begin_layout Plain Layout
32426
32427 'This is a German word: Tschüß'
32428 \end_layout
32429
32430 \begin_layout Plain Layout
32431
32432 pass
32433 \end_layout
32434
32435 \begin_layout Plain Layout
32436
32437 def func(param):
32438 \end_layout
32439
32440 \begin_layout Plain Layout
32441
32442 'this is a python function'
32443 \end_layout
32444
32445 \begin_layout Plain Layout
32446
32447 pass
32448 \end_layout
32449
32450 \end_inset
32451
32452
32453 \end_layout
32454
32455 \begin_layout Standard
32456 When you have tabulators in your listing, you can specify the number of
32457  characters that are spanned by a tabulator in the field 
32458 \family sans
32459 Tabulator
32460 \begin_inset space ~
32461 \end_inset
32462
32463 size
32464 \family default
32465 .
32466 \end_layout
32467
32468 \begin_layout Standard
32469 \begin_inset Note Greyedout
32470 status open
32471
32472 \begin_layout Plain Layout
32473
32474 \series bold
32475 Note:
32476 \series default
32477  Due to a bug in the 
32478 \series bold
32479 listings
32480 \series default
32481  package the line numbering is shifted by a line by every previous listing.
32482  That's the reason why the lines 2 and 5 are numbered in the above listing
32483  and not the lines 3 and 6.
32484 \end_layout
32485
32486 \end_inset
32487
32488
32489 \end_layout
32490
32491 \begin_layout Standard
32492 \begin_inset VSpace bigskip
32493 \end_inset
32494
32495
32496 \end_layout
32497
32498 \begin_layout Standard
32499 It is also possible to print lines from a file as listing.
32500  To do this, use the menu 
32501 \family sans
32502 Insert\SpecialChar \menuseparator
32503 File\SpecialChar \menuseparator
32504 Child Document
32505 \family default
32506  and choose the type 
32507 \family sans
32508 Listings
32509 \family default
32510 .
32511 \begin_inset Foot
32512 status collapsed
32513
32514 \begin_layout Plain Layout
32515 The other child document types are described in section
32516 \begin_inset space ~
32517 \end_inset
32518
32519
32520 \begin_inset CommandInset ref
32521 LatexCommand ref
32522 reference "sec:Child-Documents"
32523
32524 \end_inset
32525
32526 .
32527 \end_layout
32528
32529 \end_inset
32530
32531  In the child document dialog you can specify the listing parameters in
32532  a text box.
32533  To show a list of all available parameters, type in a question mark 
32534 \begin_inset Quotes eld
32535 \end_inset
32536
32537 ?
32538 \begin_inset Quotes erd
32539 \end_inset
32540
32541  in the text box.
32542 \end_layout
32543
32544 \begin_layout Standard
32545 To reference child document listings, write a label text into the corresponding
32546  field of the child document dialog.
32547  The label can then be referenced using the menu 
32548 \family sans
32549 Insert\SpecialChar \menuseparator
32550 Cross-Reference
32551 \family default
32552 .
32553 \end_layout
32554
32555 \begin_layout Standard
32556 Listing
32557 \begin_inset space ~
32558 \end_inset
32559
32560
32561 \begin_inset CommandInset ref
32562 LatexCommand ref
32563 reference "lst:file-listing"
32564
32565 \end_inset
32566
32567  is an example for a listing of a file; there the lines 10
32568 \begin_inset space \thinspace{}
32569 \end_inset
32570
32571 -
32572 \begin_inset space \thinspace{}
32573 \end_inset
32574
32575 15 of this LyX file are listed.
32576 \end_layout
32577
32578 \begin_layout Standard
32579 \begin_inset CommandInset include
32580 LatexCommand lstinputlisting
32581 filename "EmbeddedObjects.lyx"
32582 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32583
32584 \end_inset
32585
32586
32587 \end_layout
32588
32589 \begin_layout Standard
32590 \begin_inset VSpace bigskip
32591 \end_inset
32592
32593
32594 \end_layout
32595
32596 \begin_layout Standard
32597 Global listings settings can be set in the 
32598 \family sans
32599 Document\SpecialChar \menuseparator
32600 Settings\SpecialChar \menuseparator
32601 Text Layout
32602 \family default
32603  dialog.
32604  To get there a list of available options, type in a question mark 
32605 \begin_inset Quotes eld
32606 \end_inset
32607
32608 ?
32609 \begin_inset Quotes erd
32610 \end_inset
32611
32612  in the 
32613 \family sans
32614 Listings
32615 \begin_inset space ~
32616 \end_inset
32617
32618 settings
32619 \family default
32620  field.
32621 \end_layout
32622
32623 \begin_layout Standard
32624 For more information about the 
32625 \series bold
32626 listings
32627 \series default
32628  package, we refer to its documentation 
32629 \begin_inset CommandInset citation
32630 LatexCommand cite
32631 key "listings"
32632
32633 \end_inset
32634
32635 .
32636 \end_layout
32637
32638 \begin_layout Standard
32639 \begin_inset Newpage newpage
32640 \end_inset
32641
32642
32643 \end_layout
32644
32645 \begin_layout Chapter
32646 \start_of_appendix
32647 Units available in LyX
32648 \begin_inset Index
32649 status collapsed
32650
32651 \begin_layout Plain Layout
32652 Units
32653 \end_layout
32654
32655 \end_inset
32656
32657
32658 \begin_inset CommandInset label
32659 LatexCommand label
32660 name "cha:Units-available-in"
32661
32662 \end_inset
32663
32664
32665 \end_layout
32666
32667 \begin_layout Standard
32668 To understand the units described in this documentation, Table
32669 \begin_inset space ~
32670 \end_inset
32671
32672
32673 \begin_inset CommandInset ref
32674 LatexCommand ref
32675 reference "tab:Units"
32676
32677 \end_inset
32678
32679  explains all units available in LyX.
32680 \end_layout
32681
32682 \begin_layout Standard
32683 \begin_inset Float table
32684 placement h
32685 wide false
32686 sideways false
32687 status open
32688
32689 \begin_layout Plain Layout
32690 \begin_inset Caption
32691
32692 \begin_layout Plain Layout
32693 \begin_inset CommandInset label
32694 LatexCommand label
32695 name "tab:Units"
32696
32697 \end_inset
32698
32699 Units
32700 \end_layout
32701
32702 \end_inset
32703
32704
32705 \end_layout
32706
32707 \begin_layout Plain Layout
32708 \begin_inset VSpace medskip
32709 \end_inset
32710
32711
32712 \end_layout
32713
32714 \begin_layout Plain Layout
32715 \align center
32716 \begin_inset Tabular
32717 <lyxtabular version="3" rows="20" columns="2">
32718 <features>
32719 <column alignment="center" valignment="top" width="0">
32720 <column alignment="center" valignment="top" width="0">
32721 <row>
32722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32723 \begin_inset Text
32724
32725 \begin_layout Plain Layout
32726 unit
32727 \end_layout
32728
32729 \end_inset
32730 </cell>
32731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32732 \begin_inset Text
32733
32734 \begin_layout Plain Layout
32735 name/description
32736 \end_layout
32737
32738 \end_inset
32739 </cell>
32740 </row>
32741 <row>
32742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32743 \begin_inset Text
32744
32745 \begin_layout Plain Layout
32746 mm
32747 \end_layout
32748
32749 \end_inset
32750 </cell>
32751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32752 \begin_inset Text
32753
32754 \begin_layout Plain Layout
32755 millimeter
32756 \end_layout
32757
32758 \end_inset
32759 </cell>
32760 </row>
32761 <row>
32762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32763 \begin_inset Text
32764
32765 \begin_layout Plain Layout
32766 cm
32767 \end_layout
32768
32769 \end_inset
32770 </cell>
32771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32772 \begin_inset Text
32773
32774 \begin_layout Plain Layout
32775 centimeter
32776 \end_layout
32777
32778 \end_inset
32779 </cell>
32780 </row>
32781 <row>
32782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32783 \begin_inset Text
32784
32785 \begin_layout Plain Layout
32786 in
32787 \end_layout
32788
32789 \end_inset
32790 </cell>
32791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32792 \begin_inset Text
32793
32794 \begin_layout Plain Layout
32795 inch
32796 \end_layout
32797
32798 \end_inset
32799 </cell>
32800 </row>
32801 <row>
32802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32803 \begin_inset Text
32804
32805 \begin_layout Plain Layout
32806 pt
32807 \end_layout
32808
32809 \end_inset
32810 </cell>
32811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32812 \begin_inset Text
32813
32814 \begin_layout Plain Layout
32815 point (72.27
32816 \begin_inset space \thinspace{}
32817 \end_inset
32818
32819 pt = 1
32820 \begin_inset space \thinspace{}
32821 \end_inset
32822
32823 in)
32824 \end_layout
32825
32826 \end_inset
32827 </cell>
32828 </row>
32829 <row>
32830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32831 \begin_inset Text
32832
32833 \begin_layout Plain Layout
32834 pc
32835 \end_layout
32836
32837 \end_inset
32838 </cell>
32839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32840 \begin_inset Text
32841
32842 \begin_layout Plain Layout
32843 pica (1
32844 \begin_inset space \thinspace{}
32845 \end_inset
32846
32847 pc = 12
32848 \begin_inset space \thinspace{}
32849 \end_inset
32850
32851 pt)
32852 \end_layout
32853
32854 \end_inset
32855 </cell>
32856 </row>
32857 <row>
32858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32859 \begin_inset Text
32860
32861 \begin_layout Plain Layout
32862 sp
32863 \end_layout
32864
32865 \end_inset
32866 </cell>
32867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32868 \begin_inset Text
32869
32870 \begin_layout Plain Layout
32871 scaled point (65536
32872 \begin_inset space \thinspace{}
32873 \end_inset
32874
32875 sp = 1
32876 \begin_inset space \thinspace{}
32877 \end_inset
32878
32879 pt)
32880 \end_layout
32881
32882 \end_inset
32883 </cell>
32884 </row>
32885 <row>
32886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32887 \begin_inset Text
32888
32889 \begin_layout Plain Layout
32890 bp
32891 \end_layout
32892
32893 \end_inset
32894 </cell>
32895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32896 \begin_inset Text
32897
32898 \begin_layout Plain Layout
32899 big point (72
32900 \begin_inset space \thinspace{}
32901 \end_inset
32902
32903 bp = 1
32904 \begin_inset space \thinspace{}
32905 \end_inset
32906
32907 in)
32908 \end_layout
32909
32910 \end_inset
32911 </cell>
32912 </row>
32913 <row>
32914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32915 \begin_inset Text
32916
32917 \begin_layout Plain Layout
32918 dd
32919 \end_layout
32920
32921 \end_inset
32922 </cell>
32923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32924 \begin_inset Text
32925
32926 \begin_layout Plain Layout
32927 didot (1
32928 \begin_inset space \thinspace{}
32929 \end_inset
32930
32931 dd 
32932 \begin_inset Formula $\approx$
32933 \end_inset
32934
32935  0.376
32936 \begin_inset space \thinspace{}
32937 \end_inset
32938
32939 mm)
32940 \end_layout
32941
32942 \end_inset
32943 </cell>
32944 </row>
32945 <row>
32946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32947 \begin_inset Text
32948
32949 \begin_layout Plain Layout
32950 cc
32951 \end_layout
32952
32953 \end_inset
32954 </cell>
32955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32956 \begin_inset Text
32957
32958 \begin_layout Plain Layout
32959 cicero (1
32960 \begin_inset space \thinspace{}
32961 \end_inset
32962
32963 cc = 12
32964 \begin_inset space \thinspace{}
32965 \end_inset
32966
32967 dd)
32968 \end_layout
32969
32970 \end_inset
32971 </cell>
32972 </row>
32973 <row>
32974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32975 \begin_inset Text
32976
32977 \begin_layout Plain Layout
32978 Scale%
32979 \end_layout
32980
32981 \end_inset
32982 </cell>
32983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32984 \begin_inset Text
32985
32986 \begin_layout Plain Layout
32987 % of original image width
32988 \end_layout
32989
32990 \end_inset
32991 </cell>
32992 </row>
32993 <row>
32994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32995 \begin_inset Text
32996
32997 \begin_layout Plain Layout
32998 text%
32999 \end_layout
33000
33001 \end_inset
33002 </cell>
33003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33004 \begin_inset Text
33005
33006 \begin_layout Plain Layout
33007 % of text width
33008 \end_layout
33009
33010 \end_inset
33011 </cell>
33012 </row>
33013 <row>
33014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33015 \begin_inset Text
33016
33017 \begin_layout Plain Layout
33018 col%
33019 \end_layout
33020
33021 \end_inset
33022 </cell>
33023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33024 \begin_inset Text
33025
33026 \begin_layout Plain Layout
33027 % of column width
33028 \end_layout
33029
33030 \end_inset
33031 </cell>
33032 </row>
33033 <row>
33034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33035 \begin_inset Text
33036
33037 \begin_layout Plain Layout
33038 page%
33039 \end_layout
33040
33041 \end_inset
33042 </cell>
33043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33044 \begin_inset Text
33045
33046 \begin_layout Plain Layout
33047 % of paper width
33048 \end_layout
33049
33050 \end_inset
33051 </cell>
33052 </row>
33053 <row>
33054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33055 \begin_inset Text
33056
33057 \begin_layout Plain Layout
33058 line%
33059 \end_layout
33060
33061 \end_inset
33062 </cell>
33063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33064 \begin_inset Text
33065
33066 \begin_layout Plain Layout
33067 % of line width
33068 \end_layout
33069
33070 \end_inset
33071 </cell>
33072 </row>
33073 <row>
33074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33075 \begin_inset Text
33076
33077 \begin_layout Plain Layout
33078 theight%
33079 \end_layout
33080
33081 \end_inset
33082 </cell>
33083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33084 \begin_inset Text
33085
33086 \begin_layout Plain Layout
33087 % of text height
33088 \end_layout
33089
33090 \end_inset
33091 </cell>
33092 </row>
33093 <row>
33094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33095 \begin_inset Text
33096
33097 \begin_layout Plain Layout
33098 pheight%
33099 \end_layout
33100
33101 \end_inset
33102 </cell>
33103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33104 \begin_inset Text
33105
33106 \begin_layout Plain Layout
33107 % of paper height
33108 \end_layout
33109
33110 \end_inset
33111 </cell>
33112 </row>
33113 <row>
33114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33115 \begin_inset Text
33116
33117 \begin_layout Plain Layout
33118 ex
33119 \end_layout
33120
33121 \end_inset
33122 </cell>
33123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33124 \begin_inset Text
33125
33126 \begin_layout Plain Layout
33127 height of letter 
33128 \emph on
33129 x
33130 \emph default
33131  in current font
33132 \end_layout
33133
33134 \end_inset
33135 </cell>
33136 </row>
33137 <row>
33138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33139 \begin_inset Text
33140
33141 \begin_layout Plain Layout
33142 em
33143 \end_layout
33144
33145 \end_inset
33146 </cell>
33147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33148 \begin_inset Text
33149
33150 \begin_layout Plain Layout
33151 width of letter 
33152 \emph on
33153 M
33154 \emph default
33155  in current font
33156 \end_layout
33157
33158 \end_inset
33159 </cell>
33160 </row>
33161 <row>
33162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33163 \begin_inset Text
33164
33165 \begin_layout Plain Layout
33166 mu
33167 \end_layout
33168
33169 \end_inset
33170 </cell>
33171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33172 \begin_inset Text
33173
33174 \begin_layout Plain Layout
33175 math unit (1
33176 \begin_inset space \thinspace{}
33177 \end_inset
33178
33179 mu = 1/18
33180 \begin_inset space \thinspace{}
33181 \end_inset
33182
33183 em)
33184 \end_layout
33185
33186 \end_inset
33187 </cell>
33188 </row>
33189 </lyxtabular>
33190
33191 \end_inset
33192
33193
33194 \end_layout
33195
33196 \end_inset
33197
33198
33199 \end_layout
33200
33201 \begin_layout Chapter
33202 Output File Formats with Graphics
33203 \begin_inset CommandInset label
33204 LatexCommand label
33205 name "cha:Output-File-Formats"
33206
33207 \end_inset
33208
33209
33210 \end_layout
33211
33212 \begin_layout Section
33213 DVI
33214 \begin_inset Index
33215 status collapsed
33216
33217 \begin_layout Plain Layout
33218 File Formats ! DVI
33219 \end_layout
33220
33221 \end_inset
33222
33223
33224 \begin_inset Index
33225 status collapsed
33226
33227 \begin_layout Plain Layout
33228 DVI|see
33229 \begin_inset ERT
33230 status collapsed
33231
33232 \begin_layout Plain Layout
33233
33234 {
33235 \end_layout
33236
33237 \end_inset
33238
33239 File Formats
33240 \begin_inset ERT
33241 status collapsed
33242
33243 \begin_layout Plain Layout
33244
33245 }
33246 \end_layout
33247
33248 \end_inset
33249
33250
33251 \end_layout
33252
33253 \end_inset
33254
33255
33256 \end_layout
33257
33258 \begin_layout Standard
33259 This file type has the extension 
33260 \begin_inset Quotes eld
33261 \end_inset
33262
33263
33264 \family typewriter
33265 .dvi
33266 \family default
33267
33268 \begin_inset Quotes erd
33269 \end_inset
33270
33271 .
33272  It is called 
33273 \begin_inset Quotes eld
33274 \end_inset
33275
33276 device-independent
33277 \begin_inset Quotes erd
33278 \end_inset
33279
33280  (DVI), because it is completely portable; you can move them from one machine
33281  to another without needing to do any sort of conversion.
33282  At the time when this file-format was developed, this was no matter of
33283  course.
33284  DVIs are used for quick previews and as pre-stage for other output formats,
33285  like PostScript.
33286 \end_layout
33287
33288 \begin_layout Standard
33289 \begin_inset Note Greyedout
33290 status open
33291
33292 \begin_layout Plain Layout
33293
33294 \series bold
33295 Note:
33296 \series default
33297  DVI-files doesn't contain images, they will only be a linked.
33298 \end_layout
33299
33300 \end_inset
33301
33302  So don't forget this, if you move your 
33303 \family typewriter
33304 .dvi
33305 \family default
33306  file to another computer.
33307  This property can also slow down your computer when you view the DVI.
33308  Because the DVI-viewer has to convert the image in the background to make
33309  it visible when you scroll in the DVI.
33310  So we recommend to use PDF for files with many images.
33311 \end_layout
33312
33313 \begin_layout Standard
33314 You can export your document to DVI by using the menu 
33315 \family sans
33316 File\SpecialChar \menuseparator
33317 Export\SpecialChar \menuseparator
33318 DVI
33319 \family default
33320 .
33321  You can view your document as DVI via the 
33322 \family sans
33323 View
33324 \family default
33325  menu or by using the toolbar button 
33326 \begin_inset Graphics
33327         filename ../images/buffer-view_dvi.png
33328         scale 85
33329         scaleBeforeRotation
33330
33331 \end_inset
33332
33333 .
33334 \end_layout
33335
33336 \begin_layout Section
33337 PostScript
33338 \begin_inset CommandInset label
33339 LatexCommand label
33340 name "sec:PostScript"
33341
33342 \end_inset
33343
33344
33345 \begin_inset Index
33346 status collapsed
33347
33348 \begin_layout Plain Layout
33349 File Formats ! PostScript
33350 \end_layout
33351
33352 \end_inset
33353
33354
33355 \begin_inset Index
33356 status collapsed
33357
33358 \begin_layout Plain Layout
33359 PostScript|see
33360 \begin_inset ERT
33361 status collapsed
33362
33363 \begin_layout Plain Layout
33364
33365 {
33366 \end_layout
33367
33368 \end_inset
33369
33370 File Formats
33371 \begin_inset ERT
33372 status collapsed
33373
33374 \begin_layout Plain Layout
33375
33376 }
33377 \end_layout
33378
33379 \end_inset
33380
33381
33382 \end_layout
33383
33384 \end_inset
33385
33386
33387 \end_layout
33388
33389 \begin_layout Standard
33390 This file type has the extension 
33391 \begin_inset Quotes eld
33392 \end_inset
33393
33394
33395 \family typewriter
33396 .ps
33397 \family default
33398
33399 \begin_inset Quotes erd
33400 \end_inset
33401
33402 .
33403  PostScript was developed by the company 
33404 \family typewriter
33405 Adobe
33406 \family default
33407  as printer language.
33408  The file contains therefore commands that the printer uses to print the
33409  file.
33410  PostScript can be seen as 
33411 \begin_inset Quotes eld
33412 \end_inset
33413
33414 programming language
33415 \begin_inset Quotes erd
33416 \end_inset
33417
33418 ; you can calculate with it and draw diagrams and images
33419 \begin_inset Foot
33420 status collapsed
33421
33422 \begin_layout Plain Layout
33423 If you are interested to learn more about this, have a look at the LaTeX-package
33424  
33425 \series bold
33426 PSTricks
33427 \series default
33428  
33429 \begin_inset CommandInset citation
33430 LatexCommand cite
33431 key "pstricks"
33432
33433 \end_inset
33434
33435 .
33436 \end_layout
33437
33438 \end_inset
33439
33440 .
33441  Due to this ability, the files are often bigger than PDFs.
33442 \end_layout
33443
33444 \begin_layout Standard
33445 PostScript can only contain images in the format 
33446 \begin_inset Quotes eld
33447 \end_inset
33448
33449 Encapsulated PostScript
33450 \begin_inset Quotes erd
33451 \end_inset
33452
33453  (EPS, file extension 
33454 \begin_inset Quotes eld
33455 \end_inset
33456
33457
33458 \family typewriter
33459 .eps
33460 \family default
33461
33462 \begin_inset Quotes erd
33463 \end_inset
33464
33465 ).
33466  As LyX allows you to use any known image format in your document, it has
33467  to convert images in the background to EPS.
33468  If you have e.g 50 images in your document, LyX has to do 50 conversions
33469  whenever you view or export your document.
33470  This will slow down your work flow with LyX drastically.
33471  So if you plan to use PostScript, you can insert your images directly as
33472  EPS to avoid this problem.
33473 \end_layout
33474
33475 \begin_layout Standard
33476 You can export your document to PostScript using the menu 
33477 \family sans
33478 File\SpecialChar \menuseparator
33479 Export\SpecialChar \menuseparator
33480 Postscript
33481 \family default
33482 .
33483  You can view your document as PostScript via the 
33484 \family sans
33485 View
33486 \family default
33487  menu or by using the toolbar button 
33488 \begin_inset Graphics
33489         filename ../images/buffer-view_ps.png
33490         scale 85
33491         scaleBeforeRotation
33492
33493 \end_inset
33494
33495 .
33496 \end_layout
33497
33498 \begin_layout Section
33499 PDF
33500 \begin_inset Index
33501 status collapsed
33502
33503 \begin_layout Plain Layout
33504 File Formats ! PDF
33505 \end_layout
33506
33507 \end_inset
33508
33509
33510 \begin_inset Index
33511 status collapsed
33512
33513 \begin_layout Plain Layout
33514 PDF
33515 \end_layout
33516
33517 \end_inset
33518
33519
33520 \end_layout
33521
33522 \begin_layout Standard
33523 This file type has the extension 
33524 \begin_inset Quotes eld
33525 \end_inset
33526
33527
33528 \family typewriter
33529 .pdf
33530 \family default
33531
33532 \begin_inset Quotes erd
33533 \end_inset
33534
33535 .
33536  The 
33537 \begin_inset Quotes eld
33538 \end_inset
33539
33540 Portable Document Format
33541 \begin_inset Quotes erd
33542 \end_inset
33543
33544  (PDF) is developed by 
33545 \family typewriter
33546 Adobe
33547 \family default
33548  as derivative from PostScript.
33549  It is more compressed and it uses much less commands than PostScript.
33550  As the name 
33551 \begin_inset Quotes eld
33552 \end_inset
33553
33554 portable
33555 \begin_inset Quotes erd
33556 \end_inset
33557
33558  implies, it can be processed at any computer system and the printed output
33559  looks exactly the same.
33560 \end_layout
33561
33562 \begin_layout Standard
33563 PDF can contain images in its own PDF format, in the format 
33564 \begin_inset Quotes eld
33565 \end_inset
33566
33567 Joint Photographic Experts Group
33568 \begin_inset Quotes erd
33569 \end_inset
33570
33571  (JPG, file extension 
33572 \begin_inset Quotes eld
33573 \end_inset
33574
33575
33576 \family typewriter
33577 .jpg
33578 \family default
33579
33580 \begin_inset Quotes erd
33581 \end_inset
33582
33583  or 
33584 \begin_inset Quotes eld
33585 \end_inset
33586
33587
33588 \family typewriter
33589 .jpeg
33590 \family default
33591
33592 \begin_inset Quotes erd
33593 \end_inset
33594
33595 ), and in the format 
33596 \begin_inset Quotes eld
33597 \end_inset
33598
33599 Portable Network Graphics
33600 \begin_inset Quotes erd
33601 \end_inset
33602
33603  (PNG, file extension 
33604 \begin_inset Quotes eld
33605 \end_inset
33606
33607
33608 \family typewriter
33609 .png
33610 \family default
33611
33612 \begin_inset Quotes erd
33613 \end_inset
33614
33615 ).
33616  Nevertheless you can use any other image format, because LyX converts them
33617  in the background to one of these formats.
33618  But as described in the section about PostScript, the image conversion
33619  will slow down your work flow.
33620  So it is recommended to use images in one of the three mentioned formats.
33621 \end_layout
33622
33623 \begin_layout Standard
33624 You can export your document to PDF via the menu 
33625 \family sans
33626 File\SpecialChar \menuseparator
33627 Export
33628 \family default
33629  in three different ways:
33630 \end_layout
33631
33632 \begin_layout Description
33633 PDF
33634 \begin_inset space ~
33635 \end_inset
33636
33637 (ps2pdf) This uses the program 
33638 \family typewriter
33639 ps2pdf
33640 \family default
33641  that creates a PDF from a PostScript-version of your file.
33642  The PostScript-version is produced by the program 
33643 \family typewriter
33644 dvips
33645 \family default
33646  which uses a DVI-version as intermediate step.
33647  So this export variant consist of three conversions.
33648 \end_layout
33649
33650 \begin_layout Description
33651 PDF
33652 \begin_inset space ~
33653 \end_inset
33654
33655 (dvipdfm) This uses the program 
33656 \family typewriter
33657 dvipdfm
33658 \family default
33659  that converts your file in the background to DVI and in a second step to
33660  PDF.
33661 \end_layout
33662
33663 \begin_layout Description
33664 PDF
33665 \begin_inset space ~
33666 \end_inset
33667
33668 (pdflatex) This uses the program 
33669 \family typewriter
33670 pdftex
33671 \family default
33672  that converts your file directly to PDF.
33673 \end_layout
33674
33675 \begin_layout Standard
33676 It is recommended to use 
33677 \family sans
33678 PDF
33679 \begin_inset space ~
33680 \end_inset
33681
33682 (pdflatex)
33683 \family default
33684  because 
33685 \family typewriter
33686 pdftex
33687 \family default
33688  supports all features of actual PDF-versions, is quick and works stable
33689  without problems.
33690  The program 
33691 \family typewriter
33692 dvipdfm
33693 \family default
33694  is not under development and therefore a bit outdated.
33695 \end_layout
33696
33697 \begin_layout Standard
33698 You can view your document as PDF via the 
33699 \family sans
33700 View
33701 \family default
33702  menu or by using the toolbar button 
33703 \begin_inset Graphics
33704         filename ../images/buffer-view_pdf2.png
33705         scale 85
33706         scaleBeforeRotation
33707
33708 \end_inset
33709
33710  
33711 \family sans
33712 (
33713 \family default
33714 that uses 
33715 \family sans
33716 PDF
33717 \begin_inset space ~
33718 \end_inset
33719
33720 (pdflatex)
33721 \family default
33722 ).
33723 \end_layout
33724
33725 \begin_layout Chapter
33726 Explanation of Equation
33727 \begin_inset space ~
33728 \end_inset
33729
33730
33731 \begin_inset CommandInset ref
33732 LatexCommand eqref
33733 reference "eq:Wgn"
33734
33735 \end_inset
33736
33737
33738 \begin_inset CommandInset label
33739 LatexCommand label
33740 name "cha:Explanation-of-Equation"
33741
33742 \end_inset
33743
33744
33745 \end_layout
33746
33747 \begin_layout Standard
33748 The total width of 
33749 \emph on
33750 n
33751 \emph default
33752  table cells 
33753 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33754 \end_inset
33755
33756  can be calculated to
33757 \end_layout
33758
33759 \begin_layout Standard
33760 \begin_inset Formula \begin{equation}
33761 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}
33762
33763 \end_inset
33764
33765
33766 \end_layout
33767
33768 \begin_layout Standard
33769 Where 
33770 \begin_inset Formula $W_{g\, n}$
33771 \end_inset
33772
33773  is the given width of all cells.
33774  
33775 \series bold
33776
33777 \backslash
33778 tabcolsep
33779 \series default
33780  is the LaTeX-length between the cell text and the cell border, its default
33781  value is 6
33782 \begin_inset space \thinspace{}
33783 \end_inset
33784
33785 pt.
33786  
33787 \series bold
33788
33789 \backslash
33790 arrayrulewidth
33791 \series default
33792  is the thickness of the cell border line, the default is 0.4
33793 \begin_inset space \thinspace{}
33794 \end_inset
33795
33796 pt.
33797 \end_layout
33798
33799 \begin_layout Standard
33800 Following equation
33801 \begin_inset space ~
33802 \end_inset
33803
33804
33805 \begin_inset CommandInset ref
33806 LatexCommand eqref
33807 reference "eq:Wtot_n"
33808
33809 \end_inset
33810
33811 , the total width of a multicolumn 
33812 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33813 \end_inset
33814
33815  is
33816 \end_layout
33817
33818 \begin_layout Standard
33819 \begin_inset Formula \begin{equation}
33820 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33821
33822 \end_inset
33823
33824
33825 \end_layout
33826
33827 \begin_layout Standard
33828 By setting equation
33829 \begin_inset space ~
33830 \end_inset
33831
33832
33833 \begin_inset CommandInset ref
33834 LatexCommand eqref
33835 reference "eq:Wtot_n"
33836
33837 \end_inset
33838
33839  and 
33840 \begin_inset CommandInset ref
33841 LatexCommand eqref
33842 reference "eq:Wtot_mult"
33843
33844 \end_inset
33845
33846  equal we can calculate the needed given width 
33847 \begin_inset Formula $W_{g\, n}$
33848 \end_inset
33849
33850  when 
33851 \emph on
33852 n
33853 \emph default
33854  columns are spanned, so that each column has a total width of 
33855 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33856 \end_inset
33857
33858 :
33859 \end_layout
33860
33861 \begin_layout Standard
33862 \begin_inset Formula \begin{equation}
33863 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33864
33865 \end_inset
33866
33867
33868 \end_layout
33869
33870 \begin_layout Bibliography
33871 \begin_inset CommandInset bibitem
33872 LatexCommand bibitem
33873 key "latexcompanion"
33874
33875 \end_inset
33876
33877 Frank Mittelbach and Michel Goossens: 
33878 \emph on
33879 The LaTeX Companion Second Edition.
33880
33881 \emph default
33882  Addison-Wesley, 2004
33883 \end_layout
33884
33885 \begin_layout Bibliography
33886 \begin_inset CommandInset bibitem
33887 LatexCommand bibitem
33888 key "latexguide"
33889
33890 \end_inset
33891
33892 Helmut Kopka and Patrick W.
33893  Daly: 
33894 \emph on
33895 A Guide to LaTeX Fourth Edition.
33896
33897 \emph default
33898  Addison-Wesley, 2003
33899 \end_layout
33900
33901 \begin_layout Bibliography
33902 \begin_inset CommandInset bibitem
33903 LatexCommand bibitem
33904 key "latexbook"
33905
33906 \end_inset
33907
33908 Leslie Lamport: 
33909 \emph on
33910 LaTeX: A Document Preparation System.
33911
33912 \emph default
33913  Addison-Wesley, second edition, 1994
33914 \end_layout
33915
33916 \begin_layout Bibliography
33917 \begin_inset CommandInset bibitem
33918 LatexCommand bibitem
33919 key "booktabs"
33920
33921 \end_inset
33922
33923 Documentation of the LaTeX-package 
33924 \series bold
33925
33926 \begin_inset CommandInset href
33927 LatexCommand href
33928 name "booktabs"
33929 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33930
33931 \end_inset
33932
33933
33934 \series default
33935
33936 \begin_inset Index
33937 status collapsed
33938
33939 \begin_layout Plain Layout
33940 LaTeX-packages ! booktabs
33941 \end_layout
33942
33943 \end_inset
33944
33945
33946 \end_layout
33947
33948 \begin_layout Bibliography
33949 \begin_inset CommandInset bibitem
33950 LatexCommand bibitem
33951 key "caption"
33952
33953 \end_inset
33954
33955 Documentation of the LaTeX-package 
33956 \series bold
33957
33958 \begin_inset CommandInset href
33959 LatexCommand href
33960 name "caption"
33961 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
33962
33963 \end_inset
33964
33965
33966 \series default
33967
33968 \begin_inset Index
33969 status collapsed
33970
33971 \begin_layout Plain Layout
33972 LaTeX-packages ! caption
33973 \end_layout
33974
33975 \end_inset
33976
33977
33978 \end_layout
33979
33980 \begin_layout Bibliography
33981 \begin_inset CommandInset bibitem
33982 LatexCommand bibitem
33983 key "endfloat"
33984
33985 \end_inset
33986
33987 Documentation of the LaTeX-package 
33988 \series bold
33989
33990 \begin_inset CommandInset href
33991 LatexCommand href
33992 name "endfloat"
33993 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
33994
33995 \end_inset
33996
33997
33998 \series default
33999
34000 \begin_inset Index
34001 status collapsed
34002
34003 \begin_layout Plain Layout
34004 LaTeX-packages ! endfloat
34005 \end_layout
34006
34007 \end_inset
34008
34009
34010 \end_layout
34011
34012 \begin_layout Bibliography
34013 \begin_inset CommandInset bibitem
34014 LatexCommand bibitem
34015 key "wrapfig"
34016
34017 \end_inset
34018
34019 Documentation of the LaTeX-package 
34020 \series bold
34021
34022 \begin_inset CommandInset href
34023 LatexCommand href
34024 name "wrapfig"
34025 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34026
34027 \end_inset
34028
34029
34030 \series default
34031
34032 \begin_inset Index
34033 status collapsed
34034
34035 \begin_layout Plain Layout
34036 LaTeX-packages ! wrapfig
34037 \begin_inset ERT
34038 status collapsed
34039
34040 \begin_layout Plain Layout
34041
34042
34043 \backslash
34044 vspace{4mm}
34045 \end_layout
34046
34047 \end_inset
34048
34049
34050 \end_layout
34051
34052 \end_inset
34053
34054
34055 \end_layout
34056
34057 \begin_layout Bibliography
34058 \begin_inset CommandInset bibitem
34059 LatexCommand bibitem
34060 key "footmisc"
34061
34062 \end_inset
34063
34064 Documentation of the LaTeX-package 
34065 \series bold
34066
34067 \begin_inset CommandInset href
34068 LatexCommand href
34069 name "footmisc"
34070 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34071
34072 \end_inset
34073
34074
34075 \series default
34076
34077 \begin_inset Index
34078 status collapsed
34079
34080 \begin_layout Plain Layout
34081 LaTeX-packages ! footmisc
34082 \end_layout
34083
34084 \end_inset
34085
34086
34087 \end_layout
34088
34089 \begin_layout Bibliography
34090 \begin_inset CommandInset bibitem
34091 LatexCommand bibitem
34092 key "hypcap"
34093
34094 \end_inset
34095
34096 Documentation of the LaTeX-package 
34097 \series bold
34098
34099 \begin_inset CommandInset href
34100 LatexCommand href
34101 name "hypcap"
34102 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34103
34104 \end_inset
34105
34106
34107 \series default
34108
34109 \begin_inset Index
34110 status collapsed
34111
34112 \begin_layout Plain Layout
34113 LaTeX-packages ! hyperref
34114 \end_layout
34115
34116 \end_inset
34117
34118
34119 \end_layout
34120
34121 \begin_layout Bibliography
34122 \begin_inset CommandInset bibitem
34123 LatexCommand bibitem
34124 key "hyperref"
34125
34126 \end_inset
34127
34128 Documentation of the LaTeX-package 
34129 \series bold
34130
34131 \begin_inset CommandInset href
34132 LatexCommand href
34133 name "hyperref"
34134 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34135
34136 \end_inset
34137
34138
34139 \series default
34140
34141 \begin_inset Index
34142 status collapsed
34143
34144 \begin_layout Plain Layout
34145 LaTeX-packages ! hyperref
34146 \end_layout
34147
34148 \end_inset
34149
34150
34151 \end_layout
34152
34153 \begin_layout Bibliography
34154 \begin_inset CommandInset bibitem
34155 LatexCommand bibitem
34156 key "koma-script"
34157
34158 \end_inset
34159
34160 Documentation of the LaTeX-package 
34161 \series bold
34162
34163 \begin_inset CommandInset href
34164 LatexCommand href
34165 name "koma-script"
34166 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34167
34168 \end_inset
34169
34170
34171 \series default
34172
34173 \begin_inset Index
34174 status collapsed
34175
34176 \begin_layout Plain Layout
34177 LaTeX-packages ! koma-script
34178 \end_layout
34179
34180 \end_inset
34181
34182
34183 \end_layout
34184
34185 \begin_layout Bibliography
34186 \begin_inset CommandInset bibitem
34187 LatexCommand bibitem
34188 key "listings"
34189
34190 \end_inset
34191
34192 Documentation of the LaTeX-package 
34193 \series bold
34194
34195 \begin_inset CommandInset href
34196 LatexCommand href
34197 name "listings"
34198 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34199
34200 \end_inset
34201
34202
34203 \series default
34204
34205 \begin_inset Index
34206 status collapsed
34207
34208 \begin_layout Plain Layout
34209 LaTeX-packages ! listings
34210 \end_layout
34211
34212 \end_inset
34213
34214
34215 \end_layout
34216
34217 \begin_layout Bibliography
34218 \begin_inset CommandInset bibitem
34219 LatexCommand bibitem
34220 key "marginnote"
34221
34222 \end_inset
34223
34224 Documentation of the LaTeX-package 
34225 \series bold
34226
34227 \begin_inset CommandInset href
34228 LatexCommand href
34229 name "marginnote"
34230 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34231
34232 \end_inset
34233
34234
34235 \series default
34236
34237 \begin_inset Index
34238 status collapsed
34239
34240 \begin_layout Plain Layout
34241 LaTeX-packages ! marginnote
34242 \end_layout
34243
34244 \end_inset
34245
34246
34247 \end_layout
34248
34249 \begin_layout Bibliography
34250 \begin_inset CommandInset bibitem
34251 LatexCommand bibitem
34252 key "pstricks"
34253
34254 \end_inset
34255
34256 Web page of the LaTeX-package 
34257 \series bold
34258
34259 \begin_inset CommandInset href
34260 LatexCommand href
34261 name "PSTricks"
34262 target "http://tug.org/PSTricks/"
34263
34264 \end_inset
34265
34266
34267 \series default
34268
34269 \begin_inset Index
34270 status collapsed
34271
34272 \begin_layout Plain Layout
34273 LaTeX-packages ! PSTricks
34274 \end_layout
34275
34276 \end_inset
34277
34278
34279 \end_layout
34280
34281 \begin_layout Bibliography
34282 \begin_inset CommandInset bibitem
34283 LatexCommand bibitem
34284 key "sidecap"
34285
34286 \end_inset
34287
34288 Documentation of the LaTeX-package 
34289 \series bold
34290
34291 \begin_inset CommandInset href
34292 LatexCommand href
34293 name "sidecap"
34294 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34295
34296 \end_inset
34297
34298
34299 \series default
34300
34301 \begin_inset Index
34302 status collapsed
34303
34304 \begin_layout Plain Layout
34305 LaTeX-packages ! sidecap
34306 \end_layout
34307
34308 \end_inset
34309
34310
34311 \end_layout
34312
34313 \begin_layout Bibliography
34314 \begin_inset CommandInset bibitem
34315 LatexCommand bibitem
34316 key "NewInLyX16"
34317
34318 \end_inset
34319
34320
34321 \begin_inset CommandInset href
34322 LatexCommand href
34323 name "Wiki page"
34324 target "http://wiki.lyx.org/LyX/NewInLyX16"
34325
34326 \end_inset
34327
34328  about new features in 
34329 \family sans
34330 LyX 1.6.0
34331 \family default
34332 .
34333 \end_layout
34334
34335 \begin_layout Standard
34336 \begin_inset CommandInset index_print
34337 LatexCommand printindex
34338
34339 \end_inset
34340
34341
34342 \end_layout
34343
34344 \begin_layout Standard
34345 \begin_inset FloatList figure
34346
34347 \end_inset
34348
34349
34350 \end_layout
34351
34352 \begin_layout Standard
34353 \begin_inset FloatList table
34354
34355 \end_inset
34356
34357
34358 \end_layout
34359
34360 \begin_layout Standard
34361 \begin_inset FloatList algorithm
34362
34363 \end_inset
34364
34365
34366 \end_layout
34367
34368 \end_body
34369 \end_document