]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
More XHTML documentation.
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.6svn 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   \setboolean{sidecap}{true}}
156  {\setboolean{sidecap}{false}}
157
158 % redefine the \LyX macro for PDF bookmarks
159 \def\LyX{\texorpdfstring{%
160   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
161   {LyX}}
162 \end_preamble
163 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
164 \use_default_options false
165 \language english
166 \inputencoding auto
167 \font_roman default
168 \font_sans default
169 \font_typewriter default
170 \font_default_family default
171 \font_sc false
172 \font_osf false
173 \font_sf_scale 100
174 \font_tt_scale 100
175
176 \graphics default
177 \paperfontsize 12
178 \spacing single
179 \use_hyperref true
180 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
181 \pdf_author "LyX Team, Uwe Stöhr"
182 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
183 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
184 \pdf_bookmarks true
185 \pdf_bookmarksnumbered true
186 \pdf_bookmarksopen true
187 \pdf_bookmarksopenlevel 1
188 \pdf_breaklinks false
189 \pdf_pdfborder false
190 \pdf_colorlinks true
191 \pdf_backref false
192 \pdf_pdfusetitle false
193 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
194 \papersize default
195 \use_geometry false
196 \use_amsmath 2
197 \use_esint 0
198 \cite_engine basic
199 \use_bibtopic false
200 \paperorientation portrait
201 \secnumdepth 3
202 \tocdepth 3
203 \paragraph_separation skip
204 \defskip medskip
205 \quotes_language english
206 \papercolumns 1
207 \papersides 2
208 \paperpagestyle default
209 \bullet 1 1 34 -1
210 \bullet 2 2 35 -1
211 \bullet 3 2 7 -1
212 \tracking_changes false
213 \output_changes false
214 \author "" 
215 \author "" 
216 \end_header
217
218 \begin_body
219
220 \begin_layout Title
221 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
222  manual
223 \end_layout
224
225 \begin_layout Author
226 by the LyX Team
227 \begin_inset Foot
228 status collapsed
229
230 \begin_layout Plain Layout
231 \noindent
232 If you have comments or error corrections, please send them to the LyX Documenta
233 tion mailing list: 
234 \begin_inset CommandInset href
235 LatexCommand href
236 name "lyx-docs@lists.lyx.org"
237 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
238 type "mailto:"
239
240 \end_inset
241
242
243 \end_layout
244
245 \end_inset
246
247
248 \begin_inset Note Note
249 status collapsed
250
251 \begin_layout Plain Layout
252 author: Uwe Stöhr
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Newline newline
259 \end_inset
260
261
262 \begin_inset Newline newline
263 \end_inset
264
265
266 \family sans
267 Version 1.6.x
268 \end_layout
269
270 \begin_layout Standard
271 \begin_inset CommandInset toc
272 LatexCommand tableofcontents
273
274 \end_inset
275
276
277 \end_layout
278
279 \begin_layout Standard
280 \begin_inset Note Note
281 status open
282
283 \begin_layout Plain Layout
284 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
285  
286 \series bold
287 arydshln
288 \series default
289
290 \series bold
291 colortbl
292 \series default
293
294 \series bold
295 marginnote
296 \series default
297 , and 
298 \series bold
299 sidecap
300 \series default
301  must be installed.
302  If they are not installed you can export the document anyway but the sections
303  where the packages are required won't appear in the output.
304 \end_layout
305
306 \begin_layout Plain Layout
307 The latest PDF-version of this document can be found here:
308 \begin_inset Newline newline
309 \end_inset
310
311
312 \series bold
313 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
314 \end_layout
315
316 \end_inset
317
318
319 \end_layout
320
321 \begin_layout Chapter
322 Figures
323 \begin_inset Index
324 status collapsed
325
326 \begin_layout Plain Layout
327 Figures
328 \end_layout
329
330 \end_inset
331
332
333 \begin_inset Index
334 status collapsed
335
336 \begin_layout Plain Layout
337 Graphics|see
338 \begin_inset ERT
339 status collapsed
340
341 \begin_layout Plain Layout
342
343 {
344 \end_layout
345
346 \end_inset
347
348 Figures
349 \begin_inset ERT
350 status collapsed
351
352 \begin_layout Plain Layout
353
354 }
355 \end_layout
356
357 \end_inset
358
359
360 \end_layout
361
362 \end_inset
363
364
365 \end_layout
366
367 \begin_layout Section
368 Graphics Dialog
369 \begin_inset Index
370 status collapsed
371
372 \begin_layout Plain Layout
373 Figures ! Graphics Dialog
374 \end_layout
375
376 \end_inset
377
378
379 \begin_inset CommandInset label
380 LatexCommand label
381 name "sec:Graphics-Dialog"
382
383 \end_inset
384
385
386 \end_layout
387
388 \begin_layout Standard
389 To insert an image into your document, place the cursor at the text position
390  you want and click on the toolbar icon 
391 \begin_inset Graphics
392         filename ../images/dialog-show-new-inset_graphics.png
393         scale 85
394         scaleBeforeRotation
395
396 \end_inset
397
398  or use the menu 
399 \family sans
400 Insert\SpecialChar \menuseparator
401 Graphics
402 \family default
403 .
404  Then a dialog will appear to choose the file to load.
405  The image will appear in the output exactly at the position where it is
406  in the text.
407 \end_layout
408
409 \begin_layout Standard
410 The graphics dialog can be called at any time by clicking on an image.
411  This dialog has three tabs:
412 \end_layout
413
414 \begin_layout Description
415
416 \family sans
417 Graphics
418 \family default
419  Here you can choose an image file and adjust its appearance in the output.
420  The available units for the image size are explained in appendix
421 \begin_inset space ~
422 \end_inset
423
424
425 \begin_inset CommandInset ref
426 LatexCommand ref
427 reference "cha:Units-available-in"
428
429 \end_inset
430
431 .
432 \begin_inset Newline newline
433 \end_inset
434
435
436 \begin_inset Index
437 status collapsed
438
439 \begin_layout Plain Layout
440 Figures ! rotated
441 \end_layout
442
443 \end_inset
444
445 You can rotate images counter-clockwise by setting a rotation angle and
446  a rotation origin.
447  The image will also be rotated inside LyX.
448 \begin_inset Newline newline
449 \end_inset
450
451
452 \begin_inset Index
453 status collapsed
454
455 \begin_layout Plain Layout
456 Figures ! scaled
457 \end_layout
458
459 \end_inset
460
461 Images can be scaled by using a percentage value or by setting the width
462  and height explicitly.
463  If you set only the width or only the height, the other size will be determined
464  automatically.
465  If you set both, then the image will be transformed to the given size,
466  possibly distorting it.
467  To prevent the image from distortion, use the option 
468 \family sans
469 Maintain aspect ratio
470 \family default
471 .
472  The image will then be scaled so that its width and height don't exceed
473  the specified dimensions.
474 \begin_inset Newline newline
475 \end_inset
476
477 Images can be opened in a program of your choice by right-clicking on it
478  choosing the entry 
479 \family sans
480 Edit
481 \begin_inset space ~
482 \end_inset
483
484 externally
485 \family default
486  in the appearing context menu.
487  The program can be set for every image format in the file format settings
488  in LyX's preferences.
489 \end_layout
490
491 \begin_layout Description
492
493 \family sans
494 Clipping
495 \family default
496  Alternatively to the usage of scaling units it is possible to set image
497  coordinates to adjust the height and width of the image in the output.
498  The coordinates can also be calculated automatically by pressing the button
499  
500 \family sans
501 Get
502 \begin_inset space ~
503 \end_inset
504
505 from
506 \begin_inset space ~
507 \end_inset
508
509 File
510 \family default
511 .
512  The option 
513 \family sans
514 Clip
515 \begin_inset space ~
516 \end_inset
517
518 to
519 \begin_inset space ~
520 \end_inset
521
522 bounding
523 \begin_inset space ~
524 \end_inset
525
526 box
527 \family default
528  will only print the image region within the given coordinates.
529  Normally you don't need to take care about image coordinates and can ignore
530  this tab.
531 \end_layout
532
533 \begin_layout Description
534
535 \family sans
536 LaTeX
537 \begin_inset space ~
538 \end_inset
539
540 and
541 \begin_inset space ~
542 \end_inset
543
544 LyX
545 \begin_inset space ~
546 \end_inset
547
548 options
549 \family default
550  In this tab you can modify the appearance of the image within LyX and LaTeX
551  experts can specify additional LaTeX options.
552 \begin_inset Newline newline
553 \end_inset
554
555 The option 
556 \family sans
557 Draft
558 \begin_inset space ~
559 \end_inset
560
561 mode
562 \family default
563  makes the image appear in the output only as a frame with the size of the
564  image.
565 \begin_inset Newline newline
566 \end_inset
567
568 The 
569 \family sans
570 Don't
571 \begin_inset space ~
572 \end_inset
573
574 unzip
575 \begin_inset space ~
576 \end_inset
577
578 on
579 \begin_inset space ~
580 \end_inset
581
582 export
583 \family default
584  option only affects zipped EPS-graphics, e.
585 \begin_inset space \thinspace{}
586 \end_inset
587
588 g.
589 \begin_inset space \space{}
590 \end_inset
591
592
593 \emph on
594 x.eps.gz
595 \emph default
596 .
597  When the option is used the images will not be unzipped on export, since
598  LaTeX can handle them as they are.
599 \begin_inset Newline newline
600 \end_inset
601
602 Zipped EPS-graphics are useful to save disk space when you choose PostScript
603  as output format, see appendix
604 \begin_inset space ~
605 \end_inset
606
607
608 \begin_inset CommandInset ref
609 LatexCommand ref
610 reference "sec:PostScript"
611
612 \end_inset
613
614 .
615  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
616  console:
617 \begin_inset Newline newline
618 \end_inset
619
620
621 \series bold
622 gzip x.eps
623 \series default
624
625 \begin_inset Newline newline
626 \end_inset
627
628
629 \series bold
630 zgrep %%Bounding x.eps.gz > x.eps.bb
631 \series default
632
633 \begin_inset Newline newline
634 \end_inset
635
636 The second command creates the bounding box file 
637 \begin_inset Quotes eld
638 \end_inset
639
640 x.eps.bb
641 \begin_inset Quotes erd
642 \end_inset
643
644  that is needed by LaTeX for zipped graphics.
645 \begin_inset Newline newline
646 \end_inset
647
648 The field 
649 \family sans
650 Initialize
651 \begin_inset space ~
652 \end_inset
653
654 Group
655 \begin_inset space ~
656 \end_inset
657
658 Name
659 \family default
660  allows you define or join an image settings group.
661 \begin_inset Index
662 status collapsed
663
664 \begin_layout Plain Layout
665 Figures ! Settings grouping
666 \end_layout
667
668 \end_inset
669
670  Images within such a group share their settings, so adjusting one image
671  of the group automatically also adjusts all other images of the group in
672  the same way.
673  So you can for example change the size for a bunch of images without the
674  need to manually change each of them.
675  Joining an existing group can also be done using the context menu of the
676  image by checking the name of the desired group.
677 \end_layout
678
679 \begin_layout Standard
680 \begin_inset VSpace bigskip
681 \end_inset
682
683
684 \end_layout
685
686 \begin_layout Standard
687 This is an example image in EPS format
688 \begin_inset Foot
689 status collapsed
690
691 \begin_layout Plain Layout
692 Image formats are explained in section
693 \begin_inset space ~
694 \end_inset
695
696
697 \begin_inset CommandInset ref
698 LatexCommand ref
699 reference "sec:Image-Formats"
700
701 \end_inset
702
703 .
704 \end_layout
705
706 \end_inset
707
708  within a separate, horizontally centered paragraph:
709 \end_layout
710
711 \begin_layout Standard
712 \align center
713 \begin_inset Graphics
714         filename clipart/mobius.eps
715         scale 70
716         scaleBeforeRotation
717         rotateOrigin center
718
719 \end_inset
720
721
722 \end_layout
723
724 \begin_layout Standard
725 This is the same image like the one above but in draft mode:
726 \end_layout
727
728 \begin_layout Standard
729 \align center
730 \begin_inset Graphics
731         filename clipart/mobius.eps
732         scale 70
733         draft
734         scaleBeforeRotation
735         rotateOrigin center
736
737 \end_inset
738
739
740 \end_layout
741
742 \begin_layout Standard
743 \begin_inset Newpage newpage
744 \end_inset
745
746
747 \end_layout
748
749 \begin_layout Section
750 Figure Floats
751 \begin_inset CommandInset label
752 LatexCommand label
753 name "sec:Figure-Floats"
754
755 \end_inset
756
757
758 \begin_inset Index
759 status collapsed
760
761 \begin_layout Plain Layout
762 Floats ! Figures
763 \end_layout
764
765 \end_inset
766
767
768 \begin_inset Index
769 status collapsed
770
771 \begin_layout Plain Layout
772 Figures ! Floats
773 \end_layout
774
775 \end_inset
776
777
778 \end_layout
779
780 \begin_layout Standard
781 For general explanations about floats, have a look at section
782 \begin_inset space ~
783 \end_inset
784
785
786 \begin_inset CommandInset ref
787 LatexCommand ref
788 reference "sec:FloatIntroduction"
789
790 \end_inset
791
792 .
793 \end_layout
794
795 \begin_layout Standard
796 The toolbar button 
797 \begin_inset Graphics
798         filename ../images/float-insert_figure.png
799         scale 85
800         scaleBeforeRotation
801
802 \end_inset
803
804  and the menu 
805 \family sans
806 Insert\SpecialChar \menuseparator
807 Float\SpecialChar \menuseparator
808 Figure
809 \family default
810  inserts a float with a caption that has the label 
811 \begin_inset Quotes eld
812 \end_inset
813
814 Figure
815 \begin_inset space ~
816 \end_inset
817
818 #:
819 \begin_inset Quotes erd
820 \end_inset
821
822  (# is the actual number).
823  You can insert the image above the caption, like in Figure
824 \begin_inset space ~
825 \end_inset
826
827
828 \begin_inset CommandInset ref
829 LatexCommand ref
830 reference "fig:kill-plat"
831
832 \end_inset
833
834  or below the caption, like in Figure
835 \begin_inset space ~
836 \end_inset
837
838
839 \begin_inset CommandInset ref
840 LatexCommand ref
841 reference "fig:escher"
842
843 \end_inset
844
845 .
846  More about the caption placement is described in section
847 \begin_inset space ~
848 \end_inset
849
850
851 \begin_inset CommandInset ref
852 LatexCommand ref
853 reference "sec:Caption-Placement"
854
855 \end_inset
856
857 .
858 \end_layout
859
860 \begin_layout Standard
861 \begin_inset Float figure
862 wide false
863 sideways false
864 status open
865
866 \begin_layout Plain Layout
867 \align center
868 \begin_inset Graphics
869         filename clipart/platypus.eps
870         width 50col%
871         scaleBeforeRotation
872         rotateOrigin center
873
874 \end_inset
875
876
877 \end_layout
878
879 \begin_layout Plain Layout
880 \begin_inset Caption
881
882 \begin_layout Plain Layout
883 \begin_inset CommandInset label
884 LatexCommand label
885 name "fig:kill-plat"
886
887 \end_inset
888
889 A severely distorted platypus in a float.
890 \end_layout
891
892 \end_inset
893
894
895 \end_layout
896
897 \end_inset
898
899
900 \end_layout
901
902 \begin_layout Standard
903 \begin_inset Float figure
904 wide false
905 sideways false
906 status open
907
908 \begin_layout Plain Layout
909 \begin_inset Caption
910
911 \begin_layout Plain Layout
912 \begin_inset CommandInset label
913 LatexCommand label
914 name "fig:escher"
915
916 \end_inset
917
918 M.C.
919  Escher on acid.
920 \end_layout
921
922 \end_inset
923
924
925 \end_layout
926
927 \begin_layout Plain Layout
928 \align center
929 \begin_inset Graphics
930         filename clipart/escher-lsd.eps
931         scale 80
932         scaleBeforeRotation
933         rotateOrigin center
934
935 \end_inset
936
937
938 \end_layout
939
940 \end_inset
941
942
943 \end_layout
944
945 \begin_layout Standard
946 \begin_inset Index
947 status collapsed
948
949 \begin_layout Plain Layout
950 References ! to Figures
951 \end_layout
952
953 \end_inset
954
955 Figure
956 \begin_inset space ~
957 \end_inset
958
959
960 \begin_inset CommandInset ref
961 LatexCommand ref
962 reference "fig:kill-plat"
963
964 \end_inset
965
966  and 
967 \begin_inset CommandInset ref
968 LatexCommand ref
969 reference "fig:escher"
970
971 \end_inset
972
973  are examples of referenced figures.
974  Figures can be referenced in the text by referencing their label.
975  To do this insert a label in the caption using the menu 
976 \family sans
977 Insert\SpecialChar \menuseparator
978 Label
979 \family default
980  or the toolbar button 
981 \begin_inset Graphics
982         filename ../images/label-insert.png
983         scale 85
984         scaleBeforeRotation
985
986 \end_inset
987
988 .
989  You can now refer to the label using the menu 
990 \family sans
991 Insert\SpecialChar \menuseparator
992 Cross
993 \begin_inset space ~
994 \end_inset
995
996 reference
997 \family default
998  or the toolbar button 
999 \begin_inset Graphics
1000         filename ../images/dialog-show-new-inset_ref.png
1001         scale 85
1002         scaleBeforeRotation
1003
1004 \end_inset
1005
1006 .
1007  It is important to use references to floats, rather than using vague references
1008  like 
1009 \begin_inset Quotes eld
1010 \end_inset
1011
1012 the figure above
1013 \begin_inset Quotes erd
1014 \end_inset
1015
1016 , because as LaTeX will reposition the floats in the final document, it
1017  might not be 
1018 \begin_inset Quotes eld
1019 \end_inset
1020
1021 above
1022 \begin_inset Quotes erd
1023 \end_inset
1024
1025  at all.
1026 \begin_inset Newline newline
1027 \end_inset
1028
1029 Referencing is explained in detail in section
1030 \begin_inset space ~
1031 \end_inset
1032
1033
1034 \begin_inset CommandInset ref
1035 LatexCommand ref
1036 reference "sec:Referencing-Floats"
1037
1038 \end_inset
1039
1040 .
1041 \end_layout
1042
1043 \begin_layout Standard
1044 Normally only one image is inserted to a figure float, but sometimes you
1045  might want to use two images with separate subcaptions.
1046  This can be done by inserting image floats into existing image floats.
1047  Note that only the main caption of the float is added to the List of Figures.
1048  Figure
1049 \begin_inset space ~
1050 \end_inset
1051
1052
1053 \begin_inset CommandInset ref
1054 LatexCommand ref
1055 reference "fig:Two-distorted-images"
1056
1057 \end_inset
1058
1059  is an example of a figure float with two images set side by side.
1060  You can also set the images one below the other.
1061  Figure
1062 \begin_inset space ~
1063 \end_inset
1064
1065
1066 \begin_inset CommandInset ref
1067 LatexCommand ref
1068 reference "fig:Undefinable-structure"
1069
1070 \end_inset
1071
1072  and 
1073 \begin_inset CommandInset ref
1074 LatexCommand ref
1075 reference "fig:A-Platypus"
1076
1077 \end_inset
1078
1079  are the subfigures.
1080 \end_layout
1081
1082 \begin_layout Standard
1083 \begin_inset Float figure
1084 wide false
1085 sideways false
1086 status open
1087
1088 \begin_layout Plain Layout
1089 \begin_inset space \hfill{}
1090 \end_inset
1091
1092
1093 \begin_inset Float figure
1094 wide false
1095 sideways false
1096 status collapsed
1097
1098 \begin_layout Plain Layout
1099 \begin_inset Caption
1100
1101 \begin_layout Plain Layout
1102 \begin_inset CommandInset label
1103 LatexCommand label
1104 name "fig:Undefinable-structure"
1105
1106 \end_inset
1107
1108 Undefinable structure.
1109 \end_layout
1110
1111 \end_inset
1112
1113
1114 \end_layout
1115
1116 \begin_layout Plain Layout
1117 \begin_inset Graphics
1118         filename clipart/escher-lsd.eps
1119         width 45col%
1120         scaleBeforeRotation
1121         groupId distorted
1122
1123 \end_inset
1124
1125
1126 \end_layout
1127
1128 \end_inset
1129
1130
1131 \begin_inset space \hfill{}
1132 \end_inset
1133
1134
1135 \begin_inset Float figure
1136 wide false
1137 sideways false
1138 status collapsed
1139
1140 \begin_layout Plain Layout
1141 \begin_inset Caption
1142
1143 \begin_layout Plain Layout
1144 \begin_inset CommandInset label
1145 LatexCommand label
1146 name "fig:A-Platypus"
1147
1148 \end_inset
1149
1150 A Platypus.
1151 \end_layout
1152
1153 \end_inset
1154
1155
1156 \end_layout
1157
1158 \begin_layout Plain Layout
1159 \begin_inset Graphics
1160         filename clipart/platypus.eps
1161         width 45col%
1162         scaleBeforeRotation
1163         groupId distorted
1164
1165 \end_inset
1166
1167
1168 \end_layout
1169
1170 \end_inset
1171
1172
1173 \begin_inset space \hfill{}
1174 \end_inset
1175
1176
1177 \end_layout
1178
1179 \begin_layout Plain Layout
1180 \begin_inset Caption
1181
1182 \begin_layout Plain Layout
1183 \begin_inset CommandInset label
1184 LatexCommand label
1185 name "fig:Two-distorted-images"
1186
1187 \end_inset
1188
1189 Two distorted images.
1190  Both images are in the image settings group named 
1191 \begin_inset Quotes eld
1192 \end_inset
1193
1194 distorted
1195 \begin_inset Quotes erd
1196 \end_inset
1197
1198 .
1199 \end_layout
1200
1201 \end_inset
1202
1203
1204 \end_layout
1205
1206 \end_inset
1207
1208
1209 \end_layout
1210
1211 \begin_layout Standard
1212 \begin_inset Newpage newpage
1213 \end_inset
1214
1215
1216 \end_layout
1217
1218 \begin_layout Section
1219 Image Formats
1220 \begin_inset CommandInset label
1221 LatexCommand label
1222 name "sec:Image-Formats"
1223
1224 \end_inset
1225
1226
1227 \begin_inset Index
1228 status collapsed
1229
1230 \begin_layout Plain Layout
1231 Image Formats
1232 \end_layout
1233
1234 \end_inset
1235
1236
1237 \begin_inset Index
1238 status collapsed
1239
1240 \begin_layout Plain Layout
1241 Figures ! Image Formats
1242 \end_layout
1243
1244 \end_inset
1245
1246
1247 \end_layout
1248
1249 \begin_layout Standard
1250 You can insert images in any known file format.
1251  But as explained in appendix
1252 \begin_inset space ~
1253 \end_inset
1254
1255
1256 \begin_inset CommandInset ref
1257 LatexCommand ref
1258 reference "cha:Output-File-Formats"
1259
1260 \end_inset
1261
1262 , every output document format allows only a few image formats.
1263  LyX uses therefore the program 
1264 \family typewriter
1265 ImageMagick
1266 \family default
1267  in the background to convert the images to the right format.
1268  To increase your work flow by avoiding these conversions in the background,
1269  you can use only the image formats that can directly be embedded in the
1270  output file format.
1271  The output file formats are explained in appendix
1272 \begin_inset space ~
1273 \end_inset
1274
1275
1276 \begin_inset CommandInset ref
1277 LatexCommand ref
1278 reference "cha:Output-File-Formats"
1279
1280 \end_inset
1281
1282 .
1283 \end_layout
1284
1285 \begin_layout Standard
1286 Similar to fonts there are two types of image formats:
1287 \end_layout
1288
1289 \begin_layout Description
1290 Bitmap
1291 \begin_inset space ~
1292 \end_inset
1293
1294 images consist of pixel values, often in a compressed form.
1295  They are therefore not fully scalable and look pixeled in large zooms.
1296  Well-known bitmap image formats are 
1297 \begin_inset Quotes eld
1298 \end_inset
1299
1300 Graphics Interchange Format
1301 \begin_inset Quotes erd
1302 \end_inset
1303
1304  (GIF, file extension 
1305 \begin_inset Quotes eld
1306 \end_inset
1307
1308
1309 \family typewriter
1310 .gif
1311 \family default
1312
1313 \begin_inset Quotes erd
1314 \end_inset
1315
1316 )
1317 \begin_inset Index
1318 status collapsed
1319
1320 \begin_layout Plain Layout
1321 GIF|see
1322 \begin_inset ERT
1323 status collapsed
1324
1325 \begin_layout Plain Layout
1326
1327 {
1328 \end_layout
1329
1330 \end_inset
1331
1332 Image formats
1333 \begin_inset ERT
1334 status collapsed
1335
1336 \begin_layout Plain Layout
1337
1338 }
1339 \end_layout
1340
1341 \end_inset
1342
1343
1344 \end_layout
1345
1346 \end_inset
1347
1348
1349 \begin_inset Quotes eld
1350 \end_inset
1351
1352 Portable Network Graphics
1353 \begin_inset Quotes erd
1354 \end_inset
1355
1356  (PNG, file extension 
1357 \begin_inset Quotes eld
1358 \end_inset
1359
1360
1361 \family typewriter
1362 .png
1363 \family default
1364
1365 \begin_inset Quotes erd
1366 \end_inset
1367
1368 )
1369 \begin_inset Index
1370 status collapsed
1371
1372 \begin_layout Plain Layout
1373 PNG|see
1374 \begin_inset ERT
1375 status collapsed
1376
1377 \begin_layout Plain Layout
1378
1379 {
1380 \end_layout
1381
1382 \end_inset
1383
1384 Image formats
1385 \begin_inset ERT
1386 status collapsed
1387
1388 \begin_layout Plain Layout
1389
1390 }
1391 \end_layout
1392
1393 \end_inset
1394
1395
1396 \end_layout
1397
1398 \end_inset
1399
1400 , and 
1401 \begin_inset Quotes eld
1402 \end_inset
1403
1404 Joint Photographic Experts Group
1405 \begin_inset Quotes erd
1406 \end_inset
1407
1408  (JPG, file extension 
1409 \begin_inset Quotes eld
1410 \end_inset
1411
1412
1413 \family typewriter
1414 .jpg
1415 \family default
1416
1417 \begin_inset Quotes erd
1418 \end_inset
1419
1420  or 
1421 \begin_inset Quotes eld
1422 \end_inset
1423
1424
1425 \family typewriter
1426 .jpeg
1427 \family default
1428
1429 \begin_inset Quotes erd
1430 \end_inset
1431
1432 )
1433 \begin_inset Index
1434 status collapsed
1435
1436 \begin_layout Plain Layout
1437 JPG|see
1438 \begin_inset ERT
1439 status collapsed
1440
1441 \begin_layout Plain Layout
1442
1443 {
1444 \end_layout
1445
1446 \end_inset
1447
1448 Image formats
1449 \begin_inset ERT
1450 status collapsed
1451
1452 \begin_layout Plain Layout
1453
1454 }
1455 \end_layout
1456
1457 \end_inset
1458
1459
1460 \end_layout
1461
1462 \end_inset
1463
1464 .
1465 \end_layout
1466
1467 \begin_layout Description
1468 Vector
1469 \begin_inset space ~
1470 \end_inset
1471
1472 images consist of vectors and can therefore be scaled to any size without
1473  data loss.
1474  The scaling ability is necessary if you want to create presentations, because
1475  presentations are always scaled by the video projector.
1476  Scaling is also useful for online documents to let the user zoom into diagrams.
1477 \begin_inset Newline newline
1478 \end_inset
1479
1480 Well-known scalable image formats are 
1481 \begin_inset Quotes eld
1482 \end_inset
1483
1484 Scalable Vector Graphics
1485 \begin_inset Quotes erd
1486 \end_inset
1487
1488  (SVG, file extension 
1489 \begin_inset Quotes eld
1490 \end_inset
1491
1492
1493 \family typewriter
1494 .svg
1495 \family default
1496
1497 \begin_inset Quotes erd
1498 \end_inset
1499
1500 )
1501 \begin_inset Index
1502 status collapsed
1503
1504 \begin_layout Plain Layout
1505 SVG|see
1506 \begin_inset ERT
1507 status collapsed
1508
1509 \begin_layout Plain Layout
1510
1511 {
1512 \end_layout
1513
1514 \end_inset
1515
1516 Image formats
1517 \begin_inset ERT
1518 status collapsed
1519
1520 \begin_layout Plain Layout
1521
1522 }
1523 \end_layout
1524
1525 \end_inset
1526
1527
1528 \end_layout
1529
1530 \end_inset
1531
1532
1533 \begin_inset Quotes eld
1534 \end_inset
1535
1536 Encapsulated PostScript
1537 \begin_inset Quotes erd
1538 \end_inset
1539
1540  (EPS, file extension 
1541 \begin_inset Quotes eld
1542 \end_inset
1543
1544
1545 \family typewriter
1546 .eps
1547 \family default
1548
1549 \begin_inset Quotes erd
1550 \end_inset
1551
1552 )
1553 \begin_inset Index
1554 status collapsed
1555
1556 \begin_layout Plain Layout
1557 EPS|see
1558 \begin_inset ERT
1559 status collapsed
1560
1561 \begin_layout Plain Layout
1562
1563 {
1564 \end_layout
1565
1566 \end_inset
1567
1568 Image formats
1569 \begin_inset ERT
1570 status collapsed
1571
1572 \begin_layout Plain Layout
1573
1574 }
1575 \end_layout
1576
1577 \end_inset
1578
1579
1580 \end_layout
1581
1582 \end_inset
1583
1584
1585 \begin_inset Quotes eld
1586 \end_inset
1587
1588 Portable Document Format
1589 \begin_inset Quotes erd
1590 \end_inset
1591
1592  (PDF, file extension 
1593 \begin_inset Quotes eld
1594 \end_inset
1595
1596
1597 \family typewriter
1598 .pdf
1599 \family default
1600
1601 \begin_inset Quotes erd
1602 \end_inset
1603
1604 )
1605 \begin_inset Index
1606 status collapsed
1607
1608 \begin_layout Plain Layout
1609 PDF
1610 \end_layout
1611
1612 \end_inset
1613
1614 , and 
1615 \begin_inset Quotes eld
1616 \end_inset
1617
1618 Windows Metafile
1619 \begin_inset Quotes erd
1620 \end_inset
1621
1622  (WMF, file extension 
1623 \begin_inset Quotes eld
1624 \end_inset
1625
1626
1627 \family typewriter
1628 .wmf
1629 \family default
1630
1631 \begin_inset Quotes erd
1632 \end_inset
1633
1634 )
1635 \begin_inset Index
1636 status collapsed
1637
1638 \begin_layout Plain Layout
1639 SVG|see
1640 \begin_inset ERT
1641 status collapsed
1642
1643 \begin_layout Plain Layout
1644
1645 {
1646 \end_layout
1647
1648 \end_inset
1649
1650 Image formats
1651 \begin_inset ERT
1652 status collapsed
1653
1654 \begin_layout Plain Layout
1655
1656 }
1657 \end_layout
1658
1659 \end_inset
1660
1661
1662 \end_layout
1663
1664 \end_inset
1665
1666 .
1667  We wrote 
1668 \begin_inset Quotes eld
1669 \end_inset
1670
1671 can be
1672 \begin_inset Quotes erd
1673 \end_inset
1674
1675 , because you can convert any bitmap image to a PDF or EPS-image and the
1676  result will still be a bitmap image.
1677  In this cases only a header with the image properties is added to the original
1678  image
1679 \begin_inset Foot
1680 status collapsed
1681
1682 \begin_layout Plain Layout
1683 In the case of PDF, the original image is additionally compressed.
1684 \end_layout
1685
1686 \end_inset
1687
1688 .
1689  The PDF-files generated by 
1690 \family typewriter
1691 Adobe Photoshop
1692 \family default
1693  are for example bitmap images.
1694 \end_layout
1695
1696 \begin_layout Standard
1697 Normally it is not possible to convert a bitmap image into a scalable one,
1698  only vice versa.
1699  Only the image formats PDF and EPS can directly be embedded to PDF and
1700  PostScript output files, respectively.
1701  SVG and WMF-images are recalculated to bitmaps when the output file is
1702  generated because there is currently no adequate WMF/SVG
1703 \begin_inset Formula $\to$
1704 \end_inset
1705
1706 PDF/EPS converter available.
1707 \end_layout
1708
1709 \begin_layout Chapter
1710 Tables
1711 \begin_inset Index
1712 status collapsed
1713
1714 \begin_layout Plain Layout
1715 Table
1716 \end_layout
1717
1718 \end_inset
1719
1720
1721 \end_layout
1722
1723 \begin_layout Section
1724 Introduction
1725 \begin_inset Index
1726 status collapsed
1727
1728 \begin_layout Plain Layout
1729 Table ! Introduction
1730 \end_layout
1731
1732 \end_inset
1733
1734
1735 \end_layout
1736
1737 \begin_layout Standard
1738 You can insert a table using either the toolbar button 
1739 \begin_inset Graphics
1740         filename ../images/tabular-insert.png
1741         scale 85
1742         scaleBeforeRotation
1743
1744 \end_inset
1745
1746  or the menu 
1747 \family sans
1748 Insert\SpecialChar \menuseparator
1749 Table
1750 \family default
1751 .
1752  The toolbar button offers you a graphical selection: Move the mouse to
1753  set the column/row number of the table that should be created and then
1754  press a mouse button.
1755  When you use the menu to create a table, a dialog will appear, asking you
1756  for the number of rows and columns.
1757 \begin_inset Newline newline
1758 \end_inset
1759
1760  The default table has lines around any cell and the first row appears separated
1761  from the rest of the table.
1762  This separation occurs due to a double line: The cells of the first row
1763  have a line below them and the cells of the second row have a line above
1764  them.
1765  Here is an example table:
1766 \end_layout
1767
1768 \begin_layout Standard
1769 \align center
1770 \begin_inset Tabular
1771 <lyxtabular version="3" rows="4" columns="4">
1772 <features>
1773 <column alignment="center" valignment="top" width="0">
1774 <column alignment="center" valignment="top" width="0">
1775 <column alignment="center" valignment="top" width="0">
1776 <column alignment="center" valignment="top" width="0">
1777 <row>
1778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1779 \begin_inset Text
1780
1781 \begin_layout Plain Layout
1782
1783 \end_layout
1784
1785 \end_inset
1786 </cell>
1787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1788 \begin_inset Text
1789
1790 \begin_layout Plain Layout
1791
1792 \family roman
1793 \series medium
1794 \shape up
1795 \size normal
1796 \emph off
1797 \bar no
1798 \noun off
1799 \color none
1800 1
1801 \end_layout
1802
1803 \end_inset
1804 </cell>
1805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1806 \begin_inset Text
1807
1808 \begin_layout Plain Layout
1809 2
1810 \end_layout
1811
1812 \end_inset
1813 </cell>
1814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1815 \begin_inset Text
1816
1817 \begin_layout Plain Layout
1818 3
1819 \end_layout
1820
1821 \end_inset
1822 </cell>
1823 </row>
1824 <row>
1825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1826 \begin_inset Text
1827
1828 \begin_layout Plain Layout
1829
1830 \family roman
1831 \series medium
1832 \shape up
1833 \size normal
1834 \emph off
1835 \bar no
1836 \noun off
1837 \color none
1838 A
1839 \end_layout
1840
1841 \end_inset
1842 </cell>
1843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1844 \begin_inset Text
1845
1846 \begin_layout Plain Layout
1847
1848 \end_layout
1849
1850 \end_inset
1851 </cell>
1852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1853 \begin_inset Text
1854
1855 \begin_layout Plain Layout
1856
1857 \end_layout
1858
1859 \end_inset
1860 </cell>
1861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1862 \begin_inset Text
1863
1864 \begin_layout Plain Layout
1865
1866 \end_layout
1867
1868 \end_inset
1869 </cell>
1870 </row>
1871 <row>
1872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1873 \begin_inset Text
1874
1875 \begin_layout Plain Layout
1876
1877 \family roman
1878 \series medium
1879 \shape up
1880 \size normal
1881 \emph off
1882 \bar no
1883 \noun off
1884 \color none
1885 B
1886 \end_layout
1887
1888 \end_inset
1889 </cell>
1890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1891 \begin_inset Text
1892
1893 \begin_layout Plain Layout
1894
1895 \end_layout
1896
1897 \end_inset
1898 </cell>
1899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1900 \begin_inset Text
1901
1902 \begin_layout Plain Layout
1903
1904 \end_layout
1905
1906 \end_inset
1907 </cell>
1908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1909 \begin_inset Text
1910
1911 \begin_layout Plain Layout
1912
1913 \end_layout
1914
1915 \end_inset
1916 </cell>
1917 </row>
1918 <row>
1919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1920 \begin_inset Text
1921
1922 \begin_layout Plain Layout
1923
1924 \family roman
1925 \series medium
1926 \shape up
1927 \size normal
1928 \emph off
1929 \bar no
1930 \noun off
1931 \color none
1932 C
1933 \end_layout
1934
1935 \end_inset
1936 </cell>
1937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1938 \begin_inset Text
1939
1940 \begin_layout Plain Layout
1941
1942 \end_layout
1943
1944 \end_inset
1945 </cell>
1946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1947 \begin_inset Text
1948
1949 \begin_layout Plain Layout
1950
1951 \end_layout
1952
1953 \end_inset
1954 </cell>
1955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1956 \begin_inset Text
1957
1958 \begin_layout Plain Layout
1959
1960 \end_layout
1961
1962 \end_inset
1963 </cell>
1964 </row>
1965 </lyxtabular>
1966
1967 \end_inset
1968
1969
1970 \end_layout
1971
1972 \begin_layout Section
1973 Table Dialog
1974 \begin_inset Index
1975 status collapsed
1976
1977 \begin_layout Plain Layout
1978 Table ! Dialog
1979 \end_layout
1980
1981 \end_inset
1982
1983
1984 \end_layout
1985
1986 \begin_layout Standard
1987 You can alter a table by clicking on it with the right mouse button, which
1988  brings up the table dialog.
1989  Here you can adjust the settings of that cell and row/column respectively
1990  where the cursor is currently placed.
1991  Most of the dialog options also work on selections.
1992  This means if you select more cells, columns or rows, the action is done
1993  for the whole selection.
1994  Note that there is a difference between selecting the 
1995 \emph on
1996 contents
1997 \emph default
1998  of the cell, and the cell itself.
1999  You can alter tables with the following tabs of the table dialog:
2000 \end_layout
2001
2002 \begin_layout Description
2003
2004 \family sans
2005 Table
2006 \begin_inset space ~
2007 \end_inset
2008
2009 Settings
2010 \family default
2011  Here you can set the horizontal alignment and the width of the current
2012  column.
2013  When you have set a width you can also adjust the vertical alignment of
2014  the current row.
2015  A given width will allow the cell to have line breaks and multiple paragraphs
2016  of text, see section
2017 \begin_inset space ~
2018 \end_inset
2019
2020
2021 \begin_inset CommandInset ref
2022 LatexCommand ref
2023 reference "sub:Multiple-Lines-in"
2024
2025 \end_inset
2026
2027 .
2028  If you set no width, the column is as wide as their widest cell content
2029  is.
2030 \begin_inset Newline newline
2031 \end_inset
2032
2033 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2034  cell, see section
2035 \begin_inset space ~
2036 \end_inset
2037
2038
2039 \begin_inset CommandInset ref
2040 LatexCommand ref
2041 reference "sub:Multicolumns"
2042
2043 \end_inset
2044
2045 .
2046 \begin_inset Newline newline
2047 \end_inset
2048
2049 The rotate check boxes rotates the current cell, a selection, or the whole
2050  table counter-clockwise by 90°.
2051  The rotation is not shown within LyX, only in the output.
2052 \begin_inset Newline newline
2053 \end_inset
2054
2055
2056 \begin_inset Note Greyedout
2057 status open
2058
2059 \begin_layout Plain Layout
2060
2061 \series bold
2062 Note:
2063 \series default
2064  Not all DVI-viewers are able to display rotations.
2065 \end_layout
2066
2067 \end_inset
2068
2069
2070 \begin_inset Newline newline
2071 \end_inset
2072
2073 It is also possible to enter a LaTeX-argument which is needed for special
2074  table formattings, see section
2075 \begin_inset space ~
2076 \end_inset
2077
2078
2079 \begin_inset CommandInset ref
2080 LatexCommand ref
2081 reference "sub:Multicolumn-Calculations"
2082
2083 \end_inset
2084
2085  and 
2086 \begin_inset CommandInset ref
2087 LatexCommand ref
2088 reference "sec:Colored-Tables"
2089
2090 \end_inset
2091
2092 .
2093 \end_layout
2094
2095 \begin_layout Description
2096
2097 \family sans
2098 Borders
2099 \family default
2100  In this tab you can add and delete border lines for the current row/column.
2101 \begin_inset Newline newline
2102 \end_inset
2103
2104 Using the style option 
2105 \family sans
2106 Formal
2107 \family default
2108  will convert the table to a formal table as described in section
2109 \begin_inset space ~
2110 \end_inset
2111
2112
2113 \begin_inset CommandInset ref
2114 LatexCommand ref
2115 reference "sec:Formal-Tables"
2116
2117 \end_inset
2118
2119 .
2120 \begin_inset Newline newline
2121 \end_inset
2122
2123 You can also add here space to table rows as decribed in section
2124 \begin_inset space ~
2125 \end_inset
2126
2127
2128 \begin_inset CommandInset ref
2129 LatexCommand ref
2130 reference "sub:Row-Spacing"
2131
2132 \end_inset
2133
2134 .
2135 \end_layout
2136
2137 \begin_layout Description
2138
2139 \family sans
2140 Longtable
2141 \family default
2142  This tab is to make a table a so called 
2143 \begin_inset Quotes eld
2144 \end_inset
2145
2146
2147 \emph on
2148 longtable
2149 \emph default
2150
2151 \begin_inset Quotes erd
2152 \end_inset
2153
2154  that can run over several pages.
2155  Section
2156 \begin_inset space ~
2157 \end_inset
2158
2159
2160 \begin_inset CommandInset ref
2161 LatexCommand ref
2162 reference "sec:Longtables"
2163
2164 \end_inset
2165
2166  and 
2167 \begin_inset CommandInset ref
2168 LatexCommand ref
2169 reference "sec:Special-Longtable-Issues"
2170
2171 \end_inset
2172
2173  describe the longtable features in detail.
2174 \end_layout
2175
2176 \begin_layout Standard
2177 When the table dialog is open, you can move the cursor with the arrow keys
2178  from cell to cell and the property of the current cell will immediately
2179  be displayed in the dialog.
2180 \end_layout
2181
2182 \begin_layout Section
2183 Table Toolbar
2184 \begin_inset Index
2185 status collapsed
2186
2187 \begin_layout Plain Layout
2188 Table ! Toolbar
2189 \end_layout
2190
2191 \end_inset
2192
2193
2194 \end_layout
2195
2196 \begin_layout Standard
2197 The table toolbar is an alternative to the table dialog to be able to alter
2198  tables faster.
2199  It should normally appear at the bottom of LyX's main window when the cursor
2200  is inside a table.
2201  You can alternatively switch it on to appear always, by right-clicking
2202  in LyX's main menu bar.
2203 \end_layout
2204
2205 \begin_layout Standard
2206 The toolbar has the following icons:
2207 \end_layout
2208
2209 \begin_layout Labeling
2210 \labelwidthstring 00.00.0000
2211 \begin_inset Graphics
2212         filename ../images/tabular-feature_append-row.png
2213         scaleBeforeRotation
2214
2215 \end_inset
2216
2217  adds a row below the current cell or selection
2218 \end_layout
2219
2220 \begin_layout Labeling
2221 \labelwidthstring 00.00.0000
2222 \begin_inset Graphics
2223         filename ../images/tabular-feature_append-column.png
2224         scaleBeforeRotation
2225
2226 \end_inset
2227
2228  adds a column right beside the current cell or selection
2229 \end_layout
2230
2231 \begin_layout Labeling
2232 \labelwidthstring 00.00.0000
2233 \begin_inset Graphics
2234         filename ../images/tabular-feature_delete-row.png
2235         scaleBeforeRotation
2236
2237 \end_inset
2238
2239  deletes the current row or selection
2240 \end_layout
2241
2242 \begin_layout Labeling
2243 \labelwidthstring 00.00.0000
2244 \begin_inset Graphics
2245         filename ../images/tabular-feature_delete-column.png
2246         scaleBeforeRotation
2247
2248 \end_inset
2249
2250  deletes the current column or selection
2251 \end_layout
2252
2253 \begin_layout Labeling
2254 \labelwidthstring 00.00.0000
2255 \begin_inset Graphics
2256         filename ../images/tabular-feature_toggle-line-top.png
2257         scaleBeforeRotation
2258
2259 \end_inset
2260
2261  adds a line at the top of the current cell / row or of a selection
2262 \end_layout
2263
2264 \begin_layout Labeling
2265 \labelwidthstring 00.00.0000
2266 \begin_inset Graphics
2267         filename ../images/tabular-feature_toggle-line-bottom.png
2268         scaleBeforeRotation
2269
2270 \end_inset
2271
2272  adds a line at the bottom of the current cell / row or of a selection
2273 \end_layout
2274
2275 \begin_layout Labeling
2276 \labelwidthstring 00.00.0000
2277 \begin_inset Graphics
2278         filename ../images/tabular-feature_toggle-line-left.png
2279         scaleBeforeRotation
2280
2281 \end_inset
2282
2283  adds a line at the left side of the current cell / row or of a selection
2284 \end_layout
2285
2286 \begin_layout Labeling
2287 \labelwidthstring 00.00.0000
2288 \begin_inset Graphics
2289         filename ../images/tabular-feature_toggle-line-right.png
2290         scaleBeforeRotation
2291
2292 \end_inset
2293
2294  adds a line at the right side of the current cell / row or of a selection
2295 \end_layout
2296
2297 \begin_layout Labeling
2298 \labelwidthstring 00.00.0000
2299 \begin_inset Graphics
2300         filename ../images/tabular-feature_set-all-lines.png
2301         scaleBeforeRotation
2302
2303 \end_inset
2304
2305  adds lines around the current or selected cells - if the current cell no
2306  multicolumn this also affects the current row and column
2307 \end_layout
2308
2309 \begin_layout Labeling
2310 \labelwidthstring 00.00.0000
2311 \begin_inset Graphics
2312         filename ../images/tabular-feature_unset-all-lines.png
2313         scaleBeforeRotation
2314
2315 \end_inset
2316
2317  deletes all lines of the current or selected cells - if the current cell
2318  no multicolumn this also affects the current row and column
2319 \end_layout
2320
2321 \begin_layout Labeling
2322 \labelwidthstring 00.00.0000
2323 \begin_inset Graphics
2324         filename ../images/tabular-feature_m-align-left.png
2325         scaleBeforeRotation
2326
2327 \end_inset
2328
2329  left-aligns the content of the current cell / column
2330 \end_layout
2331
2332 \begin_layout Labeling
2333 \labelwidthstring 00.00.0000
2334 \begin_inset Graphics
2335         filename ../images/tabular-feature_m-align-center.png
2336         scaleBeforeRotation
2337
2338 \end_inset
2339
2340  centers the content of the current cell / column horizontally
2341 \end_layout
2342
2343 \begin_layout Labeling
2344 \labelwidthstring 00.00.0000
2345 \begin_inset Graphics
2346         filename ../images/tabular-feature_m-align-right.png
2347         scaleBeforeRotation
2348
2349 \end_inset
2350
2351  right-aligns the content of the current cell / column
2352 \end_layout
2353
2354 \begin_layout Labeling
2355 \labelwidthstring 00.00.0000
2356 \begin_inset Graphics
2357         filename ../images/tabular-feature_m-valign-top.png
2358         scaleBeforeRotation
2359
2360 \end_inset
2361
2362  aligns the content of the current cell vertically to the top
2363 \end_layout
2364
2365 \begin_layout Labeling
2366 \labelwidthstring 00.00.0000
2367 \begin_inset Graphics
2368         filename ../images/tabular-feature_m-valign-middle.png
2369         scaleBeforeRotation
2370
2371 \end_inset
2372
2373  centers the content of the current cell vertically
2374 \end_layout
2375
2376 \begin_layout Labeling
2377 \labelwidthstring 00.00.0000
2378 \begin_inset Graphics
2379         filename ../images/tabular-feature_m-valign-bottom.png
2380         scaleBeforeRotation
2381
2382 \end_inset
2383
2384  aligns the content of the current cell vertically to the bottom
2385 \end_layout
2386
2387 \begin_layout Labeling
2388 \labelwidthstring 00.00.0000
2389 \begin_inset Graphics
2390         filename ../images/tabular-feature_set-rotate-cell.png
2391         scaleBeforeRotation
2392
2393 \end_inset
2394
2395  rotates the current cell or selection counter-clockwise by 90°
2396 \end_layout
2397
2398 \begin_layout Labeling
2399 \labelwidthstring 00.00.0000
2400 \begin_inset Graphics
2401         filename ../images/tabular-feature_set-rotate-tabular.png
2402         scaleBeforeRotation
2403
2404 \end_inset
2405
2406  rotates the whole table counter-clockwise by 90°
2407 \end_layout
2408
2409 \begin_layout Labeling
2410 \labelwidthstring 00.00.0000
2411 \begin_inset Graphics
2412         filename ../images/tabular-feature_multicolumn.png
2413         scaleBeforeRotation
2414
2415 \end_inset
2416
2417  sets the current cell or selection as a multicolumn
2418 \end_layout
2419
2420 \begin_layout Standard
2421 \begin_inset Note Greyedout
2422 status open
2423
2424 \begin_layout Plain Layout
2425
2426 \series bold
2427 Note:
2428 \series default
2429  For the output the vertical alignment of the first cell in a row is used
2430  for all following cells in the row.
2431 \end_layout
2432
2433 \end_inset
2434
2435
2436 \end_layout
2437
2438 \begin_layout Section
2439 Edit Table Menu
2440 \begin_inset Index
2441 status collapsed
2442
2443 \begin_layout Plain Layout
2444 Table ! Edit Menu
2445 \end_layout
2446
2447 \end_inset
2448
2449
2450 \end_layout
2451
2452 \begin_layout Standard
2453 Additionally to the table dialog and toolbar, the menu 
2454 \family sans
2455 Edit\SpecialChar \menuseparator
2456 Table
2457 \family default
2458  allows you to add and delete border lines for the current row/column and
2459  to set the current selection as multicolumn.
2460  The menu is only available when the cursor is inside a table.
2461 \end_layout
2462
2463 \begin_layout Section
2464 Table Floats
2465 \begin_inset CommandInset label
2466 LatexCommand label
2467 name "sec:Table-Floats"
2468
2469 \end_inset
2470
2471
2472 \begin_inset Index
2473 status collapsed
2474
2475 \begin_layout Plain Layout
2476 Floats ! Tables
2477 \end_layout
2478
2479 \end_inset
2480
2481
2482 \begin_inset Index
2483 status collapsed
2484
2485 \begin_layout Plain Layout
2486 Table ! Floats
2487 \end_layout
2488
2489 \end_inset
2490
2491
2492 \end_layout
2493
2494 \begin_layout Standard
2495 For general explanations about floats, have a look at section
2496 \begin_inset space ~
2497 \end_inset
2498
2499
2500 \begin_inset CommandInset ref
2501 LatexCommand ref
2502 reference "sec:FloatIntroduction"
2503
2504 \end_inset
2505
2506 .
2507 \end_layout
2508
2509 \begin_layout Standard
2510 \begin_inset Float table
2511 placement h
2512 wide false
2513 sideways false
2514 status open
2515
2516 \begin_layout Plain Layout
2517 \begin_inset Caption
2518
2519 \begin_layout Plain Layout
2520 \begin_inset CommandInset label
2521 LatexCommand label
2522 name "tab:a table float"
2523
2524 \end_inset
2525
2526 A table float.
2527 \end_layout
2528
2529 \end_inset
2530
2531
2532 \end_layout
2533
2534 \begin_layout Plain Layout
2535 \align center
2536 \begin_inset Tabular
2537 <lyxtabular version="3" rows="3" columns="3">
2538 <features>
2539 <column alignment="center" valignment="top" width="0pt">
2540 <column alignment="center" valignment="top" width="0pt">
2541 <column alignment="center" valignment="top" width="0pt">
2542 <row>
2543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2544 \begin_inset Text
2545
2546 \begin_layout Plain Layout
2547
2548 \family roman
2549 \series medium
2550 \shape up
2551 \size normal
2552 \emph off
2553 \bar no
2554 \noun off
2555 \color none
2556 1
2557 \end_layout
2558
2559 \end_inset
2560 </cell>
2561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2562 \begin_inset Text
2563
2564 \begin_layout Plain Layout
2565
2566 \family roman
2567 \series medium
2568 \shape up
2569 \size normal
2570 \emph off
2571 \bar no
2572 \noun off
2573 \color none
2574 2
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Plain Layout
2583
2584 \family roman
2585 \series medium
2586 \shape up
2587 \size normal
2588 \emph off
2589 \bar no
2590 \noun off
2591 \color none
2592 3
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 </row>
2598 <row>
2599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Plain Layout
2603
2604 \family roman
2605 \series medium
2606 \shape up
2607 \size normal
2608 \emph off
2609 \bar no
2610 \noun off
2611 \color none
2612 Joe
2613 \end_layout
2614
2615 \end_inset
2616 </cell>
2617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2618 \begin_inset Text
2619
2620 \begin_layout Plain Layout
2621
2622 \family roman
2623 \series medium
2624 \shape up
2625 \size normal
2626 \emph off
2627 \bar no
2628 \noun off
2629 \color none
2630 Mary
2631 \end_layout
2632
2633 \end_inset
2634 </cell>
2635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2636 \begin_inset Text
2637
2638 \begin_layout Plain Layout
2639
2640 \family roman
2641 \series medium
2642 \shape up
2643 \size normal
2644 \emph off
2645 \bar no
2646 \noun off
2647 \color none
2648 Ted
2649 \end_layout
2650
2651 \end_inset
2652 </cell>
2653 </row>
2654 <row>
2655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2656 \begin_inset Text
2657
2658 \begin_layout Plain Layout
2659
2660 \family roman
2661 \series medium
2662 \shape up
2663 \size normal
2664 \emph off
2665 \bar no
2666 \noun off
2667 \color none
2668 \begin_inset Formula $\int x^{2}dx$
2669 \end_inset
2670
2671
2672 \end_layout
2673
2674 \end_inset
2675 </cell>
2676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2677 \begin_inset Text
2678
2679 \begin_layout Plain Layout
2680
2681 \family roman
2682 \series medium
2683 \shape up
2684 \size normal
2685 \emph off
2686 \bar no
2687 \noun off
2688 \color none
2689 \begin_inset Formula $\left[\begin{array}{cc}
2690 a & b\\
2691 c & d\end{array}\right]$
2692 \end_inset
2693
2694
2695 \end_layout
2696
2697 \end_inset
2698 </cell>
2699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2700 \begin_inset Text
2701
2702 \begin_layout Plain Layout
2703
2704 \family roman
2705 \series medium
2706 \shape up
2707 \size normal
2708 \emph off
2709 \bar no
2710 \noun off
2711 \color none
2712 \begin_inset Formula $1+1=2$
2713 \end_inset
2714
2715
2716 \end_layout
2717
2718 \end_inset
2719 </cell>
2720 </row>
2721 </lyxtabular>
2722
2723 \end_inset
2724
2725
2726 \end_layout
2727
2728 \end_inset
2729
2730
2731 \end_layout
2732
2733 \begin_layout Standard
2734 Table floats can be inserted using the menu 
2735 \family sans
2736 Insert\SpecialChar \menuseparator
2737 Float\SpecialChar \menuseparator
2738 Table
2739 \family default
2740  or the toolbar button 
2741 \begin_inset Graphics
2742         filename ../images/float-insert_table.png
2743         scale 85
2744         scaleBeforeRotation
2745
2746 \end_inset
2747
2748 .
2749 \end_layout
2750
2751 \begin_layout Standard
2752 The float appears as a collapsible box with a caption that has the label
2753  
2754 \begin_inset Quotes eld
2755 \end_inset
2756
2757 Table
2758 \begin_inset space ~
2759 \end_inset
2760
2761 #:
2762 \begin_inset Quotes erd
2763 \end_inset
2764
2765  (# is the actual table number).
2766  You can insert tables to the float above or below the caption.
2767 \end_layout
2768
2769 \begin_layout Standard
2770 Table
2771 \begin_inset space ~
2772 \end_inset
2773
2774
2775 \begin_inset CommandInset ref
2776 LatexCommand ref
2777 reference "tab:a table float"
2778
2779 \end_inset
2780
2781  is an example table within a table float.
2782 \end_layout
2783
2784 \begin_layout Standard
2785 Having the caption above the table is the common rule that is unfortunately
2786  not supported in LaTeX's standard classes.
2787  That means if you are using the document classes 
2788 \family sans
2789 article
2790 \family default
2791
2792 \family sans
2793 book
2794 \family default
2795
2796 \family sans
2797 letter
2798 \family default
2799 , or 
2800 \family sans
2801 report
2802 \family default
2803  there will be no space between the caption and the table.
2804  To insert the needed space, add the following option to the load command
2805  of the LaTeX-package 
2806 \series bold
2807 caption
2808 \series default
2809
2810 \begin_inset Index
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 LaTeX-packages ! caption
2815 \end_layout
2816
2817 \end_inset
2818
2819  in your document preamble
2820 \begin_inset Foot
2821 status collapsed
2822
2823 \begin_layout Plain Layout
2824 For more information have a look at section
2825 \begin_inset space ~
2826 \end_inset
2827
2828
2829 \begin_inset CommandInset ref
2830 LatexCommand ref
2831 reference "sec:Caption-Placement"
2832
2833 \end_inset
2834
2835 .
2836 \end_layout
2837
2838 \end_inset
2839
2840 :
2841 \end_layout
2842
2843 \begin_layout Standard
2844
2845 \series bold
2846 tableposition=top
2847 \end_layout
2848
2849 \begin_layout Standard
2850 The package 
2851 \series bold
2852 caption
2853 \series default
2854 , which is described in section
2855 \begin_inset space ~
2856 \end_inset
2857
2858
2859 \begin_inset CommandInset ref
2860 LatexCommand ref
2861 reference "sec:Caption-Formatting"
2862
2863 \end_inset
2864
2865 , is used to adjust the caption format.
2866 \end_layout
2867
2868 \begin_layout Standard
2869 \begin_inset Index
2870 status collapsed
2871
2872 \begin_layout Plain Layout
2873 References ! to Tables
2874 \end_layout
2875
2876 \end_inset
2877
2878 Tables can be cross-referenced in the text by referencing their label.
2879  To do this insert a label in the caption using the menu 
2880 \family sans
2881 Insert\SpecialChar \menuseparator
2882 Label
2883 \family default
2884  or the toolbar button 
2885 \begin_inset Graphics
2886         filename ../images/label-insert.png
2887         scale 85
2888         scaleBeforeRotation
2889
2890 \end_inset
2891
2892 .
2893  You can now refer to the label using the menu 
2894 \family sans
2895 Insert\SpecialChar \menuseparator
2896 Cross
2897 \begin_inset space ~
2898 \end_inset
2899
2900 reference
2901 \family default
2902  or the toolbar button 
2903 \begin_inset Graphics
2904         filename ../images/dialog-show-new-inset_ref.png
2905         scale 85
2906         scaleBeforeRotation
2907
2908 \end_inset
2909
2910 .
2911 \begin_inset Newline newline
2912 \end_inset
2913
2914 Referencing is explained in detail in section
2915 \begin_inset space ~
2916 \end_inset
2917
2918
2919 \begin_inset CommandInset ref
2920 LatexCommand ref
2921 reference "sec:Referencing-Floats"
2922
2923 \end_inset
2924
2925 .
2926 \end_layout
2927
2928 \begin_layout Section
2929 Longtables
2930 \begin_inset CommandInset label
2931 LatexCommand label
2932 name "sec:Longtables"
2933
2934 \end_inset
2935
2936
2937 \begin_inset Index
2938 status collapsed
2939
2940 \begin_layout Plain Layout
2941 Longtables
2942 \end_layout
2943
2944 \end_inset
2945
2946
2947 \begin_inset Index
2948 status collapsed
2949
2950 \begin_layout Plain Layout
2951 Table ! Longtables
2952 \end_layout
2953
2954 \end_inset
2955
2956
2957 \end_layout
2958
2959 \begin_layout Standard
2960 If the table is too long to fit on one page, you can use the option 
2961 \family sans
2962 Use
2963 \begin_inset space ~
2964 \end_inset
2965
2966 long
2967 \begin_inset space ~
2968 \end_inset
2969
2970 table
2971 \family default
2972  in the tab 
2973 \family sans
2974 Longtable
2975 \family default
2976  of the table dialog to split the table automatically over more pages.
2977  Doing this enables the following options:
2978 \end_layout
2979
2980 \begin_layout Description
2981 Header: The current row is defined to be a header row that appears on all
2982  pages of the longtable; except for the first page, if 
2983 \family sans
2984 First
2985 \begin_inset space ~
2986 \end_inset
2987
2988 header
2989 \family default
2990  is defined.
2991  This therefore called the main header.
2992 \end_layout
2993
2994 \begin_layout Description
2995 First
2996 \begin_inset space ~
2997 \end_inset
2998
2999 header: The current row is defined to be a header row that appears on the
3000  first page of the longtable.
3001 \end_layout
3002
3003 \begin_layout Description
3004 Footer: The current row is defined to be a footer row that appears on all
3005  pages of the longtable; except for the last page, if 
3006 \family sans
3007 Last
3008 \begin_inset space ~
3009 \end_inset
3010
3011 footer
3012 \family default
3013  is defined.
3014 \end_layout
3015
3016 \begin_layout Description
3017 Last
3018 \begin_inset space ~
3019 \end_inset
3020
3021 footer: The current row is defined to be a footer row that appear on the
3022  last page of the longtable.
3023 \end_layout
3024
3025 \begin_layout Description
3026 Caption: The current row contains the table caption.
3027  The row is reset as single column and a caption is inserted.
3028  More about longtable captions is explained in sec.
3029 \begin_inset space \thinspace{}
3030 \end_inset
3031
3032
3033 \begin_inset CommandInset ref
3034 LatexCommand ref
3035 reference "sub:Longtable-Captions"
3036
3037 \end_inset
3038
3039 .
3040 \end_layout
3041
3042 \begin_layout Standard
3043 You can also specify a row where the table is split.
3044  See the following longtable to see how it works:
3045 \end_layout
3046
3047 \begin_layout Standard
3048 \align center
3049 \begin_inset Tabular
3050 <lyxtabular version="3" rows="69" columns="3">
3051 <features islongtable="true">
3052 <column alignment="left" valignment="top" width="0cm">
3053 <column alignment="left" valignment="top" width="0pt">
3054 <column alignment="center" valignment="top" width="0pt">
3055 <row endfirsthead="true">
3056 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3057 \begin_inset Text
3058
3059 \begin_layout Plain Layout
3060
3061 \series bold
3062 Example Phone List (ignore the names)
3063 \end_layout
3064
3065 \end_inset
3066 </cell>
3067 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3068 \begin_inset Text
3069
3070 \begin_layout Plain Layout
3071
3072 \end_layout
3073
3074 \end_inset
3075 </cell>
3076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3077 \begin_inset Text
3078
3079 \begin_layout Plain Layout
3080
3081 \end_layout
3082
3083 \end_inset
3084 </cell>
3085 </row>
3086 <row endfirsthead="true">
3087 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3088 \begin_inset Text
3089
3090 \begin_layout Plain Layout
3091
3092 \series bold
3093 NAME
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3099 \begin_inset Text
3100
3101 \begin_layout Plain Layout
3102
3103 \end_layout
3104
3105 \end_inset
3106 </cell>
3107 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3108 \begin_inset Text
3109
3110 \begin_layout Plain Layout
3111
3112 \series bold
3113 TEL.
3114 \end_layout
3115
3116 \end_inset
3117 </cell>
3118 </row>
3119 <row endhead="true">
3120 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3121 \begin_inset Text
3122
3123 \begin_layout Plain Layout
3124
3125 \series bold
3126 Example Phone List
3127 \end_layout
3128
3129 \end_inset
3130 </cell>
3131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3132 \begin_inset Text
3133
3134 \begin_layout Plain Layout
3135
3136 \end_layout
3137
3138 \end_inset
3139 </cell>
3140 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3141 \begin_inset Text
3142
3143 \begin_layout Plain Layout
3144
3145 \end_layout
3146
3147 \end_inset
3148 </cell>
3149 </row>
3150 <row endhead="true">
3151 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3152 \begin_inset Text
3153
3154 \begin_layout Plain Layout
3155
3156 \series bold
3157 NAME
3158 \end_layout
3159
3160 \end_inset
3161 </cell>
3162 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3163 \begin_inset Text
3164
3165 \begin_layout Plain Layout
3166
3167 \end_layout
3168
3169 \end_inset
3170 </cell>
3171 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3172 \begin_inset Text
3173
3174 \begin_layout Plain Layout
3175
3176 \series bold
3177 TEL.
3178 \end_layout
3179
3180 \end_inset
3181 </cell>
3182 </row>
3183 <row endfoot="true">
3184 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3185 \begin_inset Text
3186
3187 \begin_layout Plain Layout
3188  continued on next page
3189 \end_layout
3190
3191 \end_inset
3192 </cell>
3193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3194 \begin_inset Text
3195
3196 \begin_layout Plain Layout
3197
3198 \end_layout
3199
3200 \end_inset
3201 </cell>
3202 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3203 \begin_inset Text
3204
3205 \begin_layout Plain Layout
3206
3207 \end_layout
3208
3209 \end_inset
3210 </cell>
3211 </row>
3212 <row>
3213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3214 \begin_inset Text
3215
3216 \begin_layout Plain Layout
3217
3218 \series bold
3219 Annovi
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 <cell alignment="center" valignment="top" usebox="none">
3225 \begin_inset Text
3226
3227 \begin_layout Plain Layout
3228 Silvia
3229 \end_layout
3230
3231 \end_inset
3232 </cell>
3233 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3234 \begin_inset Text
3235
3236 \begin_layout Plain Layout
3237 111
3238 \end_layout
3239
3240 \end_inset
3241 </cell>
3242 </row>
3243 <row>
3244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3245 \begin_inset Text
3246
3247 \begin_layout Plain Layout
3248
3249 \series bold
3250 Bertoli
3251 \end_layout
3252
3253 \end_inset
3254 </cell>
3255 <cell alignment="center" valignment="top" usebox="none">
3256 \begin_inset Text
3257
3258 \begin_layout Plain Layout
3259 Stefano
3260 \end_layout
3261
3262 \end_inset
3263 </cell>
3264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3265 \begin_inset Text
3266
3267 \begin_layout Plain Layout
3268 111
3269 \end_layout
3270
3271 \end_inset
3272 </cell>
3273 </row>
3274 <row>
3275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3276 \begin_inset Text
3277
3278 \begin_layout Plain Layout
3279
3280 \series bold
3281 Bozzi
3282 \end_layout
3283
3284 \end_inset
3285 </cell>
3286 <cell alignment="center" valignment="top" usebox="none">
3287 \begin_inset Text
3288
3289 \begin_layout Plain Layout
3290 Walter
3291 \end_layout
3292
3293 \end_inset
3294 </cell>
3295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3296 \begin_inset Text
3297
3298 \begin_layout Plain Layout
3299 111
3300 \end_layout
3301
3302 \end_inset
3303 </cell>
3304 </row>
3305 <row>
3306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3307 \begin_inset Text
3308
3309 \begin_layout Plain Layout
3310
3311 \series bold
3312 Cachia
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 <cell alignment="center" valignment="top" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Plain Layout
3321 Maria
3322 \end_layout
3323
3324 \end_inset
3325 </cell>
3326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3327 \begin_inset Text
3328
3329 \begin_layout Plain Layout
3330 111
3331 \end_layout
3332
3333 \end_inset
3334 </cell>
3335 </row>
3336 <row>
3337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3338 \begin_inset Text
3339
3340 \begin_layout Plain Layout
3341
3342 \series bold
3343 Cachia
3344 \end_layout
3345
3346 \end_inset
3347 </cell>
3348 <cell alignment="center" valignment="top" usebox="none">
3349 \begin_inset Text
3350
3351 \begin_layout Plain Layout
3352 Maurizio
3353 \end_layout
3354
3355 \end_inset
3356 </cell>
3357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3358 \begin_inset Text
3359
3360 \begin_layout Plain Layout
3361 111
3362 \end_layout
3363
3364 \end_inset
3365 </cell>
3366 </row>
3367 <row>
3368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3369 \begin_inset Text
3370
3371 \begin_layout Plain Layout
3372
3373 \series bold
3374 Cinquemani
3375 \end_layout
3376
3377 \end_inset
3378 </cell>
3379 <cell alignment="center" valignment="top" usebox="none">
3380 \begin_inset Text
3381
3382 \begin_layout Plain Layout
3383 Giusi
3384 \end_layout
3385
3386 \end_inset
3387 </cell>
3388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3389 \begin_inset Text
3390
3391 \begin_layout Plain Layout
3392 111
3393 \end_layout
3394
3395 \end_inset
3396 </cell>
3397 </row>
3398 <row>
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3400 \begin_inset Text
3401
3402 \begin_layout Plain Layout
3403
3404 \series bold
3405 Colin
3406 \end_layout
3407
3408 \end_inset
3409 </cell>
3410 <cell alignment="center" valignment="top" usebox="none">
3411 \begin_inset Text
3412
3413 \begin_layout Plain Layout
3414 Bernard
3415 \end_layout
3416
3417 \end_inset
3418 </cell>
3419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3420 \begin_inset Text
3421
3422 \begin_layout Plain Layout
3423 111
3424 \end_layout
3425
3426 \end_inset
3427 </cell>
3428 </row>
3429 <row>
3430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3431 \begin_inset Text
3432
3433 \begin_layout Plain Layout
3434
3435 \series bold
3436 Concli
3437 \end_layout
3438
3439 \end_inset
3440 </cell>
3441 <cell alignment="center" valignment="top" usebox="none">
3442 \begin_inset Text
3443
3444 \begin_layout Plain Layout
3445 Gianfranco
3446 \end_layout
3447
3448 \end_inset
3449 </cell>
3450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3451 \begin_inset Text
3452
3453 \begin_layout Plain Layout
3454 111
3455 \end_layout
3456
3457 \end_inset
3458 </cell>
3459 </row>
3460 <row>
3461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3462 \begin_inset Text
3463
3464 \begin_layout Plain Layout
3465
3466 \series bold
3467 Dal Bosco
3468 \end_layout
3469
3470 \end_inset
3471 </cell>
3472 <cell alignment="center" valignment="top" usebox="none">
3473 \begin_inset Text
3474
3475 \begin_layout Plain Layout
3476 Carolina
3477 \end_layout
3478
3479 \end_inset
3480 </cell>
3481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3482 \begin_inset Text
3483
3484 \begin_layout Plain Layout
3485 111
3486 \end_layout
3487
3488 \end_inset
3489 </cell>
3490 </row>
3491 <row>
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3493 \begin_inset Text
3494
3495 \begin_layout Plain Layout
3496
3497 \series bold
3498 Dalpiaz
3499 \end_layout
3500
3501 \end_inset
3502 </cell>
3503 <cell alignment="center" valignment="top" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Plain Layout
3507 Annamaria
3508 \end_layout
3509
3510 \end_inset
3511 </cell>
3512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3513 \begin_inset Text
3514
3515 \begin_layout Plain Layout
3516 111
3517 \end_layout
3518
3519 \end_inset
3520 </cell>
3521 </row>
3522 <row>
3523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3524 \begin_inset Text
3525
3526 \begin_layout Plain Layout
3527
3528 \series bold
3529 Feliciello
3530 \end_layout
3531
3532 \end_inset
3533 </cell>
3534 <cell alignment="center" valignment="top" usebox="none">
3535 \begin_inset Text
3536
3537 \begin_layout Plain Layout
3538 Domenico
3539 \end_layout
3540
3541 \end_inset
3542 </cell>
3543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3544 \begin_inset Text
3545
3546 \begin_layout Plain Layout
3547 111
3548 \end_layout
3549
3550 \end_inset
3551 </cell>
3552 </row>
3553 <row>
3554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3555 \begin_inset Text
3556
3557 \begin_layout Plain Layout
3558
3559 \series bold
3560 Focarelli
3561 \end_layout
3562
3563 \end_inset
3564 </cell>
3565 <cell alignment="center" valignment="top" usebox="none">
3566 \begin_inset Text
3567
3568 \begin_layout Plain Layout
3569 Paola
3570 \end_layout
3571
3572 \end_inset
3573 </cell>
3574 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3575 \begin_inset Text
3576
3577 \begin_layout Plain Layout
3578 111
3579 \end_layout
3580
3581 \end_inset
3582 </cell>
3583 </row>
3584 <row>
3585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3586 \begin_inset Text
3587
3588 \begin_layout Plain Layout
3589
3590 \series bold
3591 Galletti
3592 \end_layout
3593
3594 \end_inset
3595 </cell>
3596 <cell alignment="center" valignment="top" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Plain Layout
3600 Oreste
3601 \end_layout
3602
3603 \end_inset
3604 </cell>
3605 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3606 \begin_inset Text
3607
3608 \begin_layout Plain Layout
3609 111
3610 \end_layout
3611
3612 \end_inset
3613 </cell>
3614 </row>
3615 <row>
3616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3617 \begin_inset Text
3618
3619 \begin_layout Plain Layout
3620
3621 \series bold
3622 Gasparini
3623 \end_layout
3624
3625 \end_inset
3626 </cell>
3627 <cell alignment="center" valignment="top" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Plain Layout
3631 Franca
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3637 \begin_inset Text
3638
3639 \begin_layout Plain Layout
3640 111
3641 \end_layout
3642
3643 \end_inset
3644 </cell>
3645 </row>
3646 <row>
3647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3648 \begin_inset Text
3649
3650 \begin_layout Plain Layout
3651
3652 \series bold
3653 Rizzardi
3654 \end_layout
3655
3656 \end_inset
3657 </cell>
3658 <cell alignment="center" valignment="top" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Plain Layout
3662 Paola
3663 \end_layout
3664
3665 \end_inset
3666 </cell>
3667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3668 \begin_inset Text
3669
3670 \begin_layout Plain Layout
3671 111
3672 \end_layout
3673
3674 \end_inset
3675 </cell>
3676 </row>
3677 <row>
3678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Plain Layout
3682
3683 \series bold
3684 Lassini
3685 \end_layout
3686
3687 \end_inset
3688 </cell>
3689 <cell alignment="center" valignment="top" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Plain Layout
3693 Giancarlo
3694 \end_layout
3695
3696 \end_inset
3697 </cell>
3698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3699 \begin_inset Text
3700
3701 \begin_layout Plain Layout
3702 111
3703 \end_layout
3704
3705 \end_inset
3706 </cell>
3707 </row>
3708 <row>
3709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3710 \begin_inset Text
3711
3712 \begin_layout Plain Layout
3713
3714 \series bold
3715 Malfatti
3716 \end_layout
3717
3718 \end_inset
3719 </cell>
3720 <cell alignment="center" valignment="top" usebox="none">
3721 \begin_inset Text
3722
3723 \begin_layout Plain Layout
3724 Luciano
3725 \end_layout
3726
3727 \end_inset
3728 </cell>
3729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3730 \begin_inset Text
3731
3732 \begin_layout Plain Layout
3733 111
3734 \end_layout
3735
3736 \end_inset
3737 </cell>
3738 </row>
3739 <row>
3740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3741 \begin_inset Text
3742
3743 \begin_layout Plain Layout
3744
3745 \series bold
3746 Malfatti
3747 \end_layout
3748
3749 \end_inset
3750 </cell>
3751 <cell alignment="center" valignment="top" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Plain Layout
3755 Valeriano
3756 \end_layout
3757
3758 \end_inset
3759 </cell>
3760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3761 \begin_inset Text
3762
3763 \begin_layout Plain Layout
3764 111
3765 \end_layout
3766
3767 \end_inset
3768 </cell>
3769 </row>
3770 <row>
3771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3772 \begin_inset Text
3773
3774 \begin_layout Plain Layout
3775
3776 \series bold
3777 Meneguzzo
3778 \end_layout
3779
3780 \end_inset
3781 </cell>
3782 <cell alignment="center" valignment="top" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Plain Layout
3786 Roberto
3787 \end_layout
3788
3789 \end_inset
3790 </cell>
3791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3792 \begin_inset Text
3793
3794 \begin_layout Plain Layout
3795 111
3796 \end_layout
3797
3798 \end_inset
3799 </cell>
3800 </row>
3801 <row>
3802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3803 \begin_inset Text
3804
3805 \begin_layout Plain Layout
3806
3807 \series bold
3808 Mezzadra
3809 \end_layout
3810
3811 \end_inset
3812 </cell>
3813 <cell alignment="center" valignment="top" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Plain Layout
3817 Roberto
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3823 \begin_inset Text
3824
3825 \begin_layout Plain Layout
3826 111
3827 \end_layout
3828
3829 \end_inset
3830 </cell>
3831 </row>
3832 <row>
3833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Plain Layout
3837
3838 \series bold
3839 Pirpamer
3840 \end_layout
3841
3842 \end_inset
3843 </cell>
3844 <cell alignment="center" valignment="top" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Plain Layout
3848 Erich
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3854 \begin_inset Text
3855
3856 \begin_layout Plain Layout
3857 111
3858 \end_layout
3859
3860 \end_inset
3861 </cell>
3862 </row>
3863 <row>
3864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Plain Layout
3868
3869 \series bold
3870 Pochiesa
3871 \end_layout
3872
3873 \end_inset
3874 </cell>
3875 <cell alignment="center" valignment="top" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Plain Layout
3879 Paolo
3880 \end_layout
3881
3882 \end_inset
3883 </cell>
3884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3885 \begin_inset Text
3886
3887 \begin_layout Plain Layout
3888 111, 222
3889 \end_layout
3890
3891 \end_inset
3892 </cell>
3893 </row>
3894 <row>
3895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3896 \begin_inset Text
3897
3898 \begin_layout Plain Layout
3899
3900 \series bold
3901 Radina
3902 \end_layout
3903
3904 \end_inset
3905 </cell>
3906 <cell alignment="center" valignment="top" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Plain Layout
3910 Claudio
3911 \end_layout
3912
3913 \end_inset
3914 </cell>
3915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3916 \begin_inset Text
3917
3918 \begin_layout Plain Layout
3919 111
3920 \end_layout
3921
3922 \end_inset
3923 </cell>
3924 </row>
3925 <row>
3926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3927 \begin_inset Text
3928
3929 \begin_layout Plain Layout
3930
3931 \series bold
3932 Stuffer
3933 \end_layout
3934
3935 \end_inset
3936 </cell>
3937 <cell alignment="center" valignment="top" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Plain Layout
3941 Oskar
3942 \end_layout
3943
3944 \end_inset
3945 </cell>
3946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3947 \begin_inset Text
3948
3949 \begin_layout Plain Layout
3950 111
3951 \end_layout
3952
3953 \end_inset
3954 </cell>
3955 </row>
3956 <row>
3957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3958 \begin_inset Text
3959
3960 \begin_layout Plain Layout
3961
3962 \series bold
3963 Tacchelli
3964 \end_layout
3965
3966 \end_inset
3967 </cell>
3968 <cell alignment="center" valignment="top" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Plain Layout
3972 Ugo
3973 \end_layout
3974
3975 \end_inset
3976 </cell>
3977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3978 \begin_inset Text
3979
3980 \begin_layout Plain Layout
3981 111
3982 \end_layout
3983
3984 \end_inset
3985 </cell>
3986 </row>
3987 <row>
3988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3989 \begin_inset Text
3990
3991 \begin_layout Plain Layout
3992
3993 \series bold
3994 Tezzele
3995 \end_layout
3996
3997 \end_inset
3998 </cell>
3999 <cell alignment="center" valignment="top" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Plain Layout
4003 Margit
4004 \end_layout
4005
4006 \end_inset
4007 </cell>
4008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4009 \begin_inset Text
4010
4011 \begin_layout Plain Layout
4012 111
4013 \end_layout
4014
4015 \end_inset
4016 </cell>
4017 </row>
4018 <row>
4019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4020 \begin_inset Text
4021
4022 \begin_layout Plain Layout
4023
4024 \series bold
4025 Unterkalmsteiner
4026 \end_layout
4027
4028 \end_inset
4029 </cell>
4030 <cell alignment="center" valignment="top" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Plain Layout
4034 Frieda
4035 \end_layout
4036
4037 \end_inset
4038 </cell>
4039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4040 \begin_inset Text
4041
4042 \begin_layout Plain Layout
4043 111
4044 \end_layout
4045
4046 \end_inset
4047 </cell>
4048 </row>
4049 <row>
4050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4051 \begin_inset Text
4052
4053 \begin_layout Plain Layout
4054
4055 \series bold
4056 Vieider
4057 \end_layout
4058
4059 \end_inset
4060 </cell>
4061 <cell alignment="center" valignment="top" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Plain Layout
4065 Hilde
4066 \end_layout
4067
4068 \end_inset
4069 </cell>
4070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4071 \begin_inset Text
4072
4073 \begin_layout Plain Layout
4074 111
4075 \end_layout
4076
4077 \end_inset
4078 </cell>
4079 </row>
4080 <row>
4081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4082 \begin_inset Text
4083
4084 \begin_layout Plain Layout
4085
4086 \series bold
4087 Vigna
4088 \end_layout
4089
4090 \end_inset
4091 </cell>
4092 <cell alignment="center" valignment="top" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Plain Layout
4096 Jürgen
4097 \end_layout
4098
4099 \end_inset
4100 </cell>
4101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4102 \begin_inset Text
4103
4104 \begin_layout Plain Layout
4105 111
4106 \end_layout
4107
4108 \end_inset
4109 </cell>
4110 </row>
4111 <row>
4112 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4113 \begin_inset Text
4114
4115 \begin_layout Plain Layout
4116
4117 \series bold
4118 Weber
4119 \end_layout
4120
4121 \end_inset
4122 </cell>
4123 <cell alignment="center" valignment="top" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Plain Layout
4127 Maurizio
4128 \end_layout
4129
4130 \end_inset
4131 </cell>
4132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4133 \begin_inset Text
4134
4135 \begin_layout Plain Layout
4136 111
4137 \end_layout
4138
4139 \end_inset
4140 </cell>
4141 </row>
4142 <row>
4143 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4144 \begin_inset Text
4145
4146 \begin_layout Plain Layout
4147
4148 \series bold
4149 Winkler
4150 \end_layout
4151
4152 \end_inset
4153 </cell>
4154 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Plain Layout
4158 Franz
4159 \end_layout
4160
4161 \end_inset
4162 </cell>
4163 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4164 \begin_inset Text
4165
4166 \begin_layout Plain Layout
4167 111
4168 \end_layout
4169
4170 \end_inset
4171 </cell>
4172 </row>
4173 <row>
4174 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4175 \begin_inset Text
4176
4177 \begin_layout Plain Layout
4178  
4179 \end_layout
4180
4181 \end_inset
4182 </cell>
4183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4184 \begin_inset Text
4185
4186 \begin_layout Plain Layout
4187
4188 \end_layout
4189
4190 \end_inset
4191 </cell>
4192 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4193 \begin_inset Text
4194
4195 \begin_layout Plain Layout
4196
4197 \end_layout
4198
4199 \end_inset
4200 </cell>
4201 </row>
4202 <row>
4203 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4204 \begin_inset Text
4205
4206 \begin_layout Plain Layout
4207
4208 \series bold
4209 Annovi
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 <cell alignment="center" valignment="top" usebox="none">
4215 \begin_inset Text
4216
4217 \begin_layout Plain Layout
4218 Silvia
4219 \end_layout
4220
4221 \end_inset
4222 </cell>
4223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4224 \begin_inset Text
4225
4226 \begin_layout Plain Layout
4227 555
4228 \end_layout
4229
4230 \end_inset
4231 </cell>
4232 </row>
4233 <row>
4234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4235 \begin_inset Text
4236
4237 \begin_layout Plain Layout
4238
4239 \series bold
4240 Bertoli
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 <cell alignment="center" valignment="top" usebox="none">
4246 \begin_inset Text
4247
4248 \begin_layout Plain Layout
4249 Stefano
4250 \end_layout
4251
4252 \end_inset
4253 </cell>
4254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4255 \begin_inset Text
4256
4257 \begin_layout Plain Layout
4258 555
4259 \end_layout
4260
4261 \end_inset
4262 </cell>
4263 </row>
4264 <row>
4265 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4266 \begin_inset Text
4267
4268 \begin_layout Plain Layout
4269
4270 \series bold
4271 Bozzi
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 <cell alignment="center" valignment="top" usebox="none">
4277 \begin_inset Text
4278
4279 \begin_layout Plain Layout
4280 Walter
4281 \end_layout
4282
4283 \end_inset
4284 </cell>
4285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4286 \begin_inset Text
4287
4288 \begin_layout Plain Layout
4289 555
4290 \end_layout
4291
4292 \end_inset
4293 </cell>
4294 </row>
4295 <row>
4296 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4297 \begin_inset Text
4298
4299 \begin_layout Plain Layout
4300
4301 \series bold
4302 Cachia
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 <cell alignment="center" valignment="top" usebox="none">
4308 \begin_inset Text
4309
4310 \begin_layout Plain Layout
4311 Maria
4312 \end_layout
4313
4314 \end_inset
4315 </cell>
4316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4317 \begin_inset Text
4318
4319 \begin_layout Plain Layout
4320 555
4321 \end_layout
4322
4323 \end_inset
4324 </cell>
4325 </row>
4326 <row>
4327 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4328 \begin_inset Text
4329
4330 \begin_layout Plain Layout
4331
4332 \series bold
4333 Cachia
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 <cell alignment="center" valignment="top" usebox="none">
4339 \begin_inset Text
4340
4341 \begin_layout Plain Layout
4342 Maurizio
4343 \end_layout
4344
4345 \end_inset
4346 </cell>
4347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4348 \begin_inset Text
4349
4350 \begin_layout Plain Layout
4351 555
4352 \end_layout
4353
4354 \end_inset
4355 </cell>
4356 </row>
4357 <row>
4358 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4359 \begin_inset Text
4360
4361 \begin_layout Plain Layout
4362
4363 \series bold
4364 Cinquemani
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 <cell alignment="center" valignment="top" usebox="none">
4370 \begin_inset Text
4371
4372 \begin_layout Plain Layout
4373 Giusi
4374 \end_layout
4375
4376 \end_inset
4377 </cell>
4378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4379 \begin_inset Text
4380
4381 \begin_layout Plain Layout
4382 555
4383 \end_layout
4384
4385 \end_inset
4386 </cell>
4387 </row>
4388 <row>
4389 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4390 \begin_inset Text
4391
4392 \begin_layout Plain Layout
4393
4394 \series bold
4395 Colin
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 <cell alignment="center" valignment="top" usebox="none">
4401 \begin_inset Text
4402
4403 \begin_layout Plain Layout
4404 Bernard
4405 \end_layout
4406
4407 \end_inset
4408 </cell>
4409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4410 \begin_inset Text
4411
4412 \begin_layout Plain Layout
4413 555
4414 \end_layout
4415
4416 \end_inset
4417 </cell>
4418 </row>
4419 <row>
4420 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4421 \begin_inset Text
4422
4423 \begin_layout Plain Layout
4424
4425 \series bold
4426 Concli
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 <cell alignment="center" valignment="top" usebox="none">
4432 \begin_inset Text
4433
4434 \begin_layout Plain Layout
4435 Gianfranco
4436 \end_layout
4437
4438 \end_inset
4439 </cell>
4440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4441 \begin_inset Text
4442
4443 \begin_layout Plain Layout
4444 555
4445 \end_layout
4446
4447 \end_inset
4448 </cell>
4449 </row>
4450 <row>
4451 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4452 \begin_inset Text
4453
4454 \begin_layout Plain Layout
4455
4456 \series bold
4457 Dal Bosco
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 <cell alignment="center" valignment="top" usebox="none">
4463 \begin_inset Text
4464
4465 \begin_layout Plain Layout
4466 Carolina
4467 \end_layout
4468
4469 \end_inset
4470 </cell>
4471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4472 \begin_inset Text
4473
4474 \begin_layout Plain Layout
4475 555
4476 \end_layout
4477
4478 \end_inset
4479 </cell>
4480 </row>
4481 <row>
4482 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4483 \begin_inset Text
4484
4485 \begin_layout Plain Layout
4486
4487 \series bold
4488 Dalpiaz
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 <cell alignment="center" valignment="top" usebox="none">
4494 \begin_inset Text
4495
4496 \begin_layout Plain Layout
4497 Annamaria
4498 \end_layout
4499
4500 \end_inset
4501 </cell>
4502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4503 \begin_inset Text
4504
4505 \begin_layout Plain Layout
4506 555
4507 \end_layout
4508
4509 \end_inset
4510 </cell>
4511 </row>
4512 <row>
4513 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4514 \begin_inset Text
4515
4516 \begin_layout Plain Layout
4517
4518 \series bold
4519 Feliciello
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 <cell alignment="center" valignment="top" usebox="none">
4525 \begin_inset Text
4526
4527 \begin_layout Plain Layout
4528 Domenico
4529 \end_layout
4530
4531 \end_inset
4532 </cell>
4533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4534 \begin_inset Text
4535
4536 \begin_layout Plain Layout
4537 555
4538 \end_layout
4539
4540 \end_inset
4541 </cell>
4542 </row>
4543 <row>
4544 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4545 \begin_inset Text
4546
4547 \begin_layout Plain Layout
4548
4549 \series bold
4550 Focarelli
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 <cell alignment="center" valignment="top" usebox="none">
4556 \begin_inset Text
4557
4558 \begin_layout Plain Layout
4559 Paola
4560 \end_layout
4561
4562 \end_inset
4563 </cell>
4564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4565 \begin_inset Text
4566
4567 \begin_layout Plain Layout
4568 555
4569 \end_layout
4570
4571 \end_inset
4572 </cell>
4573 </row>
4574 <row>
4575 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4576 \begin_inset Text
4577
4578 \begin_layout Plain Layout
4579
4580 \series bold
4581 Galletti
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 <cell alignment="center" valignment="top" usebox="none">
4587 \begin_inset Text
4588
4589 \begin_layout Plain Layout
4590 Oreste
4591 \end_layout
4592
4593 \end_inset
4594 </cell>
4595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4596 \begin_inset Text
4597
4598 \begin_layout Plain Layout
4599 555
4600 \end_layout
4601
4602 \end_inset
4603 </cell>
4604 </row>
4605 <row>
4606 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4607 \begin_inset Text
4608
4609 \begin_layout Plain Layout
4610
4611 \series bold
4612 Gasparini
4613 \end_layout
4614
4615 \end_inset
4616 </cell>
4617 <cell alignment="center" valignment="top" usebox="none">
4618 \begin_inset Text
4619
4620 \begin_layout Plain Layout
4621 Franca
4622 \end_layout
4623
4624 \end_inset
4625 </cell>
4626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4627 \begin_inset Text
4628
4629 \begin_layout Plain Layout
4630 555
4631 \end_layout
4632
4633 \end_inset
4634 </cell>
4635 </row>
4636 <row>
4637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4638 \begin_inset Text
4639
4640 \begin_layout Plain Layout
4641
4642 \series bold
4643 Rizzardi
4644 \end_layout
4645
4646 \end_inset
4647 </cell>
4648 <cell alignment="center" valignment="top" usebox="none">
4649 \begin_inset Text
4650
4651 \begin_layout Plain Layout
4652 Paola
4653 \end_layout
4654
4655 \end_inset
4656 </cell>
4657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4658 \begin_inset Text
4659
4660 \begin_layout Plain Layout
4661 555
4662 \end_layout
4663
4664 \end_inset
4665 </cell>
4666 </row>
4667 <row>
4668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4669 \begin_inset Text
4670
4671 \begin_layout Plain Layout
4672
4673 \series bold
4674 Lassini
4675 \end_layout
4676
4677 \end_inset
4678 </cell>
4679 <cell alignment="center" valignment="top" usebox="none">
4680 \begin_inset Text
4681
4682 \begin_layout Plain Layout
4683 Giancarlo
4684 \end_layout
4685
4686 \end_inset
4687 </cell>
4688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4689 \begin_inset Text
4690
4691 \begin_layout Plain Layout
4692 555
4693 \end_layout
4694
4695 \end_inset
4696 </cell>
4697 </row>
4698 <row>
4699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4700 \begin_inset Text
4701
4702 \begin_layout Plain Layout
4703
4704 \series bold
4705 Malfatti
4706 \end_layout
4707
4708 \end_inset
4709 </cell>
4710 <cell alignment="center" valignment="top" usebox="none">
4711 \begin_inset Text
4712
4713 \begin_layout Plain Layout
4714 Luciano
4715 \end_layout
4716
4717 \end_inset
4718 </cell>
4719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4720 \begin_inset Text
4721
4722 \begin_layout Plain Layout
4723 555
4724 \end_layout
4725
4726 \end_inset
4727 </cell>
4728 </row>
4729 <row>
4730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4731 \begin_inset Text
4732
4733 \begin_layout Plain Layout
4734
4735 \series bold
4736 Malfatti
4737 \end_layout
4738
4739 \end_inset
4740 </cell>
4741 <cell alignment="center" valignment="top" usebox="none">
4742 \begin_inset Text
4743
4744 \begin_layout Plain Layout
4745 Valeriano
4746 \end_layout
4747
4748 \end_inset
4749 </cell>
4750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4751 \begin_inset Text
4752
4753 \begin_layout Plain Layout
4754 555
4755 \end_layout
4756
4757 \end_inset
4758 </cell>
4759 </row>
4760 <row>
4761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Plain Layout
4765
4766 \series bold
4767 Meneguzzo
4768 \end_layout
4769
4770 \end_inset
4771 </cell>
4772 <cell alignment="center" valignment="top" usebox="none">
4773 \begin_inset Text
4774
4775 \begin_layout Plain Layout
4776 Roberto
4777 \end_layout
4778
4779 \end_inset
4780 </cell>
4781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4782 \begin_inset Text
4783
4784 \begin_layout Plain Layout
4785 555
4786 \end_layout
4787
4788 \end_inset
4789 </cell>
4790 </row>
4791 <row>
4792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4793 \begin_inset Text
4794
4795 \begin_layout Plain Layout
4796
4797 \series bold
4798 Mezzadra
4799 \end_layout
4800
4801 \end_inset
4802 </cell>
4803 <cell alignment="center" valignment="top" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Plain Layout
4807 Roberto
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4813 \begin_inset Text
4814
4815 \begin_layout Plain Layout
4816 555
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 </row>
4822 <row>
4823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4824 \begin_inset Text
4825
4826 \begin_layout Plain Layout
4827
4828 \series bold
4829 Pirpamer
4830 \end_layout
4831
4832 \end_inset
4833 </cell>
4834 <cell alignment="center" valignment="top" usebox="none">
4835 \begin_inset Text
4836
4837 \begin_layout Plain Layout
4838 Erich
4839 \end_layout
4840
4841 \end_inset
4842 </cell>
4843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4844 \begin_inset Text
4845
4846 \begin_layout Plain Layout
4847 555
4848 \end_layout
4849
4850 \end_inset
4851 </cell>
4852 </row>
4853 <row>
4854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Plain Layout
4858
4859 \series bold
4860 Pochiesa
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 <cell alignment="center" valignment="top" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Plain Layout
4869 Paolo
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4875 \begin_inset Text
4876
4877 \begin_layout Plain Layout
4878 555, 222
4879 \end_layout
4880
4881 \end_inset
4882 </cell>
4883 </row>
4884 <row>
4885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4886 \begin_inset Text
4887
4888 \begin_layout Plain Layout
4889
4890 \series bold
4891 Radina
4892 \end_layout
4893
4894 \end_inset
4895 </cell>
4896 <cell alignment="center" valignment="top" usebox="none">
4897 \begin_inset Text
4898
4899 \begin_layout Plain Layout
4900 Claudio
4901 \end_layout
4902
4903 \end_inset
4904 </cell>
4905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4906 \begin_inset Text
4907
4908 \begin_layout Plain Layout
4909 555
4910 \end_layout
4911
4912 \end_inset
4913 </cell>
4914 </row>
4915 <row>
4916 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4917 \begin_inset Text
4918
4919 \begin_layout Plain Layout
4920
4921 \series bold
4922 Stuffer
4923 \end_layout
4924
4925 \end_inset
4926 </cell>
4927 <cell alignment="center" valignment="top" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Plain Layout
4931 Oskar
4932 \end_layout
4933
4934 \end_inset
4935 </cell>
4936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4937 \begin_inset Text
4938
4939 \begin_layout Plain Layout
4940 555
4941 \end_layout
4942
4943 \end_inset
4944 </cell>
4945 </row>
4946 <row>
4947 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4948 \begin_inset Text
4949
4950 \begin_layout Plain Layout
4951
4952 \series bold
4953 Tacchelli
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Plain Layout
4962 Ugo
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Plain Layout
4971 555
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 </row>
4977 <row>
4978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Plain Layout
4982
4983 \series bold
4984 Tezzele
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 <cell alignment="center" valignment="top" usebox="none">
4990 \begin_inset Text
4991
4992 \begin_layout Plain Layout
4993 Margit
4994 \end_layout
4995
4996 \end_inset
4997 </cell>
4998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4999 \begin_inset Text
5000
5001 \begin_layout Plain Layout
5002 555
5003 \end_layout
5004
5005 \end_inset
5006 </cell>
5007 </row>
5008 <row>
5009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Plain Layout
5013
5014 \series bold
5015 Unterkalmsteiner
5016 \end_layout
5017
5018 \end_inset
5019 </cell>
5020 <cell alignment="center" valignment="top" usebox="none">
5021 \begin_inset Text
5022
5023 \begin_layout Plain Layout
5024 Frieda
5025 \end_layout
5026
5027 \end_inset
5028 </cell>
5029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5030 \begin_inset Text
5031
5032 \begin_layout Plain Layout
5033 555
5034 \end_layout
5035
5036 \end_inset
5037 </cell>
5038 </row>
5039 <row>
5040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5041 \begin_inset Text
5042
5043 \begin_layout Plain Layout
5044
5045 \series bold
5046 Vieider
5047 \end_layout
5048
5049 \end_inset
5050 </cell>
5051 <cell alignment="center" valignment="top" usebox="none">
5052 \begin_inset Text
5053
5054 \begin_layout Plain Layout
5055 Hilde
5056 \end_layout
5057
5058 \end_inset
5059 </cell>
5060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5061 \begin_inset Text
5062
5063 \begin_layout Plain Layout
5064 555
5065 \end_layout
5066
5067 \end_inset
5068 </cell>
5069 </row>
5070 <row>
5071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5072 \begin_inset Text
5073
5074 \begin_layout Plain Layout
5075
5076 \series bold
5077 Vigna
5078 \end_layout
5079
5080 \end_inset
5081 </cell>
5082 <cell alignment="center" valignment="top" usebox="none">
5083 \begin_inset Text
5084
5085 \begin_layout Plain Layout
5086 Jürgen
5087 \end_layout
5088
5089 \end_inset
5090 </cell>
5091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5092 \begin_inset Text
5093
5094 \begin_layout Plain Layout
5095 999
5096 \end_layout
5097
5098 \end_inset
5099 </cell>
5100 </row>
5101 <row>
5102 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5103 \begin_inset Text
5104
5105 \begin_layout Plain Layout
5106
5107 \series bold
5108 Weber
5109 \end_layout
5110
5111 \end_inset
5112 </cell>
5113 <cell alignment="center" valignment="top" usebox="none">
5114 \begin_inset Text
5115
5116 \begin_layout Plain Layout
5117 Maurizio
5118 \end_layout
5119
5120 \end_inset
5121 </cell>
5122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5123 \begin_inset Text
5124
5125 \begin_layout Plain Layout
5126 555
5127 \end_layout
5128
5129 \end_inset
5130 </cell>
5131 </row>
5132 <row>
5133 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5134 \begin_inset Text
5135
5136 \begin_layout Plain Layout
5137
5138 \series bold
5139 Winkler
5140 \end_layout
5141
5142 \end_inset
5143 </cell>
5144 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Plain Layout
5148 Franz
5149 \end_layout
5150
5151 \end_inset
5152 </cell>
5153 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5154 \begin_inset Text
5155
5156 \begin_layout Plain Layout
5157 555
5158 \end_layout
5159
5160 \end_inset
5161 </cell>
5162 </row>
5163 <row endlastfoot="true">
5164 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Plain Layout
5168 end
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5174 \begin_inset Text
5175
5176 \begin_layout Plain Layout
5177
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5183 \begin_inset Text
5184
5185 \begin_layout Plain Layout
5186
5187 \end_layout
5188
5189 \end_inset
5190 </cell>
5191 </row>
5192 </lyxtabular>
5193
5194 \end_inset
5195
5196
5197 \begin_inset ERT
5198 status collapsed
5199
5200 \begin_layout Plain Layout
5201
5202
5203 \backslash
5204 addtocounter{table}{-1}
5205 \end_layout
5206
5207 \end_inset
5208
5209
5210 \begin_inset Note Note
5211 status collapsed
5212
5213 \begin_layout Plain Layout
5214 See the first greyed-out note in section
5215 \begin_inset space ~
5216 \end_inset
5217
5218
5219 \begin_inset CommandInset ref
5220 LatexCommand ref
5221 reference "sub:Longtable-Captions"
5222
5223 \end_inset
5224
5225  for an explanation of this command.
5226 \end_layout
5227
5228 \end_inset
5229
5230
5231 \end_layout
5232
5233 \begin_layout Subsection
5234 Footnotes in Longtables
5235 \begin_inset CommandInset label
5236 LatexCommand label
5237 name "sub:Footnotes-in-Longtables"
5238
5239 \end_inset
5240
5241
5242 \begin_inset Index
5243 status collapsed
5244
5245 \begin_layout Plain Layout
5246 Longtables ! Footnotes
5247 \end_layout
5248
5249 \end_inset
5250
5251
5252 \end_layout
5253
5254 \begin_layout Standard
5255 Footnotes can be inserted to every longtable cell.
5256  They appear at the bottom of the page where the table cell with the footnote
5257  appears.
5258  Table
5259 \begin_inset space ~
5260 \end_inset
5261
5262
5263 \begin_inset CommandInset ref
5264 LatexCommand ref
5265 reference "tab:DiffCaptions"
5266
5267 \end_inset
5268
5269  has for example a footnote.
5270 \end_layout
5271
5272 \begin_layout Subsection
5273 Longtable Alignment
5274 \begin_inset Index
5275 status collapsed
5276
5277 \begin_layout Plain Layout
5278 Longtables ! Alignment
5279 \end_layout
5280
5281 \end_inset
5282
5283
5284 \end_layout
5285
5286 \begin_layout Standard
5287 Longtables are by default centered.
5288  In contrary to the alignment of the table columns and row, the table alignment
5289  can currently not be changed in the table dialog.
5290  To change the alignment of longtables you have to change the value of the
5291  lengths 
5292 \series bold
5293
5294 \backslash
5295 LTleft 
5296 \series default
5297 and 
5298 \series bold
5299
5300 \backslash
5301 LTright
5302 \series default
5303  by inserting this line as TeX-Code before the corresponding longtable:
5304 \end_layout
5305
5306 \begin_layout Standard
5307
5308 \series bold
5309
5310 \backslash
5311 setlength{
5312 \backslash
5313 LTleft}{value}
5314 \end_layout
5315
5316 \begin_layout Standard
5317 Where the value can have any of the units listed in Table
5318 \begin_inset space ~
5319 \end_inset
5320
5321
5322 \begin_inset CommandInset ref
5323 LatexCommand ref
5324 reference "tab:Units"
5325
5326 \end_inset
5327
5328 .
5329  
5330 \series bold
5331
5332 \backslash
5333 LTleft
5334 \series default
5335  controls the horizontal distance from the left page border to the longtable,
5336  
5337 \series bold
5338
5339 \backslash
5340 LTright
5341 \series default
5342  the distance from the right side.
5343  The default value for both lengths is 
5344 \series bold
5345
5346 \backslash
5347 fill
5348 \series default
5349 , which is in this case the same as an horizontal fill in LyX.
5350 \end_layout
5351
5352 \begin_layout Standard
5353 The following longtable was left-aligned by setting 
5354 \series bold
5355
5356 \backslash
5357 LTleft
5358 \series default
5359  to 0
5360 \begin_inset space \thinspace{}
5361 \end_inset
5362
5363 pt.
5364 \begin_inset ERT
5365 status collapsed
5366
5367 \begin_layout Plain Layout
5368
5369
5370 \backslash
5371 setlength{
5372 \backslash
5373 LTleft}{0pt}
5374 \end_layout
5375
5376 \end_inset
5377
5378
5379 \end_layout
5380
5381 \begin_layout Standard
5382 \begin_inset Tabular
5383 <lyxtabular version="3" rows="5" columns="5">
5384 <features islongtable="true">
5385 <column alignment="center" valignment="top" width="0">
5386 <column alignment="center" valignment="top" width="0">
5387 <column alignment="center" valignment="top" width="0">
5388 <column alignment="center" valignment="top" width="0">
5389 <column alignment="center" valignment="top" width="0">
5390 <row>
5391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Plain Layout
5395 1
5396 \end_layout
5397
5398 \end_inset
5399 </cell>
5400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5401 \begin_inset Text
5402
5403 \begin_layout Plain Layout
5404 2
5405 \end_layout
5406
5407 \end_inset
5408 </cell>
5409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Plain Layout
5413 3
5414 \end_layout
5415
5416 \end_inset
5417 </cell>
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Plain Layout
5422 4
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5428 \begin_inset Text
5429
5430 \begin_layout Plain Layout
5431 5
5432 \end_layout
5433
5434 \end_inset
5435 </cell>
5436 </row>
5437 <row>
5438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5439 \begin_inset Text
5440
5441 \begin_layout Plain Layout
5442 asd
5443 \end_layout
5444
5445 \end_inset
5446 </cell>
5447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5448 \begin_inset Text
5449
5450 \begin_layout Plain Layout
5451 s
5452 \end_layout
5453
5454 \end_inset
5455 </cell>
5456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5457 \begin_inset Text
5458
5459 \begin_layout Plain Layout
5460 s
5461 \end_layout
5462
5463 \end_inset
5464 </cell>
5465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5466 \begin_inset Text
5467
5468 \begin_layout Plain Layout
5469 s
5470 \end_layout
5471
5472 \end_inset
5473 </cell>
5474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5475 \begin_inset Text
5476
5477 \begin_layout Plain Layout
5478 asd
5479 \end_layout
5480
5481 \end_inset
5482 </cell>
5483 </row>
5484 <row>
5485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5486 \begin_inset Text
5487
5488 \begin_layout Plain Layout
5489 asd
5490 \end_layout
5491
5492 \end_inset
5493 </cell>
5494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5495 \begin_inset Text
5496
5497 \begin_layout Plain Layout
5498 s
5499 \end_layout
5500
5501 \end_inset
5502 </cell>
5503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5504 \begin_inset Text
5505
5506 \begin_layout Plain Layout
5507 s
5508 \end_layout
5509
5510 \end_inset
5511 </cell>
5512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5513 \begin_inset Text
5514
5515 \begin_layout Plain Layout
5516 s
5517 \end_layout
5518
5519 \end_inset
5520 </cell>
5521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5522 \begin_inset Text
5523
5524 \begin_layout Plain Layout
5525 asd
5526 \end_layout
5527
5528 \end_inset
5529 </cell>
5530 </row>
5531 <row>
5532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5533 \begin_inset Text
5534
5535 \begin_layout Plain Layout
5536 asd
5537 \end_layout
5538
5539 \end_inset
5540 </cell>
5541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5542 \begin_inset Text
5543
5544 \begin_layout Plain Layout
5545 s
5546 \end_layout
5547
5548 \end_inset
5549 </cell>
5550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5551 \begin_inset Text
5552
5553 \begin_layout Plain Layout
5554 s
5555 \end_layout
5556
5557 \end_inset
5558 </cell>
5559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5560 \begin_inset Text
5561
5562 \begin_layout Plain Layout
5563 s
5564 \end_layout
5565
5566 \end_inset
5567 </cell>
5568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5569 \begin_inset Text
5570
5571 \begin_layout Plain Layout
5572 asd
5573 \end_layout
5574
5575 \end_inset
5576 </cell>
5577 </row>
5578 <row>
5579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5580 \begin_inset Text
5581
5582 \begin_layout Plain Layout
5583 asd
5584 \end_layout
5585
5586 \end_inset
5587 </cell>
5588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5589 \begin_inset Text
5590
5591 \begin_layout Plain Layout
5592 asd
5593 \end_layout
5594
5595 \end_inset
5596 </cell>
5597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5598 \begin_inset Text
5599
5600 \begin_layout Plain Layout
5601 asd
5602 \end_layout
5603
5604 \end_inset
5605 </cell>
5606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5607 \begin_inset Text
5608
5609 \begin_layout Plain Layout
5610 asd
5611 \end_layout
5612
5613 \end_inset
5614 </cell>
5615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5616 \begin_inset Text
5617
5618 \begin_layout Plain Layout
5619 asd
5620 \end_layout
5621
5622 \end_inset
5623 </cell>
5624 </row>
5625 </lyxtabular>
5626
5627 \end_inset
5628
5629
5630 \begin_inset ERT
5631 status collapsed
5632
5633 \begin_layout Plain Layout
5634
5635
5636 \backslash
5637 setlength{
5638 \backslash
5639 LTleft}{
5640 \backslash
5641 fill}
5642 \end_layout
5643
5644 \end_inset
5645
5646
5647 \begin_inset ERT
5648 status collapsed
5649
5650 \begin_layout Plain Layout
5651
5652
5653 \backslash
5654 addtocounter{table}{-1}
5655 \end_layout
5656
5657 \end_inset
5658
5659
5660 \begin_inset Note Note
5661 status collapsed
5662
5663 \begin_layout Plain Layout
5664 See the first greyed-out note in section
5665 \begin_inset space ~
5666 \end_inset
5667
5668
5669 \begin_inset CommandInset ref
5670 LatexCommand ref
5671 reference "sub:Longtable-Captions"
5672
5673 \end_inset
5674
5675  for an explanation of this command.
5676 \end_layout
5677
5678 \end_inset
5679
5680
5681 \end_layout
5682
5683 \begin_layout Subsection
5684 Longtable Captions
5685 \begin_inset Index
5686 status collapsed
5687
5688 \begin_layout Plain Layout
5689 Longtables ! Captions
5690 \end_layout
5691
5692 \end_inset
5693
5694
5695 \begin_inset CommandInset label
5696 LatexCommand label
5697 name "sub:Longtable-Captions"
5698
5699 \end_inset
5700
5701
5702 \end_layout
5703
5704 \begin_layout Standard
5705 A longtable cannot be put into a table float because floats can only be
5706  on one page.
5707  But the caption environment of floats can also be used for longtables when
5708  you use for a table row the longtable option 
5709 \family sans
5710 Caption
5711 \family default
5712  as described in sec.
5713 \begin_inset space \thinspace{}
5714 \end_inset
5715
5716
5717 \begin_inset CommandInset ref
5718 LatexCommand ref
5719 reference "sec:Longtables"
5720
5721 \end_inset
5722
5723 .
5724  Only one table row can contain the caption.
5725 \end_layout
5726
5727 \begin_layout Standard
5728 Here is a short longtable to see how it works:
5729 \end_layout
5730
5731 \begin_layout Standard
5732 \begin_inset Tabular
5733 <lyxtabular version="3" rows="6" columns="5">
5734 <features islongtable="true">
5735 <column alignment="center" valignment="top" width="0">
5736 <column alignment="center" valignment="top" width="0">
5737 <column alignment="center" valignment="top" width="0">
5738 <column alignment="center" valignment="top" width="0">
5739 <column alignment="center" valignment="top" width="0">
5740 <row caption="true">
5741 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5742 \begin_inset Text
5743
5744 \begin_layout Plain Layout
5745 \begin_inset Caption
5746
5747 \begin_layout Plain Layout
5748 Longtable with caption
5749 \begin_inset OptArg
5750 status open
5751
5752 \begin_layout Plain Layout
5753 Longtable
5754 \end_layout
5755
5756 \end_inset
5757
5758
5759 \end_layout
5760
5761 \end_inset
5762
5763
5764 \end_layout
5765
5766 \end_inset
5767 </cell>
5768 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5769 \begin_inset Text
5770
5771 \begin_layout Plain Layout
5772
5773 \end_layout
5774
5775 \end_inset
5776 </cell>
5777 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5778 \begin_inset Text
5779
5780 \begin_layout Plain Layout
5781
5782 \end_layout
5783
5784 \end_inset
5785 </cell>
5786 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5787 \begin_inset Text
5788
5789 \begin_layout Plain Layout
5790
5791 \end_layout
5792
5793 \end_inset
5794 </cell>
5795 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Plain Layout
5799
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 </row>
5805 <row>
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5807 \begin_inset Text
5808
5809 \begin_layout Plain Layout
5810 1
5811 \end_layout
5812
5813 \end_inset
5814 </cell>
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5816 \begin_inset Text
5817
5818 \begin_layout Plain Layout
5819 2
5820 \end_layout
5821
5822 \end_inset
5823 </cell>
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5825 \begin_inset Text
5826
5827 \begin_layout Plain Layout
5828 3
5829 \end_layout
5830
5831 \end_inset
5832 </cell>
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_inset Text
5835
5836 \begin_layout Plain Layout
5837 4
5838 \end_layout
5839
5840 \end_inset
5841 </cell>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Plain Layout
5846 5
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 </row>
5852 <row>
5853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5854 \begin_inset Text
5855
5856 \begin_layout Plain Layout
5857 asd
5858 \end_layout
5859
5860 \end_inset
5861 </cell>
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5863 \begin_inset Text
5864
5865 \begin_layout Plain Layout
5866 s
5867 \end_layout
5868
5869 \end_inset
5870 </cell>
5871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5872 \begin_inset Text
5873
5874 \begin_layout Plain Layout
5875 s
5876 \end_layout
5877
5878 \end_inset
5879 </cell>
5880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5881 \begin_inset Text
5882
5883 \begin_layout Plain Layout
5884 s
5885 \end_layout
5886
5887 \end_inset
5888 </cell>
5889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Plain Layout
5893 asd
5894 \end_layout
5895
5896 \end_inset
5897 </cell>
5898 </row>
5899 <row>
5900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5901 \begin_inset Text
5902
5903 \begin_layout Plain Layout
5904 asd
5905 \end_layout
5906
5907 \end_inset
5908 </cell>
5909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5910 \begin_inset Text
5911
5912 \begin_layout Plain Layout
5913 s
5914 \end_layout
5915
5916 \end_inset
5917 </cell>
5918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5919 \begin_inset Text
5920
5921 \begin_layout Plain Layout
5922 s
5923 \end_layout
5924
5925 \end_inset
5926 </cell>
5927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5928 \begin_inset Text
5929
5930 \begin_layout Plain Layout
5931 s
5932 \end_layout
5933
5934 \end_inset
5935 </cell>
5936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5937 \begin_inset Text
5938
5939 \begin_layout Plain Layout
5940 asd
5941 \end_layout
5942
5943 \end_inset
5944 </cell>
5945 </row>
5946 <row>
5947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_inset Text
5949
5950 \begin_layout Plain Layout
5951 asd
5952 \end_layout
5953
5954 \end_inset
5955 </cell>
5956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_inset Text
5958
5959 \begin_layout Plain Layout
5960 s
5961 \end_layout
5962
5963 \end_inset
5964 </cell>
5965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5966 \begin_inset Text
5967
5968 \begin_layout Plain Layout
5969 s
5970 \end_layout
5971
5972 \end_inset
5973 </cell>
5974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5975 \begin_inset Text
5976
5977 \begin_layout Plain Layout
5978 s
5979 \end_layout
5980
5981 \end_inset
5982 </cell>
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5984 \begin_inset Text
5985
5986 \begin_layout Plain Layout
5987 asd
5988 \end_layout
5989
5990 \end_inset
5991 </cell>
5992 </row>
5993 <row>
5994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Plain Layout
5998 asd
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Plain Layout
6007 asd
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Plain Layout
6016 asd
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6022 \begin_inset Text
6023
6024 \begin_layout Plain Layout
6025 asd
6026 \end_layout
6027
6028 \end_inset
6029 </cell>
6030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6031 \begin_inset Text
6032
6033 \begin_layout Plain Layout
6034 asd
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 </row>
6040 </lyxtabular>
6041
6042 \end_inset
6043
6044
6045 \end_layout
6046
6047 \begin_layout Standard
6048 \begin_inset VSpace medskip
6049 \end_inset
6050
6051
6052 \begin_inset Note Greyedout
6053 status open
6054
6055 \begin_layout Plain Layout
6056
6057 \series bold
6058 Note
6059 \begin_inset space ~
6060 \end_inset
6061
6062 1:
6063 \series default
6064  The table number is increased for every longtable, also if you didn't set
6065  a caption for it.
6066  For this reason you could have the case that e.
6067 \begin_inset space \thinspace{}
6068 \end_inset
6069
6070 g.
6071 \begin_inset space \space{}
6072 \end_inset
6073
6074 Table
6075 \begin_inset space ~
6076 \end_inset
6077
6078 2.4 follows on Table
6079 \begin_inset space ~
6080 \end_inset
6081
6082 2.1 in the list of tables if there are two longtables without captions.
6083  To avoid this you can add the following command in TeX-Code behind every
6084  longtable without a caption:
6085 \end_layout
6086
6087 \begin_layout Plain Layout
6088
6089 \series bold
6090
6091 \backslash
6092 addtocounter{table}{-1}
6093 \end_layout
6094
6095 \begin_layout Plain Layout
6096 This is not needed when none of your longtables have a caption and you add
6097  the following code to the document preamble:
6098 \end_layout
6099
6100 \begin_layout Plain Layout
6101
6102 \series bold
6103
6104 \backslash
6105 let
6106 \backslash
6107 myEnd
6108 \backslash
6109 endlongtable
6110 \begin_inset Newline newline
6111 \end_inset
6112
6113
6114 \backslash
6115 renewcommand{
6116 \backslash
6117 endlongtable}{
6118 \backslash
6119 myEnd
6120 \backslash
6121 addtocounter{table}{-1}}
6122 \end_layout
6123
6124 \end_inset
6125
6126
6127 \end_layout
6128
6129 \begin_layout Standard
6130 \begin_inset Note Greyedout
6131 status open
6132
6133 \begin_layout Plain Layout
6134
6135 \series bold
6136 Note
6137 \begin_inset space ~
6138 \end_inset
6139
6140 2:
6141 \series default
6142  If you are using
6143 \series bold
6144  hyperref
6145 \series default
6146
6147 \begin_inset Index
6148 status collapsed
6149
6150 \begin_layout Plain Layout
6151 LaTeX-packages ! hyperref
6152 \end_layout
6153
6154 \end_inset
6155
6156  in the 
6157 \family sans
6158 PDF Properties
6159 \family default
6160  of the 
6161 \family sans
6162 Document Settings
6163 \family default
6164  dialog to link cross-references, the link to a longtable caption will always
6165  point to the beginning of the document.
6166 \end_layout
6167
6168 \end_inset
6169
6170
6171 \end_layout
6172
6173 \begin_layout Subsubsection
6174 References to Longtables
6175 \begin_inset Index
6176 status collapsed
6177
6178 \begin_layout Plain Layout
6179 Longtables ! References
6180 \end_layout
6181
6182 \end_inset
6183
6184
6185 \end_layout
6186
6187 \begin_layout Standard
6188 \begin_inset Tabular
6189 <lyxtabular version="3" rows="6" columns="5">
6190 <features islongtable="true">
6191 <column alignment="center" valignment="top" width="0">
6192 <column alignment="center" valignment="top" width="0">
6193 <column alignment="center" valignment="top" width="0">
6194 <column alignment="center" valignment="top" width="0">
6195 <column alignment="center" valignment="top" width="0">
6196 <row caption="true">
6197 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6198 \begin_inset Text
6199
6200 \begin_layout Plain Layout
6201 \begin_inset Caption
6202
6203 \begin_layout Plain Layout
6204 Referenced longtable
6205 \begin_inset CommandInset label
6206 LatexCommand label
6207 name "tab:RefExample"
6208
6209 \end_inset
6210
6211
6212 \end_layout
6213
6214 \end_inset
6215
6216
6217 \end_layout
6218
6219 \end_inset
6220 </cell>
6221 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6222 \begin_inset Text
6223
6224 \begin_layout Plain Layout
6225
6226 \end_layout
6227
6228 \end_inset
6229 </cell>
6230 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6231 \begin_inset Text
6232
6233 \begin_layout Plain Layout
6234
6235 \end_layout
6236
6237 \end_inset
6238 </cell>
6239 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6240 \begin_inset Text
6241
6242 \begin_layout Plain Layout
6243
6244 \end_layout
6245
6246 \end_inset
6247 </cell>
6248 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6249 \begin_inset Text
6250
6251 \begin_layout Plain Layout
6252
6253 \end_layout
6254
6255 \end_inset
6256 </cell>
6257 </row>
6258 <row>
6259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6260 \begin_inset Text
6261
6262 \begin_layout Plain Layout
6263 1
6264 \end_layout
6265
6266 \end_inset
6267 </cell>
6268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6269 \begin_inset Text
6270
6271 \begin_layout Plain Layout
6272 2
6273 \end_layout
6274
6275 \end_inset
6276 </cell>
6277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6278 \begin_inset Text
6279
6280 \begin_layout Plain Layout
6281 3
6282 \end_layout
6283
6284 \end_inset
6285 </cell>
6286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6287 \begin_inset Text
6288
6289 \begin_layout Plain Layout
6290 4
6291 \end_layout
6292
6293 \end_inset
6294 </cell>
6295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6296 \begin_inset Text
6297
6298 \begin_layout Plain Layout
6299 5
6300 \end_layout
6301
6302 \end_inset
6303 </cell>
6304 </row>
6305 <row>
6306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6307 \begin_inset Text
6308
6309 \begin_layout Plain Layout
6310 asd
6311 \end_layout
6312
6313 \end_inset
6314 </cell>
6315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6316 \begin_inset Text
6317
6318 \begin_layout Plain Layout
6319 s
6320 \end_layout
6321
6322 \end_inset
6323 </cell>
6324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6325 \begin_inset Text
6326
6327 \begin_layout Plain Layout
6328 s
6329 \end_layout
6330
6331 \end_inset
6332 </cell>
6333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6334 \begin_inset Text
6335
6336 \begin_layout Plain Layout
6337 s
6338 \end_layout
6339
6340 \end_inset
6341 </cell>
6342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6343 \begin_inset Text
6344
6345 \begin_layout Plain Layout
6346 asd
6347 \end_layout
6348
6349 \end_inset
6350 </cell>
6351 </row>
6352 <row>
6353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6354 \begin_inset Text
6355
6356 \begin_layout Plain Layout
6357 asd
6358 \end_layout
6359
6360 \end_inset
6361 </cell>
6362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6363 \begin_inset Text
6364
6365 \begin_layout Plain Layout
6366 s
6367 \end_layout
6368
6369 \end_inset
6370 </cell>
6371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6372 \begin_inset Text
6373
6374 \begin_layout Plain Layout
6375 s
6376 \end_layout
6377
6378 \end_inset
6379 </cell>
6380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6381 \begin_inset Text
6382
6383 \begin_layout Plain Layout
6384 s
6385 \end_layout
6386
6387 \end_inset
6388 </cell>
6389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6390 \begin_inset Text
6391
6392 \begin_layout Plain Layout
6393 asd
6394 \end_layout
6395
6396 \end_inset
6397 </cell>
6398 </row>
6399 <row>
6400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6401 \begin_inset Text
6402
6403 \begin_layout Plain Layout
6404 asd
6405 \end_layout
6406
6407 \end_inset
6408 </cell>
6409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6410 \begin_inset Text
6411
6412 \begin_layout Plain Layout
6413 s
6414 \end_layout
6415
6416 \end_inset
6417 </cell>
6418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Plain Layout
6422 s
6423 \end_layout
6424
6425 \end_inset
6426 </cell>
6427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6428 \begin_inset Text
6429
6430 \begin_layout Plain Layout
6431 s
6432 \end_layout
6433
6434 \end_inset
6435 </cell>
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6437 \begin_inset Text
6438
6439 \begin_layout Plain Layout
6440 asd
6441 \end_layout
6442
6443 \end_inset
6444 </cell>
6445 </row>
6446 <row>
6447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6448 \begin_inset Text
6449
6450 \begin_layout Plain Layout
6451 asd
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Plain Layout
6460 sad
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Plain Layout
6469 asd
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Plain Layout
6478 asd
6479 \end_layout
6480
6481 \end_inset
6482 </cell>
6483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6484 \begin_inset Text
6485
6486 \begin_layout Plain Layout
6487 asd
6488 \end_layout
6489
6490 \end_inset
6491 </cell>
6492 </row>
6493 </lyxtabular>
6494
6495 \end_inset
6496
6497
6498 \end_layout
6499
6500 \begin_layout Standard
6501 To reference a longtable, insert a label into the caption.
6502 \end_layout
6503
6504 \begin_layout Standard
6505 This is a reference to Table
6506 \begin_inset space ~
6507 \end_inset
6508
6509
6510 \begin_inset CommandInset ref
6511 LatexCommand ref
6512 reference "tab:RefExample"
6513
6514 \end_inset
6515
6516 .
6517 \end_layout
6518
6519 \begin_layout Standard
6520 The caption layout can be set together with all other captions of your document
6521  using the LaTeX-package 
6522 \series bold
6523 caption
6524 \series default
6525
6526 \begin_inset Index
6527 status collapsed
6528
6529 \begin_layout Plain Layout
6530 LaTeX-packages ! caption
6531 \end_layout
6532
6533 \end_inset
6534
6535 , see section
6536 \begin_inset space ~
6537 \end_inset
6538
6539
6540 \begin_inset CommandInset ref
6541 LatexCommand ref
6542 reference "sec:Caption-Formatting"
6543
6544 \end_inset
6545
6546 .
6547 \end_layout
6548
6549 \begin_layout Subsubsection
6550 Caption Width
6551 \begin_inset Index
6552 status collapsed
6553
6554 \begin_layout Plain Layout
6555 Longtables ! Caption Width
6556 \end_layout
6557
6558 \end_inset
6559
6560
6561 \end_layout
6562
6563 \begin_layout Standard
6564 The maximal width of of caption lines is defined by the length 
6565 \series bold
6566
6567 \backslash
6568 LTcapwidth
6569 \series default
6570 .
6571  Its default value is 4
6572 \begin_inset space \thinspace{}
6573 \end_inset
6574
6575 in.
6576  To change it add the following command to your document preamble or as
6577  TeX-Code into your document before the longtable that should be affected
6578 \end_layout
6579
6580 \begin_layout Standard
6581
6582 \series bold
6583
6584 \backslash
6585 setlength{
6586 \backslash
6587 LTcapwidth}{width}
6588 \end_layout
6589
6590 \begin_layout Standard
6591 where the width could have one of the units listed in appendix
6592 \begin_inset space ~
6593 \end_inset
6594
6595
6596 \begin_inset CommandInset ref
6597 LatexCommand ref
6598 reference "cha:Units-available-in"
6599
6600 \end_inset
6601
6602 .
6603 \end_layout
6604
6605 \begin_layout Standard
6606 The following tables show the difference:
6607 \end_layout
6608
6609 \begin_layout Standard
6610 \begin_inset Tabular
6611 <lyxtabular version="3" rows="6" columns="5">
6612 <features islongtable="true">
6613 <column alignment="center" valignment="top" width="0">
6614 <column alignment="center" valignment="top" width="0">
6615 <column alignment="center" valignment="top" width="0">
6616 <column alignment="center" valignment="top" width="0">
6617 <column alignment="center" valignment="top" width="0">
6618 <row caption="true">
6619 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Plain Layout
6623 \begin_inset Caption
6624
6625 \begin_layout Plain Layout
6626 long full title with default width long full title with default width long
6627  full title with default width
6628 \begin_inset OptArg
6629 status collapsed
6630
6631 \begin_layout Plain Layout
6632 caption with default width
6633 \end_layout
6634
6635 \end_inset
6636
6637
6638 \end_layout
6639
6640 \end_inset
6641
6642
6643 \end_layout
6644
6645 \end_inset
6646 </cell>
6647 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6648 \begin_inset Text
6649
6650 \begin_layout Plain Layout
6651
6652 \end_layout
6653
6654 \end_inset
6655 </cell>
6656 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6657 \begin_inset Text
6658
6659 \begin_layout Plain Layout
6660
6661 \end_layout
6662
6663 \end_inset
6664 </cell>
6665 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6666 \begin_inset Text
6667
6668 \begin_layout Plain Layout
6669
6670 \end_layout
6671
6672 \end_inset
6673 </cell>
6674 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6675 \begin_inset Text
6676
6677 \begin_layout Plain Layout
6678
6679 \end_layout
6680
6681 \end_inset
6682 </cell>
6683 </row>
6684 <row>
6685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6686 \begin_inset Text
6687
6688 \begin_layout Plain Layout
6689 1
6690 \end_layout
6691
6692 \end_inset
6693 </cell>
6694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6695 \begin_inset Text
6696
6697 \begin_layout Plain Layout
6698 2
6699 \end_layout
6700
6701 \end_inset
6702 </cell>
6703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6704 \begin_inset Text
6705
6706 \begin_layout Plain Layout
6707 3
6708 \end_layout
6709
6710 \end_inset
6711 </cell>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Plain Layout
6716 4
6717 \end_layout
6718
6719 \end_inset
6720 </cell>
6721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6722 \begin_inset Text
6723
6724 \begin_layout Plain Layout
6725 5
6726 \end_layout
6727
6728 \end_inset
6729 </cell>
6730 </row>
6731 <row>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Plain Layout
6736 asd
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6742 \begin_inset Text
6743
6744 \begin_layout Plain Layout
6745 s
6746 \end_layout
6747
6748 \end_inset
6749 </cell>
6750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6751 \begin_inset Text
6752
6753 \begin_layout Plain Layout
6754 s
6755 \end_layout
6756
6757 \end_inset
6758 </cell>
6759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6760 \begin_inset Text
6761
6762 \begin_layout Plain Layout
6763 s
6764 \end_layout
6765
6766 \end_inset
6767 </cell>
6768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6769 \begin_inset Text
6770
6771 \begin_layout Plain Layout
6772 asd
6773 \end_layout
6774
6775 \end_inset
6776 </cell>
6777 </row>
6778 <row>
6779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6780 \begin_inset Text
6781
6782 \begin_layout Plain Layout
6783 asd
6784 \end_layout
6785
6786 \end_inset
6787 </cell>
6788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6789 \begin_inset Text
6790
6791 \begin_layout Plain Layout
6792 s
6793 \end_layout
6794
6795 \end_inset
6796 </cell>
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6798 \begin_inset Text
6799
6800 \begin_layout Plain Layout
6801 s
6802 \end_layout
6803
6804 \end_inset
6805 </cell>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Plain Layout
6810 s
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6816 \begin_inset Text
6817
6818 \begin_layout Plain Layout
6819 asd
6820 \end_layout
6821
6822 \end_inset
6823 </cell>
6824 </row>
6825 <row>
6826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6827 \begin_inset Text
6828
6829 \begin_layout Plain Layout
6830 asd
6831 \end_layout
6832
6833 \end_inset
6834 </cell>
6835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6836 \begin_inset Text
6837
6838 \begin_layout Plain Layout
6839 s
6840 \end_layout
6841
6842 \end_inset
6843 </cell>
6844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6845 \begin_inset Text
6846
6847 \begin_layout Plain Layout
6848 s
6849 \end_layout
6850
6851 \end_inset
6852 </cell>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Plain Layout
6857 s
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Plain Layout
6866 asd
6867 \end_layout
6868
6869 \end_inset
6870 </cell>
6871 </row>
6872 <row>
6873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6874 \begin_inset Text
6875
6876 \begin_layout Plain Layout
6877 asd
6878 \end_layout
6879
6880 \end_inset
6881 </cell>
6882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Plain Layout
6886 sad
6887 \end_layout
6888
6889 \end_inset
6890 </cell>
6891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6892 \begin_inset Text
6893
6894 \begin_layout Plain Layout
6895 asd
6896 \end_layout
6897
6898 \end_inset
6899 </cell>
6900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6901 \begin_inset Text
6902
6903 \begin_layout Plain Layout
6904 asd
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Plain Layout
6913 asd
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 </row>
6919 </lyxtabular>
6920
6921 \end_inset
6922
6923
6924 \end_layout
6925
6926 \begin_layout Standard
6927 \begin_inset ERT
6928 status collapsed
6929
6930 \begin_layout Plain Layout
6931
6932
6933 \backslash
6934 setlength{
6935 \backslash
6936 LTcapwidth}{5cm}
6937 \end_layout
6938
6939 \end_inset
6940
6941
6942 \begin_inset Tabular
6943 <lyxtabular version="3" rows="6" columns="5">
6944 <features islongtable="true">
6945 <column alignment="center" valignment="top" width="0">
6946 <column alignment="center" valignment="top" width="0">
6947 <column alignment="center" valignment="top" width="0">
6948 <column alignment="center" valignment="top" width="0">
6949 <column alignment="center" valignment="top" width="0">
6950 <row caption="true">
6951 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6952 \begin_inset Text
6953
6954 \begin_layout Plain Layout
6955 \begin_inset Caption
6956
6957 \begin_layout Plain Layout
6958 long full title with width set to 5
6959 \begin_inset space \thinspace{}
6960 \end_inset
6961
6962 cm long full title with width set to 5
6963 \begin_inset space \thinspace{}
6964 \end_inset
6965
6966 cm long full title with width set to 5
6967 \begin_inset space \thinspace{}
6968 \end_inset
6969
6970 cm
6971 \begin_inset OptArg
6972 status collapsed
6973
6974 \begin_layout Plain Layout
6975 caption with width
6976 \begin_inset space \thinspace{}
6977 \end_inset
6978
6979 =
6980 \begin_inset space \thinspace{}
6981 \end_inset
6982
6983 5
6984 \begin_inset space \thinspace{}
6985 \end_inset
6986
6987 cm
6988 \end_layout
6989
6990 \end_inset
6991
6992
6993 \end_layout
6994
6995 \end_inset
6996
6997
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Plain Layout
7006
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Plain Layout
7015
7016 \end_layout
7017
7018 \end_inset
7019 </cell>
7020 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7021 \begin_inset Text
7022
7023 \begin_layout Plain Layout
7024
7025 \end_layout
7026
7027 \end_inset
7028 </cell>
7029 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7030 \begin_inset Text
7031
7032 \begin_layout Plain Layout
7033
7034 \end_layout
7035
7036 \end_inset
7037 </cell>
7038 </row>
7039 <row>
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7041 \begin_inset Text
7042
7043 \begin_layout Plain Layout
7044 1
7045 \end_layout
7046
7047 \end_inset
7048 </cell>
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Plain Layout
7053 2
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Plain Layout
7062 3
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7068 \begin_inset Text
7069
7070 \begin_layout Plain Layout
7071 4
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Plain Layout
7080 5
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 </row>
7086 <row>
7087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7088 \begin_inset Text
7089
7090 \begin_layout Plain Layout
7091 asd
7092 \end_layout
7093
7094 \end_inset
7095 </cell>
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Plain Layout
7100 s
7101 \end_layout
7102
7103 \end_inset
7104 </cell>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Plain Layout
7109 s
7110 \end_layout
7111
7112 \end_inset
7113 </cell>
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7115 \begin_inset Text
7116
7117 \begin_layout Plain Layout
7118 s
7119 \end_layout
7120
7121 \end_inset
7122 </cell>
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7124 \begin_inset Text
7125
7126 \begin_layout Plain Layout
7127 asd
7128 \end_layout
7129
7130 \end_inset
7131 </cell>
7132 </row>
7133 <row>
7134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7135 \begin_inset Text
7136
7137 \begin_layout Plain Layout
7138 asd
7139 \end_layout
7140
7141 \end_inset
7142 </cell>
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_inset Text
7145
7146 \begin_layout Plain Layout
7147 s
7148 \end_layout
7149
7150 \end_inset
7151 </cell>
7152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_inset Text
7154
7155 \begin_layout Plain Layout
7156 s
7157 \end_layout
7158
7159 \end_inset
7160 </cell>
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Plain Layout
7165 s
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Plain Layout
7174 asd
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 </row>
7180 <row>
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7182 \begin_inset Text
7183
7184 \begin_layout Plain Layout
7185 asd
7186 \end_layout
7187
7188 \end_inset
7189 </cell>
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Plain Layout
7194 s
7195 \end_layout
7196
7197 \end_inset
7198 </cell>
7199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7200 \begin_inset Text
7201
7202 \begin_layout Plain Layout
7203 s
7204 \end_layout
7205
7206 \end_inset
7207 </cell>
7208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7209 \begin_inset Text
7210
7211 \begin_layout Plain Layout
7212 s
7213 \end_layout
7214
7215 \end_inset
7216 </cell>
7217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Plain Layout
7221 asd
7222 \end_layout
7223
7224 \end_inset
7225 </cell>
7226 </row>
7227 <row>
7228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Plain Layout
7232 asd
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7238 \begin_inset Text
7239
7240 \begin_layout Plain Layout
7241 sad
7242 \end_layout
7243
7244 \end_inset
7245 </cell>
7246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7247 \begin_inset Text
7248
7249 \begin_layout Plain Layout
7250 asd
7251 \end_layout
7252
7253 \end_inset
7254 </cell>
7255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7256 \begin_inset Text
7257
7258 \begin_layout Plain Layout
7259 asd
7260 \end_layout
7261
7262 \end_inset
7263 </cell>
7264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7265 \begin_inset Text
7266
7267 \begin_layout Plain Layout
7268 asd
7269 \end_layout
7270
7271 \end_inset
7272 </cell>
7273 </row>
7274 </lyxtabular>
7275
7276 \end_inset
7277
7278
7279 \end_layout
7280
7281 \begin_layout Standard
7282 \begin_inset ERT
7283 status collapsed
7284
7285 \begin_layout Plain Layout
7286
7287
7288 \backslash
7289 setlength{
7290 \backslash
7291 LTcapwidth}{4in}
7292 \end_layout
7293
7294 \end_inset
7295
7296
7297 \end_layout
7298
7299 \begin_layout Standard
7300 \begin_inset Note Greyedout
7301 status open
7302
7303 \begin_layout Plain Layout
7304
7305 \series bold
7306 Note:
7307 \series default
7308  When the LaTeX-package 
7309 \series bold
7310 caption
7311 \series default
7312
7313 \begin_inset Index
7314 status collapsed
7315
7316 \begin_layout Plain Layout
7317 LaTeX-packages ! caption
7318 \end_layout
7319
7320 \end_inset
7321
7322  is used, as in this document, the full page width is used for the caption
7323  when you use the default value of 4
7324 \begin_inset space \thinspace{}
7325 \end_inset
7326
7327 in for 
7328 \series bold
7329
7330 \backslash
7331 LTcapwidth
7332 \series default
7333 .
7334  To get in this case exactly a 4
7335 \begin_inset space \thinspace{}
7336 \end_inset
7337
7338 in wide caption, you can either use a value slightly different from 4.0
7339 \begin_inset space \thinspace{}
7340 \end_inset
7341
7342 in, e.
7343 \begin_inset space \thinspace{}
7344 \end_inset
7345
7346 g.
7347 \begin_inset space \space{}
7348 \end_inset
7349
7350 3.99
7351 \begin_inset space \thinspace{}
7352 \end_inset
7353
7354 in, or the LaTeX-command 
7355 \series bold
7356
7357 \backslash
7358 captionsetup{width=value}
7359 \series default
7360  that is provided by the 
7361 \series bold
7362 caption
7363 \series default
7364 -package.
7365 \end_layout
7366
7367 \end_inset
7368
7369
7370 \end_layout
7371
7372 \begin_layout Subsubsection
7373 Different Captions for Table Pages
7374 \begin_inset Index
7375 status collapsed
7376
7377 \begin_layout Plain Layout
7378 Longtables ! Different Captions for Pages
7379 \end_layout
7380
7381 \end_inset
7382
7383
7384 \end_layout
7385
7386 \begin_layout Standard
7387 When the table captions for the following pages should differ from the one
7388  of the first table page, insert a caption with the TeX code command
7389 \end_layout
7390
7391 \begin_layout Standard
7392
7393 \series bold
7394
7395 \backslash
7396 caption*{caption text}
7397 \backslash
7398
7399 \backslash
7400 %
7401 \end_layout
7402
7403 \begin_layout Standard
7404 in a dummy caption row that is marked as header.
7405  Table
7406 \begin_inset space ~
7407 \end_inset
7408
7409
7410 \begin_inset CommandInset ref
7411 LatexCommand ref
7412 reference "tab:DiffCaptions"
7413
7414 \end_inset
7415
7416  is an example for a longtable with different heading where the second caption
7417  doesn't include the table number.
7418 \end_layout
7419
7420 \begin_layout Standard
7421 \align center
7422 \begin_inset Tabular
7423 <lyxtabular version="3" rows="59" columns="3">
7424 <features islongtable="true" lastFootEmpty="true">
7425 <column alignment="left" valignment="top" width="0cm">
7426 <column alignment="left" valignment="top" width="0pt">
7427 <column alignment="center" valignment="top" width="0pt">
7428 <row caption="true">
7429 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7430 \begin_inset Text
7431
7432 \begin_layout Plain Layout
7433 \begin_inset Caption
7434
7435 \begin_layout Plain Layout
7436 Example Phone List
7437 \begin_inset CommandInset label
7438 LatexCommand label
7439 name "tab:DiffCaptions"
7440
7441 \end_inset
7442
7443
7444 \begin_inset OptArg
7445 status collapsed
7446
7447 \begin_layout Plain Layout
7448 Example Phone List
7449 \end_layout
7450
7451 \end_inset
7452
7453
7454 \end_layout
7455
7456 \end_inset
7457
7458
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Plain Layout
7467
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Plain Layout
7476
7477 \end_layout
7478
7479 \end_inset
7480 </cell>
7481 </row>
7482 <row endfirsthead="true">
7483 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Plain Layout
7487
7488 \series bold
7489 Example Phone List (ignore the names)
7490 \end_layout
7491
7492 \end_inset
7493 </cell>
7494 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7495 \begin_inset Text
7496
7497 \begin_layout Plain Layout
7498
7499 \end_layout
7500
7501 \end_inset
7502 </cell>
7503 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7504 \begin_inset Text
7505
7506 \begin_layout Plain Layout
7507
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 </row>
7513 <row endfirsthead="true">
7514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7515 \begin_inset Text
7516
7517 \begin_layout Plain Layout
7518
7519 \series bold
7520 NAME
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7526 \begin_inset Text
7527
7528 \begin_layout Plain Layout
7529
7530 \end_layout
7531
7532 \end_inset
7533 </cell>
7534 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7535 \begin_inset Text
7536
7537 \begin_layout Plain Layout
7538
7539 \series bold
7540 TEL.
7541 \end_layout
7542
7543 \end_inset
7544 </cell>
7545 </row>
7546 <row endhead="true">
7547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Plain Layout
7551 \begin_inset ERT
7552 status open
7553
7554 \begin_layout Plain Layout
7555
7556
7557 \backslash
7558 caption*{Continued Example Phone List}
7559 \backslash
7560
7561 \backslash
7562 %
7563 \end_layout
7564
7565 \end_inset
7566
7567
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Plain Layout
7576
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Plain Layout
7585
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 <row endhead="true">
7592 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Plain Layout
7596
7597 \series bold
7598 Example Phone List
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Plain Layout
7607
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Plain Layout
7616
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row endhead="true">
7623 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Plain Layout
7627
7628 \series bold
7629 NAME
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Plain Layout
7638
7639 \end_layout
7640
7641 \end_inset
7642 </cell>
7643 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7644 \begin_inset Text
7645
7646 \begin_layout Plain Layout
7647
7648 \series bold
7649 TEL.
7650 \end_layout
7651
7652 \end_inset
7653 </cell>
7654 </row>
7655 <row endfoot="true">
7656 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7657 \begin_inset Text
7658
7659 \begin_layout Plain Layout
7660 continued on next page
7661 \end_layout
7662
7663 \end_inset
7664 </cell>
7665 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7666 \begin_inset Text
7667
7668 \begin_layout Plain Layout
7669
7670 \end_layout
7671
7672 \end_inset
7673 </cell>
7674 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7675 \begin_inset Text
7676
7677 \begin_layout Plain Layout
7678
7679 \end_layout
7680
7681 \end_inset
7682 </cell>
7683 </row>
7684 <row>
7685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7686 \begin_inset Text
7687
7688 \begin_layout Plain Layout
7689
7690 \series bold
7691 Annovi
7692 \end_layout
7693
7694 \end_inset
7695 </cell>
7696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7697 \begin_inset Text
7698
7699 \begin_layout Plain Layout
7700 Silvia
7701 \end_layout
7702
7703 \end_inset
7704 </cell>
7705 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7706 \begin_inset Text
7707
7708 \begin_layout Plain Layout
7709 111
7710 \end_layout
7711
7712 \end_inset
7713 </cell>
7714 </row>
7715 <row>
7716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7717 \begin_inset Text
7718
7719 \begin_layout Plain Layout
7720
7721 \series bold
7722 Bertoli
7723 \end_layout
7724
7725 \end_inset
7726 </cell>
7727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7728 \begin_inset Text
7729
7730 \begin_layout Plain Layout
7731 Stefano
7732 \end_layout
7733
7734 \end_inset
7735 </cell>
7736 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7737 \begin_inset Text
7738
7739 \begin_layout Plain Layout
7740 111
7741 \end_layout
7742
7743 \end_inset
7744 </cell>
7745 </row>
7746 <row>
7747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7748 \begin_inset Text
7749
7750 \begin_layout Plain Layout
7751
7752 \series bold
7753 Bozzi
7754 \end_layout
7755
7756 \end_inset
7757 </cell>
7758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7759 \begin_inset Text
7760
7761 \begin_layout Plain Layout
7762 Walter
7763 \end_layout
7764
7765 \end_inset
7766 </cell>
7767 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7768 \begin_inset Text
7769
7770 \begin_layout Plain Layout
7771 111
7772 \end_layout
7773
7774 \end_inset
7775 </cell>
7776 </row>
7777 <row>
7778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7779 \begin_inset Text
7780
7781 \begin_layout Plain Layout
7782
7783 \series bold
7784 Cachia
7785 \end_layout
7786
7787 \end_inset
7788 </cell>
7789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7790 \begin_inset Text
7791
7792 \begin_layout Plain Layout
7793 Maria
7794 \end_layout
7795
7796 \end_inset
7797 </cell>
7798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7799 \begin_inset Text
7800
7801 \begin_layout Plain Layout
7802 111
7803 \end_layout
7804
7805 \end_inset
7806 </cell>
7807 </row>
7808 <row>
7809 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7810 \begin_inset Text
7811
7812 \begin_layout Plain Layout
7813
7814 \series bold
7815 Cachia
7816 \end_layout
7817
7818 \end_inset
7819 </cell>
7820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7821 \begin_inset Text
7822
7823 \begin_layout Plain Layout
7824 Maurizio
7825 \end_layout
7826
7827 \end_inset
7828 </cell>
7829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7830 \begin_inset Text
7831
7832 \begin_layout Plain Layout
7833 111
7834 \end_layout
7835
7836 \end_inset
7837 </cell>
7838 </row>
7839 <row>
7840 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7841 \begin_inset Text
7842
7843 \begin_layout Plain Layout
7844
7845 \series bold
7846 Cinquemani
7847 \end_layout
7848
7849 \end_inset
7850 </cell>
7851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7852 \begin_inset Text
7853
7854 \begin_layout Plain Layout
7855 Giusi
7856 \end_layout
7857
7858 \end_inset
7859 </cell>
7860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7861 \begin_inset Text
7862
7863 \begin_layout Plain Layout
7864 111
7865 \end_layout
7866
7867 \end_inset
7868 </cell>
7869 </row>
7870 <row>
7871 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7872 \begin_inset Text
7873
7874 \begin_layout Plain Layout
7875
7876 \series bold
7877 Colin
7878 \end_layout
7879
7880 \end_inset
7881 </cell>
7882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7883 \begin_inset Text
7884
7885 \begin_layout Plain Layout
7886 Bernard
7887 \end_layout
7888
7889 \end_inset
7890 </cell>
7891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7892 \begin_inset Text
7893
7894 \begin_layout Plain Layout
7895 111
7896 \end_layout
7897
7898 \end_inset
7899 </cell>
7900 </row>
7901 <row>
7902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7903 \begin_inset Text
7904
7905 \begin_layout Plain Layout
7906
7907 \series bold
7908 Concli
7909 \end_layout
7910
7911 \end_inset
7912 </cell>
7913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7914 \begin_inset Text
7915
7916 \begin_layout Plain Layout
7917 Gianfranco
7918 \end_layout
7919
7920 \end_inset
7921 </cell>
7922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7923 \begin_inset Text
7924
7925 \begin_layout Plain Layout
7926 111
7927 \end_layout
7928
7929 \end_inset
7930 </cell>
7931 </row>
7932 <row>
7933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7934 \begin_inset Text
7935
7936 \begin_layout Plain Layout
7937
7938 \series bold
7939 Dal Bosco
7940 \end_layout
7941
7942 \end_inset
7943 </cell>
7944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7945 \begin_inset Text
7946
7947 \begin_layout Plain Layout
7948 Carolina
7949 \end_layout
7950
7951 \end_inset
7952 </cell>
7953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7954 \begin_inset Text
7955
7956 \begin_layout Plain Layout
7957 111
7958 \end_layout
7959
7960 \end_inset
7961 </cell>
7962 </row>
7963 <row>
7964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7965 \begin_inset Text
7966
7967 \begin_layout Plain Layout
7968
7969 \series bold
7970 Dalpiaz
7971 \end_layout
7972
7973 \end_inset
7974 </cell>
7975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7976 \begin_inset Text
7977
7978 \begin_layout Plain Layout
7979 Annamaria
7980 \end_layout
7981
7982 \end_inset
7983 </cell>
7984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7985 \begin_inset Text
7986
7987 \begin_layout Plain Layout
7988 111
7989 \end_layout
7990
7991 \end_inset
7992 </cell>
7993 </row>
7994 <row>
7995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7996 \begin_inset Text
7997
7998 \begin_layout Plain Layout
7999
8000 \series bold
8001 Feliciello
8002 \end_layout
8003
8004 \end_inset
8005 </cell>
8006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8007 \begin_inset Text
8008
8009 \begin_layout Plain Layout
8010 Domenico
8011 \end_layout
8012
8013 \end_inset
8014 </cell>
8015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8016 \begin_inset Text
8017
8018 \begin_layout Plain Layout
8019 111
8020 \end_layout
8021
8022 \end_inset
8023 </cell>
8024 </row>
8025 <row>
8026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8027 \begin_inset Text
8028
8029 \begin_layout Plain Layout
8030
8031 \series bold
8032 Focarelli
8033 \end_layout
8034
8035 \end_inset
8036 </cell>
8037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8038 \begin_inset Text
8039
8040 \begin_layout Plain Layout
8041 Paola
8042 \end_layout
8043
8044 \end_inset
8045 </cell>
8046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8047 \begin_inset Text
8048
8049 \begin_layout Plain Layout
8050 111
8051 \end_layout
8052
8053 \end_inset
8054 </cell>
8055 </row>
8056 <row>
8057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8058 \begin_inset Text
8059
8060 \begin_layout Plain Layout
8061
8062 \series bold
8063 Galletti
8064 \end_layout
8065
8066 \end_inset
8067 </cell>
8068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8069 \begin_inset Text
8070
8071 \begin_layout Plain Layout
8072 Oreste
8073 \end_layout
8074
8075 \end_inset
8076 </cell>
8077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8078 \begin_inset Text
8079
8080 \begin_layout Plain Layout
8081 111
8082 \end_layout
8083
8084 \end_inset
8085 </cell>
8086 </row>
8087 <row>
8088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8089 \begin_inset Text
8090
8091 \begin_layout Plain Layout
8092
8093 \series bold
8094 Gasparini
8095 \end_layout
8096
8097 \end_inset
8098 </cell>
8099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8100 \begin_inset Text
8101
8102 \begin_layout Plain Layout
8103 Franca
8104 \end_layout
8105
8106 \end_inset
8107 </cell>
8108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8109 \begin_inset Text
8110
8111 \begin_layout Plain Layout
8112 111
8113 \end_layout
8114
8115 \end_inset
8116 </cell>
8117 </row>
8118 <row>
8119 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8120 \begin_inset Text
8121
8122 \begin_layout Plain Layout
8123
8124 \series bold
8125 Rizzardi
8126 \series default
8127
8128 \begin_inset Foot
8129 status open
8130
8131 \begin_layout Plain Layout
8132 Example footnote
8133 \end_layout
8134
8135 \end_inset
8136
8137
8138 \end_layout
8139
8140 \end_inset
8141 </cell>
8142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8143 \begin_inset Text
8144
8145 \begin_layout Plain Layout
8146 Paola
8147 \end_layout
8148
8149 \end_inset
8150 </cell>
8151 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Plain Layout
8155 111
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 </row>
8161 <row>
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8163 \begin_inset Text
8164
8165 \begin_layout Plain Layout
8166
8167 \series bold
8168 Lassini
8169 \end_layout
8170
8171 \end_inset
8172 </cell>
8173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8174 \begin_inset Text
8175
8176 \begin_layout Plain Layout
8177 Giancarlo
8178 \end_layout
8179
8180 \end_inset
8181 </cell>
8182 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Plain Layout
8186 111
8187 \end_layout
8188
8189 \end_inset
8190 </cell>
8191 </row>
8192 <row>
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8194 \begin_inset Text
8195
8196 \begin_layout Plain Layout
8197
8198 \series bold
8199 Malfatti
8200 \end_layout
8201
8202 \end_inset
8203 </cell>
8204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8205 \begin_inset Text
8206
8207 \begin_layout Plain Layout
8208 Luciano
8209 \end_layout
8210
8211 \end_inset
8212 </cell>
8213 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Plain Layout
8217 111
8218 \end_layout
8219
8220 \end_inset
8221 </cell>
8222 </row>
8223 <row>
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8225 \begin_inset Text
8226
8227 \begin_layout Plain Layout
8228
8229 \series bold
8230 Malfatti
8231 \end_layout
8232
8233 \end_inset
8234 </cell>
8235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8236 \begin_inset Text
8237
8238 \begin_layout Plain Layout
8239 Valeriano
8240 \end_layout
8241
8242 \end_inset
8243 </cell>
8244 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Plain Layout
8248 111
8249 \end_layout
8250
8251 \end_inset
8252 </cell>
8253 </row>
8254 <row>
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8256 \begin_inset Text
8257
8258 \begin_layout Plain Layout
8259
8260 \series bold
8261 Meneguzzo
8262 \end_layout
8263
8264 \end_inset
8265 </cell>
8266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8267 \begin_inset Text
8268
8269 \begin_layout Plain Layout
8270 Roberto
8271 \end_layout
8272
8273 \end_inset
8274 </cell>
8275 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Plain Layout
8279 111
8280 \end_layout
8281
8282 \end_inset
8283 </cell>
8284 </row>
8285 <row>
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8287 \begin_inset Text
8288
8289 \begin_layout Plain Layout
8290
8291 \series bold
8292 Mezzadra
8293 \end_layout
8294
8295 \end_inset
8296 </cell>
8297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8298 \begin_inset Text
8299
8300 \begin_layout Plain Layout
8301 Roberto
8302 \end_layout
8303
8304 \end_inset
8305 </cell>
8306 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Plain Layout
8310 111
8311 \end_layout
8312
8313 \end_inset
8314 </cell>
8315 </row>
8316 <row>
8317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Plain Layout
8321
8322 \series bold
8323 Pirpamer
8324 \end_layout
8325
8326 \end_inset
8327 </cell>
8328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8329 \begin_inset Text
8330
8331 \begin_layout Plain Layout
8332 Erich
8333 \end_layout
8334
8335 \end_inset
8336 </cell>
8337 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Plain Layout
8341 111
8342 \end_layout
8343
8344 \end_inset
8345 </cell>
8346 </row>
8347 <row>
8348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8349 \begin_inset Text
8350
8351 \begin_layout Plain Layout
8352
8353 \series bold
8354 Pochiesa
8355 \end_layout
8356
8357 \end_inset
8358 </cell>
8359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8360 \begin_inset Text
8361
8362 \begin_layout Plain Layout
8363 Paolo
8364 \end_layout
8365
8366 \end_inset
8367 </cell>
8368 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Plain Layout
8372 111, 222
8373 \end_layout
8374
8375 \end_inset
8376 </cell>
8377 </row>
8378 <row>
8379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8380 \begin_inset Text
8381
8382 \begin_layout Plain Layout
8383
8384 \series bold
8385 Radina
8386 \end_layout
8387
8388 \end_inset
8389 </cell>
8390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8391 \begin_inset Text
8392
8393 \begin_layout Plain Layout
8394 Claudio
8395 \end_layout
8396
8397 \end_inset
8398 </cell>
8399 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Plain Layout
8403 111
8404 \end_layout
8405
8406 \end_inset
8407 </cell>
8408 </row>
8409 <row>
8410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8411 \begin_inset Text
8412
8413 \begin_layout Plain Layout
8414
8415 \series bold
8416 Stuffer
8417 \end_layout
8418
8419 \end_inset
8420 </cell>
8421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8422 \begin_inset Text
8423
8424 \begin_layout Plain Layout
8425 Oskar
8426 \end_layout
8427
8428 \end_inset
8429 </cell>
8430 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8431 \begin_inset Text
8432
8433 \begin_layout Plain Layout
8434 111
8435 \end_layout
8436
8437 \end_inset
8438 </cell>
8439 </row>
8440 <row>
8441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8442 \begin_inset Text
8443
8444 \begin_layout Plain Layout
8445
8446 \series bold
8447 Tacchelli
8448 \end_layout
8449
8450 \end_inset
8451 </cell>
8452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8453 \begin_inset Text
8454
8455 \begin_layout Plain Layout
8456 Ugo
8457 \end_layout
8458
8459 \end_inset
8460 </cell>
8461 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8462 \begin_inset Text
8463
8464 \begin_layout Plain Layout
8465 111
8466 \end_layout
8467
8468 \end_inset
8469 </cell>
8470 </row>
8471 <row>
8472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8473 \begin_inset Text
8474
8475 \begin_layout Plain Layout
8476
8477 \series bold
8478 Tezzele
8479 \end_layout
8480
8481 \end_inset
8482 </cell>
8483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8484 \begin_inset Text
8485
8486 \begin_layout Plain Layout
8487 Margit
8488 \end_layout
8489
8490 \end_inset
8491 </cell>
8492 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8493 \begin_inset Text
8494
8495 \begin_layout Plain Layout
8496 111
8497 \end_layout
8498
8499 \end_inset
8500 </cell>
8501 </row>
8502 <row>
8503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8504 \begin_inset Text
8505
8506 \begin_layout Plain Layout
8507
8508 \series bold
8509 Unterkalmsteiner
8510 \end_layout
8511
8512 \end_inset
8513 </cell>
8514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8515 \begin_inset Text
8516
8517 \begin_layout Plain Layout
8518 Frieda
8519 \end_layout
8520
8521 \end_inset
8522 </cell>
8523 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8524 \begin_inset Text
8525
8526 \begin_layout Plain Layout
8527 111
8528 \end_layout
8529
8530 \end_inset
8531 </cell>
8532 </row>
8533 <row>
8534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8535 \begin_inset Text
8536
8537 \begin_layout Plain Layout
8538
8539 \series bold
8540 Vieider
8541 \end_layout
8542
8543 \end_inset
8544 </cell>
8545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8546 \begin_inset Text
8547
8548 \begin_layout Plain Layout
8549 Hilde
8550 \end_layout
8551
8552 \end_inset
8553 </cell>
8554 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8555 \begin_inset Text
8556
8557 \begin_layout Plain Layout
8558 111
8559 \end_layout
8560
8561 \end_inset
8562 </cell>
8563 </row>
8564 <row>
8565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8566 \begin_inset Text
8567
8568 \begin_layout Plain Layout
8569
8570 \series bold
8571 Vigna
8572 \end_layout
8573
8574 \end_inset
8575 </cell>
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8577 \begin_inset Text
8578
8579 \begin_layout Plain Layout
8580 Jürgen
8581 \end_layout
8582
8583 \end_inset
8584 </cell>
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8586 \begin_inset Text
8587
8588 \begin_layout Plain Layout
8589 111
8590 \end_layout
8591
8592 \end_inset
8593 </cell>
8594 </row>
8595 <row>
8596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8597 \begin_inset Text
8598
8599 \begin_layout Plain Layout
8600
8601 \series bold
8602 Weber
8603 \end_layout
8604
8605 \end_inset
8606 </cell>
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8608 \begin_inset Text
8609
8610 \begin_layout Plain Layout
8611 Maurizio
8612 \end_layout
8613
8614 \end_inset
8615 </cell>
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8617 \begin_inset Text
8618
8619 \begin_layout Plain Layout
8620 111
8621 \end_layout
8622
8623 \end_inset
8624 </cell>
8625 </row>
8626 <row>
8627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Plain Layout
8631
8632 \series bold
8633 Winkler
8634 \end_layout
8635
8636 \end_inset
8637 </cell>
8638 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8639 \begin_inset Text
8640
8641 \begin_layout Plain Layout
8642 Franz
8643 \end_layout
8644
8645 \end_inset
8646 </cell>
8647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8648 \begin_inset Text
8649
8650 \begin_layout Plain Layout
8651 111
8652 \end_layout
8653
8654 \end_inset
8655 </cell>
8656 </row>
8657 <row>
8658 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Plain Layout
8662  
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Plain Layout
8671
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Plain Layout
8680
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 </row>
8686 <row>
8687 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8688 \begin_inset Text
8689
8690 \begin_layout Plain Layout
8691
8692 \series bold
8693 Annovi
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Plain Layout
8702 Silvia
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8708 \begin_inset Text
8709
8710 \begin_layout Plain Layout
8711 555
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 </row>
8717 <row>
8718 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8719 \begin_inset Text
8720
8721 \begin_layout Plain Layout
8722
8723 \series bold
8724 Bertoli
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8730 \begin_inset Text
8731
8732 \begin_layout Plain Layout
8733 Stefano
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Plain Layout
8742 555
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 </row>
8748 <row>
8749 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8750 \begin_inset Text
8751
8752 \begin_layout Plain Layout
8753
8754 \series bold
8755 Bozzi
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8761 \begin_inset Text
8762
8763 \begin_layout Plain Layout
8764 Walter
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Plain Layout
8773 555
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 </row>
8779 <row>
8780 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8781 \begin_inset Text
8782
8783 \begin_layout Plain Layout
8784
8785 \series bold
8786 Cachia
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8792 \begin_inset Text
8793
8794 \begin_layout Plain Layout
8795 Maria
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Plain Layout
8804 555
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 </row>
8810 <row>
8811 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8812 \begin_inset Text
8813
8814 \begin_layout Plain Layout
8815
8816 \series bold
8817 Cachia
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8823 \begin_inset Text
8824
8825 \begin_layout Plain Layout
8826 Maurizio
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Plain Layout
8835 555
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 </row>
8841 <row>
8842 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8843 \begin_inset Text
8844
8845 \begin_layout Plain Layout
8846
8847 \series bold
8848 Cinquemani
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8854 \begin_inset Text
8855
8856 \begin_layout Plain Layout
8857 Giusi
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Plain Layout
8866 555
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 </row>
8872 <row>
8873 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8874 \begin_inset Text
8875
8876 \begin_layout Plain Layout
8877
8878 \series bold
8879 Colin
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8885 \begin_inset Text
8886
8887 \begin_layout Plain Layout
8888 Bernard
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Plain Layout
8897 555
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 </row>
8903 <row>
8904 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8905 \begin_inset Text
8906
8907 \begin_layout Plain Layout
8908
8909 \series bold
8910 Concli
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8916 \begin_inset Text
8917
8918 \begin_layout Plain Layout
8919 Gianfranco
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Plain Layout
8928 555
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 </row>
8934 <row>
8935 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Plain Layout
8939
8940 \series bold
8941 Dal Bosco
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8947 \begin_inset Text
8948
8949 \begin_layout Plain Layout
8950 Carolina
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Plain Layout
8959 555
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 </row>
8965 <row>
8966 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8967 \begin_inset Text
8968
8969 \begin_layout Plain Layout
8970
8971 \series bold
8972 Dalpiaz
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Plain Layout
8981 Annamaria
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Plain Layout
8990 555
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Plain Layout
9001
9002 \series bold
9003 Feliciello
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Plain Layout
9012 Domenico
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Plain Layout
9021 555
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Plain Layout
9032
9033 \series bold
9034 Focarelli
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Plain Layout
9043 Paola
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Plain Layout
9052 555
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Plain Layout
9063
9064 \series bold
9065 Galletti
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Plain Layout
9074 Oreste
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Plain Layout
9083 555
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Plain Layout
9094
9095 \series bold
9096 Gasparini
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Plain Layout
9105 Franca
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Plain Layout
9114 555
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Plain Layout
9125
9126 \series bold
9127 Rizzardi
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Plain Layout
9136 Paola
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Plain Layout
9145 555
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Plain Layout
9156
9157 \series bold
9158 Lassini
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Plain Layout
9167 Giancarlo
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Plain Layout
9176 555
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Plain Layout
9187
9188 \series bold
9189 Malfatti
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Plain Layout
9198 Luciano
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Plain Layout
9207 555
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Plain Layout
9218
9219 \series bold
9220 Malfatti
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Plain Layout
9229 Valeriano
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Plain Layout
9238 555
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Plain Layout
9249
9250 \series bold
9251 Meneguzzo
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Plain Layout
9260 Roberto
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Plain Layout
9269 555
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Plain Layout
9280
9281 \series bold
9282 Mezzadra
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Plain Layout
9291 Roberto
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Plain Layout
9300 555
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 </lyxtabular>
9307
9308 \end_inset
9309
9310
9311 \end_layout
9312
9313 \begin_layout Section
9314 Special Longtable Issues
9315 \begin_inset CommandInset label
9316 LatexCommand label
9317 name "sec:Special-Longtable-Issues"
9318
9319 \end_inset
9320
9321
9322 \end_layout
9323
9324 \begin_layout Subsection
9325 Longtable Calculation
9326 \begin_inset Index
9327 status collapsed
9328
9329 \begin_layout Plain Layout
9330 Longtables ! Calculation
9331 \end_layout
9332
9333 \end_inset
9334
9335
9336 \end_layout
9337
9338 \begin_layout Standard
9339 LaTeX calculates the height of table pages and their page breaks using so
9340  called chunks.
9341  Chunks are pieces of the tables that are at once in LaTeX's memory.
9342  The default value is historically set to only 20 table rows.
9343  If you are using longtables with many pages this may slow down the creation
9344  of your document.
9345  You can safely increase the chunk size to values of 100-1000 by adding
9346  this command line to your document preamble:
9347 \end_layout
9348
9349 \begin_layout Standard
9350
9351 \series bold
9352
9353 \backslash
9354 setcounter{LTchunksize}{100}
9355 \end_layout
9356
9357 \begin_layout Subsection
9358 Floats and Longtables
9359 \begin_inset Index
9360 status collapsed
9361
9362 \begin_layout Plain Layout
9363 Longtables ! Floats
9364 \end_layout
9365
9366 \end_inset
9367
9368
9369 \end_layout
9370
9371 \begin_layout Standard
9372 There might be problems when a float appears on the same page where a longtable
9373  starts.
9374  To avoid such situation, add the command 
9375 \series bold
9376
9377 \backslash
9378 clearpage
9379 \series default
9380  as TeX-Code before your longtable.
9381 \end_layout
9382
9383 \begin_layout Subsection
9384 Forced Page Breaks
9385 \begin_inset Index
9386 status collapsed
9387
9388 \begin_layout Plain Layout
9389 Longtables ! Forced Page Breaks
9390 \end_layout
9391
9392 \end_inset
9393
9394
9395 \end_layout
9396
9397 \begin_layout Standard
9398 By default tables are only broken between rows.
9399  If you have a cell with multiples lines and want to have a page break within
9400  the cell, insert the new line command 
9401 \begin_inset Quotes eld
9402 \end_inset
9403
9404
9405 \series bold
9406
9407 \backslash
9408
9409 \backslash
9410
9411 \series default
9412
9413 \begin_inset Quotes erd
9414 \end_inset
9415
9416  as TeX-Code at this point of the cell where it can be broken.
9417  Before the 
9418 \series bold
9419
9420 \backslash
9421
9422 \backslash
9423
9424 \series default
9425  command you have to insert in TeX-Code so many 
9426 \begin_inset Quotes eld
9427 \end_inset
9428
9429
9430 \series bold
9431 &
9432 \series default
9433
9434 \begin_inset Quotes erd
9435 \end_inset
9436
9437  characters like the number of the following table columns.
9438  The 
9439 \series bold
9440 &
9441 \series default
9442  is the character to separate table cells.
9443  Write in TeX-Code after each 
9444 \series bold
9445 &
9446 \series default
9447  the content of the corresponding following cell and delete the content
9448  of these cells.
9449 \begin_inset Newline newline
9450 \end_inset
9451
9452 Behind the the 
9453 \series bold
9454
9455 \backslash
9456
9457 \backslash
9458
9459 \series default
9460  command, insert so many 
9461 \series bold
9462 &
9463 \series default
9464  characters like the number of table columns before the current column.
9465  In Table
9466 \begin_inset space ~
9467 \end_inset
9468
9469
9470 \begin_inset CommandInset ref
9471 LatexCommand ref
9472 reference "tab:ForcedPagebreak"
9473
9474 \end_inset
9475
9476  the cell that should be broken is in the second column followed by another
9477  column.
9478  Therefore the following command was inserted in the cell as TeX-Code behind
9479  
9480 \begin_inset Quotes eld
9481 \end_inset
9482
9483
9484 \emph on
9485 Castelchiodato,
9486 \emph default
9487
9488 \begin_inset Quotes erd
9489 \end_inset
9490
9491 :
9492 \end_layout
9493
9494 \begin_layout Standard
9495
9496 \series bold
9497 & 111
9498 \backslash
9499
9500 \backslash
9501  
9502 \backslash
9503 newpage
9504 \begin_inset Newline newline
9505 \end_inset
9506
9507 &
9508 \end_layout
9509
9510 \begin_layout Standard
9511 The 
9512 \begin_inset Quotes eld
9513 \end_inset
9514
9515 111
9516 \begin_inset Quotes erd
9517 \end_inset
9518
9519  in the third columns of the row was deleted.
9520  
9521 \series bold
9522
9523 \backslash
9524 newpage
9525 \series default
9526  is only needed when a page break should definitively occur at this position,
9527  otherwise it is only a possibility to break.
9528  If your footer row of the longtable has for a certain reason no upper line
9529  but you would have a horizontal line where the cell is broken, use this
9530  command instead:
9531 \end_layout
9532
9533 \begin_layout Standard
9534
9535 \series bold
9536 & 111
9537 \backslash
9538
9539 \backslash
9540
9541 \begin_inset Newline newline
9542 \end_inset
9543
9544
9545 \backslash
9546 hline &
9547 \end_layout
9548
9549 \begin_layout Standard
9550 When the cell to be broken is in the last column, the command
9551 \end_layout
9552
9553 \begin_layout Standard
9554
9555 \series bold
9556
9557 \backslash
9558 setlength{
9559 \backslash
9560 parfillskip}{0pt}
9561 \end_layout
9562
9563 \begin_layout Standard
9564 must be inserted as TeX-Code at the beginning of the cell.
9565  This assures that the part of the cell that will be displayed on the new
9566  page appears with the full width.
9567 \end_layout
9568
9569 \begin_layout Standard
9570 \align center
9571 \begin_inset Tabular
9572 <lyxtabular version="3" rows="38" columns="3">
9573 <features islongtable="true" lastFootEmpty="true">
9574 <column alignment="left" valignment="top" width="0cm">
9575 <column alignment="left" valignment="top" width="3cm">
9576 <column alignment="center" valignment="top" width="0pt">
9577 <row caption="true">
9578 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Plain Layout
9582 \begin_inset Caption
9583
9584 \begin_layout Plain Layout
9585 Table with forced page break in table cell
9586 \begin_inset CommandInset label
9587 LatexCommand label
9588 name "tab:ForcedPagebreak"
9589
9590 \end_inset
9591
9592
9593 \begin_inset OptArg
9594 status collapsed
9595
9596 \begin_layout Plain Layout
9597 Table with forced page break in table cell
9598 \end_layout
9599
9600 \end_inset
9601
9602
9603 \end_layout
9604
9605 \end_inset
9606
9607
9608 \end_layout
9609
9610 \end_inset
9611 </cell>
9612 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9613 \begin_inset Text
9614
9615 \begin_layout Plain Layout
9616
9617 \end_layout
9618
9619 \end_inset
9620 </cell>
9621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9622 \begin_inset Text
9623
9624 \begin_layout Plain Layout
9625
9626 \end_layout
9627
9628 \end_inset
9629 </cell>
9630 </row>
9631 <row endfirsthead="true">
9632 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Plain Layout
9636
9637 \series bold
9638 Example Phone List (ignore the names)
9639 \end_layout
9640
9641 \end_inset
9642 </cell>
9643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9644 \begin_inset Text
9645
9646 \begin_layout Plain Layout
9647
9648 \end_layout
9649
9650 \end_inset
9651 </cell>
9652 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9653 \begin_inset Text
9654
9655 \begin_layout Plain Layout
9656
9657 \end_layout
9658
9659 \end_inset
9660 </cell>
9661 </row>
9662 <row endfirsthead="true">
9663 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Plain Layout
9667
9668 \series bold
9669 NAME
9670 \end_layout
9671
9672 \end_inset
9673 </cell>
9674 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9675 \begin_inset Text
9676
9677 \begin_layout Plain Layout
9678
9679 \end_layout
9680
9681 \end_inset
9682 </cell>
9683 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9684 \begin_inset Text
9685
9686 \begin_layout Plain Layout
9687
9688 \series bold
9689 TEL.
9690 \end_layout
9691
9692 \end_inset
9693 </cell>
9694 </row>
9695 <row endhead="true">
9696 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9697 \begin_inset Text
9698
9699 \begin_layout Plain Layout
9700 \begin_inset ERT
9701 status collapsed
9702
9703 \begin_layout Plain Layout
9704
9705
9706 \backslash
9707 caption*{Continued Example Phone List}
9708 \backslash
9709
9710 \backslash
9711 %
9712 \end_layout
9713
9714 \end_inset
9715
9716
9717 \end_layout
9718
9719 \end_inset
9720 </cell>
9721 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9722 \begin_inset Text
9723
9724 \begin_layout Plain Layout
9725
9726 \end_layout
9727
9728 \end_inset
9729 </cell>
9730 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9731 \begin_inset Text
9732
9733 \begin_layout Plain Layout
9734
9735 \end_layout
9736
9737 \end_inset
9738 </cell>
9739 </row>
9740 <row endhead="true">
9741 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Plain Layout
9745
9746 \series bold
9747 Example Phone List
9748 \end_layout
9749
9750 \end_inset
9751 </cell>
9752 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9753 \begin_inset Text
9754
9755 \begin_layout Plain Layout
9756
9757 \end_layout
9758
9759 \end_inset
9760 </cell>
9761 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9762 \begin_inset Text
9763
9764 \begin_layout Plain Layout
9765
9766 \end_layout
9767
9768 \end_inset
9769 </cell>
9770 </row>
9771 <row endhead="true">
9772 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9773 \begin_inset Text
9774
9775 \begin_layout Plain Layout
9776
9777 \series bold
9778 NAME
9779 \end_layout
9780
9781 \end_inset
9782 </cell>
9783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9784 \begin_inset Text
9785
9786 \begin_layout Plain Layout
9787
9788 \end_layout
9789
9790 \end_inset
9791 </cell>
9792 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9793 \begin_inset Text
9794
9795 \begin_layout Plain Layout
9796
9797 \series bold
9798 TEL.
9799 \end_layout
9800
9801 \end_inset
9802 </cell>
9803 </row>
9804 <row endfoot="true">
9805 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Plain Layout
9809 continued on next page
9810 \end_layout
9811
9812 \end_inset
9813 </cell>
9814 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9815 \begin_inset Text
9816
9817 \begin_layout Plain Layout
9818
9819 \end_layout
9820
9821 \end_inset
9822 </cell>
9823 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9824 \begin_inset Text
9825
9826 \begin_layout Plain Layout
9827
9828 \end_layout
9829
9830 \end_inset
9831 </cell>
9832 </row>
9833 <row>
9834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9835 \begin_inset Text
9836
9837 \begin_layout Plain Layout
9838
9839 \series bold
9840 Annovi
9841 \end_layout
9842
9843 \end_inset
9844 </cell>
9845 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9846 \begin_inset Text
9847
9848 \begin_layout Plain Layout
9849 Silvia
9850 \end_layout
9851
9852 \end_inset
9853 </cell>
9854 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9855 \begin_inset Text
9856
9857 \begin_layout Plain Layout
9858 111
9859 \end_layout
9860
9861 \end_inset
9862 </cell>
9863 </row>
9864 <row>
9865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Plain Layout
9869
9870 \series bold
9871 Bertoli
9872 \end_layout
9873
9874 \end_inset
9875 </cell>
9876 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9877 \begin_inset Text
9878
9879 \begin_layout Plain Layout
9880 Stefano
9881 \end_layout
9882
9883 \end_inset
9884 </cell>
9885 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Plain Layout
9889 111
9890 \end_layout
9891
9892 \end_inset
9893 </cell>
9894 </row>
9895 <row>
9896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9897 \begin_inset Text
9898
9899 \begin_layout Plain Layout
9900
9901 \series bold
9902 Bozzi
9903 \end_layout
9904
9905 \end_inset
9906 </cell>
9907 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9908 \begin_inset Text
9909
9910 \begin_layout Plain Layout
9911 Walter
9912 \end_layout
9913
9914 \end_inset
9915 </cell>
9916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9917 \begin_inset Text
9918
9919 \begin_layout Plain Layout
9920 111
9921 \end_layout
9922
9923 \end_inset
9924 </cell>
9925 </row>
9926 <row>
9927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9928 \begin_inset Text
9929
9930 \begin_layout Plain Layout
9931
9932 \series bold
9933 Cachia
9934 \end_layout
9935
9936 \end_inset
9937 </cell>
9938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9939 \begin_inset Text
9940
9941 \begin_layout Plain Layout
9942 Maria
9943 \end_layout
9944
9945 \end_inset
9946 </cell>
9947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9948 \begin_inset Text
9949
9950 \begin_layout Plain Layout
9951 111
9952 \end_layout
9953
9954 \end_inset
9955 </cell>
9956 </row>
9957 <row>
9958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9959 \begin_inset Text
9960
9961 \begin_layout Plain Layout
9962
9963 \series bold
9964 Cachia
9965 \end_layout
9966
9967 \end_inset
9968 </cell>
9969 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9970 \begin_inset Text
9971
9972 \begin_layout Plain Layout
9973 Maurizio
9974 \end_layout
9975
9976 \end_inset
9977 </cell>
9978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9979 \begin_inset Text
9980
9981 \begin_layout Plain Layout
9982 111
9983 \end_layout
9984
9985 \end_inset
9986 </cell>
9987 </row>
9988 <row>
9989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9990 \begin_inset Text
9991
9992 \begin_layout Plain Layout
9993
9994 \series bold
9995 Cinquemani
9996 \end_layout
9997
9998 \end_inset
9999 </cell>
10000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10001 \begin_inset Text
10002
10003 \begin_layout Plain Layout
10004 Giusi
10005 \end_layout
10006
10007 \end_inset
10008 </cell>
10009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10010 \begin_inset Text
10011
10012 \begin_layout Plain Layout
10013 111
10014 \end_layout
10015
10016 \end_inset
10017 </cell>
10018 </row>
10019 <row>
10020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10021 \begin_inset Text
10022
10023 \begin_layout Plain Layout
10024
10025 \series bold
10026 Colin
10027 \end_layout
10028
10029 \end_inset
10030 </cell>
10031 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10032 \begin_inset Text
10033
10034 \begin_layout Plain Layout
10035 Bernard
10036 \end_layout
10037
10038 \end_inset
10039 </cell>
10040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Plain Layout
10044 111
10045 \end_layout
10046
10047 \end_inset
10048 </cell>
10049 </row>
10050 <row>
10051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Plain Layout
10055
10056 \series bold
10057 Concli
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10063 \begin_inset Text
10064
10065 \begin_layout Plain Layout
10066 Gianfranco
10067 \end_layout
10068
10069 \end_inset
10070 </cell>
10071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Plain Layout
10075 111
10076 \end_layout
10077
10078 \end_inset
10079 </cell>
10080 </row>
10081 <row>
10082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Plain Layout
10086
10087 \series bold
10088 Dal Bosco
10089 \end_layout
10090
10091 \end_inset
10092 </cell>
10093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10094 \begin_inset Text
10095
10096 \begin_layout Plain Layout
10097 Carolina
10098 \end_layout
10099
10100 \end_inset
10101 </cell>
10102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Plain Layout
10106 111
10107 \end_layout
10108
10109 \end_inset
10110 </cell>
10111 </row>
10112 <row>
10113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Plain Layout
10117
10118 \series bold
10119 Dalpiaz
10120 \end_layout
10121
10122 \end_inset
10123 </cell>
10124 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10125 \begin_inset Text
10126
10127 \begin_layout Plain Layout
10128 Annamaria
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Plain Layout
10137 111
10138 \end_layout
10139
10140 \end_inset
10141 </cell>
10142 </row>
10143 <row>
10144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Plain Layout
10148
10149 \series bold
10150 Feliciello
10151 \end_layout
10152
10153 \end_inset
10154 </cell>
10155 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10156 \begin_inset Text
10157
10158 \begin_layout Plain Layout
10159 Domenico
10160 \end_layout
10161
10162 \end_inset
10163 </cell>
10164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Plain Layout
10168 111
10169 \end_layout
10170
10171 \end_inset
10172 </cell>
10173 </row>
10174 <row>
10175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10176 \begin_inset Text
10177
10178 \begin_layout Plain Layout
10179
10180 \series bold
10181 Focarelli
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10187 \begin_inset Text
10188
10189 \begin_layout Plain Layout
10190 Paola
10191 \end_layout
10192
10193 \end_inset
10194 </cell>
10195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Plain Layout
10199 111
10200 \end_layout
10201
10202 \end_inset
10203 </cell>
10204 </row>
10205 <row>
10206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Plain Layout
10210
10211 \series bold
10212 Galletti
10213 \end_layout
10214
10215 \end_inset
10216 </cell>
10217 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10218 \begin_inset Text
10219
10220 \begin_layout Plain Layout
10221 Oreste
10222 \end_layout
10223
10224 \end_inset
10225 </cell>
10226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10227 \begin_inset Text
10228
10229 \begin_layout Plain Layout
10230 111
10231 \end_layout
10232
10233 \end_inset
10234 </cell>
10235 </row>
10236 <row>
10237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10238 \begin_inset Text
10239
10240 \begin_layout Plain Layout
10241
10242 \series bold
10243 Gasparini
10244 \end_layout
10245
10246 \end_inset
10247 </cell>
10248 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10249 \begin_inset Text
10250
10251 \begin_layout Plain Layout
10252 Franca
10253 \end_layout
10254
10255 \end_inset
10256 </cell>
10257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10258 \begin_inset Text
10259
10260 \begin_layout Plain Layout
10261 111
10262 \end_layout
10263
10264 \end_inset
10265 </cell>
10266 </row>
10267 <row>
10268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10269 \begin_inset Text
10270
10271 \begin_layout Plain Layout
10272
10273 \series bold
10274 Lassini
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10280 \begin_inset Text
10281
10282 \begin_layout Plain Layout
10283 Giancarlo
10284 \end_layout
10285
10286 \end_inset
10287 </cell>
10288 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10289 \begin_inset Text
10290
10291 \begin_layout Plain Layout
10292 111
10293 \end_layout
10294
10295 \end_inset
10296 </cell>
10297 </row>
10298 <row>
10299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10300 \begin_inset Text
10301
10302 \begin_layout Plain Layout
10303
10304 \series bold
10305 Malfatti
10306 \end_layout
10307
10308 \end_inset
10309 </cell>
10310 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10311 \begin_inset Text
10312
10313 \begin_layout Plain Layout
10314 Luciano
10315 \end_layout
10316
10317 \end_inset
10318 </cell>
10319 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10320 \begin_inset Text
10321
10322 \begin_layout Plain Layout
10323 111
10324 \end_layout
10325
10326 \end_inset
10327 </cell>
10328 </row>
10329 <row>
10330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10331 \begin_inset Text
10332
10333 \begin_layout Plain Layout
10334
10335 \series bold
10336 Malfatti
10337 \end_layout
10338
10339 \end_inset
10340 </cell>
10341 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10342 \begin_inset Text
10343
10344 \begin_layout Plain Layout
10345 Valeriano
10346 \end_layout
10347
10348 \end_inset
10349 </cell>
10350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10351 \begin_inset Text
10352
10353 \begin_layout Plain Layout
10354 111
10355 \end_layout
10356
10357 \end_inset
10358 </cell>
10359 </row>
10360 <row>
10361 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10362 \begin_inset Text
10363
10364 \begin_layout Plain Layout
10365
10366 \series bold
10367 Meneguzzo
10368 \end_layout
10369
10370 \end_inset
10371 </cell>
10372 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10373 \begin_inset Text
10374
10375 \begin_layout Plain Layout
10376 Roberto
10377 \end_layout
10378
10379 \end_inset
10380 </cell>
10381 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10382 \begin_inset Text
10383
10384 \begin_layout Plain Layout
10385 111
10386 \end_layout
10387
10388 \end_inset
10389 </cell>
10390 </row>
10391 <row>
10392 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10393 \begin_inset Text
10394
10395 \begin_layout Plain Layout
10396
10397 \series bold
10398 Mezzadra
10399 \end_layout
10400
10401 \end_inset
10402 </cell>
10403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10404 \begin_inset Text
10405
10406 \begin_layout Plain Layout
10407 Roberto
10408 \end_layout
10409
10410 \end_inset
10411 </cell>
10412 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10413 \begin_inset Text
10414
10415 \begin_layout Plain Layout
10416 111
10417 \end_layout
10418
10419 \end_inset
10420 </cell>
10421 </row>
10422 <row>
10423 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10424 \begin_inset Text
10425
10426 \begin_layout Plain Layout
10427
10428 \series bold
10429 Pirpamer
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10435 \begin_inset Text
10436
10437 \begin_layout Plain Layout
10438 Erich
10439 \end_layout
10440
10441 \end_inset
10442 </cell>
10443 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Plain Layout
10447 111
10448 \end_layout
10449
10450 \end_inset
10451 </cell>
10452 </row>
10453 <row>
10454 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10455 \begin_inset Text
10456
10457 \begin_layout Plain Layout
10458
10459 \series bold
10460 Pochiesa
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10466 \begin_inset Text
10467
10468 \begin_layout Plain Layout
10469 Paolo
10470 \end_layout
10471
10472 \end_inset
10473 </cell>
10474 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10475 \begin_inset Text
10476
10477 \begin_layout Plain Layout
10478 111, 222
10479 \end_layout
10480
10481 \end_inset
10482 </cell>
10483 </row>
10484 <row>
10485 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Plain Layout
10489
10490 \series bold
10491 Radina
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10497 \begin_inset Text
10498
10499 \begin_layout Plain Layout
10500 Claudio
10501 \end_layout
10502
10503 \end_inset
10504 </cell>
10505 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Plain Layout
10509 111
10510 \end_layout
10511
10512 \end_inset
10513 </cell>
10514 </row>
10515 <row>
10516 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10517 \begin_inset Text
10518
10519 \begin_layout Plain Layout
10520
10521 \series bold
10522 Rizzardi
10523 \end_layout
10524
10525 \end_inset
10526 </cell>
10527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10528 \begin_inset Text
10529
10530 \begin_layout Plain Layout
10531 Paolo, 11.
10532  Fürst von Montecompatri, 11.
10533  Fürst von Sulmona und Vivaro, 10.
10534  Fürst von Rossano, 5.
10535  Herzog von Canemorte, 11.
10536  Herzog von Palombara, 5.
10537  Herzog von Castelchiodato,
10538 \begin_inset ERT
10539 status open
10540
10541 \begin_layout Plain Layout
10542
10543 & 111
10544 \backslash
10545
10546 \backslash
10547  
10548 \backslash
10549 newpage
10550 \end_layout
10551
10552 \begin_layout Plain Layout
10553
10554 &
10555 \end_layout
10556
10557 \end_inset
10558
10559  11.
10560  Herzog von Poggionativo, 11.
10561  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10562  Graf von Valinfreda, 11.
10563  Baron von Cropalati, 11.
10564  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10565 \end_layout
10566
10567 \end_inset
10568 </cell>
10569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10570 \begin_inset Text
10571
10572 \begin_layout Plain Layout
10573
10574 \end_layout
10575
10576 \end_inset
10577 </cell>
10578 </row>
10579 <row>
10580 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Plain Layout
10584
10585 \series bold
10586 Stuffer
10587 \end_layout
10588
10589 \end_inset
10590 </cell>
10591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10592 \begin_inset Text
10593
10594 \begin_layout Plain Layout
10595 Oskar
10596 \end_layout
10597
10598 \end_inset
10599 </cell>
10600 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10601 \begin_inset Text
10602
10603 \begin_layout Plain Layout
10604 111
10605 \end_layout
10606
10607 \end_inset
10608 </cell>
10609 </row>
10610 <row>
10611 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Plain Layout
10615
10616 \series bold
10617 Tacchelli
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Plain Layout
10626 Ugo
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10632 \begin_inset Text
10633
10634 \begin_layout Plain Layout
10635 111
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 </row>
10641 <row>
10642 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Plain Layout
10646
10647 \series bold
10648 Tezzele
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Plain Layout
10657 Margit
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10663 \begin_inset Text
10664
10665 \begin_layout Plain Layout
10666 111
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 </row>
10672 <row>
10673 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Plain Layout
10677
10678 \series bold
10679 Unterkalmsteiner
10680 \end_layout
10681
10682 \end_inset
10683 </cell>
10684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Plain Layout
10688 Frieda
10689 \end_layout
10690
10691 \end_inset
10692 </cell>
10693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10694 \begin_inset Text
10695
10696 \begin_layout Plain Layout
10697 111
10698 \end_layout
10699
10700 \end_inset
10701 </cell>
10702 </row>
10703 <row>
10704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10705 \begin_inset Text
10706
10707 \begin_layout Plain Layout
10708
10709 \series bold
10710 Vieider
10711 \end_layout
10712
10713 \end_inset
10714 </cell>
10715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10716 \begin_inset Text
10717
10718 \begin_layout Plain Layout
10719 Hilde
10720 \end_layout
10721
10722 \end_inset
10723 </cell>
10724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10725 \begin_inset Text
10726
10727 \begin_layout Plain Layout
10728 111
10729 \end_layout
10730
10731 \end_inset
10732 </cell>
10733 </row>
10734 <row>
10735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10736 \begin_inset Text
10737
10738 \begin_layout Plain Layout
10739
10740 \series bold
10741 Vigna
10742 \end_layout
10743
10744 \end_inset
10745 </cell>
10746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10747 \begin_inset Text
10748
10749 \begin_layout Plain Layout
10750 Jürgen
10751 \end_layout
10752
10753 \end_inset
10754 </cell>
10755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10756 \begin_inset Text
10757
10758 \begin_layout Plain Layout
10759 111
10760 \end_layout
10761
10762 \end_inset
10763 </cell>
10764 </row>
10765 <row>
10766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10767 \begin_inset Text
10768
10769 \begin_layout Plain Layout
10770
10771 \series bold
10772 Weber
10773 \end_layout
10774
10775 \end_inset
10776 </cell>
10777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10778 \begin_inset Text
10779
10780 \begin_layout Plain Layout
10781 Maurizio
10782 \end_layout
10783
10784 \end_inset
10785 </cell>
10786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10787 \begin_inset Text
10788
10789 \begin_layout Plain Layout
10790 111
10791 \end_layout
10792
10793 \end_inset
10794 </cell>
10795 </row>
10796 <row>
10797 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10798 \begin_inset Text
10799
10800 \begin_layout Plain Layout
10801
10802 \series bold
10803 Winkler
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Plain Layout
10812 Franz
10813 \end_layout
10814
10815 \end_inset
10816 </cell>
10817 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10818 \begin_inset Text
10819
10820 \begin_layout Plain Layout
10821 111
10822 \end_layout
10823
10824 \end_inset
10825 </cell>
10826 </row>
10827 </lyxtabular>
10828
10829 \end_inset
10830
10831
10832 \end_layout
10833
10834 \begin_layout Section
10835 Multiple Lines Columns and Rows
10836 \end_layout
10837
10838 \begin_layout Subsection
10839 Multiple Lines in Table Cells
10840 \begin_inset CommandInset label
10841 LatexCommand label
10842 name "sub:Multiple-Lines-in"
10843
10844 \end_inset
10845
10846
10847 \begin_inset Index
10848 status collapsed
10849
10850 \begin_layout Plain Layout
10851 Multiple Lines in Table Cells
10852 \end_layout
10853
10854 \end_inset
10855
10856
10857 \begin_inset Index
10858 status collapsed
10859
10860 \begin_layout Plain Layout
10861 Table ! Linebreaks
10862 \end_layout
10863
10864 \end_inset
10865
10866
10867 \end_layout
10868
10869 \begin_layout Standard
10870 \noindent
10871 \begin_inset Float table
10872 placement H
10873 wide false
10874 sideways false
10875 status open
10876
10877 \begin_layout Plain Layout
10878 \begin_inset Caption
10879
10880 \begin_layout Plain Layout
10881 \begin_inset CommandInset label
10882 LatexCommand label
10883 name "tab:Table-with-multiple"
10884
10885 \end_inset
10886
10887 Table with multiple lines in cells
10888 \end_layout
10889
10890 \end_inset
10891
10892
10893 \end_layout
10894
10895 \begin_layout Plain Layout
10896 \align center
10897 \begin_inset Tabular
10898 <lyxtabular version="3" rows="3" columns="3">
10899 <features>
10900 <column alignment="center" valignment="middle" width="2.5cm">
10901 <column alignment="center" valignment="middle" width="0">
10902 <column alignment="center" valignment="middle" width="0">
10903 <row>
10904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10905 \begin_inset Text
10906
10907 \begin_layout Plain Layout
10908 multiple
10909 \begin_inset Newline linebreak
10910 \end_inset
10911
10912 lines
10913 \end_layout
10914
10915 \end_inset
10916 </cell>
10917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10918 \begin_inset Text
10919
10920 \begin_layout Plain Layout
10921 b
10922 \end_layout
10923
10924 \end_inset
10925 </cell>
10926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10927 \begin_inset Text
10928
10929 \begin_layout Plain Layout
10930 c
10931 \end_layout
10932
10933 \end_inset
10934 </cell>
10935 </row>
10936 <row>
10937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10938 \begin_inset Text
10939
10940 \begin_layout Plain Layout
10941 d
10942 \end_layout
10943
10944 \end_inset
10945 </cell>
10946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10947 \begin_inset Text
10948
10949 \begin_layout Plain Layout
10950 e
10951 \end_layout
10952
10953 \end_inset
10954 </cell>
10955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10956 \begin_inset Text
10957
10958 \begin_layout Plain Layout
10959 f
10960 \end_layout
10961
10962 \end_inset
10963 </cell>
10964 </row>
10965 <row>
10966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10967 \begin_inset Text
10968
10969 \begin_layout Plain Layout
10970 g
10971 \end_layout
10972
10973 \end_inset
10974 </cell>
10975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10976 \begin_inset Text
10977
10978 \begin_layout Plain Layout
10979 h
10980 \end_layout
10981
10982 \end_inset
10983 </cell>
10984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10985 \begin_inset Text
10986
10987 \begin_layout Plain Layout
10988 i
10989 \end_layout
10990
10991 \end_inset
10992 </cell>
10993 </row>
10994 </lyxtabular>
10995
10996 \end_inset
10997
10998
10999 \end_layout
11000
11001 \end_inset
11002
11003
11004 \end_layout
11005
11006 \begin_layout Standard
11007 Adjusting a fixed width for a column, enables to enter text as a paragraph
11008  with multiple lines and hyphenations.
11009 \end_layout
11010
11011 \begin_layout Standard
11012 To produce Table
11013 \begin_inset space ~
11014 \end_inset
11015
11016
11017 \begin_inset CommandInset ref
11018 LatexCommand ref
11019 reference "tab:Table-with-multiple"
11020
11021 \end_inset
11022
11023 , create a 3×3 table, mark the first cell and right-click on it.
11024  In the appearing table dialog we set a cell width of 2.5
11025 \begin_inset space \thinspace{}
11026 \end_inset
11027
11028 cm and choose centered for the vertical and horizontal alignment.
11029  The vertical alignment is used for all cells of the row.
11030  As our text is smaller than than 2.5
11031 \begin_inset space \thinspace{}
11032 \end_inset
11033
11034 cm, only one line will appear.
11035  To get two lines, a justified line break (shortcut 
11036 \begin_inset Info
11037 type  "shortcut"
11038 arg   "newline-insert linebreak"
11039 \end_inset
11040
11041 ) was added.
11042  If the text is wider than the set cell width, it will automatically be
11043  broken to several lines.
11044 \end_layout
11045
11046 \begin_layout Standard
11047 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11048  by LaTeX if it is the first entry.
11049  Therefore you need to insert something, to make the word not being the
11050  first entry.
11051  So add a horizontal space of 0
11052 \begin_inset space \thinspace{}
11053 \end_inset
11054
11055 pt before the word.
11056  As the space is zero, it doesn't change the output.
11057  Table
11058 \begin_inset space ~
11059 \end_inset
11060
11061
11062 \begin_inset CommandInset ref
11063 LatexCommand ref
11064 reference "tab:Table-with-and"
11065
11066 \end_inset
11067
11068  shows the effect.
11069 \end_layout
11070
11071 \begin_layout Standard
11072 \begin_inset Float table
11073 placement h
11074 wide false
11075 sideways false
11076 status open
11077
11078 \begin_layout Plain Layout
11079 \begin_inset Caption
11080
11081 \begin_layout Plain Layout
11082 \begin_inset CommandInset label
11083 LatexCommand label
11084 name "tab:Table-with-and"
11085
11086 \end_inset
11087
11088 Table with and without hyphenation
11089 \end_layout
11090
11091 \end_inset
11092
11093
11094 \end_layout
11095
11096 \begin_layout Plain Layout
11097 \begin_inset space \hfill{}
11098 \end_inset
11099
11100
11101 \begin_inset Tabular
11102 <lyxtabular version="3" rows="3" columns="3">
11103 <features>
11104 <column alignment="center" valignment="middle" width="2.5cm">
11105 <column alignment="center" valignment="middle" width="0">
11106 <column alignment="center" valignment="middle" width="0">
11107 <row>
11108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11109 \begin_inset Text
11110
11111 \begin_layout Plain Layout
11112 verylongtablecellword
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11118 \begin_inset Text
11119
11120 \begin_layout Plain Layout
11121 b
11122 \end_layout
11123
11124 \end_inset
11125 </cell>
11126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Plain Layout
11130 c
11131 \end_layout
11132
11133 \end_inset
11134 </cell>
11135 </row>
11136 <row>
11137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11138 \begin_inset Text
11139
11140 \begin_layout Plain Layout
11141 d
11142 \end_layout
11143
11144 \end_inset
11145 </cell>
11146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11147 \begin_inset Text
11148
11149 \begin_layout Plain Layout
11150 e
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11156 \begin_inset Text
11157
11158 \begin_layout Plain Layout
11159 f
11160 \end_layout
11161
11162 \end_inset
11163 </cell>
11164 </row>
11165 <row>
11166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11167 \begin_inset Text
11168
11169 \begin_layout Plain Layout
11170 g
11171 \end_layout
11172
11173 \end_inset
11174 </cell>
11175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11176 \begin_inset Text
11177
11178 \begin_layout Plain Layout
11179 h
11180 \end_layout
11181
11182 \end_inset
11183 </cell>
11184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11185 \begin_inset Text
11186
11187 \begin_layout Plain Layout
11188 i
11189 \end_layout
11190
11191 \end_inset
11192 </cell>
11193 </row>
11194 </lyxtabular>
11195
11196 \end_inset
11197
11198
11199 \begin_inset space \hfill{}
11200 \end_inset
11201
11202
11203 \begin_inset Tabular
11204 <lyxtabular version="3" rows="3" columns="3">
11205 <features>
11206 <column alignment="center" valignment="middle" width="2.5cm">
11207 <column alignment="center" valignment="middle" width="0">
11208 <column alignment="center" valignment="middle" width="0">
11209 <row>
11210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11211 \begin_inset Text
11212
11213 \begin_layout Plain Layout
11214 \begin_inset space \hspace{}
11215 \length 0pt
11216 \end_inset
11217
11218 verylongtablecellword
11219 \end_layout
11220
11221 \end_inset
11222 </cell>
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11224 \begin_inset Text
11225
11226 \begin_layout Plain Layout
11227 b
11228 \end_layout
11229
11230 \end_inset
11231 </cell>
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11233 \begin_inset Text
11234
11235 \begin_layout Plain Layout
11236 c
11237 \end_layout
11238
11239 \end_inset
11240 </cell>
11241 </row>
11242 <row>
11243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11244 \begin_inset Text
11245
11246 \begin_layout Plain Layout
11247 d
11248 \end_layout
11249
11250 \end_inset
11251 </cell>
11252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_inset Text
11254
11255 \begin_layout Plain Layout
11256 e
11257 \end_layout
11258
11259 \end_inset
11260 </cell>
11261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11262 \begin_inset Text
11263
11264 \begin_layout Plain Layout
11265 f
11266 \end_layout
11267
11268 \end_inset
11269 </cell>
11270 </row>
11271 <row>
11272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11273 \begin_inset Text
11274
11275 \begin_layout Plain Layout
11276 g
11277 \end_layout
11278
11279 \end_inset
11280 </cell>
11281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11282 \begin_inset Text
11283
11284 \begin_layout Plain Layout
11285 h
11286 \end_layout
11287
11288 \end_inset
11289 </cell>
11290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11291 \begin_inset Text
11292
11293 \begin_layout Plain Layout
11294 i
11295 \end_layout
11296
11297 \end_inset
11298 </cell>
11299 </row>
11300 </lyxtabular>
11301
11302 \end_inset
11303
11304
11305 \begin_inset space \hfill{}
11306 \end_inset
11307
11308
11309 \end_layout
11310
11311 \end_inset
11312
11313
11314 \end_layout
11315
11316 \begin_layout Subsection
11317 Multicolumns
11318 \begin_inset CommandInset label
11319 LatexCommand label
11320 name "sub:Multicolumns"
11321
11322 \end_inset
11323
11324
11325 \begin_inset Index
11326 status collapsed
11327
11328 \begin_layout Plain Layout
11329 Multicolumns
11330 \end_layout
11331
11332 \end_inset
11333
11334
11335 \begin_inset Index
11336 status collapsed
11337
11338 \begin_layout Plain Layout
11339 Table ! Multicolumns
11340 \end_layout
11341
11342 \end_inset
11343
11344
11345 \end_layout
11346
11347 \begin_layout Subsubsection
11348 Multicolumn Basics
11349 \end_layout
11350
11351 \begin_layout Standard
11352 To span a cell over multiple columns, mark as much cells within a line that
11353  should be one spanned cell and use either the table-toolbar button 
11354 \begin_inset Graphics
11355         filename ../images/tabular-feature_multicolumn.png
11356         scale 85
11357         scaleBeforeRotation
11358
11359 \end_inset
11360
11361 , or the menu 
11362 \family sans
11363 Edit\SpecialChar \menuseparator
11364 Table\SpecialChar \menuseparator
11365 Multicolumn
11366 \family default
11367 , or right click on the marked cells and choose multicolumn in the appearing
11368  table dialog under the tab 
11369 \family sans
11370 Table Settings
11371 \family default
11372 .
11373 \end_layout
11374
11375 \begin_layout Standard
11376 Multicolumns have there own cell settings.
11377  That means changing cell borders, cell alignment, and the width only affects
11378  the multicolumn.
11379  Here is an example table with a multicolumn cell in the first row and one
11380  in the last row without the upper border:
11381 \end_layout
11382
11383 \begin_layout Standard
11384 \align center
11385 \begin_inset Tabular
11386 <lyxtabular version="3" rows="3" columns="4">
11387 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11388 <column alignment="center" valignment="top" width="0pt">
11389 <column alignment="center" valignment="middle" width="0">
11390 <column alignment="center" valignment="top" width="0in">
11391 <column alignment="center" valignment="top" width="0pt">
11392 <row>
11393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11394 \begin_inset Text
11395
11396 \begin_layout Plain Layout
11397 abc
11398 \end_layout
11399
11400 \end_inset
11401 </cell>
11402 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11403 \begin_inset Text
11404
11405 \begin_layout Plain Layout
11406 def ghi
11407 \end_layout
11408
11409 \end_inset
11410 </cell>
11411 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11412 \begin_inset Text
11413
11414 \begin_layout Plain Layout
11415
11416 \end_layout
11417
11418 \end_inset
11419 </cell>
11420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11421 \begin_inset Text
11422
11423 \begin_layout Plain Layout
11424 jkl
11425 \end_layout
11426
11427 \end_inset
11428 </cell>
11429 </row>
11430 <row>
11431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11432 \begin_inset Text
11433
11434 \begin_layout Plain Layout
11435
11436 \family roman
11437 \series medium
11438 \shape up
11439 \size normal
11440 \emph off
11441 \bar no
11442 \noun off
11443 \color none
11444 A
11445 \end_layout
11446
11447 \end_inset
11448 </cell>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Plain Layout
11453 B
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11459 \begin_inset Text
11460
11461 \begin_layout Plain Layout
11462 C
11463 \end_layout
11464
11465 \end_inset
11466 </cell>
11467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11468 \begin_inset Text
11469
11470 \begin_layout Plain Layout
11471 D
11472 \end_layout
11473
11474 \end_inset
11475 </cell>
11476 </row>
11477 <row>
11478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 1
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11488 \begin_inset Text
11489
11490 \begin_layout Plain Layout
11491 2
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Plain Layout
11500 3
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Plain Layout
11509 4
11510 \end_layout
11511
11512 \end_inset
11513 </cell>
11514 </row>
11515 </lyxtabular>
11516
11517 \end_inset
11518
11519
11520 \end_layout
11521
11522 \begin_layout Subsubsection
11523 Multicolumn Calculations
11524 \begin_inset CommandInset label
11525 LatexCommand label
11526 name "sub:Multicolumn-Calculations"
11527
11528 \end_inset
11529
11530
11531 \begin_inset Index
11532 status collapsed
11533
11534 \begin_layout Plain Layout
11535 Multicolumns ! Calculations
11536 \end_layout
11537
11538 \end_inset
11539
11540
11541 \end_layout
11542
11543 \begin_layout Standard
11544 LyX supports multicolumns directly, but we have to take notice of the cell
11545  width of the columns spanned by the multicolumn cell.
11546 \end_layout
11547
11548 \begin_layout Standard
11549 \begin_inset Float table
11550 placement h
11551 wide false
11552 sideways false
11553 status open
11554
11555 \begin_layout Plain Layout
11556 \begin_inset Caption
11557
11558 \begin_layout Plain Layout
11559 \begin_inset CommandInset label
11560 LatexCommand label
11561 name "tab:Table-with-centered"
11562
11563 \end_inset
11564
11565 Table with centered multicolumn text above two columns that have exactly
11566  half the width of the multicolumn cell
11567 \begin_inset OptArg
11568 status collapsed
11569
11570 \begin_layout Plain Layout
11571 Perfect multicolumn table
11572 \end_layout
11573
11574 \end_inset
11575
11576
11577 \end_layout
11578
11579 \end_inset
11580
11581
11582 \end_layout
11583
11584 \begin_layout Plain Layout
11585 \align center
11586 \begin_inset Tabular
11587 <lyxtabular version="3" rows="3" columns="3">
11588 <features>
11589 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11590 <column alignment="center" valignment="middle" width="0">
11591 <column alignment="center" valignment="top" width="0">
11592 <row>
11593 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11594 \begin_inset Text
11595
11596 \begin_layout Plain Layout
11597 multiple lines multicolumn
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Plain Layout
11606
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Plain Layout
11615 c
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 </row>
11621 <row>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Plain Layout
11626 d
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11632 \begin_inset Text
11633
11634 \begin_layout Plain Layout
11635 e
11636 \end_layout
11637
11638 \end_inset
11639 </cell>
11640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11641 \begin_inset Text
11642
11643 \begin_layout Plain Layout
11644 f
11645 \end_layout
11646
11647 \end_inset
11648 </cell>
11649 </row>
11650 <row>
11651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11652 \begin_inset Text
11653
11654 \begin_layout Plain Layout
11655 g
11656 \end_layout
11657
11658 \end_inset
11659 </cell>
11660 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11661 \begin_inset Text
11662
11663 \begin_layout Plain Layout
11664 h
11665 \end_layout
11666
11667 \end_inset
11668 </cell>
11669 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11670 \begin_inset Text
11671
11672 \begin_layout Plain Layout
11673 i
11674 \end_layout
11675
11676 \end_inset
11677 </cell>
11678 </row>
11679 </lyxtabular>
11680
11681 \end_inset
11682
11683
11684 \end_layout
11685
11686 \end_inset
11687
11688
11689 \end_layout
11690
11691 \begin_layout Standard
11692 To create for example Table
11693 \begin_inset space ~
11694 \end_inset
11695
11696
11697 \begin_inset CommandInset ref
11698 LatexCommand ref
11699 reference "tab:Table-with-centered"
11700
11701 \end_inset
11702
11703 , mark the first two cells in the first row of a 3×3 table and right-click
11704  on them.
11705  Now choose for this cell 
11706 \emph on
11707 multicolumn
11708 \emph default
11709
11710 \emph on
11711 centered alignment
11712 \emph default
11713  and a width of 2.5
11714 \begin_inset space \thinspace{}
11715 \end_inset
11716
11717 cm in the table dialog.
11718  The spanned columns should have exactly half the width of the multicolumn
11719  cell, so that you would adjust a width of 1.25
11720 \begin_inset space \thinspace{}
11721 \end_inset
11722
11723 cm for the first column.
11724  The second column has then automatically a width of 1.25
11725 \begin_inset space \thinspace{}
11726 \end_inset
11727
11728 cm (multicolumn width - width of first column).
11729  This was done for Table
11730 \begin_inset space ~
11731 \end_inset
11732
11733
11734 \begin_inset CommandInset ref
11735 LatexCommand ref
11736 reference "tab:Table-without-half"
11737
11738 \end_inset
11739
11740 .
11741 \end_layout
11742
11743 \begin_layout Standard
11744 \begin_inset Float table
11745 wide false
11746 sideways false
11747 status open
11748
11749 \begin_layout Plain Layout
11750 \begin_inset Caption
11751
11752 \begin_layout Plain Layout
11753 \begin_inset CommandInset label
11754 LatexCommand label
11755 name "tab:Table-without-half"
11756
11757 \end_inset
11758
11759 Table where the spanned table columns have not exactly half the width of
11760  the multicolumn cell
11761 \begin_inset OptArg
11762 status collapsed
11763
11764 \begin_layout Plain Layout
11765 Imperfect multicolumn table
11766 \end_layout
11767
11768 \end_inset
11769
11770
11771 \end_layout
11772
11773 \end_inset
11774
11775
11776 \end_layout
11777
11778 \begin_layout Plain Layout
11779 \align center
11780 \begin_inset Tabular
11781 <lyxtabular version="3" rows="3" columns="3">
11782 <features>
11783 <column alignment="center" valignment="top" width="1.25cm">
11784 <column alignment="center" valignment="top" width="0">
11785 <column alignment="center" valignment="top" width="0">
11786 <row>
11787 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11788 \begin_inset Text
11789
11790 \begin_layout Plain Layout
11791 multiple lines multicolumn
11792 \end_layout
11793
11794 \end_inset
11795 </cell>
11796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11797 \begin_inset Text
11798
11799 \begin_layout Plain Layout
11800
11801 \end_layout
11802
11803 \end_inset
11804 </cell>
11805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11806 \begin_inset Text
11807
11808 \begin_layout Plain Layout
11809 c
11810 \end_layout
11811
11812 \end_inset
11813 </cell>
11814 </row>
11815 <row>
11816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11817 \begin_inset Text
11818
11819 \begin_layout Plain Layout
11820 d
11821 \end_layout
11822
11823 \end_inset
11824 </cell>
11825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11826 \begin_inset Text
11827
11828 \begin_layout Plain Layout
11829 e
11830 \end_layout
11831
11832 \end_inset
11833 </cell>
11834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11835 \begin_inset Text
11836
11837 \begin_layout Plain Layout
11838 f
11839 \end_layout
11840
11841 \end_inset
11842 </cell>
11843 </row>
11844 <row>
11845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11846 \begin_inset Text
11847
11848 \begin_layout Plain Layout
11849 g
11850 \end_layout
11851
11852 \end_inset
11853 </cell>
11854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11855 \begin_inset Text
11856
11857 \begin_layout Plain Layout
11858 h
11859 \end_layout
11860
11861 \end_inset
11862 </cell>
11863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11864 \begin_inset Text
11865
11866 \begin_layout Plain Layout
11867 i
11868 \end_layout
11869
11870 \end_inset
11871 </cell>
11872 </row>
11873 </lyxtabular>
11874
11875 \end_inset
11876
11877
11878 \end_layout
11879
11880 \end_inset
11881
11882
11883 \end_layout
11884
11885 \begin_layout Standard
11886 You can see that the first column has not the half width of the multicolumn
11887  cell, it is a bit bigger.
11888  The reason is that the given width of a cell 
11889 \begin_inset Formula $W_{g}$
11890 \end_inset
11891
11892  is not its total width 
11893 \begin_inset Formula $W_{\mathrm{tot}}$
11894 \end_inset
11895
11896  because a cell is always a bit larger than its given width.
11897  Appendix
11898 \begin_inset space ~
11899 \end_inset
11900
11901
11902 \begin_inset CommandInset ref
11903 LatexCommand eqref
11904 reference "cha:Explanation-of-Equation"
11905
11906 \end_inset
11907
11908  explains it in detail.
11909 \end_layout
11910
11911 \begin_layout Standard
11912 The needed given width 
11913 \begin_inset Formula $W_{g\, n}$
11914 \end_inset
11915
11916  when 
11917 \emph on
11918 n
11919 \emph default
11920  columns are spanned can be calculated, so that each column has a total
11921  width of 
11922 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11923 \end_inset
11924
11925 :
11926 \begin_inset Formula \begin{equation}
11927 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11928
11929 \end_inset
11930
11931
11932 \end_layout
11933
11934 \begin_layout Standard
11935 In our case we have 
11936 \begin_inset Formula $n=2$
11937 \end_inset
11938
11939
11940 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11941 \end_inset
11942
11943 cm and the default values for the lengths, so that equation 
11944 \begin_inset CommandInset ref
11945 LatexCommand ref
11946 reference "eq:Wgn"
11947
11948 \end_inset
11949
11950  becomes
11951 \begin_inset Formula \begin{equation}
11952 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11953
11954 \end_inset
11955
11956
11957 \end_layout
11958
11959 \begin_layout Standard
11960 To enable calculations in LaTeX, the LaTeX-package 
11961 \series bold
11962 calc
11963 \series default
11964  must be loaded with the document preamble line
11965 \begin_inset Index
11966 status collapsed
11967
11968 \begin_layout Plain Layout
11969 LaTeX-packages ! calc
11970 \end_layout
11971
11972 \end_inset
11973
11974
11975 \end_layout
11976
11977 \begin_layout Standard
11978
11979 \series bold
11980
11981 \backslash
11982 usepackage{calc}
11983 \end_layout
11984
11985 \begin_layout Standard
11986 LyX does not allow to calculate lengths in the width-field of the table
11987  dialog.
11988  Therefore you have to format the column by inserting a LaTeX-argument in
11989  the dialog.
11990  Here is an overview about the arguments:
11991 \end_layout
11992
11993 \begin_layout Itemize
11994
11995 \series bold
11996 p{width}
11997 \series default
11998  creates cell with a fixed width, its text is vertically top-aligned
11999 \end_layout
12000
12001 \begin_layout Itemize
12002
12003 \series bold
12004 m{width}
12005 \series default
12006  creates cell with a fixed width, its text is vertically centered
12007 \end_layout
12008
12009 \begin_layout Itemize
12010
12011 \series bold
12012 b{width}
12013 \series default
12014  creates cell with a fixed width, its text is vertically bottom-aligned
12015 \end_layout
12016
12017 \begin_layout Standard
12018 By entering a LaTeX-argument, all cell settings set in the table dialog
12019  are overwritten.
12020 \end_layout
12021
12022 \begin_layout Standard
12023 \begin_inset Note Greyedout
12024 status open
12025
12026 \begin_layout Plain Layout
12027
12028 \series bold
12029 Note:
12030 \series default
12031  Due to a bug, LyX shows the overwritten settings anyway.
12032 \end_layout
12033
12034 \end_inset
12035
12036
12037 \end_layout
12038
12039 \begin_layout Standard
12040 As the text should be horizontally centered, the command 
12041 \series bold
12042
12043 \backslash
12044 centering
12045 \series default
12046  is added.
12047  You can now enter the following LaTeX-argument for the first spanned column:
12048 \end_layout
12049
12050 \begin_layout Standard
12051
12052 \series bold
12053 >{
12054 \backslash
12055 centering}m{1.25cm-6.2pt}
12056 \end_layout
12057
12058 \begin_layout Standard
12059 The command 
12060 \series bold
12061 >{ }
12062 \series default
12063  means, that the commands inside the braces are applied before the cell
12064  is created.
12065 \end_layout
12066
12067 \begin_layout Standard
12068 Although we have chosen centered alignment for the text of the multicolumn
12069  cell, it is still left aligned.
12070  This is because LyX only applies the alignment to single columns.
12071  So we have to use for the multicolumn the LaTeX-argument
12072 \end_layout
12073
12074 \begin_layout Standard
12075
12076 \series bold
12077 >{
12078 \backslash
12079 centering}m{2.5cm}
12080 \end_layout
12081
12082 \begin_layout Subsection
12083 Multirows
12084 \begin_inset Index
12085 status collapsed
12086
12087 \begin_layout Plain Layout
12088 Multirows
12089 \end_layout
12090
12091 \end_inset
12092
12093
12094 \begin_inset Index
12095 status collapsed
12096
12097 \begin_layout Plain Layout
12098 Table ! Multirows
12099 \end_layout
12100
12101 \end_inset
12102
12103
12104 \end_layout
12105
12106 \begin_layout Standard
12107 In contrary to multicolumns multirows are not yet supported by LyX so a
12108  bit of TeX-Code needs to be used.
12109  To use multirows load the LaTeX-package 
12110 \series bold
12111 multirow
12112 \series default
12113
12114 \begin_inset Index
12115 status collapsed
12116
12117 \begin_layout Plain Layout
12118 LaTeX-packages ! multirow
12119 \end_layout
12120
12121 \end_inset
12122
12123  in your document preamble with the command
12124 \end_layout
12125
12126 \begin_layout Standard
12127
12128 \series bold
12129
12130 \backslash
12131 usepackage{multirow}
12132 \end_layout
12133
12134 \begin_layout Standard
12135 Multirows are created with the command
12136 \end_layout
12137
12138 \begin_layout Standard
12139
12140 \series bold
12141
12142 \backslash
12143 multirow{number of rows}{cell width}{cell entry}
12144 \end_layout
12145
12146 \begin_layout Standard
12147 To create the following table:
12148 \end_layout
12149
12150 \begin_layout Standard
12151 \align center
12152 \begin_inset ERT
12153 status collapsed
12154
12155 \begin_layout Plain Layout
12156
12157
12158 \backslash
12159 renewcommand{
12160 \backslash
12161 multirowsetup}{
12162 \backslash
12163 centering}
12164 \end_layout
12165
12166 \end_inset
12167
12168
12169 \begin_inset Tabular
12170 <lyxtabular version="3" rows="3" columns="3">
12171 <features>
12172 <column alignment="center" valignment="top" width="0">
12173 <column alignment="center" valignment="top" width="0">
12174 <column alignment="center" valignment="top" width="0">
12175 <row>
12176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12177 \begin_inset Text
12178
12179 \begin_layout Plain Layout
12180 a
12181 \end_layout
12182
12183 \end_inset
12184 </cell>
12185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12186 \begin_inset Text
12187
12188 \begin_layout Plain Layout
12189 b
12190 \end_layout
12191
12192 \end_inset
12193 </cell>
12194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12195 \begin_inset Text
12196
12197 \begin_layout Plain Layout
12198 c
12199 \end_layout
12200
12201 \end_inset
12202 </cell>
12203 </row>
12204 <row>
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12206 \begin_inset Text
12207
12208 \begin_layout Plain Layout
12209 \begin_inset ERT
12210 status collapsed
12211
12212 \begin_layout Plain Layout
12213
12214
12215 \backslash
12216 multirow{2}{2.5cm}{
12217 \end_layout
12218
12219 \end_inset
12220
12221 multirow entry
12222 \begin_inset ERT
12223 status collapsed
12224
12225 \begin_layout Plain Layout
12226
12227 }
12228 \end_layout
12229
12230 \end_inset
12231
12232
12233 \end_layout
12234
12235 \end_inset
12236 </cell>
12237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12238 \begin_inset Text
12239
12240 \begin_layout Plain Layout
12241 e
12242 \end_layout
12243
12244 \end_inset
12245 </cell>
12246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12247 \begin_inset Text
12248
12249 \begin_layout Plain Layout
12250 f
12251 \end_layout
12252
12253 \end_inset
12254 </cell>
12255 </row>
12256 <row>
12257 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12258 \begin_inset Text
12259
12260 \begin_layout Plain Layout
12261
12262 \end_layout
12263
12264 \end_inset
12265 </cell>
12266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12267 \begin_inset Text
12268
12269 \begin_layout Plain Layout
12270 h
12271 \end_layout
12272
12273 \end_inset
12274 </cell>
12275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12276 \begin_inset Text
12277
12278 \begin_layout Plain Layout
12279 i
12280 \end_layout
12281
12282 \end_inset
12283 </cell>
12284 </row>
12285 </lyxtabular>
12286
12287 \end_inset
12288
12289
12290 \begin_inset ERT
12291 status collapsed
12292
12293 \begin_layout Plain Layout
12294
12295
12296 \backslash
12297 renewcommand{
12298 \backslash
12299 multirowsetup}{
12300 \backslash
12301 raggedright}
12302 \end_layout
12303
12304 \end_inset
12305
12306
12307 \end_layout
12308
12309 \begin_layout Standard
12310 create a 3×3 table.
12311  Unset the upper border of the last cell in the first column.
12312  The multirow is now created in the second row of the first column by inserting
12313  there the command
12314 \end_layout
12315
12316 \begin_layout Standard
12317
12318 \series bold
12319
12320 \backslash
12321 multirow{2}{2.5cm}{
12322 \end_layout
12323
12324 \begin_layout Standard
12325 as TeX-Code.
12326  According to the command parameters the multirow spans now two rows and
12327  has a width of 2.5
12328 \begin_inset space \thinspace{}
12329 \end_inset
12330
12331 cm.
12332  The content of the multirow cell follows outside the TeX-Code box and the
12333  command is finished with a right brace 
12334 \series bold
12335 }
12336 \series default
12337  in another TeX-Code-box behind the text.
12338 \end_layout
12339
12340 \begin_layout Standard
12341
12342 \series bold
12343
12344 \backslash
12345 multirow
12346 \series default
12347  left-aligns its content by default.
12348  To override the default, renew the command 
12349 \series bold
12350
12351 \backslash
12352 multirowsetup
12353 \series default
12354  with the command
12355 \end_layout
12356
12357 \begin_layout Standard
12358
12359 \series bold
12360
12361 \backslash
12362 renewcommand{
12363 \backslash
12364 multirowsetup}{
12365 \backslash
12366 centering}
12367 \end_layout
12368
12369 \begin_layout Standard
12370 in TeX-Code in the document preamble.
12371  Then all entries of multirow cells in the document are centered.
12372  If centering is only needed for several tables, you can renew the command
12373  in an TeX-Code box just before the table instead of the preamble.
12374  If the text should be right-aligned, replace 
12375 \series bold
12376
12377 \backslash
12378 centering
12379 \series default
12380  by 
12381 \series bold
12382
12383 \backslash
12384 raggedleft
12385 \series default
12386 .
12387  To return to left-alignment 
12388 \series bold
12389
12390 \backslash
12391 raggedright
12392 \series default
12393  is used.
12394 \end_layout
12395
12396 \begin_layout Section
12397 Formal Tables
12398 \begin_inset CommandInset label
12399 LatexCommand label
12400 name "sec:Formal-Tables"
12401
12402 \end_inset
12403
12404
12405 \begin_inset Index
12406 status collapsed
12407
12408 \begin_layout Plain Layout
12409 Table ! Formal
12410 \end_layout
12411
12412 \end_inset
12413
12414
12415 \end_layout
12416
12417 \begin_layout Standard
12418 Tables are often typeset in books similar to Table
12419 \begin_inset space ~
12420 \end_inset
12421
12422
12423 \begin_inset CommandInset ref
12424 LatexCommand ref
12425 reference "tab:Example-booktabs-table"
12426
12427 \end_inset
12428
12429 .
12430  This kind of tables is called 
12431 \begin_inset Quotes eld
12432 \end_inset
12433
12434
12435 \emph on
12436 formal
12437 \emph default
12438
12439 \begin_inset Quotes erd
12440 \end_inset
12441
12442 .
12443  To make a table a formal table use the option 
12444 \family sans
12445 Formal
12446 \family default
12447  in the 
12448 \family sans
12449 Borders
12450 \family default
12451  tab of the table dialog.
12452 \end_layout
12453
12454 \begin_layout Standard
12455 \begin_inset Float table
12456 placement h
12457 wide false
12458 sideways false
12459 status open
12460
12461 \begin_layout Plain Layout
12462 \begin_inset Caption
12463
12464 \begin_layout Plain Layout
12465 \begin_inset CommandInset label
12466 LatexCommand label
12467 name "tab:Example-booktabs-table"
12468
12469 \end_inset
12470
12471 Example booktabs-table
12472 \end_layout
12473
12474 \end_inset
12475
12476
12477 \end_layout
12478
12479 \begin_layout Plain Layout
12480 \align center
12481 \begin_inset Tabular
12482 <lyxtabular version="3" rows="8" columns="4">
12483 <features booktabs="true">
12484 <column alignment="center" valignment="top" width="0">
12485 <column alignment="center" valignment="top" width="0">
12486 <column alignment="center" valignment="top" width="0">
12487 <column alignment="center" valignment="top" width="0">
12488 <row>
12489 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12490 \begin_inset Text
12491
12492 \begin_layout Plain Layout
12493 System
12494 \end_layout
12495
12496 \end_inset
12497 </cell>
12498 <cell alignment="center" valignment="top" topline="true" usebox="none">
12499 \begin_inset Text
12500
12501 \begin_layout Plain Layout
12502 Medipix
12503 \begin_inset space \thinspace{}
12504 \end_inset
12505
12506 1
12507 \end_layout
12508
12509 \end_inset
12510 </cell>
12511 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12512 \begin_inset Text
12513
12514 \begin_layout Plain Layout
12515 Medipix
12516 \begin_inset space \thinspace{}
12517 \end_inset
12518
12519 2
12520 \end_layout
12521
12522 \end_inset
12523 </cell>
12524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12525 \begin_inset Text
12526
12527 \begin_layout Plain Layout
12528
12529 \end_layout
12530
12531 \end_inset
12532 </cell>
12533 </row>
12534 <row>
12535 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12536 \begin_inset Text
12537
12538 \begin_layout Plain Layout
12539 \begin_inset ERT
12540 status collapsed
12541
12542 \begin_layout Plain Layout
12543
12544
12545 \backslash
12546 cmidrule(r){2-2}
12547 \end_layout
12548
12549 \end_inset
12550
12551
12552 \begin_inset ERT
12553 status collapsed
12554
12555 \begin_layout Plain Layout
12556
12557
12558 \backslash
12559 cmidrule(l){3-4}
12560 \end_layout
12561
12562 \end_inset
12563
12564 Detector thickness [µm]
12565 \end_layout
12566
12567 \end_inset
12568 </cell>
12569 <cell alignment="center" valignment="top" usebox="none">
12570 \begin_inset Text
12571
12572 \begin_layout Plain Layout
12573 300
12574 \end_layout
12575
12576 \end_inset
12577 </cell>
12578 <cell alignment="center" valignment="top" usebox="none">
12579 \begin_inset Text
12580
12581 \begin_layout Plain Layout
12582 300
12583 \end_layout
12584
12585 \end_inset
12586 </cell>
12587 <cell alignment="center" valignment="top" usebox="none">
12588 \begin_inset Text
12589
12590 \begin_layout Plain Layout
12591 700
12592 \end_layout
12593
12594 \end_inset
12595 </cell>
12596 </row>
12597 <row>
12598 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12599 \begin_inset Text
12600
12601 \begin_layout Plain Layout
12602 Edge angle [°]
12603 \end_layout
12604
12605 \end_inset
12606 </cell>
12607 <cell alignment="center" valignment="top" topline="true" usebox="none">
12608 \begin_inset Text
12609
12610 \begin_layout Plain Layout
12611 3.55
12612 \end_layout
12613
12614 \end_inset
12615 </cell>
12616 <cell alignment="center" valignment="top" topline="true" usebox="none">
12617 \begin_inset Text
12618
12619 \begin_layout Plain Layout
12620 2.71
12621 \end_layout
12622
12623 \end_inset
12624 </cell>
12625 <cell alignment="center" valignment="top" topline="true" usebox="none">
12626 \begin_inset Text
12627
12628 \begin_layout Plain Layout
12629 7.99
12630 \end_layout
12631
12632 \end_inset
12633 </cell>
12634 </row>
12635 <row topspace="default">
12636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12637 \begin_inset Text
12638
12639 \begin_layout Plain Layout
12640 Spatial resolution [µm]
12641 \end_layout
12642
12643 \end_inset
12644 </cell>
12645 <cell alignment="center" valignment="top" usebox="none">
12646 \begin_inset Text
12647
12648 \begin_layout Plain Layout
12649 4.26
12650 \end_layout
12651
12652 \end_inset
12653 </cell>
12654 <cell alignment="center" valignment="top" usebox="none">
12655 \begin_inset Text
12656
12657 \begin_layout Plain Layout
12658 10.17
12659 \end_layout
12660
12661 \end_inset
12662 </cell>
12663 <cell alignment="center" valignment="top" usebox="none">
12664 \begin_inset Text
12665
12666 \begin_layout Plain Layout
12667 10.56
12668 \end_layout
12669
12670 \end_inset
12671 </cell>
12672 </row>
12673 <row topspace="default">
12674 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12675 \begin_inset Text
12676
12677 \begin_layout Plain Layout
12678 MTF at 
12679 \begin_inset Formula $f_{\mathrm{max}}$
12680 \end_inset
12681
12682
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 0.53
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 0.37
12701 \end_layout
12702
12703 \end_inset
12704 </cell>
12705 <cell alignment="center" valignment="top" usebox="none">
12706 \begin_inset Text
12707
12708 \begin_layout Plain Layout
12709 0.39
12710 \end_layout
12711
12712 \end_inset
12713 </cell>
12714 </row>
12715 <row topspace="default">
12716 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12717 \begin_inset Text
12718
12719 \begin_layout Plain Layout
12720 \begin_inset ERT
12721 status collapsed
12722
12723 \begin_layout Plain Layout
12724
12725
12726 \backslash
12727 cmidrule(l{10pt}){1-1}
12728 \end_layout
12729
12730 \end_inset
12731
12732 LSF-spatial resolution
12733 \end_layout
12734
12735 \end_inset
12736 </cell>
12737 <cell alignment="center" valignment="top" usebox="none">
12738 \begin_inset Text
12739
12740 \begin_layout Plain Layout
12741
12742 \end_layout
12743
12744 \end_inset
12745 </cell>
12746 <cell alignment="center" valignment="top" usebox="none">
12747 \begin_inset Text
12748
12749 \begin_layout Plain Layout
12750
12751 \end_layout
12752
12753 \end_inset
12754 </cell>
12755 <cell alignment="center" valignment="top" usebox="none">
12756 \begin_inset Text
12757
12758 \begin_layout Plain Layout
12759
12760 \end_layout
12761
12762 \end_inset
12763 </cell>
12764 </row>
12765 <row>
12766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12767 \begin_inset Text
12768
12769 \begin_layout Plain Layout
12770 in Âµm
12771 \end_layout
12772
12773 \end_inset
12774 </cell>
12775 <cell alignment="center" valignment="top" usebox="none">
12776 \begin_inset Text
12777
12778 \begin_layout Plain Layout
12779 129.7
12780 \end_layout
12781
12782 \end_inset
12783 </cell>
12784 <cell alignment="center" valignment="top" usebox="none">
12785 \begin_inset Text
12786
12787 \begin_layout Plain Layout
12788 52.75
12789 \end_layout
12790
12791 \end_inset
12792 </cell>
12793 <cell alignment="center" valignment="top" usebox="none">
12794 \begin_inset Text
12795
12796 \begin_layout Plain Layout
12797 50.78
12798 \end_layout
12799
12800 \end_inset
12801 </cell>
12802 </row>
12803 <row>
12804 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12805 \begin_inset Text
12806
12807 \begin_layout Plain Layout
12808 in % of pixel size
12809 \end_layout
12810
12811 \end_inset
12812 </cell>
12813 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12814 \begin_inset Text
12815
12816 \begin_layout Plain Layout
12817 76.3
12818 \end_layout
12819
12820 \end_inset
12821 </cell>
12822 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12823 \begin_inset Text
12824
12825 \begin_layout Plain Layout
12826 95.9
12827 \end_layout
12828
12829 \end_inset
12830 </cell>
12831 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12832 \begin_inset Text
12833
12834 \begin_layout Plain Layout
12835 92.3
12836 \end_layout
12837
12838 \end_inset
12839 </cell>
12840 </row>
12841 </lyxtabular>
12842
12843 \end_inset
12844
12845
12846 \end_layout
12847
12848 \end_inset
12849
12850
12851 \end_layout
12852
12853 \begin_layout Standard
12854 Spaces to table rows can be added using the 
12855 \family sans
12856 Borders
12857 \family default
12858  tab of the table dialog as described in section
12859 \begin_inset space ~
12860 \end_inset
12861
12862
12863 \begin_inset CommandInset ref
12864 LatexCommand ref
12865 reference "sub:Row-Spacing"
12866
12867 \end_inset
12868
12869 .
12870 \end_layout
12871
12872 \begin_layout Standard
12873 In contrary to normal tables, formal tables have no vertical table lines.
12874  The horizontal table lines can be set like for normal tables but they appear
12875  with different width in the output:
12876 \begin_inset Newline newline
12877 \end_inset
12878
12879 The first and the last table line have a default width of 0.08
12880 \begin_inset space \thinspace{}
12881 \end_inset
12882
12883 em while the other lines have a default width of 0.05
12884 \begin_inset space \thinspace{}
12885 \end_inset
12886
12887 em.
12888 \end_layout
12889
12890 \begin_layout Standard
12891 The default widths can be changed with the following preamble lines
12892 \end_layout
12893
12894 \begin_layout Standard
12895
12896 \series bold
12897
12898 \backslash
12899 let
12900 \backslash
12901 mytoprule
12902 \backslash
12903 toprule
12904 \begin_inset Newline newline
12905 \end_inset
12906
12907
12908 \backslash
12909 renewcommand{
12910 \backslash
12911 toprule}{
12912 \backslash
12913 mytoprule[width]}
12914 \end_layout
12915
12916 \begin_layout Standard
12917 This example is for the first line, the so called 
12918 \series bold
12919 toprule
12920 \series default
12921 .
12922  If you want to change the width for the last line, replace 
12923 \series bold
12924 toprule
12925 \series default
12926  by 
12927 \series bold
12928 bottomrule
12929 \series default
12930 .
12931  To change the width for the other lines replace 
12932 \series bold
12933 toprule
12934 \series default
12935  by 
12936 \series bold
12937 midrule
12938 \series default
12939 .
12940  You can use all units listed in appendix
12941 \begin_inset space ~
12942 \end_inset
12943
12944
12945 \begin_inset CommandInset ref
12946 LatexCommand ref
12947 reference "cha:Units-available-in"
12948
12949 \end_inset
12950
12951  to set the width.
12952 \end_layout
12953
12954 \begin_layout Standard
12955 Lines that don't span over all table columns can be created by setting a
12956  table line for multicolumn cells.
12957  LyX will then internally use the command 
12958 \series bold
12959
12960 \backslash
12961 cmidrule
12962 \series default
12963  to create this line.
12964  Its full scheme is
12965 \end_layout
12966
12967 \begin_layout Standard
12968
12969 \series bold
12970
12971 \backslash
12972 cmidrule[width](trim){startcol-endcol}
12973 \end_layout
12974
12975 \begin_layout Standard
12976 The options of 
12977 \series bold
12978
12979 \backslash
12980 cmidrule
12981 \series default
12982  are are currently not supported by LyX so you have to use TeX-Code to be
12983  able to use them.
12984  
12985 \series bold
12986
12987 \backslash
12988 cmidrule
12989 \series default
12990 s can manually be created by inserting the command as TeX-Code as first
12991  cell entry of the first cell of a row.
12992  The line is then drawn in the output above the current row.
12993 \end_layout
12994
12995 \begin_layout Standard
12996 The default for the width is 0.03
12997 \begin_inset space \thinspace{}
12998 \end_inset
12999
13000 em.
13001  Startcol is the number of the column where the line starts and endcol the
13002  column number where the line ends.
13003  The endcol always needs to be specified, also when the line should span
13004  only one column.
13005  The optional parameter trim could be either 
13006 \emph on
13007 l{trimwidth}
13008 \emph default
13009 , or 
13010 \emph on
13011 r{trimwidth}
13012 \emph default
13013  where the trimwidth is also optional.
13014  Using for example the parameter 
13015 \emph on
13016 l{2pt}
13017 \emph default
13018  means that the line is trimmed from its left end by 2
13019 \begin_inset space \thinspace{}
13020 \end_inset
13021
13022 pt.
13023  If you don't specify the trimwidth the lines are trimmed by the default
13024  of 0.5
13025 \begin_inset space \thinspace{}
13026 \end_inset
13027
13028 em.
13029 \end_layout
13030
13031 \begin_layout Standard
13032 \begin_inset VSpace bigskip
13033 \end_inset
13034
13035 Table
13036 \begin_inset space ~
13037 \end_inset
13038
13039
13040 \begin_inset CommandInset ref
13041 LatexCommand ref
13042 reference "tab:Example-booktabs-table"
13043
13044 \end_inset
13045
13046  was created using the commands
13047 \end_layout
13048
13049 \begin_layout Standard
13050
13051 \series bold
13052
13053 \backslash
13054 cmidrule(r){2-2}
13055 \backslash
13056 cmidrule(l){3-4}
13057 \end_layout
13058
13059 \begin_layout Standard
13060 at the beginning of the in the second row and
13061 \end_layout
13062
13063 \begin_layout Standard
13064
13065 \series bold
13066
13067 \backslash
13068 cmidrule(l{10pt}){1-1}
13069 \end_layout
13070
13071 \begin_layout Standard
13072 in the sixth row.
13073 \end_layout
13074
13075 \begin_layout Standard
13076 \begin_inset VSpace bigskip
13077 \end_inset
13078
13079
13080 \end_layout
13081
13082 \begin_layout Standard
13083 You might want to have overlapping 
13084 \series bold
13085
13086 \backslash
13087 cmidrule
13088 \series default
13089 s like in Table
13090 \begin_inset space ~
13091 \end_inset
13092
13093
13094 \begin_inset CommandInset ref
13095 LatexCommand ref
13096 reference "tab:Special-booktabs-table"
13097
13098 \end_inset
13099
13100 .
13101  This can be achieved with the TeX-Code command
13102 \end_layout
13103
13104 \begin_layout Standard
13105
13106 \series bold
13107
13108 \backslash
13109 morecmidrules
13110 \end_layout
13111
13112 \begin_layout Standard
13113 The command that was used for the second row of Table
13114 \begin_inset space ~
13115 \end_inset
13116
13117
13118 \begin_inset CommandInset ref
13119 LatexCommand ref
13120 reference "tab:Special-booktabs-table"
13121
13122 \end_inset
13123
13124  is
13125 \end_layout
13126
13127 \begin_layout Standard
13128
13129 \series bold
13130
13131 \backslash
13132 cmidrule(r){2-2}
13133 \backslash
13134 cmidrule(l){3-4}
13135 \backslash
13136 morecmidrules
13137 \backslash
13138 cmidrule{2-4}
13139 \end_layout
13140
13141 \begin_layout Standard
13142 The command for the sixth row is
13143 \end_layout
13144
13145 \begin_layout Standard
13146
13147 \series bold
13148
13149 \backslash
13150 midrule
13151 \backslash
13152 morecmidrules
13153 \backslash
13154 cmidrule{3-4}
13155 \end_layout
13156
13157 \begin_layout Standard
13158 \begin_inset VSpace bigskip
13159 \end_inset
13160
13161
13162 \end_layout
13163
13164 \begin_layout Standard
13165 If you are anyway not satisfied with the border line spacing, you can use
13166  the following command to produce lines that span over all table columns
13167 \series bold
13168 :
13169 \end_layout
13170
13171 \begin_layout Standard
13172
13173 \series bold
13174
13175 \backslash
13176 specialrule{width}{space above}{space below}
13177 \end_layout
13178
13179 \begin_layout Standard
13180 For more information about these specialties, we refer to the manual of
13181  the LaTeX-package 
13182 \series bold
13183 booktabs
13184 \series default
13185  
13186 \begin_inset CommandInset citation
13187 LatexCommand cite
13188 key "booktabs"
13189
13190 \end_inset
13191
13192 .
13193 \begin_inset Index
13194 status collapsed
13195
13196 \begin_layout Plain Layout
13197 LaTeX-packages ! booktabs
13198 \end_layout
13199
13200 \end_inset
13201
13202
13203 \end_layout
13204
13205 \begin_layout Standard
13206 \begin_inset Float table
13207 placement h
13208 wide false
13209 sideways false
13210 status open
13211
13212 \begin_layout Plain Layout
13213 \begin_inset Caption
13214
13215 \begin_layout Plain Layout
13216 \begin_inset CommandInset label
13217 LatexCommand label
13218 name "tab:Special-booktabs-table"
13219
13220 \end_inset
13221
13222 Special booktabs-table
13223 \end_layout
13224
13225 \end_inset
13226
13227
13228 \end_layout
13229
13230 \begin_layout Plain Layout
13231 \align center
13232 \begin_inset Tabular
13233 <lyxtabular version="3" rows="8" columns="4">
13234 <features booktabs="true">
13235 <column alignment="center" valignment="top" width="0">
13236 <column alignment="center" valignment="top" width="0">
13237 <column alignment="center" valignment="top" width="0">
13238 <column alignment="center" valignment="top" width="0">
13239 <row>
13240 <cell alignment="center" valignment="top" topline="true" usebox="none">
13241 \begin_inset Text
13242
13243 \begin_layout Plain Layout
13244 System
13245 \end_layout
13246
13247 \end_inset
13248 </cell>
13249 <cell alignment="center" valignment="top" topline="true" usebox="none">
13250 \begin_inset Text
13251
13252 \begin_layout Plain Layout
13253 Medipix
13254 \begin_inset space \thinspace{}
13255 \end_inset
13256
13257 1
13258 \end_layout
13259
13260 \end_inset
13261 </cell>
13262 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13263 \begin_inset Text
13264
13265 \begin_layout Plain Layout
13266 Medipix
13267 \begin_inset space \thinspace{}
13268 \end_inset
13269
13270 2
13271 \end_layout
13272
13273 \end_inset
13274 </cell>
13275 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13276 \begin_inset Text
13277
13278 \begin_layout Plain Layout
13279
13280 \end_layout
13281
13282 \end_inset
13283 </cell>
13284 </row>
13285 <row>
13286 <cell alignment="center" valignment="top" usebox="none">
13287 \begin_inset Text
13288
13289 \begin_layout Plain Layout
13290 \begin_inset ERT
13291 status collapsed
13292
13293 \begin_layout Plain Layout
13294
13295
13296 \backslash
13297 cmidrule(r){2-2}
13298 \end_layout
13299
13300 \end_inset
13301
13302
13303 \begin_inset ERT
13304 status collapsed
13305
13306 \begin_layout Plain Layout
13307
13308
13309 \backslash
13310 cmidrule(l){3-4}
13311 \end_layout
13312
13313 \end_inset
13314
13315
13316 \begin_inset ERT
13317 status collapsed
13318
13319 \begin_layout Plain Layout
13320
13321
13322 \backslash
13323 morecmidrules 
13324 \end_layout
13325
13326 \end_inset
13327
13328
13329 \begin_inset ERT
13330 status collapsed
13331
13332 \begin_layout Plain Layout
13333
13334
13335 \backslash
13336 cmidrule{2-4}
13337 \end_layout
13338
13339 \end_inset
13340
13341 Detector thickness [µm]
13342 \end_layout
13343
13344 \end_inset
13345 </cell>
13346 <cell alignment="center" valignment="top" usebox="none">
13347 \begin_inset Text
13348
13349 \begin_layout Plain Layout
13350 300
13351 \end_layout
13352
13353 \end_inset
13354 </cell>
13355 <cell alignment="center" valignment="top" usebox="none">
13356 \begin_inset Text
13357
13358 \begin_layout Plain Layout
13359 300
13360 \end_layout
13361
13362 \end_inset
13363 </cell>
13364 <cell alignment="center" valignment="top" usebox="none">
13365 \begin_inset Text
13366
13367 \begin_layout Plain Layout
13368 700
13369 \end_layout
13370
13371 \end_inset
13372 </cell>
13373 </row>
13374 <row>
13375 <cell alignment="center" valignment="top" topline="true" usebox="none">
13376 \begin_inset Text
13377
13378 \begin_layout Plain Layout
13379 Edge angle [°]
13380 \end_layout
13381
13382 \end_inset
13383 </cell>
13384 <cell alignment="center" valignment="top" topline="true" usebox="none">
13385 \begin_inset Text
13386
13387 \begin_layout Plain Layout
13388 3.55
13389 \end_layout
13390
13391 \end_inset
13392 </cell>
13393 <cell alignment="center" valignment="top" topline="true" usebox="none">
13394 \begin_inset Text
13395
13396 \begin_layout Plain Layout
13397 2.71
13398 \end_layout
13399
13400 \end_inset
13401 </cell>
13402 <cell alignment="center" valignment="top" topline="true" usebox="none">
13403 \begin_inset Text
13404
13405 \begin_layout Plain Layout
13406 7.99
13407 \end_layout
13408
13409 \end_inset
13410 </cell>
13411 </row>
13412 <row topspace="default">
13413 <cell alignment="center" valignment="top" usebox="none">
13414 \begin_inset Text
13415
13416 \begin_layout Plain Layout
13417 Spatial resolution [µm]
13418 \end_layout
13419
13420 \end_inset
13421 </cell>
13422 <cell alignment="center" valignment="top" usebox="none">
13423 \begin_inset Text
13424
13425 \begin_layout Plain Layout
13426 4.26
13427 \end_layout
13428
13429 \end_inset
13430 </cell>
13431 <cell alignment="center" valignment="top" usebox="none">
13432 \begin_inset Text
13433
13434 \begin_layout Plain Layout
13435 10.17
13436 \end_layout
13437
13438 \end_inset
13439 </cell>
13440 <cell alignment="center" valignment="top" usebox="none">
13441 \begin_inset Text
13442
13443 \begin_layout Plain Layout
13444 10.56
13445 \end_layout
13446
13447 \end_inset
13448 </cell>
13449 </row>
13450 <row topspace="default">
13451 <cell alignment="center" valignment="top" usebox="none">
13452 \begin_inset Text
13453
13454 \begin_layout Plain Layout
13455 MTF at 
13456 \begin_inset Formula $f_{\mathrm{max}}$
13457 \end_inset
13458
13459
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 0.53
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 0.37
13478 \end_layout
13479
13480 \end_inset
13481 </cell>
13482 <cell alignment="center" valignment="top" usebox="none">
13483 \begin_inset Text
13484
13485 \begin_layout Plain Layout
13486 0.39
13487 \end_layout
13488
13489 \end_inset
13490 </cell>
13491 </row>
13492 <row>
13493 <cell alignment="center" valignment="top" topline="true" usebox="none">
13494 \begin_inset Text
13495
13496 \begin_layout Plain Layout
13497 \begin_inset ERT
13498 status collapsed
13499
13500 \begin_layout Plain Layout
13501
13502
13503 \backslash
13504 morecmidrules 
13505 \end_layout
13506
13507 \end_inset
13508
13509
13510 \begin_inset ERT
13511 status collapsed
13512
13513 \begin_layout Plain Layout
13514
13515
13516 \backslash
13517 cmidrule{3-4}
13518 \end_layout
13519
13520 \end_inset
13521
13522 LSF-spatial resolution
13523 \end_layout
13524
13525 \end_inset
13526 </cell>
13527 <cell alignment="center" valignment="top" topline="true" usebox="none">
13528 \begin_inset Text
13529
13530 \begin_layout Plain Layout
13531
13532 \end_layout
13533
13534 \end_inset
13535 </cell>
13536 <cell alignment="center" valignment="top" topline="true" usebox="none">
13537 \begin_inset Text
13538
13539 \begin_layout Plain Layout
13540
13541 \end_layout
13542
13543 \end_inset
13544 </cell>
13545 <cell alignment="center" valignment="top" topline="true" usebox="none">
13546 \begin_inset Text
13547
13548 \begin_layout Plain Layout
13549
13550 \end_layout
13551
13552 \end_inset
13553 </cell>
13554 </row>
13555 <row>
13556 <cell alignment="center" valignment="top" usebox="none">
13557 \begin_inset Text
13558
13559 \begin_layout Plain Layout
13560 in Âµm
13561 \end_layout
13562
13563 \end_inset
13564 </cell>
13565 <cell alignment="center" valignment="top" usebox="none">
13566 \begin_inset Text
13567
13568 \begin_layout Plain Layout
13569 129.7
13570 \end_layout
13571
13572 \end_inset
13573 </cell>
13574 <cell alignment="center" valignment="top" usebox="none">
13575 \begin_inset Text
13576
13577 \begin_layout Plain Layout
13578 52.75
13579 \end_layout
13580
13581 \end_inset
13582 </cell>
13583 <cell alignment="center" valignment="top" usebox="none">
13584 \begin_inset Text
13585
13586 \begin_layout Plain Layout
13587 50.78
13588 \end_layout
13589
13590 \end_inset
13591 </cell>
13592 </row>
13593 <row>
13594 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13595 \begin_inset Text
13596
13597 \begin_layout Plain Layout
13598 in % of pixel size
13599 \end_layout
13600
13601 \end_inset
13602 </cell>
13603 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13604 \begin_inset Text
13605
13606 \begin_layout Plain Layout
13607 76.3
13608 \end_layout
13609
13610 \end_inset
13611 </cell>
13612 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13613 \begin_inset Text
13614
13615 \begin_layout Plain Layout
13616 95.9
13617 \end_layout
13618
13619 \end_inset
13620 </cell>
13621 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13622 \begin_inset Text
13623
13624 \begin_layout Plain Layout
13625 92.3
13626 \end_layout
13627
13628 \end_inset
13629 </cell>
13630 </row>
13631 </lyxtabular>
13632
13633 \end_inset
13634
13635
13636 \end_layout
13637
13638 \end_inset
13639
13640
13641 \end_layout
13642
13643 \begin_layout Section
13644 Vertical Table Alignment
13645 \begin_inset Index
13646 status collapsed
13647
13648 \begin_layout Plain Layout
13649 Table ! Alignment
13650 \end_layout
13651
13652 \end_inset
13653
13654
13655 \end_layout
13656
13657 \begin_layout Standard
13658 To align tables vertically in a text line the table must be inside a box.
13659  The box can then be vertically aligned as described in section
13660 \begin_inset space ~
13661 \end_inset
13662
13663
13664 \begin_inset CommandInset ref
13665 LatexCommand ref
13666 reference "sec:Box-Dialog"
13667
13668 \end_inset
13669
13670 .
13671 \end_layout
13672
13673 \begin_layout Standard
13674 In the following example the tables are inside a minipage
13675 \begin_inset Foot
13676 status collapsed
13677
13678 \begin_layout Plain Layout
13679 Minipages are described in section
13680 \begin_inset space ~
13681 \end_inset
13682
13683
13684 \begin_inset CommandInset ref
13685 LatexCommand ref
13686 reference "sec:Minipages"
13687
13688 \end_inset
13689
13690 .
13691 \end_layout
13692
13693 \end_inset
13694
13695  box that has a width of 15
13696 \begin_inset space \thinspace{}
13697 \end_inset
13698
13699 col%:
13700 \end_layout
13701
13702 \begin_layout Itemize
13703 test 
13704 \begin_inset Box Frameless
13705 position "t"
13706 hor_pos "c"
13707 has_inner_box 1
13708 inner_pos "c"
13709 use_parbox 0
13710 width "15col%"
13711 special "none"
13712 height "1in"
13713 height_special "totalheight"
13714 status collapsed
13715
13716 \begin_layout Plain Layout
13717 \begin_inset Tabular
13718 <lyxtabular version="3" rows="3" columns="3">
13719 <features>
13720 <column alignment="center" valignment="top" width="0">
13721 <column alignment="center" valignment="top" width="0">
13722 <column alignment="center" valignment="top" width="0">
13723 <row>
13724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13725 \begin_inset Text
13726
13727 \begin_layout Plain Layout
13728 a
13729 \end_layout
13730
13731 \end_inset
13732 </cell>
13733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13734 \begin_inset Text
13735
13736 \begin_layout Plain Layout
13737 d
13738 \end_layout
13739
13740 \end_inset
13741 </cell>
13742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13743 \begin_inset Text
13744
13745 \begin_layout Plain Layout
13746 g
13747 \end_layout
13748
13749 \end_inset
13750 </cell>
13751 </row>
13752 <row>
13753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13754 \begin_inset Text
13755
13756 \begin_layout Plain Layout
13757 b
13758 \end_layout
13759
13760 \end_inset
13761 </cell>
13762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13763 \begin_inset Text
13764
13765 \begin_layout Plain Layout
13766 e
13767 \end_layout
13768
13769 \end_inset
13770 </cell>
13771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13772 \begin_inset Text
13773
13774 \begin_layout Plain Layout
13775 h
13776 \end_layout
13777
13778 \end_inset
13779 </cell>
13780 </row>
13781 <row>
13782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13783 \begin_inset Text
13784
13785 \begin_layout Plain Layout
13786 c
13787 \end_layout
13788
13789 \end_inset
13790 </cell>
13791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13792 \begin_inset Text
13793
13794 \begin_layout Plain Layout
13795 f
13796 \end_layout
13797
13798 \end_inset
13799 </cell>
13800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13801 \begin_inset Text
13802
13803 \begin_layout Plain Layout
13804 i
13805 \end_layout
13806
13807 \end_inset
13808 </cell>
13809 </row>
13810 </lyxtabular>
13811
13812 \end_inset
13813
13814
13815 \end_layout
13816
13817 \end_inset
13818
13819  test 
13820 \begin_inset ERT
13821 status collapsed
13822
13823 \begin_layout Plain Layout
13824
13825
13826 \backslash
13827 raisebox{0.85
13828 \backslash
13829 baselineskip}{
13830 \end_layout
13831
13832 \end_inset
13833
13834
13835 \begin_inset Box Frameless
13836 position "t"
13837 hor_pos "c"
13838 has_inner_box 1
13839 inner_pos "c"
13840 use_parbox 0
13841 width "15col%"
13842 special "none"
13843 height "1in"
13844 height_special "totalheight"
13845 status collapsed
13846
13847 \begin_layout Plain Layout
13848 \begin_inset Tabular
13849 <lyxtabular version="3" rows="3" columns="3">
13850 <features>
13851 <column alignment="center" valignment="top" width="0">
13852 <column alignment="center" valignment="top" width="0">
13853 <column alignment="center" valignment="top" width="0">
13854 <row>
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Plain Layout
13859 a
13860 \end_layout
13861
13862 \end_inset
13863 </cell>
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13865 \begin_inset Text
13866
13867 \begin_layout Plain Layout
13868 d
13869 \end_layout
13870
13871 \end_inset
13872 </cell>
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13874 \begin_inset Text
13875
13876 \begin_layout Plain Layout
13877 g
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 </row>
13883 <row>
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13885 \begin_inset Text
13886
13887 \begin_layout Plain Layout
13888 b
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13894 \begin_inset Text
13895
13896 \begin_layout Plain Layout
13897 e
13898 \end_layout
13899
13900 \end_inset
13901 </cell>
13902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13903 \begin_inset Text
13904
13905 \begin_layout Plain Layout
13906 h
13907 \end_layout
13908
13909 \end_inset
13910 </cell>
13911 </row>
13912 <row>
13913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13914 \begin_inset Text
13915
13916 \begin_layout Plain Layout
13917 c
13918 \end_layout
13919
13920 \end_inset
13921 </cell>
13922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13923 \begin_inset Text
13924
13925 \begin_layout Plain Layout
13926 f
13927 \end_layout
13928
13929 \end_inset
13930 </cell>
13931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13932 \begin_inset Text
13933
13934 \begin_layout Plain Layout
13935 i
13936 \end_layout
13937
13938 \end_inset
13939 </cell>
13940 </row>
13941 </lyxtabular>
13942
13943 \end_inset
13944
13945
13946 \end_layout
13947
13948 \end_inset
13949
13950
13951 \begin_inset ERT
13952 status collapsed
13953
13954 \begin_layout Plain Layout
13955
13956 }
13957 \end_layout
13958
13959 \end_inset
13960
13961
13962 \end_layout
13963
13964 \begin_layout Itemize
13965 test 
13966 \begin_inset Box Frameless
13967 position "c"
13968 hor_pos "c"
13969 has_inner_box 1
13970 inner_pos "c"
13971 use_parbox 0
13972 width "15col%"
13973 special "none"
13974 height "1in"
13975 height_special "totalheight"
13976 status collapsed
13977
13978 \begin_layout Plain Layout
13979 \begin_inset Tabular
13980 <lyxtabular version="3" rows="3" columns="3">
13981 <features>
13982 <column alignment="center" valignment="top" width="0">
13983 <column alignment="center" valignment="top" width="0">
13984 <column alignment="center" valignment="top" width="0">
13985 <row>
13986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13987 \begin_inset Text
13988
13989 \begin_layout Plain Layout
13990 a
13991 \end_layout
13992
13993 \end_inset
13994 </cell>
13995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13996 \begin_inset Text
13997
13998 \begin_layout Plain Layout
13999 d
14000 \end_layout
14001
14002 \end_inset
14003 </cell>
14004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14005 \begin_inset Text
14006
14007 \begin_layout Plain Layout
14008 g
14009 \end_layout
14010
14011 \end_inset
14012 </cell>
14013 </row>
14014 <row>
14015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14016 \begin_inset Text
14017
14018 \begin_layout Plain Layout
14019 b
14020 \end_layout
14021
14022 \end_inset
14023 </cell>
14024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14025 \begin_inset Text
14026
14027 \begin_layout Plain Layout
14028 e
14029 \end_layout
14030
14031 \end_inset
14032 </cell>
14033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14034 \begin_inset Text
14035
14036 \begin_layout Plain Layout
14037 h
14038 \end_layout
14039
14040 \end_inset
14041 </cell>
14042 </row>
14043 <row>
14044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14045 \begin_inset Text
14046
14047 \begin_layout Plain Layout
14048 c
14049 \end_layout
14050
14051 \end_inset
14052 </cell>
14053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14054 \begin_inset Text
14055
14056 \begin_layout Plain Layout
14057 f
14058 \end_layout
14059
14060 \end_inset
14061 </cell>
14062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14063 \begin_inset Text
14064
14065 \begin_layout Plain Layout
14066 i
14067 \end_layout
14068
14069 \end_inset
14070 </cell>
14071 </row>
14072 </lyxtabular>
14073
14074 \end_inset
14075
14076
14077 \end_layout
14078
14079 \end_inset
14080
14081
14082 \end_layout
14083
14084 \begin_layout Itemize
14085 test 
14086 \begin_inset Box Frameless
14087 position "b"
14088 hor_pos "c"
14089 has_inner_box 1
14090 inner_pos "c"
14091 use_parbox 0
14092 width "15col%"
14093 special "none"
14094 height "1in"
14095 height_special "totalheight"
14096 status collapsed
14097
14098 \begin_layout Plain Layout
14099 \begin_inset Tabular
14100 <lyxtabular version="3" rows="3" columns="3">
14101 <features>
14102 <column alignment="center" valignment="top" width="0">
14103 <column alignment="center" valignment="top" width="0">
14104 <column alignment="center" valignment="top" width="0">
14105 <row>
14106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14107 \begin_inset Text
14108
14109 \begin_layout Plain Layout
14110 a
14111 \end_layout
14112
14113 \end_inset
14114 </cell>
14115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14116 \begin_inset Text
14117
14118 \begin_layout Plain Layout
14119 d
14120 \end_layout
14121
14122 \end_inset
14123 </cell>
14124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14125 \begin_inset Text
14126
14127 \begin_layout Plain Layout
14128 g
14129 \end_layout
14130
14131 \end_inset
14132 </cell>
14133 </row>
14134 <row>
14135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14136 \begin_inset Text
14137
14138 \begin_layout Plain Layout
14139 b
14140 \end_layout
14141
14142 \end_inset
14143 </cell>
14144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14145 \begin_inset Text
14146
14147 \begin_layout Plain Layout
14148 e
14149 \end_layout
14150
14151 \end_inset
14152 </cell>
14153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14154 \begin_inset Text
14155
14156 \begin_layout Plain Layout
14157 h
14158 \end_layout
14159
14160 \end_inset
14161 </cell>
14162 </row>
14163 <row>
14164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14165 \begin_inset Text
14166
14167 \begin_layout Plain Layout
14168 c
14169 \end_layout
14170
14171 \end_inset
14172 </cell>
14173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14174 \begin_inset Text
14175
14176 \begin_layout Plain Layout
14177 f
14178 \end_layout
14179
14180 \end_inset
14181 </cell>
14182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14183 \begin_inset Text
14184
14185 \begin_layout Plain Layout
14186 i
14187 \end_layout
14188
14189 \end_inset
14190 </cell>
14191 </row>
14192 </lyxtabular>
14193
14194 \end_inset
14195
14196
14197 \end_layout
14198
14199 \end_inset
14200
14201  test 
14202 \begin_inset ERT
14203 status collapsed
14204
14205 \begin_layout Plain Layout
14206
14207
14208 \backslash
14209 raisebox{-0.32
14210 \backslash
14211 baselineskip}{
14212 \end_layout
14213
14214 \end_inset
14215
14216
14217 \begin_inset Box Frameless
14218 position "b"
14219 hor_pos "c"
14220 has_inner_box 1
14221 inner_pos "c"
14222 use_parbox 0
14223 width "15col%"
14224 special "none"
14225 height "1in"
14226 height_special "totalheight"
14227 status collapsed
14228
14229 \begin_layout Plain Layout
14230 \begin_inset Tabular
14231 <lyxtabular version="3" rows="3" columns="3">
14232 <features>
14233 <column alignment="center" valignment="top" width="0">
14234 <column alignment="center" valignment="top" width="0">
14235 <column alignment="center" valignment="top" width="0">
14236 <row>
14237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14238 \begin_inset Text
14239
14240 \begin_layout Plain Layout
14241 a
14242 \end_layout
14243
14244 \end_inset
14245 </cell>
14246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14247 \begin_inset Text
14248
14249 \begin_layout Plain Layout
14250 d
14251 \end_layout
14252
14253 \end_inset
14254 </cell>
14255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14256 \begin_inset Text
14257
14258 \begin_layout Plain Layout
14259 g
14260 \end_layout
14261
14262 \end_inset
14263 </cell>
14264 </row>
14265 <row>
14266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14267 \begin_inset Text
14268
14269 \begin_layout Plain Layout
14270 b
14271 \end_layout
14272
14273 \end_inset
14274 </cell>
14275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14276 \begin_inset Text
14277
14278 \begin_layout Plain Layout
14279 e
14280 \end_layout
14281
14282 \end_inset
14283 </cell>
14284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14285 \begin_inset Text
14286
14287 \begin_layout Plain Layout
14288 h
14289 \end_layout
14290
14291 \end_inset
14292 </cell>
14293 </row>
14294 <row>
14295 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14296 \begin_inset Text
14297
14298 \begin_layout Plain Layout
14299 c
14300 \end_layout
14301
14302 \end_inset
14303 </cell>
14304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14305 \begin_inset Text
14306
14307 \begin_layout Plain Layout
14308 f
14309 \end_layout
14310
14311 \end_inset
14312 </cell>
14313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14314 \begin_inset Text
14315
14316 \begin_layout Plain Layout
14317 i
14318 \end_layout
14319
14320 \end_inset
14321 </cell>
14322 </row>
14323 </lyxtabular>
14324
14325 \end_inset
14326
14327
14328 \end_layout
14329
14330 \end_inset
14331
14332
14333 \begin_inset ERT
14334 status collapsed
14335
14336 \begin_layout Plain Layout
14337
14338 }
14339 \end_layout
14340
14341 \end_inset
14342
14343
14344 \end_layout
14345
14346 \begin_layout Standard
14347 As you can see, the content of the first and last table row is not correctly
14348  aligned with the text line where the table is in.
14349  To get this alignment, the minipage box must be set into a raisebox
14350 \begin_inset Foot
14351 status collapsed
14352
14353 \begin_layout Plain Layout
14354 Raiseboxes are described in section
14355 \begin_inset space ~
14356 \end_inset
14357
14358
14359 \begin_inset CommandInset ref
14360 LatexCommand ref
14361 reference "sub:Vertical-Alignment"
14362
14363 \end_inset
14364
14365 .
14366 \end_layout
14367
14368 \end_inset
14369
14370 .
14371  In the example above the second table in the first item is aligned using
14372  the TeX-Code-command
14373 \end_layout
14374
14375 \begin_layout Standard
14376
14377 \series bold
14378
14379 \backslash
14380 raisebox{0.85
14381 \backslash
14382 baselineskip}{
14383 \end_layout
14384
14385 \begin_layout Standard
14386 before the box.
14387  Behind the box the closing brace 
14388 \series bold
14389 }
14390 \series default
14391  is inserted as TeX-Code.
14392  For the second table in the last item the command
14393 \end_layout
14394
14395 \begin_layout Standard
14396
14397 \series bold
14398
14399 \backslash
14400 raisebox{-0.32
14401 \backslash
14402 baselineskip}{
14403 \end_layout
14404
14405 \begin_layout Standard
14406 is used.
14407 \end_layout
14408
14409 \begin_layout Standard
14410 \begin_inset Note Greyedout
14411 status open
14412
14413 \begin_layout Plain Layout
14414
14415 \series bold
14416 Note:
14417 \series default
14418  The alignment of the table row content to the surrounding text line is
14419  not exact.
14420  The needed factor of the 
14421 \series bold
14422
14423 \backslash
14424 raisebox
14425 \series default
14426  command for this alignment depends on the document font, the font size,
14427  and the table line thickness.
14428 \end_layout
14429
14430 \end_inset
14431
14432
14433 \end_layout
14434
14435 \begin_layout Section
14436 Colored Tables
14437 \begin_inset CommandInset label
14438 LatexCommand label
14439 name "sec:Colored-Tables"
14440
14441 \end_inset
14442
14443
14444 \begin_inset Index
14445 status collapsed
14446
14447 \begin_layout Plain Layout
14448 Table ! Color
14449 \end_layout
14450
14451 \end_inset
14452
14453
14454 \end_layout
14455
14456 \begin_layout Subsection
14457 Colored Cells
14458 \begin_inset Index
14459 status collapsed
14460
14461 \begin_layout Plain Layout
14462 Table Color ! for Cells
14463 \end_layout
14464
14465 \end_inset
14466
14467
14468 \begin_inset Index
14469 status collapsed
14470
14471 \begin_layout Plain Layout
14472 Color ! for Table Cells
14473 \end_layout
14474
14475 \end_inset
14476
14477
14478 \end_layout
14479
14480 \begin_layout Standard
14481 \begin_inset Float table
14482 placement h
14483 wide false
14484 sideways false
14485 status open
14486
14487 \begin_layout Plain Layout
14488 \begin_inset Caption
14489
14490 \begin_layout Plain Layout
14491 \begin_inset CommandInset label
14492 LatexCommand label
14493 name "tab:Table-colored-without"
14494
14495 \end_inset
14496
14497 Table colored without using the package 
14498 \series bold
14499 colortbl
14500 \series default
14501
14502 \begin_inset OptArg
14503 status collapsed
14504
14505 \begin_layout Plain Layout
14506 Table without colortbl
14507 \end_layout
14508
14509 \end_inset
14510
14511
14512 \end_layout
14513
14514 \end_inset
14515
14516
14517 \end_layout
14518
14519 \begin_layout Plain Layout
14520 \align center
14521 \begin_inset Tabular
14522 <lyxtabular version="3" rows="3" columns="3">
14523 <features>
14524 <column alignment="center" valignment="top" width="0">
14525 <column alignment="center" valignment="top" width="0">
14526 <column alignment="center" valignment="top" width="0">
14527 <row>
14528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14529 \begin_inset Text
14530
14531 \begin_layout Plain Layout
14532
14533 \color green
14534 a
14535 \end_layout
14536
14537 \end_inset
14538 </cell>
14539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14540 \begin_inset Text
14541
14542 \begin_layout Plain Layout
14543
14544 \color red
14545 b
14546 \end_layout
14547
14548 \end_inset
14549 </cell>
14550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14551 \begin_inset Text
14552
14553 \begin_layout Plain Layout
14554
14555 \color red
14556 c
14557 \end_layout
14558
14559 \end_inset
14560 </cell>
14561 </row>
14562 <row>
14563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14564 \begin_inset Text
14565
14566 \begin_layout Plain Layout
14567
14568 \color green
14569 d
14570 \end_layout
14571
14572 \end_inset
14573 </cell>
14574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14575 \begin_inset Text
14576
14577 \begin_layout Plain Layout
14578
14579 \color blue
14580 e
14581 \end_layout
14582
14583 \end_inset
14584 </cell>
14585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14586 \begin_inset Text
14587
14588 \begin_layout Plain Layout
14589
14590 \color blue
14591 f
14592 \end_layout
14593
14594 \end_inset
14595 </cell>
14596 </row>
14597 <row>
14598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14599 \begin_inset Text
14600
14601 \begin_layout Plain Layout
14602
14603 \color green
14604 g
14605 \end_layout
14606
14607 \end_inset
14608 </cell>
14609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14610 \begin_inset Text
14611
14612 \begin_layout Plain Layout
14613
14614 \color blue
14615 h
14616 \end_layout
14617
14618 \end_inset
14619 </cell>
14620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14621 \begin_inset Text
14622
14623 \begin_layout Plain Layout
14624
14625 \color blue
14626 i
14627 \end_layout
14628
14629 \end_inset
14630 </cell>
14631 </row>
14632 </lyxtabular>
14633
14634 \end_inset
14635
14636
14637 \end_layout
14638
14639 \end_inset
14640
14641
14642 \end_layout
14643
14644 \begin_layout Standard
14645 If you only need colored text, mark the cells and choose a color in the
14646  menu 
14647 \family sans
14648 Edit\SpecialChar \menuseparator
14649 Text
14650 \begin_inset space ~
14651 \end_inset
14652
14653 Style
14654 \family default
14655 .
14656  This was used to create Table
14657 \begin_inset space ~
14658 \end_inset
14659
14660
14661 \begin_inset CommandInset ref
14662 LatexCommand ref
14663 reference "tab:Table-colored-without"
14664
14665 \end_inset
14666
14667 .
14668  In any other case you have to use the LaTeX-package 
14669 \series bold
14670 colortbl
14671 \series default
14672 .
14673 \begin_inset Index
14674 status collapsed
14675
14676 \begin_layout Plain Layout
14677 LaTeX-packages ! colortbl
14678 \end_layout
14679
14680 \end_inset
14681
14682
14683 \end_layout
14684
14685 \begin_layout Standard
14686 \begin_inset ERT
14687 status collapsed
14688
14689 \begin_layout Plain Layout
14690
14691
14692 \backslash
14693 ifcolortbl
14694 \end_layout
14695
14696 \end_inset
14697
14698
14699 \begin_inset Note Note
14700 status open
14701
14702 \begin_layout Plain Layout
14703 The following section part will only be displayed when the LaTeX-package
14704  
14705 \series bold
14706 colortbl
14707 \series default
14708  is installed.
14709 \end_layout
14710
14711 \end_inset
14712
14713
14714 \end_layout
14715
14716 \begin_layout Standard
14717 To create colored tables, 
14718 \series bold
14719 colortbl
14720 \series default
14721  must be loaded in the preamble with the line
14722 \end_layout
14723
14724 \begin_layout Standard
14725
14726 \series bold
14727
14728 \backslash
14729 usepackage{colortbl}
14730 \end_layout
14731
14732 \begin_layout Standard
14733 The color of a column is adjusted with the command
14734 \end_layout
14735
14736 \begin_layout Standard
14737
14738 \series bold
14739
14740 \backslash
14741 columncolor{name of color}
14742 \end_layout
14743
14744 \begin_layout Standard
14745 inside the command 
14746 \series bold
14747 >{ }
14748 \series default
14749 .
14750  More about the command 
14751 \series bold
14752 >{}
14753 \series default
14754  is described in section
14755 \begin_inset space ~
14756 \end_inset
14757
14758
14759 \begin_inset CommandInset ref
14760 LatexCommand ref
14761 reference "sub:Multicolumn-Calculations"
14762
14763 \end_inset
14764
14765 .
14766 \end_layout
14767
14768 \begin_layout Standard
14769 The following color names are predefined:
14770 \end_layout
14771
14772 \begin_layout Standard
14773
14774 \family sans
14775 red
14776 \family default
14777
14778 \family sans
14779 green
14780 \family default
14781
14782 \family sans
14783 yellow
14784 \family default
14785
14786 \family sans
14787 blue
14788 \family default
14789
14790 \family sans
14791 cyan
14792 \family default
14793
14794 \family sans
14795 magenta
14796 \family default
14797
14798 \family sans
14799 black
14800 \family default
14801  and 
14802 \family sans
14803 white
14804 \end_layout
14805
14806 \begin_layout Standard
14807 \begin_inset VSpace medskip
14808 \end_inset
14809
14810
14811 \end_layout
14812
14813 \begin_layout Standard
14814 You can also define your own color with the command
14815 \end_layout
14816
14817 \begin_layout Standard
14818
14819 \series bold
14820
14821 \backslash
14822 definecolor{color name}{color model}{color values}
14823 \end_layout
14824
14825 \begin_layout Standard
14826 The color model can be
14827 \end_layout
14828
14829 \begin_layout Labeling
14830 \labelwidthstring 00.00.0000
14831 cmyk: cyan, magenta, yellow, black
14832 \end_layout
14833
14834 \begin_layout Labeling
14835 \labelwidthstring 00.00.0000
14836 rgb: red, green blue
14837 \end_layout
14838
14839 \begin_layout Labeling
14840 \labelwidthstring 00.00.0000
14841 gray gray
14842 \end_layout
14843
14844 \begin_layout Standard
14845 and the color values are comma separated numbers between 0 and 1 describing
14846  the factor for the corresponding color of the color model.
14847 \end_layout
14848
14849 \begin_layout Standard
14850 You can e.
14851 \begin_inset space \thinspace{}
14852 \end_inset
14853
14854 g.
14855 \begin_inset space \space{}
14856 \end_inset
14857
14858 define the color "
14859 \emph on
14860 darkgreen
14861 \emph default
14862 " in the preamble with
14863 \end_layout
14864
14865 \begin_layout Standard
14866
14867 \series bold
14868
14869 \backslash
14870 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14871 \end_layout
14872
14873 \begin_layout Standard
14874 and the color "
14875 \emph on
14876 lightgray
14877 \emph default
14878 " with
14879 \end_layout
14880
14881 \begin_layout Standard
14882
14883 \series bold
14884
14885 \backslash
14886 definecolor{lightgray}{gray}{0.8}
14887 \end_layout
14888
14889 \begin_layout Standard
14890 \begin_inset VSpace medskip
14891 \end_inset
14892
14893
14894 \end_layout
14895
14896 \begin_layout Standard
14897 Lines are colored with the command
14898 \end_layout
14899
14900 \begin_layout Standard
14901
14902 \series bold
14903
14904 \backslash
14905 rowcolor{name of color}
14906 \end_layout
14907
14908 \begin_layout Standard
14909 and cells are colored with the command
14910 \end_layout
14911
14912 \begin_layout Standard
14913
14914 \series bold
14915
14916 \backslash
14917 cellcolor{name of color}
14918 \end_layout
14919
14920 \begin_layout Standard
14921 Both commands are inserted at the beginning of a cell as TeX-Code.
14922 \end_layout
14923
14924 \begin_layout Standard
14925 To color characters in the table, mark the cells and use the LyX menu 
14926 \family sans
14927 Edit\SpecialChar \menuseparator
14928 Text
14929 \begin_inset space ~
14930 \end_inset
14931
14932 Style
14933 \family default
14934 .
14935  If a cell contains TeX-Code mark only the characters, otherwise the colored
14936  TeX-Code will cause LaTeX-errors.
14937 \end_layout
14938
14939 \begin_layout Standard
14940 \begin_inset Note Greyedout
14941 status open
14942
14943 \begin_layout Plain Layout
14944
14945 \series bold
14946 Note:
14947 \series default
14948  Not all DVI-viewers are able to display self-defined colors.
14949 \end_layout
14950
14951 \end_inset
14952
14953
14954 \end_layout
14955
14956 \begin_layout Standard
14957 \begin_inset VSpace bigskip
14958 \end_inset
14959
14960
14961 \end_layout
14962
14963 \begin_layout Standard
14964 To create Table
14965 \begin_inset space ~
14966 \end_inset
14967
14968
14969 \begin_inset CommandInset ref
14970 LatexCommand ref
14971 reference "tab:Table-colored-using"
14972
14973 \end_inset
14974
14975  do the following: The color of the first column should be 
14976 \emph on
14977 darkgreen
14978 \emph default
14979 .
14980  So insert
14981 \end_layout
14982
14983 \begin_layout Standard
14984
14985 \series bold
14986 >{
14987 \backslash
14988 columncolor{darkgreen}
14989 \backslash
14990 centering}c
14991 \end_layout
14992
14993 \begin_layout Standard
14994 as LaTeX-argument for this column.
14995  The first row should be blue, therefore the TeX-Code command
14996 \end_layout
14997
14998 \begin_layout Standard
14999
15000 \series bold
15001
15002 \backslash
15003 rowcolow{cyan}
15004 \end_layout
15005
15006 \begin_layout Standard
15007 is inserted to the first cell of this row.
15008  Note that this overwrites the column color for the first cell.
15009  The last cell of the last row is colored magenta by inserting the TeX-Code
15010  command
15011 \end_layout
15012
15013 \begin_layout Standard
15014
15015 \series bold
15016
15017 \backslash
15018 cellcolor{magenta}
15019 \end_layout
15020
15021 \begin_layout Standard
15022 The characters could now be colored using the menu 
15023 \family sans
15024 Edit\SpecialChar \menuseparator
15025 Text
15026 \begin_inset space ~
15027 \end_inset
15028
15029 Style
15030 \family default
15031 .
15032 \end_layout
15033
15034 \begin_layout Standard
15035 \begin_inset Float table
15036 placement h
15037 wide false
15038 sideways false
15039 status open
15040
15041 \begin_layout Plain Layout
15042 \begin_inset Caption
15043
15044 \begin_layout Plain Layout
15045 \begin_inset CommandInset label
15046 LatexCommand label
15047 name "tab:Table-colored-using"
15048
15049 \end_inset
15050
15051 Table colored using the package 
15052 \series bold
15053 colortbl
15054 \series default
15055
15056 \begin_inset OptArg
15057 status collapsed
15058
15059 \begin_layout Plain Layout
15060 Table with colortbl
15061 \end_layout
15062
15063 \end_inset
15064
15065
15066 \end_layout
15067
15068 \end_inset
15069
15070
15071 \end_layout
15072
15073 \begin_layout Plain Layout
15074 \align center
15075 \begin_inset Tabular
15076 <lyxtabular version="3" rows="3" columns="3">
15077 <features>
15078 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15079 <column alignment="center" valignment="top" width="0">
15080 <column alignment="center" valignment="top" width="0">
15081 <row>
15082 <cell alignment="center" valignment="top" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Plain Layout
15086 \begin_inset ERT
15087 status collapsed
15088
15089 \begin_layout Plain Layout
15090
15091
15092 \backslash
15093 rowcolor{cyan}
15094 \end_layout
15095
15096 \end_inset
15097
15098
15099 \color magenta
15100 a
15101 \end_layout
15102
15103 \end_inset
15104 </cell>
15105 <cell alignment="center" valignment="top" usebox="none">
15106 \begin_inset Text
15107
15108 \begin_layout Plain Layout
15109
15110 \color red
15111 b
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 <cell alignment="center" valignment="top" usebox="none">
15117 \begin_inset Text
15118
15119 \begin_layout Plain Layout
15120
15121 \color red
15122 c
15123 \end_layout
15124
15125 \end_inset
15126 </cell>
15127 </row>
15128 <row>
15129 <cell alignment="center" valignment="top" usebox="none">
15130 \begin_inset Text
15131
15132 \begin_layout Plain Layout
15133
15134 \color yellow
15135 d
15136 \end_layout
15137
15138 \end_inset
15139 </cell>
15140 <cell alignment="center" valignment="top" usebox="none">
15141 \begin_inset Text
15142
15143 \begin_layout Plain Layout
15144
15145 \color blue
15146 e
15147 \end_layout
15148
15149 \end_inset
15150 </cell>
15151 <cell alignment="center" valignment="top" usebox="none">
15152 \begin_inset Text
15153
15154 \begin_layout Plain Layout
15155
15156 \color blue
15157 f
15158 \end_layout
15159
15160 \end_inset
15161 </cell>
15162 </row>
15163 <row>
15164 <cell alignment="center" valignment="top" usebox="none">
15165 \begin_inset Text
15166
15167 \begin_layout Plain Layout
15168
15169 \color yellow
15170 g
15171 \end_layout
15172
15173 \end_inset
15174 </cell>
15175 <cell alignment="center" valignment="top" usebox="none">
15176 \begin_inset Text
15177
15178 \begin_layout Plain Layout
15179
15180 \color blue
15181 h
15182 \end_layout
15183
15184 \end_inset
15185 </cell>
15186 <cell alignment="center" valignment="top" usebox="none">
15187 \begin_inset Text
15188
15189 \begin_layout Plain Layout
15190 \begin_inset ERT
15191 status collapsed
15192
15193 \begin_layout Plain Layout
15194
15195
15196 \backslash
15197 cellcolor{magenta}
15198 \end_layout
15199
15200 \end_inset
15201
15202
15203 \color green
15204 i
15205 \end_layout
15206
15207 \end_inset
15208 </cell>
15209 </row>
15210 </lyxtabular>
15211
15212 \end_inset
15213
15214
15215 \end_layout
15216
15217 \end_inset
15218
15219
15220 \end_layout
15221
15222 \begin_layout Standard
15223 \begin_inset ERT
15224 status collapsed
15225
15226 \begin_layout Plain Layout
15227
15228
15229 \backslash
15230 else
15231 \end_layout
15232
15233 \end_inset
15234
15235
15236 \begin_inset Note Note
15237 status open
15238
15239 \begin_layout Plain Layout
15240 The following will be displayed when the LaTeX-package 
15241 \series bold
15242 colortbl
15243 \series default
15244  is not installed:
15245 \end_layout
15246
15247 \end_inset
15248
15249
15250 \end_layout
15251
15252 \begin_layout Standard
15253 You need to install the package 
15254 \series bold
15255 colortbl
15256 \series default
15257  to see the content of this section in the output.
15258 \end_layout
15259
15260 \begin_layout Standard
15261 \begin_inset ERT
15262 status collapsed
15263
15264 \begin_layout Plain Layout
15265
15266
15267 \backslash
15268 fi
15269 \end_layout
15270
15271 \end_inset
15272
15273
15274 \end_layout
15275
15276 \begin_layout Subsection
15277 Colored Lines
15278 \begin_inset Index
15279 status collapsed
15280
15281 \begin_layout Plain Layout
15282 Table Color ! for Lines
15283 \end_layout
15284
15285 \end_inset
15286
15287
15288 \begin_inset Index
15289 status collapsed
15290
15291 \begin_layout Plain Layout
15292 Color ! for Table Lines
15293 \end_layout
15294
15295 \end_inset
15296
15297
15298 \end_layout
15299
15300 \begin_layout Standard
15301 As described in section
15302 \begin_inset space ~
15303 \end_inset
15304
15305
15306 \begin_inset CommandInset ref
15307 LatexCommand ref
15308 reference "sub:Line-Thickness"
15309
15310 \end_inset
15311
15312 , the line thickness for all lines in a table can be adjusted with the length
15313  
15314 \series bold
15315
15316 \backslash
15317 arrayrulewidth
15318 \series default
15319 .
15320  It is set to 1.5
15321 \begin_inset space \thinspace{}
15322 \end_inset
15323
15324 pt for all tables of this section.
15325 \begin_inset ERT
15326 status collapsed
15327
15328 \begin_layout Plain Layout
15329
15330
15331 \backslash
15332 setlength{
15333 \backslash
15334 arrayrulewidth}{1.5pt}
15335 \end_layout
15336
15337 \end_inset
15338
15339
15340 \end_layout
15341
15342 \begin_layout Standard
15343 To color vertical lines for example with green, create the following column
15344  format in the document preamble, according to the description in section
15345 \begin_inset space ~
15346 \end_inset
15347
15348
15349 \begin_inset CommandInset ref
15350 LatexCommand ref
15351 reference "sub:Customized-Format"
15352
15353 \end_inset
15354
15355 :
15356 \end_layout
15357
15358 \begin_layout Standard
15359
15360 \series bold
15361
15362 \backslash
15363 newcolumntype{W}{!{
15364 \backslash
15365 color{green}
15366 \backslash
15367 vline}}
15368 \end_layout
15369
15370 \begin_layout Standard
15371 For Table
15372 \begin_inset space ~
15373 \end_inset
15374
15375
15376 \begin_inset CommandInset ref
15377 LatexCommand ref
15378 reference "tab:Table-with-vertical-colored"
15379
15380 \end_inset
15381
15382  the LaTeX-argument
15383 \series bold
15384  WcW
15385 \series default
15386  was used for the last column and
15387 \series bold
15388  Wc
15389 \series default
15390  for the other columns.
15391 \end_layout
15392
15393 \begin_layout Standard
15394 If you want to have several colors, define more column formats.
15395 \end_layout
15396
15397 \begin_layout Standard
15398 \begin_inset Float table
15399 placement h
15400 wide false
15401 sideways false
15402 status open
15403
15404 \begin_layout Plain Layout
15405 \begin_inset Caption
15406
15407 \begin_layout Plain Layout
15408 \begin_inset CommandInset label
15409 LatexCommand label
15410 name "tab:Table-with-vertical-colored"
15411
15412 \end_inset
15413
15414 Table with colored vertical lines
15415 \end_layout
15416
15417 \end_inset
15418
15419
15420 \end_layout
15421
15422 \begin_layout Plain Layout
15423 \align center
15424 \begin_inset Tabular
15425 <lyxtabular version="3" rows="3" columns="3">
15426 <features>
15427 <column alignment="center" valignment="top" width="0" special="Wc">
15428 <column alignment="center" valignment="top" width="0" special="Wc">
15429 <column alignment="center" valignment="top" width="0" special="WcW">
15430 <row>
15431 <cell alignment="center" valignment="top" topline="true" usebox="none">
15432 \begin_inset Text
15433
15434 \begin_layout Plain Layout
15435 sd
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" topline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Plain Layout
15444
15445 \end_layout
15446
15447 \end_inset
15448 </cell>
15449 <cell alignment="center" valignment="top" topline="true" usebox="none">
15450 \begin_inset Text
15451
15452 \begin_layout Plain Layout
15453
15454 \end_layout
15455
15456 \end_inset
15457 </cell>
15458 </row>
15459 <row>
15460 <cell alignment="center" valignment="top" topline="true" usebox="none">
15461 \begin_inset Text
15462
15463 \begin_layout Plain Layout
15464
15465 \end_layout
15466
15467 \end_inset
15468 </cell>
15469 <cell alignment="center" valignment="top" topline="true" usebox="none">
15470 \begin_inset Text
15471
15472 \begin_layout Plain Layout
15473 sd
15474 \end_layout
15475
15476 \end_inset
15477 </cell>
15478 <cell alignment="center" valignment="top" topline="true" usebox="none">
15479 \begin_inset Text
15480
15481 \begin_layout Plain Layout
15482
15483 \end_layout
15484
15485 \end_inset
15486 </cell>
15487 </row>
15488 <row>
15489 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15490 \begin_inset Text
15491
15492 \begin_layout Plain Layout
15493
15494 \end_layout
15495
15496 \end_inset
15497 </cell>
15498 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15499 \begin_inset Text
15500
15501 \begin_layout Plain Layout
15502
15503 \end_layout
15504
15505 \end_inset
15506 </cell>
15507 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15508 \begin_inset Text
15509
15510 \begin_layout Plain Layout
15511 sd
15512 \end_layout
15513
15514 \end_inset
15515 </cell>
15516 </row>
15517 </lyxtabular>
15518
15519 \end_inset
15520
15521
15522 \end_layout
15523
15524 \end_inset
15525
15526
15527 \end_layout
15528
15529 \begin_layout Standard
15530 \begin_inset VSpace bigskip
15531 \end_inset
15532
15533 To color horizontal lines for example with red, like in Table
15534 \begin_inset space ~
15535 \end_inset
15536
15537
15538 \begin_inset CommandInset ref
15539 LatexCommand ref
15540 reference "tab:Table-with-horizontal-colored"
15541
15542 \end_inset
15543
15544 , insert these commands in TeX-Code before the table or table float:
15545 \end_layout
15546
15547 \begin_layout Standard
15548
15549 \series bold
15550
15551 \backslash
15552 let
15553 \backslash
15554 myHlineC
15555 \backslash
15556 hline
15557 \begin_inset Newline newline
15558 \end_inset
15559
15560
15561 \backslash
15562 renewcommand{
15563 \backslash
15564 hline}
15565 \begin_inset Newline newline
15566 \end_inset
15567
15568
15569 \begin_inset ERT
15570 status collapsed
15571
15572 \begin_layout Plain Layout
15573
15574
15575 \backslash
15576 hphantom{ }
15577 \end_layout
15578
15579 \end_inset
15580
15581 {
15582 \backslash
15583 arrayrulecolor{red}
15584 \backslash
15585 myHlineC
15586 \backslash
15587 arrayrulecolor{black}}
15588 \end_layout
15589
15590 \begin_layout Standard
15591 \begin_inset ERT
15592 status collapsed
15593
15594 \begin_layout Plain Layout
15595
15596
15597 \backslash
15598 let
15599 \backslash
15600 myHlineC
15601 \backslash
15602 hline
15603 \end_layout
15604
15605 \begin_layout Plain Layout
15606
15607
15608 \backslash
15609 renewcommand{
15610 \backslash
15611 hline}
15612 \end_layout
15613
15614 \begin_layout Plain Layout
15615
15616  {
15617 \backslash
15618 arrayrulecolor{red}
15619 \backslash
15620 myHlineC
15621 \backslash
15622 arrayrulecolor{black}}
15623 \end_layout
15624
15625 \end_inset
15626
15627
15628 \begin_inset Float table
15629 placement h
15630 wide false
15631 sideways false
15632 status open
15633
15634 \begin_layout Plain Layout
15635 \begin_inset Caption
15636
15637 \begin_layout Plain Layout
15638 \begin_inset CommandInset label
15639 LatexCommand label
15640 name "tab:Table-with-horizontal-colored"
15641
15642 \end_inset
15643
15644 Table with colored horizontal lines
15645 \end_layout
15646
15647 \end_inset
15648
15649
15650 \end_layout
15651
15652 \begin_layout Plain Layout
15653 \align center
15654 \begin_inset Tabular
15655 <lyxtabular version="3" rows="3" columns="3">
15656 <features>
15657 <column alignment="center" valignment="top" width="0">
15658 <column alignment="center" valignment="top" width="0">
15659 <column alignment="center" valignment="top" width="0">
15660 <row>
15661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15662 \begin_inset Text
15663
15664 \begin_layout Plain Layout
15665 sd
15666 \end_layout
15667
15668 \end_inset
15669 </cell>
15670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15671 \begin_inset Text
15672
15673 \begin_layout Plain Layout
15674
15675 \end_layout
15676
15677 \end_inset
15678 </cell>
15679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15680 \begin_inset Text
15681
15682 \begin_layout Plain Layout
15683
15684 \end_layout
15685
15686 \end_inset
15687 </cell>
15688 </row>
15689 <row>
15690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15691 \begin_inset Text
15692
15693 \begin_layout Plain Layout
15694
15695 \end_layout
15696
15697 \end_inset
15698 </cell>
15699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15700 \begin_inset Text
15701
15702 \begin_layout Plain Layout
15703 sd
15704 \end_layout
15705
15706 \end_inset
15707 </cell>
15708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15709 \begin_inset Text
15710
15711 \begin_layout Plain Layout
15712
15713 \end_layout
15714
15715 \end_inset
15716 </cell>
15717 </row>
15718 <row>
15719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15720 \begin_inset Text
15721
15722 \begin_layout Plain Layout
15723
15724 \end_layout
15725
15726 \end_inset
15727 </cell>
15728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15729 \begin_inset Text
15730
15731 \begin_layout Plain Layout
15732
15733 \end_layout
15734
15735 \end_inset
15736 </cell>
15737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15738 \begin_inset Text
15739
15740 \begin_layout Plain Layout
15741 sd
15742 \end_layout
15743
15744 \end_inset
15745 </cell>
15746 </row>
15747 </lyxtabular>
15748
15749 \end_inset
15750
15751
15752 \end_layout
15753
15754 \end_inset
15755
15756
15757 \end_layout
15758
15759 \begin_layout Standard
15760 To return to the default line color black, insert this command in TeX-Code
15761  behind the table or table float:
15762 \end_layout
15763
15764 \begin_layout Standard
15765
15766 \series bold
15767
15768 \backslash
15769 renewcommand{
15770 \backslash
15771 hline}{
15772 \backslash
15773 myHlineC}
15774 \end_layout
15775
15776 \begin_layout Standard
15777 Table
15778 \begin_inset space ~
15779 \end_inset
15780
15781
15782 \begin_inset CommandInset ref
15783 LatexCommand ref
15784 reference "tab:Table-with-colored"
15785
15786 \end_inset
15787
15788  is an example with colored vertical and horizontal lines.
15789 \end_layout
15790
15791 \begin_layout Standard
15792 \begin_inset Float table
15793 placement h
15794 wide false
15795 sideways false
15796 status open
15797
15798 \begin_layout Plain Layout
15799 \begin_inset Caption
15800
15801 \begin_layout Plain Layout
15802 \begin_inset CommandInset label
15803 LatexCommand label
15804 name "tab:Table-with-colored"
15805
15806 \end_inset
15807
15808 Table with colored lines
15809 \end_layout
15810
15811 \end_inset
15812
15813
15814 \end_layout
15815
15816 \begin_layout Plain Layout
15817 \align center
15818 \begin_inset Tabular
15819 <lyxtabular version="3" rows="3" columns="3">
15820 <features>
15821 <column alignment="center" valignment="top" width="0" special="Wc">
15822 <column alignment="center" valignment="top" width="0" special="Wc">
15823 <column alignment="center" valignment="top" width="0" special="WcW">
15824 <row>
15825 <cell alignment="center" valignment="top" topline="true" usebox="none">
15826 \begin_inset Text
15827
15828 \begin_layout Plain Layout
15829 sd
15830 \end_layout
15831
15832 \end_inset
15833 </cell>
15834 <cell alignment="center" valignment="top" topline="true" usebox="none">
15835 \begin_inset Text
15836
15837 \begin_layout Plain Layout
15838
15839 \end_layout
15840
15841 \end_inset
15842 </cell>
15843 <cell alignment="center" valignment="top" topline="true" usebox="none">
15844 \begin_inset Text
15845
15846 \begin_layout Plain Layout
15847
15848 \end_layout
15849
15850 \end_inset
15851 </cell>
15852 </row>
15853 <row>
15854 <cell alignment="center" valignment="top" topline="true" usebox="none">
15855 \begin_inset Text
15856
15857 \begin_layout Plain Layout
15858
15859 \end_layout
15860
15861 \end_inset
15862 </cell>
15863 <cell alignment="center" valignment="top" topline="true" usebox="none">
15864 \begin_inset Text
15865
15866 \begin_layout Plain Layout
15867 sd
15868 \end_layout
15869
15870 \end_inset
15871 </cell>
15872 <cell alignment="center" valignment="top" topline="true" usebox="none">
15873 \begin_inset Text
15874
15875 \begin_layout Plain Layout
15876
15877 \end_layout
15878
15879 \end_inset
15880 </cell>
15881 </row>
15882 <row topspace="default">
15883 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15884 \begin_inset Text
15885
15886 \begin_layout Plain Layout
15887
15888 \end_layout
15889
15890 \end_inset
15891 </cell>
15892 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15893 \begin_inset Text
15894
15895 \begin_layout Plain Layout
15896
15897 \end_layout
15898
15899 \end_inset
15900 </cell>
15901 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15902 \begin_inset Text
15903
15904 \begin_layout Plain Layout
15905 sd
15906 \end_layout
15907
15908 \end_inset
15909 </cell>
15910 </row>
15911 </lyxtabular>
15912
15913 \end_inset
15914
15915
15916 \end_layout
15917
15918 \end_inset
15919
15920
15921 \end_layout
15922
15923 \begin_layout Standard
15924 \begin_inset ERT
15925 status collapsed
15926
15927 \begin_layout Plain Layout
15928
15929
15930 \backslash
15931 renewcommand{
15932 \backslash
15933 hline}{
15934 \backslash
15935 myHlineC}
15936 \end_layout
15937
15938 \end_inset
15939
15940
15941 \end_layout
15942
15943 \begin_layout Standard
15944 \begin_inset ERT
15945 status collapsed
15946
15947 \begin_layout Plain Layout
15948
15949
15950 \backslash
15951 setlength{
15952 \backslash
15953 arrayrulewidth}{0.4pt}
15954 \end_layout
15955
15956 \end_inset
15957
15958
15959 \end_layout
15960
15961 \begin_layout Section
15962 Table Customization
15963 \begin_inset Index
15964 status collapsed
15965
15966 \begin_layout Plain Layout
15967 Table Customization
15968 \end_layout
15969
15970 \end_inset
15971
15972
15973 \begin_inset Index
15974 status collapsed
15975
15976 \begin_layout Plain Layout
15977 Table ! Customization
15978 \end_layout
15979
15980 \end_inset
15981
15982
15983 \end_layout
15984
15985 \begin_layout Subsection
15986 Row Spacing
15987 \begin_inset CommandInset label
15988 LatexCommand label
15989 name "sub:Row-Spacing"
15990
15991 \end_inset
15992
15993
15994 \begin_inset Index
15995 status collapsed
15996
15997 \begin_layout Plain Layout
15998 Table Customization ! Row Spacing
15999 \end_layout
16000
16001 \end_inset
16002
16003
16004 \end_layout
16005
16006 \begin_layout Standard
16007 You can add vertical space to table rows in the 
16008 \family sans
16009 Borders
16010 \family default
16011  tab of the table dialog.
16012  You find there three possibilities:
16013 \end_layout
16014
16015 \begin_layout Description
16016 Top
16017 \begin_inset space ~
16018 \end_inset
16019
16020 of
16021 \begin_inset space ~
16022 \end_inset
16023
16024 row will add space above the characters of the table row.
16025  If the table is a formal table
16026 \begin_inset Foot
16027 status collapsed
16028
16029 \begin_layout Plain Layout
16030 Formal tables are explained in section
16031 \begin_inset space ~
16032 \end_inset
16033
16034
16035 \begin_inset CommandInset ref
16036 LatexCommand ref
16037 reference "sec:Formal-Tables"
16038
16039 \end_inset
16040
16041 .
16042 \end_layout
16043
16044 \end_inset
16045
16046  LyX will insert as default 0.5
16047 \begin_inset space \thinspace{}
16048 \end_inset
16049
16050 em space.
16051  For normal tables the inserted space will unfortunately destroy the vertical
16052  table lines as in the following table:
16053 \begin_inset VSpace medskip
16054 \end_inset
16055
16056
16057 \begin_inset Newline newline
16058 \end_inset
16059
16060
16061 \begin_inset space \hspace*{}
16062 \length 0pt
16063 \end_inset
16064
16065
16066 \begin_inset space \hfill{}
16067 \end_inset
16068
16069
16070 \begin_inset Tabular
16071 <lyxtabular version="3" rows="3" columns="1">
16072 <features>
16073 <column alignment="center" valignment="top" width="0">
16074 <row>
16075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16076 \begin_inset Text
16077
16078 \begin_layout Plain Layout
16079 A
16080 \end_layout
16081
16082 \end_inset
16083 </cell>
16084 </row>
16085 <row topspace="3mm">
16086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16087 \begin_inset Text
16088
16089 \begin_layout Plain Layout
16090 3
16091 \begin_inset space \thinspace{}
16092 \end_inset
16093
16094 mm space top of row
16095 \end_layout
16096
16097 \end_inset
16098 </cell>
16099 </row>
16100 <row>
16101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16102 \begin_inset Text
16103
16104 \begin_layout Plain Layout
16105 C
16106 \end_layout
16107
16108 \end_inset
16109 </cell>
16110 </row>
16111 </lyxtabular>
16112
16113 \end_inset
16114
16115
16116 \begin_inset space \hfill{}
16117 \end_inset
16118
16119
16120 \begin_inset space \hspace*{}
16121 \length 0pt
16122 \end_inset
16123
16124
16125 \begin_inset VSpace medskip
16126 \end_inset
16127
16128
16129 \begin_inset Newline newline
16130 \end_inset
16131
16132 So inserting space to the top of row for normal tables is only useful when
16133  you don't have vertical lines.
16134 \end_layout
16135
16136 \begin_layout Description
16137 Bottom
16138 \begin_inset space ~
16139 \end_inset
16140
16141 of
16142 \begin_inset space ~
16143 \end_inset
16144
16145 row will add space below the characters of the table row.
16146  If the table is a formal table LyX will insert as default 0.5
16147 \begin_inset space \thinspace{}
16148 \end_inset
16149
16150 em space, for normal tables the default size is 2
16151 \begin_inset space \thinspace{}
16152 \end_inset
16153
16154 pt.
16155 \end_layout
16156
16157 \begin_layout Description
16158 Between
16159 \begin_inset space ~
16160 \end_inset
16161
16162 rows adds space between the current and the following row.
16163  If the table is a formal table LyX will insert as default 0.5
16164 \begin_inset space \thinspace{}
16165 \end_inset
16166
16167 em space.
16168  For normal tables the inserted space will unfortunately destroy the vertical
16169  table lines as in the following table:
16170 \begin_inset VSpace medskip
16171 \end_inset
16172
16173
16174 \begin_inset Newline newline
16175 \end_inset
16176
16177
16178 \begin_inset space \hspace*{}
16179 \length 0pt
16180 \end_inset
16181
16182
16183 \begin_inset space \hfill{}
16184 \end_inset
16185
16186
16187 \begin_inset Tabular
16188 <lyxtabular version="3" rows="3" columns="1">
16189 <features>
16190 <column alignment="center" valignment="top" width="0">
16191 <row>
16192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16193 \begin_inset Text
16194
16195 \begin_layout Plain Layout
16196 A
16197 \end_layout
16198
16199 \end_inset
16200 </cell>
16201 </row>
16202 <row interlinespace="3mm">
16203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16204 \begin_inset Text
16205
16206 \begin_layout Plain Layout
16207 \begin_inset Formula $\downarrow$
16208 \end_inset
16209
16210  3
16211 \begin_inset space \thinspace{}
16212 \end_inset
16213
16214 mm space between row 
16215 \begin_inset Formula $\downarrow$
16216 \end_inset
16217
16218
16219 \end_layout
16220
16221 \end_inset
16222 </cell>
16223 </row>
16224 <row>
16225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16226 \begin_inset Text
16227
16228 \begin_layout Plain Layout
16229 \begin_inset Formula $\uparrow$
16230 \end_inset
16231
16232  3
16233 \begin_inset space \thinspace{}
16234 \end_inset
16235
16236 mm space between row 
16237 \begin_inset Formula $\uparrow$
16238 \end_inset
16239
16240
16241 \end_layout
16242
16243 \end_inset
16244 </cell>
16245 </row>
16246 </lyxtabular>
16247
16248 \end_inset
16249
16250
16251 \begin_inset space \hfill{}
16252 \end_inset
16253
16254
16255 \begin_inset space \hspace*{}
16256 \length 0pt
16257 \end_inset
16258
16259
16260 \begin_inset VSpace medskip
16261 \end_inset
16262
16263
16264 \begin_inset Newline newline
16265 \end_inset
16266
16267 So inserting space between rows for normal tables is only useful when you
16268  don't have vertical lines.
16269 \end_layout
16270
16271 \begin_layout Standard
16272 \begin_inset VSpace bigskip
16273 \end_inset
16274
16275 When you want to add extra height to all cells of all tables, you can do
16276  this with the following preamble lines:
16277 \end_layout
16278
16279 \begin_layout Standard
16280
16281 \series bold
16282
16283 \backslash
16284 @ifundefined{extrarowheight}
16285 \begin_inset Newline newline
16286 \end_inset
16287
16288
16289 \begin_inset ERT
16290 status collapsed
16291
16292 \begin_layout Plain Layout
16293
16294
16295 \backslash
16296 hphantom{ }
16297 \end_layout
16298
16299 \end_inset
16300
16301 {
16302 \backslash
16303 usepackage{array}}{}
16304 \begin_inset Newline newline
16305 \end_inset
16306
16307
16308 \backslash
16309 setlength{
16310 \backslash
16311 extrarowheight}{height}
16312 \end_layout
16313
16314 \begin_layout Standard
16315 But this has the disadvantage that the cell texts are no longer exactly
16316  vertically centered.
16317  (The package 
16318 \series bold
16319 array
16320 \series default
16321  will be loaded automatically by LyX when you use self defined table formats.
16322  To avoid that it is loaded twice the command 
16323 \series bold
16324
16325 \backslash
16326 @ifundefined
16327 \series default
16328  is used in the above command.)
16329 \end_layout
16330
16331 \begin_layout Standard
16332 In case you are using font sizes larger than the normal size, the table
16333  borders are often too close to the letters.
16334  This can be corrected by inserting the command 
16335 \series bold
16336
16337 \backslash
16338 strut
16339 \series default
16340  in TeX code at the beginning of a table row.
16341  Table
16342 \begin_inset space ~
16343 \end_inset
16344
16345
16346 \begin_inset CommandInset ref
16347 LatexCommand ref
16348 reference "tab:Vertical-alignment-of"
16349
16350 \end_inset
16351
16352  visualizes the effect.
16353 \end_layout
16354
16355 \begin_layout Standard
16356 \noindent
16357 \begin_inset Float table
16358 placement h
16359 wide false
16360 sideways false
16361 status open
16362
16363 \begin_layout Plain Layout
16364 \begin_inset Caption
16365
16366 \begin_layout Plain Layout
16367 \begin_inset CommandInset label
16368 LatexCommand label
16369 name "tab:Vertical-alignment-of"
16370
16371 \end_inset
16372
16373 Vertical alignment of text with large font sizes.
16374 \end_layout
16375
16376 \end_inset
16377
16378
16379 \end_layout
16380
16381 \begin_layout Plain Layout
16382 \begin_inset space \hfill{}
16383 \end_inset
16384
16385
16386 \begin_inset Float table
16387 wide false
16388 sideways false
16389 status collapsed
16390
16391 \begin_layout Plain Layout
16392 \begin_inset Caption
16393
16394 \begin_layout Plain Layout
16395 Normal table.
16396 \end_layout
16397
16398 \end_inset
16399
16400
16401 \end_layout
16402
16403 \begin_layout Plain Layout
16404 \noindent
16405 \align center
16406 \begin_inset Tabular
16407 <lyxtabular version="3" rows="6" columns="1">
16408 <features>
16409 <column alignment="left" valignment="top" width="0">
16410 <row>
16411 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16412 \begin_inset Text
16413
16414 \begin_layout Plain Layout
16415 Normal, g
16416 \end_layout
16417
16418 \end_inset
16419 </cell>
16420 </row>
16421 <row>
16422 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16423 \begin_inset Text
16424
16425 \begin_layout Plain Layout
16426
16427 \size large
16428 Large
16429 \end_layout
16430
16431 \end_inset
16432 </cell>
16433 </row>
16434 <row>
16435 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16436 \begin_inset Text
16437
16438 \begin_layout Plain Layout
16439
16440 \size larger
16441 Larger
16442 \end_layout
16443
16444 \end_inset
16445 </cell>
16446 </row>
16447 <row>
16448 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16449 \begin_inset Text
16450
16451 \begin_layout Plain Layout
16452
16453 \size largest
16454 Largest
16455 \end_layout
16456
16457 \end_inset
16458 </cell>
16459 </row>
16460 <row>
16461 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16462 \begin_inset Text
16463
16464 \begin_layout Plain Layout
16465
16466 \size huge
16467 Huge
16468 \end_layout
16469
16470 \end_inset
16471 </cell>
16472 </row>
16473 <row>
16474 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16475 \begin_inset Text
16476
16477 \begin_layout Plain Layout
16478
16479 \size huge
16480 Huger
16481 \end_layout
16482
16483 \end_inset
16484 </cell>
16485 </row>
16486 </lyxtabular>
16487
16488 \end_inset
16489
16490
16491 \end_layout
16492
16493 \end_inset
16494
16495
16496 \begin_inset space \hfill{}
16497 \end_inset
16498
16499
16500 \begin_inset Float table
16501 wide false
16502 sideways false
16503 status collapsed
16504
16505 \begin_layout Plain Layout
16506 \begin_inset Caption
16507
16508 \begin_layout Plain Layout
16509 Table using the command 
16510 \series bold
16511
16512 \backslash
16513 strut
16514 \series default
16515 .
16516 \end_layout
16517
16518 \end_inset
16519
16520
16521 \end_layout
16522
16523 \begin_layout Plain Layout
16524 \noindent
16525 \align center
16526 \begin_inset Tabular
16527 <lyxtabular version="3" rows="6" columns="1">
16528 <features>
16529 <column alignment="left" valignment="top" width="0">
16530 <row>
16531 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16532 \begin_inset Text
16533
16534 \begin_layout Plain Layout
16535 Normal, g
16536 \end_layout
16537
16538 \end_inset
16539 </cell>
16540 </row>
16541 <row>
16542 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16543 \begin_inset Text
16544
16545 \begin_layout Plain Layout
16546
16547 \size large
16548 \begin_inset ERT
16549 status collapsed
16550
16551 \begin_layout Plain Layout
16552
16553
16554 \backslash
16555 strut 
16556 \end_layout
16557
16558 \end_inset
16559
16560 Large
16561 \end_layout
16562
16563 \end_inset
16564 </cell>
16565 </row>
16566 <row>
16567 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16568 \begin_inset Text
16569
16570 \begin_layout Plain Layout
16571
16572 \size larger
16573 \begin_inset ERT
16574 status collapsed
16575
16576 \begin_layout Plain Layout
16577
16578
16579 \backslash
16580 strut 
16581 \end_layout
16582
16583 \end_inset
16584
16585 Larger
16586 \end_layout
16587
16588 \end_inset
16589 </cell>
16590 </row>
16591 <row>
16592 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16593 \begin_inset Text
16594
16595 \begin_layout Plain Layout
16596
16597 \size largest
16598 \begin_inset ERT
16599 status collapsed
16600
16601 \begin_layout Plain Layout
16602
16603
16604 \backslash
16605 strut 
16606 \end_layout
16607
16608 \end_inset
16609
16610 Largest
16611 \end_layout
16612
16613 \end_inset
16614 </cell>
16615 </row>
16616 <row>
16617 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16618 \begin_inset Text
16619
16620 \begin_layout Plain Layout
16621
16622 \size huge
16623 \begin_inset ERT
16624 status collapsed
16625
16626 \begin_layout Plain Layout
16627
16628
16629 \backslash
16630 strut 
16631 \end_layout
16632
16633 \end_inset
16634
16635 Huge
16636 \end_layout
16637
16638 \end_inset
16639 </cell>
16640 </row>
16641 <row>
16642 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16643 \begin_inset Text
16644
16645 \begin_layout Plain Layout
16646
16647 \size giant
16648 \begin_inset ERT
16649 status collapsed
16650
16651 \begin_layout Plain Layout
16652
16653
16654 \backslash
16655 strut 
16656 \end_layout
16657
16658 \end_inset
16659
16660
16661 \size huge
16662 Huger
16663 \end_layout
16664
16665 \end_inset
16666 </cell>
16667 </row>
16668 </lyxtabular>
16669
16670 \end_inset
16671
16672
16673 \end_layout
16674
16675 \end_inset
16676
16677
16678 \begin_inset space \hfill{}
16679 \end_inset
16680
16681
16682 \end_layout
16683
16684 \end_inset
16685
16686
16687 \end_layout
16688
16689 \begin_layout Subsection
16690 Special Cell Alignment
16691 \begin_inset Index
16692 status collapsed
16693
16694 \begin_layout Plain Layout
16695 Table Customization ! Special Cell Alignment
16696 \end_layout
16697
16698 \end_inset
16699
16700
16701 \end_layout
16702
16703 \begin_layout Standard
16704 Sometimes it looks better when the cell entries of a column are aligned
16705  with a special character, e.
16706 \begin_inset space \thinspace{}
16707 \end_inset
16708
16709 g.
16710 \begin_inset space \space{}
16711 \end_inset
16712
16713 with the decimal separator as in Table
16714 \begin_inset space ~
16715 \end_inset
16716
16717
16718 \begin_inset CommandInset ref
16719 LatexCommand ref
16720 reference "tab:Table-cells-of"
16721
16722 \end_inset
16723
16724 .
16725 \end_layout
16726
16727 \begin_layout Standard
16728 \begin_inset Float table
16729 placement h
16730 wide false
16731 sideways false
16732 status open
16733
16734 \begin_layout Plain Layout
16735 \begin_inset Caption
16736
16737 \begin_layout Plain Layout
16738 \begin_inset CommandInset label
16739 LatexCommand label
16740 name "tab:Table-cells-of"
16741
16742 \end_inset
16743
16744 Table cells of a column aligned with the decimal separator.
16745 \end_layout
16746
16747 \end_inset
16748
16749
16750 \end_layout
16751
16752 \begin_layout Plain Layout
16753 \align center
16754 \begin_inset Tabular
16755 <lyxtabular version="3" rows="4" columns="2">
16756 <features>
16757 <column alignment="right" valignment="top" width="0">
16758 <column alignment="left" valignment="top" width="0" special="@{}l">
16759 <row>
16760 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16761 \begin_inset Text
16762
16763 \begin_layout Plain Layout
16764 heading
16765 \end_layout
16766
16767 \end_inset
16768 </cell>
16769 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16770 \begin_inset Text
16771
16772 \begin_layout Plain Layout
16773
16774 \end_layout
16775
16776 \end_inset
16777 </cell>
16778 </row>
16779 <row>
16780 <cell alignment="center" valignment="top" usebox="none">
16781 \begin_inset Text
16782
16783 \begin_layout Plain Layout
16784 12.
16785 \end_layout
16786
16787 \end_inset
16788 </cell>
16789 <cell alignment="center" valignment="top" usebox="none">
16790 \begin_inset Text
16791
16792 \begin_layout Plain Layout
16793 6
16794 \end_layout
16795
16796 \end_inset
16797 </cell>
16798 </row>
16799 <row>
16800 <cell alignment="center" valignment="top" usebox="none">
16801 \begin_inset Text
16802
16803 \begin_layout Plain Layout
16804 0.
16805 \end_layout
16806
16807 \end_inset
16808 </cell>
16809 <cell alignment="center" valignment="top" usebox="none">
16810 \begin_inset Text
16811
16812 \begin_layout Plain Layout
16813 68
16814 \end_layout
16815
16816 \end_inset
16817 </cell>
16818 </row>
16819 <row>
16820 <cell alignment="center" valignment="top" usebox="none">
16821 \begin_inset Text
16822
16823 \begin_layout Plain Layout
16824 -123.
16825 \end_layout
16826
16827 \end_inset
16828 </cell>
16829 <cell alignment="center" valignment="top" usebox="none">
16830 \begin_inset Text
16831
16832 \begin_layout Plain Layout
16833 0
16834 \end_layout
16835
16836 \end_inset
16837 </cell>
16838 </row>
16839 </lyxtabular>
16840
16841 \end_inset
16842
16843
16844 \end_layout
16845
16846 \end_inset
16847
16848
16849 \end_layout
16850
16851 \begin_layout Standard
16852 This table was created with a 4×2 table.
16853  The heading is a centered multicolumn.
16854  The first column is right-aligned and contains the digits before the decimal
16855  point and the decimal point.
16856  The second column is left aligned and contains the digits after the decimal
16857  point.
16858  To omit the space that is normally between two table columns, use the following
16859  LaTeX-argument for the second column:
16860 \end_layout
16861
16862 \begin_layout Standard
16863
16864 \series bold
16865 @{}l
16866 \end_layout
16867
16868 \begin_layout Standard
16869 Table
16870 \begin_inset space ~
16871 \end_inset
16872
16873
16874 \begin_inset CommandInset ref
16875 LatexCommand ref
16876 reference "tab:Several-table-cell"
16877
16878 \end_inset
16879
16880  shows some example alignments.
16881  For the alignment with the relation sign, you must add the second smallest
16882  math-space at the beginning of the last column to get the correct space
16883  surrounding the relation sign.
16884 \end_layout
16885
16886 \begin_layout Standard
16887 \begin_inset Float table
16888 placement h
16889 wide false
16890 sideways false
16891 status open
16892
16893 \begin_layout Plain Layout
16894 \begin_inset Caption
16895
16896 \begin_layout Plain Layout
16897 \begin_inset CommandInset label
16898 LatexCommand label
16899 name "tab:Several-table-cell"
16900
16901 \end_inset
16902
16903 Several table cell alignments.
16904 \end_layout
16905
16906 \end_inset
16907
16908
16909 \end_layout
16910
16911 \begin_layout Plain Layout
16912 \align center
16913 \begin_inset Tabular
16914 <lyxtabular version="3" rows="4" columns="6">
16915 <features>
16916 <column alignment="right" valignment="top" width="0">
16917 <column alignment="left" valignment="top" width="0" special="@{}l">
16918 <column alignment="right" valignment="top" width="0">
16919 <column alignment="left" valignment="top" width="0" special="@{}l">
16920 <column alignment="right" valignment="top" width="0">
16921 <column alignment="left" valignment="top" width="0" special="@{}l">
16922 <row>
16923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16924 \begin_inset Text
16925
16926 \begin_layout Plain Layout
16927 units
16928 \end_layout
16929
16930 \end_inset
16931 </cell>
16932 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16933 \begin_inset Text
16934
16935 \begin_layout Plain Layout
16936
16937 \end_layout
16938
16939 \end_inset
16940 </cell>
16941 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Plain Layout
16945 exponents
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16951 \begin_inset Text
16952
16953 \begin_layout Plain Layout
16954
16955 \end_layout
16956
16957 \end_inset
16958 </cell>
16959 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16960 \begin_inset Text
16961
16962 \begin_layout Plain Layout
16963 relations
16964 \end_layout
16965
16966 \end_inset
16967 </cell>
16968 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16969 \begin_inset Text
16970
16971 \begin_layout Plain Layout
16972
16973 \end_layout
16974
16975 \end_inset
16976 </cell>
16977 </row>
16978 <row>
16979 <cell alignment="center" valignment="top" usebox="none">
16980 \begin_inset Text
16981
16982 \begin_layout Plain Layout
16983 12×
16984 \end_layout
16985
16986 \end_inset
16987 </cell>
16988 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16989 \begin_inset Text
16990
16991 \begin_layout Plain Layout
16992 24
16993 \begin_inset space \thinspace{}
16994 \end_inset
16995
16996 bottles
16997 \end_layout
16998
16999 \end_inset
17000 </cell>
17001 <cell alignment="center" valignment="top" usebox="none">
17002 \begin_inset Text
17003
17004 \begin_layout Plain Layout
17005 \begin_inset Formula $10\cdot$
17006 \end_inset
17007
17008
17009 \end_layout
17010
17011 \end_inset
17012 </cell>
17013 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17014 \begin_inset Text
17015
17016 \begin_layout Plain Layout
17017 \begin_inset Formula $10^{\mbox{-}17}$
17018 \end_inset
17019
17020
17021 \end_layout
17022
17023 \end_inset
17024 </cell>
17025 <cell alignment="center" valignment="top" usebox="none">
17026 \begin_inset Text
17027
17028 \begin_layout Plain Layout
17029 \begin_inset Formula $\Gamma(t)\propto$
17030 \end_inset
17031
17032
17033 \end_layout
17034
17035 \end_inset
17036 </cell>
17037 <cell alignment="center" valignment="top" usebox="none">
17038 \begin_inset Text
17039
17040 \begin_layout Plain Layout
17041 \begin_inset Formula $\:\Upsilon(t)$
17042 \end_inset
17043
17044
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 </row>
17050 <row>
17051 <cell alignment="center" valignment="top" usebox="none">
17052 \begin_inset Text
17053
17054 \begin_layout Plain Layout
17055 1024×
17056 \end_layout
17057
17058 \end_inset
17059 </cell>
17060 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17061 \begin_inset Text
17062
17063 \begin_layout Plain Layout
17064 768
17065 \begin_inset space \thinspace{}
17066 \end_inset
17067
17068 Pixels
17069 \end_layout
17070
17071 \end_inset
17072 </cell>
17073 <cell alignment="center" valignment="top" usebox="none">
17074 \begin_inset Text
17075
17076 \begin_layout Plain Layout
17077 \begin_inset Formula $5.78\cdot$
17078 \end_inset
17079
17080
17081 \end_layout
17082
17083 \end_inset
17084 </cell>
17085 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17086 \begin_inset Text
17087
17088 \begin_layout Plain Layout
17089 \begin_inset Formula $10^{7}$
17090 \end_inset
17091
17092
17093 \end_layout
17094
17095 \end_inset
17096 </cell>
17097 <cell alignment="center" valignment="top" usebox="none">
17098 \begin_inset Text
17099
17100 \begin_layout Plain Layout
17101 \begin_inset Formula $A\ne$
17102 \end_inset
17103
17104
17105 \end_layout
17106
17107 \end_inset
17108 </cell>
17109 <cell alignment="center" valignment="top" usebox="none">
17110 \begin_inset Text
17111
17112 \begin_layout Plain Layout
17113 \begin_inset Formula $\: B_{\mathrm{red}}$
17114 \end_inset
17115
17116
17117 \end_layout
17118
17119 \end_inset
17120 </cell>
17121 </row>
17122 <row>
17123 <cell alignment="center" valignment="top" usebox="none">
17124 \begin_inset Text
17125
17126 \begin_layout Plain Layout
17127 32×
17128 \end_layout
17129
17130 \end_inset
17131 </cell>
17132 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17133 \begin_inset Text
17134
17135 \begin_layout Plain Layout
17136 6
17137 \begin_inset space \thinspace{}
17138 \end_inset
17139
17140 cm
17141 \end_layout
17142
17143 \end_inset
17144 </cell>
17145 <cell alignment="center" valignment="top" usebox="none">
17146 \begin_inset Text
17147
17148 \begin_layout Plain Layout
17149 -
17150 \begin_inset Formula $33.5\cdot$
17151 \end_inset
17152
17153
17154 \end_layout
17155
17156 \end_inset
17157 </cell>
17158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17159 \begin_inset Text
17160
17161 \begin_layout Plain Layout
17162 \begin_inset Formula $10^{4}$
17163 \end_inset
17164
17165
17166 \end_layout
17167
17168 \end_inset
17169 </cell>
17170 <cell alignment="center" valignment="top" usebox="none">
17171 \begin_inset Text
17172
17173 \begin_layout Plain Layout
17174 \begin_inset Formula $\sin(\alpha)\ge$
17175 \end_inset
17176
17177
17178 \end_layout
17179
17180 \end_inset
17181 </cell>
17182 <cell alignment="center" valignment="top" usebox="none">
17183 \begin_inset Text
17184
17185 \begin_layout Plain Layout
17186 \begin_inset Formula $\:\sin(\beta)$
17187 \end_inset
17188
17189
17190 \end_layout
17191
17192 \end_inset
17193 </cell>
17194 </row>
17195 </lyxtabular>
17196
17197 \end_inset
17198
17199
17200 \end_layout
17201
17202 \end_inset
17203
17204
17205 \end_layout
17206
17207 \begin_layout Standard
17208 \begin_inset VSpace bigskip
17209 \end_inset
17210
17211 There is also the LaTeX-package 
17212 \series bold
17213 dcolumn
17214 \series default
17215
17216 \begin_inset Index
17217 status collapsed
17218
17219 \begin_layout Plain Layout
17220 LaTeX-packages ! dcolumn
17221 \end_layout
17222
17223 \end_inset
17224
17225  that provides table cell alignments.
17226  But this unfortunately treats the cell entries as math and does not allow
17227  formulas in table cells: The first column of Table
17228 \begin_inset space ~
17229 \end_inset
17230
17231
17232 \begin_inset CommandInset ref
17233 LatexCommand ref
17234 reference "tab:Several-table-cell"
17235
17236 \end_inset
17237
17238  will look with 
17239 \series bold
17240 dcolumn
17241 \series default
17242  like the first column in Table
17243 \begin_inset space ~
17244 \end_inset
17245
17246
17247 \begin_inset CommandInset ref
17248 LatexCommand ref
17249 reference "tab:Alignments-when"
17250
17251 \end_inset
17252
17253  and only with some tricks like the expected.
17254  The alignment of the second and third column of Table
17255 \begin_inset space ~
17256 \end_inset
17257
17258
17259 \begin_inset CommandInset ref
17260 LatexCommand ref
17261 reference "tab:Several-table-cell"
17262
17263 \end_inset
17264
17265  is not possible with 
17266 \series bold
17267 dcolumn
17268 \series default
17269 .
17270 \end_layout
17271
17272 \begin_layout Standard
17273 \begin_inset Newpage newpage
17274 \end_inset
17275
17276
17277 \end_layout
17278
17279 \begin_layout Standard
17280 \begin_inset Float table
17281 placement h
17282 wide false
17283 sideways false
17284 status open
17285
17286 \begin_layout Plain Layout
17287 \begin_inset Caption
17288
17289 \begin_layout Plain Layout
17290 \begin_inset CommandInset label
17291 LatexCommand label
17292 name "tab:Alignments-when"
17293
17294 \end_inset
17295
17296 Alignments when LaTeX-package dcolumn is used.
17297  For all column alignments tricks have to be used to get the output.
17298 \end_layout
17299
17300 \end_inset
17301
17302
17303 \end_layout
17304
17305 \begin_layout Plain Layout
17306 \align center
17307 \begin_inset Tabular
17308 <lyxtabular version="3" rows="4" columns="3">
17309 <features>
17310 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17311 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17312 <column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
17313 <row>
17314 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17315 \begin_inset Text
17316
17317 \begin_layout Plain Layout
17318 units
17319 \end_layout
17320
17321 \end_inset
17322 </cell>
17323 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17324 \begin_inset Text
17325
17326 \begin_layout Plain Layout
17327 units
17328 \end_layout
17329
17330 \end_inset
17331 </cell>
17332 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17333 \begin_inset Text
17334
17335 \begin_layout Plain Layout
17336 units
17337 \end_layout
17338
17339 \end_inset
17340 </cell>
17341 </row>
17342 <row>
17343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17344 \begin_inset Text
17345
17346 \begin_layout Plain Layout
17347 12x24
17348 \begin_inset space \thinspace{}
17349 \end_inset
17350
17351 bottles
17352 \end_layout
17353
17354 \end_inset
17355 </cell>
17356 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17357 \begin_inset Text
17358
17359 \begin_layout Plain Layout
17360 12x24
17361 \begin_inset space \thinspace{}
17362 \end_inset
17363
17364
17365 \begin_inset Formula $\mbox{bottles}$
17366 \end_inset
17367
17368
17369 \end_layout
17370
17371 \end_inset
17372 </cell>
17373 <cell alignment="center" valignment="top" usebox="none">
17374 \begin_inset Text
17375
17376 \begin_layout Plain Layout
17377 12
17378 \begin_inset ERT
17379 status collapsed
17380
17381 \begin_layout Plain Layout
17382
17383
17384 \backslash
17385 times 
17386 \end_layout
17387
17388 \end_inset
17389
17390 24+
17391 \begin_inset Formula $\mbox{bottles}$
17392 \end_inset
17393
17394
17395 \end_layout
17396
17397 \end_inset
17398 </cell>
17399 </row>
17400 <row>
17401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17402 \begin_inset Text
17403
17404 \begin_layout Plain Layout
17405 1024x768
17406 \begin_inset space \thinspace{}
17407 \end_inset
17408
17409 Pixels
17410 \end_layout
17411
17412 \end_inset
17413 </cell>
17414 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17415 \begin_inset Text
17416
17417 \begin_layout Plain Layout
17418 1024x768
17419 \begin_inset space \thinspace{}
17420 \end_inset
17421
17422
17423 \begin_inset Formula $\mbox{Pixels}$
17424 \end_inset
17425
17426
17427 \end_layout
17428
17429 \end_inset
17430 </cell>
17431 <cell alignment="center" valignment="top" usebox="none">
17432 \begin_inset Text
17433
17434 \begin_layout Plain Layout
17435 1024
17436 \begin_inset ERT
17437 status collapsed
17438
17439 \begin_layout Plain Layout
17440
17441
17442 \backslash
17443 times 
17444 \end_layout
17445
17446 \end_inset
17447
17448 768+
17449 \begin_inset Formula $\mbox{Pixels}$
17450 \end_inset
17451
17452
17453 \end_layout
17454
17455 \end_inset
17456 </cell>
17457 </row>
17458 <row>
17459 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17460 \begin_inset Text
17461
17462 \begin_layout Plain Layout
17463 32x6
17464 \begin_inset space \thinspace{}
17465 \end_inset
17466
17467 cm
17468 \end_layout
17469
17470 \end_inset
17471 </cell>
17472 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17473 \begin_inset Text
17474
17475 \begin_layout Plain Layout
17476 32x6
17477 \begin_inset space \thinspace{}
17478 \end_inset
17479
17480
17481 \begin_inset Formula $\mbox{cm}$
17482 \end_inset
17483
17484
17485 \end_layout
17486
17487 \end_inset
17488 </cell>
17489 <cell alignment="center" valignment="top" usebox="none">
17490 \begin_inset Text
17491
17492 \begin_layout Plain Layout
17493 32
17494 \begin_inset ERT
17495 status collapsed
17496
17497 \begin_layout Plain Layout
17498
17499
17500 \backslash
17501 times 
17502 \end_layout
17503
17504 \end_inset
17505
17506 6+
17507 \begin_inset Formula $\mbox{cm}$
17508 \end_inset
17509
17510
17511 \end_layout
17512
17513 \end_inset
17514 </cell>
17515 </row>
17516 </lyxtabular>
17517
17518 \end_inset
17519
17520
17521 \end_layout
17522
17523 \end_inset
17524
17525
17526 \end_layout
17527
17528 \begin_layout Subsection
17529 Customized Cell/Column Format
17530 \begin_inset CommandInset label
17531 LatexCommand label
17532 name "sub:Customized-Format"
17533
17534 \end_inset
17535
17536
17537 \begin_inset Index
17538 status collapsed
17539
17540 \begin_layout Plain Layout
17541 Table Customization ! Cell/Column Format
17542 \end_layout
17543
17544 \end_inset
17545
17546
17547 \end_layout
17548
17549 \begin_layout Standard
17550 Calculating the needed width for spanned columns like in section
17551 \begin_inset space ~
17552 \end_inset
17553
17554
17555 \begin_inset CommandInset ref
17556 LatexCommand ref
17557 reference "sub:Multicolumn-Calculations"
17558
17559 \end_inset
17560
17561  is very annoying if you have several tables with multicolumn cells.
17562  To make life easier, you can define a cell/column format in the preamble,
17563  so that it can be used in all tables of the document.
17564  The format is defined with the command
17565 \end_layout
17566
17567 \begin_layout Standard
17568
17569 \series bold
17570
17571 \backslash
17572 newcolumntype{name of format}[number of arguments]{commands}
17573 \end_layout
17574
17575 \begin_layout Standard
17576 The format name may only consist of one letter.
17577  The letters 
17578 \emph on
17579 b
17580 \emph default
17581
17582 \emph on
17583 c
17584 \emph default
17585
17586 \emph on
17587 l
17588 \emph default
17589
17590 \emph on
17591 m
17592 \emph default
17593
17594 \emph on
17595 p
17596 \emph default
17597  and 
17598 \emph on
17599 r
17600 \emph default
17601  are predefined and cannot be used.
17602  But all letters are allowed as capitals.
17603 \end_layout
17604
17605 \begin_layout Standard
17606 \begin_inset VSpace medskip
17607 \end_inset
17608
17609
17610 \end_layout
17611
17612 \begin_layout Standard
17613 For vertically and horizontally centered multicolumn cells with a fixed
17614  width you can define the cell format
17615 \end_layout
17616
17617 \begin_layout Standard
17618
17619 \series bold
17620
17621 \backslash
17622 newcolumntype{M}[1]{>{
17623 \backslash
17624 centering
17625 \backslash
17626 hspace{0pt}}m{#1}}
17627 \end_layout
17628
17629 \begin_layout Standard
17630 where 
17631 \series bold
17632
17633 \backslash
17634 hspace{0pt}
17635 \series default
17636  avoids the problem of hyphenating the first word, as described in section
17637 \begin_inset space ~
17638 \end_inset
17639
17640
17641 \begin_inset CommandInset ref
17642 LatexCommand ref
17643 reference "sub:Multiple-Lines-in"
17644
17645 \end_inset
17646
17647 .
17648  Now you can simply enter
17649 \end_layout
17650
17651 \begin_layout Standard
17652
17653 \series bold
17654 M{width}
17655 \end_layout
17656
17657 \begin_layout Standard
17658 as LaTeX-argument in the table dialog to create a multicolumn.
17659 \end_layout
17660
17661 \begin_layout Standard
17662 \begin_inset VSpace bigskip
17663 \end_inset
17664
17665
17666 \end_layout
17667
17668 \begin_layout Standard
17669 For cells spanned by a multicolumn cell, you can define the format
17670 \end_layout
17671
17672 \begin_layout Standard
17673
17674 \series bold
17675
17676 \backslash
17677 newcolumntype{S}[2]{>{
17678 \backslash
17679 centering
17680 \backslash
17681 hspace{0pt}}
17682 \begin_inset Newline newline
17683 \end_inset
17684
17685
17686 \begin_inset ERT
17687 status collapsed
17688
17689 \begin_layout Plain Layout
17690
17691
17692 \backslash
17693 phantom{
17694 \end_layout
17695
17696 \end_inset
17697
17698
17699 \backslash
17700 newcolumntype
17701 \begin_inset ERT
17702 status collapsed
17703
17704 \begin_layout Plain Layout
17705
17706 }
17707 \end_layout
17708
17709 \end_inset
17710
17711 m{(#1+(2
17712 \backslash
17713 tabcolsep+
17714 \backslash
17715 arrayrulewidth)*(1-#2))/#2}}
17716 \end_layout
17717
17718 \begin_layout Standard
17719 This format uses equation 
17720 \begin_inset CommandInset ref
17721 LatexCommand eqref
17722 reference "eq:Wgn"
17723
17724 \end_inset
17725
17726  to calculate the needed width so that each spanned cell has the same width.
17727 \end_layout
17728
17729 \begin_layout Standard
17730 You can now enter
17731 \end_layout
17732
17733 \begin_layout Standard
17734
17735 \series bold
17736 S{width of multicolumn cell}{number of spanned columns}
17737 \end_layout
17738
17739 \begin_layout Standard
17740 as LaTeX-argument of the column.
17741 \end_layout
17742
17743 \begin_layout Standard
17744 \begin_inset VSpace bigskip
17745 \end_inset
17746
17747
17748 \end_layout
17749
17750 \begin_layout Standard
17751 For colored columns, you can define
17752 \end_layout
17753
17754 \begin_layout Standard
17755
17756 \series bold
17757
17758 \backslash
17759 newcolumntype{K}[1]{>{
17760 \backslash
17761 columncolor{#1}
17762 \backslash
17763 hspace{0pt}}c}
17764 \end_layout
17765
17766 \begin_layout Standard
17767 The 
17768 \begin_inset Quotes eld
17769 \end_inset
17770
17771 c
17772 \begin_inset Quotes erd
17773 \end_inset
17774
17775  at the end creates a column with a flexible width whose text is horizontally
17776  centered.
17777  You can now enter
17778 \end_layout
17779
17780 \begin_layout Standard
17781
17782 \series bold
17783 K{color name}
17784 \end_layout
17785
17786 \begin_layout Standard
17787 as LaTeX-argument.
17788 \end_layout
17789
17790 \begin_layout Standard
17791 \begin_inset VSpace bigskip
17792 \end_inset
17793
17794
17795 \end_layout
17796
17797 \begin_layout Standard
17798 To create Table
17799 \begin_inset space ~
17800 \end_inset
17801
17802
17803 \begin_inset CommandInset ref
17804 LatexCommand ref
17805 reference "tab:Table-using-user-defined"
17806
17807 \end_inset
17808
17809  use the LaTeX-arguments
17810 \end_layout
17811
17812 \begin_layout Standard
17813
17814 \series bold
17815 M{2.5cm}
17816 \end_layout
17817
17818 \begin_layout Standard
17819 for the first column and the multicolumn,
17820 \end_layout
17821
17822 \begin_layout Standard
17823
17824 \series bold
17825 K{red}
17826 \end_layout
17827
17828 \begin_layout Standard
17829 for the the last column, and
17830 \end_layout
17831
17832 \begin_layout Standard
17833
17834 \series bold
17835 S{2.5cm}{2}
17836 \end_layout
17837
17838 \begin_layout Standard
17839 for the cells in the second column.
17840 \end_layout
17841
17842 \begin_layout Standard
17843 \begin_inset Float table
17844 placement h
17845 wide false
17846 sideways false
17847 status open
17848
17849 \begin_layout Plain Layout
17850 \begin_inset Caption
17851
17852 \begin_layout Plain Layout
17853 \begin_inset CommandInset label
17854 LatexCommand label
17855 name "tab:Table-using-user-defined"
17856
17857 \end_inset
17858
17859 Table using user-defined table formats
17860 \end_layout
17861
17862 \end_inset
17863
17864
17865 \end_layout
17866
17867 \begin_layout Plain Layout
17868 \align center
17869 \begin_inset Tabular
17870 <lyxtabular version="3" rows="3" columns="4">
17871 <features>
17872 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17873 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17874 <column alignment="center" valignment="middle" width="0">
17875 <column alignment="center" valignment="middle" width="0" special="K{red}">
17876 <row>
17877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17878 \begin_inset Text
17879
17880 \begin_layout Plain Layout
17881 verylongtablecellword
17882 \end_layout
17883
17884 \end_inset
17885 </cell>
17886 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17887 \begin_inset Text
17888
17889 \begin_layout Plain Layout
17890 multiple lines multicolumn
17891 \end_layout
17892
17893 \end_inset
17894 </cell>
17895 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17896 \begin_inset Text
17897
17898 \begin_layout Plain Layout
17899
17900 \end_layout
17901
17902 \end_inset
17903 </cell>
17904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17905 \begin_inset Text
17906
17907 \begin_layout Plain Layout
17908 c
17909 \end_layout
17910
17911 \end_inset
17912 </cell>
17913 </row>
17914 <row>
17915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17916 \begin_inset Text
17917
17918 \begin_layout Plain Layout
17919 d
17920 \end_layout
17921
17922 \end_inset
17923 </cell>
17924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17925 \begin_inset Text
17926
17927 \begin_layout Plain Layout
17928 e
17929 \end_layout
17930
17931 \end_inset
17932 </cell>
17933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17934 \begin_inset Text
17935
17936 \begin_layout Plain Layout
17937 f
17938 \end_layout
17939
17940 \end_inset
17941 </cell>
17942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17943 \begin_inset Text
17944
17945 \begin_layout Plain Layout
17946 g
17947 \end_layout
17948
17949 \end_inset
17950 </cell>
17951 </row>
17952 <row>
17953 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17954 \begin_inset Text
17955
17956 \begin_layout Plain Layout
17957 h
17958 \end_layout
17959
17960 \end_inset
17961 </cell>
17962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17963 \begin_inset Text
17964
17965 \begin_layout Plain Layout
17966 i
17967 \end_layout
17968
17969 \end_inset
17970 </cell>
17971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17972 \begin_inset Text
17973
17974 \begin_layout Plain Layout
17975 j
17976 \end_layout
17977
17978 \end_inset
17979 </cell>
17980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17981 \begin_inset Text
17982
17983 \begin_layout Plain Layout
17984 k
17985 \end_layout
17986
17987 \end_inset
17988 </cell>
17989 </row>
17990 </lyxtabular>
17991
17992 \end_inset
17993
17994
17995 \end_layout
17996
17997 \end_inset
17998
17999
18000 \end_layout
18001
18002 \begin_layout Subsection
18003 Line Thickness
18004 \begin_inset CommandInset label
18005 LatexCommand label
18006 name "sub:Line-Thickness"
18007
18008 \end_inset
18009
18010
18011 \begin_inset Index
18012 status collapsed
18013
18014 \begin_layout Plain Layout
18015 Table Customization ! Line Thickness
18016 \end_layout
18017
18018 \end_inset
18019
18020
18021 \end_layout
18022
18023 \begin_layout Standard
18024 The line thickness for all lines in a table can be adjusted with the length
18025  
18026 \series bold
18027
18028 \backslash
18029 arrayrulewidth
18030 \series default
18031 .
18032  To set for example a line thickness of 1.5
18033 \begin_inset space \thinspace{}
18034 \end_inset
18035
18036 pt, like in Table
18037 \begin_inset space ~
18038 \end_inset
18039
18040
18041 \begin_inset CommandInset ref
18042 LatexCommand ref
18043 reference "tab:Table-with-1.5"
18044
18045 \end_inset
18046
18047 , insert the command
18048 \end_layout
18049
18050 \begin_layout Standard
18051
18052 \series bold
18053
18054 \backslash
18055 setlength{
18056 \backslash
18057 arrayrulewidth}{1.5pt}
18058 \end_layout
18059
18060 \begin_layout Standard
18061 in TeX-Code before the table or table float.
18062  The changed thickness is valid for all following tables.
18063  To use the default value again, set 
18064 \series bold
18065
18066 \backslash
18067 arrayrulewidth
18068 \series default
18069  to 0.4
18070 \begin_inset space \thinspace{}
18071 \end_inset
18072
18073 pt in TeX-Code behind the table or table float.
18074 \end_layout
18075
18076 \begin_layout Standard
18077 \begin_inset ERT
18078 status collapsed
18079
18080 \begin_layout Plain Layout
18081
18082
18083 \backslash
18084 setlength{
18085 \backslash
18086 arrayrulewidth}{1.5pt}
18087 \end_layout
18088
18089 \end_inset
18090
18091
18092 \begin_inset Float table
18093 wide false
18094 sideways false
18095 status open
18096
18097 \begin_layout Plain Layout
18098 \begin_inset Caption
18099
18100 \begin_layout Plain Layout
18101 \begin_inset CommandInset label
18102 LatexCommand label
18103 name "tab:Table-with-1.5"
18104
18105 \end_inset
18106
18107 Table with 1.5
18108 \begin_inset space \thinspace{}
18109 \end_inset
18110
18111 pt thick lines
18112 \end_layout
18113
18114 \end_inset
18115
18116
18117 \end_layout
18118
18119 \begin_layout Plain Layout
18120 \align center
18121 \begin_inset Tabular
18122 <lyxtabular version="3" rows="3" columns="3">
18123 <features>
18124 <column alignment="center" valignment="top" width="0">
18125 <column alignment="center" valignment="top" width="0">
18126 <column alignment="center" valignment="top" width="0">
18127 <row>
18128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18129 \begin_inset Text
18130
18131 \begin_layout Plain Layout
18132 sd
18133 \end_layout
18134
18135 \end_inset
18136 </cell>
18137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18138 \begin_inset Text
18139
18140 \begin_layout Plain Layout
18141
18142 \end_layout
18143
18144 \end_inset
18145 </cell>
18146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18147 \begin_inset Text
18148
18149 \begin_layout Plain Layout
18150
18151 \end_layout
18152
18153 \end_inset
18154 </cell>
18155 </row>
18156 <row>
18157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18158 \begin_inset Text
18159
18160 \begin_layout Plain Layout
18161
18162 \end_layout
18163
18164 \end_inset
18165 </cell>
18166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18167 \begin_inset Text
18168
18169 \begin_layout Plain Layout
18170 sd
18171 \end_layout
18172
18173 \end_inset
18174 </cell>
18175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18176 \begin_inset Text
18177
18178 \begin_layout Plain Layout
18179
18180 \end_layout
18181
18182 \end_inset
18183 </cell>
18184 </row>
18185 <row>
18186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18187 \begin_inset Text
18188
18189 \begin_layout Plain Layout
18190
18191 \end_layout
18192
18193 \end_inset
18194 </cell>
18195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18196 \begin_inset Text
18197
18198 \begin_layout Plain Layout
18199
18200 \end_layout
18201
18202 \end_inset
18203 </cell>
18204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18205 \begin_inset Text
18206
18207 \begin_layout Plain Layout
18208 sd
18209 \end_layout
18210
18211 \end_inset
18212 </cell>
18213 </row>
18214 </lyxtabular>
18215
18216 \end_inset
18217
18218
18219 \end_layout
18220
18221 \end_inset
18222
18223
18224 \begin_inset ERT
18225 status collapsed
18226
18227 \begin_layout Plain Layout
18228
18229
18230 \backslash
18231 setlength{
18232 \backslash
18233 arrayrulewidth}{0.4pt}
18234 \end_layout
18235
18236 \end_inset
18237
18238
18239 \end_layout
18240
18241 \begin_layout Standard
18242 \begin_inset VSpace bigskip
18243 \end_inset
18244
18245 To set the line thickness to 1.5
18246 \begin_inset space \thinspace{}
18247 \end_inset
18248
18249 pt only for horizontal lines, like in Table
18250 \begin_inset space ~
18251 \end_inset
18252
18253
18254 \begin_inset CommandInset ref
18255 LatexCommand ref
18256 reference "tab:Table-with-horizontal"
18257
18258 \end_inset
18259
18260 , insert these commands in TeX-Code before the table or table float:
18261 \end_layout
18262
18263 \begin_layout Standard
18264
18265 \series bold
18266
18267 \backslash
18268 let
18269 \backslash
18270 myHline
18271 \backslash
18272 hline
18273 \begin_inset Newline newline
18274 \end_inset
18275
18276
18277 \backslash
18278 renewcommand{
18279 \backslash
18280 hline}
18281 \begin_inset Newline newline
18282 \end_inset
18283
18284  {
18285 \backslash
18286 noalign{
18287 \backslash
18288 global
18289 \backslash
18290 arrayrulewidth 1.5pt}
18291 \begin_inset Newline newline
18292 \end_inset
18293
18294  
18295 \backslash
18296 myHline
18297 \backslash
18298 noalign{
18299 \backslash
18300 global
18301 \backslash
18302 arrayrulewidth 0.4pt}}
18303 \end_layout
18304
18305 \begin_layout Standard
18306 To return to the default line thickness, insert this command in TeX-Code
18307  behind the table or table float:
18308 \end_layout
18309
18310 \begin_layout Standard
18311
18312 \series bold
18313
18314 \backslash
18315 renewcommand{
18316 \backslash
18317 hline}{
18318 \backslash
18319 myHline}
18320 \end_layout
18321
18322 \begin_layout Standard
18323 \begin_inset ERT
18324 status collapsed
18325
18326 \begin_layout Plain Layout
18327
18328
18329 \backslash
18330 let
18331 \backslash
18332 myHline
18333 \backslash
18334 hline
18335 \end_layout
18336
18337 \begin_layout Plain Layout
18338
18339
18340 \backslash
18341 renewcommand{
18342 \backslash
18343 hline}
18344 \end_layout
18345
18346 \begin_layout Plain Layout
18347
18348  {
18349 \backslash
18350 noalign{
18351 \backslash
18352 global
18353 \backslash
18354 arrayrulewidth 1.5pt}
18355 \end_layout
18356
18357 \begin_layout Plain Layout
18358
18359   
18360 \backslash
18361 myHline
18362 \backslash
18363 noalign{
18364 \backslash
18365 global
18366 \backslash
18367 arrayrulewidth 0.4pt}}
18368 \end_layout
18369
18370 \end_inset
18371
18372
18373 \begin_inset Float table
18374 wide false
18375 sideways false
18376 status open
18377
18378 \begin_layout Plain Layout
18379 \begin_inset Caption
18380
18381 \begin_layout Plain Layout
18382 \begin_inset CommandInset label
18383 LatexCommand label
18384 name "tab:Table-with-horizontal"
18385
18386 \end_inset
18387
18388 Table with 1.5
18389 \begin_inset space \thinspace{}
18390 \end_inset
18391
18392 pt thick horizontal lines
18393 \end_layout
18394
18395 \end_inset
18396
18397
18398 \end_layout
18399
18400 \begin_layout Plain Layout
18401 \align center
18402 \begin_inset Tabular
18403 <lyxtabular version="3" rows="3" columns="3">
18404 <features>
18405 <column alignment="center" valignment="top" width="0">
18406 <column alignment="center" valignment="top" width="0">
18407 <column alignment="center" valignment="top" width="0">
18408 <row>
18409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18410 \begin_inset Text
18411
18412 \begin_layout Plain Layout
18413 sd
18414 \end_layout
18415
18416 \end_inset
18417 </cell>
18418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18419 \begin_inset Text
18420
18421 \begin_layout Plain Layout
18422
18423 \end_layout
18424
18425 \end_inset
18426 </cell>
18427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18428 \begin_inset Text
18429
18430 \begin_layout Plain Layout
18431
18432 \end_layout
18433
18434 \end_inset
18435 </cell>
18436 </row>
18437 <row>
18438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18439 \begin_inset Text
18440
18441 \begin_layout Plain Layout
18442
18443 \end_layout
18444
18445 \end_inset
18446 </cell>
18447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18448 \begin_inset Text
18449
18450 \begin_layout Plain Layout
18451 sd
18452 \end_layout
18453
18454 \end_inset
18455 </cell>
18456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18457 \begin_inset Text
18458
18459 \begin_layout Plain Layout
18460
18461 \end_layout
18462
18463 \end_inset
18464 </cell>
18465 </row>
18466 <row>
18467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18468 \begin_inset Text
18469
18470 \begin_layout Plain Layout
18471
18472 \end_layout
18473
18474 \end_inset
18475 </cell>
18476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18477 \begin_inset Text
18478
18479 \begin_layout Plain Layout
18480
18481 \end_layout
18482
18483 \end_inset
18484 </cell>
18485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18486 \begin_inset Text
18487
18488 \begin_layout Plain Layout
18489 sd
18490 \end_layout
18491
18492 \end_inset
18493 </cell>
18494 </row>
18495 </lyxtabular>
18496
18497 \end_inset
18498
18499
18500 \end_layout
18501
18502 \end_inset
18503
18504
18505 \begin_inset ERT
18506 status collapsed
18507
18508 \begin_layout Plain Layout
18509
18510
18511 \backslash
18512 renewcommand{
18513 \backslash
18514 hline}{
18515 \backslash
18516 myHline}
18517 \end_layout
18518
18519 \end_inset
18520
18521
18522 \end_layout
18523
18524 \begin_layout Standard
18525 \begin_inset VSpace bigskip
18526 \end_inset
18527
18528 To set the line thickness to 1.5
18529 \begin_inset space \thinspace{}
18530 \end_inset
18531
18532 pt only for vertical lines, create the following column format in the document
18533  preamble, according to the description in section
18534 \begin_inset space ~
18535 \end_inset
18536
18537
18538 \begin_inset CommandInset ref
18539 LatexCommand ref
18540 reference "sub:Customized-Format"
18541
18542 \end_inset
18543
18544 :
18545 \end_layout
18546
18547 \begin_layout Standard
18548
18549 \series bold
18550
18551 \backslash
18552 newcolumntype{V}{!{
18553 \backslash
18554 vrule width 1.5pt}}
18555 \end_layout
18556
18557 \begin_layout Standard
18558 For Table
18559 \begin_inset space ~
18560 \end_inset
18561
18562
18563 \begin_inset CommandInset ref
18564 LatexCommand ref
18565 reference "tab:Table-with-vertical"
18566
18567 \end_inset
18568
18569  the LaTeX-argument
18570 \end_layout
18571
18572 \begin_layout Standard
18573
18574 \series bold
18575 VcV
18576 \end_layout
18577
18578 \begin_layout Standard
18579 was used for the last column and
18580 \end_layout
18581
18582 \begin_layout Standard
18583
18584 \series bold
18585 Vc
18586 \end_layout
18587
18588 \begin_layout Standard
18589 for the other columns.
18590 \end_layout
18591
18592 \begin_layout Standard
18593 \begin_inset Float table
18594 wide false
18595 sideways false
18596 status open
18597
18598 \begin_layout Plain Layout
18599 \begin_inset Caption
18600
18601 \begin_layout Plain Layout
18602 \begin_inset CommandInset label
18603 LatexCommand label
18604 name "tab:Table-with-vertical"
18605
18606 \end_inset
18607
18608 Table with 1.5
18609 \begin_inset space \thinspace{}
18610 \end_inset
18611
18612 pt thick vertical lines
18613 \end_layout
18614
18615 \end_inset
18616
18617
18618 \end_layout
18619
18620 \begin_layout Plain Layout
18621 \align center
18622 \begin_inset Tabular
18623 <lyxtabular version="3" rows="3" columns="3">
18624 <features>
18625 <column alignment="center" valignment="top" width="0" special="Vc">
18626 <column alignment="center" valignment="top" width="0" special="Vc">
18627 <column alignment="center" valignment="top" width="0" special="VcV">
18628 <row>
18629 <cell alignment="center" valignment="top" topline="true" usebox="none">
18630 \begin_inset Text
18631
18632 \begin_layout Plain Layout
18633 sd
18634 \end_layout
18635
18636 \end_inset
18637 </cell>
18638 <cell alignment="center" valignment="top" topline="true" usebox="none">
18639 \begin_inset Text
18640
18641 \begin_layout Plain Layout
18642
18643 \end_layout
18644
18645 \end_inset
18646 </cell>
18647 <cell alignment="center" valignment="top" topline="true" usebox="none">
18648 \begin_inset Text
18649
18650 \begin_layout Plain Layout
18651
18652 \end_layout
18653
18654 \end_inset
18655 </cell>
18656 </row>
18657 <row>
18658 <cell alignment="center" valignment="top" topline="true" usebox="none">
18659 \begin_inset Text
18660
18661 \begin_layout Plain Layout
18662
18663 \end_layout
18664
18665 \end_inset
18666 </cell>
18667 <cell alignment="center" valignment="top" topline="true" usebox="none">
18668 \begin_inset Text
18669
18670 \begin_layout Plain Layout
18671 sd
18672 \end_layout
18673
18674 \end_inset
18675 </cell>
18676 <cell alignment="center" valignment="top" topline="true" usebox="none">
18677 \begin_inset Text
18678
18679 \begin_layout Plain Layout
18680
18681 \end_layout
18682
18683 \end_inset
18684 </cell>
18685 </row>
18686 <row>
18687 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18688 \begin_inset Text
18689
18690 \begin_layout Plain Layout
18691
18692 \end_layout
18693
18694 \end_inset
18695 </cell>
18696 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18697 \begin_inset Text
18698
18699 \begin_layout Plain Layout
18700
18701 \end_layout
18702
18703 \end_inset
18704 </cell>
18705 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18706 \begin_inset Text
18707
18708 \begin_layout Plain Layout
18709 sd
18710 \end_layout
18711
18712 \end_inset
18713 </cell>
18714 </row>
18715 </lyxtabular>
18716
18717 \end_inset
18718
18719
18720 \end_layout
18721
18722 \end_inset
18723
18724
18725 \end_layout
18726
18727 \begin_layout Subsection
18728 Dashed Lines
18729 \begin_inset Index
18730 status collapsed
18731
18732 \begin_layout Plain Layout
18733 Table Customization ! Dashed Lines
18734 \end_layout
18735
18736 \end_inset
18737
18738
18739 \end_layout
18740
18741 \begin_layout Standard
18742 \begin_inset ERT
18743 status collapsed
18744
18745 \begin_layout Plain Layout
18746
18747
18748 \backslash
18749 ifarydshln
18750 \end_layout
18751
18752 \end_inset
18753
18754
18755 \begin_inset Note Note
18756 status open
18757
18758 \begin_layout Plain Layout
18759 The following section will only be displayed when the LaTeX-package 
18760 \series bold
18761 arydshln
18762 \series default
18763  is installed.
18764 \end_layout
18765
18766 \end_inset
18767
18768
18769 \end_layout
18770
18771 \begin_layout Standard
18772 \begin_inset Float table
18773 placement H
18774 wide false
18775 sideways false
18776 status open
18777
18778 \begin_layout Plain Layout
18779 \begin_inset Caption
18780
18781 \begin_layout Plain Layout
18782 \begin_inset CommandInset label
18783 LatexCommand label
18784 name "tab:Table-with-dashed"
18785
18786 \end_inset
18787
18788 Table with dashed lines
18789 \end_layout
18790
18791 \end_inset
18792
18793
18794 \end_layout
18795
18796 \begin_layout Plain Layout
18797 \align center
18798 \begin_inset Tabular
18799 <lyxtabular version="3" rows="5" columns="5">
18800 <features>
18801 <column alignment="center" valignment="top" width="0">
18802 <column alignment="center" valignment="top" width="0">
18803 <column alignment="center" valignment="top" width="0" special=":c">
18804 <column alignment="center" valignment="top" width="0">
18805 <column alignment="center" valignment="top" width="0">
18806 <row>
18807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18808 \begin_inset Text
18809
18810 \begin_layout Plain Layout
18811 a
18812 \end_layout
18813
18814 \end_inset
18815 </cell>
18816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18817 \begin_inset Text
18818
18819 \begin_layout Plain Layout
18820 b
18821 \end_layout
18822
18823 \end_inset
18824 </cell>
18825 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18826 \begin_inset Text
18827
18828 \begin_layout Plain Layout
18829 c
18830 \end_layout
18831
18832 \end_inset
18833 </cell>
18834 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18835 \begin_inset Text
18836
18837 \begin_layout Plain Layout
18838 d
18839 \end_layout
18840
18841 \end_inset
18842 </cell>
18843 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18844 \begin_inset Text
18845
18846 \begin_layout Plain Layout
18847 e
18848 \end_layout
18849
18850 \end_inset
18851 </cell>
18852 </row>
18853 <row>
18854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18855 \begin_inset Text
18856
18857 \begin_layout Plain Layout
18858 f
18859 \end_layout
18860
18861 \end_inset
18862 </cell>
18863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18864 \begin_inset Text
18865
18866 \begin_layout Plain Layout
18867 g
18868 \end_layout
18869
18870 \end_inset
18871 </cell>
18872 <cell alignment="center" valignment="top" topline="true" usebox="none">
18873 \begin_inset Text
18874
18875 \begin_layout Plain Layout
18876 h
18877 \end_layout
18878
18879 \end_inset
18880 </cell>
18881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18882 \begin_inset Text
18883
18884 \begin_layout Plain Layout
18885 i
18886 \end_layout
18887
18888 \end_inset
18889 </cell>
18890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18891 \begin_inset Text
18892
18893 \begin_layout Plain Layout
18894 j
18895 \end_layout
18896
18897 \end_inset
18898 </cell>
18899 </row>
18900 <row>
18901 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18902 \begin_inset Text
18903
18904 \begin_layout Plain Layout
18905 \begin_inset ERT
18906 status collapsed
18907
18908 \begin_layout Plain Layout
18909
18910
18911 \backslash
18912 hdashline 
18913 \end_layout
18914
18915 \end_inset
18916
18917 k
18918 \end_layout
18919
18920 \end_inset
18921 </cell>
18922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18923 \begin_inset Text
18924
18925 \begin_layout Plain Layout
18926 l
18927 \end_layout
18928
18929 \end_inset
18930 </cell>
18931 <cell alignment="center" valignment="top" usebox="none">
18932 \begin_inset Text
18933
18934 \begin_layout Plain Layout
18935 m
18936 \end_layout
18937
18938 \end_inset
18939 </cell>
18940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18941 \begin_inset Text
18942
18943 \begin_layout Plain Layout
18944 n
18945 \end_layout
18946
18947 \end_inset
18948 </cell>
18949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18950 \begin_inset Text
18951
18952 \begin_layout Plain Layout
18953 o
18954 \end_layout
18955
18956 \end_inset
18957 </cell>
18958 </row>
18959 <row>
18960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18961 \begin_inset Text
18962
18963 \begin_layout Plain Layout
18964 \begin_inset ERT
18965 status collapsed
18966
18967 \begin_layout Plain Layout
18968
18969
18970 \backslash
18971 cdashline{4-5}
18972 \end_layout
18973
18974 \end_inset
18975
18976 p
18977 \end_layout
18978
18979 \end_inset
18980 </cell>
18981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18982 \begin_inset Text
18983
18984 \begin_layout Plain Layout
18985 q
18986 \end_layout
18987
18988 \end_inset
18989 </cell>
18990 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18991 \begin_inset Text
18992
18993 \begin_layout Plain Layout
18994 r
18995 \end_layout
18996
18997 \end_inset
18998 </cell>
18999 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19000 \begin_inset Text
19001
19002 \begin_layout Plain Layout
19003 s
19004 \end_layout
19005
19006 \end_inset
19007 </cell>
19008 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19009 \begin_inset Text
19010
19011 \begin_layout Plain Layout
19012
19013 \end_layout
19014
19015 \end_inset
19016 </cell>
19017 </row>
19018 <row>
19019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19020 \begin_inset Text
19021
19022 \begin_layout Plain Layout
19023 t
19024 \end_layout
19025
19026 \end_inset
19027 </cell>
19028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19029 \begin_inset Text
19030
19031 \begin_layout Plain Layout
19032 u
19033 \end_layout
19034
19035 \end_inset
19036 </cell>
19037 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19038 \begin_inset Text
19039
19040 \begin_layout Plain Layout
19041 v
19042 \end_layout
19043
19044 \end_inset
19045 </cell>
19046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19047 \begin_inset Text
19048
19049 \begin_layout Plain Layout
19050 w
19051 \end_layout
19052
19053 \end_inset
19054 </cell>
19055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19056 \begin_inset Text
19057
19058 \begin_layout Plain Layout
19059 x
19060 \end_layout
19061
19062 \end_inset
19063 </cell>
19064 </row>
19065 </lyxtabular>
19066
19067 \end_inset
19068
19069
19070 \end_layout
19071
19072 \end_inset
19073
19074
19075 \end_layout
19076
19077 \begin_layout Standard
19078 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
19079  As prerequisite the LaTeX-package 
19080 \series bold
19081 arydshln
19082 \series default
19083
19084 \begin_inset Index
19085 status collapsed
19086
19087 \begin_layout Plain Layout
19088 LaTeX-packages ! arydshln
19089 \end_layout
19090
19091 \end_inset
19092
19093  must be loaded in the document preamble with the command
19094 \end_layout
19095
19096 \begin_layout Standard
19097
19098 \series bold
19099
19100 \backslash
19101 usepackage{arydshln}
19102 \end_layout
19103
19104 \begin_layout Standard
19105 To make a vertical line dashed, enter the colon 
19106 \begin_inset Quotes eld
19107 \end_inset
19108
19109 :
19110 \begin_inset Quotes erd
19111 \end_inset
19112
19113  together with the character for the horizontal alignment as LaTeX-argument
19114  in the table cell dialog.
19115 \end_layout
19116
19117 \begin_layout Standard
19118 For a horizontal dashed line add the command
19119 \end_layout
19120
19121 \begin_layout Standard
19122
19123 \series bold
19124
19125 \backslash
19126 hdashline
19127 \end_layout
19128
19129 \begin_layout Standard
19130 in TeX-Code as first element of the first cell in the table row.
19131 \end_layout
19132
19133 \begin_layout Standard
19134 For dashed multicolumn lines use the command
19135 \end_layout
19136
19137 \begin_layout Standard
19138
19139 \series bold
19140
19141 \backslash
19142 cdashline{line number
19143 \series default
19144 }
19145 \end_layout
19146
19147 \begin_layout Standard
19148 in TeX-Code as first element of the first cell in the table row.
19149  If you have for example a multicolumn spanning over columns 2 to 4 and
19150  you want to have a dashed line above, add the command
19151 \end_layout
19152
19153 \begin_layout Standard
19154
19155 \series bold
19156
19157 \backslash
19158 cdashline{2-4}
19159 \end_layout
19160
19161 \begin_layout Standard
19162 as first element of the first cell in the row of the multicolumn.
19163 \end_layout
19164
19165 \begin_layout Standard
19166 \begin_inset VSpace bigskip
19167 \end_inset
19168
19169
19170 \end_layout
19171
19172 \begin_layout Standard
19173 Table
19174 \begin_inset space ~
19175 \end_inset
19176
19177
19178 \begin_inset CommandInset ref
19179 LatexCommand ref
19180 reference "tab:Table-with-dashed"
19181
19182 \end_inset
19183
19184  was created using 
19185 \begin_inset Quotes eld
19186 \end_inset
19187
19188
19189 \series bold
19190 :c
19191 \series default
19192
19193 \begin_inset Quotes erd
19194 \end_inset
19195
19196  as LaTeX-argument of the third column.
19197  The TeX-Code command 
19198 \series bold
19199
19200 \backslash
19201 hdashline
19202 \series default
19203  was inserted to the first cell of the third row and the the TeX-Code command
19204 \begin_inset Newline newline
19205 \end_inset
19206
19207  
19208 \series bold
19209
19210 \backslash
19211 cdashline{4-5}
19212 \series default
19213  was inserted to the first cell of the fourth row.
19214 \end_layout
19215
19216 \begin_layout Standard
19217 \begin_inset Note Greyedout
19218 status open
19219
19220 \begin_layout Plain Layout
19221
19222 \series bold
19223 Note:
19224 \series default
19225  The used LaTeX-package 
19226 \series bold
19227 arydshln
19228 \series default
19229  is apparently not compatible with the LaTeX-package 
19230 \series bold
19231 colortbl
19232 \series default
19233
19234 \begin_inset Index
19235 status collapsed
19236
19237 \begin_layout Plain Layout
19238 LaTeX-packages ! colortbl
19239 \end_layout
19240
19241 \end_inset
19242
19243  that is used for colored tables in section
19244 \begin_inset space ~
19245 \end_inset
19246
19247
19248 \begin_inset CommandInset ref
19249 LatexCommand ref
19250 reference "sec:Colored-Tables"
19251
19252 \end_inset
19253
19254 .
19255  That means colored tables cannot have dashed lines.
19256 \end_layout
19257
19258 \end_inset
19259
19260
19261 \end_layout
19262
19263 \begin_layout Standard
19264 \begin_inset ERT
19265 status collapsed
19266
19267 \begin_layout Plain Layout
19268
19269
19270 \backslash
19271 else
19272 \end_layout
19273
19274 \end_inset
19275
19276
19277 \begin_inset Note Note
19278 status open
19279
19280 \begin_layout Plain Layout
19281 The following will be displayed when the LaTeX-package 
19282 \series bold
19283 arydshln
19284 \series default
19285  is not installed:
19286 \end_layout
19287
19288 \end_inset
19289
19290
19291 \end_layout
19292
19293 \begin_layout Standard
19294 You need to install the package 
19295 \series bold
19296 arydshln
19297 \series default
19298  to see the content of this section in the output.
19299 \end_layout
19300
19301 \begin_layout Standard
19302 \begin_inset ERT
19303 status collapsed
19304
19305 \begin_layout Plain Layout
19306
19307
19308 \backslash
19309 fi
19310 \end_layout
19311
19312 \end_inset
19313
19314
19315 \end_layout
19316
19317 \begin_layout Chapter
19318 Floats
19319 \begin_inset Index
19320 status collapsed
19321
19322 \begin_layout Plain Layout
19323 Floats
19324 \end_layout
19325
19326 \end_inset
19327
19328
19329 \end_layout
19330
19331 \begin_layout Section
19332 Introduction
19333 \begin_inset CommandInset label
19334 LatexCommand label
19335 name "sec:FloatIntroduction"
19336
19337 \end_inset
19338
19339
19340 \begin_inset Index
19341 status collapsed
19342
19343 \begin_layout Plain Layout
19344 Floats ! Introduction
19345 \end_layout
19346
19347 \end_inset
19348
19349
19350 \end_layout
19351
19352 \begin_layout Standard
19353 A float is a block of text associated with some sort of label, which doesn't
19354  have a fixed location.
19355  It can 
19356 \begin_inset Quotes eld
19357 \end_inset
19358
19359 float
19360 \begin_inset Quotes erd
19361 \end_inset
19362
19363  forward or backward a page or two, to wherever it fits best.
19364  
19365 \family sans
19366 Footnotes
19367 \family default
19368  and 
19369 \family sans
19370 Margin
19371 \begin_inset space ~
19372 \end_inset
19373
19374 Notes
19375 \family default
19376  are also floats, because they can float to the next page when there are
19377  too many notes at the page.
19378 \end_layout
19379
19380 \begin_layout Standard
19381 Floats allow a high quality layout.
19382  Images and tables can evenly be spread to the pages to avoid white space
19383  and pages without text.
19384  As the floating often destroys the context between the text and the image/table
19385 , every float can be referenced in the text.
19386  Floats are therefore numbered.
19387  Referencing is described in section
19388 \begin_inset space ~
19389 \end_inset
19390
19391
19392 \begin_inset CommandInset ref
19393 LatexCommand ref
19394 reference "sec:Referencing-Floats"
19395
19396 \end_inset
19397
19398 .
19399 \end_layout
19400
19401 \begin_layout Standard
19402 To insert a float, use the menu 
19403 \family sans
19404 Insert\SpecialChar \menuseparator
19405 Float
19406 \family default
19407 .
19408  This inserts the 
19409 \family sans
19410 Caption
19411 \family default
19412  inset, a box with a label.
19413  The label will automatically be translated to the document language in
19414  the output.
19415  Behind the label you can insert the caption text.
19416  The image or table is inserted above or below the caption in a separate
19417  paragraph within the float.
19418  More about the caption placement is described in section
19419 \begin_inset space ~
19420 \end_inset
19421
19422
19423 \begin_inset CommandInset ref
19424 LatexCommand ref
19425 reference "sec:Caption-Placement"
19426
19427 \end_inset
19428
19429 .
19430  To keep your LyX-document readable, you can open and close the float box
19431  by left-clicking on the box label.
19432  A closed float box looks like this: 
19433 \begin_inset Graphics
19434         filename clipart/floatQt4.png
19435         scale 70
19436         scaleBeforeRotation
19437
19438 \end_inset
19439
19440  â€“ a gray button with a red label.
19441 \end_layout
19442
19443 \begin_layout Standard
19444 It is recommended to insert floats as a separate paragraph to avoid possible
19445  LaTeX-errors that can occur when the surrounding text is specially formatted.
19446 \end_layout
19447
19448 \begin_layout Standard
19449 Existing figures or tables can be put into a float by marking them and then
19450  pressing the corresponding toolbar button for a new float.
19451 \end_layout
19452
19453 \begin_layout Section
19454 Float Types
19455 \end_layout
19456
19457 \begin_layout Standard
19458 Besides figure and table floats that are described in section
19459 \begin_inset space ~
19460 \end_inset
19461
19462
19463 \begin_inset CommandInset ref
19464 LatexCommand ref
19465 reference "sec:Figure-Floats"
19466
19467 \end_inset
19468
19469  and 
19470 \begin_inset CommandInset ref
19471 LatexCommand ref
19472 reference "sec:Table-Floats"
19473
19474 \end_inset
19475
19476 , respectively, LyX offers the float types 
19477 \series bold
19478 Algorithm
19479 \series default
19480  and 
19481 \series bold
19482 Wrap
19483 \series default
19484 .
19485 \end_layout
19486
19487 \begin_layout Subsection
19488 Algorithm Floats
19489 \begin_inset Index
19490 status collapsed
19491
19492 \begin_layout Plain Layout
19493 Floats ! Algorithms
19494 \end_layout
19495
19496 \end_inset
19497
19498
19499 \end_layout
19500
19501 \begin_layout Standard
19502 \begin_inset Float algorithm
19503 placement h
19504 wide false
19505 sideways false
19506 status open
19507
19508 \begin_layout Plain Layout
19509 \begin_inset Caption
19510
19511 \begin_layout Plain Layout
19512 \begin_inset CommandInset label
19513 LatexCommand label
19514 name "alg:Example-Algorithm-float"
19515
19516 \end_inset
19517
19518 Example Algorithm float
19519 \end_layout
19520
19521 \end_inset
19522
19523
19524 \end_layout
19525
19526 \begin_layout LyX-Code
19527 for I in 1..N loop
19528 \begin_inset Newline newline
19529 \end_inset
19530
19531  Sum:= Sum + A(I); /*comment*/
19532 \begin_inset Newline newline
19533 \end_inset
19534
19535 end loop
19536 \begin_inset VSpace -4mm
19537 \end_inset
19538
19539
19540 \end_layout
19541
19542 \end_inset
19543
19544
19545 \end_layout
19546
19547 \begin_layout Standard
19548 This float type is inserted with the menu 
19549 \family sans
19550 Insert\SpecialChar \menuseparator
19551 Floats\SpecialChar \menuseparator
19552 Algorithm
19553 \family default
19554 .
19555  It is used for program codes and descriptions of algorithms and can be
19556  seen as an alternative to program code listings that are explained in chapter
19557 \begin_inset space ~
19558 \end_inset
19559
19560
19561 \begin_inset CommandInset ref
19562 LatexCommand ref
19563 reference "cha:Program-Code-Listings"
19564
19565 \end_inset
19566
19567 .
19568  A possible environment for algorithms is the 
19569 \family sans
19570 LyX-Code
19571 \family default
19572 , described in LyX's 
19573 \emph on
19574 Userguide
19575 \emph default
19576 .
19577  Algorithm
19578 \begin_inset space ~
19579 \end_inset
19580
19581
19582 \begin_inset CommandInset ref
19583 LatexCommand ref
19584 reference "alg:Example-Algorithm-float"
19585
19586 \end_inset
19587
19588  is an example of an algorithm float where -4
19589 \begin_inset space \thinspace{}
19590 \end_inset
19591
19592 mm vertical space was added at the end of the float to have the bottom rule
19593  exactly below the last text line.
19594 \end_layout
19595
19596 \begin_layout Standard
19597 The float label is not automatically translated into the document language.
19598  If your document is not in English, you have to do this manually by adding
19599  the following line to the document preamble
19600 \series bold
19601 :
19602 \end_layout
19603
19604 \begin_layout Standard
19605
19606 \series bold
19607
19608 \backslash
19609 floatname{algorithm}{your
19610 \begin_inset space ~
19611 \end_inset
19612
19613 name}
19614 \end_layout
19615
19616 \begin_layout Standard
19617 where 
19618 \family sans
19619 your
19620 \begin_inset space ~
19621 \end_inset
19622
19623 name
19624 \family default
19625  is the word 
19626 \begin_inset Quotes eld
19627 \end_inset
19628
19629
19630 \emph on
19631 algorithm
19632 \emph default
19633
19634 \begin_inset Quotes erd
19635 \end_inset
19636
19637  in your language.
19638 \end_layout
19639
19640 \begin_layout Standard
19641 To insert the list of algorithms you can use the menu 
19642 \family sans
19643 Insert\SpecialChar \menuseparator
19644 List
19645 \begin_inset space \thinspace{}
19646 \end_inset
19647
19648 /
19649 \begin_inset space \thinspace{}
19650 \end_inset
19651
19652 TOC\SpecialChar \menuseparator
19653 List of Algorithms
19654 \family default
19655  when your document has the same language as LyX's menu names.
19656  In other cases use this command in TeX-Code instead:
19657 \end_layout
19658
19659 \begin_layout Standard
19660
19661 \series bold
19662
19663 \backslash
19664 listof{algorithm}{your
19665 \begin_inset space ~
19666 \end_inset
19667
19668 name}
19669 \end_layout
19670
19671 \begin_layout Standard
19672 where 
19673 \family sans
19674 your
19675 \begin_inset space ~
19676 \end_inset
19677
19678 name
19679 \family default
19680  is the word 
19681 \begin_inset Quotes eld
19682 \end_inset
19683
19684
19685 \emph on
19686 List of Algorithm
19687 \emph default
19688 s
19689 \begin_inset Quotes erd
19690 \end_inset
19691
19692  in your language.
19693 \end_layout
19694
19695 \begin_layout Standard
19696 Algorithm floats are not by default numbered in the scheme 
19697 \begin_inset Quotes eld
19698 \end_inset
19699
19700 chapter.algorithm
19701 \begin_inset Quotes erd
19702 \end_inset
19703
19704  like it is the case for table and figure floats in many document-classes.
19705  To number algorithm floats in the same scheme, add this command to your
19706  document preamble:
19707 \end_layout
19708
19709 \begin_layout Standard
19710
19711 \series bold
19712
19713 \backslash
19714 numberwithin{algorithm}{chapter}
19715 \end_layout
19716
19717 \begin_layout Standard
19718 To be able to use the command 
19719 \series bold
19720
19721 \backslash
19722 numberwithin
19723 \series default
19724 , set in the tab 
19725 \family sans
19726 Math
19727 \begin_inset space ~
19728 \end_inset
19729
19730 Options
19731 \family default
19732  in the document settings the option 
19733 \family sans
19734 Use
19735 \begin_inset space ~
19736 \end_inset
19737
19738 AMS
19739 \begin_inset space ~
19740 \end_inset
19741
19742 math
19743 \begin_inset space ~
19744 \end_inset
19745
19746 package
19747 \family default
19748 .
19749 \end_layout
19750
19751 \begin_layout Subsection
19752 Wrap Floats
19753 \begin_inset Index
19754 status collapsed
19755
19756 \begin_layout Plain Layout
19757 Floats ! Wrap Floats
19758 \end_layout
19759
19760 \end_inset
19761
19762
19763 \end_layout
19764
19765 \begin_layout Standard
19766 \begin_inset Wrap figure
19767 lines 0
19768 placement l
19769 overhang 1cm
19770 width "40col%"
19771 status open
19772
19773 \begin_layout Plain Layout
19774 \begin_inset Graphics
19775         filename clipart/mobius.eps
19776         width 40col%
19777         scaleBeforeRotation
19778         rotateOrigin center
19779
19780 \end_inset
19781
19782
19783 \end_layout
19784
19785 \begin_layout Plain Layout
19786 \begin_inset Caption
19787
19788 \begin_layout Plain Layout
19789 \begin_inset CommandInset label
19790 LatexCommand label
19791 name "fig:This-is-a"
19792
19793 \end_inset
19794
19795 This is a figure wrap float.
19796 \end_layout
19797
19798 \end_inset
19799
19800
19801 \end_layout
19802
19803 \end_inset
19804
19805  This float type is used if you want to wrap text around a figure or table
19806  so that it only occupies some fraction of the column width.
19807  It can be inserted using the menu 
19808 \family sans
19809 Insert\SpecialChar \menuseparator
19810 Floats\SpecialChar \menuseparator
19811 Figure
19812 \begin_inset space ~
19813 \end_inset
19814
19815 Wrap
19816 \begin_inset space ~
19817 \end_inset
19818
19819 Float
19820 \family default
19821  or 
19822 \family sans
19823 Table
19824 \begin_inset space ~
19825 \end_inset
19826
19827 Wrap
19828 \begin_inset space ~
19829 \end_inset
19830
19831 Float
19832 \family default
19833  if the LaTeX-package 
19834 \series bold
19835 wrapfig
19836 \series default
19837
19838 \begin_inset Index
19839 status collapsed
19840
19841 \begin_layout Plain Layout
19842 LaTeX-packages ! wrapfig
19843 \begin_inset ERT
19844 status collapsed
19845
19846 \begin_layout Plain Layout
19847
19848
19849 \backslash
19850 vspace{4mm}
19851 \end_layout
19852
19853 \end_inset
19854
19855
19856 \end_layout
19857
19858 \end_inset
19859
19860  is installed.
19861 \begin_inset Foot
19862 status collapsed
19863
19864 \begin_layout Plain Layout
19865 Installing a LaTeX-package is explained it in the 
19866 \emph on
19867 LaTeX
19868 \begin_inset space ~
19869 \end_inset
19870
19871 Configuration
19872 \emph default
19873  manual.
19874 \end_layout
19875
19876 \end_inset
19877
19878  The settings of the float can be modified by right-clicking on the float
19879  box.
19880  The mandatory settings are the float 
19881 \family sans
19882 Placement
19883 \family default
19884  and its 
19885 \family sans
19886 Width
19887 \family default
19888 .
19889  Optional are the 
19890 \family sans
19891 Overhang
19892 \family default
19893  that specifies how much the float is set into the paragraph
19894 \begin_inset space \thinspace{}
19895 \end_inset
19896
19897 /
19898 \begin_inset space \thinspace{}
19899 \end_inset
19900
19901 page margin, and the 
19902 \family sans
19903 Line
19904 \begin_inset space ~
19905 \end_inset
19906
19907 span
19908 \family default
19909  that specifies how many text lines the float will approximately need.
19910  The line span is often hard to be approximated, so better only use it when
19911  you encounter float placement problems.
19912  You can furthermore decide if LaTeX is allowed to let the float float within
19913  the paragraph or to surrounding paragraphs.
19914  Figure
19915 \begin_inset space ~
19916 \end_inset
19917
19918
19919 \begin_inset CommandInset ref
19920 LatexCommand ref
19921 reference "fig:This-is-a"
19922
19923 \end_inset
19924
19925  is an example text wrap float with a width of 40
19926 \begin_inset space \thinspace{}
19927 \end_inset
19928
19929 col%, 1
19930 \begin_inset space \thinspace{}
19931 \end_inset
19932
19933 cm overhang, set to the left.
19934 \begin_inset Foot
19935 status collapsed
19936
19937 \begin_layout Plain Layout
19938 Available units are explained in appendix
19939 \begin_inset space ~
19940 \end_inset
19941
19942
19943 \begin_inset CommandInset ref
19944 LatexCommand ref
19945 reference "cha:Units-available-in"
19946
19947 \end_inset
19948
19949 .
19950 \end_layout
19951
19952 \end_inset
19953
19954
19955 \end_layout
19956
19957 \begin_layout Standard
19958 \begin_inset Note Greyedout
19959 status open
19960
19961 \begin_layout Plain Layout
19962
19963 \series bold
19964 Note:
19965 \series default
19966  Text
19967 \begin_inset space ~
19968 \end_inset
19969
19970 wrap float floats are fragile! E.
19971 \begin_inset space \thinspace{}
19972 \end_inset
19973
19974 g.
19975 \begin_inset space \space{}
19976 \end_inset
19977
19978 having a figure too close to the bottom of the page can mess things up in
19979  the way that the float doesn't appear in the output or that it is placed
19980  over some other text.
19981 \end_layout
19982
19983 \end_inset
19984
19985
19986 \end_layout
19987
19988 \begin_layout Standard
19989 In general:
19990 \end_layout
19991
19992 \begin_layout Itemize
19993 Wrap floats should not be placed in paragraphs that run over a page break.
19994  That means that wrap floats should better be inserted to the exact place
19995  when the document is nearly finished and you are able to estimate where
19996  page breaks will appear.
19997 \end_layout
19998
19999 \begin_layout Itemize
20000 Wrap floats should either be placed in an own paragraph before the paragraph
20001  where they should wrap into or within a paragraph.
20002 \end_layout
20003
20004 \begin_layout Itemize
20005 Wrap floats in consecutive paragraphs may cause troubles, so assure that
20006  there is a text paragraph between them as separator.
20007 \end_layout
20008
20009 \begin_layout Itemize
20010 Wrap floats are not allowed in section headings or tables.
20011 \end_layout
20012
20013 \begin_layout Section
20014 Float Numbering
20015 \begin_inset Index
20016 status collapsed
20017
20018 \begin_layout Plain Layout
20019 Floats ! Numbering
20020 \end_layout
20021
20022 \end_inset
20023
20024
20025 \end_layout
20026
20027 \begin_layout Standard
20028 Floats are usually numbered either independent from the sections the floats
20029  are in, or in the scheme 
20030 \begin_inset Quotes eld
20031 \end_inset
20032
20033 chapter.number
20034 \begin_inset Quotes erd
20035 \end_inset
20036
20037  or 
20038 \begin_inset Quotes eld
20039 \end_inset
20040
20041 section.number
20042 \begin_inset Quotes erd
20043 \end_inset
20044
20045 .
20046  This depends on the used document class.
20047 \end_layout
20048
20049 \begin_layout Standard
20050 To change the section independent numbering, you can use this command in
20051  the document preamble:
20052 \end_layout
20053
20054 \begin_layout Standard
20055
20056 \series bold
20057
20058 \backslash
20059 renewcommand{
20060 \backslash
20061 thetable}{
20062 \backslash
20063 roman{table}}
20064 \end_layout
20065
20066 \begin_layout Standard
20067
20068 \series bold
20069
20070 \backslash
20071 thetable
20072 \series default
20073  is the command that prints the table number, for figure floats, the command
20074  would be 
20075 \series bold
20076
20077 \backslash
20078 thefigure
20079 \series default
20080 .
20081  The command 
20082 \series bold
20083
20084 \backslash
20085 roman
20086 \series default
20087  prints in the command above the table number as small roman number.
20088 \end_layout
20089
20090 \begin_layout Standard
20091 To change the numbering scheme for example to 
20092 \begin_inset Quotes eld
20093 \end_inset
20094
20095 subsection.number
20096 \begin_inset Quotes erd
20097 \end_inset
20098
20099 , use this command in the preamble:
20100 \end_layout
20101
20102 \begin_layout Standard
20103
20104 \series bold
20105
20106 \backslash
20107 numberwithin{table}{subsection}
20108 \end_layout
20109
20110 \begin_layout Standard
20111 To be able to use the command 
20112 \series bold
20113
20114 \backslash
20115 numberwithin
20116 \series default
20117 , set in the tab 
20118 \family sans
20119 Math
20120 \begin_inset space ~
20121 \end_inset
20122
20123 Options
20124 \family default
20125  in the document settings the option 
20126 \family sans
20127 Use
20128 \begin_inset space ~
20129 \end_inset
20130
20131 AMS
20132 \begin_inset space ~
20133 \end_inset
20134
20135 math
20136 \begin_inset space ~
20137 \end_inset
20138
20139 package
20140 \family default
20141 .
20142 \end_layout
20143
20144 \begin_layout Standard
20145 Please also have a look at section
20146 \begin_inset space ~
20147 \end_inset
20148
20149
20150 \begin_inset CommandInset ref
20151 LatexCommand ref
20152 reference "sub:Footnote-Numbering"
20153
20154 \end_inset
20155
20156  for the details and important notes about the numbering commands.
20157 \end_layout
20158
20159 \begin_layout Section
20160 Referencing Floats
20161 \begin_inset CommandInset label
20162 LatexCommand label
20163 name "sec:Referencing-Floats"
20164
20165 \end_inset
20166
20167
20168 \begin_inset Index
20169 status collapsed
20170
20171 \begin_layout Plain Layout
20172 Floats ! References
20173 \end_layout
20174
20175 \end_inset
20176
20177
20178 \begin_inset Index
20179 status collapsed
20180
20181 \begin_layout Plain Layout
20182 References ! to Floats
20183 \end_layout
20184
20185 \end_inset
20186
20187
20188 \end_layout
20189
20190 \begin_layout Standard
20191 To reference a float, insert a label into its caption using the menu 
20192 \family sans
20193 Insert\SpecialChar \menuseparator
20194 Label
20195 \family default
20196  or the toolbar button 
20197 \begin_inset Graphics
20198         filename ../images/label-insert.png
20199         scale 85
20200         scaleBeforeRotation
20201
20202 \end_inset
20203
20204 .
20205  A grey label box like this one: 
20206 \begin_inset Graphics
20207         filename clipart/labelQt4.png
20208         scale 85
20209         scaleBeforeRotation
20210
20211 \end_inset
20212
20213  will be inserted and the label window pops up asking for the label text.
20214  LyX offers as text the first words of the caption with a prefix.
20215  The prefix depends on the float type, e.
20216 \begin_inset space \thinspace{}
20217 \end_inset
20218
20219 g.
20220 \begin_inset space \space{}
20221 \end_inset
20222
20223 for figure floats the prefix will be "
20224 \family sans
20225 fig:
20226 \family default
20227 ".
20228 \end_layout
20229
20230 \begin_layout Standard
20231 The label is used as anchor and name for the reference.
20232  You can refer to the label using the menu 
20233 \family sans
20234 Insert\SpecialChar \menuseparator
20235 Cross-reference
20236 \family default
20237  or the toolbar button 
20238 \begin_inset Graphics
20239         filename ../images/dialog-show-new-inset_ref.png
20240         scale 85
20241         scaleBeforeRotation
20242
20243 \end_inset
20244
20245 .
20246  A grey cross-reference box like this one: 
20247 \begin_inset Graphics
20248         filename clipart/referenceQt4.png
20249         scale 85
20250         scaleBeforeRotation
20251
20252 \end_inset
20253
20254  will be inserted and the cross-reference window appear showing all labels
20255  of the document.
20256  If you have multiple LyX-documents opened, choose the one you are working
20257  on from the drop-list at the top of the dialog.
20258  You can now sort the labels alphabetically and then choose one.
20259  At the position of the cross-reference box the float number will appear
20260  in the output.
20261 \end_layout
20262
20263 \begin_layout Standard
20264 It is recommended to use a protected space between the cross-reference name
20265  and its number to avoid line breaks between them.
20266  If a cross-reference refers to a non-existing label, you will see two question
20267  marks in the output instead of the reference.
20268 \end_layout
20269
20270 \begin_layout Standard
20271 You can change labels at any time by clicking on the label box.
20272  References to the changed label will automatically change its link to the
20273  new label text, so that you don't need to take care about this.
20274 \end_layout
20275
20276 \begin_layout Standard
20277 The button 
20278 \family sans
20279 Go
20280 \begin_inset space ~
20281 \end_inset
20282
20283 to
20284 \begin_inset space ~
20285 \end_inset
20286
20287 Label
20288 \family default
20289  in the cross-reference window sets the cursor before the referred label.
20290  The button text changes then to Go
20291 \begin_inset space ~
20292 \end_inset
20293
20294 Back and you can use it to set the cursor back to the cross-reference.
20295  Right-clicking on a cross-reference box also sets the cursor before the
20296  referenced label but without a possibility to go back.
20297 \end_layout
20298
20299 \begin_layout Subsection
20300 Cross-Reference Formats
20301 \begin_inset CommandInset label
20302 LatexCommand label
20303 name "sub:Cross-Reference-Formats"
20304
20305 \end_inset
20306
20307
20308 \begin_inset Index
20309 status collapsed
20310
20311 \begin_layout Plain Layout
20312 References ! Formats
20313 \end_layout
20314
20315 \end_inset
20316
20317
20318 \end_layout
20319
20320 \begin_layout Standard
20321 There are six varieties of cross-references:
20322 \end_layout
20323
20324 \begin_layout Description
20325 <reference>: prints the float number, this is the default: 
20326 \begin_inset CommandInset ref
20327 LatexCommand ref
20328 reference "fig:Two-distorted-images"
20329
20330 \end_inset
20331
20332
20333 \end_layout
20334
20335 \begin_layout Description
20336 (<reference>): prints the float number within two parentheses, this is the
20337  style normally used to reference formulas, especially when the reference
20338  name 
20339 \begin_inset Quotes eld
20340 \end_inset
20341
20342 Equation
20343 \begin_inset Quotes erd
20344 \end_inset
20345
20346  is omitted: 
20347 \begin_inset CommandInset ref
20348 LatexCommand eqref
20349 reference "eq:Wgn"
20350
20351 \end_inset
20352
20353
20354 \end_layout
20355
20356 \begin_layout Description
20357 <page>: prints the page number: Page
20358 \begin_inset space ~
20359 \end_inset
20360
20361
20362 \begin_inset CommandInset ref
20363 LatexCommand pageref
20364 reference "fig:Two-distorted-images"
20365
20366 \end_inset
20367
20368
20369 \end_layout
20370
20371 \begin_layout Description
20372 on
20373 \begin_inset space ~
20374 \end_inset
20375
20376 page
20377 \begin_inset space ~
20378 \end_inset
20379
20380 <page>: prints the text "on page" and the page number: 
20381 \begin_inset CommandInset ref
20382 LatexCommand vpageref
20383 reference "fig:Two-distorted-images"
20384
20385 \end_inset
20386
20387
20388 \end_layout
20389
20390 \begin_layout Description
20391 <reference>
20392 \begin_inset space ~
20393 \end_inset
20394
20395 on
20396 \begin_inset space ~
20397 \end_inset
20398
20399 page
20400 \begin_inset space ~
20401 \end_inset
20402
20403 <page>: prints the float number, the text "on page", and the page number:
20404  
20405 \begin_inset CommandInset ref
20406 LatexCommand vref
20407 reference "fig:Two-distorted-images"
20408
20409 \end_inset
20410
20411
20412 \end_layout
20413
20414 \begin_layout Description
20415 Formatted
20416 \begin_inset space ~
20417 \end_inset
20418
20419 reference: prints a self defined cross-reference format.
20420  
20421 \begin_inset Note Greyedout
20422 status open
20423
20424 \begin_layout Plain Layout
20425
20426 \series bold
20427 Note:
20428 \series default
20429  This feature is only available when you have the LaTeX-package 
20430 \series bold
20431 prettyref
20432 \series default
20433  installed.
20434 \end_layout
20435
20436 \end_inset
20437
20438
20439 \end_layout
20440
20441 \begin_layout Standard
20442 Note that the style <page> won't print the page number if the label is on
20443  the previous, the same, or the next page.
20444  You will e.
20445 \begin_inset space \thinspace{}
20446 \end_inset
20447
20448 g.
20449 \begin_inset space \space{}
20450 \end_inset
20451
20452 see the text 
20453 \begin_inset Quotes eld
20454 \end_inset
20455
20456
20457 \family sans
20458 on this page
20459 \family default
20460
20461 \begin_inset Quotes erd
20462 \end_inset
20463
20464  instead.
20465 \end_layout
20466
20467 \begin_layout Standard
20468 The number and current page of the referred document part in the output,
20469  is automatically calculated by LaTeX.
20470  The varieties are adjusted in the field 
20471 \family sans
20472 Format
20473 \family default
20474  of the cross-reference window, that appear when you click on the cross-referenc
20475 e box.
20476 \end_layout
20477
20478 \begin_layout Subsection
20479 Automatic Reference Naming
20480 \begin_inset Index
20481 status collapsed
20482
20483 \begin_layout Plain Layout
20484 References ! Automatic Reference Naming
20485 \end_layout
20486
20487 \end_inset
20488
20489
20490 \end_layout
20491
20492 \begin_layout Standard
20493 The LaTeX-package 
20494 \series bold
20495 hyperref
20496 \series default
20497
20498 \begin_inset Index
20499 status collapsed
20500
20501 \begin_layout Plain Layout
20502 LaTeX-packages ! hyperref
20503 \end_layout
20504
20505 \end_inset
20506
20507 , that is enabled in the 
20508 \family sans
20509 PDF Properties
20510 \family default
20511  of the 
20512 \family sans
20513 Document Settings
20514 \family default
20515  dialog, provides a very useful feature that cross-references automatically
20516  include the name of the referenced floats (or text parts like 
20517 \emph on
20518 section
20519 \emph default
20520 ).
20521  So you will save to write e.
20522 \begin_inset space \thinspace{}
20523 \end_inset
20524
20525 g.
20526 \begin_inset space \space{}
20527 \end_inset
20528
20529 the name 
20530 \begin_inset Quotes eld
20531 \end_inset
20532
20533 Figure
20534 \begin_inset Quotes erd
20535 \end_inset
20536
20537  before every reference to a figure.
20538  To use this feature, enable 
20539 \series bold
20540 hyperref
20541 \series default
20542  and insert this line to the LaTeX preamble:
20543 \end_layout
20544
20545 \begin_layout Standard
20546
20547 \series bold
20548
20549 \backslash
20550 AtBeginDocument{
20551 \backslash
20552 renewcommand{
20553 \backslash
20554 ref}[1]{
20555 \backslash
20556 mbox{
20557 \backslash
20558 autoref{#1}}}}
20559 \end_layout
20560
20561 \begin_layout Standard
20562 When you prefer other reference names than the default ones, for example
20563  you want instead of 
20564 \begin_inset Quotes eld
20565 \end_inset
20566
20567 section
20568 \begin_inset Quotes erd
20569 \end_inset
20570
20571  the name 
20572 \begin_inset Quotes eld
20573 \end_inset
20574
20575 sec.
20576 \begin_inset space \thinspace{}
20577 \end_inset
20578
20579
20580 \begin_inset Quotes eld
20581 \end_inset
20582
20583 , you can redefine the name by inserting this to the preamble:
20584 \end_layout
20585
20586 \begin_layout Standard
20587
20588 \series bold
20589
20590 \backslash
20591 addto
20592 \backslash
20593 extrasenglish{
20594 \backslash
20595 renewcommand{
20596 \backslash
20597 sectionautorefname}
20598 \begin_inset Newline newline
20599 \end_inset
20600
20601
20602 \begin_inset ERT
20603 status collapsed
20604
20605 \begin_layout Plain Layout
20606
20607
20608 \backslash
20609 hphantom{ }
20610 \end_layout
20611
20612 \end_inset
20613
20614 {sec.
20615 \backslash
20616 negthinspace}}
20617 \end_layout
20618
20619 \begin_layout Standard
20620 When you are using another document language than English, replace
20621 \begin_inset Newline newline
20622 \end_inset
20623
20624
20625 \series bold
20626
20627 \backslash
20628 extrasenglish
20629 \series default
20630  by 
20631 \series bold
20632
20633 \backslash
20634 extras***
20635 \series default
20636 , where *** is the name of the used language.
20637 \end_layout
20638
20639 \begin_layout Standard
20640 To get automatic names, but not for certain reference types, for example
20641  not for equations, use this preamble code:
20642 \end_layout
20643
20644 \begin_layout Standard
20645
20646 \series bold
20647
20648 \backslash
20649 newlength{
20650 \backslash
20651 abc}
20652 \begin_inset Newline newline
20653 \end_inset
20654
20655
20656 \backslash
20657 settowidth{
20658 \backslash
20659 abc}{
20660 \backslash
20661 space}
20662 \begin_inset Newline newline
20663 \end_inset
20664
20665
20666 \backslash
20667 addto
20668 \backslash
20669 extrasenglish{
20670 \backslash
20671 renewcommand{
20672 \backslash
20673 equationautorefname}
20674 \begin_inset Newline newline
20675 \end_inset
20676
20677
20678 \begin_inset ERT
20679 status collapsed
20680
20681 \begin_layout Plain Layout
20682
20683
20684 \backslash
20685 hphantom{ }
20686 \end_layout
20687
20688 \end_inset
20689
20690 {
20691 \backslash
20692 hspace{-
20693 \backslash
20694 abc}}
20695 \end_layout
20696
20697 \begin_layout Standard
20698 More about this topic can be found in 
20699 \series bold
20700 hyperref
20701 \series default
20702 's documentation 
20703 \begin_inset CommandInset citation
20704 LatexCommand cite
20705 key "hyperref"
20706
20707 \end_inset
20708
20709 .
20710 \end_layout
20711
20712 \begin_layout Standard
20713 \begin_inset Note Greyedout
20714 status open
20715
20716 \begin_layout Plain Layout
20717
20718 \series bold
20719 Note:
20720 \series default
20721  Automatic reference naming cannot be used when you use cross-references
20722  in the 
20723 \family sans
20724 Formatted
20725 \begin_inset space ~
20726 \end_inset
20727
20728 reference
20729 \family default
20730  style, as described in section
20731 \begin_inset space ~
20732 \end_inset
20733
20734
20735 \begin_inset CommandInset ref
20736 LatexCommand ref
20737 reference "sub:Cross-Reference-Formats"
20738
20739 \end_inset
20740
20741 .
20742 \end_layout
20743
20744 \end_inset
20745
20746
20747 \end_layout
20748
20749 \begin_layout Standard
20750 The 
20751 \emph on
20752 Math
20753 \emph default
20754  manual is an example where automatic reference naming is used.
20755 \end_layout
20756
20757 \begin_layout Subsection
20758 Reference Position
20759 \begin_inset CommandInset label
20760 LatexCommand label
20761 name "sub:Reference-Position"
20762
20763 \end_inset
20764
20765
20766 \begin_inset Index
20767 status collapsed
20768
20769 \begin_layout Plain Layout
20770 References ! Reference Position
20771 \end_layout
20772
20773 \end_inset
20774
20775
20776 \end_layout
20777
20778 \begin_layout Standard
20779 If you use 
20780 \series bold
20781 hyperref
20782 \series default
20783
20784 \begin_inset Index
20785 status collapsed
20786
20787 \begin_layout Plain Layout
20788 LaTeX-packages ! hyperref
20789 \end_layout
20790
20791 \end_inset
20792
20793  in the 
20794 \family sans
20795 PDF Properties
20796 \family default
20797  of the 
20798 \family sans
20799 Document Settings
20800 \family default
20801  dialog to link cross-references in the output, you will see that clicking
20802  on an image float reference jumps to the image label.
20803  The caption will be the first text part on the screen, so that you cannot
20804  see the image without scrolling.
20805  This is because the reference link anchor is placed at the position of
20806  the label.
20807  With the use of the package 
20808 \series bold
20809 hypcap
20810 \series default
20811
20812 \begin_inset Index
20813 status collapsed
20814
20815 \begin_layout Plain Layout
20816 LaTeX-packages ! hypcap
20817 \end_layout
20818
20819 \end_inset
20820
20821 , which is part of the LaTeX-package 
20822 \series bold
20823 oberdiek
20824 \series default
20825
20826 \begin_inset Index
20827 status collapsed
20828
20829 \begin_layout Plain Layout
20830 LaTeX-packages ! oberdiek
20831 \end_layout
20832
20833 \end_inset
20834
20835 , the link anchor is placed at the beginning of a float.
20836  To use this feature for figure floats, load 
20837 \series bold
20838 hypcap
20839 \series default
20840  in the document preamble with the line
20841 \end_layout
20842
20843 \begin_layout Standard
20844
20845 \series bold
20846
20847 \backslash
20848 usepackage[figure]{hypcap}
20849 \end_layout
20850
20851 \begin_layout Standard
20852 You can also use 
20853 \series bold
20854 hypcap
20855 \series default
20856  for all float types but this is not recommended for stability reasons.
20857  For more information, have a look at 
20858 \series bold
20859 hypcap
20860 \series default
20861 's manual 
20862 \begin_inset CommandInset citation
20863 LatexCommand cite
20864 key "hypcap"
20865
20866 \end_inset
20867
20868 .
20869 \end_layout
20870
20871 \begin_layout Standard
20872 \begin_inset Note Greyedout
20873 status open
20874
20875 \begin_layout Plain Layout
20876
20877 \series bold
20878 Note:
20879 \series default
20880  
20881 \series bold
20882 hypcap
20883 \series default
20884  has no effect for references to subfigures.
20885 \end_layout
20886
20887 \end_inset
20888
20889
20890 \end_layout
20891
20892 \begin_layout Section
20893 Float Placement
20894 \begin_inset CommandInset label
20895 LatexCommand label
20896 name "sec:Float-Placement"
20897
20898 \end_inset
20899
20900
20901 \begin_inset Index
20902 status collapsed
20903
20904 \begin_layout Plain Layout
20905 Floats ! Placement
20906 \end_layout
20907
20908 \end_inset
20909
20910
20911 \end_layout
20912
20913 \begin_layout Standard
20914 Right-clicking on a float-box opens a dialog where you can alter the placement
20915  options that LaTeX uses for positioning the float.
20916 \begin_inset Newline newline
20917 \end_inset
20918
20919 The option 
20920 \family sans
20921 Span
20922 \begin_inset space ~
20923 \end_inset
20924
20925 columns
20926 \family default
20927  is only useful for two-column documents: If you select it, the float will
20928  span across both columns on the page instead of being confined to just
20929  one.
20930 \begin_inset Newline newline
20931 \end_inset
20932
20933 The option 
20934 \family sans
20935 Rotate
20936 \begin_inset space ~
20937 \end_inset
20938
20939 sideways
20940 \family default
20941  is used to rotate floats, see section 
20942 \begin_inset CommandInset ref
20943 LatexCommand ref
20944 reference "sec:Rotated-Floats"
20945
20946 \end_inset
20947
20948 .
20949 \end_layout
20950
20951 \begin_layout Standard
20952 You can use one ore more of the following options in the float dialog to
20953  set the placement for a particular float when you uncheck the option 
20954 \family sans
20955 Use
20956 \begin_inset space ~
20957 \end_inset
20958
20959 default
20960 \begin_inset space ~
20961 \end_inset
20962
20963 placement
20964 \family default
20965 :
20966 \end_layout
20967
20968 \begin_layout Description
20969 Here
20970 \begin_inset space ~
20971 \end_inset
20972
20973 if
20974 \begin_inset space ~
20975 \end_inset
20976
20977 possible try to place the float on the position where it is inserted
20978 \end_layout
20979
20980 \begin_layout Description
20981 Top
20982 \begin_inset space ~
20983 \end_inset
20984
20985 of
20986 \begin_inset space ~
20987 \end_inset
20988
20989 page try to place the float on the top of the current page
20990 \end_layout
20991
20992 \begin_layout Description
20993 Bottom
20994 \begin_inset space ~
20995 \end_inset
20996
20997 of
20998 \begin_inset space ~
20999 \end_inset
21000
21001 page try to place the float on the bottom of the current page
21002 \end_layout
21003
21004 \begin_layout Description
21005 Page
21006 \begin_inset space ~
21007 \end_inset
21008
21009 of
21010 \begin_inset space ~
21011 \end_inset
21012
21013 floats try to place the float on an own page 
21014 \end_layout
21015
21016 \begin_layout Standard
21017 The order of the above option is 
21018 \emph on
21019 always
21020 \emph default
21021  used by LaTeX.
21022  That means, if you use the default placement, LaTeX will first try out
21023  
21024 \family sans
21025 Here
21026 \begin_inset space ~
21027 \end_inset
21028
21029 if
21030 \begin_inset space ~
21031 \end_inset
21032
21033 possible
21034 \family default
21035 , then 
21036 \family sans
21037 Top
21038 \begin_inset space ~
21039 \end_inset
21040
21041 of
21042 \begin_inset space ~
21043 \end_inset
21044
21045 page
21046 \family default
21047 , and then the others.
21048  If you don't use the default, LaTeX will try only the checked options but
21049  in the same order.
21050  If none of the 4 placements are possible the procedure is internally repeated
21051  but it is tried to put the float on the following page.
21052 \end_layout
21053
21054 \begin_layout Standard
21055 By default, each option has its own rules:
21056 \end_layout
21057
21058 \begin_layout Labeling
21059 \labelwidthstring 00.00.0000
21060
21061 \family sans
21062 Top
21063 \begin_inset space ~
21064 \end_inset
21065
21066 of
21067 \begin_inset space ~
21068 \end_inset
21069
21070 page
21071 \family default
21072  only floats occupying less than 70
21073 \begin_inset space \thinspace{}
21074 \end_inset
21075
21076 % of the page can be placed at the top of a page (
21077 \series bold
21078
21079 \backslash
21080 topfraction
21081 \series default
21082 )
21083 \end_layout
21084
21085 \begin_layout Labeling
21086 \labelwidthstring 00.00.0000
21087
21088 \family sans
21089 Bottom
21090 \begin_inset space ~
21091 \end_inset
21092
21093 of
21094 \begin_inset space ~
21095 \end_inset
21096
21097 page
21098 \family default
21099 : only floats occupying less than 30
21100 \begin_inset space \thinspace{}
21101 \end_inset
21102
21103 % of the page can be placed at the bottom of a page.
21104  (
21105 \series bold
21106
21107 \backslash
21108 bottomfraction
21109 \series default
21110 )
21111 \end_layout
21112
21113 \begin_layout Labeling
21114 \labelwidthstring 00.00.0000
21115
21116 \family sans
21117 Page
21118 \begin_inset space ~
21119 \end_inset
21120
21121 of
21122 \begin_inset space ~
21123 \end_inset
21124
21125 floats
21126 \family default
21127 : only if more than 50
21128 \begin_inset space \thinspace{}
21129 \end_inset
21130
21131 % of the page are occupied by floats, several floats can be set together
21132  on a page.
21133  (
21134 \series bold
21135
21136 \backslash
21137 floatpagefraction
21138 \series default
21139 )
21140 \end_layout
21141
21142 \begin_layout Standard
21143 If you don't like these rules, you can ignore them by using the additional
21144  option 
21145 \family sans
21146 Ignore
21147 \begin_inset space ~
21148 \end_inset
21149
21150 LaTeX
21151 \begin_inset space ~
21152 \end_inset
21153
21154 rules
21155 \family default
21156 .
21157 \begin_inset Newline newline
21158 \end_inset
21159
21160 You can also redefine the rules with LaTeX-commands that are given in parenthese
21161 s behind the rules description above.
21162  To increase for example the often too small default of the bottom-rule
21163  to 50
21164 \begin_inset space \thinspace{}
21165 \end_inset
21166
21167 % of the page, add this line to your document preamble:
21168 \end_layout
21169
21170 \begin_layout Standard
21171
21172 \series bold
21173
21174 \backslash
21175 renewcommand{
21176 \backslash
21177 bottomfraction}{0.5}
21178 \end_layout
21179
21180 \begin_layout Standard
21181 Sometimes you might need, under all circumstances, a float to be placed
21182  exactly at the position where it is inserted.
21183  For this case you can use the option 
21184 \family sans
21185 Here
21186 \begin_inset space ~
21187 \end_inset
21188
21189 definitely
21190 \family default
21191 .
21192  Use this option very rarely and only if the document is nearly ready to
21193  be printed.
21194  Because the float is then no longer able to 
21195 \begin_inset Quotes eld
21196 \end_inset
21197
21198 float
21199 \begin_inset Quotes erd
21200 \end_inset
21201
21202  when you change your document and this will often destroy the page layout.
21203 \end_layout
21204
21205 \begin_layout Standard
21206 There are no placement options for text wrap floats, because they are always
21207  surrounded by the text of a certain paragraph.
21208 \begin_inset VSpace bigskip
21209 \end_inset
21210
21211
21212 \end_layout
21213
21214 \begin_layout Standard
21215 Sometimes you have the problem that a float is placed at the top of a page
21216  while its corresponding section starts at the middle of the page, so that
21217  the reader could think the float is part of the previous section.
21218  To avoid this the LaTeX-command 
21219 \series bold
21220
21221 \backslash
21222 suppressfloats
21223 \series default
21224  can be used.
21225  It suppresses a given float placement for the page where it is inserted
21226  and can therefore be used to avoid that floats could be set before a section
21227  starts.
21228  To get this, add these commands to your document preamble:
21229 \end_layout
21230
21231 \begin_layout Standard
21232
21233 \series bold
21234
21235 \backslash
21236 let
21237 \backslash
21238 mySection
21239 \backslash
21240 section
21241 \begin_inset Newline newline
21242 \end_inset
21243
21244
21245 \backslash
21246 renewcommand{
21247 \backslash
21248 section}{
21249 \backslash
21250 suppressfloats[t]
21251 \backslash
21252 mySection}
21253 \end_layout
21254
21255 \begin_layout Standard
21256 You can define the same for all section headings, like chapters and subsections.
21257  This definition is not recommended to be used for small text parts like
21258  subsubsections because LaTeX may then have problems to find a suitable
21259  placement.
21260 \end_layout
21261
21262 \begin_layout Standard
21263 \begin_inset VSpace bigskip
21264 \end_inset
21265
21266 In some cases it is required to have all figures/tables at the end of the
21267  document.
21268  For this purpose the LaTeX-package 
21269 \series bold
21270 endfloat
21271 \series default
21272
21273 \begin_inset Index
21274 status collapsed
21275
21276 \begin_layout Plain Layout
21277 LaTeX-packages ! endfloat
21278 \end_layout
21279
21280 \end_inset
21281
21282  was developed.
21283  It puts all figure and table floats at the end of the document into own
21284  sections.
21285  At the original float position a text hint like 
21286 \begin_inset Quotes eld
21287 \end_inset
21288
21289
21290 \family sans
21291 [Figure
21292 \begin_inset space ~
21293 \end_inset
21294
21295 3.2 about here.]
21296 \family default
21297
21298 \begin_inset Quotes erd
21299 \end_inset
21300
21301  is inserted.
21302  The endfloat-package is loaded in the preamble with the line
21303 \end_layout
21304
21305 \begin_layout Standard
21306
21307 \series bold
21308
21309 \backslash
21310 usepackage[options]{endfloat}
21311 \end_layout
21312
21313 \begin_layout Standard
21314 There are various package options to format the created figure/table sections.
21315  For more information we refer to the 
21316 \series bold
21317 endfloat
21318 \series default
21319  documentation 
21320 \begin_inset CommandInset citation
21321 LatexCommand cite
21322 key "endfloat"
21323
21324 \end_inset
21325
21326 .
21327 \begin_inset Newline newline
21328 \end_inset
21329
21330
21331 \begin_inset Note Greyedout
21332 status open
21333
21334 \begin_layout Plain Layout
21335
21336 \series bold
21337 Note: endfloat
21338 \series default
21339  doesn't provide an automatic translation for the text hint, you have to
21340  do this manually, see section
21341 \begin_inset space ~
21342 \end_inset
21343
21344 4 in 
21345 \begin_inset CommandInset citation
21346 LatexCommand cite
21347 key "endfloat"
21348
21349 \end_inset
21350
21351 .
21352 \end_layout
21353
21354 \end_inset
21355
21356
21357 \begin_inset Newline newline
21358 \end_inset
21359
21360
21361 \begin_inset Note Greyedout
21362 status open
21363
21364 \begin_layout Plain Layout
21365
21366 \series bold
21367 Note:
21368 \series default
21369  There is currently a bug in 
21370 \series bold
21371 endfloat
21372 \series default
21373  when the caption contains a German 
21374 \begin_inset Quotes eld
21375 \end_inset
21376
21377 ß
21378 \begin_inset Quotes erd
21379 \end_inset
21380
21381 .
21382  Use in this case the command 
21383 \begin_inset Quotes eld
21384 \end_inset
21385
21386
21387 \series bold
21388
21389 \backslash
21390 ss
21391 \series default
21392
21393 \begin_inset Quotes erd
21394 \end_inset
21395
21396  in TeX-Code instead of 
21397 \begin_inset Quotes eld
21398 \end_inset
21399
21400 ß
21401 \begin_inset Quotes erd
21402 \end_inset
21403
21404 .
21405 \end_layout
21406
21407 \end_inset
21408
21409
21410 \end_layout
21411
21412 \begin_layout Standard
21413 \begin_inset VSpace bigskip
21414 \end_inset
21415
21416 For more details about float placements, have a look at LaTeX books, 
21417 \begin_inset CommandInset citation
21418 LatexCommand cite
21419 key "latexcompanion,latexguide,latexbook"
21420
21421 \end_inset
21422
21423 .
21424 \end_layout
21425
21426 \begin_layout Section
21427 Rotated Floats
21428 \begin_inset CommandInset label
21429 LatexCommand label
21430 name "sec:Rotated-Floats"
21431
21432 \end_inset
21433
21434
21435 \begin_inset Index
21436 status collapsed
21437
21438 \begin_layout Plain Layout
21439 Floats ! Rotating
21440 \end_layout
21441
21442 \end_inset
21443
21444
21445 \end_layout
21446
21447 \begin_layout Standard
21448 Especially for wide tables you might have floats rotated.
21449  To rotate a whole float including the caption, right-click on the float-box
21450  and use the option 
21451 \family sans
21452 Rotate
21453 \begin_inset space ~
21454 \end_inset
21455
21456 sideways
21457 \family default
21458 .
21459 \end_layout
21460
21461 \begin_layout Standard
21462 Rotated floats are always placed on its own page (or column, in case you
21463  have a multi-column document).
21464  You can let them span several columns using the float settings option 
21465 \family sans
21466 Span
21467 \begin_inset space ~
21468 \end_inset
21469
21470 columns
21471 \family default
21472 .
21473  Floats are rotated so that you can read them from the outside margin.
21474  To force a certain rotation direction for all pages, you can add either
21475  the option 
21476 \series bold
21477 figuresleft
21478 \series default
21479  or 
21480 \series bold
21481 figuresright
21482 \series default
21483  to the document class options.
21484 \end_layout
21485
21486 \begin_layout Standard
21487 Referencing rotated floats is the same like for normal floats, the caption
21488  format is also the same: Table
21489 \begin_inset space ~
21490 \end_inset
21491
21492
21493 \begin_inset CommandInset ref
21494 LatexCommand ref
21495 reference "tab:Rotated-table"
21496
21497 \end_inset
21498
21499  is an example of a rotated table float.
21500 \end_layout
21501
21502 \begin_layout Standard
21503 \begin_inset Note Greyedout
21504 status open
21505
21506 \begin_layout Plain Layout
21507
21508 \series bold
21509 Note:
21510 \series default
21511  Not all DVI-viewers are able to display rotated floats.
21512 \end_layout
21513
21514 \end_inset
21515
21516
21517 \end_layout
21518
21519 \begin_layout Standard
21520 \begin_inset Float table
21521 wide false
21522 sideways true
21523 status open
21524
21525 \begin_layout Plain Layout
21526 \begin_inset Caption
21527
21528 \begin_layout Plain Layout
21529 \begin_inset CommandInset label
21530 LatexCommand label
21531 name "tab:Rotated-table"
21532
21533 \end_inset
21534
21535  Rotated table
21536 \end_layout
21537
21538 \end_inset
21539
21540
21541 \end_layout
21542
21543 \begin_layout Plain Layout
21544 \align center
21545 \begin_inset Tabular
21546 <lyxtabular version="3" rows="1" columns="5">
21547 <features>
21548 <column alignment="center" valignment="top" width="0">
21549 <column alignment="center" valignment="top" width="0">
21550 <column alignment="center" valignment="top" width="0">
21551 <column alignment="center" valignment="top" width="0">
21552 <column alignment="center" valignment="top" width="0">
21553 <row>
21554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21555 \begin_inset Text
21556
21557 \begin_layout Plain Layout
21558 test
21559 \end_layout
21560
21561 \end_inset
21562 </cell>
21563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21564 \begin_inset Text
21565
21566 \begin_layout Plain Layout
21567 b
21568 \end_layout
21569
21570 \end_inset
21571 </cell>
21572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21573 \begin_inset Text
21574
21575 \begin_layout Plain Layout
21576 c
21577 \end_layout
21578
21579 \end_inset
21580 </cell>
21581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21582 \begin_inset Text
21583
21584 \begin_layout Plain Layout
21585 d
21586 \end_layout
21587
21588 \end_inset
21589 </cell>
21590 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21591 \begin_inset Text
21592
21593 \begin_layout Plain Layout
21594 e
21595 \end_layout
21596
21597 \end_inset
21598 </cell>
21599 </row>
21600 </lyxtabular>
21601
21602 \end_inset
21603
21604
21605 \end_layout
21606
21607 \end_inset
21608
21609
21610 \end_layout
21611
21612 \begin_layout Section
21613 Subfloats
21614 \begin_inset Index
21615 status collapsed
21616
21617 \begin_layout Plain Layout
21618 Floats ! Subfloats
21619 \end_layout
21620
21621 \end_inset
21622
21623
21624 \end_layout
21625
21626 \begin_layout Standard
21627 Subfloats are for example used when a figure consists of several images.
21628  They are created by inserting a float to an existing float.
21629  The placement of the subfloats can be controlled like for paragraphs as
21630  shown in table
21631 \begin_inset space ~
21632 \end_inset
21633
21634
21635 \begin_inset CommandInset ref
21636 LatexCommand ref
21637 reference "tab:Two-subtables-side"
21638
21639 \end_inset
21640
21641  and 
21642 \begin_inset CommandInset ref
21643 LatexCommand ref
21644 reference "tab:Two-subtables-upon"
21645
21646 \end_inset
21647
21648 .
21649 \end_layout
21650
21651 \begin_layout Standard
21652 Referencing subfloats works as for normal floats: Table
21653 \begin_inset space ~
21654 \end_inset
21655
21656
21657 \begin_inset CommandInset ref
21658 LatexCommand ref
21659 reference "tab:This-is-subtable-a"
21660
21661 \end_inset
21662
21663  and 
21664 \begin_inset CommandInset ref
21665 LatexCommand ref
21666 reference "tab:This-is-subtable-b"
21667
21668 \end_inset
21669
21670  are subtables of table
21671 \begin_inset space ~
21672 \end_inset
21673
21674
21675 \begin_inset CommandInset ref
21676 LatexCommand ref
21677 reference "tab:Two-subtables-side"
21678
21679 \end_inset
21680
21681 .
21682 \end_layout
21683
21684 \begin_layout Standard
21685 \begin_inset Float table
21686 wide false
21687 sideways false
21688 status open
21689
21690 \begin_layout Plain Layout
21691 \begin_inset Caption
21692
21693 \begin_layout Plain Layout
21694 \begin_inset CommandInset label
21695 LatexCommand label
21696 name "tab:Two-subtables-side"
21697
21698 \end_inset
21699
21700 Two subtables placed side by side.
21701 \end_layout
21702
21703 \end_inset
21704
21705
21706 \end_layout
21707
21708 \begin_layout Plain Layout
21709 \align center
21710 \begin_inset space \hfill{}
21711 \end_inset
21712
21713
21714 \begin_inset Float table
21715 wide false
21716 sideways false
21717 status collapsed
21718
21719 \begin_layout Plain Layout
21720 \begin_inset Caption
21721
21722 \begin_layout Plain Layout
21723 \begin_inset CommandInset label
21724 LatexCommand label
21725 name "tab:This-is-subtable-a"
21726
21727 \end_inset
21728
21729 This is subtable a.
21730 \end_layout
21731
21732 \end_inset
21733
21734
21735 \end_layout
21736
21737 \begin_layout Plain Layout
21738 \align center
21739 \begin_inset Tabular
21740 <lyxtabular version="3" rows="1" columns="5">
21741 <features>
21742 <column alignment="center" valignment="top" width="0">
21743 <column alignment="center" valignment="top" width="0">
21744 <column alignment="center" valignment="top" width="0">
21745 <column alignment="center" valignment="top" width="0">
21746 <column alignment="center" valignment="top" width="0">
21747 <row>
21748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21749 \begin_inset Text
21750
21751 \begin_layout Plain Layout
21752 test
21753 \end_layout
21754
21755 \end_inset
21756 </cell>
21757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21758 \begin_inset Text
21759
21760 \begin_layout Plain Layout
21761 b
21762 \end_layout
21763
21764 \end_inset
21765 </cell>
21766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21767 \begin_inset Text
21768
21769 \begin_layout Plain Layout
21770 c
21771 \end_layout
21772
21773 \end_inset
21774 </cell>
21775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21776 \begin_inset Text
21777
21778 \begin_layout Plain Layout
21779 d
21780 \end_layout
21781
21782 \end_inset
21783 </cell>
21784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21785 \begin_inset Text
21786
21787 \begin_layout Plain Layout
21788 e
21789 \end_layout
21790
21791 \end_inset
21792 </cell>
21793 </row>
21794 </lyxtabular>
21795
21796 \end_inset
21797
21798
21799 \end_layout
21800
21801 \end_inset
21802
21803
21804 \begin_inset space \hfill{}
21805 \end_inset
21806
21807
21808 \begin_inset Float table
21809 wide false
21810 sideways false
21811 status collapsed
21812
21813 \begin_layout Plain Layout
21814 \begin_inset Caption
21815
21816 \begin_layout Plain Layout
21817 \begin_inset CommandInset label
21818 LatexCommand label
21819 name "tab:This-is-subtable-b"
21820
21821 \end_inset
21822
21823 This is subtable b.
21824 \end_layout
21825
21826 \end_inset
21827
21828
21829 \end_layout
21830
21831 \begin_layout Plain Layout
21832 \align center
21833 \begin_inset Tabular
21834 <lyxtabular version="3" rows="1" columns="5">
21835 <features>
21836 <column alignment="center" valignment="top" width="0">
21837 <column alignment="center" valignment="top" width="0">
21838 <column alignment="center" valignment="top" width="0">
21839 <column alignment="center" valignment="top" width="0">
21840 <column alignment="center" valignment="top" width="0">
21841 <row>
21842 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21843 \begin_inset Text
21844
21845 \begin_layout Plain Layout
21846 e
21847 \end_layout
21848
21849 \end_inset
21850 </cell>
21851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21852 \begin_inset Text
21853
21854 \begin_layout Plain Layout
21855 d
21856 \end_layout
21857
21858 \end_inset
21859 </cell>
21860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21861 \begin_inset Text
21862
21863 \begin_layout Plain Layout
21864 c
21865 \end_layout
21866
21867 \end_inset
21868 </cell>
21869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21870 \begin_inset Text
21871
21872 \begin_layout Plain Layout
21873 b
21874 \end_layout
21875
21876 \end_inset
21877 </cell>
21878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21879 \begin_inset Text
21880
21881 \begin_layout Plain Layout
21882 test
21883 \end_layout
21884
21885 \end_inset
21886 </cell>
21887 </row>
21888 </lyxtabular>
21889
21890 \end_inset
21891
21892
21893 \end_layout
21894
21895 \end_inset
21896
21897
21898 \begin_inset space \hfill{}
21899 \end_inset
21900
21901
21902 \end_layout
21903
21904 \end_inset
21905
21906
21907 \end_layout
21908
21909 \begin_layout Standard
21910 \begin_inset Float table
21911 wide false
21912 sideways false
21913 status open
21914
21915 \begin_layout Plain Layout
21916 \begin_inset Caption
21917
21918 \begin_layout Plain Layout
21919 \begin_inset CommandInset label
21920 LatexCommand label
21921 name "tab:Two-subtables-upon"
21922
21923 \end_inset
21924
21925 Two subtables placed one upon the other.
21926  (a) table with 4 cells, (b) table with 5 cells.
21927 \end_layout
21928
21929 \end_inset
21930
21931
21932 \end_layout
21933
21934 \begin_layout Plain Layout
21935 \align center
21936 \begin_inset Float table
21937 wide false
21938 sideways false
21939 status collapsed
21940
21941 \begin_layout Plain Layout
21942 \begin_inset Caption
21943
21944 \begin_layout Plain Layout
21945
21946 \end_layout
21947
21948 \end_inset
21949
21950
21951 \end_layout
21952
21953 \begin_layout Plain Layout
21954 \align center
21955 \begin_inset Tabular
21956 <lyxtabular version="3" rows="1" columns="4">
21957 <features>
21958 <column alignment="center" valignment="top" width="0">
21959 <column alignment="center" valignment="top" width="0">
21960 <column alignment="center" valignment="top" width="0">
21961 <column alignment="center" valignment="top" width="0">
21962 <row>
21963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21964 \begin_inset Text
21965
21966 \begin_layout Plain Layout
21967 test
21968 \end_layout
21969
21970 \end_inset
21971 </cell>
21972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21973 \begin_inset Text
21974
21975 \begin_layout Plain Layout
21976 test
21977 \end_layout
21978
21979 \end_inset
21980 </cell>
21981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21982 \begin_inset Text
21983
21984 \begin_layout Plain Layout
21985 test
21986 \end_layout
21987
21988 \end_inset
21989 </cell>
21990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21991 \begin_inset Text
21992
21993 \begin_layout Plain Layout
21994 test
21995 \end_layout
21996
21997 \end_inset
21998 </cell>
21999 </row>
22000 </lyxtabular>
22001
22002 \end_inset
22003
22004
22005 \end_layout
22006
22007 \end_inset
22008
22009
22010 \end_layout
22011
22012 \begin_layout Plain Layout
22013 \align center
22014 \begin_inset Float table
22015 wide false
22016 sideways false
22017 status collapsed
22018
22019 \begin_layout Plain Layout
22020 \begin_inset Caption
22021
22022 \begin_layout Plain Layout
22023
22024 \end_layout
22025
22026 \end_inset
22027
22028
22029 \end_layout
22030
22031 \begin_layout Plain Layout
22032 \align center
22033 \begin_inset Tabular
22034 <lyxtabular version="3" rows="1" columns="5">
22035 <features>
22036 <column alignment="center" valignment="top" width="0">
22037 <column alignment="center" valignment="top" width="0">
22038 <column alignment="center" valignment="top" width="0">
22039 <column alignment="center" valignment="top" width="0">
22040 <column alignment="center" valignment="top" width="0">
22041 <row>
22042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22043 \begin_inset Text
22044
22045 \begin_layout Plain Layout
22046 a
22047 \end_layout
22048
22049 \end_inset
22050 </cell>
22051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22052 \begin_inset Text
22053
22054 \begin_layout Plain Layout
22055 b
22056 \end_layout
22057
22058 \end_inset
22059 </cell>
22060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22061 \begin_inset Text
22062
22063 \begin_layout Plain Layout
22064 c
22065 \end_layout
22066
22067 \end_inset
22068 </cell>
22069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22070 \begin_inset Text
22071
22072 \begin_layout Plain Layout
22073 d
22074 \end_layout
22075
22076 \end_inset
22077 </cell>
22078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22079 \begin_inset Text
22080
22081 \begin_layout Plain Layout
22082 e
22083 \end_layout
22084
22085 \end_inset
22086 </cell>
22087 </row>
22088 </lyxtabular>
22089
22090 \end_inset
22091
22092
22093 \end_layout
22094
22095 \end_inset
22096
22097
22098 \end_layout
22099
22100 \end_inset
22101
22102
22103 \end_layout
22104
22105 \begin_layout Section
22106 Floats Side by Side
22107 \begin_inset Index
22108 status collapsed
22109
22110 \begin_layout Plain Layout
22111 Floats ! Side by side
22112 \end_layout
22113
22114 \end_inset
22115
22116
22117 \end_layout
22118
22119 \begin_layout Standard
22120 To place floats side by side, like for Figure
22121 \begin_inset space ~
22122 \end_inset
22123
22124
22125 \begin_inset CommandInset ref
22126 LatexCommand ref
22127 reference "fig:Float-left"
22128
22129 \end_inset
22130
22131  and 
22132 \begin_inset CommandInset ref
22133 LatexCommand ref
22134 reference "fig:Float-right"
22135
22136 \end_inset
22137
22138 , only 
22139 \emph on
22140 one
22141 \emph default
22142  float is used.
22143  In it two minipage boxes are inserted.
22144 \begin_inset Foot
22145 status collapsed
22146
22147 \begin_layout Plain Layout
22148 Minipages are explained in section
22149 \begin_inset space ~
22150 \end_inset
22151
22152
22153 \begin_inset CommandInset ref
22154 LatexCommand ref
22155 reference "sec:Minipages"
22156
22157 \end_inset
22158
22159 .
22160 \end_layout
22161
22162 \end_inset
22163
22164  The width is set to 45
22165 \begin_inset space \thinspace{}
22166 \end_inset
22167
22168 -50
22169 \begin_inset space \thinspace{}
22170 \end_inset
22171
22172 column% and the box alignment to 
22173 \family sans
22174 Bottom
22175 \family default
22176  for each minipage.
22177  The minipage boxes contain the image and the caption in the same way as
22178  they are in a float.
22179  The only difference is that the image unit 
22180 \family sans
22181 Column
22182 \begin_inset space ~
22183 \end_inset
22184
22185 Width
22186 \begin_inset space ~
22187 \end_inset
22188
22189 %
22190 \family default
22191  is now calculated according to the width of the minipage boxes.
22192 \end_layout
22193
22194 \begin_layout Standard
22195 \begin_inset Float figure
22196 wide false
22197 sideways false
22198 status open
22199
22200 \begin_layout Plain Layout
22201 \begin_inset Box Frameless
22202 position "b"
22203 hor_pos "c"
22204 has_inner_box 1
22205 inner_pos "t"
22206 use_parbox 0
22207 width "45col%"
22208 special "none"
22209 height "1in"
22210 height_special "totalheight"
22211 status open
22212
22213 \begin_layout Plain Layout
22214 \align center
22215 \begin_inset Graphics
22216         filename clipart/mobius.eps
22217         lyxscale 50
22218         width 100col%
22219         scaleBeforeRotation
22220
22221 \end_inset
22222
22223
22224 \end_layout
22225
22226 \begin_layout Plain Layout
22227 \begin_inset Caption
22228
22229 \begin_layout Plain Layout
22230 \begin_inset CommandInset label
22231 LatexCommand label
22232 name "fig:Float-left"
22233
22234 \end_inset
22235
22236 Float on the left side.
22237 \end_layout
22238
22239 \end_inset
22240
22241
22242 \end_layout
22243
22244 \end_inset
22245
22246
22247 \begin_inset space \hfill{}
22248 \end_inset
22249
22250
22251 \begin_inset Box Frameless
22252 position "b"
22253 hor_pos "c"
22254 has_inner_box 1
22255 inner_pos "t"
22256 use_parbox 0
22257 width "45col%"
22258 special "none"
22259 height "1in"
22260 height_special "totalheight"
22261 status open
22262
22263 \begin_layout Plain Layout
22264 \align center
22265 \begin_inset Graphics
22266         filename clipart/platypus.eps
22267         lyxscale 50
22268         width 100col%
22269         scaleBeforeRotation
22270
22271 \end_inset
22272
22273
22274 \end_layout
22275
22276 \begin_layout Plain Layout
22277 \begin_inset Caption
22278
22279 \begin_layout Plain Layout
22280 \begin_inset CommandInset label
22281 LatexCommand label
22282 name "fig:Float-right"
22283
22284 \end_inset
22285
22286 Float on the right side.
22287 \end_layout
22288
22289 \end_inset
22290
22291
22292 \end_layout
22293
22294 \end_inset
22295
22296
22297 \end_layout
22298
22299 \begin_layout Plain Layout
22300
22301 \end_layout
22302
22303 \end_inset
22304
22305
22306 \end_layout
22307
22308 \begin_layout Section
22309 Caption Formatting
22310 \begin_inset Index
22311 status collapsed
22312
22313 \begin_layout Plain Layout
22314 Caption ! Formatting
22315 \end_layout
22316
22317 \end_inset
22318
22319
22320 \begin_inset Index
22321 status collapsed
22322
22323 \begin_layout Plain Layout
22324 Floats ! Caption Formatting
22325 \end_layout
22326
22327 \end_inset
22328
22329
22330 \begin_inset CommandInset label
22331 LatexCommand label
22332 name "sec:Caption-Formatting"
22333
22334 \end_inset
22335
22336
22337 \end_layout
22338
22339 \begin_layout Standard
22340 The 
22341 \family sans
22342 Caption
22343 \family default
22344  environment is the default paragraph environment for 
22345 \family sans
22346 Floats
22347 \family default
22348 .
22349  On the LyX screen captions appear as label, e.
22350 \begin_inset space \thinspace{}
22351 \end_inset
22352
22353 g.
22354 \begin_inset space \space{}
22355 \end_inset
22356
22357
22358 \begin_inset Quotes eld
22359 \end_inset
22360
22361
22362 \family sans
22363 Figure #:
22364 \family default
22365
22366 \begin_inset Quotes erd
22367 \end_inset
22368
22369  followed by the caption text.
22370  
22371 \begin_inset Quotes eld
22372 \end_inset
22373
22374 #
22375 \begin_inset Quotes erd
22376 \end_inset
22377
22378  is the actual reference number.
22379  By default the label and the number are in the same font as the caption
22380  text and a colon follows the number to divide the label from the text.
22381  This caption format is not suitable for all document formats.
22382  
22383 \end_layout
22384
22385 \begin_layout Standard
22386 To change the default caption format, load the LaTeX-package 
22387 \series bold
22388 caption
22389 \series default
22390
22391 \begin_inset Index
22392 status collapsed
22393
22394 \begin_layout Plain Layout
22395 LaTeX-packages ! caption
22396 \end_layout
22397
22398 \end_inset
22399
22400  in the document preamble with this line:
22401 \end_layout
22402
22403 \begin_layout Standard
22404
22405 \series bold
22406
22407 \backslash
22408 usepackage[format definition]{caption}
22409 \end_layout
22410
22411 \begin_layout Standard
22412 To have for example the label and the number in sans-serif bold font and
22413  the table captions always above the table like in this document, use the
22414  following command:
22415 \end_layout
22416
22417 \begin_layout Standard
22418
22419 \series bold
22420
22421 \backslash
22422 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22423 \end_layout
22424
22425 \begin_layout Standard
22426 You can also define different caption formats for the different float types.
22427  In this case load the 
22428 \series bold
22429 caption
22430 \series default
22431  package without format specific options and define the different formats
22432  with the help of the command
22433 \end_layout
22434
22435 \begin_layout Standard
22436
22437 \series bold
22438
22439 \backslash
22440 captionsetup[float type]{format definition}
22441 \end_layout
22442
22443 \begin_layout Standard
22444 in the document preamble.
22445  For example the caption formats of Figure
22446 \begin_inset space ~
22447 \end_inset
22448
22449
22450 \begin_inset CommandInset ref
22451 LatexCommand ref
22452 reference "fig:This-is-an-fig"
22453
22454 \end_inset
22455
22456  and Table
22457 \begin_inset space ~
22458 \end_inset
22459
22460
22461 \begin_inset CommandInset ref
22462 LatexCommand ref
22463 reference "tab:This-is-an-tab"
22464
22465 \end_inset
22466
22467  can be created using these commands in the document preamble:
22468 \end_layout
22469
22470 \begin_layout Standard
22471
22472 \series bold
22473
22474 \backslash
22475 usepackage[tableposition=top]{caption}
22476 \series default
22477
22478 \begin_inset Newline newline
22479 \end_inset
22480
22481
22482 \series bold
22483
22484 \backslash
22485 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22486 \begin_inset Newline newline
22487 \end_inset
22488
22489
22490 \begin_inset ERT
22491 status collapsed
22492
22493 \begin_layout Plain Layout
22494
22495
22496 \backslash
22497 hphantom{
22498 \backslash
22499
22500 \backslash
22501 captionsetup[figure]
22502 \backslash
22503 {}
22504 \end_layout
22505
22506 \end_inset
22507
22508  labelsep=period}
22509 \begin_inset Newline newline
22510 \end_inset
22511
22512
22513 \backslash
22514 captionsetup[table]{labelfont={bf,sf}}
22515 \end_layout
22516
22517 \begin_layout Standard
22518 \begin_inset Note Greyedout
22519 status open
22520
22521 \begin_layout Plain Layout
22522
22523 \series bold
22524 Note:
22525 \series default
22526  The option 
22527 \series bold
22528 tableposition=top
22529 \series default
22530  has no effect when 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 is used.
22545  In this case the document class option 
22546 \series bold
22547 tablecaptionabove
22548 \series default
22549  must be used.
22550 \end_layout
22551
22552 \end_inset
22553
22554
22555 \end_layout
22556
22557 \begin_layout Standard
22558 For more information about the package 
22559 \series bold
22560 caption
22561 \series default
22562  we refer to its documentation 
22563 \begin_inset CommandInset citation
22564 LatexCommand cite
22565 key "caption"
22566
22567 \end_inset
22568
22569 .
22570 \end_layout
22571
22572 \begin_layout Standard
22573 To change the label name from e.
22574 \begin_inset space \thinspace{}
22575 \end_inset
22576
22577 g.
22578 \begin_inset space \space{}
22579 \end_inset
22580
22581
22582 \begin_inset Quotes eld
22583 \end_inset
22584
22585 Figure
22586 \begin_inset Quotes erd
22587 \end_inset
22588
22589  to 
22590 \begin_inset Quotes eld
22591 \end_inset
22592
22593 Image
22594 \begin_inset Quotes erd
22595 \end_inset
22596
22597  use this preamble command:
22598 \end_layout
22599
22600 \begin_layout Standard
22601
22602 \series bold
22603
22604 \backslash
22605 renewcommand{
22606 \backslash
22607 fnum@figure}{Image~
22608 \backslash
22609 thefigure}
22610 \end_layout
22611
22612 \begin_layout Standard
22613 where 
22614 \series bold
22615
22616 \backslash
22617 thefigure
22618 \series default
22619  inserts the figure number and
22620 \series bold
22621  
22622 \begin_inset Quotes eld
22623 \end_inset
22624
22625 ~
22626 \series default
22627
22628 \begin_inset Quotes erd
22629 \end_inset
22630
22631  creates a protected space.
22632 \end_layout
22633
22634 \begin_layout Standard
22635 \begin_inset VSpace bigskip
22636 \end_inset
22637
22638 If you are using a 
22639 \series bold
22640 KOMA-script
22641 \series default
22642
22643 \begin_inset Index
22644 status collapsed
22645
22646 \begin_layout Plain Layout
22647 LaTeX-packages ! KOMA-script
22648 \end_layout
22649
22650 \end_inset
22651
22652  document class (
22653 \family sans
22654 article (KOMA-script)
22655 \family default
22656
22657 \family sans
22658 book (KOMA-script)
22659 \family default
22660
22661 \family sans
22662 letter (KOMA-script)
22663 \family default
22664 , or 
22665 \family sans
22666 report (KOMA-script)
22667 \family default
22668
22669 \begin_inset space \thinspace{}
22670 \end_inset
22671
22672 ), you can alternatively to the 
22673 \series bold
22674 caption
22675 \series default
22676  package use 
22677 \series bold
22678 KOMA-script
22679 \series default
22680 's built-in command 
22681 \series bold
22682
22683 \backslash
22684 setkomafont
22685 \series default
22686 .
22687  For example, to have the caption label in bold, add this command to your
22688  document preamble:
22689 \end_layout
22690
22691 \begin_layout Standard
22692
22693 \series bold
22694
22695 \backslash
22696 setkomafont{captionlabel}{
22697 \backslash
22698 bfseries}
22699 \end_layout
22700
22701 \begin_layout Standard
22702 For more information about 
22703 \series bold
22704
22705 \backslash
22706 setkomafont
22707 \series default
22708  we refer to the 
22709 \series bold
22710 KOMA-script
22711 \series default
22712  documentation 
22713 \begin_inset CommandInset citation
22714 LatexCommand cite
22715 key "KOMA-script"
22716
22717 \end_inset
22718
22719 .
22720 \end_layout
22721
22722 \begin_layout Standard
22723 \begin_inset ERT
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727
22728
22729 \backslash
22730 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22731 }
22732 \end_layout
22733
22734 \end_inset
22735
22736
22737 \begin_inset Note Note
22738 status open
22739
22740 \begin_layout Plain Layout
22741 The caption format is changed only for this example.
22742 \end_layout
22743
22744 \end_inset
22745
22746
22747 \end_layout
22748
22749 \begin_layout Standard
22750 \begin_inset Float figure
22751 placement !p
22752 wide false
22753 sideways false
22754 status open
22755
22756 \begin_layout Plain Layout
22757 \align center
22758 \begin_inset Graphics
22759         filename clipart/mobius.eps
22760         lyxscale 50
22761         scale 50
22762         scaleBeforeRotation
22763
22764 \end_inset
22765
22766
22767 \end_layout
22768
22769 \begin_layout Plain Layout
22770 \begin_inset Caption
22771
22772 \begin_layout Plain Layout
22773 \begin_inset CommandInset label
22774 LatexCommand label
22775 name "fig:This-is-an-fig"
22776
22777 \end_inset
22778
22779 This is an example figure caption that is longer than one line to show the
22780  different caption format.
22781  Here a self-defined caption format is used.
22782 \end_layout
22783
22784 \end_inset
22785
22786
22787 \end_layout
22788
22789 \end_inset
22790
22791
22792 \end_layout
22793
22794 \begin_layout Standard
22795 \begin_inset ERT
22796 status collapsed
22797
22798 \begin_layout Plain Layout
22799
22800
22801 \backslash
22802 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22803 on}
22804 \end_layout
22805
22806 \end_inset
22807
22808
22809 \end_layout
22810
22811 \begin_layout Standard
22812 \begin_inset Float table
22813 placement !p
22814 wide false
22815 sideways false
22816 status open
22817
22818 \begin_layout Plain Layout
22819 \begin_inset Caption
22820
22821 \begin_layout Plain Layout
22822 \begin_inset CommandInset label
22823 LatexCommand label
22824 name "tab:This-is-an-tab"
22825
22826 \end_inset
22827
22828 This is an example table caption that is longer than one line to show the
22829  different caption format.
22830  Here the standard caption format for tables in this document is used.
22831 \end_layout
22832
22833 \end_inset
22834
22835
22836 \end_layout
22837
22838 \begin_layout Plain Layout
22839 \align center
22840 \begin_inset Tabular
22841 <lyxtabular version="3" rows="1" columns="5">
22842 <features>
22843 <column alignment="center" valignment="top" width="0">
22844 <column alignment="center" valignment="top" width="0">
22845 <column alignment="center" valignment="top" width="0">
22846 <column alignment="center" valignment="top" width="0">
22847 <column alignment="center" valignment="top" width="0">
22848 <row>
22849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22850 \begin_inset Text
22851
22852 \begin_layout Plain Layout
22853 a
22854 \end_layout
22855
22856 \end_inset
22857 </cell>
22858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22859 \begin_inset Text
22860
22861 \begin_layout Plain Layout
22862 b
22863 \end_layout
22864
22865 \end_inset
22866 </cell>
22867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22868 \begin_inset Text
22869
22870 \begin_layout Plain Layout
22871 c
22872 \end_layout
22873
22874 \end_inset
22875 </cell>
22876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22877 \begin_inset Text
22878
22879 \begin_layout Plain Layout
22880 d
22881 \end_layout
22882
22883 \end_inset
22884 </cell>
22885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22886 \begin_inset Text
22887
22888 \begin_layout Plain Layout
22889 e
22890 \end_layout
22891
22892 \end_inset
22893 </cell>
22894 </row>
22895 </lyxtabular>
22896
22897 \end_inset
22898
22899
22900 \end_layout
22901
22902 \end_inset
22903
22904
22905 \end_layout
22906
22907 \begin_layout Section
22908 Caption Placement
22909 \begin_inset Index
22910 status collapsed
22911
22912 \begin_layout Plain Layout
22913 Caption ! Placement
22914 \end_layout
22915
22916 \end_inset
22917
22918
22919 \begin_inset Index
22920 status collapsed
22921
22922 \begin_layout Plain Layout
22923 Floats ! Caption Placement
22924 \end_layout
22925
22926 \end_inset
22927
22928
22929 \begin_inset CommandInset label
22930 LatexCommand label
22931 name "sec:Caption-Placement"
22932
22933 \end_inset
22934
22935
22936 \end_layout
22937
22938 \begin_layout Standard
22939 The common caption placement rule is:
22940 \end_layout
22941
22942 \begin_layout Description
22943 Figure: Caption is set below the figure
22944 \end_layout
22945
22946 \begin_layout Description
22947 Table: Caption is set above the table
22948 \end_layout
22949
22950 \begin_layout Standard
22951 Having the caption above the table is unfortunately not supported in LaTeX's
22952  standard classes.
22953  That means if you are using the document classes 
22954 \family sans
22955 article
22956 \family default
22957
22958 \family sans
22959 book
22960 \family default
22961
22962 \family sans
22963 letter
22964 \family default
22965 , or 
22966 \family sans
22967 report
22968 \family default
22969  there will be no space between the caption and the table.
22970  To insert the needed space, add the following option to the load command
22971  of the LaTeX-package 
22972 \series bold
22973 caption
22974 \series default
22975  in your document preamble
22976 \begin_inset Foot
22977 status collapsed
22978
22979 \begin_layout Plain Layout
22980 See section
22981 \begin_inset space ~
22982 \end_inset
22983
22984
22985 \begin_inset CommandInset ref
22986 LatexCommand ref
22987 reference "sec:Caption-Formatting"
22988
22989 \end_inset
22990
22991  for more information of the package 
22992 \series bold
22993 caption
22994 \series default
22995 .
22996 \end_layout
22997
22998 \end_inset
22999
23000 :
23001 \end_layout
23002
23003 \begin_layout Standard
23004
23005 \series bold
23006 tableposition=top
23007 \end_layout
23008
23009 \begin_layout Standard
23010 If you are using a 
23011 \series bold
23012 KOMA-script
23013 \series default
23014
23015 \begin_inset Index
23016 status collapsed
23017
23018 \begin_layout Plain Layout
23019 LaTeX-packages ! KOMA-script
23020 \end_layout
23021
23022 \end_inset
23023
23024  document class (
23025 \family sans
23026 article (KOMA-script)
23027 \family default
23028
23029 \family sans
23030 book (KOMA-script)
23031 \family default
23032
23033 \family sans
23034 letter (KOMA-script)
23035 \family default
23036 , or 
23037 \family sans
23038 report (KOMA-script)
23039 \family default
23040
23041 \begin_inset space \thinspace{}
23042 \end_inset
23043
23044 ), you can alternatively to the 
23045 \series bold
23046 caption
23047 \series default
23048  package set the document class option 
23049 \series bold
23050 tablecaptionabove
23051 \series default
23052 .
23053 \end_layout
23054
23055 \begin_layout Standard
23056 \begin_inset VSpace bigskip
23057 \end_inset
23058
23059 It is also possible to set the caption beside a figure or table.
23060  To get this the LaTeX-package 
23061 \series bold
23062 sidecap
23063 \series default
23064
23065 \begin_inset Index
23066 status collapsed
23067
23068 \begin_layout Plain Layout
23069 LaTeX-packages ! sidecap
23070 \end_layout
23071
23072 \end_inset
23073
23074  has to be loaded in the document preamble with the line
23075 \end_layout
23076
23077 \begin_layout Standard
23078
23079 \series bold
23080
23081 \backslash
23082 usepackage[option]{sidecap}
23083 \end_layout
23084
23085 \begin_layout Standard
23086 If you set no option, the caption is placed on the side of the outer page
23087  margin â€“ to the right on odd pages, to the left on even pages.
23088  You can change the placement to inner margin with the option 
23089 \series bold
23090 innercaption
23091 \series default
23092 .
23093  To force the placement always to the right or left, use the option 
23094 \series bold
23095 rightcaption
23096 \series default
23097  or 
23098 \series bold
23099 leftcaption
23100 \series default
23101 , respectively.
23102 \end_layout
23103
23104 \begin_layout Standard
23105 \begin_inset ERT
23106 status collapsed
23107
23108 \begin_layout Plain Layout
23109
23110
23111 \backslash
23112 ifsidecap
23113 \end_layout
23114
23115 \end_inset
23116
23117
23118 \begin_inset Note Note
23119 status open
23120
23121 \begin_layout Plain Layout
23122 The following section will only be displayed when the LaTeX-package 
23123 \series bold
23124 sidecap
23125 \series default
23126  is installed.
23127 \end_layout
23128
23129 \end_inset
23130
23131
23132 \end_layout
23133
23134 \begin_layout Standard
23135 To place in LyX the caption of a float on the side, it is necessary to add
23136  these commands to the document preamble:
23137 \end_layout
23138
23139 \begin_layout Standard
23140
23141 \lyxline
23142
23143 \end_layout
23144
23145 \begin_layout Standard
23146
23147 \series bold
23148
23149 \backslash
23150 newcommand{
23151 \backslash
23152 TabBesBeg}{%
23153 \begin_inset Newline newline
23154 \end_inset
23155
23156
23157 \begin_inset ERT
23158 status collapsed
23159
23160 \begin_layout Plain Layout
23161
23162
23163 \backslash
23164 hphantom{ }
23165 \end_layout
23166
23167 \end_inset
23168
23169
23170 \backslash
23171 let
23172 \backslash
23173 MyTable
23174 \backslash
23175 table
23176 \begin_inset Newline newline
23177 \end_inset
23178
23179
23180 \begin_inset ERT
23181 status collapsed
23182
23183 \begin_layout Plain Layout
23184
23185
23186 \backslash
23187 hphantom{ }
23188 \end_layout
23189
23190 \end_inset
23191
23192
23193 \backslash
23194 let
23195 \backslash
23196 MyEndtable
23197 \backslash
23198 endtable
23199 \begin_inset Newline newline
23200 \end_inset
23201
23202
23203 \begin_inset ERT
23204 status collapsed
23205
23206 \begin_layout Plain Layout
23207
23208
23209 \backslash
23210 hphantom{ }
23211 \end_layout
23212
23213 \end_inset
23214
23215
23216 \backslash
23217 renewenvironment{table}{
23218 \backslash
23219 begin{SCtable}}{
23220 \backslash
23221 end{SCtable}}}
23222 \end_layout
23223
23224 \begin_layout Standard
23225
23226 \series bold
23227
23228 \backslash
23229 newcommand{
23230 \backslash
23231 TabBesEnd}{%
23232 \begin_inset Newline newline
23233 \end_inset
23234
23235
23236 \begin_inset ERT
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240
23241
23242 \backslash
23243 hphantom{ }
23244 \end_layout
23245
23246 \end_inset
23247
23248
23249 \backslash
23250 let
23251 \backslash
23252 table
23253 \backslash
23254 MyTable
23255 \begin_inset Newline newline
23256 \end_inset
23257
23258
23259 \begin_inset ERT
23260 status collapsed
23261
23262 \begin_layout Plain Layout
23263
23264
23265 \backslash
23266 hphantom{ }
23267 \end_layout
23268
23269 \end_inset
23270
23271
23272 \backslash
23273 let
23274 \backslash
23275 endtable
23276 \backslash
23277 MyEndtable
23278 \end_layout
23279
23280 \begin_layout Standard
23281
23282 \series bold
23283
23284 \backslash
23285 newcommand{
23286 \backslash
23287 FigBesBeg}{%
23288 \begin_inset Newline newline
23289 \end_inset
23290
23291
23292 \begin_inset ERT
23293 status collapsed
23294
23295 \begin_layout Plain Layout
23296
23297
23298 \backslash
23299 hphantom{ }
23300 \end_layout
23301
23302 \end_inset
23303
23304
23305 \backslash
23306 let
23307 \backslash
23308 MyFigure
23309 \backslash
23310 figure
23311 \begin_inset Newline newline
23312 \end_inset
23313
23314
23315 \begin_inset ERT
23316 status collapsed
23317
23318 \begin_layout Plain Layout
23319
23320
23321 \backslash
23322 hphantom{ }
23323 \end_layout
23324
23325 \end_inset
23326
23327
23328 \backslash
23329 let
23330 \backslash
23331 MyEndfigure
23332 \backslash
23333 endfigure
23334 \begin_inset Newline newline
23335 \end_inset
23336
23337
23338 \begin_inset ERT
23339 status collapsed
23340
23341 \begin_layout Plain Layout
23342
23343
23344 \backslash
23345 hphantom{ }
23346 \end_layout
23347
23348 \end_inset
23349
23350
23351 \backslash
23352 renewenvironment{figure}{
23353 \backslash
23354 begin{SCfigure}}{
23355 \backslash
23356 end{SCfigure}}}
23357 \end_layout
23358
23359 \begin_layout Standard
23360
23361 \series bold
23362
23363 \backslash
23364 newcommand{
23365 \backslash
23366 FigBesEnd}{%
23367 \begin_inset Newline newline
23368 \end_inset
23369
23370
23371 \begin_inset ERT
23372 status collapsed
23373
23374 \begin_layout Plain Layout
23375
23376
23377 \backslash
23378 hphantom{ }
23379 \end_layout
23380
23381 \end_inset
23382
23383
23384 \backslash
23385 let
23386 \backslash
23387 figure
23388 \backslash
23389 MyFigure
23390 \begin_inset Newline newline
23391 \end_inset
23392
23393
23394 \begin_inset ERT
23395 status collapsed
23396
23397 \begin_layout Plain Layout
23398
23399
23400 \backslash
23401 hphantom{ }
23402 \end_layout
23403
23404 \end_inset
23405
23406
23407 \backslash
23408 let
23409 \backslash
23410 endfigure
23411 \backslash
23412 MyEndfigure}
23413 \end_layout
23414
23415 \begin_layout Standard
23416
23417 \lyxline
23418
23419 \end_layout
23420
23421 \begin_layout Standard
23422 The commands allow you to redefine the floats so that the caption is set
23423  on the side.
23424  For figure floats use the command
23425 \end_layout
23426
23427 \begin_layout Standard
23428
23429 \series bold
23430
23431 \backslash
23432 FigBesBeg
23433 \end_layout
23434
23435 \begin_layout Standard
23436 in TeX-Code before the float.
23437  Behind the float insert the command
23438 \end_layout
23439
23440 \begin_layout Standard
23441
23442 \series bold
23443
23444 \backslash
23445 FigBesEnd
23446 \end_layout
23447
23448 \begin_layout Standard
23449 in TeX-Code to get back to the original float definition.
23450 \end_layout
23451
23452 \begin_layout Standard
23453 For table floats use the corresponding commands
23454 \end_layout
23455
23456 \begin_layout Standard
23457
23458 \series bold
23459
23460 \backslash
23461 TabBesBeg
23462 \series default
23463  and 
23464 \series bold
23465
23466 \backslash
23467 TabBesEnd
23468 \end_layout
23469
23470 \begin_layout Standard
23471 Figure
23472 \begin_inset space ~
23473 \end_inset
23474
23475
23476 \begin_inset CommandInset ref
23477 LatexCommand ref
23478 reference "fig:cap-beside-fig"
23479
23480 \end_inset
23481
23482  and Table
23483 \begin_inset space ~
23484 \end_inset
23485
23486
23487 \begin_inset CommandInset ref
23488 LatexCommand ref
23489 reference "tab:cap-beside-tab"
23490
23491 \end_inset
23492
23493  are examples where the caption is set beside.
23494 \end_layout
23495
23496 \begin_layout Standard
23497 You can see in the examples that the caption text appears at the top of
23498  the floats for table floats and at the bottom for figure floats.
23499  To change this, you can use the command
23500 \end_layout
23501
23502 \begin_layout Standard
23503
23504 \series bold
23505
23506 \backslash
23507 sidecaptionvpos{float type}{placement}
23508 \end_layout
23509
23510 \begin_layout Standard
23511 in the document preamble or in TeX-Code before the float.
23512  The float type is either 
23513 \family sans
23514 figure
23515 \family default
23516  or 
23517 \family sans
23518 table
23519 \family default
23520 , the placement can be 
23521 \begin_inset Quotes eld
23522 \end_inset
23523
23524
23525 \family sans
23526 t
23527 \family default
23528
23529 \begin_inset Quotes erd
23530 \end_inset
23531
23532  for top, 
23533 \begin_inset Quotes eld
23534 \end_inset
23535
23536
23537 \family sans
23538 c
23539 \family default
23540
23541 \begin_inset Quotes erd
23542 \end_inset
23543
23544  for center, or 
23545 \begin_inset Quotes eld
23546 \end_inset
23547
23548
23549 \family sans
23550 b
23551 \family default
23552
23553 \begin_inset Quotes erd
23554 \end_inset
23555
23556  for bottom.
23557  To have for example the caption of figure floats vertically centered, use
23558  the command
23559 \end_layout
23560
23561 \begin_layout Standard
23562
23563 \series bold
23564
23565 \backslash
23566 sidecaptionvpos{figure}{c}
23567 \end_layout
23568
23569 \begin_layout Standard
23570 This was used for Figure
23571 \begin_inset space ~
23572 \end_inset
23573
23574
23575 \begin_inset CommandInset ref
23576 LatexCommand ref
23577 reference "fig:cap-beside-fig-2"
23578
23579 \end_inset
23580
23581 .
23582 \end_layout
23583
23584 \begin_layout Standard
23585 \begin_inset VSpace medskip
23586 \end_inset
23587
23588 For more information about the package 
23589 \series bold
23590 sidecap
23591 \series default
23592  we refer to its documentation 
23593 \begin_inset CommandInset citation
23594 LatexCommand cite
23595 key "sidecap"
23596
23597 \end_inset
23598
23599 .
23600 \end_layout
23601
23602 \begin_layout Standard
23603 \begin_inset Note Greyedout
23604 status open
23605
23606 \begin_layout Plain Layout
23607
23608 \series bold
23609 Note:
23610 \series default
23611  The LaTeX-package 
23612 \series bold
23613 hypcap
23614 \series default
23615
23616 \begin_inset Index
23617 status collapsed
23618
23619 \begin_layout Plain Layout
23620 LaTeX-packages ! hypcap
23621 \end_layout
23622
23623 \end_inset
23624
23625 , described in section
23626 \begin_inset space ~
23627 \end_inset
23628
23629
23630 \begin_inset CommandInset ref
23631 LatexCommand ref
23632 reference "sub:Reference-Position"
23633
23634 \end_inset
23635
23636 , has no effect on floats with the caption set beside.
23637 \end_layout
23638
23639 \end_inset
23640
23641
23642 \end_layout
23643
23644 \begin_layout Standard
23645 \begin_inset ERT
23646 status collapsed
23647
23648 \begin_layout Plain Layout
23649
23650
23651 \backslash
23652 FigBesBeg 
23653 \end_layout
23654
23655 \end_inset
23656
23657
23658 \end_layout
23659
23660 \begin_layout Standard
23661 \begin_inset Float figure
23662 wide false
23663 sideways false
23664 status open
23665
23666 \begin_layout Plain Layout
23667 \begin_inset Graphics
23668         filename clipart/escher-lsd.eps
23669         scale 75
23670         scaleBeforeRotation
23671
23672 \end_inset
23673
23674
23675 \end_layout
23676
23677 \begin_layout Plain Layout
23678 \begin_inset Caption
23679
23680 \begin_layout Plain Layout
23681 \begin_inset CommandInset label
23682 LatexCommand label
23683 name "fig:cap-beside-fig"
23684
23685 \end_inset
23686
23687 This is a caption beside a figure.
23688 \end_layout
23689
23690 \end_inset
23691
23692
23693 \end_layout
23694
23695 \end_inset
23696
23697
23698 \end_layout
23699
23700 \begin_layout Standard
23701 \begin_inset ERT
23702 status collapsed
23703
23704 \begin_layout Plain Layout
23705
23706
23707 \backslash
23708 TabBesBeg 
23709 \end_layout
23710
23711 \end_inset
23712
23713
23714 \end_layout
23715
23716 \begin_layout Standard
23717 \begin_inset Float table
23718 wide false
23719 sideways false
23720 status open
23721
23722 \begin_layout Plain Layout
23723 \begin_inset Caption
23724
23725 \begin_layout Plain Layout
23726 \begin_inset CommandInset label
23727 LatexCommand label
23728 name "tab:cap-beside-tab"
23729
23730 \end_inset
23731
23732 This is a caption beside a table.
23733 \end_layout
23734
23735 \end_inset
23736
23737
23738 \end_layout
23739
23740 \begin_layout Plain Layout
23741 \begin_inset Tabular
23742 <lyxtabular version="3" rows="4" columns="5">
23743 <features>
23744 <column alignment="center" valignment="top" width="0">
23745 <column alignment="center" valignment="top" width="0">
23746 <column alignment="center" valignment="top" width="0">
23747 <column alignment="center" valignment="top" width="0">
23748 <column alignment="center" valignment="top" width="0">
23749 <row>
23750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23751 \begin_inset Text
23752
23753 \begin_layout Plain Layout
23754 a
23755 \end_layout
23756
23757 \end_inset
23758 </cell>
23759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23760 \begin_inset Text
23761
23762 \begin_layout Plain Layout
23763
23764 \end_layout
23765
23766 \end_inset
23767 </cell>
23768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23769 \begin_inset Text
23770
23771 \begin_layout Plain Layout
23772 b
23773 \end_layout
23774
23775 \end_inset
23776 </cell>
23777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23778 \begin_inset Text
23779
23780 \begin_layout Plain Layout
23781
23782 \end_layout
23783
23784 \end_inset
23785 </cell>
23786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23787 \begin_inset Text
23788
23789 \begin_layout Plain Layout
23790 c
23791 \end_layout
23792
23793 \end_inset
23794 </cell>
23795 </row>
23796 <row>
23797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23798 \begin_inset Text
23799
23800 \begin_layout Plain Layout
23801
23802 \end_layout
23803
23804 \end_inset
23805 </cell>
23806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23807 \begin_inset Text
23808
23809 \begin_layout Plain Layout
23810 d
23811 \end_layout
23812
23813 \end_inset
23814 </cell>
23815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23816 \begin_inset Text
23817
23818 \begin_layout Plain Layout
23819
23820 \end_layout
23821
23822 \end_inset
23823 </cell>
23824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23825 \begin_inset Text
23826
23827 \begin_layout Plain Layout
23828 e
23829 \end_layout
23830
23831 \end_inset
23832 </cell>
23833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23834 \begin_inset Text
23835
23836 \begin_layout Plain Layout
23837
23838 \end_layout
23839
23840 \end_inset
23841 </cell>
23842 </row>
23843 <row>
23844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23845 \begin_inset Text
23846
23847 \begin_layout Plain Layout
23848 f
23849 \end_layout
23850
23851 \end_inset
23852 </cell>
23853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23854 \begin_inset Text
23855
23856 \begin_layout Plain Layout
23857
23858 \end_layout
23859
23860 \end_inset
23861 </cell>
23862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23863 \begin_inset Text
23864
23865 \begin_layout Plain Layout
23866 g
23867 \end_layout
23868
23869 \end_inset
23870 </cell>
23871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23872 \begin_inset Text
23873
23874 \begin_layout Plain Layout
23875
23876 \end_layout
23877
23878 \end_inset
23879 </cell>
23880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23881 \begin_inset Text
23882
23883 \begin_layout Plain Layout
23884 h
23885 \end_layout
23886
23887 \end_inset
23888 </cell>
23889 </row>
23890 <row>
23891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23892 \begin_inset Text
23893
23894 \begin_layout Plain Layout
23895
23896 \end_layout
23897
23898 \end_inset
23899 </cell>
23900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23901 \begin_inset Text
23902
23903 \begin_layout Plain Layout
23904 i
23905 \end_layout
23906
23907 \end_inset
23908 </cell>
23909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23910 \begin_inset Text
23911
23912 \begin_layout Plain Layout
23913
23914 \end_layout
23915
23916 \end_inset
23917 </cell>
23918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23919 \begin_inset Text
23920
23921 \begin_layout Plain Layout
23922 j
23923 \end_layout
23924
23925 \end_inset
23926 </cell>
23927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23928 \begin_inset Text
23929
23930 \begin_layout Plain Layout
23931
23932 \end_layout
23933
23934 \end_inset
23935 </cell>
23936 </row>
23937 </lyxtabular>
23938
23939 \end_inset
23940
23941
23942 \end_layout
23943
23944 \end_inset
23945
23946
23947 \end_layout
23948
23949 \begin_layout Standard
23950 \begin_inset ERT
23951 status collapsed
23952
23953 \begin_layout Plain Layout
23954
23955
23956 \backslash
23957 TabBesEnd
23958 \end_layout
23959
23960 \end_inset
23961
23962
23963 \end_layout
23964
23965 \begin_layout Standard
23966 \begin_inset ERT
23967 status collapsed
23968
23969 \begin_layout Plain Layout
23970
23971
23972 \backslash
23973 sidecaptionvpos{figure}{c}
23974 \end_layout
23975
23976 \end_inset
23977
23978
23979 \begin_inset Float figure
23980 wide false
23981 sideways false
23982 status open
23983
23984 \begin_layout Plain Layout
23985 \begin_inset Graphics
23986         filename clipart/escher-lsd.eps
23987         scale 75
23988         scaleBeforeRotation
23989
23990 \end_inset
23991
23992
23993 \end_layout
23994
23995 \begin_layout Plain Layout
23996 \begin_inset Caption
23997
23998 \begin_layout Plain Layout
23999 \begin_inset CommandInset label
24000 LatexCommand label
24001 name "fig:cap-beside-fig-2"
24002
24003 \end_inset
24004
24005 This is a vertically centered caption beside a figure.
24006 \end_layout
24007
24008 \end_inset
24009
24010
24011 \end_layout
24012
24013 \end_inset
24014
24015
24016 \end_layout
24017
24018 \begin_layout Standard
24019 \begin_inset ERT
24020 status collapsed
24021
24022 \begin_layout Plain Layout
24023
24024
24025 \backslash
24026 FigBesEnd
24027 \end_layout
24028
24029 \end_inset
24030
24031
24032 \end_layout
24033
24034 \begin_layout Standard
24035 \begin_inset ERT
24036 status collapsed
24037
24038 \begin_layout Plain Layout
24039
24040
24041 \backslash
24042 else
24043 \end_layout
24044
24045 \end_inset
24046
24047
24048 \begin_inset Note Note
24049 status open
24050
24051 \begin_layout Plain Layout
24052 The following will be displayed when the LaTeX-package 
24053 \series bold
24054 sidecap
24055 \series default
24056  is not installed:
24057 \end_layout
24058
24059 \end_inset
24060
24061
24062 \end_layout
24063
24064 \begin_layout Standard
24065 You need to install the LaTeX-package 
24066 \series bold
24067 sidecap
24068 \series default
24069  to see the following part of this section in the output.
24070 \end_layout
24071
24072 \begin_layout Standard
24073 \begin_inset ERT
24074 status collapsed
24075
24076 \begin_layout Plain Layout
24077
24078
24079 \backslash
24080 fi
24081 \end_layout
24082
24083 \end_inset
24084
24085
24086 \end_layout
24087
24088 \begin_layout Section
24089 Listings of Floats
24090 \begin_inset Index
24091 status collapsed
24092
24093 \begin_layout Plain Layout
24094 Floats ! Float Lists
24095 \end_layout
24096
24097 \end_inset
24098
24099
24100 \end_layout
24101
24102 \begin_layout Standard
24103 Similar to the the table of contents where the sections of the document
24104  are listed, there are listings for all float types, like the figures of
24105  the documents.
24106  You can insert them via the 
24107 \family sans
24108 Insert\SpecialChar \menuseparator
24109 List
24110 \begin_inset space ~
24111 \end_inset
24112
24113 /
24114 \begin_inset space ~
24115 \end_inset
24116
24117 TOC
24118 \family default
24119  sub menus.
24120 \end_layout
24121
24122 \begin_layout Standard
24123 The list entries are the float captions or its short title, the float number,
24124  and the page number where they appear in the document.
24125 \end_layout
24126
24127 \begin_layout Standard
24128 You can find the list of figures and tables at the end of this document.
24129 \end_layout
24130
24131 \begin_layout Chapter
24132 Notes
24133 \end_layout
24134
24135 \begin_layout Section
24136 LyX Notes
24137 \begin_inset Index
24138 status collapsed
24139
24140 \begin_layout Plain Layout
24141 Notes ! LyX Notes
24142 \end_layout
24143
24144 \end_inset
24145
24146
24147 \end_layout
24148
24149 \begin_layout Standard
24150 Notes are inserted with the toolbar button 
24151 \begin_inset Graphics
24152         filename ../images/note-insert.png
24153         scale 85
24154         scaleBeforeRotation
24155
24156 \end_inset
24157
24158  or the menu 
24159 \family sans
24160 Insert\SpecialChar \menuseparator
24161 Note
24162 \family default
24163 .
24164  There are three types of notes:
24165 \end_layout
24166
24167 \begin_layout Description
24168 LyX
24169 \begin_inset space ~
24170 \end_inset
24171
24172 Note This note type is for internal notes that won't appear in the output.
24173  Its note-box looks like this:
24174 \begin_inset Newline newline
24175 \end_inset
24176
24177
24178 \begin_inset Newline newline
24179 \end_inset
24180
24181
24182 \begin_inset Graphics
24183         filename clipart/LyXNoteImageQt4.png
24184         display false
24185         scale 85
24186         scaleBeforeRotation
24187
24188 \end_inset
24189
24190  
24191 \begin_inset Note Note
24192 status open
24193
24194 \begin_layout Plain Layout
24195 This is text in a note box that doesn't appear in the output.
24196 \end_layout
24197
24198 \end_inset
24199
24200
24201 \end_layout
24202
24203 \begin_layout Description
24204 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24205 ent, when you export the document to LaTeX via the menu 
24206 \family sans
24207 File\SpecialChar \menuseparator
24208 Export\SpecialChar \menuseparator
24209 LaTeX (pdflatex) / (plain)
24210 \family default
24211 .
24212  Its note-box looks like this:
24213 \begin_inset Newline newline
24214 \end_inset
24215
24216
24217 \begin_inset Newline newline
24218 \end_inset
24219
24220
24221 \begin_inset Graphics
24222         filename clipart/CommentNoteImageQt4.png
24223         display false
24224         scale 85
24225         scaleBeforeRotation
24226
24227 \end_inset
24228
24229  
24230 \begin_inset Note Comment
24231 status open
24232
24233 \begin_layout Plain Layout
24234 This is text in a note box that only appears as comment in LaTeX-files.
24235 \end_layout
24236
24237 \end_inset
24238
24239
24240 \end_layout
24241
24242 \begin_layout Description
24243 Greyed
24244 \begin_inset space ~
24245 \end_inset
24246
24247 Out This note will appear in the output as grey text.
24248  Its note-box looks like this:
24249 \begin_inset Newline newline
24250 \end_inset
24251
24252
24253 \begin_inset Newline newline
24254 \end_inset
24255
24256
24257 \begin_inset Graphics
24258         filename clipart/GreyedOutNoteImageQt4.png
24259         display false
24260         scale 85
24261         scaleBeforeRotation
24262
24263 \end_inset
24264
24265
24266 \begin_inset Newline newline
24267 \end_inset
24268
24269
24270 \begin_inset ERT
24271 status collapsed
24272
24273 \begin_layout Plain Layout
24274
24275
24276 \backslash
24277 renewenvironment{lyxgreyedout}
24278 \end_layout
24279
24280 \begin_layout Plain Layout
24281
24282 {
24283 \backslash
24284 textcolor[gray]{0.8}
24285 \backslash
24286 bgroup}{
24287 \backslash
24288 egroup}
24289 \end_layout
24290
24291 \end_inset
24292
24293
24294 \begin_inset Note Greyedout
24295 status open
24296
24297 \begin_layout Plain Layout
24298 This is text
24299 \begin_inset Foot
24300 status open
24301
24302 \begin_layout Plain Layout
24303 This is an example footnote within a greyed out note.
24304 \end_layout
24305
24306 \end_inset
24307
24308  of a comment that appears in the output as grey text.
24309 \end_layout
24310
24311 \end_inset
24312
24313
24314 \begin_inset ERT
24315 status collapsed
24316
24317 \begin_layout Plain Layout
24318
24319
24320 \backslash
24321 renewenvironment{lyxgreyedout}
24322 \end_layout
24323
24324 \begin_layout Plain Layout
24325
24326 {
24327 \backslash
24328 textcolor{blue}
24329 \backslash
24330 bgroup}{
24331 \backslash
24332 egroup}
24333 \end_layout
24334
24335 \end_inset
24336
24337
24338 \begin_inset Note Note
24339 status collapsed
24340
24341 \begin_layout Plain Layout
24342 The greyed out note is here redefined to show it with the original LyX definitio
24343 n because greyed out notes are redefined in the preamble of this document,
24344  as described below, to have blue text.
24345 \end_layout
24346
24347 \end_inset
24348
24349
24350 \begin_inset Newline newline
24351 \end_inset
24352
24353
24354 \begin_inset Newline newline
24355 \end_inset
24356
24357 As you can see in the example, the first line of greyed out notes is a bit
24358  indented and greyed out notes can have footnotes.
24359 \end_layout
24360
24361 \begin_layout Standard
24362 \begin_inset VSpace bigskip
24363 \end_inset
24364
24365 When you use the toolbar button 
24366 \begin_inset Graphics
24367         filename ../images/note-insert.png
24368         scale 85
24369         scaleBeforeRotation
24370
24371 \end_inset
24372
24373  to insert notes, a 
24374 \family sans
24375 LyX
24376 \begin_inset space ~
24377 \end_inset
24378
24379 Note
24380 \family default
24381  is inserted.
24382  You can switch between the five note types by right-clicking on the note-box.
24383  
24384 \family roman
24385 \series medium
24386 \bar no
24387 If you want to turn existing text into a note, mark it and click on the
24388  note
24389 \family default
24390 \series default
24391 \bar default
24392  toolbar 
24393 \family roman
24394 \series medium
24395 \bar no
24396 button
24397 \family default
24398 \series default
24399 \bar default
24400 .
24401  To change a note to text, press the backspace key when the cursor is in
24402  the first position of a note, or press the deletey key when the cursor
24403  is in the very last position of the note, respectively.
24404 \end_layout
24405
24406 \begin_layout Standard
24407 \begin_inset VSpace bigskip
24408 \end_inset
24409
24410 You can change the text color of the greyed out notes in the preamble with
24411  the following command:
24412 \end_layout
24413
24414 \begin_layout Standard
24415
24416 \series bold
24417
24418 \backslash
24419 renewenvironment{lyxgreyedout}
24420 \begin_inset Newline newline
24421 \end_inset
24422
24423
24424 \begin_inset ERT
24425 status collapsed
24426
24427 \begin_layout Plain Layout
24428
24429
24430 \backslash
24431 hphantom{ }
24432 \end_layout
24433
24434 \end_inset
24435
24436 {
24437 \backslash
24438 textcolor{color}
24439 \backslash
24440 bgroup}{
24441 \backslash
24442 egroup}
24443 \end_layout
24444
24445 \begin_layout Standard
24446 The available colors and the method to define own colors is explained in
24447  section
24448 \begin_inset space ~
24449 \end_inset
24450
24451
24452 \begin_inset CommandInset ref
24453 LatexCommand ref
24454 reference "sec:Colored-Tables"
24455
24456 \end_inset
24457
24458 .
24459 \end_layout
24460
24461 \begin_layout Standard
24462 Notes that appear in blue in this document are set using greyed out notes
24463  with blue text.
24464 \end_layout
24465
24466 \begin_layout Section
24467 Footnotes
24468 \begin_inset CommandInset label
24469 LatexCommand label
24470 name "sec:Footnotes"
24471
24472 \end_inset
24473
24474
24475 \begin_inset Index
24476 status collapsed
24477
24478 \begin_layout Plain Layout
24479 Notes ! Footnotes
24480 \end_layout
24481
24482 \end_inset
24483
24484
24485 \begin_inset Index
24486 status collapsed
24487
24488 \begin_layout Plain Layout
24489 Footnotes
24490 \end_layout
24491
24492 \end_inset
24493
24494
24495 \end_layout
24496
24497 \begin_layout Standard
24498 Footnotes can be inserted using the toolbar button 
24499 \begin_inset Graphics
24500         filename ../images/footnote-insert.png
24501         scale 85
24502         scaleBeforeRotation
24503
24504 \end_inset
24505
24506  or the menu 
24507 \family sans
24508 Insert\SpecialChar \menuseparator
24509 Footnote
24510 \family default
24511 .
24512  
24513 \family roman
24514 \series medium
24515 \bar no
24516 You'll see
24517 \family default
24518 \series default
24519 \bar default
24520  then the following footnote-box: 
24521 \begin_inset Graphics
24522         filename clipart/footnoteQt4.png
24523         scale 80
24524         scaleBeforeRotation
24525
24526 \end_inset
24527
24528  
24529 \family roman
24530 \series medium
24531 \bar no
24532 where you can enter the footnote text.
24533  If you want to turn existing text into a footnote, mark it and click on
24534  the footnote
24535 \family default
24536 \series default
24537 \bar default
24538  toolbar 
24539 \family roman
24540 \series medium
24541 \bar no
24542 button
24543 \family default
24544 \series default
24545 \bar default
24546 .
24547  To change a 
24548 \family roman
24549 \series medium
24550 \bar no
24551 footnote
24552 \family default
24553 \series default
24554 \bar default
24555  to text, press the Backspace key when the cursor is in the first position
24556  of a 
24557 \family roman
24558 \series medium
24559 \bar no
24560 footnote
24561 \family default
24562 \series default
24563 \bar default
24564 , or press the Delete key when the cursor is in the very last position of
24565  the 
24566 \family roman
24567 \series medium
24568 \bar no
24569 footnote
24570 \family default
24571 \series default
24572 \bar default
24573 , respectively.
24574 \end_layout
24575
24576 \begin_layout Standard
24577 Here is an example footnote:
24578 \family roman
24579 \series medium
24580 \bar no
24581
24582 \begin_inset Foot
24583 status open
24584
24585 \begin_layout Plain Layout
24586 \begin_inset CommandInset label
24587 LatexCommand label
24588 name "foot:This-is-an"
24589
24590 \end_inset
24591
24592 This is an example footnote.
24593 \end_layout
24594
24595 \end_inset
24596
24597
24598 \family default
24599 \series default
24600 \bar default
24601
24602 \begin_inset ERT
24603 status collapsed
24604
24605 \begin_layout Plain Layout
24606
24607
24608 \backslash
24609 newcounter{MyRepeatFoot}
24610 \end_layout
24611
24612 \begin_layout Plain Layout
24613
24614
24615 \backslash
24616 setcounter{MyRepeatFoot}{
24617 \backslash
24618 thefootnote}
24619 \end_layout
24620
24621 \end_inset
24622
24623
24624 \end_layout
24625
24626 \begin_layout Standard
24627 The footnote will appear in the output as a superscript number at the text
24628  position where the footnote box is placed.
24629  The footnote text is placed at the bottom of the current page.
24630  The footnote number is calculated by LaTeX, the numbers are consecutive.
24631  It depends on your document-class, if the footnote number is reset for
24632  every chapter.
24633 \end_layout
24634
24635 \begin_layout Standard
24636 Footnotes can be referenced like floats: Insert a label into the footnote
24637  and cross-reference this label in the text as described in section
24638 \begin_inset space ~
24639 \end_inset
24640
24641
24642 \begin_inset CommandInset ref
24643 LatexCommand ref
24644 reference "sec:Referencing-Floats"
24645
24646 \end_inset
24647
24648 .
24649 \begin_inset Newline newline
24650 \end_inset
24651
24652 This is a cross-reference of Footnote
24653 \begin_inset space ~
24654 \end_inset
24655
24656
24657 \begin_inset CommandInset ref
24658 LatexCommand ref
24659 reference "foot:This-is-an"
24660
24661 \end_inset
24662
24663 .
24664 \end_layout
24665
24666 \begin_layout Standard
24667 \begin_inset VSpace defskip
24668 \end_inset
24669
24670 To use footnotes within tables, you have to use minipages, see section
24671 \begin_inset space ~
24672 \end_inset
24673
24674
24675 \begin_inset CommandInset ref
24676 LatexCommand ref
24677 reference "sec:Minipages"
24678
24679 \end_inset
24680
24681 .
24682  Footnotes within longtables are described in section
24683 \begin_inset space ~
24684 \end_inset
24685
24686
24687 \begin_inset CommandInset ref
24688 LatexCommand ref
24689 reference "sub:Footnotes-in-Longtables"
24690
24691 \end_inset
24692
24693 .
24694 \end_layout
24695
24696 \begin_layout Standard
24697 \begin_inset VSpace defskip
24698 \end_inset
24699
24700 To create only a mark for a footnote, use the command 
24701 \series bold
24702
24703 \backslash
24704 footnotemark[number]
24705 \series default
24706  in TeX-Code.
24707  This is used when you have the same annotation several times in a text
24708  but doesn't want to print the footnote text every time.
24709 \begin_inset Newline newline
24710 \end_inset
24711
24712 As you don't know the number of the repeating footnote while you are writing
24713  the text, you have to store its number.
24714  For the following footnote mark example, these commands were inserted in
24715  TeX-Code behind Footnote
24716 \begin_inset space ~
24717 \end_inset
24718
24719
24720 \begin_inset CommandInset ref
24721 LatexCommand ref
24722 reference "foot:This-is-an"
24723
24724 \end_inset
24725
24726  to store the footnote number:
24727 \end_layout
24728
24729 \begin_layout Standard
24730
24731 \series bold
24732
24733 \backslash
24734 newcounter{MyRepeatFoot}
24735 \begin_inset Newline newline
24736 \end_inset
24737
24738
24739 \backslash
24740 setcounter{MyRepeatFoot}{
24741 \backslash
24742 thefootnote}
24743 \end_layout
24744
24745 \begin_layout Standard
24746 The footnote mark was then created with this command:
24747 \end_layout
24748
24749 \begin_layout Standard
24750
24751 \series bold
24752
24753 \backslash
24754 footnotemark[
24755 \backslash
24756 theMyRepeatFoot]
24757 \end_layout
24758
24759 \begin_layout Standard
24760 Here is an example footnote mark:
24761 \family roman
24762 \series medium
24763 \bar no
24764
24765 \begin_inset ERT
24766 status collapsed
24767
24768 \begin_layout Plain Layout
24769
24770
24771 \backslash
24772 footnotemark[
24773 \backslash
24774 theMyRepeatFoot]
24775 \end_layout
24776
24777 \end_inset
24778
24779
24780 \end_layout
24781
24782 \begin_layout Subsection
24783 Footnote Numbering
24784 \begin_inset CommandInset label
24785 LatexCommand label
24786 name "sub:Footnote-Numbering"
24787
24788 \end_inset
24789
24790
24791 \begin_inset Index
24792 status collapsed
24793
24794 \begin_layout Plain Layout
24795 Footnotes ! Numbering
24796 \end_layout
24797
24798 \end_inset
24799
24800
24801 \end_layout
24802
24803 \begin_layout Standard
24804 To reset the footnote number back to 1 after each section
24805 \family roman
24806 , add this command to your document preamble:
24807 \end_layout
24808
24809 \begin_layout Standard
24810
24811 \series bold
24812
24813 \backslash
24814 @addtoreset{footnote}{section}
24815 \end_layout
24816
24817 \begin_layout Standard
24818 \begin_inset VSpace bigskip
24819 \end_inset
24820
24821 The following preamble command changes the footnote numbering style to small
24822  roman numerals:
24823 \end_layout
24824
24825 \begin_layout Standard
24826
24827 \series bold
24828
24829 \backslash
24830 renewcommand{
24831 \backslash
24832 thefootnote}{
24833 \backslash
24834 roman{footnote}}
24835 \end_layout
24836
24837 \begin_layout Standard
24838 \begin_inset ERT
24839 status collapsed
24840
24841 \begin_layout Plain Layout
24842
24843
24844 \backslash
24845 renewcommand{
24846 \backslash
24847 thefootnote}{
24848 \backslash
24849 roman{footnote}}
24850 \end_layout
24851
24852 \end_inset
24853
24854  This is a footnote with roman numbering:
24855 \begin_inset Foot
24856 status open
24857
24858 \begin_layout Plain Layout
24859 This is an example footnote with roman numbering.
24860 \end_layout
24861
24862 \end_inset
24863
24864
24865 \end_layout
24866
24867 \begin_layout Standard
24868 To change the numbering style to capital roman numerals replace in the command
24869  above 
24870 \series bold
24871
24872 \backslash
24873 roman
24874 \series default
24875  by 
24876 \series bold
24877
24878 \backslash
24879 Roman
24880 \series default
24881 .
24882  To 
24883 \begin_inset Quotes eld
24884 \end_inset
24885
24886 number
24887 \begin_inset Quotes erd
24888 \end_inset
24889
24890  footnotes with capital or small Latin letters use 
24891 \series bold
24892
24893 \backslash
24894 Alph
24895 \series default
24896  or 
24897 \series bold
24898
24899 \backslash
24900 alph
24901 \series default
24902 , respectively.
24903  To 
24904 \begin_inset Quotes eld
24905 \end_inset
24906
24907 number
24908 \begin_inset Quotes erd
24909 \end_inset
24910
24911  footnotes with symbols use 
24912 \series bold
24913
24914 \backslash
24915 fnsymbol
24916 \series default
24917 .
24918 \end_layout
24919
24920 \begin_layout Standard
24921 \begin_inset Note Greyedout
24922 status open
24923
24924 \begin_layout Plain Layout
24925
24926 \series bold
24927 Note:
24928 \series default
24929  You can only number 26 footnotes with Latin letters, because this numbering
24930  is limited to single letters.
24931 \end_layout
24932
24933 \end_inset
24934
24935
24936 \begin_inset Newline newline
24937 \end_inset
24938
24939
24940 \begin_inset Note Greyedout
24941 status open
24942
24943 \begin_layout Plain Layout
24944
24945 \series bold
24946 Note:
24947 \series default
24948  You can only number 9 footnotes with symbols.
24949 \end_layout
24950
24951 \end_inset
24952
24953
24954 \end_layout
24955
24956 \begin_layout Standard
24957 To return to the default numbering style when you changed to another one,
24958  use 
24959 \series bold
24960
24961 \backslash
24962 arabic
24963 \series default
24964  instead of 
24965 \series bold
24966
24967 \backslash
24968 roman
24969 \series default
24970  in the command above.
24971 \begin_inset ERT
24972 status collapsed
24973
24974 \begin_layout Plain Layout
24975
24976
24977 \backslash
24978 renewcommand{
24979 \backslash
24980 thefootnote}{
24981 \backslash
24982 arabic{footnote}}
24983 \end_layout
24984
24985 \end_inset
24986
24987
24988 \end_layout
24989
24990 \begin_layout Standard
24991 \begin_inset VSpace bigskip
24992 \end_inset
24993
24994
24995 \end_layout
24996
24997 \begin_layout Standard
24998 If you want to have footnotes numbered in the scheme 
24999 \begin_inset Quotes eld
25000 \end_inset
25001
25002 chapter.footnote
25003 \begin_inset Quotes erd
25004 \end_inset
25005
25006 , add the following command to your document preamble:
25007 \end_layout
25008
25009 \begin_layout Standard
25010
25011 \series bold
25012
25013 \backslash
25014 numberwithin{footnote}{chapter}
25015 \end_layout
25016
25017 \begin_layout Standard
25018 To be able to use the command 
25019 \series bold
25020
25021 \backslash
25022 numberwithin
25023 \series default
25024 , set in the tab 
25025 \family sans
25026 Math
25027 \begin_inset space ~
25028 \end_inset
25029
25030 Options
25031 \family default
25032  in the document settings the option 
25033 \family sans
25034 Use
25035 \begin_inset space ~
25036 \end_inset
25037
25038 AMS
25039 \begin_inset space ~
25040 \end_inset
25041
25042 math
25043 \begin_inset space ~
25044 \end_inset
25045
25046 package
25047 \family default
25048 .
25049 \end_layout
25050
25051 \begin_layout Standard
25052 \begin_inset ERT
25053 status collapsed
25054
25055 \begin_layout Plain Layout
25056
25057
25058 \backslash
25059 numberwithin{footnote}{chapter}
25060 \end_layout
25061
25062 \end_inset
25063
25064 This is another example footnote:
25065 \series bold
25066
25067 \begin_inset Foot
25068 status open
25069
25070 \begin_layout Plain Layout
25071 This is a footnote numbered in the scheme 
25072 \begin_inset Quotes eld
25073 \end_inset
25074
25075 chapter.footnote
25076 \begin_inset Quotes erd
25077 \end_inset
25078
25079 .
25080 \end_layout
25081
25082 \end_inset
25083
25084
25085 \series default
25086
25087 \begin_inset ERT
25088 status collapsed
25089
25090 \begin_layout Plain Layout
25091
25092
25093 \backslash
25094 renewcommand{
25095 \backslash
25096 thefootnote}{
25097 \backslash
25098 arabic{footnote}}
25099 \end_layout
25100
25101 \end_inset
25102
25103
25104 \end_layout
25105
25106 \begin_layout Standard
25107 \begin_inset Note Greyedout
25108 status open
25109
25110 \begin_layout Plain Layout
25111
25112 \series bold
25113 Note:
25114 \series default
25115  
25116 \series bold
25117
25118 \backslash
25119 numberwithin
25120 \series default
25121  always prints out the footnote number as arabic number; previous redefinitions
25122  to get non-arabic numbers are overwritten.
25123 \end_layout
25124
25125 \end_inset
25126
25127
25128 \end_layout
25129
25130 \begin_layout Standard
25131 So to get for example the scheme 
25132 \begin_inset Quotes eld
25133 \end_inset
25134
25135 chapter.
25136 \backslash
25137 Roman{footnote}
25138 \begin_inset Quotes erd
25139 \end_inset
25140
25141 , use this command instead of 
25142 \series bold
25143
25144 \backslash
25145 numberwithin
25146 \series default
25147 :
25148 \end_layout
25149
25150 \begin_layout Standard
25151
25152 \series bold
25153
25154 \backslash
25155 renewcommand{
25156 \backslash
25157 thefootnote}{
25158 \backslash
25159 thechapter.
25160 \backslash
25161 Roman{footnote}}
25162 \end_layout
25163
25164 \begin_layout Subsection
25165 Footnote Placement
25166 \begin_inset Index
25167 status collapsed
25168
25169 \begin_layout Plain Layout
25170 Footnotes ! Placement
25171 \end_layout
25172
25173 \end_inset
25174
25175
25176 \end_layout
25177
25178 \begin_layout Standard
25179 If you have several footnotes in one page, they appear without vertical
25180  space between them at the bottom of the page.
25181  To make them better readable you can e.
25182 \begin_inset space \thinspace{}
25183 \end_inset
25184
25185 g.
25186 \begin_inset space \space{}
25187 \end_inset
25188
25189 add 1.5
25190 \begin_inset space \thinspace{}
25191 \end_inset
25192
25193 mm space with the following preamble command:
25194 \end_layout
25195
25196 \begin_layout Standard
25197
25198 \series bold
25199
25200 \backslash
25201 let
25202 \backslash
25203 myFoot
25204 \backslash
25205 footnote
25206 \begin_inset Newline newline
25207 \end_inset
25208
25209
25210 \backslash
25211 renewcommand{
25212 \backslash
25213 footnote}[1]{
25214 \backslash
25215 myFoot{#1
25216 \backslash
25217 vspace{1.5mm}}}
25218 \end_layout
25219
25220 \begin_layout Standard
25221 \begin_inset VSpace bigskip
25222 \end_inset
25223
25224 In a two-column document the footnotes appear at the bottom of every column,
25225  see Figure
25226 \begin_inset space ~
25227 \end_inset
25228
25229
25230 \begin_inset CommandInset ref
25231 LatexCommand ref
25232 reference "fig:Standard-footnote-placement"
25233
25234 \end_inset
25235
25236 .
25237  If the footnotes should only appear at the bottom of the right column,
25238  as in Figure
25239 \begin_inset space ~
25240 \end_inset
25241
25242
25243 \begin_inset CommandInset ref
25244 LatexCommand ref
25245 reference "fig:Footnote-placement-in"
25246
25247 \end_inset
25248
25249 , use the LaTeX-package 
25250 \series bold
25251 ftnright
25252 \series default
25253
25254 \begin_inset Index
25255 status collapsed
25256
25257 \begin_layout Plain Layout
25258 LaTeX-packages ! ftnright
25259 \end_layout
25260
25261 \end_inset
25262
25263  with this command in the document preamble:
25264 \end_layout
25265
25266 \begin_layout Standard
25267
25268 \series bold
25269
25270 \backslash
25271 usepackage{ftnright}
25272 \end_layout
25273
25274 \begin_layout Standard
25275 \begin_inset Float figure
25276 placement !h
25277 wide false
25278 sideways false
25279 status open
25280
25281 \begin_layout Plain Layout
25282 \begin_inset ERT
25283 status collapsed
25284
25285 \begin_layout Plain Layout
25286
25287
25288 \backslash
25289 framebox{
25290 \end_layout
25291
25292 \end_inset
25293
25294
25295 \begin_inset Graphics
25296         filename clipart/without_fntright.pdf
25297         width 100col%
25298         scaleBeforeRotation
25299
25300 \end_inset
25301
25302
25303 \begin_inset ERT
25304 status collapsed
25305
25306 \begin_layout Plain Layout
25307
25308 }
25309 \end_layout
25310
25311 \end_inset
25312
25313
25314 \end_layout
25315
25316 \begin_layout Plain Layout
25317 \begin_inset Caption
25318
25319 \begin_layout Plain Layout
25320 \begin_inset CommandInset label
25321 LatexCommand label
25322 name "fig:Standard-footnote-placement"
25323
25324 \end_inset
25325
25326 Standard footnote placement in two-column documents.
25327 \end_layout
25328
25329 \end_inset
25330
25331
25332 \end_layout
25333
25334 \end_inset
25335
25336
25337 \end_layout
25338
25339 \begin_layout Standard
25340 \begin_inset Float figure
25341 placement !h
25342 wide false
25343 sideways false
25344 status open
25345
25346 \begin_layout Plain Layout
25347 \begin_inset ERT
25348 status collapsed
25349
25350 \begin_layout Plain Layout
25351
25352
25353 \backslash
25354 framebox{
25355 \end_layout
25356
25357 \end_inset
25358
25359
25360 \begin_inset Graphics
25361         filename clipart/with_fntright.pdf
25362         width 100col%
25363         scaleBeforeRotation
25364
25365 \end_inset
25366
25367
25368 \begin_inset ERT
25369 status collapsed
25370
25371 \begin_layout Plain Layout
25372
25373 }
25374 \end_layout
25375
25376 \end_inset
25377
25378
25379 \end_layout
25380
25381 \begin_layout Plain Layout
25382 \begin_inset Caption
25383
25384 \begin_layout Plain Layout
25385 \begin_inset CommandInset label
25386 LatexCommand label
25387 name "fig:Footnote-placement-in"
25388
25389 \end_inset
25390
25391 Footnote placement in two-column documents when the LaTeX-package 
25392 \series bold
25393 ftnright
25394 \series default
25395  is used.
25396 \end_layout
25397
25398 \end_inset
25399
25400
25401 \end_layout
25402
25403 \end_inset
25404
25405
25406 \end_layout
25407
25408 \begin_layout Standard
25409 \begin_inset VSpace bigskip
25410 \end_inset
25411
25412 In some scientific literature it is usual to collect the footnotes and print
25413  them in a separate paragraph at the the end of a section, like in Figure
25414 \begin_inset space ~
25415 \end_inset
25416
25417
25418 \begin_inset CommandInset ref
25419 LatexCommand ref
25420 reference "fig:Endnotes"
25421
25422 \end_inset
25423
25424 .
25425  They are then so called 
25426 \begin_inset Quotes eld
25427 \end_inset
25428
25429 endnotes
25430 \begin_inset Quotes erd
25431 \end_inset
25432
25433 .
25434 \begin_inset Index
25435 status collapsed
25436
25437 \begin_layout Plain Layout
25438 Endnotes
25439 \end_layout
25440
25441 \end_inset
25442
25443  To use endnotes instead of footnotes in your document, load in the menu
25444  
25445 \family sans
25446 Document\SpecialChar \menuseparator
25447 Settings\SpecialChar \menuseparator
25448 Modules 
25449 \family default
25450 the module 
25451 \family sans
25452 Foot
25453 \begin_inset space ~
25454 \end_inset
25455
25456 to
25457 \begin_inset space ~
25458 \end_inset
25459
25460 End
25461 \family default
25462 .
25463  To insert the collected footnotes, insert the command
25464 \end_layout
25465
25466 \begin_layout Standard
25467
25468 \series bold
25469
25470 \backslash
25471 theendnotes
25472 \end_layout
25473
25474 \begin_layout Standard
25475 in TeX-Code at the the end of a section or chapter.
25476 \end_layout
25477
25478 \begin_layout Standard
25479 \begin_inset Float figure
25480 wide false
25481 sideways false
25482 status open
25483
25484 \begin_layout Plain Layout
25485 \align center
25486 \begin_inset ERT
25487 status collapsed
25488
25489 \begin_layout Plain Layout
25490
25491
25492 \backslash
25493 framebox{
25494 \end_layout
25495
25496 \end_inset
25497
25498
25499 \begin_inset Graphics
25500         filename clipart/endnotes.pdf
25501         scaleBeforeRotation
25502
25503 \end_inset
25504
25505
25506 \begin_inset ERT
25507 status collapsed
25508
25509 \begin_layout Plain Layout
25510
25511 }
25512 \end_layout
25513
25514 \end_inset
25515
25516
25517 \end_layout
25518
25519 \begin_layout Plain Layout
25520 \begin_inset Caption
25521
25522 \begin_layout Plain Layout
25523 \begin_inset CommandInset label
25524 LatexCommand label
25525 name "fig:Endnotes"
25526
25527 \end_inset
25528
25529 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
25530  or chapters.
25531 \end_layout
25532
25533 \end_inset
25534
25535
25536 \end_layout
25537
25538 \end_inset
25539
25540
25541 \end_layout
25542
25543 \begin_layout Standard
25544 \begin_inset VSpace medskip
25545 \end_inset
25546
25547 The paragraph heading for the endnotes isn't automatically translated into
25548  the document language, this must be done manually.
25549  The following preamble command translate the default English name 
25550 \begin_inset Quotes eld
25551 \end_inset
25552
25553 Notes
25554 \begin_inset Quotes erd
25555 \end_inset
25556
25557  to the German translation 
25558 \begin_inset Quotes eld
25559 \end_inset
25560
25561 Anmerkungen
25562 \begin_inset Quotes erd
25563 \end_inset
25564
25565 :
25566 \end_layout
25567
25568 \begin_layout Standard
25569
25570 \series bold
25571
25572 \backslash
25573 renewcommand{
25574 \backslash
25575 notesname}{Anmerkungen}
25576 \end_layout
25577
25578 \begin_layout Standard
25579 \begin_inset VSpace medskip
25580 \end_inset
25581
25582 The numbering of endnotes can be changed like the footnote numbering as
25583  described in section
25584 \begin_inset space ~
25585 \end_inset
25586
25587
25588 \begin_inset CommandInset ref
25589 LatexCommand ref
25590 reference "sub:Footnote-Numbering"
25591
25592 \end_inset
25593
25594 ; just replace the command 
25595 \series bold
25596
25597 \backslash
25598 thefootnote
25599 \series default
25600  by 
25601 \series bold
25602
25603 \backslash
25604 theendnote
25605 \series default
25606 .
25607  To reset the endnote number use the command 
25608 \series bold
25609
25610 \backslash
25611 @addtoreset
25612 \series default
25613  as described in section
25614 \begin_inset space ~
25615 \end_inset
25616
25617
25618 \begin_inset CommandInset ref
25619 LatexCommand ref
25620 reference "sub:Footnote-Numbering"
25621
25622 \end_inset
25623
25624  and replace the command parameter 
25625 \series bold
25626 footnote
25627 \series default
25628  by 
25629 \series bold
25630 endnote
25631 \series default
25632 .
25633 \end_layout
25634
25635 \begin_layout Standard
25636 To create only a mark for an endnote, use the command 
25637 \series bold
25638
25639 \backslash
25640 endnotemark[number]
25641 \series default
25642  similar to the command 
25643 \series bold
25644
25645 \backslash
25646 footnotemark
25647 \series default
25648 , described in section
25649 \begin_inset space ~
25650 \end_inset
25651
25652
25653 \begin_inset CommandInset ref
25654 LatexCommand ref
25655 reference "sec:Footnotes"
25656
25657 \end_inset
25658
25659 .
25660 \end_layout
25661
25662 \begin_layout Standard
25663 \begin_inset VSpace bigskip
25664 \end_inset
25665
25666 Footnotes can also be placed in the page margin and the footnote text alignment
25667  can be changed, see the LaTeX-package 
25668 \series bold
25669 footmisc
25670 \series default
25671
25672 \begin_inset Index
25673 status collapsed
25674
25675 \begin_layout Plain Layout
25676 LaTeX-packages ! footmisc
25677 \end_layout
25678
25679 \end_inset
25680
25681
25682 \begin_inset CommandInset citation
25683 LatexCommand cite
25684 key "footmisc"
25685
25686 \end_inset
25687
25688  for more information about this.
25689 \end_layout
25690
25691 \begin_layout Standard
25692 For various further footnote formatting issues have a look at LaTeX-books,
25693  
25694 \begin_inset CommandInset citation
25695 LatexCommand cite
25696 key "latexcompanion,latexguide,latexbook"
25697
25698 \end_inset
25699
25700 .
25701 \end_layout
25702
25703 \begin_layout Section
25704 Margin Notes
25705 \begin_inset Index
25706 status collapsed
25707
25708 \begin_layout Plain Layout
25709 Notes ! Margin Notes
25710 \end_layout
25711
25712 \end_inset
25713
25714
25715 \end_layout
25716
25717 \begin_layout Standard
25718 Margin notes look and behave in LyX like footnotes.
25719  They are inserted via the menu 
25720 \family sans
25721 Insert\SpecialChar \menuseparator
25722 Marginal
25723 \begin_inset space ~
25724 \end_inset
25725
25726 Note
25727 \family default
25728  or the toolbar button 
25729 \begin_inset Graphics
25730         filename ../images/marginalnote-insert.png
25731         scale 85
25732         scaleBeforeRotation
25733
25734 \end_inset
25735
25736 .
25737  A grey 
25738 \family roman
25739 \series medium
25740 box with the
25741 \family default
25742 \series default
25743  red 
25744 \family roman
25745 \series medium
25746 label 
25747 \begin_inset Quotes eld
25748 \end_inset
25749
25750 margin
25751 \begin_inset Quotes erd
25752 \end_inset
25753
25754  appears where you can enter the text of the margin note.
25755 \end_layout
25756
25757 \begin_layout Standard
25758 At the side is an example margin note.
25759
25760 \family roman
25761 \series medium
25762  
25763 \begin_inset Marginal
25764 status open
25765
25766 \begin_layout Plain Layout
25767 This is a margin note.
25768 \end_layout
25769
25770 \end_inset
25771
25772
25773 \end_layout
25774
25775 \begin_layout Standard
25776 Margin notes appear at the right side in single-sided documents.
25777  In double-sided documents they appear in the outer margin â€“ left on even
25778  pages, right on odd pages.
25779  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
25780 d when the note appears in the left margin.
25781  The first line of the margin note is placed at the position of the text
25782  line where it is inserted in the document.
25783 \end_layout
25784
25785 \begin_layout Standard
25786 \begin_inset VSpace bigskip
25787 \end_inset
25788
25789 To place the margin note in the inner margin, add the command
25790 \end_layout
25791
25792 \begin_layout Standard
25793
25794 \series bold
25795
25796 \backslash
25797 reversemarginpar
25798 \end_layout
25799
25800 \begin_layout Standard
25801 in TeX-Code before a margin note.
25802  The new placement is valid for all following margin notes.
25803  
25804 \begin_inset ERT
25805 status collapsed
25806
25807 \begin_layout Plain Layout
25808
25809
25810 \backslash
25811 reversemarginpar 
25812 \end_layout
25813
25814 \end_inset
25815
25816
25817 \begin_inset Marginal
25818 status open
25819
25820 \begin_layout Plain Layout
25821 This is a margin note in the inner margin.
25822 \end_layout
25823
25824 \end_inset
25825
25826
25827 \series bold
25828
25829 \begin_inset Newline newline
25830 \end_inset
25831
25832
25833 \series default
25834
25835 \begin_inset Note Greyedout
25836 status open
25837
25838 \begin_layout Plain Layout
25839
25840 \series bold
25841 Note:
25842 \series default
25843  There is often not enough space in the inner margin so that the notes are
25844  not correctly displayed in the output.
25845 \end_layout
25846
25847 \end_inset
25848
25849
25850 \end_layout
25851
25852 \begin_layout Standard
25853 To return to the default placement insert the command
25854 \end_layout
25855
25856 \begin_layout Standard
25857
25858 \series bold
25859
25860 \backslash
25861 normalmarginpar
25862 \end_layout
25863
25864 \begin_layout Standard
25865 in TeX-Code.
25866 \begin_inset ERT
25867 status collapsed
25868
25869 \begin_layout Plain Layout
25870
25871
25872 \backslash
25873 normalmarginpar 
25874 \end_layout
25875
25876 \end_inset
25877
25878  
25879 \begin_inset Note Greyedout
25880 status open
25881
25882 \begin_layout Plain Layout
25883
25884 \series bold
25885 Note:
25886 \series default
25887  The command is ignored when it is within a paragraph where also the command
25888  
25889 \series bold
25890
25891 \backslash
25892 reversemarginpar
25893 \series default
25894  is inserted.
25895 \end_layout
25896
25897 \end_inset
25898
25899
25900 \end_layout
25901
25902 \begin_layout Standard
25903 \begin_inset VSpace bigskip
25904 \end_inset
25905
25906
25907 \family roman
25908 \series medium
25909
25910 \begin_inset Marginal
25911 status open
25912
25913 \begin_layout Plain Layout
25914 AVeryLongMarginParWord that isn't hyphenated.
25915 \end_layout
25916
25917 \end_inset
25918
25919
25920 \family default
25921 \series default
25922  Similar to the case described in section
25923 \begin_inset space ~
25924 \end_inset
25925
25926
25927 \begin_inset CommandInset ref
25928 LatexCommand ref
25929 reference "sub:Multiple-Lines-in"
25930
25931 \end_inset
25932
25933 , long words cannot be hyphenated when they are the first word in a margin
25934  note.
25935  To avoid this, insert 0
25936 \begin_inset space \thinspace{}
25937 \end_inset
25938
25939 pt horizontal space before the word
25940 \family roman
25941 \series medium
25942 .
25943  
25944 \begin_inset Marginal
25945 status open
25946
25947 \begin_layout Plain Layout
25948 \begin_inset space \hspace*{}
25949 \length 0pt
25950 \end_inset
25951
25952 AVeryLongMarginParWord that is hyphenated.
25953 \end_layout
25954
25955 \end_inset
25956
25957
25958 \end_layout
25959
25960 \begin_layout Standard
25961 \begin_inset VSpace bigskip
25962 \end_inset
25963
25964
25965 \end_layout
25966
25967 \begin_layout Standard
25968 \begin_inset Note Greyedout
25969 status open
25970
25971 \begin_layout Plain Layout
25972
25973 \series bold
25974 Note:
25975 \series default
25976  Margin notes can normally not be used inside tables, floats, and footnotes.
25977 \end_layout
25978
25979 \end_inset
25980
25981
25982 \end_layout
25983
25984 \begin_layout Standard
25985 \begin_inset VSpace bigskip
25986 \end_inset
25987
25988
25989 \end_layout
25990
25991 \begin_layout Standard
25992 \begin_inset ERT
25993 status collapsed
25994
25995 \begin_layout Plain Layout
25996
25997
25998 \backslash
25999 ifmarginnote
26000 \end_layout
26001
26002 \end_inset
26003
26004
26005 \begin_inset Note Note
26006 status open
26007
26008 \begin_layout Plain Layout
26009 The following section will only be displayed when the LaTeX-package 
26010 \series bold
26011 marginnote
26012 \series default
26013  is installed.
26014 \end_layout
26015
26016 \end_inset
26017
26018
26019 \end_layout
26020
26021 \begin_layout Standard
26022 This restriction can be evaded by using the LaTeX-package 
26023 \series bold
26024 marginnote
26025 \series default
26026
26027 \begin_inset Index
26028 status collapsed
26029
26030 \begin_layout Plain Layout
26031 LaTeX-packages ! marginnote
26032 \end_layout
26033
26034 \end_inset
26035
26036 .
26037  By adding these two lines to your document preamble, the command used by
26038  LyX for margin notes is redefined to use the command provided by the 
26039 \series bold
26040 marginnote
26041 \series default
26042 -package:
26043 \end_layout
26044
26045 \begin_layout Standard
26046
26047 \series bold
26048
26049 \backslash
26050 usepackage{marginnote}
26051 \begin_inset Newline newline
26052 \end_inset
26053
26054
26055 \backslash
26056 let
26057 \backslash
26058 marginpar
26059 \backslash
26060 marginnote
26061 \end_layout
26062
26063 \begin_layout Standard
26064 This is also used in this document because 
26065 \series bold
26066 marginnote
26067 \series default
26068  has another useful feature: You can set a vertical offset for the note.
26069  This is often needed when too many margin notes are too close together
26070  or for a better page layout.
26071  The offset is set in LyX as TeX-Code directly behind the margin note in
26072  the scheme
26073 \end_layout
26074
26075 \begin_layout Standard
26076
26077 \series bold
26078 [offset]
26079 \end_layout
26080
26081 \begin_layout Standard
26082 where the offset is a length with one of the units listed in Table
26083 \begin_inset space ~
26084 \end_inset
26085
26086
26087 \begin_inset CommandInset ref
26088 LatexCommand ref
26089 reference "tab:Units"
26090
26091 \end_inset
26092
26093 .
26094  A negative value shifts the note up, a positive value shifts it down.
26095  
26096 \family roman
26097 \series medium
26098 For example the margin note beside this text line is shifted up 1.5
26099 \begin_inset space \thinspace{}
26100 \end_inset
26101
26102 cm with the TeX-Code-command 
26103 \begin_inset Quotes eld
26104 \end_inset
26105
26106
26107 \family default
26108 \series bold
26109 [-1.5cm]
26110 \family roman
26111 \series medium
26112
26113 \begin_inset Quotes erd
26114 \end_inset
26115
26116
26117 \begin_inset Marginal
26118 status open
26119
26120 \begin_layout Plain Layout
26121 This margin note is shifted up 1.5
26122 \begin_inset space \thinspace{}
26123 \end_inset
26124
26125 cm from its original position.
26126 \end_layout
26127
26128 \end_inset
26129
26130
26131 \family default
26132 \series default
26133
26134 \begin_inset ERT
26135 status collapsed
26136
26137 \begin_layout Plain Layout
26138
26139 [-1.5cm]
26140 \end_layout
26141
26142 \end_inset
26143
26144
26145 \end_layout
26146
26147 \begin_layout Standard
26148 \begin_inset VSpace medskip
26149 \end_inset
26150
26151 With 
26152 \series bold
26153 marginnote
26154 \series default
26155  you can also change the alignment of the text in the margin note.
26156  For example the commands
26157 \end_layout
26158
26159 \begin_layout Standard
26160
26161 \series bold
26162
26163 \backslash
26164 renewcommand*{
26165 \backslash
26166 raggedleftmarginnote}{
26167 \backslash
26168 centering}
26169 \begin_inset Newline newline
26170 \end_inset
26171
26172
26173 \backslash
26174 renewcommand*{
26175 \backslash
26176 raggedrightmarginnote}{
26177 \backslash
26178 centering}
26179 \end_layout
26180
26181 \begin_layout Standard
26182 set the alignment to centered.
26183  
26184 \series bold
26185
26186 \backslash
26187 raggedleftmarginnote
26188 \series default
26189  denotes margin notes that appear at the left side.
26190 \family roman
26191 \series medium
26192
26193 \begin_inset ERT
26194 status collapsed
26195
26196 \begin_layout Plain Layout
26197
26198
26199 \backslash
26200 renewcommand*{
26201 \backslash
26202 raggedleftmarginnote}{
26203 \backslash
26204 centering}
26205 \end_layout
26206
26207 \begin_layout Plain Layout
26208
26209
26210 \backslash
26211 renewcommand*{
26212 \backslash
26213 raggedrightmarginnote}{
26214 \backslash
26215 centering}
26216 \end_layout
26217
26218 \end_inset
26219
26220
26221 \begin_inset Marginal
26222 status open
26223
26224 \begin_layout Plain Layout
26225 The text of this margin note is centered.
26226 \end_layout
26227
26228 \end_inset
26229
26230
26231 \family default
26232 \series default
26233  The default is
26234 \end_layout
26235
26236 \begin_layout Standard
26237
26238 \series bold
26239
26240 \backslash
26241 renewcommand*{
26242 \backslash
26243 raggedleftmarginnote}{
26244 \backslash
26245 raggedleft}
26246 \begin_inset Newline newline
26247 \end_inset
26248
26249
26250 \backslash
26251 renewcommand*{
26252 \backslash
26253 raggedrightmarginnote}{
26254 \backslash
26255 raggedright}
26256 \family roman
26257 \series medium
26258
26259 \begin_inset ERT
26260 status collapsed
26261
26262 \begin_layout Plain Layout
26263
26264
26265 \backslash
26266 renewcommand*{
26267 \backslash
26268 raggedleftmarginnote}{
26269 \backslash
26270 raggedleft}
26271 \end_layout
26272
26273 \begin_layout Plain Layout
26274
26275
26276 \backslash
26277 renewcommand*{
26278 \backslash
26279 raggedrightmarginnote}{
26280 \backslash
26281 raggedright}
26282 \end_layout
26283
26284 \end_inset
26285
26286
26287 \end_layout
26288
26289 \begin_layout Standard
26290 \begin_inset VSpace medskip
26291 \end_inset
26292
26293 For the other features of 
26294 \series bold
26295 marginnote
26296 \series default
26297  we refer to its documentation 
26298 \begin_inset CommandInset citation
26299 LatexCommand cite
26300 key "marginnote"
26301
26302 \end_inset
26303
26304 .
26305 \end_layout
26306
26307 \begin_layout Standard
26308 \begin_inset VSpace bigskip
26309 \end_inset
26310
26311 You can adjust the layout of margin notes by changing its definition.
26312  To create for example a header for all margin notes with the underlined,
26313  sans-serif, and bold header text 
26314 \begin_inset Quotes eld
26315 \end_inset
26316
26317
26318 \family sans
26319 \series bold
26320 \bar under
26321 Attention!
26322 \family default
26323 \series default
26324 \bar default
26325
26326 \begin_inset Quotes erd
26327 \end_inset
26328
26329 , add this to your document preamble:
26330 \end_layout
26331
26332 \begin_layout Standard
26333
26334 \series bold
26335
26336 \backslash
26337 let
26338 \backslash
26339 myMarginpar
26340 \backslash
26341 marginpar
26342 \begin_inset Newline newline
26343 \end_inset
26344
26345
26346 \backslash
26347 renewcommand{
26348 \backslash
26349 marginpar}[1]{
26350 \backslash
26351 myMarginpar{%
26352 \begin_inset Newline newline
26353 \end_inset
26354
26355
26356 \begin_inset ERT
26357 status collapsed
26358
26359 \begin_layout Plain Layout
26360
26361
26362 \backslash
26363 hphantom{ }
26364 \end_layout
26365
26366 \end_inset
26367
26368
26369 \backslash
26370 hspace{0pt}
26371 \backslash
26372 textsf{
26373 \backslash
26374 textbf{
26375 \backslash
26376 underbar{Attention!}}}%
26377 \begin_inset Newline newline
26378 \end_inset
26379
26380
26381 \begin_inset ERT
26382 status collapsed
26383
26384 \begin_layout Plain Layout
26385
26386
26387 \backslash
26388 hphantom{ }
26389 \end_layout
26390
26391 \end_inset
26392
26393
26394 \backslash
26395 vspace{1.5mm}
26396 \backslash
26397
26398 \backslash
26399 #1}}
26400 \end_layout
26401
26402 \begin_layout Standard
26403
26404 \family roman
26405 \series medium
26406 \begin_inset ERT
26407 status collapsed
26408
26409 \begin_layout Plain Layout
26410
26411
26412 \backslash
26413 let
26414 \backslash
26415 myMarginpar
26416 \backslash
26417 marginpar
26418 \end_layout
26419
26420 \begin_layout Plain Layout
26421
26422
26423 \backslash
26424 renewcommand{
26425 \backslash
26426 marginpar}[1]{
26427 \backslash
26428 myMarginpar{%
26429 \end_layout
26430
26431 \begin_layout Plain Layout
26432
26433    
26434 \backslash
26435 textsf{
26436 \backslash
26437 textbf{
26438 \backslash
26439 underbar{Attention!}}}%
26440 \end_layout
26441
26442 \begin_layout Plain Layout
26443
26444    
26445 \backslash
26446 vspace{1.5mm}
26447 \backslash
26448
26449 \backslash
26450 #1}}
26451 \end_layout
26452
26453 \end_inset
26454
26455
26456 \begin_inset Marginal
26457 status open
26458
26459 \begin_layout Plain Layout
26460 This is a margin note with a defined heading.
26461 \end_layout
26462
26463 \end_inset
26464
26465
26466 \family default
26467 \series default
26468
26469 \begin_inset ERT
26470 status collapsed
26471
26472 \begin_layout Plain Layout
26473
26474 [-1.5cm]
26475 \end_layout
26476
26477 \end_inset
26478
26479
26480 \family roman
26481 \series medium
26482
26483 \begin_inset ERT
26484 status collapsed
26485
26486 \begin_layout Plain Layout
26487
26488
26489 \backslash
26490 renewcommand{
26491 \backslash
26492 marginpar}[1]{
26493 \backslash
26494 myMarginpar{#1}}
26495 \end_layout
26496
26497 \end_inset
26498
26499
26500 \family default
26501 \series default
26502
26503 \begin_inset Note Note
26504 status collapsed
26505
26506 \begin_layout Plain Layout
26507 The margin note format is changed only for this example.
26508 \end_layout
26509
26510 \end_inset
26511
26512
26513 \end_layout
26514
26515 \begin_layout Standard
26516 \begin_inset ERT
26517 status collapsed
26518
26519 \begin_layout Plain Layout
26520
26521
26522 \backslash
26523 else
26524 \end_layout
26525
26526 \end_inset
26527
26528
26529 \begin_inset Note Note
26530 status open
26531
26532 \begin_layout Plain Layout
26533 The following will be displayed when the LaTeX-package 
26534 \series bold
26535 marginnote
26536 \series default
26537  is not installed:
26538 \end_layout
26539
26540 \end_inset
26541
26542
26543 \end_layout
26544
26545 \begin_layout Standard
26546 You need to install the LaTeX-package 
26547 \series bold
26548 marginnote
26549 \series default
26550  to see the following part of this section in the output.
26551 \end_layout
26552
26553 \begin_layout Standard
26554 \begin_inset ERT
26555 status collapsed
26556
26557 \begin_layout Plain Layout
26558
26559
26560 \backslash
26561 fi
26562 \end_layout
26563
26564 \end_inset
26565
26566
26567 \end_layout
26568
26569 \begin_layout Chapter
26570 Boxes
26571 \end_layout
26572
26573 \begin_layout Section
26574 Introduction
26575 \begin_inset Index
26576 status collapsed
26577
26578 \begin_layout Plain Layout
26579 Boxes ! Introduction
26580 \end_layout
26581
26582 \end_inset
26583
26584
26585 \end_layout
26586
26587 \begin_layout Standard
26588 Boxes are used to format a block of text.
26589  Boxes can be used to write documents with multiple languages, see section
26590 \begin_inset space ~
26591 \end_inset
26592
26593
26594 \begin_inset CommandInset ref
26595 LatexCommand ref
26596 reference "sec:Minipages"
26597
26598 \end_inset
26599
26600 , to frame texts, see section
26601 \begin_inset space ~
26602 \end_inset
26603
26604
26605 \begin_inset CommandInset ref
26606 LatexCommand ref
26607 reference "sec:Decoration"
26608
26609 \end_inset
26610
26611 , to prevent words to be hyphenated, see section
26612 \begin_inset space ~
26613 \end_inset
26614
26615
26616 \begin_inset CommandInset ref
26617 LatexCommand ref
26618 reference "sec:Prevent-Hyphenation"
26619
26620 \end_inset
26621
26622 , to align text, see section
26623 \begin_inset space ~
26624 \end_inset
26625
26626
26627 \begin_inset CommandInset ref
26628 LatexCommand ref
26629 reference "sub:Vertical-Alignment"
26630
26631 \end_inset
26632
26633 , or to set the background color of texts, see section
26634 \begin_inset space ~
26635 \end_inset
26636
26637
26638 \begin_inset CommandInset ref
26639 LatexCommand ref
26640 reference "sec:Colored-Boxes"
26641
26642 \end_inset
26643
26644 .
26645 \end_layout
26646
26647 \begin_layout Standard
26648 Boxes can be inserted with the menu 
26649 \family sans
26650 Insert\SpecialChar \menuseparator
26651 Box
26652 \family default
26653  or the toolbar button 
26654 \begin_inset Graphics
26655         filename ../images/box-insert.png
26656         scale 85
26657         scaleBeforeRotation
26658
26659 \end_inset
26660
26661 .
26662  A grey box with the label 
26663 \family sans
26664 Box (Minipage)
26665 \family default
26666
26667 \begin_inset Graphics
26668         filename clipart/BoxInsetDefaultQt4.png
26669         scale 85
26670         scaleBeforeRotation
26671
26672 \end_inset
26673
26674  will be inserted.
26675  The box type can be specified by right-clicking on the box.
26676  The appearing box dialog offers the 
26677 \family sans
26678 Inner
26679 \begin_inset space ~
26680 \end_inset
26681
26682 Box
26683 \family default
26684  types 
26685 \family sans
26686 Parbox
26687 \family default
26688  and 
26689 \family sans
26690 Minipage
26691 \family default
26692 .
26693  The type 
26694 \family sans
26695 Minipage
26696 \family default
26697  is the default for new boxes and is explained in section
26698 \begin_inset space ~
26699 \end_inset
26700
26701
26702 \begin_inset CommandInset ref
26703 LatexCommand ref
26704 reference "sec:Minipages"
26705
26706 \end_inset
26707
26708 ; the type 
26709 \family sans
26710 Parbox
26711 \family default
26712  is described in section
26713 \begin_inset space ~
26714 \end_inset
26715
26716
26717 \begin_inset CommandInset ref
26718 LatexCommand ref
26719 reference "sec:Parboxes"
26720
26721 \end_inset
26722
26723 .
26724 \end_layout
26725
26726 \begin_layout Standard
26727 Boxes aren't numbered and can therefore not be referenced like floats or
26728  footnotes.
26729 \end_layout
26730
26731 \begin_layout Standard
26732 \begin_inset Note Greyedout
26733 status open
26734
26735 \begin_layout Plain Layout
26736
26737 \series bold
26738 Note:
26739 \series default
26740  Boxes must not be the item in an 
26741 \family sans
26742 Itemize
26743 \family default
26744  or 
26745 \family sans
26746 Description
26747 \family default
26748  environment.
26749 \end_layout
26750
26751 \end_inset
26752
26753
26754 \end_layout
26755
26756 \begin_layout Standard
26757 \begin_inset Note Greyedout
26758 status open
26759
26760 \begin_layout Plain Layout
26761
26762 \series bold
26763 Note:
26764 \series default
26765  For an unknown reason you can only set the 
26766 \family sans
26767 Inner
26768 \begin_inset space ~
26769 \end_inset
26770
26771 Box
26772 \family default
26773  type to 
26774 \family sans
26775 None
26776 \family default
26777  when you use a framed box.
26778  Boxes without an 
26779 \family sans
26780 Inner
26781 \begin_inset space ~
26782 \end_inset
26783
26784 Box
26785 \family default
26786  type and without frames are explained in section
26787 \begin_inset space ~
26788 \end_inset
26789
26790
26791 \begin_inset CommandInset ref
26792 LatexCommand ref
26793 reference "sec:Prevent-Hyphenation"
26794
26795 \end_inset
26796
26797 .
26798 \end_layout
26799
26800 \end_inset
26801
26802
26803 \end_layout
26804
26805 \begin_layout Section
26806 Box Dialog
26807 \begin_inset CommandInset label
26808 LatexCommand label
26809 name "sec:Box-Dialog"
26810
26811 \end_inset
26812
26813
26814 \begin_inset Index
26815 status collapsed
26816
26817 \begin_layout Plain Layout
26818 Boxes ! Box Dialog
26819 \end_layout
26820
26821 \end_inset
26822
26823
26824 \end_layout
26825
26826 \begin_layout Subsection
26827 Size
26828 \begin_inset Index
26829 status collapsed
26830
26831 \begin_layout Plain Layout
26832 Boxes ! Size
26833 \end_layout
26834
26835 \end_inset
26836
26837
26838 \end_layout
26839
26840 \begin_layout Standard
26841 In the box dialog you can adjust the box geometry in the fields 
26842 \family sans
26843 Width
26844 \family default
26845  and 
26846 \family sans
26847 Height
26848 \family default
26849 .
26850  The available units for the geometry are explained in Table
26851 \begin_inset space ~
26852 \end_inset
26853
26854
26855 \begin_inset CommandInset ref
26856 LatexCommand ref
26857 reference "tab:Units"
26858
26859 \end_inset
26860
26861 .
26862  The field 
26863 \family sans
26864 Heigth
26865 \family default
26866  offers the following additional sizes:
26867 \end_layout
26868
26869 \begin_layout Description
26870 Depth This is the plain text 
26871 \begin_inset Quotes eld
26872 \end_inset
26873
26874 height
26875 \begin_inset Quotes erd
26876 \end_inset
26877
26878 .
26879  It ignores the total depth when there are multiple text lines in the box:
26880 \begin_inset Newline newline
26881 \end_inset
26882
26883
26884 \begin_inset Newline newline
26885 \end_inset
26886
26887
26888 \begin_inset Newline newline
26889 \end_inset
26890
26891
26892 \begin_inset Box Boxed
26893 position "c"
26894 hor_pos "c"
26895 has_inner_box 1
26896 inner_pos "c"
26897 use_parbox 0
26898 width "12col%"
26899 special "none"
26900 height "1in"
26901 height_special "depth"
26902 status collapsed
26903
26904 \begin_layout Plain Layout
26905 \align center
26906 Box height set to 1
26907 \begin_inset space \thinspace{}
26908 \end_inset
26909
26910 Depth
26911 \end_layout
26912
26913 \end_inset
26914
26915
26916 \begin_inset Newline newline
26917 \end_inset
26918
26919
26920 \begin_inset Newline newline
26921 \end_inset
26922
26923
26924 \end_layout
26925
26926 \begin_layout Description
26927 Height This is the heigth of the text that is inside the box.
26928  A value of e.
26929 \begin_inset space \thinspace{}
26930 \end_inset
26931
26932 g.
26933 \begin_inset space \space{}
26934 \end_inset
26935
26936 2 for this size will set the box heigth to 2 times the text height: 
26937 \begin_inset Box Boxed
26938 position "c"
26939 hor_pos "c"
26940 has_inner_box 1
26941 inner_pos "c"
26942 use_parbox 0
26943 width "20col%"
26944 special "none"
26945 height "2in"
26946 height_special "height"
26947 status collapsed
26948
26949 \begin_layout Plain Layout
26950 \align center
26951 Box height set to 2
26952 \begin_inset space \thinspace{}
26953 \end_inset
26954
26955 Height
26956 \end_layout
26957
26958 \end_inset
26959
26960
26961 \end_layout
26962
26963 \begin_layout Description
26964 Total
26965 \begin_inset space ~
26966 \end_inset
26967
26968 Height This is the Height
26969 \begin_inset space \thinspace{}
26970 \end_inset
26971
26972 +
26973 \begin_inset space \thinspace{}
26974 \end_inset
26975
26976 Depth: 
26977 \begin_inset Box Boxed
26978 position "c"
26979 hor_pos "c"
26980 has_inner_box 1
26981 inner_pos "c"
26982 use_parbox 0
26983 width "20col%"
26984 special "none"
26985 height "1in"
26986 height_special "totalheight"
26987 status collapsed
26988
26989 \begin_layout Plain Layout
26990 \align center
26991 Box height set to 1
26992 \begin_inset space \thinspace{}
26993 \end_inset
26994
26995 Total
26996 \begin_inset space ~
26997 \end_inset
26998
26999 Height
27000 \end_layout
27001
27002 \end_inset
27003
27004
27005 \end_layout
27006
27007 \begin_layout Description
27008 Width This sets the width of the box as heigth: 
27009 \begin_inset Box Boxed
27010 position "c"
27011 hor_pos "c"
27012 has_inner_box 1
27013 inner_pos "c"
27014 use_parbox 0
27015 width "12col%"
27016 special "none"
27017 height "1in"
27018 height_special "width"
27019 status collapsed
27020
27021 \begin_layout Plain Layout
27022 \align center
27023 Box height set to 1
27024 \begin_inset space \thinspace{}
27025 \end_inset
27026
27027 Width
27028 \end_layout
27029
27030 \end_inset
27031
27032
27033 \end_layout
27034
27035 \begin_layout Subsection
27036 Alignment
27037 \begin_inset Index
27038 status collapsed
27039
27040 \begin_layout Plain Layout
27041 Boxes ! Alignment
27042 \end_layout
27043
27044 \end_inset
27045
27046
27047 \end_layout
27048
27049 \begin_layout Standard
27050 When you have chosen an 
27051 \family sans
27052 Inner
27053 \begin_inset space ~
27054 \end_inset
27055
27056 Box
27057 \family default
27058 , the vertical box alignment can be:
27059 \end_layout
27060
27061 \begin_layout Description
27062 Top This is an example text line.
27063  
27064 \begin_inset Box Boxed
27065 position "t"
27066 hor_pos "c"
27067 has_inner_box 1
27068 inner_pos "c"
27069 use_parbox 0
27070 width "12col%"
27071 special "none"
27072 height "1in"
27073 height_special "totalheight"
27074 status collapsed
27075
27076 \begin_layout Plain Layout
27077 \align center
27078 This box is top-aligned.
27079 \end_layout
27080
27081 \end_inset
27082
27083  This is an example text line.
27084 \end_layout
27085
27086 \begin_layout Description
27087 Middle This is an example text line.
27088  
27089 \begin_inset Box Boxed
27090 position "c"
27091 hor_pos "c"
27092 has_inner_box 1
27093 inner_pos "c"
27094 use_parbox 0
27095 width "12col%"
27096 special "none"
27097 height "1in"
27098 height_special "totalheight"
27099 status collapsed
27100
27101 \begin_layout Plain Layout
27102 \align center
27103 This box is middle-aligned.
27104 \end_layout
27105
27106 \end_inset
27107
27108  This is an example text line.
27109 \end_layout
27110
27111 \begin_layout Description
27112 Bottom This is an example text line.
27113  
27114 \begin_inset Box Boxed
27115 position "b"
27116 hor_pos "c"
27117 has_inner_box 1
27118 inner_pos "c"
27119 use_parbox 0
27120 width "12col%"
27121 special "none"
27122 height "1in"
27123 height_special "totalheight"
27124 status collapsed
27125
27126 \begin_layout Plain Layout
27127 \align center
27128 This box is bottom-aligned.
27129 \end_layout
27130
27131 \end_inset
27132
27133  This is an example text line.
27134 \end_layout
27135
27136 \begin_layout Standard
27137 \begin_inset Note Greyedout
27138 status open
27139
27140 \begin_layout Plain Layout
27141
27142 \series bold
27143 Note:
27144 \series default
27145  The vertical box aligment can be lost in the output when you have two boxes
27146  in a line and one has e.
27147 \begin_inset space \thinspace{}
27148 \end_inset
27149
27150 g.
27151 \begin_inset space \space{}
27152 \end_inset
27153
27154 a shadow and the other one not.
27155 \end_layout
27156
27157 \end_inset
27158
27159
27160 \end_layout
27161
27162 \begin_layout Standard
27163 The horizontal box alignment can be set via LyX's paragraph dialog when
27164  you set the box into its own paragraph.
27165 \end_layout
27166
27167 \begin_layout Standard
27168 \begin_inset VSpace bigskip
27169 \end_inset
27170
27171 When you have chosen an 
27172 \family sans
27173 Inner
27174 \begin_inset space ~
27175 \end_inset
27176
27177 Box
27178 \family default
27179 , the box content can be vertical aligned to:
27180 \end_layout
27181
27182 \begin_layout Description
27183 top This is an example text line.
27184  
27185 \begin_inset Box Boxed
27186 position "c"
27187 hor_pos "c"
27188 has_inner_box 1
27189 inner_pos "t"
27190 use_parbox 0
27191 width "12col%"
27192 special "none"
27193 height "1.5in"
27194 height_special "totalheight"
27195 status collapsed
27196
27197 \begin_layout Plain Layout
27198 \align center
27199 This box text is top-aligned.
27200 \end_layout
27201
27202 \end_inset
27203
27204  This is an example text line.
27205 \end_layout
27206
27207 \begin_layout Description
27208 middle This is an example text line.
27209  
27210 \begin_inset Box Boxed
27211 position "c"
27212 hor_pos "c"
27213 has_inner_box 1
27214 inner_pos "c"
27215 use_parbox 0
27216 width "12col%"
27217 special "none"
27218 height "1.5in"
27219 height_special "totalheight"
27220 status collapsed
27221
27222 \begin_layout Plain Layout
27223 \align center
27224 This box text is middle-aligned.
27225 \end_layout
27226
27227 \end_inset
27228
27229  This is an example text line.
27230 \end_layout
27231
27232 \begin_layout Description
27233 bottom This is an example text line.
27234  
27235 \begin_inset Box Boxed
27236 position "c"
27237 hor_pos "c"
27238 has_inner_box 1
27239 inner_pos "b"
27240 use_parbox 0
27241 width "12col%"
27242 special "none"
27243 height "1.5in"
27244 height_special "totalheight"
27245 status collapsed
27246
27247 \begin_layout Plain Layout
27248 \align center
27249 This box text is bottom-aligned.
27250 \end_layout
27251
27252 \end_inset
27253
27254  This is an example text line.
27255 \end_layout
27256
27257 \begin_layout Description
27258 stretch This is an example text line.
27259  
27260 \begin_inset Box Boxed
27261 position "c"
27262 hor_pos "c"
27263 has_inner_box 1
27264 inner_pos "s"
27265 use_parbox 0
27266 width "12col%"
27267 special "none"
27268 height "1.5in"
27269 height_special "totalheight"
27270 status collapsed
27271
27272 \begin_layout Plain Layout
27273 \align center
27274 This box
27275 \end_layout
27276
27277 \begin_layout Plain Layout
27278 \align center
27279 text is
27280 \end_layout
27281
27282 \begin_layout Plain Layout
27283 \align center
27284 stretched.
27285 \end_layout
27286
27287 \end_inset
27288
27289  This is an example text line.
27290 \end_layout
27291
27292 \begin_layout Standard
27293 To stretch the box content, it must consist of more than one paragraph.
27294  In the example above every text line is in an own paragraph.
27295 \end_layout
27296
27297 \begin_layout Standard
27298 \begin_inset VSpace bigskip
27299 \end_inset
27300
27301 To align the box content horizontally you can use LyX's paragraph dialog
27302  when you have chosen an 
27303 \family sans
27304 Inner
27305 \begin_inset space ~
27306 \end_inset
27307
27308 Box
27309 \family default
27310 .
27311 \end_layout
27312
27313 \begin_layout Standard
27314 \align center
27315 \begin_inset Box Boxed
27316 position "c"
27317 hor_pos "c"
27318 has_inner_box 1
27319 inner_pos "s"
27320 use_parbox 0
27321 width "15col%"
27322 special "none"
27323 height "1.25in"
27324 height_special "totalheight"
27325 status collapsed
27326
27327 \begin_layout Plain Layout
27328 \align left
27329 This box
27330 \end_layout
27331
27332 \begin_layout Plain Layout
27333 \align center
27334 text is
27335 \end_layout
27336
27337 \begin_layout Plain Layout
27338 \align right
27339 stretched.
27340 \end_layout
27341
27342 \end_inset
27343
27344
27345 \end_layout
27346
27347 \begin_layout Standard
27348 If you haven't set an 
27349 \family sans
27350 Inner
27351 \begin_inset space ~
27352 \end_inset
27353
27354 Box
27355 \family default
27356 , you can align the box content horizontally in the box dialog.
27357 \end_layout
27358
27359 \begin_layout Standard
27360 \align center
27361 \begin_inset Box Boxed
27362 position "c"
27363 hor_pos "s"
27364 has_inner_box 0
27365 inner_pos "s"
27366 use_parbox 0
27367 width "90col%"
27368 special "none"
27369 height "1.25in"
27370 height_special "totalheight"
27371 status collapsed
27372
27373 \begin_layout Plain Layout
27374 \align left
27375 This box text is horizontally stretched.
27376 \end_layout
27377
27378 \end_inset
27379
27380
27381 \end_layout
27382
27383 \begin_layout Subsection
27384 Decoration
27385 \begin_inset CommandInset label
27386 LatexCommand label
27387 name "sec:Decoration"
27388
27389 \end_inset
27390
27391
27392 \begin_inset Index
27393 status collapsed
27394
27395 \begin_layout Plain Layout
27396 Boxes ! Decoration
27397 \end_layout
27398
27399 \end_inset
27400
27401
27402 \end_layout
27403
27404 \begin_layout Standard
27405 The type of the box can be specified in the box-dialog in the drop-down
27406  list 
27407 \family sans
27408 Decoration
27409 \family default
27410 .
27411  The following types are possible:
27412 \end_layout
27413
27414 \begin_layout Description
27415 Simple
27416 \begin_inset space ~
27417 \end_inset
27418
27419 rectangular
27420 \begin_inset space ~
27421 \end_inset
27422
27423 frame This draws a rectangle frame around the box.
27424  The frame line thickness has the size of 
27425 \series bold
27426
27427 \backslash
27428 fboxrule
27429 \series default
27430 .
27431  
27432 \begin_inset Box Boxed
27433 position "c"
27434 hor_pos "c"
27435 has_inner_box 1
27436 inner_pos "c"
27437 use_parbox 0
27438 width "20col%"
27439 special "none"
27440 height "1in"
27441 height_special "totalheight"
27442 status collapsed
27443
27444 \begin_layout Plain Layout
27445 \align center
27446 Rectangular box
27447 \end_layout
27448
27449 \end_inset
27450
27451
27452 \end_layout
27453
27454 \begin_layout Description
27455 Allow
27456 \begin_inset space ~
27457 \end_inset
27458
27459 page
27460 \begin_inset space ~
27461 \end_inset
27462
27463 break When you use the decoration 
27464 \family sans
27465 simple rectangular frame
27466 \family default
27467  and no inner box, you can allow page breaks within a box.
27468  Note that then, in contrary to other framed boxes, the frame always uses
27469  the whole column width, the box is set as its own paragraph, and 
27470 \series bold
27471
27472 \backslash
27473 fboxrule
27474 \series default
27475  and 
27476 \series bold
27477
27478 \backslash
27479 fboxsep
27480 \series default
27481  has no effect on this box type.
27482  The frame line thickness has the size of 
27483 \series bold
27484
27485 \backslash
27486 FrameRule
27487 \series default
27488 .
27489  
27490 \begin_inset Box Framed
27491 position "t"
27492 hor_pos "c"
27493 has_inner_box 0
27494 inner_pos "t"
27495 use_parbox 0
27496 width "100col%"
27497 special "none"
27498 height "1in"
27499 height_special "totalheight"
27500 status collapsed
27501
27502 \begin_layout Plain Layout
27503 Allow page break box
27504 \end_layout
27505
27506 \end_inset
27507
27508
27509 \end_layout
27510
27511 \begin_layout Description
27512 Oval
27513 \begin_inset space ~
27514 \end_inset
27515
27516 box,
27517 \begin_inset space ~
27518 \end_inset
27519
27520 thin This draws an oval frame around the box.
27521  The frame line thickness has the size 0.4
27522 \begin_inset space \thinspace{}
27523 \end_inset
27524
27525 pt.
27526  
27527 \begin_inset Box ovalbox
27528 position "c"
27529 hor_pos "c"
27530 has_inner_box 1
27531 inner_pos "c"
27532 use_parbox 0
27533 width "20col%"
27534 special "none"
27535 height "1in"
27536 height_special "totalheight"
27537 status collapsed
27538
27539 \begin_layout Plain Layout
27540 \align center
27541 Oval box, thin
27542 \end_layout
27543
27544 \end_inset
27545
27546
27547 \end_layout
27548
27549 \begin_layout Description
27550 Oval
27551 \begin_inset space ~
27552 \end_inset
27553
27554 box,
27555 \begin_inset space ~
27556 \end_inset
27557
27558 thick This draws an oval frame around the box.
27559  The frame line thickness has the size 0.8
27560 \begin_inset space \thinspace{}
27561 \end_inset
27562
27563 pt.
27564  
27565 \begin_inset Box Ovalbox
27566 position "c"
27567 hor_pos "c"
27568 has_inner_box 1
27569 inner_pos "c"
27570 use_parbox 0
27571 width "20col%"
27572 special "none"
27573 height "1in"
27574 height_special "totalheight"
27575 status collapsed
27576
27577 \begin_layout Plain Layout
27578 \align center
27579 Oval box, thick
27580 \end_layout
27581
27582 \end_inset
27583
27584
27585 \end_layout
27586
27587 \begin_layout Description
27588 Drop
27589 \begin_inset space ~
27590 \end_inset
27591
27592 shadow This draws a rectangle frame with a shadow around the box.
27593  The frame line thickness has the size of 
27594 \series bold
27595
27596 \backslash
27597 fboxrule
27598 \series default
27599 , the shadow has a width of 4
27600 \begin_inset space \thinspace{}
27601 \end_inset
27602
27603 pt.
27604  
27605 \begin_inset Box Shadowbox
27606 position "c"
27607 hor_pos "c"
27608 has_inner_box 1
27609 inner_pos "c"
27610 use_parbox 0
27611 width "20col%"
27612 special "none"
27613 height "1in"
27614 height_special "totalheight"
27615 status collapsed
27616
27617 \begin_layout Plain Layout
27618 \align center
27619 Shadow box
27620 \end_layout
27621
27622 \end_inset
27623
27624
27625 \end_layout
27626
27627 \begin_layout Description
27628 Shaded
27629 \begin_inset space ~
27630 \end_inset
27631
27632 background This draws a box with red background color.
27633  In contrary to colored boxes
27634 \begin_inset Foot
27635 status collapsed
27636
27637 \begin_layout Plain Layout
27638 see sec.
27639 \begin_inset space \thinspace{}
27640 \end_inset
27641
27642
27643 \begin_inset CommandInset ref
27644 LatexCommand ref
27645 reference "sec:Colored-Boxes"
27646
27647 \end_inset
27648
27649
27650 \end_layout
27651
27652 \end_inset
27653
27654 , it always uses the whole column width and the box is set as its own paragraph.
27655  
27656 \begin_inset Box Shaded
27657 position "t"
27658 hor_pos "c"
27659 has_inner_box 0
27660 inner_pos "t"
27661 use_parbox 0
27662 width "50col%"
27663 special "none"
27664 height "1in"
27665 height_special "totalheight"
27666 status collapsed
27667
27668 \begin_layout Plain Layout
27669 Shaded background box
27670 \end_layout
27671
27672 \end_inset
27673
27674
27675 \end_layout
27676
27677 \begin_layout Description
27678 Double
27679 \begin_inset space ~
27680 \end_inset
27681
27682 rectangular
27683 \begin_inset space ~
27684 \end_inset
27685
27686 frame This draws a double-line rectangle frame around the box.
27687  The line thickness of the inner frame is 0.75
27688 \begin_inset space \thinspace{}
27689 \end_inset
27690
27691
27692 \series bold
27693
27694 \backslash
27695 fboxrule
27696 \series default
27697 , the thickness of the outer frame is 1.5
27698 \begin_inset space \thinspace{}
27699 \end_inset
27700
27701
27702 \series bold
27703
27704 \backslash
27705 fboxrule
27706 \series default
27707 .
27708  The distance between the lines is 1.5
27709 \begin_inset space \thinspace{}
27710 \end_inset
27711
27712
27713 \series bold
27714
27715 \backslash
27716 fboxrule
27717 \series default
27718
27719 \begin_inset space \thinspace{}
27720 \end_inset
27721
27722 +
27723 \begin_inset space \thinspace{}
27724 \end_inset
27725
27726 0.5
27727 \begin_inset space \thinspace{}
27728 \end_inset
27729
27730 pt.
27731  
27732 \begin_inset Box Doublebox
27733 position "c"
27734 hor_pos "c"
27735 has_inner_box 1
27736 inner_pos "c"
27737 use_parbox 0
27738 width "20col%"
27739 special "none"
27740 height "1in"
27741 height_special "totalheight"
27742 status collapsed
27743
27744 \begin_layout Plain Layout
27745 \align center
27746 Double rectangular box
27747 \end_layout
27748
27749 \end_inset
27750
27751
27752 \end_layout
27753
27754 \begin_layout Standard
27755 \begin_inset VSpace bigskip
27756 \end_inset
27757
27758 LyX's box label will reflect the different frame types.
27759  To be able to use all types, the LaTeX-package 
27760 \series bold
27761 fancybox
27762 \series default
27763
27764 \begin_inset Index
27765 status collapsed
27766
27767 \begin_layout Plain Layout
27768 LaTeX-packages ! fancybox
27769 \end_layout
27770
27771 \end_inset
27772
27773  must be installed.
27774 \end_layout
27775
27776 \begin_layout Section
27777 Box customization
27778 \begin_inset Index
27779 status collapsed
27780
27781 \begin_layout Plain Layout
27782 Boxes ! Customization
27783 \end_layout
27784
27785 \end_inset
27786
27787
27788 \end_layout
27789
27790 \begin_layout Standard
27791 The default value for the size 
27792 \series bold
27793
27794 \backslash
27795 fboxrule
27796 \series default
27797  is 0.4
27798 \begin_inset space \thinspace{}
27799 \end_inset
27800
27801 pt.
27802  It can be changed with the following command in TeX-Code to e.
27803 \begin_inset space \thinspace{}
27804 \end_inset
27805
27806 g.
27807 \begin_inset space \space{}
27808 \end_inset
27809
27810 2
27811 \begin_inset space \thinspace{}
27812 \end_inset
27813
27814 pt:
27815 \end_layout
27816
27817 \begin_layout Standard
27818
27819 \series bold
27820
27821 \backslash
27822 setlength{
27823 \backslash
27824 fboxrule}{2pt}
27825 \end_layout
27826
27827 \begin_layout Standard
27828 \begin_inset ERT
27829 status collapsed
27830
27831 \begin_layout Plain Layout
27832
27833
27834 \backslash
27835 setlength{
27836 \backslash
27837 fboxrule}{2pt}
27838 \end_layout
27839
27840 \end_inset
27841
27842
27843 \begin_inset Box Boxed
27844 position "c"
27845 hor_pos "c"
27846 has_inner_box 1
27847 inner_pos "c"
27848 use_parbox 0
27849 width "25col%"
27850 special "none"
27851 height "1in"
27852 height_special "totalheight"
27853 status open
27854
27855 \begin_layout Plain Layout
27856 \align center
27857 Rectangular box with 
27858 \series bold
27859
27860 \backslash
27861 fboxrule
27862 \series default
27863
27864 \begin_inset space \thinspace{}
27865 \end_inset
27866
27867 =
27868 \begin_inset space \thinspace{}
27869 \end_inset
27870
27871 2
27872 \begin_inset space \thinspace{}
27873 \end_inset
27874
27875 pt
27876 \end_layout
27877
27878 \end_inset
27879
27880
27881 \begin_inset ERT
27882 status collapsed
27883
27884 \begin_layout Plain Layout
27885
27886
27887 \backslash
27888 setlength{
27889 \backslash
27890 fboxrule}{0.4pt}
27891 \end_layout
27892
27893 \end_inset
27894
27895
27896 \end_layout
27897
27898 \begin_layout Standard
27899 \begin_inset VSpace bigskip
27900 \end_inset
27901
27902 The space between the frame and the box content is for all frame styles
27903  by default 3
27904 \begin_inset space \thinspace{}
27905 \end_inset
27906
27907 pt.
27908  You can change it by setting the length 
27909 \series bold
27910
27911 \backslash
27912 fboxsep
27913 \series default
27914  to another value.
27915  For example the command
27916 \end_layout
27917
27918 \begin_layout Standard
27919
27920 \series bold
27921
27922 \backslash
27923 setlength{
27924 \backslash
27925 fboxsep}{10pt}
27926 \end_layout
27927
27928 \begin_layout Standard
27929 sets the value to 10
27930 \begin_inset space \thinspace{}
27931 \end_inset
27932
27933 pt, like for the following box:
27934 \end_layout
27935
27936 \begin_layout Standard
27937 \begin_inset ERT
27938 status collapsed
27939
27940 \begin_layout Plain Layout
27941
27942
27943 \backslash
27944 setlength{
27945 \backslash
27946 fboxsep}{10pt}
27947 \end_layout
27948
27949 \end_inset
27950
27951
27952 \begin_inset Box Boxed
27953 position "c"
27954 hor_pos "c"
27955 has_inner_box 1
27956 inner_pos "c"
27957 use_parbox 0
27958 width "25col%"
27959 special "none"
27960 height "1in"
27961 height_special "totalheight"
27962 status open
27963
27964 \begin_layout Plain Layout
27965 \align center
27966 Rectangular box with 
27967 \series bold
27968
27969 \backslash
27970 fboxsep
27971 \series default
27972
27973 \begin_inset space \thinspace{}
27974 \end_inset
27975
27976 =
27977 \begin_inset space \thinspace{}
27978 \end_inset
27979
27980 10
27981 \begin_inset space \thinspace{}
27982 \end_inset
27983
27984 pt
27985 \end_layout
27986
27987 \end_inset
27988
27989
27990 \begin_inset ERT
27991 status collapsed
27992
27993 \begin_layout Plain Layout
27994
27995
27996 \backslash
27997 setlength{
27998 \backslash
27999 fboxsep}{3pt}
28000 \end_layout
28001
28002 \end_inset
28003
28004
28005 \end_layout
28006
28007 \begin_layout Standard
28008 \begin_inset VSpace bigskip
28009 \end_inset
28010
28011 The diameter of the round corners of the oval boxes can be set with the
28012  command 
28013 \series bold
28014
28015 \backslash
28016 cornersize
28017 \series default
28018 .
28019  The command
28020 \end_layout
28021
28022 \begin_layout Standard
28023
28024 \series bold
28025
28026 \backslash
28027 cornersize*{1cm}
28028 \end_layout
28029
28030 \begin_layout Standard
28031 sets the diameter to 1
28032 \begin_inset space \thinspace{}
28033 \end_inset
28034
28035 cm.
28036  The command
28037 \end_layout
28038
28039 \begin_layout Standard
28040
28041 \series bold
28042
28043 \backslash
28044 cornersize{num}
28045 \end_layout
28046
28047 \begin_layout Standard
28048 sets the diameter to 
28049 \family sans
28050 num
28051 \begin_inset space \thinspace{}
28052 \end_inset
28053
28054 ×
28055 \begin_inset space \thinspace{}
28056 \end_inset
28057
28058 minimum(width and heigth of box)
28059 \family default
28060 .
28061  The default is 
28062 \series bold
28063
28064 \backslash
28065 cornersize{0.5}
28066 \series default
28067 .
28068 \end_layout
28069
28070 \begin_layout Standard
28071 \begin_inset ERT
28072 status collapsed
28073
28074 \begin_layout Plain Layout
28075
28076
28077 \backslash
28078 cornersize*{1.5cm}
28079 \end_layout
28080
28081 \end_inset
28082
28083
28084 \begin_inset Box Ovalbox
28085 position "c"
28086 hor_pos "c"
28087 has_inner_box 1
28088 inner_pos "c"
28089 use_parbox 0
28090 width "25col%"
28091 special "none"
28092 height "1in"
28093 height_special "totalheight"
28094 status open
28095
28096 \begin_layout Plain Layout
28097 \align center
28098 Oval box with 
28099 \series bold
28100
28101 \backslash
28102 cornersize
28103 \series default
28104
28105 \begin_inset space \thinspace{}
28106 \end_inset
28107
28108 =
28109 \begin_inset space \thinspace{}
28110 \end_inset
28111
28112 1.5
28113 \begin_inset space \thinspace{}
28114 \end_inset
28115
28116 cm
28117 \end_layout
28118
28119 \end_inset
28120
28121
28122 \begin_inset ERT
28123 status collapsed
28124
28125 \begin_layout Plain Layout
28126
28127
28128 \backslash
28129 cornersize{0.5}
28130 \end_layout
28131
28132 \end_inset
28133
28134
28135 \end_layout
28136
28137 \begin_layout Standard
28138 \begin_inset VSpace bigskip
28139 \end_inset
28140
28141 The size of the shadow can be adjusted by changing the length 
28142 \series bold
28143
28144 \backslash
28145 shadowsize
28146 \series default
28147 .
28148  It it set to 2
28149 \begin_inset space \thinspace{}
28150 \end_inset
28151
28152 pt for the following box by this command:
28153 \end_layout
28154
28155 \begin_layout Standard
28156
28157 \series bold
28158
28159 \backslash
28160 setlength{
28161 \backslash
28162 shadowsize}{2pt}
28163 \end_layout
28164
28165 \begin_layout Standard
28166 \begin_inset ERT
28167 status collapsed
28168
28169 \begin_layout Plain Layout
28170
28171
28172 \backslash
28173 setlength{
28174 \backslash
28175 shadowsize}{2pt}
28176 \end_layout
28177
28178 \end_inset
28179
28180
28181 \begin_inset Box Shadowbox
28182 position "c"
28183 hor_pos "c"
28184 has_inner_box 1
28185 inner_pos "c"
28186 use_parbox 0
28187 width "25col%"
28188 special "none"
28189 height "1in"
28190 height_special "totalheight"
28191 status open
28192
28193 \begin_layout Plain Layout
28194 \align center
28195 Shadow box with 
28196 \series bold
28197
28198 \backslash
28199 shadowsize
28200 \series default
28201
28202 \begin_inset space \thinspace{}
28203 \end_inset
28204
28205 =
28206 \begin_inset space \thinspace{}
28207 \end_inset
28208
28209 2
28210 \begin_inset space \thinspace{}
28211 \end_inset
28212
28213 pt
28214 \end_layout
28215
28216 \end_inset
28217
28218
28219 \begin_inset ERT
28220 status collapsed
28221
28222 \begin_layout Plain Layout
28223
28224
28225 \backslash
28226 setlength{
28227 \backslash
28228 shadowsize}{4pt}
28229 \end_layout
28230
28231 \end_inset
28232
28233
28234 \end_layout
28235
28236 \begin_layout Standard
28237 \begin_inset VSpace bigskip
28238 \end_inset
28239
28240
28241 \end_layout
28242
28243 \begin_layout Standard
28244 The default value for the size 
28245 \series bold
28246
28247 \backslash
28248 FrameRule
28249 \series default
28250  is 0.4
28251 \begin_inset space \thinspace{}
28252 \end_inset
28253
28254 pt.
28255  The default space between the note content and the frame is 9
28256 \begin_inset space \thinspace{}
28257 \end_inset
28258
28259 pt and can be changed with the value of 
28260 \series bold
28261
28262 \backslash
28263 FrameSep
28264 \series default
28265 .
28266  For example the frame appearance of the following 
28267 \family sans
28268 box
28269 \family default
28270  is set with the TeX-Code commands
28271 \end_layout
28272
28273 \begin_layout Standard
28274
28275 \series bold
28276
28277 \backslash
28278 setlength{
28279 \backslash
28280 FrameRule}{5pt}
28281 \begin_inset Newline newline
28282 \end_inset
28283
28284
28285 \backslash
28286 setlength{
28287 \backslash
28288 FrameSep}{0.5cm}
28289 \end_layout
28290
28291 \begin_layout Standard
28292 \begin_inset ERT
28293 status collapsed
28294
28295 \begin_layout Plain Layout
28296
28297
28298 \backslash
28299 setlength{
28300 \backslash
28301 FrameRule}{5pt}
28302 \end_layout
28303
28304 \begin_layout Plain Layout
28305
28306
28307 \backslash
28308 setlength{
28309 \backslash
28310 FrameSep}{0.5cm}
28311 \end_layout
28312
28313 \end_inset
28314
28315
28316 \begin_inset Box Framed
28317 position "t"
28318 hor_pos "c"
28319 has_inner_box 0
28320 inner_pos "t"
28321 use_parbox 0
28322 width "100col%"
28323 special "none"
28324 height "1in"
28325 height_special "totalheight"
28326 status open
28327
28328 \begin_layout Plain Layout
28329 This is text in an 
28330 \family sans
28331 allow page break
28332 \family default
28333  box.
28334 \end_layout
28335
28336 \end_inset
28337
28338
28339 \begin_inset ERT
28340 status collapsed
28341
28342 \begin_layout Plain Layout
28343
28344
28345 \backslash
28346 setlength{
28347 \backslash
28348 FrameRule}{0.4pt}
28349 \end_layout
28350
28351 \begin_layout Plain Layout
28352
28353
28354 \backslash
28355 setlength{
28356 \backslash
28357 FrameSep}{9pt}
28358 \end_layout
28359
28360 \end_inset
28361
28362
28363 \end_layout
28364
28365 \begin_layout Standard
28366 \begin_inset VSpace bigskip
28367 \end_inset
28368
28369
28370 \end_layout
28371
28372 \begin_layout Standard
28373 For 
28374 \family sans
28375 shaded background
28376 \family default
28377  boxes the default space between the box content and the box border is 3
28378 \begin_inset space \thinspace{}
28379 \end_inset
28380
28381 pt and can be changed with the value of 
28382 \series bold
28383
28384 \backslash
28385 fboxsep
28386 \series default
28387 .
28388  The default background color red can either be changed locally with the
28389  command 
28390 \series bold
28391
28392 \backslash
28393 definecolor{shadebox}
28394 \series default
28395  or globally with the menu 
28396 \family sans
28397 Tools\SpecialChar \menuseparator
28398 Preferences\SpecialChar \menuseparator
28399 Colors\SpecialChar \menuseparator
28400 shaded
28401 \begin_inset space ~
28402 \end_inset
28403
28404 box
28405 \family default
28406 .
28407  The scheme of the 
28408 \series bold
28409
28410 \backslash
28411 definecolor
28412 \series default
28413  command is explained in section
28414 \begin_inset space ~
28415 \end_inset
28416
28417
28418 \begin_inset CommandInset ref
28419 LatexCommand ref
28420 reference "sec:Colored-Tables"
28421
28422 \end_inset
28423
28424 .
28425 \begin_inset Foot
28426 status collapsed
28427
28428 \begin_layout Plain Layout
28429 Note that 
28430 \series bold
28431
28432 \backslash
28433 definecolor
28434 \series default
28435  requires the LaTeX-package 
28436 \series bold
28437 color
28438 \series default
28439  in the preamble, see section
28440 \begin_inset space ~
28441 \end_inset
28442
28443
28444 \begin_inset CommandInset ref
28445 LatexCommand ref
28446 reference "sec:Colored-Boxes"
28447
28448 \end_inset
28449
28450 .
28451 \end_layout
28452
28453 \end_inset
28454
28455  For example the appearance of the following shaded background note is set
28456  with the TeX-Code commands
28457 \end_layout
28458
28459 \begin_layout Standard
28460
28461 \series bold
28462
28463 \backslash
28464 setlength{
28465 \backslash
28466 fboxsep}{0.5cm}
28467 \series default
28468
28469 \begin_inset Newline newline
28470 \end_inset
28471
28472
28473 \series bold
28474
28475 \backslash
28476 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28477 \end_layout
28478
28479 \begin_layout Standard
28480 \begin_inset ERT
28481 status collapsed
28482
28483 \begin_layout Plain Layout
28484
28485
28486 \backslash
28487 setlength{
28488 \backslash
28489 fboxsep}{0.5cm}
28490 \end_layout
28491
28492 \begin_layout Plain Layout
28493
28494
28495 \backslash
28496 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28497 \end_layout
28498
28499 \end_inset
28500
28501
28502 \begin_inset Box Shaded
28503 position "t"
28504 hor_pos "c"
28505 has_inner_box 0
28506 inner_pos "t"
28507 use_parbox 0
28508 width "100col%"
28509 special "none"
28510 height "1in"
28511 height_special "totalheight"
28512 status open
28513
28514 \begin_layout Plain Layout
28515
28516 \color yellow
28517 This is yellow text in a
28518 \color none
28519  
28520 \family sans
28521 \color yellow
28522 shaded background
28523 \family default
28524 \color none
28525  
28526 \color yellow
28527 box with dark green background.
28528 \end_layout
28529
28530 \end_inset
28531
28532
28533 \begin_inset ERT
28534 status collapsed
28535
28536 \begin_layout Plain Layout
28537
28538
28539 \backslash
28540 setlength{
28541 \backslash
28542 fboxsep}{3pt}
28543 \end_layout
28544
28545 \begin_layout Plain Layout
28546
28547
28548 \backslash
28549 definecolor{shadecolor}{rgb}{1,0,0}
28550 \end_layout
28551
28552 \end_inset
28553
28554
28555 \end_layout
28556
28557 \begin_layout Standard
28558 \begin_inset VSpace bigskip
28559 \end_inset
28560
28561 Changed lengths and widths are valid for all boxes following the commands
28562  that change them.
28563 \end_layout
28564
28565 \begin_layout Section
28566 Minipages
28567 \begin_inset CommandInset label
28568 LatexCommand label
28569 name "sec:Minipages"
28570
28571 \end_inset
28572
28573
28574 \begin_inset Index
28575 status collapsed
28576
28577 \begin_layout Plain Layout
28578 Boxes ! Minipages
28579 \end_layout
28580
28581 \end_inset
28582
28583
28584 \end_layout
28585
28586 \begin_layout Standard
28587 Minipages are treated by LaTeX as pages within pages and can therefore for
28588  example have their own footnotes.
28589 \end_layout
28590
28591 \begin_layout Standard
28592 Minipages are useful when you write documents with different languages.
28593 \end_layout
28594
28595 \begin_layout Standard
28596 Below are two example minipages side by side.
28597  Their width is set to 45
28598 \begin_inset space \thinspace{}
28599 \end_inset
28600
28601 col% and they are separated by a horizontal fill, that was inserted via
28602  the menu 
28603 \family sans
28604 Insert\SpecialChar \menuseparator
28605 Special
28606 \begin_inset space ~
28607 \end_inset
28608
28609 Formatting\SpecialChar \menuseparator
28610 Horizontal
28611 \begin_inset space ~
28612 \end_inset
28613
28614 Fill
28615 \family default
28616 .
28617 \begin_inset Newpage newpage
28618 \end_inset
28619
28620
28621 \end_layout
28622
28623 \begin_layout Standard
28624 \begin_inset Box Frameless
28625 position "t"
28626 hor_pos "c"
28627 has_inner_box 1
28628 inner_pos "c"
28629 use_parbox 0
28630 width "45col%"
28631 special "none"
28632 height "1in"
28633 height_special "totalheight"
28634 status open
28635
28636 \begin_layout Plain Layout
28637
28638 \lang german
28639 Dies ist ein deutscher Text.
28640  Dies ist ein deutscher Text.
28641  Dies ist ein deutscher Text.
28642  Dies ist ein deutscher Text.
28643  Dies ist ein deutscher Text.
28644  Dies ist ein deutscher Text.
28645  Dies ist ein deutscher Text.
28646  Dies ist ein deutscher Text.
28647  Dies ist ein deutscher Text.
28648  Dies ist ein deutscher Text.
28649  Dies ist ein deutscher Text.
28650  Dies ist ein deutscher Text.
28651  Dies ist ein deutscher Text
28652 \begin_inset Foot
28653 status collapsed
28654
28655 \begin_layout Plain Layout
28656
28657 \lang german
28658 Dies ist eine deutsche Fußnote.
28659 \end_layout
28660
28661 \end_inset
28662
28663 .
28664  Dies ist ein deutscher Text.
28665  Dies ist ein deutscher Text.
28666 \end_layout
28667
28668 \end_inset
28669
28670
28671 \begin_inset space \hfill{}
28672 \end_inset
28673
28674
28675 \begin_inset Box Frameless
28676 position "t"
28677 hor_pos "c"
28678 has_inner_box 1
28679 inner_pos "c"
28680 use_parbox 0
28681 width "45col%"
28682 special "none"
28683 height "1in"
28684 height_special "totalheight"
28685 status open
28686
28687 \begin_layout Plain Layout
28688 This is an English Text.
28689  This is an English Text.
28690  This is an English Text.
28691  This is an English Text.
28692  This is an English Text.
28693  This is an English Text.
28694  This is an English Text.
28695  This is an English Text.
28696  This is an English Text.
28697  This is an English Text.
28698  This is an English Text.
28699  This is an English Text.
28700  This is an English Text.
28701  This is an English Text.
28702  This is an English Text.
28703  This is an English Text.
28704 \begin_inset Foot
28705 status collapsed
28706
28707 \begin_layout Plain Layout
28708 This is an English footnote.
28709 \end_layout
28710
28711 \end_inset
28712
28713  This is an English Text.
28714  
28715 \end_layout
28716
28717 \end_inset
28718
28719
28720 \end_layout
28721
28722 \begin_layout Standard
28723 \begin_inset VSpace bigskip
28724 \end_inset
28725
28726 Another application for minipages are footnotes within tables.
28727  Due to a LaTeX restriction footnotes within tables doesn't appear at the
28728  bottom of the current page.
28729  But when you put the table with the footnote to a minipage, the footnote
28730  will appear at its bottom, numbered with Latin letters.
28731  The footnote number is reset to 1 in every minipage but not outside the
28732  minipages.
28733 \end_layout
28734
28735 \begin_layout Standard
28736 The footnote of this table doesn't appear: 
28737 \begin_inset Tabular
28738 <lyxtabular version="3" rows="3" columns="4">
28739 <features>
28740 <column alignment="center" valignment="top" width="0pt">
28741 <column alignment="center" valignment="top" width="0pt">
28742 <column alignment="center" valignment="top" width="0pt">
28743 <column alignment="center" valignment="top" width="0pt">
28744 <row>
28745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28746 \begin_inset Text
28747
28748 \begin_layout Plain Layout
28749 1
28750 \end_layout
28751
28752 \end_inset
28753 </cell>
28754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28755 \begin_inset Text
28756
28757 \begin_layout Plain Layout
28758 2
28759 \end_layout
28760
28761 \end_inset
28762 </cell>
28763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28764 \begin_inset Text
28765
28766 \begin_layout Plain Layout
28767 3
28768 \begin_inset Foot
28769 status collapsed
28770
28771 \begin_layout Plain Layout
28772 This is a footnote within a table.
28773 \end_layout
28774
28775 \end_inset
28776
28777
28778 \end_layout
28779
28780 \end_inset
28781 </cell>
28782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28783 \begin_inset Text
28784
28785 \begin_layout Plain Layout
28786 4
28787 \end_layout
28788
28789 \end_inset
28790 </cell>
28791 </row>
28792 <row>
28793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28794 \begin_inset Text
28795
28796 \begin_layout Plain Layout
28797 a
28798 \end_layout
28799
28800 \end_inset
28801 </cell>
28802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28803 \begin_inset Text
28804
28805 \begin_layout Plain Layout
28806 b
28807 \end_layout
28808
28809 \end_inset
28810 </cell>
28811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28812 \begin_inset Text
28813
28814 \begin_layout Plain Layout
28815 c
28816 \end_layout
28817
28818 \end_inset
28819 </cell>
28820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28821 \begin_inset Text
28822
28823 \begin_layout Plain Layout
28824 d
28825 \end_layout
28826
28827 \end_inset
28828 </cell>
28829 </row>
28830 <row>
28831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28832 \begin_inset Text
28833
28834 \begin_layout Plain Layout
28835 e
28836 \end_layout
28837
28838 \end_inset
28839 </cell>
28840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28841 \begin_inset Text
28842
28843 \begin_layout Plain Layout
28844 f
28845 \end_layout
28846
28847 \end_inset
28848 </cell>
28849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28850 \begin_inset Text
28851
28852 \begin_layout Plain Layout
28853 g
28854 \end_layout
28855
28856 \end_inset
28857 </cell>
28858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28859 \begin_inset Text
28860
28861 \begin_layout Plain Layout
28862 h
28863 \end_layout
28864
28865 \end_inset
28866 </cell>
28867 </row>
28868 </lyxtabular>
28869
28870 \end_inset
28871
28872
28873 \end_layout
28874
28875 \begin_layout Standard
28876 \align center
28877 \begin_inset Box Frameless
28878 position "t"
28879 hor_pos "c"
28880 has_inner_box 1
28881 inner_pos "c"
28882 use_parbox 0
28883 width "30col%"
28884 special "none"
28885 height "1in"
28886 height_special "totalheight"
28887 status open
28888
28889 \begin_layout Plain Layout
28890 \align center
28891 \begin_inset Tabular
28892 <lyxtabular version="3" rows="3" columns="4">
28893 <features>
28894 <column alignment="center" valignment="top" width="0pt">
28895 <column alignment="center" valignment="top" width="0pt">
28896 <column alignment="center" valignment="top" width="0pt">
28897 <column alignment="center" valignment="top" width="0pt">
28898 <row>
28899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28900 \begin_inset Text
28901
28902 \begin_layout Plain Layout
28903 1
28904 \end_layout
28905
28906 \end_inset
28907 </cell>
28908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28909 \begin_inset Text
28910
28911 \begin_layout Plain Layout
28912 2
28913 \end_layout
28914
28915 \end_inset
28916 </cell>
28917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28918 \begin_inset Text
28919
28920 \begin_layout Plain Layout
28921 3
28922 \begin_inset Foot
28923 status collapsed
28924
28925 \begin_layout Plain Layout
28926 This is a footnote within a table.
28927 \end_layout
28928
28929 \end_inset
28930
28931
28932 \end_layout
28933
28934 \end_inset
28935 </cell>
28936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28937 \begin_inset Text
28938
28939 \begin_layout Plain Layout
28940 4
28941 \end_layout
28942
28943 \end_inset
28944 </cell>
28945 </row>
28946 <row>
28947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28948 \begin_inset Text
28949
28950 \begin_layout Plain Layout
28951 a
28952 \end_layout
28953
28954 \end_inset
28955 </cell>
28956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28957 \begin_inset Text
28958
28959 \begin_layout Plain Layout
28960 b
28961 \end_layout
28962
28963 \end_inset
28964 </cell>
28965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28966 \begin_inset Text
28967
28968 \begin_layout Plain Layout
28969 c
28970 \end_layout
28971
28972 \end_inset
28973 </cell>
28974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28975 \begin_inset Text
28976
28977 \begin_layout Plain Layout
28978 d
28979 \end_layout
28980
28981 \end_inset
28982 </cell>
28983 </row>
28984 <row>
28985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28986 \begin_inset Text
28987
28988 \begin_layout Plain Layout
28989 e
28990 \end_layout
28991
28992 \end_inset
28993 </cell>
28994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28995 \begin_inset Text
28996
28997 \begin_layout Plain Layout
28998 f
28999 \end_layout
29000
29001 \end_inset
29002 </cell>
29003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29004 \begin_inset Text
29005
29006 \begin_layout Plain Layout
29007 g
29008 \end_layout
29009
29010 \end_inset
29011 </cell>
29012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29013 \begin_inset Text
29014
29015 \begin_layout Plain Layout
29016 h
29017 \end_layout
29018
29019 \end_inset
29020 </cell>
29021 </row>
29022 </lyxtabular>
29023
29024 \end_inset
29025
29026
29027 \end_layout
29028
29029 \end_inset
29030
29031
29032 \end_layout
29033
29034 \begin_layout Standard
29035 \begin_inset VSpace bigskip
29036 \end_inset
29037
29038 The document-wide paragraph settings are ignored within minipages.
29039  That means that there will be no space between paragraphs in minipages
29040  although you set it to e.
29041 \begin_inset space \thinspace{}
29042 \end_inset
29043
29044 g.
29045 \begin_inset space \space{}
29046 \end_inset
29047
29048
29049 \family sans
29050 MedSkip
29051 \family default
29052  in the document settings.
29053 \end_layout
29054
29055 \begin_layout Standard
29056 Minipages can also be used to set a background color for text parts, see
29057  section
29058 \begin_inset space ~
29059 \end_inset
29060
29061
29062 \begin_inset CommandInset ref
29063 LatexCommand ref
29064 reference "sub:Color-for-Paragraphs"
29065
29066 \end_inset
29067
29068 .
29069 \end_layout
29070
29071 \begin_layout Standard
29072 \begin_inset Note Greyedout
29073 status open
29074
29075 \begin_layout Plain Layout
29076
29077 \series bold
29078 Note:
29079 \series default
29080  You cannot have floats or margin notes inside minipages but minipages can
29081  be used inside tables, floats, and other boxes.
29082 \end_layout
29083
29084 \end_inset
29085
29086
29087 \end_layout
29088
29089 \begin_layout Section
29090 Parboxes
29091 \begin_inset CommandInset label
29092 LatexCommand label
29093 name "sec:Parboxes"
29094
29095 \end_inset
29096
29097
29098 \begin_inset Index
29099 status collapsed
29100
29101 \begin_layout Plain Layout
29102 Boxes ! Parboxes
29103 \end_layout
29104
29105 \end_inset
29106
29107
29108 \end_layout
29109
29110 \begin_layout Standard
29111 Parboxes are very similar to minipages with the difference that they cannot
29112  have footnotes.
29113  The main difference to minipages is that minipages are in contrary to parboxes
29114  no real boxes but LaTeX-environments.
29115 \end_layout
29116
29117 \begin_layout Standard
29118 \align center
29119 \begin_inset Box Frameless
29120 position "t"
29121 hor_pos "c"
29122 has_inner_box 1
29123 inner_pos "t"
29124 use_parbox 1
29125 width "33col%"
29126 special "none"
29127 height "1in"
29128 height_special "totalheight"
29129 status collapsed
29130
29131 \begin_layout Plain Layout
29132 This a text within a parbox.
29133  This a text within a parbox.
29134 \end_layout
29135
29136 \begin_layout Plain Layout
29137 This footnote won't appear:
29138 \begin_inset Foot
29139 status collapsed
29140
29141 \begin_layout Plain Layout
29142 This footnote is inside a parbox and will therefore not appear.
29143 \end_layout
29144
29145 \end_inset
29146
29147
29148 \end_layout
29149
29150 \end_inset
29151
29152
29153 \end_layout
29154
29155 \begin_layout Section
29156 Boxes for Words and Characters
29157 \begin_inset Index
29158 status collapsed
29159
29160 \begin_layout Plain Layout
29161 Boxes ! for Characters
29162 \end_layout
29163
29164 \end_inset
29165
29166
29167 \end_layout
29168
29169 \begin_layout Subsection
29170 Prevent Hyphenation
29171 \begin_inset CommandInset label
29172 LatexCommand label
29173 name "sec:Prevent-Hyphenation"
29174
29175 \end_inset
29176
29177
29178 \begin_inset Index
29179 status collapsed
29180
29181 \begin_layout Plain Layout
29182 Boxes ! to Prevent Hyphenation
29183 \end_layout
29184
29185 \end_inset
29186
29187
29188 \end_layout
29189
29190 \begin_layout Standard
29191 You can use a special kind of boxes to prevent words or text to be hyphenated.
29192 \begin_inset Newline newline
29193 \end_inset
29194
29195 Here is an example text:
29196 \end_layout
29197
29198 \begin_layout Standard
29199 This line is an example to show how you can prevent the hyphenation of 
29200 \begin_inset Quotes eld
29201 \end_inset
29202
29203 veryverylongword
29204 \begin_inset Quotes erd
29205 \end_inset
29206
29207 .
29208 \end_layout
29209
29210 \begin_layout Standard
29211 To prevent the hyphenation of the word 
29212 \begin_inset Quotes eld
29213 \end_inset
29214
29215 veryverylongword
29216 \begin_inset Quotes erd
29217 \end_inset
29218
29219 , add the command
29220 \end_layout
29221
29222 \begin_layout Standard
29223
29224 \series bold
29225
29226 \backslash
29227 mbox{
29228 \end_layout
29229
29230 \begin_layout Standard
29231 in TeX-Code before the word.
29232  Behind the word insert a closing brace 
29233 \begin_inset Quotes eld
29234 \end_inset
29235
29236
29237 \series bold
29238 }
29239 \series default
29240
29241 \begin_inset Quotes erd
29242 \end_inset
29243
29244  in TeX-Code.
29245 \end_layout
29246
29247 \begin_layout Standard
29248 This is the result:
29249 \end_layout
29250
29251 \begin_layout Standard
29252 This line is an example to show how you can prevent the hyphenation of 
29253 \begin_inset ERT
29254 status collapsed
29255
29256 \begin_layout Plain Layout
29257
29258
29259 \backslash
29260 mbox{
29261 \end_layout
29262
29263 \end_inset
29264
29265
29266 \begin_inset Quotes eld
29267 \end_inset
29268
29269 veryverylongword
29270 \begin_inset Quotes erd
29271 \end_inset
29272
29273 .
29274 \begin_inset ERT
29275 status collapsed
29276
29277 \begin_layout Plain Layout
29278
29279 }
29280 \end_layout
29281
29282 \end_inset
29283
29284
29285 \end_layout
29286
29287 \begin_layout Standard
29288 You can alternatively set the command 
29289 \begin_inset Quotes eld
29290 \end_inset
29291
29292
29293 \series bold
29294
29295 \backslash
29296 -
29297 \series default
29298
29299 \begin_inset Quotes grd
29300 \end_inset
29301
29302  as TeX-Code directly before the word:
29303 \end_layout
29304
29305 \begin_layout Standard
29306 This line is an example to show how you can prevent the hyphenation of 
29307 \begin_inset Quotes eld
29308 \end_inset
29309
29310
29311 \begin_inset ERT
29312 status collapsed
29313
29314 \begin_layout Plain Layout
29315
29316
29317 \backslash
29318 -
29319 \end_layout
29320
29321 \end_inset
29322
29323 veryverylongword
29324 \begin_inset Quotes erd
29325 \end_inset
29326
29327 .
29328 \end_layout
29329
29330 \begin_layout Standard
29331 Of course the word now protrudes over the side margin.
29332  To avoid this, add via the menu 
29333 \family sans
29334 Insert\SpecialChar \menuseparator
29335 Special
29336 \begin_inset space ~
29337 \end_inset
29338
29339 Formatting\SpecialChar \menuseparator
29340 Line
29341 \begin_inset space ~
29342 \end_inset
29343
29344 Break
29345 \family default
29346  (shortcut 
29347 \begin_inset Info
29348 type  "shortcut"
29349 arg   "newline-insert newline"
29350 \end_inset
29351
29352 ) a line break before the word:
29353 \end_layout
29354
29355 \begin_layout Standard
29356 This line is an example to show how you can prevent the hyphenation of 
29357 \begin_inset Newline newline
29358 \end_inset
29359
29360
29361 \begin_inset ERT
29362 status collapsed
29363
29364 \begin_layout Plain Layout
29365
29366
29367 \backslash
29368 mbox{
29369 \end_layout
29370
29371 \end_inset
29372
29373
29374 \begin_inset Quotes eld
29375 \end_inset
29376
29377 veryverylongword
29378 \begin_inset Quotes erd
29379 \end_inset
29380
29381 .
29382 \begin_inset ERT
29383 status collapsed
29384
29385 \begin_layout Plain Layout
29386
29387 }
29388 \end_layout
29389
29390 \end_inset
29391
29392
29393 \end_layout
29394
29395 \begin_layout Subsection
29396 Vertical Alignment
29397 \begin_inset CommandInset label
29398 LatexCommand label
29399 name "sub:Vertical-Alignment"
29400
29401 \end_inset
29402
29403
29404 \begin_inset Index
29405 status collapsed
29406
29407 \begin_layout Plain Layout
29408 Boxes ! for Vertical Alignment
29409 \end_layout
29410
29411 \end_inset
29412
29413
29414 \begin_inset Index
29415 status collapsed
29416
29417 \begin_layout Plain Layout
29418 Boxes ! Raiseboxes
29419 \end_layout
29420
29421 \end_inset
29422
29423
29424 \end_layout
29425
29426 \begin_layout Standard
29427 With the help of the command 
29428 \series bold
29429
29430 \backslash
29431 raisebox
29432 \series default
29433  you can align words, characters or other boxes vertically to the surrounding
29434  text.
29435  
29436 \series bold
29437
29438 \backslash
29439 raisebox
29440 \series default
29441  is used with the following scheme:
29442 \end_layout
29443
29444 \begin_layout Standard
29445
29446 \series bold
29447
29448 \backslash
29449 raisebox{lift}[height][depth]{box content}
29450 \end_layout
29451
29452 \begin_layout Standard
29453 The lift can be a positive value to raise the box or a negative value to
29454  lower the box.
29455 \end_layout
29456
29457 \begin_layout Standard
29458 To align for example the word 
29459 \begin_inset Quotes eld
29460 \end_inset
29461
29462 preventing
29463 \begin_inset Quotes erd
29464 \end_inset
29465
29466  so that the bottom of the 
29467 \begin_inset Quotes eld
29468 \end_inset
29469
29470 deepest
29471 \begin_inset Quotes erd
29472 \end_inset
29473
29474  character 
29475 \begin_inset Quotes eld
29476 \end_inset
29477
29478 p
29479 \begin_inset Quotes erd
29480 \end_inset
29481
29482  is at the baseline, insert the command
29483 \end_layout
29484
29485 \begin_layout Standard
29486
29487 \series bold
29488
29489 \backslash
29490 raisebox{
29491 \backslash
29492 depth}{
29493 \end_layout
29494
29495 \begin_layout Standard
29496 in TeX-Code before the word.
29497  Behind the word insert a closing brace 
29498 \begin_inset Quotes eld
29499 \end_inset
29500
29501
29502 \series bold
29503 }
29504 \series default
29505
29506 \begin_inset Quotes erd
29507 \end_inset
29508
29509  in TeX-Code.
29510 \begin_inset Newline newline
29511 \end_inset
29512
29513 This is the result:
29514 \end_layout
29515
29516 \begin_layout Standard
29517 This is a text line with the word 
29518 \begin_inset ERT
29519 status collapsed
29520
29521 \begin_layout Plain Layout
29522
29523
29524 \backslash
29525 raisebox{
29526 \backslash
29527 depth}{
29528 \end_layout
29529
29530 \end_inset
29531
29532
29533 \begin_inset Quotes eld
29534 \end_inset
29535
29536 preventing
29537 \begin_inset Quotes erd
29538 \end_inset
29539
29540
29541 \begin_inset ERT
29542 status collapsed
29543
29544 \begin_layout Plain Layout
29545
29546 }
29547 \end_layout
29548
29549 \end_inset
29550
29551  as raised word.
29552 \end_layout
29553
29554 \begin_layout Standard
29555 \begin_inset VSpace bigskip
29556 \end_inset
29557
29558 When you raise or lower characters in a line, the line distance will be
29559  spread:
29560 \end_layout
29561
29562 \begin_layout Standard
29563 This is a text line with the word 
29564 \begin_inset ERT
29565 status collapsed
29566
29567 \begin_layout Plain Layout
29568
29569
29570 \backslash
29571 raisebox{-
29572 \backslash
29573 depth}{
29574 \end_layout
29575
29576 \end_inset
29577
29578
29579 \begin_inset Quotes eld
29580 \end_inset
29581
29582 preventing
29583 \begin_inset Quotes erd
29584 \end_inset
29585
29586
29587 \begin_inset ERT
29588 status collapsed
29589
29590 \begin_layout Plain Layout
29591
29592 }
29593 \end_layout
29594
29595 \end_inset
29596
29597  as lowered word.
29598 \begin_inset Newline newline
29599 \end_inset
29600
29601 This is a text line with the word 
29602 \begin_inset ERT
29603 status collapsed
29604
29605 \begin_layout Plain Layout
29606
29607
29608 \backslash
29609 raisebox{0.5cm}{
29610 \end_layout
29611
29612 \end_inset
29613
29614
29615 \begin_inset Quotes eld
29616 \end_inset
29617
29618 testing
29619 \begin_inset Quotes erd
29620 \end_inset
29621
29622
29623 \begin_inset ERT
29624 status collapsed
29625
29626 \begin_layout Plain Layout
29627
29628 }
29629 \end_layout
29630
29631 \end_inset
29632
29633  as raised word.
29634 \end_layout
29635
29636 \begin_layout Standard
29637 If you want to prevent this for a certain reason, set the box height to
29638  a zero value.
29639  For example use
29640 \end_layout
29641
29642 \begin_layout Standard
29643
29644 \series bold
29645
29646 \backslash
29647 raisebox{-
29648 \backslash
29649 depth}[0pt]{
29650 \end_layout
29651
29652 \begin_layout Standard
29653 This is a text line with the word 
29654 \begin_inset ERT
29655 status collapsed
29656
29657 \begin_layout Plain Layout
29658
29659
29660 \backslash
29661 raisebox{-
29662 \backslash
29663 depth}[0pt]{
29664 \end_layout
29665
29666 \end_inset
29667
29668
29669 \begin_inset Quotes eld
29670 \end_inset
29671
29672 preventing
29673 \begin_inset Quotes erd
29674 \end_inset
29675
29676
29677 \begin_inset ERT
29678 status collapsed
29679
29680 \begin_layout Plain Layout
29681
29682 }
29683 \end_layout
29684
29685 \end_inset
29686
29687  as lowered word.
29688 \begin_inset Newline newline
29689 \end_inset
29690
29691 This is a text line with the word 
29692 \begin_inset ERT
29693 status collapsed
29694
29695 \begin_layout Plain Layout
29696
29697
29698 \backslash
29699 raisebox{0.5cm}[0pt]{
29700 \end_layout
29701
29702 \end_inset
29703
29704
29705 \begin_inset Quotes eld
29706 \end_inset
29707
29708 testing
29709 \begin_inset Quotes erd
29710 \end_inset
29711
29712
29713 \begin_inset ERT
29714 status collapsed
29715
29716 \begin_layout Plain Layout
29717
29718 }
29719 \end_layout
29720
29721 \end_inset
29722
29723  as raised word.
29724 \end_layout
29725
29726 \begin_layout Section
29727 Colored Boxes
29728 \begin_inset CommandInset label
29729 LatexCommand label
29730 name "sec:Colored-Boxes"
29731
29732 \end_inset
29733
29734
29735 \begin_inset Index
29736 status collapsed
29737
29738 \begin_layout Plain Layout
29739 Boxes ! Color
29740 \end_layout
29741
29742 \end_inset
29743
29744
29745 \end_layout
29746
29747 \begin_layout Subsection
29748 Color for Text
29749 \begin_inset Index
29750 status collapsed
29751
29752 \begin_layout Plain Layout
29753 Color ! for Text
29754 \end_layout
29755
29756 \end_inset
29757
29758
29759 \end_layout
29760
29761 \begin_layout Standard
29762 To color the background of text the text must be put into a so called 
29763 \begin_inset Quotes eld
29764 \end_inset
29765
29766 colorbox
29767 \begin_inset Quotes erd
29768 \end_inset
29769
29770 .
29771  This requires that the LaTeX-package 
29772 \series bold
29773 color
29774 \series default
29775
29776 \begin_inset Index
29777 status collapsed
29778
29779 \begin_layout Plain Layout
29780 LaTeX-packages ! color
29781 \end_layout
29782
29783 \end_inset
29784
29785  is loaded in the document preamble with the command
29786 \end_layout
29787
29788 \begin_layout Standard
29789
29790 \series bold
29791
29792 \backslash
29793 @ifundefined{textcolor}
29794 \begin_inset Newline newline
29795 \end_inset
29796
29797
29798 \begin_inset ERT
29799 status collapsed
29800
29801 \begin_layout Plain Layout
29802
29803
29804 \backslash
29805 hphantom{ }
29806 \end_layout
29807
29808 \end_inset
29809
29810 {
29811 \backslash
29812 usepackage{color}}{}
29813 \end_layout
29814
29815 \begin_layout Standard
29816 The package 
29817 \series bold
29818 color
29819 \series default
29820  will be loaded automatically by LyX when you color text
29821 \begin_inset Foot
29822 status collapsed
29823
29824 \begin_layout Plain Layout
29825 To avoid that it is loaded twice the command 
29826 \series bold
29827
29828 \backslash
29829 @ifundefined
29830 \series default
29831  is used.
29832 \end_layout
29833
29834 \end_inset
29835
29836 .
29837 \end_layout
29838
29839 \begin_layout Standard
29840 \begin_inset VSpace medskip
29841 \end_inset
29842
29843 Colorboxes are created with the command 
29844 \series bold
29845
29846 \backslash
29847 colorbox
29848 \series default
29849 .
29850  This will be used with the following scheme:
29851 \end_layout
29852
29853 \begin_layout Standard
29854
29855 \series bold
29856
29857 \backslash
29858 colorbox{color}{box content}
29859 \end_layout
29860
29861 \begin_layout Standard
29862 The box content can also be a box and colorboxes can also be within other
29863  boxes.
29864 \end_layout
29865
29866 \begin_layout Standard
29867 The following colors are predefined:
29868 \begin_inset Newline newline
29869 \end_inset
29870
29871
29872 \family sans
29873 black
29874 \family default
29875
29876 \family sans
29877 blue
29878 \family default
29879
29880 \family sans
29881 cyan
29882 \family default
29883 \series bold
29884 ,
29885 \series default
29886  
29887 \family sans
29888 green
29889 \family default
29890
29891 \family sans
29892 magenta
29893 \family default
29894
29895 \family sans
29896 red
29897 \family default
29898
29899 \family sans
29900 white
29901 \family default
29902 , and 
29903 \family sans
29904 yellow
29905 \family default
29906 .
29907 \begin_inset Newline newline
29908 \end_inset
29909
29910 You can also define your own color as described in section
29911 \begin_inset space ~
29912 \end_inset
29913
29914
29915 \begin_inset CommandInset ref
29916 LatexCommand ref
29917 reference "sec:Colored-Tables"
29918
29919 \end_inset
29920
29921 .
29922 \end_layout
29923
29924 \begin_layout Standard
29925 To have e.
29926 \begin_inset space \thinspace{}
29927 \end_inset
29928
29929 g.
29930 \begin_inset space \space{}
29931 \end_inset
29932
29933 a red background for a word, insert the command
29934 \end_layout
29935
29936 \begin_layout Standard
29937
29938 \series bold
29939
29940 \backslash
29941 colorbox{red}{
29942 \end_layout
29943
29944 \begin_layout Standard
29945 before the word in TeX-Code.
29946  Behind the word insert a closing brace 
29947 \begin_inset Quotes eld
29948 \end_inset
29949
29950
29951 \series bold
29952 }
29953 \series default
29954
29955 \begin_inset Quotes erd
29956 \end_inset
29957
29958  in TeX-Code.
29959 \begin_inset Newline newline
29960 \end_inset
29961
29962 This is the result:
29963 \end_layout
29964
29965 \begin_layout Standard
29966 This is a line where the word 
29967 \begin_inset ERT
29968 status collapsed
29969
29970 \begin_layout Plain Layout
29971
29972
29973 \backslash
29974 colorbox{red}{
29975 \end_layout
29976
29977 \end_inset
29978
29979
29980 \begin_inset Quotes eld
29981 \end_inset
29982
29983 Attention!
29984 \begin_inset Quotes erd
29985 \end_inset
29986
29987
29988 \begin_inset ERT
29989 status collapsed
29990
29991 \begin_layout Plain Layout
29992
29993 }
29994 \end_layout
29995
29996 \end_inset
29997
29998  has a red background.
29999 \end_layout
30000
30001 \begin_layout Standard
30002 \begin_inset VSpace bigskip
30003 \end_inset
30004
30005 If you would have the box frame in a different color, you can use the command
30006  
30007 \series bold
30008
30009 \backslash
30010 fcolorbox
30011 \series default
30012  with the following scheme:
30013 \end_layout
30014
30015 \begin_layout Standard
30016
30017 \series bold
30018
30019 \backslash
30020 fcolorbox{frame color}{box color}{box content}
30021 \end_layout
30022
30023 \begin_layout Standard
30024
30025 \series bold
30026
30027 \backslash
30028 fcolorbox
30029 \series default
30030  is an extension to 
30031 \series bold
30032
30033 \backslash
30034 colorbox
30035 \series default
30036 .
30037  The frame thickness and the space between the frame and the box content
30038  can be adjusted with the lengths 
30039 \series bold
30040
30041 \backslash
30042 fboxrule
30043 \series default
30044  and 
30045 \series bold
30046
30047 \backslash
30048 fboxsep
30049 \series default
30050 , respectively, as described in section
30051 \begin_inset space ~
30052 \end_inset
30053
30054
30055 \begin_inset CommandInset ref
30056 LatexCommand ref
30057 reference "sec:Decoration"
30058
30059 \end_inset
30060
30061 .
30062 \end_layout
30063
30064 \begin_layout Standard
30065 For the following example the command
30066 \end_layout
30067
30068 \begin_layout Standard
30069
30070 \series bold
30071
30072 \backslash
30073 fcolorbox{cyan}{magenta}{
30074 \end_layout
30075
30076 \begin_layout Standard
30077 was used.
30078 \end_layout
30079
30080 \begin_layout Standard
30081 Here is an example where the frame line thickness was set to 1
30082 \begin_inset space \thinspace{}
30083 \end_inset
30084
30085 mm:
30086 \begin_inset Newline newline
30087 \end_inset
30088
30089
30090 \begin_inset ERT
30091 status collapsed
30092
30093 \begin_layout Plain Layout
30094
30095
30096 \backslash
30097 fboxrule 1mm 
30098 \backslash
30099 fboxsep 1mm
30100 \end_layout
30101
30102 \end_inset
30103
30104
30105 \begin_inset ERT
30106 status collapsed
30107
30108 \begin_layout Plain Layout
30109
30110
30111 \backslash
30112 fcolorbox{cyan}{magenta}{
30113 \end_layout
30114
30115 \end_inset
30116
30117 This is text within a colored, framed box.
30118 \begin_inset ERT
30119 status collapsed
30120
30121 \begin_layout Plain Layout
30122
30123 }
30124 \end_layout
30125
30126 \end_inset
30127
30128
30129 \end_layout
30130
30131 \begin_layout Standard
30132 \begin_inset VSpace bigskip
30133 \end_inset
30134
30135 Of course you can also have colored text inside a colorbox:
30136 \begin_inset Newline newline
30137 \end_inset
30138
30139
30140 \begin_inset ERT
30141 status collapsed
30142
30143 \begin_layout Plain Layout
30144
30145
30146 \backslash
30147 fcolorbox{cyan}{magenta}{
30148 \end_layout
30149
30150 \end_inset
30151
30152
30153 \color yellow
30154 This is colored text within a colored, framed box.
30155 \color none
30156
30157 \begin_inset ERT
30158 status collapsed
30159
30160 \begin_layout Plain Layout
30161
30162 }
30163 \end_layout
30164
30165 \end_inset
30166
30167
30168 \begin_inset ERT
30169 status collapsed
30170
30171 \begin_layout Plain Layout
30172
30173
30174 \backslash
30175 fboxrule 0.4pt 
30176 \backslash
30177 fboxsep 3pt
30178 \end_layout
30179
30180 \end_inset
30181
30182
30183 \end_layout
30184
30185 \begin_layout Standard
30186
30187 \series bold
30188 \begin_inset VSpace medskip
30189 \end_inset
30190
30191
30192 \end_layout
30193
30194 \begin_layout Standard
30195 \begin_inset Note Greyedout
30196 status open
30197
30198 \begin_layout Plain Layout
30199
30200 \series bold
30201 Note:
30202 \series default
30203  Text in colorboxes cannot have line breaks.
30204  To color multiple text lines or paragraphs, use a box inside a colorbox
30205  as described in the following.
30206 \end_layout
30207
30208 \end_inset
30209
30210
30211 \end_layout
30212
30213 \begin_layout Subsection
30214 Color for Paragraphs
30215 \begin_inset CommandInset label
30216 LatexCommand label
30217 name "sub:Color-for-Paragraphs"
30218
30219 \end_inset
30220
30221
30222 \begin_inset Index
30223 status collapsed
30224
30225 \begin_layout Plain Layout
30226 Color ! for Paragraphs
30227 \end_layout
30228
30229 \end_inset
30230
30231
30232 \end_layout
30233
30234 \begin_layout Standard
30235 To set the background color for more than one text line, put the text into
30236  a minipage.
30237  Before the minipage insert the 
30238 \series bold
30239
30240 \backslash
30241 colorbox
30242 \series default
30243  command
30244 \end_layout
30245
30246 \begin_layout Standard
30247
30248 \series bold
30249
30250 \backslash
30251 colorbox{color}{
30252 \end_layout
30253
30254 \begin_layout Standard
30255 in TeX-Code.
30256  Behind the minipage insert a closing brace 
30257 \begin_inset Quotes eld
30258 \end_inset
30259
30260
30261 \series bold
30262 }
30263 \series default
30264
30265 \begin_inset Quotes erd
30266 \end_inset
30267
30268  in TeX-Code.
30269 \end_layout
30270
30271 \begin_layout Standard
30272 \begin_inset ERT
30273 status collapsed
30274
30275 \begin_layout Plain Layout
30276
30277
30278 \backslash
30279 colorbox{lightgrey}{
30280 \end_layout
30281
30282 \end_inset
30283
30284
30285 \begin_inset Box Frameless
30286 position "t"
30287 hor_pos "c"
30288 has_inner_box 1
30289 inner_pos "t"
30290 use_parbox 0
30291 width "100col%"
30292 special "none"
30293 height "1in"
30294 height_special "totalheight"
30295 status collapsed
30296
30297 \begin_layout Plain Layout
30298 This is text with background color.
30299  This is text with background color.
30300 \end_layout
30301
30302 \begin_layout Plain Layout
30303 \begin_inset VSpace defskip
30304 \end_inset
30305
30306 The text can have footnotes
30307 \begin_inset Foot
30308 status collapsed
30309
30310 \begin_layout Plain Layout
30311 Another example footnote
30312 \end_layout
30313
30314 \end_inset
30315
30316  and can include tables and figures.
30317 \end_layout
30318
30319 \begin_layout Plain Layout
30320 \align center
30321 \begin_inset Tabular
30322 <lyxtabular version="3" rows="3" columns="3">
30323 <features>
30324 <column alignment="center" valignment="top" width="0">
30325 <column alignment="center" valignment="top" width="0">
30326 <column alignment="center" valignment="top" width="0">
30327 <row>
30328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30329 \begin_inset Text
30330
30331 \begin_layout Plain Layout
30332 a
30333 \end_layout
30334
30335 \end_inset
30336 </cell>
30337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30338 \begin_inset Text
30339
30340 \begin_layout Plain Layout
30341 !
30342 \end_layout
30343
30344 \end_inset
30345 </cell>
30346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30347 \begin_inset Text
30348
30349 \begin_layout Plain Layout
30350 3
30351 \end_layout
30352
30353 \end_inset
30354 </cell>
30355 </row>
30356 <row>
30357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30358 \begin_inset Text
30359
30360 \begin_layout Plain Layout
30361 <
30362 \end_layout
30363
30364 \end_inset
30365 </cell>
30366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30367 \begin_inset Text
30368
30369 \begin_layout Plain Layout
30370 b2
30371 \begin_inset Quotes erd
30372 \end_inset
30373
30374 |
30375 \end_layout
30376
30377 \end_inset
30378 </cell>
30379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30380 \begin_inset Text
30381
30382 \begin_layout Plain Layout
30383 >
30384 \end_layout
30385
30386 \end_inset
30387 </cell>
30388 </row>
30389 <row>
30390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30391 \begin_inset Text
30392
30393 \begin_layout Plain Layout
30394 1
30395 \end_layout
30396
30397 \end_inset
30398 </cell>
30399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30400 \begin_inset Text
30401
30402 \begin_layout Plain Layout
30403 §
30404 \end_layout
30405
30406 \end_inset
30407 </cell>
30408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30409 \begin_inset Text
30410
30411 \begin_layout Plain Layout
30412 c
30413 \end_layout
30414
30415 \end_inset
30416 </cell>
30417 </row>
30418 </lyxtabular>
30419
30420 \end_inset
30421
30422
30423 \end_layout
30424
30425 \end_inset
30426
30427
30428 \begin_inset ERT
30429 status collapsed
30430
30431 \begin_layout Plain Layout
30432
30433 }
30434 \end_layout
30435
30436 \end_inset
30437
30438
30439 \end_layout
30440
30441 \begin_layout Section
30442 Rotated and Scaled Boxes
30443 \end_layout
30444
30445 \begin_layout Standard
30446 To use the the commands described in this section, the LaTeX-package 
30447 \series bold
30448 graphicx
30449 \series default
30450
30451 \begin_inset Index
30452 status collapsed
30453
30454 \begin_layout Plain Layout
30455 LaTeX-packages ! graphicx
30456 \end_layout
30457
30458 \end_inset
30459
30460  needs to be loaded in the document preamble with the command
30461 \end_layout
30462
30463 \begin_layout Standard
30464
30465 \series bold
30466
30467 \backslash
30468 @ifundefined{rotatebox}
30469 \begin_inset Newline newline
30470 \end_inset
30471
30472
30473 \begin_inset ERT
30474 status collapsed
30475
30476 \begin_layout Plain Layout
30477
30478
30479 \backslash
30480 hphantom{ }
30481 \end_layout
30482
30483 \end_inset
30484
30485 {
30486 \backslash
30487 usepackage{graphicx}}{}
30488 \end_layout
30489
30490 \begin_layout Standard
30491 \begin_inset Note Greyedout
30492 status open
30493
30494 \begin_layout Plain Layout
30495
30496 \series bold
30497 Note:
30498 \series default
30499  Some DVI-viewers can't display rotated or scaled material.
30500 \end_layout
30501
30502 \end_inset
30503
30504
30505 \end_layout
30506
30507 \begin_layout Standard
30508 \begin_inset Note Greyedout
30509 status open
30510
30511 \begin_layout Plain Layout
30512
30513 \series bold
30514 Note:
30515 \series default
30516  Floats mustn't be inside a rotated or scaled box.
30517 \end_layout
30518
30519 \end_inset
30520
30521
30522 \end_layout
30523
30524 \begin_layout Subsection
30525 Rotated Boxes
30526 \begin_inset Index
30527 status collapsed
30528
30529 \begin_layout Plain Layout
30530 Boxes ! rotated
30531 \end_layout
30532
30533 \end_inset
30534
30535
30536 \begin_inset Index
30537 status collapsed
30538
30539 \begin_layout Plain Layout
30540 Rotated material
30541 \end_layout
30542
30543 \end_inset
30544
30545
30546 \begin_inset Index
30547 status collapsed
30548
30549 \begin_layout Plain Layout
30550 Figures ! rotated
30551 \end_layout
30552
30553 \end_inset
30554
30555
30556 \begin_inset Index
30557 status collapsed
30558
30559 \begin_layout Plain Layout
30560 Table Customization ! Rotating
30561 \end_layout
30562
30563 \end_inset
30564
30565
30566 \end_layout
30567
30568 \begin_layout Standard
30569 To rotate material, you can put it into a rotated box.
30570  Such a box is created using the command 
30571 \series bold
30572
30573 \backslash
30574 rotatebox
30575 \series default
30576  in TeX-Code with the following scheme:
30577 \end_layout
30578
30579 \begin_layout Standard
30580
30581 \series bold
30582
30583 \backslash
30584 rotatebox[rotation origin]{rotation angle}{box content}
30585 \end_layout
30586
30587 \begin_layout Standard
30588 The rotation origin is specified in the form 
30589 \series bold
30590 origin=position
30591 \series default
30592 .
30593  The following positions are possible: 
30594 \emph on
30595 c
30596 \emph default
30597  (center), 
30598 \emph on
30599 l
30600 \emph default
30601  (left), 
30602 \emph on
30603 r
30604 \emph default
30605  (right), 
30606 \emph on
30607 b
30608 \emph default
30609  (bottom), 
30610 \emph on
30611 t
30612 \emph default
30613  (top), and also expedient combinations of the four base positions.
30614  For example 
30615 \emph on
30616 lt
30617 \emph default
30618  means, that the rotation origin is at the top left corner of the box.
30619  When no rotation origin is specified, the position 
30620 \emph on
30621 l
30622 \emph default
30623  will be used.
30624  The rotation angle is a number that can be negative that specifies the
30625  angle in degrees.
30626  The rotation direction is counterclockwise.
30627 \end_layout
30628
30629 \begin_layout Standard
30630 In the following example the command 
30631 \series bold
30632
30633 \backslash
30634 rotatebox[origin=c]{60}{
30635 \series default
30636  was inserted as TeX-Code before the text 
30637 \begin_inset Quotes eld
30638 \end_inset
30639
30640 with rotated
30641 \begin_inset Quotes erd
30642 \end_inset
30643
30644 ; after the text the box was closed by a closing brace 
30645 \series bold
30646 }
30647 \series default
30648  in TeX-Code.
30649 \end_layout
30650
30651 \begin_layout Standard
30652 This is a line 
30653 \begin_inset ERT
30654 status collapsed
30655
30656 \begin_layout Plain Layout
30657
30658
30659 \backslash
30660 rotatebox[origin=c]{60}{
30661 \end_layout
30662
30663 \end_inset
30664
30665 with rotated
30666 \begin_inset ERT
30667 status collapsed
30668
30669 \begin_layout Plain Layout
30670
30671 }
30672 \end_layout
30673
30674 \end_inset
30675
30676  text.
30677 \end_layout
30678
30679 \begin_layout Standard
30680 The box content can also be another box or an inline formula:
30681 \end_layout
30682
30683 \begin_layout Standard
30684 This is a line
30685 \begin_inset ERT
30686 status collapsed
30687
30688 \begin_layout Plain Layout
30689
30690
30691 \backslash
30692 rotatebox[origin=r]{-60}{
30693 \end_layout
30694
30695 \end_inset
30696
30697
30698 \begin_inset Box Doublebox
30699 position "c"
30700 hor_pos "c"
30701 has_inner_box 0
30702 inner_pos "c"
30703 use_parbox 0
30704 width "1in"
30705 special "width"
30706 height "1in"
30707 height_special "totalheight"
30708 status collapsed
30709
30710 \begin_layout Plain Layout
30711 with rotated
30712 \end_layout
30713
30714 \end_inset
30715
30716
30717 \begin_inset ERT
30718 status collapsed
30719
30720 \begin_layout Plain Layout
30721
30722 }
30723 \end_layout
30724
30725 \end_inset
30726
30727  framed text 
30728 \begin_inset ERT
30729 status collapsed
30730
30731 \begin_layout Plain Layout
30732
30733
30734 \backslash
30735 rotatebox[origin=lb]{60}{
30736 \end_layout
30737
30738 \end_inset
30739
30740
30741 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30742 \end_inset
30743
30744
30745 \begin_inset ERT
30746 status collapsed
30747
30748 \begin_layout Plain Layout
30749
30750 }
30751 \end_layout
30752
30753 \end_inset
30754
30755  and a formula.
30756 \end_layout
30757
30758 \begin_layout Standard
30759 or an image or table:
30760 \end_layout
30761
30762 \begin_layout Standard
30763 This is a line
30764 \begin_inset ERT
30765 status collapsed
30766
30767 \begin_layout Plain Layout
30768
30769
30770 \backslash
30771 rotatebox[origin=lb]{90}{
30772 \end_layout
30773
30774 \end_inset
30775
30776
30777 \begin_inset Graphics
30778         filename clipart/platypus.eps
30779         lyxscale 50
30780         width 25col%
30781
30782 \end_inset
30783
30784
30785 \begin_inset ERT
30786 status collapsed
30787
30788 \begin_layout Plain Layout
30789
30790 }
30791 \end_layout
30792
30793 \end_inset
30794
30795  with a rotated image 
30796 \begin_inset ERT
30797 status collapsed
30798
30799 \begin_layout Plain Layout
30800
30801
30802 \backslash
30803 rotatebox[origin=l]{-90}{
30804 \end_layout
30805
30806 \end_inset
30807
30808
30809 \begin_inset Tabular
30810 <lyxtabular version="3" rows="2" columns="2">
30811 <features>
30812 <column alignment="center" valignment="top" width="0">
30813 <column alignment="center" valignment="top" width="0">
30814 <row>
30815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30816 \begin_inset Text
30817
30818 \begin_layout Plain Layout
30819 q
30820 \end_layout
30821
30822 \end_inset
30823 </cell>
30824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30825 \begin_inset Text
30826
30827 \begin_layout Plain Layout
30828 w
30829 \end_layout
30830
30831 \end_inset
30832 </cell>
30833 </row>
30834 <row>
30835 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30836 \begin_inset Text
30837
30838 \begin_layout Plain Layout
30839 e
30840 \end_layout
30841
30842 \end_inset
30843 </cell>
30844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30845 \begin_inset Text
30846
30847 \begin_layout Plain Layout
30848 r
30849 \end_layout
30850
30851 \end_inset
30852 </cell>
30853 </row>
30854 </lyxtabular>
30855
30856 \end_inset
30857
30858
30859 \begin_inset ERT
30860 status collapsed
30861
30862 \begin_layout Plain Layout
30863
30864 }
30865 \end_layout
30866
30867 \end_inset
30868
30869  and table.
30870 \end_layout
30871
30872 \begin_layout Subsection
30873 Scaled Boxes
30874 \begin_inset Index
30875 status collapsed
30876
30877 \begin_layout Plain Layout
30878 Boxes ! scaled
30879 \end_layout
30880
30881 \end_inset
30882
30883
30884 \begin_inset Index
30885 status collapsed
30886
30887 \begin_layout Plain Layout
30888 Scaled material
30889 \end_layout
30890
30891 \end_inset
30892
30893
30894 \begin_inset Index
30895 status collapsed
30896
30897 \begin_layout Plain Layout
30898 Figures ! scaled
30899 \end_layout
30900
30901 \end_inset
30902
30903
30904 \begin_inset Index
30905 status collapsed
30906
30907 \begin_layout Plain Layout
30908 Table Customization ! Scaling
30909 \end_layout
30910
30911 \end_inset
30912
30913
30914 \end_layout
30915
30916 \begin_layout Standard
30917 To scale material the commands 
30918 \series bold
30919
30920 \backslash
30921 scalebox
30922 \series default
30923  and 
30924 \series bold
30925
30926 \backslash
30927 resizebox
30928 \series default
30929  can be used as TeX-Code.
30930 \end_layout
30931
30932 \begin_layout Standard
30933
30934 \series bold
30935
30936 \backslash
30937 scalebox
30938 \series default
30939  is used with the following scheme:
30940 \end_layout
30941
30942 \begin_layout Standard
30943
30944 \series bold
30945
30946 \backslash
30947 scalebox{horizontal}[vertical]{box content}
30948 \end_layout
30949
30950 \begin_layout Standard
30951 Horizontal and vertical are the corresponding scaling factors.
30952  If no vertical scaling factor is given, the horizontal factor will also
30953  be used as vertical one.
30954 \end_layout
30955
30956 \begin_layout Standard
30957 The command 
30958 \series bold
30959
30960 \backslash
30961 scalebox{2}{Hello}
30962 \series default
30963  creates for example a double size 
30964 \begin_inset ERT
30965 status collapsed
30966
30967 \begin_layout Plain Layout
30968
30969
30970 \backslash
30971 scalebox{2}{
30972 \end_layout
30973
30974 \end_inset
30975
30976 Hello
30977 \begin_inset ERT
30978 status collapsed
30979
30980 \begin_layout Plain Layout
30981
30982 }
30983 \end_layout
30984
30985 \end_inset
30986
30987 , compared to the document text size.
30988 \end_layout
30989
30990 \begin_layout Standard
30991
30992 \series bold
30993
30994 \backslash
30995 scalebox{2}[1]{Hello}
30996 \series default
30997  in contrary distorts the 
30998 \begin_inset ERT
30999 status collapsed
31000
31001 \begin_layout Plain Layout
31002
31003
31004 \backslash
31005 scalebox{2}[1]{
31006 \end_layout
31007
31008 \end_inset
31009
31010 Hello
31011 \begin_inset ERT
31012 status collapsed
31013
31014 \begin_layout Plain Layout
31015
31016 }
31017 \end_layout
31018
31019 \end_inset
31020
31021 .
31022 \end_layout
31023
31024 \begin_layout Standard
31025 If a the scaling factor is negative, the box content will be mirrored.
31026  Therefore the command 
31027 \series bold
31028
31029 \backslash
31030 scalebox{-1}[1]{Hello}
31031 \series default
31032  can be used to create mirror writing: 
31033 \begin_inset ERT
31034 status collapsed
31035
31036 \begin_layout Plain Layout
31037
31038
31039 \backslash
31040 scalebox{-1}[1]{
31041 \end_layout
31042
31043 \end_inset
31044
31045 Hello
31046 \begin_inset ERT
31047 status collapsed
31048
31049 \begin_layout Plain Layout
31050
31051 }
31052 \end_layout
31053
31054 \end_inset
31055
31056
31057 \end_layout
31058
31059 \begin_layout Standard
31060
31061 \series bold
31062
31063 \backslash
31064 scalebox{1}[-1]{Hello}
31065 \series default
31066  reflects the 
31067 \begin_inset ERT
31068 status collapsed
31069
31070 \begin_layout Plain Layout
31071
31072
31073 \backslash
31074 scalebox{1}[-1]{
31075 \end_layout
31076
31077 \end_inset
31078
31079 Hello
31080 \begin_inset ERT
31081 status collapsed
31082
31083 \begin_layout Plain Layout
31084
31085 }
31086 \end_layout
31087
31088 \end_inset
31089
31090  at the base line.
31091 \end_layout
31092
31093 \begin_layout Standard
31094 Equivalent to 
31095 \series bold
31096
31097 \backslash
31098 scalebox{-1}[1]{box content}
31099 \series default
31100  there exists the command
31101 \begin_inset Newline newline
31102 \end_inset
31103
31104
31105 \series bold
31106
31107 \backslash
31108 reflectbox{box content}
31109 \series default
31110 .
31111 \end_layout
31112
31113 \begin_layout Standard
31114 \begin_inset VSpace bigskip
31115 \end_inset
31116
31117 The command 
31118 \series bold
31119
31120 \backslash
31121 resizebox
31122 \series default
31123  is used to scale the box to a defined width and height.
31124  The command scheme is:
31125 \end_layout
31126
31127 \begin_layout Standard
31128
31129 \series bold
31130
31131 \backslash
31132 resizebox{width}{height}{box content}
31133 \end_layout
31134
31135 \begin_layout Standard
31136 Is one of the two command arguments given as exclamation mark 
31137 \series bold
31138 !
31139 \series default
31140 , the size is set so that the aspect ratio of the box content is kept.
31141 \end_layout
31142
31143 \begin_layout Standard
31144 The command 
31145 \series bold
31146
31147 \backslash
31148 resizebox{2cm}{1cm}{Hello}
31149 \series default
31150  produces: 
31151 \begin_inset ERT
31152 status collapsed
31153
31154 \begin_layout Plain Layout
31155
31156
31157 \backslash
31158 resizebox{2cm}{1cm}{
31159 \end_layout
31160
31161 \end_inset
31162
31163 Hello
31164 \begin_inset ERT
31165 status collapsed
31166
31167 \begin_layout Plain Layout
31168
31169 }
31170 \end_layout
31171
31172 \end_inset
31173
31174
31175 \begin_inset Newline newline
31176 \end_inset
31177
31178 The command 
31179 \series bold
31180
31181 \backslash
31182 resizebox{2cm}{!}{Hello}
31183 \series default
31184  produces: 
31185 \begin_inset ERT
31186 status collapsed
31187
31188 \begin_layout Plain Layout
31189
31190
31191 \backslash
31192 resizebox{2cm}{!}{
31193 \end_layout
31194
31195 \end_inset
31196
31197 Hello
31198 \begin_inset ERT
31199 status collapsed
31200
31201 \begin_layout Plain Layout
31202
31203 }
31204 \end_layout
31205
31206 \end_inset
31207
31208
31209 \end_layout
31210
31211 \begin_layout Standard
31212 \begin_inset VSpace bigskip
31213 \end_inset
31214
31215
31216 \begin_inset Note Greyedout
31217 status open
31218
31219 \begin_layout Plain Layout
31220
31221 \series bold
31222 Note:
31223 \series default
31224  When arguments of 
31225 \series bold
31226
31227 \backslash
31228 scalebox
31229 \series default
31230  or 
31231 \series bold
31232
31233 \backslash
31234 resizebox
31235 \series default
31236  are set to zero, no LaTeX-errors occur when exporting the document but
31237  the exported files can not or only partly be displayed.
31238 \end_layout
31239
31240 \end_inset
31241
31242
31243 \end_layout
31244
31245 \begin_layout Standard
31246 \begin_inset VSpace bigskip
31247 \end_inset
31248
31249
31250 \end_layout
31251
31252 \begin_layout Standard
31253 The boxes can be combined in any order.
31254  E.
31255 \begin_inset space \thinspace{}
31256 \end_inset
31257
31258 g.
31259 \begin_inset space \space{}
31260 \end_inset
31261
31262 the command
31263 \begin_inset Newline newline
31264 \end_inset
31265
31266
31267 \series bold
31268
31269 \backslash
31270 rotatebox[origin=c]{-45}{
31271 \backslash
31272 resizebox{2cm}{!}{
31273 \backslash
31274 reflectbox{Hello}}}
31275 \begin_inset Newline newline
31276 \end_inset
31277
31278
31279 \series default
31280 produces:
31281 \end_layout
31282
31283 \begin_layout Standard
31284 \align center
31285 \begin_inset ERT
31286 status collapsed
31287
31288 \begin_layout Plain Layout
31289
31290
31291 \backslash
31292 rotatebox[origin=c]{-45}{
31293 \backslash
31294 resizebox{2cm}{!}{
31295 \backslash
31296 reflectbox{
31297 \end_layout
31298
31299 \end_inset
31300
31301 Hello
31302 \begin_inset ERT
31303 status collapsed
31304
31305 \begin_layout Plain Layout
31306
31307 }}}
31308 \end_layout
31309
31310 \end_inset
31311
31312
31313 \end_layout
31314
31315 \begin_layout Standard
31316 \noindent
31317 Images, tables, and inline formulas are allowed as box content:
31318 \end_layout
31319
31320 \begin_layout Standard
31321 \align center
31322 \begin_inset ERT
31323 status collapsed
31324
31325 \begin_layout Plain Layout
31326
31327
31328 \backslash
31329 rotatebox[origin=c]{-30}{
31330 \backslash
31331 resizebox{2cm}{!}{
31332 \backslash
31333 reflectbox{
31334 \end_layout
31335
31336 \end_inset
31337
31338
31339 \begin_inset Graphics
31340         filename clipart/platypus.eps
31341         lyxscale 50
31342         width 25col%
31343
31344 \end_inset
31345
31346
31347 \begin_inset ERT
31348 status collapsed
31349
31350 \begin_layout Plain Layout
31351
31352 }}}
31353 \end_layout
31354
31355 \end_inset
31356
31357
31358 \begin_inset ERT
31359 status collapsed
31360
31361 \begin_layout Plain Layout
31362
31363
31364 \backslash
31365 rotatebox[origin=c]{-45}{
31366 \backslash
31367 resizebox{2cm}{!}{
31368 \backslash
31369 reflectbox{
31370 \end_layout
31371
31372 \end_inset
31373
31374
31375 \begin_inset Tabular
31376 <lyxtabular version="3" rows="2" columns="2">
31377 <features>
31378 <column alignment="center" valignment="top" width="0">
31379 <column alignment="center" valignment="top" width="0">
31380 <row>
31381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31382 \begin_inset Text
31383
31384 \begin_layout Plain Layout
31385 q
31386 \end_layout
31387
31388 \end_inset
31389 </cell>
31390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31391 \begin_inset Text
31392
31393 \begin_layout Plain Layout
31394 w
31395 \end_layout
31396
31397 \end_inset
31398 </cell>
31399 </row>
31400 <row>
31401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31402 \begin_inset Text
31403
31404 \begin_layout Plain Layout
31405 e
31406 \end_layout
31407
31408 \end_inset
31409 </cell>
31410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31411 \begin_inset Text
31412
31413 \begin_layout Plain Layout
31414 r
31415 \end_layout
31416
31417 \end_inset
31418 </cell>
31419 </row>
31420 </lyxtabular>
31421
31422 \end_inset
31423
31424
31425 \begin_inset ERT
31426 status collapsed
31427
31428 \begin_layout Plain Layout
31429
31430 }}}
31431 \end_layout
31432
31433 \end_inset
31434
31435
31436 \begin_inset ERT
31437 status collapsed
31438
31439 \begin_layout Plain Layout
31440
31441
31442 \backslash
31443 rotatebox[origin=c]{-45}{
31444 \backslash
31445 resizebox{2cm}{!}{
31446 \backslash
31447 reflectbox{
31448 \end_layout
31449
31450 \end_inset
31451
31452
31453 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31454 \end_inset
31455
31456
31457 \begin_inset ERT
31458 status collapsed
31459
31460 \begin_layout Plain Layout
31461
31462 }}}
31463 \end_layout
31464
31465 \end_inset
31466
31467
31468 \end_layout
31469
31470 \begin_layout Standard
31471 When the global formula style 
31472 \series bold
31473 fleqn
31474 \series default
31475  is used in the document
31476 \begin_inset Foot
31477 status collapsed
31478
31479 \begin_layout Plain Layout
31480 When 
31481 \begin_inset Quotes eld
31482 \end_inset
31483
31484 fleqn
31485 \begin_inset Quotes erd
31486 \end_inset
31487
31488  is added to the document class options.
31489 \end_layout
31490
31491 \end_inset
31492
31493 , also display formulas can be scaled.
31494 \end_layout
31495
31496 \begin_layout Chapter
31497 External Document Parts
31498 \begin_inset Index
31499 status collapsed
31500
31501 \begin_layout Plain Layout
31502 External Document Parts
31503 \end_layout
31504
31505 \end_inset
31506
31507
31508 \end_layout
31509
31510 \begin_layout Standard
31511 With the menu 
31512 \family sans
31513 Insert\SpecialChar \menuseparator
31514 File
31515 \family default
31516  you can insert external material to your document.
31517  This can be:
31518 \end_layout
31519
31520 \begin_layout Description
31521 LyX
31522 \begin_inset space ~
31523 \end_inset
31524
31525 Document Another LyX document; its content is directly inserted to your
31526  document.
31527 \end_layout
31528
31529 \begin_layout Description
31530 Plain
31531 \begin_inset space ~
31532 \end_inset
31533
31534 Text A text document; every of its text lines is inserted to your document
31535  as own paragraph.
31536 \end_layout
31537
31538 \begin_layout Description
31539 Plain
31540 \begin_inset space ~
31541 \end_inset
31542
31543 Text,
31544 \begin_inset space ~
31545 \end_inset
31546
31547 Join
31548 \begin_inset space ~
31549 \end_inset
31550
31551 Lines A text document; its text lines are inserted as they are.
31552  Empty text lines creates a new paragraph in your document.
31553 \end_layout
31554
31555 \begin_layout Description
31556 External
31557 \begin_inset space ~
31558 \end_inset
31559
31560 Material Files in various formats.
31561 \end_layout
31562
31563 \begin_layout Description
31564 Child
31565 \begin_inset space ~
31566 \end_inset
31567
31568 Document LyX or LaTeX-documents.
31569 \end_layout
31570
31571 \begin_layout Section
31572 External Material
31573 \begin_inset Index
31574 status collapsed
31575
31576 \begin_layout Plain Layout
31577 External Document Parts ! External Material
31578 \end_layout
31579
31580 \end_inset
31581
31582
31583 \end_layout
31584
31585 \begin_layout Standard
31586 The external material feature allows you to insert files to your document
31587  without converting them previously to a format that can be read by the
31588  document output format because LyX takes care of needed conversions.
31589  This is similar to images that can be inserted in various image formats
31590  to LyX documents.
31591  When you have enabled Instant Preview in LyX's preferences under 
31592 \family sans
31593 Look
31594 \begin_inset space ~
31595 \end_inset
31596
31597 and
31598 \begin_inset space ~
31599 \end_inset
31600
31601 feel\SpecialChar \menuseparator
31602 Graphics
31603 \family default
31604 , the external material types Dia and Xfig is directly shown in LyX.
31605 \end_layout
31606
31607 \begin_layout Standard
31608 External material can be inserted via the 
31609 \family sans
31610 External Material
31611 \family default
31612  dialog that is accessible with the menu 
31613 \family sans
31614 Insert\SpecialChar \menuseparator
31615 File\SpecialChar \menuseparator
31616 External
31617 \begin_inset space ~
31618 \end_inset
31619
31620 Material
31621 \family default
31622 .
31623  Currently the following file types (
31624 \family sans
31625 Templates
31626 \family default
31627 ) are allowed:
31628 \end_layout
31629
31630 \begin_layout Description
31631 ChessDiagram This template supports chess position diagrams made with the
31632  program 
31633 \series bold
31634
31635 \begin_inset CommandInset href
31636 LatexCommand href
31637 name "XBoard"
31638 target "http://en.wikipedia.org/wiki/XBoard"
31639
31640 \end_inset
31641
31642
31643 \series default
31644 .
31645 \end_layout
31646
31647 \begin_layout Description
31648 Date This inserts the date in the form 
31649 \emph on
31650 Day-Month-Year
31651 \emph default
31652 .
31653  This is a date inserted as external material: 
31654 \begin_inset External
31655         template Date
31656         filename .
31657
31658 \end_inset
31659
31660
31661 \begin_inset space ~
31662 \end_inset
31663
31664
31665 \begin_inset Note Note
31666 status open
31667
31668 \begin_layout Plain Layout
31669 Remove the protected space when bug 4398 is fixed!
31670 \end_layout
31671
31672 \end_inset
31673
31674
31675 \begin_inset Newline newline
31676 \end_inset
31677
31678 The date is not shown within LyX, only in the output.
31679  There are two other methods of inserting a date: Via menu 
31680 \family sans
31681 Insert\SpecialChar \menuseparator
31682 Date
31683 \family default
31684  and with the LaTeX command 
31685 \series bold
31686
31687 \backslash
31688 today
31689 \series default
31690  as TeX-Code.
31691  The different methods are compared in Table
31692 \begin_inset space ~
31693 \end_inset
31694
31695
31696 \begin_inset CommandInset ref
31697 LatexCommand ref
31698 reference "tab:Comparison-of-the"
31699
31700 \end_inset
31701
31702 .
31703 \end_layout
31704
31705 \begin_layout Description
31706 Dia This template supports diagrams created with the program 
31707 \series bold
31708
31709 \begin_inset CommandInset href
31710 LatexCommand href
31711 name "Dia"
31712 target "http://en.wikipedia.org/wiki/Dia_(software)"
31713
31714 \end_inset
31715
31716
31717 \series default
31718 .
31719 \end_layout
31720
31721 \begin_layout Description
31722 LilyPond This template is used for music notation typeset with the program
31723 \begin_inset Newline linebreak
31724 \end_inset
31725
31726
31727 \series bold
31728
31729 \begin_inset CommandInset href
31730 LatexCommand href
31731 name "LilyPond"
31732 target "http://en.wikipedia.org/wiki/LilyPond"
31733
31734 \end_inset
31735
31736
31737 \series default
31738 .
31739 \end_layout
31740
31741 \begin_layout Description
31742 PDFPages With this template you can insert PDF documents to your document.
31743  To insert certain or all pages of a PDF, use the 
31744 \emph on
31745 pages
31746 \emph default
31747  option in the 
31748 \family sans
31749 Option
31750 \family default
31751  field in the 
31752 \family sans
31753 LaTeX and LyX options
31754 \family default
31755  tab according to the template description in the dialog.
31756  When no 
31757 \emph on
31758 pages
31759 \emph default
31760  option is given, only the first page of the PDF will be inserted.
31761 \end_layout
31762
31763 \begin_layout Description
31764 RasterImage This can be used for bitmap images.
31765  Nearly all popular image formats are supported.
31766  The image can be treated in the 
31767 \family sans
31768 External material
31769 \family default
31770  dialog like the images that are usually included via the 
31771 \family sans
31772 Graphics
31773 \family default
31774  dialog as described in section
31775 \begin_inset space ~
31776 \end_inset
31777
31778
31779 \begin_inset CommandInset ref
31780 LatexCommand ref
31781 reference "sec:Graphics-Dialog"
31782
31783 \end_inset
31784
31785 .
31786  The difference is that only raster images are allowed, that means that
31787  PDF and EPS-images are not supported.
31788 \end_layout
31789
31790 \begin_layout Description
31791 XFig This template supports images created with the program 
31792 \series bold
31793
31794 \begin_inset CommandInset href
31795 LatexCommand href
31796 name "Xfig"
31797 target "http://en.wikipedia.org/wiki/Xfig"
31798
31799 \end_inset
31800
31801
31802 \series default
31803 .
31804 \end_layout
31805
31806 \begin_layout Standard
31807 \begin_inset Float table
31808 placement h
31809 wide false
31810 sideways false
31811 status open
31812
31813 \begin_layout Plain Layout
31814 \begin_inset Caption
31815
31816 \begin_layout Plain Layout
31817 \begin_inset CommandInset label
31818 LatexCommand label
31819 name "tab:Comparison-of-the"
31820
31821 \end_inset
31822
31823 Comparison of the date input methods.
31824 \end_layout
31825
31826 \end_inset
31827
31828
31829 \end_layout
31830
31831 \begin_layout Plain Layout
31832 \align center
31833 \begin_inset Tabular
31834 <lyxtabular version="3" rows="4" columns="4">
31835 <features>
31836 <column alignment="center" valignment="top" width="0">
31837 <column alignment="center" valignment="top" width="0">
31838 <column alignment="center" valignment="top" width="0">
31839 <column alignment="center" valignment="top" width="0">
31840 <row>
31841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31842 \begin_inset Text
31843
31844 \begin_layout Plain Layout
31845 Document format
31846 \end_layout
31847
31848 \end_inset
31849 </cell>
31850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31851 \begin_inset Text
31852
31853 \begin_layout Plain Layout
31854
31855 \family sans
31856 External Material\SpecialChar \menuseparator
31857 Date
31858 \end_layout
31859
31860 \end_inset
31861 </cell>
31862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31863 \begin_inset Text
31864
31865 \begin_layout Plain Layout
31866
31867 \family sans
31868 Insert\SpecialChar \menuseparator
31869 Date
31870 \end_layout
31871
31872 \end_inset
31873 </cell>
31874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31875 \begin_inset Text
31876
31877 \begin_layout Plain Layout
31878 command 
31879 \series bold
31880
31881 \backslash
31882 today
31883 \end_layout
31884
31885 \end_inset
31886 </cell>
31887 </row>
31888 <row>
31889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31890 \begin_inset Text
31891
31892 \begin_layout Plain Layout
31893 LyX
31894 \end_layout
31895
31896 \end_inset
31897 </cell>
31898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31899 \begin_inset Text
31900
31901 \begin_layout Plain Layout
31902 as inset box
31903 \end_layout
31904
31905 \end_inset
31906 </cell>
31907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31908 \begin_inset Text
31909
31910 \begin_layout Plain Layout
31911 as date
31912 \end_layout
31913
31914 \end_inset
31915 </cell>
31916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31917 \begin_inset Text
31918
31919 \begin_layout Plain Layout
31920 as TeX-Code inset box
31921 \end_layout
31922
31923 \end_inset
31924 </cell>
31925 </row>
31926 <row>
31927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31928 \begin_inset Text
31929
31930 \begin_layout Plain Layout
31931 LaTeX
31932 \end_layout
31933
31934 \end_inset
31935 </cell>
31936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31937 \begin_inset Text
31938
31939 \begin_layout Plain Layout
31940 as date
31941 \end_layout
31942
31943 \end_inset
31944 </cell>
31945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31946 \begin_inset Text
31947
31948 \begin_layout Plain Layout
31949 as date
31950 \end_layout
31951
31952 \end_inset
31953 </cell>
31954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31955 \begin_inset Text
31956
31957 \begin_layout Plain Layout
31958 as command
31959 \end_layout
31960
31961 \end_inset
31962 </cell>
31963 </row>
31964 <row>
31965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31966 \begin_inset Text
31967
31968 \begin_layout Plain Layout
31969 DVI, PDF, PS
31970 \end_layout
31971
31972 \end_inset
31973 </cell>
31974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31975 \begin_inset Text
31976
31977 \begin_layout Plain Layout
31978 as date
31979 \end_layout
31980
31981 \end_inset
31982 </cell>
31983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31984 \begin_inset Text
31985
31986 \begin_layout Plain Layout
31987 as date
31988 \end_layout
31989
31990 \end_inset
31991 </cell>
31992 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31993 \begin_inset Text
31994
31995 \begin_layout Plain Layout
31996 as date
31997 \end_layout
31998
31999 \end_inset
32000 </cell>
32001 </row>
32002 </lyxtabular>
32003
32004 \end_inset
32005
32006
32007 \end_layout
32008
32009 \end_inset
32010
32011
32012 \end_layout
32013
32014 \begin_layout Standard
32015 When you use the option 
32016 \family sans
32017 Draft
32018 \family default
32019  in the 
32020 \family sans
32021 File
32022 \family default
32023  tab of the 
32024 \family sans
32025 External Material
32026 \family default
32027  dialog, only the path to the inserted file is shown in the output.
32028 \begin_inset Newline newline
32029 \end_inset
32030
32031 External material is displayed in LyX either as box like this: 
32032 \begin_inset Graphics
32033         filename clipart/ExternalMaterialQt4.png
32034         scale 85
32035         scaleBeforeRotation
32036
32037 \end_inset
32038
32039  or as image, depending on the option 
32040 \family sans
32041 Show in LyX
32042 \family default
32043  in the 
32044 \family sans
32045 LaTeX and LyX options
32046 \family default
32047  tab of the dialog.
32048 \end_layout
32049
32050 \begin_layout Standard
32051 The 
32052 \family sans
32053 \emph on
32054 Customization
32055 \family default
32056 \emph default
32057  manual explains how you can define your own templates.
32058 \end_layout
32059
32060 \begin_layout Section
32061 Child Documents
32062 \begin_inset CommandInset label
32063 LatexCommand label
32064 name "sec:Child-Documents"
32065
32066 \end_inset
32067
32068
32069 \begin_inset Index
32070 status collapsed
32071
32072 \begin_layout Plain Layout
32073 External Document Parts ! Child Documents
32074 \end_layout
32075
32076 \end_inset
32077
32078
32079 \begin_inset Index
32080 status collapsed
32081
32082 \begin_layout Plain Layout
32083 Files ! Include
32084 \end_layout
32085
32086 \end_inset
32087
32088
32089 \end_layout
32090
32091 \begin_layout Standard
32092 Child documents are used when you have a long document consisting of several
32093  larger parts or sections.
32094  For maintenance it is often useful and sometimes even required to split
32095  the document in several files that can be revised separately.
32096  The different documents are then the so called child documents and a master
32097  document connects them to print the full document or parts of it.
32098  A child documents inherits contents of its master, for example the LaTeX
32099  preamble, the bibliography, and labels for cross-references.
32100 \end_layout
32101
32102 \begin_layout Standard
32103 To be able to work on child documents without the need to open its master,
32104  specify in the child document the master in the menu
32105 \family sans
32106  Document\SpecialChar \menuseparator
32107 Settings\SpecialChar \menuseparator
32108 Document
32109 \begin_inset space ~
32110 \end_inset
32111
32112 Class
32113 \family default
32114 .
32115  This master document will then be used in the background by LyX when you
32116  edit the child document.
32117 \end_layout
32118
32119 \begin_layout Standard
32120 Included documents are displayed in LyX as a box like this: 
32121 \begin_inset Graphics
32122         filename clipart/ChildDocumentQt4.png
32123         scale 85
32124         scaleBeforeRotation
32125
32126 \end_inset
32127
32128  To include child documents to a master document use the menu 
32129 \family sans
32130 Insert\SpecialChar \menuseparator
32131 File\SpecialChar \menuseparator
32132 Child
32133 \begin_inset space ~
32134 \end_inset
32135
32136 Documents
32137 \family default
32138 .
32139  A dialog pops up where you can choose between four include methods:
32140 \end_layout
32141
32142 \begin_layout Description
32143 Include You can include LyX and LaTeX-documents.
32144  When you press the 
32145 \family sans
32146 Load
32147 \family default
32148  button in the 
32149 \family sans
32150 Child Document
32151 \family default
32152  dialog, the included documents will be opened in LyX in a new file tab
32153  so that you can modify it.
32154 \begin_inset Newline newline
32155 \end_inset
32156
32157
32158 \end_layout
32159
32160 \begin_layout Standard
32161 Here is a child document inserted using 
32162 \family sans
32163 Include
32164 \family default
32165
32166 \begin_inset CommandInset include
32167 LatexCommand include
32168 filename "DummyDocument1.lyx"
32169
32170 \end_inset
32171
32172
32173 \end_layout
32174
32175 \begin_layout Standard
32176 The section numbering includes the sections of the included files in the
32177  order they are inserted in the master document.
32178  The included example document has for example a subsection that is numbered
32179  as subsection of this section.
32180  Labels of included documents can be referenced: Subsection
32181 \begin_inset space ~
32182 \end_inset
32183
32184
32185 \begin_inset CommandInset ref
32186 LatexCommand ref
32187 reference "sub:External-Subsection-1"
32188
32189 \end_inset
32190
32191
32192 \end_layout
32193
32194 \begin_layout Standard
32195 The preamble of the child document is ignored, only the preamble of the
32196  master document is used.
32197  Branches in child documents will be ignored by the master document when
32198  the master document does not have a branch with the same name.
32199  Included documents are inserted starting on a new page and end with a page
32200  break.
32201 \end_layout
32202
32203 \begin_layout Standard
32204 In case you are only working on a certain chapter of a large document and
32205  want to save compiling time, you can put each included file into a branch.
32206 \begin_inset Foot
32207 status collapsed
32208
32209 \begin_layout Plain Layout
32210 Branches are described in section 
32211 \emph on
32212 Branches
32213 \emph default
32214  of the LyX 
32215 \emph on
32216 Userguide
32217 \emph default
32218 .
32219 \end_layout
32220
32221 \end_inset
32222
32223  By enabling/disabling branches you can decide what included files will
32224  appear in the output.
32225 \end_layout
32226
32227 \begin_layout Standard
32228 \begin_inset Note Greyedout
32229 status open
32230
32231 \begin_layout Plain Layout
32232
32233 \series bold
32234 Note:
32235 \series default
32236  Due to a bug in LyX the LaTeX command 
32237 \series bold
32238
32239 \backslash
32240 includeonly
32241 \series default
32242  can currently not be used as alternative to decide what files should be
32243  included.
32244 \end_layout
32245
32246 \end_inset
32247
32248
32249 \end_layout
32250
32251 \begin_layout Standard
32252 \begin_inset Note Greyedout
32253 status open
32254
32255 \begin_layout Plain Layout
32256
32257 \series bold
32258 Note:
32259 \series default
32260  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
32261 w the document in case that the child document uses another document class
32262  than the master document as this will lead to unexpected outputs.
32263 \end_layout
32264
32265 \end_inset
32266
32267
32268 \end_layout
32269
32270 \begin_layout Description
32271 Input This method is very similar to the Include method.
32272  The differences are:
32273 \end_layout
32274
32275 \begin_deeper
32276 \begin_layout Itemize
32277 Input files don't start with a new page and don't end with a page break.
32278 \end_layout
32279
32280 \begin_layout Itemize
32281 Input files can be previewed in LyX when 
32282 \family sans
32283 Instant
32284 \begin_inset space ~
32285 \end_inset
32286
32287 Preview
32288 \family default
32289  is enabled in LyX's preferences under 
32290 \family sans
32291 Look
32292 \begin_inset space ~
32293 \end_inset
32294
32295 and
32296 \begin_inset space ~
32297 \end_inset
32298
32299 feel\SpecialChar \menuseparator
32300 Graphics
32301 \family default
32302 .
32303 \end_layout
32304
32305 \begin_layout Itemize
32306 The LaTeX-command 
32307 \series bold
32308
32309 \backslash
32310 includeonly
32311 \series default
32312  cannot be used.
32313 \end_layout
32314
32315 \end_deeper
32316 \begin_layout Standard
32317 Here is a child document inserted using 
32318 \family sans
32319 Input
32320 \family default
32321
32322 \begin_inset CommandInset include
32323 LatexCommand input
32324 filename "DummyDocument2.lyx"
32325
32326 \end_inset
32327
32328
32329 \end_layout
32330
32331 \begin_layout Description
32332 Verbatim With this method every text file can be included.
32333  The file is shown in the output with its source code, no command used in
32334  the text is invoked.
32335  You can use the option 
32336 \family sans
32337 Mark spaces in output
32338 \family default
32339  that displays the character 
32340 \begin_inset Quotes eld
32341 \end_inset
32342
32343
32344 \begin_inset ERT
32345 status collapsed
32346
32347 \begin_layout Plain Layout
32348
32349
32350 \backslash
32351 textvisiblespace 
32352 \end_layout
32353
32354 \end_inset
32355
32356
32357 \begin_inset Quotes erd
32358 \end_inset
32359
32360  for every space character in the source code.
32361  The difference to the method via the menu 
32362 \family sans
32363 Insert\SpecialChar \menuseparator
32364 File\SpecialChar \menuseparator
32365 Plain
32366 \begin_inset space ~
32367 \end_inset
32368
32369 Text
32370 \family default
32371  is that the document content is not shown in LyX.
32372 \end_layout
32373
32374 \begin_layout Standard
32375 Here is a child document inserted as Verbatim: 
32376 \begin_inset CommandInset include
32377 LatexCommand verbatiminput
32378 filename "DummyTextDocument.txt"
32379
32380 \end_inset
32381
32382
32383 \begin_inset VSpace bigskip
32384 \end_inset
32385
32386 Here is a child document inserted as Verbatim using the 
32387 \family sans
32388 Mark spaces in output
32389 \family default
32390  option: 
32391 \begin_inset CommandInset include
32392 LatexCommand verbatiminput*
32393 filename "DummyTextDocument.txt"
32394
32395 \end_inset
32396
32397
32398 \end_layout
32399
32400 \begin_layout Standard
32401 \begin_inset VSpace bigskip
32402 \end_inset
32403
32404
32405 \end_layout
32406
32407 \begin_layout Standard
32408 \begin_inset Note Greyedout
32409 status open
32410
32411 \begin_layout Plain Layout
32412
32413 \series bold
32414 Note:
32415 \series default
32416  As you can see in the examples above, the text of the documents included
32417  as 
32418 \family sans
32419 verbatim
32420 \family default
32421  is not broken at the end of the document lines.
32422 \end_layout
32423
32424 \end_inset
32425
32426
32427 \end_layout
32428
32429 \begin_layout Description
32430 Listings This type is described in chapter
32431 \begin_inset space ~
32432 \end_inset
32433
32434
32435 \begin_inset CommandInset ref
32436 LatexCommand ref
32437 reference "cha:Program-Code-Listings"
32438
32439 \end_inset
32440
32441 .
32442 \end_layout
32443
32444 \begin_layout Standard
32445 \begin_inset Note Greyedout
32446 status open
32447
32448 \begin_layout Plain Layout
32449
32450 \series bold
32451 Note:
32452 \series default
32453  Including the same document twice in a document using different methods
32454  could cause LaTeX-problems.
32455 \end_layout
32456
32457 \end_inset
32458
32459
32460 \end_layout
32461
32462 \begin_layout Chapter
32463 Program Code Listings
32464 \begin_inset CommandInset label
32465 LatexCommand label
32466 name "cha:Program-Code-Listings"
32467
32468 \end_inset
32469
32470
32471 \begin_inset Index
32472 status collapsed
32473
32474 \begin_layout Plain Layout
32475 Listings
32476 \end_layout
32477
32478 \end_inset
32479
32480
32481 \begin_inset Index
32482 status collapsed
32483
32484 \begin_layout Plain Layout
32485 Program Code
32486 \end_layout
32487
32488 \end_inset
32489
32490
32491 \begin_inset Index
32492 status collapsed
32493
32494 \begin_layout Plain Layout
32495 Floats ! Listings
32496 \end_layout
32497
32498 \end_inset
32499
32500
32501 \end_layout
32502
32503 \begin_layout Standard
32504 To include and typeset program code you can use the 
32505 \family sans
32506 Listings
32507 \family default
32508  inset that can be inserted via the menu 
32509 \family sans
32510 Insert\SpecialChar \menuseparator
32511 Program Listing
32512 \family default
32513 .
32514  The LaTeX-package 
32515 \series bold
32516 listings
32517 \series default
32518
32519 \begin_inset Index
32520 status collapsed
32521
32522 \begin_layout Plain Layout
32523 LaTeX-packages ! listings
32524 \end_layout
32525
32526 \end_inset
32527
32528  provides a powerful and flexible way to insert program source code to your
32529  document.
32530 \end_layout
32531
32532 \begin_layout Standard
32533 Right-clicking on a listings inset opens the context menu containing where
32534  you can set the listings format.
32535 \end_layout
32536
32537 \begin_layout Standard
32538 By default, a listing starts a new paragraph in the output.
32539  The placement option 
32540 \family sans
32541 Inline
32542 \begin_inset space ~
32543 \end_inset
32544
32545 listing
32546 \family default
32547  prints the listing inline like this: 
32548 \begin_inset listings
32549 lstparams "language={C++}"
32550 inline true
32551 status open
32552
32553 \begin_layout Plain Layout
32554
32555 int a=5;
32556 \end_layout
32557
32558 \end_inset
32559
32560
32561 \begin_inset Newline newline
32562 \end_inset
32563
32564 The option 
32565 \family sans
32566 Float
32567 \family default
32568  creates a listings float where you can specify the placement options 
32569 \begin_inset Quotes eld
32570 \end_inset
32571
32572
32573 \family sans
32574 h
32575 \family default
32576
32577 \begin_inset Quotes erd
32578 \end_inset
32579
32580
32581 \begin_inset Quotes eld
32582 \end_inset
32583
32584
32585 \family sans
32586 t
32587 \family default
32588
32589 \begin_inset Quotes erd
32590 \end_inset
32591
32592
32593 \begin_inset Quotes eld
32594 \end_inset
32595
32596
32597 \family sans
32598 b
32599 \family default
32600
32601 \begin_inset Quotes erd
32602 \end_inset
32603
32604 , and 
32605 \begin_inset Quotes eld
32606 \end_inset
32607
32608
32609 \family sans
32610 p
32611 \family default
32612
32613 \begin_inset Quotes erd
32614 \end_inset
32615
32616  corresponding to the float placement options described in section
32617 \begin_inset space ~
32618 \end_inset
32619
32620
32621 \begin_inset CommandInset ref
32622 LatexCommand ref
32623 reference "sec:Float-Placement"
32624
32625 \end_inset
32626
32627 .
32628  The placement options can be mixed and are inserted without any separation,
32629  e.
32630 \begin_inset space \thinspace{}
32631 \end_inset
32632
32633 g.
32634 \begin_inset space \space{}
32635 \end_inset
32636
32637
32638 \begin_inset Quotes eld
32639 \end_inset
32640
32641
32642 \family sans
32643 htbp
32644 \family default
32645
32646 \begin_inset Quotes erd
32647 \end_inset
32648
32649 .
32650  The option 
32651 \begin_inset Quotes eld
32652 \end_inset
32653
32654 h
32655 \begin_inset Quotes erd
32656 \end_inset
32657
32658  has sometimes no effect, but you don't need to use the 
32659 \family sans
32660 Float
32661 \family default
32662  option in this case as also non-float listings can have captions and be
32663  referenced.
32664 \end_layout
32665
32666 \begin_layout Standard
32667 You can add captions to listings with the menu 
32668 \family sans
32669 Insert\SpecialChar \menuseparator
32670 Caption
32671 \family default
32672 .
32673  Listings can be referenced like floats: Listing
32674 \begin_inset space ~
32675 \end_inset
32676
32677
32678 \begin_inset CommandInset ref
32679 LatexCommand ref
32680 reference "lst:Example-Listing"
32681
32682 \end_inset
32683
32684
32685 \end_layout
32686
32687 \begin_layout Standard
32688 \begin_inset listings
32689 lstparams "language=Python"
32690 inline false
32691 status open
32692
32693 \begin_layout Plain Layout
32694
32695 \begin_inset Caption
32696
32697 \begin_layout Plain Layout
32698 \begin_inset CommandInset label
32699 LatexCommand label
32700 name "lst:Example-Listing"
32701
32702 \end_inset
32703
32704 Example Listing float
32705 \end_layout
32706
32707 \end_inset
32708
32709 # Example listing float
32710 \end_layout
32711
32712 \begin_layout Plain Layout
32713
32714 def func(param):
32715 \end_layout
32716
32717 \begin_layout Plain Layout
32718
32719     'this is a python function'
32720 \end_layout
32721
32722 \begin_layout Plain Layout
32723
32724     pass
32725 \end_layout
32726
32727 \end_inset
32728
32729
32730 \end_layout
32731
32732 \begin_layout Standard
32733 When you have set a programming language in the listings dialog, the keywords
32734  of this language will be recognized and specially typeset in the output.
32735  In the example listings the Python keyword 
32736 \begin_inset Quotes eld
32737 \end_inset
32738
32739 def
32740 \begin_inset Quotes erd
32741 \end_inset
32742
32743  is recognized and printed bold in the output.
32744 \end_layout
32745
32746 \begin_layout Standard
32747 \begin_inset Note Greyedout
32748 status open
32749
32750 \begin_layout Plain Layout
32751
32752 \series bold
32753 Note:
32754 \series default
32755  If you don't get bold keywords when using typewriter fonts, your 
32756 \family typewriter
32757 typewriter
32758 \family default
32759  font probably doesn't provide a bold shape.
32760  In this case select a different one in the menu 
32761 \family sans
32762 Document\SpecialChar \menuseparator
32763 Settings\SpecialChar \menuseparator
32764 Fonts
32765 \family default
32766 .
32767  (The fonts 
32768 \emph on
32769 LuxiMono, BeraMono
32770 \emph default
32771  and 
32772 \emph on
32773 Courier
32774 \emph default
32775  provide bold shapes.)
32776 \end_layout
32777
32778 \end_inset
32779
32780
32781 \end_layout
32782
32783 \begin_layout Standard
32784 In section 
32785 \family sans
32786 Line
32787 \begin_inset space ~
32788 \end_inset
32789
32790 numbering
32791 \family default
32792  of the listings dialog you can specify the line numbering style.
32793  You can insert a number to specify which lines are numbered to the field
32794  
32795 \family sans
32796 Step
32797 \family default
32798 .
32799  When you insert e.
32800 \begin_inset space \thinspace{}
32801 \end_inset
32802
32803 g.
32804 \begin_inset space \space{}
32805 \end_inset
32806
32807
32808 \begin_inset Quotes eld
32809 \end_inset
32810
32811 3
32812 \begin_inset Quotes erd
32813 \end_inset
32814
32815 , only every 3rd line will be numbered.
32816 \end_layout
32817
32818 \begin_layout Standard
32819 You can furthermore specify a range of lines, only these will then appear
32820  in the output.
32821  The option 
32822 \family sans
32823 Extended character table
32824 \family default
32825  should be used when you use national characters like the German umlauts
32826  in the listing.
32827 \begin_inset Newline newline
32828 \end_inset
32829
32830 Here is an example listing with left line numbering, step 
32831 \begin_inset Quotes eld
32832 \end_inset
32833
32834 3
32835 \begin_inset Quotes erd
32836 \end_inset
32837
32838 , language 
32839 \begin_inset Quotes eld
32840 \end_inset
32841
32842 Python
32843 \begin_inset Quotes erd
32844 \end_inset
32845
32846 , options 
32847 \begin_inset Quotes eld
32848 \end_inset
32849
32850 Extended character table
32851 \begin_inset Quotes erd
32852 \end_inset
32853
32854  and 
32855 \begin_inset Quotes eld
32856 \end_inset
32857
32858 Space
32859 \begin_inset space ~
32860 \end_inset
32861
32862 as
32863 \begin_inset space ~
32864 \end_inset
32865
32866 symbol
32867 \begin_inset Quotes erd
32868 \end_inset
32869
32870 , range lines 3
32871 \begin_inset space \thinspace{}
32872 \end_inset
32873
32874 -
32875 \begin_inset space \thinspace{}
32876 \end_inset
32877
32878 8:
32879 \end_layout
32880
32881 \begin_layout Standard
32882 \begin_inset listings
32883 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32884 inline false
32885 status open
32886
32887 \begin_layout Plain Layout
32888
32889 def func(param):
32890 \end_layout
32891
32892 \begin_layout Plain Layout
32893
32894     'this is a python function'
32895 \end_layout
32896
32897 \begin_layout Plain Layout
32898
32899     pass
32900 \end_layout
32901
32902 \begin_layout Plain Layout
32903
32904 def func(param):
32905 \end_layout
32906
32907 \begin_layout Plain Layout
32908
32909 'This is a German word: Tschüß'
32910 \end_layout
32911
32912 \begin_layout Plain Layout
32913
32914 pass
32915 \end_layout
32916
32917 \begin_layout Plain Layout
32918
32919 def func(param):
32920 \end_layout
32921
32922 \begin_layout Plain Layout
32923
32924 'this is a python function'
32925 \end_layout
32926
32927 \begin_layout Plain Layout
32928
32929 pass
32930 \end_layout
32931
32932 \end_inset
32933
32934
32935 \end_layout
32936
32937 \begin_layout Standard
32938 When you have tabulators in your listing, you can specify the number of
32939  characters that are spanned by a tabulator in the field 
32940 \family sans
32941 Tabulator
32942 \begin_inset space ~
32943 \end_inset
32944
32945 size
32946 \family default
32947 .
32948 \end_layout
32949
32950 \begin_layout Standard
32951 \begin_inset Note Greyedout
32952 status open
32953
32954 \begin_layout Plain Layout
32955
32956 \series bold
32957 Note:
32958 \series default
32959  Due to a bug in the 
32960 \series bold
32961 listings
32962 \series default
32963  package the line numbering is shifted by a line by every previous listing.
32964  That's the reason why the lines 2 and 5 are numbered in the above listing
32965  and not the lines 3 and 6.
32966 \end_layout
32967
32968 \end_inset
32969
32970
32971 \end_layout
32972
32973 \begin_layout Standard
32974 \begin_inset VSpace bigskip
32975 \end_inset
32976
32977
32978 \end_layout
32979
32980 \begin_layout Standard
32981 It is also possible to print lines from a file as listing.
32982  To do this, use the menu 
32983 \family sans
32984 Insert\SpecialChar \menuseparator
32985 File\SpecialChar \menuseparator
32986 Child Document
32987 \family default
32988  and choose the type 
32989 \family sans
32990 Listings
32991 \family default
32992 .
32993 \begin_inset Foot
32994 status collapsed
32995
32996 \begin_layout Plain Layout
32997 The other child document types are described in section
32998 \begin_inset space ~
32999 \end_inset
33000
33001
33002 \begin_inset CommandInset ref
33003 LatexCommand ref
33004 reference "sec:Child-Documents"
33005
33006 \end_inset
33007
33008 .
33009 \end_layout
33010
33011 \end_inset
33012
33013  In the child document dialog you can specify the listing parameters in
33014  a text box.
33015  To show a list of all available parameters, type in a question mark 
33016 \begin_inset Quotes eld
33017 \end_inset
33018
33019 ?
33020 \begin_inset Quotes erd
33021 \end_inset
33022
33023  in the text box.
33024 \end_layout
33025
33026 \begin_layout Standard
33027 To reference child document listings, write a label text into the corresponding
33028  field of the child document dialog.
33029  The label can then be referenced using the menu 
33030 \family sans
33031 Insert\SpecialChar \menuseparator
33032 Cross-Reference
33033 \family default
33034 .
33035 \end_layout
33036
33037 \begin_layout Standard
33038 Listing
33039 \begin_inset space ~
33040 \end_inset
33041
33042
33043 \begin_inset CommandInset ref
33044 LatexCommand ref
33045 reference "lst:file-listing"
33046
33047 \end_inset
33048
33049  is an example for a listing of a file; there the lines 10
33050 \begin_inset space \thinspace{}
33051 \end_inset
33052
33053 -
33054 \begin_inset space \thinspace{}
33055 \end_inset
33056
33057 15 of this LyX file are listed.
33058 \end_layout
33059
33060 \begin_layout Standard
33061 \begin_inset CommandInset include
33062 LatexCommand lstinputlisting
33063 filename "EmbeddedObjects.lyx"
33064 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33065
33066 \end_inset
33067
33068
33069 \end_layout
33070
33071 \begin_layout Standard
33072 \begin_inset VSpace bigskip
33073 \end_inset
33074
33075
33076 \end_layout
33077
33078 \begin_layout Standard
33079 Global listings settings can be set in the 
33080 \family sans
33081 Document\SpecialChar \menuseparator
33082 Settings\SpecialChar \menuseparator
33083 Text Layout
33084 \family default
33085  dialog.
33086  To get there a list of available options, type in a question mark 
33087 \begin_inset Quotes eld
33088 \end_inset
33089
33090 ?
33091 \begin_inset Quotes erd
33092 \end_inset
33093
33094  in the 
33095 \family sans
33096 Listings
33097 \begin_inset space ~
33098 \end_inset
33099
33100 settings
33101 \family default
33102  field.
33103 \end_layout
33104
33105 \begin_layout Standard
33106 For more information about the 
33107 \series bold
33108 listings
33109 \series default
33110  package, we refer to its documentation 
33111 \begin_inset CommandInset citation
33112 LatexCommand cite
33113 key "listings"
33114
33115 \end_inset
33116
33117 .
33118 \end_layout
33119
33120 \begin_layout Standard
33121 \begin_inset Newpage newpage
33122 \end_inset
33123
33124
33125 \end_layout
33126
33127 \begin_layout Chapter
33128 \start_of_appendix
33129 Units available in LyX
33130 \begin_inset Index
33131 status collapsed
33132
33133 \begin_layout Plain Layout
33134 Units
33135 \end_layout
33136
33137 \end_inset
33138
33139
33140 \begin_inset CommandInset label
33141 LatexCommand label
33142 name "cha:Units-available-in"
33143
33144 \end_inset
33145
33146
33147 \end_layout
33148
33149 \begin_layout Standard
33150 To understand the units described in this documentation, Table
33151 \begin_inset space ~
33152 \end_inset
33153
33154
33155 \begin_inset CommandInset ref
33156 LatexCommand ref
33157 reference "tab:Units"
33158
33159 \end_inset
33160
33161  explains all units available in LyX.
33162 \end_layout
33163
33164 \begin_layout Standard
33165 \begin_inset Float table
33166 placement h
33167 wide false
33168 sideways false
33169 status open
33170
33171 \begin_layout Plain Layout
33172 \begin_inset Caption
33173
33174 \begin_layout Plain Layout
33175 \begin_inset CommandInset label
33176 LatexCommand label
33177 name "tab:Units"
33178
33179 \end_inset
33180
33181 Units
33182 \end_layout
33183
33184 \end_inset
33185
33186
33187 \end_layout
33188
33189 \begin_layout Plain Layout
33190 \begin_inset VSpace medskip
33191 \end_inset
33192
33193
33194 \end_layout
33195
33196 \begin_layout Plain Layout
33197 \align center
33198 \begin_inset Tabular
33199 <lyxtabular version="3" rows="20" columns="2">
33200 <features>
33201 <column alignment="center" valignment="top" width="0">
33202 <column alignment="center" valignment="top" width="0">
33203 <row>
33204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33205 \begin_inset Text
33206
33207 \begin_layout Plain Layout
33208 unit
33209 \end_layout
33210
33211 \end_inset
33212 </cell>
33213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33214 \begin_inset Text
33215
33216 \begin_layout Plain Layout
33217 name/description
33218 \end_layout
33219
33220 \end_inset
33221 </cell>
33222 </row>
33223 <row>
33224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33225 \begin_inset Text
33226
33227 \begin_layout Plain Layout
33228 mm
33229 \end_layout
33230
33231 \end_inset
33232 </cell>
33233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33234 \begin_inset Text
33235
33236 \begin_layout Plain Layout
33237 millimeter
33238 \end_layout
33239
33240 \end_inset
33241 </cell>
33242 </row>
33243 <row>
33244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33245 \begin_inset Text
33246
33247 \begin_layout Plain Layout
33248 cm
33249 \end_layout
33250
33251 \end_inset
33252 </cell>
33253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33254 \begin_inset Text
33255
33256 \begin_layout Plain Layout
33257 centimeter
33258 \end_layout
33259
33260 \end_inset
33261 </cell>
33262 </row>
33263 <row>
33264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33265 \begin_inset Text
33266
33267 \begin_layout Plain Layout
33268 in
33269 \end_layout
33270
33271 \end_inset
33272 </cell>
33273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33274 \begin_inset Text
33275
33276 \begin_layout Plain Layout
33277 inch
33278 \end_layout
33279
33280 \end_inset
33281 </cell>
33282 </row>
33283 <row>
33284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33285 \begin_inset Text
33286
33287 \begin_layout Plain Layout
33288 pt
33289 \end_layout
33290
33291 \end_inset
33292 </cell>
33293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33294 \begin_inset Text
33295
33296 \begin_layout Plain Layout
33297 point (72.27
33298 \begin_inset space \thinspace{}
33299 \end_inset
33300
33301 pt = 1
33302 \begin_inset space \thinspace{}
33303 \end_inset
33304
33305 in)
33306 \end_layout
33307
33308 \end_inset
33309 </cell>
33310 </row>
33311 <row>
33312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33313 \begin_inset Text
33314
33315 \begin_layout Plain Layout
33316 pc
33317 \end_layout
33318
33319 \end_inset
33320 </cell>
33321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33322 \begin_inset Text
33323
33324 \begin_layout Plain Layout
33325 pica (1
33326 \begin_inset space \thinspace{}
33327 \end_inset
33328
33329 pc = 12
33330 \begin_inset space \thinspace{}
33331 \end_inset
33332
33333 pt)
33334 \end_layout
33335
33336 \end_inset
33337 </cell>
33338 </row>
33339 <row>
33340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33341 \begin_inset Text
33342
33343 \begin_layout Plain Layout
33344 sp
33345 \end_layout
33346
33347 \end_inset
33348 </cell>
33349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33350 \begin_inset Text
33351
33352 \begin_layout Plain Layout
33353 scaled point (65536
33354 \begin_inset space \thinspace{}
33355 \end_inset
33356
33357 sp = 1
33358 \begin_inset space \thinspace{}
33359 \end_inset
33360
33361 pt)
33362 \end_layout
33363
33364 \end_inset
33365 </cell>
33366 </row>
33367 <row>
33368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33369 \begin_inset Text
33370
33371 \begin_layout Plain Layout
33372 bp
33373 \end_layout
33374
33375 \end_inset
33376 </cell>
33377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33378 \begin_inset Text
33379
33380 \begin_layout Plain Layout
33381 big point (72
33382 \begin_inset space \thinspace{}
33383 \end_inset
33384
33385 bp = 1
33386 \begin_inset space \thinspace{}
33387 \end_inset
33388
33389 in)
33390 \end_layout
33391
33392 \end_inset
33393 </cell>
33394 </row>
33395 <row>
33396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33397 \begin_inset Text
33398
33399 \begin_layout Plain Layout
33400 dd
33401 \end_layout
33402
33403 \end_inset
33404 </cell>
33405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33406 \begin_inset Text
33407
33408 \begin_layout Plain Layout
33409 didot (1
33410 \begin_inset space \thinspace{}
33411 \end_inset
33412
33413 dd 
33414 \begin_inset Formula $\approx$
33415 \end_inset
33416
33417  0.376
33418 \begin_inset space \thinspace{}
33419 \end_inset
33420
33421 mm)
33422 \end_layout
33423
33424 \end_inset
33425 </cell>
33426 </row>
33427 <row>
33428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33429 \begin_inset Text
33430
33431 \begin_layout Plain Layout
33432 cc
33433 \end_layout
33434
33435 \end_inset
33436 </cell>
33437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33438 \begin_inset Text
33439
33440 \begin_layout Plain Layout
33441 cicero (1
33442 \begin_inset space \thinspace{}
33443 \end_inset
33444
33445 cc = 12
33446 \begin_inset space \thinspace{}
33447 \end_inset
33448
33449 dd)
33450 \end_layout
33451
33452 \end_inset
33453 </cell>
33454 </row>
33455 <row>
33456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33457 \begin_inset Text
33458
33459 \begin_layout Plain Layout
33460 Scale%
33461 \end_layout
33462
33463 \end_inset
33464 </cell>
33465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33466 \begin_inset Text
33467
33468 \begin_layout Plain Layout
33469 % of original image width
33470 \end_layout
33471
33472 \end_inset
33473 </cell>
33474 </row>
33475 <row>
33476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33477 \begin_inset Text
33478
33479 \begin_layout Plain Layout
33480 text%
33481 \end_layout
33482
33483 \end_inset
33484 </cell>
33485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33486 \begin_inset Text
33487
33488 \begin_layout Plain Layout
33489 % of text width
33490 \end_layout
33491
33492 \end_inset
33493 </cell>
33494 </row>
33495 <row>
33496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33497 \begin_inset Text
33498
33499 \begin_layout Plain Layout
33500 col%
33501 \end_layout
33502
33503 \end_inset
33504 </cell>
33505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33506 \begin_inset Text
33507
33508 \begin_layout Plain Layout
33509 % of column width
33510 \end_layout
33511
33512 \end_inset
33513 </cell>
33514 </row>
33515 <row>
33516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33517 \begin_inset Text
33518
33519 \begin_layout Plain Layout
33520 page%
33521 \end_layout
33522
33523 \end_inset
33524 </cell>
33525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33526 \begin_inset Text
33527
33528 \begin_layout Plain Layout
33529 % of paper width
33530 \end_layout
33531
33532 \end_inset
33533 </cell>
33534 </row>
33535 <row>
33536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33537 \begin_inset Text
33538
33539 \begin_layout Plain Layout
33540 line%
33541 \end_layout
33542
33543 \end_inset
33544 </cell>
33545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33546 \begin_inset Text
33547
33548 \begin_layout Plain Layout
33549 % of line width
33550 \end_layout
33551
33552 \end_inset
33553 </cell>
33554 </row>
33555 <row>
33556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33557 \begin_inset Text
33558
33559 \begin_layout Plain Layout
33560 theight%
33561 \end_layout
33562
33563 \end_inset
33564 </cell>
33565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33566 \begin_inset Text
33567
33568 \begin_layout Plain Layout
33569 % of text height
33570 \end_layout
33571
33572 \end_inset
33573 </cell>
33574 </row>
33575 <row>
33576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33577 \begin_inset Text
33578
33579 \begin_layout Plain Layout
33580 pheight%
33581 \end_layout
33582
33583 \end_inset
33584 </cell>
33585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33586 \begin_inset Text
33587
33588 \begin_layout Plain Layout
33589 % of paper height
33590 \end_layout
33591
33592 \end_inset
33593 </cell>
33594 </row>
33595 <row>
33596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33597 \begin_inset Text
33598
33599 \begin_layout Plain Layout
33600 ex
33601 \end_layout
33602
33603 \end_inset
33604 </cell>
33605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33606 \begin_inset Text
33607
33608 \begin_layout Plain Layout
33609 height of letter 
33610 \emph on
33611 x
33612 \emph default
33613  in current font
33614 \end_layout
33615
33616 \end_inset
33617 </cell>
33618 </row>
33619 <row>
33620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33621 \begin_inset Text
33622
33623 \begin_layout Plain Layout
33624 em
33625 \end_layout
33626
33627 \end_inset
33628 </cell>
33629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33630 \begin_inset Text
33631
33632 \begin_layout Plain Layout
33633 width of letter 
33634 \emph on
33635 M
33636 \emph default
33637  in current font
33638 \end_layout
33639
33640 \end_inset
33641 </cell>
33642 </row>
33643 <row>
33644 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33645 \begin_inset Text
33646
33647 \begin_layout Plain Layout
33648 mu
33649 \end_layout
33650
33651 \end_inset
33652 </cell>
33653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33654 \begin_inset Text
33655
33656 \begin_layout Plain Layout
33657 math unit (1
33658 \begin_inset space \thinspace{}
33659 \end_inset
33660
33661 mu = 1/18
33662 \begin_inset space \thinspace{}
33663 \end_inset
33664
33665 em)
33666 \end_layout
33667
33668 \end_inset
33669 </cell>
33670 </row>
33671 </lyxtabular>
33672
33673 \end_inset
33674
33675
33676 \end_layout
33677
33678 \end_inset
33679
33680
33681 \end_layout
33682
33683 \begin_layout Chapter
33684 Output File Formats with Graphics
33685 \begin_inset CommandInset label
33686 LatexCommand label
33687 name "cha:Output-File-Formats"
33688
33689 \end_inset
33690
33691
33692 \end_layout
33693
33694 \begin_layout Section
33695 DVI
33696 \begin_inset Index
33697 status collapsed
33698
33699 \begin_layout Plain Layout
33700 File Formats ! DVI
33701 \end_layout
33702
33703 \end_inset
33704
33705
33706 \begin_inset Index
33707 status collapsed
33708
33709 \begin_layout Plain Layout
33710 DVI|see
33711 \begin_inset ERT
33712 status collapsed
33713
33714 \begin_layout Plain Layout
33715
33716 {
33717 \end_layout
33718
33719 \end_inset
33720
33721 File Formats
33722 \begin_inset ERT
33723 status collapsed
33724
33725 \begin_layout Plain Layout
33726
33727 }
33728 \end_layout
33729
33730 \end_inset
33731
33732
33733 \end_layout
33734
33735 \end_inset
33736
33737
33738 \end_layout
33739
33740 \begin_layout Standard
33741 This file type has the extension 
33742 \begin_inset Quotes eld
33743 \end_inset
33744
33745
33746 \family typewriter
33747 .dvi
33748 \family default
33749
33750 \begin_inset Quotes erd
33751 \end_inset
33752
33753 .
33754  It is called 
33755 \begin_inset Quotes eld
33756 \end_inset
33757
33758 device-independent
33759 \begin_inset Quotes erd
33760 \end_inset
33761
33762  (DVI), because it is completely portable; you can move them from one machine
33763  to another without needing to do any sort of conversion.
33764  At the time when this file-format was developed, this was no matter of
33765  course.
33766  DVIs are used for quick previews and as pre-stage for other output formats,
33767  like PostScript.
33768 \end_layout
33769
33770 \begin_layout Standard
33771 \begin_inset Note Greyedout
33772 status open
33773
33774 \begin_layout Plain Layout
33775
33776 \series bold
33777 Note:
33778 \series default
33779  DVI-files doesn't contain images, they will only be a linked.
33780 \end_layout
33781
33782 \end_inset
33783
33784  So don't forget this, if you move your 
33785 \family typewriter
33786 .dvi
33787 \family default
33788  file to another computer.
33789  This property can also slow down your computer when you view the DVI.
33790  Because the DVI-viewer has to convert the image in the background to make
33791  it visible when you scroll in the DVI.
33792  So we recommend to use PDF for files with many images.
33793 \end_layout
33794
33795 \begin_layout Standard
33796 You can export your document to DVI by using the menu 
33797 \family sans
33798 File\SpecialChar \menuseparator
33799 Export\SpecialChar \menuseparator
33800 DVI
33801 \family default
33802 .
33803  You can view your document as DVI via the 
33804 \family sans
33805 View
33806 \family default
33807  menu or by using the toolbar button 
33808 \begin_inset Graphics
33809         filename ../images/buffer-view_dvi.png
33810         scale 85
33811         scaleBeforeRotation
33812
33813 \end_inset
33814
33815 .
33816 \end_layout
33817
33818 \begin_layout Section
33819 PostScript
33820 \begin_inset CommandInset label
33821 LatexCommand label
33822 name "sec:PostScript"
33823
33824 \end_inset
33825
33826
33827 \begin_inset Index
33828 status collapsed
33829
33830 \begin_layout Plain Layout
33831 File Formats ! PostScript
33832 \end_layout
33833
33834 \end_inset
33835
33836
33837 \begin_inset Index
33838 status collapsed
33839
33840 \begin_layout Plain Layout
33841 PostScript|see
33842 \begin_inset ERT
33843 status collapsed
33844
33845 \begin_layout Plain Layout
33846
33847 {
33848 \end_layout
33849
33850 \end_inset
33851
33852 File Formats
33853 \begin_inset ERT
33854 status collapsed
33855
33856 \begin_layout Plain Layout
33857
33858 }
33859 \end_layout
33860
33861 \end_inset
33862
33863
33864 \end_layout
33865
33866 \end_inset
33867
33868
33869 \end_layout
33870
33871 \begin_layout Standard
33872 This file type has the extension 
33873 \begin_inset Quotes eld
33874 \end_inset
33875
33876
33877 \family typewriter
33878 .ps
33879 \family default
33880
33881 \begin_inset Quotes erd
33882 \end_inset
33883
33884 .
33885  PostScript was developed by the company 
33886 \family typewriter
33887 Adobe
33888 \family default
33889  as printer language.
33890  The file contains therefore commands that the printer uses to print the
33891  file.
33892  PostScript can be seen as 
33893 \begin_inset Quotes eld
33894 \end_inset
33895
33896 programming language
33897 \begin_inset Quotes erd
33898 \end_inset
33899
33900 ; you can calculate with it and draw diagrams and images
33901 \begin_inset Foot
33902 status collapsed
33903
33904 \begin_layout Plain Layout
33905 If you are interested to learn more about this, have a look at the LaTeX-package
33906  
33907 \series bold
33908 PSTricks
33909 \series default
33910  
33911 \begin_inset CommandInset citation
33912 LatexCommand cite
33913 key "pstricks"
33914
33915 \end_inset
33916
33917 .
33918 \end_layout
33919
33920 \end_inset
33921
33922 .
33923  Due to this ability, the files are often bigger than PDFs.
33924 \end_layout
33925
33926 \begin_layout Standard
33927 PostScript can only contain images in the format 
33928 \begin_inset Quotes eld
33929 \end_inset
33930
33931 Encapsulated PostScript
33932 \begin_inset Quotes erd
33933 \end_inset
33934
33935  (EPS, file extension 
33936 \begin_inset Quotes eld
33937 \end_inset
33938
33939
33940 \family typewriter
33941 .eps
33942 \family default
33943
33944 \begin_inset Quotes erd
33945 \end_inset
33946
33947 ).
33948  As LyX allows you to use any known image format in your document, it has
33949  to convert images in the background to EPS.
33950  If you have e.g 50 images in your document, LyX has to do 50 conversions
33951  whenever you view or export your document.
33952  This will slow down your work flow with LyX drastically.
33953  So if you plan to use PostScript, you can insert your images directly as
33954  EPS to avoid this problem.
33955 \end_layout
33956
33957 \begin_layout Standard
33958 You can export your document to PostScript using the menu 
33959 \family sans
33960 File\SpecialChar \menuseparator
33961 Export\SpecialChar \menuseparator
33962 Postscript
33963 \family default
33964 .
33965  You can view your document as PostScript via the 
33966 \family sans
33967 View
33968 \family default
33969  menu or by using the toolbar button 
33970 \begin_inset Graphics
33971         filename ../images/buffer-view_ps.png
33972         scale 85
33973         scaleBeforeRotation
33974
33975 \end_inset
33976
33977 .
33978 \end_layout
33979
33980 \begin_layout Section
33981 PDF
33982 \begin_inset Index
33983 status collapsed
33984
33985 \begin_layout Plain Layout
33986 File Formats ! PDF
33987 \end_layout
33988
33989 \end_inset
33990
33991
33992 \begin_inset Index
33993 status collapsed
33994
33995 \begin_layout Plain Layout
33996 PDF
33997 \end_layout
33998
33999 \end_inset
34000
34001
34002 \end_layout
34003
34004 \begin_layout Standard
34005 This file type has the extension 
34006 \begin_inset Quotes eld
34007 \end_inset
34008
34009
34010 \family typewriter
34011 .pdf
34012 \family default
34013
34014 \begin_inset Quotes erd
34015 \end_inset
34016
34017 .
34018  The 
34019 \begin_inset Quotes eld
34020 \end_inset
34021
34022 Portable Document Format
34023 \begin_inset Quotes erd
34024 \end_inset
34025
34026  (PDF) is developed by 
34027 \family typewriter
34028 Adobe
34029 \family default
34030  as derivative from PostScript.
34031  It is more compressed and it uses much less commands than PostScript.
34032  As the name 
34033 \begin_inset Quotes eld
34034 \end_inset
34035
34036 portable
34037 \begin_inset Quotes erd
34038 \end_inset
34039
34040  implies, it can be processed at any computer system and the printed output
34041  looks exactly the same.
34042 \end_layout
34043
34044 \begin_layout Standard
34045 PDF can contain images in its own PDF format, in the format 
34046 \begin_inset Quotes eld
34047 \end_inset
34048
34049 Joint Photographic Experts Group
34050 \begin_inset Quotes erd
34051 \end_inset
34052
34053  (JPG, file extension 
34054 \begin_inset Quotes eld
34055 \end_inset
34056
34057
34058 \family typewriter
34059 .jpg
34060 \family default
34061
34062 \begin_inset Quotes erd
34063 \end_inset
34064
34065  or 
34066 \begin_inset Quotes eld
34067 \end_inset
34068
34069
34070 \family typewriter
34071 .jpeg
34072 \family default
34073
34074 \begin_inset Quotes erd
34075 \end_inset
34076
34077 ), and in the format 
34078 \begin_inset Quotes eld
34079 \end_inset
34080
34081 Portable Network Graphics
34082 \begin_inset Quotes erd
34083 \end_inset
34084
34085  (PNG, file extension 
34086 \begin_inset Quotes eld
34087 \end_inset
34088
34089
34090 \family typewriter
34091 .png
34092 \family default
34093
34094 \begin_inset Quotes erd
34095 \end_inset
34096
34097 ).
34098  Nevertheless you can use any other image format, because LyX converts them
34099  in the background to one of these formats.
34100  But as described in the section about PostScript, the image conversion
34101  will slow down your work flow.
34102  So it is recommended to use images in one of the three mentioned formats.
34103 \end_layout
34104
34105 \begin_layout Standard
34106 You can export your document to PDF via the menu 
34107 \family sans
34108 File\SpecialChar \menuseparator
34109 Export
34110 \family default
34111  in three different ways:
34112 \end_layout
34113
34114 \begin_layout Description
34115 PDF
34116 \begin_inset space ~
34117 \end_inset
34118
34119 (ps2pdf) This uses the program 
34120 \family typewriter
34121 ps2pdf
34122 \family default
34123  that creates a PDF from a PostScript-version of your file.
34124  The PostScript-version is produced by the program 
34125 \family typewriter
34126 dvips
34127 \family default
34128  which uses a DVI-version as intermediate step.
34129  So this export variant consist of three conversions.
34130 \end_layout
34131
34132 \begin_layout Description
34133 PDF
34134 \begin_inset space ~
34135 \end_inset
34136
34137 (dvipdfm) This uses the program 
34138 \family typewriter
34139 dvipdfm
34140 \family default
34141  that converts your file in the background to DVI and in a second step to
34142  PDF.
34143 \end_layout
34144
34145 \begin_layout Description
34146 PDF
34147 \begin_inset space ~
34148 \end_inset
34149
34150 (pdflatex) This uses the program 
34151 \family typewriter
34152 pdftex
34153 \family default
34154  that converts your file directly to PDF.
34155 \end_layout
34156
34157 \begin_layout Standard
34158 It is recommended to use 
34159 \family sans
34160 PDF
34161 \begin_inset space ~
34162 \end_inset
34163
34164 (pdflatex)
34165 \family default
34166  because 
34167 \family typewriter
34168 pdftex
34169 \family default
34170  supports all features of actual PDF-versions, is quick and works stable
34171  without problems.
34172  The program 
34173 \family typewriter
34174 dvipdfm
34175 \family default
34176  is not under development and therefore a bit outdated.
34177 \end_layout
34178
34179 \begin_layout Standard
34180 You can view your document as PDF via the 
34181 \family sans
34182 View
34183 \family default
34184  menu or by using the toolbar button 
34185 \begin_inset Graphics
34186         filename ../images/buffer-view_pdf2.png
34187         scale 85
34188         scaleBeforeRotation
34189
34190 \end_inset
34191
34192  
34193 \family sans
34194 (
34195 \family default
34196 that uses 
34197 \family sans
34198 PDF
34199 \begin_inset space ~
34200 \end_inset
34201
34202 (pdflatex)
34203 \family default
34204 ).
34205 \end_layout
34206
34207 \begin_layout Chapter
34208 Explanation of Equation
34209 \begin_inset space ~
34210 \end_inset
34211
34212
34213 \begin_inset CommandInset ref
34214 LatexCommand eqref
34215 reference "eq:Wgn"
34216
34217 \end_inset
34218
34219
34220 \begin_inset CommandInset label
34221 LatexCommand label
34222 name "cha:Explanation-of-Equation"
34223
34224 \end_inset
34225
34226
34227 \end_layout
34228
34229 \begin_layout Standard
34230 The total width of 
34231 \emph on
34232 n
34233 \emph default
34234  table cells 
34235 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34236 \end_inset
34237
34238  can be calculated to
34239 \end_layout
34240
34241 \begin_layout Standard
34242 \begin_inset Formula \begin{equation}
34243 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}
34244
34245 \end_inset
34246
34247
34248 \end_layout
34249
34250 \begin_layout Standard
34251 Where 
34252 \begin_inset Formula $W_{g\, n}$
34253 \end_inset
34254
34255  is the given width of all cells.
34256  
34257 \series bold
34258
34259 \backslash
34260 tabcolsep
34261 \series default
34262  is the LaTeX-length between the cell text and the cell border, its default
34263  value is 6
34264 \begin_inset space \thinspace{}
34265 \end_inset
34266
34267 pt.
34268  
34269 \series bold
34270
34271 \backslash
34272 arrayrulewidth
34273 \series default
34274  is the thickness of the cell border line, the default is 0.4
34275 \begin_inset space \thinspace{}
34276 \end_inset
34277
34278 pt.
34279 \end_layout
34280
34281 \begin_layout Standard
34282 Following equation
34283 \begin_inset space ~
34284 \end_inset
34285
34286
34287 \begin_inset CommandInset ref
34288 LatexCommand eqref
34289 reference "eq:Wtot_n"
34290
34291 \end_inset
34292
34293 , the total width of a multicolumn 
34294 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34295 \end_inset
34296
34297  is
34298 \end_layout
34299
34300 \begin_layout Standard
34301 \begin_inset Formula \begin{equation}
34302 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
34303
34304 \end_inset
34305
34306
34307 \end_layout
34308
34309 \begin_layout Standard
34310 By setting equation
34311 \begin_inset space ~
34312 \end_inset
34313
34314
34315 \begin_inset CommandInset ref
34316 LatexCommand eqref
34317 reference "eq:Wtot_n"
34318
34319 \end_inset
34320
34321  and 
34322 \begin_inset CommandInset ref
34323 LatexCommand eqref
34324 reference "eq:Wtot_mult"
34325
34326 \end_inset
34327
34328  equal we can calculate the needed given width 
34329 \begin_inset Formula $W_{g\, n}$
34330 \end_inset
34331
34332  when 
34333 \emph on
34334 n
34335 \emph default
34336  columns are spanned, so that each column has a total width of 
34337 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34338 \end_inset
34339
34340 :
34341 \end_layout
34342
34343 \begin_layout Standard
34344 \begin_inset Formula \begin{equation}
34345 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
34346
34347 \end_inset
34348
34349
34350 \end_layout
34351
34352 \begin_layout Bibliography
34353 \begin_inset CommandInset bibitem
34354 LatexCommand bibitem
34355 key "latexcompanion"
34356
34357 \end_inset
34358
34359 Frank Mittelbach and Michel Goossens: 
34360 \emph on
34361 The LaTeX Companion Second Edition.
34362
34363 \emph default
34364  Addison-Wesley, 2004
34365 \end_layout
34366
34367 \begin_layout Bibliography
34368 \begin_inset CommandInset bibitem
34369 LatexCommand bibitem
34370 key "latexguide"
34371
34372 \end_inset
34373
34374 Helmut Kopka and Patrick W.
34375  Daly: 
34376 \emph on
34377 A Guide to LaTeX Fourth Edition.
34378
34379 \emph default
34380  Addison-Wesley, 2003
34381 \end_layout
34382
34383 \begin_layout Bibliography
34384 \begin_inset CommandInset bibitem
34385 LatexCommand bibitem
34386 key "latexbook"
34387
34388 \end_inset
34389
34390 Leslie Lamport: 
34391 \emph on
34392 LaTeX: A Document Preparation System.
34393
34394 \emph default
34395  Addison-Wesley, second edition, 1994
34396 \end_layout
34397
34398 \begin_layout Bibliography
34399 \begin_inset CommandInset bibitem
34400 LatexCommand bibitem
34401 key "booktabs"
34402
34403 \end_inset
34404
34405 Documentation of the LaTeX-package 
34406 \series bold
34407
34408 \begin_inset CommandInset href
34409 LatexCommand href
34410 name "booktabs"
34411 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
34412
34413 \end_inset
34414
34415
34416 \series default
34417
34418 \begin_inset Index
34419 status collapsed
34420
34421 \begin_layout Plain Layout
34422 LaTeX-packages ! booktabs
34423 \end_layout
34424
34425 \end_inset
34426
34427
34428 \end_layout
34429
34430 \begin_layout Bibliography
34431 \begin_inset CommandInset bibitem
34432 LatexCommand bibitem
34433 key "caption"
34434
34435 \end_inset
34436
34437 Documentation of the LaTeX-package 
34438 \series bold
34439
34440 \begin_inset CommandInset href
34441 LatexCommand href
34442 name "caption"
34443 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
34444
34445 \end_inset
34446
34447
34448 \series default
34449
34450 \begin_inset Index
34451 status collapsed
34452
34453 \begin_layout Plain Layout
34454 LaTeX-packages ! caption
34455 \end_layout
34456
34457 \end_inset
34458
34459
34460 \end_layout
34461
34462 \begin_layout Bibliography
34463 \begin_inset CommandInset bibitem
34464 LatexCommand bibitem
34465 key "endfloat"
34466
34467 \end_inset
34468
34469 Documentation of the LaTeX-package 
34470 \series bold
34471
34472 \begin_inset CommandInset href
34473 LatexCommand href
34474 name "endfloat"
34475 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34476
34477 \end_inset
34478
34479
34480 \series default
34481
34482 \begin_inset Index
34483 status collapsed
34484
34485 \begin_layout Plain Layout
34486 LaTeX-packages ! endfloat
34487 \end_layout
34488
34489 \end_inset
34490
34491
34492 \end_layout
34493
34494 \begin_layout Bibliography
34495 \begin_inset CommandInset bibitem
34496 LatexCommand bibitem
34497 key "wrapfig"
34498
34499 \end_inset
34500
34501 Documentation of the LaTeX-package 
34502 \series bold
34503
34504 \begin_inset CommandInset href
34505 LatexCommand href
34506 name "wrapfig"
34507 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34508
34509 \end_inset
34510
34511
34512 \series default
34513
34514 \begin_inset Index
34515 status collapsed
34516
34517 \begin_layout Plain Layout
34518 LaTeX-packages ! wrapfig
34519 \begin_inset ERT
34520 status collapsed
34521
34522 \begin_layout Plain Layout
34523
34524
34525 \backslash
34526 vspace{4mm}
34527 \end_layout
34528
34529 \end_inset
34530
34531
34532 \end_layout
34533
34534 \end_inset
34535
34536
34537 \end_layout
34538
34539 \begin_layout Bibliography
34540 \begin_inset CommandInset bibitem
34541 LatexCommand bibitem
34542 key "footmisc"
34543
34544 \end_inset
34545
34546 Documentation of the LaTeX-package 
34547 \series bold
34548
34549 \begin_inset CommandInset href
34550 LatexCommand href
34551 name "footmisc"
34552 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34553
34554 \end_inset
34555
34556
34557 \series default
34558
34559 \begin_inset Index
34560 status collapsed
34561
34562 \begin_layout Plain Layout
34563 LaTeX-packages ! footmisc
34564 \end_layout
34565
34566 \end_inset
34567
34568
34569 \end_layout
34570
34571 \begin_layout Bibliography
34572 \begin_inset CommandInset bibitem
34573 LatexCommand bibitem
34574 key "hypcap"
34575
34576 \end_inset
34577
34578 Documentation of the LaTeX-package 
34579 \series bold
34580
34581 \begin_inset CommandInset href
34582 LatexCommand href
34583 name "hypcap"
34584 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34585
34586 \end_inset
34587
34588
34589 \series default
34590
34591 \begin_inset Index
34592 status collapsed
34593
34594 \begin_layout Plain Layout
34595 LaTeX-packages ! hyperref
34596 \end_layout
34597
34598 \end_inset
34599
34600
34601 \end_layout
34602
34603 \begin_layout Bibliography
34604 \begin_inset CommandInset bibitem
34605 LatexCommand bibitem
34606 key "hyperref"
34607
34608 \end_inset
34609
34610 Documentation of the LaTeX-package 
34611 \series bold
34612
34613 \begin_inset CommandInset href
34614 LatexCommand href
34615 name "hyperref"
34616 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34617
34618 \end_inset
34619
34620
34621 \series default
34622
34623 \begin_inset Index
34624 status collapsed
34625
34626 \begin_layout Plain Layout
34627 LaTeX-packages ! hyperref
34628 \end_layout
34629
34630 \end_inset
34631
34632
34633 \end_layout
34634
34635 \begin_layout Bibliography
34636 \begin_inset CommandInset bibitem
34637 LatexCommand bibitem
34638 key "KOMA-script"
34639
34640 \end_inset
34641
34642 Documentation of the LaTeX-package 
34643 \series bold
34644
34645 \begin_inset CommandInset href
34646 LatexCommand href
34647 name "KOMA-script"
34648 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34649
34650 \end_inset
34651
34652
34653 \series default
34654
34655 \begin_inset Index
34656 status collapsed
34657
34658 \begin_layout Plain Layout
34659 LaTeX-packages ! KOMA-script
34660 \end_layout
34661
34662 \end_inset
34663
34664
34665 \end_layout
34666
34667 \begin_layout Bibliography
34668 \begin_inset CommandInset bibitem
34669 LatexCommand bibitem
34670 key "listings"
34671
34672 \end_inset
34673
34674 Documentation of the LaTeX-package 
34675 \series bold
34676
34677 \begin_inset CommandInset href
34678 LatexCommand href
34679 name "listings"
34680 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34681
34682 \end_inset
34683
34684
34685 \series default
34686
34687 \begin_inset Index
34688 status collapsed
34689
34690 \begin_layout Plain Layout
34691 LaTeX-packages ! listings
34692 \end_layout
34693
34694 \end_inset
34695
34696
34697 \end_layout
34698
34699 \begin_layout Bibliography
34700 \begin_inset CommandInset bibitem
34701 LatexCommand bibitem
34702 key "marginnote"
34703
34704 \end_inset
34705
34706 Documentation of the LaTeX-package 
34707 \series bold
34708
34709 \begin_inset CommandInset href
34710 LatexCommand href
34711 name "marginnote"
34712 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34713
34714 \end_inset
34715
34716
34717 \series default
34718
34719 \begin_inset Index
34720 status collapsed
34721
34722 \begin_layout Plain Layout
34723 LaTeX-packages ! marginnote
34724 \end_layout
34725
34726 \end_inset
34727
34728
34729 \end_layout
34730
34731 \begin_layout Bibliography
34732 \begin_inset CommandInset bibitem
34733 LatexCommand bibitem
34734 key "pstricks"
34735
34736 \end_inset
34737
34738 Web page of the LaTeX-package 
34739 \series bold
34740
34741 \begin_inset CommandInset href
34742 LatexCommand href
34743 name "PSTricks"
34744 target "http://tug.org/PSTricks/"
34745
34746 \end_inset
34747
34748
34749 \series default
34750
34751 \begin_inset Index
34752 status collapsed
34753
34754 \begin_layout Plain Layout
34755 LaTeX-packages ! PSTricks
34756 \end_layout
34757
34758 \end_inset
34759
34760
34761 \end_layout
34762
34763 \begin_layout Bibliography
34764 \begin_inset CommandInset bibitem
34765 LatexCommand bibitem
34766 key "sidecap"
34767
34768 \end_inset
34769
34770 Documentation of the LaTeX-package 
34771 \series bold
34772
34773 \begin_inset CommandInset href
34774 LatexCommand href
34775 name "sidecap"
34776 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34777
34778 \end_inset
34779
34780
34781 \series default
34782
34783 \begin_inset Index
34784 status collapsed
34785
34786 \begin_layout Plain Layout
34787 LaTeX-packages ! sidecap
34788 \end_layout
34789
34790 \end_inset
34791
34792
34793 \end_layout
34794
34795 \begin_layout Bibliography
34796 \begin_inset CommandInset bibitem
34797 LatexCommand bibitem
34798 key "NewInLyX16"
34799
34800 \end_inset
34801
34802
34803 \begin_inset CommandInset href
34804 LatexCommand href
34805 name "Wiki page"
34806 target "http://wiki.lyx.org/LyX/NewInLyX16"
34807
34808 \end_inset
34809
34810  about new features in 
34811 \family sans
34812 LyX 1.6.0
34813 \family default
34814 .
34815 \end_layout
34816
34817 \begin_layout Standard
34818 \begin_inset CommandInset index_print
34819 LatexCommand printindex
34820
34821 \end_inset
34822
34823
34824 \end_layout
34825
34826 \begin_layout Standard
34827 \begin_inset FloatList figure
34828
34829 \end_inset
34830
34831
34832 \end_layout
34833
34834 \begin_layout Standard
34835 \begin_inset FloatList table
34836
34837 \end_inset
34838
34839
34840 \end_layout
34841
34842 \begin_layout Standard
34843 \begin_inset FloatList algorithm
34844
34845 \end_inset
34846
34847
34848 \end_layout
34849
34850 \end_body
34851 \end_document