]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
b0d6ceabd0998f003a42b2e6ff28217e02de65f2
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.8svn 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  and choosing the entry 
479 \family sans
480 Edit
481 \begin_inset space ~
482 \end_inset
483
484 externally
485 \family default
486  in the 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 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 LaTeX will reposition the floats in the final document and 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 , each 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 pixelated 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 such 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 the content of the widest
2029  cell.
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 rotate 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 described 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  Sections
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 cell 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 cell 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 in 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  This means that, 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 is 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 appears 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  Unlike the alignment of the table columns and rows, 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 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 for every longtable, even if you did
6065  not set 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 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 after 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 a 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 of 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 parts of tables that held at the same time in LaTeX's memory.
9342  The default value was 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 a situation, insert a 
9375 \begin_inset Quotes eld
9376 \end_inset
9377
9378 clear page
9379 \begin_inset Quotes erd
9380 \end_inset
9381
9382  (menu 
9383 \family sans
9384 Insert\SpecialChar \menuseparator
9385 Formatting\SpecialChar \menuseparator
9386 Clear
9387 \begin_inset space ~
9388 \end_inset
9389
9390 Page
9391 \family default
9392 ) before your longtable.
9393 \end_layout
9394
9395 \begin_layout Subsection
9396 Forced Page Breaks
9397 \begin_inset Index
9398 status collapsed
9399
9400 \begin_layout Plain Layout
9401 Longtables ! Forced Page Breaks
9402 \end_layout
9403
9404 \end_inset
9405
9406
9407 \end_layout
9408
9409 \begin_layout Standard
9410 By default tables are only broken between rows.
9411  If you have a cell with multiples lines and want to have a page break within
9412  the cell, insert the new line command 
9413 \begin_inset Quotes eld
9414 \end_inset
9415
9416
9417 \series bold
9418
9419 \backslash
9420
9421 \backslash
9422
9423 \series default
9424
9425 \begin_inset Quotes erd
9426 \end_inset
9427
9428  as TeX-Code at the point of the cell where it can be broken.
9429  Before the 
9430 \series bold
9431
9432 \backslash
9433
9434 \backslash
9435
9436 \series default
9437  command you have to insert in TeX-Code as many 
9438 \begin_inset Quotes eld
9439 \end_inset
9440
9441
9442 \series bold
9443 &
9444 \series default
9445
9446 \begin_inset Quotes erd
9447 \end_inset
9448
9449  characters as the number of the following table columns.
9450  The 
9451 \series bold
9452 &
9453 \series default
9454  is the character to separate table cells.
9455  Write in TeX-Code after each 
9456 \series bold
9457 &
9458 \series default
9459  the content of the corresponding following cell and delete the content
9460  of these cells.
9461 \begin_inset Newline newline
9462 \end_inset
9463
9464 After the 
9465 \series bold
9466
9467 \backslash
9468
9469 \backslash
9470
9471 \series default
9472  command, insert as many 
9473 \series bold
9474 &
9475 \series default
9476  characters as the number of table columns before the current column.
9477  In Table
9478 \begin_inset space ~
9479 \end_inset
9480
9481
9482 \begin_inset CommandInset ref
9483 LatexCommand ref
9484 reference "tab:ForcedPagebreak"
9485
9486 \end_inset
9487
9488  the cell that should be broken is in the second column followed by another
9489  column.
9490  Therefore the following command was inserted in the cell as TeX-Code after
9491  
9492 \begin_inset Quotes eld
9493 \end_inset
9494
9495
9496 \emph on
9497 Castelchiodato,
9498 \emph default
9499
9500 \begin_inset Quotes erd
9501 \end_inset
9502
9503 :
9504 \end_layout
9505
9506 \begin_layout Standard
9507
9508 \series bold
9509 & 111
9510 \backslash
9511
9512 \backslash
9513  
9514 \backslash
9515 newpage
9516 \begin_inset Newline newline
9517 \end_inset
9518
9519 &
9520 \end_layout
9521
9522 \begin_layout Standard
9523 The 
9524 \begin_inset Quotes eld
9525 \end_inset
9526
9527 111
9528 \begin_inset Quotes erd
9529 \end_inset
9530
9531  in the third column of the row was deleted.
9532  
9533 \series bold
9534
9535 \backslash
9536 newpage
9537 \series default
9538  is only needed when a page break should definitely occur at this position,
9539  otherwise it would be a conditional break.
9540  If your footer row of the longtable has for a certain reason no upper line
9541  but you would have a horizontal line where the cell is broken, use this
9542  command instead:
9543 \end_layout
9544
9545 \begin_layout Standard
9546
9547 \series bold
9548 & 111
9549 \backslash
9550
9551 \backslash
9552
9553 \begin_inset Newline newline
9554 \end_inset
9555
9556
9557 \backslash
9558 hline &
9559 \end_layout
9560
9561 \begin_layout Standard
9562 When the cell to be broken is in the last column, the command
9563 \end_layout
9564
9565 \begin_layout Standard
9566
9567 \series bold
9568
9569 \backslash
9570 setlength{
9571 \backslash
9572 parfillskip}{0pt}
9573 \end_layout
9574
9575 \begin_layout Standard
9576 must be inserted as TeX-Code at the beginning of the cell.
9577  This ensures that the part of the cell that will be displayed on the new
9578  page appears with the full width.
9579 \end_layout
9580
9581 \begin_layout Standard
9582 \align center
9583 \begin_inset Tabular
9584 <lyxtabular version="3" rows="38" columns="3">
9585 <features islongtable="true" lastFootEmpty="true">
9586 <column alignment="left" valignment="top" width="0cm">
9587 <column alignment="left" valignment="top" width="3cm">
9588 <column alignment="center" valignment="top" width="0pt">
9589 <row caption="true">
9590 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9591 \begin_inset Text
9592
9593 \begin_layout Plain Layout
9594 \begin_inset Caption
9595
9596 \begin_layout Plain Layout
9597 Table with forced page break in table cell
9598 \begin_inset CommandInset label
9599 LatexCommand label
9600 name "tab:ForcedPagebreak"
9601
9602 \end_inset
9603
9604
9605 \begin_inset OptArg
9606 status collapsed
9607
9608 \begin_layout Plain Layout
9609 Table with forced page break in table cell
9610 \end_layout
9611
9612 \end_inset
9613
9614
9615 \end_layout
9616
9617 \end_inset
9618
9619
9620 \end_layout
9621
9622 \end_inset
9623 </cell>
9624 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9625 \begin_inset Text
9626
9627 \begin_layout Plain Layout
9628
9629 \end_layout
9630
9631 \end_inset
9632 </cell>
9633 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9634 \begin_inset Text
9635
9636 \begin_layout Plain Layout
9637
9638 \end_layout
9639
9640 \end_inset
9641 </cell>
9642 </row>
9643 <row endfirsthead="true">
9644 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9645 \begin_inset Text
9646
9647 \begin_layout Plain Layout
9648
9649 \series bold
9650 Example Phone List (ignore the names)
9651 \end_layout
9652
9653 \end_inset
9654 </cell>
9655 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9656 \begin_inset Text
9657
9658 \begin_layout Plain Layout
9659
9660 \end_layout
9661
9662 \end_inset
9663 </cell>
9664 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9665 \begin_inset Text
9666
9667 \begin_layout Plain Layout
9668
9669 \end_layout
9670
9671 \end_inset
9672 </cell>
9673 </row>
9674 <row endfirsthead="true">
9675 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9676 \begin_inset Text
9677
9678 \begin_layout Plain Layout
9679
9680 \series bold
9681 NAME
9682 \end_layout
9683
9684 \end_inset
9685 </cell>
9686 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9687 \begin_inset Text
9688
9689 \begin_layout Plain Layout
9690
9691 \end_layout
9692
9693 \end_inset
9694 </cell>
9695 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9696 \begin_inset Text
9697
9698 \begin_layout Plain Layout
9699
9700 \series bold
9701 TEL.
9702 \end_layout
9703
9704 \end_inset
9705 </cell>
9706 </row>
9707 <row endhead="true">
9708 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9709 \begin_inset Text
9710
9711 \begin_layout Plain Layout
9712 \begin_inset ERT
9713 status collapsed
9714
9715 \begin_layout Plain Layout
9716
9717
9718 \backslash
9719 caption*{Continued Example Phone List}
9720 \backslash
9721
9722 \backslash
9723 %
9724 \end_layout
9725
9726 \end_inset
9727
9728
9729 \end_layout
9730
9731 \end_inset
9732 </cell>
9733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9734 \begin_inset Text
9735
9736 \begin_layout Plain Layout
9737
9738 \end_layout
9739
9740 \end_inset
9741 </cell>
9742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9743 \begin_inset Text
9744
9745 \begin_layout Plain Layout
9746
9747 \end_layout
9748
9749 \end_inset
9750 </cell>
9751 </row>
9752 <row endhead="true">
9753 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9754 \begin_inset Text
9755
9756 \begin_layout Plain Layout
9757
9758 \series bold
9759 Example Phone List
9760 \end_layout
9761
9762 \end_inset
9763 </cell>
9764 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9765 \begin_inset Text
9766
9767 \begin_layout Plain Layout
9768
9769 \end_layout
9770
9771 \end_inset
9772 </cell>
9773 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9774 \begin_inset Text
9775
9776 \begin_layout Plain Layout
9777
9778 \end_layout
9779
9780 \end_inset
9781 </cell>
9782 </row>
9783 <row endhead="true">
9784 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9785 \begin_inset Text
9786
9787 \begin_layout Plain Layout
9788
9789 \series bold
9790 NAME
9791 \end_layout
9792
9793 \end_inset
9794 </cell>
9795 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9796 \begin_inset Text
9797
9798 \begin_layout Plain Layout
9799
9800 \end_layout
9801
9802 \end_inset
9803 </cell>
9804 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9805 \begin_inset Text
9806
9807 \begin_layout Plain Layout
9808
9809 \series bold
9810 TEL.
9811 \end_layout
9812
9813 \end_inset
9814 </cell>
9815 </row>
9816 <row endfoot="true">
9817 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9818 \begin_inset Text
9819
9820 \begin_layout Plain Layout
9821 continued on next page
9822 \end_layout
9823
9824 \end_inset
9825 </cell>
9826 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9827 \begin_inset Text
9828
9829 \begin_layout Plain Layout
9830
9831 \end_layout
9832
9833 \end_inset
9834 </cell>
9835 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9836 \begin_inset Text
9837
9838 \begin_layout Plain Layout
9839
9840 \end_layout
9841
9842 \end_inset
9843 </cell>
9844 </row>
9845 <row>
9846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9847 \begin_inset Text
9848
9849 \begin_layout Plain Layout
9850
9851 \series bold
9852 Annovi
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9858 \begin_inset Text
9859
9860 \begin_layout Plain Layout
9861 Silvia
9862 \end_layout
9863
9864 \end_inset
9865 </cell>
9866 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9867 \begin_inset Text
9868
9869 \begin_layout Plain Layout
9870 111
9871 \end_layout
9872
9873 \end_inset
9874 </cell>
9875 </row>
9876 <row>
9877 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9878 \begin_inset Text
9879
9880 \begin_layout Plain Layout
9881
9882 \series bold
9883 Bertoli
9884 \end_layout
9885
9886 \end_inset
9887 </cell>
9888 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9889 \begin_inset Text
9890
9891 \begin_layout Plain Layout
9892 Stefano
9893 \end_layout
9894
9895 \end_inset
9896 </cell>
9897 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9898 \begin_inset Text
9899
9900 \begin_layout Plain Layout
9901 111
9902 \end_layout
9903
9904 \end_inset
9905 </cell>
9906 </row>
9907 <row>
9908 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9909 \begin_inset Text
9910
9911 \begin_layout Plain Layout
9912
9913 \series bold
9914 Bozzi
9915 \end_layout
9916
9917 \end_inset
9918 </cell>
9919 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9920 \begin_inset Text
9921
9922 \begin_layout Plain Layout
9923 Walter
9924 \end_layout
9925
9926 \end_inset
9927 </cell>
9928 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9929 \begin_inset Text
9930
9931 \begin_layout Plain Layout
9932 111
9933 \end_layout
9934
9935 \end_inset
9936 </cell>
9937 </row>
9938 <row>
9939 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9940 \begin_inset Text
9941
9942 \begin_layout Plain Layout
9943
9944 \series bold
9945 Cachia
9946 \end_layout
9947
9948 \end_inset
9949 </cell>
9950 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9951 \begin_inset Text
9952
9953 \begin_layout Plain Layout
9954 Maria
9955 \end_layout
9956
9957 \end_inset
9958 </cell>
9959 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9960 \begin_inset Text
9961
9962 \begin_layout Plain Layout
9963 111
9964 \end_layout
9965
9966 \end_inset
9967 </cell>
9968 </row>
9969 <row>
9970 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9971 \begin_inset Text
9972
9973 \begin_layout Plain Layout
9974
9975 \series bold
9976 Cachia
9977 \end_layout
9978
9979 \end_inset
9980 </cell>
9981 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9982 \begin_inset Text
9983
9984 \begin_layout Plain Layout
9985 Maurizio
9986 \end_layout
9987
9988 \end_inset
9989 </cell>
9990 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9991 \begin_inset Text
9992
9993 \begin_layout Plain Layout
9994 111
9995 \end_layout
9996
9997 \end_inset
9998 </cell>
9999 </row>
10000 <row>
10001 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10002 \begin_inset Text
10003
10004 \begin_layout Plain Layout
10005
10006 \series bold
10007 Cinquemani
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10013 \begin_inset Text
10014
10015 \begin_layout Plain Layout
10016 Giusi
10017 \end_layout
10018
10019 \end_inset
10020 </cell>
10021 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10022 \begin_inset Text
10023
10024 \begin_layout Plain Layout
10025 111
10026 \end_layout
10027
10028 \end_inset
10029 </cell>
10030 </row>
10031 <row>
10032 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10033 \begin_inset Text
10034
10035 \begin_layout Plain Layout
10036
10037 \series bold
10038 Colin
10039 \end_layout
10040
10041 \end_inset
10042 </cell>
10043 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10044 \begin_inset Text
10045
10046 \begin_layout Plain Layout
10047 Bernard
10048 \end_layout
10049
10050 \end_inset
10051 </cell>
10052 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10053 \begin_inset Text
10054
10055 \begin_layout Plain Layout
10056 111
10057 \end_layout
10058
10059 \end_inset
10060 </cell>
10061 </row>
10062 <row>
10063 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10064 \begin_inset Text
10065
10066 \begin_layout Plain Layout
10067
10068 \series bold
10069 Concli
10070 \end_layout
10071
10072 \end_inset
10073 </cell>
10074 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10075 \begin_inset Text
10076
10077 \begin_layout Plain Layout
10078 Gianfranco
10079 \end_layout
10080
10081 \end_inset
10082 </cell>
10083 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10084 \begin_inset Text
10085
10086 \begin_layout Plain Layout
10087 111
10088 \end_layout
10089
10090 \end_inset
10091 </cell>
10092 </row>
10093 <row>
10094 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10095 \begin_inset Text
10096
10097 \begin_layout Plain Layout
10098
10099 \series bold
10100 Dal Bosco
10101 \end_layout
10102
10103 \end_inset
10104 </cell>
10105 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10106 \begin_inset Text
10107
10108 \begin_layout Plain Layout
10109 Carolina
10110 \end_layout
10111
10112 \end_inset
10113 </cell>
10114 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10115 \begin_inset Text
10116
10117 \begin_layout Plain Layout
10118 111
10119 \end_layout
10120
10121 \end_inset
10122 </cell>
10123 </row>
10124 <row>
10125 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10126 \begin_inset Text
10127
10128 \begin_layout Plain Layout
10129
10130 \series bold
10131 Dalpiaz
10132 \end_layout
10133
10134 \end_inset
10135 </cell>
10136 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10137 \begin_inset Text
10138
10139 \begin_layout Plain Layout
10140 Annamaria
10141 \end_layout
10142
10143 \end_inset
10144 </cell>
10145 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10146 \begin_inset Text
10147
10148 \begin_layout Plain Layout
10149 111
10150 \end_layout
10151
10152 \end_inset
10153 </cell>
10154 </row>
10155 <row>
10156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10157 \begin_inset Text
10158
10159 \begin_layout Plain Layout
10160
10161 \series bold
10162 Feliciello
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10168 \begin_inset Text
10169
10170 \begin_layout Plain Layout
10171 Domenico
10172 \end_layout
10173
10174 \end_inset
10175 </cell>
10176 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10177 \begin_inset Text
10178
10179 \begin_layout Plain Layout
10180 111
10181 \end_layout
10182
10183 \end_inset
10184 </cell>
10185 </row>
10186 <row>
10187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10188 \begin_inset Text
10189
10190 \begin_layout Plain Layout
10191
10192 \series bold
10193 Focarelli
10194 \end_layout
10195
10196 \end_inset
10197 </cell>
10198 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10199 \begin_inset Text
10200
10201 \begin_layout Plain Layout
10202 Paola
10203 \end_layout
10204
10205 \end_inset
10206 </cell>
10207 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10208 \begin_inset Text
10209
10210 \begin_layout Plain Layout
10211 111
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 </row>
10217 <row>
10218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10219 \begin_inset Text
10220
10221 \begin_layout Plain Layout
10222
10223 \series bold
10224 Galletti
10225 \end_layout
10226
10227 \end_inset
10228 </cell>
10229 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10230 \begin_inset Text
10231
10232 \begin_layout Plain Layout
10233 Oreste
10234 \end_layout
10235
10236 \end_inset
10237 </cell>
10238 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10239 \begin_inset Text
10240
10241 \begin_layout Plain Layout
10242 111
10243 \end_layout
10244
10245 \end_inset
10246 </cell>
10247 </row>
10248 <row>
10249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10250 \begin_inset Text
10251
10252 \begin_layout Plain Layout
10253
10254 \series bold
10255 Gasparini
10256 \end_layout
10257
10258 \end_inset
10259 </cell>
10260 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10261 \begin_inset Text
10262
10263 \begin_layout Plain Layout
10264 Franca
10265 \end_layout
10266
10267 \end_inset
10268 </cell>
10269 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Plain Layout
10273 111
10274 \end_layout
10275
10276 \end_inset
10277 </cell>
10278 </row>
10279 <row>
10280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Plain Layout
10284
10285 \series bold
10286 Lassini
10287 \end_layout
10288
10289 \end_inset
10290 </cell>
10291 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10292 \begin_inset Text
10293
10294 \begin_layout Plain Layout
10295 Giancarlo
10296 \end_layout
10297
10298 \end_inset
10299 </cell>
10300 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10301 \begin_inset Text
10302
10303 \begin_layout Plain Layout
10304 111
10305 \end_layout
10306
10307 \end_inset
10308 </cell>
10309 </row>
10310 <row>
10311 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10312 \begin_inset Text
10313
10314 \begin_layout Plain Layout
10315
10316 \series bold
10317 Malfatti
10318 \end_layout
10319
10320 \end_inset
10321 </cell>
10322 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10323 \begin_inset Text
10324
10325 \begin_layout Plain Layout
10326 Luciano
10327 \end_layout
10328
10329 \end_inset
10330 </cell>
10331 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10332 \begin_inset Text
10333
10334 \begin_layout Plain Layout
10335 111
10336 \end_layout
10337
10338 \end_inset
10339 </cell>
10340 </row>
10341 <row>
10342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10343 \begin_inset Text
10344
10345 \begin_layout Plain Layout
10346
10347 \series bold
10348 Malfatti
10349 \end_layout
10350
10351 \end_inset
10352 </cell>
10353 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10354 \begin_inset Text
10355
10356 \begin_layout Plain Layout
10357 Valeriano
10358 \end_layout
10359
10360 \end_inset
10361 </cell>
10362 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10363 \begin_inset Text
10364
10365 \begin_layout Plain Layout
10366 111
10367 \end_layout
10368
10369 \end_inset
10370 </cell>
10371 </row>
10372 <row>
10373 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10374 \begin_inset Text
10375
10376 \begin_layout Plain Layout
10377
10378 \series bold
10379 Meneguzzo
10380 \end_layout
10381
10382 \end_inset
10383 </cell>
10384 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10385 \begin_inset Text
10386
10387 \begin_layout Plain Layout
10388 Roberto
10389 \end_layout
10390
10391 \end_inset
10392 </cell>
10393 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10394 \begin_inset Text
10395
10396 \begin_layout Plain Layout
10397 111
10398 \end_layout
10399
10400 \end_inset
10401 </cell>
10402 </row>
10403 <row>
10404 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10405 \begin_inset Text
10406
10407 \begin_layout Plain Layout
10408
10409 \series bold
10410 Mezzadra
10411 \end_layout
10412
10413 \end_inset
10414 </cell>
10415 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10416 \begin_inset Text
10417
10418 \begin_layout Plain Layout
10419 Roberto
10420 \end_layout
10421
10422 \end_inset
10423 </cell>
10424 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10425 \begin_inset Text
10426
10427 \begin_layout Plain Layout
10428 111
10429 \end_layout
10430
10431 \end_inset
10432 </cell>
10433 </row>
10434 <row>
10435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10436 \begin_inset Text
10437
10438 \begin_layout Plain Layout
10439
10440 \series bold
10441 Pirpamer
10442 \end_layout
10443
10444 \end_inset
10445 </cell>
10446 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10447 \begin_inset Text
10448
10449 \begin_layout Plain Layout
10450 Erich
10451 \end_layout
10452
10453 \end_inset
10454 </cell>
10455 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10456 \begin_inset Text
10457
10458 \begin_layout Plain Layout
10459 111
10460 \end_layout
10461
10462 \end_inset
10463 </cell>
10464 </row>
10465 <row>
10466 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10467 \begin_inset Text
10468
10469 \begin_layout Plain Layout
10470
10471 \series bold
10472 Pochiesa
10473 \end_layout
10474
10475 \end_inset
10476 </cell>
10477 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10478 \begin_inset Text
10479
10480 \begin_layout Plain Layout
10481 Paolo
10482 \end_layout
10483
10484 \end_inset
10485 </cell>
10486 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Plain Layout
10490 111, 222
10491 \end_layout
10492
10493 \end_inset
10494 </cell>
10495 </row>
10496 <row>
10497 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10498 \begin_inset Text
10499
10500 \begin_layout Plain Layout
10501
10502 \series bold
10503 Radina
10504 \end_layout
10505
10506 \end_inset
10507 </cell>
10508 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10509 \begin_inset Text
10510
10511 \begin_layout Plain Layout
10512 Claudio
10513 \end_layout
10514
10515 \end_inset
10516 </cell>
10517 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10518 \begin_inset Text
10519
10520 \begin_layout Plain Layout
10521 111
10522 \end_layout
10523
10524 \end_inset
10525 </cell>
10526 </row>
10527 <row>
10528 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10529 \begin_inset Text
10530
10531 \begin_layout Plain Layout
10532
10533 \series bold
10534 Rizzardi
10535 \end_layout
10536
10537 \end_inset
10538 </cell>
10539 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10540 \begin_inset Text
10541
10542 \begin_layout Plain Layout
10543 Paolo, 11.
10544  Fürst von Montecompatri, 11.
10545  Fürst von Sulmona und Vivaro, 10.
10546  Fürst von Rossano, 5.
10547  Herzog von Canemorte, 11.
10548  Herzog von Palombara, 5.
10549  Herzog von Castelchiodato,
10550 \begin_inset ERT
10551 status open
10552
10553 \begin_layout Plain Layout
10554
10555 & 111
10556 \backslash
10557
10558 \backslash
10559  
10560 \backslash
10561 newpage
10562 \end_layout
10563
10564 \begin_layout Plain Layout
10565
10566 &
10567 \end_layout
10568
10569 \end_inset
10570
10571  11.
10572  Herzog von Poggionativo, 11.
10573  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10574  Graf von Valinfreda, 11.
10575  Baron von Cropalati, 11.
10576  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10577 \end_layout
10578
10579 \end_inset
10580 </cell>
10581 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10582 \begin_inset Text
10583
10584 \begin_layout Plain Layout
10585
10586 \end_layout
10587
10588 \end_inset
10589 </cell>
10590 </row>
10591 <row>
10592 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10593 \begin_inset Text
10594
10595 \begin_layout Plain Layout
10596
10597 \series bold
10598 Stuffer
10599 \end_layout
10600
10601 \end_inset
10602 </cell>
10603 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10604 \begin_inset Text
10605
10606 \begin_layout Plain Layout
10607 Oskar
10608 \end_layout
10609
10610 \end_inset
10611 </cell>
10612 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10613 \begin_inset Text
10614
10615 \begin_layout Plain Layout
10616 111
10617 \end_layout
10618
10619 \end_inset
10620 </cell>
10621 </row>
10622 <row>
10623 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10624 \begin_inset Text
10625
10626 \begin_layout Plain Layout
10627
10628 \series bold
10629 Tacchelli
10630 \end_layout
10631
10632 \end_inset
10633 </cell>
10634 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10635 \begin_inset Text
10636
10637 \begin_layout Plain Layout
10638 Ugo
10639 \end_layout
10640
10641 \end_inset
10642 </cell>
10643 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10644 \begin_inset Text
10645
10646 \begin_layout Plain Layout
10647 111
10648 \end_layout
10649
10650 \end_inset
10651 </cell>
10652 </row>
10653 <row>
10654 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10655 \begin_inset Text
10656
10657 \begin_layout Plain Layout
10658
10659 \series bold
10660 Tezzele
10661 \end_layout
10662
10663 \end_inset
10664 </cell>
10665 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10666 \begin_inset Text
10667
10668 \begin_layout Plain Layout
10669 Margit
10670 \end_layout
10671
10672 \end_inset
10673 </cell>
10674 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10675 \begin_inset Text
10676
10677 \begin_layout Plain Layout
10678 111
10679 \end_layout
10680
10681 \end_inset
10682 </cell>
10683 </row>
10684 <row>
10685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10686 \begin_inset Text
10687
10688 \begin_layout Plain Layout
10689
10690 \series bold
10691 Unterkalmsteiner
10692 \end_layout
10693
10694 \end_inset
10695 </cell>
10696 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10697 \begin_inset Text
10698
10699 \begin_layout Plain Layout
10700 Frieda
10701 \end_layout
10702
10703 \end_inset
10704 </cell>
10705 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10706 \begin_inset Text
10707
10708 \begin_layout Plain Layout
10709 111
10710 \end_layout
10711
10712 \end_inset
10713 </cell>
10714 </row>
10715 <row>
10716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10717 \begin_inset Text
10718
10719 \begin_layout Plain Layout
10720
10721 \series bold
10722 Vieider
10723 \end_layout
10724
10725 \end_inset
10726 </cell>
10727 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10728 \begin_inset Text
10729
10730 \begin_layout Plain Layout
10731 Hilde
10732 \end_layout
10733
10734 \end_inset
10735 </cell>
10736 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10737 \begin_inset Text
10738
10739 \begin_layout Plain Layout
10740 111
10741 \end_layout
10742
10743 \end_inset
10744 </cell>
10745 </row>
10746 <row>
10747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10748 \begin_inset Text
10749
10750 \begin_layout Plain Layout
10751
10752 \series bold
10753 Vigna
10754 \end_layout
10755
10756 \end_inset
10757 </cell>
10758 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10759 \begin_inset Text
10760
10761 \begin_layout Plain Layout
10762 Jürgen
10763 \end_layout
10764
10765 \end_inset
10766 </cell>
10767 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10768 \begin_inset Text
10769
10770 \begin_layout Plain Layout
10771 111
10772 \end_layout
10773
10774 \end_inset
10775 </cell>
10776 </row>
10777 <row>
10778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10779 \begin_inset Text
10780
10781 \begin_layout Plain Layout
10782
10783 \series bold
10784 Weber
10785 \end_layout
10786
10787 \end_inset
10788 </cell>
10789 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10790 \begin_inset Text
10791
10792 \begin_layout Plain Layout
10793 Maurizio
10794 \end_layout
10795
10796 \end_inset
10797 </cell>
10798 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10799 \begin_inset Text
10800
10801 \begin_layout Plain Layout
10802 111
10803 \end_layout
10804
10805 \end_inset
10806 </cell>
10807 </row>
10808 <row>
10809 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10810 \begin_inset Text
10811
10812 \begin_layout Plain Layout
10813
10814 \series bold
10815 Winkler
10816 \end_layout
10817
10818 \end_inset
10819 </cell>
10820 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10821 \begin_inset Text
10822
10823 \begin_layout Plain Layout
10824 Franz
10825 \end_layout
10826
10827 \end_inset
10828 </cell>
10829 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10830 \begin_inset Text
10831
10832 \begin_layout Plain Layout
10833 111
10834 \end_layout
10835
10836 \end_inset
10837 </cell>
10838 </row>
10839 </lyxtabular>
10840
10841 \end_inset
10842
10843
10844 \end_layout
10845
10846 \begin_layout Section
10847 Multiple Lines Columns and Rows
10848 \end_layout
10849
10850 \begin_layout Subsection
10851 Multiple Lines in Table Cells
10852 \begin_inset CommandInset label
10853 LatexCommand label
10854 name "sub:Multiple-Lines-in"
10855
10856 \end_inset
10857
10858
10859 \begin_inset Index
10860 status collapsed
10861
10862 \begin_layout Plain Layout
10863 Multiple Lines in Table Cells
10864 \end_layout
10865
10866 \end_inset
10867
10868
10869 \begin_inset Index
10870 status collapsed
10871
10872 \begin_layout Plain Layout
10873 Table ! Linebreaks
10874 \end_layout
10875
10876 \end_inset
10877
10878
10879 \end_layout
10880
10881 \begin_layout Standard
10882 \noindent
10883 \begin_inset Float table
10884 placement H
10885 wide false
10886 sideways false
10887 status open
10888
10889 \begin_layout Plain Layout
10890 \begin_inset Caption
10891
10892 \begin_layout Plain Layout
10893 \begin_inset CommandInset label
10894 LatexCommand label
10895 name "tab:Table-with-multiple"
10896
10897 \end_inset
10898
10899 Table with multiple lines in cells
10900 \end_layout
10901
10902 \end_inset
10903
10904
10905 \end_layout
10906
10907 \begin_layout Plain Layout
10908 \align center
10909 \begin_inset Tabular
10910 <lyxtabular version="3" rows="3" columns="3">
10911 <features>
10912 <column alignment="center" valignment="middle" width="2.5cm">
10913 <column alignment="center" valignment="middle" width="0">
10914 <column alignment="center" valignment="middle" width="0">
10915 <row>
10916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10917 \begin_inset Text
10918
10919 \begin_layout Plain Layout
10920 multiple
10921 \begin_inset Newline linebreak
10922 \end_inset
10923
10924 lines
10925 \end_layout
10926
10927 \end_inset
10928 </cell>
10929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10930 \begin_inset Text
10931
10932 \begin_layout Plain Layout
10933 b
10934 \end_layout
10935
10936 \end_inset
10937 </cell>
10938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10939 \begin_inset Text
10940
10941 \begin_layout Plain Layout
10942 c
10943 \end_layout
10944
10945 \end_inset
10946 </cell>
10947 </row>
10948 <row>
10949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10950 \begin_inset Text
10951
10952 \begin_layout Plain Layout
10953 d
10954 \end_layout
10955
10956 \end_inset
10957 </cell>
10958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10959 \begin_inset Text
10960
10961 \begin_layout Plain Layout
10962 e
10963 \end_layout
10964
10965 \end_inset
10966 </cell>
10967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10968 \begin_inset Text
10969
10970 \begin_layout Plain Layout
10971 f
10972 \end_layout
10973
10974 \end_inset
10975 </cell>
10976 </row>
10977 <row>
10978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10979 \begin_inset Text
10980
10981 \begin_layout Plain Layout
10982 g
10983 \end_layout
10984
10985 \end_inset
10986 </cell>
10987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10988 \begin_inset Text
10989
10990 \begin_layout Plain Layout
10991 h
10992 \end_layout
10993
10994 \end_inset
10995 </cell>
10996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10997 \begin_inset Text
10998
10999 \begin_layout Plain Layout
11000 i
11001 \end_layout
11002
11003 \end_inset
11004 </cell>
11005 </row>
11006 </lyxtabular>
11007
11008 \end_inset
11009
11010
11011 \end_layout
11012
11013 \end_inset
11014
11015
11016 \end_layout
11017
11018 \begin_layout Standard
11019 Setting a fixed width for a column enables you to enter text as a paragraph
11020  with multiple lines and hyphenation.
11021 \end_layout
11022
11023 \begin_layout Standard
11024 To produce Table
11025 \begin_inset space ~
11026 \end_inset
11027
11028
11029 \begin_inset CommandInset ref
11030 LatexCommand ref
11031 reference "tab:Table-with-multiple"
11032
11033 \end_inset
11034
11035 , create a 3×3 table, mark the first cell and right-click on it.
11036  In the appearing table dialog we set a cell width of 2.5
11037 \begin_inset space \thinspace{}
11038 \end_inset
11039
11040 cm and choose centered for the vertical and horizontal alignment.
11041  The vertical alignment is used for all cells of the row.
11042  As our text is smaller than 2.5
11043 \begin_inset space \thinspace{}
11044 \end_inset
11045
11046 cm, only one line will appear.
11047  To get two lines, a justified line break (shortcut 
11048 \begin_inset Info
11049 type  "shortcut"
11050 arg   "newline-insert linebreak"
11051 \end_inset
11052
11053 ) was added.
11054  If the text is wider than the set cell width, it will automatically be
11055  broken to several lines.
11056 \end_layout
11057
11058 \begin_layout Standard
11059 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11060  by LaTeX if it is the first entry.
11061  Therefore you need to insert something to prevent the word not being the
11062  first entry.
11063  So add a horizontal space of 0
11064 \begin_inset space \thinspace{}
11065 \end_inset
11066
11067 pt before the word.
11068  As the space is zero, it doesn't change the output.
11069  Table
11070 \begin_inset space ~
11071 \end_inset
11072
11073
11074 \begin_inset CommandInset ref
11075 LatexCommand ref
11076 reference "tab:Table-with-and"
11077
11078 \end_inset
11079
11080  shows the effect.
11081 \end_layout
11082
11083 \begin_layout Standard
11084 \begin_inset Float table
11085 placement h
11086 wide false
11087 sideways false
11088 status open
11089
11090 \begin_layout Plain Layout
11091 \begin_inset Caption
11092
11093 \begin_layout Plain Layout
11094 \begin_inset CommandInset label
11095 LatexCommand label
11096 name "tab:Table-with-and"
11097
11098 \end_inset
11099
11100 Table with and without hyphenation
11101 \end_layout
11102
11103 \end_inset
11104
11105
11106 \end_layout
11107
11108 \begin_layout Plain Layout
11109 \begin_inset space \hfill{}
11110 \end_inset
11111
11112
11113 \begin_inset Tabular
11114 <lyxtabular version="3" rows="3" columns="3">
11115 <features>
11116 <column alignment="center" valignment="middle" width="2.5cm">
11117 <column alignment="center" valignment="middle" width="0">
11118 <column alignment="center" valignment="middle" width="0">
11119 <row>
11120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11121 \begin_inset Text
11122
11123 \begin_layout Plain Layout
11124 verylongtablecellword
11125 \end_layout
11126
11127 \end_inset
11128 </cell>
11129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11130 \begin_inset Text
11131
11132 \begin_layout Plain Layout
11133 b
11134 \end_layout
11135
11136 \end_inset
11137 </cell>
11138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11139 \begin_inset Text
11140
11141 \begin_layout Plain Layout
11142 c
11143 \end_layout
11144
11145 \end_inset
11146 </cell>
11147 </row>
11148 <row>
11149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11150 \begin_inset Text
11151
11152 \begin_layout Plain Layout
11153 d
11154 \end_layout
11155
11156 \end_inset
11157 </cell>
11158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11159 \begin_inset Text
11160
11161 \begin_layout Plain Layout
11162 e
11163 \end_layout
11164
11165 \end_inset
11166 </cell>
11167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11168 \begin_inset Text
11169
11170 \begin_layout Plain Layout
11171 f
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 </row>
11177 <row>
11178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11179 \begin_inset Text
11180
11181 \begin_layout Plain Layout
11182 g
11183 \end_layout
11184
11185 \end_inset
11186 </cell>
11187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11188 \begin_inset Text
11189
11190 \begin_layout Plain Layout
11191 h
11192 \end_layout
11193
11194 \end_inset
11195 </cell>
11196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11197 \begin_inset Text
11198
11199 \begin_layout Plain Layout
11200 i
11201 \end_layout
11202
11203 \end_inset
11204 </cell>
11205 </row>
11206 </lyxtabular>
11207
11208 \end_inset
11209
11210
11211 \begin_inset space \hfill{}
11212 \end_inset
11213
11214
11215 \begin_inset Tabular
11216 <lyxtabular version="3" rows="3" columns="3">
11217 <features>
11218 <column alignment="center" valignment="middle" width="2.5cm">
11219 <column alignment="center" valignment="middle" width="0">
11220 <column alignment="center" valignment="middle" width="0">
11221 <row>
11222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11223 \begin_inset Text
11224
11225 \begin_layout Plain Layout
11226 \begin_inset space \hspace{}
11227 \length 0pt
11228 \end_inset
11229
11230 verylongtablecellword
11231 \end_layout
11232
11233 \end_inset
11234 </cell>
11235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11236 \begin_inset Text
11237
11238 \begin_layout Plain Layout
11239 b
11240 \end_layout
11241
11242 \end_inset
11243 </cell>
11244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11245 \begin_inset Text
11246
11247 \begin_layout Plain Layout
11248 c
11249 \end_layout
11250
11251 \end_inset
11252 </cell>
11253 </row>
11254 <row>
11255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11256 \begin_inset Text
11257
11258 \begin_layout Plain Layout
11259 d
11260 \end_layout
11261
11262 \end_inset
11263 </cell>
11264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11265 \begin_inset Text
11266
11267 \begin_layout Plain Layout
11268 e
11269 \end_layout
11270
11271 \end_inset
11272 </cell>
11273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11274 \begin_inset Text
11275
11276 \begin_layout Plain Layout
11277 f
11278 \end_layout
11279
11280 \end_inset
11281 </cell>
11282 </row>
11283 <row>
11284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11285 \begin_inset Text
11286
11287 \begin_layout Plain Layout
11288 g
11289 \end_layout
11290
11291 \end_inset
11292 </cell>
11293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11294 \begin_inset Text
11295
11296 \begin_layout Plain Layout
11297 h
11298 \end_layout
11299
11300 \end_inset
11301 </cell>
11302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11303 \begin_inset Text
11304
11305 \begin_layout Plain Layout
11306 i
11307 \end_layout
11308
11309 \end_inset
11310 </cell>
11311 </row>
11312 </lyxtabular>
11313
11314 \end_inset
11315
11316
11317 \begin_inset space \hfill{}
11318 \end_inset
11319
11320
11321 \end_layout
11322
11323 \end_inset
11324
11325
11326 \end_layout
11327
11328 \begin_layout Subsection
11329 Multicolumns
11330 \begin_inset CommandInset label
11331 LatexCommand label
11332 name "sub:Multicolumns"
11333
11334 \end_inset
11335
11336
11337 \begin_inset Index
11338 status collapsed
11339
11340 \begin_layout Plain Layout
11341 Multicolumns
11342 \end_layout
11343
11344 \end_inset
11345
11346
11347 \begin_inset Index
11348 status collapsed
11349
11350 \begin_layout Plain Layout
11351 Table ! Multicolumns
11352 \end_layout
11353
11354 \end_inset
11355
11356
11357 \end_layout
11358
11359 \begin_layout Subsubsection
11360 Multicolumn Basics
11361 \end_layout
11362
11363 \begin_layout Standard
11364 To merge cells over multiple columns, select as many cells within a row
11365  as you want to merge and use either the table-toolbar button 
11366 \begin_inset Graphics
11367         filename ../images/tabular-feature_multicolumn.png
11368         scale 85
11369         scaleBeforeRotation
11370
11371 \end_inset
11372
11373 , or the menu 
11374 \family sans
11375 Edit\SpecialChar \menuseparator
11376 Table\SpecialChar \menuseparator
11377 Multicolumn
11378 \family default
11379 , or right click on the marked cells and choose 
11380 \family sans
11381 Multicolumn
11382 \family default
11383  in the appearing context menu.
11384 \end_layout
11385
11386 \begin_layout Standard
11387 Multicolumns have there own cell settings.
11388  That means changing cell borders, cell alignment, and the width only affects
11389  the multicolumn.
11390  Here is an example table with a multicolumn cell in the first row and one
11391  in the last row without the upper border:
11392 \end_layout
11393
11394 \begin_layout Standard
11395 \align center
11396 \begin_inset Tabular
11397 <lyxtabular version="3" rows="3" columns="4">
11398 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11399 <column alignment="center" valignment="top" width="0pt">
11400 <column alignment="center" valignment="middle" width="0">
11401 <column alignment="center" valignment="top" width="0in">
11402 <column alignment="center" valignment="top" width="0pt">
11403 <row>
11404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11405 \begin_inset Text
11406
11407 \begin_layout Plain Layout
11408 abc
11409 \end_layout
11410
11411 \end_inset
11412 </cell>
11413 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11414 \begin_inset Text
11415
11416 \begin_layout Plain Layout
11417 def ghi
11418 \end_layout
11419
11420 \end_inset
11421 </cell>
11422 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11423 \begin_inset Text
11424
11425 \begin_layout Plain Layout
11426
11427 \end_layout
11428
11429 \end_inset
11430 </cell>
11431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11432 \begin_inset Text
11433
11434 \begin_layout Plain Layout
11435 jkl
11436 \end_layout
11437
11438 \end_inset
11439 </cell>
11440 </row>
11441 <row>
11442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11443 \begin_inset Text
11444
11445 \begin_layout Plain Layout
11446
11447 \family roman
11448 \series medium
11449 \shape up
11450 \size normal
11451 \emph off
11452 \bar no
11453 \noun off
11454 \color none
11455 A
11456 \end_layout
11457
11458 \end_inset
11459 </cell>
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11461 \begin_inset Text
11462
11463 \begin_layout Plain Layout
11464 B
11465 \end_layout
11466
11467 \end_inset
11468 </cell>
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11470 \begin_inset Text
11471
11472 \begin_layout Plain Layout
11473 C
11474 \end_layout
11475
11476 \end_inset
11477 </cell>
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 D
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 </row>
11488 <row>
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11490 \begin_inset Text
11491
11492 \begin_layout Plain Layout
11493 1
11494 \end_layout
11495
11496 \end_inset
11497 </cell>
11498 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11499 \begin_inset Text
11500
11501 \begin_layout Plain Layout
11502 2
11503 \end_layout
11504
11505 \end_inset
11506 </cell>
11507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11508 \begin_inset Text
11509
11510 \begin_layout Plain Layout
11511 3
11512 \end_layout
11513
11514 \end_inset
11515 </cell>
11516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11517 \begin_inset Text
11518
11519 \begin_layout Plain Layout
11520 4
11521 \end_layout
11522
11523 \end_inset
11524 </cell>
11525 </row>
11526 </lyxtabular>
11527
11528 \end_inset
11529
11530
11531 \end_layout
11532
11533 \begin_layout Subsubsection
11534 Multicolumn Calculations
11535 \begin_inset CommandInset label
11536 LatexCommand label
11537 name "sub:Multicolumn-Calculations"
11538
11539 \end_inset
11540
11541
11542 \begin_inset Index
11543 status collapsed
11544
11545 \begin_layout Plain Layout
11546 Multicolumns ! Calculations
11547 \end_layout
11548
11549 \end_inset
11550
11551
11552 \end_layout
11553
11554 \begin_layout Standard
11555 LyX supports multicolumns directly, but we have to take account of the cell
11556  width of the columns spanned by the multicolumn cell.
11557 \end_layout
11558
11559 \begin_layout Standard
11560 \begin_inset Float table
11561 placement h
11562 wide false
11563 sideways false
11564 status open
11565
11566 \begin_layout Plain Layout
11567 \begin_inset Caption
11568
11569 \begin_layout Plain Layout
11570 \begin_inset CommandInset label
11571 LatexCommand label
11572 name "tab:Table-with-centered"
11573
11574 \end_inset
11575
11576 Table with centered multicolumn text above two columns that have exactly
11577  half the width of the multicolumn cell
11578 \begin_inset OptArg
11579 status collapsed
11580
11581 \begin_layout Plain Layout
11582 Perfect multicolumn table
11583 \end_layout
11584
11585 \end_inset
11586
11587
11588 \end_layout
11589
11590 \end_inset
11591
11592
11593 \end_layout
11594
11595 \begin_layout Plain Layout
11596 \align center
11597 \begin_inset Tabular
11598 <lyxtabular version="3" rows="3" columns="3">
11599 <features>
11600 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11601 <column alignment="center" valignment="middle" width="0">
11602 <column alignment="center" valignment="top" width="0">
11603 <row>
11604 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11605 \begin_inset Text
11606
11607 \begin_layout Plain Layout
11608 multiple lines multicolumn
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Plain Layout
11617
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Plain Layout
11626 c
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 </row>
11632 <row>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Plain Layout
11637 d
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11643 \begin_inset Text
11644
11645 \begin_layout Plain Layout
11646 e
11647 \end_layout
11648
11649 \end_inset
11650 </cell>
11651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11652 \begin_inset Text
11653
11654 \begin_layout Plain Layout
11655 f
11656 \end_layout
11657
11658 \end_inset
11659 </cell>
11660 </row>
11661 <row>
11662 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11663 \begin_inset Text
11664
11665 \begin_layout Plain Layout
11666 g
11667 \end_layout
11668
11669 \end_inset
11670 </cell>
11671 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Plain Layout
11675 h
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11681 \begin_inset Text
11682
11683 \begin_layout Plain Layout
11684 i
11685 \end_layout
11686
11687 \end_inset
11688 </cell>
11689 </row>
11690 </lyxtabular>
11691
11692 \end_inset
11693
11694
11695 \end_layout
11696
11697 \end_inset
11698
11699
11700 \end_layout
11701
11702 \begin_layout Standard
11703 To create for example Table
11704 \begin_inset space ~
11705 \end_inset
11706
11707
11708 \begin_inset CommandInset ref
11709 LatexCommand ref
11710 reference "tab:Table-with-centered"
11711
11712 \end_inset
11713
11714 , mark the first two cells in the first row of a 3×3 table and right-click
11715  on them.
11716  Now choose for this cell 
11717 \emph on
11718 multicolumn
11719 \emph default
11720
11721 \emph on
11722 centered alignment
11723 \emph default
11724  and a width of 2.5
11725 \begin_inset space \thinspace{}
11726 \end_inset
11727
11728 cm in the table dialog.
11729  The merged columns should have exactly half the width of the multicolumn
11730  cell, so that you would set a width of 1.25
11731 \begin_inset space \thinspace{}
11732 \end_inset
11733
11734 cm for the first column.
11735  The second column has then automatically a width of 1.25
11736 \begin_inset space \thinspace{}
11737 \end_inset
11738
11739 cm (multicolumn width - width of first column).
11740  This was done for Table
11741 \begin_inset space ~
11742 \end_inset
11743
11744
11745 \begin_inset CommandInset ref
11746 LatexCommand ref
11747 reference "tab:Table-without-half"
11748
11749 \end_inset
11750
11751 .
11752 \end_layout
11753
11754 \begin_layout Standard
11755 \begin_inset Float table
11756 wide false
11757 sideways false
11758 status open
11759
11760 \begin_layout Plain Layout
11761 \begin_inset Caption
11762
11763 \begin_layout Plain Layout
11764 \begin_inset CommandInset label
11765 LatexCommand label
11766 name "tab:Table-without-half"
11767
11768 \end_inset
11769
11770 Table where the spanned table columns are not exactly half the width of
11771  the multicolumn cell
11772 \begin_inset OptArg
11773 status collapsed
11774
11775 \begin_layout Plain Layout
11776 Imperfect multicolumn table
11777 \end_layout
11778
11779 \end_inset
11780
11781
11782 \end_layout
11783
11784 \end_inset
11785
11786
11787 \end_layout
11788
11789 \begin_layout Plain Layout
11790 \align center
11791 \begin_inset Tabular
11792 <lyxtabular version="3" rows="3" columns="3">
11793 <features>
11794 <column alignment="center" valignment="top" width="1.25cm">
11795 <column alignment="center" valignment="top" width="0">
11796 <column alignment="center" valignment="top" width="0">
11797 <row>
11798 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11799 \begin_inset Text
11800
11801 \begin_layout Plain Layout
11802 multiple lines multicolumn
11803 \end_layout
11804
11805 \end_inset
11806 </cell>
11807 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11808 \begin_inset Text
11809
11810 \begin_layout Plain Layout
11811
11812 \end_layout
11813
11814 \end_inset
11815 </cell>
11816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11817 \begin_inset Text
11818
11819 \begin_layout Plain Layout
11820 c
11821 \end_layout
11822
11823 \end_inset
11824 </cell>
11825 </row>
11826 <row>
11827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11828 \begin_inset Text
11829
11830 \begin_layout Plain Layout
11831 d
11832 \end_layout
11833
11834 \end_inset
11835 </cell>
11836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11837 \begin_inset Text
11838
11839 \begin_layout Plain Layout
11840 e
11841 \end_layout
11842
11843 \end_inset
11844 </cell>
11845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11846 \begin_inset Text
11847
11848 \begin_layout Plain Layout
11849 f
11850 \end_layout
11851
11852 \end_inset
11853 </cell>
11854 </row>
11855 <row>
11856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11857 \begin_inset Text
11858
11859 \begin_layout Plain Layout
11860 g
11861 \end_layout
11862
11863 \end_inset
11864 </cell>
11865 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11866 \begin_inset Text
11867
11868 \begin_layout Plain Layout
11869 h
11870 \end_layout
11871
11872 \end_inset
11873 </cell>
11874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11875 \begin_inset Text
11876
11877 \begin_layout Plain Layout
11878 i
11879 \end_layout
11880
11881 \end_inset
11882 </cell>
11883 </row>
11884 </lyxtabular>
11885
11886 \end_inset
11887
11888
11889 \end_layout
11890
11891 \end_inset
11892
11893
11894 \end_layout
11895
11896 \begin_layout Standard
11897 You can see that the first column is not half the width of the multicolumn
11898  cell, it is a bit bigger.
11899  The reason is that the specified width of a cell 
11900 \begin_inset Formula $W_{g}$
11901 \end_inset
11902
11903  is not its total width 
11904 \begin_inset Formula $W_{\mathrm{tot}}$
11905 \end_inset
11906
11907  because a cell is always a bit larger than specified.
11908  Appendix
11909 \begin_inset space ~
11910 \end_inset
11911
11912
11913 \begin_inset CommandInset ref
11914 LatexCommand eqref
11915 reference "cha:Explanation-of-Equation"
11916
11917 \end_inset
11918
11919  explains this in detail.
11920 \end_layout
11921
11922 \begin_layout Standard
11923 The width 
11924 \begin_inset Formula $W_{g\, n}$
11925 \end_inset
11926
11927  which the user needs to set when 
11928 \emph on
11929 n
11930 \emph default
11931  columns are spanned can be calculated, so that each column has a total
11932  width of 
11933 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11934 \end_inset
11935
11936 :
11937 \begin_inset Formula \begin{equation}
11938 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11939
11940 \end_inset
11941
11942
11943 \end_layout
11944
11945 \begin_layout Standard
11946 In our case we have 
11947 \begin_inset Formula $n=2$
11948 \end_inset
11949
11950
11951 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11952 \end_inset
11953
11954 cm and the default values for the lengths, so that equation 
11955 \begin_inset CommandInset ref
11956 LatexCommand ref
11957 reference "eq:Wgn"
11958
11959 \end_inset
11960
11961  becomes
11962 \begin_inset Formula \begin{equation}
11963 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11964
11965 \end_inset
11966
11967
11968 \end_layout
11969
11970 \begin_layout Standard
11971 To enable calculations in LaTeX, the LaTeX-package 
11972 \series bold
11973 calc
11974 \series default
11975  must be loaded with the document preamble line
11976 \begin_inset Index
11977 status collapsed
11978
11979 \begin_layout Plain Layout
11980 LaTeX-packages ! calc
11981 \end_layout
11982
11983 \end_inset
11984
11985
11986 \end_layout
11987
11988 \begin_layout Standard
11989
11990 \series bold
11991
11992 \backslash
11993 usepackage{calc}
11994 \end_layout
11995
11996 \begin_layout Standard
11997 LyX does not allow you to calculate lengths in the 
11998 \family sans
11999 Width
12000 \family default
12001  field of the table dialog.
12002  Therefore you have to format the column by inserting a LaTeX-argument in
12003  the dialog.
12004  Here is an overview about the arguments:
12005 \end_layout
12006
12007 \begin_layout Itemize
12008
12009 \series bold
12010 p{width}
12011 \series default
12012  creates cell with a fixed width, its text is vertically top-aligned
12013 \end_layout
12014
12015 \begin_layout Itemize
12016
12017 \series bold
12018 m{width}
12019 \series default
12020  creates cell with a fixed width, its text is vertically centered
12021 \end_layout
12022
12023 \begin_layout Itemize
12024
12025 \series bold
12026 b{width}
12027 \series default
12028  creates cell with a fixed width, its text is vertically bottom-aligned
12029 \end_layout
12030
12031 \begin_layout Standard
12032 By entering a LaTeX-argument, all cell settings set in the table dialog
12033  are overwritten.
12034 \end_layout
12035
12036 \begin_layout Standard
12037 \begin_inset Note Greyedout
12038 status open
12039
12040 \begin_layout Plain Layout
12041
12042 \series bold
12043 Note:
12044 \series default
12045  Due to a bug, LyX shows the overwritten settings anyway.
12046 \end_layout
12047
12048 \end_inset
12049
12050
12051 \end_layout
12052
12053 \begin_layout Standard
12054 As the text should be horizontally centered, the command 
12055 \series bold
12056
12057 \backslash
12058 centering
12059 \series default
12060  is added.
12061  You can now enter the following LaTeX-argument for the first spanned column:
12062 \end_layout
12063
12064 \begin_layout Standard
12065
12066 \series bold
12067 >{
12068 \backslash
12069 centering}m{1.25cm-6.2pt}
12070 \end_layout
12071
12072 \begin_layout Standard
12073 The command 
12074 \series bold
12075 >{ }
12076 \series default
12077  means, that the commands inside the braces are applied before the cell
12078  is created.
12079 \end_layout
12080
12081 \begin_layout Standard
12082 Although we have chosen centered alignment for the text of the multicolumn
12083  cell, it is still left aligned.
12084  This is because LyX only applies the alignment to single columns.
12085  So for the multicolumn cell we have to use the LaTeX-argument
12086 \end_layout
12087
12088 \begin_layout Standard
12089
12090 \series bold
12091 >{
12092 \backslash
12093 centering}m{2.5cm}
12094 \end_layout
12095
12096 \begin_layout Subsection
12097 Multirows
12098 \begin_inset Index
12099 status collapsed
12100
12101 \begin_layout Plain Layout
12102 Multirows
12103 \end_layout
12104
12105 \end_inset
12106
12107
12108 \begin_inset Index
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112 Table ! Multirows
12113 \end_layout
12114
12115 \end_inset
12116
12117
12118 \end_layout
12119
12120 \begin_layout Standard
12121 Unlike multicolumns multirows are not yet supported by LyX; so a bit of
12122  TeX-Code needs to be used.
12123  To use multirows load the LaTeX-package 
12124 \series bold
12125 multirow
12126 \series default
12127
12128 \begin_inset Index
12129 status collapsed
12130
12131 \begin_layout Plain Layout
12132 LaTeX-packages ! multirow
12133 \end_layout
12134
12135 \end_inset
12136
12137  in your document preamble with the command
12138 \end_layout
12139
12140 \begin_layout Standard
12141
12142 \series bold
12143
12144 \backslash
12145 usepackage{multirow}
12146 \end_layout
12147
12148 \begin_layout Standard
12149 Multirows are created with the command
12150 \end_layout
12151
12152 \begin_layout Standard
12153
12154 \series bold
12155
12156 \backslash
12157 multirow{number of rows}{cell width}{cell entry}
12158 \end_layout
12159
12160 \begin_layout Standard
12161 To create the following table:
12162 \end_layout
12163
12164 \begin_layout Standard
12165 \align center
12166 \begin_inset ERT
12167 status collapsed
12168
12169 \begin_layout Plain Layout
12170
12171
12172 \backslash
12173 renewcommand{
12174 \backslash
12175 multirowsetup}{
12176 \backslash
12177 centering}
12178 \end_layout
12179
12180 \end_inset
12181
12182
12183 \begin_inset Tabular
12184 <lyxtabular version="3" rows="3" columns="3">
12185 <features>
12186 <column alignment="center" valignment="top" width="0">
12187 <column alignment="center" valignment="top" width="0">
12188 <column alignment="center" valignment="top" width="0">
12189 <row>
12190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12191 \begin_inset Text
12192
12193 \begin_layout Plain Layout
12194 a
12195 \end_layout
12196
12197 \end_inset
12198 </cell>
12199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12200 \begin_inset Text
12201
12202 \begin_layout Plain Layout
12203 b
12204 \end_layout
12205
12206 \end_inset
12207 </cell>
12208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12209 \begin_inset Text
12210
12211 \begin_layout Plain Layout
12212 c
12213 \end_layout
12214
12215 \end_inset
12216 </cell>
12217 </row>
12218 <row>
12219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12220 \begin_inset Text
12221
12222 \begin_layout Plain Layout
12223 \begin_inset ERT
12224 status collapsed
12225
12226 \begin_layout Plain Layout
12227
12228
12229 \backslash
12230 multirow{2}{2.5cm}{
12231 \end_layout
12232
12233 \end_inset
12234
12235 multirow entry
12236 \begin_inset ERT
12237 status collapsed
12238
12239 \begin_layout Plain Layout
12240
12241 }
12242 \end_layout
12243
12244 \end_inset
12245
12246
12247 \end_layout
12248
12249 \end_inset
12250 </cell>
12251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12252 \begin_inset Text
12253
12254 \begin_layout Plain Layout
12255 e
12256 \end_layout
12257
12258 \end_inset
12259 </cell>
12260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12261 \begin_inset Text
12262
12263 \begin_layout Plain Layout
12264 f
12265 \end_layout
12266
12267 \end_inset
12268 </cell>
12269 </row>
12270 <row>
12271 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12272 \begin_inset Text
12273
12274 \begin_layout Plain Layout
12275
12276 \end_layout
12277
12278 \end_inset
12279 </cell>
12280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12281 \begin_inset Text
12282
12283 \begin_layout Plain Layout
12284 h
12285 \end_layout
12286
12287 \end_inset
12288 </cell>
12289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12290 \begin_inset Text
12291
12292 \begin_layout Plain Layout
12293 i
12294 \end_layout
12295
12296 \end_inset
12297 </cell>
12298 </row>
12299 </lyxtabular>
12300
12301 \end_inset
12302
12303
12304 \begin_inset ERT
12305 status collapsed
12306
12307 \begin_layout Plain Layout
12308
12309
12310 \backslash
12311 renewcommand{
12312 \backslash
12313 multirowsetup}{
12314 \backslash
12315 raggedright}
12316 \end_layout
12317
12318 \end_inset
12319
12320
12321 \end_layout
12322
12323 \begin_layout Standard
12324 create a 3×3 table.
12325  Unset the upper border of the last cell in the first column.
12326  The multirow is now created in the second row of the first column by inserting
12327  there the command
12328 \end_layout
12329
12330 \begin_layout Standard
12331
12332 \series bold
12333
12334 \backslash
12335 multirow{2}{2.5cm}{
12336 \end_layout
12337
12338 \begin_layout Standard
12339 as TeX-Code.
12340  According to the command parameters the multirow spans now two rows and
12341  has a width of 2.5
12342 \begin_inset space \thinspace{}
12343 \end_inset
12344
12345 cm.
12346  The content of the multirow cell follows outside the TeX-Code box and the
12347  command is finished with a right brace 
12348 \series bold
12349 }
12350 \series default
12351  in another TeX-Code-box after the text.
12352 \end_layout
12353
12354 \begin_layout Standard
12355
12356 \series bold
12357
12358 \backslash
12359 multirow
12360 \series default
12361  left-aligns its content by default.
12362  To override the default, renew the command 
12363 \series bold
12364
12365 \backslash
12366 multirowsetup
12367 \series default
12368  with the command
12369 \end_layout
12370
12371 \begin_layout Standard
12372
12373 \series bold
12374
12375 \backslash
12376 renewcommand{
12377 \backslash
12378 multirowsetup}{
12379 \backslash
12380 centering}
12381 \end_layout
12382
12383 \begin_layout Standard
12384 in TeX-Code in the document preamble.
12385  Then all entries of multirow cells in the document are centered.
12386  If centering is only needed for several tables, you can renew the command
12387  in a TeX-Code box just before the table instead of the preamble.
12388  If the text should be right-aligned, replace 
12389 \series bold
12390
12391 \backslash
12392 centering
12393 \series default
12394  by 
12395 \series bold
12396
12397 \backslash
12398 raggedleft
12399 \series default
12400 .
12401  To return to left-alignment 
12402 \series bold
12403
12404 \backslash
12405 raggedright
12406 \series default
12407  is used.
12408 \end_layout
12409
12410 \begin_layout Section
12411 Formal Tables
12412 \begin_inset CommandInset label
12413 LatexCommand label
12414 name "sec:Formal-Tables"
12415
12416 \end_inset
12417
12418
12419 \begin_inset Index
12420 status collapsed
12421
12422 \begin_layout Plain Layout
12423 Table ! Formal
12424 \end_layout
12425
12426 \end_inset
12427
12428
12429 \end_layout
12430
12431 \begin_layout Standard
12432 Tables are often typeset in books similar to Table
12433 \begin_inset space ~
12434 \end_inset
12435
12436
12437 \begin_inset CommandInset ref
12438 LatexCommand ref
12439 reference "tab:Example-booktabs-table"
12440
12441 \end_inset
12442
12443 .
12444  This kind of tables is called 
12445 \begin_inset Quotes eld
12446 \end_inset
12447
12448
12449 \emph on
12450 formal
12451 \emph default
12452
12453 \begin_inset Quotes erd
12454 \end_inset
12455
12456 .
12457  To make a table a formal table use the option 
12458 \family sans
12459 Formal
12460 \family default
12461  in the 
12462 \family sans
12463 Borders
12464 \family default
12465  tab of the table dialog.
12466 \end_layout
12467
12468 \begin_layout Standard
12469 \begin_inset Float table
12470 placement h
12471 wide false
12472 sideways false
12473 status open
12474
12475 \begin_layout Plain Layout
12476 \begin_inset Caption
12477
12478 \begin_layout Plain Layout
12479 \begin_inset CommandInset label
12480 LatexCommand label
12481 name "tab:Example-booktabs-table"
12482
12483 \end_inset
12484
12485 Example booktabs-table
12486 \end_layout
12487
12488 \end_inset
12489
12490
12491 \end_layout
12492
12493 \begin_layout Plain Layout
12494 \align center
12495 \begin_inset Tabular
12496 <lyxtabular version="3" rows="8" columns="4">
12497 <features booktabs="true">
12498 <column alignment="center" valignment="top" width="0">
12499 <column alignment="center" valignment="top" width="0">
12500 <column alignment="center" valignment="top" width="0">
12501 <column alignment="center" valignment="top" width="0">
12502 <row>
12503 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12504 \begin_inset Text
12505
12506 \begin_layout Plain Layout
12507 System
12508 \end_layout
12509
12510 \end_inset
12511 </cell>
12512 <cell alignment="center" valignment="top" topline="true" usebox="none">
12513 \begin_inset Text
12514
12515 \begin_layout Plain Layout
12516 Chip
12517 \begin_inset space \thinspace{}
12518 \end_inset
12519
12520 1
12521 \end_layout
12522
12523 \end_inset
12524 </cell>
12525 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12526 \begin_inset Text
12527
12528 \begin_layout Plain Layout
12529 Chip
12530 \begin_inset space \thinspace{}
12531 \end_inset
12532
12533 2
12534 \end_layout
12535
12536 \end_inset
12537 </cell>
12538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12539 \begin_inset Text
12540
12541 \begin_layout Plain Layout
12542
12543 \end_layout
12544
12545 \end_inset
12546 </cell>
12547 </row>
12548 <row>
12549 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12550 \begin_inset Text
12551
12552 \begin_layout Plain Layout
12553 \begin_inset ERT
12554 status collapsed
12555
12556 \begin_layout Plain Layout
12557
12558
12559 \backslash
12560 cmidrule(r){2-2}
12561 \end_layout
12562
12563 \end_inset
12564
12565
12566 \begin_inset ERT
12567 status collapsed
12568
12569 \begin_layout Plain Layout
12570
12571
12572 \backslash
12573 cmidrule(l){3-4}
12574 \end_layout
12575
12576 \end_inset
12577
12578 Detector thickness in µm
12579 \end_layout
12580
12581 \end_inset
12582 </cell>
12583 <cell alignment="center" valignment="top" usebox="none">
12584 \begin_inset Text
12585
12586 \begin_layout Plain Layout
12587 300
12588 \end_layout
12589
12590 \end_inset
12591 </cell>
12592 <cell alignment="center" valignment="top" usebox="none">
12593 \begin_inset Text
12594
12595 \begin_layout Plain Layout
12596 300
12597 \end_layout
12598
12599 \end_inset
12600 </cell>
12601 <cell alignment="center" valignment="top" usebox="none">
12602 \begin_inset Text
12603
12604 \begin_layout Plain Layout
12605 700
12606 \end_layout
12607
12608 \end_inset
12609 </cell>
12610 </row>
12611 <row>
12612 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12613 \begin_inset Text
12614
12615 \begin_layout Plain Layout
12616 Edge angle in °
12617 \end_layout
12618
12619 \end_inset
12620 </cell>
12621 <cell alignment="center" valignment="top" topline="true" usebox="none">
12622 \begin_inset Text
12623
12624 \begin_layout Plain Layout
12625 3.55
12626 \end_layout
12627
12628 \end_inset
12629 </cell>
12630 <cell alignment="center" valignment="top" topline="true" usebox="none">
12631 \begin_inset Text
12632
12633 \begin_layout Plain Layout
12634 2.71
12635 \end_layout
12636
12637 \end_inset
12638 </cell>
12639 <cell alignment="center" valignment="top" topline="true" usebox="none">
12640 \begin_inset Text
12641
12642 \begin_layout Plain Layout
12643 7.99
12644 \end_layout
12645
12646 \end_inset
12647 </cell>
12648 </row>
12649 <row topspace="default">
12650 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12651 \begin_inset Text
12652
12653 \begin_layout Plain Layout
12654 Spatial resolution in µm
12655 \end_layout
12656
12657 \end_inset
12658 </cell>
12659 <cell alignment="center" valignment="top" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Plain Layout
12663 4.26
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Plain Layout
12672 10.17
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 <cell alignment="center" valignment="top" usebox="none">
12678 \begin_inset Text
12679
12680 \begin_layout Plain Layout
12681 10.56
12682 \end_layout
12683
12684 \end_inset
12685 </cell>
12686 </row>
12687 <row topspace="default">
12688 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Plain Layout
12692 MTF at 
12693 \begin_inset Formula $f_{\mathrm{max}}$
12694 \end_inset
12695
12696
12697 \end_layout
12698
12699 \end_inset
12700 </cell>
12701 <cell alignment="center" valignment="top" usebox="none">
12702 \begin_inset Text
12703
12704 \begin_layout Plain Layout
12705 0.53
12706 \end_layout
12707
12708 \end_inset
12709 </cell>
12710 <cell alignment="center" valignment="top" usebox="none">
12711 \begin_inset Text
12712
12713 \begin_layout Plain Layout
12714 0.37
12715 \end_layout
12716
12717 \end_inset
12718 </cell>
12719 <cell alignment="center" valignment="top" usebox="none">
12720 \begin_inset Text
12721
12722 \begin_layout Plain Layout
12723 0.39
12724 \end_layout
12725
12726 \end_inset
12727 </cell>
12728 </row>
12729 <row topspace="default">
12730 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12731 \begin_inset Text
12732
12733 \begin_layout Plain Layout
12734 \begin_inset ERT
12735 status collapsed
12736
12737 \begin_layout Plain Layout
12738
12739
12740 \backslash
12741 cmidrule(l{10pt}){1-1}
12742 \end_layout
12743
12744 \end_inset
12745
12746 LSF-spatial resolution
12747 \end_layout
12748
12749 \end_inset
12750 </cell>
12751 <cell alignment="center" valignment="top" usebox="none">
12752 \begin_inset Text
12753
12754 \begin_layout Plain Layout
12755
12756 \end_layout
12757
12758 \end_inset
12759 </cell>
12760 <cell alignment="center" valignment="top" usebox="none">
12761 \begin_inset Text
12762
12763 \begin_layout Plain Layout
12764
12765 \end_layout
12766
12767 \end_inset
12768 </cell>
12769 <cell alignment="center" valignment="top" usebox="none">
12770 \begin_inset Text
12771
12772 \begin_layout Plain Layout
12773
12774 \end_layout
12775
12776 \end_inset
12777 </cell>
12778 </row>
12779 <row>
12780 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12781 \begin_inset Text
12782
12783 \begin_layout Plain Layout
12784 in µm
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 <cell alignment="center" valignment="top" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Plain Layout
12793 129.7
12794 \end_layout
12795
12796 \end_inset
12797 </cell>
12798 <cell alignment="center" valignment="top" usebox="none">
12799 \begin_inset Text
12800
12801 \begin_layout Plain Layout
12802 52.75
12803 \end_layout
12804
12805 \end_inset
12806 </cell>
12807 <cell alignment="center" valignment="top" usebox="none">
12808 \begin_inset Text
12809
12810 \begin_layout Plain Layout
12811 50.78
12812 \end_layout
12813
12814 \end_inset
12815 </cell>
12816 </row>
12817 <row>
12818 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12819 \begin_inset Text
12820
12821 \begin_layout Plain Layout
12822 in % of pixel size
12823 \end_layout
12824
12825 \end_inset
12826 </cell>
12827 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12828 \begin_inset Text
12829
12830 \begin_layout Plain Layout
12831 76.3
12832 \end_layout
12833
12834 \end_inset
12835 </cell>
12836 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12837 \begin_inset Text
12838
12839 \begin_layout Plain Layout
12840 95.9
12841 \end_layout
12842
12843 \end_inset
12844 </cell>
12845 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12846 \begin_inset Text
12847
12848 \begin_layout Plain Layout
12849 92.3
12850 \end_layout
12851
12852 \end_inset
12853 </cell>
12854 </row>
12855 </lyxtabular>
12856
12857 \end_inset
12858
12859
12860 \end_layout
12861
12862 \end_inset
12863
12864
12865 \end_layout
12866
12867 \begin_layout Standard
12868 Spaces to table rows can be added using the 
12869 \family sans
12870 Borders
12871 \family default
12872  tab of the table dialog as described in section
12873 \begin_inset space ~
12874 \end_inset
12875
12876
12877 \begin_inset CommandInset ref
12878 LatexCommand ref
12879 reference "sub:Row-Spacing"
12880
12881 \end_inset
12882
12883 .
12884 \end_layout
12885
12886 \begin_layout Standard
12887 Unlike normal tables, formal tables have no vertical table lines.
12888  The horizontal table lines can be set as for normal tables but they appear
12889  with different widths in the output:
12890 \begin_inset Newline newline
12891 \end_inset
12892
12893 The first and the last table line have a default width of 0.08
12894 \begin_inset space \thinspace{}
12895 \end_inset
12896
12897 em while the other lines have a default width of 0.05
12898 \begin_inset space \thinspace{}
12899 \end_inset
12900
12901 em.
12902 \end_layout
12903
12904 \begin_layout Standard
12905 The default widths can be changed with the following preamble lines
12906 \end_layout
12907
12908 \begin_layout Standard
12909
12910 \series bold
12911
12912 \backslash
12913 let
12914 \backslash
12915 mytoprule
12916 \backslash
12917 toprule
12918 \begin_inset Newline newline
12919 \end_inset
12920
12921
12922 \backslash
12923 renewcommand{
12924 \backslash
12925 toprule}{
12926 \backslash
12927 mytoprule[width]}
12928 \end_layout
12929
12930 \begin_layout Standard
12931 This example is for the first line, the so called 
12932 \series bold
12933 toprule
12934 \series default
12935 .
12936  If you want to change the width for the last line, replace 
12937 \series bold
12938 toprule
12939 \series default
12940  by 
12941 \series bold
12942 bottomrule
12943 \series default
12944 .
12945  To change the width for the other lines replace 
12946 \series bold
12947 toprule
12948 \series default
12949  by 
12950 \series bold
12951 midrule
12952 \series default
12953 .
12954  You can use all units listed in appendix
12955 \begin_inset space ~
12956 \end_inset
12957
12958
12959 \begin_inset CommandInset ref
12960 LatexCommand ref
12961 reference "cha:Units-available-in"
12962
12963 \end_inset
12964
12965  to set the width.
12966 \end_layout
12967
12968 \begin_layout Standard
12969 Lines that do not span all table columns can be created by setting a table
12970  line for multicolumn cells.
12971  LyX will then internally use the command 
12972 \series bold
12973
12974 \backslash
12975 cmidrule
12976 \series default
12977  to create this line.
12978  Its full scheme is
12979 \end_layout
12980
12981 \begin_layout Standard
12982
12983 \series bold
12984
12985 \backslash
12986 cmidrule[width](trim){startcol-endcol}
12987 \end_layout
12988
12989 \begin_layout Standard
12990 The options of 
12991 \series bold
12992
12993 \backslash
12994 cmidrule
12995 \series default
12996  are currently not supported by LyX so you have to use TeX-Code to be able
12997  to use them.
12998  
12999 \series bold
13000
13001 \backslash
13002 cmidrule
13003 \series default
13004 s can manually be created by inserting the command as TeX-Code as the first
13005  cell entry of the first cell of a row.
13006  The line is then drawn in the output above the current row.
13007 \end_layout
13008
13009 \begin_layout Standard
13010 The default for the width is 0.03
13011 \begin_inset space \thinspace{}
13012 \end_inset
13013
13014 em.
13015  Startcol is the number of the column where the line starts and endcol the
13016  column number where the line ends.
13017  The endcol always needs to be specified, also when the line should span
13018  only one column.
13019  The optional parameter trim could be either 
13020 \emph on
13021 l{trimwidth}
13022 \emph default
13023 , or 
13024 \emph on
13025 r{trimwidth}
13026 \emph default
13027  where the trimwidth is also optional.
13028  Using for example the parameter 
13029 \emph on
13030 l{2pt}
13031 \emph default
13032  means that the line is trimmed from its left end by 2
13033 \begin_inset space \thinspace{}
13034 \end_inset
13035
13036 pt.
13037  If you don't specify the trimwidth the lines are trimmed by the default
13038  of 0.5
13039 \begin_inset space \thinspace{}
13040 \end_inset
13041
13042 em.
13043 \end_layout
13044
13045 \begin_layout Standard
13046 \begin_inset VSpace bigskip
13047 \end_inset
13048
13049 Table
13050 \begin_inset space ~
13051 \end_inset
13052
13053
13054 \begin_inset CommandInset ref
13055 LatexCommand ref
13056 reference "tab:Example-booktabs-table"
13057
13058 \end_inset
13059
13060  was created using the commands
13061 \end_layout
13062
13063 \begin_layout Standard
13064
13065 \series bold
13066
13067 \backslash
13068 cmidrule(r){2-2}
13069 \backslash
13070 cmidrule(l){3-4}
13071 \end_layout
13072
13073 \begin_layout Standard
13074 at the beginning of the second row and
13075 \end_layout
13076
13077 \begin_layout Standard
13078
13079 \series bold
13080
13081 \backslash
13082 cmidrule(l{10pt}){1-1}
13083 \end_layout
13084
13085 \begin_layout Standard
13086 in the sixth row.
13087 \end_layout
13088
13089 \begin_layout Standard
13090 \begin_inset VSpace bigskip
13091 \end_inset
13092
13093
13094 \end_layout
13095
13096 \begin_layout Standard
13097 You might want to have overlapping 
13098 \series bold
13099
13100 \backslash
13101 cmidrule
13102 \series default
13103 s as in in Table
13104 \begin_inset space ~
13105 \end_inset
13106
13107
13108 \begin_inset CommandInset ref
13109 LatexCommand ref
13110 reference "tab:Special-booktabs-table"
13111
13112 \end_inset
13113
13114 .
13115  This can be achieved with the TeX-Code command
13116 \end_layout
13117
13118 \begin_layout Standard
13119
13120 \series bold
13121
13122 \backslash
13123 morecmidrules
13124 \end_layout
13125
13126 \begin_layout Standard
13127 The command that was used for the second row of Table
13128 \begin_inset space ~
13129 \end_inset
13130
13131
13132 \begin_inset CommandInset ref
13133 LatexCommand ref
13134 reference "tab:Special-booktabs-table"
13135
13136 \end_inset
13137
13138  is
13139 \end_layout
13140
13141 \begin_layout Standard
13142
13143 \series bold
13144
13145 \backslash
13146 cmidrule(r){2-2}
13147 \backslash
13148 cmidrule(l){3-4}
13149 \backslash
13150 morecmidrules
13151 \backslash
13152 cmidrule{2-4}
13153 \end_layout
13154
13155 \begin_layout Standard
13156 The command for the sixth row is
13157 \end_layout
13158
13159 \begin_layout Standard
13160
13161 \series bold
13162
13163 \backslash
13164 midrule
13165 \backslash
13166 morecmidrules
13167 \backslash
13168 cmidrule{3-4}
13169 \end_layout
13170
13171 \begin_layout Standard
13172 \begin_inset VSpace bigskip
13173 \end_inset
13174
13175
13176 \end_layout
13177
13178 \begin_layout Standard
13179 If you are anyway not satisfied with the border line spacing, you can use
13180  the following command to produce lines that span over all table columns
13181 \series bold
13182 :
13183 \end_layout
13184
13185 \begin_layout Standard
13186
13187 \series bold
13188
13189 \backslash
13190 specialrule{width}{space above}{space below}
13191 \end_layout
13192
13193 \begin_layout Standard
13194 For more information about these features, refer to the manual of the LaTeX-pack
13195 age 
13196 \series bold
13197 booktabs
13198 \series default
13199  
13200 \begin_inset CommandInset citation
13201 LatexCommand cite
13202 key "booktabs"
13203
13204 \end_inset
13205
13206 .
13207 \begin_inset Index
13208 status collapsed
13209
13210 \begin_layout Plain Layout
13211 LaTeX-packages ! booktabs
13212 \end_layout
13213
13214 \end_inset
13215
13216
13217 \end_layout
13218
13219 \begin_layout Standard
13220 \begin_inset Float table
13221 placement h
13222 wide false
13223 sideways false
13224 status open
13225
13226 \begin_layout Plain Layout
13227 \begin_inset Caption
13228
13229 \begin_layout Plain Layout
13230 \begin_inset CommandInset label
13231 LatexCommand label
13232 name "tab:Special-booktabs-table"
13233
13234 \end_inset
13235
13236 Special booktabs-table
13237 \end_layout
13238
13239 \end_inset
13240
13241
13242 \end_layout
13243
13244 \begin_layout Plain Layout
13245 \align center
13246 \begin_inset Tabular
13247 <lyxtabular version="3" rows="8" columns="4">
13248 <features booktabs="true">
13249 <column alignment="center" valignment="top" width="0">
13250 <column alignment="center" valignment="top" width="0">
13251 <column alignment="center" valignment="top" width="0">
13252 <column alignment="center" valignment="top" width="0">
13253 <row>
13254 <cell alignment="center" valignment="top" topline="true" usebox="none">
13255 \begin_inset Text
13256
13257 \begin_layout Plain Layout
13258 System
13259 \end_layout
13260
13261 \end_inset
13262 </cell>
13263 <cell alignment="center" valignment="top" topline="true" usebox="none">
13264 \begin_inset Text
13265
13266 \begin_layout Plain Layout
13267 Chip
13268 \begin_inset space \thinspace{}
13269 \end_inset
13270
13271 1
13272 \end_layout
13273
13274 \end_inset
13275 </cell>
13276 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13277 \begin_inset Text
13278
13279 \begin_layout Plain Layout
13280 Chip
13281 \begin_inset space \thinspace{}
13282 \end_inset
13283
13284 2
13285 \end_layout
13286
13287 \end_inset
13288 </cell>
13289 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13290 \begin_inset Text
13291
13292 \begin_layout Plain Layout
13293
13294 \end_layout
13295
13296 \end_inset
13297 </cell>
13298 </row>
13299 <row>
13300 <cell alignment="center" valignment="top" usebox="none">
13301 \begin_inset Text
13302
13303 \begin_layout Plain Layout
13304 \begin_inset ERT
13305 status collapsed
13306
13307 \begin_layout Plain Layout
13308
13309
13310 \backslash
13311 cmidrule(r){2-2}
13312 \end_layout
13313
13314 \end_inset
13315
13316
13317 \begin_inset ERT
13318 status collapsed
13319
13320 \begin_layout Plain Layout
13321
13322
13323 \backslash
13324 cmidrule(l){3-4}
13325 \end_layout
13326
13327 \end_inset
13328
13329
13330 \begin_inset ERT
13331 status collapsed
13332
13333 \begin_layout Plain Layout
13334
13335
13336 \backslash
13337 morecmidrules 
13338 \end_layout
13339
13340 \end_inset
13341
13342
13343 \begin_inset ERT
13344 status collapsed
13345
13346 \begin_layout Plain Layout
13347
13348
13349 \backslash
13350 cmidrule{2-4}
13351 \end_layout
13352
13353 \end_inset
13354
13355 Detector thickness in µm
13356 \end_layout
13357
13358 \end_inset
13359 </cell>
13360 <cell alignment="center" valignment="top" usebox="none">
13361 \begin_inset Text
13362
13363 \begin_layout Plain Layout
13364 300
13365 \end_layout
13366
13367 \end_inset
13368 </cell>
13369 <cell alignment="center" valignment="top" usebox="none">
13370 \begin_inset Text
13371
13372 \begin_layout Plain Layout
13373 300
13374 \end_layout
13375
13376 \end_inset
13377 </cell>
13378 <cell alignment="center" valignment="top" usebox="none">
13379 \begin_inset Text
13380
13381 \begin_layout Plain Layout
13382 700
13383 \end_layout
13384
13385 \end_inset
13386 </cell>
13387 </row>
13388 <row>
13389 <cell alignment="center" valignment="top" topline="true" usebox="none">
13390 \begin_inset Text
13391
13392 \begin_layout Plain Layout
13393 Edge angle in °
13394 \end_layout
13395
13396 \end_inset
13397 </cell>
13398 <cell alignment="center" valignment="top" topline="true" usebox="none">
13399 \begin_inset Text
13400
13401 \begin_layout Plain Layout
13402 3.55
13403 \end_layout
13404
13405 \end_inset
13406 </cell>
13407 <cell alignment="center" valignment="top" topline="true" usebox="none">
13408 \begin_inset Text
13409
13410 \begin_layout Plain Layout
13411 2.71
13412 \end_layout
13413
13414 \end_inset
13415 </cell>
13416 <cell alignment="center" valignment="top" topline="true" usebox="none">
13417 \begin_inset Text
13418
13419 \begin_layout Plain Layout
13420 7.99
13421 \end_layout
13422
13423 \end_inset
13424 </cell>
13425 </row>
13426 <row topspace="default">
13427 <cell alignment="center" valignment="top" usebox="none">
13428 \begin_inset Text
13429
13430 \begin_layout Plain Layout
13431 Spatial resolution in µm
13432 \end_layout
13433
13434 \end_inset
13435 </cell>
13436 <cell alignment="center" valignment="top" usebox="none">
13437 \begin_inset Text
13438
13439 \begin_layout Plain Layout
13440 4.26
13441 \end_layout
13442
13443 \end_inset
13444 </cell>
13445 <cell alignment="center" valignment="top" usebox="none">
13446 \begin_inset Text
13447
13448 \begin_layout Plain Layout
13449 10.17
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 <cell alignment="center" valignment="top" usebox="none">
13455 \begin_inset Text
13456
13457 \begin_layout Plain Layout
13458 10.56
13459 \end_layout
13460
13461 \end_inset
13462 </cell>
13463 </row>
13464 <row topspace="default">
13465 <cell alignment="center" valignment="top" usebox="none">
13466 \begin_inset Text
13467
13468 \begin_layout Plain Layout
13469 MTF at 
13470 \begin_inset Formula $f_{\mathrm{max}}$
13471 \end_inset
13472
13473
13474 \end_layout
13475
13476 \end_inset
13477 </cell>
13478 <cell alignment="center" valignment="top" usebox="none">
13479 \begin_inset Text
13480
13481 \begin_layout Plain Layout
13482 0.53
13483 \end_layout
13484
13485 \end_inset
13486 </cell>
13487 <cell alignment="center" valignment="top" usebox="none">
13488 \begin_inset Text
13489
13490 \begin_layout Plain Layout
13491 0.37
13492 \end_layout
13493
13494 \end_inset
13495 </cell>
13496 <cell alignment="center" valignment="top" usebox="none">
13497 \begin_inset Text
13498
13499 \begin_layout Plain Layout
13500 0.39
13501 \end_layout
13502
13503 \end_inset
13504 </cell>
13505 </row>
13506 <row>
13507 <cell alignment="center" valignment="top" topline="true" usebox="none">
13508 \begin_inset Text
13509
13510 \begin_layout Plain Layout
13511 \begin_inset ERT
13512 status collapsed
13513
13514 \begin_layout Plain Layout
13515
13516
13517 \backslash
13518 morecmidrules 
13519 \end_layout
13520
13521 \end_inset
13522
13523
13524 \begin_inset ERT
13525 status collapsed
13526
13527 \begin_layout Plain Layout
13528
13529
13530 \backslash
13531 cmidrule{3-4}
13532 \end_layout
13533
13534 \end_inset
13535
13536 LSF-spatial resolution
13537 \end_layout
13538
13539 \end_inset
13540 </cell>
13541 <cell alignment="center" valignment="top" topline="true" usebox="none">
13542 \begin_inset Text
13543
13544 \begin_layout Plain Layout
13545
13546 \end_layout
13547
13548 \end_inset
13549 </cell>
13550 <cell alignment="center" valignment="top" topline="true" usebox="none">
13551 \begin_inset Text
13552
13553 \begin_layout Plain Layout
13554
13555 \end_layout
13556
13557 \end_inset
13558 </cell>
13559 <cell alignment="center" valignment="top" topline="true" usebox="none">
13560 \begin_inset Text
13561
13562 \begin_layout Plain Layout
13563
13564 \end_layout
13565
13566 \end_inset
13567 </cell>
13568 </row>
13569 <row>
13570 <cell alignment="center" valignment="top" usebox="none">
13571 \begin_inset Text
13572
13573 \begin_layout Plain Layout
13574 in µm
13575 \end_layout
13576
13577 \end_inset
13578 </cell>
13579 <cell alignment="center" valignment="top" usebox="none">
13580 \begin_inset Text
13581
13582 \begin_layout Plain Layout
13583 129.7
13584 \end_layout
13585
13586 \end_inset
13587 </cell>
13588 <cell alignment="center" valignment="top" usebox="none">
13589 \begin_inset Text
13590
13591 \begin_layout Plain Layout
13592 52.75
13593 \end_layout
13594
13595 \end_inset
13596 </cell>
13597 <cell alignment="center" valignment="top" usebox="none">
13598 \begin_inset Text
13599
13600 \begin_layout Plain Layout
13601 50.78
13602 \end_layout
13603
13604 \end_inset
13605 </cell>
13606 </row>
13607 <row>
13608 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13609 \begin_inset Text
13610
13611 \begin_layout Plain Layout
13612 in % of pixel size
13613 \end_layout
13614
13615 \end_inset
13616 </cell>
13617 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13618 \begin_inset Text
13619
13620 \begin_layout Plain Layout
13621 76.3
13622 \end_layout
13623
13624 \end_inset
13625 </cell>
13626 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13627 \begin_inset Text
13628
13629 \begin_layout Plain Layout
13630 95.9
13631 \end_layout
13632
13633 \end_inset
13634 </cell>
13635 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13636 \begin_inset Text
13637
13638 \begin_layout Plain Layout
13639 92.3
13640 \end_layout
13641
13642 \end_inset
13643 </cell>
13644 </row>
13645 </lyxtabular>
13646
13647 \end_inset
13648
13649
13650 \end_layout
13651
13652 \end_inset
13653
13654
13655 \end_layout
13656
13657 \begin_layout Section
13658 Vertical Table Alignment
13659 \begin_inset Index
13660 status collapsed
13661
13662 \begin_layout Plain Layout
13663 Table ! Alignment
13664 \end_layout
13665
13666 \end_inset
13667
13668
13669 \end_layout
13670
13671 \begin_layout Standard
13672 To align tables vertically in a text line the table must be inside a box.
13673  The box can then be vertically aligned as described in section
13674 \begin_inset space ~
13675 \end_inset
13676
13677
13678 \begin_inset CommandInset ref
13679 LatexCommand ref
13680 reference "sec:Box-Dialog"
13681
13682 \end_inset
13683
13684 .
13685 \end_layout
13686
13687 \begin_layout Standard
13688 In the following example the tables are inside a minipage
13689 \begin_inset Foot
13690 status collapsed
13691
13692 \begin_layout Plain Layout
13693 Minipages are described in section
13694 \begin_inset space ~
13695 \end_inset
13696
13697
13698 \begin_inset CommandInset ref
13699 LatexCommand ref
13700 reference "sec:Minipages"
13701
13702 \end_inset
13703
13704 .
13705 \end_layout
13706
13707 \end_inset
13708
13709  box that has a width of 15
13710 \begin_inset space \thinspace{}
13711 \end_inset
13712
13713 col%:
13714 \end_layout
13715
13716 \begin_layout Itemize
13717 test 
13718 \begin_inset Box Frameless
13719 position "t"
13720 hor_pos "c"
13721 has_inner_box 1
13722 inner_pos "c"
13723 use_parbox 0
13724 width "15col%"
13725 special "none"
13726 height "1in"
13727 height_special "totalheight"
13728 status collapsed
13729
13730 \begin_layout Plain Layout
13731 \begin_inset Tabular
13732 <lyxtabular version="3" rows="3" columns="3">
13733 <features>
13734 <column alignment="center" valignment="top" width="0">
13735 <column alignment="center" valignment="top" width="0">
13736 <column alignment="center" valignment="top" width="0">
13737 <row>
13738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13739 \begin_inset Text
13740
13741 \begin_layout Plain Layout
13742 a
13743 \end_layout
13744
13745 \end_inset
13746 </cell>
13747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13748 \begin_inset Text
13749
13750 \begin_layout Plain Layout
13751 d
13752 \end_layout
13753
13754 \end_inset
13755 </cell>
13756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13757 \begin_inset Text
13758
13759 \begin_layout Plain Layout
13760 g
13761 \end_layout
13762
13763 \end_inset
13764 </cell>
13765 </row>
13766 <row>
13767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13768 \begin_inset Text
13769
13770 \begin_layout Plain Layout
13771 b
13772 \end_layout
13773
13774 \end_inset
13775 </cell>
13776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13777 \begin_inset Text
13778
13779 \begin_layout Plain Layout
13780 e
13781 \end_layout
13782
13783 \end_inset
13784 </cell>
13785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13786 \begin_inset Text
13787
13788 \begin_layout Plain Layout
13789 h
13790 \end_layout
13791
13792 \end_inset
13793 </cell>
13794 </row>
13795 <row>
13796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13797 \begin_inset Text
13798
13799 \begin_layout Plain Layout
13800 c
13801 \end_layout
13802
13803 \end_inset
13804 </cell>
13805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13806 \begin_inset Text
13807
13808 \begin_layout Plain Layout
13809 f
13810 \end_layout
13811
13812 \end_inset
13813 </cell>
13814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13815 \begin_inset Text
13816
13817 \begin_layout Plain Layout
13818 i
13819 \end_layout
13820
13821 \end_inset
13822 </cell>
13823 </row>
13824 </lyxtabular>
13825
13826 \end_inset
13827
13828
13829 \end_layout
13830
13831 \end_inset
13832
13833  test 
13834 \begin_inset ERT
13835 status collapsed
13836
13837 \begin_layout Plain Layout
13838
13839
13840 \backslash
13841 raisebox{0.85
13842 \backslash
13843 baselineskip}{
13844 \end_layout
13845
13846 \end_inset
13847
13848
13849 \begin_inset Box Frameless
13850 position "t"
13851 hor_pos "c"
13852 has_inner_box 1
13853 inner_pos "c"
13854 use_parbox 0
13855 width "15col%"
13856 special "none"
13857 height "1in"
13858 height_special "totalheight"
13859 status collapsed
13860
13861 \begin_layout Plain Layout
13862 \begin_inset Tabular
13863 <lyxtabular version="3" rows="3" columns="3">
13864 <features>
13865 <column alignment="center" valignment="top" width="0">
13866 <column alignment="center" valignment="top" width="0">
13867 <column alignment="center" valignment="top" width="0">
13868 <row>
13869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13870 \begin_inset Text
13871
13872 \begin_layout Plain Layout
13873 a
13874 \end_layout
13875
13876 \end_inset
13877 </cell>
13878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13879 \begin_inset Text
13880
13881 \begin_layout Plain Layout
13882 d
13883 \end_layout
13884
13885 \end_inset
13886 </cell>
13887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13888 \begin_inset Text
13889
13890 \begin_layout Plain Layout
13891 g
13892 \end_layout
13893
13894 \end_inset
13895 </cell>
13896 </row>
13897 <row>
13898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13899 \begin_inset Text
13900
13901 \begin_layout Plain Layout
13902 b
13903 \end_layout
13904
13905 \end_inset
13906 </cell>
13907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13908 \begin_inset Text
13909
13910 \begin_layout Plain Layout
13911 e
13912 \end_layout
13913
13914 \end_inset
13915 </cell>
13916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13917 \begin_inset Text
13918
13919 \begin_layout Plain Layout
13920 h
13921 \end_layout
13922
13923 \end_inset
13924 </cell>
13925 </row>
13926 <row>
13927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13928 \begin_inset Text
13929
13930 \begin_layout Plain Layout
13931 c
13932 \end_layout
13933
13934 \end_inset
13935 </cell>
13936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13937 \begin_inset Text
13938
13939 \begin_layout Plain Layout
13940 f
13941 \end_layout
13942
13943 \end_inset
13944 </cell>
13945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13946 \begin_inset Text
13947
13948 \begin_layout Plain Layout
13949 i
13950 \end_layout
13951
13952 \end_inset
13953 </cell>
13954 </row>
13955 </lyxtabular>
13956
13957 \end_inset
13958
13959
13960 \end_layout
13961
13962 \end_inset
13963
13964
13965 \begin_inset ERT
13966 status collapsed
13967
13968 \begin_layout Plain Layout
13969
13970 }
13971 \end_layout
13972
13973 \end_inset
13974
13975
13976 \end_layout
13977
13978 \begin_layout Itemize
13979 test 
13980 \begin_inset Box Frameless
13981 position "c"
13982 hor_pos "c"
13983 has_inner_box 1
13984 inner_pos "c"
13985 use_parbox 0
13986 width "15col%"
13987 special "none"
13988 height "1in"
13989 height_special "totalheight"
13990 status collapsed
13991
13992 \begin_layout Plain Layout
13993 \begin_inset Tabular
13994 <lyxtabular version="3" rows="3" columns="3">
13995 <features>
13996 <column alignment="center" valignment="top" width="0">
13997 <column alignment="center" valignment="top" width="0">
13998 <column alignment="center" valignment="top" width="0">
13999 <row>
14000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14001 \begin_inset Text
14002
14003 \begin_layout Plain Layout
14004 a
14005 \end_layout
14006
14007 \end_inset
14008 </cell>
14009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14010 \begin_inset Text
14011
14012 \begin_layout Plain Layout
14013 d
14014 \end_layout
14015
14016 \end_inset
14017 </cell>
14018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14019 \begin_inset Text
14020
14021 \begin_layout Plain Layout
14022 g
14023 \end_layout
14024
14025 \end_inset
14026 </cell>
14027 </row>
14028 <row>
14029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14030 \begin_inset Text
14031
14032 \begin_layout Plain Layout
14033 b
14034 \end_layout
14035
14036 \end_inset
14037 </cell>
14038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14039 \begin_inset Text
14040
14041 \begin_layout Plain Layout
14042 e
14043 \end_layout
14044
14045 \end_inset
14046 </cell>
14047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14048 \begin_inset Text
14049
14050 \begin_layout Plain Layout
14051 h
14052 \end_layout
14053
14054 \end_inset
14055 </cell>
14056 </row>
14057 <row>
14058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14059 \begin_inset Text
14060
14061 \begin_layout Plain Layout
14062 c
14063 \end_layout
14064
14065 \end_inset
14066 </cell>
14067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14068 \begin_inset Text
14069
14070 \begin_layout Plain Layout
14071 f
14072 \end_layout
14073
14074 \end_inset
14075 </cell>
14076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14077 \begin_inset Text
14078
14079 \begin_layout Plain Layout
14080 i
14081 \end_layout
14082
14083 \end_inset
14084 </cell>
14085 </row>
14086 </lyxtabular>
14087
14088 \end_inset
14089
14090
14091 \end_layout
14092
14093 \end_inset
14094
14095
14096 \end_layout
14097
14098 \begin_layout Itemize
14099 test 
14100 \begin_inset Box Frameless
14101 position "b"
14102 hor_pos "c"
14103 has_inner_box 1
14104 inner_pos "c"
14105 use_parbox 0
14106 width "15col%"
14107 special "none"
14108 height "1in"
14109 height_special "totalheight"
14110 status collapsed
14111
14112 \begin_layout Plain Layout
14113 \begin_inset Tabular
14114 <lyxtabular version="3" rows="3" columns="3">
14115 <features>
14116 <column alignment="center" valignment="top" width="0">
14117 <column alignment="center" valignment="top" width="0">
14118 <column alignment="center" valignment="top" width="0">
14119 <row>
14120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14121 \begin_inset Text
14122
14123 \begin_layout Plain Layout
14124 a
14125 \end_layout
14126
14127 \end_inset
14128 </cell>
14129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14130 \begin_inset Text
14131
14132 \begin_layout Plain Layout
14133 d
14134 \end_layout
14135
14136 \end_inset
14137 </cell>
14138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14139 \begin_inset Text
14140
14141 \begin_layout Plain Layout
14142 g
14143 \end_layout
14144
14145 \end_inset
14146 </cell>
14147 </row>
14148 <row>
14149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14150 \begin_inset Text
14151
14152 \begin_layout Plain Layout
14153 b
14154 \end_layout
14155
14156 \end_inset
14157 </cell>
14158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14159 \begin_inset Text
14160
14161 \begin_layout Plain Layout
14162 e
14163 \end_layout
14164
14165 \end_inset
14166 </cell>
14167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14168 \begin_inset Text
14169
14170 \begin_layout Plain Layout
14171 h
14172 \end_layout
14173
14174 \end_inset
14175 </cell>
14176 </row>
14177 <row>
14178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14179 \begin_inset Text
14180
14181 \begin_layout Plain Layout
14182 c
14183 \end_layout
14184
14185 \end_inset
14186 </cell>
14187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14188 \begin_inset Text
14189
14190 \begin_layout Plain Layout
14191 f
14192 \end_layout
14193
14194 \end_inset
14195 </cell>
14196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14197 \begin_inset Text
14198
14199 \begin_layout Plain Layout
14200 i
14201 \end_layout
14202
14203 \end_inset
14204 </cell>
14205 </row>
14206 </lyxtabular>
14207
14208 \end_inset
14209
14210
14211 \end_layout
14212
14213 \end_inset
14214
14215  test 
14216 \begin_inset ERT
14217 status collapsed
14218
14219 \begin_layout Plain Layout
14220
14221
14222 \backslash
14223 raisebox{-0.32
14224 \backslash
14225 baselineskip}{
14226 \end_layout
14227
14228 \end_inset
14229
14230
14231 \begin_inset Box Frameless
14232 position "b"
14233 hor_pos "c"
14234 has_inner_box 1
14235 inner_pos "c"
14236 use_parbox 0
14237 width "15col%"
14238 special "none"
14239 height "1in"
14240 height_special "totalheight"
14241 status collapsed
14242
14243 \begin_layout Plain Layout
14244 \begin_inset Tabular
14245 <lyxtabular version="3" rows="3" columns="3">
14246 <features>
14247 <column alignment="center" valignment="top" width="0">
14248 <column alignment="center" valignment="top" width="0">
14249 <column alignment="center" valignment="top" width="0">
14250 <row>
14251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14252 \begin_inset Text
14253
14254 \begin_layout Plain Layout
14255 a
14256 \end_layout
14257
14258 \end_inset
14259 </cell>
14260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14261 \begin_inset Text
14262
14263 \begin_layout Plain Layout
14264 d
14265 \end_layout
14266
14267 \end_inset
14268 </cell>
14269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14270 \begin_inset Text
14271
14272 \begin_layout Plain Layout
14273 g
14274 \end_layout
14275
14276 \end_inset
14277 </cell>
14278 </row>
14279 <row>
14280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14281 \begin_inset Text
14282
14283 \begin_layout Plain Layout
14284 b
14285 \end_layout
14286
14287 \end_inset
14288 </cell>
14289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14290 \begin_inset Text
14291
14292 \begin_layout Plain Layout
14293 e
14294 \end_layout
14295
14296 \end_inset
14297 </cell>
14298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14299 \begin_inset Text
14300
14301 \begin_layout Plain Layout
14302 h
14303 \end_layout
14304
14305 \end_inset
14306 </cell>
14307 </row>
14308 <row>
14309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14310 \begin_inset Text
14311
14312 \begin_layout Plain Layout
14313 c
14314 \end_layout
14315
14316 \end_inset
14317 </cell>
14318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14319 \begin_inset Text
14320
14321 \begin_layout Plain Layout
14322 f
14323 \end_layout
14324
14325 \end_inset
14326 </cell>
14327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14328 \begin_inset Text
14329
14330 \begin_layout Plain Layout
14331 i
14332 \end_layout
14333
14334 \end_inset
14335 </cell>
14336 </row>
14337 </lyxtabular>
14338
14339 \end_inset
14340
14341
14342 \end_layout
14343
14344 \end_inset
14345
14346
14347 \begin_inset ERT
14348 status collapsed
14349
14350 \begin_layout Plain Layout
14351
14352 }
14353 \end_layout
14354
14355 \end_inset
14356
14357
14358 \end_layout
14359
14360 \begin_layout Standard
14361 As you will see, the content of the first and last table row is not correctly
14362  aligned.
14363  To get this alignment, the minipage box must be set into a raisebox
14364 \begin_inset Foot
14365 status collapsed
14366
14367 \begin_layout Plain Layout
14368 Raiseboxes are described in section
14369 \begin_inset space ~
14370 \end_inset
14371
14372
14373 \begin_inset CommandInset ref
14374 LatexCommand ref
14375 reference "sub:Vertical-Alignment"
14376
14377 \end_inset
14378
14379 .
14380 \end_layout
14381
14382 \end_inset
14383
14384 .
14385  In the example above the second table in the first item is aligned using
14386  the TeX-Code-command
14387 \end_layout
14388
14389 \begin_layout Standard
14390
14391 \series bold
14392
14393 \backslash
14394 raisebox{0.85
14395 \backslash
14396 baselineskip}{
14397 \end_layout
14398
14399 \begin_layout Standard
14400 before the box.
14401  After the box the closing brace 
14402 \series bold
14403 }
14404 \series default
14405  is inserted as TeX-Code.
14406  For the second table in the last item the command
14407 \end_layout
14408
14409 \begin_layout Standard
14410
14411 \series bold
14412
14413 \backslash
14414 raisebox{-0.32
14415 \backslash
14416 baselineskip}{
14417 \end_layout
14418
14419 \begin_layout Standard
14420 is used.
14421 \end_layout
14422
14423 \begin_layout Standard
14424 \begin_inset Note Greyedout
14425 status open
14426
14427 \begin_layout Plain Layout
14428
14429 \series bold
14430 Note:
14431 \series default
14432  The alignment of the table row content to the surrounding text line is
14433  not exact.
14434  The required value for the 
14435 \series bold
14436
14437 \backslash
14438 raisebox
14439 \series default
14440  command for this alignment depends on the document font, the font size,
14441  and the table line thickness.
14442 \end_layout
14443
14444 \end_inset
14445
14446
14447 \end_layout
14448
14449 \begin_layout Section
14450 Colored Tables
14451 \begin_inset CommandInset label
14452 LatexCommand label
14453 name "sec:Colored-Tables"
14454
14455 \end_inset
14456
14457
14458 \begin_inset Index
14459 status collapsed
14460
14461 \begin_layout Plain Layout
14462 Table ! Color
14463 \end_layout
14464
14465 \end_inset
14466
14467
14468 \end_layout
14469
14470 \begin_layout Subsection
14471 Colored Cells
14472 \begin_inset Index
14473 status collapsed
14474
14475 \begin_layout Plain Layout
14476 Table Color ! for Cells
14477 \end_layout
14478
14479 \end_inset
14480
14481
14482 \begin_inset Index
14483 status collapsed
14484
14485 \begin_layout Plain Layout
14486 Color ! for Table Cells
14487 \end_layout
14488
14489 \end_inset
14490
14491
14492 \end_layout
14493
14494 \begin_layout Standard
14495 \begin_inset Float table
14496 placement h
14497 wide false
14498 sideways false
14499 status open
14500
14501 \begin_layout Plain Layout
14502 \begin_inset Caption
14503
14504 \begin_layout Plain Layout
14505 \begin_inset CommandInset label
14506 LatexCommand label
14507 name "tab:Table-colored-without"
14508
14509 \end_inset
14510
14511 Table colored without using the package 
14512 \series bold
14513 colortbl
14514 \series default
14515
14516 \begin_inset OptArg
14517 status collapsed
14518
14519 \begin_layout Plain Layout
14520 Table without colortbl
14521 \end_layout
14522
14523 \end_inset
14524
14525
14526 \end_layout
14527
14528 \end_inset
14529
14530
14531 \end_layout
14532
14533 \begin_layout Plain Layout
14534 \align center
14535 \begin_inset Tabular
14536 <lyxtabular version="3" rows="3" columns="3">
14537 <features>
14538 <column alignment="center" valignment="top" width="0">
14539 <column alignment="center" valignment="top" width="0">
14540 <column alignment="center" valignment="top" width="0">
14541 <row>
14542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14543 \begin_inset Text
14544
14545 \begin_layout Plain Layout
14546
14547 \color green
14548 a
14549 \end_layout
14550
14551 \end_inset
14552 </cell>
14553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14554 \begin_inset Text
14555
14556 \begin_layout Plain Layout
14557
14558 \color red
14559 b
14560 \end_layout
14561
14562 \end_inset
14563 </cell>
14564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14565 \begin_inset Text
14566
14567 \begin_layout Plain Layout
14568
14569 \color red
14570 c
14571 \end_layout
14572
14573 \end_inset
14574 </cell>
14575 </row>
14576 <row>
14577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14578 \begin_inset Text
14579
14580 \begin_layout Plain Layout
14581
14582 \color green
14583 d
14584 \end_layout
14585
14586 \end_inset
14587 </cell>
14588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14589 \begin_inset Text
14590
14591 \begin_layout Plain Layout
14592
14593 \color blue
14594 e
14595 \end_layout
14596
14597 \end_inset
14598 </cell>
14599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14600 \begin_inset Text
14601
14602 \begin_layout Plain Layout
14603
14604 \color blue
14605 f
14606 \end_layout
14607
14608 \end_inset
14609 </cell>
14610 </row>
14611 <row>
14612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14613 \begin_inset Text
14614
14615 \begin_layout Plain Layout
14616
14617 \color green
14618 g
14619 \end_layout
14620
14621 \end_inset
14622 </cell>
14623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14624 \begin_inset Text
14625
14626 \begin_layout Plain Layout
14627
14628 \color blue
14629 h
14630 \end_layout
14631
14632 \end_inset
14633 </cell>
14634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14635 \begin_inset Text
14636
14637 \begin_layout Plain Layout
14638
14639 \color blue
14640 i
14641 \end_layout
14642
14643 \end_inset
14644 </cell>
14645 </row>
14646 </lyxtabular>
14647
14648 \end_inset
14649
14650
14651 \end_layout
14652
14653 \end_inset
14654
14655
14656 \end_layout
14657
14658 \begin_layout Standard
14659 If you only need colored text, mark the cells and choose a color in the
14660  menu 
14661 \family sans
14662 Edit\SpecialChar \menuseparator
14663 Text
14664 \begin_inset space ~
14665 \end_inset
14666
14667 Style
14668 \family default
14669 .
14670  This was used to create Table
14671 \begin_inset space ~
14672 \end_inset
14673
14674
14675 \begin_inset CommandInset ref
14676 LatexCommand ref
14677 reference "tab:Table-colored-without"
14678
14679 \end_inset
14680
14681 .
14682  In any other case you have to use the LaTeX-package 
14683 \series bold
14684 colortbl
14685 \series default
14686 .
14687 \begin_inset Index
14688 status collapsed
14689
14690 \begin_layout Plain Layout
14691 LaTeX-packages ! colortbl
14692 \end_layout
14693
14694 \end_inset
14695
14696
14697 \end_layout
14698
14699 \begin_layout Standard
14700 \begin_inset ERT
14701 status collapsed
14702
14703 \begin_layout Plain Layout
14704
14705
14706 \backslash
14707 ifcolortbl
14708 \end_layout
14709
14710 \end_inset
14711
14712
14713 \begin_inset Note Note
14714 status open
14715
14716 \begin_layout Plain Layout
14717 The following section part will only be displayed when the LaTeX-package
14718  
14719 \series bold
14720 colortbl
14721 \series default
14722  is installed.
14723 \end_layout
14724
14725 \end_inset
14726
14727
14728 \end_layout
14729
14730 \begin_layout Standard
14731 To create colored tables, 
14732 \series bold
14733 colortbl
14734 \series default
14735  must be loaded in the preamble with the line
14736 \end_layout
14737
14738 \begin_layout Standard
14739
14740 \series bold
14741
14742 \backslash
14743 usepackage{colortbl}
14744 \end_layout
14745
14746 \begin_layout Standard
14747 The color of a column is adjusted with the command
14748 \end_layout
14749
14750 \begin_layout Standard
14751
14752 \series bold
14753
14754 \backslash
14755 columncolor{name of color}
14756 \end_layout
14757
14758 \begin_layout Standard
14759 inside the command 
14760 \series bold
14761 >{ }
14762 \series default
14763 .
14764  More about the command 
14765 \series bold
14766 >{}
14767 \series default
14768  is contained in section
14769 \begin_inset space ~
14770 \end_inset
14771
14772
14773 \begin_inset CommandInset ref
14774 LatexCommand ref
14775 reference "sub:Multicolumn-Calculations"
14776
14777 \end_inset
14778
14779 .
14780 \end_layout
14781
14782 \begin_layout Standard
14783 The following color names are predefined:
14784 \end_layout
14785
14786 \begin_layout Standard
14787
14788 \family sans
14789 red
14790 \family default
14791
14792 \family sans
14793 green
14794 \family default
14795
14796 \family sans
14797 yellow
14798 \family default
14799
14800 \family sans
14801 blue
14802 \family default
14803
14804 \family sans
14805 cyan
14806 \family default
14807
14808 \family sans
14809 magenta
14810 \family default
14811
14812 \family sans
14813 black
14814 \family default
14815  and 
14816 \family sans
14817 white
14818 \end_layout
14819
14820 \begin_layout Standard
14821 \begin_inset VSpace medskip
14822 \end_inset
14823
14824
14825 \end_layout
14826
14827 \begin_layout Standard
14828 You can also define your own color with the command
14829 \end_layout
14830
14831 \begin_layout Standard
14832
14833 \series bold
14834
14835 \backslash
14836 definecolor{color name}{color model}{color values}
14837 \end_layout
14838
14839 \begin_layout Standard
14840 The color model can be
14841 \end_layout
14842
14843 \begin_layout Labeling
14844 \labelwidthstring 00.00.0000
14845 cmyk: cyan, magenta, yellow, black
14846 \end_layout
14847
14848 \begin_layout Labeling
14849 \labelwidthstring 00.00.0000
14850 rgb: red, green blue
14851 \end_layout
14852
14853 \begin_layout Labeling
14854 \labelwidthstring 00.00.0000
14855 gray gray
14856 \end_layout
14857
14858 \begin_layout Standard
14859 and the color values are comma separated numbers between 0 and 1 describing
14860  the factor for the corresponding color of the color model.
14861 \end_layout
14862
14863 \begin_layout Standard
14864 You can e.
14865 \begin_inset space \thinspace{}
14866 \end_inset
14867
14868 g.
14869 \begin_inset space \space{}
14870 \end_inset
14871
14872 define the color "
14873 \emph on
14874 darkgreen
14875 \emph default
14876 " in the preamble with
14877 \end_layout
14878
14879 \begin_layout Standard
14880
14881 \series bold
14882
14883 \backslash
14884 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14885 \end_layout
14886
14887 \begin_layout Standard
14888 and the color "
14889 \emph on
14890 lightgray
14891 \emph default
14892 " with
14893 \end_layout
14894
14895 \begin_layout Standard
14896
14897 \series bold
14898
14899 \backslash
14900 definecolor{lightgray}{gray}{0.8}
14901 \end_layout
14902
14903 \begin_layout Standard
14904 \begin_inset VSpace medskip
14905 \end_inset
14906
14907
14908 \end_layout
14909
14910 \begin_layout Standard
14911 Lines are colored with the command
14912 \end_layout
14913
14914 \begin_layout Standard
14915
14916 \series bold
14917
14918 \backslash
14919 rowcolor{name of color}
14920 \end_layout
14921
14922 \begin_layout Standard
14923 and cells are colored with the command
14924 \end_layout
14925
14926 \begin_layout Standard
14927
14928 \series bold
14929
14930 \backslash
14931 cellcolor{name of color}
14932 \end_layout
14933
14934 \begin_layout Standard
14935 Both commands are inserted at the beginning of a cell as TeX-Code.
14936 \end_layout
14937
14938 \begin_layout Standard
14939 To color characters in the table, mark the cells and use the LyX menu 
14940 \family sans
14941 Edit\SpecialChar \menuseparator
14942 Text
14943 \begin_inset space ~
14944 \end_inset
14945
14946 Style
14947 \family default
14948 .
14949  If a cell contains TeX-Code mark only the characters, otherwise the colored
14950  TeX-Code will cause LaTeX-errors.
14951 \end_layout
14952
14953 \begin_layout Standard
14954 \begin_inset Note Greyedout
14955 status open
14956
14957 \begin_layout Plain Layout
14958
14959 \series bold
14960 Note:
14961 \series default
14962  Not all DVI-viewers are able to display self-defined colors.
14963 \end_layout
14964
14965 \end_inset
14966
14967
14968 \end_layout
14969
14970 \begin_layout Standard
14971 \begin_inset VSpace bigskip
14972 \end_inset
14973
14974
14975 \end_layout
14976
14977 \begin_layout Standard
14978 To create Table
14979 \begin_inset space ~
14980 \end_inset
14981
14982
14983 \begin_inset CommandInset ref
14984 LatexCommand ref
14985 reference "tab:Table-colored-using"
14986
14987 \end_inset
14988
14989  do the following: The color of the first column should be 
14990 \emph on
14991 darkgreen
14992 \emph default
14993 .
14994  So insert
14995 \end_layout
14996
14997 \begin_layout Standard
14998
14999 \series bold
15000 >{
15001 \backslash
15002 columncolor{darkgreen}
15003 \backslash
15004 centering}c
15005 \end_layout
15006
15007 \begin_layout Standard
15008 as LaTeX-argument for this column.
15009  The first row should be blue, therefore the TeX-Code command
15010 \end_layout
15011
15012 \begin_layout Standard
15013
15014 \series bold
15015
15016 \backslash
15017 rowcolor{cyan}
15018 \end_layout
15019
15020 \begin_layout Standard
15021 is inserted to the first cell of this row.
15022  Note that this overwrites the column color for the first cell.
15023  The last cell of the last row is colored magenta by inserting the TeX-Code
15024  command
15025 \end_layout
15026
15027 \begin_layout Standard
15028
15029 \series bold
15030
15031 \backslash
15032 cellcolor{magenta}
15033 \end_layout
15034
15035 \begin_layout Standard
15036 The characters could now be colored using the menu 
15037 \family sans
15038 Edit\SpecialChar \menuseparator
15039 Text
15040 \begin_inset space ~
15041 \end_inset
15042
15043 Style
15044 \family default
15045 .
15046 \end_layout
15047
15048 \begin_layout Standard
15049 \begin_inset Float table
15050 placement h
15051 wide false
15052 sideways false
15053 status open
15054
15055 \begin_layout Plain Layout
15056 \begin_inset Caption
15057
15058 \begin_layout Plain Layout
15059 \begin_inset CommandInset label
15060 LatexCommand label
15061 name "tab:Table-colored-using"
15062
15063 \end_inset
15064
15065 Table colored using the package 
15066 \series bold
15067 colortbl
15068 \series default
15069
15070 \begin_inset OptArg
15071 status collapsed
15072
15073 \begin_layout Plain Layout
15074 Table with colortbl
15075 \end_layout
15076
15077 \end_inset
15078
15079
15080 \end_layout
15081
15082 \end_inset
15083
15084
15085 \end_layout
15086
15087 \begin_layout Plain Layout
15088 \align center
15089 \begin_inset Tabular
15090 <lyxtabular version="3" rows="3" columns="3">
15091 <features>
15092 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15093 <column alignment="center" valignment="top" width="0">
15094 <column alignment="center" valignment="top" width="0">
15095 <row>
15096 <cell alignment="center" valignment="top" usebox="none">
15097 \begin_inset Text
15098
15099 \begin_layout Plain Layout
15100 \begin_inset ERT
15101 status collapsed
15102
15103 \begin_layout Plain Layout
15104
15105
15106 \backslash
15107 rowcolor{cyan}
15108 \end_layout
15109
15110 \end_inset
15111
15112
15113 \color magenta
15114 a
15115 \end_layout
15116
15117 \end_inset
15118 </cell>
15119 <cell alignment="center" valignment="top" usebox="none">
15120 \begin_inset Text
15121
15122 \begin_layout Plain Layout
15123
15124 \color red
15125 b
15126 \end_layout
15127
15128 \end_inset
15129 </cell>
15130 <cell alignment="center" valignment="top" usebox="none">
15131 \begin_inset Text
15132
15133 \begin_layout Plain Layout
15134
15135 \color red
15136 c
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 </row>
15142 <row>
15143 <cell alignment="center" valignment="top" usebox="none">
15144 \begin_inset Text
15145
15146 \begin_layout Plain Layout
15147
15148 \color yellow
15149 d
15150 \end_layout
15151
15152 \end_inset
15153 </cell>
15154 <cell alignment="center" valignment="top" usebox="none">
15155 \begin_inset Text
15156
15157 \begin_layout Plain Layout
15158
15159 \color blue
15160 e
15161 \end_layout
15162
15163 \end_inset
15164 </cell>
15165 <cell alignment="center" valignment="top" usebox="none">
15166 \begin_inset Text
15167
15168 \begin_layout Plain Layout
15169
15170 \color blue
15171 f
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 </row>
15177 <row>
15178 <cell alignment="center" valignment="top" usebox="none">
15179 \begin_inset Text
15180
15181 \begin_layout Plain Layout
15182
15183 \color yellow
15184 g
15185 \end_layout
15186
15187 \end_inset
15188 </cell>
15189 <cell alignment="center" valignment="top" usebox="none">
15190 \begin_inset Text
15191
15192 \begin_layout Plain Layout
15193
15194 \color blue
15195 h
15196 \end_layout
15197
15198 \end_inset
15199 </cell>
15200 <cell alignment="center" valignment="top" usebox="none">
15201 \begin_inset Text
15202
15203 \begin_layout Plain Layout
15204 \begin_inset ERT
15205 status collapsed
15206
15207 \begin_layout Plain Layout
15208
15209
15210 \backslash
15211 cellcolor{magenta}
15212 \end_layout
15213
15214 \end_inset
15215
15216
15217 \color green
15218 i
15219 \end_layout
15220
15221 \end_inset
15222 </cell>
15223 </row>
15224 </lyxtabular>
15225
15226 \end_inset
15227
15228
15229 \end_layout
15230
15231 \end_inset
15232
15233
15234 \end_layout
15235
15236 \begin_layout Standard
15237 \begin_inset ERT
15238 status collapsed
15239
15240 \begin_layout Plain Layout
15241
15242
15243 \backslash
15244 else
15245 \end_layout
15246
15247 \end_inset
15248
15249
15250 \begin_inset Note Note
15251 status open
15252
15253 \begin_layout Plain Layout
15254 The following will be displayed when the LaTeX-package 
15255 \series bold
15256 colortbl
15257 \series default
15258  is not installed:
15259 \end_layout
15260
15261 \end_inset
15262
15263
15264 \end_layout
15265
15266 \begin_layout Standard
15267 You need to install the package 
15268 \series bold
15269 colortbl
15270 \series default
15271  to see the content of this section in the output.
15272 \end_layout
15273
15274 \begin_layout Standard
15275 \begin_inset ERT
15276 status collapsed
15277
15278 \begin_layout Plain Layout
15279
15280
15281 \backslash
15282 fi
15283 \end_layout
15284
15285 \end_inset
15286
15287
15288 \end_layout
15289
15290 \begin_layout Subsection
15291 Colored Lines
15292 \begin_inset Index
15293 status collapsed
15294
15295 \begin_layout Plain Layout
15296 Table Color ! for Lines
15297 \end_layout
15298
15299 \end_inset
15300
15301
15302 \begin_inset Index
15303 status collapsed
15304
15305 \begin_layout Plain Layout
15306 Color ! for Table Lines
15307 \end_layout
15308
15309 \end_inset
15310
15311
15312 \end_layout
15313
15314 \begin_layout Standard
15315 As described in section
15316 \begin_inset space ~
15317 \end_inset
15318
15319
15320 \begin_inset CommandInset ref
15321 LatexCommand ref
15322 reference "sub:Line-Thickness"
15323
15324 \end_inset
15325
15326 , the line thickness for all lines in a table can be adjusted with the length
15327  
15328 \series bold
15329
15330 \backslash
15331 arrayrulewidth
15332 \series default
15333 .
15334  It is set to 1.5
15335 \begin_inset space \thinspace{}
15336 \end_inset
15337
15338 pt for all tables of this section.
15339 \begin_inset ERT
15340 status collapsed
15341
15342 \begin_layout Plain Layout
15343
15344
15345 \backslash
15346 setlength{
15347 \backslash
15348 arrayrulewidth}{1.5pt}
15349 \end_layout
15350
15351 \end_inset
15352
15353
15354 \end_layout
15355
15356 \begin_layout Standard
15357 To color vertical lines for example with green, create the following column
15358  format in the document preamble, according to the description in section
15359 \begin_inset space ~
15360 \end_inset
15361
15362
15363 \begin_inset CommandInset ref
15364 LatexCommand ref
15365 reference "sub:Customized-Format"
15366
15367 \end_inset
15368
15369 :
15370 \end_layout
15371
15372 \begin_layout Standard
15373
15374 \series bold
15375
15376 \backslash
15377 newcolumntype{W}{!{
15378 \backslash
15379 color{green}
15380 \backslash
15381 vline}}
15382 \end_layout
15383
15384 \begin_layout Standard
15385 For Table
15386 \begin_inset space ~
15387 \end_inset
15388
15389
15390 \begin_inset CommandInset ref
15391 LatexCommand ref
15392 reference "tab:Table-with-vertical-colored"
15393
15394 \end_inset
15395
15396  the LaTeX-argument
15397 \series bold
15398  WcW
15399 \series default
15400  was used for the last column and
15401 \series bold
15402  Wc
15403 \series default
15404  for the other columns.
15405 \end_layout
15406
15407 \begin_layout Standard
15408 If you want to have several colors, define more column formats.
15409 \end_layout
15410
15411 \begin_layout Standard
15412 \begin_inset Float table
15413 placement h
15414 wide false
15415 sideways false
15416 status open
15417
15418 \begin_layout Plain Layout
15419 \begin_inset Caption
15420
15421 \begin_layout Plain Layout
15422 \begin_inset CommandInset label
15423 LatexCommand label
15424 name "tab:Table-with-vertical-colored"
15425
15426 \end_inset
15427
15428 Table with colored vertical lines
15429 \end_layout
15430
15431 \end_inset
15432
15433
15434 \end_layout
15435
15436 \begin_layout Plain Layout
15437 \align center
15438 \begin_inset Tabular
15439 <lyxtabular version="3" rows="3" columns="3">
15440 <features>
15441 <column alignment="center" valignment="top" width="0" special="Wc">
15442 <column alignment="center" valignment="top" width="0" special="Wc">
15443 <column alignment="center" valignment="top" width="0" special="WcW">
15444 <row>
15445 <cell alignment="center" valignment="top" topline="true" usebox="none">
15446 \begin_inset Text
15447
15448 \begin_layout Plain Layout
15449 sd
15450 \end_layout
15451
15452 \end_inset
15453 </cell>
15454 <cell alignment="center" valignment="top" topline="true" usebox="none">
15455 \begin_inset Text
15456
15457 \begin_layout Plain Layout
15458
15459 \end_layout
15460
15461 \end_inset
15462 </cell>
15463 <cell alignment="center" valignment="top" topline="true" usebox="none">
15464 \begin_inset Text
15465
15466 \begin_layout Plain Layout
15467
15468 \end_layout
15469
15470 \end_inset
15471 </cell>
15472 </row>
15473 <row>
15474 <cell alignment="center" valignment="top" topline="true" usebox="none">
15475 \begin_inset Text
15476
15477 \begin_layout Plain Layout
15478
15479 \end_layout
15480
15481 \end_inset
15482 </cell>
15483 <cell alignment="center" valignment="top" topline="true" usebox="none">
15484 \begin_inset Text
15485
15486 \begin_layout Plain Layout
15487 sd
15488 \end_layout
15489
15490 \end_inset
15491 </cell>
15492 <cell alignment="center" valignment="top" topline="true" usebox="none">
15493 \begin_inset Text
15494
15495 \begin_layout Plain Layout
15496
15497 \end_layout
15498
15499 \end_inset
15500 </cell>
15501 </row>
15502 <row>
15503 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15504 \begin_inset Text
15505
15506 \begin_layout Plain Layout
15507
15508 \end_layout
15509
15510 \end_inset
15511 </cell>
15512 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15513 \begin_inset Text
15514
15515 \begin_layout Plain Layout
15516
15517 \end_layout
15518
15519 \end_inset
15520 </cell>
15521 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15522 \begin_inset Text
15523
15524 \begin_layout Plain Layout
15525 sd
15526 \end_layout
15527
15528 \end_inset
15529 </cell>
15530 </row>
15531 </lyxtabular>
15532
15533 \end_inset
15534
15535
15536 \end_layout
15537
15538 \end_inset
15539
15540
15541 \end_layout
15542
15543 \begin_layout Standard
15544 \begin_inset VSpace bigskip
15545 \end_inset
15546
15547 To color horizontal lines for example with red, as in Table
15548 \begin_inset space ~
15549 \end_inset
15550
15551
15552 \begin_inset CommandInset ref
15553 LatexCommand ref
15554 reference "tab:Table-with-horizontal-colored"
15555
15556 \end_inset
15557
15558 , insert these commands in TeX-Code before the table or table float:
15559 \end_layout
15560
15561 \begin_layout Standard
15562
15563 \series bold
15564
15565 \backslash
15566 let
15567 \backslash
15568 myHlineC
15569 \backslash
15570 hline
15571 \begin_inset Newline newline
15572 \end_inset
15573
15574
15575 \backslash
15576 renewcommand{
15577 \backslash
15578 hline}
15579 \begin_inset Newline newline
15580 \end_inset
15581
15582
15583 \begin_inset ERT
15584 status collapsed
15585
15586 \begin_layout Plain Layout
15587
15588
15589 \backslash
15590 hphantom{ }
15591 \end_layout
15592
15593 \end_inset
15594
15595 {
15596 \backslash
15597 arrayrulecolor{red}
15598 \backslash
15599 myHlineC
15600 \backslash
15601 arrayrulecolor{black}}
15602 \end_layout
15603
15604 \begin_layout Standard
15605 \begin_inset ERT
15606 status collapsed
15607
15608 \begin_layout Plain Layout
15609
15610
15611 \backslash
15612 let
15613 \backslash
15614 myHlineC
15615 \backslash
15616 hline
15617 \end_layout
15618
15619 \begin_layout Plain Layout
15620
15621
15622 \backslash
15623 renewcommand{
15624 \backslash
15625 hline}
15626 \end_layout
15627
15628 \begin_layout Plain Layout
15629
15630  {
15631 \backslash
15632 arrayrulecolor{red}
15633 \backslash
15634 myHlineC
15635 \backslash
15636 arrayrulecolor{black}}
15637 \end_layout
15638
15639 \end_inset
15640
15641
15642 \begin_inset Float table
15643 placement h
15644 wide false
15645 sideways false
15646 status open
15647
15648 \begin_layout Plain Layout
15649 \begin_inset Caption
15650
15651 \begin_layout Plain Layout
15652 \begin_inset CommandInset label
15653 LatexCommand label
15654 name "tab:Table-with-horizontal-colored"
15655
15656 \end_inset
15657
15658 Table with colored horizontal lines
15659 \end_layout
15660
15661 \end_inset
15662
15663
15664 \end_layout
15665
15666 \begin_layout Plain Layout
15667 \align center
15668 \begin_inset Tabular
15669 <lyxtabular version="3" rows="3" columns="3">
15670 <features>
15671 <column alignment="center" valignment="top" width="0">
15672 <column alignment="center" valignment="top" width="0">
15673 <column alignment="center" valignment="top" width="0">
15674 <row>
15675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15676 \begin_inset Text
15677
15678 \begin_layout Plain Layout
15679 sd
15680 \end_layout
15681
15682 \end_inset
15683 </cell>
15684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15685 \begin_inset Text
15686
15687 \begin_layout Plain Layout
15688
15689 \end_layout
15690
15691 \end_inset
15692 </cell>
15693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15694 \begin_inset Text
15695
15696 \begin_layout Plain Layout
15697
15698 \end_layout
15699
15700 \end_inset
15701 </cell>
15702 </row>
15703 <row>
15704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15705 \begin_inset Text
15706
15707 \begin_layout Plain Layout
15708
15709 \end_layout
15710
15711 \end_inset
15712 </cell>
15713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15714 \begin_inset Text
15715
15716 \begin_layout Plain Layout
15717 sd
15718 \end_layout
15719
15720 \end_inset
15721 </cell>
15722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15723 \begin_inset Text
15724
15725 \begin_layout Plain Layout
15726
15727 \end_layout
15728
15729 \end_inset
15730 </cell>
15731 </row>
15732 <row>
15733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15734 \begin_inset Text
15735
15736 \begin_layout Plain Layout
15737
15738 \end_layout
15739
15740 \end_inset
15741 </cell>
15742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15743 \begin_inset Text
15744
15745 \begin_layout Plain Layout
15746
15747 \end_layout
15748
15749 \end_inset
15750 </cell>
15751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15752 \begin_inset Text
15753
15754 \begin_layout Plain Layout
15755 sd
15756 \end_layout
15757
15758 \end_inset
15759 </cell>
15760 </row>
15761 </lyxtabular>
15762
15763 \end_inset
15764
15765
15766 \end_layout
15767
15768 \end_inset
15769
15770
15771 \end_layout
15772
15773 \begin_layout Standard
15774 To return to the default line color black, insert this command in TeX-Code
15775  after the table or table float:
15776 \end_layout
15777
15778 \begin_layout Standard
15779
15780 \series bold
15781
15782 \backslash
15783 renewcommand{
15784 \backslash
15785 hline}{
15786 \backslash
15787 myHlineC}
15788 \end_layout
15789
15790 \begin_layout Standard
15791 Table
15792 \begin_inset space ~
15793 \end_inset
15794
15795
15796 \begin_inset CommandInset ref
15797 LatexCommand ref
15798 reference "tab:Table-with-colored"
15799
15800 \end_inset
15801
15802  is an example with colored vertical and horizontal lines.
15803 \end_layout
15804
15805 \begin_layout Standard
15806 \begin_inset Float table
15807 placement h
15808 wide false
15809 sideways false
15810 status open
15811
15812 \begin_layout Plain Layout
15813 \begin_inset Caption
15814
15815 \begin_layout Plain Layout
15816 \begin_inset CommandInset label
15817 LatexCommand label
15818 name "tab:Table-with-colored"
15819
15820 \end_inset
15821
15822 Table with colored lines
15823 \end_layout
15824
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \begin_layout Plain Layout
15831 \align center
15832 \begin_inset Tabular
15833 <lyxtabular version="3" rows="3" columns="3">
15834 <features>
15835 <column alignment="center" valignment="top" width="0" special="Wc">
15836 <column alignment="center" valignment="top" width="0" special="Wc">
15837 <column alignment="center" valignment="top" width="0" special="WcW">
15838 <row>
15839 <cell alignment="center" valignment="top" topline="true" usebox="none">
15840 \begin_inset Text
15841
15842 \begin_layout Plain Layout
15843 sd
15844 \end_layout
15845
15846 \end_inset
15847 </cell>
15848 <cell alignment="center" valignment="top" topline="true" usebox="none">
15849 \begin_inset Text
15850
15851 \begin_layout Plain Layout
15852
15853 \end_layout
15854
15855 \end_inset
15856 </cell>
15857 <cell alignment="center" valignment="top" topline="true" usebox="none">
15858 \begin_inset Text
15859
15860 \begin_layout Plain Layout
15861
15862 \end_layout
15863
15864 \end_inset
15865 </cell>
15866 </row>
15867 <row>
15868 <cell alignment="center" valignment="top" topline="true" usebox="none">
15869 \begin_inset Text
15870
15871 \begin_layout Plain Layout
15872
15873 \end_layout
15874
15875 \end_inset
15876 </cell>
15877 <cell alignment="center" valignment="top" topline="true" usebox="none">
15878 \begin_inset Text
15879
15880 \begin_layout Plain Layout
15881 sd
15882 \end_layout
15883
15884 \end_inset
15885 </cell>
15886 <cell alignment="center" valignment="top" topline="true" usebox="none">
15887 \begin_inset Text
15888
15889 \begin_layout Plain Layout
15890
15891 \end_layout
15892
15893 \end_inset
15894 </cell>
15895 </row>
15896 <row topspace="default">
15897 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15898 \begin_inset Text
15899
15900 \begin_layout Plain Layout
15901
15902 \end_layout
15903
15904 \end_inset
15905 </cell>
15906 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15907 \begin_inset Text
15908
15909 \begin_layout Plain Layout
15910
15911 \end_layout
15912
15913 \end_inset
15914 </cell>
15915 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15916 \begin_inset Text
15917
15918 \begin_layout Plain Layout
15919 sd
15920 \end_layout
15921
15922 \end_inset
15923 </cell>
15924 </row>
15925 </lyxtabular>
15926
15927 \end_inset
15928
15929
15930 \end_layout
15931
15932 \end_inset
15933
15934
15935 \end_layout
15936
15937 \begin_layout Standard
15938 \begin_inset ERT
15939 status collapsed
15940
15941 \begin_layout Plain Layout
15942
15943
15944 \backslash
15945 renewcommand{
15946 \backslash
15947 hline}{
15948 \backslash
15949 myHlineC}
15950 \end_layout
15951
15952 \end_inset
15953
15954
15955 \end_layout
15956
15957 \begin_layout Standard
15958 \begin_inset ERT
15959 status collapsed
15960
15961 \begin_layout Plain Layout
15962
15963
15964 \backslash
15965 setlength{
15966 \backslash
15967 arrayrulewidth}{0.4pt}
15968 \end_layout
15969
15970 \end_inset
15971
15972
15973 \end_layout
15974
15975 \begin_layout Section
15976 Table Customization
15977 \begin_inset Index
15978 status collapsed
15979
15980 \begin_layout Plain Layout
15981 Table Customization
15982 \end_layout
15983
15984 \end_inset
15985
15986
15987 \begin_inset Index
15988 status collapsed
15989
15990 \begin_layout Plain Layout
15991 Table ! Customization
15992 \end_layout
15993
15994 \end_inset
15995
15996
15997 \end_layout
15998
15999 \begin_layout Subsection
16000 Row Spacing
16001 \begin_inset CommandInset label
16002 LatexCommand label
16003 name "sub:Row-Spacing"
16004
16005 \end_inset
16006
16007
16008 \begin_inset Index
16009 status collapsed
16010
16011 \begin_layout Plain Layout
16012 Table Customization ! Row Spacing
16013 \end_layout
16014
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 You can add vertical space to table rows in the 
16022 \family sans
16023 Borders
16024 \family default
16025  tab of the table dialog.
16026  You find there three possibilities:
16027 \end_layout
16028
16029 \begin_layout Description
16030 Top
16031 \begin_inset space ~
16032 \end_inset
16033
16034 of
16035 \begin_inset space ~
16036 \end_inset
16037
16038 row will add space above the characters of the table row.
16039  If the table is a formal table
16040 \begin_inset Foot
16041 status collapsed
16042
16043 \begin_layout Plain Layout
16044 Formal tables are explained in section
16045 \begin_inset space ~
16046 \end_inset
16047
16048
16049 \begin_inset CommandInset ref
16050 LatexCommand ref
16051 reference "sec:Formal-Tables"
16052
16053 \end_inset
16054
16055 .
16056 \end_layout
16057
16058 \end_inset
16059
16060  LyX will insert as default 0.5
16061 \begin_inset space \thinspace{}
16062 \end_inset
16063
16064 em space.
16065  For normal tables the inserted space will unfortunately destroy the vertical
16066  table lines as in the following table:
16067 \begin_inset VSpace medskip
16068 \end_inset
16069
16070
16071 \begin_inset Newline newline
16072 \end_inset
16073
16074
16075 \begin_inset space \hspace*{}
16076 \length 0pt
16077 \end_inset
16078
16079
16080 \begin_inset space \hfill{}
16081 \end_inset
16082
16083
16084 \begin_inset Tabular
16085 <lyxtabular version="3" rows="3" columns="1">
16086 <features>
16087 <column alignment="center" valignment="top" width="0">
16088 <row>
16089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16090 \begin_inset Text
16091
16092 \begin_layout Plain Layout
16093 A
16094 \end_layout
16095
16096 \end_inset
16097 </cell>
16098 </row>
16099 <row topspace="3mm">
16100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16101 \begin_inset Text
16102
16103 \begin_layout Plain Layout
16104 3
16105 \begin_inset space \thinspace{}
16106 \end_inset
16107
16108 mm space top of row
16109 \end_layout
16110
16111 \end_inset
16112 </cell>
16113 </row>
16114 <row>
16115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16116 \begin_inset Text
16117
16118 \begin_layout Plain Layout
16119 C
16120 \end_layout
16121
16122 \end_inset
16123 </cell>
16124 </row>
16125 </lyxtabular>
16126
16127 \end_inset
16128
16129
16130 \begin_inset space \hfill{}
16131 \end_inset
16132
16133
16134 \begin_inset space \hspace*{}
16135 \length 0pt
16136 \end_inset
16137
16138
16139 \begin_inset VSpace medskip
16140 \end_inset
16141
16142
16143 \begin_inset Newline newline
16144 \end_inset
16145
16146 So inserting space in the top of row for normal tables is only useful when
16147  you don't have vertical lines.
16148 \end_layout
16149
16150 \begin_layout Description
16151 Bottom
16152 \begin_inset space ~
16153 \end_inset
16154
16155 of
16156 \begin_inset space ~
16157 \end_inset
16158
16159 row will add space below the characters of the table row.
16160  If the table is a formal table LyX will insert as default 0.5
16161 \begin_inset space \thinspace{}
16162 \end_inset
16163
16164 em space, for normal tables the default size is 2
16165 \begin_inset space \thinspace{}
16166 \end_inset
16167
16168 pt.
16169 \end_layout
16170
16171 \begin_layout Description
16172 Between
16173 \begin_inset space ~
16174 \end_inset
16175
16176 rows adds space between the current and the following row.
16177  If the table is a formal table LyX will insert as default 0.5
16178 \begin_inset space \thinspace{}
16179 \end_inset
16180
16181 em space.
16182  For normal tables the inserted space will unfortunately destroy the vertical
16183  table lines as in the following table:
16184 \begin_inset VSpace medskip
16185 \end_inset
16186
16187
16188 \begin_inset Newline newline
16189 \end_inset
16190
16191
16192 \begin_inset space \hspace*{}
16193 \length 0pt
16194 \end_inset
16195
16196
16197 \begin_inset space \hfill{}
16198 \end_inset
16199
16200
16201 \begin_inset Tabular
16202 <lyxtabular version="3" rows="3" columns="1">
16203 <features>
16204 <column alignment="center" valignment="top" width="0">
16205 <row>
16206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16207 \begin_inset Text
16208
16209 \begin_layout Plain Layout
16210 A
16211 \end_layout
16212
16213 \end_inset
16214 </cell>
16215 </row>
16216 <row interlinespace="3mm">
16217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16218 \begin_inset Text
16219
16220 \begin_layout Plain Layout
16221 \begin_inset Formula $\downarrow$
16222 \end_inset
16223
16224  3
16225 \begin_inset space \thinspace{}
16226 \end_inset
16227
16228 mm space between row 
16229 \begin_inset Formula $\downarrow$
16230 \end_inset
16231
16232
16233 \end_layout
16234
16235 \end_inset
16236 </cell>
16237 </row>
16238 <row>
16239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16240 \begin_inset Text
16241
16242 \begin_layout Plain Layout
16243 \begin_inset Formula $\uparrow$
16244 \end_inset
16245
16246  3
16247 \begin_inset space \thinspace{}
16248 \end_inset
16249
16250 mm space between row 
16251 \begin_inset Formula $\uparrow$
16252 \end_inset
16253
16254
16255 \end_layout
16256
16257 \end_inset
16258 </cell>
16259 </row>
16260 </lyxtabular>
16261
16262 \end_inset
16263
16264
16265 \begin_inset space \hfill{}
16266 \end_inset
16267
16268
16269 \begin_inset space \hspace*{}
16270 \length 0pt
16271 \end_inset
16272
16273
16274 \begin_inset VSpace medskip
16275 \end_inset
16276
16277
16278 \begin_inset Newline newline
16279 \end_inset
16280
16281 So inserting space between rows for normal tables is only useful when you
16282  don't have vertical lines.
16283 \end_layout
16284
16285 \begin_layout Standard
16286 \begin_inset VSpace bigskip
16287 \end_inset
16288
16289 When you want to add extra height to all cells of all tables, you can do
16290  this with the following preamble lines:
16291 \end_layout
16292
16293 \begin_layout Standard
16294
16295 \series bold
16296
16297 \backslash
16298 @ifundefined{extrarowheight}
16299 \begin_inset Newline newline
16300 \end_inset
16301
16302
16303 \begin_inset ERT
16304 status collapsed
16305
16306 \begin_layout Plain Layout
16307
16308
16309 \backslash
16310 hphantom{ }
16311 \end_layout
16312
16313 \end_inset
16314
16315 {
16316 \backslash
16317 usepackage{array}}{}
16318 \begin_inset Newline newline
16319 \end_inset
16320
16321
16322 \backslash
16323 setlength{
16324 \backslash
16325 extrarowheight}{height}
16326 \end_layout
16327
16328 \begin_layout Standard
16329 But this has the disadvantage that the cell texts are no longer exactly
16330  vertically centered.
16331  (The package 
16332 \series bold
16333 array
16334 \series default
16335  will be loaded automatically by LyX when you use self defined table formats.
16336  To avoid that it being loaded twice the command 
16337 \series bold
16338
16339 \backslash
16340 @ifundefined
16341 \series default
16342  is used in the above command.)
16343 \end_layout
16344
16345 \begin_layout Standard
16346 If you are using font sizes larger than the normal size, the table borders
16347  are often too close to the letters.
16348  This can be corrected by inserting the command 
16349 \series bold
16350
16351 \backslash
16352 strut
16353 \series default
16354  in TeX code at the beginning of a table row.
16355  Table
16356 \begin_inset space ~
16357 \end_inset
16358
16359
16360 \begin_inset CommandInset ref
16361 LatexCommand ref
16362 reference "tab:Vertical-alignment-of"
16363
16364 \end_inset
16365
16366  illustrates the effect.
16367 \end_layout
16368
16369 \begin_layout Standard
16370 \noindent
16371 \begin_inset Float table
16372 placement h
16373 wide false
16374 sideways false
16375 status open
16376
16377 \begin_layout Plain Layout
16378 \begin_inset Caption
16379
16380 \begin_layout Plain Layout
16381 \begin_inset CommandInset label
16382 LatexCommand label
16383 name "tab:Vertical-alignment-of"
16384
16385 \end_inset
16386
16387 Vertical alignment of text with large font sizes.
16388 \end_layout
16389
16390 \end_inset
16391
16392
16393 \end_layout
16394
16395 \begin_layout Plain Layout
16396 \begin_inset space \hfill{}
16397 \end_inset
16398
16399
16400 \begin_inset Float table
16401 wide false
16402 sideways false
16403 status collapsed
16404
16405 \begin_layout Plain Layout
16406 \begin_inset Caption
16407
16408 \begin_layout Plain Layout
16409 Normal table.
16410 \end_layout
16411
16412 \end_inset
16413
16414
16415 \end_layout
16416
16417 \begin_layout Plain Layout
16418 \noindent
16419 \align center
16420 \begin_inset Tabular
16421 <lyxtabular version="3" rows="6" columns="1">
16422 <features>
16423 <column alignment="left" valignment="top" width="0">
16424 <row>
16425 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16426 \begin_inset Text
16427
16428 \begin_layout Plain Layout
16429 Normal, g
16430 \end_layout
16431
16432 \end_inset
16433 </cell>
16434 </row>
16435 <row>
16436 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16437 \begin_inset Text
16438
16439 \begin_layout Plain Layout
16440
16441 \size large
16442 Large
16443 \end_layout
16444
16445 \end_inset
16446 </cell>
16447 </row>
16448 <row>
16449 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16450 \begin_inset Text
16451
16452 \begin_layout Plain Layout
16453
16454 \size larger
16455 Larger
16456 \end_layout
16457
16458 \end_inset
16459 </cell>
16460 </row>
16461 <row>
16462 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16463 \begin_inset Text
16464
16465 \begin_layout Plain Layout
16466
16467 \size largest
16468 Largest
16469 \end_layout
16470
16471 \end_inset
16472 </cell>
16473 </row>
16474 <row>
16475 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16476 \begin_inset Text
16477
16478 \begin_layout Plain Layout
16479
16480 \size huge
16481 Huge
16482 \end_layout
16483
16484 \end_inset
16485 </cell>
16486 </row>
16487 <row>
16488 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16489 \begin_inset Text
16490
16491 \begin_layout Plain Layout
16492
16493 \size huge
16494 Huger
16495 \end_layout
16496
16497 \end_inset
16498 </cell>
16499 </row>
16500 </lyxtabular>
16501
16502 \end_inset
16503
16504
16505 \end_layout
16506
16507 \end_inset
16508
16509
16510 \begin_inset space \hfill{}
16511 \end_inset
16512
16513
16514 \begin_inset Float table
16515 wide false
16516 sideways false
16517 status collapsed
16518
16519 \begin_layout Plain Layout
16520 \begin_inset Caption
16521
16522 \begin_layout Plain Layout
16523 Table using the command 
16524 \series bold
16525
16526 \backslash
16527 strut
16528 \series default
16529 .
16530 \end_layout
16531
16532 \end_inset
16533
16534
16535 \end_layout
16536
16537 \begin_layout Plain Layout
16538 \noindent
16539 \align center
16540 \begin_inset Tabular
16541 <lyxtabular version="3" rows="6" columns="1">
16542 <features>
16543 <column alignment="left" valignment="top" width="0">
16544 <row>
16545 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16546 \begin_inset Text
16547
16548 \begin_layout Plain Layout
16549 Normal, g
16550 \end_layout
16551
16552 \end_inset
16553 </cell>
16554 </row>
16555 <row>
16556 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16557 \begin_inset Text
16558
16559 \begin_layout Plain Layout
16560
16561 \size large
16562 \begin_inset ERT
16563 status collapsed
16564
16565 \begin_layout Plain Layout
16566
16567
16568 \backslash
16569 strut 
16570 \end_layout
16571
16572 \end_inset
16573
16574 Large
16575 \end_layout
16576
16577 \end_inset
16578 </cell>
16579 </row>
16580 <row>
16581 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16582 \begin_inset Text
16583
16584 \begin_layout Plain Layout
16585
16586 \size larger
16587 \begin_inset ERT
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591
16592
16593 \backslash
16594 strut 
16595 \end_layout
16596
16597 \end_inset
16598
16599 Larger
16600 \end_layout
16601
16602 \end_inset
16603 </cell>
16604 </row>
16605 <row>
16606 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16607 \begin_inset Text
16608
16609 \begin_layout Plain Layout
16610
16611 \size largest
16612 \begin_inset ERT
16613 status collapsed
16614
16615 \begin_layout Plain Layout
16616
16617
16618 \backslash
16619 strut 
16620 \end_layout
16621
16622 \end_inset
16623
16624 Largest
16625 \end_layout
16626
16627 \end_inset
16628 </cell>
16629 </row>
16630 <row>
16631 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16632 \begin_inset Text
16633
16634 \begin_layout Plain Layout
16635
16636 \size huge
16637 \begin_inset ERT
16638 status collapsed
16639
16640 \begin_layout Plain Layout
16641
16642
16643 \backslash
16644 strut 
16645 \end_layout
16646
16647 \end_inset
16648
16649 Huge
16650 \end_layout
16651
16652 \end_inset
16653 </cell>
16654 </row>
16655 <row>
16656 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16657 \begin_inset Text
16658
16659 \begin_layout Plain Layout
16660
16661 \size giant
16662 \begin_inset ERT
16663 status collapsed
16664
16665 \begin_layout Plain Layout
16666
16667
16668 \backslash
16669 strut 
16670 \end_layout
16671
16672 \end_inset
16673
16674
16675 \size huge
16676 Huger
16677 \end_layout
16678
16679 \end_inset
16680 </cell>
16681 </row>
16682 </lyxtabular>
16683
16684 \end_inset
16685
16686
16687 \end_layout
16688
16689 \end_inset
16690
16691
16692 \begin_inset space \hfill{}
16693 \end_inset
16694
16695
16696 \end_layout
16697
16698 \end_inset
16699
16700
16701 \end_layout
16702
16703 \begin_layout Subsection
16704 Special Cell Alignment
16705 \begin_inset Index
16706 status collapsed
16707
16708 \begin_layout Plain Layout
16709 Table Customization ! Special Cell Alignment
16710 \end_layout
16711
16712 \end_inset
16713
16714
16715 \end_layout
16716
16717 \begin_layout Standard
16718 Sometimes it looks better when the cell entries of a column are aligned
16719  with a special character, e.
16720 \begin_inset space \thinspace{}
16721 \end_inset
16722
16723 g.
16724 \begin_inset space \space{}
16725 \end_inset
16726
16727 with the decimal separator as in Table
16728 \begin_inset space ~
16729 \end_inset
16730
16731
16732 \begin_inset CommandInset ref
16733 LatexCommand ref
16734 reference "tab:Table-cells-of"
16735
16736 \end_inset
16737
16738 .
16739 \end_layout
16740
16741 \begin_layout Standard
16742 \begin_inset Float table
16743 placement h
16744 wide false
16745 sideways false
16746 status open
16747
16748 \begin_layout Plain Layout
16749 \begin_inset Caption
16750
16751 \begin_layout Plain Layout
16752 \begin_inset CommandInset label
16753 LatexCommand label
16754 name "tab:Table-cells-of"
16755
16756 \end_inset
16757
16758 Table cells of a column aligned with the decimal separator.
16759 \end_layout
16760
16761 \end_inset
16762
16763
16764 \end_layout
16765
16766 \begin_layout Plain Layout
16767 \align center
16768 \begin_inset Tabular
16769 <lyxtabular version="3" rows="4" columns="2">
16770 <features>
16771 <column alignment="right" valignment="top" width="0">
16772 <column alignment="left" valignment="top" width="0" special="@{}l">
16773 <row>
16774 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16775 \begin_inset Text
16776
16777 \begin_layout Plain Layout
16778 heading
16779 \end_layout
16780
16781 \end_inset
16782 </cell>
16783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16784 \begin_inset Text
16785
16786 \begin_layout Plain Layout
16787
16788 \end_layout
16789
16790 \end_inset
16791 </cell>
16792 </row>
16793 <row>
16794 <cell alignment="center" valignment="top" usebox="none">
16795 \begin_inset Text
16796
16797 \begin_layout Plain Layout
16798 12.
16799 \end_layout
16800
16801 \end_inset
16802 </cell>
16803 <cell alignment="center" valignment="top" usebox="none">
16804 \begin_inset Text
16805
16806 \begin_layout Plain Layout
16807 6
16808 \end_layout
16809
16810 \end_inset
16811 </cell>
16812 </row>
16813 <row>
16814 <cell alignment="center" valignment="top" usebox="none">
16815 \begin_inset Text
16816
16817 \begin_layout Plain Layout
16818 0.
16819 \end_layout
16820
16821 \end_inset
16822 </cell>
16823 <cell alignment="center" valignment="top" usebox="none">
16824 \begin_inset Text
16825
16826 \begin_layout Plain Layout
16827 68
16828 \end_layout
16829
16830 \end_inset
16831 </cell>
16832 </row>
16833 <row>
16834 <cell alignment="center" valignment="top" usebox="none">
16835 \begin_inset Text
16836
16837 \begin_layout Plain Layout
16838 -123.
16839 \end_layout
16840
16841 \end_inset
16842 </cell>
16843 <cell alignment="center" valignment="top" usebox="none">
16844 \begin_inset Text
16845
16846 \begin_layout Plain Layout
16847 0
16848 \end_layout
16849
16850 \end_inset
16851 </cell>
16852 </row>
16853 </lyxtabular>
16854
16855 \end_inset
16856
16857
16858 \end_layout
16859
16860 \end_inset
16861
16862
16863 \end_layout
16864
16865 \begin_layout Standard
16866 This table was created with a 4×2 table.
16867  The heading is a centered multicolumn.
16868  The first column is right-aligned and contains the digits before the decimal
16869  point and the decimal point.
16870  The second column is left aligned and contains the digits after the decimal
16871  point.
16872  To omit the space that is normally between two table columns, the following
16873  LaTeX-argument was used for the second column:
16874 \end_layout
16875
16876 \begin_layout Standard
16877
16878 \series bold
16879 @{}l
16880 \end_layout
16881
16882 \begin_layout Standard
16883 Table
16884 \begin_inset space ~
16885 \end_inset
16886
16887
16888 \begin_inset CommandInset ref
16889 LatexCommand ref
16890 reference "tab:Several-table-cell"
16891
16892 \end_inset
16893
16894  shows some example alignments.
16895  For the alignment with the relation sign, you must add the second smallest
16896  math-space at the beginning of the last column to get the correct space
16897  surrounding the relation sign.
16898 \end_layout
16899
16900 \begin_layout Standard
16901 \begin_inset Float table
16902 placement h
16903 wide false
16904 sideways false
16905 status open
16906
16907 \begin_layout Plain Layout
16908 \begin_inset Caption
16909
16910 \begin_layout Plain Layout
16911 \begin_inset CommandInset label
16912 LatexCommand label
16913 name "tab:Several-table-cell"
16914
16915 \end_inset
16916
16917 Several table cell alignments.
16918 \end_layout
16919
16920 \end_inset
16921
16922
16923 \end_layout
16924
16925 \begin_layout Plain Layout
16926 \align center
16927 \begin_inset Tabular
16928 <lyxtabular version="3" rows="4" columns="6">
16929 <features>
16930 <column alignment="right" valignment="top" width="0">
16931 <column alignment="left" valignment="top" width="0" special="@{}l">
16932 <column alignment="right" valignment="top" width="0">
16933 <column alignment="left" valignment="top" width="0" special="@{}l">
16934 <column alignment="right" valignment="top" width="0">
16935 <column alignment="left" valignment="top" width="0" special="@{}l">
16936 <row>
16937 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16938 \begin_inset Text
16939
16940 \begin_layout Plain Layout
16941 units
16942 \end_layout
16943
16944 \end_inset
16945 </cell>
16946 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16947 \begin_inset Text
16948
16949 \begin_layout Plain Layout
16950
16951 \end_layout
16952
16953 \end_inset
16954 </cell>
16955 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16956 \begin_inset Text
16957
16958 \begin_layout Plain Layout
16959 exponents
16960 \end_layout
16961
16962 \end_inset
16963 </cell>
16964 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16965 \begin_inset Text
16966
16967 \begin_layout Plain Layout
16968
16969 \end_layout
16970
16971 \end_inset
16972 </cell>
16973 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16974 \begin_inset Text
16975
16976 \begin_layout Plain Layout
16977 relations
16978 \end_layout
16979
16980 \end_inset
16981 </cell>
16982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16983 \begin_inset Text
16984
16985 \begin_layout Plain Layout
16986
16987 \end_layout
16988
16989 \end_inset
16990 </cell>
16991 </row>
16992 <row>
16993 <cell alignment="center" valignment="top" usebox="none">
16994 \begin_inset Text
16995
16996 \begin_layout Plain Layout
16997 12×
16998 \end_layout
16999
17000 \end_inset
17001 </cell>
17002 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17003 \begin_inset Text
17004
17005 \begin_layout Plain Layout
17006 24
17007 \begin_inset space \thinspace{}
17008 \end_inset
17009
17010 bottles
17011 \end_layout
17012
17013 \end_inset
17014 </cell>
17015 <cell alignment="center" valignment="top" usebox="none">
17016 \begin_inset Text
17017
17018 \begin_layout Plain Layout
17019 \begin_inset Formula $10\cdot$
17020 \end_inset
17021
17022
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17028 \begin_inset Text
17029
17030 \begin_layout Plain Layout
17031 \begin_inset Formula $10^{\mbox{-}17}$
17032 \end_inset
17033
17034
17035 \end_layout
17036
17037 \end_inset
17038 </cell>
17039 <cell alignment="center" valignment="top" usebox="none">
17040 \begin_inset Text
17041
17042 \begin_layout Plain Layout
17043 \begin_inset Formula $\Gamma(t)\propto$
17044 \end_inset
17045
17046
17047 \end_layout
17048
17049 \end_inset
17050 </cell>
17051 <cell alignment="center" valignment="top" usebox="none">
17052 \begin_inset Text
17053
17054 \begin_layout Plain Layout
17055 \begin_inset Formula $\:\Upsilon(t)$
17056 \end_inset
17057
17058
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 </row>
17064 <row>
17065 <cell alignment="center" valignment="top" usebox="none">
17066 \begin_inset Text
17067
17068 \begin_layout Plain Layout
17069 1024×
17070 \end_layout
17071
17072 \end_inset
17073 </cell>
17074 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Plain Layout
17078 768
17079 \begin_inset space \thinspace{}
17080 \end_inset
17081
17082 Pixels
17083 \end_layout
17084
17085 \end_inset
17086 </cell>
17087 <cell alignment="center" valignment="top" usebox="none">
17088 \begin_inset Text
17089
17090 \begin_layout Plain Layout
17091 \begin_inset Formula $5.78\cdot$
17092 \end_inset
17093
17094
17095 \end_layout
17096
17097 \end_inset
17098 </cell>
17099 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17100 \begin_inset Text
17101
17102 \begin_layout Plain Layout
17103 \begin_inset Formula $10^{7}$
17104 \end_inset
17105
17106
17107 \end_layout
17108
17109 \end_inset
17110 </cell>
17111 <cell alignment="center" valignment="top" usebox="none">
17112 \begin_inset Text
17113
17114 \begin_layout Plain Layout
17115 \begin_inset Formula $A\ne$
17116 \end_inset
17117
17118
17119 \end_layout
17120
17121 \end_inset
17122 </cell>
17123 <cell alignment="center" valignment="top" usebox="none">
17124 \begin_inset Text
17125
17126 \begin_layout Plain Layout
17127 \begin_inset Formula $\: B_{\mathrm{red}}$
17128 \end_inset
17129
17130
17131 \end_layout
17132
17133 \end_inset
17134 </cell>
17135 </row>
17136 <row>
17137 <cell alignment="center" valignment="top" usebox="none">
17138 \begin_inset Text
17139
17140 \begin_layout Plain Layout
17141 32×
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Plain Layout
17150 6
17151 \begin_inset space \thinspace{}
17152 \end_inset
17153
17154 cm
17155 \end_layout
17156
17157 \end_inset
17158 </cell>
17159 <cell alignment="center" valignment="top" usebox="none">
17160 \begin_inset Text
17161
17162 \begin_layout Plain Layout
17163 -
17164 \begin_inset Formula $33.5\cdot$
17165 \end_inset
17166
17167
17168 \end_layout
17169
17170 \end_inset
17171 </cell>
17172 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17173 \begin_inset Text
17174
17175 \begin_layout Plain Layout
17176 \begin_inset Formula $10^{4}$
17177 \end_inset
17178
17179
17180 \end_layout
17181
17182 \end_inset
17183 </cell>
17184 <cell alignment="center" valignment="top" usebox="none">
17185 \begin_inset Text
17186
17187 \begin_layout Plain Layout
17188 \begin_inset Formula $\sin(\alpha)\ge$
17189 \end_inset
17190
17191
17192 \end_layout
17193
17194 \end_inset
17195 </cell>
17196 <cell alignment="center" valignment="top" usebox="none">
17197 \begin_inset Text
17198
17199 \begin_layout Plain Layout
17200 \begin_inset Formula $\:\sin(\beta)$
17201 \end_inset
17202
17203
17204 \end_layout
17205
17206 \end_inset
17207 </cell>
17208 </row>
17209 </lyxtabular>
17210
17211 \end_inset
17212
17213
17214 \end_layout
17215
17216 \end_inset
17217
17218
17219 \end_layout
17220
17221 \begin_layout Standard
17222 \begin_inset VSpace bigskip
17223 \end_inset
17224
17225 There is also the LaTeX-package 
17226 \series bold
17227 dcolumn
17228 \series default
17229
17230 \begin_inset Index
17231 status collapsed
17232
17233 \begin_layout Plain Layout
17234 LaTeX-packages ! dcolumn
17235 \end_layout
17236
17237 \end_inset
17238
17239  that provides table cell alignments.
17240  But this unfortunately treats the cell entries as math and does not allow
17241  formulas in table cells: The first column of Table
17242 \begin_inset space ~
17243 \end_inset
17244
17245
17246 \begin_inset CommandInset ref
17247 LatexCommand ref
17248 reference "tab:Several-table-cell"
17249
17250 \end_inset
17251
17252  will look with 
17253 \series bold
17254 dcolumn
17255 \series default
17256  like the first column in Table
17257 \begin_inset space ~
17258 \end_inset
17259
17260
17261 \begin_inset CommandInset ref
17262 LatexCommand ref
17263 reference "tab:Alignments-when"
17264
17265 \end_inset
17266
17267  and only with some tricks as you would want.
17268  The alignment of the second and third column of Table
17269 \begin_inset space ~
17270 \end_inset
17271
17272
17273 \begin_inset CommandInset ref
17274 LatexCommand ref
17275 reference "tab:Several-table-cell"
17276
17277 \end_inset
17278
17279  is not possible with 
17280 \series bold
17281 dcolumn
17282 \series default
17283 .
17284 \end_layout
17285
17286 \begin_layout Standard
17287 \begin_inset Newpage newpage
17288 \end_inset
17289
17290
17291 \end_layout
17292
17293 \begin_layout Standard
17294 \begin_inset Float table
17295 placement h
17296 wide false
17297 sideways false
17298 status open
17299
17300 \begin_layout Plain Layout
17301 \begin_inset Caption
17302
17303 \begin_layout Plain Layout
17304 \begin_inset CommandInset label
17305 LatexCommand label
17306 name "tab:Alignments-when"
17307
17308 \end_inset
17309
17310 Alignments when LaTeX-package dcolumn is used.
17311  For all column alignments tricks have to be used to get the output.
17312 \end_layout
17313
17314 \end_inset
17315
17316
17317 \end_layout
17318
17319 \begin_layout Plain Layout
17320 \align center
17321 \begin_inset Tabular
17322 <lyxtabular version="3" rows="4" columns="3">
17323 <features>
17324 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17325 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17326 <column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
17327 <row>
17328 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17329 \begin_inset Text
17330
17331 \begin_layout Plain Layout
17332 units
17333 \end_layout
17334
17335 \end_inset
17336 </cell>
17337 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17338 \begin_inset Text
17339
17340 \begin_layout Plain Layout
17341 units
17342 \end_layout
17343
17344 \end_inset
17345 </cell>
17346 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17347 \begin_inset Text
17348
17349 \begin_layout Plain Layout
17350 units
17351 \end_layout
17352
17353 \end_inset
17354 </cell>
17355 </row>
17356 <row>
17357 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17358 \begin_inset Text
17359
17360 \begin_layout Plain Layout
17361 12x24
17362 \begin_inset space \thinspace{}
17363 \end_inset
17364
17365 bottles
17366 \end_layout
17367
17368 \end_inset
17369 </cell>
17370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17371 \begin_inset Text
17372
17373 \begin_layout Plain Layout
17374 12x24
17375 \begin_inset space \thinspace{}
17376 \end_inset
17377
17378
17379 \begin_inset Formula $\mbox{bottles}$
17380 \end_inset
17381
17382
17383 \end_layout
17384
17385 \end_inset
17386 </cell>
17387 <cell alignment="center" valignment="top" usebox="none">
17388 \begin_inset Text
17389
17390 \begin_layout Plain Layout
17391 12
17392 \begin_inset ERT
17393 status collapsed
17394
17395 \begin_layout Plain Layout
17396
17397
17398 \backslash
17399 times 
17400 \end_layout
17401
17402 \end_inset
17403
17404 24+
17405 \begin_inset Formula $\mbox{bottles}$
17406 \end_inset
17407
17408
17409 \end_layout
17410
17411 \end_inset
17412 </cell>
17413 </row>
17414 <row>
17415 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17416 \begin_inset Text
17417
17418 \begin_layout Plain Layout
17419 1024x768
17420 \begin_inset space \thinspace{}
17421 \end_inset
17422
17423 Pixels
17424 \end_layout
17425
17426 \end_inset
17427 </cell>
17428 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17429 \begin_inset Text
17430
17431 \begin_layout Plain Layout
17432 1024x768
17433 \begin_inset space \thinspace{}
17434 \end_inset
17435
17436
17437 \begin_inset Formula $\mbox{Pixels}$
17438 \end_inset
17439
17440
17441 \end_layout
17442
17443 \end_inset
17444 </cell>
17445 <cell alignment="center" valignment="top" usebox="none">
17446 \begin_inset Text
17447
17448 \begin_layout Plain Layout
17449 1024
17450 \begin_inset ERT
17451 status collapsed
17452
17453 \begin_layout Plain Layout
17454
17455
17456 \backslash
17457 times 
17458 \end_layout
17459
17460 \end_inset
17461
17462 768+
17463 \begin_inset Formula $\mbox{Pixels}$
17464 \end_inset
17465
17466
17467 \end_layout
17468
17469 \end_inset
17470 </cell>
17471 </row>
17472 <row>
17473 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17474 \begin_inset Text
17475
17476 \begin_layout Plain Layout
17477 32x6
17478 \begin_inset space \thinspace{}
17479 \end_inset
17480
17481 cm
17482 \end_layout
17483
17484 \end_inset
17485 </cell>
17486 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17487 \begin_inset Text
17488
17489 \begin_layout Plain Layout
17490 32x6
17491 \begin_inset space \thinspace{}
17492 \end_inset
17493
17494
17495 \begin_inset Formula $\mbox{cm}$
17496 \end_inset
17497
17498
17499 \end_layout
17500
17501 \end_inset
17502 </cell>
17503 <cell alignment="center" valignment="top" usebox="none">
17504 \begin_inset Text
17505
17506 \begin_layout Plain Layout
17507 32
17508 \begin_inset ERT
17509 status collapsed
17510
17511 \begin_layout Plain Layout
17512
17513
17514 \backslash
17515 times 
17516 \end_layout
17517
17518 \end_inset
17519
17520 6+
17521 \begin_inset Formula $\mbox{cm}$
17522 \end_inset
17523
17524
17525 \end_layout
17526
17527 \end_inset
17528 </cell>
17529 </row>
17530 </lyxtabular>
17531
17532 \end_inset
17533
17534
17535 \end_layout
17536
17537 \end_inset
17538
17539
17540 \end_layout
17541
17542 \begin_layout Subsection
17543 Customized Cell/Column Format
17544 \begin_inset CommandInset label
17545 LatexCommand label
17546 name "sub:Customized-Format"
17547
17548 \end_inset
17549
17550
17551 \begin_inset Index
17552 status collapsed
17553
17554 \begin_layout Plain Layout
17555 Table Customization ! Cell/Column Format
17556 \end_layout
17557
17558 \end_inset
17559
17560
17561 \end_layout
17562
17563 \begin_layout Standard
17564 Calculating the required width for spanned columns as in section
17565 \begin_inset space ~
17566 \end_inset
17567
17568
17569 \begin_inset CommandInset ref
17570 LatexCommand ref
17571 reference "sub:Multicolumn-Calculations"
17572
17573 \end_inset
17574
17575  is very annoying if you have several tables with multicolumn cells.
17576  To make life easier, you can define a cell/column format in the preamble,
17577  so that it can be used in all tables of the document.
17578  The format is defined with the command
17579 \end_layout
17580
17581 \begin_layout Standard
17582
17583 \series bold
17584
17585 \backslash
17586 newcolumntype{name of format}[number of arguments]{commands}
17587 \end_layout
17588
17589 \begin_layout Standard
17590 The format name may only consist of one letter.
17591  The letters 
17592 \emph on
17593 b
17594 \emph default
17595
17596 \emph on
17597 c
17598 \emph default
17599
17600 \emph on
17601 l
17602 \emph default
17603
17604 \emph on
17605 m
17606 \emph default
17607
17608 \emph on
17609 p
17610 \emph default
17611  and 
17612 \emph on
17613 r
17614 \emph default
17615  are predefined and cannot be used.
17616  But all letters are allowed as capitals.
17617 \end_layout
17618
17619 \begin_layout Standard
17620 \begin_inset VSpace medskip
17621 \end_inset
17622
17623
17624 \end_layout
17625
17626 \begin_layout Standard
17627 For vertically and horizontally centered multicolumn cells with a fixed
17628  width you can define the cell format
17629 \end_layout
17630
17631 \begin_layout Standard
17632
17633 \series bold
17634
17635 \backslash
17636 newcolumntype{M}[1]{>{
17637 \backslash
17638 centering
17639 \backslash
17640 hspace{0pt}}m{#1}}
17641 \end_layout
17642
17643 \begin_layout Standard
17644 where 
17645 \series bold
17646
17647 \backslash
17648 hspace{0pt}
17649 \series default
17650  avoids the problem of hyphenating the first word, as described in section
17651 \begin_inset space ~
17652 \end_inset
17653
17654
17655 \begin_inset CommandInset ref
17656 LatexCommand ref
17657 reference "sub:Multiple-Lines-in"
17658
17659 \end_inset
17660
17661 .
17662  Now you can simply enter
17663 \end_layout
17664
17665 \begin_layout Standard
17666
17667 \series bold
17668 M{width}
17669 \end_layout
17670
17671 \begin_layout Standard
17672 as LaTeX-argument in the table dialog to create a multicolumn.
17673 \end_layout
17674
17675 \begin_layout Standard
17676 \begin_inset VSpace bigskip
17677 \end_inset
17678
17679
17680 \end_layout
17681
17682 \begin_layout Standard
17683 For cells spanned by a multicolumn cell, you can define the format
17684 \end_layout
17685
17686 \begin_layout Standard
17687
17688 \series bold
17689
17690 \backslash
17691 newcolumntype{S}[2]{>{
17692 \backslash
17693 centering
17694 \backslash
17695 hspace{0pt}}
17696 \begin_inset Newline newline
17697 \end_inset
17698
17699
17700 \begin_inset ERT
17701 status collapsed
17702
17703 \begin_layout Plain Layout
17704
17705
17706 \backslash
17707 phantom{
17708 \end_layout
17709
17710 \end_inset
17711
17712
17713 \backslash
17714 newcolumntype
17715 \begin_inset ERT
17716 status collapsed
17717
17718 \begin_layout Plain Layout
17719
17720 }
17721 \end_layout
17722
17723 \end_inset
17724
17725 m{(#1+(2
17726 \backslash
17727 tabcolsep+
17728 \backslash
17729 arrayrulewidth)*(1-#2))/#2}}
17730 \end_layout
17731
17732 \begin_layout Standard
17733 This format uses equation 
17734 \begin_inset CommandInset ref
17735 LatexCommand eqref
17736 reference "eq:Wgn"
17737
17738 \end_inset
17739
17740  to calculate the required width so that each spanned cell has the same
17741  width.
17742 \end_layout
17743
17744 \begin_layout Standard
17745 You can now enter
17746 \end_layout
17747
17748 \begin_layout Standard
17749
17750 \series bold
17751 S{width of multicolumn cell}{number of spanned columns}
17752 \end_layout
17753
17754 \begin_layout Standard
17755 as LaTeX-argument of the column.
17756 \end_layout
17757
17758 \begin_layout Standard
17759 \begin_inset VSpace bigskip
17760 \end_inset
17761
17762
17763 \end_layout
17764
17765 \begin_layout Standard
17766 For colored columns, you can define
17767 \end_layout
17768
17769 \begin_layout Standard
17770
17771 \series bold
17772
17773 \backslash
17774 newcolumntype{K}[1]{>{
17775 \backslash
17776 columncolor{#1}
17777 \backslash
17778 hspace{0pt}}c}
17779 \end_layout
17780
17781 \begin_layout Standard
17782 The 
17783 \begin_inset Quotes eld
17784 \end_inset
17785
17786 c
17787 \begin_inset Quotes erd
17788 \end_inset
17789
17790  at the end creates a column with a flexible width whose text is horizontally
17791  centered.
17792  You can now enter
17793 \end_layout
17794
17795 \begin_layout Standard
17796
17797 \series bold
17798 K{color name}
17799 \end_layout
17800
17801 \begin_layout Standard
17802 as LaTeX-argument.
17803 \end_layout
17804
17805 \begin_layout Standard
17806 \begin_inset VSpace bigskip
17807 \end_inset
17808
17809
17810 \end_layout
17811
17812 \begin_layout Standard
17813 To create Table
17814 \begin_inset space ~
17815 \end_inset
17816
17817
17818 \begin_inset CommandInset ref
17819 LatexCommand ref
17820 reference "tab:Table-using-user-defined"
17821
17822 \end_inset
17823
17824  use the LaTeX-arguments
17825 \end_layout
17826
17827 \begin_layout Standard
17828
17829 \series bold
17830 M{2.5cm}
17831 \end_layout
17832
17833 \begin_layout Standard
17834 for the first column and the multicolumn,
17835 \end_layout
17836
17837 \begin_layout Standard
17838
17839 \series bold
17840 K{red}
17841 \end_layout
17842
17843 \begin_layout Standard
17844 for the last column, and
17845 \end_layout
17846
17847 \begin_layout Standard
17848
17849 \series bold
17850 S{2.5cm}{2}
17851 \end_layout
17852
17853 \begin_layout Standard
17854 for the cells in the second column.
17855 \end_layout
17856
17857 \begin_layout Standard
17858 \begin_inset Float table
17859 placement h
17860 wide false
17861 sideways false
17862 status open
17863
17864 \begin_layout Plain Layout
17865 \begin_inset Caption
17866
17867 \begin_layout Plain Layout
17868 \begin_inset CommandInset label
17869 LatexCommand label
17870 name "tab:Table-using-user-defined"
17871
17872 \end_inset
17873
17874 Table using user-defined table formats
17875 \end_layout
17876
17877 \end_inset
17878
17879
17880 \end_layout
17881
17882 \begin_layout Plain Layout
17883 \align center
17884 \begin_inset Tabular
17885 <lyxtabular version="3" rows="3" columns="4">
17886 <features>
17887 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17888 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17889 <column alignment="center" valignment="middle" width="0">
17890 <column alignment="center" valignment="middle" width="0" special="K{red}">
17891 <row>
17892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17893 \begin_inset Text
17894
17895 \begin_layout Plain Layout
17896 verylongtablecellword
17897 \end_layout
17898
17899 \end_inset
17900 </cell>
17901 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17902 \begin_inset Text
17903
17904 \begin_layout Plain Layout
17905 multiple lines multicolumn
17906 \end_layout
17907
17908 \end_inset
17909 </cell>
17910 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17911 \begin_inset Text
17912
17913 \begin_layout Plain Layout
17914
17915 \end_layout
17916
17917 \end_inset
17918 </cell>
17919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17920 \begin_inset Text
17921
17922 \begin_layout Plain Layout
17923 c
17924 \end_layout
17925
17926 \end_inset
17927 </cell>
17928 </row>
17929 <row>
17930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17931 \begin_inset Text
17932
17933 \begin_layout Plain Layout
17934 d
17935 \end_layout
17936
17937 \end_inset
17938 </cell>
17939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17940 \begin_inset Text
17941
17942 \begin_layout Plain Layout
17943 e
17944 \end_layout
17945
17946 \end_inset
17947 </cell>
17948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17949 \begin_inset Text
17950
17951 \begin_layout Plain Layout
17952 f
17953 \end_layout
17954
17955 \end_inset
17956 </cell>
17957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17958 \begin_inset Text
17959
17960 \begin_layout Plain Layout
17961 g
17962 \end_layout
17963
17964 \end_inset
17965 </cell>
17966 </row>
17967 <row>
17968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17969 \begin_inset Text
17970
17971 \begin_layout Plain Layout
17972 h
17973 \end_layout
17974
17975 \end_inset
17976 </cell>
17977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17978 \begin_inset Text
17979
17980 \begin_layout Plain Layout
17981 i
17982 \end_layout
17983
17984 \end_inset
17985 </cell>
17986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17987 \begin_inset Text
17988
17989 \begin_layout Plain Layout
17990 j
17991 \end_layout
17992
17993 \end_inset
17994 </cell>
17995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17996 \begin_inset Text
17997
17998 \begin_layout Plain Layout
17999 k
18000 \end_layout
18001
18002 \end_inset
18003 </cell>
18004 </row>
18005 </lyxtabular>
18006
18007 \end_inset
18008
18009
18010 \end_layout
18011
18012 \end_inset
18013
18014
18015 \end_layout
18016
18017 \begin_layout Subsection
18018 Line Thickness
18019 \begin_inset CommandInset label
18020 LatexCommand label
18021 name "sub:Line-Thickness"
18022
18023 \end_inset
18024
18025
18026 \begin_inset Index
18027 status collapsed
18028
18029 \begin_layout Plain Layout
18030 Table Customization ! Line Thickness
18031 \end_layout
18032
18033 \end_inset
18034
18035
18036 \end_layout
18037
18038 \begin_layout Standard
18039 The line thickness for all lines in a table can be adjusted with the length
18040  
18041 \series bold
18042
18043 \backslash
18044 arrayrulewidth
18045 \series default
18046 .
18047  To set for example a line thickness of 1.5
18048 \begin_inset space \thinspace{}
18049 \end_inset
18050
18051 pt, as in Table
18052 \begin_inset space ~
18053 \end_inset
18054
18055
18056 \begin_inset CommandInset ref
18057 LatexCommand ref
18058 reference "tab:Table-with-1.5"
18059
18060 \end_inset
18061
18062 , insert the command
18063 \end_layout
18064
18065 \begin_layout Standard
18066
18067 \series bold
18068
18069 \backslash
18070 setlength{
18071 \backslash
18072 arrayrulewidth}{1.5pt}
18073 \end_layout
18074
18075 \begin_layout Standard
18076 in TeX-Code before the table or table float.
18077  The changed thickness is valid for all subsequent tables.
18078  To use the default value again, set 
18079 \series bold
18080
18081 \backslash
18082 arrayrulewidth
18083 \series default
18084  to 0.4
18085 \begin_inset space \thinspace{}
18086 \end_inset
18087
18088 pt in TeX-Code after the table or table float.
18089 \end_layout
18090
18091 \begin_layout Standard
18092 \begin_inset ERT
18093 status collapsed
18094
18095 \begin_layout Plain Layout
18096
18097
18098 \backslash
18099 setlength{
18100 \backslash
18101 arrayrulewidth}{1.5pt}
18102 \end_layout
18103
18104 \end_inset
18105
18106
18107 \begin_inset Float table
18108 wide false
18109 sideways false
18110 status open
18111
18112 \begin_layout Plain Layout
18113 \begin_inset Caption
18114
18115 \begin_layout Plain Layout
18116 \begin_inset CommandInset label
18117 LatexCommand label
18118 name "tab:Table-with-1.5"
18119
18120 \end_inset
18121
18122 Table with 1.5
18123 \begin_inset space \thinspace{}
18124 \end_inset
18125
18126 pt thick lines
18127 \end_layout
18128
18129 \end_inset
18130
18131
18132 \end_layout
18133
18134 \begin_layout Plain Layout
18135 \align center
18136 \begin_inset Tabular
18137 <lyxtabular version="3" rows="3" columns="3">
18138 <features>
18139 <column alignment="center" valignment="top" width="0">
18140 <column alignment="center" valignment="top" width="0">
18141 <column alignment="center" valignment="top" width="0">
18142 <row>
18143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18144 \begin_inset Text
18145
18146 \begin_layout Plain Layout
18147 sd
18148 \end_layout
18149
18150 \end_inset
18151 </cell>
18152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18153 \begin_inset Text
18154
18155 \begin_layout Plain Layout
18156
18157 \end_layout
18158
18159 \end_inset
18160 </cell>
18161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18162 \begin_inset Text
18163
18164 \begin_layout Plain Layout
18165
18166 \end_layout
18167
18168 \end_inset
18169 </cell>
18170 </row>
18171 <row>
18172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18173 \begin_inset Text
18174
18175 \begin_layout Plain Layout
18176
18177 \end_layout
18178
18179 \end_inset
18180 </cell>
18181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18182 \begin_inset Text
18183
18184 \begin_layout Plain Layout
18185 sd
18186 \end_layout
18187
18188 \end_inset
18189 </cell>
18190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18191 \begin_inset Text
18192
18193 \begin_layout Plain Layout
18194
18195 \end_layout
18196
18197 \end_inset
18198 </cell>
18199 </row>
18200 <row>
18201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18202 \begin_inset Text
18203
18204 \begin_layout Plain Layout
18205
18206 \end_layout
18207
18208 \end_inset
18209 </cell>
18210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18211 \begin_inset Text
18212
18213 \begin_layout Plain Layout
18214
18215 \end_layout
18216
18217 \end_inset
18218 </cell>
18219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18220 \begin_inset Text
18221
18222 \begin_layout Plain Layout
18223 sd
18224 \end_layout
18225
18226 \end_inset
18227 </cell>
18228 </row>
18229 </lyxtabular>
18230
18231 \end_inset
18232
18233
18234 \end_layout
18235
18236 \end_inset
18237
18238
18239 \begin_inset ERT
18240 status collapsed
18241
18242 \begin_layout Plain Layout
18243
18244
18245 \backslash
18246 setlength{
18247 \backslash
18248 arrayrulewidth}{0.4pt}
18249 \end_layout
18250
18251 \end_inset
18252
18253
18254 \end_layout
18255
18256 \begin_layout Standard
18257 \begin_inset VSpace bigskip
18258 \end_inset
18259
18260 To set the line thickness to 1.5
18261 \begin_inset space \thinspace{}
18262 \end_inset
18263
18264 pt only for horizontal lines, as in Table
18265 \begin_inset space ~
18266 \end_inset
18267
18268
18269 \begin_inset CommandInset ref
18270 LatexCommand ref
18271 reference "tab:Table-with-horizontal"
18272
18273 \end_inset
18274
18275 , insert these commands in TeX-Code before the table or table float:
18276 \end_layout
18277
18278 \begin_layout Standard
18279
18280 \series bold
18281
18282 \backslash
18283 let
18284 \backslash
18285 myHline
18286 \backslash
18287 hline
18288 \begin_inset Newline newline
18289 \end_inset
18290
18291
18292 \backslash
18293 renewcommand{
18294 \backslash
18295 hline}
18296 \begin_inset Newline newline
18297 \end_inset
18298
18299  {
18300 \backslash
18301 noalign{
18302 \backslash
18303 global
18304 \backslash
18305 arrayrulewidth 1.5pt}
18306 \begin_inset Newline newline
18307 \end_inset
18308
18309  
18310 \backslash
18311 myHline
18312 \backslash
18313 noalign{
18314 \backslash
18315 global
18316 \backslash
18317 arrayrulewidth 0.4pt}}
18318 \end_layout
18319
18320 \begin_layout Standard
18321 To return to the default line thickness, insert this command in TeX-Code
18322  after the table or table float:
18323 \end_layout
18324
18325 \begin_layout Standard
18326
18327 \series bold
18328
18329 \backslash
18330 renewcommand{
18331 \backslash
18332 hline}{
18333 \backslash
18334 myHline}
18335 \end_layout
18336
18337 \begin_layout Standard
18338 \begin_inset ERT
18339 status collapsed
18340
18341 \begin_layout Plain Layout
18342
18343
18344 \backslash
18345 let
18346 \backslash
18347 myHline
18348 \backslash
18349 hline
18350 \end_layout
18351
18352 \begin_layout Plain Layout
18353
18354
18355 \backslash
18356 renewcommand{
18357 \backslash
18358 hline}
18359 \end_layout
18360
18361 \begin_layout Plain Layout
18362
18363  {
18364 \backslash
18365 noalign{
18366 \backslash
18367 global
18368 \backslash
18369 arrayrulewidth 1.5pt}
18370 \end_layout
18371
18372 \begin_layout Plain Layout
18373
18374   
18375 \backslash
18376 myHline
18377 \backslash
18378 noalign{
18379 \backslash
18380 global
18381 \backslash
18382 arrayrulewidth 0.4pt}}
18383 \end_layout
18384
18385 \end_inset
18386
18387
18388 \begin_inset Float table
18389 wide false
18390 sideways false
18391 status open
18392
18393 \begin_layout Plain Layout
18394 \begin_inset Caption
18395
18396 \begin_layout Plain Layout
18397 \begin_inset CommandInset label
18398 LatexCommand label
18399 name "tab:Table-with-horizontal"
18400
18401 \end_inset
18402
18403 Table with 1.5
18404 \begin_inset space \thinspace{}
18405 \end_inset
18406
18407 pt thick horizontal lines
18408 \end_layout
18409
18410 \end_inset
18411
18412
18413 \end_layout
18414
18415 \begin_layout Plain Layout
18416 \align center
18417 \begin_inset Tabular
18418 <lyxtabular version="3" rows="3" columns="3">
18419 <features>
18420 <column alignment="center" valignment="top" width="0">
18421 <column alignment="center" valignment="top" width="0">
18422 <column alignment="center" valignment="top" width="0">
18423 <row>
18424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18425 \begin_inset Text
18426
18427 \begin_layout Plain Layout
18428 sd
18429 \end_layout
18430
18431 \end_inset
18432 </cell>
18433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18434 \begin_inset Text
18435
18436 \begin_layout Plain Layout
18437
18438 \end_layout
18439
18440 \end_inset
18441 </cell>
18442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18443 \begin_inset Text
18444
18445 \begin_layout Plain Layout
18446
18447 \end_layout
18448
18449 \end_inset
18450 </cell>
18451 </row>
18452 <row>
18453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18454 \begin_inset Text
18455
18456 \begin_layout Plain Layout
18457
18458 \end_layout
18459
18460 \end_inset
18461 </cell>
18462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18463 \begin_inset Text
18464
18465 \begin_layout Plain Layout
18466 sd
18467 \end_layout
18468
18469 \end_inset
18470 </cell>
18471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18472 \begin_inset Text
18473
18474 \begin_layout Plain Layout
18475
18476 \end_layout
18477
18478 \end_inset
18479 </cell>
18480 </row>
18481 <row>
18482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18483 \begin_inset Text
18484
18485 \begin_layout Plain Layout
18486
18487 \end_layout
18488
18489 \end_inset
18490 </cell>
18491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18492 \begin_inset Text
18493
18494 \begin_layout Plain Layout
18495
18496 \end_layout
18497
18498 \end_inset
18499 </cell>
18500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18501 \begin_inset Text
18502
18503 \begin_layout Plain Layout
18504 sd
18505 \end_layout
18506
18507 \end_inset
18508 </cell>
18509 </row>
18510 </lyxtabular>
18511
18512 \end_inset
18513
18514
18515 \end_layout
18516
18517 \end_inset
18518
18519
18520 \begin_inset ERT
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524
18525
18526 \backslash
18527 renewcommand{
18528 \backslash
18529 hline}{
18530 \backslash
18531 myHline}
18532 \end_layout
18533
18534 \end_inset
18535
18536
18537 \end_layout
18538
18539 \begin_layout Standard
18540 \begin_inset VSpace bigskip
18541 \end_inset
18542
18543 To set the line thickness to 1.5
18544 \begin_inset space \thinspace{}
18545 \end_inset
18546
18547 pt only for vertical lines, create the following column format in the document
18548  preamble, according to the description in section
18549 \begin_inset space ~
18550 \end_inset
18551
18552
18553 \begin_inset CommandInset ref
18554 LatexCommand ref
18555 reference "sub:Customized-Format"
18556
18557 \end_inset
18558
18559 :
18560 \end_layout
18561
18562 \begin_layout Standard
18563
18564 \series bold
18565
18566 \backslash
18567 newcolumntype{V}{!{
18568 \backslash
18569 vrule width 1.5pt}}
18570 \end_layout
18571
18572 \begin_layout Standard
18573 For Table
18574 \begin_inset space ~
18575 \end_inset
18576
18577
18578 \begin_inset CommandInset ref
18579 LatexCommand ref
18580 reference "tab:Table-with-vertical"
18581
18582 \end_inset
18583
18584  the LaTeX-argument
18585 \end_layout
18586
18587 \begin_layout Standard
18588
18589 \series bold
18590 VcV
18591 \end_layout
18592
18593 \begin_layout Standard
18594 was used for the last column and
18595 \end_layout
18596
18597 \begin_layout Standard
18598
18599 \series bold
18600 Vc
18601 \end_layout
18602
18603 \begin_layout Standard
18604 for the other columns.
18605 \end_layout
18606
18607 \begin_layout Standard
18608 \begin_inset Float table
18609 wide false
18610 sideways false
18611 status open
18612
18613 \begin_layout Plain Layout
18614 \begin_inset Caption
18615
18616 \begin_layout Plain Layout
18617 \begin_inset CommandInset label
18618 LatexCommand label
18619 name "tab:Table-with-vertical"
18620
18621 \end_inset
18622
18623 Table with 1.5
18624 \begin_inset space \thinspace{}
18625 \end_inset
18626
18627 pt thick vertical lines
18628 \end_layout
18629
18630 \end_inset
18631
18632
18633 \end_layout
18634
18635 \begin_layout Plain Layout
18636 \align center
18637 \begin_inset Tabular
18638 <lyxtabular version="3" rows="3" columns="3">
18639 <features>
18640 <column alignment="center" valignment="top" width="0" special="Vc">
18641 <column alignment="center" valignment="top" width="0" special="Vc">
18642 <column alignment="center" valignment="top" width="0" special="VcV">
18643 <row>
18644 <cell alignment="center" valignment="top" topline="true" usebox="none">
18645 \begin_inset Text
18646
18647 \begin_layout Plain Layout
18648 sd
18649 \end_layout
18650
18651 \end_inset
18652 </cell>
18653 <cell alignment="center" valignment="top" topline="true" usebox="none">
18654 \begin_inset Text
18655
18656 \begin_layout Plain Layout
18657
18658 \end_layout
18659
18660 \end_inset
18661 </cell>
18662 <cell alignment="center" valignment="top" topline="true" usebox="none">
18663 \begin_inset Text
18664
18665 \begin_layout Plain Layout
18666
18667 \end_layout
18668
18669 \end_inset
18670 </cell>
18671 </row>
18672 <row>
18673 <cell alignment="center" valignment="top" topline="true" usebox="none">
18674 \begin_inset Text
18675
18676 \begin_layout Plain Layout
18677
18678 \end_layout
18679
18680 \end_inset
18681 </cell>
18682 <cell alignment="center" valignment="top" topline="true" usebox="none">
18683 \begin_inset Text
18684
18685 \begin_layout Plain Layout
18686 sd
18687 \end_layout
18688
18689 \end_inset
18690 </cell>
18691 <cell alignment="center" valignment="top" topline="true" usebox="none">
18692 \begin_inset Text
18693
18694 \begin_layout Plain Layout
18695
18696 \end_layout
18697
18698 \end_inset
18699 </cell>
18700 </row>
18701 <row>
18702 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18703 \begin_inset Text
18704
18705 \begin_layout Plain Layout
18706
18707 \end_layout
18708
18709 \end_inset
18710 </cell>
18711 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18712 \begin_inset Text
18713
18714 \begin_layout Plain Layout
18715
18716 \end_layout
18717
18718 \end_inset
18719 </cell>
18720 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18721 \begin_inset Text
18722
18723 \begin_layout Plain Layout
18724 sd
18725 \end_layout
18726
18727 \end_inset
18728 </cell>
18729 </row>
18730 </lyxtabular>
18731
18732 \end_inset
18733
18734
18735 \end_layout
18736
18737 \end_inset
18738
18739
18740 \end_layout
18741
18742 \begin_layout Subsection
18743 Dashed Lines
18744 \begin_inset Index
18745 status collapsed
18746
18747 \begin_layout Plain Layout
18748 Table Customization ! Dashed Lines
18749 \end_layout
18750
18751 \end_inset
18752
18753
18754 \end_layout
18755
18756 \begin_layout Standard
18757 \begin_inset ERT
18758 status collapsed
18759
18760 \begin_layout Plain Layout
18761
18762
18763 \backslash
18764 ifarydshln
18765 \end_layout
18766
18767 \end_inset
18768
18769
18770 \begin_inset Note Note
18771 status open
18772
18773 \begin_layout Plain Layout
18774 The following section will only be displayed when the LaTeX-package 
18775 \series bold
18776 arydshln
18777 \series default
18778  is installed.
18779 \end_layout
18780
18781 \end_inset
18782
18783
18784 \end_layout
18785
18786 \begin_layout Standard
18787 \begin_inset Float table
18788 placement H
18789 wide false
18790 sideways false
18791 status open
18792
18793 \begin_layout Plain Layout
18794 \begin_inset Caption
18795
18796 \begin_layout Plain Layout
18797 \begin_inset CommandInset label
18798 LatexCommand label
18799 name "tab:Table-with-dashed"
18800
18801 \end_inset
18802
18803 Table with dashed lines
18804 \end_layout
18805
18806 \end_inset
18807
18808
18809 \end_layout
18810
18811 \begin_layout Plain Layout
18812 \align center
18813 \begin_inset Tabular
18814 <lyxtabular version="3" rows="5" columns="5">
18815 <features>
18816 <column alignment="center" valignment="top" width="0">
18817 <column alignment="center" valignment="top" width="0">
18818 <column alignment="center" valignment="top" width="0" special=":c">
18819 <column alignment="center" valignment="top" width="0">
18820 <column alignment="center" valignment="top" width="0">
18821 <row>
18822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18823 \begin_inset Text
18824
18825 \begin_layout Plain Layout
18826 a
18827 \end_layout
18828
18829 \end_inset
18830 </cell>
18831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18832 \begin_inset Text
18833
18834 \begin_layout Plain Layout
18835 b
18836 \end_layout
18837
18838 \end_inset
18839 </cell>
18840 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18841 \begin_inset Text
18842
18843 \begin_layout Plain Layout
18844 c
18845 \end_layout
18846
18847 \end_inset
18848 </cell>
18849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18850 \begin_inset Text
18851
18852 \begin_layout Plain Layout
18853 d
18854 \end_layout
18855
18856 \end_inset
18857 </cell>
18858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18859 \begin_inset Text
18860
18861 \begin_layout Plain Layout
18862 e
18863 \end_layout
18864
18865 \end_inset
18866 </cell>
18867 </row>
18868 <row>
18869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18870 \begin_inset Text
18871
18872 \begin_layout Plain Layout
18873 f
18874 \end_layout
18875
18876 \end_inset
18877 </cell>
18878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18879 \begin_inset Text
18880
18881 \begin_layout Plain Layout
18882 g
18883 \end_layout
18884
18885 \end_inset
18886 </cell>
18887 <cell alignment="center" valignment="top" topline="true" usebox="none">
18888 \begin_inset Text
18889
18890 \begin_layout Plain Layout
18891 h
18892 \end_layout
18893
18894 \end_inset
18895 </cell>
18896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18897 \begin_inset Text
18898
18899 \begin_layout Plain Layout
18900 i
18901 \end_layout
18902
18903 \end_inset
18904 </cell>
18905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18906 \begin_inset Text
18907
18908 \begin_layout Plain Layout
18909 j
18910 \end_layout
18911
18912 \end_inset
18913 </cell>
18914 </row>
18915 <row>
18916 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18917 \begin_inset Text
18918
18919 \begin_layout Plain Layout
18920 \begin_inset ERT
18921 status collapsed
18922
18923 \begin_layout Plain Layout
18924
18925
18926 \backslash
18927 hdashline 
18928 \end_layout
18929
18930 \end_inset
18931
18932 k
18933 \end_layout
18934
18935 \end_inset
18936 </cell>
18937 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18938 \begin_inset Text
18939
18940 \begin_layout Plain Layout
18941 l
18942 \end_layout
18943
18944 \end_inset
18945 </cell>
18946 <cell alignment="center" valignment="top" usebox="none">
18947 \begin_inset Text
18948
18949 \begin_layout Plain Layout
18950 m
18951 \end_layout
18952
18953 \end_inset
18954 </cell>
18955 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18956 \begin_inset Text
18957
18958 \begin_layout Plain Layout
18959 n
18960 \end_layout
18961
18962 \end_inset
18963 </cell>
18964 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18965 \begin_inset Text
18966
18967 \begin_layout Plain Layout
18968 o
18969 \end_layout
18970
18971 \end_inset
18972 </cell>
18973 </row>
18974 <row>
18975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18976 \begin_inset Text
18977
18978 \begin_layout Plain Layout
18979 \begin_inset ERT
18980 status collapsed
18981
18982 \begin_layout Plain Layout
18983
18984
18985 \backslash
18986 cdashline{4-5}
18987 \end_layout
18988
18989 \end_inset
18990
18991 p
18992 \end_layout
18993
18994 \end_inset
18995 </cell>
18996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18997 \begin_inset Text
18998
18999 \begin_layout Plain Layout
19000 q
19001 \end_layout
19002
19003 \end_inset
19004 </cell>
19005 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19006 \begin_inset Text
19007
19008 \begin_layout Plain Layout
19009 r
19010 \end_layout
19011
19012 \end_inset
19013 </cell>
19014 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19015 \begin_inset Text
19016
19017 \begin_layout Plain Layout
19018 s
19019 \end_layout
19020
19021 \end_inset
19022 </cell>
19023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19024 \begin_inset Text
19025
19026 \begin_layout Plain Layout
19027
19028 \end_layout
19029
19030 \end_inset
19031 </cell>
19032 </row>
19033 <row>
19034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19035 \begin_inset Text
19036
19037 \begin_layout Plain Layout
19038 t
19039 \end_layout
19040
19041 \end_inset
19042 </cell>
19043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19044 \begin_inset Text
19045
19046 \begin_layout Plain Layout
19047 u
19048 \end_layout
19049
19050 \end_inset
19051 </cell>
19052 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19053 \begin_inset Text
19054
19055 \begin_layout Plain Layout
19056 v
19057 \end_layout
19058
19059 \end_inset
19060 </cell>
19061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19062 \begin_inset Text
19063
19064 \begin_layout Plain Layout
19065 w
19066 \end_layout
19067
19068 \end_inset
19069 </cell>
19070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19071 \begin_inset Text
19072
19073 \begin_layout Plain Layout
19074 x
19075 \end_layout
19076
19077 \end_inset
19078 </cell>
19079 </row>
19080 </lyxtabular>
19081
19082 \end_inset
19083
19084
19085 \end_layout
19086
19087 \end_inset
19088
19089
19090 \end_layout
19091
19092 \begin_layout Standard
19093 LyX does not natively support dashed lines, so you have to use TeX-Code.
19094  As a prerequisite the LaTeX-package 
19095 \series bold
19096 arydshln
19097 \series default
19098
19099 \begin_inset Index
19100 status collapsed
19101
19102 \begin_layout Plain Layout
19103 LaTeX-packages ! arydshln
19104 \end_layout
19105
19106 \end_inset
19107
19108  must be loaded in the document preamble with the command
19109 \end_layout
19110
19111 \begin_layout Standard
19112
19113 \series bold
19114
19115 \backslash
19116 usepackage{arydshln}
19117 \end_layout
19118
19119 \begin_layout Standard
19120 To make a vertical line dashed, enter the colon 
19121 \begin_inset Quotes eld
19122 \end_inset
19123
19124 :
19125 \begin_inset Quotes erd
19126 \end_inset
19127
19128  together with the character for the horizontal alignment as LaTeX-argument
19129  in the table cell dialog.
19130 \end_layout
19131
19132 \begin_layout Standard
19133 For a horizontal dashed line add the command
19134 \end_layout
19135
19136 \begin_layout Standard
19137
19138 \series bold
19139
19140 \backslash
19141 hdashline
19142 \end_layout
19143
19144 \begin_layout Standard
19145 in TeX-Code as first element of the first cell in the table row.
19146 \end_layout
19147
19148 \begin_layout Standard
19149 For dashed multicolumn lines use the command
19150 \end_layout
19151
19152 \begin_layout Standard
19153
19154 \series bold
19155
19156 \backslash
19157 cdashline{line number
19158 \series default
19159 }
19160 \end_layout
19161
19162 \begin_layout Standard
19163 in TeX-Code as the first element of the first cell in the table row.
19164  If you have for example a multicolumn spanning columns 2 to 4 and you want
19165  to have a dashed line above, add the command
19166 \end_layout
19167
19168 \begin_layout Standard
19169
19170 \series bold
19171
19172 \backslash
19173 cdashline{2-4}
19174 \end_layout
19175
19176 \begin_layout Standard
19177 as the first element of the first cell in the row of the multicolumn.
19178 \end_layout
19179
19180 \begin_layout Standard
19181 \begin_inset VSpace bigskip
19182 \end_inset
19183
19184
19185 \end_layout
19186
19187 \begin_layout Standard
19188 Table
19189 \begin_inset space ~
19190 \end_inset
19191
19192
19193 \begin_inset CommandInset ref
19194 LatexCommand ref
19195 reference "tab:Table-with-dashed"
19196
19197 \end_inset
19198
19199  was created using 
19200 \begin_inset Quotes eld
19201 \end_inset
19202
19203
19204 \series bold
19205 :c
19206 \series default
19207
19208 \begin_inset Quotes erd
19209 \end_inset
19210
19211  as LaTeX-argument of the third column.
19212  The TeX-Code command 
19213 \series bold
19214
19215 \backslash
19216 hdashline
19217 \series default
19218  was inserted in the first cell of the third row and the TeX-Code command
19219 \begin_inset Newline newline
19220 \end_inset
19221
19222  
19223 \series bold
19224
19225 \backslash
19226 cdashline{4-5}
19227 \series default
19228  was inserted in the first cell of the fourth row.
19229 \end_layout
19230
19231 \begin_layout Standard
19232 \begin_inset Note Greyedout
19233 status open
19234
19235 \begin_layout Plain Layout
19236
19237 \series bold
19238 Note:
19239 \series default
19240  The LaTeX-package 
19241 \series bold
19242 arydshln
19243 \series default
19244  is apparently not compatible with the LaTeX-package 
19245 \series bold
19246 colortbl
19247 \series default
19248
19249 \begin_inset Index
19250 status collapsed
19251
19252 \begin_layout Plain Layout
19253 LaTeX-packages ! colortbl
19254 \end_layout
19255
19256 \end_inset
19257
19258  that is used for colored tables in section
19259 \begin_inset space ~
19260 \end_inset
19261
19262
19263 \begin_inset CommandInset ref
19264 LatexCommand ref
19265 reference "sec:Colored-Tables"
19266
19267 \end_inset
19268
19269 .
19270  That means colored tables cannot have dashed lines.
19271 \end_layout
19272
19273 \end_inset
19274
19275
19276 \end_layout
19277
19278 \begin_layout Standard
19279 \begin_inset ERT
19280 status collapsed
19281
19282 \begin_layout Plain Layout
19283
19284
19285 \backslash
19286 else
19287 \end_layout
19288
19289 \end_inset
19290
19291
19292 \begin_inset Note Note
19293 status open
19294
19295 \begin_layout Plain Layout
19296 The following will be displayed when the LaTeX-package 
19297 \series bold
19298 arydshln
19299 \series default
19300  is not installed:
19301 \end_layout
19302
19303 \end_inset
19304
19305
19306 \end_layout
19307
19308 \begin_layout Standard
19309 You need to install the package 
19310 \series bold
19311 arydshln
19312 \series default
19313  to see the content of this section in the output.
19314 \end_layout
19315
19316 \begin_layout Standard
19317 \begin_inset ERT
19318 status collapsed
19319
19320 \begin_layout Plain Layout
19321
19322
19323 \backslash
19324 fi
19325 \end_layout
19326
19327 \end_inset
19328
19329
19330 \end_layout
19331
19332 \begin_layout Chapter
19333 Floats
19334 \begin_inset Index
19335 status collapsed
19336
19337 \begin_layout Plain Layout
19338 Floats
19339 \end_layout
19340
19341 \end_inset
19342
19343
19344 \end_layout
19345
19346 \begin_layout Section
19347 Introduction
19348 \begin_inset CommandInset label
19349 LatexCommand label
19350 name "sec:FloatIntroduction"
19351
19352 \end_inset
19353
19354
19355 \begin_inset Index
19356 status collapsed
19357
19358 \begin_layout Plain Layout
19359 Floats ! Introduction
19360 \end_layout
19361
19362 \end_inset
19363
19364
19365 \end_layout
19366
19367 \begin_layout Standard
19368 A float is a block of text associated with some sort of label, which doesn't
19369  have a fixed location.
19370  It can 
19371 \begin_inset Quotes eld
19372 \end_inset
19373
19374 float
19375 \begin_inset Quotes erd
19376 \end_inset
19377
19378  forward or backward a page or two, to wherever it fits best.
19379  
19380 \family sans
19381 Footnotes
19382 \family default
19383  and 
19384 \family sans
19385 Margin
19386 \begin_inset space ~
19387 \end_inset
19388
19389 Notes
19390 \family default
19391  are also floats, because they can float to the next page when there are
19392  too many notes on the page.
19393 \end_layout
19394
19395 \begin_layout Standard
19396 Floats allow a high quality layout.
19397  Images and tables can be spread evenly to the pages to avoid white space
19398  and pages without text.
19399  As the floating often destroys the context between the text and the image/table
19400 , every float can be referenced in the text.
19401  Floats are therefore numbered.
19402  Referencing is described in section
19403 \begin_inset space ~
19404 \end_inset
19405
19406
19407 \begin_inset CommandInset ref
19408 LatexCommand ref
19409 reference "sec:Referencing-Floats"
19410
19411 \end_inset
19412
19413 .
19414 \end_layout
19415
19416 \begin_layout Standard
19417 To insert a float, use the menu 
19418 \family sans
19419 Insert\SpecialChar \menuseparator
19420 Float
19421 \family default
19422 .
19423  This inserts the 
19424 \family sans
19425 Caption
19426 \family default
19427  inset, a box with a label.
19428  The label will automatically be translated to the document language in
19429  the output.
19430  After the label you can insert the caption text.
19431  The image or table is inserted above or below the caption in a separate
19432  paragraph within the float.
19433  More about the caption placement is contained in section
19434 \begin_inset space ~
19435 \end_inset
19436
19437
19438 \begin_inset CommandInset ref
19439 LatexCommand ref
19440 reference "sec:Caption-Placement"
19441
19442 \end_inset
19443
19444 .
19445  To keep your LyX-document readable, you can open and close the float box
19446  by left-clicking on the box label.
19447  A closed float box looks like this: 
19448 \begin_inset Graphics
19449         filename clipart/floatQt4.png
19450         scale 70
19451         scaleBeforeRotation
19452
19453 \end_inset
19454
19455  – a gray button with a red label.
19456 \end_layout
19457
19458 \begin_layout Standard
19459 It is recommended that you insert floats as a separate standard paragraph
19460  to avoid possible LaTeX-errors that can occur when the surrounding text
19461  is specially formatted.
19462 \end_layout
19463
19464 \begin_layout Standard
19465 Existing figures or tables can be put into a float by highlighting them
19466  and then pressing the corresponding toolbar button for a new float.
19467 \end_layout
19468
19469 \begin_layout Section
19470 Float Types
19471 \end_layout
19472
19473 \begin_layout Standard
19474 Besides figure and table floats that are described in sections
19475 \begin_inset space ~
19476 \end_inset
19477
19478
19479 \begin_inset CommandInset ref
19480 LatexCommand ref
19481 reference "sec:Figure-Floats"
19482
19483 \end_inset
19484
19485  and 
19486 \begin_inset CommandInset ref
19487 LatexCommand ref
19488 reference "sec:Table-Floats"
19489
19490 \end_inset
19491
19492  respectively, LyX offers the float types 
19493 \series bold
19494 Algorithm
19495 \series default
19496  and 
19497 \series bold
19498 Wrap
19499 \series default
19500 .
19501 \end_layout
19502
19503 \begin_layout Subsection
19504 Algorithm Floats
19505 \begin_inset Index
19506 status collapsed
19507
19508 \begin_layout Plain Layout
19509 Floats ! Algorithms
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \end_layout
19516
19517 \begin_layout Standard
19518 \begin_inset Float algorithm
19519 placement h
19520 wide false
19521 sideways false
19522 status open
19523
19524 \begin_layout Plain Layout
19525 \begin_inset Caption
19526
19527 \begin_layout Plain Layout
19528 \begin_inset CommandInset label
19529 LatexCommand label
19530 name "alg:Example-Algorithm-float"
19531
19532 \end_inset
19533
19534 Example Algorithm float
19535 \end_layout
19536
19537 \end_inset
19538
19539
19540 \end_layout
19541
19542 \begin_layout LyX-Code
19543 for I in 1..N loop
19544 \begin_inset Newline newline
19545 \end_inset
19546
19547  Sum:= Sum + A(I); /*comment*/
19548 \begin_inset Newline newline
19549 \end_inset
19550
19551 end loop
19552 \begin_inset VSpace -4mm
19553 \end_inset
19554
19555
19556 \end_layout
19557
19558 \end_inset
19559
19560
19561 \end_layout
19562
19563 \begin_layout Standard
19564 This float type is inserted with the menu 
19565 \family sans
19566 Insert\SpecialChar \menuseparator
19567 Floats\SpecialChar \menuseparator
19568 Algorithm
19569 \family default
19570 .
19571  It is used for program codes and descriptions of algorithms and can be
19572  seen as an alternative to program code listings that are explained in chapter
19573 \begin_inset space ~
19574 \end_inset
19575
19576
19577 \begin_inset CommandInset ref
19578 LatexCommand ref
19579 reference "cha:Program-Code-Listings"
19580
19581 \end_inset
19582
19583 .
19584  A possible environment for algorithms is the 
19585 \family sans
19586 LyX-Code
19587 \family default
19588 , described in LyX's 
19589 \emph on
19590 Userguide
19591 \emph default
19592 .
19593  Algorithm
19594 \begin_inset space ~
19595 \end_inset
19596
19597
19598 \begin_inset CommandInset ref
19599 LatexCommand ref
19600 reference "alg:Example-Algorithm-float"
19601
19602 \end_inset
19603
19604  is an example of an algorithm float where -4
19605 \begin_inset space \thinspace{}
19606 \end_inset
19607
19608 mm vertical space was added at the end of the float to have the bottom rule
19609  exactly below the last text line.
19610 \end_layout
19611
19612 \begin_layout Standard
19613 The float label is not automatically translated into the document language.
19614  If your document is not in English, you have to do this manually by adding
19615  the following line to the document preamble
19616 \series bold
19617 :
19618 \end_layout
19619
19620 \begin_layout Standard
19621
19622 \series bold
19623
19624 \backslash
19625 floatname{algorithm}{your
19626 \begin_inset space ~
19627 \end_inset
19628
19629 name}
19630 \end_layout
19631
19632 \begin_layout Standard
19633 where 
19634 \family sans
19635 your
19636 \begin_inset space ~
19637 \end_inset
19638
19639 name
19640 \family default
19641  is the word 
19642 \begin_inset Quotes eld
19643 \end_inset
19644
19645
19646 \emph on
19647 algorithm
19648 \emph default
19649
19650 \begin_inset Quotes erd
19651 \end_inset
19652
19653  in your language.
19654 \end_layout
19655
19656 \begin_layout Standard
19657 To insert the list of algorithms you can use the menu 
19658 \family sans
19659 Insert\SpecialChar \menuseparator
19660 List
19661 \begin_inset space \thinspace{}
19662 \end_inset
19663
19664 /
19665 \begin_inset space \thinspace{}
19666 \end_inset
19667
19668 TOC\SpecialChar \menuseparator
19669 List of Algorithms
19670 \family default
19671  when your document has the same language as LyX's menu names.
19672  In other cases use this command in TeX-Code instead:
19673 \end_layout
19674
19675 \begin_layout Standard
19676
19677 \series bold
19678
19679 \backslash
19680 listof{algorithm}{your
19681 \begin_inset space ~
19682 \end_inset
19683
19684 name}
19685 \end_layout
19686
19687 \begin_layout Standard
19688 where 
19689 \family sans
19690 your
19691 \begin_inset space ~
19692 \end_inset
19693
19694 name
19695 \family default
19696  is the word 
19697 \begin_inset Quotes eld
19698 \end_inset
19699
19700
19701 \emph on
19702 List of Algorithm
19703 \emph default
19704 s
19705 \begin_inset Quotes erd
19706 \end_inset
19707
19708  in your language.
19709 \end_layout
19710
19711 \begin_layout Standard
19712 Algorithm floats are not by default numbered in the scheme 
19713 \begin_inset Quotes eld
19714 \end_inset
19715
19716 chapter.algorithm
19717 \begin_inset Quotes erd
19718 \end_inset
19719
19720  as is the case for table and figure floats in many document-classes.
19721  To number algorithm floats in the same scheme, add this command to your
19722  document preamble:
19723 \end_layout
19724
19725 \begin_layout Standard
19726
19727 \series bold
19728
19729 \backslash
19730 numberwithin{algorithm}{chapter}
19731 \end_layout
19732
19733 \begin_layout Standard
19734 To be able to use the command 
19735 \series bold
19736
19737 \backslash
19738 numberwithin
19739 \series default
19740 , set in the tab 
19741 \family sans
19742 Math
19743 \begin_inset space ~
19744 \end_inset
19745
19746 Options
19747 \family default
19748  in the document settings the option 
19749 \family sans
19750 Use
19751 \begin_inset space ~
19752 \end_inset
19753
19754 AMS
19755 \begin_inset space ~
19756 \end_inset
19757
19758 math
19759 \begin_inset space ~
19760 \end_inset
19761
19762 package
19763 \family default
19764 .
19765 \end_layout
19766
19767 \begin_layout Subsection
19768 Wrap Floats
19769 \begin_inset Index
19770 status collapsed
19771
19772 \begin_layout Plain Layout
19773 Floats ! Wrap Floats
19774 \end_layout
19775
19776 \end_inset
19777
19778
19779 \end_layout
19780
19781 \begin_layout Standard
19782 \begin_inset Wrap figure
19783 lines 0
19784 placement l
19785 overhang 1cm
19786 width "40col%"
19787 status open
19788
19789 \begin_layout Plain Layout
19790 \begin_inset Graphics
19791         filename clipart/mobius.eps
19792         width 40col%
19793         scaleBeforeRotation
19794         rotateOrigin center
19795
19796 \end_inset
19797
19798
19799 \end_layout
19800
19801 \begin_layout Plain Layout
19802 \begin_inset Caption
19803
19804 \begin_layout Plain Layout
19805 \begin_inset CommandInset label
19806 LatexCommand label
19807 name "fig:This-is-a"
19808
19809 \end_inset
19810
19811 This is a figure wrap float.
19812 \end_layout
19813
19814 \end_inset
19815
19816
19817 \end_layout
19818
19819 \end_inset
19820
19821  This float type is used if you want to wrap text around a figure or table
19822  so that it only occupies some fraction of the column width.
19823  It can be inserted using the menu 
19824 \family sans
19825 Insert\SpecialChar \menuseparator
19826 Floats\SpecialChar \menuseparator
19827 Figure
19828 \begin_inset space ~
19829 \end_inset
19830
19831 Wrap
19832 \begin_inset space ~
19833 \end_inset
19834
19835 Float
19836 \family default
19837  or 
19838 \family sans
19839 Table
19840 \begin_inset space ~
19841 \end_inset
19842
19843 Wrap
19844 \begin_inset space ~
19845 \end_inset
19846
19847 Float
19848 \family default
19849  if the LaTeX-package 
19850 \series bold
19851 wrapfig
19852 \series default
19853
19854 \begin_inset Index
19855 status collapsed
19856
19857 \begin_layout Plain Layout
19858 LaTeX-packages ! wrapfig
19859 \begin_inset ERT
19860 status collapsed
19861
19862 \begin_layout Plain Layout
19863
19864
19865 \backslash
19866 vspace{4mm}
19867 \end_layout
19868
19869 \end_inset
19870
19871
19872 \end_layout
19873
19874 \end_inset
19875
19876  is installed.
19877 \begin_inset Foot
19878 status collapsed
19879
19880 \begin_layout Plain Layout
19881 Installing a LaTeX-package is explained it in the 
19882 \emph on
19883 LaTeX
19884 \begin_inset space ~
19885 \end_inset
19886
19887 Configuration
19888 \emph default
19889  manual.
19890 \end_layout
19891
19892 \end_inset
19893
19894  The settings of the float can be modified by right-clicking on the float
19895  box.
19896  The mandatory settings are the float 
19897 \family sans
19898 Placement
19899 \family default
19900  and its 
19901 \family sans
19902 Width
19903 \family default
19904 .
19905  Optional are the 
19906 \family sans
19907 Overhang
19908 \family default
19909  that specifies how much the float is set into the paragraph
19910 \begin_inset space \thinspace{}
19911 \end_inset
19912
19913 /
19914 \begin_inset space \thinspace{}
19915 \end_inset
19916
19917 page margin, and the 
19918 \family sans
19919 Line
19920 \begin_inset space ~
19921 \end_inset
19922
19923 span
19924 \family default
19925  that specifies how many text lines the float will approximately need.
19926  The line span is often hard to approximate; so it is better only to use
19927  it when you encounter float placement problems.
19928  You can furthermore decide if LaTeX is allowed to let the float float within
19929  the paragraph or to surrounding paragraphs.
19930  Figure
19931 \begin_inset space ~
19932 \end_inset
19933
19934
19935 \begin_inset CommandInset ref
19936 LatexCommand ref
19937 reference "fig:This-is-a"
19938
19939 \end_inset
19940
19941  is an example text wrap float with a width of 40
19942 \begin_inset space \thinspace{}
19943 \end_inset
19944
19945 col%, 1
19946 \begin_inset space \thinspace{}
19947 \end_inset
19948
19949 cm overhang, set to the left.
19950 \begin_inset Foot
19951 status collapsed
19952
19953 \begin_layout Plain Layout
19954 Available units are explained in appendix
19955 \begin_inset space ~
19956 \end_inset
19957
19958
19959 \begin_inset CommandInset ref
19960 LatexCommand ref
19961 reference "cha:Units-available-in"
19962
19963 \end_inset
19964
19965 .
19966 \end_layout
19967
19968 \end_inset
19969
19970
19971 \end_layout
19972
19973 \begin_layout Standard
19974 \begin_inset Note Greyedout
19975 status open
19976
19977 \begin_layout Plain Layout
19978
19979 \series bold
19980 Note:
19981 \series default
19982  Text
19983 \begin_inset space ~
19984 \end_inset
19985
19986 wrap float floats are fragile! E.
19987 \begin_inset space \thinspace{}
19988 \end_inset
19989
19990 g.
19991 \begin_inset space \space{}
19992 \end_inset
19993
19994 having a figure too close to the bottom of the page can mess things up in
19995  such a way that the float does not appear in the output or that it is placed
19996  over some other text.
19997 \end_layout
19998
19999 \end_inset
20000
20001
20002 \end_layout
20003
20004 \begin_layout Standard
20005 In general:
20006 \end_layout
20007
20008 \begin_layout Itemize
20009 Wrap floats should not be placed in paragraphs that run over a page break.
20010  That means that wrap floats are better inserted in their exact place when
20011  the document is almost finished and you are able to estimate where page
20012  breaks will appear.
20013 \end_layout
20014
20015 \begin_layout Itemize
20016 Wrap floats should either be placed in their own paragraph before the paragraph
20017  where they should wrap into or within a paragraph.
20018 \end_layout
20019
20020 \begin_layout Itemize
20021 Wrap floats in consecutive paragraphs may cause troubles, so ensure that
20022  there is a text paragraph between them as separator.
20023 \end_layout
20024
20025 \begin_layout Itemize
20026 Wrap floats are not allowed in section headings or tables.
20027 \end_layout
20028
20029 \begin_layout Section
20030 Float Numbering
20031 \begin_inset Index
20032 status collapsed
20033
20034 \begin_layout Plain Layout
20035 Floats ! Numbering
20036 \end_layout
20037
20038 \end_inset
20039
20040
20041 \end_layout
20042
20043 \begin_layout Standard
20044 Floats are usually numbered either independently from the sections the floats
20045  are in, or in the scheme 
20046 \begin_inset Quotes eld
20047 \end_inset
20048
20049 chapter.number
20050 \begin_inset Quotes erd
20051 \end_inset
20052
20053  or 
20054 \begin_inset Quotes eld
20055 \end_inset
20056
20057 section.number
20058 \begin_inset Quotes erd
20059 \end_inset
20060
20061 .
20062  This depends on the document class used.
20063 \end_layout
20064
20065 \begin_layout Standard
20066 To change section-independent numbering, you can use this command in the
20067  document preamble:
20068 \end_layout
20069
20070 \begin_layout Standard
20071
20072 \series bold
20073
20074 \backslash
20075 renewcommand{
20076 \backslash
20077 thetable}{
20078 \backslash
20079 roman{table}}
20080 \end_layout
20081
20082 \begin_layout Standard
20083
20084 \series bold
20085
20086 \backslash
20087 thetable
20088 \series default
20089  is the command that prints the table number, for figure floats, the command
20090  would be 
20091 \series bold
20092
20093 \backslash
20094 thefigure
20095 \series default
20096 .
20097  
20098 \series bold
20099
20100 \backslash
20101 roman
20102 \series default
20103  in the command above prints the table number as small roman number.
20104 \end_layout
20105
20106 \begin_layout Standard
20107 To change the numbering scheme for example to 
20108 \begin_inset Quotes eld
20109 \end_inset
20110
20111 subsection.number
20112 \begin_inset Quotes erd
20113 \end_inset
20114
20115 , use this command in the preamble:
20116 \end_layout
20117
20118 \begin_layout Standard
20119
20120 \series bold
20121
20122 \backslash
20123 numberwithin{table}{subsection}
20124 \end_layout
20125
20126 \begin_layout Standard
20127 To be able to use the command 
20128 \series bold
20129
20130 \backslash
20131 numberwithin
20132 \series default
20133 , set in the tab 
20134 \family sans
20135 Math
20136 \begin_inset space ~
20137 \end_inset
20138
20139 Options
20140 \family default
20141  in the document settings the option 
20142 \family sans
20143 Use
20144 \begin_inset space ~
20145 \end_inset
20146
20147 AMS
20148 \begin_inset space ~
20149 \end_inset
20150
20151 math
20152 \begin_inset space ~
20153 \end_inset
20154
20155 package
20156 \family default
20157 .
20158 \end_layout
20159
20160 \begin_layout Standard
20161 Please also have a look at section
20162 \begin_inset space ~
20163 \end_inset
20164
20165
20166 \begin_inset CommandInset ref
20167 LatexCommand ref
20168 reference "sub:Footnote-Numbering"
20169
20170 \end_inset
20171
20172  for the details and important notes about the numbering commands.
20173 \end_layout
20174
20175 \begin_layout Section
20176 Referencing Floats
20177 \begin_inset CommandInset label
20178 LatexCommand label
20179 name "sec:Referencing-Floats"
20180
20181 \end_inset
20182
20183
20184 \begin_inset Index
20185 status collapsed
20186
20187 \begin_layout Plain Layout
20188 Floats ! References
20189 \end_layout
20190
20191 \end_inset
20192
20193
20194 \begin_inset Index
20195 status collapsed
20196
20197 \begin_layout Plain Layout
20198 References ! to Floats
20199 \end_layout
20200
20201 \end_inset
20202
20203
20204 \end_layout
20205
20206 \begin_layout Standard
20207 To reference a float, insert a label into its caption using the menu 
20208 \family sans
20209 Insert\SpecialChar \menuseparator
20210 Label
20211 \family default
20212  or the toolbar button 
20213 \begin_inset Graphics
20214         filename ../images/label-insert.png
20215         scale 85
20216         scaleBeforeRotation
20217
20218 \end_inset
20219
20220 .
20221  A grey label box like this one: 
20222 \begin_inset Graphics
20223         filename clipart/labelQt4.png
20224         scale 85
20225         scaleBeforeRotation
20226
20227 \end_inset
20228
20229  will be inserted and the label window pops up asking for the label text.
20230  LyX offers as text the first words of the caption with a prefix.
20231  The prefix depends on the float type, e.
20232 \begin_inset space \thinspace{}
20233 \end_inset
20234
20235 g.
20236 \begin_inset space \space{}
20237 \end_inset
20238
20239 for figure floats the prefix will be "
20240 \family sans
20241 fig:
20242 \family default
20243 ".
20244 \end_layout
20245
20246 \begin_layout Standard
20247 The label is used as anchor and name for the reference.
20248  You can refer to the label using the menu 
20249 \family sans
20250 Insert\SpecialChar \menuseparator
20251 Cross-reference
20252 \family default
20253  or the toolbar button 
20254 \begin_inset Graphics
20255         filename ../images/dialog-show-new-inset_ref.png
20256         scale 85
20257         scaleBeforeRotation
20258
20259 \end_inset
20260
20261 .
20262  A grey cross-reference box like this one: 
20263 \begin_inset Graphics
20264         filename clipart/referenceQt4.png
20265         scale 85
20266         scaleBeforeRotation
20267
20268 \end_inset
20269
20270  will be inserted and the cross-reference window appear showing all labels
20271  of the document.
20272  If you have multiple LyX-documents opened, choose the one you are working
20273  on from the drop-list at the top of the dialog.
20274  You can now sort the labels alphabetically and then choose one.
20275  At the position of the cross-reference box the float number will appear
20276  in the output.
20277 \end_layout
20278
20279 \begin_layout Standard
20280 It is recommended that you use a protected space between the cross-reference
20281  name and its number to avoid line breaks between them.
20282  If a cross-reference refers to a non-existing label, you will see two question
20283  marks in the output instead of the reference.
20284 \end_layout
20285
20286 \begin_layout Standard
20287 You can change labels at any time by clicking on the label box.
20288  References to the changed label will automatically change its link to the
20289  new label text, so that you don't need to take care about this.
20290 \end_layout
20291
20292 \begin_layout Standard
20293 The button 
20294 \family sans
20295 Go
20296 \begin_inset space ~
20297 \end_inset
20298
20299 to
20300 \begin_inset space ~
20301 \end_inset
20302
20303 Label
20304 \family default
20305  in the cross-reference window sets the cursor before the referred label.
20306  The button text changes then to Go
20307 \begin_inset space ~
20308 \end_inset
20309
20310 Back and you can use it to set the cursor back to the cross-reference.
20311  Right-clicking on a cross-reference box also sets the cursor before the
20312  referenced label but without the possibility of going back.
20313 \end_layout
20314
20315 \begin_layout Subsection
20316 Cross-Reference Formats
20317 \begin_inset CommandInset label
20318 LatexCommand label
20319 name "sub:Cross-Reference-Formats"
20320
20321 \end_inset
20322
20323
20324 \begin_inset Index
20325 status collapsed
20326
20327 \begin_layout Plain Layout
20328 References ! Formats
20329 \end_layout
20330
20331 \end_inset
20332
20333
20334 \end_layout
20335
20336 \begin_layout Standard
20337 There are six varieties of cross-references:
20338 \end_layout
20339
20340 \begin_layout Description
20341 <reference>: prints the float number, this is the default: 
20342 \begin_inset CommandInset ref
20343 LatexCommand ref
20344 reference "fig:Two-distorted-images"
20345
20346 \end_inset
20347
20348
20349 \end_layout
20350
20351 \begin_layout Description
20352 (<reference>): prints the float number within two parentheses, this is the
20353  style normally used to reference formulas, especially when the reference
20354  name 
20355 \begin_inset Quotes eld
20356 \end_inset
20357
20358 Equation
20359 \begin_inset Quotes erd
20360 \end_inset
20361
20362  is omitted: 
20363 \begin_inset CommandInset ref
20364 LatexCommand eqref
20365 reference "eq:Wgn"
20366
20367 \end_inset
20368
20369
20370 \end_layout
20371
20372 \begin_layout Description
20373 <page>: prints the page number: Page
20374 \begin_inset space ~
20375 \end_inset
20376
20377
20378 \begin_inset CommandInset ref
20379 LatexCommand pageref
20380 reference "fig:Two-distorted-images"
20381
20382 \end_inset
20383
20384
20385 \end_layout
20386
20387 \begin_layout Description
20388 on
20389 \begin_inset space ~
20390 \end_inset
20391
20392 page
20393 \begin_inset space ~
20394 \end_inset
20395
20396 <page>: prints the text "on page" and the page number: 
20397 \begin_inset CommandInset ref
20398 LatexCommand vpageref
20399 reference "fig:Two-distorted-images"
20400
20401 \end_inset
20402
20403
20404 \end_layout
20405
20406 \begin_layout Description
20407 <reference>
20408 \begin_inset space ~
20409 \end_inset
20410
20411 on
20412 \begin_inset space ~
20413 \end_inset
20414
20415 page
20416 \begin_inset space ~
20417 \end_inset
20418
20419 <page>: prints the float number, the text "on page", and the page number:
20420  
20421 \begin_inset CommandInset ref
20422 LatexCommand vref
20423 reference "fig:Two-distorted-images"
20424
20425 \end_inset
20426
20427
20428 \end_layout
20429
20430 \begin_layout Description
20431 Formatted
20432 \begin_inset space ~
20433 \end_inset
20434
20435 reference: prints a self defined cross-reference format.
20436 \begin_inset Newline newline
20437 \end_inset
20438
20439
20440 \begin_inset Note Greyedout
20441 status open
20442
20443 \begin_layout Plain Layout
20444
20445 \series bold
20446 Note:
20447 \series default
20448  This feature is only available when you have the LaTeX-package 
20449 \series bold
20450 prettyref
20451 \series default
20452
20453 \begin_inset Index
20454 status collapsed
20455
20456 \begin_layout Plain Layout
20457 LaTeX-packages ! prettyref
20458 \end_layout
20459
20460 \end_inset
20461
20462  installed.
20463 \end_layout
20464
20465 \end_inset
20466
20467
20468 \end_layout
20469
20470 \begin_layout Standard
20471
20472 \family sans
20473 <page>
20474 \family default
20475  will not print the page number if the label is on the previous, the same,
20476  or the next page.
20477  You will e.
20478 \begin_inset space \thinspace{}
20479 \end_inset
20480
20481 g.
20482 \begin_inset space \space{}
20483 \end_inset
20484
20485 see the text 
20486 \begin_inset Quotes eld
20487 \end_inset
20488
20489
20490 \family sans
20491 on this page
20492 \family default
20493
20494 \begin_inset Quotes erd
20495 \end_inset
20496
20497  instead.
20498  The style 
20499 \family sans
20500 <reference> on page <page>
20501 \family default
20502  will not print anything about the page if the label is on the same page.
20503 \end_layout
20504
20505 \begin_layout Standard
20506 The number and current page of the part of the document referred to in the
20507  output is automatically calculated by LaTeX.
20508  The varieties are adjusted in the field 
20509 \family sans
20510 Format
20511 \family default
20512  of the cross-reference window that appears when you click on the cross-referenc
20513 e box.
20514 \end_layout
20515
20516 \begin_layout Standard
20517 \begin_inset Note Greyedout
20518 status open
20519
20520 \begin_layout Plain Layout
20521
20522 \series bold
20523 Note:
20524 \series default
20525  The LaTeX-package 
20526 \series bold
20527 prettyref
20528 \series default
20529
20530 \begin_inset Index
20531 status collapsed
20532
20533 \begin_layout Plain Layout
20534 LaTeX-packages ! prettyref
20535 \end_layout
20536
20537 \end_inset
20538
20539  does not know all of LyX's possible label shortcuts
20540 \begin_inset Foot
20541 status collapsed
20542
20543 \begin_layout Plain Layout
20544 \begin_inset Quotes eld
20545 \end_inset
20546
20547 fig:
20548 \begin_inset Quotes erd
20549 \end_inset
20550
20551  is for example LyX's shortcut for labels in figure captions.
20552 \end_layout
20553
20554 \end_inset
20555
20556  and is not internationalized.
20557  To find out how to tell 
20558 \series bold
20559 prettyref
20560 \series default
20561  new shortcuts and translations, have a look at its documentation 
20562 \begin_inset CommandInset citation
20563 LatexCommand cite
20564 key "prettyref"
20565
20566 \end_inset
20567
20568 .
20569 \end_layout
20570
20571 \end_inset
20572
20573
20574 \end_layout
20575
20576 \begin_layout Standard
20577 \begin_inset Note Greyedout
20578 status open
20579
20580 \begin_layout Plain Layout
20581
20582 \series bold
20583 Note:
20584 \series default
20585  Due to a bug in the LaTeX-package 
20586 \series bold
20587 varioref
20588 \series default
20589  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20590  languages that make the period character active (like French).
20591  For a workaround, see
20592 \begin_inset Newline newline
20593 \end_inset
20594
20595
20596 \begin_inset CommandInset href
20597 LatexCommand href
20598 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20599
20600 \end_inset
20601
20602 .
20603 \end_layout
20604
20605 \end_inset
20606
20607
20608 \end_layout
20609
20610 \begin_layout Subsection
20611 Automatic Reference Naming
20612 \begin_inset Index
20613 status collapsed
20614
20615 \begin_layout Plain Layout
20616 References ! Automatic Reference Naming
20617 \end_layout
20618
20619 \end_inset
20620
20621
20622 \end_layout
20623
20624 \begin_layout Standard
20625 The LaTeX-package 
20626 \series bold
20627 hyperref
20628 \series default
20629
20630 \begin_inset Index
20631 status collapsed
20632
20633 \begin_layout Plain Layout
20634 LaTeX-packages ! hyperref
20635 \end_layout
20636
20637 \end_inset
20638
20639 , that is enabled in the 
20640 \family sans
20641 PDF Properties
20642 \family default
20643  of the 
20644 \family sans
20645 Document Settings
20646 \family default
20647  dialog, provides a very useful feature that cross-references automatically
20648  include the name of the referenced floats (or text parts like 
20649 \emph on
20650 section
20651 \emph default
20652 ).
20653  So you will save having to write e.
20654 \begin_inset space \thinspace{}
20655 \end_inset
20656
20657 g.
20658 \begin_inset space \space{}
20659 \end_inset
20660
20661 the name 
20662 \begin_inset Quotes eld
20663 \end_inset
20664
20665 Figure
20666 \begin_inset Quotes erd
20667 \end_inset
20668
20669  before every reference to a figure.
20670  To use this feature, enable 
20671 \series bold
20672 hyperref
20673 \series default
20674  and insert this line to the LaTeX preamble:
20675 \end_layout
20676
20677 \begin_layout Standard
20678
20679 \series bold
20680
20681 \backslash
20682 AtBeginDocument{
20683 \backslash
20684 renewcommand{
20685 \backslash
20686 ref}[1]{
20687 \backslash
20688 mbox{
20689 \backslash
20690 autoref{#1}}}}
20691 \end_layout
20692
20693 \begin_layout Standard
20694 When you prefer other reference names than the default ones, for example
20695  you want instead of 
20696 \begin_inset Quotes eld
20697 \end_inset
20698
20699 section
20700 \begin_inset Quotes erd
20701 \end_inset
20702
20703  the name 
20704 \begin_inset Quotes eld
20705 \end_inset
20706
20707 sec.
20708 \begin_inset space \thinspace{}
20709 \end_inset
20710
20711
20712 \begin_inset Quotes eld
20713 \end_inset
20714
20715 , you can redefine the name by inserting this in the preamble:
20716 \end_layout
20717
20718 \begin_layout Standard
20719
20720 \series bold
20721
20722 \backslash
20723 addto
20724 \backslash
20725 extrasenglish{
20726 \backslash
20727 renewcommand{
20728 \backslash
20729 sectionautorefname}
20730 \begin_inset Newline newline
20731 \end_inset
20732
20733
20734 \begin_inset ERT
20735 status collapsed
20736
20737 \begin_layout Plain Layout
20738
20739
20740 \backslash
20741 hphantom{ }
20742 \end_layout
20743
20744 \end_inset
20745
20746 {sec.
20747 \backslash
20748 negthinspace}}
20749 \end_layout
20750
20751 \begin_layout Standard
20752 When you are using another document language than English, replace
20753 \begin_inset Newline newline
20754 \end_inset
20755
20756
20757 \series bold
20758
20759 \backslash
20760 extrasenglish
20761 \series default
20762  by 
20763 \series bold
20764
20765 \backslash
20766 extras***
20767 \series default
20768 , where *** is the name of the language used.
20769 \end_layout
20770
20771 \begin_layout Standard
20772 To get automatic names, but not for certain reference types, for example
20773  not for equations, use this preamble code:
20774 \end_layout
20775
20776 \begin_layout Standard
20777
20778 \series bold
20779
20780 \backslash
20781 newlength{
20782 \backslash
20783 abc}
20784 \begin_inset Newline newline
20785 \end_inset
20786
20787
20788 \backslash
20789 settowidth{
20790 \backslash
20791 abc}{
20792 \backslash
20793 space}
20794 \begin_inset Newline newline
20795 \end_inset
20796
20797
20798 \backslash
20799 addto
20800 \backslash
20801 extrasenglish{
20802 \backslash
20803 renewcommand{
20804 \backslash
20805 equationautorefname}
20806 \begin_inset Newline newline
20807 \end_inset
20808
20809
20810 \begin_inset ERT
20811 status collapsed
20812
20813 \begin_layout Plain Layout
20814
20815
20816 \backslash
20817 hphantom{ }
20818 \end_layout
20819
20820 \end_inset
20821
20822 {
20823 \backslash
20824 hspace{-
20825 \backslash
20826 abc}}
20827 \end_layout
20828
20829 \begin_layout Standard
20830 More about this topic can be found in 
20831 \series bold
20832 hyperref
20833 \series default
20834 's documentation 
20835 \begin_inset CommandInset citation
20836 LatexCommand cite
20837 key "hyperref"
20838
20839 \end_inset
20840
20841 .
20842 \end_layout
20843
20844 \begin_layout Standard
20845 \begin_inset Note Greyedout
20846 status open
20847
20848 \begin_layout Plain Layout
20849
20850 \series bold
20851 Note:
20852 \series default
20853  Automatic reference naming cannot be used when you use cross-references
20854  in the 
20855 \family sans
20856 Formatted
20857 \begin_inset space ~
20858 \end_inset
20859
20860 reference
20861 \family default
20862  style, as described in section
20863 \begin_inset space ~
20864 \end_inset
20865
20866
20867 \begin_inset CommandInset ref
20868 LatexCommand ref
20869 reference "sub:Cross-Reference-Formats"
20870
20871 \end_inset
20872
20873 .
20874 \end_layout
20875
20876 \end_inset
20877
20878
20879 \end_layout
20880
20881 \begin_layout Standard
20882 The 
20883 \emph on
20884 Math
20885 \emph default
20886  manual is an example where automatic reference naming is used.
20887 \end_layout
20888
20889 \begin_layout Subsection
20890 Reference Position
20891 \begin_inset CommandInset label
20892 LatexCommand label
20893 name "sub:Reference-Position"
20894
20895 \end_inset
20896
20897
20898 \begin_inset Index
20899 status collapsed
20900
20901 \begin_layout Plain Layout
20902 References ! Reference Position
20903 \end_layout
20904
20905 \end_inset
20906
20907
20908 \end_layout
20909
20910 \begin_layout Standard
20911 If you use 
20912 \series bold
20913 hyperref
20914 \series default
20915
20916 \begin_inset Index
20917 status collapsed
20918
20919 \begin_layout Plain Layout
20920 LaTeX-packages ! hyperref
20921 \end_layout
20922
20923 \end_inset
20924
20925  in the 
20926 \family sans
20927 PDF Properties
20928 \family default
20929  of the 
20930 \family sans
20931 Document Settings
20932 \family default
20933  dialog to link cross-references in the output, you will see that clicking
20934  on an image float reference jumps to the image label.
20935  The caption will be the first text part on the screen, so that you cannot
20936  see the image without scrolling.
20937  This is because the reference link anchor is placed at the position of
20938  the label.
20939  With the use of the package 
20940 \series bold
20941 hypcap
20942 \series default
20943
20944 \begin_inset Index
20945 status collapsed
20946
20947 \begin_layout Plain Layout
20948 LaTeX-packages ! hypcap
20949 \end_layout
20950
20951 \end_inset
20952
20953 , which is part of the LaTeX-package 
20954 \series bold
20955 oberdiek
20956 \series default
20957
20958 \begin_inset Index
20959 status collapsed
20960
20961 \begin_layout Plain Layout
20962 LaTeX-packages ! oberdiek
20963 \end_layout
20964
20965 \end_inset
20966
20967 , the link anchor is placed at the beginning of a float.
20968  To use this feature for figure floats, load 
20969 \series bold
20970 hypcap
20971 \series default
20972  in the document preamble with the line
20973 \end_layout
20974
20975 \begin_layout Standard
20976
20977 \series bold
20978
20979 \backslash
20980 usepackage[figure]{hypcap}
20981 \end_layout
20982
20983 \begin_layout Standard
20984 You can also use 
20985 \series bold
20986 hypcap
20987 \series default
20988  for all float types but this is not recommended for stability reasons.
20989  For more information, have a look at 
20990 \series bold
20991 hypcap
20992 \series default
20993 's manual 
20994 \begin_inset CommandInset citation
20995 LatexCommand cite
20996 key "hypcap"
20997
20998 \end_inset
20999
21000 .
21001 \end_layout
21002
21003 \begin_layout Standard
21004 \begin_inset Note Greyedout
21005 status open
21006
21007 \begin_layout Plain Layout
21008
21009 \series bold
21010 Note:
21011 \series default
21012  
21013 \series bold
21014 hypcap
21015 \series default
21016  has no effect on references to subfigures.
21017 \end_layout
21018
21019 \end_inset
21020
21021
21022 \end_layout
21023
21024 \begin_layout Section
21025 Float Placement
21026 \begin_inset CommandInset label
21027 LatexCommand label
21028 name "sec:Float-Placement"
21029
21030 \end_inset
21031
21032
21033 \begin_inset Index
21034 status collapsed
21035
21036 \begin_layout Plain Layout
21037 Floats ! Placement
21038 \end_layout
21039
21040 \end_inset
21041
21042
21043 \end_layout
21044
21045 \begin_layout Standard
21046 Right-clicking on a float-box opens a dialog where you can alter the placement
21047  options that LaTeX uses for positioning the float.
21048 \begin_inset Newline newline
21049 \end_inset
21050
21051 The option 
21052 \family sans
21053 Span
21054 \begin_inset space ~
21055 \end_inset
21056
21057 columns
21058 \family default
21059  is only useful for two-column documents: If you select it, the float will
21060  span both columns on the page instead of being confined to just one.
21061 \begin_inset Newline newline
21062 \end_inset
21063
21064 The option 
21065 \family sans
21066 Rotate
21067 \begin_inset space ~
21068 \end_inset
21069
21070 sideways
21071 \family default
21072  is used to rotate floats, see section 
21073 \begin_inset CommandInset ref
21074 LatexCommand ref
21075 reference "sec:Rotated-Floats"
21076
21077 \end_inset
21078
21079 .
21080 \end_layout
21081
21082 \begin_layout Standard
21083 You can use one ore more of the following options in the float dialog to
21084  set the placement for a particular float when you uncheck the option 
21085 \family sans
21086 Use
21087 \begin_inset space ~
21088 \end_inset
21089
21090 default
21091 \begin_inset space ~
21092 \end_inset
21093
21094 placement
21095 \family default
21096 :
21097 \end_layout
21098
21099 \begin_layout Description
21100 Here
21101 \begin_inset space ~
21102 \end_inset
21103
21104 if
21105 \begin_inset space ~
21106 \end_inset
21107
21108 possible try to place the float on the position where it has been inserted
21109 \end_layout
21110
21111 \begin_layout Description
21112 Top
21113 \begin_inset space ~
21114 \end_inset
21115
21116 of
21117 \begin_inset space ~
21118 \end_inset
21119
21120 page try to place the float at the top of the current page
21121 \end_layout
21122
21123 \begin_layout Description
21124 Bottom
21125 \begin_inset space ~
21126 \end_inset
21127
21128 of
21129 \begin_inset space ~
21130 \end_inset
21131
21132 page try to place the float at the bottom of the current page
21133 \end_layout
21134
21135 \begin_layout Description
21136 Page
21137 \begin_inset space ~
21138 \end_inset
21139
21140 of
21141 \begin_inset space ~
21142 \end_inset
21143
21144 floats try to place the float on its own page 
21145 \end_layout
21146
21147 \begin_layout Standard
21148 The order of the above option is 
21149 \emph on
21150 always
21151 \emph default
21152  used by LaTeX.
21153  That means, if you use the default placement, LaTeX will first try out
21154  
21155 \family sans
21156 Here
21157 \begin_inset space ~
21158 \end_inset
21159
21160 if
21161 \begin_inset space ~
21162 \end_inset
21163
21164 possible
21165 \family default
21166 , then 
21167 \family sans
21168 Top
21169 \begin_inset space ~
21170 \end_inset
21171
21172 of
21173 \begin_inset space ~
21174 \end_inset
21175
21176 page
21177 \family default
21178 , and then the others.
21179  If you do not use the default, LaTeX will try only the checked options
21180  but in the same order.
21181  If none of the 4
21182 \begin_inset space ~
21183 \end_inset
21184
21185 placements are possible the procedure is internally repeated but it is tried
21186  to put the float on the following page.
21187 \end_layout
21188
21189 \begin_layout Standard
21190 By default, each option has its own rules:
21191 \end_layout
21192
21193 \begin_layout Labeling
21194 \labelwidthstring 00.00.0000
21195
21196 \family sans
21197 Top
21198 \begin_inset space ~
21199 \end_inset
21200
21201 of
21202 \begin_inset space ~
21203 \end_inset
21204
21205 page
21206 \family default
21207  only floats occupying less than 70
21208 \begin_inset space \thinspace{}
21209 \end_inset
21210
21211 % of the page can be placed at the top of a page (
21212 \series bold
21213
21214 \backslash
21215 topfraction
21216 \series default
21217 )
21218 \end_layout
21219
21220 \begin_layout Labeling
21221 \labelwidthstring 00.00.0000
21222
21223 \family sans
21224 Bottom
21225 \begin_inset space ~
21226 \end_inset
21227
21228 of
21229 \begin_inset space ~
21230 \end_inset
21231
21232 page
21233 \family default
21234 : only floats occupying less than 30
21235 \begin_inset space \thinspace{}
21236 \end_inset
21237
21238 % of the page can be placed at the bottom of a page.
21239  (
21240 \series bold
21241
21242 \backslash
21243 bottomfraction
21244 \series default
21245 )
21246 \end_layout
21247
21248 \begin_layout Labeling
21249 \labelwidthstring 00.00.0000
21250
21251 \family sans
21252 Page
21253 \begin_inset space ~
21254 \end_inset
21255
21256 of
21257 \begin_inset space ~
21258 \end_inset
21259
21260 floats
21261 \family default
21262 : only if more than 50
21263 \begin_inset space \thinspace{}
21264 \end_inset
21265
21266 % of the page are occupied by floats, several floats can be set together
21267  on a page.
21268  (
21269 \series bold
21270
21271 \backslash
21272 floatpagefraction
21273 \series default
21274 )
21275 \end_layout
21276
21277 \begin_layout Standard
21278 If you don't like these rules, you can ignore them by using the additional
21279  option 
21280 \family sans
21281 Ignore
21282 \begin_inset space ~
21283 \end_inset
21284
21285 LaTeX
21286 \begin_inset space ~
21287 \end_inset
21288
21289 rules
21290 \family default
21291 .
21292 \begin_inset Newline newline
21293 \end_inset
21294
21295 You can also redefine the rules with LaTeX-commands that are given in parenthese
21296 s after the rules description above.
21297  To increase for example the often too small default of the bottom-rule
21298  to 50
21299 \begin_inset space \thinspace{}
21300 \end_inset
21301
21302 % of the page, add this line to your document preamble:
21303 \end_layout
21304
21305 \begin_layout Standard
21306
21307 \series bold
21308
21309 \backslash
21310 renewcommand{
21311 \backslash
21312 bottomfraction}{0.5}
21313 \end_layout
21314
21315 \begin_layout Standard
21316 Sometimes you might need, under all circumstances, a float to be placed
21317  exactly at the position where it is inserted.
21318  For this case you can use the option 
21319 \family sans
21320 Here
21321 \begin_inset space ~
21322 \end_inset
21323
21324 definitely
21325 \family default
21326 .
21327  Use this option very rarely and only if the document is almost ready to
21328  be printed, because the float is then no longer able to 
21329 \begin_inset Quotes eld
21330 \end_inset
21331
21332 float
21333 \begin_inset Quotes erd
21334 \end_inset
21335
21336  when you change your document and this will often destroy the page layout.
21337 \end_layout
21338
21339 \begin_layout Standard
21340 There are no placement options for text wrap floats, because they are always
21341  surrounded by the text of a certain paragraph.
21342 \begin_inset VSpace bigskip
21343 \end_inset
21344
21345
21346 \end_layout
21347
21348 \begin_layout Standard
21349 Sometimes you have the problem that a float is placed at the top of a page
21350  while its corresponding section starts at the middle of the page, so that
21351  the reader could think the float is part of the previous section.
21352  To avoid this the LaTeX-command 
21353 \series bold
21354
21355 \backslash
21356 suppressfloats
21357 \series default
21358  can be used.
21359  It suppresses a given float placement for the page where it is inserted
21360  and can therefore be used to avoid floats being set before a section starts.
21361  To get this, add these commands to your document preamble:
21362 \end_layout
21363
21364 \begin_layout Standard
21365
21366 \series bold
21367
21368 \backslash
21369 let
21370 \backslash
21371 mySection
21372 \backslash
21373 section
21374 \begin_inset Newline newline
21375 \end_inset
21376
21377
21378 \backslash
21379 renewcommand{
21380 \backslash
21381 section}{
21382 \backslash
21383 suppressfloats[t]
21384 \backslash
21385 mySection}
21386 \end_layout
21387
21388 \begin_layout Standard
21389 You can define the same for all section headings, like chapters and subsections.
21390  This definition is not recommended to be used for small text parts like
21391  subsubsections because LaTeX may then have problems finding a suitable
21392  placement.
21393 \end_layout
21394
21395 \begin_layout Standard
21396 \begin_inset VSpace bigskip
21397 \end_inset
21398
21399 In some cases it is required to have all figures/tables at the end of the
21400  document.
21401  For this purpose the LaTeX-package 
21402 \series bold
21403 endfloat
21404 \series default
21405
21406 \begin_inset Index
21407 status collapsed
21408
21409 \begin_layout Plain Layout
21410 LaTeX-packages ! endfloat
21411 \end_layout
21412
21413 \end_inset
21414
21415  was developed.
21416  It puts all figure and table floats at the end of the document into their
21417  own sections.
21418  At the original float position a text hint like 
21419 \begin_inset Quotes eld
21420 \end_inset
21421
21422
21423 \family sans
21424 [Figure
21425 \begin_inset space ~
21426 \end_inset
21427
21428 3.2 about here.]
21429 \family default
21430
21431 \begin_inset Quotes erd
21432 \end_inset
21433
21434  is inserted.
21435  The endfloat-package is loaded in the preamble with the line
21436 \end_layout
21437
21438 \begin_layout Standard
21439
21440 \series bold
21441
21442 \backslash
21443 usepackage[options]{endfloat}
21444 \end_layout
21445
21446 \begin_layout Standard
21447 There are various package options to format the created figure/table sections.
21448  For more information we refer to the 
21449 \series bold
21450 endfloat
21451 \series default
21452  documentation 
21453 \begin_inset CommandInset citation
21454 LatexCommand cite
21455 key "endfloat"
21456
21457 \end_inset
21458
21459 .
21460 \begin_inset Newline newline
21461 \end_inset
21462
21463
21464 \begin_inset Note Greyedout
21465 status open
21466
21467 \begin_layout Plain Layout
21468
21469 \series bold
21470 Note: endfloat
21471 \series default
21472  doesn't provide an automatic translation for the text hint, you have to
21473  do this manually, see section
21474 \begin_inset space ~
21475 \end_inset
21476
21477 4 in 
21478 \begin_inset CommandInset citation
21479 LatexCommand cite
21480 key "endfloat"
21481
21482 \end_inset
21483
21484 .
21485 \end_layout
21486
21487 \end_inset
21488
21489
21490 \begin_inset Newline newline
21491 \end_inset
21492
21493
21494 \begin_inset Note Greyedout
21495 status open
21496
21497 \begin_layout Plain Layout
21498
21499 \series bold
21500 Note:
21501 \series default
21502  There is currently a bug in 
21503 \series bold
21504 endfloat
21505 \series default
21506  when the caption contains a German 
21507 \begin_inset Quotes eld
21508 \end_inset
21509
21510 ß
21511 \begin_inset Quotes erd
21512 \end_inset
21513
21514 .
21515  Use in this case the command 
21516 \begin_inset Quotes eld
21517 \end_inset
21518
21519
21520 \series bold
21521
21522 \backslash
21523 ss
21524 \series default
21525
21526 \begin_inset Quotes erd
21527 \end_inset
21528
21529  in TeX-Code instead of 
21530 \begin_inset Quotes eld
21531 \end_inset
21532
21533 ß
21534 \begin_inset Quotes erd
21535 \end_inset
21536
21537 .
21538 \end_layout
21539
21540 \end_inset
21541
21542
21543 \end_layout
21544
21545 \begin_layout Standard
21546 \begin_inset VSpace bigskip
21547 \end_inset
21548
21549 For more details about float placements, have a look at LaTeX books, 
21550 \begin_inset CommandInset citation
21551 LatexCommand cite
21552 key "latexcompanion,latexguide,latexbook"
21553
21554 \end_inset
21555
21556 .
21557 \end_layout
21558
21559 \begin_layout Section
21560 Rotated Floats
21561 \begin_inset CommandInset label
21562 LatexCommand label
21563 name "sec:Rotated-Floats"
21564
21565 \end_inset
21566
21567
21568 \begin_inset Index
21569 status collapsed
21570
21571 \begin_layout Plain Layout
21572 Floats ! Rotating
21573 \end_layout
21574
21575 \end_inset
21576
21577
21578 \end_layout
21579
21580 \begin_layout Standard
21581 Especially for wide tables you might have floats rotated.
21582  To rotate a whole float including the caption, right-click on the float-box
21583  and use the option 
21584 \family sans
21585 Rotate
21586 \begin_inset space ~
21587 \end_inset
21588
21589 sideways
21590 \family default
21591 .
21592 \end_layout
21593
21594 \begin_layout Standard
21595 Rotated floats are always placed on a page of their own (or column of their
21596  own; in case you have a multi-column document).
21597  You can let them span several columns using the float settings option 
21598 \family sans
21599 Span
21600 \begin_inset space ~
21601 \end_inset
21602
21603 columns
21604 \family default
21605 .
21606  Floats are rotated so that you can read them from the outside margin.
21607  To force a certain rotation direction for all pages, you can add either
21608  the option 
21609 \series bold
21610 figuresleft
21611 \series default
21612  or 
21613 \series bold
21614 figuresright
21615 \series default
21616  to the document class options.
21617 \end_layout
21618
21619 \begin_layout Standard
21620 Referencing rotated floats is the same as for normal floats, the caption
21621  format is also the same: Table
21622 \begin_inset space ~
21623 \end_inset
21624
21625
21626 \begin_inset CommandInset ref
21627 LatexCommand ref
21628 reference "tab:Rotated-table"
21629
21630 \end_inset
21631
21632  is an example of a rotated table float.
21633 \end_layout
21634
21635 \begin_layout Standard
21636 \begin_inset Note Greyedout
21637 status open
21638
21639 \begin_layout Plain Layout
21640
21641 \series bold
21642 Note:
21643 \series default
21644  Not all DVI-viewers are able to display rotated floats.
21645 \end_layout
21646
21647 \end_inset
21648
21649
21650 \end_layout
21651
21652 \begin_layout Standard
21653 \begin_inset Float table
21654 wide false
21655 sideways true
21656 status open
21657
21658 \begin_layout Plain Layout
21659 \begin_inset Caption
21660
21661 \begin_layout Plain Layout
21662 \begin_inset CommandInset label
21663 LatexCommand label
21664 name "tab:Rotated-table"
21665
21666 \end_inset
21667
21668  Rotated table
21669 \end_layout
21670
21671 \end_inset
21672
21673
21674 \end_layout
21675
21676 \begin_layout Plain Layout
21677 \align center
21678 \begin_inset Tabular
21679 <lyxtabular version="3" rows="1" columns="5">
21680 <features>
21681 <column alignment="center" valignment="top" width="0">
21682 <column alignment="center" valignment="top" width="0">
21683 <column alignment="center" valignment="top" width="0">
21684 <column alignment="center" valignment="top" width="0">
21685 <column alignment="center" valignment="top" width="0">
21686 <row>
21687 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21688 \begin_inset Text
21689
21690 \begin_layout Plain Layout
21691 test
21692 \end_layout
21693
21694 \end_inset
21695 </cell>
21696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21697 \begin_inset Text
21698
21699 \begin_layout Plain Layout
21700 b
21701 \end_layout
21702
21703 \end_inset
21704 </cell>
21705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21706 \begin_inset Text
21707
21708 \begin_layout Plain Layout
21709 c
21710 \end_layout
21711
21712 \end_inset
21713 </cell>
21714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21715 \begin_inset Text
21716
21717 \begin_layout Plain Layout
21718 d
21719 \end_layout
21720
21721 \end_inset
21722 </cell>
21723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21724 \begin_inset Text
21725
21726 \begin_layout Plain Layout
21727 e
21728 \end_layout
21729
21730 \end_inset
21731 </cell>
21732 </row>
21733 </lyxtabular>
21734
21735 \end_inset
21736
21737
21738 \end_layout
21739
21740 \end_inset
21741
21742
21743 \end_layout
21744
21745 \begin_layout Section
21746 Subfloats
21747 \begin_inset Index
21748 status collapsed
21749
21750 \begin_layout Plain Layout
21751 Floats ! Subfloats
21752 \end_layout
21753
21754 \end_inset
21755
21756
21757 \end_layout
21758
21759 \begin_layout Standard
21760 Subfloats are for example used when a figure consists of several images.
21761  They are created by inserting a float into an existing float.
21762  The placement of the subfloats can be controlled in the same way as for
21763  paragraphs as shown in table
21764 \begin_inset space ~
21765 \end_inset
21766
21767
21768 \begin_inset CommandInset ref
21769 LatexCommand ref
21770 reference "tab:Two-subtables-side"
21771
21772 \end_inset
21773
21774  and 
21775 \begin_inset CommandInset ref
21776 LatexCommand ref
21777 reference "tab:Two-subtables-upon"
21778
21779 \end_inset
21780
21781 .
21782 \end_layout
21783
21784 \begin_layout Standard
21785 Referencing subfloats works as for normal floats: Table
21786 \begin_inset space ~
21787 \end_inset
21788
21789
21790 \begin_inset CommandInset ref
21791 LatexCommand ref
21792 reference "tab:This-is-subtable-a"
21793
21794 \end_inset
21795
21796  and 
21797 \begin_inset CommandInset ref
21798 LatexCommand ref
21799 reference "tab:This-is-subtable-b"
21800
21801 \end_inset
21802
21803  are subtables of table
21804 \begin_inset space ~
21805 \end_inset
21806
21807
21808 \begin_inset CommandInset ref
21809 LatexCommand ref
21810 reference "tab:Two-subtables-side"
21811
21812 \end_inset
21813
21814 .
21815 \end_layout
21816
21817 \begin_layout Standard
21818 \begin_inset Float table
21819 wide false
21820 sideways false
21821 status open
21822
21823 \begin_layout Plain Layout
21824 \begin_inset Caption
21825
21826 \begin_layout Plain Layout
21827 \begin_inset CommandInset label
21828 LatexCommand label
21829 name "tab:Two-subtables-side"
21830
21831 \end_inset
21832
21833 Two subtables placed side by side.
21834 \end_layout
21835
21836 \end_inset
21837
21838
21839 \end_layout
21840
21841 \begin_layout Plain Layout
21842 \align center
21843 \begin_inset space \hfill{}
21844 \end_inset
21845
21846
21847 \begin_inset Float table
21848 wide false
21849 sideways false
21850 status collapsed
21851
21852 \begin_layout Plain Layout
21853 \begin_inset Caption
21854
21855 \begin_layout Plain Layout
21856 \begin_inset CommandInset label
21857 LatexCommand label
21858 name "tab:This-is-subtable-a"
21859
21860 \end_inset
21861
21862 This is subtable a.
21863 \end_layout
21864
21865 \end_inset
21866
21867
21868 \end_layout
21869
21870 \begin_layout Plain Layout
21871 \align center
21872 \begin_inset Tabular
21873 <lyxtabular version="3" rows="1" columns="5">
21874 <features>
21875 <column alignment="center" valignment="top" width="0">
21876 <column alignment="center" valignment="top" width="0">
21877 <column alignment="center" valignment="top" width="0">
21878 <column alignment="center" valignment="top" width="0">
21879 <column alignment="center" valignment="top" width="0">
21880 <row>
21881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21882 \begin_inset Text
21883
21884 \begin_layout Plain Layout
21885 test
21886 \end_layout
21887
21888 \end_inset
21889 </cell>
21890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21891 \begin_inset Text
21892
21893 \begin_layout Plain Layout
21894 b
21895 \end_layout
21896
21897 \end_inset
21898 </cell>
21899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21900 \begin_inset Text
21901
21902 \begin_layout Plain Layout
21903 c
21904 \end_layout
21905
21906 \end_inset
21907 </cell>
21908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21909 \begin_inset Text
21910
21911 \begin_layout Plain Layout
21912 d
21913 \end_layout
21914
21915 \end_inset
21916 </cell>
21917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21918 \begin_inset Text
21919
21920 \begin_layout Plain Layout
21921 e
21922 \end_layout
21923
21924 \end_inset
21925 </cell>
21926 </row>
21927 </lyxtabular>
21928
21929 \end_inset
21930
21931
21932 \end_layout
21933
21934 \end_inset
21935
21936
21937 \begin_inset space \hfill{}
21938 \end_inset
21939
21940
21941 \begin_inset Float table
21942 wide false
21943 sideways false
21944 status collapsed
21945
21946 \begin_layout Plain Layout
21947 \begin_inset Caption
21948
21949 \begin_layout Plain Layout
21950 \begin_inset CommandInset label
21951 LatexCommand label
21952 name "tab:This-is-subtable-b"
21953
21954 \end_inset
21955
21956 This is subtable b.
21957 \end_layout
21958
21959 \end_inset
21960
21961
21962 \end_layout
21963
21964 \begin_layout Plain Layout
21965 \align center
21966 \begin_inset Tabular
21967 <lyxtabular version="3" rows="1" columns="5">
21968 <features>
21969 <column alignment="center" valignment="top" width="0">
21970 <column alignment="center" valignment="top" width="0">
21971 <column alignment="center" valignment="top" width="0">
21972 <column alignment="center" valignment="top" width="0">
21973 <column alignment="center" valignment="top" width="0">
21974 <row>
21975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21976 \begin_inset Text
21977
21978 \begin_layout Plain Layout
21979 e
21980 \end_layout
21981
21982 \end_inset
21983 </cell>
21984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21985 \begin_inset Text
21986
21987 \begin_layout Plain Layout
21988 d
21989 \end_layout
21990
21991 \end_inset
21992 </cell>
21993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21994 \begin_inset Text
21995
21996 \begin_layout Plain Layout
21997 c
21998 \end_layout
21999
22000 \end_inset
22001 </cell>
22002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22003 \begin_inset Text
22004
22005 \begin_layout Plain Layout
22006 b
22007 \end_layout
22008
22009 \end_inset
22010 </cell>
22011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22012 \begin_inset Text
22013
22014 \begin_layout Plain Layout
22015 test
22016 \end_layout
22017
22018 \end_inset
22019 </cell>
22020 </row>
22021 </lyxtabular>
22022
22023 \end_inset
22024
22025
22026 \end_layout
22027
22028 \end_inset
22029
22030
22031 \begin_inset space \hfill{}
22032 \end_inset
22033
22034
22035 \end_layout
22036
22037 \end_inset
22038
22039
22040 \end_layout
22041
22042 \begin_layout Standard
22043 \begin_inset Float table
22044 wide false
22045 sideways false
22046 status open
22047
22048 \begin_layout Plain Layout
22049 \begin_inset Caption
22050
22051 \begin_layout Plain Layout
22052 \begin_inset CommandInset label
22053 LatexCommand label
22054 name "tab:Two-subtables-upon"
22055
22056 \end_inset
22057
22058 Two subtables placed one above the other.
22059  (a) table with 4 cells, (b) table with 5 cells.
22060 \end_layout
22061
22062 \end_inset
22063
22064
22065 \end_layout
22066
22067 \begin_layout Plain Layout
22068 \align center
22069 \begin_inset Float table
22070 wide false
22071 sideways false
22072 status collapsed
22073
22074 \begin_layout Plain Layout
22075 \begin_inset Caption
22076
22077 \begin_layout Plain Layout
22078
22079 \end_layout
22080
22081 \end_inset
22082
22083
22084 \end_layout
22085
22086 \begin_layout Plain Layout
22087 \align center
22088 \begin_inset Tabular
22089 <lyxtabular version="3" rows="1" columns="4">
22090 <features>
22091 <column alignment="center" valignment="top" width="0">
22092 <column alignment="center" valignment="top" width="0">
22093 <column alignment="center" valignment="top" width="0">
22094 <column alignment="center" valignment="top" width="0">
22095 <row>
22096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22097 \begin_inset Text
22098
22099 \begin_layout Plain Layout
22100 test
22101 \end_layout
22102
22103 \end_inset
22104 </cell>
22105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22106 \begin_inset Text
22107
22108 \begin_layout Plain Layout
22109 test
22110 \end_layout
22111
22112 \end_inset
22113 </cell>
22114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22115 \begin_inset Text
22116
22117 \begin_layout Plain Layout
22118 test
22119 \end_layout
22120
22121 \end_inset
22122 </cell>
22123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22124 \begin_inset Text
22125
22126 \begin_layout Plain Layout
22127 test
22128 \end_layout
22129
22130 \end_inset
22131 </cell>
22132 </row>
22133 </lyxtabular>
22134
22135 \end_inset
22136
22137
22138 \end_layout
22139
22140 \end_inset
22141
22142
22143 \end_layout
22144
22145 \begin_layout Plain Layout
22146 \align center
22147 \begin_inset Float table
22148 wide false
22149 sideways false
22150 status collapsed
22151
22152 \begin_layout Plain Layout
22153 \begin_inset Caption
22154
22155 \begin_layout Plain Layout
22156
22157 \end_layout
22158
22159 \end_inset
22160
22161
22162 \end_layout
22163
22164 \begin_layout Plain Layout
22165 \align center
22166 \begin_inset Tabular
22167 <lyxtabular version="3" rows="1" columns="5">
22168 <features>
22169 <column alignment="center" valignment="top" width="0">
22170 <column alignment="center" valignment="top" width="0">
22171 <column alignment="center" valignment="top" width="0">
22172 <column alignment="center" valignment="top" width="0">
22173 <column alignment="center" valignment="top" width="0">
22174 <row>
22175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22176 \begin_inset Text
22177
22178 \begin_layout Plain Layout
22179 a
22180 \end_layout
22181
22182 \end_inset
22183 </cell>
22184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22185 \begin_inset Text
22186
22187 \begin_layout Plain Layout
22188 b
22189 \end_layout
22190
22191 \end_inset
22192 </cell>
22193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22194 \begin_inset Text
22195
22196 \begin_layout Plain Layout
22197 c
22198 \end_layout
22199
22200 \end_inset
22201 </cell>
22202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22203 \begin_inset Text
22204
22205 \begin_layout Plain Layout
22206 d
22207 \end_layout
22208
22209 \end_inset
22210 </cell>
22211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22212 \begin_inset Text
22213
22214 \begin_layout Plain Layout
22215 e
22216 \end_layout
22217
22218 \end_inset
22219 </cell>
22220 </row>
22221 </lyxtabular>
22222
22223 \end_inset
22224
22225
22226 \end_layout
22227
22228 \end_inset
22229
22230
22231 \end_layout
22232
22233 \end_inset
22234
22235
22236 \end_layout
22237
22238 \begin_layout Section
22239 Floats Side by Side
22240 \begin_inset Index
22241 status collapsed
22242
22243 \begin_layout Plain Layout
22244 Floats ! Side by side
22245 \end_layout
22246
22247 \end_inset
22248
22249
22250 \end_layout
22251
22252 \begin_layout Standard
22253 To place floats side by side, as in Figures
22254 \begin_inset space ~
22255 \end_inset
22256
22257
22258 \begin_inset CommandInset ref
22259 LatexCommand ref
22260 reference "fig:Float-left"
22261
22262 \end_inset
22263
22264  and 
22265 \begin_inset CommandInset ref
22266 LatexCommand ref
22267 reference "fig:Float-right"
22268
22269 \end_inset
22270
22271 , only 
22272 \emph on
22273 one
22274 \emph default
22275  float is used.
22276  In it two minipage boxes are inserted.
22277 \begin_inset Foot
22278 status collapsed
22279
22280 \begin_layout Plain Layout
22281 Minipages are explained in section
22282 \begin_inset space ~
22283 \end_inset
22284
22285
22286 \begin_inset CommandInset ref
22287 LatexCommand ref
22288 reference "sec:Minipages"
22289
22290 \end_inset
22291
22292 .
22293 \end_layout
22294
22295 \end_inset
22296
22297  The width is set to 45
22298 \begin_inset space \thinspace{}
22299 \end_inset
22300
22301 -50
22302 \begin_inset space \thinspace{}
22303 \end_inset
22304
22305 column% and the box alignment to 
22306 \family sans
22307 Bottom
22308 \family default
22309  for each minipage.
22310  The minipage boxes contain the image and the caption in the same way as
22311  they are in a float.
22312  The only difference is that the image unit 
22313 \family sans
22314 Column
22315 \begin_inset space ~
22316 \end_inset
22317
22318 Width
22319 \begin_inset space ~
22320 \end_inset
22321
22322 %
22323 \family default
22324  is now calculated according to the width of the minipage boxes.
22325 \end_layout
22326
22327 \begin_layout Standard
22328 \begin_inset Float figure
22329 wide false
22330 sideways false
22331 status open
22332
22333 \begin_layout Plain Layout
22334 \begin_inset Box Frameless
22335 position "b"
22336 hor_pos "c"
22337 has_inner_box 1
22338 inner_pos "t"
22339 use_parbox 0
22340 width "45col%"
22341 special "none"
22342 height "1in"
22343 height_special "totalheight"
22344 status open
22345
22346 \begin_layout Plain Layout
22347 \align center
22348 \begin_inset Graphics
22349         filename clipart/mobius.eps
22350         lyxscale 50
22351         width 100col%
22352         scaleBeforeRotation
22353
22354 \end_inset
22355
22356
22357 \end_layout
22358
22359 \begin_layout Plain Layout
22360 \begin_inset Caption
22361
22362 \begin_layout Plain Layout
22363 \begin_inset CommandInset label
22364 LatexCommand label
22365 name "fig:Float-left"
22366
22367 \end_inset
22368
22369 Float on the left side.
22370 \end_layout
22371
22372 \end_inset
22373
22374
22375 \end_layout
22376
22377 \end_inset
22378
22379
22380 \begin_inset space \hfill{}
22381 \end_inset
22382
22383
22384 \begin_inset Box Frameless
22385 position "b"
22386 hor_pos "c"
22387 has_inner_box 1
22388 inner_pos "t"
22389 use_parbox 0
22390 width "45col%"
22391 special "none"
22392 height "1in"
22393 height_special "totalheight"
22394 status open
22395
22396 \begin_layout Plain Layout
22397 \align center
22398 \begin_inset Graphics
22399         filename clipart/platypus.eps
22400         lyxscale 50
22401         width 100col%
22402         scaleBeforeRotation
22403
22404 \end_inset
22405
22406
22407 \end_layout
22408
22409 \begin_layout Plain Layout
22410 \begin_inset Caption
22411
22412 \begin_layout Plain Layout
22413 \begin_inset CommandInset label
22414 LatexCommand label
22415 name "fig:Float-right"
22416
22417 \end_inset
22418
22419 Float on the right side.
22420 \end_layout
22421
22422 \end_inset
22423
22424
22425 \end_layout
22426
22427 \end_inset
22428
22429
22430 \end_layout
22431
22432 \begin_layout Plain Layout
22433
22434 \end_layout
22435
22436 \end_inset
22437
22438
22439 \end_layout
22440
22441 \begin_layout Section
22442 Caption Formatting
22443 \begin_inset Index
22444 status collapsed
22445
22446 \begin_layout Plain Layout
22447 Caption ! Formatting
22448 \end_layout
22449
22450 \end_inset
22451
22452
22453 \begin_inset Index
22454 status collapsed
22455
22456 \begin_layout Plain Layout
22457 Floats ! Caption Formatting
22458 \end_layout
22459
22460 \end_inset
22461
22462
22463 \begin_inset CommandInset label
22464 LatexCommand label
22465 name "sec:Caption-Formatting"
22466
22467 \end_inset
22468
22469
22470 \end_layout
22471
22472 \begin_layout Standard
22473 The 
22474 \family sans
22475 Caption
22476 \family default
22477  environment is the default paragraph environment for 
22478 \family sans
22479 Floats
22480 \family default
22481 .
22482  On the LyX screen captions appear as label, e.
22483 \begin_inset space \thinspace{}
22484 \end_inset
22485
22486 g.
22487 \begin_inset space \space{}
22488 \end_inset
22489
22490
22491 \begin_inset Quotes eld
22492 \end_inset
22493
22494
22495 \family sans
22496 Figure #:
22497 \family default
22498
22499 \begin_inset Quotes erd
22500 \end_inset
22501
22502  followed by the caption text.
22503  
22504 \begin_inset Quotes eld
22505 \end_inset
22506
22507 #
22508 \begin_inset Quotes erd
22509 \end_inset
22510
22511  is the actual reference number.
22512  By default the label and the number are in the same font as the caption
22513  text and a colon follows the number to divide the label from the text.
22514  This caption format is not suitable for all document formats.
22515  
22516 \end_layout
22517
22518 \begin_layout Standard
22519 To change the default caption format, load the LaTeX-package 
22520 \series bold
22521 caption
22522 \series default
22523
22524 \begin_inset Index
22525 status collapsed
22526
22527 \begin_layout Plain Layout
22528 LaTeX-packages ! caption
22529 \end_layout
22530
22531 \end_inset
22532
22533  in the document preamble with this line:
22534 \end_layout
22535
22536 \begin_layout Standard
22537
22538 \series bold
22539
22540 \backslash
22541 usepackage[format definition]{caption}
22542 \end_layout
22543
22544 \begin_layout Standard
22545 To have for example the label and the number in sans-serif bold font and
22546  the table captions always above the table as in this document, use the
22547  following command:
22548 \end_layout
22549
22550 \begin_layout Standard
22551
22552 \series bold
22553
22554 \backslash
22555 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22556 \end_layout
22557
22558 \begin_layout Standard
22559 You can also define different caption formats for the different float types.
22560  In this case load the 
22561 \series bold
22562 caption
22563 \series default
22564  package without format specific options and define the different formats
22565  with the help of the command
22566 \end_layout
22567
22568 \begin_layout Standard
22569
22570 \series bold
22571
22572 \backslash
22573 captionsetup[float type]{format definition}
22574 \end_layout
22575
22576 \begin_layout Standard
22577 in the document preamble.
22578  For example the caption formats of Figure
22579 \begin_inset space ~
22580 \end_inset
22581
22582
22583 \begin_inset CommandInset ref
22584 LatexCommand ref
22585 reference "fig:This-is-an-fig"
22586
22587 \end_inset
22588
22589  and Table
22590 \begin_inset space ~
22591 \end_inset
22592
22593
22594 \begin_inset CommandInset ref
22595 LatexCommand ref
22596 reference "tab:This-is-an-tab"
22597
22598 \end_inset
22599
22600  can be created using these commands in the document preamble:
22601 \end_layout
22602
22603 \begin_layout Standard
22604
22605 \series bold
22606
22607 \backslash
22608 usepackage[tableposition=top]{caption}
22609 \series default
22610
22611 \begin_inset Newline newline
22612 \end_inset
22613
22614
22615 \series bold
22616
22617 \backslash
22618 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22619 \begin_inset Newline newline
22620 \end_inset
22621
22622
22623 \begin_inset ERT
22624 status collapsed
22625
22626 \begin_layout Plain Layout
22627
22628
22629 \backslash
22630 hphantom{
22631 \backslash
22632
22633 \backslash
22634 captionsetup[figure]
22635 \backslash
22636 {}
22637 \end_layout
22638
22639 \end_inset
22640
22641  labelsep=period}
22642 \begin_inset Newline newline
22643 \end_inset
22644
22645
22646 \backslash
22647 captionsetup[table]{labelfont={bf,sf}}
22648 \end_layout
22649
22650 \begin_layout Standard
22651 \begin_inset Note Greyedout
22652 status open
22653
22654 \begin_layout Plain Layout
22655
22656 \series bold
22657 Note:
22658 \series default
22659  The option 
22660 \series bold
22661 tableposition=top
22662 \series default
22663  has no effect when a 
22664 \series bold
22665 KOMA-Script
22666 \series default
22667
22668 \begin_inset Index
22669 status collapsed
22670
22671 \begin_layout Plain Layout
22672 LaTeX-packages ! KOMA-Script
22673 \end_layout
22674
22675 \end_inset
22676
22677  document class is used.
22678  In this case the document class option 
22679 \series bold
22680 tablecaptionabove
22681 \series default
22682  must be used.
22683 \end_layout
22684
22685 \end_inset
22686
22687
22688 \end_layout
22689
22690 \begin_layout Standard
22691 For more information about the package 
22692 \series bold
22693 caption
22694 \series default
22695  we refer to its documentation 
22696 \begin_inset CommandInset citation
22697 LatexCommand cite
22698 key "caption"
22699
22700 \end_inset
22701
22702 .
22703 \end_layout
22704
22705 \begin_layout Standard
22706 To change the label name from e.
22707 \begin_inset space \thinspace{}
22708 \end_inset
22709
22710 g.
22711 \begin_inset space \space{}
22712 \end_inset
22713
22714
22715 \begin_inset Quotes eld
22716 \end_inset
22717
22718 Figure
22719 \begin_inset Quotes erd
22720 \end_inset
22721
22722  to 
22723 \begin_inset Quotes eld
22724 \end_inset
22725
22726 Image
22727 \begin_inset Quotes erd
22728 \end_inset
22729
22730  use this preamble command:
22731 \end_layout
22732
22733 \begin_layout Standard
22734
22735 \series bold
22736
22737 \backslash
22738 renewcommand{
22739 \backslash
22740 fnum@figure}{Image~
22741 \backslash
22742 thefigure}
22743 \end_layout
22744
22745 \begin_layout Standard
22746 where 
22747 \series bold
22748
22749 \backslash
22750 thefigure
22751 \series default
22752  inserts the figure number and
22753 \series bold
22754  
22755 \begin_inset Quotes eld
22756 \end_inset
22757
22758 ~
22759 \series default
22760
22761 \begin_inset Quotes erd
22762 \end_inset
22763
22764  creates a protected space.
22765 \end_layout
22766
22767 \begin_layout Standard
22768 \begin_inset VSpace bigskip
22769 \end_inset
22770
22771 If you are using a 
22772 \series bold
22773 KOMA-Script
22774 \series default
22775
22776 \begin_inset Index
22777 status collapsed
22778
22779 \begin_layout Plain Layout
22780 LaTeX-packages ! KOMA-Script
22781 \end_layout
22782
22783 \end_inset
22784
22785  document class (
22786 \family sans
22787 article (KOMA-Script)
22788 \family default
22789
22790 \family sans
22791 book (KOMA-Script)
22792 \family default
22793
22794 \family sans
22795 letter (KOMA-Script)
22796 \family default
22797 , or 
22798 \family sans
22799 report (KOMA-Script)
22800 \family default
22801
22802 \begin_inset space \thinspace{}
22803 \end_inset
22804
22805 ), you can alternatively to the 
22806 \series bold
22807 caption
22808 \series default
22809  package use 
22810 \series bold
22811 KOMA-Script
22812 \series default
22813 's built-in command 
22814 \series bold
22815
22816 \backslash
22817 setkomafont
22818 \series default
22819 .
22820  For example, to have the caption label in bold, add this command to your
22821  document preamble:
22822 \end_layout
22823
22824 \begin_layout Standard
22825
22826 \series bold
22827
22828 \backslash
22829 setkomafont{captionlabel}{
22830 \backslash
22831 bfseries}
22832 \end_layout
22833
22834 \begin_layout Standard
22835 For more information about 
22836 \series bold
22837
22838 \backslash
22839 setkomafont
22840 \series default
22841  we refer to the 
22842 \series bold
22843 KOMA-Script
22844 \series default
22845  documentation 
22846 \begin_inset CommandInset citation
22847 LatexCommand cite
22848 key "KOMA-Script"
22849
22850 \end_inset
22851
22852 .
22853 \end_layout
22854
22855 \begin_layout Standard
22856 \begin_inset ERT
22857 status collapsed
22858
22859 \begin_layout Plain Layout
22860
22861
22862 \backslash
22863 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22864 }
22865 \end_layout
22866
22867 \end_inset
22868
22869
22870 \begin_inset Note Note
22871 status open
22872
22873 \begin_layout Plain Layout
22874 The caption format is changed only for this example.
22875 \end_layout
22876
22877 \end_inset
22878
22879
22880 \end_layout
22881
22882 \begin_layout Standard
22883 \begin_inset Float figure
22884 placement !p
22885 wide false
22886 sideways false
22887 status open
22888
22889 \begin_layout Plain Layout
22890 \align center
22891 \begin_inset Graphics
22892         filename clipart/mobius.eps
22893         lyxscale 50
22894         scale 50
22895         scaleBeforeRotation
22896
22897 \end_inset
22898
22899
22900 \end_layout
22901
22902 \begin_layout Plain Layout
22903 \begin_inset Caption
22904
22905 \begin_layout Plain Layout
22906 \begin_inset CommandInset label
22907 LatexCommand label
22908 name "fig:This-is-an-fig"
22909
22910 \end_inset
22911
22912 This is an example figure caption that is longer than one line to show the
22913  different caption format.
22914  Here a self-defined caption format is used.
22915 \end_layout
22916
22917 \end_inset
22918
22919
22920 \end_layout
22921
22922 \end_inset
22923
22924
22925 \end_layout
22926
22927 \begin_layout Standard
22928 \begin_inset ERT
22929 status collapsed
22930
22931 \begin_layout Plain Layout
22932
22933
22934 \backslash
22935 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22936 on}
22937 \end_layout
22938
22939 \end_inset
22940
22941
22942 \end_layout
22943
22944 \begin_layout Standard
22945 \begin_inset Float table
22946 placement !p
22947 wide false
22948 sideways false
22949 status open
22950
22951 \begin_layout Plain Layout
22952 \begin_inset Caption
22953
22954 \begin_layout Plain Layout
22955 \begin_inset CommandInset label
22956 LatexCommand label
22957 name "tab:This-is-an-tab"
22958
22959 \end_inset
22960
22961 This is an example table caption that is longer than one line to show the
22962  different caption format.
22963  Here the standard caption format for tables in this document is used.
22964 \end_layout
22965
22966 \end_inset
22967
22968
22969 \end_layout
22970
22971 \begin_layout Plain Layout
22972 \align center
22973 \begin_inset Tabular
22974 <lyxtabular version="3" rows="1" columns="5">
22975 <features>
22976 <column alignment="center" valignment="top" width="0">
22977 <column alignment="center" valignment="top" width="0">
22978 <column alignment="center" valignment="top" width="0">
22979 <column alignment="center" valignment="top" width="0">
22980 <column alignment="center" valignment="top" width="0">
22981 <row>
22982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22983 \begin_inset Text
22984
22985 \begin_layout Plain Layout
22986 a
22987 \end_layout
22988
22989 \end_inset
22990 </cell>
22991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22992 \begin_inset Text
22993
22994 \begin_layout Plain Layout
22995 b
22996 \end_layout
22997
22998 \end_inset
22999 </cell>
23000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23001 \begin_inset Text
23002
23003 \begin_layout Plain Layout
23004 c
23005 \end_layout
23006
23007 \end_inset
23008 </cell>
23009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23010 \begin_inset Text
23011
23012 \begin_layout Plain Layout
23013 d
23014 \end_layout
23015
23016 \end_inset
23017 </cell>
23018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23019 \begin_inset Text
23020
23021 \begin_layout Plain Layout
23022 e
23023 \end_layout
23024
23025 \end_inset
23026 </cell>
23027 </row>
23028 </lyxtabular>
23029
23030 \end_inset
23031
23032
23033 \end_layout
23034
23035 \end_inset
23036
23037
23038 \end_layout
23039
23040 \begin_layout Section
23041 Caption Placement
23042 \begin_inset Index
23043 status collapsed
23044
23045 \begin_layout Plain Layout
23046 Caption ! Placement
23047 \end_layout
23048
23049 \end_inset
23050
23051
23052 \begin_inset Index
23053 status collapsed
23054
23055 \begin_layout Plain Layout
23056 Floats ! Caption Placement
23057 \end_layout
23058
23059 \end_inset
23060
23061
23062 \begin_inset CommandInset label
23063 LatexCommand label
23064 name "sec:Caption-Placement"
23065
23066 \end_inset
23067
23068
23069 \end_layout
23070
23071 \begin_layout Standard
23072 The common caption placement rule is:
23073 \end_layout
23074
23075 \begin_layout Description
23076 Figure: Caption is set below the figure
23077 \end_layout
23078
23079 \begin_layout Description
23080 Table: Caption is set above the table
23081 \end_layout
23082
23083 \begin_layout Standard
23084 Having the caption above the table is unfortunately not supported in LaTeX's
23085  standard classes.
23086  That means if you are using the document classes 
23087 \family sans
23088 article
23089 \family default
23090
23091 \family sans
23092 book
23093 \family default
23094
23095 \family sans
23096 letter
23097 \family default
23098 , or 
23099 \family sans
23100 report
23101 \family default
23102  there will be no space between the caption and the table.
23103  To insert the necessary space, add the following option to the load command
23104  of the LaTeX-package 
23105 \series bold
23106 caption
23107 \series default
23108  in your document preamble
23109 \begin_inset Foot
23110 status collapsed
23111
23112 \begin_layout Plain Layout
23113 See section
23114 \begin_inset space ~
23115 \end_inset
23116
23117
23118 \begin_inset CommandInset ref
23119 LatexCommand ref
23120 reference "sec:Caption-Formatting"
23121
23122 \end_inset
23123
23124  for more information of the package 
23125 \series bold
23126 caption
23127 \series default
23128 .
23129 \end_layout
23130
23131 \end_inset
23132
23133 :
23134 \end_layout
23135
23136 \begin_layout Standard
23137
23138 \series bold
23139 tableposition=top
23140 \end_layout
23141
23142 \begin_layout Standard
23143 If you are using a 
23144 \series bold
23145 KOMA-Script
23146 \series default
23147
23148 \begin_inset Index
23149 status collapsed
23150
23151 \begin_layout Plain Layout
23152 LaTeX-packages ! KOMA-Script
23153 \end_layout
23154
23155 \end_inset
23156
23157  document class (
23158 \family sans
23159 article (KOMA-Script)
23160 \family default
23161
23162 \family sans
23163 book (KOMA-Script)
23164 \family default
23165
23166 \family sans
23167 letter (KOMA-Script)
23168 \family default
23169 , or 
23170 \family sans
23171 report (KOMA-Script)
23172 \family default
23173
23174 \begin_inset space \thinspace{}
23175 \end_inset
23176
23177 ), you can alternatively to the 
23178 \series bold
23179 caption
23180 \series default
23181  package set the document class option 
23182 \series bold
23183 tablecaptionabove
23184 \series default
23185 .
23186 \end_layout
23187
23188 \begin_layout Standard
23189 \begin_inset VSpace bigskip
23190 \end_inset
23191
23192 It is also possible to set the caption beside a figure or table.
23193  To get this the LaTeX-package 
23194 \series bold
23195 sidecap
23196 \series default
23197
23198 \begin_inset Index
23199 status collapsed
23200
23201 \begin_layout Plain Layout
23202 LaTeX-packages ! sidecap
23203 \end_layout
23204
23205 \end_inset
23206
23207  has to be loaded in the document preamble with the line
23208 \end_layout
23209
23210 \begin_layout Standard
23211
23212 \series bold
23213
23214 \backslash
23215 usepackage[option]{sidecap}
23216 \end_layout
23217
23218 \begin_layout Standard
23219 If you set no option, the caption is placed on the side of the outer page
23220  margin – to the right on odd pages, to the left on even pages.
23221  You can change the placement to inner margin with the option 
23222 \series bold
23223 innercaption
23224 \series default
23225 .
23226  To force the placement always to the right or left, use the option 
23227 \series bold
23228 rightcaption
23229 \series default
23230  or 
23231 \series bold
23232 leftcaption
23233 \series default
23234 , respectively.
23235 \end_layout
23236
23237 \begin_layout Standard
23238 \begin_inset ERT
23239 status collapsed
23240
23241 \begin_layout Plain Layout
23242
23243
23244 \backslash
23245 ifsidecap
23246 \end_layout
23247
23248 \end_inset
23249
23250
23251 \begin_inset Note Note
23252 status open
23253
23254 \begin_layout Plain Layout
23255 The following section will only be displayed when the LaTeX-package 
23256 \series bold
23257 sidecap
23258 \series default
23259  is installed.
23260 \end_layout
23261
23262 \end_inset
23263
23264
23265 \end_layout
23266
23267 \begin_layout Standard
23268 To place in LyX the caption of a float on the side, it is necessary to add
23269  these commands to the document preamble:
23270 \end_layout
23271
23272 \begin_layout Standard
23273
23274 \lyxline
23275
23276 \end_layout
23277
23278 \begin_layout Standard
23279
23280 \series bold
23281
23282 \backslash
23283 newcommand{
23284 \backslash
23285 TabBesBeg}{%
23286 \begin_inset Newline newline
23287 \end_inset
23288
23289
23290 \begin_inset ERT
23291 status collapsed
23292
23293 \begin_layout Plain Layout
23294
23295
23296 \backslash
23297 hphantom{ }
23298 \end_layout
23299
23300 \end_inset
23301
23302
23303 \backslash
23304 let
23305 \backslash
23306 MyTable
23307 \backslash
23308 table
23309 \begin_inset Newline newline
23310 \end_inset
23311
23312
23313 \begin_inset ERT
23314 status collapsed
23315
23316 \begin_layout Plain Layout
23317
23318
23319 \backslash
23320 hphantom{ }
23321 \end_layout
23322
23323 \end_inset
23324
23325
23326 \backslash
23327 let
23328 \backslash
23329 MyEndtable
23330 \backslash
23331 endtable
23332 \begin_inset Newline newline
23333 \end_inset
23334
23335
23336 \begin_inset ERT
23337 status collapsed
23338
23339 \begin_layout Plain Layout
23340
23341
23342 \backslash
23343 hphantom{ }
23344 \end_layout
23345
23346 \end_inset
23347
23348
23349 \backslash
23350 renewenvironment{table}{
23351 \backslash
23352 begin{SCtable}}{
23353 \backslash
23354 end{SCtable}}}
23355 \end_layout
23356
23357 \begin_layout Standard
23358
23359 \series bold
23360
23361 \backslash
23362 newcommand{
23363 \backslash
23364 TabBesEnd}{%
23365 \begin_inset Newline newline
23366 \end_inset
23367
23368
23369 \begin_inset ERT
23370 status collapsed
23371
23372 \begin_layout Plain Layout
23373
23374
23375 \backslash
23376 hphantom{ }
23377 \end_layout
23378
23379 \end_inset
23380
23381
23382 \backslash
23383 let
23384 \backslash
23385 table
23386 \backslash
23387 MyTable
23388 \begin_inset Newline newline
23389 \end_inset
23390
23391
23392 \begin_inset ERT
23393 status collapsed
23394
23395 \begin_layout Plain Layout
23396
23397
23398 \backslash
23399 hphantom{ }
23400 \end_layout
23401
23402 \end_inset
23403
23404
23405 \backslash
23406 let
23407 \backslash
23408 endtable
23409 \backslash
23410 MyEndtable
23411 \end_layout
23412
23413 \begin_layout Standard
23414
23415 \series bold
23416
23417 \backslash
23418 newcommand{
23419 \backslash
23420 FigBesBeg}{%
23421 \begin_inset Newline newline
23422 \end_inset
23423
23424
23425 \begin_inset ERT
23426 status collapsed
23427
23428 \begin_layout Plain Layout
23429
23430
23431 \backslash
23432 hphantom{ }
23433 \end_layout
23434
23435 \end_inset
23436
23437
23438 \backslash
23439 let
23440 \backslash
23441 MyFigure
23442 \backslash
23443 figure
23444 \begin_inset Newline newline
23445 \end_inset
23446
23447
23448 \begin_inset ERT
23449 status collapsed
23450
23451 \begin_layout Plain Layout
23452
23453
23454 \backslash
23455 hphantom{ }
23456 \end_layout
23457
23458 \end_inset
23459
23460
23461 \backslash
23462 let
23463 \backslash
23464 MyEndfigure
23465 \backslash
23466 endfigure
23467 \begin_inset Newline newline
23468 \end_inset
23469
23470
23471 \begin_inset ERT
23472 status collapsed
23473
23474 \begin_layout Plain Layout
23475
23476
23477 \backslash
23478 hphantom{ }
23479 \end_layout
23480
23481 \end_inset
23482
23483
23484 \backslash
23485 renewenvironment{figure}{
23486 \backslash
23487 begin{SCfigure}}{
23488 \backslash
23489 end{SCfigure}}}
23490 \end_layout
23491
23492 \begin_layout Standard
23493
23494 \series bold
23495
23496 \backslash
23497 newcommand{
23498 \backslash
23499 FigBesEnd}{%
23500 \begin_inset Newline newline
23501 \end_inset
23502
23503
23504 \begin_inset ERT
23505 status collapsed
23506
23507 \begin_layout Plain Layout
23508
23509
23510 \backslash
23511 hphantom{ }
23512 \end_layout
23513
23514 \end_inset
23515
23516
23517 \backslash
23518 let
23519 \backslash
23520 figure
23521 \backslash
23522 MyFigure
23523 \begin_inset Newline newline
23524 \end_inset
23525
23526
23527 \begin_inset ERT
23528 status collapsed
23529
23530 \begin_layout Plain Layout
23531
23532
23533 \backslash
23534 hphantom{ }
23535 \end_layout
23536
23537 \end_inset
23538
23539
23540 \backslash
23541 let
23542 \backslash
23543 endfigure
23544 \backslash
23545 MyEndfigure}
23546 \end_layout
23547
23548 \begin_layout Standard
23549
23550 \lyxline
23551
23552 \end_layout
23553
23554 \begin_layout Standard
23555 The commands allow you to redefine the floats so that the caption is set
23556  on the side.
23557  For figure floats use the command
23558 \end_layout
23559
23560 \begin_layout Standard
23561
23562 \series bold
23563
23564 \backslash
23565 FigBesBeg
23566 \end_layout
23567
23568 \begin_layout Standard
23569 in TeX-Code before the float.
23570  After the float insert the command
23571 \end_layout
23572
23573 \begin_layout Standard
23574
23575 \series bold
23576
23577 \backslash
23578 FigBesEnd
23579 \end_layout
23580
23581 \begin_layout Standard
23582 in TeX-Code to get back to the original float definition.
23583 \end_layout
23584
23585 \begin_layout Standard
23586 For table floats use the corresponding commands
23587 \end_layout
23588
23589 \begin_layout Standard
23590
23591 \series bold
23592
23593 \backslash
23594 TabBesBeg
23595 \series default
23596  and 
23597 \series bold
23598
23599 \backslash
23600 TabBesEnd
23601 \end_layout
23602
23603 \begin_layout Standard
23604 Figure
23605 \begin_inset space ~
23606 \end_inset
23607
23608
23609 \begin_inset CommandInset ref
23610 LatexCommand ref
23611 reference "fig:cap-beside-fig"
23612
23613 \end_inset
23614
23615  and Table
23616 \begin_inset space ~
23617 \end_inset
23618
23619
23620 \begin_inset CommandInset ref
23621 LatexCommand ref
23622 reference "tab:cap-beside-tab"
23623
23624 \end_inset
23625
23626  are examples where the caption is set beside.
23627 \end_layout
23628
23629 \begin_layout Standard
23630 You can see in the examples that the caption text appears at the top of
23631  the floats for table floats and at the bottom for figure floats.
23632  To change this, you can use the command
23633 \end_layout
23634
23635 \begin_layout Standard
23636
23637 \series bold
23638
23639 \backslash
23640 sidecaptionvpos{float type}{placement}
23641 \end_layout
23642
23643 \begin_layout Standard
23644 in the document preamble or in TeX-Code before the float.
23645  The float type is either 
23646 \family sans
23647 figure
23648 \family default
23649  or 
23650 \family sans
23651 table
23652 \family default
23653 , the placement can be 
23654 \begin_inset Quotes eld
23655 \end_inset
23656
23657
23658 \family sans
23659 t
23660 \family default
23661
23662 \begin_inset Quotes erd
23663 \end_inset
23664
23665  for top, 
23666 \begin_inset Quotes eld
23667 \end_inset
23668
23669
23670 \family sans
23671 c
23672 \family default
23673
23674 \begin_inset Quotes erd
23675 \end_inset
23676
23677  for center, or 
23678 \begin_inset Quotes eld
23679 \end_inset
23680
23681
23682 \family sans
23683 b
23684 \family default
23685
23686 \begin_inset Quotes erd
23687 \end_inset
23688
23689  for bottom.
23690  To have for example the caption of figure floats vertically centered, use
23691  the command
23692 \end_layout
23693
23694 \begin_layout Standard
23695
23696 \series bold
23697
23698 \backslash
23699 sidecaptionvpos{figure}{c}
23700 \end_layout
23701
23702 \begin_layout Standard
23703 This was used for Figure
23704 \begin_inset space ~
23705 \end_inset
23706
23707
23708 \begin_inset CommandInset ref
23709 LatexCommand ref
23710 reference "fig:cap-beside-fig-2"
23711
23712 \end_inset
23713
23714 .
23715 \end_layout
23716
23717 \begin_layout Standard
23718 \begin_inset VSpace medskip
23719 \end_inset
23720
23721 For more information about the package 
23722 \series bold
23723 sidecap
23724 \series default
23725  we refer to its documentation 
23726 \begin_inset CommandInset citation
23727 LatexCommand cite
23728 key "sidecap"
23729
23730 \end_inset
23731
23732 .
23733 \end_layout
23734
23735 \begin_layout Standard
23736 \begin_inset Note Greyedout
23737 status open
23738
23739 \begin_layout Plain Layout
23740
23741 \series bold
23742 Note:
23743 \series default
23744  The LaTeX-package 
23745 \series bold
23746 hypcap
23747 \series default
23748
23749 \begin_inset Index
23750 status collapsed
23751
23752 \begin_layout Plain Layout
23753 LaTeX-packages ! hypcap
23754 \end_layout
23755
23756 \end_inset
23757
23758 , described in section
23759 \begin_inset space ~
23760 \end_inset
23761
23762
23763 \begin_inset CommandInset ref
23764 LatexCommand ref
23765 reference "sub:Reference-Position"
23766
23767 \end_inset
23768
23769 , has no effect on floats with the caption set beside.
23770 \end_layout
23771
23772 \end_inset
23773
23774
23775 \end_layout
23776
23777 \begin_layout Standard
23778 \begin_inset ERT
23779 status collapsed
23780
23781 \begin_layout Plain Layout
23782
23783
23784 \backslash
23785 FigBesBeg 
23786 \end_layout
23787
23788 \end_inset
23789
23790
23791 \end_layout
23792
23793 \begin_layout Standard
23794 \begin_inset Float figure
23795 wide false
23796 sideways false
23797 status open
23798
23799 \begin_layout Plain Layout
23800 \begin_inset Graphics
23801         filename clipart/escher-lsd.eps
23802         scale 75
23803         scaleBeforeRotation
23804
23805 \end_inset
23806
23807
23808 \end_layout
23809
23810 \begin_layout Plain Layout
23811 \begin_inset Caption
23812
23813 \begin_layout Plain Layout
23814 \begin_inset CommandInset label
23815 LatexCommand label
23816 name "fig:cap-beside-fig"
23817
23818 \end_inset
23819
23820 This is a caption beside a figure.
23821 \end_layout
23822
23823 \end_inset
23824
23825
23826 \end_layout
23827
23828 \end_inset
23829
23830
23831 \end_layout
23832
23833 \begin_layout Standard
23834 \begin_inset ERT
23835 status collapsed
23836
23837 \begin_layout Plain Layout
23838
23839
23840 \backslash
23841 TabBesBeg 
23842 \end_layout
23843
23844 \end_inset
23845
23846
23847 \end_layout
23848
23849 \begin_layout Standard
23850 \begin_inset Float table
23851 wide false
23852 sideways false
23853 status open
23854
23855 \begin_layout Plain Layout
23856 \begin_inset Caption
23857
23858 \begin_layout Plain Layout
23859 \begin_inset CommandInset label
23860 LatexCommand label
23861 name "tab:cap-beside-tab"
23862
23863 \end_inset
23864
23865 This is a caption beside a table.
23866 \end_layout
23867
23868 \end_inset
23869
23870
23871 \end_layout
23872
23873 \begin_layout Plain Layout
23874 \begin_inset Tabular
23875 <lyxtabular version="3" rows="4" columns="5">
23876 <features>
23877 <column alignment="center" valignment="top" width="0">
23878 <column alignment="center" valignment="top" width="0">
23879 <column alignment="center" valignment="top" width="0">
23880 <column alignment="center" valignment="top" width="0">
23881 <column alignment="center" valignment="top" width="0">
23882 <row>
23883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23884 \begin_inset Text
23885
23886 \begin_layout Plain Layout
23887 a
23888 \end_layout
23889
23890 \end_inset
23891 </cell>
23892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23893 \begin_inset Text
23894
23895 \begin_layout Plain Layout
23896
23897 \end_layout
23898
23899 \end_inset
23900 </cell>
23901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23902 \begin_inset Text
23903
23904 \begin_layout Plain Layout
23905 b
23906 \end_layout
23907
23908 \end_inset
23909 </cell>
23910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23911 \begin_inset Text
23912
23913 \begin_layout Plain Layout
23914
23915 \end_layout
23916
23917 \end_inset
23918 </cell>
23919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23920 \begin_inset Text
23921
23922 \begin_layout Plain Layout
23923 c
23924 \end_layout
23925
23926 \end_inset
23927 </cell>
23928 </row>
23929 <row>
23930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23931 \begin_inset Text
23932
23933 \begin_layout Plain Layout
23934
23935 \end_layout
23936
23937 \end_inset
23938 </cell>
23939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23940 \begin_inset Text
23941
23942 \begin_layout Plain Layout
23943 d
23944 \end_layout
23945
23946 \end_inset
23947 </cell>
23948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23949 \begin_inset Text
23950
23951 \begin_layout Plain Layout
23952
23953 \end_layout
23954
23955 \end_inset
23956 </cell>
23957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23958 \begin_inset Text
23959
23960 \begin_layout Plain Layout
23961 e
23962 \end_layout
23963
23964 \end_inset
23965 </cell>
23966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23967 \begin_inset Text
23968
23969 \begin_layout Plain Layout
23970
23971 \end_layout
23972
23973 \end_inset
23974 </cell>
23975 </row>
23976 <row>
23977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23978 \begin_inset Text
23979
23980 \begin_layout Plain Layout
23981 f
23982 \end_layout
23983
23984 \end_inset
23985 </cell>
23986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23987 \begin_inset Text
23988
23989 \begin_layout Plain Layout
23990
23991 \end_layout
23992
23993 \end_inset
23994 </cell>
23995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23996 \begin_inset Text
23997
23998 \begin_layout Plain Layout
23999 g
24000 \end_layout
24001
24002 \end_inset
24003 </cell>
24004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24005 \begin_inset Text
24006
24007 \begin_layout Plain Layout
24008
24009 \end_layout
24010
24011 \end_inset
24012 </cell>
24013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24014 \begin_inset Text
24015
24016 \begin_layout Plain Layout
24017 h
24018 \end_layout
24019
24020 \end_inset
24021 </cell>
24022 </row>
24023 <row>
24024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24025 \begin_inset Text
24026
24027 \begin_layout Plain Layout
24028
24029 \end_layout
24030
24031 \end_inset
24032 </cell>
24033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24034 \begin_inset Text
24035
24036 \begin_layout Plain Layout
24037 i
24038 \end_layout
24039
24040 \end_inset
24041 </cell>
24042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24043 \begin_inset Text
24044
24045 \begin_layout Plain Layout
24046
24047 \end_layout
24048
24049 \end_inset
24050 </cell>
24051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24052 \begin_inset Text
24053
24054 \begin_layout Plain Layout
24055 j
24056 \end_layout
24057
24058 \end_inset
24059 </cell>
24060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24061 \begin_inset Text
24062
24063 \begin_layout Plain Layout
24064
24065 \end_layout
24066
24067 \end_inset
24068 </cell>
24069 </row>
24070 </lyxtabular>
24071
24072 \end_inset
24073
24074
24075 \end_layout
24076
24077 \end_inset
24078
24079
24080 \end_layout
24081
24082 \begin_layout Standard
24083 \begin_inset ERT
24084 status collapsed
24085
24086 \begin_layout Plain Layout
24087
24088
24089 \backslash
24090 TabBesEnd
24091 \end_layout
24092
24093 \end_inset
24094
24095
24096 \end_layout
24097
24098 \begin_layout Standard
24099 \begin_inset ERT
24100 status collapsed
24101
24102 \begin_layout Plain Layout
24103
24104
24105 \backslash
24106 sidecaptionvpos{figure}{c}
24107 \end_layout
24108
24109 \end_inset
24110
24111
24112 \begin_inset Float figure
24113 wide false
24114 sideways false
24115 status open
24116
24117 \begin_layout Plain Layout
24118 \begin_inset Graphics
24119         filename clipart/escher-lsd.eps
24120         scale 75
24121         scaleBeforeRotation
24122
24123 \end_inset
24124
24125
24126 \end_layout
24127
24128 \begin_layout Plain Layout
24129 \begin_inset Caption
24130
24131 \begin_layout Plain Layout
24132 \begin_inset CommandInset label
24133 LatexCommand label
24134 name "fig:cap-beside-fig-2"
24135
24136 \end_inset
24137
24138 This is a vertically centered caption beside a figure.
24139 \end_layout
24140
24141 \end_inset
24142
24143
24144 \end_layout
24145
24146 \end_inset
24147
24148
24149 \end_layout
24150
24151 \begin_layout Standard
24152 \begin_inset ERT
24153 status collapsed
24154
24155 \begin_layout Plain Layout
24156
24157
24158 \backslash
24159 FigBesEnd
24160 \end_layout
24161
24162 \end_inset
24163
24164
24165 \end_layout
24166
24167 \begin_layout Standard
24168 \begin_inset ERT
24169 status collapsed
24170
24171 \begin_layout Plain Layout
24172
24173
24174 \backslash
24175 else
24176 \end_layout
24177
24178 \end_inset
24179
24180
24181 \begin_inset Note Note
24182 status open
24183
24184 \begin_layout Plain Layout
24185 The following will be displayed when the LaTeX-package 
24186 \series bold
24187 sidecap
24188 \series default
24189  is not installed:
24190 \end_layout
24191
24192 \end_inset
24193
24194
24195 \end_layout
24196
24197 \begin_layout Standard
24198 You need to install the LaTeX-package 
24199 \series bold
24200 sidecap
24201 \series default
24202  to see the following part of this section in the output.
24203 \end_layout
24204
24205 \begin_layout Standard
24206 \begin_inset ERT
24207 status collapsed
24208
24209 \begin_layout Plain Layout
24210
24211
24212 \backslash
24213 fi
24214 \end_layout
24215
24216 \end_inset
24217
24218
24219 \end_layout
24220
24221 \begin_layout Section
24222 Listings of Floats
24223 \begin_inset Index
24224 status collapsed
24225
24226 \begin_layout Plain Layout
24227 Floats ! Float Lists
24228 \end_layout
24229
24230 \end_inset
24231
24232
24233 \end_layout
24234
24235 \begin_layout Standard
24236 Similar to the table of contents where the sections of the document are
24237  listed, there are listings for all float types, like the figures of the
24238  documents.
24239  You can insert them via the 
24240 \family sans
24241 Insert\SpecialChar \menuseparator
24242 List
24243 \begin_inset space ~
24244 \end_inset
24245
24246 /
24247 \begin_inset space ~
24248 \end_inset
24249
24250 TOC
24251 \family default
24252  sub menus.
24253 \end_layout
24254
24255 \begin_layout Standard
24256 The list entries are the float captions or its short title, the float number,
24257  and the page number where they appear in the document.
24258 \end_layout
24259
24260 \begin_layout Standard
24261 You can find the list of figures and tables at the end of this document.
24262 \end_layout
24263
24264 \begin_layout Chapter
24265 Notes
24266 \end_layout
24267
24268 \begin_layout Section
24269 LyX Notes
24270 \begin_inset Index
24271 status collapsed
24272
24273 \begin_layout Plain Layout
24274 Notes ! LyX Notes
24275 \end_layout
24276
24277 \end_inset
24278
24279
24280 \end_layout
24281
24282 \begin_layout Standard
24283 Notes are inserted with the toolbar button 
24284 \begin_inset Graphics
24285         filename ../images/note-insert.png
24286         scale 85
24287         scaleBeforeRotation
24288
24289 \end_inset
24290
24291  or the menu 
24292 \family sans
24293 Insert\SpecialChar \menuseparator
24294 Note
24295 \family default
24296 .
24297  There are three types of notes:
24298 \end_layout
24299
24300 \begin_layout Description
24301 LyX
24302 \begin_inset space ~
24303 \end_inset
24304
24305 Note This note type is for internal notes that won't appear in the output.
24306  Its note-box looks like this:
24307 \begin_inset Newline newline
24308 \end_inset
24309
24310
24311 \begin_inset Newline newline
24312 \end_inset
24313
24314
24315 \begin_inset Graphics
24316         filename clipart/LyXNoteImageQt4.png
24317         display false
24318         scale 85
24319         scaleBeforeRotation
24320
24321 \end_inset
24322
24323  
24324 \begin_inset Note Note
24325 status open
24326
24327 \begin_layout Plain Layout
24328 This is text in a note box that doesn't appear in the output.
24329 \end_layout
24330
24331 \end_inset
24332
24333
24334 \end_layout
24335
24336 \begin_layout Description
24337 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24338 ent, when you export the document to LaTeX via the menu 
24339 \family sans
24340 File\SpecialChar \menuseparator
24341 Export\SpecialChar \menuseparator
24342 LaTeX (pdflatex) / (plain)
24343 \family default
24344 .
24345  Its note-box looks like this:
24346 \begin_inset Newline newline
24347 \end_inset
24348
24349
24350 \begin_inset Newline newline
24351 \end_inset
24352
24353
24354 \begin_inset Graphics
24355         filename clipart/CommentNoteImageQt4.png
24356         display false
24357         scale 85
24358         scaleBeforeRotation
24359
24360 \end_inset
24361
24362  
24363 \begin_inset Note Comment
24364 status open
24365
24366 \begin_layout Plain Layout
24367 This is text in a note box that only appears as comment in LaTeX-files.
24368 \end_layout
24369
24370 \end_inset
24371
24372
24373 \end_layout
24374
24375 \begin_layout Description
24376 Greyed
24377 \begin_inset space ~
24378 \end_inset
24379
24380 Out This note will appear in the output as grey text.
24381  Its note-box looks like this:
24382 \begin_inset Newline newline
24383 \end_inset
24384
24385
24386 \begin_inset Newline newline
24387 \end_inset
24388
24389
24390 \begin_inset Graphics
24391         filename clipart/GreyedOutNoteImageQt4.png
24392         display false
24393         scale 85
24394         scaleBeforeRotation
24395
24396 \end_inset
24397
24398
24399 \begin_inset Newline newline
24400 \end_inset
24401
24402
24403 \begin_inset ERT
24404 status collapsed
24405
24406 \begin_layout Plain Layout
24407
24408
24409 \backslash
24410 renewenvironment{lyxgreyedout}
24411 \end_layout
24412
24413 \begin_layout Plain Layout
24414
24415 {
24416 \backslash
24417 textcolor[gray]{0.8}
24418 \backslash
24419 bgroup}{
24420 \backslash
24421 egroup}
24422 \end_layout
24423
24424 \end_inset
24425
24426
24427 \begin_inset Note Greyedout
24428 status open
24429
24430 \begin_layout Plain Layout
24431 This is text
24432 \begin_inset Foot
24433 status open
24434
24435 \begin_layout Plain Layout
24436 This is an example footnote within a greyed out note.
24437 \end_layout
24438
24439 \end_inset
24440
24441  of a comment that appears in the output as grey text.
24442 \end_layout
24443
24444 \end_inset
24445
24446
24447 \begin_inset ERT
24448 status collapsed
24449
24450 \begin_layout Plain Layout
24451
24452
24453 \backslash
24454 renewenvironment{lyxgreyedout}
24455 \end_layout
24456
24457 \begin_layout Plain Layout
24458
24459 {
24460 \backslash
24461 textcolor{blue}
24462 \backslash
24463 bgroup}{
24464 \backslash
24465 egroup}
24466 \end_layout
24467
24468 \end_inset
24469
24470
24471 \begin_inset Note Note
24472 status collapsed
24473
24474 \begin_layout Plain Layout
24475 The greyed out note is here redefined to show it with the original LyX definitio
24476 n because greyed out notes are redefined in the preamble of this document,
24477  as described below, to have blue text.
24478 \end_layout
24479
24480 \end_inset
24481
24482
24483 \begin_inset Newline newline
24484 \end_inset
24485
24486
24487 \begin_inset Newline newline
24488 \end_inset
24489
24490 As you can see in the example, the first line of greyed out notes is a bit
24491  indented and greyed out notes can have footnotes.
24492 \end_layout
24493
24494 \begin_layout Standard
24495 \begin_inset VSpace bigskip
24496 \end_inset
24497
24498 When you use the toolbar button 
24499 \begin_inset Graphics
24500         filename ../images/note-insert.png
24501         scale 85
24502         scaleBeforeRotation
24503
24504 \end_inset
24505
24506  to insert notes, a 
24507 \family sans
24508 LyX
24509 \begin_inset space ~
24510 \end_inset
24511
24512 Note
24513 \family default
24514  is inserted.
24515  You can switch between the five note types by right-clicking on the note-box.
24516  
24517 \family roman
24518 \series medium
24519 \bar no
24520 If you want to turn existing text into a note, mark it and click on the
24521  note
24522 \family default
24523 \series default
24524 \bar default
24525  toolbar 
24526 \family roman
24527 \series medium
24528 \bar no
24529 button
24530 \family default
24531 \series default
24532 \bar default
24533 .
24534  To change a note to text, press the backspace key when the cursor is in
24535  the first position of a note, or press the delete key when the cursor is
24536  in the very last position of the note, respectively.
24537 \end_layout
24538
24539 \begin_layout Standard
24540 \begin_inset VSpace bigskip
24541 \end_inset
24542
24543 You can change the text color of the greyed out notes in the preamble with
24544  the following command:
24545 \end_layout
24546
24547 \begin_layout Standard
24548
24549 \series bold
24550
24551 \backslash
24552 renewenvironment{lyxgreyedout}
24553 \begin_inset Newline newline
24554 \end_inset
24555
24556
24557 \begin_inset ERT
24558 status collapsed
24559
24560 \begin_layout Plain Layout
24561
24562
24563 \backslash
24564 hphantom{ }
24565 \end_layout
24566
24567 \end_inset
24568
24569 {
24570 \backslash
24571 textcolor{color}
24572 \backslash
24573 bgroup}{
24574 \backslash
24575 egroup}
24576 \end_layout
24577
24578 \begin_layout Standard
24579 The available colors and the method to define colors is explained in section
24580 \begin_inset space ~
24581 \end_inset
24582
24583
24584 \begin_inset CommandInset ref
24585 LatexCommand ref
24586 reference "sec:Colored-Tables"
24587
24588 \end_inset
24589
24590 .
24591 \end_layout
24592
24593 \begin_layout Standard
24594 Notes that appear in blue in this document are set using greyed out notes
24595  with blue text.
24596 \end_layout
24597
24598 \begin_layout Section
24599 Footnotes
24600 \begin_inset CommandInset label
24601 LatexCommand label
24602 name "sec:Footnotes"
24603
24604 \end_inset
24605
24606
24607 \begin_inset Index
24608 status collapsed
24609
24610 \begin_layout Plain Layout
24611 Notes ! Footnotes
24612 \end_layout
24613
24614 \end_inset
24615
24616
24617 \begin_inset Index
24618 status collapsed
24619
24620 \begin_layout Plain Layout
24621 Footnotes
24622 \end_layout
24623
24624 \end_inset
24625
24626
24627 \end_layout
24628
24629 \begin_layout Standard
24630 Footnotes can be inserted using the toolbar button 
24631 \begin_inset Graphics
24632         filename ../images/footnote-insert.png
24633         scale 85
24634         scaleBeforeRotation
24635
24636 \end_inset
24637
24638  or the menu 
24639 \family sans
24640 Insert\SpecialChar \menuseparator
24641 Footnote
24642 \family default
24643 .
24644  
24645 \family roman
24646 \series medium
24647 \bar no
24648 You'll see
24649 \family default
24650 \series default
24651 \bar default
24652  then the following footnote-box: 
24653 \begin_inset Graphics
24654         filename clipart/footnoteQt4.png
24655         scale 80
24656         scaleBeforeRotation
24657
24658 \end_inset
24659
24660  
24661 \family roman
24662 \series medium
24663 \bar no
24664 where you can enter the footnote text.
24665  If you want to turn existing text into a footnote, mark it and click on
24666  the footnote
24667 \family default
24668 \series default
24669 \bar default
24670  toolbar 
24671 \family roman
24672 \series medium
24673 \bar no
24674 button
24675 \family default
24676 \series default
24677 \bar default
24678 .
24679  To change a 
24680 \family roman
24681 \series medium
24682 \bar no
24683 footnote
24684 \family default
24685 \series default
24686 \bar default
24687  to text, press the Backspace key when the cursor is in the first position
24688  of a 
24689 \family roman
24690 \series medium
24691 \bar no
24692 footnote
24693 \family default
24694 \series default
24695 \bar default
24696 , or press the Delete key when the cursor is in the very last position of
24697  the 
24698 \family roman
24699 \series medium
24700 \bar no
24701 footnote
24702 \family default
24703 \series default
24704 \bar default
24705 , respectively.
24706 \end_layout
24707
24708 \begin_layout Standard
24709 Here is an example footnote:
24710 \family roman
24711 \series medium
24712 \bar no
24713
24714 \begin_inset Foot
24715 status open
24716
24717 \begin_layout Plain Layout
24718 \begin_inset CommandInset label
24719 LatexCommand label
24720 name "foot:This-is-an"
24721
24722 \end_inset
24723
24724 This is an example footnote.
24725 \end_layout
24726
24727 \end_inset
24728
24729
24730 \family default
24731 \series default
24732 \bar default
24733
24734 \begin_inset ERT
24735 status collapsed
24736
24737 \begin_layout Plain Layout
24738
24739
24740 \backslash
24741 newcounter{MyRepeatFoot}
24742 \end_layout
24743
24744 \begin_layout Plain Layout
24745
24746
24747 \backslash
24748 setcounter{MyRepeatFoot}{
24749 \backslash
24750 thefootnote}
24751 \end_layout
24752
24753 \end_inset
24754
24755
24756 \end_layout
24757
24758 \begin_layout Standard
24759 The footnote will appear in the output as a superscript number at the text
24760  position where the footnote box is placed.
24761  The footnote text is placed at the bottom of the current page.
24762  The footnote number is calculated by LaTeX; the numbers are consecutive.
24763  It depends on your document-class, whether the footnote number is reset
24764  for every chapter.
24765 \end_layout
24766
24767 \begin_layout Standard
24768 Footnotes can be referenced like floats: Insert a label into the footnote
24769  and cross-reference this label in the text as described in section
24770 \begin_inset space ~
24771 \end_inset
24772
24773
24774 \begin_inset CommandInset ref
24775 LatexCommand ref
24776 reference "sec:Referencing-Floats"
24777
24778 \end_inset
24779
24780 .
24781 \begin_inset Newline newline
24782 \end_inset
24783
24784 This is a cross-reference of Footnote
24785 \begin_inset space ~
24786 \end_inset
24787
24788
24789 \begin_inset CommandInset ref
24790 LatexCommand ref
24791 reference "foot:This-is-an"
24792
24793 \end_inset
24794
24795 .
24796 \end_layout
24797
24798 \begin_layout Standard
24799 \begin_inset VSpace defskip
24800 \end_inset
24801
24802 Footnotes in tables are not printed by LaTeX due to technical reasons.
24803  However there exists another method to print them: Instead of the footnote
24804  the command 
24805 \series bold
24806
24807 \backslash
24808 footnotemark{}
24809 \series default
24810  is inserted as TeX-code.
24811  The text of the footnote is entered as an argument of the TeX-code command
24812  
24813 \series bold
24814
24815 \backslash
24816 footnotetext
24817 \series default
24818  after the table.
24819 \begin_inset Newline newline
24820 \end_inset
24821
24822 This was done for the following table with the command
24823 \end_layout
24824
24825 \begin_layout Standard
24826
24827 \series bold
24828
24829 \backslash
24830 footnotetext{
24831 \series default
24832 Printed table footnote.
24833 \series bold
24834 }
24835 \end_layout
24836
24837 \begin_layout Standard
24838 \begin_inset Tabular
24839 <lyxtabular version="3" rows="2" columns="1">
24840 <features>
24841 <column alignment="center" valignment="top" width="0">
24842 <row>
24843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24844 \begin_inset Text
24845
24846 \begin_layout Plain Layout
24847 This an example text.
24848 \begin_inset Foot
24849 status open
24850
24851 \begin_layout Plain Layout
24852 This footnote will not be printed!
24853 \end_layout
24854
24855 \end_inset
24856
24857
24858 \end_layout
24859
24860 \end_inset
24861 </cell>
24862 </row>
24863 <row>
24864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24865 \begin_inset Text
24866
24867 \begin_layout Plain Layout
24868 This an example text.
24869 \begin_inset ERT
24870 status collapsed
24871
24872 \begin_layout Plain Layout
24873
24874
24875 \backslash
24876 footnotemark{}
24877 \end_layout
24878
24879 \end_inset
24880
24881
24882 \end_layout
24883
24884 \end_inset
24885 </cell>
24886 </row>
24887 </lyxtabular>
24888
24889 \end_inset
24890
24891
24892 \begin_inset ERT
24893 status collapsed
24894
24895 \begin_layout Plain Layout
24896
24897
24898 \backslash
24899 footnotetext{
24900 \end_layout
24901
24902 \end_inset
24903
24904 Printed table footnote.
24905 \begin_inset ERT
24906 status collapsed
24907
24908 \begin_layout Plain Layout
24909
24910 }
24911 \end_layout
24912
24913 \end_inset
24914
24915
24916 \end_layout
24917
24918 \begin_layout Standard
24919 Footnotes in longtables are described in section
24920 \begin_inset space ~
24921 \end_inset
24922
24923
24924 \begin_inset CommandInset ref
24925 LatexCommand ref
24926 reference "sub:Footnotes-in-Longtables"
24927
24928 \end_inset
24929
24930 .
24931 \end_layout
24932
24933 \begin_layout Standard
24934 Footnotes in minipage boxes are printed, but inside the box and with a different
24935  numbering because a minipage box is like a page inside a page.
24936  (For more about minipages, see section
24937 \begin_inset space ~
24938 \end_inset
24939
24940
24941 \begin_inset CommandInset ref
24942 LatexCommand ref
24943 reference "sec:Minipages"
24944
24945 \end_inset
24946
24947 .) To get a footnote in the minipage that is output at the bottom of the
24948  page like normal footnotes, also use the method of 
24949 \series bold
24950
24951 \backslash
24952 footnotemark{}
24953 \series default
24954  and 
24955 \series bold
24956
24957 \backslash
24958 footnotetext
24959 \series default
24960 .
24961 \end_layout
24962
24963 \begin_layout Standard
24964 \begin_inset Box Frameless
24965 position "t"
24966 hor_pos "c"
24967 has_inner_box 1
24968 inner_pos "t"
24969 use_parbox 0
24970 width "100col%"
24971 special "none"
24972 height "1in"
24973 height_special "totalheight"
24974 status open
24975
24976 \begin_layout Plain Layout
24977 This an example text in a minipage.
24978 \begin_inset Foot
24979 status open
24980
24981 \begin_layout Plain Layout
24982 Footnote in the minipage.
24983 \end_layout
24984
24985 \end_inset
24986
24987
24988 \end_layout
24989
24990 \begin_layout Plain Layout
24991 This an example text in a minipage.
24992 \begin_inset ERT
24993 status collapsed
24994
24995 \begin_layout Plain Layout
24996
24997
24998 \backslash
24999 footnotemark{}
25000 \end_layout
25001
25002 \end_inset
25003
25004
25005 \end_layout
25006
25007 \end_inset
25008
25009
25010 \end_layout
25011
25012 \begin_layout Standard
25013 \begin_inset ERT
25014 status collapsed
25015
25016 \begin_layout Plain Layout
25017
25018
25019 \backslash
25020 footnotetext{
25021 \end_layout
25022
25023 \end_inset
25024
25025 Footnote outside the minipage.
25026 \begin_inset ERT
25027 status collapsed
25028
25029 \begin_layout Plain Layout
25030
25031 }
25032 \end_layout
25033
25034 \end_inset
25035
25036
25037 \end_layout
25038
25039 \begin_layout Standard
25040 \begin_inset VSpace defskip
25041 \end_inset
25042
25043
25044 \end_layout
25045
25046 \begin_layout Standard
25047 To refer to the same footnote several times without printing the footnote
25048  text every time, use the command 
25049 \series bold
25050
25051 \backslash
25052 footnotemark[number]
25053 \series default
25054  in TeX-code.
25055 \begin_inset Newline newline
25056 \end_inset
25057
25058 As you do not know the number of the repeating footnote while you are writing
25059  the text, you have to store its number.
25060  For the following footnote mark example, these commands were inserted in
25061  TeX-code after Footnote
25062 \begin_inset space ~
25063 \end_inset
25064
25065
25066 \begin_inset CommandInset ref
25067 LatexCommand ref
25068 reference "foot:This-is-an"
25069
25070 \end_inset
25071
25072  to store the footnote number:
25073 \end_layout
25074
25075 \begin_layout Standard
25076
25077 \series bold
25078
25079 \backslash
25080 newcounter{MyRepeatFoot}
25081 \begin_inset Newline newline
25082 \end_inset
25083
25084
25085 \backslash
25086 setcounter{MyRepeatFoot}{
25087 \backslash
25088 thefootnote}
25089 \end_layout
25090
25091 \begin_layout Standard
25092 The footnote mark was then created with this command:
25093 \end_layout
25094
25095 \begin_layout Standard
25096
25097 \series bold
25098
25099 \backslash
25100 footnotemark[
25101 \backslash
25102 theMyRepeatFoot]
25103 \end_layout
25104
25105 \begin_layout Standard
25106 Here is a repeated footnote:
25107 \family roman
25108 \series medium
25109 \bar no
25110
25111 \begin_inset ERT
25112 status collapsed
25113
25114 \begin_layout Plain Layout
25115
25116
25117 \backslash
25118 footnotemark[
25119 \backslash
25120 theMyRepeatFoot]
25121 \end_layout
25122
25123 \end_inset
25124
25125
25126 \end_layout
25127
25128 \begin_layout Standard
25129 If you want to repeat the previous footnote, you can omit the storage of
25130  the footnote number and just use this command instead:
25131 \end_layout
25132
25133 \begin_layout Standard
25134
25135 \series bold
25136
25137 \backslash
25138 footnotemark[
25139 \backslash
25140 thefootnote]
25141 \end_layout
25142
25143 \begin_layout Standard
25144 Here is another repeated footnote:
25145 \family roman
25146 \series medium
25147 \bar no
25148
25149 \begin_inset ERT
25150 status collapsed
25151
25152 \begin_layout Plain Layout
25153
25154
25155 \backslash
25156 footnotemark[
25157 \backslash
25158 thefootnote]
25159 \end_layout
25160
25161 \end_inset
25162
25163
25164 \end_layout
25165
25166 \begin_layout Subsection
25167 Footnote Numbering
25168 \begin_inset CommandInset label
25169 LatexCommand label
25170 name "sub:Footnote-Numbering"
25171
25172 \end_inset
25173
25174
25175 \begin_inset Index
25176 status collapsed
25177
25178 \begin_layout Plain Layout
25179 Footnotes ! Numbering
25180 \end_layout
25181
25182 \end_inset
25183
25184
25185 \end_layout
25186
25187 \begin_layout Standard
25188 To reset the footnote number back to 1 after each section
25189 \family roman
25190 , add this command to your document preamble:
25191 \end_layout
25192
25193 \begin_layout Standard
25194
25195 \series bold
25196
25197 \backslash
25198 @addtoreset{footnote}{section}
25199 \end_layout
25200
25201 \begin_layout Standard
25202 \begin_inset VSpace bigskip
25203 \end_inset
25204
25205 The following preamble command changes the footnote numbering style to small
25206  roman numerals:
25207 \end_layout
25208
25209 \begin_layout Standard
25210
25211 \series bold
25212
25213 \backslash
25214 renewcommand{
25215 \backslash
25216 thefootnote}{
25217 \backslash
25218 roman{footnote}}
25219 \end_layout
25220
25221 \begin_layout Standard
25222 \begin_inset ERT
25223 status collapsed
25224
25225 \begin_layout Plain Layout
25226
25227
25228 \backslash
25229 renewcommand{
25230 \backslash
25231 thefootnote}{
25232 \backslash
25233 roman{footnote}}
25234 \end_layout
25235
25236 \end_inset
25237
25238  This is a footnote with roman numbering:
25239 \begin_inset Foot
25240 status open
25241
25242 \begin_layout Plain Layout
25243 This is an example footnote with roman numbering.
25244 \end_layout
25245
25246 \end_inset
25247
25248
25249 \end_layout
25250
25251 \begin_layout Standard
25252 To change the numbering style to capital roman numerals replace in the command
25253  above 
25254 \series bold
25255
25256 \backslash
25257 roman
25258 \series default
25259  by 
25260 \series bold
25261
25262 \backslash
25263 Roman
25264 \series default
25265 .
25266  To 
25267 \begin_inset Quotes eld
25268 \end_inset
25269
25270 number
25271 \begin_inset Quotes erd
25272 \end_inset
25273
25274  footnotes with capital or small Latin letters use 
25275 \series bold
25276
25277 \backslash
25278 Alph
25279 \series default
25280  or 
25281 \series bold
25282
25283 \backslash
25284 alph
25285 \series default
25286 , respectively.
25287  To 
25288 \begin_inset Quotes eld
25289 \end_inset
25290
25291 number
25292 \begin_inset Quotes erd
25293 \end_inset
25294
25295  footnotes with symbols use 
25296 \series bold
25297
25298 \backslash
25299 fnsymbol
25300 \series default
25301 .
25302 \end_layout
25303
25304 \begin_layout Standard
25305 \begin_inset Note Greyedout
25306 status open
25307
25308 \begin_layout Plain Layout
25309
25310 \series bold
25311 Note:
25312 \series default
25313  You can only number 26 footnotes with Latin letters, because this numbering
25314  is limited to single letters.
25315 \end_layout
25316
25317 \end_inset
25318
25319
25320 \begin_inset Newline newline
25321 \end_inset
25322
25323
25324 \begin_inset Note Greyedout
25325 status open
25326
25327 \begin_layout Plain Layout
25328
25329 \series bold
25330 Note:
25331 \series default
25332  You can only number 9 footnotes with symbols.
25333 \end_layout
25334
25335 \end_inset
25336
25337
25338 \end_layout
25339
25340 \begin_layout Standard
25341 To return to the default numbering style after you have changed to another
25342  one, use 
25343 \series bold
25344
25345 \backslash
25346 arabic
25347 \series default
25348  instead of 
25349 \series bold
25350
25351 \backslash
25352 roman
25353 \series default
25354  in the command above.
25355 \begin_inset ERT
25356 status collapsed
25357
25358 \begin_layout Plain Layout
25359
25360
25361 \backslash
25362 renewcommand{
25363 \backslash
25364 thefootnote}{
25365 \backslash
25366 arabic{footnote}}
25367 \end_layout
25368
25369 \end_inset
25370
25371
25372 \end_layout
25373
25374 \begin_layout Standard
25375 \begin_inset VSpace bigskip
25376 \end_inset
25377
25378
25379 \end_layout
25380
25381 \begin_layout Standard
25382 If you want to have footnotes numbered in the scheme 
25383 \begin_inset Quotes eld
25384 \end_inset
25385
25386 chapter.footnote
25387 \begin_inset Quotes erd
25388 \end_inset
25389
25390 , add the following command to your document preamble:
25391 \end_layout
25392
25393 \begin_layout Standard
25394
25395 \series bold
25396
25397 \backslash
25398 numberwithin{footnote}{chapter}
25399 \end_layout
25400
25401 \begin_layout Standard
25402 To be able to use the command 
25403 \series bold
25404
25405 \backslash
25406 numberwithin
25407 \series default
25408 , set in the tab 
25409 \family sans
25410 Math
25411 \begin_inset space ~
25412 \end_inset
25413
25414 Options
25415 \family default
25416  in the document settings the option 
25417 \family sans
25418 Use
25419 \begin_inset space ~
25420 \end_inset
25421
25422 AMS
25423 \begin_inset space ~
25424 \end_inset
25425
25426 math
25427 \begin_inset space ~
25428 \end_inset
25429
25430 package
25431 \family default
25432 .
25433 \end_layout
25434
25435 \begin_layout Standard
25436 \begin_inset ERT
25437 status collapsed
25438
25439 \begin_layout Plain Layout
25440
25441
25442 \backslash
25443 numberwithin{footnote}{chapter}
25444 \end_layout
25445
25446 \end_inset
25447
25448 This is another example footnote:
25449 \series bold
25450
25451 \begin_inset Foot
25452 status open
25453
25454 \begin_layout Plain Layout
25455 This is a footnote numbered in the scheme 
25456 \begin_inset Quotes eld
25457 \end_inset
25458
25459 chapter.footnote
25460 \begin_inset Quotes erd
25461 \end_inset
25462
25463 .
25464 \end_layout
25465
25466 \end_inset
25467
25468
25469 \series default
25470
25471 \begin_inset ERT
25472 status collapsed
25473
25474 \begin_layout Plain Layout
25475
25476
25477 \backslash
25478 renewcommand{
25479 \backslash
25480 thefootnote}{
25481 \backslash
25482 arabic{footnote}}
25483 \end_layout
25484
25485 \end_inset
25486
25487
25488 \end_layout
25489
25490 \begin_layout Standard
25491 \begin_inset Note Greyedout
25492 status open
25493
25494 \begin_layout Plain Layout
25495
25496 \series bold
25497 Note:
25498 \series default
25499  
25500 \series bold
25501
25502 \backslash
25503 numberwithin
25504 \series default
25505  always prints out the footnote number as arabic number; previous redefinitions
25506  to get non-arabic numbers are overwritten.
25507 \end_layout
25508
25509 \end_inset
25510
25511
25512 \end_layout
25513
25514 \begin_layout Standard
25515 So to get for example the scheme 
25516 \begin_inset Quotes eld
25517 \end_inset
25518
25519 chapter.
25520 \backslash
25521 Roman{footnote}
25522 \begin_inset Quotes erd
25523 \end_inset
25524
25525 , use this command instead of 
25526 \series bold
25527
25528 \backslash
25529 numberwithin
25530 \series default
25531 :
25532 \end_layout
25533
25534 \begin_layout Standard
25535
25536 \series bold
25537
25538 \backslash
25539 renewcommand{
25540 \backslash
25541 thefootnote}{
25542 \backslash
25543 thechapter.
25544 \backslash
25545 Roman{footnote}}
25546 \end_layout
25547
25548 \begin_layout Subsection
25549 Footnote Placement
25550 \begin_inset Index
25551 status collapsed
25552
25553 \begin_layout Plain Layout
25554 Footnotes ! Placement
25555 \end_layout
25556
25557 \end_inset
25558
25559
25560 \end_layout
25561
25562 \begin_layout Standard
25563 If you have several footnotes in one page, they appear without vertical
25564  space between them at the bottom of the page.
25565  To make them more readable you can e.
25566 \begin_inset space \thinspace{}
25567 \end_inset
25568
25569 g.
25570 \begin_inset space \space{}
25571 \end_inset
25572
25573 add 1.5
25574 \begin_inset space \thinspace{}
25575 \end_inset
25576
25577 mm space with the following preamble command:
25578 \end_layout
25579
25580 \begin_layout Standard
25581
25582 \series bold
25583
25584 \backslash
25585 let
25586 \backslash
25587 myFoot
25588 \backslash
25589 footnote
25590 \begin_inset Newline newline
25591 \end_inset
25592
25593
25594 \backslash
25595 renewcommand{
25596 \backslash
25597 footnote}[1]{
25598 \backslash
25599 myFoot{#1
25600 \backslash
25601 vspace{1.5mm}}}
25602 \end_layout
25603
25604 \begin_layout Standard
25605 \begin_inset VSpace bigskip
25606 \end_inset
25607
25608 In a two-column document the footnotes appear at the bottom of every column,
25609  see Figure
25610 \begin_inset space ~
25611 \end_inset
25612
25613
25614 \begin_inset CommandInset ref
25615 LatexCommand ref
25616 reference "fig:Standard-footnote-placement"
25617
25618 \end_inset
25619
25620 .
25621  If the footnotes should only appear at the bottom of the right column,
25622  as in Figure
25623 \begin_inset space ~
25624 \end_inset
25625
25626
25627 \begin_inset CommandInset ref
25628 LatexCommand ref
25629 reference "fig:Footnote-placement-in"
25630
25631 \end_inset
25632
25633 , use the LaTeX-package 
25634 \series bold
25635 ftnright
25636 \series default
25637
25638 \begin_inset Index
25639 status collapsed
25640
25641 \begin_layout Plain Layout
25642 LaTeX-packages ! ftnright
25643 \end_layout
25644
25645 \end_inset
25646
25647  with this command in the document preamble:
25648 \end_layout
25649
25650 \begin_layout Standard
25651
25652 \series bold
25653
25654 \backslash
25655 usepackage{ftnright}
25656 \end_layout
25657
25658 \begin_layout Standard
25659 \begin_inset Float figure
25660 placement !h
25661 wide false
25662 sideways false
25663 status open
25664
25665 \begin_layout Plain Layout
25666 \begin_inset ERT
25667 status collapsed
25668
25669 \begin_layout Plain Layout
25670
25671
25672 \backslash
25673 framebox{
25674 \end_layout
25675
25676 \end_inset
25677
25678
25679 \begin_inset Graphics
25680         filename clipart/without_fntright.pdf
25681         width 100col%
25682         scaleBeforeRotation
25683
25684 \end_inset
25685
25686
25687 \begin_inset ERT
25688 status collapsed
25689
25690 \begin_layout Plain Layout
25691
25692 }
25693 \end_layout
25694
25695 \end_inset
25696
25697
25698 \end_layout
25699
25700 \begin_layout Plain Layout
25701 \begin_inset Caption
25702
25703 \begin_layout Plain Layout
25704 \begin_inset CommandInset label
25705 LatexCommand label
25706 name "fig:Standard-footnote-placement"
25707
25708 \end_inset
25709
25710 Standard footnote placement in two-column documents.
25711 \end_layout
25712
25713 \end_inset
25714
25715
25716 \end_layout
25717
25718 \end_inset
25719
25720
25721 \end_layout
25722
25723 \begin_layout Standard
25724 \begin_inset Float figure
25725 placement !h
25726 wide false
25727 sideways false
25728 status open
25729
25730 \begin_layout Plain Layout
25731 \begin_inset ERT
25732 status collapsed
25733
25734 \begin_layout Plain Layout
25735
25736
25737 \backslash
25738 framebox{
25739 \end_layout
25740
25741 \end_inset
25742
25743
25744 \begin_inset Graphics
25745         filename clipart/with_fntright.pdf
25746         width 100col%
25747         scaleBeforeRotation
25748
25749 \end_inset
25750
25751
25752 \begin_inset ERT
25753 status collapsed
25754
25755 \begin_layout Plain Layout
25756
25757 }
25758 \end_layout
25759
25760 \end_inset
25761
25762
25763 \end_layout
25764
25765 \begin_layout Plain Layout
25766 \begin_inset Caption
25767
25768 \begin_layout Plain Layout
25769 \begin_inset CommandInset label
25770 LatexCommand label
25771 name "fig:Footnote-placement-in"
25772
25773 \end_inset
25774
25775 Footnote placement in two-column documents when the LaTeX-package 
25776 \series bold
25777 ftnright
25778 \series default
25779  is used.
25780 \end_layout
25781
25782 \end_inset
25783
25784
25785 \end_layout
25786
25787 \end_inset
25788
25789
25790 \end_layout
25791
25792 \begin_layout Standard
25793 \begin_inset VSpace bigskip
25794 \end_inset
25795
25796 In some scientific literature it is usual to collect the footnotes and print
25797  them in a separate paragraph at the end of a section, as in Figure
25798 \begin_inset space ~
25799 \end_inset
25800
25801
25802 \begin_inset CommandInset ref
25803 LatexCommand ref
25804 reference "fig:Endnotes"
25805
25806 \end_inset
25807
25808 .
25809  They are then called 
25810 \begin_inset Quotes eld
25811 \end_inset
25812
25813 endnotes
25814 \begin_inset Quotes erd
25815 \end_inset
25816
25817 .
25818 \begin_inset Index
25819 status collapsed
25820
25821 \begin_layout Plain Layout
25822 Endnotes
25823 \end_layout
25824
25825 \end_inset
25826
25827  To use endnotes instead of footnotes in your document, load in the menu
25828  
25829 \family sans
25830 Document\SpecialChar \menuseparator
25831 Settings\SpecialChar \menuseparator
25832 Modules 
25833 \family default
25834 the module 
25835 \family sans
25836 Foot
25837 \begin_inset space ~
25838 \end_inset
25839
25840 to
25841 \begin_inset space ~
25842 \end_inset
25843
25844 End
25845 \family default
25846 .
25847  To insert the collected footnotes, insert the command
25848 \end_layout
25849
25850 \begin_layout Standard
25851
25852 \series bold
25853
25854 \backslash
25855 theendnotes
25856 \end_layout
25857
25858 \begin_layout Standard
25859 in TeX-Code at the end of a section or chapter.
25860 \end_layout
25861
25862 \begin_layout Standard
25863 \begin_inset Float figure
25864 wide false
25865 sideways false
25866 status open
25867
25868 \begin_layout Plain Layout
25869 \align center
25870 \begin_inset ERT
25871 status collapsed
25872
25873 \begin_layout Plain Layout
25874
25875
25876 \backslash
25877 framebox{
25878 \end_layout
25879
25880 \end_inset
25881
25882
25883 \begin_inset Graphics
25884         filename clipart/endnotes.pdf
25885         scaleBeforeRotation
25886
25887 \end_inset
25888
25889
25890 \begin_inset ERT
25891 status collapsed
25892
25893 \begin_layout Plain Layout
25894
25895 }
25896 \end_layout
25897
25898 \end_inset
25899
25900
25901 \end_layout
25902
25903 \begin_layout Plain Layout
25904 \begin_inset Caption
25905
25906 \begin_layout Plain Layout
25907 \begin_inset CommandInset label
25908 LatexCommand label
25909 name "fig:Endnotes"
25910
25911 \end_inset
25912
25913 Endnotes – footnotes are printed in a separate paragraph at the end of sections
25914  or chapters.
25915 \end_layout
25916
25917 \end_inset
25918
25919
25920 \end_layout
25921
25922 \end_inset
25923
25924
25925 \end_layout
25926
25927 \begin_layout Standard
25928 \begin_inset VSpace medskip
25929 \end_inset
25930
25931 The paragraph heading for the endnotes isn't automatically translated into
25932  the document language, this must be done manually.
25933  The following preamble command translates the default English 
25934 \begin_inset Quotes eld
25935 \end_inset
25936
25937 Notes
25938 \begin_inset Quotes erd
25939 \end_inset
25940
25941  into the German 
25942 \begin_inset Quotes eld
25943 \end_inset
25944
25945 Anmerkungen
25946 \begin_inset Quotes erd
25947 \end_inset
25948
25949 :
25950 \end_layout
25951
25952 \begin_layout Standard
25953
25954 \series bold
25955
25956 \backslash
25957 renewcommand{
25958 \backslash
25959 notesname}{Anmerkungen}
25960 \end_layout
25961
25962 \begin_layout Standard
25963 \begin_inset VSpace medskip
25964 \end_inset
25965
25966 The numbering of endnotes can be changed like the footnote numbering as
25967  described in section
25968 \begin_inset space ~
25969 \end_inset
25970
25971
25972 \begin_inset CommandInset ref
25973 LatexCommand ref
25974 reference "sub:Footnote-Numbering"
25975
25976 \end_inset
25977
25978 ; just replace the command 
25979 \series bold
25980
25981 \backslash
25982 thefootnote
25983 \series default
25984  by 
25985 \series bold
25986
25987 \backslash
25988 theendnote
25989 \series default
25990 .
25991  To reset the endnote number use the command 
25992 \series bold
25993
25994 \backslash
25995 @addtoreset
25996 \series default
25997  as described in section
25998 \begin_inset space ~
25999 \end_inset
26000
26001
26002 \begin_inset CommandInset ref
26003 LatexCommand ref
26004 reference "sub:Footnote-Numbering"
26005
26006 \end_inset
26007
26008  and replace the command parameter 
26009 \series bold
26010 footnote
26011 \series default
26012  by 
26013 \series bold
26014 endnote
26015 \series default
26016 .
26017 \end_layout
26018
26019 \begin_layout Standard
26020 For endnotes there is the command 
26021 \series bold
26022
26023 \backslash
26024 endnotemark[number]
26025 \series default
26026  similar to the command 
26027 \series bold
26028
26029 \backslash
26030 footnotemark
26031 \series default
26032 , that is described in section
26033 \begin_inset space ~
26034 \end_inset
26035
26036
26037 \begin_inset CommandInset ref
26038 LatexCommand ref
26039 reference "sec:Footnotes"
26040
26041 \end_inset
26042
26043 .
26044 \end_layout
26045
26046 \begin_layout Standard
26047 \begin_inset VSpace bigskip
26048 \end_inset
26049
26050 Footnotes can also be placed in the page margin and the footnote text alignment
26051  can be changed, see the LaTeX-package 
26052 \series bold
26053 footmisc
26054 \series default
26055
26056 \begin_inset Index
26057 status collapsed
26058
26059 \begin_layout Plain Layout
26060 LaTeX-packages ! footmisc
26061 \end_layout
26062
26063 \end_inset
26064
26065
26066 \begin_inset CommandInset citation
26067 LatexCommand cite
26068 key "footmisc"
26069
26070 \end_inset
26071
26072  for more information about this.
26073 \end_layout
26074
26075 \begin_layout Standard
26076 For various further footnote formatting issues have a look at LaTeX-books,
26077  
26078 \begin_inset CommandInset citation
26079 LatexCommand cite
26080 key "latexcompanion,latexguide,latexbook"
26081
26082 \end_inset
26083
26084 .
26085 \end_layout
26086
26087 \begin_layout Section
26088 Margin Notes
26089 \begin_inset Index
26090 status collapsed
26091
26092 \begin_layout Plain Layout
26093 Notes ! Margin Notes
26094 \end_layout
26095
26096 \end_inset
26097
26098
26099 \end_layout
26100
26101 \begin_layout Standard
26102 Margin notes look and behave in LyX like footnotes.
26103  They are inserted via the menu 
26104 \family sans
26105 Insert\SpecialChar \menuseparator
26106 Marginal
26107 \begin_inset space ~
26108 \end_inset
26109
26110 Note
26111 \family default
26112  or the toolbar button 
26113 \begin_inset Graphics
26114         filename ../images/marginalnote-insert.png
26115         scale 85
26116         scaleBeforeRotation
26117
26118 \end_inset
26119
26120 .
26121  A grey 
26122 \family roman
26123 \series medium
26124 box with the
26125 \family default
26126 \series default
26127  red 
26128 \family roman
26129 \series medium
26130 label 
26131 \begin_inset Quotes eld
26132 \end_inset
26133
26134 margin
26135 \begin_inset Quotes erd
26136 \end_inset
26137
26138  appears where you can enter the text of the margin note.
26139 \end_layout
26140
26141 \begin_layout Standard
26142 At the side is an example margin note.
26143
26144 \family roman
26145 \series medium
26146  
26147 \begin_inset Marginal
26148 status open
26149
26150 \begin_layout Plain Layout
26151 This is a margin note.
26152 \end_layout
26153
26154 \end_inset
26155
26156
26157 \end_layout
26158
26159 \begin_layout Standard
26160 Margin notes appear at the right side in single-sided documents.
26161  In double-sided documents they appear in the outer margin – left on even
26162  pages, right on odd pages.
26163  The text of margin notes is aligned opposite to the outer margin – right-aligne
26164 d when the note appears in the left margin.
26165  The first line of the margin note is placed at the position of the text
26166  line where it is inserted in the document.
26167 \end_layout
26168
26169 \begin_layout Standard
26170 \begin_inset VSpace bigskip
26171 \end_inset
26172
26173 To place the margin note in the inner margin, add the command
26174 \end_layout
26175
26176 \begin_layout Standard
26177
26178 \series bold
26179
26180 \backslash
26181 reversemarginpar
26182 \end_layout
26183
26184 \begin_layout Standard
26185 in TeX-Code before a margin note.
26186  The new placement is valid for all subsequent margin notes.
26187  
26188 \begin_inset ERT
26189 status collapsed
26190
26191 \begin_layout Plain Layout
26192
26193
26194 \backslash
26195 reversemarginpar 
26196 \end_layout
26197
26198 \end_inset
26199
26200
26201 \begin_inset Marginal
26202 status open
26203
26204 \begin_layout Plain Layout
26205 This is a margin note in the inner margin.
26206 \end_layout
26207
26208 \end_inset
26209
26210
26211 \series bold
26212
26213 \begin_inset Newline newline
26214 \end_inset
26215
26216
26217 \series default
26218
26219 \begin_inset Note Greyedout
26220 status open
26221
26222 \begin_layout Plain Layout
26223
26224 \series bold
26225 Note:
26226 \series default
26227  There is often not enough space in the inner margin so that the notes are
26228  not correctly displayed in the output.
26229 \end_layout
26230
26231 \end_inset
26232
26233
26234 \end_layout
26235
26236 \begin_layout Standard
26237 To return to the default placement insert the command
26238 \end_layout
26239
26240 \begin_layout Standard
26241
26242 \series bold
26243
26244 \backslash
26245 normalmarginpar
26246 \end_layout
26247
26248 \begin_layout Standard
26249 in TeX-Code.
26250 \begin_inset ERT
26251 status collapsed
26252
26253 \begin_layout Plain Layout
26254
26255
26256 \backslash
26257 normalmarginpar 
26258 \end_layout
26259
26260 \end_inset
26261
26262  
26263 \begin_inset Note Greyedout
26264 status open
26265
26266 \begin_layout Plain Layout
26267
26268 \series bold
26269 Note:
26270 \series default
26271  The command is ignored when it is within a paragraph where also the command
26272  
26273 \series bold
26274
26275 \backslash
26276 reversemarginpar
26277 \series default
26278  is inserted.
26279 \end_layout
26280
26281 \end_inset
26282
26283
26284 \end_layout
26285
26286 \begin_layout Standard
26287 \begin_inset VSpace bigskip
26288 \end_inset
26289
26290
26291 \family roman
26292 \series medium
26293
26294 \begin_inset Marginal
26295 status open
26296
26297 \begin_layout Plain Layout
26298 AVeryLongMarginParWord that isn't hyphenated.
26299 \end_layout
26300
26301 \end_inset
26302
26303
26304 \family default
26305 \series default
26306  Similar to the case described in section
26307 \begin_inset space ~
26308 \end_inset
26309
26310
26311 \begin_inset CommandInset ref
26312 LatexCommand ref
26313 reference "sub:Multiple-Lines-in"
26314
26315 \end_inset
26316
26317 , long words cannot be hyphenated when they are the first word in a margin
26318  note.
26319  To avoid this, insert 0
26320 \begin_inset space \thinspace{}
26321 \end_inset
26322
26323 pt horizontal space before the word
26324 \family roman
26325 \series medium
26326 .
26327  
26328 \begin_inset Marginal
26329 status open
26330
26331 \begin_layout Plain Layout
26332 \begin_inset space \hspace*{}
26333 \length 0pt
26334 \end_inset
26335
26336 AVeryLongMarginParWord that is hyphenated.
26337 \end_layout
26338
26339 \end_inset
26340
26341
26342 \end_layout
26343
26344 \begin_layout Standard
26345 \begin_inset VSpace bigskip
26346 \end_inset
26347
26348
26349 \end_layout
26350
26351 \begin_layout Standard
26352 \begin_inset Note Greyedout
26353 status open
26354
26355 \begin_layout Plain Layout
26356
26357 \series bold
26358 Note:
26359 \series default
26360  Margin notes can normally not be used inside tables, floats, and footnotes.
26361 \end_layout
26362
26363 \end_inset
26364
26365
26366 \end_layout
26367
26368 \begin_layout Standard
26369 \begin_inset VSpace bigskip
26370 \end_inset
26371
26372
26373 \end_layout
26374
26375 \begin_layout Standard
26376 \begin_inset ERT
26377 status collapsed
26378
26379 \begin_layout Plain Layout
26380
26381
26382 \backslash
26383 ifmarginnote
26384 \end_layout
26385
26386 \end_inset
26387
26388
26389 \begin_inset Note Note
26390 status open
26391
26392 \begin_layout Plain Layout
26393 The following section will only be displayed when the LaTeX-package 
26394 \series bold
26395 marginnote
26396 \series default
26397  is installed.
26398 \end_layout
26399
26400 \end_inset
26401
26402
26403 \end_layout
26404
26405 \begin_layout Standard
26406 This restriction can be evaded by using the LaTeX-package 
26407 \series bold
26408 marginnote
26409 \series default
26410
26411 \begin_inset Index
26412 status collapsed
26413
26414 \begin_layout Plain Layout
26415 LaTeX-packages ! marginnote
26416 \end_layout
26417
26418 \end_inset
26419
26420 .
26421  By adding these two lines to your document preamble, the command used by
26422  LyX for margin notes is redefined to use the command provided by the 
26423 \series bold
26424 marginnote
26425 \series default
26426 -package:
26427 \end_layout
26428
26429 \begin_layout Standard
26430
26431 \series bold
26432
26433 \backslash
26434 usepackage{marginnote}
26435 \begin_inset Newline newline
26436 \end_inset
26437
26438
26439 \backslash
26440 let
26441 \backslash
26442 marginpar
26443 \backslash
26444 marginnote
26445 \end_layout
26446
26447 \begin_layout Standard
26448 This is also used in this document because 
26449 \series bold
26450 marginnote
26451 \series default
26452  has another useful feature: You can set a vertical offset for the note.
26453  This is often needed when too many margin notes are too close together
26454  or for a better page layout.
26455  The offset is set in LyX as TeX-Code directly after the margin note in
26456  the scheme
26457 \end_layout
26458
26459 \begin_layout Standard
26460
26461 \series bold
26462 [offset]
26463 \end_layout
26464
26465 \begin_layout Standard
26466 where the offset is a length with one of the units listed in Table
26467 \begin_inset space ~
26468 \end_inset
26469
26470
26471 \begin_inset CommandInset ref
26472 LatexCommand ref
26473 reference "tab:Units"
26474
26475 \end_inset
26476
26477 .
26478  A negative value shifts the note up, a positive value shifts it down.
26479  
26480 \family roman
26481 \series medium
26482 For example the margin note beside this text line is shifted up 1.5
26483 \begin_inset space \thinspace{}
26484 \end_inset
26485
26486 cm with the TeX-Code-command 
26487 \begin_inset Quotes eld
26488 \end_inset
26489
26490
26491 \family default
26492 \series bold
26493 [-1.5cm]
26494 \family roman
26495 \series medium
26496
26497 \begin_inset Quotes erd
26498 \end_inset
26499
26500
26501 \begin_inset Marginal
26502 status open
26503
26504 \begin_layout Plain Layout
26505 This margin note is shifted up 1.5
26506 \begin_inset space \thinspace{}
26507 \end_inset
26508
26509 cm from its original position.
26510 \end_layout
26511
26512 \end_inset
26513
26514
26515 \family default
26516 \series default
26517
26518 \begin_inset ERT
26519 status collapsed
26520
26521 \begin_layout Plain Layout
26522
26523 [-1.5cm]
26524 \end_layout
26525
26526 \end_inset
26527
26528
26529 \end_layout
26530
26531 \begin_layout Standard
26532 \begin_inset VSpace medskip
26533 \end_inset
26534
26535 With 
26536 \series bold
26537 marginnote
26538 \series default
26539  you can also change the alignment of the text in the margin note.
26540  For example the commands
26541 \end_layout
26542
26543 \begin_layout Standard
26544
26545 \series bold
26546
26547 \backslash
26548 renewcommand*{
26549 \backslash
26550 raggedleftmarginnote}{
26551 \backslash
26552 centering}
26553 \begin_inset Newline newline
26554 \end_inset
26555
26556
26557 \backslash
26558 renewcommand*{
26559 \backslash
26560 raggedrightmarginnote}{
26561 \backslash
26562 centering}
26563 \end_layout
26564
26565 \begin_layout Standard
26566 set the alignment to centered.
26567  
26568 \series bold
26569
26570 \backslash
26571 raggedleftmarginnote
26572 \series default
26573  denotes margin notes that appear at the left side.
26574 \family roman
26575 \series medium
26576
26577 \begin_inset ERT
26578 status collapsed
26579
26580 \begin_layout Plain Layout
26581
26582
26583 \backslash
26584 renewcommand*{
26585 \backslash
26586 raggedleftmarginnote}{
26587 \backslash
26588 centering}
26589 \end_layout
26590
26591 \begin_layout Plain Layout
26592
26593
26594 \backslash
26595 renewcommand*{
26596 \backslash
26597 raggedrightmarginnote}{
26598 \backslash
26599 centering}
26600 \end_layout
26601
26602 \end_inset
26603
26604
26605 \begin_inset Marginal
26606 status open
26607
26608 \begin_layout Plain Layout
26609 The text of this margin note is centered.
26610 \end_layout
26611
26612 \end_inset
26613
26614
26615 \family default
26616 \series default
26617  The default is
26618 \end_layout
26619
26620 \begin_layout Standard
26621
26622 \series bold
26623
26624 \backslash
26625 renewcommand*{
26626 \backslash
26627 raggedleftmarginnote}{
26628 \backslash
26629 raggedleft}
26630 \begin_inset Newline newline
26631 \end_inset
26632
26633
26634 \backslash
26635 renewcommand*{
26636 \backslash
26637 raggedrightmarginnote}{
26638 \backslash
26639 raggedright}
26640 \family roman
26641 \series medium
26642
26643 \begin_inset ERT
26644 status collapsed
26645
26646 \begin_layout Plain Layout
26647
26648
26649 \backslash
26650 renewcommand*{
26651 \backslash
26652 raggedleftmarginnote}{
26653 \backslash
26654 raggedleft}
26655 \end_layout
26656
26657 \begin_layout Plain Layout
26658
26659
26660 \backslash
26661 renewcommand*{
26662 \backslash
26663 raggedrightmarginnote}{
26664 \backslash
26665 raggedright}
26666 \end_layout
26667
26668 \end_inset
26669
26670
26671 \end_layout
26672
26673 \begin_layout Standard
26674 \begin_inset VSpace medskip
26675 \end_inset
26676
26677 For the other features of 
26678 \series bold
26679 marginnote
26680 \series default
26681  refer to its documentation 
26682 \begin_inset CommandInset citation
26683 LatexCommand cite
26684 key "marginnote"
26685
26686 \end_inset
26687
26688 .
26689 \end_layout
26690
26691 \begin_layout Standard
26692 \begin_inset VSpace bigskip
26693 \end_inset
26694
26695 You can adjust the layout of margin notes by changing its definition.
26696  To create for example a header for all margin notes with the underlined,
26697  sans-serif, and bold header text 
26698 \begin_inset Quotes eld
26699 \end_inset
26700
26701
26702 \family sans
26703 \series bold
26704 \bar under
26705 Attention!
26706 \family default
26707 \series default
26708 \bar default
26709
26710 \begin_inset Quotes erd
26711 \end_inset
26712
26713 , add this to your document preamble:
26714 \end_layout
26715
26716 \begin_layout Standard
26717
26718 \series bold
26719
26720 \backslash
26721 let
26722 \backslash
26723 myMarginpar
26724 \backslash
26725 marginpar
26726 \begin_inset Newline newline
26727 \end_inset
26728
26729
26730 \backslash
26731 renewcommand{
26732 \backslash
26733 marginpar}[1]{
26734 \backslash
26735 myMarginpar{%
26736 \begin_inset Newline newline
26737 \end_inset
26738
26739
26740 \begin_inset ERT
26741 status collapsed
26742
26743 \begin_layout Plain Layout
26744
26745
26746 \backslash
26747 hphantom{ }
26748 \end_layout
26749
26750 \end_inset
26751
26752
26753 \backslash
26754 hspace{0pt}
26755 \backslash
26756 textsf{
26757 \backslash
26758 textbf{
26759 \backslash
26760 underbar{Attention!}}}%
26761 \begin_inset Newline newline
26762 \end_inset
26763
26764
26765 \begin_inset ERT
26766 status collapsed
26767
26768 \begin_layout Plain Layout
26769
26770
26771 \backslash
26772 hphantom{ }
26773 \end_layout
26774
26775 \end_inset
26776
26777
26778 \backslash
26779 vspace{1.5mm}
26780 \backslash
26781
26782 \backslash
26783 #1}}
26784 \end_layout
26785
26786 \begin_layout Standard
26787
26788 \family roman
26789 \series medium
26790 \begin_inset ERT
26791 status collapsed
26792
26793 \begin_layout Plain Layout
26794
26795
26796 \backslash
26797 let
26798 \backslash
26799 myMarginpar
26800 \backslash
26801 marginpar
26802 \end_layout
26803
26804 \begin_layout Plain Layout
26805
26806
26807 \backslash
26808 renewcommand{
26809 \backslash
26810 marginpar}[1]{
26811 \backslash
26812 myMarginpar{%
26813 \end_layout
26814
26815 \begin_layout Plain Layout
26816
26817    
26818 \backslash
26819 textsf{
26820 \backslash
26821 textbf{
26822 \backslash
26823 underbar{Attention!}}}%
26824 \end_layout
26825
26826 \begin_layout Plain Layout
26827
26828    
26829 \backslash
26830 vspace{1.5mm}
26831 \backslash
26832
26833 \backslash
26834 #1}}
26835 \end_layout
26836
26837 \end_inset
26838
26839
26840 \begin_inset Marginal
26841 status open
26842
26843 \begin_layout Plain Layout
26844 This is a margin note with a defined heading.
26845 \end_layout
26846
26847 \end_inset
26848
26849
26850 \family default
26851 \series default
26852
26853 \begin_inset ERT
26854 status collapsed
26855
26856 \begin_layout Plain Layout
26857
26858 [-1.5cm]
26859 \end_layout
26860
26861 \end_inset
26862
26863
26864 \family roman
26865 \series medium
26866
26867 \begin_inset ERT
26868 status collapsed
26869
26870 \begin_layout Plain Layout
26871
26872
26873 \backslash
26874 renewcommand{
26875 \backslash
26876 marginpar}[1]{
26877 \backslash
26878 myMarginpar{#1}}
26879 \end_layout
26880
26881 \end_inset
26882
26883
26884 \family default
26885 \series default
26886
26887 \begin_inset Note Note
26888 status collapsed
26889
26890 \begin_layout Plain Layout
26891 The margin note format is changed only for this example.
26892 \end_layout
26893
26894 \end_inset
26895
26896
26897 \end_layout
26898
26899 \begin_layout Standard
26900 \begin_inset ERT
26901 status collapsed
26902
26903 \begin_layout Plain Layout
26904
26905
26906 \backslash
26907 else
26908 \end_layout
26909
26910 \end_inset
26911
26912
26913 \begin_inset Note Note
26914 status open
26915
26916 \begin_layout Plain Layout
26917 The following will be displayed when the LaTeX-package 
26918 \series bold
26919 marginnote
26920 \series default
26921  is not installed:
26922 \end_layout
26923
26924 \end_inset
26925
26926
26927 \end_layout
26928
26929 \begin_layout Standard
26930 You need to install the LaTeX-package 
26931 \series bold
26932 marginnote
26933 \series default
26934  to see the following part of this section in the output.
26935 \end_layout
26936
26937 \begin_layout Standard
26938 \begin_inset ERT
26939 status collapsed
26940
26941 \begin_layout Plain Layout
26942
26943
26944 \backslash
26945 fi
26946 \end_layout
26947
26948 \end_inset
26949
26950
26951 \end_layout
26952
26953 \begin_layout Chapter
26954 Boxes
26955 \end_layout
26956
26957 \begin_layout Section
26958 Introduction
26959 \begin_inset Index
26960 status collapsed
26961
26962 \begin_layout Plain Layout
26963 Boxes ! Introduction
26964 \end_layout
26965
26966 \end_inset
26967
26968
26969 \end_layout
26970
26971 \begin_layout Standard
26972 Boxes are used to format a block of text.
26973  Boxes can be used to write documents with multiple languages, see section
26974 \begin_inset space ~
26975 \end_inset
26976
26977
26978 \begin_inset CommandInset ref
26979 LatexCommand ref
26980 reference "sec:Minipages"
26981
26982 \end_inset
26983
26984 , to frame texts, see section
26985 \begin_inset space ~
26986 \end_inset
26987
26988
26989 \begin_inset CommandInset ref
26990 LatexCommand ref
26991 reference "sec:Decoration"
26992
26993 \end_inset
26994
26995 , to prevent words from being hyphenated, see section
26996 \begin_inset space ~
26997 \end_inset
26998
26999
27000 \begin_inset CommandInset ref
27001 LatexCommand ref
27002 reference "sec:Prevent-Hyphenation"
27003
27004 \end_inset
27005
27006 , to align text, see section
27007 \begin_inset space ~
27008 \end_inset
27009
27010
27011 \begin_inset CommandInset ref
27012 LatexCommand ref
27013 reference "sub:Vertical-Alignment"
27014
27015 \end_inset
27016
27017 , or to set the background color of texts, see section
27018 \begin_inset space ~
27019 \end_inset
27020
27021
27022 \begin_inset CommandInset ref
27023 LatexCommand ref
27024 reference "sec:Colored-Boxes"
27025
27026 \end_inset
27027
27028 .
27029 \end_layout
27030
27031 \begin_layout Standard
27032 Boxes can be inserted with the menu 
27033 \family sans
27034 Insert\SpecialChar \menuseparator
27035 Box
27036 \family default
27037  or the toolbar button 
27038 \begin_inset Graphics
27039         filename ../images/box-insert.png
27040         scale 85
27041         scaleBeforeRotation
27042
27043 \end_inset
27044
27045 .
27046  A grey box with the label 
27047 \family sans
27048 Box (Minipage)
27049 \family default
27050
27051 \begin_inset Graphics
27052         filename clipart/BoxInsetDefaultQt4.png
27053         scale 85
27054         scaleBeforeRotation
27055
27056 \end_inset
27057
27058  will be inserted.
27059  The box type can be specified by right-clicking on the box and selecting
27060  
27061 \family sans
27062 Settings
27063 \family default
27064 .
27065  The box dialog offers the 
27066 \family sans
27067 Inner
27068 \begin_inset space ~
27069 \end_inset
27070
27071 Box
27072 \family default
27073  types 
27074 \family sans
27075 Parbox
27076 \family default
27077  and 
27078 \family sans
27079 Minipage
27080 \family default
27081 .
27082  The type 
27083 \family sans
27084 Minipage
27085 \family default
27086  is the default for new boxes and is explained in section
27087 \begin_inset space ~
27088 \end_inset
27089
27090
27091 \begin_inset CommandInset ref
27092 LatexCommand ref
27093 reference "sec:Minipages"
27094
27095 \end_inset
27096
27097 ; the type 
27098 \family sans
27099 Parbox
27100 \family default
27101  is described in section
27102 \begin_inset space ~
27103 \end_inset
27104
27105
27106 \begin_inset CommandInset ref
27107 LatexCommand ref
27108 reference "sec:Parboxes"
27109
27110 \end_inset
27111
27112 .
27113 \end_layout
27114
27115 \begin_layout Standard
27116 Boxes are not numbered and can therefore not be referenced like floats or
27117  footnotes.
27118 \end_layout
27119
27120 \begin_layout Standard
27121 \begin_inset Note Greyedout
27122 status open
27123
27124 \begin_layout Plain Layout
27125
27126 \series bold
27127 Note:
27128 \series default
27129  Boxes must not be the item in an 
27130 \family sans
27131 Itemize
27132 \family default
27133  or 
27134 \family sans
27135 Description
27136 \family default
27137  environment.
27138 \end_layout
27139
27140 \end_inset
27141
27142
27143 \end_layout
27144
27145 \begin_layout Standard
27146 \begin_inset Note Greyedout
27147 status open
27148
27149 \begin_layout Plain Layout
27150
27151 \series bold
27152 Note:
27153 \series default
27154  For an unknown reason you can only set the 
27155 \family sans
27156 Inner
27157 \begin_inset space ~
27158 \end_inset
27159
27160 Box
27161 \family default
27162  type to 
27163 \family sans
27164 None
27165 \family default
27166  when you use a framed box.
27167  Boxes without an 
27168 \family sans
27169 Inner
27170 \begin_inset space ~
27171 \end_inset
27172
27173 Box
27174 \family default
27175  type and without frames are explained in section
27176 \begin_inset space ~
27177 \end_inset
27178
27179
27180 \begin_inset CommandInset ref
27181 LatexCommand ref
27182 reference "sec:Prevent-Hyphenation"
27183
27184 \end_inset
27185
27186 .
27187 \end_layout
27188
27189 \end_inset
27190
27191
27192 \end_layout
27193
27194 \begin_layout Section
27195 Box Dialog
27196 \begin_inset CommandInset label
27197 LatexCommand label
27198 name "sec:Box-Dialog"
27199
27200 \end_inset
27201
27202
27203 \begin_inset Index
27204 status collapsed
27205
27206 \begin_layout Plain Layout
27207 Boxes ! Box Dialog
27208 \end_layout
27209
27210 \end_inset
27211
27212
27213 \end_layout
27214
27215 \begin_layout Subsection
27216 Size
27217 \begin_inset Index
27218 status collapsed
27219
27220 \begin_layout Plain Layout
27221 Boxes ! Size
27222 \end_layout
27223
27224 \end_inset
27225
27226
27227 \end_layout
27228
27229 \begin_layout Standard
27230 In the box dialog you can adjust the box geometry in the fields 
27231 \family sans
27232 Width
27233 \family default
27234  and 
27235 \family sans
27236 Height
27237 \family default
27238 .
27239  The available units for the geometry are explained in Table
27240 \begin_inset space ~
27241 \end_inset
27242
27243
27244 \begin_inset CommandInset ref
27245 LatexCommand ref
27246 reference "tab:Units"
27247
27248 \end_inset
27249
27250 .
27251  The field 
27252 \family sans
27253 Height
27254 \family default
27255  offers the following additional sizes:
27256 \end_layout
27257
27258 \begin_layout Description
27259 Depth This is the plain text 
27260 \begin_inset Quotes eld
27261 \end_inset
27262
27263 height
27264 \begin_inset Quotes erd
27265 \end_inset
27266
27267 .
27268  It ignores the total depth when there are multiple text lines in the box:
27269 \begin_inset Newline newline
27270 \end_inset
27271
27272
27273 \begin_inset Newline newline
27274 \end_inset
27275
27276
27277 \begin_inset Newline newline
27278 \end_inset
27279
27280
27281 \begin_inset Box Boxed
27282 position "c"
27283 hor_pos "c"
27284 has_inner_box 1
27285 inner_pos "c"
27286 use_parbox 0
27287 width "12col%"
27288 special "none"
27289 height "1in"
27290 height_special "depth"
27291 status collapsed
27292
27293 \begin_layout Plain Layout
27294 \align center
27295 Box height set to 1
27296 \begin_inset space \thinspace{}
27297 \end_inset
27298
27299 Depth
27300 \end_layout
27301
27302 \end_inset
27303
27304
27305 \begin_inset Newline newline
27306 \end_inset
27307
27308
27309 \begin_inset Newline newline
27310 \end_inset
27311
27312
27313 \end_layout
27314
27315 \begin_layout Description
27316 Height This is the height of the text that is inside the box.
27317  A value of e.
27318 \begin_inset space \thinspace{}
27319 \end_inset
27320
27321 g.
27322 \begin_inset space \space{}
27323 \end_inset
27324
27325 2 for this size will set the box height to 2
27326 \begin_inset space ~
27327 \end_inset
27328
27329 times the text height: 
27330 \begin_inset Box Boxed
27331 position "c"
27332 hor_pos "c"
27333 has_inner_box 1
27334 inner_pos "c"
27335 use_parbox 0
27336 width "20col%"
27337 special "none"
27338 height "2in"
27339 height_special "height"
27340 status collapsed
27341
27342 \begin_layout Plain Layout
27343 \align center
27344 Box height set to 2
27345 \begin_inset space \thinspace{}
27346 \end_inset
27347
27348 Height
27349 \end_layout
27350
27351 \end_inset
27352
27353
27354 \end_layout
27355
27356 \begin_layout Description
27357 Total
27358 \begin_inset space ~
27359 \end_inset
27360
27361 Height This is the Height
27362 \begin_inset space \thinspace{}
27363 \end_inset
27364
27365 +
27366 \begin_inset space \thinspace{}
27367 \end_inset
27368
27369 Depth: 
27370 \begin_inset Box Boxed
27371 position "c"
27372 hor_pos "c"
27373 has_inner_box 1
27374 inner_pos "c"
27375 use_parbox 0
27376 width "20col%"
27377 special "none"
27378 height "1in"
27379 height_special "totalheight"
27380 status collapsed
27381
27382 \begin_layout Plain Layout
27383 \align center
27384 Box height set to 1
27385 \begin_inset space \thinspace{}
27386 \end_inset
27387
27388 Total
27389 \begin_inset space ~
27390 \end_inset
27391
27392 Height
27393 \end_layout
27394
27395 \end_inset
27396
27397
27398 \end_layout
27399
27400 \begin_layout Description
27401 Width This sets the width of the box as height: 
27402 \begin_inset Box Boxed
27403 position "c"
27404 hor_pos "c"
27405 has_inner_box 1
27406 inner_pos "c"
27407 use_parbox 0
27408 width "12col%"
27409 special "none"
27410 height "1in"
27411 height_special "width"
27412 status collapsed
27413
27414 \begin_layout Plain Layout
27415 \align center
27416 Box height set to 1
27417 \begin_inset space \thinspace{}
27418 \end_inset
27419
27420 Width
27421 \end_layout
27422
27423 \end_inset
27424
27425
27426 \end_layout
27427
27428 \begin_layout Subsection
27429 Alignment
27430 \begin_inset Index
27431 status collapsed
27432
27433 \begin_layout Plain Layout
27434 Boxes ! Alignment
27435 \end_layout
27436
27437 \end_inset
27438
27439
27440 \end_layout
27441
27442 \begin_layout Standard
27443 When you have chosen an 
27444 \family sans
27445 Inner
27446 \begin_inset space ~
27447 \end_inset
27448
27449 Box
27450 \family default
27451 , the vertical box alignment can be:
27452 \end_layout
27453
27454 \begin_layout Description
27455 Top This is an example text line.
27456  
27457 \begin_inset Box Boxed
27458 position "t"
27459 hor_pos "c"
27460 has_inner_box 1
27461 inner_pos "c"
27462 use_parbox 0
27463 width "12col%"
27464 special "none"
27465 height "1in"
27466 height_special "totalheight"
27467 status collapsed
27468
27469 \begin_layout Plain Layout
27470 \align center
27471 This box is top-aligned.
27472 \end_layout
27473
27474 \end_inset
27475
27476  This is an example text line.
27477 \end_layout
27478
27479 \begin_layout Description
27480 Middle This is an example text line.
27481  
27482 \begin_inset Box Boxed
27483 position "c"
27484 hor_pos "c"
27485 has_inner_box 1
27486 inner_pos "c"
27487 use_parbox 0
27488 width "12col%"
27489 special "none"
27490 height "1in"
27491 height_special "totalheight"
27492 status collapsed
27493
27494 \begin_layout Plain Layout
27495 \align center
27496 This box is middle-aligned.
27497 \end_layout
27498
27499 \end_inset
27500
27501  This is an example text line.
27502 \end_layout
27503
27504 \begin_layout Description
27505 Bottom This is an example text line.
27506  
27507 \begin_inset Box Boxed
27508 position "b"
27509 hor_pos "c"
27510 has_inner_box 1
27511 inner_pos "c"
27512 use_parbox 0
27513 width "12col%"
27514 special "none"
27515 height "1in"
27516 height_special "totalheight"
27517 status collapsed
27518
27519 \begin_layout Plain Layout
27520 \align center
27521 This box is bottom-aligned.
27522 \end_layout
27523
27524 \end_inset
27525
27526  This is an example text line.
27527 \end_layout
27528
27529 \begin_layout Standard
27530 \begin_inset Note Greyedout
27531 status open
27532
27533 \begin_layout Plain Layout
27534
27535 \series bold
27536 Note:
27537 \series default
27538  The vertical box alignment can be lost in the output when you have two
27539  boxes in a line and one has e.
27540 \begin_inset space \thinspace{}
27541 \end_inset
27542
27543 g.
27544 \begin_inset space \space{}
27545 \end_inset
27546
27547 a shadow and the other one not.
27548 \end_layout
27549
27550 \end_inset
27551
27552
27553 \end_layout
27554
27555 \begin_layout Standard
27556 The horizontal box alignment can be set via LyX's paragraph dialog when
27557  you set the box into its own paragraph.
27558 \end_layout
27559
27560 \begin_layout Standard
27561 \begin_inset VSpace bigskip
27562 \end_inset
27563
27564 When you have chosen an 
27565 \family sans
27566 Inner
27567 \begin_inset space ~
27568 \end_inset
27569
27570 Box
27571 \family default
27572 , the box content can be aligned vertically to:
27573 \end_layout
27574
27575 \begin_layout Description
27576 top This is an example text line.
27577  
27578 \begin_inset Box Boxed
27579 position "c"
27580 hor_pos "c"
27581 has_inner_box 1
27582 inner_pos "t"
27583 use_parbox 0
27584 width "12col%"
27585 special "none"
27586 height "1.5in"
27587 height_special "totalheight"
27588 status collapsed
27589
27590 \begin_layout Plain Layout
27591 \align center
27592 This box text is top-aligned.
27593 \end_layout
27594
27595 \end_inset
27596
27597  This is an example text line.
27598 \end_layout
27599
27600 \begin_layout Description
27601 middle This is an example text line.
27602  
27603 \begin_inset Box Boxed
27604 position "c"
27605 hor_pos "c"
27606 has_inner_box 1
27607 inner_pos "c"
27608 use_parbox 0
27609 width "12col%"
27610 special "none"
27611 height "1.5in"
27612 height_special "totalheight"
27613 status collapsed
27614
27615 \begin_layout Plain Layout
27616 \align center
27617 This box text is middle-aligned.
27618 \end_layout
27619
27620 \end_inset
27621
27622  This is an example text line.
27623 \end_layout
27624
27625 \begin_layout Description
27626 bottom This is an example text line.
27627  
27628 \begin_inset Box Boxed
27629 position "c"
27630 hor_pos "c"
27631 has_inner_box 1
27632 inner_pos "b"
27633 use_parbox 0
27634 width "12col%"
27635 special "none"
27636 height "1.5in"
27637 height_special "totalheight"
27638 status collapsed
27639
27640 \begin_layout Plain Layout
27641 \align center
27642 This box text is bottom-aligned.
27643 \end_layout
27644
27645 \end_inset
27646
27647  This is an example text line.
27648 \end_layout
27649
27650 \begin_layout Description
27651 stretch This is an example text line.
27652  
27653 \begin_inset Box Boxed
27654 position "c"
27655 hor_pos "c"
27656 has_inner_box 1
27657 inner_pos "s"
27658 use_parbox 0
27659 width "12col%"
27660 special "none"
27661 height "1.5in"
27662 height_special "totalheight"
27663 status collapsed
27664
27665 \begin_layout Plain Layout
27666 \align center
27667 This box
27668 \end_layout
27669
27670 \begin_layout Plain Layout
27671 \align center
27672 text is
27673 \end_layout
27674
27675 \begin_layout Plain Layout
27676 \align center
27677 stretched.
27678 \end_layout
27679
27680 \end_inset
27681
27682  This is an example text line.
27683 \end_layout
27684
27685 \begin_layout Standard
27686 To stretch the box content, it must consist of more than one paragraph.
27687  In the example above every text line is in an own paragraph.
27688 \end_layout
27689
27690 \begin_layout Standard
27691 \begin_inset VSpace bigskip
27692 \end_inset
27693
27694 To align the box content horizontally you can use LyX's paragraph dialog
27695  when you have chosen an 
27696 \family sans
27697 Inner
27698 \begin_inset space ~
27699 \end_inset
27700
27701 Box
27702 \family default
27703 .
27704 \end_layout
27705
27706 \begin_layout Standard
27707 \align center
27708 \begin_inset Box Boxed
27709 position "c"
27710 hor_pos "c"
27711 has_inner_box 1
27712 inner_pos "s"
27713 use_parbox 0
27714 width "15col%"
27715 special "none"
27716 height "1.25in"
27717 height_special "totalheight"
27718 status collapsed
27719
27720 \begin_layout Plain Layout
27721 \align left
27722 This box
27723 \end_layout
27724
27725 \begin_layout Plain Layout
27726 \align center
27727 text is
27728 \end_layout
27729
27730 \begin_layout Plain Layout
27731 \align right
27732 stretched.
27733 \end_layout
27734
27735 \end_inset
27736
27737
27738 \end_layout
27739
27740 \begin_layout Standard
27741 If you have not set an 
27742 \family sans
27743 Inner
27744 \begin_inset space ~
27745 \end_inset
27746
27747 Box
27748 \family default
27749 , you can align the box content horizontally in the box dialog.
27750 \end_layout
27751
27752 \begin_layout Standard
27753 \align center
27754 \begin_inset Box Boxed
27755 position "c"
27756 hor_pos "s"
27757 has_inner_box 0
27758 inner_pos "s"
27759 use_parbox 0
27760 width "90col%"
27761 special "none"
27762 height "1.25in"
27763 height_special "totalheight"
27764 status collapsed
27765
27766 \begin_layout Plain Layout
27767 \align left
27768 This box text is horizontally stretched.
27769 \end_layout
27770
27771 \end_inset
27772
27773
27774 \end_layout
27775
27776 \begin_layout Subsection
27777 Decoration
27778 \begin_inset CommandInset label
27779 LatexCommand label
27780 name "sec:Decoration"
27781
27782 \end_inset
27783
27784
27785 \begin_inset Index
27786 status collapsed
27787
27788 \begin_layout Plain Layout
27789 Boxes ! Decoration
27790 \end_layout
27791
27792 \end_inset
27793
27794
27795 \end_layout
27796
27797 \begin_layout Standard
27798 The type of the box can be specified in the box dialog in the drop-down
27799  list 
27800 \family sans
27801 Decoration
27802 \family default
27803 .
27804  The following types are possible:
27805 \end_layout
27806
27807 \begin_layout Description
27808 Simple
27809 \begin_inset space ~
27810 \end_inset
27811
27812 rectangular
27813 \begin_inset space ~
27814 \end_inset
27815
27816 frame This draws a rectangular frame around the box.
27817  The frame line thickness has the size of 
27818 \series bold
27819
27820 \backslash
27821 fboxrule
27822 \series default
27823 .
27824  
27825 \begin_inset Box Boxed
27826 position "c"
27827 hor_pos "c"
27828 has_inner_box 1
27829 inner_pos "c"
27830 use_parbox 0
27831 width "20col%"
27832 special "none"
27833 height "1in"
27834 height_special "totalheight"
27835 status collapsed
27836
27837 \begin_layout Plain Layout
27838 \align center
27839 Rectangular box
27840 \end_layout
27841
27842 \end_inset
27843
27844
27845 \end_layout
27846
27847 \begin_layout Description
27848 Allow
27849 \begin_inset space ~
27850 \end_inset
27851
27852 page
27853 \begin_inset space ~
27854 \end_inset
27855
27856 break When you use the decoration 
27857 \family sans
27858 simple rectangular frame
27859 \family default
27860  and no inner box, you can allow page breaks within a box.
27861  Note that then, unlike other framed boxes, the frame always uses the whole
27862  column width, the box is set as its own paragraph, and 
27863 \series bold
27864
27865 \backslash
27866 fboxrule
27867 \series default
27868  and 
27869 \series bold
27870
27871 \backslash
27872 fboxsep
27873 \series default
27874  have no effect on this box type.
27875  The frame line thickness has the size of 
27876 \series bold
27877
27878 \backslash
27879 FrameRule
27880 \series default
27881 .
27882  
27883 \begin_inset Box Framed
27884 position "t"
27885 hor_pos "c"
27886 has_inner_box 0
27887 inner_pos "t"
27888 use_parbox 0
27889 width "100col%"
27890 special "none"
27891 height "1in"
27892 height_special "totalheight"
27893 status collapsed
27894
27895 \begin_layout Plain Layout
27896 Allow page break box
27897 \end_layout
27898
27899 \end_inset
27900
27901
27902 \end_layout
27903
27904 \begin_layout Description
27905 Oval
27906 \begin_inset space ~
27907 \end_inset
27908
27909 box,
27910 \begin_inset space ~
27911 \end_inset
27912
27913 thin This draws an oval frame around the box.
27914  The frame line thickness has the size 0.4
27915 \begin_inset space \thinspace{}
27916 \end_inset
27917
27918 pt.
27919  
27920 \begin_inset Box ovalbox
27921 position "c"
27922 hor_pos "c"
27923 has_inner_box 1
27924 inner_pos "c"
27925 use_parbox 0
27926 width "20col%"
27927 special "none"
27928 height "1in"
27929 height_special "totalheight"
27930 status collapsed
27931
27932 \begin_layout Plain Layout
27933 \align center
27934 Oval box, thin
27935 \end_layout
27936
27937 \end_inset
27938
27939
27940 \end_layout
27941
27942 \begin_layout Description
27943 Oval
27944 \begin_inset space ~
27945 \end_inset
27946
27947 box,
27948 \begin_inset space ~
27949 \end_inset
27950
27951 thick This draws an oval frame around the box.
27952  The frame line thickness has the size 0.8
27953 \begin_inset space \thinspace{}
27954 \end_inset
27955
27956 pt.
27957  
27958 \begin_inset Box Ovalbox
27959 position "c"
27960 hor_pos "c"
27961 has_inner_box 1
27962 inner_pos "c"
27963 use_parbox 0
27964 width "20col%"
27965 special "none"
27966 height "1in"
27967 height_special "totalheight"
27968 status collapsed
27969
27970 \begin_layout Plain Layout
27971 \align center
27972 Oval box, thick
27973 \end_layout
27974
27975 \end_inset
27976
27977
27978 \end_layout
27979
27980 \begin_layout Description
27981 Drop
27982 \begin_inset space ~
27983 \end_inset
27984
27985 shadow This draws a rectangular frame with a shadow around the box.
27986  The frame line thickness has the size of 
27987 \series bold
27988
27989 \backslash
27990 fboxrule
27991 \series default
27992 , the shadow has a width of 4
27993 \begin_inset space \thinspace{}
27994 \end_inset
27995
27996 pt.
27997  
27998 \begin_inset Box Shadowbox
27999 position "c"
28000 hor_pos "c"
28001 has_inner_box 1
28002 inner_pos "c"
28003 use_parbox 0
28004 width "20col%"
28005 special "none"
28006 height "1in"
28007 height_special "totalheight"
28008 status collapsed
28009
28010 \begin_layout Plain Layout
28011 \align center
28012 Shadow box
28013 \end_layout
28014
28015 \end_inset
28016
28017
28018 \end_layout
28019
28020 \begin_layout Description
28021 Shaded
28022 \begin_inset space ~
28023 \end_inset
28024
28025 background This draws a box with a red background.
28026  Unlike colored boxes
28027 \begin_inset Foot
28028 status collapsed
28029
28030 \begin_layout Plain Layout
28031 see sec.
28032 \begin_inset space \thinspace{}
28033 \end_inset
28034
28035
28036 \begin_inset CommandInset ref
28037 LatexCommand ref
28038 reference "sec:Colored-Boxes"
28039
28040 \end_inset
28041
28042
28043 \end_layout
28044
28045 \end_inset
28046
28047 , it always uses the whole column width and the box is set as its own paragraph.
28048  
28049 \begin_inset Box Shaded
28050 position "t"
28051 hor_pos "c"
28052 has_inner_box 0
28053 inner_pos "t"
28054 use_parbox 0
28055 width "50col%"
28056 special "none"
28057 height "1in"
28058 height_special "totalheight"
28059 status collapsed
28060
28061 \begin_layout Plain Layout
28062 Shaded background box
28063 \end_layout
28064
28065 \end_inset
28066
28067
28068 \end_layout
28069
28070 \begin_layout Description
28071 Double
28072 \begin_inset space ~
28073 \end_inset
28074
28075 rectangular
28076 \begin_inset space ~
28077 \end_inset
28078
28079 frame This draws a double-line rectangular frame around the box.
28080  The line thickness of the inner frame is 0.75
28081 \begin_inset space \thinspace{}
28082 \end_inset
28083
28084
28085 \series bold
28086
28087 \backslash
28088 fboxrule
28089 \series default
28090 , the thickness of the outer frame is 1.5
28091 \begin_inset space \thinspace{}
28092 \end_inset
28093
28094
28095 \series bold
28096
28097 \backslash
28098 fboxrule
28099 \series default
28100 .
28101  The distance between the lines is 1.5
28102 \begin_inset space \thinspace{}
28103 \end_inset
28104
28105
28106 \series bold
28107
28108 \backslash
28109 fboxrule
28110 \series default
28111
28112 \begin_inset space \thinspace{}
28113 \end_inset
28114
28115 +
28116 \begin_inset space \thinspace{}
28117 \end_inset
28118
28119 0.5
28120 \begin_inset space \thinspace{}
28121 \end_inset
28122
28123 pt.
28124  
28125 \begin_inset Box Doublebox
28126 position "c"
28127 hor_pos "c"
28128 has_inner_box 1
28129 inner_pos "c"
28130 use_parbox 0
28131 width "20col%"
28132 special "none"
28133 height "1in"
28134 height_special "totalheight"
28135 status collapsed
28136
28137 \begin_layout Plain Layout
28138 \align center
28139 Double rectangular box
28140 \end_layout
28141
28142 \end_inset
28143
28144
28145 \end_layout
28146
28147 \begin_layout Standard
28148 \begin_inset VSpace bigskip
28149 \end_inset
28150
28151 LyX's box label will reflect the different frame types.
28152  To be able to use all types, the LaTeX-package 
28153 \series bold
28154 fancybox
28155 \series default
28156
28157 \begin_inset Index
28158 status collapsed
28159
28160 \begin_layout Plain Layout
28161 LaTeX-packages ! fancybox
28162 \end_layout
28163
28164 \end_inset
28165
28166  must be installed.
28167 \end_layout
28168
28169 \begin_layout Section
28170 Box Customization
28171 \begin_inset Index
28172 status collapsed
28173
28174 \begin_layout Plain Layout
28175 Boxes ! Customization
28176 \end_layout
28177
28178 \end_inset
28179
28180
28181 \end_layout
28182
28183 \begin_layout Standard
28184 The default value for the size 
28185 \series bold
28186
28187 \backslash
28188 fboxrule
28189 \series default
28190  is 0.4
28191 \begin_inset space \thinspace{}
28192 \end_inset
28193
28194 pt.
28195  It can be changed with the following command in TeX-Code to e.
28196 \begin_inset space \thinspace{}
28197 \end_inset
28198
28199 g.
28200 \begin_inset space \space{}
28201 \end_inset
28202
28203 2
28204 \begin_inset space \thinspace{}
28205 \end_inset
28206
28207 pt:
28208 \end_layout
28209
28210 \begin_layout Standard
28211
28212 \series bold
28213
28214 \backslash
28215 setlength{
28216 \backslash
28217 fboxrule}{2pt}
28218 \end_layout
28219
28220 \begin_layout Standard
28221 \begin_inset ERT
28222 status collapsed
28223
28224 \begin_layout Plain Layout
28225
28226
28227 \backslash
28228 setlength{
28229 \backslash
28230 fboxrule}{2pt}
28231 \end_layout
28232
28233 \end_inset
28234
28235
28236 \begin_inset Box Boxed
28237 position "c"
28238 hor_pos "c"
28239 has_inner_box 1
28240 inner_pos "c"
28241 use_parbox 0
28242 width "25col%"
28243 special "none"
28244 height "1in"
28245 height_special "totalheight"
28246 status open
28247
28248 \begin_layout Plain Layout
28249 \align center
28250 Rectangular box with 
28251 \series bold
28252
28253 \backslash
28254 fboxrule
28255 \series default
28256
28257 \begin_inset space \thinspace{}
28258 \end_inset
28259
28260 =
28261 \begin_inset space \thinspace{}
28262 \end_inset
28263
28264 2
28265 \begin_inset space \thinspace{}
28266 \end_inset
28267
28268 pt
28269 \end_layout
28270
28271 \end_inset
28272
28273
28274 \begin_inset ERT
28275 status collapsed
28276
28277 \begin_layout Plain Layout
28278
28279
28280 \backslash
28281 setlength{
28282 \backslash
28283 fboxrule}{0.4pt}
28284 \end_layout
28285
28286 \end_inset
28287
28288
28289 \end_layout
28290
28291 \begin_layout Standard
28292 \begin_inset VSpace bigskip
28293 \end_inset
28294
28295 The space between the frame and the box content is for all frame styles
28296  by default 3
28297 \begin_inset space \thinspace{}
28298 \end_inset
28299
28300 pt.
28301  You can change it by setting the length 
28302 \series bold
28303
28304 \backslash
28305 fboxsep
28306 \series default
28307  to another value.
28308  For example the command
28309 \end_layout
28310
28311 \begin_layout Standard
28312
28313 \series bold
28314
28315 \backslash
28316 setlength{
28317 \backslash
28318 fboxsep}{10pt}
28319 \end_layout
28320
28321 \begin_layout Standard
28322 sets the value to 10
28323 \begin_inset space \thinspace{}
28324 \end_inset
28325
28326 pt, as with the following box:
28327 \end_layout
28328
28329 \begin_layout Standard
28330 \begin_inset ERT
28331 status collapsed
28332
28333 \begin_layout Plain Layout
28334
28335
28336 \backslash
28337 setlength{
28338 \backslash
28339 fboxsep}{10pt}
28340 \end_layout
28341
28342 \end_inset
28343
28344
28345 \begin_inset Box Boxed
28346 position "c"
28347 hor_pos "c"
28348 has_inner_box 1
28349 inner_pos "c"
28350 use_parbox 0
28351 width "25col%"
28352 special "none"
28353 height "1in"
28354 height_special "totalheight"
28355 status open
28356
28357 \begin_layout Plain Layout
28358 \align center
28359 Rectangular box with 
28360 \series bold
28361
28362 \backslash
28363 fboxsep
28364 \series default
28365
28366 \begin_inset space \thinspace{}
28367 \end_inset
28368
28369 =
28370 \begin_inset space \thinspace{}
28371 \end_inset
28372
28373 10
28374 \begin_inset space \thinspace{}
28375 \end_inset
28376
28377 pt
28378 \end_layout
28379
28380 \end_inset
28381
28382
28383 \begin_inset ERT
28384 status collapsed
28385
28386 \begin_layout Plain Layout
28387
28388
28389 \backslash
28390 setlength{
28391 \backslash
28392 fboxsep}{3pt}
28393 \end_layout
28394
28395 \end_inset
28396
28397
28398 \end_layout
28399
28400 \begin_layout Standard
28401 \begin_inset VSpace bigskip
28402 \end_inset
28403
28404 The diameter of the round corners of the oval boxes can be set with the
28405  command 
28406 \series bold
28407
28408 \backslash
28409 cornersize
28410 \series default
28411 .
28412  The command
28413 \end_layout
28414
28415 \begin_layout Standard
28416
28417 \series bold
28418
28419 \backslash
28420 cornersize*{1cm}
28421 \end_layout
28422
28423 \begin_layout Standard
28424 sets the diameter to 1
28425 \begin_inset space \thinspace{}
28426 \end_inset
28427
28428 cm.
28429  The command
28430 \end_layout
28431
28432 \begin_layout Standard
28433
28434 \series bold
28435
28436 \backslash
28437 cornersize{num}
28438 \end_layout
28439
28440 \begin_layout Standard
28441 sets the diameter to 
28442 \family sans
28443 num
28444 \begin_inset space \thinspace{}
28445 \end_inset
28446
28447 ×
28448 \begin_inset space \thinspace{}
28449 \end_inset
28450
28451 minimum(width and heigth of box)
28452 \family default
28453 .
28454  The default is 
28455 \series bold
28456
28457 \backslash
28458 cornersize{0.5}
28459 \series default
28460 .
28461 \end_layout
28462
28463 \begin_layout Standard
28464 \begin_inset ERT
28465 status collapsed
28466
28467 \begin_layout Plain Layout
28468
28469
28470 \backslash
28471 cornersize*{1.5cm}
28472 \end_layout
28473
28474 \end_inset
28475
28476
28477 \begin_inset Box Ovalbox
28478 position "c"
28479 hor_pos "c"
28480 has_inner_box 1
28481 inner_pos "c"
28482 use_parbox 0
28483 width "25col%"
28484 special "none"
28485 height "1in"
28486 height_special "totalheight"
28487 status open
28488
28489 \begin_layout Plain Layout
28490 \align center
28491 Oval box with 
28492 \series bold
28493
28494 \backslash
28495 cornersize
28496 \series default
28497
28498 \begin_inset space \thinspace{}
28499 \end_inset
28500
28501 =
28502 \begin_inset space \thinspace{}
28503 \end_inset
28504
28505 1.5
28506 \begin_inset space \thinspace{}
28507 \end_inset
28508
28509 cm
28510 \end_layout
28511
28512 \end_inset
28513
28514
28515 \begin_inset ERT
28516 status collapsed
28517
28518 \begin_layout Plain Layout
28519
28520
28521 \backslash
28522 cornersize{0.5}
28523 \end_layout
28524
28525 \end_inset
28526
28527
28528 \end_layout
28529
28530 \begin_layout Standard
28531 \begin_inset VSpace bigskip
28532 \end_inset
28533
28534 The size of the shadow can be adjusted by changing the length 
28535 \series bold
28536
28537 \backslash
28538 shadowsize
28539 \series default
28540 .
28541  It it set to 2
28542 \begin_inset space \thinspace{}
28543 \end_inset
28544
28545 pt for the following box by this command:
28546 \end_layout
28547
28548 \begin_layout Standard
28549
28550 \series bold
28551
28552 \backslash
28553 setlength{
28554 \backslash
28555 shadowsize}{2pt}
28556 \end_layout
28557
28558 \begin_layout Standard
28559 \begin_inset ERT
28560 status collapsed
28561
28562 \begin_layout Plain Layout
28563
28564
28565 \backslash
28566 setlength{
28567 \backslash
28568 shadowsize}{2pt}
28569 \end_layout
28570
28571 \end_inset
28572
28573
28574 \begin_inset Box Shadowbox
28575 position "c"
28576 hor_pos "c"
28577 has_inner_box 1
28578 inner_pos "c"
28579 use_parbox 0
28580 width "25col%"
28581 special "none"
28582 height "1in"
28583 height_special "totalheight"
28584 status open
28585
28586 \begin_layout Plain Layout
28587 \align center
28588 Shadow box with 
28589 \series bold
28590
28591 \backslash
28592 shadowsize
28593 \series default
28594
28595 \begin_inset space \thinspace{}
28596 \end_inset
28597
28598 =
28599 \begin_inset space \thinspace{}
28600 \end_inset
28601
28602 2
28603 \begin_inset space \thinspace{}
28604 \end_inset
28605
28606 pt
28607 \end_layout
28608
28609 \end_inset
28610
28611
28612 \begin_inset ERT
28613 status collapsed
28614
28615 \begin_layout Plain Layout
28616
28617
28618 \backslash
28619 setlength{
28620 \backslash
28621 shadowsize}{4pt}
28622 \end_layout
28623
28624 \end_inset
28625
28626
28627 \end_layout
28628
28629 \begin_layout Standard
28630 \begin_inset VSpace bigskip
28631 \end_inset
28632
28633
28634 \end_layout
28635
28636 \begin_layout Standard
28637 The default value for the size 
28638 \series bold
28639
28640 \backslash
28641 FrameRule
28642 \series default
28643  is 0.4
28644 \begin_inset space \thinspace{}
28645 \end_inset
28646
28647 pt.
28648  The default space between the note content and the frame is 9
28649 \begin_inset space \thinspace{}
28650 \end_inset
28651
28652 pt and can be changed with the value of 
28653 \series bold
28654
28655 \backslash
28656 FrameSep
28657 \series default
28658 .
28659  For example the frame appearance of the following 
28660 \family sans
28661 box
28662 \family default
28663  is set with the TeX-Code commands
28664 \end_layout
28665
28666 \begin_layout Standard
28667
28668 \series bold
28669
28670 \backslash
28671 setlength{
28672 \backslash
28673 FrameRule}{5pt}
28674 \begin_inset Newline newline
28675 \end_inset
28676
28677
28678 \backslash
28679 setlength{
28680 \backslash
28681 FrameSep}{0.5cm}
28682 \end_layout
28683
28684 \begin_layout Standard
28685 \begin_inset ERT
28686 status collapsed
28687
28688 \begin_layout Plain Layout
28689
28690
28691 \backslash
28692 setlength{
28693 \backslash
28694 FrameRule}{5pt}
28695 \end_layout
28696
28697 \begin_layout Plain Layout
28698
28699
28700 \backslash
28701 setlength{
28702 \backslash
28703 FrameSep}{0.5cm}
28704 \end_layout
28705
28706 \end_inset
28707
28708
28709 \begin_inset Box Framed
28710 position "t"
28711 hor_pos "c"
28712 has_inner_box 0
28713 inner_pos "t"
28714 use_parbox 0
28715 width "100col%"
28716 special "none"
28717 height "1in"
28718 height_special "totalheight"
28719 status open
28720
28721 \begin_layout Plain Layout
28722 This is text in an 
28723 \family sans
28724 allow page break
28725 \family default
28726  box.
28727 \end_layout
28728
28729 \end_inset
28730
28731
28732 \begin_inset ERT
28733 status collapsed
28734
28735 \begin_layout Plain Layout
28736
28737
28738 \backslash
28739 setlength{
28740 \backslash
28741 FrameRule}{0.4pt}
28742 \end_layout
28743
28744 \begin_layout Plain Layout
28745
28746
28747 \backslash
28748 setlength{
28749 \backslash
28750 FrameSep}{9pt}
28751 \end_layout
28752
28753 \end_inset
28754
28755
28756 \end_layout
28757
28758 \begin_layout Standard
28759 \begin_inset VSpace bigskip
28760 \end_inset
28761
28762
28763 \end_layout
28764
28765 \begin_layout Standard
28766 For 
28767 \family sans
28768 shaded background
28769 \family default
28770  boxes the default space between the box content and the box border is 3
28771 \begin_inset space \thinspace{}
28772 \end_inset
28773
28774 pt and can be changed with the value of 
28775 \series bold
28776
28777 \backslash
28778 fboxsep
28779 \series default
28780 .
28781  The default background color red can either be changed locally with the
28782  command 
28783 \series bold
28784
28785 \backslash
28786 definecolor{shadecolor}
28787 \series default
28788  or globally with the menu 
28789 \family sans
28790 Tools\SpecialChar \menuseparator
28791 Preferences\SpecialChar \menuseparator
28792 Colors\SpecialChar \menuseparator
28793 shaded
28794 \begin_inset space ~
28795 \end_inset
28796
28797 box
28798 \family default
28799 .
28800  The scheme of the 
28801 \series bold
28802
28803 \backslash
28804 definecolor
28805 \series default
28806  command is explained in section
28807 \begin_inset space ~
28808 \end_inset
28809
28810
28811 \begin_inset CommandInset ref
28812 LatexCommand ref
28813 reference "sec:Colored-Tables"
28814
28815 \end_inset
28816
28817 .
28818 \begin_inset Foot
28819 status collapsed
28820
28821 \begin_layout Plain Layout
28822 Note that 
28823 \series bold
28824
28825 \backslash
28826 definecolor
28827 \series default
28828  requires the LaTeX-package 
28829 \series bold
28830 color
28831 \series default
28832  in the preamble, see section
28833 \begin_inset space ~
28834 \end_inset
28835
28836
28837 \begin_inset CommandInset ref
28838 LatexCommand ref
28839 reference "sec:Colored-Boxes"
28840
28841 \end_inset
28842
28843 .
28844 \end_layout
28845
28846 \end_inset
28847
28848  For example the appearance of the following shaded background box is set
28849  with the TeX-Code commands
28850 \end_layout
28851
28852 \begin_layout Standard
28853
28854 \series bold
28855
28856 \backslash
28857 setlength{
28858 \backslash
28859 fboxsep}{0.5cm}
28860 \series default
28861
28862 \begin_inset Newline newline
28863 \end_inset
28864
28865
28866 \series bold
28867
28868 \backslash
28869 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28870 \end_layout
28871
28872 \begin_layout Standard
28873 \begin_inset ERT
28874 status collapsed
28875
28876 \begin_layout Plain Layout
28877
28878
28879 \backslash
28880 setlength{
28881 \backslash
28882 fboxsep}{0.5cm}
28883 \end_layout
28884
28885 \begin_layout Plain Layout
28886
28887
28888 \backslash
28889 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28890 \end_layout
28891
28892 \end_inset
28893
28894
28895 \begin_inset Box Shaded
28896 position "t"
28897 hor_pos "c"
28898 has_inner_box 0
28899 inner_pos "t"
28900 use_parbox 0
28901 width "100col%"
28902 special "none"
28903 height "1in"
28904 height_special "totalheight"
28905 status open
28906
28907 \begin_layout Plain Layout
28908
28909 \color yellow
28910 This is yellow text in a
28911 \color none
28912  
28913 \family sans
28914 \color yellow
28915 shaded background
28916 \family default
28917 \color none
28918  
28919 \color yellow
28920 box with dark green background.
28921 \end_layout
28922
28923 \end_inset
28924
28925
28926 \begin_inset ERT
28927 status collapsed
28928
28929 \begin_layout Plain Layout
28930
28931
28932 \backslash
28933 setlength{
28934 \backslash
28935 fboxsep}{3pt}
28936 \end_layout
28937
28938 \begin_layout Plain Layout
28939
28940
28941 \backslash
28942 definecolor{shadecolor}{rgb}{1,0,0}
28943 \end_layout
28944
28945 \end_inset
28946
28947
28948 \end_layout
28949
28950 \begin_layout Standard
28951 \begin_inset VSpace bigskip
28952 \end_inset
28953
28954 Changed lengths and widths are valid for all boxes following the commands
28955  that change them.
28956 \end_layout
28957
28958 \begin_layout Section
28959 Minipages
28960 \begin_inset CommandInset label
28961 LatexCommand label
28962 name "sec:Minipages"
28963
28964 \end_inset
28965
28966
28967 \begin_inset Index
28968 status collapsed
28969
28970 \begin_layout Plain Layout
28971 Boxes ! Minipages
28972 \end_layout
28973
28974 \end_inset
28975
28976
28977 \end_layout
28978
28979 \begin_layout Standard
28980 Minipages are treated by LaTeX as pages within pages and can therefore for
28981  example have their own footnotes.
28982 \end_layout
28983
28984 \begin_layout Standard
28985 Minipages are useful when you write documents with different languages.
28986 \end_layout
28987
28988 \begin_layout Standard
28989 Below are two example minipages side by side.
28990  Their width is set to 45
28991 \begin_inset space \thinspace{}
28992 \end_inset
28993
28994 col% and they are separated by a horizontal fill, that was inserted via
28995  the menu 
28996 \family sans
28997 Insert\SpecialChar \menuseparator
28998 Special
28999 \begin_inset space ~
29000 \end_inset
29001
29002 Formatting\SpecialChar \menuseparator
29003 Horizontal
29004 \begin_inset space ~
29005 \end_inset
29006
29007 Fill
29008 \family default
29009 .
29010 \begin_inset Newpage newpage
29011 \end_inset
29012
29013
29014 \end_layout
29015
29016 \begin_layout Standard
29017 \begin_inset Box Frameless
29018 position "t"
29019 hor_pos "c"
29020 has_inner_box 1
29021 inner_pos "c"
29022 use_parbox 0
29023 width "45col%"
29024 special "none"
29025 height "1in"
29026 height_special "totalheight"
29027 status open
29028
29029 \begin_layout Plain Layout
29030
29031 \lang german
29032 Dies ist ein deutscher Text.
29033  Dies ist ein deutscher Text.
29034  Dies ist ein deutscher Text.
29035  Dies ist ein deutscher Text.
29036  Dies ist ein deutscher Text.
29037  Dies ist ein deutscher Text.
29038  Dies ist ein deutscher Text.
29039  Dies ist ein deutscher Text.
29040  Dies ist ein deutscher Text.
29041  Dies ist ein deutscher Text.
29042  Dies ist ein deutscher Text.
29043  Dies ist ein deutscher Text.
29044  Dies ist ein deutscher Text
29045 \begin_inset Foot
29046 status collapsed
29047
29048 \begin_layout Plain Layout
29049
29050 \lang german
29051 Dies ist eine deutsche Fußnote.
29052 \end_layout
29053
29054 \end_inset
29055
29056 .
29057  Dies ist ein deutscher Text.
29058  Dies ist ein deutscher Text.
29059 \end_layout
29060
29061 \end_inset
29062
29063
29064 \begin_inset space \hfill{}
29065 \end_inset
29066
29067
29068 \begin_inset Box Frameless
29069 position "t"
29070 hor_pos "c"
29071 has_inner_box 1
29072 inner_pos "c"
29073 use_parbox 0
29074 width "45col%"
29075 special "none"
29076 height "1in"
29077 height_special "totalheight"
29078 status open
29079
29080 \begin_layout Plain Layout
29081 This is an English Text.
29082  This is an English Text.
29083  This is an English Text.
29084  This is an English Text.
29085  This is an English Text.
29086  This is an English Text.
29087  This is an English Text.
29088  This is an English Text.
29089  This is an English Text.
29090  This is an English Text.
29091  This is an English Text.
29092  This is an English Text.
29093  This is an English Text.
29094  This is an English Text.
29095  This is an English Text.
29096  This is an English Text.
29097 \begin_inset Foot
29098 status collapsed
29099
29100 \begin_layout Plain Layout
29101 This is an English footnote.
29102 \end_layout
29103
29104 \end_inset
29105
29106  This is an English Text.
29107  
29108 \end_layout
29109
29110 \end_inset
29111
29112
29113 \end_layout
29114
29115 \begin_layout Standard
29116 \begin_inset VSpace bigskip
29117 \end_inset
29118
29119 The document-wide paragraph settings are ignored within minipages.
29120  That means that there will be no space between paragraphs in minipages
29121  although you set it to e.
29122 \begin_inset space \thinspace{}
29123 \end_inset
29124
29125 g.
29126 \begin_inset space \space{}
29127 \end_inset
29128
29129
29130 \family sans
29131 MedSkip
29132 \family default
29133  in the document settings.
29134 \end_layout
29135
29136 \begin_layout Standard
29137 Minipages can also be used to set a background color for text parts, see
29138  section
29139 \begin_inset space ~
29140 \end_inset
29141
29142
29143 \begin_inset CommandInset ref
29144 LatexCommand ref
29145 reference "sub:Color-for-Paragraphs"
29146
29147 \end_inset
29148
29149 .
29150 \end_layout
29151
29152 \begin_layout Standard
29153 \begin_inset Note Greyedout
29154 status open
29155
29156 \begin_layout Plain Layout
29157
29158 \series bold
29159 Note:
29160 \series default
29161  You cannot have floats or margin notes inside minipages but minipages can
29162  be used inside tables, floats, and other boxes.
29163 \end_layout
29164
29165 \end_inset
29166
29167
29168 \end_layout
29169
29170 \begin_layout Section
29171 Parboxes
29172 \begin_inset CommandInset label
29173 LatexCommand label
29174 name "sec:Parboxes"
29175
29176 \end_inset
29177
29178
29179 \begin_inset Index
29180 status collapsed
29181
29182 \begin_layout Plain Layout
29183 Boxes ! Parboxes
29184 \end_layout
29185
29186 \end_inset
29187
29188
29189 \end_layout
29190
29191 \begin_layout Standard
29192 Parboxes are very similar to minipages with the difference that they cannot
29193  have footnotes, because minipages, unlike parboxes, are not real boxes
29194  but LaTeX-environments.
29195 \end_layout
29196
29197 \begin_layout Standard
29198 \align center
29199 \begin_inset Box Frameless
29200 position "t"
29201 hor_pos "c"
29202 has_inner_box 1
29203 inner_pos "t"
29204 use_parbox 1
29205 width "33col%"
29206 special "none"
29207 height "1in"
29208 height_special "totalheight"
29209 status collapsed
29210
29211 \begin_layout Plain Layout
29212 This a text within a parbox.
29213  This a text within a parbox.
29214 \end_layout
29215
29216 \begin_layout Plain Layout
29217 This footnote won't appear:
29218 \begin_inset Foot
29219 status collapsed
29220
29221 \begin_layout Plain Layout
29222 This footnote is inside a parbox and will therefore not appear.
29223 \end_layout
29224
29225 \end_inset
29226
29227
29228 \end_layout
29229
29230 \end_inset
29231
29232
29233 \end_layout
29234
29235 \begin_layout Section
29236 Boxes for Words and Characters
29237 \begin_inset Index
29238 status collapsed
29239
29240 \begin_layout Plain Layout
29241 Boxes ! for Characters
29242 \end_layout
29243
29244 \end_inset
29245
29246
29247 \end_layout
29248
29249 \begin_layout Subsection
29250 Prevent Hyphenation
29251 \begin_inset CommandInset label
29252 LatexCommand label
29253 name "sec:Prevent-Hyphenation"
29254
29255 \end_inset
29256
29257
29258 \begin_inset Index
29259 status collapsed
29260
29261 \begin_layout Plain Layout
29262 Boxes ! to Prevent Hyphenation
29263 \end_layout
29264
29265 \end_inset
29266
29267
29268 \end_layout
29269
29270 \begin_layout Standard
29271 You can use a special kind of box to prevent words or text from being hyphenated.
29272 \begin_inset Newline newline
29273 \end_inset
29274
29275 Here is an example text:
29276 \end_layout
29277
29278 \begin_layout Standard
29279 This line is an example to show how you can prevent the hyphenation of 
29280 \begin_inset Quotes eld
29281 \end_inset
29282
29283 veryverylongword
29284 \begin_inset Quotes erd
29285 \end_inset
29286
29287 .
29288 \end_layout
29289
29290 \begin_layout Standard
29291 To prevent the hyphenation of the word 
29292 \begin_inset Quotes eld
29293 \end_inset
29294
29295 veryverylongword
29296 \begin_inset Quotes erd
29297 \end_inset
29298
29299 , add the command
29300 \end_layout
29301
29302 \begin_layout Standard
29303
29304 \series bold
29305
29306 \backslash
29307 mbox{
29308 \end_layout
29309
29310 \begin_layout Standard
29311 in TeX-Code before the word.
29312  After the word insert a closing brace 
29313 \begin_inset Quotes eld
29314 \end_inset
29315
29316
29317 \series bold
29318 }
29319 \series default
29320
29321 \begin_inset Quotes erd
29322 \end_inset
29323
29324  in TeX-Code.
29325 \end_layout
29326
29327 \begin_layout Standard
29328 This is the result:
29329 \end_layout
29330
29331 \begin_layout Standard
29332 This line is an example to show how you can prevent the hyphenation of 
29333 \begin_inset ERT
29334 status collapsed
29335
29336 \begin_layout Plain Layout
29337
29338
29339 \backslash
29340 mbox{
29341 \end_layout
29342
29343 \end_inset
29344
29345
29346 \begin_inset Quotes eld
29347 \end_inset
29348
29349 veryverylongword
29350 \begin_inset Quotes erd
29351 \end_inset
29352
29353 .
29354 \begin_inset ERT
29355 status collapsed
29356
29357 \begin_layout Plain Layout
29358
29359 }
29360 \end_layout
29361
29362 \end_inset
29363
29364
29365 \end_layout
29366
29367 \begin_layout Standard
29368 You can alternatively set the command 
29369 \begin_inset Quotes eld
29370 \end_inset
29371
29372
29373 \series bold
29374
29375 \backslash
29376 -
29377 \series default
29378
29379 \begin_inset Quotes grd
29380 \end_inset
29381
29382  as TeX-Code directly before the word:
29383 \end_layout
29384
29385 \begin_layout Standard
29386 This line is an example to show how you can prevent the hyphenation of 
29387 \begin_inset Quotes eld
29388 \end_inset
29389
29390
29391 \begin_inset ERT
29392 status collapsed
29393
29394 \begin_layout Plain Layout
29395
29396
29397 \backslash
29398 -
29399 \end_layout
29400
29401 \end_inset
29402
29403 veryverylongword
29404 \begin_inset Quotes erd
29405 \end_inset
29406
29407 .
29408 \end_layout
29409
29410 \begin_layout Standard
29411 Of course the word now protrudes over the side margin.
29412  To avoid this, add via the menu 
29413 \family sans
29414 Insert\SpecialChar \menuseparator
29415 Special
29416 \begin_inset space ~
29417 \end_inset
29418
29419 Formatting\SpecialChar \menuseparator
29420 Line
29421 \begin_inset space ~
29422 \end_inset
29423
29424 Break
29425 \family default
29426  (shortcut 
29427 \begin_inset Info
29428 type  "shortcut"
29429 arg   "newline-insert newline"
29430 \end_inset
29431
29432 ) a line break before the word:
29433 \end_layout
29434
29435 \begin_layout Standard
29436 This line is an example to show how you can prevent the hyphenation of 
29437 \begin_inset Newline newline
29438 \end_inset
29439
29440
29441 \begin_inset ERT
29442 status collapsed
29443
29444 \begin_layout Plain Layout
29445
29446
29447 \backslash
29448 mbox{
29449 \end_layout
29450
29451 \end_inset
29452
29453
29454 \begin_inset Quotes eld
29455 \end_inset
29456
29457 veryverylongword
29458 \begin_inset Quotes erd
29459 \end_inset
29460
29461 .
29462 \begin_inset ERT
29463 status collapsed
29464
29465 \begin_layout Plain Layout
29466
29467 }
29468 \end_layout
29469
29470 \end_inset
29471
29472
29473 \end_layout
29474
29475 \begin_layout Subsection
29476 Vertical Alignment
29477 \begin_inset CommandInset label
29478 LatexCommand label
29479 name "sub:Vertical-Alignment"
29480
29481 \end_inset
29482
29483
29484 \begin_inset Index
29485 status collapsed
29486
29487 \begin_layout Plain Layout
29488 Boxes ! for Vertical Alignment
29489 \end_layout
29490
29491 \end_inset
29492
29493
29494 \begin_inset Index
29495 status collapsed
29496
29497 \begin_layout Plain Layout
29498 Boxes ! Raiseboxes
29499 \end_layout
29500
29501 \end_inset
29502
29503
29504 \end_layout
29505
29506 \begin_layout Standard
29507 With the help of the command 
29508 \series bold
29509
29510 \backslash
29511 raisebox
29512 \series default
29513  you can align words, characters or other boxes vertically relative to the
29514  surrounding text.
29515  
29516 \series bold
29517
29518 \backslash
29519 raisebox
29520 \series default
29521  is used with the following scheme:
29522 \end_layout
29523
29524 \begin_layout Standard
29525
29526 \series bold
29527
29528 \backslash
29529 raisebox{lift}[height][depth]{box content}
29530 \end_layout
29531
29532 \begin_layout Standard
29533 The lift can be a positive value to raise the box or a negative value to
29534  lower the box.
29535 \end_layout
29536
29537 \begin_layout Standard
29538 To align for example the word 
29539 \begin_inset Quotes eld
29540 \end_inset
29541
29542 preventing
29543 \begin_inset Quotes erd
29544 \end_inset
29545
29546  so that the bottom of the 
29547 \begin_inset Quotes eld
29548 \end_inset
29549
29550 deepest
29551 \begin_inset Quotes erd
29552 \end_inset
29553
29554  character 
29555 \begin_inset Quotes eld
29556 \end_inset
29557
29558 p
29559 \begin_inset Quotes erd
29560 \end_inset
29561
29562  is at the baseline, insert the command
29563 \end_layout
29564
29565 \begin_layout Standard
29566
29567 \series bold
29568
29569 \backslash
29570 raisebox{
29571 \backslash
29572 depth}{
29573 \end_layout
29574
29575 \begin_layout Standard
29576 in TeX-Code before the word.
29577  After the word insert a closing brace 
29578 \begin_inset Quotes eld
29579 \end_inset
29580
29581
29582 \series bold
29583 }
29584 \series default
29585
29586 \begin_inset Quotes erd
29587 \end_inset
29588
29589  in TeX-Code.
29590 \begin_inset Newline newline
29591 \end_inset
29592
29593 This is the result:
29594 \end_layout
29595
29596 \begin_layout Standard
29597 This is a text line with the word 
29598 \begin_inset ERT
29599 status collapsed
29600
29601 \begin_layout Plain Layout
29602
29603
29604 \backslash
29605 raisebox{
29606 \backslash
29607 depth}{
29608 \end_layout
29609
29610 \end_inset
29611
29612
29613 \begin_inset Quotes eld
29614 \end_inset
29615
29616 preventing
29617 \begin_inset Quotes erd
29618 \end_inset
29619
29620
29621 \begin_inset ERT
29622 status collapsed
29623
29624 \begin_layout Plain Layout
29625
29626 }
29627 \end_layout
29628
29629 \end_inset
29630
29631  as a raised word.
29632 \end_layout
29633
29634 \begin_layout Standard
29635 \begin_inset VSpace bigskip
29636 \end_inset
29637
29638 When you raise or lower characters in a line, the line distance will be
29639  spread:
29640 \end_layout
29641
29642 \begin_layout Standard
29643 This is a text line with the word 
29644 \begin_inset ERT
29645 status collapsed
29646
29647 \begin_layout Plain Layout
29648
29649
29650 \backslash
29651 raisebox{-
29652 \backslash
29653 depth}{
29654 \end_layout
29655
29656 \end_inset
29657
29658
29659 \begin_inset Quotes eld
29660 \end_inset
29661
29662 preventing
29663 \begin_inset Quotes erd
29664 \end_inset
29665
29666
29667 \begin_inset ERT
29668 status collapsed
29669
29670 \begin_layout Plain Layout
29671
29672 }
29673 \end_layout
29674
29675 \end_inset
29676
29677  as a lowered word.
29678 \begin_inset Newline newline
29679 \end_inset
29680
29681 This is a text line with the word 
29682 \begin_inset ERT
29683 status collapsed
29684
29685 \begin_layout Plain Layout
29686
29687
29688 \backslash
29689 raisebox{0.5cm}{
29690 \end_layout
29691
29692 \end_inset
29693
29694
29695 \begin_inset Quotes eld
29696 \end_inset
29697
29698 testing
29699 \begin_inset Quotes erd
29700 \end_inset
29701
29702
29703 \begin_inset ERT
29704 status collapsed
29705
29706 \begin_layout Plain Layout
29707
29708 }
29709 \end_layout
29710
29711 \end_inset
29712
29713  as a raised word.
29714 \end_layout
29715
29716 \begin_layout Standard
29717 If you want to prevent this for a certain reason, set the box height to
29718  a zero value.
29719  For example use
29720 \end_layout
29721
29722 \begin_layout Standard
29723
29724 \series bold
29725
29726 \backslash
29727 raisebox{-
29728 \backslash
29729 depth}[0pt]{
29730 \end_layout
29731
29732 \begin_layout Standard
29733 This is a text line with the word 
29734 \begin_inset ERT
29735 status collapsed
29736
29737 \begin_layout Plain Layout
29738
29739
29740 \backslash
29741 raisebox{-
29742 \backslash
29743 depth}[0pt]{
29744 \end_layout
29745
29746 \end_inset
29747
29748
29749 \begin_inset Quotes eld
29750 \end_inset
29751
29752 preventing
29753 \begin_inset Quotes erd
29754 \end_inset
29755
29756
29757 \begin_inset ERT
29758 status collapsed
29759
29760 \begin_layout Plain Layout
29761
29762 }
29763 \end_layout
29764
29765 \end_inset
29766
29767  as a lowered word.
29768 \begin_inset Newline newline
29769 \end_inset
29770
29771 This is a text line with the word 
29772 \begin_inset ERT
29773 status collapsed
29774
29775 \begin_layout Plain Layout
29776
29777
29778 \backslash
29779 raisebox{0.5cm}[0pt]{
29780 \end_layout
29781
29782 \end_inset
29783
29784
29785 \begin_inset Quotes eld
29786 \end_inset
29787
29788 testing
29789 \begin_inset Quotes erd
29790 \end_inset
29791
29792
29793 \begin_inset ERT
29794 status collapsed
29795
29796 \begin_layout Plain Layout
29797
29798 }
29799 \end_layout
29800
29801 \end_inset
29802
29803  as a raised word.
29804 \end_layout
29805
29806 \begin_layout Section
29807 Colored Boxes
29808 \begin_inset CommandInset label
29809 LatexCommand label
29810 name "sec:Colored-Boxes"
29811
29812 \end_inset
29813
29814
29815 \begin_inset Index
29816 status collapsed
29817
29818 \begin_layout Plain Layout
29819 Boxes ! Color
29820 \end_layout
29821
29822 \end_inset
29823
29824
29825 \end_layout
29826
29827 \begin_layout Subsection
29828 Color for Text
29829 \begin_inset Index
29830 status collapsed
29831
29832 \begin_layout Plain Layout
29833 Color ! for Text
29834 \end_layout
29835
29836 \end_inset
29837
29838
29839 \end_layout
29840
29841 \begin_layout Standard
29842 To color the background of text the text must be put into a so called 
29843 \begin_inset Quotes eld
29844 \end_inset
29845
29846 colorbox
29847 \begin_inset Quotes erd
29848 \end_inset
29849
29850 .
29851  This requires that the LaTeX-package 
29852 \series bold
29853 color
29854 \series default
29855
29856 \begin_inset Index
29857 status collapsed
29858
29859 \begin_layout Plain Layout
29860 LaTeX-packages ! color
29861 \end_layout
29862
29863 \end_inset
29864
29865  is loaded in the document preamble with the command
29866 \end_layout
29867
29868 \begin_layout Standard
29869
29870 \series bold
29871
29872 \backslash
29873 @ifundefined{textcolor}
29874 \begin_inset Newline newline
29875 \end_inset
29876
29877
29878 \begin_inset ERT
29879 status collapsed
29880
29881 \begin_layout Plain Layout
29882
29883
29884 \backslash
29885 hphantom{ }
29886 \end_layout
29887
29888 \end_inset
29889
29890 {
29891 \backslash
29892 usepackage{color}}{}
29893 \end_layout
29894
29895 \begin_layout Standard
29896 The package 
29897 \series bold
29898 color
29899 \series default
29900  will be loaded automatically by LyX when you color text.
29901 \begin_inset Foot
29902 status collapsed
29903
29904 \begin_layout Plain Layout
29905 To avoid it being loaded twice the command 
29906 \series bold
29907
29908 \backslash
29909 @ifundefined
29910 \series default
29911  is used.
29912 \end_layout
29913
29914 \end_inset
29915
29916
29917 \end_layout
29918
29919 \begin_layout Standard
29920 \begin_inset VSpace medskip
29921 \end_inset
29922
29923 Colorboxes are created with the command 
29924 \series bold
29925
29926 \backslash
29927 colorbox
29928 \series default
29929 .
29930  This will be used with the following scheme:
29931 \end_layout
29932
29933 \begin_layout Standard
29934
29935 \series bold
29936
29937 \backslash
29938 colorbox{color}{box content}
29939 \end_layout
29940
29941 \begin_layout Standard
29942 The box content can also be a box and colorboxes can also be within other
29943  boxes.
29944 \end_layout
29945
29946 \begin_layout Standard
29947 The following colors are predefined:
29948 \begin_inset Newline newline
29949 \end_inset
29950
29951
29952 \family sans
29953 black
29954 \family default
29955
29956 \family sans
29957 blue
29958 \family default
29959
29960 \family sans
29961 cyan
29962 \family default
29963 \series bold
29964 ,
29965 \series default
29966  
29967 \family sans
29968 green
29969 \family default
29970
29971 \family sans
29972 magenta
29973 \family default
29974
29975 \family sans
29976 red
29977 \family default
29978
29979 \family sans
29980 white
29981 \family default
29982 , and 
29983 \family sans
29984 yellow
29985 \family default
29986 .
29987 \begin_inset Newline newline
29988 \end_inset
29989
29990 You can also define your own color as described in section
29991 \begin_inset space ~
29992 \end_inset
29993
29994
29995 \begin_inset CommandInset ref
29996 LatexCommand ref
29997 reference "sec:Colored-Tables"
29998
29999 \end_inset
30000
30001 .
30002 \end_layout
30003
30004 \begin_layout Standard
30005 To have e.
30006 \begin_inset space \thinspace{}
30007 \end_inset
30008
30009 g.
30010 \begin_inset space \space{}
30011 \end_inset
30012
30013 a red background for a word, insert the command
30014 \end_layout
30015
30016 \begin_layout Standard
30017
30018 \series bold
30019
30020 \backslash
30021 colorbox{red}{
30022 \end_layout
30023
30024 \begin_layout Standard
30025 before the word in TeX-Code.
30026  After the word insert a closing brace 
30027 \begin_inset Quotes eld
30028 \end_inset
30029
30030
30031 \series bold
30032 }
30033 \series default
30034
30035 \begin_inset Quotes erd
30036 \end_inset
30037
30038  in TeX-Code.
30039 \begin_inset Newline newline
30040 \end_inset
30041
30042 This is the result:
30043 \end_layout
30044
30045 \begin_layout Standard
30046 This is a line where the word 
30047 \begin_inset ERT
30048 status collapsed
30049
30050 \begin_layout Plain Layout
30051
30052
30053 \backslash
30054 colorbox{red}{
30055 \end_layout
30056
30057 \end_inset
30058
30059
30060 \begin_inset Quotes eld
30061 \end_inset
30062
30063 Attention!
30064 \begin_inset Quotes erd
30065 \end_inset
30066
30067
30068 \begin_inset ERT
30069 status collapsed
30070
30071 \begin_layout Plain Layout
30072
30073 }
30074 \end_layout
30075
30076 \end_inset
30077
30078  has a red background.
30079 \end_layout
30080
30081 \begin_layout Standard
30082 \begin_inset VSpace bigskip
30083 \end_inset
30084
30085 If you would like the box frame in a different color, you can use the command
30086  
30087 \series bold
30088
30089 \backslash
30090 fcolorbox
30091 \series default
30092  with the following scheme:
30093 \end_layout
30094
30095 \begin_layout Standard
30096
30097 \series bold
30098
30099 \backslash
30100 fcolorbox{frame color}{box color}{box content}
30101 \end_layout
30102
30103 \begin_layout Standard
30104
30105 \series bold
30106
30107 \backslash
30108 fcolorbox
30109 \series default
30110  is an extension to 
30111 \series bold
30112
30113 \backslash
30114 colorbox
30115 \series default
30116 .
30117  The frame thickness and the space between the frame and the box content
30118  can be adjusted with the lengths 
30119 \series bold
30120
30121 \backslash
30122 fboxrule
30123 \series default
30124  and 
30125 \series bold
30126
30127 \backslash
30128 fboxsep
30129 \series default
30130 , respectively, as described in section
30131 \begin_inset space ~
30132 \end_inset
30133
30134
30135 \begin_inset CommandInset ref
30136 LatexCommand ref
30137 reference "sec:Decoration"
30138
30139 \end_inset
30140
30141 .
30142 \end_layout
30143
30144 \begin_layout Standard
30145 For the following example the command
30146 \end_layout
30147
30148 \begin_layout Standard
30149
30150 \series bold
30151
30152 \backslash
30153 fcolorbox{cyan}{magenta}{
30154 \end_layout
30155
30156 \begin_layout Standard
30157 was used.
30158 \end_layout
30159
30160 \begin_layout Standard
30161 Here is an example where the frame line thickness was set to 1
30162 \begin_inset space \thinspace{}
30163 \end_inset
30164
30165 mm:
30166 \begin_inset Newline newline
30167 \end_inset
30168
30169
30170 \begin_inset ERT
30171 status collapsed
30172
30173 \begin_layout Plain Layout
30174
30175
30176 \backslash
30177 fboxrule 1mm 
30178 \backslash
30179 fboxsep 1mm
30180 \end_layout
30181
30182 \end_inset
30183
30184
30185 \begin_inset ERT
30186 status collapsed
30187
30188 \begin_layout Plain Layout
30189
30190
30191 \backslash
30192 fcolorbox{cyan}{magenta}{
30193 \end_layout
30194
30195 \end_inset
30196
30197 This is text within a colored, framed box.
30198 \begin_inset ERT
30199 status collapsed
30200
30201 \begin_layout Plain Layout
30202
30203 }
30204 \end_layout
30205
30206 \end_inset
30207
30208
30209 \end_layout
30210
30211 \begin_layout Standard
30212 \begin_inset VSpace bigskip
30213 \end_inset
30214
30215 Of course you can also have colored text inside a colorbox:
30216 \begin_inset Newline newline
30217 \end_inset
30218
30219
30220 \begin_inset ERT
30221 status collapsed
30222
30223 \begin_layout Plain Layout
30224
30225
30226 \backslash
30227 fcolorbox{cyan}{magenta}{
30228 \end_layout
30229
30230 \end_inset
30231
30232
30233 \color yellow
30234 This is colored text within a colored, framed box.
30235 \color none
30236
30237 \begin_inset ERT
30238 status collapsed
30239
30240 \begin_layout Plain Layout
30241
30242 }
30243 \end_layout
30244
30245 \end_inset
30246
30247
30248 \begin_inset ERT
30249 status collapsed
30250
30251 \begin_layout Plain Layout
30252
30253
30254 \backslash
30255 fboxrule 0.4pt 
30256 \backslash
30257 fboxsep 3pt
30258 \end_layout
30259
30260 \end_inset
30261
30262
30263 \end_layout
30264
30265 \begin_layout Standard
30266
30267 \series bold
30268 \begin_inset VSpace medskip
30269 \end_inset
30270
30271
30272 \end_layout
30273
30274 \begin_layout Standard
30275 \begin_inset Note Greyedout
30276 status open
30277
30278 \begin_layout Plain Layout
30279
30280 \series bold
30281 Note:
30282 \series default
30283  Text in colorboxes cannot have line breaks.
30284  To color multiple text lines or paragraphs, use a box inside a colorbox
30285  as described in the following.
30286 \end_layout
30287
30288 \end_inset
30289
30290
30291 \end_layout
30292
30293 \begin_layout Subsection
30294 Color for Paragraphs
30295 \begin_inset CommandInset label
30296 LatexCommand label
30297 name "sub:Color-for-Paragraphs"
30298
30299 \end_inset
30300
30301
30302 \begin_inset Index
30303 status collapsed
30304
30305 \begin_layout Plain Layout
30306 Color ! for Paragraphs
30307 \end_layout
30308
30309 \end_inset
30310
30311
30312 \end_layout
30313
30314 \begin_layout Standard
30315 To set the background color for more than one text line, put the text into
30316  a minipage.
30317  Before the minipage insert the 
30318 \series bold
30319
30320 \backslash
30321 colorbox
30322 \series default
30323  command
30324 \end_layout
30325
30326 \begin_layout Standard
30327
30328 \series bold
30329
30330 \backslash
30331 colorbox{color}{
30332 \end_layout
30333
30334 \begin_layout Standard
30335 in TeX-Code.
30336  After the minipage insert a closing brace 
30337 \begin_inset Quotes eld
30338 \end_inset
30339
30340
30341 \series bold
30342 }
30343 \series default
30344
30345 \begin_inset Quotes erd
30346 \end_inset
30347
30348  in TeX-Code.
30349 \end_layout
30350
30351 \begin_layout Standard
30352 \begin_inset ERT
30353 status collapsed
30354
30355 \begin_layout Plain Layout
30356
30357
30358 \backslash
30359 colorbox{lightgrey}{
30360 \end_layout
30361
30362 \end_inset
30363
30364
30365 \begin_inset Box Frameless
30366 position "t"
30367 hor_pos "c"
30368 has_inner_box 1
30369 inner_pos "t"
30370 use_parbox 0
30371 width "100col%"
30372 special "none"
30373 height "1in"
30374 height_special "totalheight"
30375 status collapsed
30376
30377 \begin_layout Plain Layout
30378 This is text with background color.
30379  This is text with background color.
30380 \end_layout
30381
30382 \begin_layout Plain Layout
30383 \begin_inset VSpace defskip
30384 \end_inset
30385
30386 The text can have footnotes
30387 \begin_inset Foot
30388 status collapsed
30389
30390 \begin_layout Plain Layout
30391 Another example footnote
30392 \end_layout
30393
30394 \end_inset
30395
30396  and can include tables and figures.
30397 \end_layout
30398
30399 \begin_layout Plain Layout
30400 \align center
30401 \begin_inset Tabular
30402 <lyxtabular version="3" rows="3" columns="3">
30403 <features>
30404 <column alignment="center" valignment="top" width="0">
30405 <column alignment="center" valignment="top" width="0">
30406 <column alignment="center" valignment="top" width="0">
30407 <row>
30408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30409 \begin_inset Text
30410
30411 \begin_layout Plain Layout
30412 a
30413 \end_layout
30414
30415 \end_inset
30416 </cell>
30417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30418 \begin_inset Text
30419
30420 \begin_layout Plain Layout
30421 !
30422 \end_layout
30423
30424 \end_inset
30425 </cell>
30426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30427 \begin_inset Text
30428
30429 \begin_layout Plain Layout
30430 3
30431 \end_layout
30432
30433 \end_inset
30434 </cell>
30435 </row>
30436 <row>
30437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30438 \begin_inset Text
30439
30440 \begin_layout Plain Layout
30441 <
30442 \end_layout
30443
30444 \end_inset
30445 </cell>
30446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30447 \begin_inset Text
30448
30449 \begin_layout Plain Layout
30450 b2
30451 \begin_inset Quotes erd
30452 \end_inset
30453
30454 |
30455 \end_layout
30456
30457 \end_inset
30458 </cell>
30459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30460 \begin_inset Text
30461
30462 \begin_layout Plain Layout
30463 >
30464 \end_layout
30465
30466 \end_inset
30467 </cell>
30468 </row>
30469 <row>
30470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30471 \begin_inset Text
30472
30473 \begin_layout Plain Layout
30474 1
30475 \end_layout
30476
30477 \end_inset
30478 </cell>
30479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30480 \begin_inset Text
30481
30482 \begin_layout Plain Layout
30483 §
30484 \end_layout
30485
30486 \end_inset
30487 </cell>
30488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30489 \begin_inset Text
30490
30491 \begin_layout Plain Layout
30492 c
30493 \end_layout
30494
30495 \end_inset
30496 </cell>
30497 </row>
30498 </lyxtabular>
30499
30500 \end_inset
30501
30502
30503 \end_layout
30504
30505 \end_inset
30506
30507
30508 \begin_inset ERT
30509 status collapsed
30510
30511 \begin_layout Plain Layout
30512
30513 }
30514 \end_layout
30515
30516 \end_inset
30517
30518
30519 \end_layout
30520
30521 \begin_layout Section
30522 Rotated and Scaled Boxes
30523 \end_layout
30524
30525 \begin_layout Standard
30526 To use the commands described in this section, the LaTeX-package 
30527 \series bold
30528 graphicx
30529 \series default
30530
30531 \begin_inset Index
30532 status collapsed
30533
30534 \begin_layout Plain Layout
30535 LaTeX-packages ! graphicx
30536 \end_layout
30537
30538 \end_inset
30539
30540  needs to be loaded in the document preamble with the command
30541 \end_layout
30542
30543 \begin_layout Standard
30544
30545 \series bold
30546
30547 \backslash
30548 @ifundefined{rotatebox}
30549 \begin_inset Newline newline
30550 \end_inset
30551
30552
30553 \begin_inset ERT
30554 status collapsed
30555
30556 \begin_layout Plain Layout
30557
30558
30559 \backslash
30560 hphantom{ }
30561 \end_layout
30562
30563 \end_inset
30564
30565 {
30566 \backslash
30567 usepackage{graphicx}}{}
30568 \end_layout
30569
30570 \begin_layout Standard
30571 \begin_inset Note Greyedout
30572 status open
30573
30574 \begin_layout Plain Layout
30575
30576 \series bold
30577 Note:
30578 \series default
30579  Some DVI-viewers can't display rotated or scaled material.
30580 \end_layout
30581
30582 \end_inset
30583
30584
30585 \end_layout
30586
30587 \begin_layout Standard
30588 \begin_inset Note Greyedout
30589 status open
30590
30591 \begin_layout Plain Layout
30592
30593 \series bold
30594 Note:
30595 \series default
30596  Floats mustn't be inside a rotated or scaled box.
30597 \end_layout
30598
30599 \end_inset
30600
30601
30602 \end_layout
30603
30604 \begin_layout Subsection
30605 Rotated Boxes
30606 \begin_inset Index
30607 status collapsed
30608
30609 \begin_layout Plain Layout
30610 Boxes ! rotated
30611 \end_layout
30612
30613 \end_inset
30614
30615
30616 \begin_inset Index
30617 status collapsed
30618
30619 \begin_layout Plain Layout
30620 Rotated material
30621 \end_layout
30622
30623 \end_inset
30624
30625
30626 \begin_inset Index
30627 status collapsed
30628
30629 \begin_layout Plain Layout
30630 Figures ! rotated
30631 \end_layout
30632
30633 \end_inset
30634
30635
30636 \begin_inset Index
30637 status collapsed
30638
30639 \begin_layout Plain Layout
30640 Table Customization ! Rotating
30641 \end_layout
30642
30643 \end_inset
30644
30645
30646 \end_layout
30647
30648 \begin_layout Standard
30649 To rotate material, you can put it into a rotated box.
30650  Such a box is created using the command 
30651 \series bold
30652
30653 \backslash
30654 rotatebox
30655 \series default
30656  in TeX-Code with the following scheme:
30657 \end_layout
30658
30659 \begin_layout Standard
30660
30661 \series bold
30662
30663 \backslash
30664 rotatebox[rotation origin]{rotation angle}{box content}
30665 \end_layout
30666
30667 \begin_layout Standard
30668 The rotation origin is specified in the form 
30669 \series bold
30670 origin=position
30671 \series default
30672 .
30673  The following positions are possible: 
30674 \emph on
30675 c
30676 \emph default
30677  (center), 
30678 \emph on
30679 l
30680 \emph default
30681  (left), 
30682 \emph on
30683 r
30684 \emph default
30685  (right), 
30686 \emph on
30687 b
30688 \emph default
30689  (bottom), 
30690 \emph on
30691 t
30692 \emph default
30693  (top), along with meaningful combinations of the four base positions.
30694  For example 
30695 \emph on
30696 lt
30697 \emph default
30698  means that the rotation origin is at the top left corner of the box.
30699  When no rotation origin is specified, the position 
30700 \emph on
30701 l
30702 \emph default
30703  will be used.
30704  The rotation angle is a number that can be negative that specifies the
30705  angle in degrees.
30706  The rotation direction is counterclockwise.
30707 \end_layout
30708
30709 \begin_layout Standard
30710 In the following example the command 
30711 \series bold
30712
30713 \backslash
30714 rotatebox[origin=c]{60}{
30715 \series default
30716  was inserted as TeX-Code before the text 
30717 \begin_inset Quotes eld
30718 \end_inset
30719
30720 with rotated
30721 \begin_inset Quotes erd
30722 \end_inset
30723
30724 ; after the text the box was closed by a closing brace 
30725 \series bold
30726 }
30727 \series default
30728  in TeX-Code.
30729 \end_layout
30730
30731 \begin_layout Standard
30732 This is a line 
30733 \begin_inset ERT
30734 status collapsed
30735
30736 \begin_layout Plain Layout
30737
30738
30739 \backslash
30740 rotatebox[origin=c]{60}{
30741 \end_layout
30742
30743 \end_inset
30744
30745 with rotated
30746 \begin_inset ERT
30747 status collapsed
30748
30749 \begin_layout Plain Layout
30750
30751 }
30752 \end_layout
30753
30754 \end_inset
30755
30756  text.
30757 \end_layout
30758
30759 \begin_layout Standard
30760 The box content can also be another box or an inline formula:
30761 \end_layout
30762
30763 \begin_layout Standard
30764 This is a line
30765 \begin_inset ERT
30766 status collapsed
30767
30768 \begin_layout Plain Layout
30769
30770
30771 \backslash
30772 rotatebox[origin=r]{-60}{
30773 \end_layout
30774
30775 \end_inset
30776
30777
30778 \begin_inset Box Doublebox
30779 position "c"
30780 hor_pos "c"
30781 has_inner_box 0
30782 inner_pos "c"
30783 use_parbox 0
30784 width "1in"
30785 special "width"
30786 height "1in"
30787 height_special "totalheight"
30788 status collapsed
30789
30790 \begin_layout Plain Layout
30791 with rotated
30792 \end_layout
30793
30794 \end_inset
30795
30796
30797 \begin_inset ERT
30798 status collapsed
30799
30800 \begin_layout Plain Layout
30801
30802 }
30803 \end_layout
30804
30805 \end_inset
30806
30807  framed text 
30808 \begin_inset ERT
30809 status collapsed
30810
30811 \begin_layout Plain Layout
30812
30813
30814 \backslash
30815 rotatebox[origin=lb]{60}{
30816 \end_layout
30817
30818 \end_inset
30819
30820
30821 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30822 \end_inset
30823
30824
30825 \begin_inset ERT
30826 status collapsed
30827
30828 \begin_layout Plain Layout
30829
30830 }
30831 \end_layout
30832
30833 \end_inset
30834
30835  and a formula.
30836 \end_layout
30837
30838 \begin_layout Standard
30839 or an image or table:
30840 \end_layout
30841
30842 \begin_layout Standard
30843 This is a line
30844 \begin_inset ERT
30845 status collapsed
30846
30847 \begin_layout Plain Layout
30848
30849
30850 \backslash
30851 rotatebox[origin=lb]{90}{
30852 \end_layout
30853
30854 \end_inset
30855
30856
30857 \begin_inset Graphics
30858         filename clipart/platypus.eps
30859         lyxscale 50
30860         width 25col%
30861
30862 \end_inset
30863
30864
30865 \begin_inset ERT
30866 status collapsed
30867
30868 \begin_layout Plain Layout
30869
30870 }
30871 \end_layout
30872
30873 \end_inset
30874
30875  with a rotated image 
30876 \begin_inset ERT
30877 status collapsed
30878
30879 \begin_layout Plain Layout
30880
30881
30882 \backslash
30883 rotatebox[origin=l]{-90}{
30884 \end_layout
30885
30886 \end_inset
30887
30888
30889 \begin_inset Tabular
30890 <lyxtabular version="3" rows="2" columns="2">
30891 <features>
30892 <column alignment="center" valignment="top" width="0">
30893 <column alignment="center" valignment="top" width="0">
30894 <row>
30895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30896 \begin_inset Text
30897
30898 \begin_layout Plain Layout
30899 q
30900 \end_layout
30901
30902 \end_inset
30903 </cell>
30904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30905 \begin_inset Text
30906
30907 \begin_layout Plain Layout
30908 w
30909 \end_layout
30910
30911 \end_inset
30912 </cell>
30913 </row>
30914 <row>
30915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30916 \begin_inset Text
30917
30918 \begin_layout Plain Layout
30919 e
30920 \end_layout
30921
30922 \end_inset
30923 </cell>
30924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30925 \begin_inset Text
30926
30927 \begin_layout Plain Layout
30928 r
30929 \end_layout
30930
30931 \end_inset
30932 </cell>
30933 </row>
30934 </lyxtabular>
30935
30936 \end_inset
30937
30938
30939 \begin_inset ERT
30940 status collapsed
30941
30942 \begin_layout Plain Layout
30943
30944 }
30945 \end_layout
30946
30947 \end_inset
30948
30949  and table.
30950 \end_layout
30951
30952 \begin_layout Subsection
30953 Scaled Boxes
30954 \begin_inset Index
30955 status collapsed
30956
30957 \begin_layout Plain Layout
30958 Boxes ! scaled
30959 \end_layout
30960
30961 \end_inset
30962
30963
30964 \begin_inset Index
30965 status collapsed
30966
30967 \begin_layout Plain Layout
30968 Scaled material
30969 \end_layout
30970
30971 \end_inset
30972
30973
30974 \begin_inset Index
30975 status collapsed
30976
30977 \begin_layout Plain Layout
30978 Figures ! scaled
30979 \end_layout
30980
30981 \end_inset
30982
30983
30984 \begin_inset Index
30985 status collapsed
30986
30987 \begin_layout Plain Layout
30988 Table Customization ! Scaling
30989 \end_layout
30990
30991 \end_inset
30992
30993
30994 \end_layout
30995
30996 \begin_layout Standard
30997 To scale material the commands 
30998 \series bold
30999
31000 \backslash
31001 scalebox
31002 \series default
31003  and 
31004 \series bold
31005
31006 \backslash
31007 resizebox
31008 \series default
31009  can be used as TeX-Code.
31010 \end_layout
31011
31012 \begin_layout Standard
31013
31014 \series bold
31015
31016 \backslash
31017 scalebox
31018 \series default
31019  is used with the following scheme:
31020 \end_layout
31021
31022 \begin_layout Standard
31023
31024 \series bold
31025
31026 \backslash
31027 scalebox{horizontal}[vertical]{box content}
31028 \end_layout
31029
31030 \begin_layout Standard
31031 Horizontal and vertical are the corresponding scaling factors.
31032  If no vertical scaling factor is given, the horizontal factor will also
31033  be used as the vertical one.
31034 \end_layout
31035
31036 \begin_layout Standard
31037 The command 
31038 \series bold
31039
31040 \backslash
31041 scalebox{2}{Hello}
31042 \series default
31043  creates for example a double size 
31044 \begin_inset ERT
31045 status collapsed
31046
31047 \begin_layout Plain Layout
31048
31049
31050 \backslash
31051 scalebox{2}{
31052 \end_layout
31053
31054 \end_inset
31055
31056 Hello
31057 \begin_inset ERT
31058 status collapsed
31059
31060 \begin_layout Plain Layout
31061
31062 }
31063 \end_layout
31064
31065 \end_inset
31066
31067 , compared with the document text size.
31068 \end_layout
31069
31070 \begin_layout Standard
31071
31072 \series bold
31073
31074 \backslash
31075 scalebox{2}[1]{Hello}
31076 \series default
31077  on the other hand distorts the 
31078 \begin_inset ERT
31079 status collapsed
31080
31081 \begin_layout Plain Layout
31082
31083
31084 \backslash
31085 scalebox{2}[1]{
31086 \end_layout
31087
31088 \end_inset
31089
31090 Hello
31091 \begin_inset ERT
31092 status collapsed
31093
31094 \begin_layout Plain Layout
31095
31096 }
31097 \end_layout
31098
31099 \end_inset
31100
31101 .
31102 \end_layout
31103
31104 \begin_layout Standard
31105 If the scaling factor is negative, the box content will be mirrored.
31106  Therefore the command 
31107 \series bold
31108
31109 \backslash
31110 scalebox{-1}[1]{Hello}
31111 \series default
31112  can be used to create mirror writing: 
31113 \begin_inset ERT
31114 status collapsed
31115
31116 \begin_layout Plain Layout
31117
31118
31119 \backslash
31120 scalebox{-1}[1]{
31121 \end_layout
31122
31123 \end_inset
31124
31125 Hello
31126 \begin_inset ERT
31127 status collapsed
31128
31129 \begin_layout Plain Layout
31130
31131 }
31132 \end_layout
31133
31134 \end_inset
31135
31136
31137 \end_layout
31138
31139 \begin_layout Standard
31140
31141 \series bold
31142
31143 \backslash
31144 scalebox{1}[-1]{Hello}
31145 \series default
31146  reflects the 
31147 \begin_inset ERT
31148 status collapsed
31149
31150 \begin_layout Plain Layout
31151
31152
31153 \backslash
31154 scalebox{1}[-1]{
31155 \end_layout
31156
31157 \end_inset
31158
31159 Hello
31160 \begin_inset ERT
31161 status collapsed
31162
31163 \begin_layout Plain Layout
31164
31165 }
31166 \end_layout
31167
31168 \end_inset
31169
31170  at the base line.
31171 \end_layout
31172
31173 \begin_layout Standard
31174 Equivalent to 
31175 \series bold
31176
31177 \backslash
31178 scalebox{-1}[1]{box content}
31179 \series default
31180  there exists the command
31181 \begin_inset Newline newline
31182 \end_inset
31183
31184
31185 \series bold
31186
31187 \backslash
31188 reflectbox{box content}
31189 \series default
31190 .
31191 \end_layout
31192
31193 \begin_layout Standard
31194 \begin_inset VSpace bigskip
31195 \end_inset
31196
31197 The command 
31198 \series bold
31199
31200 \backslash
31201 resizebox
31202 \series default
31203  is used to scale the box to a defined width and height.
31204  The command scheme is:
31205 \end_layout
31206
31207 \begin_layout Standard
31208
31209 \series bold
31210
31211 \backslash
31212 resizebox{width}{height}{box content}
31213 \end_layout
31214
31215 \begin_layout Standard
31216 If one of the two command arguments given is an exclamation mark 
31217 \series bold
31218 !
31219 \series default
31220 , the size is set so that the aspect ratio of the box content is kept.
31221 \end_layout
31222
31223 \begin_layout Standard
31224 The command 
31225 \series bold
31226
31227 \backslash
31228 resizebox{2cm}{1cm}{Hello}
31229 \series default
31230  produces: 
31231 \begin_inset ERT
31232 status collapsed
31233
31234 \begin_layout Plain Layout
31235
31236
31237 \backslash
31238 resizebox{2cm}{1cm}{
31239 \end_layout
31240
31241 \end_inset
31242
31243 Hello
31244 \begin_inset ERT
31245 status collapsed
31246
31247 \begin_layout Plain Layout
31248
31249 }
31250 \end_layout
31251
31252 \end_inset
31253
31254
31255 \begin_inset Newline newline
31256 \end_inset
31257
31258 The command 
31259 \series bold
31260
31261 \backslash
31262 resizebox{2cm}{!}{Hello}
31263 \series default
31264  produces: 
31265 \begin_inset ERT
31266 status collapsed
31267
31268 \begin_layout Plain Layout
31269
31270
31271 \backslash
31272 resizebox{2cm}{!}{
31273 \end_layout
31274
31275 \end_inset
31276
31277 Hello
31278 \begin_inset ERT
31279 status collapsed
31280
31281 \begin_layout Plain Layout
31282
31283 }
31284 \end_layout
31285
31286 \end_inset
31287
31288
31289 \end_layout
31290
31291 \begin_layout Standard
31292 \begin_inset VSpace bigskip
31293 \end_inset
31294
31295
31296 \begin_inset Note Greyedout
31297 status open
31298
31299 \begin_layout Plain Layout
31300
31301 \series bold
31302 Note:
31303 \series default
31304  When arguments of 
31305 \series bold
31306
31307 \backslash
31308 scalebox
31309 \series default
31310  or 
31311 \series bold
31312
31313 \backslash
31314 resizebox
31315 \series default
31316  are set to zero, no LaTeX-errors occur when exporting the document but
31317  the exported files can not or only partly be displayed.
31318 \end_layout
31319
31320 \end_inset
31321
31322
31323 \end_layout
31324
31325 \begin_layout Standard
31326 \begin_inset VSpace bigskip
31327 \end_inset
31328
31329
31330 \end_layout
31331
31332 \begin_layout Standard
31333 The boxes can be combined in any order.
31334  E.
31335 \begin_inset space \thinspace{}
31336 \end_inset
31337
31338 g.
31339 \begin_inset space \space{}
31340 \end_inset
31341
31342 the command
31343 \begin_inset Newline newline
31344 \end_inset
31345
31346
31347 \series bold
31348
31349 \backslash
31350 rotatebox[origin=c]{-45}{
31351 \backslash
31352 resizebox{2cm}{!}{
31353 \backslash
31354 reflectbox{Hello}}}
31355 \begin_inset Newline newline
31356 \end_inset
31357
31358
31359 \series default
31360 produces:
31361 \end_layout
31362
31363 \begin_layout Standard
31364 \align center
31365 \begin_inset ERT
31366 status collapsed
31367
31368 \begin_layout Plain Layout
31369
31370
31371 \backslash
31372 rotatebox[origin=c]{-45}{
31373 \backslash
31374 resizebox{2cm}{!}{
31375 \backslash
31376 reflectbox{
31377 \end_layout
31378
31379 \end_inset
31380
31381 Hello
31382 \begin_inset ERT
31383 status collapsed
31384
31385 \begin_layout Plain Layout
31386
31387 }}}
31388 \end_layout
31389
31390 \end_inset
31391
31392
31393 \end_layout
31394
31395 \begin_layout Standard
31396 \noindent
31397 Images, tables, and inline formulas are allowed as box content:
31398 \end_layout
31399
31400 \begin_layout Standard
31401 \align center
31402 \begin_inset ERT
31403 status collapsed
31404
31405 \begin_layout Plain Layout
31406
31407
31408 \backslash
31409 rotatebox[origin=c]{-30}{
31410 \backslash
31411 resizebox{2cm}{!}{
31412 \backslash
31413 reflectbox{
31414 \end_layout
31415
31416 \end_inset
31417
31418
31419 \begin_inset Graphics
31420         filename clipart/platypus.eps
31421         lyxscale 50
31422         width 25col%
31423
31424 \end_inset
31425
31426
31427 \begin_inset ERT
31428 status collapsed
31429
31430 \begin_layout Plain Layout
31431
31432 }}}
31433 \end_layout
31434
31435 \end_inset
31436
31437
31438 \begin_inset ERT
31439 status collapsed
31440
31441 \begin_layout Plain Layout
31442
31443
31444 \backslash
31445 rotatebox[origin=c]{-45}{
31446 \backslash
31447 resizebox{2cm}{!}{
31448 \backslash
31449 reflectbox{
31450 \end_layout
31451
31452 \end_inset
31453
31454
31455 \begin_inset Tabular
31456 <lyxtabular version="3" rows="2" columns="2">
31457 <features>
31458 <column alignment="center" valignment="top" width="0">
31459 <column alignment="center" valignment="top" width="0">
31460 <row>
31461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31462 \begin_inset Text
31463
31464 \begin_layout Plain Layout
31465 q
31466 \end_layout
31467
31468 \end_inset
31469 </cell>
31470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31471 \begin_inset Text
31472
31473 \begin_layout Plain Layout
31474 w
31475 \end_layout
31476
31477 \end_inset
31478 </cell>
31479 </row>
31480 <row>
31481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31482 \begin_inset Text
31483
31484 \begin_layout Plain Layout
31485 e
31486 \end_layout
31487
31488 \end_inset
31489 </cell>
31490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31491 \begin_inset Text
31492
31493 \begin_layout Plain Layout
31494 r
31495 \end_layout
31496
31497 \end_inset
31498 </cell>
31499 </row>
31500 </lyxtabular>
31501
31502 \end_inset
31503
31504
31505 \begin_inset ERT
31506 status collapsed
31507
31508 \begin_layout Plain Layout
31509
31510 }}}
31511 \end_layout
31512
31513 \end_inset
31514
31515
31516 \begin_inset ERT
31517 status collapsed
31518
31519 \begin_layout Plain Layout
31520
31521
31522 \backslash
31523 rotatebox[origin=c]{-45}{
31524 \backslash
31525 resizebox{2cm}{!}{
31526 \backslash
31527 reflectbox{
31528 \end_layout
31529
31530 \end_inset
31531
31532
31533 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31534 \end_inset
31535
31536
31537 \begin_inset ERT
31538 status collapsed
31539
31540 \begin_layout Plain Layout
31541
31542 }}}
31543 \end_layout
31544
31545 \end_inset
31546
31547
31548 \end_layout
31549
31550 \begin_layout Standard
31551 When the global formula style 
31552 \series bold
31553 fleqn
31554 \series default
31555  is used in the document
31556 \begin_inset Foot
31557 status collapsed
31558
31559 \begin_layout Plain Layout
31560 When 
31561 \begin_inset Quotes eld
31562 \end_inset
31563
31564 fleqn
31565 \begin_inset Quotes erd
31566 \end_inset
31567
31568  is added to the document class options.
31569 \end_layout
31570
31571 \end_inset
31572
31573 , display style formulas can also be scaled.
31574 \end_layout
31575
31576 \begin_layout Chapter
31577 External Document Parts
31578 \begin_inset Index
31579 status collapsed
31580
31581 \begin_layout Plain Layout
31582 External Document Parts
31583 \end_layout
31584
31585 \end_inset
31586
31587
31588 \end_layout
31589
31590 \begin_layout Standard
31591 With the menu 
31592 \family sans
31593 Insert\SpecialChar \menuseparator
31594 File
31595 \family default
31596  you can insert external material to your document.
31597  This can be:
31598 \end_layout
31599
31600 \begin_layout Description
31601 LyX
31602 \begin_inset space ~
31603 \end_inset
31604
31605 Document Another LyX document; its content is directly inserted to your
31606  document.
31607 \end_layout
31608
31609 \begin_layout Description
31610 Plain
31611 \begin_inset space ~
31612 \end_inset
31613
31614 Text A text document; each line is inserted in your document as a separate
31615  paragraph.
31616 \end_layout
31617
31618 \begin_layout Description
31619 Plain
31620 \begin_inset space ~
31621 \end_inset
31622
31623 Text,
31624 \begin_inset space ~
31625 \end_inset
31626
31627 Join
31628 \begin_inset space ~
31629 \end_inset
31630
31631 Lines A text document; text lines are inserted in your document continuously
31632  but an empty text line creates a new paragraph.
31633 \end_layout
31634
31635 \begin_layout Description
31636 External
31637 \begin_inset space ~
31638 \end_inset
31639
31640 Material Files in various formats.
31641 \end_layout
31642
31643 \begin_layout Description
31644 Child
31645 \begin_inset space ~
31646 \end_inset
31647
31648 Document LyX or LaTeX-documents.
31649 \end_layout
31650
31651 \begin_layout Section
31652 External Material
31653 \begin_inset Index
31654 status collapsed
31655
31656 \begin_layout Plain Layout
31657 External Document Parts ! External Material
31658 \end_layout
31659
31660 \end_inset
31661
31662
31663 \end_layout
31664
31665 \begin_layout Standard
31666 The external material feature allows you to insert files in to your document
31667  without converting them to a format that can be read by the document output
31668  format.
31669  LyX takes care of the necessary conversions.
31670  This is similar to images that can be inserted in various image formats
31671  in LyX documents.
31672  When you have enabled Instant Preview in LyX's preferences under 
31673 \family sans
31674 Look
31675 \begin_inset space ~
31676 \end_inset
31677
31678 and
31679 \begin_inset space ~
31680 \end_inset
31681
31682 feel\SpecialChar \menuseparator
31683 Graphics
31684 \family default
31685 , the external material types Dia and Xfig are directly shown in LyX.
31686 \end_layout
31687
31688 \begin_layout Standard
31689 External material can be inserted via the 
31690 \family sans
31691 External Material
31692 \family default
31693  dialog that is accessible with the menu 
31694 \family sans
31695 Insert\SpecialChar \menuseparator
31696 File\SpecialChar \menuseparator
31697 External
31698 \begin_inset space ~
31699 \end_inset
31700
31701 Material
31702 \family default
31703 .
31704  Currently the following file types (
31705 \family sans
31706 Templates
31707 \family default
31708 ) are allowed:
31709 \end_layout
31710
31711 \begin_layout Description
31712 ChessDiagram This template supports chess position diagrams made with the
31713  program 
31714 \series bold
31715
31716 \begin_inset CommandInset href
31717 LatexCommand href
31718 name "XBoard"
31719 target "http://en.wikipedia.org/wiki/XBoard"
31720
31721 \end_inset
31722
31723
31724 \series default
31725 .
31726 \end_layout
31727
31728 \begin_layout Description
31729 Date This inserts the date in the form 
31730 \emph on
31731 Day-Month-Year
31732 \emph default
31733 .
31734  This is a date inserted as external material: 
31735 \begin_inset External
31736         template Date
31737         filename .
31738
31739 \end_inset
31740
31741
31742 \begin_inset space ~
31743 \end_inset
31744
31745
31746 \begin_inset Note Note
31747 status open
31748
31749 \begin_layout Plain Layout
31750 Remove the protected space when bug 4398 is fixed!
31751 \end_layout
31752
31753 \end_inset
31754
31755
31756 \begin_inset Newline newline
31757 \end_inset
31758
31759 The date is not shown within LyX, only in the output.
31760  There are two other methods of inserting a date: Via menu 
31761 \family sans
31762 Insert\SpecialChar \menuseparator
31763 Date
31764 \family default
31765  and with the LaTeX command 
31766 \series bold
31767
31768 \backslash
31769 today
31770 \series default
31771  as TeX-Code.
31772  The different methods are compared in Table
31773 \begin_inset space ~
31774 \end_inset
31775
31776
31777 \begin_inset CommandInset ref
31778 LatexCommand ref
31779 reference "tab:Comparison-of-the"
31780
31781 \end_inset
31782
31783 .
31784 \end_layout
31785
31786 \begin_layout Description
31787 Dia This template supports diagrams created with the program 
31788 \series bold
31789
31790 \begin_inset CommandInset href
31791 LatexCommand href
31792 name "Dia"
31793 target "http://en.wikipedia.org/wiki/Dia_(software)"
31794
31795 \end_inset
31796
31797
31798 \series default
31799 .
31800 \end_layout
31801
31802 \begin_layout Description
31803 LilyPond This template is used for music notation typeset with the program
31804 \begin_inset Newline linebreak
31805 \end_inset
31806
31807
31808 \series bold
31809
31810 \begin_inset CommandInset href
31811 LatexCommand href
31812 name "LilyPond"
31813 target "http://en.wikipedia.org/wiki/LilyPond"
31814
31815 \end_inset
31816
31817
31818 \series default
31819 .
31820 \end_layout
31821
31822 \begin_layout Description
31823 PDFPages With this template you can insert PDF documents to your document.
31824  To insert certain or all pages of a PDF, use the 
31825 \emph on
31826 pages
31827 \emph default
31828  option in the 
31829 \family sans
31830 Option
31831 \family default
31832  field in the 
31833 \family sans
31834 LaTeX and LyX options
31835 \family default
31836  tab according to the template description in the dialog.
31837  When no 
31838 \emph on
31839 pages
31840 \emph default
31841  option is given, only the first page of the PDF will be inserted.
31842 \end_layout
31843
31844 \begin_layout Description
31845 RasterImage This can be used for bitmap images.
31846  Nearly all popular image formats are supported.
31847  The image can be treated in the 
31848 \family sans
31849 External material
31850 \family default
31851  dialog like the images that are usually included via the 
31852 \family sans
31853 Graphics
31854 \family default
31855  dialog as described in section
31856 \begin_inset space ~
31857 \end_inset
31858
31859
31860 \begin_inset CommandInset ref
31861 LatexCommand ref
31862 reference "sec:Graphics-Dialog"
31863
31864 \end_inset
31865
31866 .
31867  The difference is that only raster images are allowed; that means that
31868  PDF and EPS-images are not supported.
31869 \end_layout
31870
31871 \begin_layout Description
31872 XFig This template supports images created with the program 
31873 \series bold
31874
31875 \begin_inset CommandInset href
31876 LatexCommand href
31877 name "Xfig"
31878 target "http://en.wikipedia.org/wiki/Xfig"
31879
31880 \end_inset
31881
31882
31883 \series default
31884 .
31885 \end_layout
31886
31887 \begin_layout Standard
31888 \begin_inset Float table
31889 placement h
31890 wide false
31891 sideways false
31892 status open
31893
31894 \begin_layout Plain Layout
31895 \begin_inset Caption
31896
31897 \begin_layout Plain Layout
31898 \begin_inset CommandInset label
31899 LatexCommand label
31900 name "tab:Comparison-of-the"
31901
31902 \end_inset
31903
31904 Comparison of the date input methods.
31905 \end_layout
31906
31907 \end_inset
31908
31909
31910 \end_layout
31911
31912 \begin_layout Plain Layout
31913 \align center
31914 \begin_inset Tabular
31915 <lyxtabular version="3" rows="4" columns="4">
31916 <features>
31917 <column alignment="center" valignment="top" width="0">
31918 <column alignment="center" valignment="top" width="0">
31919 <column alignment="center" valignment="top" width="0">
31920 <column alignment="center" valignment="top" width="0">
31921 <row>
31922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31923 \begin_inset Text
31924
31925 \begin_layout Plain Layout
31926 Document format
31927 \end_layout
31928
31929 \end_inset
31930 </cell>
31931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31932 \begin_inset Text
31933
31934 \begin_layout Plain Layout
31935
31936 \family sans
31937 External Material\SpecialChar \menuseparator
31938 Date
31939 \end_layout
31940
31941 \end_inset
31942 </cell>
31943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31944 \begin_inset Text
31945
31946 \begin_layout Plain Layout
31947
31948 \family sans
31949 Insert\SpecialChar \menuseparator
31950 Date
31951 \end_layout
31952
31953 \end_inset
31954 </cell>
31955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31956 \begin_inset Text
31957
31958 \begin_layout Plain Layout
31959 command 
31960 \series bold
31961
31962 \backslash
31963 today
31964 \end_layout
31965
31966 \end_inset
31967 </cell>
31968 </row>
31969 <row>
31970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31971 \begin_inset Text
31972
31973 \begin_layout Plain Layout
31974 LyX
31975 \end_layout
31976
31977 \end_inset
31978 </cell>
31979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31980 \begin_inset Text
31981
31982 \begin_layout Plain Layout
31983 as inset box
31984 \end_layout
31985
31986 \end_inset
31987 </cell>
31988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31989 \begin_inset Text
31990
31991 \begin_layout Plain Layout
31992 as date
31993 \end_layout
31994
31995 \end_inset
31996 </cell>
31997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31998 \begin_inset Text
31999
32000 \begin_layout Plain Layout
32001 as TeX-Code inset box
32002 \end_layout
32003
32004 \end_inset
32005 </cell>
32006 </row>
32007 <row>
32008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32009 \begin_inset Text
32010
32011 \begin_layout Plain Layout
32012 LaTeX
32013 \end_layout
32014
32015 \end_inset
32016 </cell>
32017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32018 \begin_inset Text
32019
32020 \begin_layout Plain Layout
32021 as date
32022 \end_layout
32023
32024 \end_inset
32025 </cell>
32026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32027 \begin_inset Text
32028
32029 \begin_layout Plain Layout
32030 as date
32031 \end_layout
32032
32033 \end_inset
32034 </cell>
32035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32036 \begin_inset Text
32037
32038 \begin_layout Plain Layout
32039 as command
32040 \end_layout
32041
32042 \end_inset
32043 </cell>
32044 </row>
32045 <row>
32046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32047 \begin_inset Text
32048
32049 \begin_layout Plain Layout
32050 DVI, PDF, PS
32051 \end_layout
32052
32053 \end_inset
32054 </cell>
32055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32056 \begin_inset Text
32057
32058 \begin_layout Plain Layout
32059 as date
32060 \end_layout
32061
32062 \end_inset
32063 </cell>
32064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32065 \begin_inset Text
32066
32067 \begin_layout Plain Layout
32068 as date
32069 \end_layout
32070
32071 \end_inset
32072 </cell>
32073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32074 \begin_inset Text
32075
32076 \begin_layout Plain Layout
32077 as date
32078 \end_layout
32079
32080 \end_inset
32081 </cell>
32082 </row>
32083 </lyxtabular>
32084
32085 \end_inset
32086
32087
32088 \end_layout
32089
32090 \end_inset
32091
32092
32093 \end_layout
32094
32095 \begin_layout Standard
32096 When you use the option 
32097 \family sans
32098 Draft
32099 \family default
32100  in the 
32101 \family sans
32102 File
32103 \family default
32104  tab of the 
32105 \family sans
32106 External Material
32107 \family default
32108  dialog, only the path to the inserted file is shown in the output.
32109 \begin_inset Newline newline
32110 \end_inset
32111
32112 External material is displayed in LyX either as a box like this: 
32113 \begin_inset Graphics
32114         filename clipart/ExternalMaterialQt4.png
32115         scale 85
32116         scaleBeforeRotation
32117
32118 \end_inset
32119
32120  or as image, depending on the option 
32121 \family sans
32122 Show in LyX
32123 \family default
32124  in the 
32125 \family sans
32126 LaTeX and LyX options
32127 \family default
32128  tab of the dialog.
32129 \end_layout
32130
32131 \begin_layout Standard
32132 The 
32133 \family sans
32134 \emph on
32135 Customization
32136 \family default
32137 \emph default
32138  manual explains how you can define your own templates.
32139 \end_layout
32140
32141 \begin_layout Section
32142 Child Documents
32143 \begin_inset CommandInset label
32144 LatexCommand label
32145 name "sec:Child-Documents"
32146
32147 \end_inset
32148
32149
32150 \begin_inset Index
32151 status collapsed
32152
32153 \begin_layout Plain Layout
32154 External Document Parts ! Child Documents
32155 \end_layout
32156
32157 \end_inset
32158
32159
32160 \begin_inset Index
32161 status collapsed
32162
32163 \begin_layout Plain Layout
32164 Files ! Include
32165 \end_layout
32166
32167 \end_inset
32168
32169
32170 \end_layout
32171
32172 \begin_layout Standard
32173 Child documents are used when you have a long document consisting of several
32174  larger parts or sections.
32175  For maintenance it is often useful and sometimes even required to split
32176  the document in several files that can be revised separately.
32177  The different documents are then the so called child documents and a master
32178  document connects them to print the full document or parts of it.
32179  A child documents inherits elements of its master, for example the LaTeX
32180  preamble, the bibliography, and labels for cross-references.
32181 \end_layout
32182
32183 \begin_layout Standard
32184 To be able to work on child documents without the need to open their master,
32185  specify in the child document the master in the menu
32186 \family sans
32187  Document\SpecialChar \menuseparator
32188 Settings\SpecialChar \menuseparator
32189 Document
32190 \begin_inset space ~
32191 \end_inset
32192
32193 Class
32194 \family default
32195 .
32196  This master document will then be used in the background by LyX when you
32197  edit the child document.
32198 \end_layout
32199
32200 \begin_layout Standard
32201 Included documents are displayed in LyX as a box like this: 
32202 \begin_inset Graphics
32203         filename clipart/ChildDocumentQt4.png
32204         scale 85
32205         scaleBeforeRotation
32206
32207 \end_inset
32208
32209  To include child documents in a master document use the menu 
32210 \family sans
32211 Insert\SpecialChar \menuseparator
32212 File\SpecialChar \menuseparator
32213 Child
32214 \begin_inset space ~
32215 \end_inset
32216
32217 Documents
32218 \family default
32219 .
32220  A dialog pops up where you can choose between four include methods:
32221 \end_layout
32222
32223 \begin_layout Description
32224 Include You can include LyX and LaTeX-documents.
32225  When you press the 
32226 \family sans
32227 Load
32228 \family default
32229  button in the 
32230 \family sans
32231 Child Document
32232 \family default
32233  dialog, the included documents will be opened in LyX in a new file tab
32234  so that you can modify them.
32235 \begin_inset Newline newline
32236 \end_inset
32237
32238
32239 \end_layout
32240
32241 \begin_layout Standard
32242 Here is a child document inserted using 
32243 \family sans
32244 Include
32245 \family default
32246
32247 \begin_inset CommandInset include
32248 LatexCommand include
32249 filename "DummyDocument1.lyx"
32250
32251 \end_inset
32252
32253
32254 \end_layout
32255
32256 \begin_layout Standard
32257 The section numbering includes the sections of the included files in the
32258  order they are inserted in the master document.
32259  The included example document has for example a subsection that is numbered
32260  as a subsection of this section.
32261  Labels of included documents can be referenced: Subsection
32262 \begin_inset space ~
32263 \end_inset
32264
32265
32266 \begin_inset CommandInset ref
32267 LatexCommand ref
32268 reference "sub:External-Subsection-1"
32269
32270 \end_inset
32271
32272
32273 \end_layout
32274
32275 \begin_layout Standard
32276 The preamble of the child document is ignored; only the preamble of the
32277  master document is used.
32278  Branches in child documents will be ignored by the master document when
32279  the master document does not have a branch with the same name.
32280  Included documents are inserted starting on a new page and ending with
32281  a page break.
32282 \end_layout
32283
32284 \begin_layout Standard
32285 If you are only working on a certain chapter of a large document and want
32286  to save compiling time, you can put each included file into a branch.
32287 \begin_inset Foot
32288 status collapsed
32289
32290 \begin_layout Plain Layout
32291 Branches are described in section 
32292 \emph on
32293 Branches
32294 \emph default
32295  of the LyX 
32296 \emph on
32297 Userguide
32298 \emph default
32299 .
32300 \end_layout
32301
32302 \end_inset
32303
32304  By enabling/disabling branches you can decide what included files will
32305  appear in the output.
32306 \end_layout
32307
32308 \begin_layout Standard
32309 \begin_inset Note Greyedout
32310 status open
32311
32312 \begin_layout Plain Layout
32313
32314 \series bold
32315 Note:
32316 \series default
32317  Due to a bug in LyX the LaTeX command 
32318 \series bold
32319
32320 \backslash
32321 includeonly
32322 \series default
32323  can currently not be used as an alternative to decide what files should
32324  be included.
32325 \end_layout
32326
32327 \end_inset
32328
32329
32330 \end_layout
32331
32332 \begin_layout Standard
32333 \begin_inset Note Greyedout
32334 status open
32335
32336 \begin_layout Plain Layout
32337
32338 \series bold
32339 Note:
32340 \series default
32341  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
32342 w the document in case the child document uses another document class than
32343  the master document as this will lead to unexpected outputs.
32344 \end_layout
32345
32346 \end_inset
32347
32348
32349 \end_layout
32350
32351 \begin_layout Description
32352 Input This method is very similar to the Include method.
32353  The differences are:
32354 \end_layout
32355
32356 \begin_deeper
32357 \begin_layout Itemize
32358 Input files don't start with a new page and don't end with a page break.
32359 \end_layout
32360
32361 \begin_layout Itemize
32362 Input files can be previewed in LyX when 
32363 \family sans
32364 Instant
32365 \begin_inset space ~
32366 \end_inset
32367
32368 Preview
32369 \family default
32370  is enabled in LyX's preferences under 
32371 \family sans
32372 Look
32373 \begin_inset space ~
32374 \end_inset
32375
32376 and
32377 \begin_inset space ~
32378 \end_inset
32379
32380 feel\SpecialChar \menuseparator
32381 Graphics
32382 \family default
32383 .
32384 \end_layout
32385
32386 \begin_layout Itemize
32387 The LaTeX-command 
32388 \series bold
32389
32390 \backslash
32391 includeonly
32392 \series default
32393  cannot be used.
32394 \end_layout
32395
32396 \end_deeper
32397 \begin_layout Standard
32398 Here is a child document inserted using 
32399 \family sans
32400 Input
32401 \family default
32402
32403 \begin_inset CommandInset include
32404 LatexCommand input
32405 filename "DummyDocument2.lyx"
32406
32407 \end_inset
32408
32409
32410 \end_layout
32411
32412 \begin_layout Description
32413 Verbatim With this method every text file can be included.
32414  The file is shown in the output with its source code; no command used in
32415  the text is invoked.
32416  You can use the option 
32417 \family sans
32418 Mark spaces in output
32419 \family default
32420  that displays the character 
32421 \begin_inset Quotes eld
32422 \end_inset
32423
32424
32425 \begin_inset ERT
32426 status collapsed
32427
32428 \begin_layout Plain Layout
32429
32430
32431 \backslash
32432 textvisiblespace 
32433 \end_layout
32434
32435 \end_inset
32436
32437
32438 \begin_inset Quotes erd
32439 \end_inset
32440
32441  for every space character in the source code.
32442  The difference from the method via the menu 
32443 \family sans
32444 Insert\SpecialChar \menuseparator
32445 File\SpecialChar \menuseparator
32446 Plain
32447 \begin_inset space ~
32448 \end_inset
32449
32450 Text
32451 \family default
32452  is that the document content is not shown in LyX.
32453 \end_layout
32454
32455 \begin_layout Standard
32456 Here is a child document inserted as Verbatim: 
32457 \begin_inset CommandInset include
32458 LatexCommand verbatiminput
32459 filename "DummyTextDocument.txt"
32460
32461 \end_inset
32462
32463
32464 \begin_inset VSpace bigskip
32465 \end_inset
32466
32467 Here is a child document inserted as Verbatim using the 
32468 \family sans
32469 Mark spaces in output
32470 \family default
32471  option: 
32472 \begin_inset CommandInset include
32473 LatexCommand verbatiminput*
32474 filename "DummyTextDocument.txt"
32475
32476 \end_inset
32477
32478
32479 \end_layout
32480
32481 \begin_layout Standard
32482 \begin_inset VSpace bigskip
32483 \end_inset
32484
32485
32486 \end_layout
32487
32488 \begin_layout Standard
32489 \begin_inset Note Greyedout
32490 status open
32491
32492 \begin_layout Plain Layout
32493
32494 \series bold
32495 Note:
32496 \series default
32497  As you can see in the examples above, the text of the documents included
32498  as 
32499 \family sans
32500 verbatim
32501 \family default
32502  is not broken at the end of the document lines.
32503 \end_layout
32504
32505 \end_inset
32506
32507
32508 \end_layout
32509
32510 \begin_layout Description
32511 Listings This type is described in chapter
32512 \begin_inset space ~
32513 \end_inset
32514
32515
32516 \begin_inset CommandInset ref
32517 LatexCommand ref
32518 reference "cha:Program-Code-Listings"
32519
32520 \end_inset
32521
32522 .
32523 \end_layout
32524
32525 \begin_layout Standard
32526 \begin_inset Note Greyedout
32527 status open
32528
32529 \begin_layout Plain Layout
32530
32531 \series bold
32532 Note:
32533 \series default
32534  Including the same document twice in a document using different methods
32535  could cause LaTeX-problems.
32536 \end_layout
32537
32538 \end_inset
32539
32540
32541 \end_layout
32542
32543 \begin_layout Chapter
32544 Program Code Listings
32545 \begin_inset CommandInset label
32546 LatexCommand label
32547 name "cha:Program-Code-Listings"
32548
32549 \end_inset
32550
32551
32552 \begin_inset Index
32553 status collapsed
32554
32555 \begin_layout Plain Layout
32556 Listings
32557 \end_layout
32558
32559 \end_inset
32560
32561
32562 \begin_inset Index
32563 status collapsed
32564
32565 \begin_layout Plain Layout
32566 Program Code
32567 \end_layout
32568
32569 \end_inset
32570
32571
32572 \begin_inset Index
32573 status collapsed
32574
32575 \begin_layout Plain Layout
32576 Floats ! Listings
32577 \end_layout
32578
32579 \end_inset
32580
32581
32582 \end_layout
32583
32584 \begin_layout Standard
32585 To include and typeset program code you can use the 
32586 \family sans
32587 Listings
32588 \family default
32589  inset that can be inserted via the menu 
32590 \family sans
32591 Insert\SpecialChar \menuseparator
32592 Program Listing
32593 \family default
32594 .
32595  The LaTeX-package 
32596 \series bold
32597 listings
32598 \series default
32599
32600 \begin_inset Index
32601 status collapsed
32602
32603 \begin_layout Plain Layout
32604 LaTeX-packages ! listings
32605 \end_layout
32606
32607 \end_inset
32608
32609  provides a powerful and flexible way to insert program source code into
32610  your document.
32611 \end_layout
32612
32613 \begin_layout Standard
32614 Right-clicking on a listings inset opens the context menu containing where
32615  you can set the listings format.
32616 \end_layout
32617
32618 \begin_layout Standard
32619 By default, a listing starts a new paragraph in the output.
32620  The placement option 
32621 \family sans
32622 Inline
32623 \begin_inset space ~
32624 \end_inset
32625
32626 listing
32627 \family default
32628  prints the listing inline like this: 
32629 \begin_inset listings
32630 lstparams "language={C++}"
32631 inline true
32632 status open
32633
32634 \begin_layout Plain Layout
32635
32636 int a=5;
32637 \end_layout
32638
32639 \end_inset
32640
32641
32642 \begin_inset Newline newline
32643 \end_inset
32644
32645 The option 
32646 \family sans
32647 Float
32648 \family default
32649  creates a listings float where you can specify the placement options 
32650 \begin_inset Quotes eld
32651 \end_inset
32652
32653
32654 \family sans
32655 h
32656 \family default
32657
32658 \begin_inset Quotes erd
32659 \end_inset
32660
32661
32662 \begin_inset Quotes eld
32663 \end_inset
32664
32665
32666 \family sans
32667 t
32668 \family default
32669
32670 \begin_inset Quotes erd
32671 \end_inset
32672
32673
32674 \begin_inset Quotes eld
32675 \end_inset
32676
32677
32678 \family sans
32679 b
32680 \family default
32681
32682 \begin_inset Quotes erd
32683 \end_inset
32684
32685 , and 
32686 \begin_inset Quotes eld
32687 \end_inset
32688
32689
32690 \family sans
32691 p
32692 \family default
32693
32694 \begin_inset Quotes erd
32695 \end_inset
32696
32697  corresponding to the float placement options described in section
32698 \begin_inset space ~
32699 \end_inset
32700
32701
32702 \begin_inset CommandInset ref
32703 LatexCommand ref
32704 reference "sec:Float-Placement"
32705
32706 \end_inset
32707
32708 .
32709  The placement options can be mixed and are inserted without any separation,
32710  e.
32711 \begin_inset space \thinspace{}
32712 \end_inset
32713
32714 g.
32715 \begin_inset space \space{}
32716 \end_inset
32717
32718
32719 \begin_inset Quotes eld
32720 \end_inset
32721
32722
32723 \family sans
32724 htbp
32725 \family default
32726
32727 \begin_inset Quotes erd
32728 \end_inset
32729
32730 .
32731  The option 
32732 \begin_inset Quotes eld
32733 \end_inset
32734
32735 h
32736 \begin_inset Quotes erd
32737 \end_inset
32738
32739  has sometimes no effect, but you don't need to use the 
32740 \family sans
32741 Float
32742 \family default
32743  option in this case as also non-float listings can have captions and be
32744  referenced.
32745 \end_layout
32746
32747 \begin_layout Standard
32748 You can add captions to listings with the menu 
32749 \family sans
32750 Insert\SpecialChar \menuseparator
32751 Caption
32752 \family default
32753 .
32754  Listings can be referenced like floats: Listing
32755 \begin_inset space ~
32756 \end_inset
32757
32758
32759 \begin_inset CommandInset ref
32760 LatexCommand ref
32761 reference "lst:Example-Listing"
32762
32763 \end_inset
32764
32765
32766 \end_layout
32767
32768 \begin_layout Standard
32769 \begin_inset listings
32770 lstparams "language=Python"
32771 inline false
32772 status open
32773
32774 \begin_layout Plain Layout
32775
32776 \begin_inset Caption
32777
32778 \begin_layout Plain Layout
32779 \begin_inset CommandInset label
32780 LatexCommand label
32781 name "lst:Example-Listing"
32782
32783 \end_inset
32784
32785 Example Listing float
32786 \end_layout
32787
32788 \end_inset
32789
32790 # Example listing float
32791 \end_layout
32792
32793 \begin_layout Plain Layout
32794
32795 def func(param):
32796 \end_layout
32797
32798 \begin_layout Plain Layout
32799
32800     'this is a python function'
32801 \end_layout
32802
32803 \begin_layout Plain Layout
32804
32805     pass
32806 \end_layout
32807
32808 \end_inset
32809
32810
32811 \end_layout
32812
32813 \begin_layout Standard
32814 When you have set a programming language in the listings dialog, the keywords
32815  of this language will be recognized and specially typeset in the output.
32816  In the example listings the Python keyword 
32817 \begin_inset Quotes eld
32818 \end_inset
32819
32820 def
32821 \begin_inset Quotes erd
32822 \end_inset
32823
32824  is recognized and printed bold in the output.
32825 \end_layout
32826
32827 \begin_layout Standard
32828 \begin_inset Note Greyedout
32829 status open
32830
32831 \begin_layout Plain Layout
32832
32833 \series bold
32834 Note:
32835 \series default
32836  If you don't get bold keywords when using typewriter fonts, your 
32837 \family typewriter
32838 typewriter
32839 \family default
32840  font probably doesn't provide a bold shape.
32841  In this case select a different one in the menu 
32842 \family sans
32843 Document\SpecialChar \menuseparator
32844 Settings\SpecialChar \menuseparator
32845 Fonts
32846 \family default
32847 .
32848  (The fonts 
32849 \emph on
32850 LuxiMono, BeraMono
32851 \emph default
32852  and 
32853 \emph on
32854 Courier
32855 \emph default
32856  provide bold shapes.)
32857 \end_layout
32858
32859 \end_inset
32860
32861
32862 \end_layout
32863
32864 \begin_layout Standard
32865 In section 
32866 \family sans
32867 Line
32868 \begin_inset space ~
32869 \end_inset
32870
32871 numbering
32872 \family default
32873  of the listings dialog you can specify the line numbering style.
32874  You can insert a number to specify which lines are numbered in the field
32875  
32876 \family sans
32877 Step
32878 \family default
32879 .
32880  When you insert e.
32881 \begin_inset space \thinspace{}
32882 \end_inset
32883
32884 g.
32885 \begin_inset space \space{}
32886 \end_inset
32887
32888
32889 \begin_inset Quotes eld
32890 \end_inset
32891
32892 3
32893 \begin_inset Quotes erd
32894 \end_inset
32895
32896 , only every 3rd line will be numbered.
32897 \end_layout
32898
32899 \begin_layout Standard
32900 You can furthermore specify a range of lines; only these will then appear
32901  in the output.
32902  The option 
32903 \family sans
32904 Extended character table
32905 \family default
32906  should be used when you use national characters like the German umlauts
32907  in the listing.
32908 \begin_inset Newline newline
32909 \end_inset
32910
32911 Here is an example listing with left line numbering, step 
32912 \begin_inset Quotes eld
32913 \end_inset
32914
32915 3
32916 \begin_inset Quotes erd
32917 \end_inset
32918
32919 , language 
32920 \begin_inset Quotes eld
32921 \end_inset
32922
32923 Python
32924 \begin_inset Quotes erd
32925 \end_inset
32926
32927 , options 
32928 \begin_inset Quotes eld
32929 \end_inset
32930
32931 Extended character table
32932 \begin_inset Quotes erd
32933 \end_inset
32934
32935  and 
32936 \begin_inset Quotes eld
32937 \end_inset
32938
32939 Space
32940 \begin_inset space ~
32941 \end_inset
32942
32943 as
32944 \begin_inset space ~
32945 \end_inset
32946
32947 symbol
32948 \begin_inset Quotes erd
32949 \end_inset
32950
32951 , range lines 3
32952 \begin_inset space \thinspace{}
32953 \end_inset
32954
32955 -
32956 \begin_inset space \thinspace{}
32957 \end_inset
32958
32959 8:
32960 \end_layout
32961
32962 \begin_layout Standard
32963 \begin_inset listings
32964 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32965 inline false
32966 status open
32967
32968 \begin_layout Plain Layout
32969
32970 def func(param):
32971 \end_layout
32972
32973 \begin_layout Plain Layout
32974
32975     'this is a python function'
32976 \end_layout
32977
32978 \begin_layout Plain Layout
32979
32980     pass
32981 \end_layout
32982
32983 \begin_layout Plain Layout
32984
32985 def func(param):
32986 \end_layout
32987
32988 \begin_layout Plain Layout
32989
32990 'This is a German word: Tschüß'
32991 \end_layout
32992
32993 \begin_layout Plain Layout
32994
32995 pass
32996 \end_layout
32997
32998 \begin_layout Plain Layout
32999
33000 def func(param):
33001 \end_layout
33002
33003 \begin_layout Plain Layout
33004
33005 'this is a python function'
33006 \end_layout
33007
33008 \begin_layout Plain Layout
33009
33010 pass
33011 \end_layout
33012
33013 \end_inset
33014
33015
33016 \end_layout
33017
33018 \begin_layout Standard
33019 When you have tabulators in your listing, you can specify the number of
33020  characters that are spanned by a tabulator in the field 
33021 \family sans
33022 Tabulator
33023 \begin_inset space ~
33024 \end_inset
33025
33026 size
33027 \family default
33028 .
33029 \end_layout
33030
33031 \begin_layout Standard
33032 \begin_inset Note Greyedout
33033 status open
33034
33035 \begin_layout Plain Layout
33036
33037 \series bold
33038 Note:
33039 \series default
33040  Due to a bug in the 
33041 \series bold
33042 listings
33043 \series default
33044  package the line numbering is shifted by a line by every previous listing.
33045  That's the reason why the lines 2 and 5 are numbered in the above listing
33046  and not the lines 3 and 6.
33047 \end_layout
33048
33049 \end_inset
33050
33051
33052 \end_layout
33053
33054 \begin_layout Standard
33055 \begin_inset VSpace bigskip
33056 \end_inset
33057
33058
33059 \end_layout
33060
33061 \begin_layout Standard
33062 It is also possible to print lines from a file as listing.
33063  To do this, use the menu 
33064 \family sans
33065 Insert\SpecialChar \menuseparator
33066 File\SpecialChar \menuseparator
33067 Child Document
33068 \family default
33069  and choose the type 
33070 \family sans
33071 Listings
33072 \family default
33073 .
33074 \begin_inset Foot
33075 status collapsed
33076
33077 \begin_layout Plain Layout
33078 The other child document types are described in section
33079 \begin_inset space ~
33080 \end_inset
33081
33082
33083 \begin_inset CommandInset ref
33084 LatexCommand ref
33085 reference "sec:Child-Documents"
33086
33087 \end_inset
33088
33089 .
33090 \end_layout
33091
33092 \end_inset
33093
33094  In the child document dialog you can specify the listing parameters in
33095  a text box.
33096  To show a list of all available parameters, type in a question mark 
33097 \begin_inset Quotes eld
33098 \end_inset
33099
33100 ?
33101 \begin_inset Quotes erd
33102 \end_inset
33103
33104  in the text box.
33105 \end_layout
33106
33107 \begin_layout Standard
33108 To reference child document listings, write a label text into the corresponding
33109  field of the child document dialog.
33110  The label can then be referenced using the menu 
33111 \family sans
33112 Insert\SpecialChar \menuseparator
33113 Cross-Reference
33114 \family default
33115 .
33116 \end_layout
33117
33118 \begin_layout Standard
33119 Listing
33120 \begin_inset space ~
33121 \end_inset
33122
33123
33124 \begin_inset CommandInset ref
33125 LatexCommand ref
33126 reference "lst:file-listing"
33127
33128 \end_inset
33129
33130  is an example for a listing of a file; there the lines 10
33131 \begin_inset space \thinspace{}
33132 \end_inset
33133
33134 -
33135 \begin_inset space \thinspace{}
33136 \end_inset
33137
33138 15 of this LyX file are listed.
33139 \end_layout
33140
33141 \begin_layout Standard
33142 \begin_inset CommandInset include
33143 LatexCommand lstinputlisting
33144 filename "EmbeddedObjects.lyx"
33145 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33146
33147 \end_inset
33148
33149
33150 \end_layout
33151
33152 \begin_layout Standard
33153 \begin_inset VSpace bigskip
33154 \end_inset
33155
33156
33157 \end_layout
33158
33159 \begin_layout Standard
33160 Global listings settings can be set in the 
33161 \family sans
33162 Document\SpecialChar \menuseparator
33163 Settings\SpecialChar \menuseparator
33164 Text Layout
33165 \family default
33166  dialog.
33167  To get there a list of available options, type in a question mark 
33168 \begin_inset Quotes eld
33169 \end_inset
33170
33171 ?
33172 \begin_inset Quotes erd
33173 \end_inset
33174
33175  in the 
33176 \family sans
33177 Listings
33178 \begin_inset space ~
33179 \end_inset
33180
33181 settings
33182 \family default
33183  field.
33184 \end_layout
33185
33186 \begin_layout Standard
33187 For more information about the 
33188 \series bold
33189 listings
33190 \series default
33191  package, we refer to its documentation 
33192 \begin_inset CommandInset citation
33193 LatexCommand cite
33194 key "listings"
33195
33196 \end_inset
33197
33198 .
33199 \end_layout
33200
33201 \begin_layout Standard
33202 \begin_inset Newpage newpage
33203 \end_inset
33204
33205
33206 \end_layout
33207
33208 \begin_layout Chapter
33209 \start_of_appendix
33210 Units available in LyX
33211 \begin_inset Index
33212 status collapsed
33213
33214 \begin_layout Plain Layout
33215 Units
33216 \end_layout
33217
33218 \end_inset
33219
33220
33221 \begin_inset CommandInset label
33222 LatexCommand label
33223 name "cha:Units-available-in"
33224
33225 \end_inset
33226
33227
33228 \end_layout
33229
33230 \begin_layout Standard
33231 To understand the units described in this documentation, Table
33232 \begin_inset space ~
33233 \end_inset
33234
33235
33236 \begin_inset CommandInset ref
33237 LatexCommand ref
33238 reference "tab:Units"
33239
33240 \end_inset
33241
33242  explains all units available in LyX.
33243 \end_layout
33244
33245 \begin_layout Standard
33246 \begin_inset Float table
33247 placement h
33248 wide false
33249 sideways false
33250 status open
33251
33252 \begin_layout Plain Layout
33253 \begin_inset Caption
33254
33255 \begin_layout Plain Layout
33256 \begin_inset CommandInset label
33257 LatexCommand label
33258 name "tab:Units"
33259
33260 \end_inset
33261
33262 Units
33263 \end_layout
33264
33265 \end_inset
33266
33267
33268 \end_layout
33269
33270 \begin_layout Plain Layout
33271 \begin_inset VSpace medskip
33272 \end_inset
33273
33274
33275 \end_layout
33276
33277 \begin_layout Plain Layout
33278 \align center
33279 \begin_inset Tabular
33280 <lyxtabular version="3" rows="20" columns="2">
33281 <features>
33282 <column alignment="center" valignment="top" width="0">
33283 <column alignment="center" valignment="top" width="0">
33284 <row>
33285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33286 \begin_inset Text
33287
33288 \begin_layout Plain Layout
33289 unit
33290 \end_layout
33291
33292 \end_inset
33293 </cell>
33294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33295 \begin_inset Text
33296
33297 \begin_layout Plain Layout
33298 name/description
33299 \end_layout
33300
33301 \end_inset
33302 </cell>
33303 </row>
33304 <row>
33305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33306 \begin_inset Text
33307
33308 \begin_layout Plain Layout
33309 mm
33310 \end_layout
33311
33312 \end_inset
33313 </cell>
33314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33315 \begin_inset Text
33316
33317 \begin_layout Plain Layout
33318 millimeter
33319 \end_layout
33320
33321 \end_inset
33322 </cell>
33323 </row>
33324 <row>
33325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33326 \begin_inset Text
33327
33328 \begin_layout Plain Layout
33329 cm
33330 \end_layout
33331
33332 \end_inset
33333 </cell>
33334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33335 \begin_inset Text
33336
33337 \begin_layout Plain Layout
33338 centimeter
33339 \end_layout
33340
33341 \end_inset
33342 </cell>
33343 </row>
33344 <row>
33345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33346 \begin_inset Text
33347
33348 \begin_layout Plain Layout
33349 in
33350 \end_layout
33351
33352 \end_inset
33353 </cell>
33354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33355 \begin_inset Text
33356
33357 \begin_layout Plain Layout
33358 inch
33359 \end_layout
33360
33361 \end_inset
33362 </cell>
33363 </row>
33364 <row>
33365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33366 \begin_inset Text
33367
33368 \begin_layout Plain Layout
33369 pt
33370 \end_layout
33371
33372 \end_inset
33373 </cell>
33374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33375 \begin_inset Text
33376
33377 \begin_layout Plain Layout
33378 point (72.27
33379 \begin_inset space \thinspace{}
33380 \end_inset
33381
33382 pt = 1
33383 \begin_inset space \thinspace{}
33384 \end_inset
33385
33386 in)
33387 \end_layout
33388
33389 \end_inset
33390 </cell>
33391 </row>
33392 <row>
33393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33394 \begin_inset Text
33395
33396 \begin_layout Plain Layout
33397 pc
33398 \end_layout
33399
33400 \end_inset
33401 </cell>
33402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33403 \begin_inset Text
33404
33405 \begin_layout Plain Layout
33406 pica (1
33407 \begin_inset space \thinspace{}
33408 \end_inset
33409
33410 pc = 12
33411 \begin_inset space \thinspace{}
33412 \end_inset
33413
33414 pt)
33415 \end_layout
33416
33417 \end_inset
33418 </cell>
33419 </row>
33420 <row>
33421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33422 \begin_inset Text
33423
33424 \begin_layout Plain Layout
33425 sp
33426 \end_layout
33427
33428 \end_inset
33429 </cell>
33430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33431 \begin_inset Text
33432
33433 \begin_layout Plain Layout
33434 scaled point (65536
33435 \begin_inset space \thinspace{}
33436 \end_inset
33437
33438 sp = 1
33439 \begin_inset space \thinspace{}
33440 \end_inset
33441
33442 pt)
33443 \end_layout
33444
33445 \end_inset
33446 </cell>
33447 </row>
33448 <row>
33449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33450 \begin_inset Text
33451
33452 \begin_layout Plain Layout
33453 bp
33454 \end_layout
33455
33456 \end_inset
33457 </cell>
33458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33459 \begin_inset Text
33460
33461 \begin_layout Plain Layout
33462 big point (72
33463 \begin_inset space \thinspace{}
33464 \end_inset
33465
33466 bp = 1
33467 \begin_inset space \thinspace{}
33468 \end_inset
33469
33470 in)
33471 \end_layout
33472
33473 \end_inset
33474 </cell>
33475 </row>
33476 <row>
33477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33478 \begin_inset Text
33479
33480 \begin_layout Plain Layout
33481 dd
33482 \end_layout
33483
33484 \end_inset
33485 </cell>
33486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33487 \begin_inset Text
33488
33489 \begin_layout Plain Layout
33490 didot (1
33491 \begin_inset space \thinspace{}
33492 \end_inset
33493
33494 dd 
33495 \begin_inset Formula $\approx$
33496 \end_inset
33497
33498  0.376
33499 \begin_inset space \thinspace{}
33500 \end_inset
33501
33502 mm)
33503 \end_layout
33504
33505 \end_inset
33506 </cell>
33507 </row>
33508 <row>
33509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33510 \begin_inset Text
33511
33512 \begin_layout Plain Layout
33513 cc
33514 \end_layout
33515
33516 \end_inset
33517 </cell>
33518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33519 \begin_inset Text
33520
33521 \begin_layout Plain Layout
33522 cicero (1
33523 \begin_inset space \thinspace{}
33524 \end_inset
33525
33526 cc = 12
33527 \begin_inset space \thinspace{}
33528 \end_inset
33529
33530 dd)
33531 \end_layout
33532
33533 \end_inset
33534 </cell>
33535 </row>
33536 <row>
33537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33538 \begin_inset Text
33539
33540 \begin_layout Plain Layout
33541 Scale%
33542 \end_layout
33543
33544 \end_inset
33545 </cell>
33546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33547 \begin_inset Text
33548
33549 \begin_layout Plain Layout
33550 % of original image width
33551 \end_layout
33552
33553 \end_inset
33554 </cell>
33555 </row>
33556 <row>
33557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33558 \begin_inset Text
33559
33560 \begin_layout Plain Layout
33561 text%
33562 \end_layout
33563
33564 \end_inset
33565 </cell>
33566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33567 \begin_inset Text
33568
33569 \begin_layout Plain Layout
33570 % of text width
33571 \end_layout
33572
33573 \end_inset
33574 </cell>
33575 </row>
33576 <row>
33577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33578 \begin_inset Text
33579
33580 \begin_layout Plain Layout
33581 col%
33582 \end_layout
33583
33584 \end_inset
33585 </cell>
33586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33587 \begin_inset Text
33588
33589 \begin_layout Plain Layout
33590 % of column width
33591 \end_layout
33592
33593 \end_inset
33594 </cell>
33595 </row>
33596 <row>
33597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33598 \begin_inset Text
33599
33600 \begin_layout Plain Layout
33601 page%
33602 \end_layout
33603
33604 \end_inset
33605 </cell>
33606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33607 \begin_inset Text
33608
33609 \begin_layout Plain Layout
33610 % of paper width
33611 \end_layout
33612
33613 \end_inset
33614 </cell>
33615 </row>
33616 <row>
33617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33618 \begin_inset Text
33619
33620 \begin_layout Plain Layout
33621 line%
33622 \end_layout
33623
33624 \end_inset
33625 </cell>
33626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33627 \begin_inset Text
33628
33629 \begin_layout Plain Layout
33630 % of line width
33631 \end_layout
33632
33633 \end_inset
33634 </cell>
33635 </row>
33636 <row>
33637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33638 \begin_inset Text
33639
33640 \begin_layout Plain Layout
33641 theight%
33642 \end_layout
33643
33644 \end_inset
33645 </cell>
33646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33647 \begin_inset Text
33648
33649 \begin_layout Plain Layout
33650 % of text height
33651 \end_layout
33652
33653 \end_inset
33654 </cell>
33655 </row>
33656 <row>
33657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33658 \begin_inset Text
33659
33660 \begin_layout Plain Layout
33661 pheight%
33662 \end_layout
33663
33664 \end_inset
33665 </cell>
33666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33667 \begin_inset Text
33668
33669 \begin_layout Plain Layout
33670 % of paper height
33671 \end_layout
33672
33673 \end_inset
33674 </cell>
33675 </row>
33676 <row>
33677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33678 \begin_inset Text
33679
33680 \begin_layout Plain Layout
33681 ex
33682 \end_layout
33683
33684 \end_inset
33685 </cell>
33686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33687 \begin_inset Text
33688
33689 \begin_layout Plain Layout
33690 height of letter 
33691 \emph on
33692 x
33693 \emph default
33694  in current font
33695 \end_layout
33696
33697 \end_inset
33698 </cell>
33699 </row>
33700 <row>
33701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33702 \begin_inset Text
33703
33704 \begin_layout Plain Layout
33705 em
33706 \end_layout
33707
33708 \end_inset
33709 </cell>
33710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33711 \begin_inset Text
33712
33713 \begin_layout Plain Layout
33714 width of letter 
33715 \emph on
33716 M
33717 \emph default
33718  in current font
33719 \end_layout
33720
33721 \end_inset
33722 </cell>
33723 </row>
33724 <row>
33725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33726 \begin_inset Text
33727
33728 \begin_layout Plain Layout
33729 mu
33730 \end_layout
33731
33732 \end_inset
33733 </cell>
33734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33735 \begin_inset Text
33736
33737 \begin_layout Plain Layout
33738 math unit (1
33739 \begin_inset space \thinspace{}
33740 \end_inset
33741
33742 mu = 1/18
33743 \begin_inset space \thinspace{}
33744 \end_inset
33745
33746 em)
33747 \end_layout
33748
33749 \end_inset
33750 </cell>
33751 </row>
33752 </lyxtabular>
33753
33754 \end_inset
33755
33756
33757 \end_layout
33758
33759 \end_inset
33760
33761
33762 \end_layout
33763
33764 \begin_layout Chapter
33765 Output File Formats with Graphics
33766 \begin_inset CommandInset label
33767 LatexCommand label
33768 name "cha:Output-File-Formats"
33769
33770 \end_inset
33771
33772
33773 \end_layout
33774
33775 \begin_layout Section
33776 DVI
33777 \begin_inset Index
33778 status collapsed
33779
33780 \begin_layout Plain Layout
33781 File Formats ! DVI
33782 \end_layout
33783
33784 \end_inset
33785
33786
33787 \begin_inset Index
33788 status collapsed
33789
33790 \begin_layout Plain Layout
33791 DVI|see
33792 \begin_inset ERT
33793 status collapsed
33794
33795 \begin_layout Plain Layout
33796
33797 {
33798 \end_layout
33799
33800 \end_inset
33801
33802 File Formats
33803 \begin_inset ERT
33804 status collapsed
33805
33806 \begin_layout Plain Layout
33807
33808 }
33809 \end_layout
33810
33811 \end_inset
33812
33813
33814 \end_layout
33815
33816 \end_inset
33817
33818
33819 \end_layout
33820
33821 \begin_layout Standard
33822 This file type has the extension 
33823 \begin_inset Quotes eld
33824 \end_inset
33825
33826
33827 \family typewriter
33828 .dvi
33829 \family default
33830
33831 \begin_inset Quotes erd
33832 \end_inset
33833
33834 .
33835  It is called 
33836 \begin_inset Quotes eld
33837 \end_inset
33838
33839 device-independent
33840 \begin_inset Quotes erd
33841 \end_inset
33842
33843  (DVI), because it is completely portable; you can move them from one machine
33844  to another without needing to do any sort of conversion.
33845  At the time when this file-format was developed, this was no matter of
33846  course.
33847  DVIs are used for quick previews and as pre-stage for other output formats,
33848  like PostScript.
33849 \end_layout
33850
33851 \begin_layout Standard
33852 \begin_inset Note Greyedout
33853 status open
33854
33855 \begin_layout Plain Layout
33856
33857 \series bold
33858 Note:
33859 \series default
33860  DVI-files do not contain images; they will only be a linked.
33861 \end_layout
33862
33863 \end_inset
33864
33865  So don't forget this, if you move your 
33866 \family typewriter
33867 .dvi
33868 \family default
33869  file to another computer.
33870  This property can also slow down your computer when you view the DVI, because
33871  the DVI-viewer has to convert the image in the background to make it visible
33872  when you scroll in the DVI.
33873  So it is recommended that you use PDF for files with many images.
33874 \end_layout
33875
33876 \begin_layout Standard
33877 You can export your document to DVI by using the menu 
33878 \family sans
33879 File\SpecialChar \menuseparator
33880 Export\SpecialChar \menuseparator
33881 DVI
33882 \family default
33883 .
33884  You can view your document as DVI via the 
33885 \family sans
33886 View
33887 \family default
33888  menu or by using the toolbar button 
33889 \begin_inset Graphics
33890         filename ../images/buffer-view_dvi.png
33891         scale 85
33892         scaleBeforeRotation
33893
33894 \end_inset
33895
33896 .
33897 \end_layout
33898
33899 \begin_layout Section
33900 PostScript
33901 \begin_inset CommandInset label
33902 LatexCommand label
33903 name "sec:PostScript"
33904
33905 \end_inset
33906
33907
33908 \begin_inset Index
33909 status collapsed
33910
33911 \begin_layout Plain Layout
33912 File Formats ! PostScript
33913 \end_layout
33914
33915 \end_inset
33916
33917
33918 \begin_inset Index
33919 status collapsed
33920
33921 \begin_layout Plain Layout
33922 PostScript|see
33923 \begin_inset ERT
33924 status collapsed
33925
33926 \begin_layout Plain Layout
33927
33928 {
33929 \end_layout
33930
33931 \end_inset
33932
33933 File Formats
33934 \begin_inset ERT
33935 status collapsed
33936
33937 \begin_layout Plain Layout
33938
33939 }
33940 \end_layout
33941
33942 \end_inset
33943
33944
33945 \end_layout
33946
33947 \end_inset
33948
33949
33950 \end_layout
33951
33952 \begin_layout Standard
33953 This file type has the extension 
33954 \begin_inset Quotes eld
33955 \end_inset
33956
33957
33958 \family typewriter
33959 .ps
33960 \family default
33961
33962 \begin_inset Quotes erd
33963 \end_inset
33964
33965 .
33966  PostScript was developed by the company 
33967 \family typewriter
33968 Adobe
33969 \family default
33970  as a printer language.
33971  The file therefore contains commands that the printer uses to print the
33972  file.
33973  PostScript can be seen as a 
33974 \begin_inset Quotes eld
33975 \end_inset
33976
33977 programming language
33978 \begin_inset Quotes erd
33979 \end_inset
33980
33981 ; you can calculate with it and draw diagrams and images
33982 \begin_inset Foot
33983 status collapsed
33984
33985 \begin_layout Plain Layout
33986 If you are interested to learn more about this, have a look at the LaTeX-package
33987  
33988 \series bold
33989 PSTricks
33990 \series default
33991  
33992 \begin_inset CommandInset citation
33993 LatexCommand cite
33994 key "pstricks"
33995
33996 \end_inset
33997
33998 .
33999 \end_layout
34000
34001 \end_inset
34002
34003 .
34004  Due to this ability, the files are often bigger than PDFs.
34005 \end_layout
34006
34007 \begin_layout Standard
34008 PostScript can only contain images in the format 
34009 \begin_inset Quotes eld
34010 \end_inset
34011
34012 Encapsulated PostScript
34013 \begin_inset Quotes erd
34014 \end_inset
34015
34016  (EPS, file extension 
34017 \begin_inset Quotes eld
34018 \end_inset
34019
34020
34021 \family typewriter
34022 .eps
34023 \family default
34024
34025 \begin_inset Quotes erd
34026 \end_inset
34027
34028 ).
34029  As LyX allows you to use any known image format in your document, it has
34030  to convert images in the background to EPS.
34031  If you have e.g.
34032 \begin_inset space ~
34033 \end_inset
34034
34035 50
34036 \begin_inset space ~
34037 \end_inset
34038
34039 images in your document, LyX has to do 50
34040 \begin_inset space ~
34041 \end_inset
34042
34043 conversions whenever you view or export your document.
34044  This will slow down your work flow with LyX drastically.
34045  So if you plan to use PostScript, you can insert your images directly as
34046  EPS to avoid this problem.
34047 \end_layout
34048
34049 \begin_layout Standard
34050 You can export your document to PostScript using the menu 
34051 \family sans
34052 File\SpecialChar \menuseparator
34053 Export\SpecialChar \menuseparator
34054 Postscript
34055 \family default
34056 .
34057  You can view your document as PostScript via the 
34058 \family sans
34059 View
34060 \family default
34061  menu or by using the toolbar button 
34062 \begin_inset Graphics
34063         filename ../images/buffer-view_ps.png
34064         scale 85
34065         scaleBeforeRotation
34066
34067 \end_inset
34068
34069 .
34070 \end_layout
34071
34072 \begin_layout Section
34073 PDF
34074 \begin_inset Index
34075 status collapsed
34076
34077 \begin_layout Plain Layout
34078 File Formats ! PDF
34079 \end_layout
34080
34081 \end_inset
34082
34083
34084 \begin_inset Index
34085 status collapsed
34086
34087 \begin_layout Plain Layout
34088 PDF
34089 \end_layout
34090
34091 \end_inset
34092
34093
34094 \end_layout
34095
34096 \begin_layout Standard
34097 This file type has the extension 
34098 \begin_inset Quotes eld
34099 \end_inset
34100
34101
34102 \family typewriter
34103 .pdf
34104 \family default
34105
34106 \begin_inset Quotes erd
34107 \end_inset
34108
34109 .
34110  The 
34111 \begin_inset Quotes eld
34112 \end_inset
34113
34114 Portable Document Format
34115 \begin_inset Quotes erd
34116 \end_inset
34117
34118  (PDF) was developed by 
34119 \family typewriter
34120 Adobe
34121 \family default
34122  as a derivative of PostScript.
34123  It is more compressed and it uses fewer commands than PostScript.
34124  As the name 
34125 \begin_inset Quotes eld
34126 \end_inset
34127
34128 portable
34129 \begin_inset Quotes erd
34130 \end_inset
34131
34132  implies, it can be processed at any computer system and the printed output
34133  looks exactly the same.
34134 \end_layout
34135
34136 \begin_layout Standard
34137 PDF can contain images in its own PDF format, in the format 
34138 \begin_inset Quotes eld
34139 \end_inset
34140
34141 Joint Photographic Experts Group
34142 \begin_inset Quotes erd
34143 \end_inset
34144
34145  (JPG, file extension 
34146 \begin_inset Quotes eld
34147 \end_inset
34148
34149
34150 \family typewriter
34151 .jpg
34152 \family default
34153
34154 \begin_inset Quotes erd
34155 \end_inset
34156
34157  or 
34158 \begin_inset Quotes eld
34159 \end_inset
34160
34161
34162 \family typewriter
34163 .jpeg
34164 \family default
34165
34166 \begin_inset Quotes erd
34167 \end_inset
34168
34169 ), and in the format 
34170 \begin_inset Quotes eld
34171 \end_inset
34172
34173 Portable Network Graphics
34174 \begin_inset Quotes erd
34175 \end_inset
34176
34177  (PNG, file extension 
34178 \begin_inset Quotes eld
34179 \end_inset
34180
34181
34182 \family typewriter
34183 .png
34184 \family default
34185
34186 \begin_inset Quotes erd
34187 \end_inset
34188
34189 ).
34190  Nevertheless you can use any other image format, because LyX converts them
34191  in the background to one of these formats.
34192  But as described in the section about PostScript, the image conversion
34193  will slow down your work flow.
34194  So it is recommended that you use images in one of the three mentioned
34195  formats.
34196 \end_layout
34197
34198 \begin_layout Standard
34199 You can export your document to PDF via the menu 
34200 \family sans
34201 File\SpecialChar \menuseparator
34202 Export
34203 \family default
34204  in three different ways:
34205 \end_layout
34206
34207 \begin_layout Description
34208 PDF
34209 \begin_inset space ~
34210 \end_inset
34211
34212 (ps2pdf) This uses the program 
34213 \family typewriter
34214 ps2pdf
34215 \family default
34216  that creates a PDF from a PostScript-version of your file.
34217  The PostScript-version is produced by the program 
34218 \family typewriter
34219 dvips
34220 \family default
34221  which uses a DVI-version as intermediate step.
34222  So this export variant consists of three conversions.
34223 \end_layout
34224
34225 \begin_layout Description
34226 PDF
34227 \begin_inset space ~
34228 \end_inset
34229
34230 (dvipdfm) This uses the program 
34231 \family typewriter
34232 dvipdfm
34233 \family default
34234  that converts your file in the background to DVI and in a second step to
34235  PDF.
34236 \end_layout
34237
34238 \begin_layout Description
34239 PDF
34240 \begin_inset space ~
34241 \end_inset
34242
34243 (pdflatex) This uses the program 
34244 \family typewriter
34245 pdftex
34246 \family default
34247  that converts your file directly to PDF.
34248 \end_layout
34249
34250 \begin_layout Standard
34251 It is recommended that you use 
34252 \family sans
34253 PDF
34254 \begin_inset space ~
34255 \end_inset
34256
34257 (pdflatex)
34258 \family default
34259  because 
34260 \family typewriter
34261 pdftex
34262 \family default
34263  supports all features of actual PDF-versions, is quick and works stable.
34264  The program 
34265 \family typewriter
34266 dvipdfm
34267 \family default
34268  is not under development and therefore a bit outdated.
34269 \end_layout
34270
34271 \begin_layout Standard
34272 You can view your document as PDF via the 
34273 \family sans
34274 View
34275 \family default
34276  menu or by using the toolbar button 
34277 \begin_inset Graphics
34278         filename ../images/buffer-view_pdf2.png
34279         scale 85
34280         scaleBeforeRotation
34281
34282 \end_inset
34283
34284  
34285 \family sans
34286 (
34287 \family default
34288 that uses 
34289 \family sans
34290 PDF
34291 \begin_inset space ~
34292 \end_inset
34293
34294 (pdflatex)
34295 \family default
34296 ).
34297 \end_layout
34298
34299 \begin_layout Chapter
34300 Explanation of Equation
34301 \begin_inset space ~
34302 \end_inset
34303
34304
34305 \begin_inset CommandInset ref
34306 LatexCommand eqref
34307 reference "eq:Wgn"
34308
34309 \end_inset
34310
34311
34312 \begin_inset CommandInset label
34313 LatexCommand label
34314 name "cha:Explanation-of-Equation"
34315
34316 \end_inset
34317
34318
34319 \end_layout
34320
34321 \begin_layout Standard
34322 We can calculate the total width of 
34323 \emph on
34324 n
34325 \emph default
34326  table cells 
34327 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34328 \end_inset
34329
34330  as follows:
34331 \end_layout
34332
34333 \begin_layout Standard
34334 \begin_inset Formula \begin{equation}
34335 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}
34336
34337 \end_inset
34338
34339 where 
34340 \begin_inset Formula $W_{g\, n}$
34341 \end_inset
34342
34343  is the given width of all cells, 
34344 \series bold
34345
34346 \backslash
34347 tabcolsep
34348 \series default
34349  is the LaTeX-length between the cell text and the cell border (its default
34350  value is 6
34351 \begin_inset space \thinspace{}
34352 \end_inset
34353
34354 pt).
34355  
34356 \series bold
34357
34358 \backslash
34359 arrayrulewidth
34360 \series default
34361  is the thickness of the cell border line, the default is 0.4
34362 \begin_inset space \thinspace{}
34363 \end_inset
34364
34365 pt.
34366 \end_layout
34367
34368 \begin_layout Standard
34369 Following equation
34370 \begin_inset space ~
34371 \end_inset
34372
34373
34374 \begin_inset CommandInset ref
34375 LatexCommand eqref
34376 reference "eq:Wtot_n"
34377
34378 \end_inset
34379
34380 , the total width of a multicolumn 
34381 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34382 \end_inset
34383
34384  is
34385 \end_layout
34386
34387 \begin_layout Standard
34388 \begin_inset Formula \begin{equation}
34389 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
34390
34391 \end_inset
34392
34393
34394 \end_layout
34395
34396 \begin_layout Standard
34397 By setting equation
34398 \begin_inset space ~
34399 \end_inset
34400
34401
34402 \begin_inset CommandInset ref
34403 LatexCommand eqref
34404 reference "eq:Wtot_n"
34405
34406 \end_inset
34407
34408  and 
34409 \begin_inset CommandInset ref
34410 LatexCommand eqref
34411 reference "eq:Wtot_mult"
34412
34413 \end_inset
34414
34415  equal we can calculate the needed given width 
34416 \begin_inset Formula $W_{g\, n}$
34417 \end_inset
34418
34419  when 
34420 \emph on
34421 n
34422 \emph default
34423  columns are spanned, so that each column has a total width of 
34424 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34425 \end_inset
34426
34427 :
34428 \end_layout
34429
34430 \begin_layout Standard
34431 \begin_inset Formula \begin{equation}
34432 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
34433
34434 \end_inset
34435
34436
34437 \end_layout
34438
34439 \begin_layout Bibliography
34440 \begin_inset CommandInset bibitem
34441 LatexCommand bibitem
34442 key "latexcompanion"
34443
34444 \end_inset
34445
34446 Frank Mittelbach and Michel Goossens: 
34447 \emph on
34448 The LaTeX Companion Second Edition.
34449
34450 \emph default
34451  Addison-Wesley, 2004
34452 \end_layout
34453
34454 \begin_layout Bibliography
34455 \begin_inset CommandInset bibitem
34456 LatexCommand bibitem
34457 key "latexguide"
34458
34459 \end_inset
34460
34461 Helmut Kopka and Patrick W.
34462  Daly: 
34463 \emph on
34464 A Guide to LaTeX Fourth Edition.
34465
34466 \emph default
34467  Addison-Wesley, 2003
34468 \end_layout
34469
34470 \begin_layout Bibliography
34471 \begin_inset CommandInset bibitem
34472 LatexCommand bibitem
34473 key "latexbook"
34474
34475 \end_inset
34476
34477 Leslie Lamport: 
34478 \emph on
34479 LaTeX: A Document Preparation System.
34480
34481 \emph default
34482  Addison-Wesley, second edition, 1994
34483 \end_layout
34484
34485 \begin_layout Bibliography
34486 \begin_inset CommandInset bibitem
34487 LatexCommand bibitem
34488 key "booktabs"
34489
34490 \end_inset
34491
34492 Documentation of the LaTeX-package 
34493 \series bold
34494
34495 \begin_inset CommandInset href
34496 LatexCommand href
34497 name "booktabs"
34498 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
34499
34500 \end_inset
34501
34502
34503 \series default
34504
34505 \begin_inset Index
34506 status collapsed
34507
34508 \begin_layout Plain Layout
34509 LaTeX-packages ! booktabs
34510 \end_layout
34511
34512 \end_inset
34513
34514
34515 \end_layout
34516
34517 \begin_layout Bibliography
34518 \begin_inset CommandInset bibitem
34519 LatexCommand bibitem
34520 key "caption"
34521
34522 \end_inset
34523
34524 Documentation of the LaTeX-package 
34525 \series bold
34526
34527 \begin_inset CommandInset href
34528 LatexCommand href
34529 name "caption"
34530 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
34531
34532 \end_inset
34533
34534
34535 \series default
34536
34537 \begin_inset Index
34538 status collapsed
34539
34540 \begin_layout Plain Layout
34541 LaTeX-packages ! caption
34542 \end_layout
34543
34544 \end_inset
34545
34546
34547 \end_layout
34548
34549 \begin_layout Bibliography
34550 \begin_inset CommandInset bibitem
34551 LatexCommand bibitem
34552 key "endfloat"
34553
34554 \end_inset
34555
34556 Documentation of the LaTeX-package 
34557 \series bold
34558
34559 \begin_inset CommandInset href
34560 LatexCommand href
34561 name "endfloat"
34562 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34563
34564 \end_inset
34565
34566
34567 \series default
34568
34569 \begin_inset Index
34570 status collapsed
34571
34572 \begin_layout Plain Layout
34573 LaTeX-packages ! endfloat
34574 \end_layout
34575
34576 \end_inset
34577
34578
34579 \end_layout
34580
34581 \begin_layout Bibliography
34582 \begin_inset CommandInset bibitem
34583 LatexCommand bibitem
34584 key "wrapfig"
34585
34586 \end_inset
34587
34588 Documentation of the LaTeX-package 
34589 \series bold
34590
34591 \begin_inset CommandInset href
34592 LatexCommand href
34593 name "wrapfig"
34594 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34595
34596 \end_inset
34597
34598
34599 \series default
34600
34601 \begin_inset Index
34602 status collapsed
34603
34604 \begin_layout Plain Layout
34605 LaTeX-packages ! wrapfig
34606 \begin_inset ERT
34607 status collapsed
34608
34609 \begin_layout Plain Layout
34610
34611
34612 \backslash
34613 vspace{4mm}
34614 \end_layout
34615
34616 \end_inset
34617
34618
34619 \end_layout
34620
34621 \end_inset
34622
34623
34624 \end_layout
34625
34626 \begin_layout Bibliography
34627 \begin_inset CommandInset bibitem
34628 LatexCommand bibitem
34629 key "footmisc"
34630
34631 \end_inset
34632
34633 Documentation of the LaTeX-package 
34634 \series bold
34635
34636 \begin_inset CommandInset href
34637 LatexCommand href
34638 name "footmisc"
34639 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34640
34641 \end_inset
34642
34643
34644 \series default
34645
34646 \begin_inset Index
34647 status collapsed
34648
34649 \begin_layout Plain Layout
34650 LaTeX-packages ! footmisc
34651 \end_layout
34652
34653 \end_inset
34654
34655
34656 \end_layout
34657
34658 \begin_layout Bibliography
34659 \begin_inset CommandInset bibitem
34660 LatexCommand bibitem
34661 key "hypcap"
34662
34663 \end_inset
34664
34665 Documentation of the LaTeX-package 
34666 \series bold
34667
34668 \begin_inset CommandInset href
34669 LatexCommand href
34670 name "hypcap"
34671 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34672
34673 \end_inset
34674
34675
34676 \series default
34677
34678 \begin_inset Index
34679 status collapsed
34680
34681 \begin_layout Plain Layout
34682 LaTeX-packages ! hyperref
34683 \end_layout
34684
34685 \end_inset
34686
34687
34688 \end_layout
34689
34690 \begin_layout Bibliography
34691 \begin_inset CommandInset bibitem
34692 LatexCommand bibitem
34693 key "hyperref"
34694
34695 \end_inset
34696
34697 Documentation of the LaTeX-package 
34698 \series bold
34699
34700 \begin_inset CommandInset href
34701 LatexCommand href
34702 name "hyperref"
34703 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34704
34705 \end_inset
34706
34707
34708 \series default
34709
34710 \begin_inset Index
34711 status collapsed
34712
34713 \begin_layout Plain Layout
34714 LaTeX-packages ! hyperref
34715 \end_layout
34716
34717 \end_inset
34718
34719
34720 \end_layout
34721
34722 \begin_layout Bibliography
34723 \begin_inset CommandInset bibitem
34724 LatexCommand bibitem
34725 key "KOMA-Script"
34726
34727 \end_inset
34728
34729 Documentation of the LaTeX-package 
34730 \series bold
34731
34732 \begin_inset CommandInset href
34733 LatexCommand href
34734 name "KOMA-Script"
34735 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34736
34737 \end_inset
34738
34739
34740 \series default
34741
34742 \begin_inset Index
34743 status collapsed
34744
34745 \begin_layout Plain Layout
34746 LaTeX-packages ! KOMA-Script
34747 \end_layout
34748
34749 \end_inset
34750
34751
34752 \end_layout
34753
34754 \begin_layout Bibliography
34755 \begin_inset CommandInset bibitem
34756 LatexCommand bibitem
34757 key "listings"
34758
34759 \end_inset
34760
34761 Documentation of the LaTeX-package 
34762 \series bold
34763
34764 \begin_inset CommandInset href
34765 LatexCommand href
34766 name "listings"
34767 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34768
34769 \end_inset
34770
34771
34772 \series default
34773
34774 \begin_inset Index
34775 status collapsed
34776
34777 \begin_layout Plain Layout
34778 LaTeX-packages ! listings
34779 \end_layout
34780
34781 \end_inset
34782
34783
34784 \end_layout
34785
34786 \begin_layout Bibliography
34787 \begin_inset CommandInset bibitem
34788 LatexCommand bibitem
34789 key "marginnote"
34790
34791 \end_inset
34792
34793 Documentation of the LaTeX-package 
34794 \series bold
34795
34796 \begin_inset CommandInset href
34797 LatexCommand href
34798 name "marginnote"
34799 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34800
34801 \end_inset
34802
34803
34804 \series default
34805
34806 \begin_inset Index
34807 status collapsed
34808
34809 \begin_layout Plain Layout
34810 LaTeX-packages ! marginnote
34811 \end_layout
34812
34813 \end_inset
34814
34815
34816 \end_layout
34817
34818 \begin_layout Bibliography
34819 \begin_inset CommandInset bibitem
34820 LatexCommand bibitem
34821 key "pstricks"
34822
34823 \end_inset
34824
34825 Web page of the LaTeX-package 
34826 \series bold
34827
34828 \begin_inset CommandInset href
34829 LatexCommand href
34830 name "PSTricks"
34831 target "http://tug.org/PSTricks/"
34832
34833 \end_inset
34834
34835
34836 \series default
34837
34838 \begin_inset Index
34839 status collapsed
34840
34841 \begin_layout Plain Layout
34842 LaTeX-packages ! PSTricks
34843 \end_layout
34844
34845 \end_inset
34846
34847
34848 \end_layout
34849
34850 \begin_layout Bibliography
34851 \begin_inset CommandInset bibitem
34852 LatexCommand bibitem
34853 key "sidecap"
34854
34855 \end_inset
34856
34857 Documentation of the LaTeX-package 
34858 \series bold
34859
34860 \begin_inset CommandInset href
34861 LatexCommand href
34862 name "sidecap"
34863 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34864
34865 \end_inset
34866
34867
34868 \series default
34869
34870 \begin_inset Index
34871 status collapsed
34872
34873 \begin_layout Plain Layout
34874 LaTeX-packages ! sidecap
34875 \end_layout
34876
34877 \end_inset
34878
34879
34880 \end_layout
34881
34882 \begin_layout Bibliography
34883 \begin_inset CommandInset bibitem
34884 LatexCommand bibitem
34885 key "prettyref"
34886
34887 \end_inset
34888
34889 Documentation of the LaTeX-package 
34890 \series bold
34891
34892 \begin_inset CommandInset href
34893 LatexCommand href
34894 name "prettyref"
34895 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
34896
34897 \end_inset
34898
34899
34900 \series default
34901
34902 \begin_inset Index
34903 status collapsed
34904
34905 \begin_layout Plain Layout
34906 LaTeX-packages ! prettyref
34907 \end_layout
34908
34909 \end_inset
34910
34911
34912 \end_layout
34913
34914 \begin_layout Bibliography
34915 \begin_inset CommandInset bibitem
34916 LatexCommand bibitem
34917 key "NewInLyX16"
34918
34919 \end_inset
34920
34921
34922 \begin_inset CommandInset href
34923 LatexCommand href
34924 name "Wiki page"
34925 target "http://wiki.lyx.org/LyX/NewInLyX16"
34926
34927 \end_inset
34928
34929  about new features in 
34930 \family sans
34931 LyX 1.6.0
34932 \family default
34933 .
34934 \end_layout
34935
34936 \begin_layout Standard
34937 \begin_inset CommandInset index_print
34938 LatexCommand printindex
34939
34940 \end_inset
34941
34942
34943 \end_layout
34944
34945 \begin_layout Standard
34946 \begin_inset FloatList figure
34947
34948 \end_inset
34949
34950
34951 \end_layout
34952
34953 \begin_layout Standard
34954 \begin_inset FloatList table
34955
34956 \end_inset
34957
34958
34959 \end_layout
34960
34961 \begin_layout Standard
34962 \begin_inset FloatList algorithm
34963
34964 \end_inset
34965
34966
34967 \end_layout
34968
34969 \end_body
34970 \end_document