]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Update file to the last version discussed on bugzilla and on the devel list
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 333
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 are numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \pagenumbering{roman}
25 \let\myTOC\tableofcontents
26 \renewcommand{\tableofcontents}{%
27  \pdfbookmark[1]{Contents}{}
28  \myTOC
29  \cleardoublepage
30  \pagenumbering{arabic}}
31
32 % provides caption formatting
33 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
34
35 % provides commands to set caption
36 % beside tables/images
37 \usepackage{sidecap}
38
39 \newcommand{\TabBesBeg}{%
40  \let\MyTable\table
41  \let\MyEndtable\endtable
42  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
43
44 \newcommand{\TabBesEnd}{%
45  \let\table\MyTable
46  \let\endtable\MyEndtable}
47
48 \newcommand{\FigBesBeg}{%
49  \let\MyFigure\figure
50  \let\MyEndfigure\endfigure
51  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
52
53 \newcommand{\FigBesEnd}{%
54  \let\figure\MyFigure
55  \let\endfigure\MyEndfigure}
56
57 % enables calculation of values,
58 \usepackage{calc}
59
60 % provides special table cell alignments
61 \usepackage{dcolumn}
62
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
65
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
69
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
72
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
75
76 % used for colored tables
77 \@ifundefined{textcolor}
78  {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
81
82 % check for package colortbl
83 % used for colored table cells
84 \newboolean{colortbl}
85 \IfFileExists{colortbl.sty}
86  {\usepackage{colortbl}
87   \setboolean{colortbl}{true}}
88  {\setboolean{colortbl}{false}}
89
90 % used for multirows
91 \usepackage{multirow}
92 %\renewcommand{\multirowsetup}{\centering}
93
94 % used for book-style tables
95 \usepackage{booktabs}
96
97 % used to have extra space in table cells
98 \@ifundefined{extrarowheight}
99  {\usepackage{array}}{}
100 \setlength{\extrarowheight}{2pt}
101
102 % used for customized tables
103 % ---
104 \newcolumntype{M}[1]
105  {>{\centering\hspace{0pt}}m{#1}}
106
107 \newcolumntype{S}[2]
108  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
109
110 \newcolumntype{K}[1]
111  {>{\columncolor{#1}\hspace{0pt}}c}
112
113 \newcolumntype{V}{!{\vrule width 1.5pt}}
114
115 \newcolumntype{W}{!{\color{green}\vline}}
116 % ---
117
118 % insert additional vertical space of
119 % 1.5 mm between footnotes
120 \let\myFoot\footnote
121 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
122
123 % number algorithm floats within chapters
124 \numberwithin{algorithm}{chapter}
125
126 % redefine the greyed out note
127 \renewenvironment{lyxgreyedout}
128  {\textcolor{blue}\bgroup}{\egroup}
129
130 % ------------------------------------
131 % used to check for needed LaTeX packages
132 \usepackage{ifthen}
133
134 % check for package arydshln
135 % used for tables with dashed lines
136 \newboolean{arydshln}
137 \IfFileExists{arydshln.sty}
138  {\usepackage{arydshln}
139   \setboolean{arydshln}{true}}
140  {\setboolean{arydshln}{false}}
141
142 % check for package marginnote
143 % used for margin notes
144 \newboolean{marginnote}
145 \IfFileExists{marginnote.sty}
146  {\usepackage{marginnote}
147   \let\marginpar\marginnote
148   \setboolean{marginnote}{true}}
149  {\setboolean{marginnote}{false}}
150
151 % check for package sidecap
152 % used for captions on the side
153 \newboolean{sidecap}
154 \IfFileExists{sidecap.sty}
155  {\usepackage{sidecap}
156   \let\marginpar\marginnote
157   \setboolean{sidecap}{true}}
158  {\setboolean{sidecap}{false}}
159
160 % redefine the \LyX macro for PDF bookmarks
161 \def\LyX{\texorpdfstring{%
162   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
163   {LyX }}
164 \end_preamble
165 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
166 \language english
167 \inputencoding auto
168 \font_roman default
169 \font_sans default
170 \font_typewriter default
171 \font_default_family default
172 \font_sc false
173 \font_osf false
174 \font_sf_scale 100
175 \font_tt_scale 100
176 \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_pagebackref false
193 \pdf_pdfusetitle false
194 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
195 \papersize default
196 \use_geometry false
197 \use_amsmath 2
198 \use_esint 0
199 \cite_engine basic
200 \use_bibtopic false
201 \paperorientation portrait
202 \secnumdepth 3
203 \tocdepth 3
204 \paragraph_separation skip
205 \defskip medskip
206 \quotes_language english
207 \papercolumns 1
208 \papersides 2
209 \paperpagestyle default
210 \bullet 1 1 34 -1
211 \bullet 2 2 35 -1
212 \bullet 3 2 7 -1
213 \tracking_changes false
214 \output_changes false
215 \author "" 
216 \author "" 
217 \end_header
218
219 \begin_body
220
221 \begin_layout Title
222 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
223  manual
224 \end_layout
225
226 \begin_layout Author
227 by the LyX Team
228 \begin_inset Foot
229 status collapsed
230
231 \begin_layout Plain Layout
232 \noindent
233 If you have comments or error corrections, please send them to the LyX Documenta
234 tion mailing list: 
235 \begin_inset CommandInset href
236 LatexCommand href
237 name "lyx-docs@lists.lyx.org"
238 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
239 type "mailto:"
240
241 \end_inset
242
243
244 \end_layout
245
246 \end_inset
247
248
249 \begin_inset Note Note
250 status collapsed
251
252 \begin_layout Plain Layout
253 author: Uwe Stöhr
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Newline newline
260 \end_inset
261
262
263 \begin_inset Newline newline
264 \end_inset
265
266
267 \family sans
268 Version 1.6svn
269 \end_layout
270
271 \begin_layout Standard
272 \begin_inset CommandInset toc
273 LatexCommand tableofcontents
274
275 \end_inset
276
277
278 \end_layout
279
280 \begin_layout Standard
281 \begin_inset Note Note
282 status open
283
284 \begin_layout Plain Layout
285 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
286  
287 \series bold
288 arydshln
289 \series default
290
291 \series bold
292 colortbl
293 \series default
294
295 \series bold
296 marginnote
297 \series default
298 , and 
299 \series bold
300 sidecap
301 \series default
302  must be installed.
303  If they are not installed you can export the document anyway but the sections
304  where the packages are required won't appear in the output.
305 \end_layout
306
307 \begin_layout Plain Layout
308 The latest PDF-version of this document can be found here:
309 \begin_inset Newline newline
310 \end_inset
311
312
313 \series bold
314 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
315 \end_layout
316
317 \end_inset
318
319
320 \end_layout
321
322 \begin_layout Chapter
323 Figures
324 \begin_inset CommandInset label
325 LatexCommand label
326 name "cha:Figures"
327
328 \end_inset
329
330
331 \begin_inset Index
332 status collapsed
333
334 \begin_layout Plain Layout
335 Figures
336 \end_layout
337
338 \end_inset
339
340
341 \begin_inset Index
342 status collapsed
343
344 \begin_layout Plain Layout
345 Graphics|see
346 \begin_inset ERT
347 status collapsed
348
349 \begin_layout Plain Layout
350
351 {
352 \end_layout
353
354 \end_inset
355
356 Figures
357 \begin_inset ERT
358 status collapsed
359
360 \begin_layout Plain Layout
361
362 }
363 \end_layout
364
365 \end_inset
366
367
368 \end_layout
369
370 \end_inset
371
372
373 \end_layout
374
375 \begin_layout Section
376 Graphics Dialog
377 \begin_inset Index
378 status collapsed
379
380 \begin_layout Plain Layout
381 Figures ! Graphics Dialog
382 \end_layout
383
384 \end_inset
385
386
387 \begin_inset CommandInset label
388 LatexCommand label
389 name "sec:Graphics-Dialog"
390
391 \end_inset
392
393
394 \end_layout
395
396 \begin_layout Standard
397 To insert an image into your document, place the cursor at the text position
398  you want and click on the toolbar icon 
399 \begin_inset Graphics
400         filename ../images/dialog-show-new-inset_graphics.png
401         scale 85
402         scaleBeforeRotation
403
404 \end_inset
405
406  or use the menu 
407 \family sans
408 Insert\SpecialChar \menuseparator
409 Graphics
410 \family default
411 .
412  Then a dialog will appear to choose the file to load.
413  The image will appear in the output exactly at the position where it is
414  in the text.
415 \end_layout
416
417 \begin_layout Standard
418 The graphics dialog can be called at any time by right-clicking on an image.
419  This dialog has three tabs:
420 \end_layout
421
422 \begin_layout Description
423
424 \family sans
425 Graphics
426 \family default
427  Here you can choose an image file and adjust its appearance in the output.
428  The available units for the image size are explained in appendix
429 \begin_inset Space ~
430 \end_inset
431
432
433 \begin_inset CommandInset ref
434 LatexCommand ref
435 reference "cha:Units-available-in"
436
437 \end_inset
438
439 .
440 \begin_inset Newline newline
441 \end_inset
442
443
444 \begin_inset Index
445 status collapsed
446
447 \begin_layout Plain Layout
448 Figures ! rotated
449 \end_layout
450
451 \end_inset
452
453 You can rotate images counter-clockwise by setting a rotation angle and
454  a rotation origin.
455  The image will also be rotated inside LyX.
456 \begin_inset Newline newline
457 \end_inset
458
459
460 \begin_inset Index
461 status collapsed
462
463 \begin_layout Plain Layout
464 Figures ! scaled
465 \end_layout
466
467 \end_inset
468
469 Images can be scaled by using a percentage value or by setting the width
470  and height explicitly.
471  If you set only the width or only the height, the other size will be determined
472  automatically.
473  If you set both, then the image will be transformed to the given size,
474  possibly distorting it.
475  To prevent the image from distortion, use the option 
476 \family sans
477 Maintain aspect ratio
478 \family default
479 .
480  The image will then be scaled so that its width and height don't exceed
481  the specified dimensions.
482 \begin_inset Newline newline
483 \end_inset
484
485 Images can be opened in a program of your choice when pressing the 
486 \family sans
487 Edit
488 \family default
489  button.
490  The program can be set for every image format in the file format settings
491  in LyX's preferences.
492 \end_layout
493
494 \begin_layout Description
495
496 \family sans
497 Clipping
498 \family default
499  Alternatively to the usage of scaling units it is possible to set image
500  coordinates to adjust the height and width of the image in the output.
501  The coordinates can also be calculated automatically by pressing the button
502  
503 \family sans
504 Get
505 \begin_inset Space ~
506 \end_inset
507
508 from
509 \begin_inset Space ~
510 \end_inset
511
512 File
513 \family default
514 .
515  The option 
516 \family sans
517 Clip
518 \begin_inset Space ~
519 \end_inset
520
521 to
522 \begin_inset Space ~
523 \end_inset
524
525 bounding
526 \begin_inset Space ~
527 \end_inset
528
529 box
530 \family default
531  will only print the image region within the given coordinates.
532  Normally you don't need to take care about image coordinates and can ignore
533  this tab.
534 \end_layout
535
536 \begin_layout Description
537
538 \family sans
539 Extra
540 \begin_inset Space ~
541 \end_inset
542
543 options
544 \family default
545  In this tab you can modify the appearance of the image within LyX and set
546  the image to be a subfigure of a figure float with an own caption.
547  Subfigures are explained in section
548 \begin_inset Space ~
549 \end_inset
550
551
552 \begin_inset CommandInset ref
553 LatexCommand ref
554 reference "sec:Figure-Floats"
555
556 \end_inset
557
558 .
559 \begin_inset Newline newline
560 \end_inset
561
562  LaTeX experts can also specify on this tab additional LaTeX options.
563 \begin_inset Newline newline
564 \end_inset
565
566  The option 
567 \family sans
568 Draft
569 \begin_inset Space ~
570 \end_inset
571
572 mode
573 \family default
574  makes the image appear in the output only as a frame with the size of the
575  image.
576 \begin_inset Newline newline
577 \end_inset
578
579 The 
580 \family sans
581 Don't
582 \begin_inset Space ~
583 \end_inset
584
585 unzip
586 \begin_inset Space ~
587 \end_inset
588
589 on
590 \begin_inset Space ~
591 \end_inset
592
593 export
594 \family default
595  option only affects zipped EPS-graphics, e.
596 \begin_inset Space \thinspace{}
597 \end_inset
598
599 g.
600 \begin_inset Space ~
601 \end_inset
602
603
604 \emph on
605 x.eps.gz
606 \emph default
607 .
608  When the option is used the images will not be unzipped on export, since
609  LaTeX can handle them as they are.
610 \begin_inset Newline newline
611 \end_inset
612
613 Zipped EPS-graphics are useful to save disk space when you choose PostScript
614  as output format, see appendix
615 \begin_inset Space ~
616 \end_inset
617
618
619 \begin_inset CommandInset ref
620 LatexCommand ref
621 reference "sec:PostScript"
622
623 \end_inset
624
625 .
626  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
627  console:
628 \begin_inset Newline newline
629 \end_inset
630
631
632 \series bold
633 gzip x.eps
634 \series default
635
636 \begin_inset Newline newline
637 \end_inset
638
639
640 \series bold
641 zgrep %%Bounding x.eps.gz > x.eps.bb
642 \series default
643
644 \begin_inset Newline newline
645 \end_inset
646
647 The second command creates the bounding box file 
648 \begin_inset Quotes eld
649 \end_inset
650
651 x.eps.bb
652 \begin_inset Quotes erd
653 \end_inset
654
655  that is needed by LaTeX for zipped graphics.
656 \end_layout
657
658 \begin_layout Standard
659 \begin_inset VSpace bigskip
660 \end_inset
661
662
663 \end_layout
664
665 \begin_layout Standard
666 This is an example image in EPS format
667 \begin_inset Foot
668 status collapsed
669
670 \begin_layout Plain Layout
671 Image formats are explained in section
672 \begin_inset Space ~
673 \end_inset
674
675
676 \begin_inset CommandInset ref
677 LatexCommand ref
678 reference "sec:Image-Formats"
679
680 \end_inset
681
682 .
683 \end_layout
684
685 \end_inset
686
687  within a separate, horizontally centered paragraph:
688 \end_layout
689
690 \begin_layout Standard
691 \align center
692 \begin_inset Graphics
693         filename clipart/mobius.eps
694         display color
695         scale 70
696         scaleBeforeRotation
697         rotateOrigin center
698
699 \end_inset
700
701
702 \end_layout
703
704 \begin_layout Standard
705 This is the same image like the one above but in draft mode:
706 \end_layout
707
708 \begin_layout Standard
709 \align center
710 \begin_inset Graphics
711         filename clipart/mobius.eps
712         display color
713         scale 70
714         draft
715         scaleBeforeRotation
716         rotateOrigin center
717
718 \end_inset
719
720
721 \end_layout
722
723 \begin_layout Section
724 Figure Floats
725 \begin_inset CommandInset label
726 LatexCommand label
727 name "sec:Figure-Floats"
728
729 \end_inset
730
731
732 \begin_inset Index
733 status collapsed
734
735 \begin_layout Plain Layout
736 Floats ! Figures
737 \end_layout
738
739 \end_inset
740
741
742 \begin_inset Index
743 status collapsed
744
745 \begin_layout Plain Layout
746 Figures ! Floats
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Standard
755 For general explanations about floats, have a look at section
756 \begin_inset Space ~
757 \end_inset
758
759
760 \begin_inset CommandInset ref
761 LatexCommand ref
762 reference "sec:FloatIntroduction"
763
764 \end_inset
765
766 .
767 \end_layout
768
769 \begin_layout Standard
770 The toolbar button 
771 \begin_inset Graphics
772         filename ../images/float-insert_figure.png
773         scale 85
774         scaleBeforeRotation
775
776 \end_inset
777
778  and the menu 
779 \family sans
780 Insert\SpecialChar \menuseparator
781 Float\SpecialChar \menuseparator
782 Figure
783 \family default
784  inserts a float with a caption that has the label 
785 \begin_inset Quotes eld
786 \end_inset
787
788 Figure
789 \begin_inset Space ~
790 \end_inset
791
792 #:
793 \begin_inset Quotes erd
794 \end_inset
795
796  (# is the actual number).
797  You can insert the image above the caption, like in Figure
798 \begin_inset Space ~
799 \end_inset
800
801
802 \begin_inset CommandInset ref
803 LatexCommand ref
804 reference "fig:kill-plat"
805
806 \end_inset
807
808  or below the caption, like in Figure
809 \begin_inset Space ~
810 \end_inset
811
812
813 \begin_inset CommandInset ref
814 LatexCommand ref
815 reference "fig:escher"
816
817 \end_inset
818
819 .
820  More about the caption placement is described in section
821 \begin_inset Space ~
822 \end_inset
823
824
825 \begin_inset CommandInset ref
826 LatexCommand ref
827 reference "sec:Caption-Placement"
828
829 \end_inset
830
831 .
832 \end_layout
833
834 \begin_layout Standard
835 \begin_inset Float figure
836 wide false
837 sideways false
838 status open
839
840 \begin_layout Plain Layout
841 \align center
842 \begin_inset Graphics
843         filename clipart/platypus.eps
844         display color
845         width 50col%
846         scaleBeforeRotation
847         rotateOrigin center
848
849 \end_inset
850
851
852 \end_layout
853
854 \begin_layout Plain Layout
855 \begin_inset Caption
856
857 \begin_layout Plain Layout
858 \begin_inset CommandInset label
859 LatexCommand label
860 name "fig:kill-plat"
861
862 \end_inset
863
864 A severely distorted platypus in a float.
865 \end_layout
866
867 \end_inset
868
869
870 \end_layout
871
872 \end_inset
873
874
875 \end_layout
876
877 \begin_layout Standard
878 \begin_inset Float figure
879 wide false
880 sideways false
881 status open
882
883 \begin_layout Plain Layout
884 \begin_inset Caption
885
886 \begin_layout Plain Layout
887 \begin_inset CommandInset label
888 LatexCommand label
889 name "fig:escher"
890
891 \end_inset
892
893 M.C.
894  Escher on acid.
895 \end_layout
896
897 \end_inset
898
899
900 \end_layout
901
902 \begin_layout Plain Layout
903 \align center
904 \begin_inset Graphics
905         filename clipart/escher-lsd.eps
906         display color
907         scale 80
908         scaleBeforeRotation
909         rotateOrigin center
910
911 \end_inset
912
913
914 \end_layout
915
916 \end_inset
917
918
919 \end_layout
920
921 \begin_layout Standard
922 \begin_inset Index
923 status collapsed
924
925 \begin_layout Plain Layout
926 References ! to Figures
927 \end_layout
928
929 \end_inset
930
931 Figure
932 \begin_inset Space ~
933 \end_inset
934
935
936 \begin_inset CommandInset ref
937 LatexCommand ref
938 reference "fig:kill-plat"
939
940 \end_inset
941
942  and 
943 \begin_inset CommandInset ref
944 LatexCommand ref
945 reference "fig:escher"
946
947 \end_inset
948
949  are examples of referenced figures.
950  Figures can be referenced in the text by referencing their label.
951  To do this insert a label in the caption using the menu 
952 \family sans
953 Insert\SpecialChar \menuseparator
954 Label
955 \family default
956  or the toolbar button 
957 \begin_inset Graphics
958         filename ../images/label-insert.png
959         scale 85
960         scaleBeforeRotation
961
962 \end_inset
963
964 .
965  You can now refer to the label using the menu 
966 \family sans
967 Insert\SpecialChar \menuseparator
968 Cross
969 \begin_inset Space ~
970 \end_inset
971
972 reference
973 \family default
974  or the toolbar button 
975 \begin_inset Graphics
976         filename ../images/dialog-show-new-inset_ref.png
977         scale 85
978         scaleBeforeRotation
979
980 \end_inset
981
982 .
983  It is important to use references to floats, rather than using vague references
984  like 
985 \begin_inset Quotes eld
986 \end_inset
987
988 the figure above
989 \begin_inset Quotes erd
990 \end_inset
991
992 , because as LaTeX will reposition the floats in the final document, it
993  might not be 
994 \begin_inset Quotes eld
995 \end_inset
996
997 above
998 \begin_inset Quotes erd
999 \end_inset
1000
1001  at all.
1002 \begin_inset Newline newline
1003 \end_inset
1004
1005 Referencing is explained in detail in section
1006 \begin_inset Space ~
1007 \end_inset
1008
1009
1010 \begin_inset CommandInset ref
1011 LatexCommand ref
1012 reference "sec:Referencing-Floats"
1013
1014 \end_inset
1015
1016 .
1017 \end_layout
1018
1019 \begin_layout Standard
1020 Normally only one image is inserted to a figure float, but sometimes you
1021  might want to use two images with separate subcaptions.
1022  This can be set in the tab 
1023 \family sans
1024 Extra
1025 \begin_inset Space ~
1026 \end_inset
1027
1028 options
1029 \family default
1030  of the graphics dialog.
1031  Choose there the option 
1032 \family sans
1033 Subfigure
1034 \family default
1035  and enter the subcaption for the image in the caption field.
1036  Note that only the main caption of the float is added to the List of Figures.
1037 \begin_inset Newline newline
1038 \end_inset
1039
1040 Referencing subfigures is explained in section
1041 \begin_inset Space ~
1042 \end_inset
1043
1044
1045 \begin_inset CommandInset ref
1046 LatexCommand ref
1047 reference "sub:Referencing-Subfigures"
1048
1049 \end_inset
1050
1051 .
1052 \end_layout
1053
1054 \begin_layout Standard
1055 Figure
1056 \begin_inset Space ~
1057 \end_inset
1058
1059
1060 \begin_inset CommandInset ref
1061 LatexCommand ref
1062 reference "fig:Two-distorted-images"
1063
1064 \end_inset
1065
1066  is an example of a figure float with two images set side by side.
1067  You can also set the images one below the other.
1068 \end_layout
1069
1070 \begin_layout Standard
1071 \begin_inset Float figure
1072 wide false
1073 sideways false
1074 status open
1075
1076 \begin_layout Plain Layout
1077 \begin_inset Space \hfill{}
1078 \end_inset
1079
1080
1081 \begin_inset Float figure
1082 wide false
1083 sideways false
1084 status open
1085
1086 \begin_layout Plain Layout
1087 \begin_inset Caption
1088
1089 \begin_layout Plain Layout
1090 Undefinable structure
1091 \end_layout
1092
1093 \end_inset
1094
1095
1096 \end_layout
1097
1098 \begin_layout Plain Layout
1099 \begin_inset Graphics
1100         filename clipart/escher-lsd.eps
1101         width 45col%
1102         scaleBeforeRotation
1103
1104 \end_inset
1105
1106
1107 \end_layout
1108
1109 \end_inset
1110
1111
1112 \begin_inset Space \hfill{}
1113 \end_inset
1114
1115
1116 \begin_inset Float figure
1117 wide false
1118 sideways false
1119 status open
1120
1121 \begin_layout Plain Layout
1122 \begin_inset Caption
1123
1124 \begin_layout Plain Layout
1125
1126 \end_layout
1127
1128 \end_inset
1129
1130
1131 \end_layout
1132
1133 \begin_layout Plain Layout
1134 \begin_inset Graphics
1135         filename clipart/platypus.eps
1136         lyxscale 60
1137         width 45col%
1138         scaleBeforeRotation
1139
1140 \end_inset
1141
1142
1143 \end_layout
1144
1145 \end_inset
1146
1147
1148 \begin_inset Space \hfill{}
1149 \end_inset
1150
1151
1152 \end_layout
1153
1154 \begin_layout Plain Layout
1155 \begin_inset Caption
1156
1157 \begin_layout Plain Layout
1158 \begin_inset CommandInset label
1159 LatexCommand label
1160 name "fig:Two-distorted-images"
1161
1162 \end_inset
1163
1164 Two distorted images.
1165 \end_layout
1166
1167 \end_inset
1168
1169
1170 \end_layout
1171
1172 \end_inset
1173
1174
1175 \end_layout
1176
1177 \begin_layout Section
1178 Image Formats
1179 \begin_inset CommandInset label
1180 LatexCommand label
1181 name "sec:Image-Formats"
1182
1183 \end_inset
1184
1185
1186 \begin_inset Index
1187 status collapsed
1188
1189 \begin_layout Plain Layout
1190 Image Formats
1191 \end_layout
1192
1193 \end_inset
1194
1195
1196 \begin_inset Index
1197 status collapsed
1198
1199 \begin_layout Plain Layout
1200 Figures ! Image Formats
1201 \end_layout
1202
1203 \end_inset
1204
1205
1206 \end_layout
1207
1208 \begin_layout Standard
1209 You can insert images in any known file format.
1210  But as explained in appendix
1211 \begin_inset Space ~
1212 \end_inset
1213
1214
1215 \begin_inset CommandInset ref
1216 LatexCommand ref
1217 reference "cha:Output-File-Formats"
1218
1219 \end_inset
1220
1221 , every output document format allows only a few image formats.
1222  LyX uses therefore the program 
1223 \family typewriter
1224 Imagemagick
1225 \family default
1226  in the background to convert the images to the right format.
1227  To increase your work flow by avoiding these conversions in the background,
1228  you can use only the image formats that can directly be embedded in the
1229  output file format.
1230  The output file formats are explained in appendix
1231 \begin_inset Space ~
1232 \end_inset
1233
1234
1235 \begin_inset CommandInset ref
1236 LatexCommand ref
1237 reference "cha:Output-File-Formats"
1238
1239 \end_inset
1240
1241 .
1242 \end_layout
1243
1244 \begin_layout Standard
1245 Similar to fonts there are two types of image formats:
1246 \end_layout
1247
1248 \begin_layout Description
1249 Bitmap
1250 \begin_inset Space ~
1251 \end_inset
1252
1253 images consist of pixel values, often in a compressed form.
1254  They are therefore not fully scalable and look pixeled in large zooms.
1255  Well-known bitmap image formats are 
1256 \begin_inset Quotes eld
1257 \end_inset
1258
1259 Graphics Interchange Format
1260 \begin_inset Quotes erd
1261 \end_inset
1262
1263  (GIF, file extension 
1264 \begin_inset Quotes eld
1265 \end_inset
1266
1267
1268 \family typewriter
1269 .gif
1270 \family default
1271
1272 \begin_inset Quotes erd
1273 \end_inset
1274
1275 )
1276 \begin_inset Index
1277 status collapsed
1278
1279 \begin_layout Plain Layout
1280 GIF|see
1281 \begin_inset ERT
1282 status collapsed
1283
1284 \begin_layout Plain Layout
1285
1286 {
1287 \end_layout
1288
1289 \end_inset
1290
1291 Image formats
1292 \begin_inset ERT
1293 status collapsed
1294
1295 \begin_layout Plain Layout
1296
1297 }
1298 \end_layout
1299
1300 \end_inset
1301
1302
1303 \end_layout
1304
1305 \end_inset
1306
1307
1308 \begin_inset Quotes eld
1309 \end_inset
1310
1311 Portable Network Graphics
1312 \begin_inset Quotes erd
1313 \end_inset
1314
1315  (PNG, file extension 
1316 \begin_inset Quotes eld
1317 \end_inset
1318
1319
1320 \family typewriter
1321 .png
1322 \family default
1323
1324 \begin_inset Quotes erd
1325 \end_inset
1326
1327 )
1328 \begin_inset Index
1329 status collapsed
1330
1331 \begin_layout Plain Layout
1332 PNG|see
1333 \begin_inset ERT
1334 status collapsed
1335
1336 \begin_layout Plain Layout
1337
1338 {
1339 \end_layout
1340
1341 \end_inset
1342
1343 Image formats
1344 \begin_inset ERT
1345 status collapsed
1346
1347 \begin_layout Plain Layout
1348
1349 }
1350 \end_layout
1351
1352 \end_inset
1353
1354
1355 \end_layout
1356
1357 \end_inset
1358
1359 , and 
1360 \begin_inset Quotes eld
1361 \end_inset
1362
1363 Joint Photographic Experts Group
1364 \begin_inset Quotes erd
1365 \end_inset
1366
1367  (JPG, file extension 
1368 \begin_inset Quotes eld
1369 \end_inset
1370
1371
1372 \family typewriter
1373 .jpg
1374 \family default
1375
1376 \begin_inset Quotes erd
1377 \end_inset
1378
1379  or 
1380 \begin_inset Quotes eld
1381 \end_inset
1382
1383
1384 \family typewriter
1385 .jpeg
1386 \family default
1387
1388 \begin_inset Quotes erd
1389 \end_inset
1390
1391 )
1392 \begin_inset Index
1393 status collapsed
1394
1395 \begin_layout Plain Layout
1396 JPG|see
1397 \begin_inset ERT
1398 status collapsed
1399
1400 \begin_layout Plain Layout
1401
1402 {
1403 \end_layout
1404
1405 \end_inset
1406
1407 Image formats
1408 \begin_inset ERT
1409 status collapsed
1410
1411 \begin_layout Plain Layout
1412
1413 }
1414 \end_layout
1415
1416 \end_inset
1417
1418
1419 \end_layout
1420
1421 \end_inset
1422
1423 .
1424 \end_layout
1425
1426 \begin_layout Description
1427 Vector
1428 \begin_inset Space ~
1429 \end_inset
1430
1431 images consist of vectors and can therefore be scaled to any size without
1432  data loss.
1433  The scaling ability is necessary if you want to create presentations, because
1434  presentations are always scaled by the video projector.
1435  Scaling is also useful for online documents to let the user zoom into diagrams.
1436 \begin_inset Newline newline
1437 \end_inset
1438
1439 Well-known scalable image formats are 
1440 \begin_inset Quotes eld
1441 \end_inset
1442
1443 Scalable Vector Graphics
1444 \begin_inset Quotes erd
1445 \end_inset
1446
1447  (SVG, file extension 
1448 \begin_inset Quotes eld
1449 \end_inset
1450
1451
1452 \family typewriter
1453 .svg
1454 \family default
1455
1456 \begin_inset Quotes erd
1457 \end_inset
1458
1459 )
1460 \begin_inset Index
1461 status collapsed
1462
1463 \begin_layout Plain Layout
1464 SVG|see
1465 \begin_inset ERT
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469
1470 {
1471 \end_layout
1472
1473 \end_inset
1474
1475 Image formats
1476 \begin_inset ERT
1477 status collapsed
1478
1479 \begin_layout Plain Layout
1480
1481 }
1482 \end_layout
1483
1484 \end_inset
1485
1486
1487 \end_layout
1488
1489 \end_inset
1490
1491
1492 \begin_inset Quotes eld
1493 \end_inset
1494
1495 Encapsulated PostScript
1496 \begin_inset Quotes erd
1497 \end_inset
1498
1499  (EPS, file extension 
1500 \begin_inset Quotes eld
1501 \end_inset
1502
1503
1504 \family typewriter
1505 .eps
1506 \family default
1507
1508 \begin_inset Quotes erd
1509 \end_inset
1510
1511 )
1512 \begin_inset Index
1513 status collapsed
1514
1515 \begin_layout Plain Layout
1516 EPS|see
1517 \begin_inset ERT
1518 status collapsed
1519
1520 \begin_layout Plain Layout
1521
1522 {
1523 \end_layout
1524
1525 \end_inset
1526
1527 Image formats
1528 \begin_inset ERT
1529 status collapsed
1530
1531 \begin_layout Plain Layout
1532
1533 }
1534 \end_layout
1535
1536 \end_inset
1537
1538
1539 \end_layout
1540
1541 \end_inset
1542
1543
1544 \begin_inset Quotes eld
1545 \end_inset
1546
1547 Portable Document Format
1548 \begin_inset Quotes erd
1549 \end_inset
1550
1551  (PDF, file extension 
1552 \begin_inset Quotes eld
1553 \end_inset
1554
1555
1556 \family typewriter
1557 .pdf
1558 \family default
1559
1560 \begin_inset Quotes erd
1561 \end_inset
1562
1563 )
1564 \begin_inset Index
1565 status collapsed
1566
1567 \begin_layout Plain Layout
1568 PDF
1569 \end_layout
1570
1571 \end_inset
1572
1573 , and 
1574 \begin_inset Quotes eld
1575 \end_inset
1576
1577 Windows Metafile
1578 \begin_inset Quotes erd
1579 \end_inset
1580
1581  (WMF, file extension 
1582 \begin_inset Quotes eld
1583 \end_inset
1584
1585
1586 \family typewriter
1587 .wmf
1588 \family default
1589
1590 \begin_inset Quotes erd
1591 \end_inset
1592
1593 )
1594 \begin_inset Index
1595 status collapsed
1596
1597 \begin_layout Plain Layout
1598 SVG|see
1599 \begin_inset ERT
1600 status collapsed
1601
1602 \begin_layout Plain Layout
1603
1604 {
1605 \end_layout
1606
1607 \end_inset
1608
1609 Image formats
1610 \begin_inset ERT
1611 status collapsed
1612
1613 \begin_layout Plain Layout
1614
1615 }
1616 \end_layout
1617
1618 \end_inset
1619
1620
1621 \end_layout
1622
1623 \end_inset
1624
1625 .
1626  We wrote 
1627 \begin_inset Quotes eld
1628 \end_inset
1629
1630 can be
1631 \begin_inset Quotes erd
1632 \end_inset
1633
1634 , because you can convert any bitmap image to a PDF or EPS-image and the
1635  result will still be a bitmap image.
1636  In this cases only a header with the image properties is added to the original
1637  image
1638 \begin_inset Foot
1639 status open
1640
1641 \begin_layout Plain Layout
1642 In the case of PDF, the original image is additionally compressed.
1643 \end_layout
1644
1645 \end_inset
1646
1647 .
1648  The PDF-files generated by 
1649 \family typewriter
1650 Adobe Photoshop
1651 \family default
1652  are for example bitmap images.
1653 \end_layout
1654
1655 \begin_layout Standard
1656 Normally it is not possible to convert a bitmap image into a scalable one,
1657  only vice versa.
1658  Only the image formats PDF and EPS can directly be embedded to PDF and
1659  PostScript output files, respectively.
1660  SVG and WMF-images are recalculated to bitmaps when the output file is
1661  generated because there is currently no adequate WMF/SVG
1662 \begin_inset Formula $\to$
1663 \end_inset
1664
1665 PDF/EPS converter available.
1666 \end_layout
1667
1668 \begin_layout Chapter
1669 Tables
1670 \begin_inset CommandInset label
1671 LatexCommand label
1672 name "cha:Tables"
1673
1674 \end_inset
1675
1676
1677 \begin_inset Index
1678 status collapsed
1679
1680 \begin_layout Plain Layout
1681 Table
1682 \end_layout
1683
1684 \end_inset
1685
1686
1687 \end_layout
1688
1689 \begin_layout Section
1690 Introduction
1691 \begin_inset Index
1692 status collapsed
1693
1694 \begin_layout Plain Layout
1695 Table ! Introduction
1696 \end_layout
1697
1698 \end_inset
1699
1700
1701 \end_layout
1702
1703 \begin_layout Standard
1704 You can insert a table using either the toolbar button 
1705 \begin_inset Graphics
1706         filename ../images/tabular-insert.png
1707         scale 85
1708         scaleBeforeRotation
1709
1710 \end_inset
1711
1712  or the menu 
1713 \family sans
1714 Insert\SpecialChar \menuseparator
1715 Table
1716 \family default
1717 .
1718  The toolbar button offers you a graphical selection: Move the mouse to
1719  set the column/row number of the table that should be created and then
1720  press a mouse button.
1721  When you use the menu to create a table, a dialog will appear, asking you
1722  for the number of rows and columns.
1723 \begin_inset Newline newline
1724 \end_inset
1725
1726  The default table has lines around any cell and the first row appears separated
1727  from the rest of the table.
1728  This separation occurs due to a double line: The cells of the first row
1729  have a line below them and the cells of the second row have a line above
1730  them.
1731  Here is an example table:
1732 \end_layout
1733
1734 \begin_layout Standard
1735 \align center
1736 \begin_inset Tabular
1737 <lyxtabular version="3" rows="4" columns="4">
1738 <features>
1739 <column alignment="center" valignment="top" width="0">
1740 <column alignment="center" valignment="top" width="0">
1741 <column alignment="center" valignment="top" width="0">
1742 <column alignment="center" valignment="top" width="0">
1743 <row>
1744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1745 \begin_inset Text
1746
1747 \begin_layout Plain Layout
1748
1749 \end_layout
1750
1751 \end_inset
1752 </cell>
1753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1754 \begin_inset Text
1755
1756 \begin_layout Plain Layout
1757
1758 \family roman
1759 \series medium
1760 \shape up
1761 \size normal
1762 \emph off
1763 \bar no
1764 \noun off
1765 \color none
1766 1
1767 \end_layout
1768
1769 \end_inset
1770 </cell>
1771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1772 \begin_inset Text
1773
1774 \begin_layout Plain Layout
1775 2
1776 \end_layout
1777
1778 \end_inset
1779 </cell>
1780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1781 \begin_inset Text
1782
1783 \begin_layout Plain Layout
1784 3
1785 \end_layout
1786
1787 \end_inset
1788 </cell>
1789 </row>
1790 <row>
1791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1792 \begin_inset Text
1793
1794 \begin_layout Plain Layout
1795
1796 \family roman
1797 \series medium
1798 \shape up
1799 \size normal
1800 \emph off
1801 \bar no
1802 \noun off
1803 \color none
1804 A
1805 \end_layout
1806
1807 \end_inset
1808 </cell>
1809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1810 \begin_inset Text
1811
1812 \begin_layout Plain Layout
1813
1814 \end_layout
1815
1816 \end_inset
1817 </cell>
1818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1819 \begin_inset Text
1820
1821 \begin_layout Plain Layout
1822
1823 \end_layout
1824
1825 \end_inset
1826 </cell>
1827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1828 \begin_inset Text
1829
1830 \begin_layout Plain Layout
1831
1832 \end_layout
1833
1834 \end_inset
1835 </cell>
1836 </row>
1837 <row>
1838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1839 \begin_inset Text
1840
1841 \begin_layout Plain Layout
1842
1843 \family roman
1844 \series medium
1845 \shape up
1846 \size normal
1847 \emph off
1848 \bar no
1849 \noun off
1850 \color none
1851 B
1852 \end_layout
1853
1854 \end_inset
1855 </cell>
1856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1857 \begin_inset Text
1858
1859 \begin_layout Plain Layout
1860
1861 \end_layout
1862
1863 \end_inset
1864 </cell>
1865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1866 \begin_inset Text
1867
1868 \begin_layout Plain Layout
1869
1870 \end_layout
1871
1872 \end_inset
1873 </cell>
1874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1875 \begin_inset Text
1876
1877 \begin_layout Plain Layout
1878
1879 \end_layout
1880
1881 \end_inset
1882 </cell>
1883 </row>
1884 <row>
1885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1886 \begin_inset Text
1887
1888 \begin_layout Plain Layout
1889
1890 \family roman
1891 \series medium
1892 \shape up
1893 \size normal
1894 \emph off
1895 \bar no
1896 \noun off
1897 \color none
1898 C
1899 \end_layout
1900
1901 \end_inset
1902 </cell>
1903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1904 \begin_inset Text
1905
1906 \begin_layout Plain Layout
1907
1908 \end_layout
1909
1910 \end_inset
1911 </cell>
1912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1913 \begin_inset Text
1914
1915 \begin_layout Plain Layout
1916
1917 \end_layout
1918
1919 \end_inset
1920 </cell>
1921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1922 \begin_inset Text
1923
1924 \begin_layout Plain Layout
1925
1926 \end_layout
1927
1928 \end_inset
1929 </cell>
1930 </row>
1931 </lyxtabular>
1932
1933 \end_inset
1934
1935
1936 \end_layout
1937
1938 \begin_layout Section
1939 Table Dialog
1940 \begin_inset Index
1941 status collapsed
1942
1943 \begin_layout Plain Layout
1944 Table ! Dialog
1945 \end_layout
1946
1947 \end_inset
1948
1949
1950 \end_layout
1951
1952 \begin_layout Standard
1953 You can alter a table by clicking on it with the right mouse button, which
1954  brings up the table dialog.
1955  Here you can adjust the settings of that cell and row/column respectively
1956  where the cursor is currently placed.
1957  Most of the dialog options also work on selections.
1958  This means if you select more cells, columns or rows, the action is done
1959  for the whole selection.
1960  Note that there is a difference between selecting the 
1961 \emph on
1962 contents
1963 \emph default
1964  of the cell, and the cell itself.
1965  You can alter tables with the following tabs of the table dialog:
1966 \end_layout
1967
1968 \begin_layout Description
1969
1970 \family sans
1971 Table
1972 \begin_inset Space ~
1973 \end_inset
1974
1975 Settings
1976 \family default
1977  Here you can set the horizontal alignment and the width of the current
1978  column.
1979  When you have set a width you can also adjust the vertical alignment of
1980  the current row.
1981  A given width will allow the cell to have line breaks and multiple paragraphs
1982  of text, see section
1983 \begin_inset Space ~
1984 \end_inset
1985
1986
1987 \begin_inset CommandInset ref
1988 LatexCommand ref
1989 reference "sub:Multiple-Lines-in"
1990
1991 \end_inset
1992
1993 .
1994  If you set no width, the column is as wide as their widest cell content
1995  is.
1996 \begin_inset Newline newline
1997 \end_inset
1998
1999 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2000  cell, see section
2001 \begin_inset Space ~
2002 \end_inset
2003
2004
2005 \begin_inset CommandInset ref
2006 LatexCommand ref
2007 reference "sub:Multicolumns"
2008
2009 \end_inset
2010
2011 .
2012 \begin_inset Newline newline
2013 \end_inset
2014
2015 The rotate check boxes rotates the current cell, a selection, or the whole
2016  table counter-clockwise by 90°.
2017  The rotation is not shown within LyX, only in the output.
2018 \begin_inset Newline newline
2019 \end_inset
2020
2021
2022 \begin_inset Note Greyedout
2023 status open
2024
2025 \begin_layout Plain Layout
2026
2027 \series bold
2028 Note:
2029 \series default
2030  Not all DVI-viewers are able to display rotations.
2031 \end_layout
2032
2033 \end_inset
2034
2035
2036 \begin_inset Newline newline
2037 \end_inset
2038
2039 It is also possible to enter a LaTeX-argument which is needed for special
2040  table formattings, see section
2041 \begin_inset Space ~
2042 \end_inset
2043
2044
2045 \begin_inset CommandInset ref
2046 LatexCommand ref
2047 reference "sub:Multicolumn-Calculations"
2048
2049 \end_inset
2050
2051  and 
2052 \begin_inset CommandInset ref
2053 LatexCommand ref
2054 reference "sec:Colored-Tables"
2055
2056 \end_inset
2057
2058 .
2059 \end_layout
2060
2061 \begin_layout Description
2062
2063 \family sans
2064 Borders
2065 \family default
2066  In this tab you can add and delete border lines for the current row/column.
2067 \begin_inset Newline newline
2068 \end_inset
2069
2070 Using the style option 
2071 \family sans
2072 Formal
2073 \family default
2074  will convert the table to a formal table as described in section
2075 \begin_inset Space ~
2076 \end_inset
2077
2078
2079 \begin_inset CommandInset ref
2080 LatexCommand ref
2081 reference "sec:Formal-Tables"
2082
2083 \end_inset
2084
2085 .
2086 \begin_inset Newline newline
2087 \end_inset
2088
2089 You can also add here space to table rows as decribed in section
2090 \begin_inset Space ~
2091 \end_inset
2092
2093
2094 \begin_inset CommandInset ref
2095 LatexCommand ref
2096 reference "sub:Row-Spacing"
2097
2098 \end_inset
2099
2100 .
2101 \end_layout
2102
2103 \begin_layout Description
2104
2105 \family sans
2106 Longtable
2107 \family default
2108  This tab is to make a table a so called 
2109 \begin_inset Quotes eld
2110 \end_inset
2111
2112
2113 \emph on
2114 longtable
2115 \emph default
2116
2117 \begin_inset Quotes erd
2118 \end_inset
2119
2120  that can run over several pages.
2121  Section
2122 \begin_inset Space ~
2123 \end_inset
2124
2125
2126 \begin_inset CommandInset ref
2127 LatexCommand ref
2128 reference "sec:Longtables"
2129
2130 \end_inset
2131
2132  and 
2133 \begin_inset CommandInset ref
2134 LatexCommand ref
2135 reference "sec:Special-Longtable-Issues"
2136
2137 \end_inset
2138
2139  describe the longtable features in detail.
2140 \end_layout
2141
2142 \begin_layout Standard
2143 When the table toolbar is opened, you can move the cursor with the arrow
2144  keys from cell to cell and the property of the current cell will immediately
2145  be displayed in the dialog.
2146 \end_layout
2147
2148 \begin_layout Section
2149 Table Toolbar
2150 \begin_inset Index
2151 status collapsed
2152
2153 \begin_layout Plain Layout
2154 Table ! Toolbar
2155 \end_layout
2156
2157 \end_inset
2158
2159
2160 \end_layout
2161
2162 \begin_layout Standard
2163 The table toolbar is an alternative to the table dialog to be able to alter
2164  tables faster.
2165  It should normally appear at the bottom of LyX's main window when the cursor
2166  is inside a table.
2167  You can alternatively switch it on to appear always, by right-clicking
2168  in LyX's main menu bar.
2169 \end_layout
2170
2171 \begin_layout Standard
2172 The toolbar has the following icons:
2173 \end_layout
2174
2175 \begin_layout Labeling
2176 \labelwidthstring 00.00.0000
2177 \begin_inset Graphics
2178         filename ../images/tabular-feature_append-row.png
2179         scaleBeforeRotation
2180
2181 \end_inset
2182
2183  adds a row below the current cell or selection
2184 \end_layout
2185
2186 \begin_layout Labeling
2187 \labelwidthstring 00.00.0000
2188 \begin_inset Graphics
2189         filename ../images/tabular-feature_append-column.png
2190         scaleBeforeRotation
2191
2192 \end_inset
2193
2194  adds a column right beside the current cell or selection
2195 \end_layout
2196
2197 \begin_layout Labeling
2198 \labelwidthstring 00.00.0000
2199 \begin_inset Graphics
2200         filename ../images/tabular-feature_delete-row.png
2201         scaleBeforeRotation
2202
2203 \end_inset
2204
2205  deletes the current row or selection
2206 \end_layout
2207
2208 \begin_layout Labeling
2209 \labelwidthstring 00.00.0000
2210 \begin_inset Graphics
2211         filename ../images/tabular-feature_delete-column.png
2212         scaleBeforeRotation
2213
2214 \end_inset
2215
2216  deletes the current column or selection
2217 \end_layout
2218
2219 \begin_layout Labeling
2220 \labelwidthstring 00.00.0000
2221 \begin_inset Graphics
2222         filename ../images/tabular-feature_toggle-line-top.png
2223         scaleBeforeRotation
2224
2225 \end_inset
2226
2227  adds a line at the top of the current cell / row or of a selection
2228 \end_layout
2229
2230 \begin_layout Labeling
2231 \labelwidthstring 00.00.0000
2232 \begin_inset Graphics
2233         filename ../images/tabular-feature_toggle-line-bottom.png
2234         scaleBeforeRotation
2235
2236 \end_inset
2237
2238  adds a line at the bottom of the current cell / row or of a selection
2239 \end_layout
2240
2241 \begin_layout Labeling
2242 \labelwidthstring 00.00.0000
2243 \begin_inset Graphics
2244         filename ../images/tabular-feature_toggle-line-left.png
2245         scaleBeforeRotation
2246
2247 \end_inset
2248
2249  adds a line at the left side of the current cell / row or of a selection
2250 \end_layout
2251
2252 \begin_layout Labeling
2253 \labelwidthstring 00.00.0000
2254 \begin_inset Graphics
2255         filename ../images/tabular-feature_toggle-line-right.png
2256         scaleBeforeRotation
2257
2258 \end_inset
2259
2260  adds a line at the right side of the current cell / row or of a selection
2261 \end_layout
2262
2263 \begin_layout Labeling
2264 \labelwidthstring 00.00.0000
2265 \begin_inset Graphics
2266         filename ../images/tabular-feature_set-all-lines.png
2267         scaleBeforeRotation
2268
2269 \end_inset
2270
2271  adds lines around the current or selected cells - if the current cell no
2272  multicolumn this also affects the current row and column
2273 \end_layout
2274
2275 \begin_layout Labeling
2276 \labelwidthstring 00.00.0000
2277 \begin_inset Graphics
2278         filename ../images/tabular-feature_unset-all-lines.png
2279         scaleBeforeRotation
2280
2281 \end_inset
2282
2283  deletes all lines of the current or selected cells - if the current cell
2284  no multicolumn this also affects the current row and column
2285 \end_layout
2286
2287 \begin_layout Labeling
2288 \labelwidthstring 00.00.0000
2289 \begin_inset Graphics
2290         filename ../images/tabular-feature_align-left.png
2291         scaleBeforeRotation
2292
2293 \end_inset
2294
2295  left-aligns the content of the current cell / column
2296 \end_layout
2297
2298 \begin_layout Labeling
2299 \labelwidthstring 00.00.0000
2300 \begin_inset Graphics
2301         filename ../images/tabular-feature_align-center.png
2302         scaleBeforeRotation
2303
2304 \end_inset
2305
2306  centers the content of the current cell / column horizontally
2307 \end_layout
2308
2309 \begin_layout Labeling
2310 \labelwidthstring 00.00.0000
2311 \begin_inset Graphics
2312         filename ../images/tabular-feature_align-right.png
2313         scaleBeforeRotation
2314
2315 \end_inset
2316
2317  right-aligns the content of the current cell / column
2318 \end_layout
2319
2320 \begin_layout Labeling
2321 \labelwidthstring 00.00.0000
2322 \begin_inset Graphics
2323         filename ../images/tabular-feature_valign-top.png
2324         scaleBeforeRotation
2325
2326 \end_inset
2327
2328  aligns the content of the current cell vertically to the top
2329 \end_layout
2330
2331 \begin_layout Labeling
2332 \labelwidthstring 00.00.0000
2333 \begin_inset Graphics
2334         filename ../images/tabular-feature_valign-middle.png
2335         scaleBeforeRotation
2336
2337 \end_inset
2338
2339  centers the content of the current cell vertically
2340 \end_layout
2341
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2344 \begin_inset Graphics
2345         filename ../images/tabular-feature_valign-bottom.png
2346         scaleBeforeRotation
2347
2348 \end_inset
2349
2350  aligns the content of the current cell vertically to the bottom
2351 \end_layout
2352
2353 \begin_layout Labeling
2354 \labelwidthstring 00.00.0000
2355 \begin_inset Graphics
2356         filename ../images/tabular-feature_set-rotate-cell.png
2357         scaleBeforeRotation
2358
2359 \end_inset
2360
2361  rotates the current cell or selection counter-clockwise by 90°
2362 \end_layout
2363
2364 \begin_layout Labeling
2365 \labelwidthstring 00.00.0000
2366 \begin_inset Graphics
2367         filename ../images/tabular-feature_set-rotate-tabular.png
2368         scaleBeforeRotation
2369
2370 \end_inset
2371
2372  rotates the whole table counter-clockwise by 90°
2373 \end_layout
2374
2375 \begin_layout Labeling
2376 \labelwidthstring 00.00.0000
2377 \begin_inset Graphics
2378         filename ../images/tabular-feature_multicolumn.png
2379         scaleBeforeRotation
2380
2381 \end_inset
2382
2383  sets the current cell or selection as a multicolumn
2384 \end_layout
2385
2386 \begin_layout Standard
2387 \begin_inset Note Greyedout
2388 status open
2389
2390 \begin_layout Plain Layout
2391
2392 \series bold
2393 Note:
2394 \series default
2395  For the output the vertical alignment of the first cell in a row is used
2396  for all following cells in the row.
2397 \end_layout
2398
2399 \end_inset
2400
2401
2402 \end_layout
2403
2404 \begin_layout Section
2405 Edit Table Menu
2406 \begin_inset Index
2407 status collapsed
2408
2409 \begin_layout Plain Layout
2410 Table ! Edit Menu
2411 \end_layout
2412
2413 \end_inset
2414
2415
2416 \end_layout
2417
2418 \begin_layout Standard
2419 Additionally to the table dialog and toolbar, the menu 
2420 \family sans
2421 Edit\SpecialChar \menuseparator
2422 Table
2423 \family default
2424  allows you to add and delete border lines for the current row/column and
2425  to set the current selection as multicolumn.
2426  The menu is only available when the cursor is inside a table.
2427 \end_layout
2428
2429 \begin_layout Section
2430 Table Floats
2431 \begin_inset CommandInset label
2432 LatexCommand label
2433 name "sec:Table-Floats"
2434
2435 \end_inset
2436
2437
2438 \begin_inset Index
2439 status collapsed
2440
2441 \begin_layout Plain Layout
2442 Floats ! Tables
2443 \end_layout
2444
2445 \end_inset
2446
2447
2448 \begin_inset Index
2449 status collapsed
2450
2451 \begin_layout Plain Layout
2452 Table ! Floats
2453 \end_layout
2454
2455 \end_inset
2456
2457
2458 \end_layout
2459
2460 \begin_layout Standard
2461 For general explanations about floats, have a look at section
2462 \begin_inset Space ~
2463 \end_inset
2464
2465
2466 \begin_inset CommandInset ref
2467 LatexCommand ref
2468 reference "sec:FloatIntroduction"
2469
2470 \end_inset
2471
2472 .
2473 \end_layout
2474
2475 \begin_layout Standard
2476 \begin_inset Float table
2477 placement h
2478 wide false
2479 sideways false
2480 status open
2481
2482 \begin_layout Plain Layout
2483 \begin_inset Caption
2484
2485 \begin_layout Plain Layout
2486 \begin_inset CommandInset label
2487 LatexCommand label
2488 name "tab:a table float"
2489
2490 \end_inset
2491
2492 A table float.
2493 \end_layout
2494
2495 \end_inset
2496
2497
2498 \end_layout
2499
2500 \begin_layout Plain Layout
2501 \align center
2502 \begin_inset Tabular
2503 <lyxtabular version="3" rows="3" columns="3">
2504 <features>
2505 <column alignment="center" valignment="top" width="0pt">
2506 <column alignment="center" valignment="top" width="0pt">
2507 <column alignment="center" valignment="top" width="0pt">
2508 <row>
2509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2510 \begin_inset Text
2511
2512 \begin_layout Plain Layout
2513
2514 \family roman
2515 \series medium
2516 \shape up
2517 \size normal
2518 \emph off
2519 \bar no
2520 \noun off
2521 \color none
2522 1
2523 \end_layout
2524
2525 \end_inset
2526 </cell>
2527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2528 \begin_inset Text
2529
2530 \begin_layout Plain Layout
2531
2532 \family roman
2533 \series medium
2534 \shape up
2535 \size normal
2536 \emph off
2537 \bar no
2538 \noun off
2539 \color none
2540 2
2541 \end_layout
2542
2543 \end_inset
2544 </cell>
2545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2546 \begin_inset Text
2547
2548 \begin_layout Plain Layout
2549
2550 \family roman
2551 \series medium
2552 \shape up
2553 \size normal
2554 \emph off
2555 \bar no
2556 \noun off
2557 \color none
2558 3
2559 \end_layout
2560
2561 \end_inset
2562 </cell>
2563 </row>
2564 <row>
2565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2566 \begin_inset Text
2567
2568 \begin_layout Plain Layout
2569
2570 \family roman
2571 \series medium
2572 \shape up
2573 \size normal
2574 \emph off
2575 \bar no
2576 \noun off
2577 \color none
2578 Joe
2579 \end_layout
2580
2581 \end_inset
2582 </cell>
2583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2584 \begin_inset Text
2585
2586 \begin_layout Plain Layout
2587
2588 \family roman
2589 \series medium
2590 \shape up
2591 \size normal
2592 \emph off
2593 \bar no
2594 \noun off
2595 \color none
2596 Mary
2597 \end_layout
2598
2599 \end_inset
2600 </cell>
2601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2602 \begin_inset Text
2603
2604 \begin_layout Plain Layout
2605
2606 \family roman
2607 \series medium
2608 \shape up
2609 \size normal
2610 \emph off
2611 \bar no
2612 \noun off
2613 \color none
2614 Ted
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 </row>
2620 <row>
2621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2622 \begin_inset Text
2623
2624 \begin_layout Plain Layout
2625
2626 \family roman
2627 \series medium
2628 \shape up
2629 \size normal
2630 \emph off
2631 \bar no
2632 \noun off
2633 \color none
2634 \begin_inset Formula $\int x^{2}dx$
2635 \end_inset
2636
2637
2638 \end_layout
2639
2640 \end_inset
2641 </cell>
2642 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2643 \begin_inset Text
2644
2645 \begin_layout Plain Layout
2646
2647 \family roman
2648 \series medium
2649 \shape up
2650 \size normal
2651 \emph off
2652 \bar no
2653 \noun off
2654 \color none
2655 \begin_inset Formula $\left[\begin{array}{cc}
2656 a & b\\
2657 c & d\end{array}\right]$
2658 \end_inset
2659
2660
2661 \end_layout
2662
2663 \end_inset
2664 </cell>
2665 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2666 \begin_inset Text
2667
2668 \begin_layout Plain Layout
2669
2670 \family roman
2671 \series medium
2672 \shape up
2673 \size normal
2674 \emph off
2675 \bar no
2676 \noun off
2677 \color none
2678 \begin_inset Formula $1+1=2$
2679 \end_inset
2680
2681
2682 \end_layout
2683
2684 \end_inset
2685 </cell>
2686 </row>
2687 </lyxtabular>
2688
2689 \end_inset
2690
2691
2692 \end_layout
2693
2694 \end_inset
2695
2696
2697 \end_layout
2698
2699 \begin_layout Standard
2700 Table floats can be inserted using the menu 
2701 \family sans
2702 Insert\SpecialChar \menuseparator
2703 Float\SpecialChar \menuseparator
2704 Table
2705 \family default
2706  or the toolbar button 
2707 \begin_inset Graphics
2708         filename ../images/float-insert_table.png
2709         scale 85
2710         scaleBeforeRotation
2711
2712 \end_inset
2713
2714 .
2715 \end_layout
2716
2717 \begin_layout Standard
2718 The float appears as a collapsible box with a caption that has the label
2719  
2720 \begin_inset Quotes eld
2721 \end_inset
2722
2723 Table
2724 \begin_inset Space ~
2725 \end_inset
2726
2727 #:
2728 \begin_inset Quotes erd
2729 \end_inset
2730
2731  (# is the actual table number).
2732  You can insert tables to the float above or below the caption.
2733 \end_layout
2734
2735 \begin_layout Standard
2736 Table
2737 \begin_inset Space ~
2738 \end_inset
2739
2740
2741 \begin_inset CommandInset ref
2742 LatexCommand ref
2743 reference "tab:a table float"
2744
2745 \end_inset
2746
2747  is an example table within a table float.
2748 \end_layout
2749
2750 \begin_layout Standard
2751 Having the caption above the table is the common rule that is unfortunately
2752  not supported in LaTeX's standard classes.
2753  That means if you are using the document classes 
2754 \family sans
2755 article
2756 \family default
2757
2758 \family sans
2759 book
2760 \family default
2761
2762 \family sans
2763 letter
2764 \family default
2765 , or 
2766 \family sans
2767 report
2768 \family default
2769  there will be no space between the caption and the table.
2770  To insert the needed space, add the following option to the load command
2771  of the LaTeX-package 
2772 \series bold
2773 caption
2774 \series default
2775
2776 \begin_inset Index
2777 status collapsed
2778
2779 \begin_layout Plain Layout
2780 LaTeX-packages ! caption
2781 \end_layout
2782
2783 \end_inset
2784
2785  in your document preamble
2786 \begin_inset Foot
2787 status collapsed
2788
2789 \begin_layout Plain Layout
2790 For more information have a look at section
2791 \begin_inset Space ~
2792 \end_inset
2793
2794
2795 \begin_inset CommandInset ref
2796 LatexCommand ref
2797 reference "sec:Caption-Placement"
2798
2799 \end_inset
2800
2801 .
2802 \end_layout
2803
2804 \end_inset
2805
2806 :
2807 \end_layout
2808
2809 \begin_layout Standard
2810
2811 \series bold
2812 tableposition=top
2813 \end_layout
2814
2815 \begin_layout Standard
2816 The package 
2817 \series bold
2818 caption
2819 \series default
2820 , which is described in section
2821 \begin_inset Space ~
2822 \end_inset
2823
2824
2825 \begin_inset CommandInset ref
2826 LatexCommand ref
2827 reference "sec:Caption-Formatting"
2828
2829 \end_inset
2830
2831 , is used to adjust the caption format.
2832 \end_layout
2833
2834 \begin_layout Standard
2835 \begin_inset Index
2836 status collapsed
2837
2838 \begin_layout Plain Layout
2839 References ! to Tables
2840 \end_layout
2841
2842 \end_inset
2843
2844 Tables can be cross-referenced in the text by referencing their label.
2845  To do this insert a label in the caption using the menu 
2846 \family sans
2847 Insert\SpecialChar \menuseparator
2848 Label
2849 \family default
2850  or the toolbar button 
2851 \begin_inset Graphics
2852         filename ../images/label-insert.png
2853         scale 85
2854         scaleBeforeRotation
2855
2856 \end_inset
2857
2858 .
2859  You can now refer to the label using the menu 
2860 \family sans
2861 Insert\SpecialChar \menuseparator
2862 Cross
2863 \begin_inset Space ~
2864 \end_inset
2865
2866 reference
2867 \family default
2868  or the toolbar button 
2869 \begin_inset Graphics
2870         filename ../images/dialog-show-new-inset_ref.png
2871         scale 85
2872         scaleBeforeRotation
2873
2874 \end_inset
2875
2876 .
2877 \begin_inset Newline newline
2878 \end_inset
2879
2880 Referencing is explained in detail in section
2881 \begin_inset Space ~
2882 \end_inset
2883
2884
2885 \begin_inset CommandInset ref
2886 LatexCommand ref
2887 reference "sec:Referencing-Floats"
2888
2889 \end_inset
2890
2891 .
2892 \end_layout
2893
2894 \begin_layout Section
2895 Longtables
2896 \begin_inset CommandInset label
2897 LatexCommand label
2898 name "sec:Longtables"
2899
2900 \end_inset
2901
2902
2903 \begin_inset Index
2904 status collapsed
2905
2906 \begin_layout Plain Layout
2907 Longtables
2908 \end_layout
2909
2910 \end_inset
2911
2912
2913 \begin_inset Index
2914 status collapsed
2915
2916 \begin_layout Plain Layout
2917 Table ! Longtables
2918 \end_layout
2919
2920 \end_inset
2921
2922
2923 \end_layout
2924
2925 \begin_layout Standard
2926 If the table is too long to fit on one page, you can use the option 
2927 \family sans
2928 Use
2929 \begin_inset Space ~
2930 \end_inset
2931
2932 long
2933 \begin_inset Space ~
2934 \end_inset
2935
2936 table
2937 \family default
2938  in the tab 
2939 \family sans
2940 Longtable
2941 \family default
2942  of the table dialog to split the table automatically over more pages.
2943  Doing this enables some check boxes and you can now define:
2944 \end_layout
2945
2946 \begin_layout Description
2947
2948 \family sans
2949 Header
2950 \family default
2951 : The current row and all rows above, that don't have any special options
2952  defined, are defined to be the header rows of all pages of the longtable;
2953  except for the first page, if 
2954 \family sans
2955 First
2956 \begin_inset Space ~
2957 \end_inset
2958
2959 header
2960 \family default
2961  is defined.
2962  This therefore called the main header.
2963 \end_layout
2964
2965 \begin_layout Description
2966
2967 \family sans
2968 First
2969 \begin_inset Space ~
2970 \end_inset
2971
2972 header
2973 \family default
2974 : The current row and all rows above, that don't have any special options
2975  defined, are defined to be the header rows of the first page of the longtable.
2976 \end_layout
2977
2978 \begin_layout Description
2979
2980 \family sans
2981 Footer
2982 \family default
2983 : The current row and all rows below, that don't have any special options
2984  defined, are defined to be the footer rows of all pages of the longtable;
2985  except for the last page, if 
2986 \family sans
2987 Last
2988 \begin_inset Space ~
2989 \end_inset
2990
2991 footer
2992 \family default
2993  is defined.
2994 \end_layout
2995
2996 \begin_layout Description
2997
2998 \family sans
2999 Last
3000 \begin_inset Space ~
3001 \end_inset
3002
3003 footer
3004 \family default
3005 : The current row and all rows below, that don't have any special options
3006  defined, are defined to be the footer rows of the last page of the longtable.
3007 \end_layout
3008
3009 \begin_layout Standard
3010 You can also specify a row where the table is splitted.
3011  If you set more than one option in the same table row, you should be aware
3012  of the fact that only the first one is used in the given table row.
3013  The others will then be defined as 
3014 \emph on
3015 empty
3016 \emph default
3017 .
3018  In this context, first means first in this order: 
3019 \family sans
3020 Header,
3021 \family default
3022  
3023 \family sans
3024 First
3025 \begin_inset Space ~
3026 \end_inset
3027
3028 header, Footer, Last
3029 \begin_inset Space ~
3030 \end_inset
3031
3032 footer.
3033
3034 \family default
3035  See the following longtable to see how it works:
3036 \end_layout
3037
3038 \begin_layout Standard
3039 \align center
3040 \begin_inset Tabular
3041 <lyxtabular version="3" rows="69" columns="3">
3042 <features islongtable="true">
3043 <column alignment="left" valignment="top" width="0cm">
3044 <column alignment="left" valignment="top" width="0pt">
3045 <column alignment="center" valignment="top" width="0pt">
3046 <row endfirsthead="true">
3047 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3048 \begin_inset Text
3049
3050 \begin_layout Plain Layout
3051
3052 \series bold
3053 Example Phone List (ignore the names)
3054 \end_layout
3055
3056 \end_inset
3057 </cell>
3058 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3059 \begin_inset Text
3060
3061 \begin_layout Plain Layout
3062
3063 \end_layout
3064
3065 \end_inset
3066 </cell>
3067 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3068 \begin_inset Text
3069
3070 \begin_layout Plain Layout
3071
3072 \end_layout
3073
3074 \end_inset
3075 </cell>
3076 </row>
3077 <row endfirsthead="true">
3078 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3079 \begin_inset Text
3080
3081 \begin_layout Plain Layout
3082
3083 \series bold
3084 NAME
3085 \end_layout
3086
3087 \end_inset
3088 </cell>
3089 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3090 \begin_inset Text
3091
3092 \begin_layout Plain Layout
3093
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3099 \begin_inset Text
3100
3101 \begin_layout Plain Layout
3102
3103 \series bold
3104 TEL.
3105 \end_layout
3106
3107 \end_inset
3108 </cell>
3109 </row>
3110 <row endhead="true">
3111 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3112 \begin_inset Text
3113
3114 \begin_layout Plain Layout
3115
3116 \series bold
3117 Example Phone List
3118 \end_layout
3119
3120 \end_inset
3121 </cell>
3122 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3123 \begin_inset Text
3124
3125 \begin_layout Plain Layout
3126
3127 \end_layout
3128
3129 \end_inset
3130 </cell>
3131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3132 \begin_inset Text
3133
3134 \begin_layout Plain Layout
3135
3136 \end_layout
3137
3138 \end_inset
3139 </cell>
3140 </row>
3141 <row endhead="true">
3142 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3143 \begin_inset Text
3144
3145 \begin_layout Plain Layout
3146
3147 \series bold
3148 NAME
3149 \end_layout
3150
3151 \end_inset
3152 </cell>
3153 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3154 \begin_inset Text
3155
3156 \begin_layout Plain Layout
3157
3158 \end_layout
3159
3160 \end_inset
3161 </cell>
3162 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3163 \begin_inset Text
3164
3165 \begin_layout Plain Layout
3166
3167 \series bold
3168 TEL.
3169 \end_layout
3170
3171 \end_inset
3172 </cell>
3173 </row>
3174 <row endfoot="true">
3175 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
3176 \begin_inset Text
3177
3178 \begin_layout Plain Layout
3179  continued on next page
3180 \end_layout
3181
3182 \end_inset
3183 </cell>
3184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3185 \begin_inset Text
3186
3187 \begin_layout Plain Layout
3188
3189 \end_layout
3190
3191 \end_inset
3192 </cell>
3193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3194 \begin_inset Text
3195
3196 \begin_layout Plain Layout
3197
3198 \end_layout
3199
3200 \end_inset
3201 </cell>
3202 </row>
3203 <row>
3204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3205 \begin_inset Text
3206
3207 \begin_layout Plain Layout
3208
3209 \series bold
3210 Annovi
3211 \end_layout
3212
3213 \end_inset
3214 </cell>
3215 <cell alignment="center" valignment="top" usebox="none">
3216 \begin_inset Text
3217
3218 \begin_layout Plain Layout
3219 Silvia
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3225 \begin_inset Text
3226
3227 \begin_layout Plain Layout
3228 111
3229 \end_layout
3230
3231 \end_inset
3232 </cell>
3233 </row>
3234 <row>
3235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3236 \begin_inset Text
3237
3238 \begin_layout Plain Layout
3239
3240 \series bold
3241 Bertoli
3242 \end_layout
3243
3244 \end_inset
3245 </cell>
3246 <cell alignment="center" valignment="top" usebox="none">
3247 \begin_inset Text
3248
3249 \begin_layout Plain Layout
3250 Stefano
3251 \end_layout
3252
3253 \end_inset
3254 </cell>
3255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3256 \begin_inset Text
3257
3258 \begin_layout Plain Layout
3259 111
3260 \end_layout
3261
3262 \end_inset
3263 </cell>
3264 </row>
3265 <row>
3266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3267 \begin_inset Text
3268
3269 \begin_layout Plain Layout
3270
3271 \series bold
3272 Bozzi
3273 \end_layout
3274
3275 \end_inset
3276 </cell>
3277 <cell alignment="center" valignment="top" usebox="none">
3278 \begin_inset Text
3279
3280 \begin_layout Plain Layout
3281 Walter
3282 \end_layout
3283
3284 \end_inset
3285 </cell>
3286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3287 \begin_inset Text
3288
3289 \begin_layout Plain Layout
3290 111
3291 \end_layout
3292
3293 \end_inset
3294 </cell>
3295 </row>
3296 <row>
3297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3298 \begin_inset Text
3299
3300 \begin_layout Plain Layout
3301
3302 \series bold
3303 Cachia
3304 \end_layout
3305
3306 \end_inset
3307 </cell>
3308 <cell alignment="center" valignment="top" usebox="none">
3309 \begin_inset Text
3310
3311 \begin_layout Plain Layout
3312 Maria
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Plain Layout
3321 111
3322 \end_layout
3323
3324 \end_inset
3325 </cell>
3326 </row>
3327 <row>
3328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3329 \begin_inset Text
3330
3331 \begin_layout Plain Layout
3332
3333 \series bold
3334 Cachia
3335 \end_layout
3336
3337 \end_inset
3338 </cell>
3339 <cell alignment="center" valignment="top" usebox="none">
3340 \begin_inset Text
3341
3342 \begin_layout Plain Layout
3343 Maurizio
3344 \end_layout
3345
3346 \end_inset
3347 </cell>
3348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3349 \begin_inset Text
3350
3351 \begin_layout Plain Layout
3352 111
3353 \end_layout
3354
3355 \end_inset
3356 </cell>
3357 </row>
3358 <row>
3359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3360 \begin_inset Text
3361
3362 \begin_layout Plain Layout
3363
3364 \series bold
3365 Cinquemani
3366 \end_layout
3367
3368 \end_inset
3369 </cell>
3370 <cell alignment="center" valignment="top" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Plain Layout
3374 Giusi
3375 \end_layout
3376
3377 \end_inset
3378 </cell>
3379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3380 \begin_inset Text
3381
3382 \begin_layout Plain Layout
3383 111
3384 \end_layout
3385
3386 \end_inset
3387 </cell>
3388 </row>
3389 <row>
3390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \begin_layout Plain Layout
3394
3395 \series bold
3396 Colin
3397 \end_layout
3398
3399 \end_inset
3400 </cell>
3401 <cell alignment="center" valignment="top" usebox="none">
3402 \begin_inset Text
3403
3404 \begin_layout Plain Layout
3405 Bernard
3406 \end_layout
3407
3408 \end_inset
3409 </cell>
3410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3411 \begin_inset Text
3412
3413 \begin_layout Plain Layout
3414 111
3415 \end_layout
3416
3417 \end_inset
3418 </cell>
3419 </row>
3420 <row>
3421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3422 \begin_inset Text
3423
3424 \begin_layout Plain Layout
3425
3426 \series bold
3427 Concli
3428 \end_layout
3429
3430 \end_inset
3431 </cell>
3432 <cell alignment="center" valignment="top" usebox="none">
3433 \begin_inset Text
3434
3435 \begin_layout Plain Layout
3436 Gianfranco
3437 \end_layout
3438
3439 \end_inset
3440 </cell>
3441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3442 \begin_inset Text
3443
3444 \begin_layout Plain Layout
3445 111
3446 \end_layout
3447
3448 \end_inset
3449 </cell>
3450 </row>
3451 <row>
3452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3453 \begin_inset Text
3454
3455 \begin_layout Plain Layout
3456
3457 \series bold
3458 Dal Bosco
3459 \end_layout
3460
3461 \end_inset
3462 </cell>
3463 <cell alignment="center" valignment="top" usebox="none">
3464 \begin_inset Text
3465
3466 \begin_layout Plain Layout
3467 Carolina
3468 \end_layout
3469
3470 \end_inset
3471 </cell>
3472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3473 \begin_inset Text
3474
3475 \begin_layout Plain Layout
3476 111
3477 \end_layout
3478
3479 \end_inset
3480 </cell>
3481 </row>
3482 <row>
3483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3484 \begin_inset Text
3485
3486 \begin_layout Plain Layout
3487
3488 \series bold
3489 Dalpiaz
3490 \end_layout
3491
3492 \end_inset
3493 </cell>
3494 <cell alignment="center" valignment="top" usebox="none">
3495 \begin_inset Text
3496
3497 \begin_layout Plain Layout
3498 Annamaria
3499 \end_layout
3500
3501 \end_inset
3502 </cell>
3503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Plain Layout
3507 111
3508 \end_layout
3509
3510 \end_inset
3511 </cell>
3512 </row>
3513 <row>
3514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3515 \begin_inset Text
3516
3517 \begin_layout Plain Layout
3518
3519 \series bold
3520 Feliciello
3521 \end_layout
3522
3523 \end_inset
3524 </cell>
3525 <cell alignment="center" valignment="top" usebox="none">
3526 \begin_inset Text
3527
3528 \begin_layout Plain Layout
3529 Domenico
3530 \end_layout
3531
3532 \end_inset
3533 </cell>
3534 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3535 \begin_inset Text
3536
3537 \begin_layout Plain Layout
3538 111
3539 \end_layout
3540
3541 \end_inset
3542 </cell>
3543 </row>
3544 <row>
3545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3546 \begin_inset Text
3547
3548 \begin_layout Plain Layout
3549
3550 \series bold
3551 Focarelli
3552 \end_layout
3553
3554 \end_inset
3555 </cell>
3556 <cell alignment="center" valignment="top" usebox="none">
3557 \begin_inset Text
3558
3559 \begin_layout Plain Layout
3560 Paola
3561 \end_layout
3562
3563 \end_inset
3564 </cell>
3565 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3566 \begin_inset Text
3567
3568 \begin_layout Plain Layout
3569 111
3570 \end_layout
3571
3572 \end_inset
3573 </cell>
3574 </row>
3575 <row>
3576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3577 \begin_inset Text
3578
3579 \begin_layout Plain Layout
3580
3581 \series bold
3582 Galletti
3583 \end_layout
3584
3585 \end_inset
3586 </cell>
3587 <cell alignment="center" valignment="top" usebox="none">
3588 \begin_inset Text
3589
3590 \begin_layout Plain Layout
3591 Oreste
3592 \end_layout
3593
3594 \end_inset
3595 </cell>
3596 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Plain Layout
3600 111
3601 \end_layout
3602
3603 \end_inset
3604 </cell>
3605 </row>
3606 <row>
3607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3608 \begin_inset Text
3609
3610 \begin_layout Plain Layout
3611
3612 \series bold
3613 Gasparini
3614 \end_layout
3615
3616 \end_inset
3617 </cell>
3618 <cell alignment="center" valignment="top" usebox="none">
3619 \begin_inset Text
3620
3621 \begin_layout Plain Layout
3622 Franca
3623 \end_layout
3624
3625 \end_inset
3626 </cell>
3627 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Plain Layout
3631 111
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 </row>
3637 <row>
3638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3639 \begin_inset Text
3640
3641 \begin_layout Plain Layout
3642
3643 \series bold
3644 Rizzardi
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 <cell alignment="center" valignment="top" usebox="none">
3650 \begin_inset Text
3651
3652 \begin_layout Plain Layout
3653 Paola
3654 \end_layout
3655
3656 \end_inset
3657 </cell>
3658 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Plain Layout
3662 111
3663 \end_layout
3664
3665 \end_inset
3666 </cell>
3667 </row>
3668 <row>
3669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3670 \begin_inset Text
3671
3672 \begin_layout Plain Layout
3673
3674 \series bold
3675 Lassini
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 <cell alignment="center" valignment="top" usebox="none">
3681 \begin_inset Text
3682
3683 \begin_layout Plain Layout
3684 Giancarlo
3685 \end_layout
3686
3687 \end_inset
3688 </cell>
3689 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Plain Layout
3693 111
3694 \end_layout
3695
3696 \end_inset
3697 </cell>
3698 </row>
3699 <row>
3700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3701 \begin_inset Text
3702
3703 \begin_layout Plain Layout
3704
3705 \series bold
3706 Malfatti
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 <cell alignment="center" valignment="top" usebox="none">
3712 \begin_inset Text
3713
3714 \begin_layout Plain Layout
3715 Luciano
3716 \end_layout
3717
3718 \end_inset
3719 </cell>
3720 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3721 \begin_inset Text
3722
3723 \begin_layout Plain Layout
3724 111
3725 \end_layout
3726
3727 \end_inset
3728 </cell>
3729 </row>
3730 <row>
3731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3732 \begin_inset Text
3733
3734 \begin_layout Plain Layout
3735
3736 \series bold
3737 Malfatti
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 <cell alignment="center" valignment="top" usebox="none">
3743 \begin_inset Text
3744
3745 \begin_layout Plain Layout
3746 Valeriano
3747 \end_layout
3748
3749 \end_inset
3750 </cell>
3751 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Plain Layout
3755 111
3756 \end_layout
3757
3758 \end_inset
3759 </cell>
3760 </row>
3761 <row>
3762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3763 \begin_inset Text
3764
3765 \begin_layout Plain Layout
3766
3767 \series bold
3768 Meneguzzo
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 <cell alignment="center" valignment="top" usebox="none">
3774 \begin_inset Text
3775
3776 \begin_layout Plain Layout
3777 Roberto
3778 \end_layout
3779
3780 \end_inset
3781 </cell>
3782 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Plain Layout
3786 111
3787 \end_layout
3788
3789 \end_inset
3790 </cell>
3791 </row>
3792 <row>
3793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3794 \begin_inset Text
3795
3796 \begin_layout Plain Layout
3797
3798 \series bold
3799 Mezzadra
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 <cell alignment="center" valignment="top" usebox="none">
3805 \begin_inset Text
3806
3807 \begin_layout Plain Layout
3808 Roberto
3809 \end_layout
3810
3811 \end_inset
3812 </cell>
3813 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Plain Layout
3817 111
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 </row>
3823 <row>
3824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3825 \begin_inset Text
3826
3827 \begin_layout Plain Layout
3828
3829 \series bold
3830 Pirpamer
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 <cell alignment="center" valignment="top" usebox="none">
3836 \begin_inset Text
3837
3838 \begin_layout Plain Layout
3839 Erich
3840 \end_layout
3841
3842 \end_inset
3843 </cell>
3844 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Plain Layout
3848 111
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 </row>
3854 <row>
3855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3856 \begin_inset Text
3857
3858 \begin_layout Plain Layout
3859
3860 \series bold
3861 Pochiesa
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 <cell alignment="center" valignment="top" usebox="none">
3867 \begin_inset Text
3868
3869 \begin_layout Plain Layout
3870 Paolo
3871 \end_layout
3872
3873 \end_inset
3874 </cell>
3875 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Plain Layout
3879 111, 222
3880 \end_layout
3881
3882 \end_inset
3883 </cell>
3884 </row>
3885 <row>
3886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3887 \begin_inset Text
3888
3889 \begin_layout Plain Layout
3890
3891 \series bold
3892 Radina
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 <cell alignment="center" valignment="top" usebox="none">
3898 \begin_inset Text
3899
3900 \begin_layout Plain Layout
3901 Claudio
3902 \end_layout
3903
3904 \end_inset
3905 </cell>
3906 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Plain Layout
3910 111
3911 \end_layout
3912
3913 \end_inset
3914 </cell>
3915 </row>
3916 <row>
3917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3918 \begin_inset Text
3919
3920 \begin_layout Plain Layout
3921
3922 \series bold
3923 Stuffer
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 <cell alignment="center" valignment="top" usebox="none">
3929 \begin_inset Text
3930
3931 \begin_layout Plain Layout
3932 Oskar
3933 \end_layout
3934
3935 \end_inset
3936 </cell>
3937 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Plain Layout
3941 111
3942 \end_layout
3943
3944 \end_inset
3945 </cell>
3946 </row>
3947 <row>
3948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3949 \begin_inset Text
3950
3951 \begin_layout Plain Layout
3952
3953 \series bold
3954 Tacchelli
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 <cell alignment="center" valignment="top" usebox="none">
3960 \begin_inset Text
3961
3962 \begin_layout Plain Layout
3963 Ugo
3964 \end_layout
3965
3966 \end_inset
3967 </cell>
3968 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Plain Layout
3972 111
3973 \end_layout
3974
3975 \end_inset
3976 </cell>
3977 </row>
3978 <row>
3979 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3980 \begin_inset Text
3981
3982 \begin_layout Plain Layout
3983
3984 \series bold
3985 Tezzele
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 <cell alignment="center" valignment="top" usebox="none">
3991 \begin_inset Text
3992
3993 \begin_layout Plain Layout
3994 Margit
3995 \end_layout
3996
3997 \end_inset
3998 </cell>
3999 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Plain Layout
4003 111
4004 \end_layout
4005
4006 \end_inset
4007 </cell>
4008 </row>
4009 <row>
4010 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4011 \begin_inset Text
4012
4013 \begin_layout Plain Layout
4014
4015 \series bold
4016 Unterkalmsteiner
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 <cell alignment="center" valignment="top" usebox="none">
4022 \begin_inset Text
4023
4024 \begin_layout Plain Layout
4025 Frieda
4026 \end_layout
4027
4028 \end_inset
4029 </cell>
4030 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Plain Layout
4034 111
4035 \end_layout
4036
4037 \end_inset
4038 </cell>
4039 </row>
4040 <row>
4041 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4042 \begin_inset Text
4043
4044 \begin_layout Plain Layout
4045
4046 \series bold
4047 Vieider
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 <cell alignment="center" valignment="top" usebox="none">
4053 \begin_inset Text
4054
4055 \begin_layout Plain Layout
4056 Hilde
4057 \end_layout
4058
4059 \end_inset
4060 </cell>
4061 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Plain Layout
4065 111
4066 \end_layout
4067
4068 \end_inset
4069 </cell>
4070 </row>
4071 <row>
4072 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4073 \begin_inset Text
4074
4075 \begin_layout Plain Layout
4076
4077 \series bold
4078 Vigna
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 <cell alignment="center" valignment="top" usebox="none">
4084 \begin_inset Text
4085
4086 \begin_layout Plain Layout
4087 Jürgen
4088 \end_layout
4089
4090 \end_inset
4091 </cell>
4092 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Plain Layout
4096 111
4097 \end_layout
4098
4099 \end_inset
4100 </cell>
4101 </row>
4102 <row>
4103 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4104 \begin_inset Text
4105
4106 \begin_layout Plain Layout
4107
4108 \series bold
4109 Weber
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 <cell alignment="center" valignment="top" usebox="none">
4115 \begin_inset Text
4116
4117 \begin_layout Plain Layout
4118 Maurizio
4119 \end_layout
4120
4121 \end_inset
4122 </cell>
4123 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Plain Layout
4127 111
4128 \end_layout
4129
4130 \end_inset
4131 </cell>
4132 </row>
4133 <row>
4134 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4135 \begin_inset Text
4136
4137 \begin_layout Plain Layout
4138
4139 \series bold
4140 Winkler
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4146 \begin_inset Text
4147
4148 \begin_layout Plain Layout
4149 Franz
4150 \end_layout
4151
4152 \end_inset
4153 </cell>
4154 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Plain Layout
4158 111
4159 \end_layout
4160
4161 \end_inset
4162 </cell>
4163 </row>
4164 <row>
4165 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4166 \begin_inset Text
4167
4168 \begin_layout Plain Layout
4169  
4170 \end_layout
4171
4172 \end_inset
4173 </cell>
4174 <cell multicolumn="2" alignment="center" valignment="top" topline="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" leftline="true" rightline="true" usebox="none">
4184 \begin_inset Text
4185
4186 \begin_layout Plain Layout
4187
4188 \end_layout
4189
4190 \end_inset
4191 </cell>
4192 </row>
4193 <row>
4194 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4195 \begin_inset Text
4196
4197 \begin_layout Plain Layout
4198
4199 \series bold
4200 Annovi
4201 \end_layout
4202
4203 \end_inset
4204 </cell>
4205 <cell alignment="center" valignment="top" usebox="none">
4206 \begin_inset Text
4207
4208 \begin_layout Plain Layout
4209 Silvia
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4215 \begin_inset Text
4216
4217 \begin_layout Plain Layout
4218 555
4219 \end_layout
4220
4221 \end_inset
4222 </cell>
4223 </row>
4224 <row>
4225 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4226 \begin_inset Text
4227
4228 \begin_layout Plain Layout
4229
4230 \series bold
4231 Bertoli
4232 \end_layout
4233
4234 \end_inset
4235 </cell>
4236 <cell alignment="center" valignment="top" usebox="none">
4237 \begin_inset Text
4238
4239 \begin_layout Plain Layout
4240 Stefano
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4246 \begin_inset Text
4247
4248 \begin_layout Plain Layout
4249 555
4250 \end_layout
4251
4252 \end_inset
4253 </cell>
4254 </row>
4255 <row>
4256 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4257 \begin_inset Text
4258
4259 \begin_layout Plain Layout
4260
4261 \series bold
4262 Bozzi
4263 \end_layout
4264
4265 \end_inset
4266 </cell>
4267 <cell alignment="center" valignment="top" usebox="none">
4268 \begin_inset Text
4269
4270 \begin_layout Plain Layout
4271 Walter
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4277 \begin_inset Text
4278
4279 \begin_layout Plain Layout
4280 555
4281 \end_layout
4282
4283 \end_inset
4284 </cell>
4285 </row>
4286 <row>
4287 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4288 \begin_inset Text
4289
4290 \begin_layout Plain Layout
4291
4292 \series bold
4293 Cachia
4294 \end_layout
4295
4296 \end_inset
4297 </cell>
4298 <cell alignment="center" valignment="top" usebox="none">
4299 \begin_inset Text
4300
4301 \begin_layout Plain Layout
4302 Maria
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4308 \begin_inset Text
4309
4310 \begin_layout Plain Layout
4311 555
4312 \end_layout
4313
4314 \end_inset
4315 </cell>
4316 </row>
4317 <row>
4318 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4319 \begin_inset Text
4320
4321 \begin_layout Plain Layout
4322
4323 \series bold
4324 Cachia
4325 \end_layout
4326
4327 \end_inset
4328 </cell>
4329 <cell alignment="center" valignment="top" usebox="none">
4330 \begin_inset Text
4331
4332 \begin_layout Plain Layout
4333 Maurizio
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4339 \begin_inset Text
4340
4341 \begin_layout Plain Layout
4342 555
4343 \end_layout
4344
4345 \end_inset
4346 </cell>
4347 </row>
4348 <row>
4349 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4350 \begin_inset Text
4351
4352 \begin_layout Plain Layout
4353
4354 \series bold
4355 Cinquemani
4356 \end_layout
4357
4358 \end_inset
4359 </cell>
4360 <cell alignment="center" valignment="top" usebox="none">
4361 \begin_inset Text
4362
4363 \begin_layout Plain Layout
4364 Giusi
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4370 \begin_inset Text
4371
4372 \begin_layout Plain Layout
4373 555
4374 \end_layout
4375
4376 \end_inset
4377 </cell>
4378 </row>
4379 <row>
4380 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4381 \begin_inset Text
4382
4383 \begin_layout Plain Layout
4384
4385 \series bold
4386 Colin
4387 \end_layout
4388
4389 \end_inset
4390 </cell>
4391 <cell alignment="center" valignment="top" usebox="none">
4392 \begin_inset Text
4393
4394 \begin_layout Plain Layout
4395 Bernard
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4401 \begin_inset Text
4402
4403 \begin_layout Plain Layout
4404 555
4405 \end_layout
4406
4407 \end_inset
4408 </cell>
4409 </row>
4410 <row>
4411 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4412 \begin_inset Text
4413
4414 \begin_layout Plain Layout
4415
4416 \series bold
4417 Concli
4418 \end_layout
4419
4420 \end_inset
4421 </cell>
4422 <cell alignment="center" valignment="top" usebox="none">
4423 \begin_inset Text
4424
4425 \begin_layout Plain Layout
4426 Gianfranco
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4432 \begin_inset Text
4433
4434 \begin_layout Plain Layout
4435 555
4436 \end_layout
4437
4438 \end_inset
4439 </cell>
4440 </row>
4441 <row>
4442 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4443 \begin_inset Text
4444
4445 \begin_layout Plain Layout
4446
4447 \series bold
4448 Dal Bosco
4449 \end_layout
4450
4451 \end_inset
4452 </cell>
4453 <cell alignment="center" valignment="top" usebox="none">
4454 \begin_inset Text
4455
4456 \begin_layout Plain Layout
4457 Carolina
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4463 \begin_inset Text
4464
4465 \begin_layout Plain Layout
4466 555
4467 \end_layout
4468
4469 \end_inset
4470 </cell>
4471 </row>
4472 <row>
4473 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4474 \begin_inset Text
4475
4476 \begin_layout Plain Layout
4477
4478 \series bold
4479 Dalpiaz
4480 \end_layout
4481
4482 \end_inset
4483 </cell>
4484 <cell alignment="center" valignment="top" usebox="none">
4485 \begin_inset Text
4486
4487 \begin_layout Plain Layout
4488 Annamaria
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4494 \begin_inset Text
4495
4496 \begin_layout Plain Layout
4497 555
4498 \end_layout
4499
4500 \end_inset
4501 </cell>
4502 </row>
4503 <row>
4504 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4505 \begin_inset Text
4506
4507 \begin_layout Plain Layout
4508
4509 \series bold
4510 Feliciello
4511 \end_layout
4512
4513 \end_inset
4514 </cell>
4515 <cell alignment="center" valignment="top" usebox="none">
4516 \begin_inset Text
4517
4518 \begin_layout Plain Layout
4519 Domenico
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4525 \begin_inset Text
4526
4527 \begin_layout Plain Layout
4528 555
4529 \end_layout
4530
4531 \end_inset
4532 </cell>
4533 </row>
4534 <row>
4535 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4536 \begin_inset Text
4537
4538 \begin_layout Plain Layout
4539
4540 \series bold
4541 Focarelli
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 <cell alignment="center" valignment="top" usebox="none">
4547 \begin_inset Text
4548
4549 \begin_layout Plain Layout
4550 Paola
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4556 \begin_inset Text
4557
4558 \begin_layout Plain Layout
4559 555
4560 \end_layout
4561
4562 \end_inset
4563 </cell>
4564 </row>
4565 <row>
4566 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4567 \begin_inset Text
4568
4569 \begin_layout Plain Layout
4570
4571 \series bold
4572 Galletti
4573 \end_layout
4574
4575 \end_inset
4576 </cell>
4577 <cell alignment="center" valignment="top" usebox="none">
4578 \begin_inset Text
4579
4580 \begin_layout Plain Layout
4581 Oreste
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4587 \begin_inset Text
4588
4589 \begin_layout Plain Layout
4590 555
4591 \end_layout
4592
4593 \end_inset
4594 </cell>
4595 </row>
4596 <row>
4597 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4598 \begin_inset Text
4599
4600 \begin_layout Plain Layout
4601
4602 \series bold
4603 Gasparini
4604 \end_layout
4605
4606 \end_inset
4607 </cell>
4608 <cell alignment="center" valignment="top" usebox="none">
4609 \begin_inset Text
4610
4611 \begin_layout Plain Layout
4612 Franca
4613 \end_layout
4614
4615 \end_inset
4616 </cell>
4617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4618 \begin_inset Text
4619
4620 \begin_layout Plain Layout
4621 555
4622 \end_layout
4623
4624 \end_inset
4625 </cell>
4626 </row>
4627 <row>
4628 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4629 \begin_inset Text
4630
4631 \begin_layout Plain Layout
4632
4633 \series bold
4634 Rizzardi
4635 \end_layout
4636
4637 \end_inset
4638 </cell>
4639 <cell alignment="center" valignment="top" usebox="none">
4640 \begin_inset Text
4641
4642 \begin_layout Plain Layout
4643 Paola
4644 \end_layout
4645
4646 \end_inset
4647 </cell>
4648 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4649 \begin_inset Text
4650
4651 \begin_layout Plain Layout
4652 555
4653 \end_layout
4654
4655 \end_inset
4656 </cell>
4657 </row>
4658 <row>
4659 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4660 \begin_inset Text
4661
4662 \begin_layout Plain Layout
4663
4664 \series bold
4665 Lassini
4666 \end_layout
4667
4668 \end_inset
4669 </cell>
4670 <cell alignment="center" valignment="top" usebox="none">
4671 \begin_inset Text
4672
4673 \begin_layout Plain Layout
4674 Giancarlo
4675 \end_layout
4676
4677 \end_inset
4678 </cell>
4679 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4680 \begin_inset Text
4681
4682 \begin_layout Plain Layout
4683 555
4684 \end_layout
4685
4686 \end_inset
4687 </cell>
4688 </row>
4689 <row>
4690 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4691 \begin_inset Text
4692
4693 \begin_layout Plain Layout
4694
4695 \series bold
4696 Malfatti
4697 \end_layout
4698
4699 \end_inset
4700 </cell>
4701 <cell alignment="center" valignment="top" usebox="none">
4702 \begin_inset Text
4703
4704 \begin_layout Plain Layout
4705 Luciano
4706 \end_layout
4707
4708 \end_inset
4709 </cell>
4710 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4711 \begin_inset Text
4712
4713 \begin_layout Plain Layout
4714 555
4715 \end_layout
4716
4717 \end_inset
4718 </cell>
4719 </row>
4720 <row>
4721 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4722 \begin_inset Text
4723
4724 \begin_layout Plain Layout
4725
4726 \series bold
4727 Malfatti
4728 \end_layout
4729
4730 \end_inset
4731 </cell>
4732 <cell alignment="center" valignment="top" usebox="none">
4733 \begin_inset Text
4734
4735 \begin_layout Plain Layout
4736 Valeriano
4737 \end_layout
4738
4739 \end_inset
4740 </cell>
4741 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4742 \begin_inset Text
4743
4744 \begin_layout Plain Layout
4745 555
4746 \end_layout
4747
4748 \end_inset
4749 </cell>
4750 </row>
4751 <row>
4752 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4753 \begin_inset Text
4754
4755 \begin_layout Plain Layout
4756
4757 \series bold
4758 Meneguzzo
4759 \end_layout
4760
4761 \end_inset
4762 </cell>
4763 <cell alignment="center" valignment="top" usebox="none">
4764 \begin_inset Text
4765
4766 \begin_layout Plain Layout
4767 Roberto
4768 \end_layout
4769
4770 \end_inset
4771 </cell>
4772 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4773 \begin_inset Text
4774
4775 \begin_layout Plain Layout
4776 555
4777 \end_layout
4778
4779 \end_inset
4780 </cell>
4781 </row>
4782 <row>
4783 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4784 \begin_inset Text
4785
4786 \begin_layout Plain Layout
4787
4788 \series bold
4789 Mezzadra
4790 \end_layout
4791
4792 \end_inset
4793 </cell>
4794 <cell alignment="center" valignment="top" usebox="none">
4795 \begin_inset Text
4796
4797 \begin_layout Plain Layout
4798 Roberto
4799 \end_layout
4800
4801 \end_inset
4802 </cell>
4803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Plain Layout
4807 555
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 </row>
4813 <row>
4814 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4815 \begin_inset Text
4816
4817 \begin_layout Plain Layout
4818
4819 \series bold
4820 Pirpamer
4821 \end_layout
4822
4823 \end_inset
4824 </cell>
4825 <cell alignment="center" valignment="top" usebox="none">
4826 \begin_inset Text
4827
4828 \begin_layout Plain Layout
4829 Erich
4830 \end_layout
4831
4832 \end_inset
4833 </cell>
4834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4835 \begin_inset Text
4836
4837 \begin_layout Plain Layout
4838 555
4839 \end_layout
4840
4841 \end_inset
4842 </cell>
4843 </row>
4844 <row>
4845 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Plain Layout
4849
4850 \series bold
4851 Pochiesa
4852 \end_layout
4853
4854 \end_inset
4855 </cell>
4856 <cell alignment="center" valignment="top" usebox="none">
4857 \begin_inset Text
4858
4859 \begin_layout Plain Layout
4860 Paolo
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Plain Layout
4869 555, 222
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 </row>
4875 <row>
4876 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4877 \begin_inset Text
4878
4879 \begin_layout Plain Layout
4880
4881 \series bold
4882 Radina
4883 \end_layout
4884
4885 \end_inset
4886 </cell>
4887 <cell alignment="center" valignment="top" usebox="none">
4888 \begin_inset Text
4889
4890 \begin_layout Plain Layout
4891 Claudio
4892 \end_layout
4893
4894 \end_inset
4895 </cell>
4896 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4897 \begin_inset Text
4898
4899 \begin_layout Plain Layout
4900 555
4901 \end_layout
4902
4903 \end_inset
4904 </cell>
4905 </row>
4906 <row>
4907 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4908 \begin_inset Text
4909
4910 \begin_layout Plain Layout
4911
4912 \series bold
4913 Stuffer
4914 \end_layout
4915
4916 \end_inset
4917 </cell>
4918 <cell alignment="center" valignment="top" usebox="none">
4919 \begin_inset Text
4920
4921 \begin_layout Plain Layout
4922 Oskar
4923 \end_layout
4924
4925 \end_inset
4926 </cell>
4927 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Plain Layout
4931 555
4932 \end_layout
4933
4934 \end_inset
4935 </cell>
4936 </row>
4937 <row>
4938 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4939 \begin_inset Text
4940
4941 \begin_layout Plain Layout
4942
4943 \series bold
4944 Tacchelli
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Plain Layout
4953 Ugo
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Plain Layout
4962 555
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 </row>
4968 <row>
4969 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4970 \begin_inset Text
4971
4972 \begin_layout Plain Layout
4973
4974 \series bold
4975 Tezzele
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 <cell alignment="center" valignment="top" usebox="none">
4981 \begin_inset Text
4982
4983 \begin_layout Plain Layout
4984 Margit
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4990 \begin_inset Text
4991
4992 \begin_layout Plain Layout
4993 555
4994 \end_layout
4995
4996 \end_inset
4997 </cell>
4998 </row>
4999 <row>
5000 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Plain Layout
5004
5005 \series bold
5006 Unterkalmsteiner
5007 \end_layout
5008
5009 \end_inset
5010 </cell>
5011 <cell alignment="center" valignment="top" usebox="none">
5012 \begin_inset Text
5013
5014 \begin_layout Plain Layout
5015 Frieda
5016 \end_layout
5017
5018 \end_inset
5019 </cell>
5020 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5021 \begin_inset Text
5022
5023 \begin_layout Plain Layout
5024 555
5025 \end_layout
5026
5027 \end_inset
5028 </cell>
5029 </row>
5030 <row>
5031 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5032 \begin_inset Text
5033
5034 \begin_layout Plain Layout
5035
5036 \series bold
5037 Vieider
5038 \end_layout
5039
5040 \end_inset
5041 </cell>
5042 <cell alignment="center" valignment="top" usebox="none">
5043 \begin_inset Text
5044
5045 \begin_layout Plain Layout
5046 Hilde
5047 \end_layout
5048
5049 \end_inset
5050 </cell>
5051 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5052 \begin_inset Text
5053
5054 \begin_layout Plain Layout
5055 555
5056 \end_layout
5057
5058 \end_inset
5059 </cell>
5060 </row>
5061 <row>
5062 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5063 \begin_inset Text
5064
5065 \begin_layout Plain Layout
5066
5067 \series bold
5068 Vigna
5069 \end_layout
5070
5071 \end_inset
5072 </cell>
5073 <cell alignment="center" valignment="top" usebox="none">
5074 \begin_inset Text
5075
5076 \begin_layout Plain Layout
5077 Jürgen
5078 \end_layout
5079
5080 \end_inset
5081 </cell>
5082 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5083 \begin_inset Text
5084
5085 \begin_layout Plain Layout
5086 999
5087 \end_layout
5088
5089 \end_inset
5090 </cell>
5091 </row>
5092 <row>
5093 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5094 \begin_inset Text
5095
5096 \begin_layout Plain Layout
5097
5098 \series bold
5099 Weber
5100 \end_layout
5101
5102 \end_inset
5103 </cell>
5104 <cell alignment="center" valignment="top" usebox="none">
5105 \begin_inset Text
5106
5107 \begin_layout Plain Layout
5108 Maurizio
5109 \end_layout
5110
5111 \end_inset
5112 </cell>
5113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5114 \begin_inset Text
5115
5116 \begin_layout Plain Layout
5117 555
5118 \end_layout
5119
5120 \end_inset
5121 </cell>
5122 </row>
5123 <row>
5124 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5125 \begin_inset Text
5126
5127 \begin_layout Plain Layout
5128
5129 \series bold
5130 Winkler
5131 \end_layout
5132
5133 \end_inset
5134 </cell>
5135 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5136 \begin_inset Text
5137
5138 \begin_layout Plain Layout
5139 Franz
5140 \end_layout
5141
5142 \end_inset
5143 </cell>
5144 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Plain Layout
5148 555
5149 \end_layout
5150
5151 \end_inset
5152 </cell>
5153 </row>
5154 <row endlastfoot="true">
5155 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5156 \begin_inset Text
5157
5158 \begin_layout Plain Layout
5159 end
5160 \end_layout
5161
5162 \end_inset
5163 </cell>
5164 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Plain Layout
5168
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5174 \begin_inset Text
5175
5176 \begin_layout Plain Layout
5177
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 </row>
5183 </lyxtabular>
5184
5185 \end_inset
5186
5187
5188 \begin_inset ERT
5189 status collapsed
5190
5191 \begin_layout Plain Layout
5192
5193
5194 \backslash
5195 addtocounter{table}{-1}
5196 \end_layout
5197
5198 \end_inset
5199
5200
5201 \begin_inset Note Note
5202 status collapsed
5203
5204 \begin_layout Plain Layout
5205 See greyed-out note in section
5206 \begin_inset Space ~
5207 \end_inset
5208
5209
5210 \begin_inset CommandInset ref
5211 LatexCommand ref
5212 reference "sub:Longtable-Captions"
5213
5214 \end_inset
5215
5216  for an explanation of this command.
5217 \end_layout
5218
5219 \end_inset
5220
5221
5222 \end_layout
5223
5224 \begin_layout Subsection
5225 Footnotes in Longtables
5226 \begin_inset CommandInset label
5227 LatexCommand label
5228 name "sub:Footnotes-in-Longtables"
5229
5230 \end_inset
5231
5232
5233 \begin_inset Index
5234 status collapsed
5235
5236 \begin_layout Plain Layout
5237 Longtables ! Footnotes
5238 \end_layout
5239
5240 \end_inset
5241
5242
5243 \end_layout
5244
5245 \begin_layout Standard
5246 Footnotes can be inserted to every longtable cell.
5247  They appear at the bottom of the page where the table cell with the footnote
5248  appears.
5249  Table
5250 \begin_inset Space ~
5251 \end_inset
5252
5253
5254 \begin_inset CommandInset ref
5255 LatexCommand ref
5256 reference "tab:DiffCaptions"
5257
5258 \end_inset
5259
5260  has for example a footnote.
5261 \end_layout
5262
5263 \begin_layout Subsection
5264 Longtable Alignment
5265 \begin_inset Index
5266 status collapsed
5267
5268 \begin_layout Plain Layout
5269 Longtables ! Alignment
5270 \end_layout
5271
5272 \end_inset
5273
5274
5275 \end_layout
5276
5277 \begin_layout Standard
5278 Longtables are by default centered.
5279  In contrary to the alignment of the table columns and row, the table alignment
5280  can currently not be changed in the table dialog.
5281  To change the alignment of longtables you have to change the value of the
5282  lengths 
5283 \series bold
5284
5285 \backslash
5286 LTleft 
5287 \series default
5288 and 
5289 \series bold
5290
5291 \backslash
5292 LTright
5293 \series default
5294  by inserting this line as TeX-Code before the corresponding longtable:
5295 \end_layout
5296
5297 \begin_layout Standard
5298
5299 \series bold
5300
5301 \backslash
5302 setlength{
5303 \backslash
5304 LTleft}{value}
5305 \end_layout
5306
5307 \begin_layout Standard
5308 Where the value can have any of the units listed in Table
5309 \begin_inset Space ~
5310 \end_inset
5311
5312
5313 \begin_inset CommandInset ref
5314 LatexCommand ref
5315 reference "tab:Units"
5316
5317 \end_inset
5318
5319 .
5320  
5321 \series bold
5322
5323 \backslash
5324 LTleft
5325 \series default
5326  controls the horizontal distance from the left page border to the longtable,
5327  
5328 \series bold
5329
5330 \backslash
5331 LTright
5332 \series default
5333  the distance from the right side.
5334  The default value for both lengths is 
5335 \series bold
5336
5337 \backslash
5338 fill
5339 \series default
5340 , which is in this case the same as an horizontal fill in LyX.
5341 \end_layout
5342
5343 \begin_layout Standard
5344 The following longtable was left-aligned by setting 
5345 \series bold
5346
5347 \backslash
5348 LTleft
5349 \series default
5350  to 0
5351 \begin_inset Space \thinspace{}
5352 \end_inset
5353
5354 pt.
5355 \begin_inset ERT
5356 status collapsed
5357
5358 \begin_layout Plain Layout
5359
5360
5361 \backslash
5362 setlength{
5363 \backslash
5364 LTleft}{0pt}
5365 \end_layout
5366
5367 \end_inset
5368
5369
5370 \end_layout
5371
5372 \begin_layout Standard
5373 \begin_inset Tabular
5374 <lyxtabular version="3" rows="5" columns="5">
5375 <features islongtable="true">
5376 <column alignment="center" valignment="top" width="0">
5377 <column alignment="center" valignment="top" width="0">
5378 <column alignment="center" valignment="top" width="0">
5379 <column alignment="center" valignment="top" width="0">
5380 <column alignment="center" valignment="top" width="0">
5381 <row>
5382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5383 \begin_inset Text
5384
5385 \begin_layout Plain Layout
5386 1
5387 \end_layout
5388
5389 \end_inset
5390 </cell>
5391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Plain Layout
5395 2
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 3
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 4
5414 \end_layout
5415
5416 \end_inset
5417 </cell>
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Plain Layout
5422 5
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 </row>
5428 <row>
5429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Plain Layout
5433 asd
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5439 \begin_inset Text
5440
5441 \begin_layout Plain Layout
5442 s
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" rightline="true" usebox="none">
5466 \begin_inset Text
5467
5468 \begin_layout Plain Layout
5469 asd
5470 \end_layout
5471
5472 \end_inset
5473 </cell>
5474 </row>
5475 <row>
5476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5477 \begin_inset Text
5478
5479 \begin_layout Plain Layout
5480 asd
5481 \end_layout
5482
5483 \end_inset
5484 </cell>
5485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5486 \begin_inset Text
5487
5488 \begin_layout Plain Layout
5489 s
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" rightline="true" usebox="none">
5513 \begin_inset Text
5514
5515 \begin_layout Plain Layout
5516 asd
5517 \end_layout
5518
5519 \end_inset
5520 </cell>
5521 </row>
5522 <row>
5523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5524 \begin_inset Text
5525
5526 \begin_layout Plain Layout
5527 asd
5528 \end_layout
5529
5530 \end_inset
5531 </cell>
5532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5533 \begin_inset Text
5534
5535 \begin_layout Plain Layout
5536 s
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" rightline="true" usebox="none">
5560 \begin_inset Text
5561
5562 \begin_layout Plain Layout
5563 asd
5564 \end_layout
5565
5566 \end_inset
5567 </cell>
5568 </row>
5569 <row>
5570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5571 \begin_inset Text
5572
5573 \begin_layout Plain Layout
5574 asd
5575 \end_layout
5576
5577 \end_inset
5578 </cell>
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" rightline="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 </row>
5616 </lyxtabular>
5617
5618 \end_inset
5619
5620
5621 \begin_inset ERT
5622 status collapsed
5623
5624 \begin_layout Plain Layout
5625
5626
5627 \backslash
5628 setlength{
5629 \backslash
5630 LTleft}{
5631 \backslash
5632 fill}
5633 \end_layout
5634
5635 \end_inset
5636
5637
5638 \end_layout
5639
5640 \begin_layout Subsection
5641 Longtable Captions
5642 \begin_inset Index
5643 status collapsed
5644
5645 \begin_layout Plain Layout
5646 Longtables ! Captions
5647 \end_layout
5648
5649 \end_inset
5650
5651
5652 \begin_inset CommandInset label
5653 LatexCommand label
5654 name "sub:Longtable-Captions"
5655
5656 \end_inset
5657
5658
5659 \end_layout
5660
5661 \begin_layout Standard
5662 A longtable cannot be put into a table float because floats can only be
5663  on one page but the caption environment of floats can also be used for
5664  longtables.
5665 \end_layout
5666
5667 \begin_layout Standard
5668 As LyX does not yet fully support captions in longtables, a hack is needed
5669  to create them:
5670 \end_layout
5671
5672 \begin_layout Enumerate
5673 Create a longtable
5674 \family sans
5675 .
5676 \end_layout
5677
5678 \begin_layout Enumerate
5679 Mark the first row and disable its upper line.
5680 \end_layout
5681
5682 \begin_layout Enumerate
5683 Insert a caption via the menu 
5684 \family sans
5685 Insert\SpecialChar \menuseparator
5686 Caption
5687 \family default
5688  into the first table cell.
5689 \begin_inset Newline newline
5690 \end_inset
5691
5692 You can also add a short title for the caption.
5693 \end_layout
5694
5695 \begin_layout Enumerate
5696 Insert a 
5697 \begin_inset Quotes eld
5698 \end_inset
5699
5700
5701 \series bold
5702
5703 \backslash
5704
5705 \backslash
5706 %
5707 \series default
5708
5709 \begin_inset Quotes erd
5710 \end_inset
5711
5712  as TeX-Code behind the caption.
5713 \end_layout
5714
5715 \begin_layout Standard
5716 A short title that will appear in the LOT instead of the full title.
5717  The 
5718 \series bold
5719
5720 \backslash
5721
5722 \backslash
5723 %
5724 \series default
5725  behind the caption omits the vertical lines between the following cells
5726  in the row.
5727  The first table row is now only a dummy row for the caption, the actual
5728  table starts with the second row.
5729 \end_layout
5730
5731 \begin_layout Standard
5732 Here is a short longtable to see how it works:
5733 \end_layout
5734
5735 \begin_layout Standard
5736 \begin_inset Tabular
5737 <lyxtabular version="3" rows="6" columns="5">
5738 <features islongtable="true">
5739 <column alignment="center" valignment="top" width="0">
5740 <column alignment="center" valignment="top" width="0">
5741 <column alignment="center" valignment="top" width="0">
5742 <column alignment="center" valignment="top" width="0">
5743 <column alignment="center" valignment="top" width="0">
5744 <row caption="true">
5745 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Plain Layout
5749 \begin_inset Caption
5750
5751 \begin_layout Plain Layout
5752 Longtable with caption
5753 \begin_inset OptArg
5754 status open
5755
5756 \begin_layout Plain Layout
5757 Longtable
5758 \end_layout
5759
5760 \end_inset
5761
5762
5763 \end_layout
5764
5765 \end_inset
5766
5767
5768 \end_layout
5769
5770 \end_inset
5771 </cell>
5772 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5773 \begin_inset Text
5774
5775 \begin_layout Plain Layout
5776
5777 \end_layout
5778
5779 \end_inset
5780 </cell>
5781 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5782 \begin_inset Text
5783
5784 \begin_layout Plain Layout
5785
5786 \end_layout
5787
5788 \end_inset
5789 </cell>
5790 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5791 \begin_inset Text
5792
5793 \begin_layout Plain Layout
5794
5795 \end_layout
5796
5797 \end_inset
5798 </cell>
5799 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5800 \begin_inset Text
5801
5802 \begin_layout Plain Layout
5803
5804 \end_layout
5805
5806 \end_inset
5807 </cell>
5808 </row>
5809 <row>
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_inset Text
5812
5813 \begin_layout Plain Layout
5814 1
5815 \end_layout
5816
5817 \end_inset
5818 </cell>
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_inset Text
5821
5822 \begin_layout Plain Layout
5823 2
5824 \end_layout
5825
5826 \end_inset
5827 </cell>
5828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5829 \begin_inset Text
5830
5831 \begin_layout Plain Layout
5832 3
5833 \end_layout
5834
5835 \end_inset
5836 </cell>
5837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5838 \begin_inset Text
5839
5840 \begin_layout Plain Layout
5841 4
5842 \end_layout
5843
5844 \end_inset
5845 </cell>
5846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5847 \begin_inset Text
5848
5849 \begin_layout Plain Layout
5850 5
5851 \end_layout
5852
5853 \end_inset
5854 </cell>
5855 </row>
5856 <row>
5857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5858 \begin_inset Text
5859
5860 \begin_layout Plain Layout
5861 asd
5862 \end_layout
5863
5864 \end_inset
5865 </cell>
5866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5867 \begin_inset Text
5868
5869 \begin_layout Plain Layout
5870 s
5871 \end_layout
5872
5873 \end_inset
5874 </cell>
5875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5876 \begin_inset Text
5877
5878 \begin_layout Plain Layout
5879 s
5880 \end_layout
5881
5882 \end_inset
5883 </cell>
5884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5885 \begin_inset Text
5886
5887 \begin_layout Plain Layout
5888 s
5889 \end_layout
5890
5891 \end_inset
5892 </cell>
5893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5894 \begin_inset Text
5895
5896 \begin_layout Plain Layout
5897 asd
5898 \end_layout
5899
5900 \end_inset
5901 </cell>
5902 </row>
5903 <row>
5904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5905 \begin_inset Text
5906
5907 \begin_layout Plain Layout
5908 asd
5909 \end_layout
5910
5911 \end_inset
5912 </cell>
5913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5914 \begin_inset Text
5915
5916 \begin_layout Plain Layout
5917 s
5918 \end_layout
5919
5920 \end_inset
5921 </cell>
5922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5923 \begin_inset Text
5924
5925 \begin_layout Plain Layout
5926 s
5927 \end_layout
5928
5929 \end_inset
5930 </cell>
5931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5932 \begin_inset Text
5933
5934 \begin_layout Plain Layout
5935 s
5936 \end_layout
5937
5938 \end_inset
5939 </cell>
5940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5941 \begin_inset Text
5942
5943 \begin_layout Plain Layout
5944 asd
5945 \end_layout
5946
5947 \end_inset
5948 </cell>
5949 </row>
5950 <row>
5951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5952 \begin_inset Text
5953
5954 \begin_layout Plain Layout
5955 asd
5956 \end_layout
5957
5958 \end_inset
5959 </cell>
5960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_inset Text
5962
5963 \begin_layout Plain Layout
5964 s
5965 \end_layout
5966
5967 \end_inset
5968 </cell>
5969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5970 \begin_inset Text
5971
5972 \begin_layout Plain Layout
5973 s
5974 \end_layout
5975
5976 \end_inset
5977 </cell>
5978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5979 \begin_inset Text
5980
5981 \begin_layout Plain Layout
5982 s
5983 \end_layout
5984
5985 \end_inset
5986 </cell>
5987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5988 \begin_inset Text
5989
5990 \begin_layout Plain Layout
5991 asd
5992 \end_layout
5993
5994 \end_inset
5995 </cell>
5996 </row>
5997 <row>
5998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5999 \begin_inset Text
6000
6001 \begin_layout Plain Layout
6002 asd
6003 \end_layout
6004
6005 \end_inset
6006 </cell>
6007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6008 \begin_inset Text
6009
6010 \begin_layout Plain Layout
6011 asd
6012 \end_layout
6013
6014 \end_inset
6015 </cell>
6016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6017 \begin_inset Text
6018
6019 \begin_layout Plain Layout
6020 asd
6021 \end_layout
6022
6023 \end_inset
6024 </cell>
6025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6026 \begin_inset Text
6027
6028 \begin_layout Plain Layout
6029 asd
6030 \end_layout
6031
6032 \end_inset
6033 </cell>
6034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6035 \begin_inset Text
6036
6037 \begin_layout Plain Layout
6038 asd
6039 \end_layout
6040
6041 \end_inset
6042 </cell>
6043 </row>
6044 </lyxtabular>
6045
6046 \end_inset
6047
6048
6049 \end_layout
6050
6051 \begin_layout Standard
6052 \begin_inset VSpace medskip
6053 \end_inset
6054
6055
6056 \begin_inset Note Greyedout
6057 status open
6058
6059 \begin_layout Plain Layout
6060
6061 \series bold
6062 Note:
6063 \series default
6064  The table number is increased for every longtable, also if you didn't set
6065  a caption for it.
6066  For this reason you could have the case that e.g.
6067  Table
6068 \begin_inset Space ~
6069 \end_inset
6070
6071 2.4 follows on Table
6072 \begin_inset Space ~
6073 \end_inset
6074
6075 2.1 in the list of tables if there are two longtables without captions.
6076  To avoid this you can add the following command in TeX-Code behind every
6077  longtable without a caption:
6078 \end_layout
6079
6080 \begin_layout Plain Layout
6081
6082 \series bold
6083
6084 \backslash
6085 addtocounter{table}{-1}
6086 \end_layout
6087
6088 \end_inset
6089
6090
6091 \end_layout
6092
6093 \begin_layout Standard
6094 \begin_inset Note Greyedout
6095 status open
6096
6097 \begin_layout Plain Layout
6098
6099 \series bold
6100 Note:
6101 \series default
6102  If you are using the LaTeX-package 
6103 \series bold
6104 hyperref
6105 \series default
6106
6107 \begin_inset Index
6108 status collapsed
6109
6110 \begin_layout Plain Layout
6111 LaTeX-packages ! hyperref
6112 \end_layout
6113
6114 \end_inset
6115
6116  to link cross-references, the link to a longtable caption will always point
6117  to the beginning of the document.
6118 \end_layout
6119
6120 \end_inset
6121
6122
6123 \end_layout
6124
6125 \begin_layout Standard
6126 \begin_inset Newpage newpage
6127 \end_inset
6128
6129
6130 \end_layout
6131
6132 \begin_layout Subsubsection
6133 References to Longtables
6134 \begin_inset Index
6135 status collapsed
6136
6137 \begin_layout Plain Layout
6138 Longtables ! References
6139 \end_layout
6140
6141 \end_inset
6142
6143
6144 \end_layout
6145
6146 \begin_layout Standard
6147 \begin_inset Tabular
6148 <lyxtabular version="3" rows="6" columns="5">
6149 <features islongtable="true">
6150 <column alignment="center" valignment="top" width="0">
6151 <column alignment="center" valignment="top" width="0">
6152 <column alignment="center" valignment="top" width="0">
6153 <column alignment="center" valignment="top" width="0">
6154 <column alignment="center" valignment="top" width="0">
6155 <row caption="true">
6156 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6157 \begin_inset Text
6158
6159 \begin_layout Plain Layout
6160 \begin_inset Caption
6161
6162 \begin_layout Plain Layout
6163 Referenced longtable
6164 \begin_inset CommandInset label
6165 LatexCommand label
6166 name "tab:RefExample"
6167
6168 \end_inset
6169
6170
6171 \end_layout
6172
6173 \end_inset
6174
6175
6176 \end_layout
6177
6178 \end_inset
6179 </cell>
6180 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6181 \begin_inset Text
6182
6183 \begin_layout Plain Layout
6184
6185 \end_layout
6186
6187 \end_inset
6188 </cell>
6189 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6190 \begin_inset Text
6191
6192 \begin_layout Plain Layout
6193
6194 \end_layout
6195
6196 \end_inset
6197 </cell>
6198 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6199 \begin_inset Text
6200
6201 \begin_layout Plain Layout
6202
6203 \end_layout
6204
6205 \end_inset
6206 </cell>
6207 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6208 \begin_inset Text
6209
6210 \begin_layout Plain Layout
6211
6212 \end_layout
6213
6214 \end_inset
6215 </cell>
6216 </row>
6217 <row>
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_inset Text
6220
6221 \begin_layout Plain Layout
6222 1
6223 \end_layout
6224
6225 \end_inset
6226 </cell>
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_inset Text
6229
6230 \begin_layout Plain Layout
6231 2
6232 \end_layout
6233
6234 \end_inset
6235 </cell>
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_inset Text
6238
6239 \begin_layout Plain Layout
6240 3
6241 \end_layout
6242
6243 \end_inset
6244 </cell>
6245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6246 \begin_inset Text
6247
6248 \begin_layout Plain Layout
6249 4
6250 \end_layout
6251
6252 \end_inset
6253 </cell>
6254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6255 \begin_inset Text
6256
6257 \begin_layout Plain Layout
6258 5
6259 \end_layout
6260
6261 \end_inset
6262 </cell>
6263 </row>
6264 <row>
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_inset Text
6267
6268 \begin_layout Plain Layout
6269 asd
6270 \end_layout
6271
6272 \end_inset
6273 </cell>
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6275 \begin_inset Text
6276
6277 \begin_layout Plain Layout
6278 s
6279 \end_layout
6280
6281 \end_inset
6282 </cell>
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6284 \begin_inset Text
6285
6286 \begin_layout Plain Layout
6287 s
6288 \end_layout
6289
6290 \end_inset
6291 </cell>
6292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6293 \begin_inset Text
6294
6295 \begin_layout Plain Layout
6296 s
6297 \end_layout
6298
6299 \end_inset
6300 </cell>
6301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6302 \begin_inset Text
6303
6304 \begin_layout Plain Layout
6305 asd
6306 \end_layout
6307
6308 \end_inset
6309 </cell>
6310 </row>
6311 <row>
6312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6313 \begin_inset Text
6314
6315 \begin_layout Plain Layout
6316 asd
6317 \end_layout
6318
6319 \end_inset
6320 </cell>
6321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6322 \begin_inset Text
6323
6324 \begin_layout Plain Layout
6325 s
6326 \end_layout
6327
6328 \end_inset
6329 </cell>
6330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6331 \begin_inset Text
6332
6333 \begin_layout Plain Layout
6334 s
6335 \end_layout
6336
6337 \end_inset
6338 </cell>
6339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6340 \begin_inset Text
6341
6342 \begin_layout Plain Layout
6343 s
6344 \end_layout
6345
6346 \end_inset
6347 </cell>
6348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6349 \begin_inset Text
6350
6351 \begin_layout Plain Layout
6352 asd
6353 \end_layout
6354
6355 \end_inset
6356 </cell>
6357 </row>
6358 <row>
6359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6360 \begin_inset Text
6361
6362 \begin_layout Plain Layout
6363 asd
6364 \end_layout
6365
6366 \end_inset
6367 </cell>
6368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6369 \begin_inset Text
6370
6371 \begin_layout Plain Layout
6372 s
6373 \end_layout
6374
6375 \end_inset
6376 </cell>
6377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6378 \begin_inset Text
6379
6380 \begin_layout Plain Layout
6381 s
6382 \end_layout
6383
6384 \end_inset
6385 </cell>
6386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6387 \begin_inset Text
6388
6389 \begin_layout Plain Layout
6390 s
6391 \end_layout
6392
6393 \end_inset
6394 </cell>
6395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6396 \begin_inset Text
6397
6398 \begin_layout Plain Layout
6399 asd
6400 \end_layout
6401
6402 \end_inset
6403 </cell>
6404 </row>
6405 <row>
6406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6407 \begin_inset Text
6408
6409 \begin_layout Plain Layout
6410 asd
6411 \end_layout
6412
6413 \end_inset
6414 </cell>
6415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6416 \begin_inset Text
6417
6418 \begin_layout Plain Layout
6419 sad
6420 \end_layout
6421
6422 \end_inset
6423 </cell>
6424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6425 \begin_inset Text
6426
6427 \begin_layout Plain Layout
6428 asd
6429 \end_layout
6430
6431 \end_inset
6432 </cell>
6433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6434 \begin_inset Text
6435
6436 \begin_layout Plain Layout
6437 asd
6438 \end_layout
6439
6440 \end_inset
6441 </cell>
6442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6443 \begin_inset Text
6444
6445 \begin_layout Plain Layout
6446 asd
6447 \end_layout
6448
6449 \end_inset
6450 </cell>
6451 </row>
6452 </lyxtabular>
6453
6454 \end_inset
6455
6456
6457 \end_layout
6458
6459 \begin_layout Standard
6460 To reference a longtable, insert a label into the caption.
6461  Note that you have to add the label prefix 
6462 \begin_inset Quotes eld
6463 \end_inset
6464
6465
6466 \emph on
6467 tab:
6468 \emph default
6469
6470 \begin_inset Quotes eld
6471 \end_inset
6472
6473  manually in the label field.
6474 \end_layout
6475
6476 \begin_layout Standard
6477 This is a reference to Table
6478 \begin_inset Space ~
6479 \end_inset
6480
6481
6482 \begin_inset CommandInset ref
6483 LatexCommand ref
6484 reference "tab:RefExample"
6485
6486 \end_inset
6487
6488 .
6489 \end_layout
6490
6491 \begin_layout Standard
6492 The caption layout can be set together with all other caption of your document
6493  using the LaTeX-package 
6494 \series bold
6495 caption
6496 \series default
6497
6498 \begin_inset Index
6499 status collapsed
6500
6501 \begin_layout Plain Layout
6502 LaTeX-packages ! caption
6503 \end_layout
6504
6505 \end_inset
6506
6507 , see section
6508 \begin_inset Space ~
6509 \end_inset
6510
6511
6512 \begin_inset CommandInset ref
6513 LatexCommand ref
6514 reference "sec:Caption-Formatting"
6515
6516 \end_inset
6517
6518 .
6519 \end_layout
6520
6521 \begin_layout Subsubsection
6522 Caption Width
6523 \begin_inset Index
6524 status collapsed
6525
6526 \begin_layout Plain Layout
6527 Longtables ! Caption Width
6528 \end_layout
6529
6530 \end_inset
6531
6532
6533 \end_layout
6534
6535 \begin_layout Standard
6536 The maximal width of of caption lines is defined by the length 
6537 \series bold
6538
6539 \backslash
6540 LTcapwidth
6541 \series default
6542 .
6543  Its default value is 4
6544 \begin_inset Space \thinspace{}
6545 \end_inset
6546
6547 in.
6548  To change it add the following command to your document preamble or as
6549  TeX-Code into your document before the longtable that should be affected
6550 \end_layout
6551
6552 \begin_layout Standard
6553
6554 \series bold
6555
6556 \backslash
6557 setlength{
6558 \backslash
6559 LTcapwidth}{width}
6560 \end_layout
6561
6562 \begin_layout Standard
6563 where the width could have one of the units listed in appendix
6564 \begin_inset Space ~
6565 \end_inset
6566
6567
6568 \begin_inset CommandInset ref
6569 LatexCommand ref
6570 reference "cha:Units-available-in"
6571
6572 \end_inset
6573
6574 .
6575 \end_layout
6576
6577 \begin_layout Standard
6578 The following tables show the difference:
6579 \end_layout
6580
6581 \begin_layout Standard
6582 \begin_inset Tabular
6583 <lyxtabular version="3" rows="6" columns="5">
6584 <features islongtable="true">
6585 <column alignment="center" valignment="top" width="0">
6586 <column alignment="center" valignment="top" width="0">
6587 <column alignment="center" valignment="top" width="0">
6588 <column alignment="center" valignment="top" width="0">
6589 <column alignment="center" valignment="top" width="0">
6590 <row caption="true">
6591 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6592 \begin_inset Text
6593
6594 \begin_layout Plain Layout
6595 \begin_inset Caption
6596
6597 \begin_layout Plain Layout
6598 long full title with default width long full title with default width long
6599  full title with default width
6600 \begin_inset OptArg
6601 status open
6602
6603 \begin_layout Plain Layout
6604 caption with default width
6605 \end_layout
6606
6607 \end_inset
6608
6609
6610 \end_layout
6611
6612 \end_inset
6613
6614
6615 \end_layout
6616
6617 \end_inset
6618 </cell>
6619 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Plain Layout
6623
6624 \end_layout
6625
6626 \end_inset
6627 </cell>
6628 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6629 \begin_inset Text
6630
6631 \begin_layout Plain Layout
6632
6633 \end_layout
6634
6635 \end_inset
6636 </cell>
6637 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6638 \begin_inset Text
6639
6640 \begin_layout Plain Layout
6641
6642 \end_layout
6643
6644 \end_inset
6645 </cell>
6646 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6647 \begin_inset Text
6648
6649 \begin_layout Plain Layout
6650
6651 \end_layout
6652
6653 \end_inset
6654 </cell>
6655 </row>
6656 <row>
6657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6658 \begin_inset Text
6659
6660 \begin_layout Plain Layout
6661 1
6662 \end_layout
6663
6664 \end_inset
6665 </cell>
6666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6667 \begin_inset Text
6668
6669 \begin_layout Plain Layout
6670 2
6671 \end_layout
6672
6673 \end_inset
6674 </cell>
6675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_inset Text
6677
6678 \begin_layout Plain Layout
6679 3
6680 \end_layout
6681
6682 \end_inset
6683 </cell>
6684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6685 \begin_inset Text
6686
6687 \begin_layout Plain Layout
6688 4
6689 \end_layout
6690
6691 \end_inset
6692 </cell>
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Plain Layout
6697 5
6698 \end_layout
6699
6700 \end_inset
6701 </cell>
6702 </row>
6703 <row>
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6705 \begin_inset Text
6706
6707 \begin_layout Plain Layout
6708 asd
6709 \end_layout
6710
6711 \end_inset
6712 </cell>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Plain Layout
6717 s
6718 \end_layout
6719
6720 \end_inset
6721 </cell>
6722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6723 \begin_inset Text
6724
6725 \begin_layout Plain Layout
6726 s
6727 \end_layout
6728
6729 \end_inset
6730 </cell>
6731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6732 \begin_inset Text
6733
6734 \begin_layout Plain Layout
6735 s
6736 \end_layout
6737
6738 \end_inset
6739 </cell>
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6741 \begin_inset Text
6742
6743 \begin_layout Plain Layout
6744 asd
6745 \end_layout
6746
6747 \end_inset
6748 </cell>
6749 </row>
6750 <row>
6751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6752 \begin_inset Text
6753
6754 \begin_layout Plain Layout
6755 asd
6756 \end_layout
6757
6758 \end_inset
6759 </cell>
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Plain Layout
6764 s
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Plain Layout
6773 s
6774 \end_layout
6775
6776 \end_inset
6777 </cell>
6778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6779 \begin_inset Text
6780
6781 \begin_layout Plain Layout
6782 s
6783 \end_layout
6784
6785 \end_inset
6786 </cell>
6787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6788 \begin_inset Text
6789
6790 \begin_layout Plain Layout
6791 asd
6792 \end_layout
6793
6794 \end_inset
6795 </cell>
6796 </row>
6797 <row>
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6799 \begin_inset Text
6800
6801 \begin_layout Plain Layout
6802 asd
6803 \end_layout
6804
6805 \end_inset
6806 </cell>
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6808 \begin_inset Text
6809
6810 \begin_layout Plain Layout
6811 s
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Plain Layout
6820 s
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Plain Layout
6829 s
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6835 \begin_inset Text
6836
6837 \begin_layout Plain Layout
6838 asd
6839 \end_layout
6840
6841 \end_inset
6842 </cell>
6843 </row>
6844 <row>
6845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6846 \begin_inset Text
6847
6848 \begin_layout Plain Layout
6849 asd
6850 \end_layout
6851
6852 \end_inset
6853 </cell>
6854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6855 \begin_inset Text
6856
6857 \begin_layout Plain Layout
6858 sad
6859 \end_layout
6860
6861 \end_inset
6862 </cell>
6863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6864 \begin_inset Text
6865
6866 \begin_layout Plain Layout
6867 asd
6868 \end_layout
6869
6870 \end_inset
6871 </cell>
6872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6873 \begin_inset Text
6874
6875 \begin_layout Plain Layout
6876 asd
6877 \end_layout
6878
6879 \end_inset
6880 </cell>
6881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6882 \begin_inset Text
6883
6884 \begin_layout Plain Layout
6885 asd
6886 \end_layout
6887
6888 \end_inset
6889 </cell>
6890 </row>
6891 </lyxtabular>
6892
6893 \end_inset
6894
6895
6896 \end_layout
6897
6898 \begin_layout Standard
6899 \begin_inset ERT
6900 status collapsed
6901
6902 \begin_layout Plain Layout
6903
6904
6905 \backslash
6906 setlength{
6907 \backslash
6908 LTcapwidth}{5cm}
6909 \end_layout
6910
6911 \end_inset
6912
6913
6914 \begin_inset Tabular
6915 <lyxtabular version="3" rows="6" columns="5">
6916 <features islongtable="true">
6917 <column alignment="center" valignment="top" width="0">
6918 <column alignment="center" valignment="top" width="0">
6919 <column alignment="center" valignment="top" width="0">
6920 <column alignment="center" valignment="top" width="0">
6921 <column alignment="center" valignment="top" width="0">
6922 <row caption="true">
6923 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6924 \begin_inset Text
6925
6926 \begin_layout Plain Layout
6927 \begin_inset Caption
6928
6929 \begin_layout Plain Layout
6930 long full title with width set to 5
6931 \begin_inset Space \thinspace{}
6932 \end_inset
6933
6934 cm long full title with width set to 5
6935 \begin_inset Space \thinspace{}
6936 \end_inset
6937
6938 cm long full title with width set to 5
6939 \begin_inset Space \thinspace{}
6940 \end_inset
6941
6942 cm
6943 \begin_inset OptArg
6944 status open
6945
6946 \begin_layout Plain Layout
6947 caption with width
6948 \begin_inset Space \thinspace{}
6949 \end_inset
6950
6951 =
6952 \begin_inset Space \thinspace{}
6953 \end_inset
6954
6955 5
6956 \begin_inset Space \thinspace{}
6957 \end_inset
6958
6959 cm
6960 \end_layout
6961
6962 \end_inset
6963
6964
6965 \end_layout
6966
6967 \end_inset
6968
6969
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6975 \begin_inset Text
6976
6977 \begin_layout Plain Layout
6978
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Plain Layout
6987
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Plain Layout
6996
6997 \end_layout
6998
6999 \end_inset
7000 </cell>
7001 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7002 \begin_inset Text
7003
7004 \begin_layout Plain Layout
7005
7006 \end_layout
7007
7008 \end_inset
7009 </cell>
7010 </row>
7011 <row>
7012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Plain Layout
7016 1
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7022 \begin_inset Text
7023
7024 \begin_layout Plain Layout
7025 2
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Plain Layout
7034 3
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7040 \begin_inset Text
7041
7042 \begin_layout Plain Layout
7043 4
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7049 \begin_inset Text
7050
7051 \begin_layout Plain Layout
7052 5
7053 \end_layout
7054
7055 \end_inset
7056 </cell>
7057 </row>
7058 <row>
7059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Plain Layout
7063 asd
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Plain Layout
7072 s
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Plain Layout
7081 s
7082 \end_layout
7083
7084 \end_inset
7085 </cell>
7086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7087 \begin_inset Text
7088
7089 \begin_layout Plain Layout
7090 s
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7096 \begin_inset Text
7097
7098 \begin_layout Plain Layout
7099 asd
7100 \end_layout
7101
7102 \end_inset
7103 </cell>
7104 </row>
7105 <row>
7106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7107 \begin_inset Text
7108
7109 \begin_layout Plain Layout
7110 asd
7111 \end_layout
7112
7113 \end_inset
7114 </cell>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Plain Layout
7119 s
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7125 \begin_inset Text
7126
7127 \begin_layout Plain Layout
7128 s
7129 \end_layout
7130
7131 \end_inset
7132 </cell>
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7134 \begin_inset Text
7135
7136 \begin_layout Plain Layout
7137 s
7138 \end_layout
7139
7140 \end_inset
7141 </cell>
7142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7143 \begin_inset Text
7144
7145 \begin_layout Plain Layout
7146 asd
7147 \end_layout
7148
7149 \end_inset
7150 </cell>
7151 </row>
7152 <row>
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Plain Layout
7157 asd
7158 \end_layout
7159
7160 \end_inset
7161 </cell>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Plain Layout
7166 s
7167 \end_layout
7168
7169 \end_inset
7170 </cell>
7171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7172 \begin_inset Text
7173
7174 \begin_layout Plain Layout
7175 s
7176 \end_layout
7177
7178 \end_inset
7179 </cell>
7180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7181 \begin_inset Text
7182
7183 \begin_layout Plain Layout
7184 s
7185 \end_layout
7186
7187 \end_inset
7188 </cell>
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7190 \begin_inset Text
7191
7192 \begin_layout Plain Layout
7193 asd
7194 \end_layout
7195
7196 \end_inset
7197 </cell>
7198 </row>
7199 <row>
7200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Plain Layout
7204 asd
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Plain Layout
7213 sad
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7219 \begin_inset Text
7220
7221 \begin_layout Plain Layout
7222 asd
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7228 \begin_inset Text
7229
7230 \begin_layout Plain Layout
7231 asd
7232 \end_layout
7233
7234 \end_inset
7235 </cell>
7236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7237 \begin_inset Text
7238
7239 \begin_layout Plain Layout
7240 asd
7241 \end_layout
7242
7243 \end_inset
7244 </cell>
7245 </row>
7246 </lyxtabular>
7247
7248 \end_inset
7249
7250
7251 \end_layout
7252
7253 \begin_layout Standard
7254 \begin_inset ERT
7255 status collapsed
7256
7257 \begin_layout Plain Layout
7258
7259
7260 \backslash
7261 setlength{
7262 \backslash
7263 LTcapwidth}{4in}
7264 \end_layout
7265
7266 \end_inset
7267
7268
7269 \end_layout
7270
7271 \begin_layout Standard
7272 \begin_inset Note Greyedout
7273 status open
7274
7275 \begin_layout Plain Layout
7276
7277 \series bold
7278 Note:
7279 \series default
7280  When the LaTeX-package 
7281 \series bold
7282 caption
7283 \series default
7284
7285 \begin_inset Index
7286 status collapsed
7287
7288 \begin_layout Plain Layout
7289 LaTeX-packages ! caption
7290 \end_layout
7291
7292 \end_inset
7293
7294  is used, as in this document, the full page width is used for the caption
7295  when you use the default value of 4
7296 \begin_inset Space \thinspace{}
7297 \end_inset
7298
7299 in for 
7300 \series bold
7301
7302 \backslash
7303 LTcapwidth
7304 \series default
7305 .
7306  To get in this case exactly a 4
7307 \begin_inset Space \thinspace{}
7308 \end_inset
7309
7310 in wide caption, you can either use a value slightly different from 4.0
7311 \begin_inset Space \thinspace{}
7312 \end_inset
7313
7314 in, e.g.
7315  3.99
7316 \begin_inset Space \thinspace{}
7317 \end_inset
7318
7319 in, or the LaTeX-command 
7320 \series bold
7321
7322 \backslash
7323 captionsetup{width=value}
7324 \series default
7325  that is provided by the 
7326 \series bold
7327 caption
7328 \series default
7329 -package.
7330 \end_layout
7331
7332 \end_inset
7333
7334
7335 \end_layout
7336
7337 \begin_layout Subsubsection
7338 Different Captions for Table Pages
7339 \begin_inset Index
7340 status collapsed
7341
7342 \begin_layout Plain Layout
7343 Longtables ! Different Captions for Pages
7344 \end_layout
7345
7346 \end_inset
7347
7348
7349 \end_layout
7350
7351 \begin_layout Standard
7352 When the other captions should differ from the one of the first table page,
7353  insert a caption with a non-empty short title in a dummy caption row marked
7354  as first header.
7355  The caption used for the other table pages is inserted as caption without
7356  a short title in a dummy caption row that is marked as main header.
7357  When this caption shouldn't include the table number, use the command
7358 \end_layout
7359
7360 \begin_layout Standard
7361
7362 \series bold
7363
7364 \backslash
7365 caption*{caption text}
7366 \end_layout
7367
7368 \begin_layout Standard
7369 instead of LyX's caption box.
7370  The label to reference the table is inserted into the caption of the first
7371  header.
7372  Table
7373 \begin_inset Space ~
7374 \end_inset
7375
7376
7377 \begin_inset CommandInset ref
7378 LatexCommand ref
7379 reference "tab:DiffCaptions"
7380
7381 \end_inset
7382
7383  is an example for a longtable with different heading where the second caption
7384  doesn't include the table number.
7385 \end_layout
7386
7387 \begin_layout Standard
7388 \align center
7389 \begin_inset Tabular
7390 <lyxtabular version="3" rows="59" columns="3">
7391 <features islongtable="true">
7392 <column alignment="left" valignment="top" width="0cm">
7393 <column alignment="left" valignment="top" width="0pt">
7394 <column alignment="center" valignment="top" width="0pt">
7395 <row endfirsthead="true" caption="true">
7396 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7397 \begin_inset Text
7398
7399 \begin_layout Plain Layout
7400 \begin_inset Caption
7401
7402 \begin_layout Plain Layout
7403 Example Phone List
7404 \begin_inset CommandInset label
7405 LatexCommand label
7406 name "tab:DiffCaptions"
7407
7408 \end_inset
7409
7410
7411 \begin_inset OptArg
7412 status collapsed
7413
7414 \begin_layout Plain Layout
7415 Example Phone List
7416 \end_layout
7417
7418 \end_inset
7419
7420
7421 \end_layout
7422
7423 \end_inset
7424
7425
7426 \end_layout
7427
7428 \end_inset
7429 </cell>
7430 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7431 \begin_inset Text
7432
7433 \begin_layout Plain Layout
7434
7435 \end_layout
7436
7437 \end_inset
7438 </cell>
7439 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7440 \begin_inset Text
7441
7442 \begin_layout Plain Layout
7443
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 </row>
7449 <row endfirsthead="true">
7450 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7451 \begin_inset Text
7452
7453 \begin_layout Plain Layout
7454
7455 \series bold
7456 Example Phone List (ignore the names)
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7462 \begin_inset Text
7463
7464 \begin_layout Plain Layout
7465
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7471 \begin_inset Text
7472
7473 \begin_layout Plain Layout
7474
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 </row>
7480 <row endfirsthead="true">
7481 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7482 \begin_inset Text
7483
7484 \begin_layout Plain Layout
7485
7486 \series bold
7487 NAME
7488 \end_layout
7489
7490 \end_inset
7491 </cell>
7492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7493 \begin_inset Text
7494
7495 \begin_layout Plain Layout
7496
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7502 \begin_inset Text
7503
7504 \begin_layout Plain Layout
7505
7506 \series bold
7507 TEL.
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 </row>
7513 <row endhead="true" caption="true">
7514 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7515 \begin_inset Text
7516
7517 \begin_layout Plain Layout
7518 \begin_inset ERT
7519 status open
7520
7521 \begin_layout Plain Layout
7522
7523
7524 \backslash
7525 caption*{Continued Example Phone List}
7526 \backslash
7527
7528 \backslash
7529 %
7530 \end_layout
7531
7532 \end_inset
7533
7534
7535 \end_layout
7536
7537 \end_inset
7538 </cell>
7539 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7540 \begin_inset Text
7541
7542 \begin_layout Plain Layout
7543
7544 \end_layout
7545
7546 \end_inset
7547 </cell>
7548 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Plain Layout
7552
7553 \end_layout
7554
7555 \end_inset
7556 </cell>
7557 </row>
7558 <row endhead="true">
7559 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7560 \begin_inset Text
7561
7562 \begin_layout Plain Layout
7563
7564 \series bold
7565 Example Phone List
7566 \end_layout
7567
7568 \end_inset
7569 </cell>
7570 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7571 \begin_inset Text
7572
7573 \begin_layout Plain Layout
7574
7575 \end_layout
7576
7577 \end_inset
7578 </cell>
7579 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7580 \begin_inset Text
7581
7582 \begin_layout Plain Layout
7583
7584 \end_layout
7585
7586 \end_inset
7587 </cell>
7588 </row>
7589 <row endhead="true">
7590 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
7591 \begin_inset Text
7592
7593 \begin_layout Plain Layout
7594
7595 \series bold
7596 NAME
7597 \end_layout
7598
7599 \end_inset
7600 </cell>
7601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7602 \begin_inset Text
7603
7604 \begin_layout Plain Layout
7605
7606 \end_layout
7607
7608 \end_inset
7609 </cell>
7610 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7611 \begin_inset Text
7612
7613 \begin_layout Plain Layout
7614
7615 \series bold
7616 TEL.
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row endfoot="true">
7623 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Plain Layout
7627 continued on next page
7628 \end_layout
7629
7630 \end_inset
7631 </cell>
7632 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7633 \begin_inset Text
7634
7635 \begin_layout Plain Layout
7636
7637 \end_layout
7638
7639 \end_inset
7640 </cell>
7641 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7642 \begin_inset Text
7643
7644 \begin_layout Plain Layout
7645
7646 \end_layout
7647
7648 \end_inset
7649 </cell>
7650 </row>
7651 <row>
7652 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7653 \begin_inset Text
7654
7655 \begin_layout Plain Layout
7656
7657 \series bold
7658 Annovi
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7664 \begin_inset Text
7665
7666 \begin_layout Plain Layout
7667 Silvia
7668 \end_layout
7669
7670 \end_inset
7671 </cell>
7672 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7673 \begin_inset Text
7674
7675 \begin_layout Plain Layout
7676 111
7677 \end_layout
7678
7679 \end_inset
7680 </cell>
7681 </row>
7682 <row>
7683 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7684 \begin_inset Text
7685
7686 \begin_layout Plain Layout
7687
7688 \series bold
7689 Bertoli
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7695 \begin_inset Text
7696
7697 \begin_layout Plain Layout
7698 Stefano
7699 \end_layout
7700
7701 \end_inset
7702 </cell>
7703 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7704 \begin_inset Text
7705
7706 \begin_layout Plain Layout
7707 111
7708 \end_layout
7709
7710 \end_inset
7711 </cell>
7712 </row>
7713 <row>
7714 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7715 \begin_inset Text
7716
7717 \begin_layout Plain Layout
7718
7719 \series bold
7720 Bozzi
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Plain Layout
7729 Walter
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7735 \begin_inset Text
7736
7737 \begin_layout Plain Layout
7738 111
7739 \end_layout
7740
7741 \end_inset
7742 </cell>
7743 </row>
7744 <row>
7745 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Plain Layout
7749
7750 \series bold
7751 Cachia
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7757 \begin_inset Text
7758
7759 \begin_layout Plain Layout
7760 Maria
7761 \end_layout
7762
7763 \end_inset
7764 </cell>
7765 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7766 \begin_inset Text
7767
7768 \begin_layout Plain Layout
7769 111
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 </row>
7775 <row>
7776 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Plain Layout
7780
7781 \series bold
7782 Cachia
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7788 \begin_inset Text
7789
7790 \begin_layout Plain Layout
7791 Maurizio
7792 \end_layout
7793
7794 \end_inset
7795 </cell>
7796 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Plain Layout
7800 111
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 </row>
7806 <row>
7807 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Plain Layout
7811
7812 \series bold
7813 Cinquemani
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Plain Layout
7822 Giusi
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Plain Layout
7831 111
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 </row>
7837 <row>
7838 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Plain Layout
7842
7843 \series bold
7844 Colin
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7850 \begin_inset Text
7851
7852 \begin_layout Plain Layout
7853 Bernard
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Plain Layout
7862 111
7863 \end_layout
7864
7865 \end_inset
7866 </cell>
7867 </row>
7868 <row>
7869 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7870 \begin_inset Text
7871
7872 \begin_layout Plain Layout
7873
7874 \series bold
7875 Concli
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7881 \begin_inset Text
7882
7883 \begin_layout Plain Layout
7884 Gianfranco
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Plain Layout
7893 111
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 </row>
7899 <row>
7900 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7901 \begin_inset Text
7902
7903 \begin_layout Plain Layout
7904
7905 \series bold
7906 Dal Bosco
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7912 \begin_inset Text
7913
7914 \begin_layout Plain Layout
7915 Carolina
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Plain Layout
7924 111
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 </row>
7930 <row>
7931 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7932 \begin_inset Text
7933
7934 \begin_layout Plain Layout
7935
7936 \series bold
7937 Dalpiaz
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7943 \begin_inset Text
7944
7945 \begin_layout Plain Layout
7946 Annamaria
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Plain Layout
7955 111
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 </row>
7961 <row>
7962 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7963 \begin_inset Text
7964
7965 \begin_layout Plain Layout
7966
7967 \series bold
7968 Feliciello
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Plain Layout
7977 Domenico
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Plain Layout
7986 111
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 </row>
7992 <row>
7993 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7994 \begin_inset Text
7995
7996 \begin_layout Plain Layout
7997
7998 \series bold
7999 Focarelli
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8005 \begin_inset Text
8006
8007 \begin_layout Plain Layout
8008 Paola
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Plain Layout
8017 111
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 </row>
8023 <row>
8024 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8025 \begin_inset Text
8026
8027 \begin_layout Plain Layout
8028
8029 \series bold
8030 Galletti
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Plain Layout
8039 Oreste
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Plain Layout
8048 111
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Plain Layout
8059
8060 \series bold
8061 Gasparini
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Plain Layout
8070 Franca
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Plain Layout
8079 111
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Plain Layout
8090
8091 \series bold
8092 Rizzardi
8093 \series default
8094
8095 \begin_inset Foot
8096 status collapsed
8097
8098 \begin_layout Plain Layout
8099 Example footnote
8100 \end_layout
8101
8102 \end_inset
8103
8104
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Plain Layout
8113 Paola
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Plain Layout
8122 111
8123 \end_layout
8124
8125 \end_inset
8126 </cell>
8127 </row>
8128 <row>
8129 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Plain Layout
8133
8134 \series bold
8135 Lassini
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Plain Layout
8144 Giancarlo
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Plain Layout
8153 111
8154 \end_layout
8155
8156 \end_inset
8157 </cell>
8158 </row>
8159 <row>
8160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Plain Layout
8164
8165 \series bold
8166 Malfatti
8167 \end_layout
8168
8169 \end_inset
8170 </cell>
8171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Plain Layout
8175 Luciano
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Plain Layout
8184 111
8185 \end_layout
8186
8187 \end_inset
8188 </cell>
8189 </row>
8190 <row>
8191 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8192 \begin_inset Text
8193
8194 \begin_layout Plain Layout
8195
8196 \series bold
8197 Malfatti
8198 \end_layout
8199
8200 \end_inset
8201 </cell>
8202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8203 \begin_inset Text
8204
8205 \begin_layout Plain Layout
8206 Valeriano
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8212 \begin_inset Text
8213
8214 \begin_layout Plain Layout
8215 111
8216 \end_layout
8217
8218 \end_inset
8219 </cell>
8220 </row>
8221 <row>
8222 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8223 \begin_inset Text
8224
8225 \begin_layout Plain Layout
8226
8227 \series bold
8228 Meneguzzo
8229 \end_layout
8230
8231 \end_inset
8232 </cell>
8233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8234 \begin_inset Text
8235
8236 \begin_layout Plain Layout
8237 Roberto
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8243 \begin_inset Text
8244
8245 \begin_layout Plain Layout
8246 111
8247 \end_layout
8248
8249 \end_inset
8250 </cell>
8251 </row>
8252 <row>
8253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8254 \begin_inset Text
8255
8256 \begin_layout Plain Layout
8257
8258 \series bold
8259 Mezzadra
8260 \end_layout
8261
8262 \end_inset
8263 </cell>
8264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8265 \begin_inset Text
8266
8267 \begin_layout Plain Layout
8268 Roberto
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8274 \begin_inset Text
8275
8276 \begin_layout Plain Layout
8277 111
8278 \end_layout
8279
8280 \end_inset
8281 </cell>
8282 </row>
8283 <row>
8284 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8285 \begin_inset Text
8286
8287 \begin_layout Plain Layout
8288
8289 \series bold
8290 Pirpamer
8291 \end_layout
8292
8293 \end_inset
8294 </cell>
8295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8296 \begin_inset Text
8297
8298 \begin_layout Plain Layout
8299 Erich
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8305 \begin_inset Text
8306
8307 \begin_layout Plain Layout
8308 111
8309 \end_layout
8310
8311 \end_inset
8312 </cell>
8313 </row>
8314 <row>
8315 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8316 \begin_inset Text
8317
8318 \begin_layout Plain Layout
8319
8320 \series bold
8321 Pochiesa
8322 \end_layout
8323
8324 \end_inset
8325 </cell>
8326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8327 \begin_inset Text
8328
8329 \begin_layout Plain Layout
8330 Paolo
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8336 \begin_inset Text
8337
8338 \begin_layout Plain Layout
8339 111, 222
8340 \end_layout
8341
8342 \end_inset
8343 </cell>
8344 </row>
8345 <row>
8346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8347 \begin_inset Text
8348
8349 \begin_layout Plain Layout
8350
8351 \series bold
8352 Radina
8353 \end_layout
8354
8355 \end_inset
8356 </cell>
8357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8358 \begin_inset Text
8359
8360 \begin_layout Plain Layout
8361 Claudio
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8367 \begin_inset Text
8368
8369 \begin_layout Plain Layout
8370 111
8371 \end_layout
8372
8373 \end_inset
8374 </cell>
8375 </row>
8376 <row>
8377 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8378 \begin_inset Text
8379
8380 \begin_layout Plain Layout
8381
8382 \series bold
8383 Stuffer
8384 \end_layout
8385
8386 \end_inset
8387 </cell>
8388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8389 \begin_inset Text
8390
8391 \begin_layout Plain Layout
8392 Oskar
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8398 \begin_inset Text
8399
8400 \begin_layout Plain Layout
8401 111
8402 \end_layout
8403
8404 \end_inset
8405 </cell>
8406 </row>
8407 <row>
8408 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8409 \begin_inset Text
8410
8411 \begin_layout Plain Layout
8412
8413 \series bold
8414 Tacchelli
8415 \end_layout
8416
8417 \end_inset
8418 </cell>
8419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8420 \begin_inset Text
8421
8422 \begin_layout Plain Layout
8423 Ugo
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8429 \begin_inset Text
8430
8431 \begin_layout Plain Layout
8432 111
8433 \end_layout
8434
8435 \end_inset
8436 </cell>
8437 </row>
8438 <row>
8439 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8440 \begin_inset Text
8441
8442 \begin_layout Plain Layout
8443
8444 \series bold
8445 Tezzele
8446 \end_layout
8447
8448 \end_inset
8449 </cell>
8450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8451 \begin_inset Text
8452
8453 \begin_layout Plain Layout
8454 Margit
8455 \end_layout
8456
8457 \end_inset
8458 </cell>
8459 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8460 \begin_inset Text
8461
8462 \begin_layout Plain Layout
8463 111
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 </row>
8469 <row>
8470 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8471 \begin_inset Text
8472
8473 \begin_layout Plain Layout
8474
8475 \series bold
8476 Unterkalmsteiner
8477 \end_layout
8478
8479 \end_inset
8480 </cell>
8481 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8482 \begin_inset Text
8483
8484 \begin_layout Plain Layout
8485 Frieda
8486 \end_layout
8487
8488 \end_inset
8489 </cell>
8490 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8491 \begin_inset Text
8492
8493 \begin_layout Plain Layout
8494 111
8495 \end_layout
8496
8497 \end_inset
8498 </cell>
8499 </row>
8500 <row>
8501 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8502 \begin_inset Text
8503
8504 \begin_layout Plain Layout
8505
8506 \series bold
8507 Vieider
8508 \end_layout
8509
8510 \end_inset
8511 </cell>
8512 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8513 \begin_inset Text
8514
8515 \begin_layout Plain Layout
8516 Hilde
8517 \end_layout
8518
8519 \end_inset
8520 </cell>
8521 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8522 \begin_inset Text
8523
8524 \begin_layout Plain Layout
8525 111
8526 \end_layout
8527
8528 \end_inset
8529 </cell>
8530 </row>
8531 <row>
8532 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8533 \begin_inset Text
8534
8535 \begin_layout Plain Layout
8536
8537 \series bold
8538 Vigna
8539 \end_layout
8540
8541 \end_inset
8542 </cell>
8543 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8544 \begin_inset Text
8545
8546 \begin_layout Plain Layout
8547 Jürgen
8548 \end_layout
8549
8550 \end_inset
8551 </cell>
8552 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8553 \begin_inset Text
8554
8555 \begin_layout Plain Layout
8556 111
8557 \end_layout
8558
8559 \end_inset
8560 </cell>
8561 </row>
8562 <row>
8563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8564 \begin_inset Text
8565
8566 \begin_layout Plain Layout
8567
8568 \series bold
8569 Weber
8570 \end_layout
8571
8572 \end_inset
8573 </cell>
8574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8575 \begin_inset Text
8576
8577 \begin_layout Plain Layout
8578 Maurizio
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8584 \begin_inset Text
8585
8586 \begin_layout Plain Layout
8587 111
8588 \end_layout
8589
8590 \end_inset
8591 </cell>
8592 </row>
8593 <row>
8594 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8595 \begin_inset Text
8596
8597 \begin_layout Plain Layout
8598
8599 \series bold
8600 Winkler
8601 \end_layout
8602
8603 \end_inset
8604 </cell>
8605 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Plain Layout
8609 Franz
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Plain Layout
8618 111
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 </row>
8624 <row>
8625 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8626 \begin_inset Text
8627
8628 \begin_layout Plain Layout
8629  
8630 \end_layout
8631
8632 \end_inset
8633 </cell>
8634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Plain Layout
8638
8639 \end_layout
8640
8641 \end_inset
8642 </cell>
8643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8644 \begin_inset Text
8645
8646 \begin_layout Plain Layout
8647
8648 \end_layout
8649
8650 \end_inset
8651 </cell>
8652 </row>
8653 <row>
8654 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Plain Layout
8658
8659 \series bold
8660 Annovi
8661 \end_layout
8662
8663 \end_inset
8664 </cell>
8665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8666 \begin_inset Text
8667
8668 \begin_layout Plain Layout
8669 Silvia
8670 \end_layout
8671
8672 \end_inset
8673 </cell>
8674 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8675 \begin_inset Text
8676
8677 \begin_layout Plain Layout
8678 555
8679 \end_layout
8680
8681 \end_inset
8682 </cell>
8683 </row>
8684 <row>
8685 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Plain Layout
8689
8690 \series bold
8691 Bertoli
8692 \end_layout
8693
8694 \end_inset
8695 </cell>
8696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8697 \begin_inset Text
8698
8699 \begin_layout Plain Layout
8700 Stefano
8701 \end_layout
8702
8703 \end_inset
8704 </cell>
8705 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8706 \begin_inset Text
8707
8708 \begin_layout Plain Layout
8709 555
8710 \end_layout
8711
8712 \end_inset
8713 </cell>
8714 </row>
8715 <row>
8716 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8717 \begin_inset Text
8718
8719 \begin_layout Plain Layout
8720
8721 \series bold
8722 Bozzi
8723 \end_layout
8724
8725 \end_inset
8726 </cell>
8727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8728 \begin_inset Text
8729
8730 \begin_layout Plain Layout
8731 Walter
8732 \end_layout
8733
8734 \end_inset
8735 </cell>
8736 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8737 \begin_inset Text
8738
8739 \begin_layout Plain Layout
8740 555
8741 \end_layout
8742
8743 \end_inset
8744 </cell>
8745 </row>
8746 <row>
8747 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8748 \begin_inset Text
8749
8750 \begin_layout Plain Layout
8751
8752 \series bold
8753 Cachia
8754 \end_layout
8755
8756 \end_inset
8757 </cell>
8758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8759 \begin_inset Text
8760
8761 \begin_layout Plain Layout
8762 Maria
8763 \end_layout
8764
8765 \end_inset
8766 </cell>
8767 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8768 \begin_inset Text
8769
8770 \begin_layout Plain Layout
8771 555
8772 \end_layout
8773
8774 \end_inset
8775 </cell>
8776 </row>
8777 <row>
8778 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8779 \begin_inset Text
8780
8781 \begin_layout Plain Layout
8782
8783 \series bold
8784 Cachia
8785 \end_layout
8786
8787 \end_inset
8788 </cell>
8789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8790 \begin_inset Text
8791
8792 \begin_layout Plain Layout
8793 Maurizio
8794 \end_layout
8795
8796 \end_inset
8797 </cell>
8798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8799 \begin_inset Text
8800
8801 \begin_layout Plain Layout
8802 555
8803 \end_layout
8804
8805 \end_inset
8806 </cell>
8807 </row>
8808 <row>
8809 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8810 \begin_inset Text
8811
8812 \begin_layout Plain Layout
8813
8814 \series bold
8815 Cinquemani
8816 \end_layout
8817
8818 \end_inset
8819 </cell>
8820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8821 \begin_inset Text
8822
8823 \begin_layout Plain Layout
8824 Giusi
8825 \end_layout
8826
8827 \end_inset
8828 </cell>
8829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8830 \begin_inset Text
8831
8832 \begin_layout Plain Layout
8833 555
8834 \end_layout
8835
8836 \end_inset
8837 </cell>
8838 </row>
8839 <row>
8840 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8841 \begin_inset Text
8842
8843 \begin_layout Plain Layout
8844
8845 \series bold
8846 Colin
8847 \end_layout
8848
8849 \end_inset
8850 </cell>
8851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8852 \begin_inset Text
8853
8854 \begin_layout Plain Layout
8855 Bernard
8856 \end_layout
8857
8858 \end_inset
8859 </cell>
8860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8861 \begin_inset Text
8862
8863 \begin_layout Plain Layout
8864 555
8865 \end_layout
8866
8867 \end_inset
8868 </cell>
8869 </row>
8870 <row>
8871 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8872 \begin_inset Text
8873
8874 \begin_layout Plain Layout
8875
8876 \series bold
8877 Concli
8878 \end_layout
8879
8880 \end_inset
8881 </cell>
8882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8883 \begin_inset Text
8884
8885 \begin_layout Plain Layout
8886 Gianfranco
8887 \end_layout
8888
8889 \end_inset
8890 </cell>
8891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8892 \begin_inset Text
8893
8894 \begin_layout Plain Layout
8895 555
8896 \end_layout
8897
8898 \end_inset
8899 </cell>
8900 </row>
8901 <row>
8902 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8903 \begin_inset Text
8904
8905 \begin_layout Plain Layout
8906
8907 \series bold
8908 Dal Bosco
8909 \end_layout
8910
8911 \end_inset
8912 </cell>
8913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8914 \begin_inset Text
8915
8916 \begin_layout Plain Layout
8917 Carolina
8918 \end_layout
8919
8920 \end_inset
8921 </cell>
8922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8923 \begin_inset Text
8924
8925 \begin_layout Plain Layout
8926 555
8927 \end_layout
8928
8929 \end_inset
8930 </cell>
8931 </row>
8932 <row>
8933 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8934 \begin_inset Text
8935
8936 \begin_layout Plain Layout
8937
8938 \series bold
8939 Dalpiaz
8940 \end_layout
8941
8942 \end_inset
8943 </cell>
8944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8945 \begin_inset Text
8946
8947 \begin_layout Plain Layout
8948 Annamaria
8949 \end_layout
8950
8951 \end_inset
8952 </cell>
8953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8954 \begin_inset Text
8955
8956 \begin_layout Plain Layout
8957 555
8958 \end_layout
8959
8960 \end_inset
8961 </cell>
8962 </row>
8963 <row>
8964 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8965 \begin_inset Text
8966
8967 \begin_layout Plain Layout
8968
8969 \series bold
8970 Feliciello
8971 \end_layout
8972
8973 \end_inset
8974 </cell>
8975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8976 \begin_inset Text
8977
8978 \begin_layout Plain Layout
8979 Domenico
8980 \end_layout
8981
8982 \end_inset
8983 </cell>
8984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8985 \begin_inset Text
8986
8987 \begin_layout Plain Layout
8988 555
8989 \end_layout
8990
8991 \end_inset
8992 </cell>
8993 </row>
8994 <row>
8995 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8996 \begin_inset Text
8997
8998 \begin_layout Plain Layout
8999
9000 \series bold
9001 Focarelli
9002 \end_layout
9003
9004 \end_inset
9005 </cell>
9006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9007 \begin_inset Text
9008
9009 \begin_layout Plain Layout
9010 Paola
9011 \end_layout
9012
9013 \end_inset
9014 </cell>
9015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9016 \begin_inset Text
9017
9018 \begin_layout Plain Layout
9019 555
9020 \end_layout
9021
9022 \end_inset
9023 </cell>
9024 </row>
9025 <row>
9026 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9027 \begin_inset Text
9028
9029 \begin_layout Plain Layout
9030
9031 \series bold
9032 Galletti
9033 \end_layout
9034
9035 \end_inset
9036 </cell>
9037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9038 \begin_inset Text
9039
9040 \begin_layout Plain Layout
9041 Oreste
9042 \end_layout
9043
9044 \end_inset
9045 </cell>
9046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9047 \begin_inset Text
9048
9049 \begin_layout Plain Layout
9050 555
9051 \end_layout
9052
9053 \end_inset
9054 </cell>
9055 </row>
9056 <row>
9057 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9058 \begin_inset Text
9059
9060 \begin_layout Plain Layout
9061
9062 \series bold
9063 Gasparini
9064 \end_layout
9065
9066 \end_inset
9067 </cell>
9068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9069 \begin_inset Text
9070
9071 \begin_layout Plain Layout
9072 Franca
9073 \end_layout
9074
9075 \end_inset
9076 </cell>
9077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9078 \begin_inset Text
9079
9080 \begin_layout Plain Layout
9081 555
9082 \end_layout
9083
9084 \end_inset
9085 </cell>
9086 </row>
9087 <row>
9088 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9089 \begin_inset Text
9090
9091 \begin_layout Plain Layout
9092
9093 \series bold
9094 Rizzardi
9095 \end_layout
9096
9097 \end_inset
9098 </cell>
9099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9100 \begin_inset Text
9101
9102 \begin_layout Plain Layout
9103 Paola
9104 \end_layout
9105
9106 \end_inset
9107 </cell>
9108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9109 \begin_inset Text
9110
9111 \begin_layout Plain Layout
9112 555
9113 \end_layout
9114
9115 \end_inset
9116 </cell>
9117 </row>
9118 <row>
9119 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9120 \begin_inset Text
9121
9122 \begin_layout Plain Layout
9123
9124 \series bold
9125 Lassini
9126 \end_layout
9127
9128 \end_inset
9129 </cell>
9130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9131 \begin_inset Text
9132
9133 \begin_layout Plain Layout
9134 Giancarlo
9135 \end_layout
9136
9137 \end_inset
9138 </cell>
9139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9140 \begin_inset Text
9141
9142 \begin_layout Plain Layout
9143 555
9144 \end_layout
9145
9146 \end_inset
9147 </cell>
9148 </row>
9149 <row>
9150 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9151 \begin_inset Text
9152
9153 \begin_layout Plain Layout
9154
9155 \series bold
9156 Malfatti
9157 \end_layout
9158
9159 \end_inset
9160 </cell>
9161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9162 \begin_inset Text
9163
9164 \begin_layout Plain Layout
9165 Luciano
9166 \end_layout
9167
9168 \end_inset
9169 </cell>
9170 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9171 \begin_inset Text
9172
9173 \begin_layout Plain Layout
9174 555
9175 \end_layout
9176
9177 \end_inset
9178 </cell>
9179 </row>
9180 <row>
9181 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9182 \begin_inset Text
9183
9184 \begin_layout Plain Layout
9185
9186 \series bold
9187 Malfatti
9188 \end_layout
9189
9190 \end_inset
9191 </cell>
9192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9193 \begin_inset Text
9194
9195 \begin_layout Plain Layout
9196 Valeriano
9197 \end_layout
9198
9199 \end_inset
9200 </cell>
9201 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9202 \begin_inset Text
9203
9204 \begin_layout Plain Layout
9205 555
9206 \end_layout
9207
9208 \end_inset
9209 </cell>
9210 </row>
9211 <row>
9212 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9213 \begin_inset Text
9214
9215 \begin_layout Plain Layout
9216
9217 \series bold
9218 Meneguzzo
9219 \end_layout
9220
9221 \end_inset
9222 </cell>
9223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9224 \begin_inset Text
9225
9226 \begin_layout Plain Layout
9227 Roberto
9228 \end_layout
9229
9230 \end_inset
9231 </cell>
9232 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9233 \begin_inset Text
9234
9235 \begin_layout Plain Layout
9236 555
9237 \end_layout
9238
9239 \end_inset
9240 </cell>
9241 </row>
9242 <row>
9243 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9244 \begin_inset Text
9245
9246 \begin_layout Plain Layout
9247
9248 \series bold
9249 Mezzadra
9250 \end_layout
9251
9252 \end_inset
9253 </cell>
9254 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9255 \begin_inset Text
9256
9257 \begin_layout Plain Layout
9258 Roberto
9259 \end_layout
9260
9261 \end_inset
9262 </cell>
9263 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9264 \begin_inset Text
9265
9266 \begin_layout Plain Layout
9267 555
9268 \end_layout
9269
9270 \end_inset
9271 </cell>
9272 </row>
9273 </lyxtabular>
9274
9275 \end_inset
9276
9277
9278 \end_layout
9279
9280 \begin_layout Section
9281 Special Longtable Issues
9282 \begin_inset CommandInset label
9283 LatexCommand label
9284 name "sec:Special-Longtable-Issues"
9285
9286 \end_inset
9287
9288
9289 \end_layout
9290
9291 \begin_layout Subsection
9292 Longtable Calculation
9293 \begin_inset Index
9294 status collapsed
9295
9296 \begin_layout Plain Layout
9297 Longtables ! Calculation
9298 \end_layout
9299
9300 \end_inset
9301
9302
9303 \end_layout
9304
9305 \begin_layout Standard
9306 LaTeX calculates the height of table pages and their page breaks using so
9307  called chunks.
9308  Chunks are pieces of the tables that are at once in LaTeX's memory.
9309  The default value is historically set to only 20 table rows.
9310  If you are using longtables with many pages this may slow down the creation
9311  of your document.
9312  You can safely increase the chunk size to values of 100-1000 by adding
9313  this command line to your document preamble:
9314 \end_layout
9315
9316 \begin_layout Standard
9317
9318 \series bold
9319
9320 \backslash
9321 setcounter{LTchunksize}{100}
9322 \end_layout
9323
9324 \begin_layout Subsection
9325 Floats and Longtables
9326 \begin_inset Index
9327 status collapsed
9328
9329 \begin_layout Plain Layout
9330 Longtables ! Floats
9331 \end_layout
9332
9333 \end_inset
9334
9335
9336 \end_layout
9337
9338 \begin_layout Standard
9339 There might be problems when a float appears on the same page where a longtable
9340  starts.
9341  To avoid such situation, add the command 
9342 \series bold
9343
9344 \backslash
9345 clearpage
9346 \series default
9347  as TeX-Code before your longtable.
9348 \end_layout
9349
9350 \begin_layout Subsection
9351 Forced Page Breaks
9352 \begin_inset Index
9353 status collapsed
9354
9355 \begin_layout Plain Layout
9356 Longtables ! Forced Page Breaks
9357 \end_layout
9358
9359 \end_inset
9360
9361
9362 \end_layout
9363
9364 \begin_layout Standard
9365 By default tables are only broken between rows.
9366  If you have a cell with multiples lines and want to have a page break within
9367  the cell, insert the new line command 
9368 \begin_inset Quotes eld
9369 \end_inset
9370
9371
9372 \series bold
9373
9374 \backslash
9375
9376 \backslash
9377
9378 \series default
9379
9380 \begin_inset Quotes erd
9381 \end_inset
9382
9383  as TeX-Code at this point of the cell where it should be broken.
9384  Before the 
9385 \series bold
9386
9387 \backslash
9388
9389 \backslash
9390
9391 \series default
9392  command you have to insert in TeX-Code so many 
9393 \begin_inset Quotes eld
9394 \end_inset
9395
9396
9397 \series bold
9398 &
9399 \series default
9400
9401 \begin_inset Quotes erd
9402 \end_inset
9403
9404  characters like the number of the following table columns.
9405  The 
9406 \series bold
9407 &
9408 \series default
9409  is the character to separate table cells.
9410  Write in TeX-Code after each 
9411 \series bold
9412 &
9413 \series default
9414  the content of the corresponding following cell and delete the content
9415  of these cells.
9416 \begin_inset Newline newline
9417 \end_inset
9418
9419 Behind the the 
9420 \series bold
9421
9422 \backslash
9423
9424 \backslash
9425
9426 \series default
9427  command, insert so many 
9428 \series bold
9429 &
9430 \series default
9431  characters like the number of table columns before the current column.
9432  In Table
9433 \begin_inset Space ~
9434 \end_inset
9435
9436
9437 \begin_inset CommandInset ref
9438 LatexCommand ref
9439 reference "tab:ForcedPagebreak"
9440
9441 \end_inset
9442
9443  the cell that should be broken is in the second column followed by another
9444  column.
9445  Therefore the following command was inserted in the cell as TeX-Code behind
9446  
9447 \begin_inset Quotes eld
9448 \end_inset
9449
9450
9451 \emph on
9452 Castelchiodato,
9453 \emph default
9454
9455 \begin_inset Quotes erd
9456 \end_inset
9457
9458 :
9459 \end_layout
9460
9461 \begin_layout Standard
9462
9463 \series bold
9464 & 111
9465 \backslash
9466
9467 \backslash
9468
9469 \begin_inset Newline newline
9470 \end_inset
9471
9472 &
9473 \end_layout
9474
9475 \begin_layout Standard
9476 The 
9477 \begin_inset Quotes eld
9478 \end_inset
9479
9480 111
9481 \begin_inset Quotes erd
9482 \end_inset
9483
9484  in the third columns of the row was deleted.
9485  If your footer row of the longtable has for a certain reason no upper line
9486  but you would have a horizontal line where the cell is broken, use this
9487  command instead:
9488 \end_layout
9489
9490 \begin_layout Standard
9491
9492 \series bold
9493 & 111
9494 \backslash
9495
9496 \backslash
9497
9498 \begin_inset Newline newline
9499 \end_inset
9500
9501
9502 \backslash
9503 hline &
9504 \end_layout
9505
9506 \begin_layout Standard
9507 When the cell to be broken is in the last column, the command
9508 \end_layout
9509
9510 \begin_layout Standard
9511
9512 \series bold
9513
9514 \backslash
9515 setlength{
9516 \backslash
9517 parfillskip}{0pt}
9518 \end_layout
9519
9520 \begin_layout Standard
9521 must be inserted as TeX-Code at the beginning of the cell.
9522  This assures that the part of the cell that will be displayed on the new
9523  page appears with the full width.
9524 \end_layout
9525
9526 \begin_layout Standard
9527 \align center
9528 \begin_inset Tabular
9529 <lyxtabular version="3" rows="38" columns="3">
9530 <features islongtable="true">
9531 <column alignment="left" valignment="top" width="0cm">
9532 <column alignment="left" valignment="top" width="3cm">
9533 <column alignment="center" valignment="top" width="0pt">
9534 <row endfirsthead="true" caption="true">
9535 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
9536 \begin_inset Text
9537
9538 \begin_layout Plain Layout
9539 \begin_inset Caption
9540
9541 \begin_layout Plain Layout
9542 Table with forced page break in table cell
9543 \begin_inset CommandInset label
9544 LatexCommand label
9545 name "tab:ForcedPagebreak"
9546
9547 \end_inset
9548
9549
9550 \begin_inset OptArg
9551 status collapsed
9552
9553 \begin_layout Plain Layout
9554 Table with forced page break in table cell
9555 \end_layout
9556
9557 \end_inset
9558
9559
9560 \end_layout
9561
9562 \end_inset
9563
9564
9565 \end_layout
9566
9567 \end_inset
9568 </cell>
9569 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9570 \begin_inset Text
9571
9572 \begin_layout Plain Layout
9573
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Plain Layout
9582
9583 \end_layout
9584
9585 \end_inset
9586 </cell>
9587 </row>
9588 <row endfirsthead="true">
9589 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9590 \begin_inset Text
9591
9592 \begin_layout Plain Layout
9593
9594 \series bold
9595 Example Phone List (ignore the names)
9596 \end_layout
9597
9598 \end_inset
9599 </cell>
9600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9601 \begin_inset Text
9602
9603 \begin_layout Plain Layout
9604
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9610 \begin_inset Text
9611
9612 \begin_layout Plain Layout
9613
9614 \end_layout
9615
9616 \end_inset
9617 </cell>
9618 </row>
9619 <row endfirsthead="true">
9620 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9621 \begin_inset Text
9622
9623 \begin_layout Plain Layout
9624
9625 \series bold
9626 NAME
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9632 \begin_inset Text
9633
9634 \begin_layout Plain Layout
9635
9636 \end_layout
9637
9638 \end_inset
9639 </cell>
9640 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9641 \begin_inset Text
9642
9643 \begin_layout Plain Layout
9644
9645 \series bold
9646 TEL.
9647 \end_layout
9648
9649 \end_inset
9650 </cell>
9651 </row>
9652 <row endhead="true" caption="true">
9653 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Plain Layout
9657 \begin_inset ERT
9658 status collapsed
9659
9660 \begin_layout Plain Layout
9661
9662
9663 \backslash
9664 caption*{Continued table with forced page break in table cell}
9665 \backslash
9666
9667 \backslash
9668 %
9669 \end_layout
9670
9671 \end_inset
9672
9673
9674 \end_layout
9675
9676 \end_inset
9677 </cell>
9678 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9679 \begin_inset Text
9680
9681 \begin_layout Plain Layout
9682
9683 \end_layout
9684
9685 \end_inset
9686 </cell>
9687 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9688 \begin_inset Text
9689
9690 \begin_layout Plain Layout
9691
9692 \end_layout
9693
9694 \end_inset
9695 </cell>
9696 </row>
9697 <row endhead="true">
9698 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9699 \begin_inset Text
9700
9701 \begin_layout Plain Layout
9702  
9703 \series bold
9704 Example Phone List
9705 \end_layout
9706
9707 \end_inset
9708 </cell>
9709 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9710 \begin_inset Text
9711
9712 \begin_layout Plain Layout
9713
9714 \end_layout
9715
9716 \end_inset
9717 </cell>
9718 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9719 \begin_inset Text
9720
9721 \begin_layout Plain Layout
9722
9723 \end_layout
9724
9725 \end_inset
9726 </cell>
9727 </row>
9728 <row endhead="true">
9729 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9730 \begin_inset Text
9731
9732 \begin_layout Plain Layout
9733
9734 \series bold
9735 NAME
9736 \end_layout
9737
9738 \end_inset
9739 </cell>
9740 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9741 \begin_inset Text
9742
9743 \begin_layout Plain Layout
9744
9745 \end_layout
9746
9747 \end_inset
9748 </cell>
9749 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9750 \begin_inset Text
9751
9752 \begin_layout Plain Layout
9753
9754 \series bold
9755 TEL.
9756 \end_layout
9757
9758 \end_inset
9759 </cell>
9760 </row>
9761 <row endfoot="true">
9762 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9763 \begin_inset Text
9764
9765 \begin_layout Plain Layout
9766 continued on next page
9767 \end_layout
9768
9769 \end_inset
9770 </cell>
9771 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9772 \begin_inset Text
9773
9774 \begin_layout Plain Layout
9775
9776 \end_layout
9777
9778 \end_inset
9779 </cell>
9780 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9781 \begin_inset Text
9782
9783 \begin_layout Plain Layout
9784
9785 \end_layout
9786
9787 \end_inset
9788 </cell>
9789 </row>
9790 <row>
9791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9792 \begin_inset Text
9793
9794 \begin_layout Plain Layout
9795
9796 \series bold
9797 Annovi
9798 \end_layout
9799
9800 \end_inset
9801 </cell>
9802 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9803 \begin_inset Text
9804
9805 \begin_layout Plain Layout
9806 Silvia
9807 \end_layout
9808
9809 \end_inset
9810 </cell>
9811 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9812 \begin_inset Text
9813
9814 \begin_layout Plain Layout
9815 111
9816 \end_layout
9817
9818 \end_inset
9819 </cell>
9820 </row>
9821 <row>
9822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9823 \begin_inset Text
9824
9825 \begin_layout Plain Layout
9826
9827 \series bold
9828 Bertoli
9829 \end_layout
9830
9831 \end_inset
9832 </cell>
9833 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9834 \begin_inset Text
9835
9836 \begin_layout Plain Layout
9837 Stefano
9838 \end_layout
9839
9840 \end_inset
9841 </cell>
9842 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9843 \begin_inset Text
9844
9845 \begin_layout Plain Layout
9846 111
9847 \end_layout
9848
9849 \end_inset
9850 </cell>
9851 </row>
9852 <row>
9853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9854 \begin_inset Text
9855
9856 \begin_layout Plain Layout
9857
9858 \series bold
9859 Bozzi
9860 \end_layout
9861
9862 \end_inset
9863 </cell>
9864 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9865 \begin_inset Text
9866
9867 \begin_layout Plain Layout
9868 Walter
9869 \end_layout
9870
9871 \end_inset
9872 </cell>
9873 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9874 \begin_inset Text
9875
9876 \begin_layout Plain Layout
9877 111
9878 \end_layout
9879
9880 \end_inset
9881 </cell>
9882 </row>
9883 <row>
9884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9885 \begin_inset Text
9886
9887 \begin_layout Plain Layout
9888
9889 \series bold
9890 Cachia
9891 \end_layout
9892
9893 \end_inset
9894 </cell>
9895 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9896 \begin_inset Text
9897
9898 \begin_layout Plain Layout
9899 Maria
9900 \end_layout
9901
9902 \end_inset
9903 </cell>
9904 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9905 \begin_inset Text
9906
9907 \begin_layout Plain Layout
9908 111
9909 \end_layout
9910
9911 \end_inset
9912 </cell>
9913 </row>
9914 <row>
9915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9916 \begin_inset Text
9917
9918 \begin_layout Plain Layout
9919
9920 \series bold
9921 Cachia
9922 \end_layout
9923
9924 \end_inset
9925 </cell>
9926 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9927 \begin_inset Text
9928
9929 \begin_layout Plain Layout
9930 Maurizio
9931 \end_layout
9932
9933 \end_inset
9934 </cell>
9935 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9936 \begin_inset Text
9937
9938 \begin_layout Plain Layout
9939 111
9940 \end_layout
9941
9942 \end_inset
9943 </cell>
9944 </row>
9945 <row>
9946 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9947 \begin_inset Text
9948
9949 \begin_layout Plain Layout
9950
9951 \series bold
9952 Cinquemani
9953 \end_layout
9954
9955 \end_inset
9956 </cell>
9957 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9958 \begin_inset Text
9959
9960 \begin_layout Plain Layout
9961 Giusi
9962 \end_layout
9963
9964 \end_inset
9965 </cell>
9966 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9967 \begin_inset Text
9968
9969 \begin_layout Plain Layout
9970 111
9971 \end_layout
9972
9973 \end_inset
9974 </cell>
9975 </row>
9976 <row>
9977 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9978 \begin_inset Text
9979
9980 \begin_layout Plain Layout
9981
9982 \series bold
9983 Colin
9984 \end_layout
9985
9986 \end_inset
9987 </cell>
9988 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9989 \begin_inset Text
9990
9991 \begin_layout Plain Layout
9992 Bernard
9993 \end_layout
9994
9995 \end_inset
9996 </cell>
9997 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9998 \begin_inset Text
9999
10000 \begin_layout Plain Layout
10001 111
10002 \end_layout
10003
10004 \end_inset
10005 </cell>
10006 </row>
10007 <row>
10008 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Plain Layout
10012
10013 \series bold
10014 Concli
10015 \end_layout
10016
10017 \end_inset
10018 </cell>
10019 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10020 \begin_inset Text
10021
10022 \begin_layout Plain Layout
10023 Gianfranco
10024 \end_layout
10025
10026 \end_inset
10027 </cell>
10028 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10029 \begin_inset Text
10030
10031 \begin_layout Plain Layout
10032 111
10033 \end_layout
10034
10035 \end_inset
10036 </cell>
10037 </row>
10038 <row>
10039 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10040 \begin_inset Text
10041
10042 \begin_layout Plain Layout
10043
10044 \series bold
10045 Dal Bosco
10046 \end_layout
10047
10048 \end_inset
10049 </cell>
10050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10051 \begin_inset Text
10052
10053 \begin_layout Plain Layout
10054 Carolina
10055 \end_layout
10056
10057 \end_inset
10058 </cell>
10059 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10060 \begin_inset Text
10061
10062 \begin_layout Plain Layout
10063 111
10064 \end_layout
10065
10066 \end_inset
10067 </cell>
10068 </row>
10069 <row>
10070 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10071 \begin_inset Text
10072
10073 \begin_layout Plain Layout
10074
10075 \series bold
10076 Dalpiaz
10077 \end_layout
10078
10079 \end_inset
10080 </cell>
10081 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10082 \begin_inset Text
10083
10084 \begin_layout Plain Layout
10085 Annamaria
10086 \end_layout
10087
10088 \end_inset
10089 </cell>
10090 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10091 \begin_inset Text
10092
10093 \begin_layout Plain Layout
10094 111
10095 \end_layout
10096
10097 \end_inset
10098 </cell>
10099 </row>
10100 <row>
10101 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10102 \begin_inset Text
10103
10104 \begin_layout Plain Layout
10105
10106 \series bold
10107 Feliciello
10108 \end_layout
10109
10110 \end_inset
10111 </cell>
10112 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10113 \begin_inset Text
10114
10115 \begin_layout Plain Layout
10116 Domenico
10117 \end_layout
10118
10119 \end_inset
10120 </cell>
10121 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10122 \begin_inset Text
10123
10124 \begin_layout Plain Layout
10125 111
10126 \end_layout
10127
10128 \end_inset
10129 </cell>
10130 </row>
10131 <row>
10132 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10133 \begin_inset Text
10134
10135 \begin_layout Plain Layout
10136
10137 \series bold
10138 Focarelli
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Plain Layout
10147 Paola
10148 \end_layout
10149
10150 \end_inset
10151 </cell>
10152 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Plain Layout
10156 111
10157 \end_layout
10158
10159 \end_inset
10160 </cell>
10161 </row>
10162 <row>
10163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10164 \begin_inset Text
10165
10166 \begin_layout Plain Layout
10167
10168 \series bold
10169 Galletti
10170 \end_layout
10171
10172 \end_inset
10173 </cell>
10174 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10175 \begin_inset Text
10176
10177 \begin_layout Plain Layout
10178 Oreste
10179 \end_layout
10180
10181 \end_inset
10182 </cell>
10183 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10184 \begin_inset Text
10185
10186 \begin_layout Plain Layout
10187 111
10188 \end_layout
10189
10190 \end_inset
10191 </cell>
10192 </row>
10193 <row>
10194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Plain Layout
10198
10199 \series bold
10200 Gasparini
10201 \end_layout
10202
10203 \end_inset
10204 </cell>
10205 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10206 \begin_inset Text
10207
10208 \begin_layout Plain Layout
10209 Franca
10210 \end_layout
10211
10212 \end_inset
10213 </cell>
10214 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10215 \begin_inset Text
10216
10217 \begin_layout Plain Layout
10218 111
10219 \end_layout
10220
10221 \end_inset
10222 </cell>
10223 </row>
10224 <row>
10225 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10226 \begin_inset Text
10227
10228 \begin_layout Plain Layout
10229
10230 \series bold
10231 Lassini
10232 \end_layout
10233
10234 \end_inset
10235 </cell>
10236 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10237 \begin_inset Text
10238
10239 \begin_layout Plain Layout
10240 Giancarlo
10241 \end_layout
10242
10243 \end_inset
10244 </cell>
10245 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10246 \begin_inset Text
10247
10248 \begin_layout Plain Layout
10249 111
10250 \end_layout
10251
10252 \end_inset
10253 </cell>
10254 </row>
10255 <row>
10256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10257 \begin_inset Text
10258
10259 \begin_layout Plain Layout
10260
10261 \series bold
10262 Malfatti
10263 \end_layout
10264
10265 \end_inset
10266 </cell>
10267 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10268 \begin_inset Text
10269
10270 \begin_layout Plain Layout
10271 Luciano
10272 \end_layout
10273
10274 \end_inset
10275 </cell>
10276 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10277 \begin_inset Text
10278
10279 \begin_layout Plain Layout
10280 111
10281 \end_layout
10282
10283 \end_inset
10284 </cell>
10285 </row>
10286 <row>
10287 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10288 \begin_inset Text
10289
10290 \begin_layout Plain Layout
10291
10292 \series bold
10293 Malfatti
10294 \end_layout
10295
10296 \end_inset
10297 </cell>
10298 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10299 \begin_inset Text
10300
10301 \begin_layout Plain Layout
10302 Valeriano
10303 \end_layout
10304
10305 \end_inset
10306 </cell>
10307 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10308 \begin_inset Text
10309
10310 \begin_layout Plain Layout
10311 111
10312 \end_layout
10313
10314 \end_inset
10315 </cell>
10316 </row>
10317 <row>
10318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10319 \begin_inset Text
10320
10321 \begin_layout Plain Layout
10322
10323 \series bold
10324 Meneguzzo
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10330 \begin_inset Text
10331
10332 \begin_layout Plain Layout
10333 Roberto
10334 \end_layout
10335
10336 \end_inset
10337 </cell>
10338 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10339 \begin_inset Text
10340
10341 \begin_layout Plain Layout
10342 111
10343 \end_layout
10344
10345 \end_inset
10346 </cell>
10347 </row>
10348 <row>
10349 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Plain Layout
10353
10354 \series bold
10355 Mezzadra
10356 \end_layout
10357
10358 \end_inset
10359 </cell>
10360 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10361 \begin_inset Text
10362
10363 \begin_layout Plain Layout
10364 Roberto
10365 \end_layout
10366
10367 \end_inset
10368 </cell>
10369 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10370 \begin_inset Text
10371
10372 \begin_layout Plain Layout
10373 111
10374 \end_layout
10375
10376 \end_inset
10377 </cell>
10378 </row>
10379 <row>
10380 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10381 \begin_inset Text
10382
10383 \begin_layout Plain Layout
10384
10385 \series bold
10386 Pirpamer
10387 \end_layout
10388
10389 \end_inset
10390 </cell>
10391 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10392 \begin_inset Text
10393
10394 \begin_layout Plain Layout
10395 Erich
10396 \end_layout
10397
10398 \end_inset
10399 </cell>
10400 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10401 \begin_inset Text
10402
10403 \begin_layout Plain Layout
10404 111
10405 \end_layout
10406
10407 \end_inset
10408 </cell>
10409 </row>
10410 <row>
10411 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10412 \begin_inset Text
10413
10414 \begin_layout Plain Layout
10415
10416 \series bold
10417 Pochiesa
10418 \end_layout
10419
10420 \end_inset
10421 </cell>
10422 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10423 \begin_inset Text
10424
10425 \begin_layout Plain Layout
10426 Paolo
10427 \end_layout
10428
10429 \end_inset
10430 </cell>
10431 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10432 \begin_inset Text
10433
10434 \begin_layout Plain Layout
10435 111, 222
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 </row>
10441 <row>
10442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10443 \begin_inset Text
10444
10445 \begin_layout Plain Layout
10446
10447 \series bold
10448 Radina
10449 \end_layout
10450
10451 \end_inset
10452 </cell>
10453 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10454 \begin_inset Text
10455
10456 \begin_layout Plain Layout
10457 Claudio
10458 \end_layout
10459
10460 \end_inset
10461 </cell>
10462 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10463 \begin_inset Text
10464
10465 \begin_layout Plain Layout
10466 111
10467 \end_layout
10468
10469 \end_inset
10470 </cell>
10471 </row>
10472 <row>
10473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10474 \begin_inset Text
10475
10476 \begin_layout Plain Layout
10477
10478 \series bold
10479 Rizzardi
10480 \end_layout
10481
10482 \end_inset
10483 </cell>
10484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10485 \begin_inset Text
10486
10487 \begin_layout Plain Layout
10488 Paolo, 11.
10489  Fürst von Montecompatri, 11.
10490  Fürst von Sulmona und Vivaro, 10.
10491  Fürst von Rossano, 5.
10492  Herzog von Canemorte, 11.
10493  Herzog von Palombara, 5.
10494  Herzog von Castelchiodato,
10495 \begin_inset ERT
10496 status open
10497
10498 \begin_layout Plain Layout
10499
10500 & 111
10501 \backslash
10502
10503 \backslash
10504
10505 \end_layout
10506
10507 \begin_layout Plain Layout
10508
10509 &
10510 \end_layout
10511
10512 \end_inset
10513
10514  11.
10515  Herzog von Poggionativo, 11.
10516  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10517  Graf von Valinfreda, 11.
10518  Baron von Cropalati, 11.
10519  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10520 \end_layout
10521
10522 \end_inset
10523 </cell>
10524 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10525 \begin_inset Text
10526
10527 \begin_layout Plain Layout
10528
10529 \end_layout
10530
10531 \end_inset
10532 </cell>
10533 </row>
10534 <row>
10535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10536 \begin_inset Text
10537
10538 \begin_layout Plain Layout
10539
10540 \series bold
10541 Stuffer
10542 \end_layout
10543
10544 \end_inset
10545 </cell>
10546 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10547 \begin_inset Text
10548
10549 \begin_layout Plain Layout
10550 Oskar
10551 \end_layout
10552
10553 \end_inset
10554 </cell>
10555 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10556 \begin_inset Text
10557
10558 \begin_layout Plain Layout
10559 111
10560 \end_layout
10561
10562 \end_inset
10563 </cell>
10564 </row>
10565 <row>
10566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10567 \begin_inset Text
10568
10569 \begin_layout Plain Layout
10570
10571 \series bold
10572 Tacchelli
10573 \end_layout
10574
10575 \end_inset
10576 </cell>
10577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10578 \begin_inset Text
10579
10580 \begin_layout Plain Layout
10581 Ugo
10582 \end_layout
10583
10584 \end_inset
10585 </cell>
10586 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10587 \begin_inset Text
10588
10589 \begin_layout Plain Layout
10590 111
10591 \end_layout
10592
10593 \end_inset
10594 </cell>
10595 </row>
10596 <row>
10597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10598 \begin_inset Text
10599
10600 \begin_layout Plain Layout
10601
10602 \series bold
10603 Tezzele
10604 \end_layout
10605
10606 \end_inset
10607 </cell>
10608 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10609 \begin_inset Text
10610
10611 \begin_layout Plain Layout
10612 Margit
10613 \end_layout
10614
10615 \end_inset
10616 </cell>
10617 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10618 \begin_inset Text
10619
10620 \begin_layout Plain Layout
10621 111
10622 \end_layout
10623
10624 \end_inset
10625 </cell>
10626 </row>
10627 <row>
10628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10629 \begin_inset Text
10630
10631 \begin_layout Plain Layout
10632
10633 \series bold
10634 Unterkalmsteiner
10635 \end_layout
10636
10637 \end_inset
10638 </cell>
10639 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10640 \begin_inset Text
10641
10642 \begin_layout Plain Layout
10643 Frieda
10644 \end_layout
10645
10646 \end_inset
10647 </cell>
10648 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10649 \begin_inset Text
10650
10651 \begin_layout Plain Layout
10652 111
10653 \end_layout
10654
10655 \end_inset
10656 </cell>
10657 </row>
10658 <row>
10659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10660 \begin_inset Text
10661
10662 \begin_layout Plain Layout
10663
10664 \series bold
10665 Vieider
10666 \end_layout
10667
10668 \end_inset
10669 </cell>
10670 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10671 \begin_inset Text
10672
10673 \begin_layout Plain Layout
10674 Hilde
10675 \end_layout
10676
10677 \end_inset
10678 </cell>
10679 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10680 \begin_inset Text
10681
10682 \begin_layout Plain Layout
10683 111
10684 \end_layout
10685
10686 \end_inset
10687 </cell>
10688 </row>
10689 <row>
10690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10691 \begin_inset Text
10692
10693 \begin_layout Plain Layout
10694
10695 \series bold
10696 Vigna
10697 \end_layout
10698
10699 \end_inset
10700 </cell>
10701 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10702 \begin_inset Text
10703
10704 \begin_layout Plain Layout
10705 Jürgen
10706 \end_layout
10707
10708 \end_inset
10709 </cell>
10710 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10711 \begin_inset Text
10712
10713 \begin_layout Plain Layout
10714 111
10715 \end_layout
10716
10717 \end_inset
10718 </cell>
10719 </row>
10720 <row>
10721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10722 \begin_inset Text
10723
10724 \begin_layout Plain Layout
10725
10726 \series bold
10727 Weber
10728 \end_layout
10729
10730 \end_inset
10731 </cell>
10732 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10733 \begin_inset Text
10734
10735 \begin_layout Plain Layout
10736 Maurizio
10737 \end_layout
10738
10739 \end_inset
10740 </cell>
10741 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10742 \begin_inset Text
10743
10744 \begin_layout Plain Layout
10745 111
10746 \end_layout
10747
10748 \end_inset
10749 </cell>
10750 </row>
10751 <row>
10752 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10753 \begin_inset Text
10754
10755 \begin_layout Plain Layout
10756
10757 \series bold
10758 Winkler
10759 \end_layout
10760
10761 \end_inset
10762 </cell>
10763 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10764 \begin_inset Text
10765
10766 \begin_layout Plain Layout
10767 Franz
10768 \end_layout
10769
10770 \end_inset
10771 </cell>
10772 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10773 \begin_inset Text
10774
10775 \begin_layout Plain Layout
10776 111
10777 \end_layout
10778
10779 \end_inset
10780 </cell>
10781 </row>
10782 </lyxtabular>
10783
10784 \end_inset
10785
10786
10787 \end_layout
10788
10789 \begin_layout Standard
10790 \begin_inset Newpage newpage
10791 \end_inset
10792
10793
10794 \end_layout
10795
10796 \begin_layout Section
10797 Multiple Lines Columns and Rows
10798 \end_layout
10799
10800 \begin_layout Subsection
10801 Multiple Lines in Table Cells
10802 \begin_inset CommandInset label
10803 LatexCommand label
10804 name "sub:Multiple-Lines-in"
10805
10806 \end_inset
10807
10808
10809 \begin_inset Index
10810 status collapsed
10811
10812 \begin_layout Plain Layout
10813 Multiple Lines in Table Cells
10814 \end_layout
10815
10816 \end_inset
10817
10818
10819 \begin_inset Index
10820 status collapsed
10821
10822 \begin_layout Plain Layout
10823 Table ! Linebreaks
10824 \end_layout
10825
10826 \end_inset
10827
10828
10829 \end_layout
10830
10831 \begin_layout Standard
10832 \align center
10833 \begin_inset Float table
10834 placement H
10835 wide false
10836 sideways false
10837 status open
10838
10839 \begin_layout Plain Layout
10840 \begin_inset Caption
10841
10842 \begin_layout Plain Layout
10843 \begin_inset CommandInset label
10844 LatexCommand label
10845 name "tab:Table-with-multiple"
10846
10847 \end_inset
10848
10849 Table with multiple lines in cells
10850 \end_layout
10851
10852 \end_inset
10853
10854
10855 \end_layout
10856
10857 \begin_layout Plain Layout
10858 \align center
10859 \begin_inset Tabular
10860 <lyxtabular version="3" rows="3" columns="3">
10861 <features>
10862 <column alignment="center" valignment="middle" width="2.5cm">
10863 <column alignment="center" valignment="middle" width="0">
10864 <column alignment="center" valignment="middle" width="0">
10865 <row>
10866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10867 \begin_inset Text
10868
10869 \begin_layout Plain Layout
10870 multiple
10871 \begin_inset ERT
10872 status collapsed
10873
10874 \begin_layout Plain Layout
10875
10876
10877 \backslash
10878 linebreak 
10879 \end_layout
10880
10881 \end_inset
10882
10883 lines
10884 \end_layout
10885
10886 \end_inset
10887 </cell>
10888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10889 \begin_inset Text
10890
10891 \begin_layout Plain Layout
10892 b
10893 \end_layout
10894
10895 \end_inset
10896 </cell>
10897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10898 \begin_inset Text
10899
10900 \begin_layout Plain Layout
10901 c
10902 \end_layout
10903
10904 \end_inset
10905 </cell>
10906 </row>
10907 <row>
10908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10909 \begin_inset Text
10910
10911 \begin_layout Plain Layout
10912 d
10913 \end_layout
10914
10915 \end_inset
10916 </cell>
10917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10918 \begin_inset Text
10919
10920 \begin_layout Plain Layout
10921 e
10922 \end_layout
10923
10924 \end_inset
10925 </cell>
10926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10927 \begin_inset Text
10928
10929 \begin_layout Plain Layout
10930 f
10931 \end_layout
10932
10933 \end_inset
10934 </cell>
10935 </row>
10936 <row>
10937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10938 \begin_inset Text
10939
10940 \begin_layout Plain Layout
10941 g
10942 \end_layout
10943
10944 \end_inset
10945 </cell>
10946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10947 \begin_inset Text
10948
10949 \begin_layout Plain Layout
10950 h
10951 \end_layout
10952
10953 \end_inset
10954 </cell>
10955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10956 \begin_inset Text
10957
10958 \begin_layout Plain Layout
10959 i
10960 \end_layout
10961
10962 \end_inset
10963 </cell>
10964 </row>
10965 </lyxtabular>
10966
10967 \end_inset
10968
10969
10970 \end_layout
10971
10972 \end_inset
10973
10974
10975 \end_layout
10976
10977 \begin_layout Standard
10978 Adjusting a fixed width for a column, enables to enter text as a paragraph
10979  with multiple lines and hyphenations.
10980 \end_layout
10981
10982 \begin_layout Standard
10983 To produce Table
10984 \begin_inset Space ~
10985 \end_inset
10986
10987
10988 \begin_inset CommandInset ref
10989 LatexCommand ref
10990 reference "tab:Table-with-multiple"
10991
10992 \end_inset
10993
10994 , create a 3×3 table, mark the first cell and right-click on it.
10995  In the appearing table dialog we set a cell width of 2.5
10996 \begin_inset Space \thinspace{}
10997 \end_inset
10998
10999 cm and choose centered for the vertical and horizontal alignment.
11000  The vertical alignment is used for all cells of the row.
11001  As our text is smaller than than 2.5
11002 \begin_inset Space \thinspace{}
11003 \end_inset
11004
11005 cm, only one line will appear.
11006  To get two lines, we add a line break with the command
11007 \end_layout
11008
11009 \begin_layout Standard
11010
11011 \series bold
11012
11013 \backslash
11014 linebreak
11015 \end_layout
11016
11017 \begin_layout Standard
11018 in TeX-Code.
11019  If the text is wider than the set cell width it will automatically be broken
11020  to several lines.
11021 \end_layout
11022
11023 \begin_layout Standard
11024 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11025  by LaTeX if it is the first entry.
11026  Therefore you need to insert something, to make the word not being the
11027  first entry.
11028  So add a horizontal space of 0
11029 \begin_inset Space \thinspace{}
11030 \end_inset
11031
11032 pt before the word.
11033  As the space is zero, it doesn't change the output.
11034  Table
11035 \begin_inset Space ~
11036 \end_inset
11037
11038
11039 \begin_inset CommandInset ref
11040 LatexCommand ref
11041 reference "tab:Table-with-and"
11042
11043 \end_inset
11044
11045  shows the effect.
11046 \end_layout
11047
11048 \begin_layout Standard
11049 \begin_inset Float table
11050 placement h
11051 wide false
11052 sideways false
11053 status open
11054
11055 \begin_layout Plain Layout
11056 \begin_inset Caption
11057
11058 \begin_layout Plain Layout
11059 \begin_inset CommandInset label
11060 LatexCommand label
11061 name "tab:Table-with-and"
11062
11063 \end_inset
11064
11065 Table with and without hyphenation
11066 \end_layout
11067
11068 \end_inset
11069
11070
11071 \end_layout
11072
11073 \begin_layout Plain Layout
11074 \begin_inset Space \hfill{}
11075 \end_inset
11076
11077
11078 \begin_inset Tabular
11079 <lyxtabular version="3" rows="3" columns="3">
11080 <features>
11081 <column alignment="center" valignment="middle" width="2.5cm">
11082 <column alignment="center" valignment="middle" width="0">
11083 <column alignment="center" valignment="middle" width="0">
11084 <row>
11085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11086 \begin_inset Text
11087
11088 \begin_layout Plain Layout
11089 verylongtablecellword
11090 \end_layout
11091
11092 \end_inset
11093 </cell>
11094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11095 \begin_inset Text
11096
11097 \begin_layout Plain Layout
11098 b
11099 \end_layout
11100
11101 \end_inset
11102 </cell>
11103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11104 \begin_inset Text
11105
11106 \begin_layout Plain Layout
11107 c
11108 \end_layout
11109
11110 \end_inset
11111 </cell>
11112 </row>
11113 <row>
11114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11115 \begin_inset Text
11116
11117 \begin_layout Plain Layout
11118 d
11119 \end_layout
11120
11121 \end_inset
11122 </cell>
11123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11124 \begin_inset Text
11125
11126 \begin_layout Plain Layout
11127 e
11128 \end_layout
11129
11130 \end_inset
11131 </cell>
11132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11133 \begin_inset Text
11134
11135 \begin_layout Plain Layout
11136 f
11137 \end_layout
11138
11139 \end_inset
11140 </cell>
11141 </row>
11142 <row>
11143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11144 \begin_inset Text
11145
11146 \begin_layout Plain Layout
11147 g
11148 \end_layout
11149
11150 \end_inset
11151 </cell>
11152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11153 \begin_inset Text
11154
11155 \begin_layout Plain Layout
11156 h
11157 \end_layout
11158
11159 \end_inset
11160 </cell>
11161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11162 \begin_inset Text
11163
11164 \begin_layout Plain Layout
11165 i
11166 \end_layout
11167
11168 \end_inset
11169 </cell>
11170 </row>
11171 </lyxtabular>
11172
11173 \end_inset
11174
11175
11176 \begin_inset Space \hfill{}
11177 \end_inset
11178
11179
11180 \begin_inset Tabular
11181 <lyxtabular version="3" rows="3" columns="3">
11182 <features>
11183 <column alignment="center" valignment="middle" width="2.5cm">
11184 <column alignment="center" valignment="middle" width="0">
11185 <column alignment="center" valignment="middle" width="0">
11186 <row>
11187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11188 \begin_inset Text
11189
11190 \begin_layout Plain Layout
11191 \begin_inset Space \hspace{}
11192 \length 0pt
11193 \end_inset
11194
11195 verylongtablecellword
11196 \end_layout
11197
11198 \end_inset
11199 </cell>
11200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11201 \begin_inset Text
11202
11203 \begin_layout Plain Layout
11204 b
11205 \end_layout
11206
11207 \end_inset
11208 </cell>
11209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11210 \begin_inset Text
11211
11212 \begin_layout Plain Layout
11213 c
11214 \end_layout
11215
11216 \end_inset
11217 </cell>
11218 </row>
11219 <row>
11220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11221 \begin_inset Text
11222
11223 \begin_layout Plain Layout
11224 d
11225 \end_layout
11226
11227 \end_inset
11228 </cell>
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11230 \begin_inset Text
11231
11232 \begin_layout Plain Layout
11233 e
11234 \end_layout
11235
11236 \end_inset
11237 </cell>
11238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11239 \begin_inset Text
11240
11241 \begin_layout Plain Layout
11242 f
11243 \end_layout
11244
11245 \end_inset
11246 </cell>
11247 </row>
11248 <row>
11249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Plain Layout
11253 g
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11259 \begin_inset Text
11260
11261 \begin_layout Plain Layout
11262 h
11263 \end_layout
11264
11265 \end_inset
11266 </cell>
11267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11268 \begin_inset Text
11269
11270 \begin_layout Plain Layout
11271 i
11272 \end_layout
11273
11274 \end_inset
11275 </cell>
11276 </row>
11277 </lyxtabular>
11278
11279 \end_inset
11280
11281
11282 \begin_inset Space \hfill{}
11283 \end_inset
11284
11285
11286 \end_layout
11287
11288 \end_inset
11289
11290
11291 \end_layout
11292
11293 \begin_layout Standard
11294 \begin_inset Newpage newpage
11295 \end_inset
11296
11297
11298 \end_layout
11299
11300 \begin_layout Subsection
11301 Multicolumns
11302 \begin_inset CommandInset label
11303 LatexCommand label
11304 name "sub:Multicolumns"
11305
11306 \end_inset
11307
11308
11309 \begin_inset Index
11310 status collapsed
11311
11312 \begin_layout Plain Layout
11313 Multicolumns
11314 \end_layout
11315
11316 \end_inset
11317
11318
11319 \begin_inset Index
11320 status collapsed
11321
11322 \begin_layout Plain Layout
11323 Table ! Multicolumns
11324 \end_layout
11325
11326 \end_inset
11327
11328
11329 \end_layout
11330
11331 \begin_layout Subsubsection
11332 Multicolumn Basics
11333 \end_layout
11334
11335 \begin_layout Standard
11336 To span a cell over multiple columns, mark as much cells within a line that
11337  should be one spanned cell and use either the table-toolbar button 
11338 \begin_inset Graphics
11339         filename ../images/tabular-feature_multicolumn.png
11340         scale 85
11341         scaleBeforeRotation
11342
11343 \end_inset
11344
11345 , or the menu 
11346 \family sans
11347 Edit\SpecialChar \menuseparator
11348 Table\SpecialChar \menuseparator
11349 Multicolumn
11350 \family default
11351 , or right click on the marked cells and choose multicolumn in the appearing
11352  table dialog under the tab 
11353 \family sans
11354 Table Settings
11355 \family default
11356 .
11357 \end_layout
11358
11359 \begin_layout Standard
11360 Multicolumns have there own cell settings.
11361  That means changing cell borders, cell alignment, and the width only affects
11362  the multicolumn.
11363  Here is an example table with a multicolumn cell in the first row and one
11364  in the last row without the upper border:
11365 \end_layout
11366
11367 \begin_layout Standard
11368 \align center
11369 \begin_inset Tabular
11370 <lyxtabular version="3" rows="3" columns="4">
11371 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11372 <column alignment="center" valignment="top" width="0pt">
11373 <column alignment="center" valignment="middle" width="0">
11374 <column alignment="center" valignment="top" width="0in">
11375 <column alignment="center" valignment="top" width="0pt">
11376 <row>
11377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11378 \begin_inset Text
11379
11380 \begin_layout Plain Layout
11381 abc
11382 \end_layout
11383
11384 \end_inset
11385 </cell>
11386 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11387 \begin_inset Text
11388
11389 \begin_layout Plain Layout
11390 def ghi
11391 \end_layout
11392
11393 \end_inset
11394 </cell>
11395 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11396 \begin_inset Text
11397
11398 \begin_layout Plain Layout
11399
11400 \end_layout
11401
11402 \end_inset
11403 </cell>
11404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11405 \begin_inset Text
11406
11407 \begin_layout Plain Layout
11408 jkl
11409 \end_layout
11410
11411 \end_inset
11412 </cell>
11413 </row>
11414 <row>
11415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11416 \begin_inset Text
11417
11418 \begin_layout Plain Layout
11419
11420 \family roman
11421 \series medium
11422 \shape up
11423 \size normal
11424 \emph off
11425 \bar no
11426 \noun off
11427 \color none
11428 A
11429 \end_layout
11430
11431 \end_inset
11432 </cell>
11433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11434 \begin_inset Text
11435
11436 \begin_layout Plain Layout
11437 B
11438 \end_layout
11439
11440 \end_inset
11441 </cell>
11442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11443 \begin_inset Text
11444
11445 \begin_layout Plain Layout
11446 C
11447 \end_layout
11448
11449 \end_inset
11450 </cell>
11451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11452 \begin_inset Text
11453
11454 \begin_layout Plain Layout
11455 D
11456 \end_layout
11457
11458 \end_inset
11459 </cell>
11460 </row>
11461 <row>
11462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11463 \begin_inset Text
11464
11465 \begin_layout Plain Layout
11466 1
11467 \end_layout
11468
11469 \end_inset
11470 </cell>
11471 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11472 \begin_inset Text
11473
11474 \begin_layout Plain Layout
11475 2
11476 \end_layout
11477
11478 \end_inset
11479 </cell>
11480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11481 \begin_inset Text
11482
11483 \begin_layout Plain Layout
11484 3
11485 \end_layout
11486
11487 \end_inset
11488 </cell>
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11490 \begin_inset Text
11491
11492 \begin_layout Plain Layout
11493 4
11494 \end_layout
11495
11496 \end_inset
11497 </cell>
11498 </row>
11499 </lyxtabular>
11500
11501 \end_inset
11502
11503
11504 \end_layout
11505
11506 \begin_layout Subsubsection
11507 Multicolumn Calculations
11508 \begin_inset CommandInset label
11509 LatexCommand label
11510 name "sub:Multicolumn-Calculations"
11511
11512 \end_inset
11513
11514
11515 \begin_inset Index
11516 status collapsed
11517
11518 \begin_layout Plain Layout
11519 Multicolumns ! Calculations
11520 \end_layout
11521
11522 \end_inset
11523
11524
11525 \end_layout
11526
11527 \begin_layout Standard
11528 LyX supports multicolumns directly, but we have to take notice of the cell
11529  width of the columns spanned by the multicolumn cell.
11530 \end_layout
11531
11532 \begin_layout Standard
11533 \begin_inset Float table
11534 wide false
11535 sideways false
11536 status open
11537
11538 \begin_layout Plain Layout
11539 \begin_inset Caption
11540
11541 \begin_layout Plain Layout
11542 \begin_inset CommandInset label
11543 LatexCommand label
11544 name "tab:Table-with-centered"
11545
11546 \end_inset
11547
11548 Table with centered multicolumn text above two columns that have exactly
11549  half the width of the multicolumn cell
11550 \begin_inset OptArg
11551 status collapsed
11552
11553 \begin_layout Plain Layout
11554 Perfect multicolumn table
11555 \end_layout
11556
11557 \end_inset
11558
11559
11560 \end_layout
11561
11562 \end_inset
11563
11564
11565 \end_layout
11566
11567 \begin_layout Plain Layout
11568 \align center
11569 \begin_inset Tabular
11570 <lyxtabular version="3" rows="3" columns="3">
11571 <features>
11572 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11573 <column alignment="center" valignment="middle" width="0">
11574 <column alignment="center" valignment="top" width="0">
11575 <row>
11576 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11577 \begin_inset Text
11578
11579 \begin_layout Plain Layout
11580 multiple lines multicolumn
11581 \end_layout
11582
11583 \end_inset
11584 </cell>
11585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11586 \begin_inset Text
11587
11588 \begin_layout Plain Layout
11589
11590 \end_layout
11591
11592 \end_inset
11593 </cell>
11594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11595 \begin_inset Text
11596
11597 \begin_layout Plain Layout
11598 c
11599 \end_layout
11600
11601 \end_inset
11602 </cell>
11603 </row>
11604 <row>
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11606 \begin_inset Text
11607
11608 \begin_layout Plain Layout
11609 d
11610 \end_layout
11611
11612 \end_inset
11613 </cell>
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11615 \begin_inset Text
11616
11617 \begin_layout Plain Layout
11618 e
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Plain Layout
11627 f
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 </row>
11633 <row>
11634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11635 \begin_inset Text
11636
11637 \begin_layout Plain Layout
11638 g
11639 \end_layout
11640
11641 \end_inset
11642 </cell>
11643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Plain Layout
11647 h
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Plain Layout
11656 i
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 </row>
11662 </lyxtabular>
11663
11664 \end_inset
11665
11666
11667 \end_layout
11668
11669 \end_inset
11670
11671
11672 \end_layout
11673
11674 \begin_layout Standard
11675 To create for example Table
11676 \begin_inset Space ~
11677 \end_inset
11678
11679
11680 \begin_inset CommandInset ref
11681 LatexCommand ref
11682 reference "tab:Table-with-centered"
11683
11684 \end_inset
11685
11686 , mark the first two cells in the first row of a 3×3 table and right-click
11687  on them.
11688  Now choose for this cell 
11689 \emph on
11690 multicolumn
11691 \emph default
11692
11693 \emph on
11694 centered alignment
11695 \emph default
11696  and a width of 2.5
11697 \begin_inset Space \thinspace{}
11698 \end_inset
11699
11700 cm in the table dialog.
11701  The spanned columns should have exactly half the width of the multicolumn
11702  cell, so that you would adjust a width of 1.25
11703 \begin_inset Space \thinspace{}
11704 \end_inset
11705
11706 cm for the first column.
11707  The second column has then automatically a width of 1.25
11708 \begin_inset Space \thinspace{}
11709 \end_inset
11710
11711 cm (multicolumn width - width of first column).
11712  This was done for Table
11713 \begin_inset Space ~
11714 \end_inset
11715
11716
11717 \begin_inset CommandInset ref
11718 LatexCommand ref
11719 reference "tab:Table-without-half"
11720
11721 \end_inset
11722
11723 .
11724 \end_layout
11725
11726 \begin_layout Standard
11727 \begin_inset Float table
11728 wide false
11729 sideways false
11730 status open
11731
11732 \begin_layout Plain Layout
11733 \begin_inset Caption
11734
11735 \begin_layout Plain Layout
11736 \begin_inset CommandInset label
11737 LatexCommand label
11738 name "tab:Table-without-half"
11739
11740 \end_inset
11741
11742 Table where the spanned table columns have not exactly half the width of
11743  the multicolumn cell
11744 \begin_inset OptArg
11745 status collapsed
11746
11747 \begin_layout Plain Layout
11748 Imperfect multicolumn table
11749 \end_layout
11750
11751 \end_inset
11752
11753
11754 \end_layout
11755
11756 \end_inset
11757
11758
11759 \end_layout
11760
11761 \begin_layout Plain Layout
11762 \align center
11763 \begin_inset Tabular
11764 <lyxtabular version="3" rows="3" columns="3">
11765 <features>
11766 <column alignment="center" valignment="top" width="1.25cm">
11767 <column alignment="center" valignment="top" width="0">
11768 <column alignment="center" valignment="top" width="0">
11769 <row>
11770 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11771 \begin_inset Text
11772
11773 \begin_layout Plain Layout
11774 multiple lines multicolumn
11775 \end_layout
11776
11777 \end_inset
11778 </cell>
11779 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11780 \begin_inset Text
11781
11782 \begin_layout Plain Layout
11783
11784 \end_layout
11785
11786 \end_inset
11787 </cell>
11788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11789 \begin_inset Text
11790
11791 \begin_layout Plain Layout
11792 c
11793 \end_layout
11794
11795 \end_inset
11796 </cell>
11797 </row>
11798 <row>
11799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11800 \begin_inset Text
11801
11802 \begin_layout Plain Layout
11803 d
11804 \end_layout
11805
11806 \end_inset
11807 </cell>
11808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11809 \begin_inset Text
11810
11811 \begin_layout Plain Layout
11812 e
11813 \end_layout
11814
11815 \end_inset
11816 </cell>
11817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11818 \begin_inset Text
11819
11820 \begin_layout Plain Layout
11821 f
11822 \end_layout
11823
11824 \end_inset
11825 </cell>
11826 </row>
11827 <row>
11828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11829 \begin_inset Text
11830
11831 \begin_layout Plain Layout
11832 g
11833 \end_layout
11834
11835 \end_inset
11836 </cell>
11837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11838 \begin_inset Text
11839
11840 \begin_layout Plain Layout
11841 h
11842 \end_layout
11843
11844 \end_inset
11845 </cell>
11846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11847 \begin_inset Text
11848
11849 \begin_layout Plain Layout
11850 i
11851 \end_layout
11852
11853 \end_inset
11854 </cell>
11855 </row>
11856 </lyxtabular>
11857
11858 \end_inset
11859
11860
11861 \end_layout
11862
11863 \end_inset
11864
11865
11866 \end_layout
11867
11868 \begin_layout Standard
11869 You can see that the first column has not the half width of the multicolumn
11870  cell, it is a bit bigger.
11871  The reason is that the given width of a cell 
11872 \begin_inset Formula $W_{g}$
11873 \end_inset
11874
11875  is not its total width 
11876 \begin_inset Formula $W_{\mathrm{tot}}$
11877 \end_inset
11878
11879  because a cell is always a bit larger than its given width.
11880  Appendix
11881 \begin_inset Space ~
11882 \end_inset
11883
11884
11885 \begin_inset CommandInset ref
11886 LatexCommand eqref
11887 reference "cha:Explanation-of-Equation"
11888
11889 \end_inset
11890
11891  explains it in detail.
11892 \end_layout
11893
11894 \begin_layout Standard
11895 The needed given width 
11896 \begin_inset Formula $W_{g\, n}$
11897 \end_inset
11898
11899  when 
11900 \emph on
11901 n
11902 \emph default
11903  columns are spanned can be calculated, so that each column has a total
11904  width of 
11905 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11906 \end_inset
11907
11908 :
11909 \begin_inset Formula \begin{equation}
11910 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11911
11912 \end_inset
11913
11914
11915 \end_layout
11916
11917 \begin_layout Standard
11918 In our case we have 
11919 \begin_inset Formula $n=2$
11920 \end_inset
11921
11922
11923 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11924 \end_inset
11925
11926 cm and the default values for the lengths, so that equation 
11927 \begin_inset CommandInset ref
11928 LatexCommand ref
11929 reference "eq:Wgn"
11930
11931 \end_inset
11932
11933  becomes
11934 \begin_inset Formula \begin{equation}
11935 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11936
11937 \end_inset
11938
11939
11940 \end_layout
11941
11942 \begin_layout Standard
11943 To enable calculations in LaTeX, the LaTeX-package 
11944 \series bold
11945 calc
11946 \series default
11947  must be loaded with the document preamble line
11948 \begin_inset Index
11949 status collapsed
11950
11951 \begin_layout Plain Layout
11952 LaTeX-packages ! calc
11953 \end_layout
11954
11955 \end_inset
11956
11957
11958 \end_layout
11959
11960 \begin_layout Standard
11961
11962 \series bold
11963
11964 \backslash
11965 usepackage{calc}
11966 \end_layout
11967
11968 \begin_layout Standard
11969 LyX does not allow to calculate lengths in the width-field of the table
11970  dialog.
11971  Therefore you have to format the column by inserting a LaTeX-argument in
11972  the dialog.
11973  Here is an overview about the arguments:
11974 \end_layout
11975
11976 \begin_layout Itemize
11977
11978 \series bold
11979 p{width}
11980 \series default
11981  creates cell with a fixed width, its text is vertically top-aligned
11982 \end_layout
11983
11984 \begin_layout Itemize
11985
11986 \series bold
11987 m{width}
11988 \series default
11989  creates cell with a fixed width, its text is vertically centered
11990 \end_layout
11991
11992 \begin_layout Itemize
11993
11994 \series bold
11995 b{width}
11996 \series default
11997  creates cell with a fixed width, its text is vertically bottom-aligned
11998 \end_layout
11999
12000 \begin_layout Standard
12001 By entering a LaTeX-argument, all cell settings set in the table dialog
12002  are overwritten.
12003 \end_layout
12004
12005 \begin_layout Standard
12006 \begin_inset Note Greyedout
12007 status open
12008
12009 \begin_layout Plain Layout
12010
12011 \series bold
12012 Note:
12013 \series default
12014  Due to a bug, LyX shows the overwritten settings anyway.
12015 \end_layout
12016
12017 \end_inset
12018
12019
12020 \end_layout
12021
12022 \begin_layout Standard
12023 As the text should be horizontally centered, the command 
12024 \series bold
12025
12026 \backslash
12027 centering
12028 \series default
12029  is added.
12030  You can now enter the following LaTeX-argument for the first spanned column:
12031 \end_layout
12032
12033 \begin_layout Standard
12034
12035 \series bold
12036 >{
12037 \backslash
12038 centering}m{1.25cm-6.2pt}
12039 \end_layout
12040
12041 \begin_layout Standard
12042 The command 
12043 \series bold
12044 >{ }
12045 \series default
12046  means, that the commands inside the braces are applied before the cell
12047  is created.
12048 \end_layout
12049
12050 \begin_layout Standard
12051 Although we have chosen centered alignment for the text of the multicolumn
12052  cell, it is still left aligned.
12053  This is because LyX only applies the alignment to single columns.
12054  So we have to use for the multicolumn the LaTeX-argument
12055 \end_layout
12056
12057 \begin_layout Standard
12058
12059 \series bold
12060 >{
12061 \backslash
12062 centering}m{2.5cm}
12063 \end_layout
12064
12065 \begin_layout Subsection
12066 Multirows
12067 \begin_inset Index
12068 status collapsed
12069
12070 \begin_layout Plain Layout
12071 Multirows
12072 \end_layout
12073
12074 \end_inset
12075
12076
12077 \begin_inset Index
12078 status collapsed
12079
12080 \begin_layout Plain Layout
12081 Table ! Multirows
12082 \end_layout
12083
12084 \end_inset
12085
12086
12087 \begin_inset Index
12088 status collapsed
12089
12090 \begin_layout Plain Layout
12091 LaTeX-packages ! multirow
12092 \end_layout
12093
12094 \end_inset
12095
12096
12097 \end_layout
12098
12099 \begin_layout Standard
12100 In contrary to multicolumns multirows are not yet supported by LyX so a
12101  bit of TeX-Code needs to be used.
12102  To use multirows load the LaTeX-package 
12103 \series bold
12104 multirow
12105 \series default
12106  in your document preamble with the command
12107 \end_layout
12108
12109 \begin_layout Standard
12110
12111 \series bold
12112
12113 \backslash
12114 usepackage{multirow}
12115 \end_layout
12116
12117 \begin_layout Standard
12118 Multirows are created with the command
12119 \end_layout
12120
12121 \begin_layout Standard
12122
12123 \series bold
12124
12125 \backslash
12126 multirow{number of rows}{cell width}{cell entry}
12127 \end_layout
12128
12129 \begin_layout Standard
12130 To create the following table:
12131 \end_layout
12132
12133 \begin_layout Standard
12134 \align center
12135 \begin_inset ERT
12136 status collapsed
12137
12138 \begin_layout Plain Layout
12139
12140
12141 \backslash
12142 renewcommand{
12143 \backslash
12144 multirowsetup}{
12145 \backslash
12146 centering}
12147 \end_layout
12148
12149 \end_inset
12150
12151
12152 \begin_inset Tabular
12153 <lyxtabular version="3" rows="3" columns="3">
12154 <features>
12155 <column alignment="center" valignment="top" width="0">
12156 <column alignment="center" valignment="top" width="0">
12157 <column alignment="center" valignment="top" width="0">
12158 <row>
12159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12160 \begin_inset Text
12161
12162 \begin_layout Plain Layout
12163 a
12164 \end_layout
12165
12166 \end_inset
12167 </cell>
12168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12169 \begin_inset Text
12170
12171 \begin_layout Plain Layout
12172 b
12173 \end_layout
12174
12175 \end_inset
12176 </cell>
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12178 \begin_inset Text
12179
12180 \begin_layout Plain Layout
12181 c
12182 \end_layout
12183
12184 \end_inset
12185 </cell>
12186 </row>
12187 <row>
12188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12189 \begin_inset Text
12190
12191 \begin_layout Plain Layout
12192 \begin_inset ERT
12193 status collapsed
12194
12195 \begin_layout Plain Layout
12196
12197
12198 \backslash
12199 multirow{2}{2.5cm}{
12200 \end_layout
12201
12202 \end_inset
12203
12204 multirow entry
12205 \begin_inset ERT
12206 status collapsed
12207
12208 \begin_layout Plain Layout
12209
12210 }
12211 \end_layout
12212
12213 \end_inset
12214
12215
12216 \end_layout
12217
12218 \end_inset
12219 </cell>
12220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12221 \begin_inset Text
12222
12223 \begin_layout Plain Layout
12224 e
12225 \end_layout
12226
12227 \end_inset
12228 </cell>
12229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12230 \begin_inset Text
12231
12232 \begin_layout Plain Layout
12233 f
12234 \end_layout
12235
12236 \end_inset
12237 </cell>
12238 </row>
12239 <row>
12240 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12241 \begin_inset Text
12242
12243 \begin_layout Plain Layout
12244
12245 \end_layout
12246
12247 \end_inset
12248 </cell>
12249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12250 \begin_inset Text
12251
12252 \begin_layout Plain Layout
12253 h
12254 \end_layout
12255
12256 \end_inset
12257 </cell>
12258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12259 \begin_inset Text
12260
12261 \begin_layout Plain Layout
12262 i
12263 \end_layout
12264
12265 \end_inset
12266 </cell>
12267 </row>
12268 </lyxtabular>
12269
12270 \end_inset
12271
12272
12273 \begin_inset ERT
12274 status collapsed
12275
12276 \begin_layout Plain Layout
12277
12278
12279 \backslash
12280 renewcommand{
12281 \backslash
12282 multirowsetup}{
12283 \backslash
12284 raggedright}
12285 \end_layout
12286
12287 \end_inset
12288
12289
12290 \end_layout
12291
12292 \begin_layout Standard
12293 create a 3×3 table.
12294  To get rid of the line above the last cell in the first column, the cell
12295  is marked as multicolumn and the upper border is unset.
12296  The multirow is now created in the second row of the first column by inserting
12297  there the command
12298 \end_layout
12299
12300 \begin_layout Standard
12301
12302 \series bold
12303
12304 \backslash
12305 multirow{2}{2.5cm}{
12306 \end_layout
12307
12308 \begin_layout Standard
12309 as TeX-Code.
12310  According to the command parameters the multirow spans now two rows and
12311  has a width of 2.5
12312 \begin_inset Space \thinspace{}
12313 \end_inset
12314
12315 cm.
12316  The content of the multirow cell follows outside the TeX-Code box and the
12317  command is finished with a right brace 
12318 \series bold
12319 }
12320 \series default
12321  in another TeX-Code-box behind the text.
12322 \end_layout
12323
12324 \begin_layout Standard
12325
12326 \series bold
12327
12328 \backslash
12329 multirow
12330 \series default
12331  left-aligns its content by default.
12332  To override the default, renew the command 
12333 \series bold
12334
12335 \backslash
12336 multirowsetup
12337 \series default
12338  with the command
12339 \end_layout
12340
12341 \begin_layout Standard
12342
12343 \series bold
12344
12345 \backslash
12346 renewcommand{
12347 \backslash
12348 multirowsetup}{
12349 \backslash
12350 centering}
12351 \end_layout
12352
12353 \begin_layout Standard
12354 in TeX-Code in the document preamble.
12355  Then all entries of multirow cells in the document are centered.
12356  If centering is only needed for several tables, you can renew the command
12357  in an TeX-Code box just before the table instead of the preamble.
12358  If the text should be right-aligned, replace 
12359 \series bold
12360
12361 \backslash
12362 centering
12363 \series default
12364  by 
12365 \series bold
12366
12367 \backslash
12368 raggedleft
12369 \series default
12370 .
12371  To return to left-alignment 
12372 \series bold
12373
12374 \backslash
12375 raggedright
12376 \series default
12377  is used.
12378 \end_layout
12379
12380 \begin_layout Section
12381 Formal Tables
12382 \begin_inset CommandInset label
12383 LatexCommand label
12384 name "sec:Formal-Tables"
12385
12386 \end_inset
12387
12388
12389 \begin_inset Index
12390 status collapsed
12391
12392 \begin_layout Plain Layout
12393 Table ! Formal
12394 \end_layout
12395
12396 \end_inset
12397
12398
12399 \end_layout
12400
12401 \begin_layout Standard
12402 Tables are often typeset in books similar to Table
12403 \begin_inset Space ~
12404 \end_inset
12405
12406
12407 \begin_inset CommandInset ref
12408 LatexCommand ref
12409 reference "tab:Example-booktabs-table"
12410
12411 \end_inset
12412
12413 .
12414  This kind of tables is called 
12415 \begin_inset Quotes eld
12416 \end_inset
12417
12418
12419 \emph on
12420 formal
12421 \emph default
12422
12423 \begin_inset Quotes erd
12424 \end_inset
12425
12426 .
12427  To make a table a formal table use the option 
12428 \family sans
12429 Formal
12430 \family default
12431  in the 
12432 \family sans
12433 Borders
12434 \family default
12435  tab of the table dialog.
12436 \end_layout
12437
12438 \begin_layout Standard
12439 \begin_inset Float table
12440 placement h
12441 wide false
12442 sideways false
12443 status open
12444
12445 \begin_layout Plain Layout
12446 \begin_inset Caption
12447
12448 \begin_layout Plain Layout
12449 \begin_inset CommandInset label
12450 LatexCommand label
12451 name "tab:Example-booktabs-table"
12452
12453 \end_inset
12454
12455 Example booktabs-table
12456 \end_layout
12457
12458 \end_inset
12459
12460
12461 \end_layout
12462
12463 \begin_layout Plain Layout
12464 \align center
12465 \begin_inset Tabular
12466 <lyxtabular version="3" rows="8" columns="4">
12467 <features booktabs="true">
12468 <column alignment="center" valignment="top" width="0">
12469 <column alignment="center" valignment="top" width="0">
12470 <column alignment="center" valignment="top" width="0">
12471 <column alignment="center" valignment="top" width="0">
12472 <row>
12473 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12474 \begin_inset Text
12475
12476 \begin_layout Plain Layout
12477 System
12478 \end_layout
12479
12480 \end_inset
12481 </cell>
12482 <cell alignment="center" valignment="top" topline="true" usebox="none">
12483 \begin_inset Text
12484
12485 \begin_layout Plain Layout
12486 Medipix
12487 \begin_inset Formula $\,$
12488 \end_inset
12489
12490 1
12491 \end_layout
12492
12493 \end_inset
12494 </cell>
12495 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12496 \begin_inset Text
12497
12498 \begin_layout Plain Layout
12499 Medipix
12500 \begin_inset Formula $\,$
12501 \end_inset
12502
12503 2
12504 \end_layout
12505
12506 \end_inset
12507 </cell>
12508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12509 \begin_inset Text
12510
12511 \begin_layout Plain Layout
12512
12513 \end_layout
12514
12515 \end_inset
12516 </cell>
12517 </row>
12518 <row>
12519 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12520 \begin_inset Text
12521
12522 \begin_layout Plain Layout
12523 \begin_inset ERT
12524 status collapsed
12525
12526 \begin_layout Plain Layout
12527
12528
12529 \backslash
12530 cmidrule(r){2-2}
12531 \end_layout
12532
12533 \end_inset
12534
12535
12536 \begin_inset ERT
12537 status collapsed
12538
12539 \begin_layout Plain Layout
12540
12541
12542 \backslash
12543 cmidrule(l){3-4}
12544 \end_layout
12545
12546 \end_inset
12547
12548 Detector thickness [µm]
12549 \end_layout
12550
12551 \end_inset
12552 </cell>
12553 <cell alignment="center" valignment="top" usebox="none">
12554 \begin_inset Text
12555
12556 \begin_layout Plain Layout
12557 300
12558 \end_layout
12559
12560 \end_inset
12561 </cell>
12562 <cell alignment="center" valignment="top" usebox="none">
12563 \begin_inset Text
12564
12565 \begin_layout Plain Layout
12566 300
12567 \end_layout
12568
12569 \end_inset
12570 </cell>
12571 <cell alignment="center" valignment="top" usebox="none">
12572 \begin_inset Text
12573
12574 \begin_layout Plain Layout
12575 700
12576 \end_layout
12577
12578 \end_inset
12579 </cell>
12580 </row>
12581 <row>
12582 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12583 \begin_inset Text
12584
12585 \begin_layout Plain Layout
12586 Edge angle [°]
12587 \end_layout
12588
12589 \end_inset
12590 </cell>
12591 <cell alignment="center" valignment="top" topline="true" usebox="none">
12592 \begin_inset Text
12593
12594 \begin_layout Plain Layout
12595 3.55
12596 \end_layout
12597
12598 \end_inset
12599 </cell>
12600 <cell alignment="center" valignment="top" topline="true" usebox="none">
12601 \begin_inset Text
12602
12603 \begin_layout Plain Layout
12604 2.71
12605 \end_layout
12606
12607 \end_inset
12608 </cell>
12609 <cell alignment="center" valignment="top" topline="true" usebox="none">
12610 \begin_inset Text
12611
12612 \begin_layout Plain Layout
12613 7.99
12614 \end_layout
12615
12616 \end_inset
12617 </cell>
12618 </row>
12619 <row topspace="default">
12620 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12621 \begin_inset Text
12622
12623 \begin_layout Plain Layout
12624 Spatial resolution [µm]
12625 \end_layout
12626
12627 \end_inset
12628 </cell>
12629 <cell alignment="center" valignment="top" usebox="none">
12630 \begin_inset Text
12631
12632 \begin_layout Plain Layout
12633 4.26
12634 \end_layout
12635
12636 \end_inset
12637 </cell>
12638 <cell alignment="center" valignment="top" usebox="none">
12639 \begin_inset Text
12640
12641 \begin_layout Plain Layout
12642 10.17
12643 \end_layout
12644
12645 \end_inset
12646 </cell>
12647 <cell alignment="center" valignment="top" usebox="none">
12648 \begin_inset Text
12649
12650 \begin_layout Plain Layout
12651 10.56
12652 \end_layout
12653
12654 \end_inset
12655 </cell>
12656 </row>
12657 <row topspace="default">
12658 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12659 \begin_inset Text
12660
12661 \begin_layout Plain Layout
12662 MTF at 
12663 \begin_inset Formula $f_{\mathrm{max}}$
12664 \end_inset
12665
12666
12667 \end_layout
12668
12669 \end_inset
12670 </cell>
12671 <cell alignment="center" valignment="top" usebox="none">
12672 \begin_inset Text
12673
12674 \begin_layout Plain Layout
12675 0.53
12676 \end_layout
12677
12678 \end_inset
12679 </cell>
12680 <cell alignment="center" valignment="top" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Plain Layout
12684 0.37
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Plain Layout
12693 0.39
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 </row>
12699 <row topspace="default">
12700 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12701 \begin_inset Text
12702
12703 \begin_layout Plain Layout
12704 \begin_inset ERT
12705 status collapsed
12706
12707 \begin_layout Plain Layout
12708
12709
12710 \backslash
12711 cmidrule(l{10pt}){1-1}
12712 \end_layout
12713
12714 \end_inset
12715
12716 LSF-spatial resolution
12717 \end_layout
12718
12719 \end_inset
12720 </cell>
12721 <cell alignment="center" valignment="top" usebox="none">
12722 \begin_inset Text
12723
12724 \begin_layout Plain Layout
12725
12726 \end_layout
12727
12728 \end_inset
12729 </cell>
12730 <cell alignment="center" valignment="top" usebox="none">
12731 \begin_inset Text
12732
12733 \begin_layout Plain Layout
12734
12735 \end_layout
12736
12737 \end_inset
12738 </cell>
12739 <cell alignment="center" valignment="top" usebox="none">
12740 \begin_inset Text
12741
12742 \begin_layout Plain Layout
12743
12744 \end_layout
12745
12746 \end_inset
12747 </cell>
12748 </row>
12749 <row>
12750 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12751 \begin_inset Text
12752
12753 \begin_layout Plain Layout
12754 in Âµm
12755 \end_layout
12756
12757 \end_inset
12758 </cell>
12759 <cell alignment="center" valignment="top" usebox="none">
12760 \begin_inset Text
12761
12762 \begin_layout Plain Layout
12763 129.7
12764 \end_layout
12765
12766 \end_inset
12767 </cell>
12768 <cell alignment="center" valignment="top" usebox="none">
12769 \begin_inset Text
12770
12771 \begin_layout Plain Layout
12772 52.75
12773 \end_layout
12774
12775 \end_inset
12776 </cell>
12777 <cell alignment="center" valignment="top" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Plain Layout
12781 50.78
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 </row>
12787 <row>
12788 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12789 \begin_inset Text
12790
12791 \begin_layout Plain Layout
12792 in % of pixel size
12793 \end_layout
12794
12795 \end_inset
12796 </cell>
12797 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12798 \begin_inset Text
12799
12800 \begin_layout Plain Layout
12801 76.3
12802 \end_layout
12803
12804 \end_inset
12805 </cell>
12806 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12807 \begin_inset Text
12808
12809 \begin_layout Plain Layout
12810 95.9
12811 \end_layout
12812
12813 \end_inset
12814 </cell>
12815 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12816 \begin_inset Text
12817
12818 \begin_layout Plain Layout
12819 92.3
12820 \end_layout
12821
12822 \end_inset
12823 </cell>
12824 </row>
12825 </lyxtabular>
12826
12827 \end_inset
12828
12829
12830 \end_layout
12831
12832 \end_inset
12833
12834
12835 \end_layout
12836
12837 \begin_layout Standard
12838 Spaces to table rows can be added using the 
12839 \family sans
12840 Borders
12841 \family default
12842  tab of the table dialog as described in section
12843 \begin_inset Space ~
12844 \end_inset
12845
12846
12847 \begin_inset CommandInset ref
12848 LatexCommand ref
12849 reference "sub:Row-Spacing"
12850
12851 \end_inset
12852
12853 .
12854 \end_layout
12855
12856 \begin_layout Standard
12857 In contrary to normal tables, formal tables have no vertical table lines.
12858  The horizontal table lines can be set like for normal tables but they appear
12859  with different width in the output:
12860 \begin_inset Newline newline
12861 \end_inset
12862
12863 The first and the last table line have a default width of 0.08
12864 \begin_inset Space \thinspace{}
12865 \end_inset
12866
12867 em while the other lines have a default width of 0.05
12868 \begin_inset Space \thinspace{}
12869 \end_inset
12870
12871 em.
12872 \end_layout
12873
12874 \begin_layout Standard
12875 The default widths can be changed with the following preamble lines
12876 \end_layout
12877
12878 \begin_layout Standard
12879
12880 \series bold
12881
12882 \backslash
12883 let
12884 \backslash
12885 mytoprule
12886 \backslash
12887 toprule
12888 \begin_inset Newline newline
12889 \end_inset
12890
12891
12892 \backslash
12893 renewcommand{
12894 \backslash
12895 toprule}{
12896 \backslash
12897 mytoprule[width]}
12898 \end_layout
12899
12900 \begin_layout Standard
12901 This example is for the first line, the so called 
12902 \series bold
12903 toprule
12904 \series default
12905 .
12906  If you want to change the width for the last line, replace 
12907 \series bold
12908 toprule
12909 \series default
12910  by 
12911 \series bold
12912 bottomrule
12913 \series default
12914 .
12915  To change the width for the other lines replace 
12916 \series bold
12917 toprule
12918 \series default
12919  by 
12920 \series bold
12921 midrule
12922 \series default
12923 .
12924  You can use all units listed in appendix
12925 \begin_inset Space ~
12926 \end_inset
12927
12928
12929 \begin_inset CommandInset ref
12930 LatexCommand ref
12931 reference "cha:Units-available-in"
12932
12933 \end_inset
12934
12935  to set the width.
12936 \end_layout
12937
12938 \begin_layout Standard
12939 Lines that don't span over all table columns can be created by setting a
12940  table line for multicolumn cells.
12941  LyX will then internally use the command 
12942 \series bold
12943
12944 \backslash
12945 cmidrule
12946 \series default
12947  to create this line.
12948  Its full scheme is
12949 \end_layout
12950
12951 \begin_layout Standard
12952
12953 \series bold
12954
12955 \backslash
12956 cmidrule[width](trim){startcol-endcol}
12957 \end_layout
12958
12959 \begin_layout Standard
12960 The options of 
12961 \series bold
12962
12963 \backslash
12964 cmidrule
12965 \series default
12966  are are currently not supported by LyX so you have to use TeX-Code to be
12967  able to use them.
12968  
12969 \series bold
12970
12971 \backslash
12972 cmidrule
12973 \series default
12974 s can manually be created by inserting the command as TeX-Code as first
12975  cell entry of the first cell of a row.
12976  The line is then drawn in the output above the current row.
12977 \end_layout
12978
12979 \begin_layout Standard
12980 The default for the width is 0.03
12981 \begin_inset Space \thinspace{}
12982 \end_inset
12983
12984 em.
12985  Startcol is the number of the column where the line starts and endcol the
12986  column number where the line ends.
12987  The endcol always needs to be specified, also when the line should span
12988  only one column.
12989  The optional parameter trim could be either 
12990 \emph on
12991 l{trimwidth}
12992 \emph default
12993 , or 
12994 \emph on
12995 r{trimwidth}
12996 \emph default
12997  where the trimwidth is also optional.
12998  Using for example the parameter 
12999 \emph on
13000 l{2pt}
13001 \emph default
13002  means that the line is trimmed from its left end by 2
13003 \begin_inset Space \thinspace{}
13004 \end_inset
13005
13006 pt.
13007  If you don't specify the trimwidth the lines are trimmed by the default
13008  of 0.5
13009 \begin_inset Space \thinspace{}
13010 \end_inset
13011
13012 em.
13013 \end_layout
13014
13015 \begin_layout Standard
13016 \begin_inset VSpace bigskip
13017 \end_inset
13018
13019 Table
13020 \begin_inset Space ~
13021 \end_inset
13022
13023
13024 \begin_inset CommandInset ref
13025 LatexCommand ref
13026 reference "tab:Example-booktabs-table"
13027
13028 \end_inset
13029
13030  was created using the commands
13031 \end_layout
13032
13033 \begin_layout Standard
13034
13035 \series bold
13036
13037 \backslash
13038 cmidrule(r){2-2}
13039 \backslash
13040 cmidrule(l){3-4}
13041 \end_layout
13042
13043 \begin_layout Standard
13044 at the beginning of the in the second row and
13045 \end_layout
13046
13047 \begin_layout Standard
13048
13049 \series bold
13050
13051 \backslash
13052 cmidrule(l{10pt}){1-1}
13053 \end_layout
13054
13055 \begin_layout Standard
13056 in the sixth row.
13057 \end_layout
13058
13059 \begin_layout Standard
13060 \begin_inset VSpace bigskip
13061 \end_inset
13062
13063
13064 \end_layout
13065
13066 \begin_layout Standard
13067 You might want to have overlapping 
13068 \series bold
13069
13070 \backslash
13071 cmidrule
13072 \series default
13073 s like in Table
13074 \begin_inset Space ~
13075 \end_inset
13076
13077
13078 \begin_inset CommandInset ref
13079 LatexCommand ref
13080 reference "tab:Special-booktabs-table"
13081
13082 \end_inset
13083
13084 .
13085  This can be achieved with the TeX-Code command
13086 \end_layout
13087
13088 \begin_layout Standard
13089
13090 \series bold
13091
13092 \backslash
13093 morecmidrules
13094 \end_layout
13095
13096 \begin_layout Standard
13097 The command that was used for the second row of Table
13098 \begin_inset Space ~
13099 \end_inset
13100
13101
13102 \begin_inset CommandInset ref
13103 LatexCommand ref
13104 reference "tab:Special-booktabs-table"
13105
13106 \end_inset
13107
13108  is
13109 \end_layout
13110
13111 \begin_layout Standard
13112
13113 \series bold
13114
13115 \backslash
13116 cmidrule(r){2-2}
13117 \backslash
13118 cmidrule(l){3-4}
13119 \backslash
13120 morecmidrules
13121 \backslash
13122 cmidrule{2-4}
13123 \end_layout
13124
13125 \begin_layout Standard
13126 The command for the sixth row is
13127 \end_layout
13128
13129 \begin_layout Standard
13130
13131 \series bold
13132
13133 \backslash
13134 midrule
13135 \backslash
13136 morecmidrules
13137 \backslash
13138 cmidrule{3-4}
13139 \end_layout
13140
13141 \begin_layout Standard
13142 \begin_inset VSpace bigskip
13143 \end_inset
13144
13145
13146 \end_layout
13147
13148 \begin_layout Standard
13149 If you are anyway not satisfied with the border line spacing, you can use
13150  the following command to produce lines that span over all table columns
13151 \series bold
13152 :
13153 \end_layout
13154
13155 \begin_layout Standard
13156
13157 \series bold
13158
13159 \backslash
13160 specialrule{width}{space above}{space below}
13161 \end_layout
13162
13163 \begin_layout Standard
13164 For more informations about these specialties, we refer to the manual of
13165  the LaTeX-package 
13166 \series bold
13167 booktabs
13168 \series default
13169  
13170 \begin_inset CommandInset citation
13171 LatexCommand cite
13172 key "booktabs"
13173
13174 \end_inset
13175
13176 .
13177 \begin_inset Index
13178 status collapsed
13179
13180 \begin_layout Plain Layout
13181 LaTeX-packages ! booktabs
13182 \end_layout
13183
13184 \end_inset
13185
13186
13187 \end_layout
13188
13189 \begin_layout Standard
13190 \begin_inset Float table
13191 placement h
13192 wide false
13193 sideways false
13194 status open
13195
13196 \begin_layout Plain Layout
13197 \begin_inset Caption
13198
13199 \begin_layout Plain Layout
13200 \begin_inset CommandInset label
13201 LatexCommand label
13202 name "tab:Special-booktabs-table"
13203
13204 \end_inset
13205
13206 Special booktabs-table
13207 \end_layout
13208
13209 \end_inset
13210
13211
13212 \end_layout
13213
13214 \begin_layout Plain Layout
13215 \align center
13216 \begin_inset Tabular
13217 <lyxtabular version="3" rows="8" columns="4">
13218 <features booktabs="true">
13219 <column alignment="center" valignment="top" width="0">
13220 <column alignment="center" valignment="top" width="0">
13221 <column alignment="center" valignment="top" width="0">
13222 <column alignment="center" valignment="top" width="0">
13223 <row>
13224 <cell alignment="center" valignment="top" topline="true" usebox="none">
13225 \begin_inset Text
13226
13227 \begin_layout Plain Layout
13228 System
13229 \end_layout
13230
13231 \end_inset
13232 </cell>
13233 <cell alignment="center" valignment="top" topline="true" usebox="none">
13234 \begin_inset Text
13235
13236 \begin_layout Plain Layout
13237 Medipix
13238 \begin_inset Space \thinspace{}
13239 \end_inset
13240
13241 1
13242 \end_layout
13243
13244 \end_inset
13245 </cell>
13246 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13247 \begin_inset Text
13248
13249 \begin_layout Plain Layout
13250 Medipix
13251 \begin_inset Space \thinspace{}
13252 \end_inset
13253
13254 2
13255 \end_layout
13256
13257 \end_inset
13258 </cell>
13259 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13260 \begin_inset Text
13261
13262 \begin_layout Plain Layout
13263
13264 \end_layout
13265
13266 \end_inset
13267 </cell>
13268 </row>
13269 <row>
13270 <cell alignment="center" valignment="top" usebox="none">
13271 \begin_inset Text
13272
13273 \begin_layout Plain Layout
13274 \begin_inset ERT
13275 status collapsed
13276
13277 \begin_layout Plain Layout
13278
13279
13280 \backslash
13281 cmidrule(r){2-2}
13282 \end_layout
13283
13284 \end_inset
13285
13286
13287 \begin_inset ERT
13288 status collapsed
13289
13290 \begin_layout Plain Layout
13291
13292
13293 \backslash
13294 cmidrule(l){3-4}
13295 \end_layout
13296
13297 \end_inset
13298
13299
13300 \begin_inset ERT
13301 status collapsed
13302
13303 \begin_layout Plain Layout
13304
13305
13306 \backslash
13307 morecmidrules 
13308 \end_layout
13309
13310 \end_inset
13311
13312
13313 \begin_inset ERT
13314 status collapsed
13315
13316 \begin_layout Plain Layout
13317
13318
13319 \backslash
13320 cmidrule{2-4}
13321 \end_layout
13322
13323 \end_inset
13324
13325 Detector thickness [µm]
13326 \end_layout
13327
13328 \end_inset
13329 </cell>
13330 <cell alignment="center" valignment="top" usebox="none">
13331 \begin_inset Text
13332
13333 \begin_layout Plain Layout
13334 300
13335 \end_layout
13336
13337 \end_inset
13338 </cell>
13339 <cell alignment="center" valignment="top" usebox="none">
13340 \begin_inset Text
13341
13342 \begin_layout Plain Layout
13343 300
13344 \end_layout
13345
13346 \end_inset
13347 </cell>
13348 <cell alignment="center" valignment="top" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Plain Layout
13352 700
13353 \end_layout
13354
13355 \end_inset
13356 </cell>
13357 </row>
13358 <row>
13359 <cell alignment="center" valignment="top" topline="true" usebox="none">
13360 \begin_inset Text
13361
13362 \begin_layout Plain Layout
13363 Edge angle [°]
13364 \end_layout
13365
13366 \end_inset
13367 </cell>
13368 <cell alignment="center" valignment="top" topline="true" usebox="none">
13369 \begin_inset Text
13370
13371 \begin_layout Plain Layout
13372 3.55
13373 \end_layout
13374
13375 \end_inset
13376 </cell>
13377 <cell alignment="center" valignment="top" topline="true" usebox="none">
13378 \begin_inset Text
13379
13380 \begin_layout Plain Layout
13381 2.71
13382 \end_layout
13383
13384 \end_inset
13385 </cell>
13386 <cell alignment="center" valignment="top" topline="true" usebox="none">
13387 \begin_inset Text
13388
13389 \begin_layout Plain Layout
13390 7.99
13391 \end_layout
13392
13393 \end_inset
13394 </cell>
13395 </row>
13396 <row topspace="default">
13397 <cell alignment="center" valignment="top" usebox="none">
13398 \begin_inset Text
13399
13400 \begin_layout Plain Layout
13401 Spatial resolution [µm]
13402 \end_layout
13403
13404 \end_inset
13405 </cell>
13406 <cell alignment="center" valignment="top" usebox="none">
13407 \begin_inset Text
13408
13409 \begin_layout Plain Layout
13410 4.26
13411 \end_layout
13412
13413 \end_inset
13414 </cell>
13415 <cell alignment="center" valignment="top" usebox="none">
13416 \begin_inset Text
13417
13418 \begin_layout Plain Layout
13419 10.17
13420 \end_layout
13421
13422 \end_inset
13423 </cell>
13424 <cell alignment="center" valignment="top" usebox="none">
13425 \begin_inset Text
13426
13427 \begin_layout Plain Layout
13428 10.56
13429 \end_layout
13430
13431 \end_inset
13432 </cell>
13433 </row>
13434 <row topspace="default">
13435 <cell alignment="center" valignment="top" usebox="none">
13436 \begin_inset Text
13437
13438 \begin_layout Plain Layout
13439 MTF at 
13440 \begin_inset Formula $f_{\mathrm{max}}$
13441 \end_inset
13442
13443
13444 \end_layout
13445
13446 \end_inset
13447 </cell>
13448 <cell alignment="center" valignment="top" usebox="none">
13449 \begin_inset Text
13450
13451 \begin_layout Plain Layout
13452 0.53
13453 \end_layout
13454
13455 \end_inset
13456 </cell>
13457 <cell alignment="center" valignment="top" usebox="none">
13458 \begin_inset Text
13459
13460 \begin_layout Plain Layout
13461 0.37
13462 \end_layout
13463
13464 \end_inset
13465 </cell>
13466 <cell alignment="center" valignment="top" usebox="none">
13467 \begin_inset Text
13468
13469 \begin_layout Plain Layout
13470 0.39
13471 \end_layout
13472
13473 \end_inset
13474 </cell>
13475 </row>
13476 <row>
13477 <cell alignment="center" valignment="top" topline="true" usebox="none">
13478 \begin_inset Text
13479
13480 \begin_layout Plain Layout
13481 \begin_inset ERT
13482 status collapsed
13483
13484 \begin_layout Plain Layout
13485
13486
13487 \backslash
13488 morecmidrules 
13489 \end_layout
13490
13491 \end_inset
13492
13493
13494 \begin_inset ERT
13495 status collapsed
13496
13497 \begin_layout Plain Layout
13498
13499
13500 \backslash
13501 cmidrule{3-4}
13502 \end_layout
13503
13504 \end_inset
13505
13506 LSF-spatial resolution
13507 \end_layout
13508
13509 \end_inset
13510 </cell>
13511 <cell alignment="center" valignment="top" topline="true" usebox="none">
13512 \begin_inset Text
13513
13514 \begin_layout Plain Layout
13515
13516 \end_layout
13517
13518 \end_inset
13519 </cell>
13520 <cell alignment="center" valignment="top" topline="true" usebox="none">
13521 \begin_inset Text
13522
13523 \begin_layout Plain Layout
13524
13525 \end_layout
13526
13527 \end_inset
13528 </cell>
13529 <cell alignment="center" valignment="top" topline="true" usebox="none">
13530 \begin_inset Text
13531
13532 \begin_layout Plain Layout
13533
13534 \end_layout
13535
13536 \end_inset
13537 </cell>
13538 </row>
13539 <row>
13540 <cell alignment="center" valignment="top" usebox="none">
13541 \begin_inset Text
13542
13543 \begin_layout Plain Layout
13544 in Âµm
13545 \end_layout
13546
13547 \end_inset
13548 </cell>
13549 <cell alignment="center" valignment="top" usebox="none">
13550 \begin_inset Text
13551
13552 \begin_layout Plain Layout
13553 129.7
13554 \end_layout
13555
13556 \end_inset
13557 </cell>
13558 <cell alignment="center" valignment="top" usebox="none">
13559 \begin_inset Text
13560
13561 \begin_layout Plain Layout
13562 52.75
13563 \end_layout
13564
13565 \end_inset
13566 </cell>
13567 <cell alignment="center" valignment="top" usebox="none">
13568 \begin_inset Text
13569
13570 \begin_layout Plain Layout
13571 50.78
13572 \end_layout
13573
13574 \end_inset
13575 </cell>
13576 </row>
13577 <row>
13578 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13579 \begin_inset Text
13580
13581 \begin_layout Plain Layout
13582 in % of pixel size
13583 \end_layout
13584
13585 \end_inset
13586 </cell>
13587 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13588 \begin_inset Text
13589
13590 \begin_layout Plain Layout
13591 76.3
13592 \end_layout
13593
13594 \end_inset
13595 </cell>
13596 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13597 \begin_inset Text
13598
13599 \begin_layout Plain Layout
13600 95.9
13601 \end_layout
13602
13603 \end_inset
13604 </cell>
13605 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13606 \begin_inset Text
13607
13608 \begin_layout Plain Layout
13609 92.3
13610 \end_layout
13611
13612 \end_inset
13613 </cell>
13614 </row>
13615 </lyxtabular>
13616
13617 \end_inset
13618
13619
13620 \end_layout
13621
13622 \end_inset
13623
13624
13625 \end_layout
13626
13627 \begin_layout Section
13628 Vertical Table Alignment
13629 \begin_inset Index
13630 status collapsed
13631
13632 \begin_layout Plain Layout
13633 Table ! Alignment
13634 \end_layout
13635
13636 \end_inset
13637
13638
13639 \end_layout
13640
13641 \begin_layout Standard
13642 To align tables vertically in a text line the table must be inside a box.
13643  The box can then be vertically aligned as described in section
13644 \begin_inset Space ~
13645 \end_inset
13646
13647
13648 \begin_inset CommandInset ref
13649 LatexCommand ref
13650 reference "sec:Box-Dialog"
13651
13652 \end_inset
13653
13654 .
13655 \end_layout
13656
13657 \begin_layout Standard
13658 In the following example the tables are inside a minipage
13659 \begin_inset Foot
13660 status collapsed
13661
13662 \begin_layout Plain Layout
13663 Minipages are described in section
13664 \begin_inset Space ~
13665 \end_inset
13666
13667
13668 \begin_inset CommandInset ref
13669 LatexCommand ref
13670 reference "sec:Minipages"
13671
13672 \end_inset
13673
13674 .
13675 \end_layout
13676
13677 \end_inset
13678
13679  box that has a width of 15
13680 \begin_inset Space \thinspace{}
13681 \end_inset
13682
13683 col%:
13684 \end_layout
13685
13686 \begin_layout Itemize
13687 test 
13688 \begin_inset Box Frameless
13689 position "t"
13690 hor_pos "c"
13691 has_inner_box 1
13692 inner_pos "c"
13693 use_parbox 0
13694 width "15col%"
13695 special "none"
13696 height "1in"
13697 height_special "totalheight"
13698 status collapsed
13699
13700 \begin_layout Plain Layout
13701 \begin_inset Tabular
13702 <lyxtabular version="3" rows="3" columns="3">
13703 <features>
13704 <column alignment="center" valignment="top" width="0">
13705 <column alignment="center" valignment="top" width="0">
13706 <column alignment="center" valignment="top" width="0">
13707 <row>
13708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13709 \begin_inset Text
13710
13711 \begin_layout Plain Layout
13712 a
13713 \end_layout
13714
13715 \end_inset
13716 </cell>
13717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13718 \begin_inset Text
13719
13720 \begin_layout Plain Layout
13721 d
13722 \end_layout
13723
13724 \end_inset
13725 </cell>
13726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13727 \begin_inset Text
13728
13729 \begin_layout Plain Layout
13730 g
13731 \end_layout
13732
13733 \end_inset
13734 </cell>
13735 </row>
13736 <row>
13737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13738 \begin_inset Text
13739
13740 \begin_layout Plain Layout
13741 b
13742 \end_layout
13743
13744 \end_inset
13745 </cell>
13746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13747 \begin_inset Text
13748
13749 \begin_layout Plain Layout
13750 e
13751 \end_layout
13752
13753 \end_inset
13754 </cell>
13755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13756 \begin_inset Text
13757
13758 \begin_layout Plain Layout
13759 h
13760 \end_layout
13761
13762 \end_inset
13763 </cell>
13764 </row>
13765 <row>
13766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13767 \begin_inset Text
13768
13769 \begin_layout Plain Layout
13770 c
13771 \end_layout
13772
13773 \end_inset
13774 </cell>
13775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13776 \begin_inset Text
13777
13778 \begin_layout Plain Layout
13779 f
13780 \end_layout
13781
13782 \end_inset
13783 </cell>
13784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13785 \begin_inset Text
13786
13787 \begin_layout Plain Layout
13788 i
13789 \end_layout
13790
13791 \end_inset
13792 </cell>
13793 </row>
13794 </lyxtabular>
13795
13796 \end_inset
13797
13798
13799 \end_layout
13800
13801 \end_inset
13802
13803  test 
13804 \begin_inset ERT
13805 status collapsed
13806
13807 \begin_layout Plain Layout
13808
13809
13810 \backslash
13811 raisebox{0.85
13812 \backslash
13813 baselineskip}{
13814 \end_layout
13815
13816 \end_inset
13817
13818
13819 \begin_inset Box Frameless
13820 position "t"
13821 hor_pos "c"
13822 has_inner_box 1
13823 inner_pos "c"
13824 use_parbox 0
13825 width "15col%"
13826 special "none"
13827 height "1in"
13828 height_special "totalheight"
13829 status collapsed
13830
13831 \begin_layout Plain Layout
13832 \begin_inset Tabular
13833 <lyxtabular version="3" rows="3" columns="3">
13834 <features>
13835 <column alignment="center" valignment="top" width="0">
13836 <column alignment="center" valignment="top" width="0">
13837 <column alignment="center" valignment="top" width="0">
13838 <row>
13839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13840 \begin_inset Text
13841
13842 \begin_layout Plain Layout
13843 a
13844 \end_layout
13845
13846 \end_inset
13847 </cell>
13848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13849 \begin_inset Text
13850
13851 \begin_layout Plain Layout
13852 d
13853 \end_layout
13854
13855 \end_inset
13856 </cell>
13857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13858 \begin_inset Text
13859
13860 \begin_layout Plain Layout
13861 g
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 </row>
13867 <row>
13868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13869 \begin_inset Text
13870
13871 \begin_layout Plain Layout
13872 b
13873 \end_layout
13874
13875 \end_inset
13876 </cell>
13877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13878 \begin_inset Text
13879
13880 \begin_layout Plain Layout
13881 e
13882 \end_layout
13883
13884 \end_inset
13885 </cell>
13886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13887 \begin_inset Text
13888
13889 \begin_layout Plain Layout
13890 h
13891 \end_layout
13892
13893 \end_inset
13894 </cell>
13895 </row>
13896 <row>
13897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13898 \begin_inset Text
13899
13900 \begin_layout Plain Layout
13901 c
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Plain Layout
13910 f
13911 \end_layout
13912
13913 \end_inset
13914 </cell>
13915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13916 \begin_inset Text
13917
13918 \begin_layout Plain Layout
13919 i
13920 \end_layout
13921
13922 \end_inset
13923 </cell>
13924 </row>
13925 </lyxtabular>
13926
13927 \end_inset
13928
13929
13930 \end_layout
13931
13932 \end_inset
13933
13934
13935 \begin_inset ERT
13936 status collapsed
13937
13938 \begin_layout Plain Layout
13939
13940 }
13941 \end_layout
13942
13943 \end_inset
13944
13945
13946 \end_layout
13947
13948 \begin_layout Itemize
13949 test 
13950 \begin_inset Box Frameless
13951 position "c"
13952 hor_pos "c"
13953 has_inner_box 1
13954 inner_pos "c"
13955 use_parbox 0
13956 width "15col%"
13957 special "none"
13958 height "1in"
13959 height_special "totalheight"
13960 status collapsed
13961
13962 \begin_layout Plain Layout
13963 \begin_inset Tabular
13964 <lyxtabular version="3" rows="3" columns="3">
13965 <features>
13966 <column alignment="center" valignment="top" width="0">
13967 <column alignment="center" valignment="top" width="0">
13968 <column alignment="center" valignment="top" width="0">
13969 <row>
13970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13971 \begin_inset Text
13972
13973 \begin_layout Plain Layout
13974 a
13975 \end_layout
13976
13977 \end_inset
13978 </cell>
13979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13980 \begin_inset Text
13981
13982 \begin_layout Plain Layout
13983 d
13984 \end_layout
13985
13986 \end_inset
13987 </cell>
13988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13989 \begin_inset Text
13990
13991 \begin_layout Plain Layout
13992 g
13993 \end_layout
13994
13995 \end_inset
13996 </cell>
13997 </row>
13998 <row>
13999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14000 \begin_inset Text
14001
14002 \begin_layout Plain Layout
14003 b
14004 \end_layout
14005
14006 \end_inset
14007 </cell>
14008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14009 \begin_inset Text
14010
14011 \begin_layout Plain Layout
14012 e
14013 \end_layout
14014
14015 \end_inset
14016 </cell>
14017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14018 \begin_inset Text
14019
14020 \begin_layout Plain Layout
14021 h
14022 \end_layout
14023
14024 \end_inset
14025 </cell>
14026 </row>
14027 <row>
14028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14029 \begin_inset Text
14030
14031 \begin_layout Plain Layout
14032 c
14033 \end_layout
14034
14035 \end_inset
14036 </cell>
14037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14038 \begin_inset Text
14039
14040 \begin_layout Plain Layout
14041 f
14042 \end_layout
14043
14044 \end_inset
14045 </cell>
14046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14047 \begin_inset Text
14048
14049 \begin_layout Plain Layout
14050 i
14051 \end_layout
14052
14053 \end_inset
14054 </cell>
14055 </row>
14056 </lyxtabular>
14057
14058 \end_inset
14059
14060
14061 \end_layout
14062
14063 \end_inset
14064
14065
14066 \end_layout
14067
14068 \begin_layout Itemize
14069 test 
14070 \begin_inset Box Frameless
14071 position "b"
14072 hor_pos "c"
14073 has_inner_box 1
14074 inner_pos "c"
14075 use_parbox 0
14076 width "15col%"
14077 special "none"
14078 height "1in"
14079 height_special "totalheight"
14080 status collapsed
14081
14082 \begin_layout Plain Layout
14083 \begin_inset Tabular
14084 <lyxtabular version="3" rows="3" columns="3">
14085 <features>
14086 <column alignment="center" valignment="top" width="0">
14087 <column alignment="center" valignment="top" width="0">
14088 <column alignment="center" valignment="top" width="0">
14089 <row>
14090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14091 \begin_inset Text
14092
14093 \begin_layout Plain Layout
14094 a
14095 \end_layout
14096
14097 \end_inset
14098 </cell>
14099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14100 \begin_inset Text
14101
14102 \begin_layout Plain Layout
14103 d
14104 \end_layout
14105
14106 \end_inset
14107 </cell>
14108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14109 \begin_inset Text
14110
14111 \begin_layout Plain Layout
14112 g
14113 \end_layout
14114
14115 \end_inset
14116 </cell>
14117 </row>
14118 <row>
14119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14120 \begin_inset Text
14121
14122 \begin_layout Plain Layout
14123 b
14124 \end_layout
14125
14126 \end_inset
14127 </cell>
14128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14129 \begin_inset Text
14130
14131 \begin_layout Plain Layout
14132 e
14133 \end_layout
14134
14135 \end_inset
14136 </cell>
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Plain Layout
14141 h
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 </row>
14147 <row>
14148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14149 \begin_inset Text
14150
14151 \begin_layout Plain Layout
14152 c
14153 \end_layout
14154
14155 \end_inset
14156 </cell>
14157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14158 \begin_inset Text
14159
14160 \begin_layout Plain Layout
14161 f
14162 \end_layout
14163
14164 \end_inset
14165 </cell>
14166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14167 \begin_inset Text
14168
14169 \begin_layout Plain Layout
14170 i
14171 \end_layout
14172
14173 \end_inset
14174 </cell>
14175 </row>
14176 </lyxtabular>
14177
14178 \end_inset
14179
14180
14181 \end_layout
14182
14183 \end_inset
14184
14185  test 
14186 \begin_inset ERT
14187 status collapsed
14188
14189 \begin_layout Plain Layout
14190
14191
14192 \backslash
14193 raisebox{-0.32
14194 \backslash
14195 baselineskip}{
14196 \end_layout
14197
14198 \end_inset
14199
14200
14201 \begin_inset Box Frameless
14202 position "b"
14203 hor_pos "c"
14204 has_inner_box 1
14205 inner_pos "c"
14206 use_parbox 0
14207 width "15col%"
14208 special "none"
14209 height "1in"
14210 height_special "totalheight"
14211 status collapsed
14212
14213 \begin_layout Plain Layout
14214 \begin_inset Tabular
14215 <lyxtabular version="3" rows="3" columns="3">
14216 <features>
14217 <column alignment="center" valignment="top" width="0">
14218 <column alignment="center" valignment="top" width="0">
14219 <column alignment="center" valignment="top" width="0">
14220 <row>
14221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14222 \begin_inset Text
14223
14224 \begin_layout Plain Layout
14225 a
14226 \end_layout
14227
14228 \end_inset
14229 </cell>
14230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14231 \begin_inset Text
14232
14233 \begin_layout Plain Layout
14234 d
14235 \end_layout
14236
14237 \end_inset
14238 </cell>
14239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14240 \begin_inset Text
14241
14242 \begin_layout Plain Layout
14243 g
14244 \end_layout
14245
14246 \end_inset
14247 </cell>
14248 </row>
14249 <row>
14250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14251 \begin_inset Text
14252
14253 \begin_layout Plain Layout
14254 b
14255 \end_layout
14256
14257 \end_inset
14258 </cell>
14259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14260 \begin_inset Text
14261
14262 \begin_layout Plain Layout
14263 e
14264 \end_layout
14265
14266 \end_inset
14267 </cell>
14268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14269 \begin_inset Text
14270
14271 \begin_layout Plain Layout
14272 h
14273 \end_layout
14274
14275 \end_inset
14276 </cell>
14277 </row>
14278 <row>
14279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14280 \begin_inset Text
14281
14282 \begin_layout Plain Layout
14283 c
14284 \end_layout
14285
14286 \end_inset
14287 </cell>
14288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14289 \begin_inset Text
14290
14291 \begin_layout Plain Layout
14292 f
14293 \end_layout
14294
14295 \end_inset
14296 </cell>
14297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14298 \begin_inset Text
14299
14300 \begin_layout Plain Layout
14301 i
14302 \end_layout
14303
14304 \end_inset
14305 </cell>
14306 </row>
14307 </lyxtabular>
14308
14309 \end_inset
14310
14311
14312 \end_layout
14313
14314 \end_inset
14315
14316
14317 \begin_inset ERT
14318 status collapsed
14319
14320 \begin_layout Plain Layout
14321
14322 }
14323 \end_layout
14324
14325 \end_inset
14326
14327
14328 \end_layout
14329
14330 \begin_layout Standard
14331 As you can see, the content of the first and last table row is not correctly
14332  aligned with the text line where the table is in.
14333  To get this alignment, the minipage box must be set into a raisebox
14334 \begin_inset Foot
14335 status collapsed
14336
14337 \begin_layout Plain Layout
14338 Raiseboxes are described in section
14339 \begin_inset Space ~
14340 \end_inset
14341
14342
14343 \begin_inset CommandInset ref
14344 LatexCommand ref
14345 reference "sub:Vertical-Alignment"
14346
14347 \end_inset
14348
14349 .
14350 \end_layout
14351
14352 \end_inset
14353
14354 .
14355  In the example above the second table in the first item is aligned using
14356  the TeX-Code-command
14357 \end_layout
14358
14359 \begin_layout Standard
14360
14361 \series bold
14362
14363 \backslash
14364 raisebox{0.85
14365 \backslash
14366 baselineskip}{
14367 \end_layout
14368
14369 \begin_layout Standard
14370 before the box.
14371  Behind the box the closing brace 
14372 \series bold
14373 }
14374 \series default
14375  is inserted as TeX-Code.
14376  For the second table in the last item the command
14377 \end_layout
14378
14379 \begin_layout Standard
14380
14381 \series bold
14382
14383 \backslash
14384 raisebox{-0.32
14385 \backslash
14386 baselineskip}{
14387 \end_layout
14388
14389 \begin_layout Standard
14390 is used.
14391 \end_layout
14392
14393 \begin_layout Standard
14394 \begin_inset Note Greyedout
14395 status open
14396
14397 \begin_layout Plain Layout
14398
14399 \series bold
14400 Note:
14401 \series default
14402  The alignment of the table row content to the surrounding text line is
14403  not exact.
14404  The needed factor of the 
14405 \series bold
14406
14407 \backslash
14408 raisebox
14409 \series default
14410  command for this alignment depends on the document font, the font size,
14411  and the table line thickness.
14412 \end_layout
14413
14414 \end_inset
14415
14416
14417 \end_layout
14418
14419 \begin_layout Section
14420 Colored Tables
14421 \begin_inset CommandInset label
14422 LatexCommand label
14423 name "sec:Colored-Tables"
14424
14425 \end_inset
14426
14427
14428 \begin_inset Index
14429 status collapsed
14430
14431 \begin_layout Plain Layout
14432 Table ! Color
14433 \end_layout
14434
14435 \end_inset
14436
14437
14438 \end_layout
14439
14440 \begin_layout Subsection
14441 Colored Cells
14442 \begin_inset Index
14443 status collapsed
14444
14445 \begin_layout Plain Layout
14446 Table Color ! for Cells
14447 \end_layout
14448
14449 \end_inset
14450
14451
14452 \begin_inset Index
14453 status collapsed
14454
14455 \begin_layout Plain Layout
14456 Color ! for Table Cells
14457 \end_layout
14458
14459 \end_inset
14460
14461
14462 \end_layout
14463
14464 \begin_layout Standard
14465 \begin_inset Float table
14466 placement h
14467 wide false
14468 sideways false
14469 status open
14470
14471 \begin_layout Plain Layout
14472 \begin_inset Caption
14473
14474 \begin_layout Plain Layout
14475 \begin_inset CommandInset label
14476 LatexCommand label
14477 name "tab:Table-colored-without"
14478
14479 \end_inset
14480
14481 Table colored without using the package 
14482 \series bold
14483 colortbl
14484 \series default
14485
14486 \begin_inset OptArg
14487 status collapsed
14488
14489 \begin_layout Plain Layout
14490 Table without colortbl
14491 \end_layout
14492
14493 \end_inset
14494
14495
14496 \end_layout
14497
14498 \end_inset
14499
14500
14501 \end_layout
14502
14503 \begin_layout Plain Layout
14504 \align center
14505 \begin_inset Tabular
14506 <lyxtabular version="3" rows="3" columns="3">
14507 <features>
14508 <column alignment="center" valignment="top" width="0">
14509 <column alignment="center" valignment="top" width="0">
14510 <column alignment="center" valignment="top" width="0">
14511 <row>
14512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14513 \begin_inset Text
14514
14515 \begin_layout Plain Layout
14516
14517 \color green
14518 a
14519 \end_layout
14520
14521 \end_inset
14522 </cell>
14523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14524 \begin_inset Text
14525
14526 \begin_layout Plain Layout
14527
14528 \color red
14529 b
14530 \end_layout
14531
14532 \end_inset
14533 </cell>
14534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14535 \begin_inset Text
14536
14537 \begin_layout Plain Layout
14538
14539 \color red
14540 c
14541 \end_layout
14542
14543 \end_inset
14544 </cell>
14545 </row>
14546 <row>
14547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14548 \begin_inset Text
14549
14550 \begin_layout Plain Layout
14551
14552 \color green
14553 d
14554 \end_layout
14555
14556 \end_inset
14557 </cell>
14558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14559 \begin_inset Text
14560
14561 \begin_layout Plain Layout
14562
14563 \color blue
14564 e
14565 \end_layout
14566
14567 \end_inset
14568 </cell>
14569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14570 \begin_inset Text
14571
14572 \begin_layout Plain Layout
14573
14574 \color blue
14575 f
14576 \end_layout
14577
14578 \end_inset
14579 </cell>
14580 </row>
14581 <row>
14582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14583 \begin_inset Text
14584
14585 \begin_layout Plain Layout
14586
14587 \color green
14588 g
14589 \end_layout
14590
14591 \end_inset
14592 </cell>
14593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14594 \begin_inset Text
14595
14596 \begin_layout Plain Layout
14597
14598 \color blue
14599 h
14600 \end_layout
14601
14602 \end_inset
14603 </cell>
14604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14605 \begin_inset Text
14606
14607 \begin_layout Plain Layout
14608
14609 \color blue
14610 i
14611 \end_layout
14612
14613 \end_inset
14614 </cell>
14615 </row>
14616 </lyxtabular>
14617
14618 \end_inset
14619
14620
14621 \end_layout
14622
14623 \end_inset
14624
14625
14626 \end_layout
14627
14628 \begin_layout Standard
14629 If you only need colored text, mark the cells and choose a color in the
14630  menu 
14631 \family sans
14632 Edit\SpecialChar \menuseparator
14633 Text
14634 \begin_inset Space ~
14635 \end_inset
14636
14637 Style
14638 \family default
14639 .
14640  This was used to create Table
14641 \begin_inset Space ~
14642 \end_inset
14643
14644
14645 \begin_inset CommandInset ref
14646 LatexCommand ref
14647 reference "tab:Table-colored-without"
14648
14649 \end_inset
14650
14651 .
14652  In any other case you have to use the LaTeX-package 
14653 \series bold
14654 colortbl
14655 \series default
14656 .
14657 \begin_inset Index
14658 status collapsed
14659
14660 \begin_layout Plain Layout
14661 LaTeX-packages ! colortbl
14662 \end_layout
14663
14664 \end_inset
14665
14666
14667 \end_layout
14668
14669 \begin_layout Standard
14670 \begin_inset ERT
14671 status collapsed
14672
14673 \begin_layout Plain Layout
14674
14675
14676 \backslash
14677 ifcolortbl
14678 \end_layout
14679
14680 \end_inset
14681
14682
14683 \begin_inset Note Note
14684 status open
14685
14686 \begin_layout Plain Layout
14687 The following section part will only be displayed when the LaTeX-package
14688  
14689 \series bold
14690 colortbl
14691 \series default
14692  is installed.
14693 \end_layout
14694
14695 \end_inset
14696
14697
14698 \end_layout
14699
14700 \begin_layout Standard
14701 To create colored tables, 
14702 \series bold
14703 colortbl
14704 \series default
14705  must be loaded in the preamble with the line
14706 \end_layout
14707
14708 \begin_layout Standard
14709
14710 \series bold
14711
14712 \backslash
14713 usepackage{colortbl}
14714 \end_layout
14715
14716 \begin_layout Standard
14717 The color of a column is adjusted with the command
14718 \end_layout
14719
14720 \begin_layout Standard
14721
14722 \series bold
14723
14724 \backslash
14725 columncolor{name of color}
14726 \end_layout
14727
14728 \begin_layout Standard
14729 inside the command 
14730 \series bold
14731 >{ }
14732 \series default
14733 .
14734  More about the command 
14735 \series bold
14736 >{}
14737 \series default
14738  is described in section
14739 \begin_inset Space ~
14740 \end_inset
14741
14742
14743 \begin_inset CommandInset ref
14744 LatexCommand ref
14745 reference "sub:Multicolumn-Calculations"
14746
14747 \end_inset
14748
14749 .
14750 \end_layout
14751
14752 \begin_layout Standard
14753 The following color names are predefined:
14754 \end_layout
14755
14756 \begin_layout Standard
14757
14758 \family sans
14759 red
14760 \family default
14761
14762 \family sans
14763 green
14764 \family default
14765
14766 \family sans
14767 yellow
14768 \family default
14769
14770 \family sans
14771 blue
14772 \family default
14773
14774 \family sans
14775 cyan
14776 \family default
14777
14778 \family sans
14779 magenta
14780 \family default
14781
14782 \family sans
14783 black
14784 \family default
14785  and 
14786 \family sans
14787 white
14788 \end_layout
14789
14790 \begin_layout Standard
14791 \begin_inset VSpace medskip
14792 \end_inset
14793
14794
14795 \end_layout
14796
14797 \begin_layout Standard
14798 You can also define your own color with the command
14799 \end_layout
14800
14801 \begin_layout Standard
14802
14803 \series bold
14804
14805 \backslash
14806 definecolor{color name}{color model}{color values}
14807 \end_layout
14808
14809 \begin_layout Standard
14810 The color model can be
14811 \end_layout
14812
14813 \begin_layout Labeling
14814 \labelwidthstring 00.00.0000
14815 cmyk: cyan, magenta, yellow, black
14816 \end_layout
14817
14818 \begin_layout Labeling
14819 \labelwidthstring 00.00.0000
14820 rgb: red, green blue
14821 \end_layout
14822
14823 \begin_layout Labeling
14824 \labelwidthstring 00.00.0000
14825 gray gray
14826 \end_layout
14827
14828 \begin_layout Standard
14829 and the color values are comma separated numbers between 0 and 1 describing
14830  the factor for the corresponding color of the color model.
14831 \end_layout
14832
14833 \begin_layout Standard
14834 You can e.
14835 \begin_inset Space \thinspace{}
14836 \end_inset
14837
14838 g.
14839 \begin_inset Space ~
14840 \end_inset
14841
14842 define the color "
14843 \emph on
14844 darkgreen
14845 \emph default
14846 " in the preamble with
14847 \end_layout
14848
14849 \begin_layout Standard
14850
14851 \series bold
14852
14853 \backslash
14854 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14855 \end_layout
14856
14857 \begin_layout Standard
14858 and the color "
14859 \emph on
14860 lightgray
14861 \emph default
14862 " with
14863 \end_layout
14864
14865 \begin_layout Standard
14866
14867 \series bold
14868
14869 \backslash
14870 definecolor{lightgray}{gray}{0.8}
14871 \end_layout
14872
14873 \begin_layout Standard
14874 \begin_inset VSpace medskip
14875 \end_inset
14876
14877
14878 \end_layout
14879
14880 \begin_layout Standard
14881 Lines are colored with the command
14882 \end_layout
14883
14884 \begin_layout Standard
14885
14886 \series bold
14887
14888 \backslash
14889 rowcolor{name of color}
14890 \end_layout
14891
14892 \begin_layout Standard
14893 and cells are colored with the command
14894 \end_layout
14895
14896 \begin_layout Standard
14897
14898 \series bold
14899
14900 \backslash
14901 cellcolor{name of color}
14902 \end_layout
14903
14904 \begin_layout Standard
14905 Both commands are inserted at the beginning of a cell as TeX-Code.
14906 \end_layout
14907
14908 \begin_layout Standard
14909 To color characters in the table, mark the cells and use the LyX menu 
14910 \family sans
14911 Edit\SpecialChar \menuseparator
14912 Text
14913 \begin_inset Space ~
14914 \end_inset
14915
14916 Style
14917 \family default
14918 .
14919  If a cell contains TeX-Code mark only the characters, otherwise the colored
14920  TeX-Code will cause LaTeX-errors.
14921 \end_layout
14922
14923 \begin_layout Standard
14924 \begin_inset Note Greyedout
14925 status open
14926
14927 \begin_layout Plain Layout
14928
14929 \series bold
14930 Note:
14931 \series default
14932  Not all DVI-viewers are able to display self-defined colors.
14933 \end_layout
14934
14935 \end_inset
14936
14937
14938 \end_layout
14939
14940 \begin_layout Standard
14941 \begin_inset VSpace bigskip
14942 \end_inset
14943
14944
14945 \end_layout
14946
14947 \begin_layout Standard
14948 To create Table
14949 \begin_inset Space ~
14950 \end_inset
14951
14952
14953 \begin_inset CommandInset ref
14954 LatexCommand ref
14955 reference "tab:Table-colored-using"
14956
14957 \end_inset
14958
14959  do the following: The color of the first column should be 
14960 \emph on
14961 darkgreen
14962 \emph default
14963 .
14964  So insert
14965 \end_layout
14966
14967 \begin_layout Standard
14968
14969 \series bold
14970 >{
14971 \backslash
14972 columncolor{darkgreen}
14973 \backslash
14974 centering}c
14975 \end_layout
14976
14977 \begin_layout Standard
14978 as LaTeX-argument for this column.
14979  The first row should be blue, therefore the TeX-Code command
14980 \end_layout
14981
14982 \begin_layout Standard
14983
14984 \series bold
14985
14986 \backslash
14987 rowcolow{cyan}
14988 \end_layout
14989
14990 \begin_layout Standard
14991 is inserted to the first cell of this row.
14992  Note that this overwrites the column color for the first cell.
14993  The last cell of the last row is colored magenta by inserting the TeX-Code
14994  command
14995 \end_layout
14996
14997 \begin_layout Standard
14998
14999 \series bold
15000
15001 \backslash
15002 cellcolor{magenta}
15003 \end_layout
15004
15005 \begin_layout Standard
15006 The characters could now be colored using the menu 
15007 \family sans
15008 Edit\SpecialChar \menuseparator
15009 Text
15010 \begin_inset Space ~
15011 \end_inset
15012
15013 Style
15014 \family default
15015 .
15016 \end_layout
15017
15018 \begin_layout Standard
15019 \begin_inset Float table
15020 placement h
15021 wide false
15022 sideways false
15023 status open
15024
15025 \begin_layout Plain Layout
15026 \begin_inset Caption
15027
15028 \begin_layout Plain Layout
15029 \begin_inset CommandInset label
15030 LatexCommand label
15031 name "tab:Table-colored-using"
15032
15033 \end_inset
15034
15035 Table colored using the package 
15036 \series bold
15037 colortbl
15038 \series default
15039
15040 \begin_inset OptArg
15041 status collapsed
15042
15043 \begin_layout Plain Layout
15044 Table with colortbl
15045 \end_layout
15046
15047 \end_inset
15048
15049
15050 \end_layout
15051
15052 \end_inset
15053
15054
15055 \end_layout
15056
15057 \begin_layout Plain Layout
15058 \align center
15059 \begin_inset Tabular
15060 <lyxtabular version="3" rows="3" columns="3">
15061 <features>
15062 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15063 <column alignment="center" valignment="top" width="0">
15064 <column alignment="center" valignment="top" width="0">
15065 <row>
15066 <cell alignment="center" valignment="top" usebox="none">
15067 \begin_inset Text
15068
15069 \begin_layout Plain Layout
15070 \begin_inset ERT
15071 status collapsed
15072
15073 \begin_layout Plain Layout
15074
15075
15076 \backslash
15077 rowcolor{cyan}
15078 \end_layout
15079
15080 \end_inset
15081
15082
15083 \color magenta
15084 a
15085 \end_layout
15086
15087 \end_inset
15088 </cell>
15089 <cell alignment="center" valignment="top" usebox="none">
15090 \begin_inset Text
15091
15092 \begin_layout Plain Layout
15093
15094 \color red
15095 b
15096 \end_layout
15097
15098 \end_inset
15099 </cell>
15100 <cell alignment="center" valignment="top" usebox="none">
15101 \begin_inset Text
15102
15103 \begin_layout Plain Layout
15104
15105 \color red
15106 c
15107 \end_layout
15108
15109 \end_inset
15110 </cell>
15111 </row>
15112 <row>
15113 <cell alignment="center" valignment="top" usebox="none">
15114 \begin_inset Text
15115
15116 \begin_layout Plain Layout
15117
15118 \color yellow
15119 d
15120 \end_layout
15121
15122 \end_inset
15123 </cell>
15124 <cell alignment="center" valignment="top" usebox="none">
15125 \begin_inset Text
15126
15127 \begin_layout Plain Layout
15128
15129 \color blue
15130 e
15131 \end_layout
15132
15133 \end_inset
15134 </cell>
15135 <cell alignment="center" valignment="top" usebox="none">
15136 \begin_inset Text
15137
15138 \begin_layout Plain Layout
15139
15140 \color blue
15141 f
15142 \end_layout
15143
15144 \end_inset
15145 </cell>
15146 </row>
15147 <row>
15148 <cell alignment="center" valignment="top" usebox="none">
15149 \begin_inset Text
15150
15151 \begin_layout Plain Layout
15152
15153 \color yellow
15154 g
15155 \end_layout
15156
15157 \end_inset
15158 </cell>
15159 <cell alignment="center" valignment="top" usebox="none">
15160 \begin_inset Text
15161
15162 \begin_layout Plain Layout
15163
15164 \color blue
15165 h
15166 \end_layout
15167
15168 \end_inset
15169 </cell>
15170 <cell alignment="center" valignment="top" usebox="none">
15171 \begin_inset Text
15172
15173 \begin_layout Plain Layout
15174 \begin_inset ERT
15175 status collapsed
15176
15177 \begin_layout Plain Layout
15178
15179
15180 \backslash
15181 cellcolor{magenta}
15182 \end_layout
15183
15184 \end_inset
15185
15186
15187 \color green
15188 i
15189 \end_layout
15190
15191 \end_inset
15192 </cell>
15193 </row>
15194 </lyxtabular>
15195
15196 \end_inset
15197
15198
15199 \end_layout
15200
15201 \end_inset
15202
15203
15204 \end_layout
15205
15206 \begin_layout Standard
15207 \begin_inset ERT
15208 status collapsed
15209
15210 \begin_layout Plain Layout
15211
15212
15213 \backslash
15214 else
15215 \end_layout
15216
15217 \end_inset
15218
15219
15220 \begin_inset Note Note
15221 status open
15222
15223 \begin_layout Plain Layout
15224 The following will be displayed when the LaTeX-package 
15225 \series bold
15226 colortbl
15227 \series default
15228  is not installed:
15229 \end_layout
15230
15231 \end_inset
15232
15233
15234 \end_layout
15235
15236 \begin_layout Standard
15237 You need to install the package 
15238 \series bold
15239 colortbl
15240 \series default
15241  to see the content of this section in the output.
15242 \end_layout
15243
15244 \begin_layout Standard
15245 \begin_inset ERT
15246 status collapsed
15247
15248 \begin_layout Plain Layout
15249
15250
15251 \backslash
15252 fi
15253 \end_layout
15254
15255 \end_inset
15256
15257
15258 \end_layout
15259
15260 \begin_layout Subsection
15261 Colored Lines
15262 \begin_inset Index
15263 status collapsed
15264
15265 \begin_layout Plain Layout
15266 Table Color ! for Lines
15267 \end_layout
15268
15269 \end_inset
15270
15271
15272 \begin_inset Index
15273 status collapsed
15274
15275 \begin_layout Plain Layout
15276 Color ! for Table Lines
15277 \end_layout
15278
15279 \end_inset
15280
15281
15282 \end_layout
15283
15284 \begin_layout Standard
15285 As described in section
15286 \begin_inset Space ~
15287 \end_inset
15288
15289
15290 \begin_inset CommandInset ref
15291 LatexCommand ref
15292 reference "sub:Line-Thickness"
15293
15294 \end_inset
15295
15296 , the line thickness for all lines in a table can be adjusted with the length
15297  
15298 \series bold
15299
15300 \backslash
15301 arrayrulewidth
15302 \series default
15303 .
15304  It is set to 1.5
15305 \begin_inset Space \thinspace{}
15306 \end_inset
15307
15308 pt for all tables of this section.
15309 \begin_inset ERT
15310 status collapsed
15311
15312 \begin_layout Plain Layout
15313
15314
15315 \backslash
15316 setlength{
15317 \backslash
15318 arrayrulewidth}{1.5pt}
15319 \end_layout
15320
15321 \end_inset
15322
15323
15324 \end_layout
15325
15326 \begin_layout Standard
15327 To color vertical lines for example with green, create the following column
15328  format in the document preamble, according to the description in section
15329 \begin_inset Space ~
15330 \end_inset
15331
15332
15333 \begin_inset CommandInset ref
15334 LatexCommand ref
15335 reference "sub:Customized-Format"
15336
15337 \end_inset
15338
15339 :
15340 \end_layout
15341
15342 \begin_layout Standard
15343
15344 \series bold
15345
15346 \backslash
15347 newcolumntype{W}{!{
15348 \backslash
15349 color{green}
15350 \backslash
15351 vline}}
15352 \end_layout
15353
15354 \begin_layout Standard
15355 For Table
15356 \begin_inset Space ~
15357 \end_inset
15358
15359
15360 \begin_inset CommandInset ref
15361 LatexCommand ref
15362 reference "tab:Table-with-vertical-colored"
15363
15364 \end_inset
15365
15366  the LaTeX-argument
15367 \series bold
15368  WcW
15369 \series default
15370  was used for the last column and
15371 \series bold
15372  Wc
15373 \series default
15374  for the other columns.
15375 \end_layout
15376
15377 \begin_layout Standard
15378 If you want to have several colors, define more column formats.
15379 \end_layout
15380
15381 \begin_layout Standard
15382 \begin_inset Float table
15383 placement h
15384 wide false
15385 sideways false
15386 status open
15387
15388 \begin_layout Plain Layout
15389 \begin_inset Caption
15390
15391 \begin_layout Plain Layout
15392 \begin_inset CommandInset label
15393 LatexCommand label
15394 name "tab:Table-with-vertical-colored"
15395
15396 \end_inset
15397
15398 Table with colored vertical lines
15399 \end_layout
15400
15401 \end_inset
15402
15403
15404 \end_layout
15405
15406 \begin_layout Plain Layout
15407 \align center
15408 \begin_inset Tabular
15409 <lyxtabular version="3" rows="3" columns="3">
15410 <features>
15411 <column alignment="center" valignment="top" width="0" special="Wc">
15412 <column alignment="center" valignment="top" width="0" special="Wc">
15413 <column alignment="center" valignment="top" width="0" special="WcW">
15414 <row>
15415 <cell alignment="center" valignment="top" topline="true" usebox="none">
15416 \begin_inset Text
15417
15418 \begin_layout Plain Layout
15419 sd
15420 \end_layout
15421
15422 \end_inset
15423 </cell>
15424 <cell alignment="center" valignment="top" topline="true" usebox="none">
15425 \begin_inset Text
15426
15427 \begin_layout Plain Layout
15428
15429 \end_layout
15430
15431 \end_inset
15432 </cell>
15433 <cell alignment="center" valignment="top" topline="true" usebox="none">
15434 \begin_inset Text
15435
15436 \begin_layout Plain Layout
15437
15438 \end_layout
15439
15440 \end_inset
15441 </cell>
15442 </row>
15443 <row>
15444 <cell alignment="center" valignment="top" topline="true" usebox="none">
15445 \begin_inset Text
15446
15447 \begin_layout Plain Layout
15448
15449 \end_layout
15450
15451 \end_inset
15452 </cell>
15453 <cell alignment="center" valignment="top" topline="true" usebox="none">
15454 \begin_inset Text
15455
15456 \begin_layout Plain Layout
15457 sd
15458 \end_layout
15459
15460 \end_inset
15461 </cell>
15462 <cell alignment="center" valignment="top" topline="true" usebox="none">
15463 \begin_inset Text
15464
15465 \begin_layout Plain Layout
15466
15467 \end_layout
15468
15469 \end_inset
15470 </cell>
15471 </row>
15472 <row>
15473 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15474 \begin_inset Text
15475
15476 \begin_layout Plain Layout
15477
15478 \end_layout
15479
15480 \end_inset
15481 </cell>
15482 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15483 \begin_inset Text
15484
15485 \begin_layout Plain Layout
15486
15487 \end_layout
15488
15489 \end_inset
15490 </cell>
15491 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15492 \begin_inset Text
15493
15494 \begin_layout Plain Layout
15495 sd
15496 \end_layout
15497
15498 \end_inset
15499 </cell>
15500 </row>
15501 </lyxtabular>
15502
15503 \end_inset
15504
15505
15506 \end_layout
15507
15508 \end_inset
15509
15510
15511 \end_layout
15512
15513 \begin_layout Standard
15514 \begin_inset VSpace bigskip
15515 \end_inset
15516
15517 To color horizontal lines for example with red, like in Table
15518 \begin_inset Space ~
15519 \end_inset
15520
15521
15522 \begin_inset CommandInset ref
15523 LatexCommand ref
15524 reference "tab:Table-with-horizontal-colored"
15525
15526 \end_inset
15527
15528 , insert these commands in TeX-Code before the table or table float:
15529 \end_layout
15530
15531 \begin_layout Standard
15532
15533 \series bold
15534
15535 \backslash
15536 let
15537 \backslash
15538 myHlineC
15539 \backslash
15540 hline
15541 \begin_inset Newline newline
15542 \end_inset
15543
15544
15545 \backslash
15546 renewcommand{
15547 \backslash
15548 hline}
15549 \begin_inset Newline newline
15550 \end_inset
15551
15552
15553 \begin_inset ERT
15554 status collapsed
15555
15556 \begin_layout Plain Layout
15557
15558
15559 \backslash
15560 hphantom{ }
15561 \end_layout
15562
15563 \end_inset
15564
15565 {
15566 \backslash
15567 arrayrulecolor{red}
15568 \backslash
15569 myHlineC
15570 \backslash
15571 arrayrulecolor{black}}
15572 \end_layout
15573
15574 \begin_layout Standard
15575 \begin_inset ERT
15576 status collapsed
15577
15578 \begin_layout Plain Layout
15579
15580
15581 \backslash
15582 let
15583 \backslash
15584 myHlineC
15585 \backslash
15586 hline
15587 \end_layout
15588
15589 \begin_layout Plain Layout
15590
15591
15592 \backslash
15593 renewcommand{
15594 \backslash
15595 hline}
15596 \end_layout
15597
15598 \begin_layout Plain Layout
15599
15600  {
15601 \backslash
15602 arrayrulecolor{red}
15603 \backslash
15604 myHlineC
15605 \backslash
15606 arrayrulecolor{black}}
15607 \end_layout
15608
15609 \end_inset
15610
15611
15612 \begin_inset Float table
15613 placement h
15614 wide false
15615 sideways false
15616 status open
15617
15618 \begin_layout Plain Layout
15619 \begin_inset Caption
15620
15621 \begin_layout Plain Layout
15622 \begin_inset CommandInset label
15623 LatexCommand label
15624 name "tab:Table-with-horizontal-colored"
15625
15626 \end_inset
15627
15628 Table with colored horizontal lines
15629 \end_layout
15630
15631 \end_inset
15632
15633
15634 \end_layout
15635
15636 \begin_layout Plain Layout
15637 \align center
15638 \begin_inset Tabular
15639 <lyxtabular version="3" rows="3" columns="3">
15640 <features>
15641 <column alignment="center" valignment="top" width="0">
15642 <column alignment="center" valignment="top" width="0">
15643 <column alignment="center" valignment="top" width="0">
15644 <row>
15645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15646 \begin_inset Text
15647
15648 \begin_layout Plain Layout
15649 sd
15650 \end_layout
15651
15652 \end_inset
15653 </cell>
15654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15655 \begin_inset Text
15656
15657 \begin_layout Plain Layout
15658
15659 \end_layout
15660
15661 \end_inset
15662 </cell>
15663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15664 \begin_inset Text
15665
15666 \begin_layout Plain Layout
15667
15668 \end_layout
15669
15670 \end_inset
15671 </cell>
15672 </row>
15673 <row>
15674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15675 \begin_inset Text
15676
15677 \begin_layout Plain Layout
15678
15679 \end_layout
15680
15681 \end_inset
15682 </cell>
15683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15684 \begin_inset Text
15685
15686 \begin_layout Plain Layout
15687 sd
15688 \end_layout
15689
15690 \end_inset
15691 </cell>
15692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15693 \begin_inset Text
15694
15695 \begin_layout Plain Layout
15696
15697 \end_layout
15698
15699 \end_inset
15700 </cell>
15701 </row>
15702 <row>
15703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15704 \begin_inset Text
15705
15706 \begin_layout Plain Layout
15707
15708 \end_layout
15709
15710 \end_inset
15711 </cell>
15712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15713 \begin_inset Text
15714
15715 \begin_layout Plain Layout
15716
15717 \end_layout
15718
15719 \end_inset
15720 </cell>
15721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15722 \begin_inset Text
15723
15724 \begin_layout Plain Layout
15725 sd
15726 \end_layout
15727
15728 \end_inset
15729 </cell>
15730 </row>
15731 </lyxtabular>
15732
15733 \end_inset
15734
15735
15736 \end_layout
15737
15738 \end_inset
15739
15740
15741 \end_layout
15742
15743 \begin_layout Standard
15744 To return to the default line color black, insert this command in TeX-Code
15745  behind the table or table float:
15746 \end_layout
15747
15748 \begin_layout Standard
15749
15750 \series bold
15751
15752 \backslash
15753 renewcommand{
15754 \backslash
15755 hline}{
15756 \backslash
15757 myHlineC}
15758 \end_layout
15759
15760 \begin_layout Standard
15761 Table
15762 \begin_inset Space ~
15763 \end_inset
15764
15765
15766 \begin_inset CommandInset ref
15767 LatexCommand ref
15768 reference "tab:Table-with-colored"
15769
15770 \end_inset
15771
15772  is an example with colored vertical and horizontal lines.
15773 \end_layout
15774
15775 \begin_layout Standard
15776 \begin_inset Float table
15777 placement h
15778 wide false
15779 sideways false
15780 status open
15781
15782 \begin_layout Plain Layout
15783 \begin_inset Caption
15784
15785 \begin_layout Plain Layout
15786 \begin_inset CommandInset label
15787 LatexCommand label
15788 name "tab:Table-with-colored"
15789
15790 \end_inset
15791
15792 Table with colored lines
15793 \end_layout
15794
15795 \end_inset
15796
15797
15798 \end_layout
15799
15800 \begin_layout Plain Layout
15801 \align center
15802 \begin_inset Tabular
15803 <lyxtabular version="3" rows="3" columns="3">
15804 <features>
15805 <column alignment="center" valignment="top" width="0" special="Wc">
15806 <column alignment="center" valignment="top" width="0" special="Wc">
15807 <column alignment="center" valignment="top" width="0" special="WcW">
15808 <row>
15809 <cell alignment="center" valignment="top" topline="true" usebox="none">
15810 \begin_inset Text
15811
15812 \begin_layout Plain Layout
15813 sd
15814 \end_layout
15815
15816 \end_inset
15817 </cell>
15818 <cell alignment="center" valignment="top" topline="true" usebox="none">
15819 \begin_inset Text
15820
15821 \begin_layout Plain Layout
15822
15823 \end_layout
15824
15825 \end_inset
15826 </cell>
15827 <cell alignment="center" valignment="top" topline="true" usebox="none">
15828 \begin_inset Text
15829
15830 \begin_layout Plain Layout
15831
15832 \end_layout
15833
15834 \end_inset
15835 </cell>
15836 </row>
15837 <row>
15838 <cell alignment="center" valignment="top" topline="true" usebox="none">
15839 \begin_inset Text
15840
15841 \begin_layout Plain Layout
15842
15843 \end_layout
15844
15845 \end_inset
15846 </cell>
15847 <cell alignment="center" valignment="top" topline="true" usebox="none">
15848 \begin_inset Text
15849
15850 \begin_layout Plain Layout
15851 sd
15852 \end_layout
15853
15854 \end_inset
15855 </cell>
15856 <cell alignment="center" valignment="top" topline="true" usebox="none">
15857 \begin_inset Text
15858
15859 \begin_layout Plain Layout
15860
15861 \end_layout
15862
15863 \end_inset
15864 </cell>
15865 </row>
15866 <row topspace="default">
15867 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15868 \begin_inset Text
15869
15870 \begin_layout Plain Layout
15871
15872 \end_layout
15873
15874 \end_inset
15875 </cell>
15876 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15877 \begin_inset Text
15878
15879 \begin_layout Plain Layout
15880
15881 \end_layout
15882
15883 \end_inset
15884 </cell>
15885 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15886 \begin_inset Text
15887
15888 \begin_layout Plain Layout
15889 sd
15890 \end_layout
15891
15892 \end_inset
15893 </cell>
15894 </row>
15895 </lyxtabular>
15896
15897 \end_inset
15898
15899
15900 \end_layout
15901
15902 \end_inset
15903
15904
15905 \end_layout
15906
15907 \begin_layout Standard
15908 \begin_inset ERT
15909 status collapsed
15910
15911 \begin_layout Plain Layout
15912
15913
15914 \backslash
15915 renewcommand{
15916 \backslash
15917 hline}{
15918 \backslash
15919 myHlineC}
15920 \end_layout
15921
15922 \end_inset
15923
15924
15925 \end_layout
15926
15927 \begin_layout Standard
15928 \begin_inset ERT
15929 status collapsed
15930
15931 \begin_layout Plain Layout
15932
15933
15934 \backslash
15935 setlength{
15936 \backslash
15937 arrayrulewidth}{0.4pt}
15938 \end_layout
15939
15940 \end_inset
15941
15942
15943 \end_layout
15944
15945 \begin_layout Section
15946 Table Customization
15947 \begin_inset Index
15948 status collapsed
15949
15950 \begin_layout Plain Layout
15951 Table Customization
15952 \end_layout
15953
15954 \end_inset
15955
15956
15957 \begin_inset Index
15958 status collapsed
15959
15960 \begin_layout Plain Layout
15961 Table ! Customization
15962 \end_layout
15963
15964 \end_inset
15965
15966
15967 \end_layout
15968
15969 \begin_layout Subsection
15970 Row Spacing
15971 \begin_inset CommandInset label
15972 LatexCommand label
15973 name "sub:Row-Spacing"
15974
15975 \end_inset
15976
15977
15978 \begin_inset Index
15979 status collapsed
15980
15981 \begin_layout Plain Layout
15982 Table Customization ! Row Spacing
15983 \end_layout
15984
15985 \end_inset
15986
15987
15988 \end_layout
15989
15990 \begin_layout Standard
15991 You can add vertical space to table rows in the 
15992 \family sans
15993 Borders
15994 \family default
15995  tab of the table dialog.
15996  You find there three possibilities:
15997 \end_layout
15998
15999 \begin_layout Description
16000 Top
16001 \begin_inset Space ~
16002 \end_inset
16003
16004 of
16005 \begin_inset Space ~
16006 \end_inset
16007
16008 row will add space above the characters of the table row.
16009  If the table is a formal table
16010 \begin_inset Foot
16011 status collapsed
16012
16013 \begin_layout Plain Layout
16014 Formal tables are explained in section
16015 \begin_inset Space ~
16016 \end_inset
16017
16018
16019 \begin_inset CommandInset ref
16020 LatexCommand ref
16021 reference "sec:Formal-Tables"
16022
16023 \end_inset
16024
16025 .
16026 \end_layout
16027
16028 \end_inset
16029
16030  LyX will insert as default 0.5
16031 \begin_inset Space \thinspace{}
16032 \end_inset
16033
16034 em space.
16035  For normal tables the inserted space will unfortunately destroy the vertical
16036  table lines as in the following table:
16037 \begin_inset VSpace medskip
16038 \end_inset
16039
16040
16041 \begin_inset Newline newline
16042 \end_inset
16043
16044
16045 \begin_inset Space \hspace*{}
16046 \length 0pt
16047 \end_inset
16048
16049
16050 \begin_inset Space \hfill{}
16051 \end_inset
16052
16053
16054 \begin_inset Tabular
16055 <lyxtabular version="3" rows="3" columns="1">
16056 <features>
16057 <column alignment="center" valignment="top" width="0">
16058 <row>
16059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16060 \begin_inset Text
16061
16062 \begin_layout Plain Layout
16063 A
16064 \end_layout
16065
16066 \end_inset
16067 </cell>
16068 </row>
16069 <row topspace="3mm">
16070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16071 \begin_inset Text
16072
16073 \begin_layout Plain Layout
16074 3
16075 \begin_inset Space \thinspace{}
16076 \end_inset
16077
16078 mm space top of row
16079 \end_layout
16080
16081 \end_inset
16082 </cell>
16083 </row>
16084 <row>
16085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16086 \begin_inset Text
16087
16088 \begin_layout Plain Layout
16089 C
16090 \end_layout
16091
16092 \end_inset
16093 </cell>
16094 </row>
16095 </lyxtabular>
16096
16097 \end_inset
16098
16099
16100 \begin_inset Space \hfill{}
16101 \end_inset
16102
16103
16104 \begin_inset Space \hspace*{}
16105 \length 0pt
16106 \end_inset
16107
16108
16109 \begin_inset VSpace medskip
16110 \end_inset
16111
16112
16113 \begin_inset Newline newline
16114 \end_inset
16115
16116 So inserting space to the top of row for normal tables is only useful when
16117  you don't have vertical lines.
16118 \end_layout
16119
16120 \begin_layout Description
16121 Bottom
16122 \begin_inset Space ~
16123 \end_inset
16124
16125 of
16126 \begin_inset Space ~
16127 \end_inset
16128
16129 row will add space below the characters of the table row.
16130  If the table is a formal table LyX will insert as default 0.5
16131 \begin_inset Space \thinspace{}
16132 \end_inset
16133
16134 em space, for normal tables the default size is 2
16135 \begin_inset Space \thinspace{}
16136 \end_inset
16137
16138 pt.
16139 \end_layout
16140
16141 \begin_layout Description
16142 Between
16143 \begin_inset Space ~
16144 \end_inset
16145
16146 rows adds space between the current and the following row.
16147  If the table is a formal table LyX will insert as default 0.5
16148 \begin_inset Space \thinspace{}
16149 \end_inset
16150
16151 em space.
16152  For normal tables the inserted space will unfortunately destroy the vertical
16153  table lines as in the following table:
16154 \begin_inset VSpace medskip
16155 \end_inset
16156
16157
16158 \begin_inset Newline newline
16159 \end_inset
16160
16161
16162 \begin_inset Space \hspace*{}
16163 \length 0pt
16164 \end_inset
16165
16166
16167 \begin_inset Space \hfill{}
16168 \end_inset
16169
16170
16171 \begin_inset Tabular
16172 <lyxtabular version="3" rows="3" columns="1">
16173 <features>
16174 <column alignment="center" valignment="top" width="0">
16175 <row>
16176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16177 \begin_inset Text
16178
16179 \begin_layout Plain Layout
16180 A
16181 \end_layout
16182
16183 \end_inset
16184 </cell>
16185 </row>
16186 <row interlinespace="3mm">
16187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16188 \begin_inset Text
16189
16190 \begin_layout Plain Layout
16191 \begin_inset Formula $\downarrow$
16192 \end_inset
16193
16194  3
16195 \begin_inset Space \thinspace{}
16196 \end_inset
16197
16198 mm space between row 
16199 \begin_inset Formula $\downarrow$
16200 \end_inset
16201
16202
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 </row>
16208 <row>
16209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16210 \begin_inset Text
16211
16212 \begin_layout Plain Layout
16213 \begin_inset Formula $\uparrow$
16214 \end_inset
16215
16216  3
16217 \begin_inset Space \thinspace{}
16218 \end_inset
16219
16220 mm space between row 
16221 \begin_inset Formula $\uparrow$
16222 \end_inset
16223
16224
16225 \end_layout
16226
16227 \end_inset
16228 </cell>
16229 </row>
16230 </lyxtabular>
16231
16232 \end_inset
16233
16234
16235 \begin_inset Space \hfill{}
16236 \end_inset
16237
16238
16239 \begin_inset Space \hspace*{}
16240 \length 0pt
16241 \end_inset
16242
16243
16244 \begin_inset VSpace medskip
16245 \end_inset
16246
16247
16248 \begin_inset Newline newline
16249 \end_inset
16250
16251 So inserting space between rows for normal tables is only useful when you
16252  don't have vertical lines.
16253 \end_layout
16254
16255 \begin_layout Standard
16256 \begin_inset VSpace bigskip
16257 \end_inset
16258
16259 When you want to add extra height to all cells of all tables, you can do
16260  this with the following preamble lines:
16261 \end_layout
16262
16263 \begin_layout Standard
16264
16265 \series bold
16266
16267 \backslash
16268 @ifundefined{extrarowheight}
16269 \begin_inset Newline newline
16270 \end_inset
16271
16272
16273 \begin_inset ERT
16274 status collapsed
16275
16276 \begin_layout Plain Layout
16277
16278
16279 \backslash
16280 hphantom{ }
16281 \end_layout
16282
16283 \end_inset
16284
16285 {
16286 \backslash
16287 usepackage{array}}{}
16288 \begin_inset Newline newline
16289 \end_inset
16290
16291
16292 \backslash
16293 setlength{
16294 \backslash
16295 extrarowheight}{height}
16296 \end_layout
16297
16298 \begin_layout Standard
16299 But this has the disadvantage that the cell texts are no longer exactly
16300  vertically centered.
16301  (The package 
16302 \series bold
16303 array
16304 \series default
16305  will be loaded automatically by LyX when you use self defined table formats.
16306  To avoid that it is loaded twice the command 
16307 \series bold
16308
16309 \backslash
16310 @ifundefined
16311 \series default
16312  is used in the above command.)
16313 \end_layout
16314
16315 \begin_layout Subsection
16316 Special Cell Alignment
16317 \begin_inset Index
16318 status collapsed
16319
16320 \begin_layout Plain Layout
16321 Table Customization ! Special Cell Alignment
16322 \end_layout
16323
16324 \end_inset
16325
16326
16327 \end_layout
16328
16329 \begin_layout Standard
16330 Sometimes it looks better when the cell entries of a column are aligned
16331  with a special character, e.
16332 \begin_inset Space \thinspace{}
16333 \end_inset
16334
16335 g.
16336 \begin_inset Space ~
16337 \end_inset
16338
16339 with the decimal separator as in Table
16340 \begin_inset Space ~
16341 \end_inset
16342
16343
16344 \begin_inset CommandInset ref
16345 LatexCommand ref
16346 reference "tab:Table-cells-of"
16347
16348 \end_inset
16349
16350 .
16351 \end_layout
16352
16353 \begin_layout Standard
16354 \begin_inset Float table
16355 placement h
16356 wide false
16357 sideways false
16358 status open
16359
16360 \begin_layout Plain Layout
16361 \begin_inset Caption
16362
16363 \begin_layout Plain Layout
16364 \begin_inset CommandInset label
16365 LatexCommand label
16366 name "tab:Table-cells-of"
16367
16368 \end_inset
16369
16370 Table cells of a column aligned with the decimal separator.
16371 \end_layout
16372
16373 \end_inset
16374
16375
16376 \end_layout
16377
16378 \begin_layout Plain Layout
16379 \align center
16380 \begin_inset Tabular
16381 <lyxtabular version="3" rows="4" columns="2">
16382 <features>
16383 <column alignment="right" valignment="top" width="0">
16384 <column alignment="left" valignment="top" width="0" special="@{}l">
16385 <row>
16386 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16387 \begin_inset Text
16388
16389 \begin_layout Plain Layout
16390 heading
16391 \end_layout
16392
16393 \end_inset
16394 </cell>
16395 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Plain Layout
16399
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 </row>
16405 <row>
16406 <cell alignment="center" valignment="top" usebox="none">
16407 \begin_inset Text
16408
16409 \begin_layout Plain Layout
16410 12.
16411 \end_layout
16412
16413 \end_inset
16414 </cell>
16415 <cell alignment="center" valignment="top" usebox="none">
16416 \begin_inset Text
16417
16418 \begin_layout Plain Layout
16419 6
16420 \end_layout
16421
16422 \end_inset
16423 </cell>
16424 </row>
16425 <row>
16426 <cell alignment="center" valignment="top" usebox="none">
16427 \begin_inset Text
16428
16429 \begin_layout Plain Layout
16430 0.
16431 \end_layout
16432
16433 \end_inset
16434 </cell>
16435 <cell alignment="center" valignment="top" usebox="none">
16436 \begin_inset Text
16437
16438 \begin_layout Plain Layout
16439 68
16440 \end_layout
16441
16442 \end_inset
16443 </cell>
16444 </row>
16445 <row>
16446 <cell alignment="center" valignment="top" usebox="none">
16447 \begin_inset Text
16448
16449 \begin_layout Plain Layout
16450 -123.
16451 \end_layout
16452
16453 \end_inset
16454 </cell>
16455 <cell alignment="center" valignment="top" usebox="none">
16456 \begin_inset Text
16457
16458 \begin_layout Plain Layout
16459 0
16460 \end_layout
16461
16462 \end_inset
16463 </cell>
16464 </row>
16465 </lyxtabular>
16466
16467 \end_inset
16468
16469
16470 \end_layout
16471
16472 \end_inset
16473
16474
16475 \end_layout
16476
16477 \begin_layout Standard
16478 This table was created with a 4×2 table.
16479  The heading is a centered multicolumn.
16480  The first column is right-aligned and contains the digits before the decimal
16481  point and the decimal point.
16482  The second column is left aligned and contains the digits after the decimal
16483  point.
16484  To omit the space that is normally between two table columns, use the following
16485  LaTeX-argument for the second column:
16486 \end_layout
16487
16488 \begin_layout Standard
16489
16490 \series bold
16491 @{}l
16492 \end_layout
16493
16494 \begin_layout Standard
16495 Table
16496 \begin_inset Space ~
16497 \end_inset
16498
16499
16500 \begin_inset CommandInset ref
16501 LatexCommand ref
16502 reference "tab:Several-table-cell"
16503
16504 \end_inset
16505
16506  shows some example alignments.
16507  For the alignment with the relation sign, you must add the second smallest
16508  math-space at the beginning of the last column to get the correct space
16509  surrounding the relation sign.
16510 \end_layout
16511
16512 \begin_layout Standard
16513 \begin_inset Float table
16514 wide false
16515 sideways false
16516 status open
16517
16518 \begin_layout Plain Layout
16519 \begin_inset Caption
16520
16521 \begin_layout Plain Layout
16522 \begin_inset CommandInset label
16523 LatexCommand label
16524 name "tab:Several-table-cell"
16525
16526 \end_inset
16527
16528 Several table cell alignments.
16529 \end_layout
16530
16531 \end_inset
16532
16533
16534 \end_layout
16535
16536 \begin_layout Plain Layout
16537 \align center
16538 \begin_inset Tabular
16539 <lyxtabular version="3" rows="4" columns="6">
16540 <features>
16541 <column alignment="right" valignment="top" width="0">
16542 <column alignment="left" valignment="top" width="0" special="@{}l">
16543 <column alignment="right" valignment="top" width="0">
16544 <column alignment="left" valignment="top" width="0" special="@{}l">
16545 <column alignment="right" valignment="top" width="0">
16546 <column alignment="left" valignment="top" width="0" special="@{}l">
16547 <row>
16548 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16549 \begin_inset Text
16550
16551 \begin_layout Plain Layout
16552 units
16553 \end_layout
16554
16555 \end_inset
16556 </cell>
16557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16558 \begin_inset Text
16559
16560 \begin_layout Plain Layout
16561
16562 \end_layout
16563
16564 \end_inset
16565 </cell>
16566 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16567 \begin_inset Text
16568
16569 \begin_layout Plain Layout
16570 exponents
16571 \end_layout
16572
16573 \end_inset
16574 </cell>
16575 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16576 \begin_inset Text
16577
16578 \begin_layout Plain Layout
16579
16580 \end_layout
16581
16582 \end_inset
16583 </cell>
16584 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16585 \begin_inset Text
16586
16587 \begin_layout Plain Layout
16588 relations
16589 \end_layout
16590
16591 \end_inset
16592 </cell>
16593 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16594 \begin_inset Text
16595
16596 \begin_layout Plain Layout
16597
16598 \end_layout
16599
16600 \end_inset
16601 </cell>
16602 </row>
16603 <row>
16604 <cell alignment="center" valignment="top" usebox="none">
16605 \begin_inset Text
16606
16607 \begin_layout Plain Layout
16608 12×
16609 \end_layout
16610
16611 \end_inset
16612 </cell>
16613 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16614 \begin_inset Text
16615
16616 \begin_layout Plain Layout
16617 24
16618 \begin_inset Space \thinspace{}
16619 \end_inset
16620
16621 bottles
16622 \end_layout
16623
16624 \end_inset
16625 </cell>
16626 <cell alignment="center" valignment="top" usebox="none">
16627 \begin_inset Text
16628
16629 \begin_layout Plain Layout
16630 \begin_inset Formula $10\cdot$
16631 \end_inset
16632
16633
16634 \end_layout
16635
16636 \end_inset
16637 </cell>
16638 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16639 \begin_inset Text
16640
16641 \begin_layout Plain Layout
16642 \begin_inset Formula $10^{\mbox{-}17}$
16643 \end_inset
16644
16645
16646 \end_layout
16647
16648 \end_inset
16649 </cell>
16650 <cell alignment="center" valignment="top" usebox="none">
16651 \begin_inset Text
16652
16653 \begin_layout Plain Layout
16654 \begin_inset Formula $\Gamma(t)\propto$
16655 \end_inset
16656
16657
16658 \end_layout
16659
16660 \end_inset
16661 </cell>
16662 <cell alignment="center" valignment="top" usebox="none">
16663 \begin_inset Text
16664
16665 \begin_layout Plain Layout
16666 \begin_inset Formula $\:\Upsilon(t)$
16667 \end_inset
16668
16669
16670 \end_layout
16671
16672 \end_inset
16673 </cell>
16674 </row>
16675 <row>
16676 <cell alignment="center" valignment="top" usebox="none">
16677 \begin_inset Text
16678
16679 \begin_layout Plain Layout
16680 1024×
16681 \end_layout
16682
16683 \end_inset
16684 </cell>
16685 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16686 \begin_inset Text
16687
16688 \begin_layout Plain Layout
16689 768
16690 \begin_inset Space \thinspace{}
16691 \end_inset
16692
16693 Pixels
16694 \end_layout
16695
16696 \end_inset
16697 </cell>
16698 <cell alignment="center" valignment="top" usebox="none">
16699 \begin_inset Text
16700
16701 \begin_layout Plain Layout
16702 \begin_inset Formula $5.78\cdot$
16703 \end_inset
16704
16705
16706 \end_layout
16707
16708 \end_inset
16709 </cell>
16710 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16711 \begin_inset Text
16712
16713 \begin_layout Plain Layout
16714 \begin_inset Formula $10^{7}$
16715 \end_inset
16716
16717
16718 \end_layout
16719
16720 \end_inset
16721 </cell>
16722 <cell alignment="center" valignment="top" usebox="none">
16723 \begin_inset Text
16724
16725 \begin_layout Plain Layout
16726 \begin_inset Formula $A\ne$
16727 \end_inset
16728
16729
16730 \end_layout
16731
16732 \end_inset
16733 </cell>
16734 <cell alignment="center" valignment="top" usebox="none">
16735 \begin_inset Text
16736
16737 \begin_layout Plain Layout
16738 \begin_inset Formula $\: B_{\mathrm{red}}$
16739 \end_inset
16740
16741
16742 \end_layout
16743
16744 \end_inset
16745 </cell>
16746 </row>
16747 <row>
16748 <cell alignment="center" valignment="top" usebox="none">
16749 \begin_inset Text
16750
16751 \begin_layout Plain Layout
16752 32×
16753 \end_layout
16754
16755 \end_inset
16756 </cell>
16757 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16758 \begin_inset Text
16759
16760 \begin_layout Plain Layout
16761 6
16762 \begin_inset Space \thinspace{}
16763 \end_inset
16764
16765 cm
16766 \end_layout
16767
16768 \end_inset
16769 </cell>
16770 <cell alignment="center" valignment="top" usebox="none">
16771 \begin_inset Text
16772
16773 \begin_layout Plain Layout
16774 -
16775 \begin_inset Formula $33.5\cdot$
16776 \end_inset
16777
16778
16779 \end_layout
16780
16781 \end_inset
16782 </cell>
16783 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16784 \begin_inset Text
16785
16786 \begin_layout Plain Layout
16787 \begin_inset Formula $10^{4}$
16788 \end_inset
16789
16790
16791 \end_layout
16792
16793 \end_inset
16794 </cell>
16795 <cell alignment="center" valignment="top" usebox="none">
16796 \begin_inset Text
16797
16798 \begin_layout Plain Layout
16799 \begin_inset Formula $\sin(\alpha)\ge$
16800 \end_inset
16801
16802
16803 \end_layout
16804
16805 \end_inset
16806 </cell>
16807 <cell alignment="center" valignment="top" usebox="none">
16808 \begin_inset Text
16809
16810 \begin_layout Plain Layout
16811 \begin_inset Formula $\:\sin(\beta)$
16812 \end_inset
16813
16814
16815 \end_layout
16816
16817 \end_inset
16818 </cell>
16819 </row>
16820 </lyxtabular>
16821
16822 \end_inset
16823
16824
16825 \end_layout
16826
16827 \end_inset
16828
16829
16830 \end_layout
16831
16832 \begin_layout Standard
16833 \begin_inset VSpace bigskip
16834 \end_inset
16835
16836 There is also the LaTeX-package 
16837 \series bold
16838 dcolumn
16839 \series default
16840
16841 \begin_inset Index
16842 status collapsed
16843
16844 \begin_layout Plain Layout
16845 LaTeX-packages ! dcolumn
16846 \end_layout
16847
16848 \end_inset
16849
16850  that provides table cell alignments.
16851  But this unfortunately treats the cell entries as math and doesn't allow
16852  formulas in table cells: The first column of Table
16853 \begin_inset Space ~
16854 \end_inset
16855
16856
16857 \begin_inset CommandInset ref
16858 LatexCommand ref
16859 reference "tab:Several-table-cell"
16860
16861 \end_inset
16862
16863  will look with 
16864 \series bold
16865 dcolumn
16866 \series default
16867  like the first column in Table
16868 \begin_inset Space ~
16869 \end_inset
16870
16871
16872 \begin_inset CommandInset ref
16873 LatexCommand ref
16874 reference "tab:Alignments-when"
16875
16876 \end_inset
16877
16878  and only with some tricks like the expected.
16879  The alignment of the second and third column of Table
16880 \begin_inset Space ~
16881 \end_inset
16882
16883
16884 \begin_inset CommandInset ref
16885 LatexCommand ref
16886 reference "tab:Several-table-cell"
16887
16888 \end_inset
16889
16890  is not possible with 
16891 \series bold
16892 dcolumn
16893 \series default
16894 .
16895 \end_layout
16896
16897 \begin_layout Standard
16898 \begin_inset Float table
16899 placement h
16900 wide false
16901 sideways false
16902 status open
16903
16904 \begin_layout Plain Layout
16905 \begin_inset Caption
16906
16907 \begin_layout Plain Layout
16908 \begin_inset CommandInset label
16909 LatexCommand label
16910 name "tab:Alignments-when"
16911
16912 \end_inset
16913
16914 Alignments when LaTeX-package dcolumn is used.
16915  For all column alignments tricks have to be used to get the output.
16916 \end_layout
16917
16918 \end_inset
16919
16920
16921 \end_layout
16922
16923 \begin_layout Plain Layout
16924 \align center
16925 \begin_inset Tabular
16926 <lyxtabular version="3" rows="4" columns="3">
16927 <features>
16928 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16929 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16930 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16931 <row>
16932 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16933 \begin_inset Text
16934
16935 \begin_layout Plain Layout
16936 units
16937 \end_layout
16938
16939 \end_inset
16940 </cell>
16941 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Plain Layout
16945 units
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16951 \begin_inset Text
16952
16953 \begin_layout Plain Layout
16954 units
16955 \end_layout
16956
16957 \end_inset
16958 </cell>
16959 </row>
16960 <row>
16961 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16962 \begin_inset Text
16963
16964 \begin_layout Plain Layout
16965 12x24
16966 \begin_inset Space \thinspace{}
16967 \end_inset
16968
16969 bottles
16970 \end_layout
16971
16972 \end_inset
16973 </cell>
16974 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16975 \begin_inset Text
16976
16977 \begin_layout Plain Layout
16978 12x24
16979 \begin_inset Space \thinspace{}
16980 \end_inset
16981
16982
16983 \begin_inset Formula $\mbox{bottles}$
16984 \end_inset
16985
16986
16987 \end_layout
16988
16989 \end_inset
16990 </cell>
16991 <cell alignment="center" valignment="top" usebox="none">
16992 \begin_inset Text
16993
16994 \begin_layout Plain Layout
16995 12
16996 \begin_inset ERT
16997 status collapsed
16998
16999 \begin_layout Plain Layout
17000
17001
17002 \backslash
17003 times 
17004 \end_layout
17005
17006 \end_inset
17007
17008 24~
17009 \begin_inset Formula $\mbox{bottles}$
17010 \end_inset
17011
17012
17013 \end_layout
17014
17015 \end_inset
17016 </cell>
17017 </row>
17018 <row>
17019 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17020 \begin_inset Text
17021
17022 \begin_layout Plain Layout
17023 1024x768
17024 \begin_inset Space \thinspace{}
17025 \end_inset
17026
17027 Pixels
17028 \end_layout
17029
17030 \end_inset
17031 </cell>
17032 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17033 \begin_inset Text
17034
17035 \begin_layout Plain Layout
17036 1024x768
17037 \begin_inset Space \thinspace{}
17038 \end_inset
17039
17040
17041 \begin_inset Formula $\mbox{Pixels}$
17042 \end_inset
17043
17044
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 <cell alignment="center" valignment="top" usebox="none">
17050 \begin_inset Text
17051
17052 \begin_layout Plain Layout
17053 1024
17054 \begin_inset ERT
17055 status collapsed
17056
17057 \begin_layout Plain Layout
17058
17059
17060 \backslash
17061 times 
17062 \end_layout
17063
17064 \end_inset
17065
17066 768~
17067 \begin_inset Formula $\mbox{Pixels}$
17068 \end_inset
17069
17070
17071 \end_layout
17072
17073 \end_inset
17074 </cell>
17075 </row>
17076 <row>
17077 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17078 \begin_inset Text
17079
17080 \begin_layout Plain Layout
17081 32x6
17082 \begin_inset Space \thinspace{}
17083 \end_inset
17084
17085 cm
17086 \end_layout
17087
17088 \end_inset
17089 </cell>
17090 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17091 \begin_inset Text
17092
17093 \begin_layout Plain Layout
17094 32x6
17095 \begin_inset Space \thinspace{}
17096 \end_inset
17097
17098
17099 \begin_inset Formula $\mbox{cm}$
17100 \end_inset
17101
17102
17103 \end_layout
17104
17105 \end_inset
17106 </cell>
17107 <cell alignment="center" valignment="top" usebox="none">
17108 \begin_inset Text
17109
17110 \begin_layout Plain Layout
17111 32
17112 \begin_inset ERT
17113 status collapsed
17114
17115 \begin_layout Plain Layout
17116
17117
17118 \backslash
17119 times 
17120 \end_layout
17121
17122 \end_inset
17123
17124 6~
17125 \begin_inset Formula $\mbox{cm}$
17126 \end_inset
17127
17128
17129 \end_layout
17130
17131 \end_inset
17132 </cell>
17133 </row>
17134 </lyxtabular>
17135
17136 \end_inset
17137
17138
17139 \end_layout
17140
17141 \end_inset
17142
17143
17144 \end_layout
17145
17146 \begin_layout Subsection
17147 Customized Cell/Column Format
17148 \begin_inset CommandInset label
17149 LatexCommand label
17150 name "sub:Customized-Format"
17151
17152 \end_inset
17153
17154
17155 \begin_inset Index
17156 status collapsed
17157
17158 \begin_layout Plain Layout
17159 Table Customization ! Cell/Column Format
17160 \end_layout
17161
17162 \end_inset
17163
17164
17165 \end_layout
17166
17167 \begin_layout Standard
17168 Calculating the needed width for spanned columns like in section
17169 \begin_inset Space ~
17170 \end_inset
17171
17172
17173 \begin_inset CommandInset ref
17174 LatexCommand ref
17175 reference "sub:Multicolumn-Calculations"
17176
17177 \end_inset
17178
17179  is very annoying if you have several tables with multicolumn cells.
17180  To make life easier, you can define a cell/column format in the preamble,
17181  so that it can be used in all tables of the document.
17182  The format is defined with the command
17183 \end_layout
17184
17185 \begin_layout Standard
17186
17187 \series bold
17188
17189 \backslash
17190 newcolumntype{name of format}[number of arguments]{commands}
17191 \end_layout
17192
17193 \begin_layout Standard
17194 The format name may only consist of one letter.
17195  The letters 
17196 \emph on
17197 b
17198 \emph default
17199
17200 \emph on
17201 c
17202 \emph default
17203
17204 \emph on
17205 l
17206 \emph default
17207
17208 \emph on
17209 m
17210 \emph default
17211
17212 \emph on
17213 p
17214 \emph default
17215  and 
17216 \emph on
17217 r
17218 \emph default
17219  are predefined and cannot be used.
17220  But all letters are allowed as capitals.
17221 \end_layout
17222
17223 \begin_layout Standard
17224 \begin_inset VSpace medskip
17225 \end_inset
17226
17227
17228 \end_layout
17229
17230 \begin_layout Standard
17231 For vertically and horizontally centered multicolumn cells with a fixed
17232  width you can define the cell format
17233 \end_layout
17234
17235 \begin_layout Standard
17236
17237 \series bold
17238
17239 \backslash
17240 newcolumntype{M}[1]{>{
17241 \backslash
17242 centering
17243 \backslash
17244 hspace{0pt}}m{#1}}
17245 \end_layout
17246
17247 \begin_layout Standard
17248 where 
17249 \series bold
17250
17251 \backslash
17252 hspace{0pt}
17253 \series default
17254  avoids the problem of hyphenating the first word, as described in section
17255 \begin_inset Space ~
17256 \end_inset
17257
17258
17259 \begin_inset CommandInset ref
17260 LatexCommand ref
17261 reference "sub:Multiple-Lines-in"
17262
17263 \end_inset
17264
17265 .
17266  Now you can simply enter
17267 \end_layout
17268
17269 \begin_layout Standard
17270
17271 \series bold
17272 M{width}
17273 \end_layout
17274
17275 \begin_layout Standard
17276 as LaTeX-argument in the table dialog to create a multicolumn.
17277 \end_layout
17278
17279 \begin_layout Standard
17280 \begin_inset VSpace bigskip
17281 \end_inset
17282
17283
17284 \end_layout
17285
17286 \begin_layout Standard
17287 For cells spanned by a multicolumn cell, you can define the format
17288 \end_layout
17289
17290 \begin_layout Standard
17291
17292 \series bold
17293
17294 \backslash
17295 newcolumntype{S}[2]{>{
17296 \backslash
17297 centering
17298 \backslash
17299 hspace{0pt}}
17300 \begin_inset Newline newline
17301 \end_inset
17302
17303
17304 \begin_inset ERT
17305 status collapsed
17306
17307 \begin_layout Plain Layout
17308
17309
17310 \backslash
17311 phantom{
17312 \end_layout
17313
17314 \end_inset
17315
17316
17317 \backslash
17318 newcolumntype
17319 \begin_inset ERT
17320 status collapsed
17321
17322 \begin_layout Plain Layout
17323
17324 }
17325 \end_layout
17326
17327 \end_inset
17328
17329 m{(#1+(2
17330 \backslash
17331 tabcolsep+
17332 \backslash
17333 arrayrulewidth)*(1-#2))/#2}}
17334 \end_layout
17335
17336 \begin_layout Standard
17337 This format uses equation 
17338 \begin_inset CommandInset ref
17339 LatexCommand eqref
17340 reference "eq:Wgn"
17341
17342 \end_inset
17343
17344  to calculate the needed width so that each spanned cell has the same width.
17345 \end_layout
17346
17347 \begin_layout Standard
17348 You can now enter
17349 \end_layout
17350
17351 \begin_layout Standard
17352
17353 \series bold
17354 S{width of multicolumn cell}{number of spanned columns}
17355 \end_layout
17356
17357 \begin_layout Standard
17358 as LaTeX-argument of the column.
17359 \end_layout
17360
17361 \begin_layout Standard
17362 \begin_inset VSpace bigskip
17363 \end_inset
17364
17365
17366 \end_layout
17367
17368 \begin_layout Standard
17369 For colored columns, you can define
17370 \end_layout
17371
17372 \begin_layout Standard
17373
17374 \series bold
17375
17376 \backslash
17377 newcolumntype{K}[1]{>{
17378 \backslash
17379 columncolor{#1}
17380 \backslash
17381 hspace{0pt}}c}
17382 \end_layout
17383
17384 \begin_layout Standard
17385 The 
17386 \begin_inset Quotes eld
17387 \end_inset
17388
17389 c
17390 \begin_inset Quotes erd
17391 \end_inset
17392
17393  at the end creates a column with a flexible width whose text is horizontally
17394  centered.
17395  You can now enter
17396 \end_layout
17397
17398 \begin_layout Standard
17399
17400 \series bold
17401 K{color name}
17402 \end_layout
17403
17404 \begin_layout Standard
17405 as LaTeX-argument.
17406 \end_layout
17407
17408 \begin_layout Standard
17409 \begin_inset VSpace bigskip
17410 \end_inset
17411
17412
17413 \end_layout
17414
17415 \begin_layout Standard
17416 To create Table
17417 \begin_inset Space ~
17418 \end_inset
17419
17420
17421 \begin_inset CommandInset ref
17422 LatexCommand ref
17423 reference "tab:Table-using-user-defined"
17424
17425 \end_inset
17426
17427  use the LaTeX-arguments
17428 \end_layout
17429
17430 \begin_layout Standard
17431
17432 \series bold
17433 M{2.5cm}
17434 \end_layout
17435
17436 \begin_layout Standard
17437 for the first column and the multicolumn,
17438 \end_layout
17439
17440 \begin_layout Standard
17441
17442 \series bold
17443 K{red}
17444 \end_layout
17445
17446 \begin_layout Standard
17447 for the the last column, and
17448 \end_layout
17449
17450 \begin_layout Standard
17451
17452 \series bold
17453 S{2.5cm}{2}
17454 \end_layout
17455
17456 \begin_layout Standard
17457 for the cells in the second column.
17458 \end_layout
17459
17460 \begin_layout Standard
17461 \begin_inset Float table
17462 placement h
17463 wide false
17464 sideways false
17465 status open
17466
17467 \begin_layout Plain Layout
17468 \begin_inset Caption
17469
17470 \begin_layout Plain Layout
17471 \begin_inset CommandInset label
17472 LatexCommand label
17473 name "tab:Table-using-user-defined"
17474
17475 \end_inset
17476
17477 Table using user-defined table formats
17478 \end_layout
17479
17480 \end_inset
17481
17482
17483 \end_layout
17484
17485 \begin_layout Plain Layout
17486 \align center
17487 \begin_inset Tabular
17488 <lyxtabular version="3" rows="3" columns="4">
17489 <features>
17490 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17491 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17492 <column alignment="center" valignment="middle" width="0">
17493 <column alignment="center" valignment="middle" width="0" special="K{red}">
17494 <row>
17495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17496 \begin_inset Text
17497
17498 \begin_layout Plain Layout
17499 verylongtablecellword
17500 \end_layout
17501
17502 \end_inset
17503 </cell>
17504 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17505 \begin_inset Text
17506
17507 \begin_layout Plain Layout
17508 multiple lines multicolumn
17509 \end_layout
17510
17511 \end_inset
17512 </cell>
17513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17514 \begin_inset Text
17515
17516 \begin_layout Plain Layout
17517
17518 \end_layout
17519
17520 \end_inset
17521 </cell>
17522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17523 \begin_inset Text
17524
17525 \begin_layout Plain Layout
17526 c
17527 \end_layout
17528
17529 \end_inset
17530 </cell>
17531 </row>
17532 <row>
17533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17534 \begin_inset Text
17535
17536 \begin_layout Plain Layout
17537 d
17538 \end_layout
17539
17540 \end_inset
17541 </cell>
17542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17543 \begin_inset Text
17544
17545 \begin_layout Plain Layout
17546 e
17547 \end_layout
17548
17549 \end_inset
17550 </cell>
17551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17552 \begin_inset Text
17553
17554 \begin_layout Plain Layout
17555 f
17556 \end_layout
17557
17558 \end_inset
17559 </cell>
17560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17561 \begin_inset Text
17562
17563 \begin_layout Plain Layout
17564 g
17565 \end_layout
17566
17567 \end_inset
17568 </cell>
17569 </row>
17570 <row>
17571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17572 \begin_inset Text
17573
17574 \begin_layout Plain Layout
17575 h
17576 \end_layout
17577
17578 \end_inset
17579 </cell>
17580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17581 \begin_inset Text
17582
17583 \begin_layout Plain Layout
17584 i
17585 \end_layout
17586
17587 \end_inset
17588 </cell>
17589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17590 \begin_inset Text
17591
17592 \begin_layout Plain Layout
17593 j
17594 \end_layout
17595
17596 \end_inset
17597 </cell>
17598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17599 \begin_inset Text
17600
17601 \begin_layout Plain Layout
17602 k
17603 \end_layout
17604
17605 \end_inset
17606 </cell>
17607 </row>
17608 </lyxtabular>
17609
17610 \end_inset
17611
17612
17613 \end_layout
17614
17615 \end_inset
17616
17617
17618 \end_layout
17619
17620 \begin_layout Subsection
17621 Line Thickness
17622 \begin_inset CommandInset label
17623 LatexCommand label
17624 name "sub:Line-Thickness"
17625
17626 \end_inset
17627
17628
17629 \begin_inset Index
17630 status collapsed
17631
17632 \begin_layout Plain Layout
17633 Table Customization ! Line Thickness
17634 \end_layout
17635
17636 \end_inset
17637
17638
17639 \end_layout
17640
17641 \begin_layout Standard
17642 The line thickness for all lines in a table can be adjusted with the length
17643  
17644 \series bold
17645
17646 \backslash
17647 arrayrulewidth
17648 \series default
17649 .
17650  To set for example a line thickness of 1.5
17651 \begin_inset Space \thinspace{}
17652 \end_inset
17653
17654 pt, like in Table
17655 \begin_inset Space ~
17656 \end_inset
17657
17658
17659 \begin_inset CommandInset ref
17660 LatexCommand ref
17661 reference "tab:Table-with-1.5"
17662
17663 \end_inset
17664
17665 , insert the command
17666 \end_layout
17667
17668 \begin_layout Standard
17669
17670 \series bold
17671
17672 \backslash
17673 setlength{
17674 \backslash
17675 arrayrulewidth}{1.5pt}
17676 \end_layout
17677
17678 \begin_layout Standard
17679 in TeX-Code before the table or table float.
17680  The changed thickness is valid for all following tables.
17681  To use the default value again, set 
17682 \series bold
17683
17684 \backslash
17685 arrayrulewidth
17686 \series default
17687  to 0.4
17688 \begin_inset Space \thinspace{}
17689 \end_inset
17690
17691 pt in TeX-Code behind the table or table float.
17692 \end_layout
17693
17694 \begin_layout Standard
17695 \begin_inset ERT
17696 status collapsed
17697
17698 \begin_layout Plain Layout
17699
17700
17701 \backslash
17702 setlength{
17703 \backslash
17704 arrayrulewidth}{1.5pt}
17705 \end_layout
17706
17707 \end_inset
17708
17709
17710 \begin_inset Float table
17711 wide false
17712 sideways false
17713 status open
17714
17715 \begin_layout Plain Layout
17716 \begin_inset Caption
17717
17718 \begin_layout Plain Layout
17719 \begin_inset CommandInset label
17720 LatexCommand label
17721 name "tab:Table-with-1.5"
17722
17723 \end_inset
17724
17725 Table with 1.5
17726 \begin_inset Space \thinspace{}
17727 \end_inset
17728
17729 pt thick lines
17730 \end_layout
17731
17732 \end_inset
17733
17734
17735 \end_layout
17736
17737 \begin_layout Plain Layout
17738 \align center
17739 \begin_inset Tabular
17740 <lyxtabular version="3" rows="3" columns="3">
17741 <features>
17742 <column alignment="center" valignment="top" width="0">
17743 <column alignment="center" valignment="top" width="0">
17744 <column alignment="center" valignment="top" width="0">
17745 <row>
17746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17747 \begin_inset Text
17748
17749 \begin_layout Plain Layout
17750 sd
17751 \end_layout
17752
17753 \end_inset
17754 </cell>
17755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17756 \begin_inset Text
17757
17758 \begin_layout Plain Layout
17759
17760 \end_layout
17761
17762 \end_inset
17763 </cell>
17764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17765 \begin_inset Text
17766
17767 \begin_layout Plain Layout
17768
17769 \end_layout
17770
17771 \end_inset
17772 </cell>
17773 </row>
17774 <row>
17775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17776 \begin_inset Text
17777
17778 \begin_layout Plain Layout
17779
17780 \end_layout
17781
17782 \end_inset
17783 </cell>
17784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17785 \begin_inset Text
17786
17787 \begin_layout Plain Layout
17788 sd
17789 \end_layout
17790
17791 \end_inset
17792 </cell>
17793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17794 \begin_inset Text
17795
17796 \begin_layout Plain Layout
17797
17798 \end_layout
17799
17800 \end_inset
17801 </cell>
17802 </row>
17803 <row>
17804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17805 \begin_inset Text
17806
17807 \begin_layout Plain Layout
17808
17809 \end_layout
17810
17811 \end_inset
17812 </cell>
17813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17814 \begin_inset Text
17815
17816 \begin_layout Plain Layout
17817
17818 \end_layout
17819
17820 \end_inset
17821 </cell>
17822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17823 \begin_inset Text
17824
17825 \begin_layout Plain Layout
17826 sd
17827 \end_layout
17828
17829 \end_inset
17830 </cell>
17831 </row>
17832 </lyxtabular>
17833
17834 \end_inset
17835
17836
17837 \end_layout
17838
17839 \end_inset
17840
17841
17842 \begin_inset ERT
17843 status collapsed
17844
17845 \begin_layout Plain Layout
17846
17847
17848 \backslash
17849 setlength{
17850 \backslash
17851 arrayrulewidth}{0.4pt}
17852 \end_layout
17853
17854 \end_inset
17855
17856
17857 \end_layout
17858
17859 \begin_layout Standard
17860 \begin_inset VSpace bigskip
17861 \end_inset
17862
17863 To set the line thickness to 1.5
17864 \begin_inset Space \thinspace{}
17865 \end_inset
17866
17867 pt only for horizontal lines, like in Table
17868 \begin_inset Space ~
17869 \end_inset
17870
17871
17872 \begin_inset CommandInset ref
17873 LatexCommand ref
17874 reference "tab:Table-with-horizontal"
17875
17876 \end_inset
17877
17878 , insert these commands in TeX-Code before the table or table float:
17879 \end_layout
17880
17881 \begin_layout Standard
17882
17883 \series bold
17884
17885 \backslash
17886 let
17887 \backslash
17888 myHline
17889 \backslash
17890 hline
17891 \begin_inset Newline newline
17892 \end_inset
17893
17894
17895 \backslash
17896 renewcommand{
17897 \backslash
17898 hline}
17899 \begin_inset Newline newline
17900 \end_inset
17901
17902  {
17903 \backslash
17904 noalign{
17905 \backslash
17906 global
17907 \backslash
17908 arrayrulewidth 1.5pt}
17909 \begin_inset Newline newline
17910 \end_inset
17911
17912  
17913 \backslash
17914 myHline
17915 \backslash
17916 noalign{
17917 \backslash
17918 global
17919 \backslash
17920 arrayrulewidth 0.4pt}}
17921 \end_layout
17922
17923 \begin_layout Standard
17924 To return to the default line thickness, insert this command in TeX-Code
17925  behind the table or table float:
17926 \end_layout
17927
17928 \begin_layout Standard
17929
17930 \series bold
17931
17932 \backslash
17933 renewcommand{
17934 \backslash
17935 hline}{
17936 \backslash
17937 myHline}
17938 \end_layout
17939
17940 \begin_layout Standard
17941 \begin_inset ERT
17942 status collapsed
17943
17944 \begin_layout Plain Layout
17945
17946
17947 \backslash
17948 let
17949 \backslash
17950 myHline
17951 \backslash
17952 hline
17953 \end_layout
17954
17955 \begin_layout Plain Layout
17956
17957
17958 \backslash
17959 renewcommand{
17960 \backslash
17961 hline}
17962 \end_layout
17963
17964 \begin_layout Plain Layout
17965
17966  {
17967 \backslash
17968 noalign{
17969 \backslash
17970 global
17971 \backslash
17972 arrayrulewidth 1.5pt}
17973 \end_layout
17974
17975 \begin_layout Plain Layout
17976
17977   
17978 \backslash
17979 myHline
17980 \backslash
17981 noalign{
17982 \backslash
17983 global
17984 \backslash
17985 arrayrulewidth 0.4pt}}
17986 \end_layout
17987
17988 \end_inset
17989
17990
17991 \begin_inset Float table
17992 wide false
17993 sideways false
17994 status open
17995
17996 \begin_layout Plain Layout
17997 \begin_inset Caption
17998
17999 \begin_layout Plain Layout
18000 \begin_inset CommandInset label
18001 LatexCommand label
18002 name "tab:Table-with-horizontal"
18003
18004 \end_inset
18005
18006 Table with 1.5
18007 \begin_inset Space \thinspace{}
18008 \end_inset
18009
18010 pt thick horizontal lines
18011 \end_layout
18012
18013 \end_inset
18014
18015
18016 \end_layout
18017
18018 \begin_layout Plain Layout
18019 \align center
18020 \begin_inset Tabular
18021 <lyxtabular version="3" rows="3" columns="3">
18022 <features>
18023 <column alignment="center" valignment="top" width="0">
18024 <column alignment="center" valignment="top" width="0">
18025 <column alignment="center" valignment="top" width="0">
18026 <row>
18027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18028 \begin_inset Text
18029
18030 \begin_layout Plain Layout
18031 sd
18032 \end_layout
18033
18034 \end_inset
18035 </cell>
18036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18037 \begin_inset Text
18038
18039 \begin_layout Plain Layout
18040
18041 \end_layout
18042
18043 \end_inset
18044 </cell>
18045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18046 \begin_inset Text
18047
18048 \begin_layout Plain Layout
18049
18050 \end_layout
18051
18052 \end_inset
18053 </cell>
18054 </row>
18055 <row>
18056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18057 \begin_inset Text
18058
18059 \begin_layout Plain Layout
18060
18061 \end_layout
18062
18063 \end_inset
18064 </cell>
18065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18066 \begin_inset Text
18067
18068 \begin_layout Plain Layout
18069 sd
18070 \end_layout
18071
18072 \end_inset
18073 </cell>
18074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18075 \begin_inset Text
18076
18077 \begin_layout Plain Layout
18078
18079 \end_layout
18080
18081 \end_inset
18082 </cell>
18083 </row>
18084 <row>
18085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18086 \begin_inset Text
18087
18088 \begin_layout Plain Layout
18089
18090 \end_layout
18091
18092 \end_inset
18093 </cell>
18094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18095 \begin_inset Text
18096
18097 \begin_layout Plain Layout
18098
18099 \end_layout
18100
18101 \end_inset
18102 </cell>
18103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18104 \begin_inset Text
18105
18106 \begin_layout Plain Layout
18107 sd
18108 \end_layout
18109
18110 \end_inset
18111 </cell>
18112 </row>
18113 </lyxtabular>
18114
18115 \end_inset
18116
18117
18118 \end_layout
18119
18120 \end_inset
18121
18122
18123 \begin_inset ERT
18124 status collapsed
18125
18126 \begin_layout Plain Layout
18127
18128
18129 \backslash
18130 renewcommand{
18131 \backslash
18132 hline}{
18133 \backslash
18134 myHline}
18135 \end_layout
18136
18137 \end_inset
18138
18139
18140 \end_layout
18141
18142 \begin_layout Standard
18143 \begin_inset VSpace bigskip
18144 \end_inset
18145
18146 To set the line thickness to 1.5
18147 \begin_inset Space \thinspace{}
18148 \end_inset
18149
18150 pt only for vertical lines, create the following column format in the document
18151  preamble, according to the description in section
18152 \begin_inset Space ~
18153 \end_inset
18154
18155
18156 \begin_inset CommandInset ref
18157 LatexCommand ref
18158 reference "sub:Customized-Format"
18159
18160 \end_inset
18161
18162 :
18163 \end_layout
18164
18165 \begin_layout Standard
18166
18167 \series bold
18168
18169 \backslash
18170 newcolumntype{V}{!{
18171 \backslash
18172 vrule width 1.5pt}}
18173 \end_layout
18174
18175 \begin_layout Standard
18176 For Table
18177 \begin_inset Space ~
18178 \end_inset
18179
18180
18181 \begin_inset CommandInset ref
18182 LatexCommand ref
18183 reference "tab:Table-with-vertical"
18184
18185 \end_inset
18186
18187  the LaTeX-argument
18188 \end_layout
18189
18190 \begin_layout Standard
18191
18192 \series bold
18193 VcV
18194 \end_layout
18195
18196 \begin_layout Standard
18197 was used for the last column and
18198 \end_layout
18199
18200 \begin_layout Standard
18201
18202 \series bold
18203 Vc
18204 \end_layout
18205
18206 \begin_layout Standard
18207 for the other columns.
18208 \end_layout
18209
18210 \begin_layout Standard
18211 \begin_inset Float table
18212 wide false
18213 sideways false
18214 status open
18215
18216 \begin_layout Plain Layout
18217 \begin_inset Caption
18218
18219 \begin_layout Plain Layout
18220 \begin_inset CommandInset label
18221 LatexCommand label
18222 name "tab:Table-with-vertical"
18223
18224 \end_inset
18225
18226 Table with 1.5
18227 \begin_inset Space \thinspace{}
18228 \end_inset
18229
18230 pt thick vertical lines
18231 \end_layout
18232
18233 \end_inset
18234
18235
18236 \end_layout
18237
18238 \begin_layout Plain Layout
18239 \align center
18240 \begin_inset Tabular
18241 <lyxtabular version="3" rows="3" columns="3">
18242 <features>
18243 <column alignment="center" valignment="top" width="0" special="Vc">
18244 <column alignment="center" valignment="top" width="0" special="Vc">
18245 <column alignment="center" valignment="top" width="0" special="VcV">
18246 <row>
18247 <cell alignment="center" valignment="top" topline="true" usebox="none">
18248 \begin_inset Text
18249
18250 \begin_layout Plain Layout
18251 sd
18252 \end_layout
18253
18254 \end_inset
18255 </cell>
18256 <cell alignment="center" valignment="top" topline="true" usebox="none">
18257 \begin_inset Text
18258
18259 \begin_layout Plain Layout
18260
18261 \end_layout
18262
18263 \end_inset
18264 </cell>
18265 <cell alignment="center" valignment="top" topline="true" usebox="none">
18266 \begin_inset Text
18267
18268 \begin_layout Plain Layout
18269
18270 \end_layout
18271
18272 \end_inset
18273 </cell>
18274 </row>
18275 <row>
18276 <cell alignment="center" valignment="top" topline="true" usebox="none">
18277 \begin_inset Text
18278
18279 \begin_layout Plain Layout
18280
18281 \end_layout
18282
18283 \end_inset
18284 </cell>
18285 <cell alignment="center" valignment="top" topline="true" usebox="none">
18286 \begin_inset Text
18287
18288 \begin_layout Plain Layout
18289 sd
18290 \end_layout
18291
18292 \end_inset
18293 </cell>
18294 <cell alignment="center" valignment="top" topline="true" usebox="none">
18295 \begin_inset Text
18296
18297 \begin_layout Plain Layout
18298
18299 \end_layout
18300
18301 \end_inset
18302 </cell>
18303 </row>
18304 <row>
18305 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18306 \begin_inset Text
18307
18308 \begin_layout Plain Layout
18309
18310 \end_layout
18311
18312 \end_inset
18313 </cell>
18314 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18315 \begin_inset Text
18316
18317 \begin_layout Plain Layout
18318
18319 \end_layout
18320
18321 \end_inset
18322 </cell>
18323 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18324 \begin_inset Text
18325
18326 \begin_layout Plain Layout
18327 sd
18328 \end_layout
18329
18330 \end_inset
18331 </cell>
18332 </row>
18333 </lyxtabular>
18334
18335 \end_inset
18336
18337
18338 \end_layout
18339
18340 \end_inset
18341
18342
18343 \end_layout
18344
18345 \begin_layout Subsection
18346 Dashed Lines
18347 \begin_inset Index
18348 status collapsed
18349
18350 \begin_layout Plain Layout
18351 Table Customization ! Dashed Lines
18352 \end_layout
18353
18354 \end_inset
18355
18356
18357 \end_layout
18358
18359 \begin_layout Standard
18360 \begin_inset ERT
18361 status collapsed
18362
18363 \begin_layout Plain Layout
18364
18365
18366 \backslash
18367 ifarydshln
18368 \end_layout
18369
18370 \end_inset
18371
18372
18373 \begin_inset Note Note
18374 status open
18375
18376 \begin_layout Plain Layout
18377 The following section will only be displayed when the LaTeX-package 
18378 \series bold
18379 arydshln
18380 \series default
18381  is installed.
18382 \end_layout
18383
18384 \end_inset
18385
18386
18387 \end_layout
18388
18389 \begin_layout Standard
18390 \begin_inset Float table
18391 placement H
18392 wide false
18393 sideways false
18394 status open
18395
18396 \begin_layout Plain Layout
18397 \begin_inset Caption
18398
18399 \begin_layout Plain Layout
18400 \begin_inset CommandInset label
18401 LatexCommand label
18402 name "tab:Table-with-dashed"
18403
18404 \end_inset
18405
18406 Table with dashed lines
18407 \end_layout
18408
18409 \end_inset
18410
18411
18412 \end_layout
18413
18414 \begin_layout Plain Layout
18415 \align center
18416 \begin_inset Tabular
18417 <lyxtabular version="3" rows="5" columns="5">
18418 <features>
18419 <column alignment="center" valignment="top" width="0">
18420 <column alignment="center" valignment="top" width="0">
18421 <column alignment="center" valignment="top" width="0" special=":c">
18422 <column alignment="center" valignment="top" width="0">
18423 <column alignment="center" valignment="top" width="0">
18424 <row>
18425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18426 \begin_inset Text
18427
18428 \begin_layout Plain Layout
18429 a
18430 \end_layout
18431
18432 \end_inset
18433 </cell>
18434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18435 \begin_inset Text
18436
18437 \begin_layout Plain Layout
18438 b
18439 \end_layout
18440
18441 \end_inset
18442 </cell>
18443 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18444 \begin_inset Text
18445
18446 \begin_layout Plain Layout
18447 c
18448 \end_layout
18449
18450 \end_inset
18451 </cell>
18452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18453 \begin_inset Text
18454
18455 \begin_layout Plain Layout
18456 d
18457 \end_layout
18458
18459 \end_inset
18460 </cell>
18461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18462 \begin_inset Text
18463
18464 \begin_layout Plain Layout
18465 e
18466 \end_layout
18467
18468 \end_inset
18469 </cell>
18470 </row>
18471 <row>
18472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18473 \begin_inset Text
18474
18475 \begin_layout Plain Layout
18476 f
18477 \end_layout
18478
18479 \end_inset
18480 </cell>
18481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18482 \begin_inset Text
18483
18484 \begin_layout Plain Layout
18485 g
18486 \end_layout
18487
18488 \end_inset
18489 </cell>
18490 <cell alignment="center" valignment="top" topline="true" usebox="none">
18491 \begin_inset Text
18492
18493 \begin_layout Plain Layout
18494 h
18495 \end_layout
18496
18497 \end_inset
18498 </cell>
18499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18500 \begin_inset Text
18501
18502 \begin_layout Plain Layout
18503 i
18504 \end_layout
18505
18506 \end_inset
18507 </cell>
18508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18509 \begin_inset Text
18510
18511 \begin_layout Plain Layout
18512 j
18513 \end_layout
18514
18515 \end_inset
18516 </cell>
18517 </row>
18518 <row>
18519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18520 \begin_inset Text
18521
18522 \begin_layout Plain Layout
18523 \begin_inset ERT
18524 status collapsed
18525
18526 \begin_layout Plain Layout
18527
18528
18529 \backslash
18530 hdashline 
18531 \end_layout
18532
18533 \end_inset
18534
18535 k
18536 \end_layout
18537
18538 \end_inset
18539 </cell>
18540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18541 \begin_inset Text
18542
18543 \begin_layout Plain Layout
18544 l
18545 \end_layout
18546
18547 \end_inset
18548 </cell>
18549 <cell alignment="center" valignment="top" usebox="none">
18550 \begin_inset Text
18551
18552 \begin_layout Plain Layout
18553 m
18554 \end_layout
18555
18556 \end_inset
18557 </cell>
18558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18559 \begin_inset Text
18560
18561 \begin_layout Plain Layout
18562 n
18563 \end_layout
18564
18565 \end_inset
18566 </cell>
18567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18568 \begin_inset Text
18569
18570 \begin_layout Plain Layout
18571 o
18572 \end_layout
18573
18574 \end_inset
18575 </cell>
18576 </row>
18577 <row>
18578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18579 \begin_inset Text
18580
18581 \begin_layout Plain Layout
18582 \begin_inset ERT
18583 status collapsed
18584
18585 \begin_layout Plain Layout
18586
18587
18588 \backslash
18589 cdashline{4-5}
18590 \end_layout
18591
18592 \end_inset
18593
18594 p
18595 \end_layout
18596
18597 \end_inset
18598 </cell>
18599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18600 \begin_inset Text
18601
18602 \begin_layout Plain Layout
18603 q
18604 \end_layout
18605
18606 \end_inset
18607 </cell>
18608 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18609 \begin_inset Text
18610
18611 \begin_layout Plain Layout
18612 r
18613 \end_layout
18614
18615 \end_inset
18616 </cell>
18617 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18618 \begin_inset Text
18619
18620 \begin_layout Plain Layout
18621 s
18622 \end_layout
18623
18624 \end_inset
18625 </cell>
18626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18627 \begin_inset Text
18628
18629 \begin_layout Plain Layout
18630
18631 \end_layout
18632
18633 \end_inset
18634 </cell>
18635 </row>
18636 <row>
18637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18638 \begin_inset Text
18639
18640 \begin_layout Plain Layout
18641 t
18642 \end_layout
18643
18644 \end_inset
18645 </cell>
18646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18647 \begin_inset Text
18648
18649 \begin_layout Plain Layout
18650 u
18651 \end_layout
18652
18653 \end_inset
18654 </cell>
18655 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18656 \begin_inset Text
18657
18658 \begin_layout Plain Layout
18659 v
18660 \end_layout
18661
18662 \end_inset
18663 </cell>
18664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18665 \begin_inset Text
18666
18667 \begin_layout Plain Layout
18668 w
18669 \end_layout
18670
18671 \end_inset
18672 </cell>
18673 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18674 \begin_inset Text
18675
18676 \begin_layout Plain Layout
18677 x
18678 \end_layout
18679
18680 \end_inset
18681 </cell>
18682 </row>
18683 </lyxtabular>
18684
18685 \end_inset
18686
18687
18688 \end_layout
18689
18690 \end_inset
18691
18692
18693 \end_layout
18694
18695 \begin_layout Standard
18696 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
18697  As prerequisite the LaTeX-package 
18698 \series bold
18699 arydshln
18700 \series default
18701
18702 \begin_inset Index
18703 status collapsed
18704
18705 \begin_layout Plain Layout
18706 LaTeX-packages ! arydshln
18707 \end_layout
18708
18709 \end_inset
18710
18711  must be loaded in the document preamble with the command
18712 \end_layout
18713
18714 \begin_layout Standard
18715
18716 \series bold
18717
18718 \backslash
18719 usepackage{arydshln}
18720 \end_layout
18721
18722 \begin_layout Standard
18723 To make a vertical line dashed, enter the colon 
18724 \begin_inset Quotes eld
18725 \end_inset
18726
18727 :
18728 \begin_inset Quotes erd
18729 \end_inset
18730
18731  together with the character for the horizontal alignment as LaTeX-argument
18732  in the table cell dialog.
18733 \end_layout
18734
18735 \begin_layout Standard
18736 For a horizontal dashed line add the command
18737 \end_layout
18738
18739 \begin_layout Standard
18740
18741 \series bold
18742
18743 \backslash
18744 hdashline
18745 \end_layout
18746
18747 \begin_layout Standard
18748 in TeX-Code as first element of the first cell in the table row.
18749 \end_layout
18750
18751 \begin_layout Standard
18752 For dashed multicolumn lines use the command
18753 \end_layout
18754
18755 \begin_layout Standard
18756
18757 \series bold
18758
18759 \backslash
18760 cdashline{line number
18761 \series default
18762 }
18763 \end_layout
18764
18765 \begin_layout Standard
18766 in TeX-Code as first element of the first cell in the table row.
18767  If you have for example a multicolumn spanning over columns 2 to 4 and
18768  you want to have a dashed line above, add the command
18769 \end_layout
18770
18771 \begin_layout Standard
18772
18773 \series bold
18774
18775 \backslash
18776 cdashline{2-4}
18777 \end_layout
18778
18779 \begin_layout Standard
18780 as first element of the first cell in the row of the multicolumn.
18781 \end_layout
18782
18783 \begin_layout Standard
18784 \begin_inset VSpace bigskip
18785 \end_inset
18786
18787
18788 \end_layout
18789
18790 \begin_layout Standard
18791 Table
18792 \begin_inset Space ~
18793 \end_inset
18794
18795
18796 \begin_inset CommandInset ref
18797 LatexCommand ref
18798 reference "tab:Table-with-dashed"
18799
18800 \end_inset
18801
18802  was created using 
18803 \begin_inset Quotes eld
18804 \end_inset
18805
18806
18807 \series bold
18808 :c
18809 \series default
18810
18811 \begin_inset Quotes erd
18812 \end_inset
18813
18814  as LaTeX-argument of the third column.
18815  The TeX-Code command 
18816 \series bold
18817
18818 \backslash
18819 hdashline
18820 \series default
18821  was inserted to the first cell of the third row and the the TeX-Code command
18822 \begin_inset Newline newline
18823 \end_inset
18824
18825  
18826 \series bold
18827
18828 \backslash
18829 cdashline{4-5}
18830 \series default
18831  was inserted to the first cell of the fourth row.
18832 \end_layout
18833
18834 \begin_layout Standard
18835 \begin_inset Note Greyedout
18836 status open
18837
18838 \begin_layout Plain Layout
18839
18840 \series bold
18841 Note:
18842 \series default
18843  The used LaTeX-package 
18844 \series bold
18845 arydshln
18846 \series default
18847  is apparently not compatible with the LaTeX-package 
18848 \series bold
18849 colortbl
18850 \series default
18851
18852 \begin_inset Index
18853 status collapsed
18854
18855 \begin_layout Plain Layout
18856 LaTeX-packages ! colortbl
18857 \end_layout
18858
18859 \end_inset
18860
18861  that is used for colored tables in section
18862 \begin_inset Space ~
18863 \end_inset
18864
18865
18866 \begin_inset CommandInset ref
18867 LatexCommand ref
18868 reference "sec:Colored-Tables"
18869
18870 \end_inset
18871
18872 .
18873  That means colored tables cannot have dashed lines.
18874 \end_layout
18875
18876 \end_inset
18877
18878
18879 \end_layout
18880
18881 \begin_layout Standard
18882 \begin_inset ERT
18883 status collapsed
18884
18885 \begin_layout Plain Layout
18886
18887
18888 \backslash
18889 else
18890 \end_layout
18891
18892 \end_inset
18893
18894
18895 \begin_inset Note Note
18896 status open
18897
18898 \begin_layout Plain Layout
18899 The following will be displayed when the LaTeX-package 
18900 \series bold
18901 arydshln
18902 \series default
18903  is not installed:
18904 \end_layout
18905
18906 \end_inset
18907
18908
18909 \end_layout
18910
18911 \begin_layout Standard
18912 You need to install the package 
18913 \series bold
18914 arydshln
18915 \series default
18916  to see the content of this section in the output.
18917 \end_layout
18918
18919 \begin_layout Standard
18920 \begin_inset ERT
18921 status collapsed
18922
18923 \begin_layout Plain Layout
18924
18925
18926 \backslash
18927 fi
18928 \end_layout
18929
18930 \end_inset
18931
18932
18933 \end_layout
18934
18935 \begin_layout Chapter
18936 Floats
18937 \begin_inset Index
18938 status collapsed
18939
18940 \begin_layout Plain Layout
18941 Floats
18942 \end_layout
18943
18944 \end_inset
18945
18946
18947 \begin_inset CommandInset label
18948 LatexCommand label
18949 name "cha:Floats"
18950
18951 \end_inset
18952
18953
18954 \end_layout
18955
18956 \begin_layout Section
18957 Introduction
18958 \begin_inset CommandInset label
18959 LatexCommand label
18960 name "sec:FloatIntroduction"
18961
18962 \end_inset
18963
18964
18965 \begin_inset Index
18966 status collapsed
18967
18968 \begin_layout Plain Layout
18969 Floats ! Introduction
18970 \end_layout
18971
18972 \end_inset
18973
18974
18975 \end_layout
18976
18977 \begin_layout Standard
18978 A float is a block of text associated with some sort of label, which doesn't
18979  have a fixed location.
18980  It can 
18981 \begin_inset Quotes eld
18982 \end_inset
18983
18984 float
18985 \begin_inset Quotes erd
18986 \end_inset
18987
18988  forward or backward a page or two, to wherever it fits best.
18989  
18990 \family sans
18991 Footnotes
18992 \family default
18993  and 
18994 \family sans
18995 Margin
18996 \begin_inset Space ~
18997 \end_inset
18998
18999 Notes
19000 \family default
19001  are also floats, because they can float to the next page when there are
19002  too many notes at the page.
19003 \end_layout
19004
19005 \begin_layout Standard
19006 Floats allow a high quality layout.
19007  Images and tables can evenly be spread to the pages to avoid white space
19008  and pages without text.
19009  As the floating often destroys the context between the text and the image/table
19010 , every float can be referenced in the text.
19011  Floats are therefore numbered.
19012  Referencing is described in section
19013 \begin_inset Space ~
19014 \end_inset
19015
19016
19017 \begin_inset CommandInset ref
19018 LatexCommand ref
19019 reference "sec:Referencing-Floats"
19020
19021 \end_inset
19022
19023 .
19024 \end_layout
19025
19026 \begin_layout Standard
19027 To insert a float, use the menu 
19028 \family sans
19029 Insert\SpecialChar \menuseparator
19030 Float
19031 \family default
19032 .
19033  This inserts the 
19034 \family sans
19035 Caption
19036 \family default
19037  inset, a box with a label.
19038  The label will automatically be translated to the document language in
19039  the output.
19040  Behind the label you can insert the caption text.
19041  The image or table is inserted above or below the caption in a separate
19042  paragraph within the float.
19043  More about the caption placement is described in section
19044 \begin_inset Space ~
19045 \end_inset
19046
19047
19048 \begin_inset CommandInset ref
19049 LatexCommand ref
19050 reference "sec:Caption-Placement"
19051
19052 \end_inset
19053
19054 .
19055  To keep your LyX-document readable, you can open and close the float box
19056  by left-clicking on the box label.
19057  A closed float box looks like this: 
19058 \begin_inset Graphics
19059         filename clipart/floatQt4.png
19060         scale 70
19061         scaleBeforeRotation
19062
19063 \end_inset
19064
19065  -- a gray button with a red label.
19066 \end_layout
19067
19068 \begin_layout Standard
19069 It is recommended to insert floats as a separate paragraph to avoid possible
19070  LaTeX-errors that can occur when the surrounding text is specially formatted.
19071 \end_layout
19072
19073 \begin_layout Standard
19074 Existing figures or tables can be put into a float by marking them and then
19075  pressing the corresponding toolbar button for a new float.
19076 \end_layout
19077
19078 \begin_layout Section
19079 Float Types
19080 \end_layout
19081
19082 \begin_layout Standard
19083 Besides figure and table floats that are described in section
19084 \begin_inset Space ~
19085 \end_inset
19086
19087
19088 \begin_inset CommandInset ref
19089 LatexCommand ref
19090 reference "sec:Figure-Floats"
19091
19092 \end_inset
19093
19094  and 
19095 \begin_inset CommandInset ref
19096 LatexCommand ref
19097 reference "sec:Table-Floats"
19098
19099 \end_inset
19100
19101 , respectively, LyX offers the float types 
19102 \series bold
19103 Algorithm
19104 \series default
19105  and 
19106 \series bold
19107 Text
19108 \begin_inset Space ~
19109 \end_inset
19110
19111 Wrap
19112 \begin_inset Space ~
19113 \end_inset
19114
19115 Float
19116 \series default
19117 .
19118 \end_layout
19119
19120 \begin_layout Subsection
19121 Algorithm Floats
19122 \begin_inset Index
19123 status collapsed
19124
19125 \begin_layout Plain Layout
19126 Floats ! Algorithms
19127 \end_layout
19128
19129 \end_inset
19130
19131
19132 \begin_inset CommandInset label
19133 LatexCommand label
19134 name "sub:Algorithm-Floats"
19135
19136 \end_inset
19137
19138
19139 \end_layout
19140
19141 \begin_layout Standard
19142 \begin_inset Float algorithm
19143 placement h
19144 wide false
19145 sideways false
19146 status open
19147
19148 \begin_layout Plain Layout
19149 \begin_inset Caption
19150
19151 \begin_layout Plain Layout
19152 \begin_inset CommandInset label
19153 LatexCommand label
19154 name "alg:Example-Algorithm-float"
19155
19156 \end_inset
19157
19158 Example Algorithm float
19159 \end_layout
19160
19161 \end_inset
19162
19163
19164 \end_layout
19165
19166 \begin_layout LyX-Code
19167 for I in 1..N loop
19168 \begin_inset Newline newline
19169 \end_inset
19170
19171  Sum:= Sum + A(I); /*comment*/
19172 \begin_inset Newline newline
19173 \end_inset
19174
19175 end loop
19176 \begin_inset VSpace -4mm
19177 \end_inset
19178
19179
19180 \end_layout
19181
19182 \end_inset
19183
19184
19185 \end_layout
19186
19187 \begin_layout Standard
19188 This float type is inserted with the menu 
19189 \family sans
19190 Insert\SpecialChar \menuseparator
19191 Floats\SpecialChar \menuseparator
19192 Algorithm
19193 \family default
19194 .
19195  It is used for program codes and descriptions of algorithms.
19196  A possible environment for algorithms is the 
19197 \family sans
19198 LyX-Code
19199 \family default
19200 , described in LyX's 
19201 \emph on
19202 Userguide
19203 \emph default
19204 .
19205  Algorithm
19206 \begin_inset Space ~
19207 \end_inset
19208
19209
19210 \begin_inset CommandInset ref
19211 LatexCommand ref
19212 reference "alg:Example-Algorithm-float"
19213
19214 \end_inset
19215
19216  is an example of an algorithm float where -4
19217 \begin_inset Space \thinspace{}
19218 \end_inset
19219
19220 mm vertical space was added at the end of the float to have the bottom rule
19221  exactly below the last text line.
19222 \end_layout
19223
19224 \begin_layout Standard
19225 The float label is not automatically translated into the document language.
19226  If your document is not in English, you have to do this manually by adding
19227  the following line to the document preamble
19228 \series bold
19229 :
19230 \end_layout
19231
19232 \begin_layout Standard
19233
19234 \series bold
19235
19236 \backslash
19237 floatname{algorithm}{your
19238 \begin_inset Space ~
19239 \end_inset
19240
19241 name}
19242 \end_layout
19243
19244 \begin_layout Standard
19245 where 
19246 \family sans
19247 your
19248 \begin_inset Space ~
19249 \end_inset
19250
19251 name
19252 \family default
19253  is the word 
19254 \begin_inset Quotes eld
19255 \end_inset
19256
19257
19258 \emph on
19259 algorithm
19260 \emph default
19261
19262 \begin_inset Quotes erd
19263 \end_inset
19264
19265  in your language.
19266 \end_layout
19267
19268 \begin_layout Standard
19269 To insert the list of algorithms you can in this case not use the menu 
19270 \family sans
19271 Insert\SpecialChar \menuseparator
19272 List
19273 \begin_inset Space \thinspace{}
19274 \end_inset
19275
19276 /
19277 \begin_inset Space \thinspace{}
19278 \end_inset
19279
19280 TOC\SpecialChar \menuseparator
19281 List of Algorithms
19282 \family default
19283  when your document is an English one.
19284  For non-English documents, use this command in TeX-Code instead:
19285 \end_layout
19286
19287 \begin_layout Standard
19288
19289 \series bold
19290
19291 \backslash
19292 listof{algorithm}{your
19293 \begin_inset Space ~
19294 \end_inset
19295
19296 name}
19297 \end_layout
19298
19299 \begin_layout Standard
19300 where 
19301 \family sans
19302 your
19303 \begin_inset Space ~
19304 \end_inset
19305
19306 name
19307 \family default
19308  is the word 
19309 \begin_inset Quotes eld
19310 \end_inset
19311
19312
19313 \emph on
19314 List of Algorithm
19315 \emph default
19316 s
19317 \begin_inset Quotes erd
19318 \end_inset
19319
19320  in your language.
19321 \end_layout
19322
19323 \begin_layout Standard
19324 Algorithm floats are not by default numbered in the scheme 
19325 \begin_inset Quotes eld
19326 \end_inset
19327
19328 chapter.algorithm
19329 \begin_inset Quotes erd
19330 \end_inset
19331
19332  like it is the case for table and figure floats in many document-classes.
19333  To number algorithm floats in the same scheme, add this command to your
19334  document preamble:
19335 \end_layout
19336
19337 \begin_layout Standard
19338
19339 \series bold
19340
19341 \backslash
19342 numberwithin{algorithm}{chapter}
19343 \end_layout
19344
19345 \begin_layout Standard
19346 To be able to use the command 
19347 \series bold
19348
19349 \backslash
19350 numberwithin
19351 \series default
19352 , set in the tab 
19353 \family sans
19354 Math
19355 \begin_inset Space ~
19356 \end_inset
19357
19358 Options
19359 \family default
19360  in the document settings the option 
19361 \family sans
19362 Use
19363 \begin_inset Space ~
19364 \end_inset
19365
19366 AMS
19367 \begin_inset Space ~
19368 \end_inset
19369
19370 math
19371 \begin_inset Space ~
19372 \end_inset
19373
19374 package
19375 \family default
19376 .
19377 \end_layout
19378
19379 \begin_layout Subsection
19380 Text Wrap Floats
19381 \begin_inset Index
19382 status collapsed
19383
19384 \begin_layout Plain Layout
19385 Floats ! Text Wrap Floats
19386 \end_layout
19387
19388 \end_inset
19389
19390
19391 \begin_inset CommandInset label
19392 LatexCommand label
19393 name "sub:floatflt-wrap-float"
19394
19395 \end_inset
19396
19397
19398 \end_layout
19399
19400 \begin_layout Standard
19401 \begin_inset Wrap figure
19402 lines 0
19403 placement l
19404 overhang 0col%
19405 width "40col%"
19406 status open
19407
19408 \begin_layout Plain Layout
19409 \begin_inset Graphics
19410         filename clipart/mobius.eps
19411         display color
19412         width 40col%
19413         scaleBeforeRotation
19414         rotateOrigin center
19415
19416 \end_inset
19417
19418
19419 \end_layout
19420
19421 \begin_layout Plain Layout
19422 \begin_inset Caption
19423
19424 \begin_layout Plain Layout
19425 \begin_inset CommandInset label
19426 LatexCommand label
19427 name "fig:This-is-a"
19428
19429 \end_inset
19430
19431 This is a wrapped figure, and this is the brilliant caption that describes
19432  it.
19433 \begin_inset VSpace medskip
19434 \end_inset
19435
19436
19437 \end_layout
19438
19439 \end_inset
19440
19441
19442 \end_layout
19443
19444 \end_inset
19445
19446 This float type is used if you want to 
19447 \begin_inset Quotes eld
19448 \end_inset
19449
19450 wrap
19451 \begin_inset Quotes erd
19452 \end_inset
19453
19454  text around a figure so that it only occupies some fraction of the column
19455  width.
19456  It can be inserted using the menu 
19457 \family sans
19458 Insert\SpecialChar \menuseparator
19459 Floats\SpecialChar \menuseparator
19460 Text
19461 \begin_inset Space ~
19462 \end_inset
19463
19464 Wrap
19465 \begin_inset Space ~
19466 \end_inset
19467
19468 Float
19469 \family default
19470  if the LaTeX-package 
19471 \series bold
19472 wrapfig
19473 \series default
19474
19475 \begin_inset Index
19476 status collapsed
19477
19478 \begin_layout Plain Layout
19479 LaTeX-packages ! wrapfig
19480 \begin_inset ERT
19481 status collapsed
19482
19483 \begin_layout Plain Layout
19484
19485
19486 \backslash
19487
19488 \begin_inset ERT
19489 status collapsed
19490
19491 \begin_layout Plain Layout
19492
19493 {
19494 \end_layout
19495
19496 \end_inset
19497
19498
19499 \begin_inset ERT
19500 status collapsed
19501
19502 \begin_layout Plain Layout
19503
19504 }
19505 \end_layout
19506
19507 \end_inset
19508
19509
19510 \end_layout
19511
19512 \end_inset
19513
19514 vspace
19515 \begin_inset ERT
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519
19520 {
19521 \end_layout
19522
19523 \end_inset
19524
19525 4mm
19526 \begin_inset ERT
19527 status collapsed
19528
19529 \begin_layout Plain Layout
19530
19531 }
19532 \end_layout
19533
19534 \end_inset
19535
19536
19537 \end_layout
19538
19539 \end_inset
19540
19541  is installed.
19542 \begin_inset Foot
19543 status collapsed
19544
19545 \begin_layout Plain Layout
19546 Installing a LaTeX-package is explained it in the 
19547 \emph on
19548 LaTeX
19549 \begin_inset Space ~
19550 \end_inset
19551
19552 Configuration
19553 \emph default
19554  manual.
19555 \end_layout
19556
19557 \end_inset
19558
19559  The width and placement of the float is adjusted by right-clicking on the
19560  float box.
19561  Figure
19562 \begin_inset Space ~
19563 \end_inset
19564
19565
19566 \begin_inset CommandInset ref
19567 LatexCommand ref
19568 reference "fig:This-is-a"
19569
19570 \end_inset
19571
19572  is an example text wrap float with a width of 40
19573 \begin_inset Space \thinspace{}
19574 \end_inset
19575
19576 col%.
19577 \begin_inset Foot
19578 status collapsed
19579
19580 \begin_layout Plain Layout
19581 Available units are explained in appendix
19582 \begin_inset Space ~
19583 \end_inset
19584
19585
19586 \begin_inset CommandInset ref
19587 LatexCommand ref
19588 reference "cha:Units-available-in"
19589
19590 \end_inset
19591
19592 .
19593 \end_layout
19594
19595 \end_inset
19596
19597  Some space was added under the caption to separate it better from the surroundi
19598 ng text.
19599 \end_layout
19600
19601 \begin_layout Standard
19602 The LaTeX-package 
19603 \series bold
19604 wrapfig
19605 \series default
19606  also supports table wrap floats, but they are not yet supported by LyX.
19607  If you need this, read the documentation of 
19608 \series bold
19609 wrapfig
19610 \series default
19611  
19612 \begin_inset CommandInset citation
19613 LatexCommand cite
19614 key "wrapfig"
19615
19616 \end_inset
19617
19618 .
19619 \end_layout
19620
19621 \begin_layout Standard
19622 \begin_inset Note Greyedout
19623 status open
19624
19625 \begin_layout Plain Layout
19626
19627 \series bold
19628 Note:
19629 \series default
19630  Text
19631 \begin_inset Space ~
19632 \end_inset
19633
19634 wrap float floats are fragile! E.
19635 \begin_inset Space \thinspace{}
19636 \end_inset
19637
19638 g.
19639 \begin_inset Space ~
19640 \end_inset
19641
19642 having a figure too close to the bottom of the page can mess things up in
19643  the way that the float doesn't appear in the output or that it is placed
19644  over some other text.
19645 \end_layout
19646
19647 \end_inset
19648
19649
19650 \end_layout
19651
19652 \begin_layout Standard
19653 In general:
19654 \end_layout
19655
19656 \begin_layout Itemize
19657 Wrap floats should not be placed in paragraphs that run over a page break.
19658  That means that wrap floats should better be inserted to the exact place
19659  when the document is nearly finished and you are able to estimate where
19660  page breaks will appear.
19661 \end_layout
19662
19663 \begin_layout Itemize
19664 Wrap floats should either be placed in an own paragraph before the paragraph
19665  where they should wrap into or within a paragraph.
19666 \end_layout
19667
19668 \begin_layout Itemize
19669 Wrap floats in consecutive paragraphs may cause troubles, so assure that
19670  there is a text paragraph between them as separator.
19671 \end_layout
19672
19673 \begin_layout Itemize
19674 Wrap floats are not allowed in section headings or tables.
19675 \end_layout
19676
19677 \begin_layout Section
19678 Float Numbering
19679 \begin_inset CommandInset label
19680 LatexCommand label
19681 name "sec:Float-Numbering"
19682
19683 \end_inset
19684
19685
19686 \begin_inset Index
19687 status collapsed
19688
19689 \begin_layout Plain Layout
19690 Floats ! Numbering
19691 \end_layout
19692
19693 \end_inset
19694
19695
19696 \end_layout
19697
19698 \begin_layout Standard
19699 Floats are usually numbered either independent from the sections the floats
19700  are in, or in the scheme 
19701 \begin_inset Quotes eld
19702 \end_inset
19703
19704 chapter.number
19705 \begin_inset Quotes erd
19706 \end_inset
19707
19708  or 
19709 \begin_inset Quotes eld
19710 \end_inset
19711
19712 section.number
19713 \begin_inset Quotes erd
19714 \end_inset
19715
19716 .
19717  This depends on the used document class.
19718 \end_layout
19719
19720 \begin_layout Standard
19721 To change the section independent numbering, you can use this command in
19722  the document preamble:
19723 \end_layout
19724
19725 \begin_layout Standard
19726
19727 \series bold
19728
19729 \backslash
19730 renewcommand{
19731 \backslash
19732 thetable}{
19733 \backslash
19734 roman{table}}
19735 \end_layout
19736
19737 \begin_layout Standard
19738
19739 \series bold
19740
19741 \backslash
19742 thetable
19743 \series default
19744  is the command that prints the table number, for figure floats, the command
19745  would be 
19746 \series bold
19747
19748 \backslash
19749 thefigure
19750 \series default
19751 .
19752  The command 
19753 \series bold
19754
19755 \backslash
19756 roman
19757 \series default
19758  prints in the command above the table number as small roman number.
19759 \end_layout
19760
19761 \begin_layout Standard
19762 To change the numbering scheme for example to 
19763 \begin_inset Quotes eld
19764 \end_inset
19765
19766 subsection.number
19767 \begin_inset Quotes erd
19768 \end_inset
19769
19770 , use this command in the preamble:
19771 \end_layout
19772
19773 \begin_layout Standard
19774
19775 \series bold
19776
19777 \backslash
19778 numberwithin{table}{subsection}
19779 \end_layout
19780
19781 \begin_layout Standard
19782 To be able to use the command 
19783 \series bold
19784
19785 \backslash
19786 numberwithin
19787 \series default
19788 , set in the tab 
19789 \family sans
19790 Math
19791 \begin_inset Space ~
19792 \end_inset
19793
19794 Options
19795 \family default
19796  in the document settings the option 
19797 \family sans
19798 Use
19799 \begin_inset Space ~
19800 \end_inset
19801
19802 AMS
19803 \begin_inset Space ~
19804 \end_inset
19805
19806 math
19807 \begin_inset Space ~
19808 \end_inset
19809
19810 package
19811 \family default
19812 .
19813 \end_layout
19814
19815 \begin_layout Standard
19816 Please also have a look at section
19817 \begin_inset Space ~
19818 \end_inset
19819
19820
19821 \begin_inset CommandInset ref
19822 LatexCommand ref
19823 reference "sub:Footnote-Numbering"
19824
19825 \end_inset
19826
19827  for the details and important notes about the numbering commands.
19828 \end_layout
19829
19830 \begin_layout Section
19831 Referencing Floats
19832 \begin_inset CommandInset label
19833 LatexCommand label
19834 name "sec:Referencing-Floats"
19835
19836 \end_inset
19837
19838
19839 \begin_inset Index
19840 status collapsed
19841
19842 \begin_layout Plain Layout
19843 Floats ! References
19844 \end_layout
19845
19846 \end_inset
19847
19848
19849 \begin_inset Index
19850 status collapsed
19851
19852 \begin_layout Plain Layout
19853 References
19854 \end_layout
19855
19856 \end_inset
19857
19858
19859 \end_layout
19860
19861 \begin_layout Standard
19862 To reference a float, insert a label into its caption using the menu 
19863 \family sans
19864 Insert\SpecialChar \menuseparator
19865 Label
19866 \family default
19867  or the toolbar button 
19868 \begin_inset Graphics
19869         filename ../images/label-insert.png
19870         scale 85
19871         scaleBeforeRotation
19872
19873 \end_inset
19874
19875 .
19876  A grey label box like this one: 
19877 \begin_inset Graphics
19878         filename clipart/labelQt4.png
19879         scale 85
19880         scaleBeforeRotation
19881
19882 \end_inset
19883
19884  will be inserted and the label window pops up asking for the label text.
19885  LyX offers as text the first words of the caption with a prefix.
19886  The prefix depends on the float type, e.
19887 \begin_inset Space \thinspace{}
19888 \end_inset
19889
19890 g.
19891 \begin_inset Space ~
19892 \end_inset
19893
19894 for figure floats the prefix will be "
19895 \family sans
19896 fig:
19897 \family default
19898 ".
19899 \end_layout
19900
19901 \begin_layout Standard
19902 The label is used as anchor and name for the reference.
19903  You can refer to the label using the menu 
19904 \family sans
19905 Insert\SpecialChar \menuseparator
19906 Cross-reference
19907 \family default
19908  or the toolbar button 
19909 \begin_inset Graphics
19910         filename ../images/dialog-show-new-inset_ref.png
19911         scale 85
19912         scaleBeforeRotation
19913
19914 \end_inset
19915
19916 .
19917  A grey cross-reference box like this one: 
19918 \begin_inset Graphics
19919         filename clipart/referenceQt4.png
19920         scale 85
19921         scaleBeforeRotation
19922
19923 \end_inset
19924
19925  will be inserted and the cross-reference window appear showing all labels
19926  of the document.
19927  If you have multiple LyX-documents opened, choose the one you are working
19928  on from the drop-list at the top of the dialog.
19929  You can now sort the labels alphabetically and then choose one.
19930  At the position of the cross-reference box the float number will appear
19931  in the output.
19932 \end_layout
19933
19934 \begin_layout Standard
19935 It is recommended to use a protected space between the cross-reference name
19936  and its number to avoid line breaks between them.
19937  If a cross-reference refers to a non-existing label, you will see two question
19938  marks in the output instead of the reference.
19939 \end_layout
19940
19941 \begin_layout Standard
19942 You can change labels at any time by clicking on the label box.
19943  References to the changed label will automatically change its link to the
19944  new label text, so that you don't need to take care about this.
19945 \end_layout
19946
19947 \begin_layout Standard
19948 The button 
19949 \family sans
19950 Go
19951 \begin_inset Space ~
19952 \end_inset
19953
19954 to
19955 \begin_inset Space ~
19956 \end_inset
19957
19958 Label
19959 \family default
19960  in the cross-reference window sets the cursor before the referred label.
19961  The button text changes then to Go
19962 \begin_inset Space ~
19963 \end_inset
19964
19965 Back and you can use it to set the cursor back to the cross-reference.
19966  Right-clicking on a cross-reference box also sets the cursor before the
19967  referenced label but without a possibility to go back.
19968 \end_layout
19969
19970 \begin_layout Subsection
19971 Cross-Reference Formats
19972 \begin_inset CommandInset label
19973 LatexCommand label
19974 name "sub:Cross-Reference-Formats"
19975
19976 \end_inset
19977
19978
19979 \begin_inset Index
19980 status collapsed
19981
19982 \begin_layout Plain Layout
19983 References ! Formats
19984 \end_layout
19985
19986 \end_inset
19987
19988
19989 \end_layout
19990
19991 \begin_layout Standard
19992 There are six varieties of cross-references:
19993 \end_layout
19994
19995 \begin_layout Description
19996 <reference>: prints the float number, this is the default: 
19997 \begin_inset CommandInset ref
19998 LatexCommand ref
19999 reference "fig:Two-distorted-images"
20000
20001 \end_inset
20002
20003
20004 \end_layout
20005
20006 \begin_layout Description
20007 (<reference>): prints the float number within two parentheses, this is the
20008  style normally used to reference formulas, especially when the reference
20009  name 
20010 \begin_inset Quotes eld
20011 \end_inset
20012
20013 Equation
20014 \begin_inset Quotes erd
20015 \end_inset
20016
20017  is omitted: 
20018 \begin_inset CommandInset ref
20019 LatexCommand eqref
20020 reference "eq:Wgn"
20021
20022 \end_inset
20023
20024
20025 \end_layout
20026
20027 \begin_layout Description
20028 <page>: prints the page number: Page
20029 \begin_inset Space ~
20030 \end_inset
20031
20032
20033 \begin_inset CommandInset ref
20034 LatexCommand pageref
20035 reference "fig:Two-distorted-images"
20036
20037 \end_inset
20038
20039
20040 \end_layout
20041
20042 \begin_layout Description
20043 on
20044 \begin_inset Space ~
20045 \end_inset
20046
20047 page
20048 \begin_inset Space ~
20049 \end_inset
20050
20051 <page>: prints the text "on page" and the page number: 
20052 \begin_inset CommandInset ref
20053 LatexCommand vpageref
20054 reference "fig:Two-distorted-images"
20055
20056 \end_inset
20057
20058
20059 \end_layout
20060
20061 \begin_layout Description
20062 <reference>
20063 \begin_inset Space ~
20064 \end_inset
20065
20066 on
20067 \begin_inset Space ~
20068 \end_inset
20069
20070 page
20071 \begin_inset Space ~
20072 \end_inset
20073
20074 <page>: prints the float number, the text "on page", and the page number:
20075  
20076 \begin_inset CommandInset ref
20077 LatexCommand vref
20078 reference "fig:Two-distorted-images"
20079
20080 \end_inset
20081
20082
20083 \end_layout
20084
20085 \begin_layout Description
20086 Formatted
20087 \begin_inset Space ~
20088 \end_inset
20089
20090 reference: prints a self defined cross-reference format.
20091  
20092 \begin_inset Note Greyedout
20093 status open
20094
20095 \begin_layout Plain Layout
20096
20097 \series bold
20098 Note:
20099 \series default
20100  This feature is only available when you have the LaTeX-package 
20101 \series bold
20102 prettyref
20103 \series default
20104  installed.
20105 \end_layout
20106
20107 \end_inset
20108
20109
20110 \end_layout
20111
20112 \begin_layout Standard
20113 Note that the style <page> won't print the page number if the label is on
20114  the previous, the same, or the next page.
20115  You will e.
20116 \begin_inset Space \thinspace{}
20117 \end_inset
20118
20119 g.
20120 \begin_inset Space ~
20121 \end_inset
20122
20123 see the text 
20124 \begin_inset Quotes eld
20125 \end_inset
20126
20127
20128 \family sans
20129 on this page
20130 \family default
20131
20132 \begin_inset Quotes erd
20133 \end_inset
20134
20135  instead.
20136 \end_layout
20137
20138 \begin_layout Standard
20139 The number and current page of the referred document part in the output,
20140  is automatically calculated by LaTeX.
20141  The varieties are adjusted in the field 
20142 \family sans
20143 Format
20144 \family default
20145  of the cross-reference window, that appear when you click on the cross-referenc
20146 e box.
20147 \end_layout
20148
20149 \begin_layout Subsection
20150 Referencing Subfigures
20151 \begin_inset CommandInset label
20152 LatexCommand label
20153 name "sub:Referencing-Subfigures"
20154
20155 \end_inset
20156
20157
20158 \begin_inset Index
20159 status collapsed
20160
20161 \begin_layout Plain Layout
20162 References ! to Subfigures
20163 \end_layout
20164
20165 \end_inset
20166
20167
20168 \end_layout
20169
20170 \begin_layout Standard
20171 Currently referencing subfigures is not supported by LyX, so you have to
20172  use LaTeX-commands.
20173  The label is the created with the command
20174 \end_layout
20175
20176 \begin_layout Standard
20177
20178 \series bold
20179
20180 \backslash
20181 label{fig:YourLabelName}
20182 \end_layout
20183
20184 \begin_layout Standard
20185 that is directly inserted into the subfigure caption field.
20186  To reference the label add this command in TeX-Code
20187 \end_layout
20188
20189 \begin_layout Standard
20190
20191 \series bold
20192
20193 \backslash
20194 ref{fig:YourLabelName}
20195 \end_layout
20196
20197 \begin_layout Standard
20198 to the position in your document where the reference should be placed.
20199  Here is a reference to a subfigure: Subfigure
20200 \begin_inset Space ~
20201 \end_inset
20202
20203
20204 \begin_inset ERT
20205 status collapsed
20206
20207 \begin_layout Plain Layout
20208
20209
20210 \backslash
20211 ref{fig:Platypus}
20212 \end_layout
20213
20214 \end_inset
20215
20216 .
20217 \end_layout
20218
20219 \begin_layout Subsection
20220 Automatic Reference Naming
20221 \begin_inset Index
20222 status collapsed
20223
20224 \begin_layout Plain Layout
20225 References ! Automatic Reference Naming
20226 \end_layout
20227
20228 \end_inset
20229
20230
20231 \end_layout
20232
20233 \begin_layout Standard
20234 The LaTeX-package 
20235 \series bold
20236 hyperref
20237 \series default
20238  provides a very useful feature that cross-references automatically include
20239  the name of the referenced floats (or text parts like sections).
20240  You save to write e.
20241 \begin_inset Space \thinspace{}
20242 \end_inset
20243
20244 g.
20245 \begin_inset Space ~
20246 \end_inset
20247
20248 the name 
20249 \begin_inset Quotes eld
20250 \end_inset
20251
20252 Figure
20253 \begin_inset Quotes erd
20254 \end_inset
20255
20256  before every reference box.
20257  To get this automatic reference naming, you have to load the LaTeX-package
20258  
20259 \series bold
20260 hyperref
20261 \series default
20262
20263 \begin_inset Index
20264 status collapsed
20265
20266 \begin_layout Plain Layout
20267 LaTeX-packages ! hyperref
20268 \end_layout
20269
20270 \end_inset
20271
20272  in the document preamble with
20273 \end_layout
20274
20275 \begin_layout Standard
20276
20277 \series bold
20278
20279 \backslash
20280 usepackage[pdfborder={0 0 0}]{hyperref}
20281 \begin_inset Newline newline
20282 \end_inset
20283
20284
20285 \backslash
20286 AtBeginDocument{
20287 \backslash
20288 renewcommand{
20289 \backslash
20290 ref}[1]{
20291 \backslash
20292 mbox{
20293 \backslash
20294 autoref{#1}}}}
20295 \end_layout
20296
20297 \begin_layout Standard
20298
20299 \series bold
20300 hyperref
20301 \series default
20302  is used to link cross-references in the DVI- and PDF-output, this means
20303  that the reader of your document will be able to click on a table of content
20304  (TOC) entry or on a reference and he will be shown the referenced document
20305  part.
20306  
20307 \series bold
20308 hyperref
20309 \series default
20310  also creates PDF-bookmarks for every section of your document to make it
20311  easier for readers to navigate through the document.
20312  This is also used in this document but when you have a look in the document
20313  preamble you will find various options in the load command of 
20314 \series bold
20315 hyperref
20316 \series default
20317 .
20318  To learn more about the 
20319 \series bold
20320 hyperref
20321 \series default
20322  package, we refer to its documentation 
20323 \begin_inset CommandInset citation
20324 LatexCommand cite
20325 key "hyperref"
20326
20327 \end_inset
20328
20329 .
20330 \end_layout
20331
20332 \begin_layout Standard
20333 \begin_inset Note Greyedout
20334 status open
20335
20336 \begin_layout Plain Layout
20337
20338 \series bold
20339 Note:
20340 \series default
20341  Automatic reference naming cannot be used when you use cross-references
20342  in the 
20343 \family sans
20344 Formatted
20345 \begin_inset Space ~
20346 \end_inset
20347
20348 reference
20349 \family default
20350  style, described in section
20351 \begin_inset Space ~
20352 \end_inset
20353
20354
20355 \begin_inset CommandInset ref
20356 LatexCommand ref
20357 reference "sub:Cross-Reference-Formats"
20358
20359 \end_inset
20360
20361 .
20362 \end_layout
20363
20364 \end_inset
20365
20366
20367 \end_layout
20368
20369 \begin_layout Subsection
20370 Reference Position
20371 \begin_inset CommandInset label
20372 LatexCommand label
20373 name "sub:Reference-Position"
20374
20375 \end_inset
20376
20377
20378 \begin_inset Index
20379 status collapsed
20380
20381 \begin_layout Plain Layout
20382 References ! Reference Position
20383 \end_layout
20384
20385 \end_inset
20386
20387
20388 \end_layout
20389
20390 \begin_layout Standard
20391 If you use 
20392 \series bold
20393 hyperref
20394 \series default
20395
20396 \begin_inset Index
20397 status collapsed
20398
20399 \begin_layout Plain Layout
20400 LaTeX-packages ! hyperref
20401 \end_layout
20402
20403 \end_inset
20404
20405  to link cross-references in the output, you will see that clicking on an
20406  image float reference jumps to the image label.
20407  The caption will be the first text part on the screen, so that you cannot
20408  see the image without scrolling.
20409  This is because the reference link anchor is placed at the position of
20410  the label.
20411  With the use of the package 
20412 \series bold
20413 hypcap
20414 \series default
20415
20416 \begin_inset Index
20417 status collapsed
20418
20419 \begin_layout Plain Layout
20420 LaTeX-packages ! hypcap
20421 \end_layout
20422
20423 \end_inset
20424
20425 , which is part of the LaTeX-package 
20426 \series bold
20427 oberdiek
20428 \series default
20429
20430 \begin_inset Index
20431 status collapsed
20432
20433 \begin_layout Plain Layout
20434 LaTeX-packages ! oberdiek
20435 \end_layout
20436
20437 \end_inset
20438
20439 , the link anchor is placed at the beginning of a float.
20440  To use this feature for figure floats, load 
20441 \series bold
20442 hypcap
20443 \series default
20444  in the document preamble with the line
20445 \end_layout
20446
20447 \begin_layout Standard
20448
20449 \series bold
20450
20451 \backslash
20452 usepackage[figure]{hypcap}
20453 \end_layout
20454
20455 \begin_layout Standard
20456 You can also use 
20457 \series bold
20458 hypcap
20459 \series default
20460  for all floats but this isn't recommended for stability reasons.
20461  For more informations, have a look at 
20462 \series bold
20463 hypcap
20464 \series default
20465 's manual 
20466 \begin_inset CommandInset citation
20467 LatexCommand cite
20468 key "hypcap"
20469
20470 \end_inset
20471
20472 .
20473 \end_layout
20474
20475 \begin_layout Standard
20476 \begin_inset Note Greyedout
20477 status open
20478
20479 \begin_layout Plain Layout
20480
20481 \series bold
20482 Note:
20483 \series default
20484  
20485 \series bold
20486 hypcap
20487 \series default
20488  must be loaded after 
20489 \series bold
20490 hyperref
20491 \series default
20492  in the document preamble.
20493 \end_layout
20494
20495 \end_inset
20496
20497
20498 \end_layout
20499
20500 \begin_layout Standard
20501 \begin_inset Note Greyedout
20502 status open
20503
20504 \begin_layout Plain Layout
20505
20506 \series bold
20507 Note:
20508 \series default
20509  
20510 \series bold
20511 hypcap
20512 \series default
20513  has no effect for references to subfigures.
20514 \end_layout
20515
20516 \end_inset
20517
20518
20519 \end_layout
20520
20521 \begin_layout Section
20522 Float Placement
20523 \begin_inset CommandInset label
20524 LatexCommand label
20525 name "sec:Float-Placement"
20526
20527 \end_inset
20528
20529
20530 \begin_inset Index
20531 status collapsed
20532
20533 \begin_layout Plain Layout
20534 Floats ! Placement
20535 \end_layout
20536
20537 \end_inset
20538
20539
20540 \end_layout
20541
20542 \begin_layout Standard
20543 Right-clicking on a float-box opens a dialog where you can alter the placement
20544  options that LaTeX uses for positioning the float.
20545 \begin_inset Newline newline
20546 \end_inset
20547
20548 The option 
20549 \family sans
20550 Span
20551 \begin_inset Space ~
20552 \end_inset
20553
20554 columns
20555 \family default
20556  is only useful for two-column documents: If you select it, the float will
20557  span across both columns on the page instead of being confined to just
20558  one.
20559 \begin_inset Newline newline
20560 \end_inset
20561
20562 The option 
20563 \family sans
20564 Rotate
20565 \begin_inset Space ~
20566 \end_inset
20567
20568 sideways
20569 \family default
20570  is used to rotate floats, see section 
20571 \begin_inset CommandInset ref
20572 LatexCommand ref
20573 reference "sec:Rotated-Floats"
20574
20575 \end_inset
20576
20577 .
20578 \end_layout
20579
20580 \begin_layout Standard
20581 You can use one ore more of the following options in the float dialog to
20582  set the placement for a particular float when you uncheck the option 
20583 \family sans
20584 Use
20585 \begin_inset Space ~
20586 \end_inset
20587
20588 default
20589 \begin_inset Space ~
20590 \end_inset
20591
20592 placement
20593 \family default
20594 :
20595 \end_layout
20596
20597 \begin_layout Description
20598 Here
20599 \begin_inset Space ~
20600 \end_inset
20601
20602 if
20603 \begin_inset Space ~
20604 \end_inset
20605
20606 possible try to place the float on the position where it is inserted
20607 \end_layout
20608
20609 \begin_layout Description
20610 Top
20611 \begin_inset Space ~
20612 \end_inset
20613
20614 of
20615 \begin_inset Space ~
20616 \end_inset
20617
20618 page try to place the float on the top of the current page
20619 \end_layout
20620
20621 \begin_layout Description
20622 Bottom
20623 \begin_inset Space ~
20624 \end_inset
20625
20626 of
20627 \begin_inset Space ~
20628 \end_inset
20629
20630 page try to place the float on the bottom of the current page
20631 \end_layout
20632
20633 \begin_layout Description
20634 Page
20635 \begin_inset Space ~
20636 \end_inset
20637
20638 of
20639 \begin_inset Space ~
20640 \end_inset
20641
20642 floats try to place the float on an own page 
20643 \end_layout
20644
20645 \begin_layout Standard
20646 The order of the above option is 
20647 \emph on
20648 always
20649 \emph default
20650  used by LaTeX.
20651  That means, if you use the default placement, LaTeX will first try out
20652  
20653 \family sans
20654 Here
20655 \begin_inset Space ~
20656 \end_inset
20657
20658 if
20659 \begin_inset Space ~
20660 \end_inset
20661
20662 possible
20663 \family default
20664 , then 
20665 \family sans
20666 Top
20667 \begin_inset Space ~
20668 \end_inset
20669
20670 of
20671 \begin_inset Space ~
20672 \end_inset
20673
20674 page
20675 \family default
20676 , and then the others.
20677  If you don't use the default, LaTeX will try only the checked options but
20678  in the same order.
20679  If none of the 4 placements are possible the procedure is internally repeated
20680  but it is tried to put the float on the following page.
20681 \end_layout
20682
20683 \begin_layout Standard
20684 By default, each option has its own rules:
20685 \end_layout
20686
20687 \begin_layout Labeling
20688 \labelwidthstring 00.00.0000
20689
20690 \family sans
20691 Top
20692 \begin_inset Space ~
20693 \end_inset
20694
20695 of
20696 \begin_inset Space ~
20697 \end_inset
20698
20699 page
20700 \family default
20701  only floats occupying less than 70
20702 \begin_inset Space \thinspace{}
20703 \end_inset
20704
20705 % of the page can be placed at the top of a page (
20706 \series bold
20707
20708 \backslash
20709 topfraction
20710 \series default
20711 )
20712 \end_layout
20713
20714 \begin_layout Labeling
20715 \labelwidthstring 00.00.0000
20716
20717 \family sans
20718 Bottom
20719 \begin_inset Space ~
20720 \end_inset
20721
20722 of
20723 \begin_inset Space ~
20724 \end_inset
20725
20726 page
20727 \family default
20728 : only floats occupying less than 30
20729 \begin_inset Space \thinspace{}
20730 \end_inset
20731
20732 % of the page can be placed at the bottom of a page.
20733  (
20734 \series bold
20735
20736 \backslash
20737 bottomfraction
20738 \series default
20739 )
20740 \end_layout
20741
20742 \begin_layout Labeling
20743 \labelwidthstring 00.00.0000
20744
20745 \family sans
20746 Page
20747 \begin_inset Space ~
20748 \end_inset
20749
20750 of
20751 \begin_inset Space ~
20752 \end_inset
20753
20754 floats
20755 \family default
20756 : only if more than 50
20757 \begin_inset Space \thinspace{}
20758 \end_inset
20759
20760 % of the page are occupied by floats, several floats can be set together
20761  on a page.
20762  (
20763 \series bold
20764
20765 \backslash
20766 floatpagefraction
20767 \series default
20768 )
20769 \end_layout
20770
20771 \begin_layout Standard
20772 If you don't like these rules, you can ignore them by using the additional
20773  option 
20774 \family sans
20775 Ignore
20776 \begin_inset Space ~
20777 \end_inset
20778
20779 LaTeX
20780 \begin_inset Space ~
20781 \end_inset
20782
20783 rules
20784 \family default
20785 .
20786 \begin_inset Newline newline
20787 \end_inset
20788
20789 You can also redefine the rules with LaTeX-commands that are given in parenthese
20790 s behind the rules description above.
20791  To increase for example the often too small default of the bottom-rule
20792  to 50
20793 \begin_inset Space \thinspace{}
20794 \end_inset
20795
20796 % of the page, add this line to your document preamble:
20797 \end_layout
20798
20799 \begin_layout Standard
20800
20801 \series bold
20802
20803 \backslash
20804 renewcommand{
20805 \backslash
20806 bottomfraction}{0.5}
20807 \end_layout
20808
20809 \begin_layout Standard
20810 Sometimes you might need, under all circumstances, a float to be placed
20811  exactly at the position where it is inserted.
20812  For this case you can use the option 
20813 \family sans
20814 Here
20815 \begin_inset Space ~
20816 \end_inset
20817
20818 definitely
20819 \family default
20820 .
20821  Use this option very rarely and only if the document is nearly ready to
20822  be printed.
20823  Because the float is then no longer able to 
20824 \begin_inset Quotes eld
20825 \end_inset
20826
20827 float
20828 \begin_inset Quotes erd
20829 \end_inset
20830
20831  when you change your document and this will often destroy the page layout.
20832 \end_layout
20833
20834 \begin_layout Standard
20835 There are no placement options for text wrap floats, because they are always
20836  surrounded by the text of a certain paragraph.
20837 \begin_inset VSpace bigskip
20838 \end_inset
20839
20840
20841 \end_layout
20842
20843 \begin_layout Standard
20844 Sometimes you have the problem that a float is placed at the top of a page
20845  while its corresponding section starts at the middle of the page, so that
20846  the reader could think the float is part of the previous section.
20847  To avoid this the LaTeX-command 
20848 \series bold
20849
20850 \backslash
20851 suppressfloats
20852 \series default
20853  can be used.
20854  It suppresses a given float placement for the page where it is inserted
20855  and can therefore be used to avoid that floats could be set before a section
20856  starts.
20857  To get this, add these commands to your document preamble:
20858 \end_layout
20859
20860 \begin_layout Standard
20861
20862 \series bold
20863
20864 \backslash
20865 let
20866 \backslash
20867 mySection
20868 \backslash
20869 section
20870 \begin_inset Newline newline
20871 \end_inset
20872
20873
20874 \backslash
20875 renewcommand{
20876 \backslash
20877 section}{
20878 \backslash
20879 suppressfloats[t]
20880 \backslash
20881 mySection}
20882 \end_layout
20883
20884 \begin_layout Standard
20885 You can define the same for all section headings, like chapters and subsections.
20886  This definition is not recommended to be used for small text parts like
20887  subsubsections because LaTeX may then have problems to find a suitable
20888  placement.
20889 \end_layout
20890
20891 \begin_layout Standard
20892 \begin_inset VSpace bigskip
20893 \end_inset
20894
20895 In some cases it is required to have all figures/tables at the end of the
20896  document.
20897  For this purpose the LaTeX-package 
20898 \series bold
20899 endfloat
20900 \series default
20901
20902 \begin_inset Index
20903 status collapsed
20904
20905 \begin_layout Plain Layout
20906 LaTeX-packages ! endfloat
20907 \end_layout
20908
20909 \end_inset
20910
20911  was developed.
20912  It puts all figure and table floats at the end of the document into own
20913  sections.
20914  At the original float position a text hint like 
20915 \begin_inset Quotes eld
20916 \end_inset
20917
20918
20919 \family sans
20920 [Figure
20921 \begin_inset Space ~
20922 \end_inset
20923
20924 3.2 about here.]
20925 \family default
20926
20927 \begin_inset Quotes erd
20928 \end_inset
20929
20930  is inserted.
20931  The endfloat-package is loaded in the preamble with the line
20932 \end_layout
20933
20934 \begin_layout Standard
20935
20936 \series bold
20937
20938 \backslash
20939 usepackage[options]{endfloat}
20940 \end_layout
20941
20942 \begin_layout Standard
20943 There are various package options to format the created figure/table sections.
20944  For more information we refer to the 
20945 \series bold
20946 endfloat
20947 \series default
20948  documentation 
20949 \begin_inset CommandInset citation
20950 LatexCommand cite
20951 key "endfloat"
20952
20953 \end_inset
20954
20955 .
20956 \begin_inset Newline newline
20957 \end_inset
20958
20959
20960 \begin_inset Note Greyedout
20961 status open
20962
20963 \begin_layout Plain Layout
20964
20965 \series bold
20966 Note: endfloat
20967 \series default
20968  doesn't provide an automatic translation for the text hint, you have to
20969  do this manually, see section
20970 \begin_inset Space ~
20971 \end_inset
20972
20973 4 in 
20974 \begin_inset CommandInset citation
20975 LatexCommand cite
20976 key "endfloat"
20977
20978 \end_inset
20979
20980 .
20981 \end_layout
20982
20983 \end_inset
20984
20985
20986 \begin_inset Newline newline
20987 \end_inset
20988
20989
20990 \begin_inset Note Greyedout
20991 status open
20992
20993 \begin_layout Plain Layout
20994
20995 \series bold
20996 Note:
20997 \series default
20998  There is currently a bug in 
20999 \series bold
21000 endfloat
21001 \series default
21002  when the caption contains a German 
21003 \begin_inset Quotes eld
21004 \end_inset
21005
21006 ß
21007 \begin_inset Quotes erd
21008 \end_inset
21009
21010 .
21011  Use in this case the command 
21012 \begin_inset Quotes eld
21013 \end_inset
21014
21015
21016 \series bold
21017
21018 \backslash
21019 ss
21020 \series default
21021
21022 \begin_inset Quotes erd
21023 \end_inset
21024
21025  in TeX-Code instead of 
21026 \begin_inset Quotes eld
21027 \end_inset
21028
21029 ß
21030 \begin_inset Quotes erd
21031 \end_inset
21032
21033 .
21034 \end_layout
21035
21036 \end_inset
21037
21038
21039 \end_layout
21040
21041 \begin_layout Standard
21042 \begin_inset VSpace bigskip
21043 \end_inset
21044
21045 For more details about float placements, have a look at LaTeX books, 
21046 \begin_inset CommandInset citation
21047 LatexCommand cite
21048 key "latexcompanion,latexguide,latexbook"
21049
21050 \end_inset
21051
21052 .
21053 \end_layout
21054
21055 \begin_layout Section
21056 Rotated Floats
21057 \begin_inset CommandInset label
21058 LatexCommand label
21059 name "sec:Rotated-Floats"
21060
21061 \end_inset
21062
21063
21064 \begin_inset Index
21065 status collapsed
21066
21067 \begin_layout Plain Layout
21068 Floats ! Rotating
21069 \end_layout
21070
21071 \end_inset
21072
21073
21074 \end_layout
21075
21076 \begin_layout Standard
21077 Especially for wide tables you might have floats rotated.
21078  To rotate a whole float including the caption, right-click on the float-box
21079  and use the option 
21080 \family sans
21081 Rotate
21082 \begin_inset Space ~
21083 \end_inset
21084
21085 sideways
21086 \family default
21087 .
21088 \end_layout
21089
21090 \begin_layout Standard
21091 Rotated floats are always placed on its own page (or column, when you have
21092  a two-column document).
21093  They are rotated so that you can read them from the outside margin.
21094  To force a certain rotation direction for all pages, you can add either
21095  the option 
21096 \series bold
21097 figuresleft
21098 \series default
21099  or 
21100 \series bold
21101 figuresright
21102 \series default
21103  to the document class options.
21104 \end_layout
21105
21106 \begin_layout Standard
21107 Referencing rotated floats is the same like for normal floats, the caption
21108  format is also the same: Table
21109 \begin_inset Space ~
21110 \end_inset
21111
21112
21113 \begin_inset CommandInset ref
21114 LatexCommand ref
21115 reference "tab:Rotated-table"
21116
21117 \end_inset
21118
21119  is an example of a rotated table float.
21120 \end_layout
21121
21122 \begin_layout Standard
21123 \begin_inset Note Greyedout
21124 status open
21125
21126 \begin_layout Plain Layout
21127
21128 \series bold
21129 Note:
21130 \series default
21131  Not all DVI-viewers are able to display rotated floats.
21132 \end_layout
21133
21134 \end_inset
21135
21136
21137 \end_layout
21138
21139 \begin_layout Standard
21140 \begin_inset Float table
21141 wide false
21142 sideways true
21143 status open
21144
21145 \begin_layout Plain Layout
21146 \begin_inset Caption
21147
21148 \begin_layout Plain Layout
21149 \begin_inset CommandInset label
21150 LatexCommand label
21151 name "tab:Rotated-table"
21152
21153 \end_inset
21154
21155  Rotated table
21156 \end_layout
21157
21158 \end_inset
21159
21160
21161 \end_layout
21162
21163 \begin_layout Plain Layout
21164 \align center
21165 \begin_inset Tabular
21166 <lyxtabular version="3" rows="1" columns="5">
21167 <features>
21168 <column alignment="center" valignment="top" width="0">
21169 <column alignment="center" valignment="top" width="0">
21170 <column alignment="center" valignment="top" width="0">
21171 <column alignment="center" valignment="top" width="0">
21172 <column alignment="center" valignment="top" width="0">
21173 <row>
21174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21175 \begin_inset Text
21176
21177 \begin_layout Plain Layout
21178 test
21179 \end_layout
21180
21181 \end_inset
21182 </cell>
21183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21184 \begin_inset Text
21185
21186 \begin_layout Plain Layout
21187 b
21188 \end_layout
21189
21190 \end_inset
21191 </cell>
21192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21193 \begin_inset Text
21194
21195 \begin_layout Plain Layout
21196 c
21197 \end_layout
21198
21199 \end_inset
21200 </cell>
21201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21202 \begin_inset Text
21203
21204 \begin_layout Plain Layout
21205 d
21206 \end_layout
21207
21208 \end_inset
21209 </cell>
21210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21211 \begin_inset Text
21212
21213 \begin_layout Plain Layout
21214 e
21215 \end_layout
21216
21217 \end_inset
21218 </cell>
21219 </row>
21220 </lyxtabular>
21221
21222 \end_inset
21223
21224
21225 \end_layout
21226
21227 \end_inset
21228
21229
21230 \end_layout
21231
21232 \begin_layout Section
21233 Floats Side by Side
21234 \begin_inset Index
21235 status collapsed
21236
21237 \begin_layout Plain Layout
21238 Floats ! Side by side
21239 \end_layout
21240
21241 \end_inset
21242
21243
21244 \end_layout
21245
21246 \begin_layout Standard
21247 To place floats side by side, like for Figure
21248 \begin_inset Space ~
21249 \end_inset
21250
21251
21252 \begin_inset CommandInset ref
21253 LatexCommand ref
21254 reference "fig:Float-left"
21255
21256 \end_inset
21257
21258  and 
21259 \begin_inset CommandInset ref
21260 LatexCommand ref
21261 reference "fig:Float-right"
21262
21263 \end_inset
21264
21265 , only 
21266 \emph on
21267 one
21268 \emph default
21269  float is used.
21270  In it two minipage boxes are inserted.
21271 \begin_inset Foot
21272 status collapsed
21273
21274 \begin_layout Plain Layout
21275 Minipages are explained in section
21276 \begin_inset Space ~
21277 \end_inset
21278
21279
21280 \begin_inset CommandInset ref
21281 LatexCommand ref
21282 reference "sec:Minipages"
21283
21284 \end_inset
21285
21286 .
21287 \end_layout
21288
21289 \end_inset
21290
21291  The width is set to 45
21292 \begin_inset Space \thinspace{}
21293 \end_inset
21294
21295 -50
21296 \begin_inset Space \thinspace{}
21297 \end_inset
21298
21299 column% and the box alignment to 
21300 \family sans
21301 Bottom
21302 \family default
21303  for each minipage.
21304  The minipage boxes contain the image and the caption in the same way as
21305  they are in a float.
21306  The only difference is that the image unit 
21307 \family sans
21308 Column
21309 \begin_inset Space ~
21310 \end_inset
21311
21312 Width
21313 \begin_inset Space ~
21314 \end_inset
21315
21316 %
21317 \family default
21318  is now calculated according to the width of the minipage boxes.
21319 \end_layout
21320
21321 \begin_layout Standard
21322 \begin_inset Float figure
21323 wide false
21324 sideways false
21325 status open
21326
21327 \begin_layout Plain Layout
21328 \begin_inset Box Frameless
21329 position "b"
21330 hor_pos "c"
21331 has_inner_box 1
21332 inner_pos "t"
21333 use_parbox 0
21334 width "45col%"
21335 special "none"
21336 height "1in"
21337 height_special "totalheight"
21338 status open
21339
21340 \begin_layout Plain Layout
21341 \align center
21342 \begin_inset Graphics
21343         filename clipart/mobius.eps
21344         lyxscale 50
21345         width 100col%
21346         scaleBeforeRotation
21347
21348 \end_inset
21349
21350
21351 \end_layout
21352
21353 \begin_layout Plain Layout
21354 \begin_inset Caption
21355
21356 \begin_layout Plain Layout
21357 \begin_inset CommandInset label
21358 LatexCommand label
21359 name "fig:Float-left"
21360
21361 \end_inset
21362
21363 Float on the left side.
21364 \end_layout
21365
21366 \end_inset
21367
21368
21369 \end_layout
21370
21371 \end_inset
21372
21373
21374 \begin_inset Space \hfill{}
21375 \end_inset
21376
21377
21378 \begin_inset Box Frameless
21379 position "b"
21380 hor_pos "c"
21381 has_inner_box 1
21382 inner_pos "t"
21383 use_parbox 0
21384 width "45col%"
21385 special "none"
21386 height "1in"
21387 height_special "totalheight"
21388 status open
21389
21390 \begin_layout Plain Layout
21391 \align center
21392 \begin_inset Graphics
21393         filename clipart/platypus.eps
21394         lyxscale 50
21395         width 100col%
21396         scaleBeforeRotation
21397
21398 \end_inset
21399
21400
21401 \end_layout
21402
21403 \begin_layout Plain Layout
21404 \begin_inset Caption
21405
21406 \begin_layout Plain Layout
21407 \begin_inset CommandInset label
21408 LatexCommand label
21409 name "fig:Float-right"
21410
21411 \end_inset
21412
21413 Float on the right side.
21414 \end_layout
21415
21416 \end_inset
21417
21418
21419 \end_layout
21420
21421 \end_inset
21422
21423
21424 \end_layout
21425
21426 \begin_layout Plain Layout
21427
21428 \end_layout
21429
21430 \end_inset
21431
21432
21433 \end_layout
21434
21435 \begin_layout Section
21436 Caption Formatting
21437 \begin_inset Index
21438 status collapsed
21439
21440 \begin_layout Plain Layout
21441 Caption ! Formatting
21442 \end_layout
21443
21444 \end_inset
21445
21446
21447 \begin_inset Index
21448 status collapsed
21449
21450 \begin_layout Plain Layout
21451 Floats ! Caption Formatting
21452 \end_layout
21453
21454 \end_inset
21455
21456
21457 \begin_inset Index
21458 status collapsed
21459
21460 \begin_layout Plain Layout
21461 LaTeX-packages ! caption
21462 \end_layout
21463
21464 \end_inset
21465
21466
21467 \begin_inset CommandInset label
21468 LatexCommand label
21469 name "sec:Caption-Formatting"
21470
21471 \end_inset
21472
21473
21474 \end_layout
21475
21476 \begin_layout Standard
21477 The 
21478 \family sans
21479 Caption
21480 \family default
21481  environment is the default paragraph environment for 
21482 \family sans
21483 Floats
21484 \family default
21485 .
21486  On the LyX screen captions appear as label, e.
21487 \begin_inset Space \thinspace{}
21488 \end_inset
21489
21490 g.
21491 \begin_inset Space ~
21492 \end_inset
21493
21494
21495 \begin_inset Quotes eld
21496 \end_inset
21497
21498
21499 \family sans
21500 Figure #:
21501 \family default
21502
21503 \begin_inset Quotes erd
21504 \end_inset
21505
21506  followed by the caption text.
21507  
21508 \begin_inset Quotes eld
21509 \end_inset
21510
21511 #
21512 \begin_inset Quotes erd
21513 \end_inset
21514
21515  is the actual reference number.
21516  By default the label and the number are in the same font as the caption
21517  text and a colon follows the number to divide the label from the text.
21518  This caption format is not suitable for all document formats.
21519  
21520 \end_layout
21521
21522 \begin_layout Standard
21523 To change the default caption format, load the LaTeX-package 
21524 \series bold
21525 caption
21526 \series default
21527
21528 \begin_inset Index
21529 status collapsed
21530
21531 \begin_layout Plain Layout
21532 LaTeX-packages ! caption
21533 \end_layout
21534
21535 \end_inset
21536
21537  in the document preamble with this line:
21538 \end_layout
21539
21540 \begin_layout Standard
21541
21542 \series bold
21543
21544 \backslash
21545 usepackage[format definition]{caption}
21546 \end_layout
21547
21548 \begin_layout Standard
21549 To have for example the label and the number in sans-serif bold font and
21550  the table captions always above the table like in this document, use the
21551  following command:
21552 \end_layout
21553
21554 \begin_layout Standard
21555
21556 \series bold
21557
21558 \backslash
21559 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21560 \end_layout
21561
21562 \begin_layout Standard
21563 You can also define different caption formats for the different float types.
21564  In this case load the 
21565 \series bold
21566 caption
21567 \series default
21568  package without format specific options and define the different formats
21569  with the help of the command
21570 \end_layout
21571
21572 \begin_layout Standard
21573
21574 \series bold
21575
21576 \backslash
21577 captionsetup[float type]{format definition}
21578 \end_layout
21579
21580 \begin_layout Standard
21581 in the document preamble.
21582  For example the caption formats of Figure
21583 \begin_inset Space ~
21584 \end_inset
21585
21586
21587 \begin_inset CommandInset ref
21588 LatexCommand ref
21589 reference "fig:This-is-an-fig"
21590
21591 \end_inset
21592
21593  and Table
21594 \begin_inset Space ~
21595 \end_inset
21596
21597
21598 \begin_inset CommandInset ref
21599 LatexCommand ref
21600 reference "tab:This-is-an-tab"
21601
21602 \end_inset
21603
21604  can be created using these commands in the document preamble:
21605 \end_layout
21606
21607 \begin_layout Standard
21608
21609 \series bold
21610
21611 \backslash
21612 usepackage[tableposition=top]{caption}
21613 \series default
21614
21615 \begin_inset Newline newline
21616 \end_inset
21617
21618
21619 \series bold
21620
21621 \backslash
21622 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21623 \begin_inset Newline newline
21624 \end_inset
21625
21626
21627 \begin_inset ERT
21628 status collapsed
21629
21630 \begin_layout Plain Layout
21631
21632
21633 \backslash
21634 hphantom{
21635 \backslash
21636
21637 \backslash
21638 captionsetup[figure]
21639 \backslash
21640 {}
21641 \end_layout
21642
21643 \end_inset
21644
21645  labelsep=period}
21646 \begin_inset Newline newline
21647 \end_inset
21648
21649
21650 \backslash
21651 captionsetup[table]{labelfont={bf,sf}}
21652 \end_layout
21653
21654 \begin_layout Standard
21655 \begin_inset Note Greyedout
21656 status open
21657
21658 \begin_layout Plain Layout
21659
21660 \series bold
21661 Note:
21662 \series default
21663  The option 
21664 \series bold
21665 tableposition=top
21666 \series default
21667  has no effect when a 
21668 \series bold
21669 koma-script
21670 \series default
21671
21672 \begin_inset Index
21673 status collapsed
21674
21675 \begin_layout Plain Layout
21676 LaTeX-packages ! koma-script
21677 \end_layout
21678
21679 \end_inset
21680
21681  document class is used.
21682  In this case the document class option 
21683 \series bold
21684 tablecaptionabove
21685 \series default
21686  must be used.
21687 \end_layout
21688
21689 \end_inset
21690
21691
21692 \end_layout
21693
21694 \begin_layout Standard
21695 For more information about the package 
21696 \series bold
21697 caption
21698 \series default
21699  we refer to its documentation 
21700 \begin_inset CommandInset citation
21701 LatexCommand cite
21702 key "caption,caption-de"
21703
21704 \end_inset
21705
21706 .
21707 \end_layout
21708
21709 \begin_layout Standard
21710 To change the label name from e.g.
21711  
21712 \begin_inset Quotes eld
21713 \end_inset
21714
21715 Figure
21716 \begin_inset Quotes erd
21717 \end_inset
21718
21719  to 
21720 \begin_inset Quotes eld
21721 \end_inset
21722
21723 Image
21724 \begin_inset Quotes erd
21725 \end_inset
21726
21727  use this preamble command:
21728 \end_layout
21729
21730 \begin_layout Standard
21731
21732 \series bold
21733
21734 \backslash
21735 renewcommand{
21736 \backslash
21737 fnum@figure}{Image~
21738 \backslash
21739 thefigure}
21740 \end_layout
21741
21742 \begin_layout Standard
21743 where 
21744 \series bold
21745
21746 \backslash
21747 thefigure
21748 \series default
21749  inserts the figure number and
21750 \series bold
21751  
21752 \begin_inset Quotes eld
21753 \end_inset
21754
21755 ~
21756 \series default
21757
21758 \begin_inset Quotes erd
21759 \end_inset
21760
21761  creates a protected space.
21762 \end_layout
21763
21764 \begin_layout Standard
21765 \begin_inset VSpace bigskip
21766 \end_inset
21767
21768 If you are using a 
21769 \series bold
21770 koma-script
21771 \series default
21772
21773 \begin_inset Index
21774 status collapsed
21775
21776 \begin_layout Plain Layout
21777 LaTeX-packages ! koma-script
21778 \end_layout
21779
21780 \end_inset
21781
21782  document class (
21783 \family sans
21784 article (koma-script)
21785 \family default
21786
21787 \family sans
21788 book (koma-script)
21789 \family default
21790
21791 \family sans
21792 letter (koma-script)
21793 \family default
21794 , or 
21795 \family sans
21796 report (koma-script)
21797 \family default
21798
21799 \begin_inset Space \thinspace{}
21800 \end_inset
21801
21802 ), you can alternatively to the 
21803 \series bold
21804 caption
21805 \series default
21806  package use 
21807 \series bold
21808 koma-script
21809 \series default
21810 's built-in command 
21811 \series bold
21812
21813 \backslash
21814 setkomafont
21815 \series default
21816 .
21817  For example, to have the caption label in bold, add this command to your
21818  document preamble:
21819 \end_layout
21820
21821 \begin_layout Standard
21822
21823 \series bold
21824
21825 \backslash
21826 setkomafont{captionlabel}{
21827 \backslash
21828 bfseries}
21829 \end_layout
21830
21831 \begin_layout Standard
21832 For more information about 
21833 \series bold
21834
21835 \backslash
21836 setkomafont
21837 \series default
21838  we refer to the 
21839 \series bold
21840 koma-script
21841 \series default
21842  documentation 
21843 \begin_inset CommandInset citation
21844 LatexCommand cite
21845 key "koma-script"
21846
21847 \end_inset
21848
21849 .
21850 \end_layout
21851
21852 \begin_layout Standard
21853 \begin_inset ERT
21854 status collapsed
21855
21856 \begin_layout Plain Layout
21857
21858
21859 \backslash
21860 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21861 }
21862 \end_layout
21863
21864 \end_inset
21865
21866
21867 \begin_inset Note Note
21868 status open
21869
21870 \begin_layout Plain Layout
21871 The caption format is changed only for this example.
21872 \end_layout
21873
21874 \end_inset
21875
21876
21877 \end_layout
21878
21879 \begin_layout Standard
21880 \begin_inset Float figure
21881 placement !p
21882 wide false
21883 sideways false
21884 status open
21885
21886 \begin_layout Plain Layout
21887 \align center
21888 \begin_inset Graphics
21889         filename clipart/mobius.eps
21890         lyxscale 50
21891         scale 50
21892         scaleBeforeRotation
21893
21894 \end_inset
21895
21896
21897 \end_layout
21898
21899 \begin_layout Plain Layout
21900 \begin_inset Caption
21901
21902 \begin_layout Plain Layout
21903 \begin_inset CommandInset label
21904 LatexCommand label
21905 name "fig:This-is-an-fig"
21906
21907 \end_inset
21908
21909 This is an example figure caption that is longer than one line to show the
21910  different caption format.
21911  Here a self-defined caption format is used.
21912 \end_layout
21913
21914 \end_inset
21915
21916
21917 \end_layout
21918
21919 \end_inset
21920
21921
21922 \end_layout
21923
21924 \begin_layout Standard
21925 \begin_inset ERT
21926 status collapsed
21927
21928 \begin_layout Plain Layout
21929
21930
21931 \backslash
21932 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21933 on}
21934 \end_layout
21935
21936 \end_inset
21937
21938
21939 \end_layout
21940
21941 \begin_layout Standard
21942 \begin_inset Float table
21943 placement !p
21944 wide false
21945 sideways false
21946 status open
21947
21948 \begin_layout Plain Layout
21949 \begin_inset Caption
21950
21951 \begin_layout Plain Layout
21952 \begin_inset CommandInset label
21953 LatexCommand label
21954 name "tab:This-is-an-tab"
21955
21956 \end_inset
21957
21958 This is an example table caption that is longer than one line to show the
21959  different caption format.
21960  Here the standard caption format for tables in this document is used.
21961 \end_layout
21962
21963 \end_inset
21964
21965
21966 \end_layout
21967
21968 \begin_layout Plain Layout
21969 \align center
21970 \begin_inset Tabular
21971 <lyxtabular version="3" rows="1" columns="5">
21972 <features>
21973 <column alignment="center" valignment="top" width="0">
21974 <column alignment="center" valignment="top" width="0">
21975 <column alignment="center" valignment="top" width="0">
21976 <column alignment="center" valignment="top" width="0">
21977 <column alignment="center" valignment="top" width="0">
21978 <row>
21979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21980 \begin_inset Text
21981
21982 \begin_layout Plain Layout
21983 a
21984 \end_layout
21985
21986 \end_inset
21987 </cell>
21988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21989 \begin_inset Text
21990
21991 \begin_layout Plain Layout
21992 b
21993 \end_layout
21994
21995 \end_inset
21996 </cell>
21997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21998 \begin_inset Text
21999
22000 \begin_layout Plain Layout
22001 c
22002 \end_layout
22003
22004 \end_inset
22005 </cell>
22006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22007 \begin_inset Text
22008
22009 \begin_layout Plain Layout
22010 d
22011 \end_layout
22012
22013 \end_inset
22014 </cell>
22015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22016 \begin_inset Text
22017
22018 \begin_layout Plain Layout
22019 e
22020 \end_layout
22021
22022 \end_inset
22023 </cell>
22024 </row>
22025 </lyxtabular>
22026
22027 \end_inset
22028
22029
22030 \end_layout
22031
22032 \end_inset
22033
22034
22035 \end_layout
22036
22037 \begin_layout Section
22038 Caption Placement
22039 \begin_inset Index
22040 status collapsed
22041
22042 \begin_layout Plain Layout
22043 Caption ! Placement
22044 \end_layout
22045
22046 \end_inset
22047
22048
22049 \begin_inset Index
22050 status collapsed
22051
22052 \begin_layout Plain Layout
22053 Floats ! Caption Placement
22054 \end_layout
22055
22056 \end_inset
22057
22058
22059 \begin_inset CommandInset label
22060 LatexCommand label
22061 name "sec:Caption-Placement"
22062
22063 \end_inset
22064
22065
22066 \end_layout
22067
22068 \begin_layout Standard
22069 The common caption placement rule is:
22070 \end_layout
22071
22072 \begin_layout Description
22073 Figure: Caption is set below the figure
22074 \end_layout
22075
22076 \begin_layout Description
22077 Table: Caption is set above the table
22078 \end_layout
22079
22080 \begin_layout Standard
22081 Having the caption above the table is unfortunately not supported in LaTeX's
22082  standard classes.
22083  That means if you are using the document classes 
22084 \family sans
22085 article
22086 \family default
22087
22088 \family sans
22089 book
22090 \family default
22091
22092 \family sans
22093 letter
22094 \family default
22095 , or 
22096 \family sans
22097 report
22098 \family default
22099  there will be no space between the caption and the table.
22100  To insert the needed space, add the following option to the load command
22101  of the LaTeX-package 
22102 \series bold
22103 caption
22104 \series default
22105  in your document preamble
22106 \begin_inset Foot
22107 status collapsed
22108
22109 \begin_layout Plain Layout
22110 See section
22111 \begin_inset Space ~
22112 \end_inset
22113
22114
22115 \begin_inset CommandInset ref
22116 LatexCommand ref
22117 reference "sec:Caption-Formatting"
22118
22119 \end_inset
22120
22121  for more information of the package 
22122 \series bold
22123 caption
22124 \series default
22125 .
22126 \end_layout
22127
22128 \end_inset
22129
22130 :
22131 \end_layout
22132
22133 \begin_layout Standard
22134
22135 \series bold
22136 tableposition=top
22137 \end_layout
22138
22139 \begin_layout Standard
22140 If you are using a 
22141 \series bold
22142 koma-script
22143 \series default
22144
22145 \begin_inset Index
22146 status collapsed
22147
22148 \begin_layout Plain Layout
22149 LaTeX-packages ! koma-script
22150 \end_layout
22151
22152 \end_inset
22153
22154  document class (
22155 \family sans
22156 article (koma-script)
22157 \family default
22158
22159 \family sans
22160 book (koma-script)
22161 \family default
22162
22163 \family sans
22164 letter (koma-script)
22165 \family default
22166 , or 
22167 \family sans
22168 report (koma-script)
22169 \family default
22170
22171 \begin_inset Space \thinspace{}
22172 \end_inset
22173
22174 ), you can alternatively to the 
22175 \series bold
22176 caption
22177 \series default
22178  package set the document class option 
22179 \series bold
22180 tablecaptionabove
22181 \series default
22182 .
22183 \end_layout
22184
22185 \begin_layout Standard
22186 \begin_inset VSpace bigskip
22187 \end_inset
22188
22189 It is also possible to set the caption beside a figure or table.
22190  To get this the LaTeX-package 
22191 \series bold
22192 sidecap
22193 \series default
22194
22195 \begin_inset Index
22196 status collapsed
22197
22198 \begin_layout Plain Layout
22199 LaTeX-packages ! sidecap
22200 \end_layout
22201
22202 \end_inset
22203
22204  has to be loaded in the document preamble with the line
22205 \end_layout
22206
22207 \begin_layout Standard
22208
22209 \series bold
22210
22211 \backslash
22212 usepackage[option]{sidecap}
22213 \end_layout
22214
22215 \begin_layout Standard
22216 If you set no option, the caption is placed on the side of the outer page
22217  margin -- to the right on odd pages, to the left on even pages.
22218  You can change the placement to inner margin with the option 
22219 \series bold
22220 innercaption
22221 \series default
22222 .
22223  To force the placement always to the right or left, use the option 
22224 \series bold
22225 rightcaption
22226 \series default
22227  or 
22228 \series bold
22229 leftcaption
22230 \series default
22231 , respectively.
22232 \end_layout
22233
22234 \begin_layout Standard
22235 \begin_inset ERT
22236 status collapsed
22237
22238 \begin_layout Plain Layout
22239
22240
22241 \backslash
22242 ifsidecap
22243 \end_layout
22244
22245 \end_inset
22246
22247
22248 \begin_inset Note Note
22249 status open
22250
22251 \begin_layout Plain Layout
22252 The following section will only be displayed when the LaTeX-package 
22253 \series bold
22254 sidecap
22255 \series default
22256  is installed.
22257 \end_layout
22258
22259 \end_inset
22260
22261
22262 \end_layout
22263
22264 \begin_layout Standard
22265 To place in LyX the caption of a float on the side, it is necessary to add
22266  these commands to the document preamble:
22267 \end_layout
22268
22269 \begin_layout Standard
22270
22271 \lyxline
22272
22273 \end_layout
22274
22275 \begin_layout Standard
22276
22277 \series bold
22278
22279 \backslash
22280 newcommand{
22281 \backslash
22282 TabBesBeg}{%
22283 \begin_inset Newline newline
22284 \end_inset
22285
22286
22287 \begin_inset ERT
22288 status collapsed
22289
22290 \begin_layout Plain Layout
22291
22292
22293 \backslash
22294 hphantom{ }
22295 \end_layout
22296
22297 \end_inset
22298
22299
22300 \backslash
22301 let
22302 \backslash
22303 MyTable
22304 \backslash
22305 table
22306 \begin_inset Newline newline
22307 \end_inset
22308
22309
22310 \begin_inset ERT
22311 status collapsed
22312
22313 \begin_layout Plain Layout
22314
22315
22316 \backslash
22317 hphantom{ }
22318 \end_layout
22319
22320 \end_inset
22321
22322
22323 \backslash
22324 let
22325 \backslash
22326 MyEndtable
22327 \backslash
22328 endtable
22329 \begin_inset Newline newline
22330 \end_inset
22331
22332
22333 \begin_inset ERT
22334 status collapsed
22335
22336 \begin_layout Plain Layout
22337
22338
22339 \backslash
22340 hphantom{ }
22341 \end_layout
22342
22343 \end_inset
22344
22345
22346 \backslash
22347 renewenvironment{table}{
22348 \backslash
22349 begin{SCtable}}{
22350 \backslash
22351 end{SCtable}}}
22352 \end_layout
22353
22354 \begin_layout Standard
22355
22356 \series bold
22357
22358 \backslash
22359 newcommand{
22360 \backslash
22361 TabBesEnd}{%
22362 \begin_inset Newline newline
22363 \end_inset
22364
22365
22366 \begin_inset ERT
22367 status collapsed
22368
22369 \begin_layout Plain Layout
22370
22371
22372 \backslash
22373 hphantom{ }
22374 \end_layout
22375
22376 \end_inset
22377
22378
22379 \backslash
22380 let
22381 \backslash
22382 table
22383 \backslash
22384 MyTable
22385 \begin_inset Newline newline
22386 \end_inset
22387
22388
22389 \begin_inset ERT
22390 status collapsed
22391
22392 \begin_layout Plain Layout
22393
22394
22395 \backslash
22396 hphantom{ }
22397 \end_layout
22398
22399 \end_inset
22400
22401
22402 \backslash
22403 let
22404 \backslash
22405 endtable
22406 \backslash
22407 MyEndtable
22408 \end_layout
22409
22410 \begin_layout Standard
22411
22412 \series bold
22413
22414 \backslash
22415 newcommand{
22416 \backslash
22417 FigBesBeg}{%
22418 \begin_inset Newline newline
22419 \end_inset
22420
22421
22422 \begin_inset ERT
22423 status collapsed
22424
22425 \begin_layout Plain Layout
22426
22427
22428 \backslash
22429 hphantom{ }
22430 \end_layout
22431
22432 \end_inset
22433
22434
22435 \backslash
22436 let
22437 \backslash
22438 MyFigure
22439 \backslash
22440 figure
22441 \begin_inset Newline newline
22442 \end_inset
22443
22444
22445 \begin_inset ERT
22446 status collapsed
22447
22448 \begin_layout Plain Layout
22449
22450
22451 \backslash
22452 hphantom{ }
22453 \end_layout
22454
22455 \end_inset
22456
22457
22458 \backslash
22459 let
22460 \backslash
22461 MyEndfigure
22462 \backslash
22463 endfigure
22464 \begin_inset Newline newline
22465 \end_inset
22466
22467
22468 \begin_inset ERT
22469 status collapsed
22470
22471 \begin_layout Plain Layout
22472
22473
22474 \backslash
22475 hphantom{ }
22476 \end_layout
22477
22478 \end_inset
22479
22480
22481 \backslash
22482 renewenvironment{figure}{
22483 \backslash
22484 begin{SCfigure}}{
22485 \backslash
22486 end{SCfigure}}}
22487 \end_layout
22488
22489 \begin_layout Standard
22490
22491 \series bold
22492
22493 \backslash
22494 newcommand{
22495 \backslash
22496 FigBesEnd}{%
22497 \begin_inset Newline newline
22498 \end_inset
22499
22500
22501 \begin_inset ERT
22502 status collapsed
22503
22504 \begin_layout Plain Layout
22505
22506
22507 \backslash
22508 hphantom{ }
22509 \end_layout
22510
22511 \end_inset
22512
22513
22514 \backslash
22515 let
22516 \backslash
22517 figure
22518 \backslash
22519 MyFigure
22520 \begin_inset Newline newline
22521 \end_inset
22522
22523
22524 \begin_inset ERT
22525 status collapsed
22526
22527 \begin_layout Plain Layout
22528
22529
22530 \backslash
22531 hphantom{ }
22532 \end_layout
22533
22534 \end_inset
22535
22536
22537 \backslash
22538 let
22539 \backslash
22540 endfigure
22541 \backslash
22542 MyEndfigure}
22543 \end_layout
22544
22545 \begin_layout Standard
22546
22547 \lyxline
22548
22549 \end_layout
22550
22551 \begin_layout Standard
22552 The commands allow you to redefine the floats so that the caption is set
22553  on the side.
22554  For figure floats use the command
22555 \end_layout
22556
22557 \begin_layout Standard
22558
22559 \series bold
22560
22561 \backslash
22562 FigBesBeg
22563 \end_layout
22564
22565 \begin_layout Standard
22566 in TeX-Code before the float.
22567  Behind the float insert the command
22568 \end_layout
22569
22570 \begin_layout Standard
22571
22572 \series bold
22573
22574 \backslash
22575 FigBesEnd
22576 \end_layout
22577
22578 \begin_layout Standard
22579 in TeX-Code to get back to the original float definition.
22580 \end_layout
22581
22582 \begin_layout Standard
22583 For table floats use the corresponding commands
22584 \end_layout
22585
22586 \begin_layout Standard
22587
22588 \series bold
22589
22590 \backslash
22591 TabBesBeg
22592 \series default
22593  and 
22594 \series bold
22595
22596 \backslash
22597 TabBesEnd
22598 \end_layout
22599
22600 \begin_layout Standard
22601 Figure
22602 \begin_inset Space ~
22603 \end_inset
22604
22605
22606 \begin_inset CommandInset ref
22607 LatexCommand ref
22608 reference "fig:cap-beside-fig"
22609
22610 \end_inset
22611
22612  and Table
22613 \begin_inset Space ~
22614 \end_inset
22615
22616
22617 \begin_inset CommandInset ref
22618 LatexCommand ref
22619 reference "tab:cap-beside-tab"
22620
22621 \end_inset
22622
22623  are examples where the caption is set beside.
22624 \end_layout
22625
22626 \begin_layout Standard
22627 You can see in the examples that the caption text appears at the top of
22628  the floats for table floats and at the bottom for figure floats.
22629  To change this, you can use the command
22630 \end_layout
22631
22632 \begin_layout Standard
22633
22634 \series bold
22635
22636 \backslash
22637 sidecaptionvpos{float type}{placement}
22638 \end_layout
22639
22640 \begin_layout Standard
22641 in the document preamble or in TeX-Code before the float.
22642  The float type is either 
22643 \family sans
22644 figure
22645 \family default
22646  or 
22647 \family sans
22648 table
22649 \family default
22650 , the placement can be 
22651 \begin_inset Quotes eld
22652 \end_inset
22653
22654
22655 \family sans
22656 t
22657 \family default
22658
22659 \begin_inset Quotes erd
22660 \end_inset
22661
22662  for top, 
22663 \begin_inset Quotes eld
22664 \end_inset
22665
22666
22667 \family sans
22668 c
22669 \family default
22670
22671 \begin_inset Quotes erd
22672 \end_inset
22673
22674  for center, or 
22675 \begin_inset Quotes eld
22676 \end_inset
22677
22678
22679 \family sans
22680 b
22681 \family default
22682
22683 \begin_inset Quotes erd
22684 \end_inset
22685
22686  for bottom.
22687  To have for example the caption of figure floats vertically centered, use
22688  the command
22689 \end_layout
22690
22691 \begin_layout Standard
22692
22693 \series bold
22694
22695 \backslash
22696 sidecaptionvpos{figure}{c}
22697 \end_layout
22698
22699 \begin_layout Standard
22700 This was used for Figure
22701 \begin_inset Space ~
22702 \end_inset
22703
22704
22705 \begin_inset CommandInset ref
22706 LatexCommand ref
22707 reference "fig:cap-beside-fig-2"
22708
22709 \end_inset
22710
22711 .
22712 \end_layout
22713
22714 \begin_layout Standard
22715 \begin_inset VSpace medskip
22716 \end_inset
22717
22718 For more information about the package 
22719 \series bold
22720 sidecap
22721 \series default
22722  we refer to its documentation 
22723 \begin_inset CommandInset citation
22724 LatexCommand cite
22725 key "sidecap"
22726
22727 \end_inset
22728
22729 .
22730 \end_layout
22731
22732 \begin_layout Standard
22733 \begin_inset Note Greyedout
22734 status open
22735
22736 \begin_layout Plain Layout
22737
22738 \series bold
22739 Note:
22740 \series default
22741  The LaTeX-package 
22742 \series bold
22743 hypcap
22744 \series default
22745
22746 \begin_inset Index
22747 status collapsed
22748
22749 \begin_layout Plain Layout
22750 LaTeX-packages ! hypcap
22751 \end_layout
22752
22753 \end_inset
22754
22755 , described in section
22756 \begin_inset Space ~
22757 \end_inset
22758
22759
22760 \begin_inset CommandInset ref
22761 LatexCommand ref
22762 reference "sub:Reference-Position"
22763
22764 \end_inset
22765
22766 , has no effect on floats with the caption set beside.
22767 \end_layout
22768
22769 \end_inset
22770
22771
22772 \end_layout
22773
22774 \begin_layout Standard
22775 \begin_inset ERT
22776 status collapsed
22777
22778 \begin_layout Plain Layout
22779
22780
22781 \backslash
22782 FigBesBeg 
22783 \end_layout
22784
22785 \end_inset
22786
22787
22788 \end_layout
22789
22790 \begin_layout Standard
22791 \begin_inset Float figure
22792 wide false
22793 sideways false
22794 status open
22795
22796 \begin_layout Plain Layout
22797 \begin_inset Graphics
22798         filename clipart/escher-lsd.eps
22799         scale 75
22800         scaleBeforeRotation
22801
22802 \end_inset
22803
22804
22805 \end_layout
22806
22807 \begin_layout Plain Layout
22808 \begin_inset Caption
22809
22810 \begin_layout Plain Layout
22811 \begin_inset CommandInset label
22812 LatexCommand label
22813 name "fig:cap-beside-fig"
22814
22815 \end_inset
22816
22817 This is a caption beside a figure.
22818 \end_layout
22819
22820 \end_inset
22821
22822
22823 \end_layout
22824
22825 \end_inset
22826
22827
22828 \end_layout
22829
22830 \begin_layout Standard
22831 \begin_inset ERT
22832 status collapsed
22833
22834 \begin_layout Plain Layout
22835
22836
22837 \backslash
22838 TabBesBeg 
22839 \end_layout
22840
22841 \end_inset
22842
22843
22844 \end_layout
22845
22846 \begin_layout Standard
22847 \begin_inset Float table
22848 wide false
22849 sideways false
22850 status open
22851
22852 \begin_layout Plain Layout
22853 \begin_inset Caption
22854
22855 \begin_layout Plain Layout
22856 \begin_inset CommandInset label
22857 LatexCommand label
22858 name "tab:cap-beside-tab"
22859
22860 \end_inset
22861
22862 This is a caption beside a table.
22863 \end_layout
22864
22865 \end_inset
22866
22867
22868 \end_layout
22869
22870 \begin_layout Plain Layout
22871 \begin_inset Tabular
22872 <lyxtabular version="3" rows="4" columns="5">
22873 <features>
22874 <column alignment="center" valignment="top" width="0">
22875 <column alignment="center" valignment="top" width="0">
22876 <column alignment="center" valignment="top" width="0">
22877 <column alignment="center" valignment="top" width="0">
22878 <column alignment="center" valignment="top" width="0">
22879 <row>
22880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22881 \begin_inset Text
22882
22883 \begin_layout Plain Layout
22884 a
22885 \end_layout
22886
22887 \end_inset
22888 </cell>
22889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22890 \begin_inset Text
22891
22892 \begin_layout Plain Layout
22893
22894 \end_layout
22895
22896 \end_inset
22897 </cell>
22898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22899 \begin_inset Text
22900
22901 \begin_layout Plain Layout
22902 b
22903 \end_layout
22904
22905 \end_inset
22906 </cell>
22907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22908 \begin_inset Text
22909
22910 \begin_layout Plain Layout
22911
22912 \end_layout
22913
22914 \end_inset
22915 </cell>
22916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22917 \begin_inset Text
22918
22919 \begin_layout Plain Layout
22920 c
22921 \end_layout
22922
22923 \end_inset
22924 </cell>
22925 </row>
22926 <row>
22927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22928 \begin_inset Text
22929
22930 \begin_layout Plain Layout
22931
22932 \end_layout
22933
22934 \end_inset
22935 </cell>
22936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22937 \begin_inset Text
22938
22939 \begin_layout Plain Layout
22940 d
22941 \end_layout
22942
22943 \end_inset
22944 </cell>
22945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22946 \begin_inset Text
22947
22948 \begin_layout Plain Layout
22949
22950 \end_layout
22951
22952 \end_inset
22953 </cell>
22954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22955 \begin_inset Text
22956
22957 \begin_layout Plain Layout
22958 e
22959 \end_layout
22960
22961 \end_inset
22962 </cell>
22963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22964 \begin_inset Text
22965
22966 \begin_layout Plain Layout
22967
22968 \end_layout
22969
22970 \end_inset
22971 </cell>
22972 </row>
22973 <row>
22974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22975 \begin_inset Text
22976
22977 \begin_layout Plain Layout
22978 f
22979 \end_layout
22980
22981 \end_inset
22982 </cell>
22983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22984 \begin_inset Text
22985
22986 \begin_layout Plain Layout
22987
22988 \end_layout
22989
22990 \end_inset
22991 </cell>
22992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22993 \begin_inset Text
22994
22995 \begin_layout Plain Layout
22996 g
22997 \end_layout
22998
22999 \end_inset
23000 </cell>
23001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23002 \begin_inset Text
23003
23004 \begin_layout Plain Layout
23005
23006 \end_layout
23007
23008 \end_inset
23009 </cell>
23010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23011 \begin_inset Text
23012
23013 \begin_layout Plain Layout
23014 h
23015 \end_layout
23016
23017 \end_inset
23018 </cell>
23019 </row>
23020 <row>
23021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23022 \begin_inset Text
23023
23024 \begin_layout Plain Layout
23025
23026 \end_layout
23027
23028 \end_inset
23029 </cell>
23030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23031 \begin_inset Text
23032
23033 \begin_layout Plain Layout
23034 i
23035 \end_layout
23036
23037 \end_inset
23038 </cell>
23039 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23040 \begin_inset Text
23041
23042 \begin_layout Plain Layout
23043
23044 \end_layout
23045
23046 \end_inset
23047 </cell>
23048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23049 \begin_inset Text
23050
23051 \begin_layout Plain Layout
23052 j
23053 \end_layout
23054
23055 \end_inset
23056 </cell>
23057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23058 \begin_inset Text
23059
23060 \begin_layout Plain Layout
23061
23062 \end_layout
23063
23064 \end_inset
23065 </cell>
23066 </row>
23067 </lyxtabular>
23068
23069 \end_inset
23070
23071
23072 \end_layout
23073
23074 \end_inset
23075
23076
23077 \end_layout
23078
23079 \begin_layout Standard
23080 \begin_inset ERT
23081 status collapsed
23082
23083 \begin_layout Plain Layout
23084
23085
23086 \backslash
23087 TabBesEnd
23088 \end_layout
23089
23090 \end_inset
23091
23092
23093 \end_layout
23094
23095 \begin_layout Standard
23096 \begin_inset ERT
23097 status collapsed
23098
23099 \begin_layout Plain Layout
23100
23101
23102 \backslash
23103 sidecaptionvpos{figure}{c}
23104 \end_layout
23105
23106 \end_inset
23107
23108
23109 \begin_inset Float figure
23110 wide false
23111 sideways false
23112 status open
23113
23114 \begin_layout Plain Layout
23115 \begin_inset Graphics
23116         filename clipart/escher-lsd.eps
23117         scale 75
23118         scaleBeforeRotation
23119
23120 \end_inset
23121
23122
23123 \end_layout
23124
23125 \begin_layout Plain Layout
23126 \begin_inset Caption
23127
23128 \begin_layout Plain Layout
23129 \begin_inset CommandInset label
23130 LatexCommand label
23131 name "fig:cap-beside-fig-2"
23132
23133 \end_inset
23134
23135 This is a vertically centered caption beside a figure.
23136 \end_layout
23137
23138 \end_inset
23139
23140
23141 \end_layout
23142
23143 \end_inset
23144
23145
23146 \end_layout
23147
23148 \begin_layout Standard
23149 \begin_inset ERT
23150 status collapsed
23151
23152 \begin_layout Plain Layout
23153
23154
23155 \backslash
23156 FigBesEnd
23157 \end_layout
23158
23159 \end_inset
23160
23161
23162 \end_layout
23163
23164 \begin_layout Standard
23165 \begin_inset ERT
23166 status collapsed
23167
23168 \begin_layout Plain Layout
23169
23170
23171 \backslash
23172 else
23173 \end_layout
23174
23175 \end_inset
23176
23177
23178 \begin_inset Note Note
23179 status open
23180
23181 \begin_layout Plain Layout
23182 The following will be displayed when the LaTeX-package 
23183 \series bold
23184 sidecap
23185 \series default
23186  is not installed:
23187 \end_layout
23188
23189 \end_inset
23190
23191
23192 \end_layout
23193
23194 \begin_layout Standard
23195 You need to install the LaTeX-package 
23196 \series bold
23197 sidecap
23198 \series default
23199  to see the following part of this section in the output.
23200 \end_layout
23201
23202 \begin_layout Standard
23203 \begin_inset ERT
23204 status collapsed
23205
23206 \begin_layout Plain Layout
23207
23208
23209 \backslash
23210 fi
23211 \end_layout
23212
23213 \end_inset
23214
23215
23216 \end_layout
23217
23218 \begin_layout Section
23219 Listings of Floats
23220 \begin_inset CommandInset label
23221 LatexCommand label
23222 name "sec:Listings-of-Floats"
23223
23224 \end_inset
23225
23226
23227 \begin_inset Index
23228 status collapsed
23229
23230 \begin_layout Plain Layout
23231 Floats ! Float Lists
23232 \end_layout
23233
23234 \end_inset
23235
23236
23237 \end_layout
23238
23239 \begin_layout Standard
23240 Similar to the the table of contents where the sections of the document
23241  are listed, there are listings for all float types, like the figures of
23242  the documents.
23243  You can insert them via the 
23244 \family sans
23245 Insert\SpecialChar \menuseparator
23246 List
23247 \begin_inset Space ~
23248 \end_inset
23249
23250 /
23251 \begin_inset Space ~
23252 \end_inset
23253
23254 TOC
23255 \family default
23256  sub menus.
23257 \end_layout
23258
23259 \begin_layout Standard
23260 The list entries are the float captions or its short title, the float number,
23261  and the page number where they appear in the document.
23262 \end_layout
23263
23264 \begin_layout Standard
23265 You can find the list of figures and tables at the end of this document.
23266 \end_layout
23267
23268 \begin_layout Chapter
23269 Notes
23270 \end_layout
23271
23272 \begin_layout Section
23273 LyX Notes
23274 \begin_inset CommandInset label
23275 LatexCommand label
23276 name "sec:LyX-Notes"
23277
23278 \end_inset
23279
23280
23281 \begin_inset Index
23282 status collapsed
23283
23284 \begin_layout Plain Layout
23285 Notes ! LyX Notes
23286 \end_layout
23287
23288 \end_inset
23289
23290
23291 \end_layout
23292
23293 \begin_layout Standard
23294 Notes are inserted with the toolbar button 
23295 \begin_inset Graphics
23296         filename ../images/note-insert.png
23297         scale 85
23298         scaleBeforeRotation
23299
23300 \end_inset
23301
23302  or the menu 
23303 \family sans
23304 Insert\SpecialChar \menuseparator
23305 Note
23306 \family default
23307 .
23308  There are five types of notes:
23309 \end_layout
23310
23311 \begin_layout Description
23312 LyX
23313 \begin_inset Space ~
23314 \end_inset
23315
23316 Note This note type is for internal notes that won't appear in the output.
23317  Its note-box looks like this:
23318 \begin_inset Newline newline
23319 \end_inset
23320
23321
23322 \begin_inset Newline newline
23323 \end_inset
23324
23325
23326 \begin_inset Graphics
23327         filename clipart/LyXNoteImageQt4.png
23328         display none
23329         scale 85
23330         scaleBeforeRotation
23331
23332 \end_inset
23333
23334  
23335 \begin_inset Note Note
23336 status open
23337
23338 \begin_layout Plain Layout
23339 This is text in a note box that doesn't appear in the output.
23340 \end_layout
23341
23342 \end_inset
23343
23344
23345 \end_layout
23346
23347 \begin_layout Description
23348 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23349 ent, when you export the document to LaTeX via the menu 
23350 \family sans
23351 File\SpecialChar \menuseparator
23352 Export\SpecialChar \menuseparator
23353 LaTeX (pdflatex) / (plain)
23354 \family default
23355 .
23356  Its note-box looks like this:
23357 \begin_inset Newline newline
23358 \end_inset
23359
23360
23361 \begin_inset Newline newline
23362 \end_inset
23363
23364
23365 \begin_inset Graphics
23366         filename clipart/CommentNoteImageQt4.png
23367         display none
23368         scale 85
23369         scaleBeforeRotation
23370
23371 \end_inset
23372
23373  
23374 \begin_inset Note Comment
23375 status open
23376
23377 \begin_layout Plain Layout
23378 This is text in a note box that only appears as comment in LaTeX-files.
23379 \end_layout
23380
23381 \end_inset
23382
23383
23384 \end_layout
23385
23386 \begin_layout Description
23387 Greyed
23388 \begin_inset Space ~
23389 \end_inset
23390
23391 Out This note will appear in the output as grey text.
23392  Its note-box looks like this:
23393 \begin_inset Newline newline
23394 \end_inset
23395
23396
23397 \begin_inset Newline newline
23398 \end_inset
23399
23400
23401 \begin_inset Graphics
23402         filename clipart/GreyedOutNoteImageQt4.png
23403         display none
23404         scale 85
23405         scaleBeforeRotation
23406
23407 \end_inset
23408
23409
23410 \begin_inset Newline newline
23411 \end_inset
23412
23413
23414 \begin_inset ERT
23415 status collapsed
23416
23417 \begin_layout Plain Layout
23418
23419
23420 \backslash
23421 renewenvironment{lyxgreyedout}
23422 \end_layout
23423
23424 \begin_layout Plain Layout
23425
23426 {
23427 \backslash
23428 textcolor[gray]{0.8}
23429 \backslash
23430 bgroup}{
23431 \backslash
23432 egroup}
23433 \end_layout
23434
23435 \end_inset
23436
23437
23438 \begin_inset Note Greyedout
23439 status open
23440
23441 \begin_layout Plain Layout
23442 This is text
23443 \begin_inset Foot
23444 status open
23445
23446 \begin_layout Plain Layout
23447 This is an example footnote within a greyed out note.
23448 \end_layout
23449
23450 \end_inset
23451
23452  of a comment that appears in the output as grey text.
23453 \end_layout
23454
23455 \end_inset
23456
23457
23458 \begin_inset ERT
23459 status collapsed
23460
23461 \begin_layout Plain Layout
23462
23463
23464 \backslash
23465 renewenvironment{lyxgreyedout}
23466 \end_layout
23467
23468 \begin_layout Plain Layout
23469
23470 {
23471 \backslash
23472 textcolor{blue}
23473 \backslash
23474 bgroup}{
23475 \backslash
23476 egroup}
23477 \end_layout
23478
23479 \end_inset
23480
23481
23482 \begin_inset Note Note
23483 status collapsed
23484
23485 \begin_layout Plain Layout
23486 The greyed out note is here redefined to show it with the original LyX definitio
23487 n because greyed out notes are redefined in the preamble of this document,
23488  as described below, to have blue text.
23489 \end_layout
23490
23491 \end_inset
23492
23493
23494 \begin_inset Newline newline
23495 \end_inset
23496
23497
23498 \begin_inset Newline newline
23499 \end_inset
23500
23501 As you can see in the example, the first line of greyed out notes is a bit
23502  indented and greyed out notes can have footnotes.
23503 \end_layout
23504
23505 \begin_layout Description
23506 Framed This note will appear in the output as framed text.
23507  Its note-box looks like this:
23508 \begin_inset Newline newline
23509 \end_inset
23510
23511
23512 \begin_inset Newline newline
23513 \end_inset
23514
23515
23516 \begin_inset Graphics
23517         filename clipart/FramedNoteImageQt4.png
23518         display none
23519         scale 85
23520         scaleBeforeRotation
23521
23522 \end_inset
23523
23524  
23525 \begin_inset Box Framed
23526 position "t"
23527 hor_pos "c"
23528 has_inner_box 0
23529 inner_pos "t"
23530 use_parbox 0
23531 width "100col%"
23532 special "none"
23533 height "1in"
23534 height_special "totalheight"
23535 status open
23536
23537 \begin_layout Plain Layout
23538 This is text in a note box that appears framed in the output.
23539 \end_layout
23540
23541 \end_inset
23542
23543  In contrary to framed boxes
23544 \begin_inset Foot
23545 status collapsed
23546
23547 \begin_layout Plain Layout
23548 Framed boxes are described in section
23549 \begin_inset Space ~
23550 \end_inset
23551
23552
23553 \begin_inset CommandInset ref
23554 LatexCommand ref
23555 reference "sec:Framed-Boxes"
23556
23557 \end_inset
23558
23559 .
23560 \end_layout
23561
23562 \end_inset
23563
23564  the frame uses always the whole text width and the note is set into its
23565  own paragraph.
23566 \end_layout
23567
23568 \begin_layout Description
23569 Shaded This note will appear in the output with red background color.
23570  Its note box looks like this:
23571 \begin_inset Newline newline
23572 \end_inset
23573
23574
23575 \begin_inset Newline newline
23576 \end_inset
23577
23578
23579 \begin_inset Graphics
23580         filename clipart/ShadedNoteImageQt4.png
23581         display none
23582         scale 85
23583         scaleBeforeRotation
23584
23585 \end_inset
23586
23587
23588 \begin_inset Box Shaded
23589 position "t"
23590 hor_pos "c"
23591 has_inner_box 0
23592 inner_pos "t"
23593 use_parbox 0
23594 width "100col%"
23595 special "none"
23596 height "1in"
23597 height_special "totalheight"
23598 status open
23599
23600 \begin_layout Plain Layout
23601 This text in a note box appears in the output with red background.
23602 \end_layout
23603
23604 \end_inset
23605
23606 In contrary to colored boxes
23607 \begin_inset Foot
23608 status collapsed
23609
23610 \begin_layout Plain Layout
23611 Colored boxes are described in section
23612 \begin_inset Space ~
23613 \end_inset
23614
23615
23616 \begin_inset CommandInset ref
23617 LatexCommand ref
23618 reference "sec:Colored-Boxes"
23619
23620 \end_inset
23621
23622 .
23623 \end_layout
23624
23625 \end_inset
23626
23627  the note uses always the whole text width and the note is set into its
23628  own paragraph.
23629 \end_layout
23630
23631 \begin_layout Standard
23632 \begin_inset VSpace bigskip
23633 \end_inset
23634
23635 When you use the toolbar button 
23636 \begin_inset Graphics
23637         filename ../images/note-insert.png
23638         scale 85
23639         scaleBeforeRotation
23640
23641 \end_inset
23642
23643  to insert notes, a 
23644 \family sans
23645 LyX
23646 \begin_inset Space ~
23647 \end_inset
23648
23649 Note
23650 \family default
23651  is inserted.
23652  You can switch between the five note types by right-clicking on the note-box.
23653  
23654 \family roman
23655 \series medium
23656 \bar no
23657 If you want to turn existing text into a note, mark it and click on the
23658  note
23659 \family default
23660 \series default
23661 \bar default
23662  toolbar 
23663 \family roman
23664 \series medium
23665 \bar no
23666 button
23667 \family default
23668 \series default
23669 \bar default
23670 .
23671  To change a note to text, press the backspace key when the cursor is in
23672  the first position of a note, or press the deletey key when the cursor
23673  is in the very last position of the note, respectively.
23674 \end_layout
23675
23676 \begin_layout Standard
23677 \begin_inset VSpace bigskip
23678 \end_inset
23679
23680 You can change the text color of the greyed out notes in the preamble with
23681  the following command:
23682 \end_layout
23683
23684 \begin_layout Standard
23685
23686 \series bold
23687
23688 \backslash
23689 renewenvironment{lyxgreyedout}
23690 \begin_inset Newline newline
23691 \end_inset
23692
23693
23694 \begin_inset ERT
23695 status collapsed
23696
23697 \begin_layout Plain Layout
23698
23699
23700 \backslash
23701 hphantom{ }
23702 \end_layout
23703
23704 \end_inset
23705
23706 {
23707 \backslash
23708 textcolor{color}
23709 \backslash
23710 bgroup}{
23711 \backslash
23712 egroup}
23713 \end_layout
23714
23715 \begin_layout Standard
23716 The available colors and the method to define own colors is explained in
23717  section
23718 \begin_inset Space ~
23719 \end_inset
23720
23721
23722 \begin_inset CommandInset ref
23723 LatexCommand ref
23724 reference "sec:Colored-Tables"
23725
23726 \end_inset
23727
23728 .
23729 \end_layout
23730
23731 \begin_layout Standard
23732 Notes that appear in blue in this document are set using greyed out notes
23733  with blue text.
23734 \end_layout
23735
23736 \begin_layout Standard
23737 \begin_inset VSpace bigskip
23738 \end_inset
23739
23740
23741 \end_layout
23742
23743 \begin_layout Standard
23744 The text style of 
23745 \family sans
23746 Framed
23747 \family default
23748  and 
23749 \family sans
23750 Shaded
23751 \family default
23752  notes can be set in the 
23753 \family sans
23754 Text Style
23755 \family default
23756  dialog.
23757 \end_layout
23758
23759 \begin_layout Standard
23760 The default frame width for 
23761 \family sans
23762 Framed
23763 \family default
23764  notes is 0.4
23765 \begin_inset Space \thinspace{}
23766 \end_inset
23767
23768 pt; it can be changed by changing the size 
23769 \series bold
23770
23771 \backslash
23772 FrameRule
23773 \series default
23774 .
23775  The default space between the note content and the frame is 9
23776 \begin_inset Space \thinspace{}
23777 \end_inset
23778
23779 pt; it can be changed by changing the size 
23780 \series bold
23781
23782 \backslash
23783 FrameSep
23784 \series default
23785 .
23786  For example the frame appearance of the following 
23787 \family sans
23788 Framed
23789 \family default
23790  note is set with the TeX-Code commands
23791 \end_layout
23792
23793 \begin_layout Standard
23794
23795 \series bold
23796
23797 \backslash
23798 FrameRule 5pt 
23799 \backslash
23800 FrameSep 0.5cm
23801 \end_layout
23802
23803 \begin_layout Standard
23804 \begin_inset ERT
23805 status collapsed
23806
23807 \begin_layout Plain Layout
23808
23809
23810 \backslash
23811 FrameRule 5pt 
23812 \backslash
23813 FrameSep 0.5cm
23814 \end_layout
23815
23816 \end_inset
23817
23818
23819 \begin_inset Box Framed
23820 position "t"
23821 hor_pos "c"
23822 has_inner_box 0
23823 inner_pos "t"
23824 use_parbox 0
23825 width "100col%"
23826 special "none"
23827 height "1in"
23828 height_special "totalheight"
23829 status open
23830
23831 \begin_layout Plain Layout
23832 This is text in a 
23833 \family sans
23834 Framed
23835 \family default
23836  note.
23837 \end_layout
23838
23839 \end_inset
23840
23841
23842 \begin_inset ERT
23843 status collapsed
23844
23845 \begin_layout Plain Layout
23846
23847
23848 \backslash
23849 FrameRule 0.4pt 
23850 \backslash
23851 FrameSep 9pt
23852 \end_layout
23853
23854 \end_inset
23855
23856
23857 \end_layout
23858
23859 \begin_layout Standard
23860 \begin_inset VSpace bigskip
23861 \end_inset
23862
23863
23864 \end_layout
23865
23866 \begin_layout Standard
23867 For 
23868 \family sans
23869 Shaded
23870 \family default
23871  notes the default space between the note content and the note border is
23872  3
23873 \begin_inset Space \thinspace{}
23874 \end_inset
23875
23876 pt; it can be changed by changing the size 
23877 \series bold
23878
23879 \backslash
23880 fboxsep
23881 \series default
23882 .
23883 \begin_inset Newline newline
23884 \end_inset
23885
23886 The default background color red can be changed with the command 
23887 \series bold
23888
23889 \backslash
23890 definecolor{shadebox}
23891 \series default
23892 .
23893  The scheme of the 
23894 \series bold
23895
23896 \backslash
23897 definecolor
23898 \series default
23899  command is explained in section
23900 \begin_inset Space ~
23901 \end_inset
23902
23903
23904 \begin_inset CommandInset ref
23905 LatexCommand ref
23906 reference "sec:Colored-Tables"
23907
23908 \end_inset
23909
23910
23911 \begin_inset Foot
23912 status collapsed
23913
23914 \begin_layout Plain Layout
23915 Note that 
23916 \series bold
23917
23918 \backslash
23919 def
23920 \series default
23921 \SpecialChar \textcompwordmark{}
23922
23923 \series bold
23924 inecolor
23925 \series default
23926  requires the LaTeX-package 
23927 \series bold
23928 color
23929 \series default
23930  in the preamble, see section
23931 \begin_inset Space ~
23932 \end_inset
23933
23934
23935 \begin_inset CommandInset ref
23936 LatexCommand ref
23937 reference "sec:Colored-Boxes"
23938
23939 \end_inset
23940
23941 .
23942 \end_layout
23943
23944 \end_inset
23945
23946 .
23947 \end_layout
23948
23949 \begin_layout Standard
23950 For example the appearance of the following 
23951 \family sans
23952 Shaded
23953 \family default
23954  note is set with the TeX-Code commands
23955 \end_layout
23956
23957 \begin_layout Standard
23958
23959 \series bold
23960
23961 \backslash
23962 fboxsep 0.5cm
23963 \series default
23964
23965 \begin_inset Newline newline
23966 \end_inset
23967
23968
23969 \series bold
23970
23971 \backslash
23972 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23973 \end_layout
23974
23975 \begin_layout Standard
23976 \begin_inset ERT
23977 status collapsed
23978
23979 \begin_layout Plain Layout
23980
23981
23982 \backslash
23983 fboxsep 0.5cm
23984 \end_layout
23985
23986 \end_inset
23987
23988
23989 \begin_inset ERT
23990 status collapsed
23991
23992 \begin_layout Plain Layout
23993
23994
23995 \backslash
23996 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23997 \end_layout
23998
23999 \end_inset
24000
24001
24002 \begin_inset Box Shaded
24003 position "t"
24004 hor_pos "c"
24005 has_inner_box 0
24006 inner_pos "t"
24007 use_parbox 0
24008 width "100col%"
24009 special "none"
24010 height "1in"
24011 height_special "totalheight"
24012 status open
24013
24014 \begin_layout Plain Layout
24015
24016 \color yellow
24017 This is yellow text in a
24018 \color none
24019  
24020 \family sans
24021 \color yellow
24022 Shaded
24023 \family default
24024 \color none
24025  
24026 \color yellow
24027 note with darkgreen background.
24028 \end_layout
24029
24030 \end_inset
24031
24032
24033 \begin_inset ERT
24034 status collapsed
24035
24036 \begin_layout Plain Layout
24037
24038
24039 \backslash
24040 fboxsep 3pt
24041 \end_layout
24042
24043 \end_inset
24044
24045
24046 \begin_inset ERT
24047 status collapsed
24048
24049 \begin_layout Plain Layout
24050
24051
24052 \backslash
24053 definecolor{shadecolor}{rgb}{1,0,0}
24054 \end_layout
24055
24056 \end_inset
24057
24058
24059 \end_layout
24060
24061 \begin_layout Section
24062 Footnotes
24063 \begin_inset CommandInset label
24064 LatexCommand label
24065 name "sec:Footnotes"
24066
24067 \end_inset
24068
24069
24070 \begin_inset Index
24071 status collapsed
24072
24073 \begin_layout Plain Layout
24074 Notes ! Footnotes
24075 \end_layout
24076
24077 \end_inset
24078
24079
24080 \begin_inset Index
24081 status collapsed
24082
24083 \begin_layout Plain Layout
24084 Footnotes
24085 \end_layout
24086
24087 \end_inset
24088
24089
24090 \end_layout
24091
24092 \begin_layout Standard
24093 Footnotes can be inserted using the toolbar button 
24094 \begin_inset Graphics
24095         filename ../images/footnote-insert.png
24096         scale 85
24097         scaleBeforeRotation
24098
24099 \end_inset
24100
24101  or the menu 
24102 \family sans
24103 Insert\SpecialChar \menuseparator
24104 Footnote
24105 \family default
24106 .
24107  
24108 \family roman
24109 \series medium
24110 \bar no
24111 You'll see
24112 \family default
24113 \series default
24114 \bar default
24115  then the following footnote-box: 
24116 \begin_inset Graphics
24117         filename clipart/footnoteQt4.png
24118         scale 80
24119         scaleBeforeRotation
24120
24121 \end_inset
24122
24123  
24124 \family roman
24125 \series medium
24126 \bar no
24127 where you can enter the footnote text.
24128  If you want to turn existing text into a footnote, mark it and click on
24129  the footnote
24130 \family default
24131 \series default
24132 \bar default
24133  toolbar 
24134 \family roman
24135 \series medium
24136 \bar no
24137 button
24138 \family default
24139 \series default
24140 \bar default
24141 .
24142  To change a 
24143 \family roman
24144 \series medium
24145 \bar no
24146 footnote
24147 \family default
24148 \series default
24149 \bar default
24150  to text, press the Backspace key when the cursor is in the first position
24151  of a 
24152 \family roman
24153 \series medium
24154 \bar no
24155 footnote
24156 \family default
24157 \series default
24158 \bar default
24159 , or press the Delete key when the cursor is in the very last position of
24160  the 
24161 \family roman
24162 \series medium
24163 \bar no
24164 footnote
24165 \family default
24166 \series default
24167 \bar default
24168 , respectively.
24169 \end_layout
24170
24171 \begin_layout Standard
24172 Here is an example footnote:
24173 \family roman
24174 \series medium
24175 \bar no
24176
24177 \begin_inset Foot
24178 status open
24179
24180 \begin_layout Plain Layout
24181 \begin_inset CommandInset label
24182 LatexCommand label
24183 name "foot:This-is-an"
24184
24185 \end_inset
24186
24187 This is an example footnote.
24188 \end_layout
24189
24190 \end_inset
24191
24192
24193 \family default
24194 \series default
24195 \bar default
24196
24197 \begin_inset ERT
24198 status collapsed
24199
24200 \begin_layout Plain Layout
24201
24202
24203 \backslash
24204 newcounter{MyRepeatFoot}
24205 \end_layout
24206
24207 \begin_layout Plain Layout
24208
24209
24210 \backslash
24211 setcounter{MyRepeatFoot}{
24212 \backslash
24213 thefootnote}
24214 \end_layout
24215
24216 \end_inset
24217
24218
24219 \end_layout
24220
24221 \begin_layout Standard
24222 The footnote will appear in the output as a superscript number at the text
24223  position where the footnote box is placed.
24224  The footnote text is placed at the bottom of the current page.
24225  The footnote number is calculated by LaTeX, the numbers are consecutive.
24226  It depends on your document-class, if the footnote number is reset for
24227  every chapter.
24228 \end_layout
24229
24230 \begin_layout Standard
24231 Footnotes can be referenced like floats: Insert a label into the footnote
24232  and cross-reference this label in the text as described in section
24233 \begin_inset Space ~
24234 \end_inset
24235
24236
24237 \begin_inset CommandInset ref
24238 LatexCommand ref
24239 reference "sec:Referencing-Floats"
24240
24241 \end_inset
24242
24243 .
24244 \begin_inset Newline newline
24245 \end_inset
24246
24247 This is a cross-reference of Footnote
24248 \begin_inset Space ~
24249 \end_inset
24250
24251
24252 \begin_inset CommandInset ref
24253 LatexCommand ref
24254 reference "foot:This-is-an"
24255
24256 \end_inset
24257
24258 .
24259 \end_layout
24260
24261 \begin_layout Standard
24262 \begin_inset VSpace defskip
24263 \end_inset
24264
24265 To use footnotes within tables, you have to use minipages, see section
24266 \begin_inset Space ~
24267 \end_inset
24268
24269
24270 \begin_inset CommandInset ref
24271 LatexCommand ref
24272 reference "sec:Minipages"
24273
24274 \end_inset
24275
24276 .
24277  Footnotes within longtables are described in section
24278 \begin_inset Space ~
24279 \end_inset
24280
24281
24282 \begin_inset CommandInset ref
24283 LatexCommand ref
24284 reference "sub:Footnotes-in-Longtables"
24285
24286 \end_inset
24287
24288 .
24289 \end_layout
24290
24291 \begin_layout Standard
24292 \begin_inset VSpace defskip
24293 \end_inset
24294
24295 To create only a mark for a footnote, use the command 
24296 \series bold
24297
24298 \backslash
24299 footnotemark[number]
24300 \series default
24301  in TeX-Code.
24302  This is used when you have the same annotation several times in a text
24303  but doesn't want to print the footnote text every time.
24304 \begin_inset Newline newline
24305 \end_inset
24306
24307 As you don't know the number of the repeating footnote while you are writing
24308  the text, you have to store its number.
24309  For the following footnote mark example, these commands were inserted in
24310  TeX-Code behind Footnote
24311 \begin_inset Space ~
24312 \end_inset
24313
24314
24315 \begin_inset CommandInset ref
24316 LatexCommand ref
24317 reference "foot:This-is-an"
24318
24319 \end_inset
24320
24321  to store the footnote number:
24322 \end_layout
24323
24324 \begin_layout Standard
24325
24326 \series bold
24327
24328 \backslash
24329 newcounter{MyRepeatFoot}
24330 \begin_inset Newline newline
24331 \end_inset
24332
24333
24334 \backslash
24335 setcounter{MyRepeatFoot}{
24336 \backslash
24337 thefootnote}
24338 \end_layout
24339
24340 \begin_layout Standard
24341 The footnote mark was then created with this command:
24342 \end_layout
24343
24344 \begin_layout Standard
24345
24346 \series bold
24347
24348 \backslash
24349 footnotemark[
24350 \backslash
24351 theMyRepeatFoot]
24352 \end_layout
24353
24354 \begin_layout Standard
24355 Here is an example footnote mark:
24356 \family roman
24357 \series medium
24358 \bar no
24359
24360 \begin_inset ERT
24361 status collapsed
24362
24363 \begin_layout Plain Layout
24364
24365
24366 \backslash
24367 footnotemark[
24368 \backslash
24369 theMyRepeatFoot]
24370 \end_layout
24371
24372 \end_inset
24373
24374
24375 \end_layout
24376
24377 \begin_layout Subsection
24378 Footnote Numbering
24379 \begin_inset CommandInset label
24380 LatexCommand label
24381 name "sub:Footnote-Numbering"
24382
24383 \end_inset
24384
24385
24386 \begin_inset Index
24387 status collapsed
24388
24389 \begin_layout Plain Layout
24390 Footnotes ! Numbering
24391 \end_layout
24392
24393 \end_inset
24394
24395
24396 \end_layout
24397
24398 \begin_layout Standard
24399 To reset the footnote number back to 1 after each section
24400 \family roman
24401 , add this command to your document preamble:
24402 \end_layout
24403
24404 \begin_layout Standard
24405
24406 \series bold
24407
24408 \backslash
24409 @addtoreset{footnote}{section}
24410 \end_layout
24411
24412 \begin_layout Standard
24413 \begin_inset VSpace bigskip
24414 \end_inset
24415
24416 The following preamble command changes the footnote numbering style to small
24417  roman numerals:
24418 \end_layout
24419
24420 \begin_layout Standard
24421
24422 \series bold
24423
24424 \backslash
24425 renewcommand{
24426 \backslash
24427 thefootnote}{
24428 \backslash
24429 roman{footnote}}
24430 \end_layout
24431
24432 \begin_layout Standard
24433 \begin_inset ERT
24434 status collapsed
24435
24436 \begin_layout Plain Layout
24437
24438
24439 \backslash
24440 renewcommand{
24441 \backslash
24442 thefootnote}{
24443 \backslash
24444 roman{footnote}}
24445 \end_layout
24446
24447 \end_inset
24448
24449  This is a footnote with roman numbering:
24450 \begin_inset Foot
24451 status open
24452
24453 \begin_layout Plain Layout
24454 This is an example footnote with roman numbering.
24455 \end_layout
24456
24457 \end_inset
24458
24459
24460 \end_layout
24461
24462 \begin_layout Standard
24463 To change the numbering style to capital roman numerals replace in the command
24464  above 
24465 \series bold
24466
24467 \backslash
24468 roman
24469 \series default
24470  by 
24471 \series bold
24472
24473 \backslash
24474 Roman
24475 \series default
24476 .
24477  To 
24478 \begin_inset Quotes eld
24479 \end_inset
24480
24481 number
24482 \begin_inset Quotes erd
24483 \end_inset
24484
24485  footnotes with capital or small Latin letters use 
24486 \series bold
24487
24488 \backslash
24489 Alph
24490 \series default
24491  or 
24492 \series bold
24493
24494 \backslash
24495 alph
24496 \series default
24497 , respectively.
24498  To 
24499 \begin_inset Quotes eld
24500 \end_inset
24501
24502 number
24503 \begin_inset Quotes erd
24504 \end_inset
24505
24506  footnotes with symbols use 
24507 \series bold
24508
24509 \backslash
24510 fnsymbol
24511 \series default
24512 .
24513 \end_layout
24514
24515 \begin_layout Standard
24516 \begin_inset Note Greyedout
24517 status open
24518
24519 \begin_layout Plain Layout
24520
24521 \series bold
24522 Note:
24523 \series default
24524  You can only number 26 footnotes with Latin letters, because this numbering
24525  is limited to single letters.
24526 \end_layout
24527
24528 \end_inset
24529
24530
24531 \begin_inset Newline newline
24532 \end_inset
24533
24534
24535 \begin_inset Note Greyedout
24536 status open
24537
24538 \begin_layout Plain Layout
24539
24540 \series bold
24541 Note:
24542 \series default
24543  You can only number 9 footnotes with symbols.
24544 \end_layout
24545
24546 \end_inset
24547
24548
24549 \end_layout
24550
24551 \begin_layout Standard
24552 To return to the default numbering style when you changed to another one,
24553  use 
24554 \series bold
24555
24556 \backslash
24557 arabic
24558 \series default
24559  instead of 
24560 \series bold
24561
24562 \backslash
24563 roman
24564 \series default
24565  in the command above.
24566 \begin_inset ERT
24567 status collapsed
24568
24569 \begin_layout Plain Layout
24570
24571
24572 \backslash
24573 renewcommand{
24574 \backslash
24575 thefootnote}{
24576 \backslash
24577 arabic{footnote}}
24578 \end_layout
24579
24580 \end_inset
24581
24582
24583 \end_layout
24584
24585 \begin_layout Standard
24586 \begin_inset VSpace bigskip
24587 \end_inset
24588
24589
24590 \end_layout
24591
24592 \begin_layout Standard
24593 If you want to have footnotes numbered in the scheme 
24594 \begin_inset Quotes eld
24595 \end_inset
24596
24597 chapter.footnote
24598 \begin_inset Quotes erd
24599 \end_inset
24600
24601 , add the following command to your document preamble:
24602 \end_layout
24603
24604 \begin_layout Standard
24605
24606 \series bold
24607
24608 \backslash
24609 numberwithin{footnote}{chapter}
24610 \end_layout
24611
24612 \begin_layout Standard
24613 To be able to use the command 
24614 \series bold
24615
24616 \backslash
24617 numberwithin
24618 \series default
24619 , set in the tab 
24620 \family sans
24621 Math
24622 \begin_inset Space ~
24623 \end_inset
24624
24625 Options
24626 \family default
24627  in the document settings the option 
24628 \family sans
24629 Use
24630 \begin_inset Space ~
24631 \end_inset
24632
24633 AMS
24634 \begin_inset Space ~
24635 \end_inset
24636
24637 math
24638 \begin_inset Space ~
24639 \end_inset
24640
24641 package
24642 \family default
24643 .
24644 \end_layout
24645
24646 \begin_layout Standard
24647 \begin_inset ERT
24648 status collapsed
24649
24650 \begin_layout Plain Layout
24651
24652
24653 \backslash
24654 numberwithin{footnote}{chapter}
24655 \end_layout
24656
24657 \end_inset
24658
24659 This is another example footnote:
24660 \series bold
24661
24662 \begin_inset Foot
24663 status open
24664
24665 \begin_layout Plain Layout
24666 This is a footnote numbered in the scheme 
24667 \begin_inset Quotes eld
24668 \end_inset
24669
24670 chapter.footnote
24671 \begin_inset Quotes erd
24672 \end_inset
24673
24674 .
24675 \end_layout
24676
24677 \end_inset
24678
24679
24680 \series default
24681
24682 \begin_inset ERT
24683 status collapsed
24684
24685 \begin_layout Plain Layout
24686
24687
24688 \backslash
24689 renewcommand{
24690 \backslash
24691 thefootnote}{
24692 \backslash
24693 arabic{footnote}}
24694 \end_layout
24695
24696 \end_inset
24697
24698
24699 \end_layout
24700
24701 \begin_layout Standard
24702 \begin_inset Note Greyedout
24703 status open
24704
24705 \begin_layout Plain Layout
24706
24707 \series bold
24708 Note:
24709 \series default
24710  
24711 \series bold
24712
24713 \backslash
24714 numberwithin
24715 \series default
24716  always prints out the footnote number as arabic number; previous redefinitions
24717  to get non-arabic numbers are overwritten.
24718 \end_layout
24719
24720 \end_inset
24721
24722
24723 \end_layout
24724
24725 \begin_layout Standard
24726 So to get for example the scheme 
24727 \begin_inset Quotes eld
24728 \end_inset
24729
24730 chapter.
24731 \backslash
24732 Roman{footnote}
24733 \begin_inset Quotes erd
24734 \end_inset
24735
24736 , use this command instead of 
24737 \series bold
24738
24739 \backslash
24740 numberwithin
24741 \series default
24742 :
24743 \end_layout
24744
24745 \begin_layout Standard
24746
24747 \series bold
24748
24749 \backslash
24750 renewcommand{
24751 \backslash
24752 thefootnote}{
24753 \backslash
24754 thechapter.
24755 \backslash
24756 Roman{footnote}}
24757 \end_layout
24758
24759 \begin_layout Subsection
24760 Footnote Placement
24761 \begin_inset Index
24762 status collapsed
24763
24764 \begin_layout Plain Layout
24765 Footnotes ! Placement
24766 \end_layout
24767
24768 \end_inset
24769
24770
24771 \end_layout
24772
24773 \begin_layout Standard
24774 If you have several footnotes in one page, they appear without vertical
24775  space between them at the bottom of the page.
24776  To make them better readable you can e.
24777 \begin_inset Space \thinspace{}
24778 \end_inset
24779
24780 g.
24781 \begin_inset Space ~
24782 \end_inset
24783
24784 add 1.5
24785 \begin_inset Space \thinspace{}
24786 \end_inset
24787
24788 mm space with the following preamble command:
24789 \end_layout
24790
24791 \begin_layout Standard
24792
24793 \series bold
24794
24795 \backslash
24796 let
24797 \backslash
24798 myFoot
24799 \backslash
24800 footnote
24801 \begin_inset Newline newline
24802 \end_inset
24803
24804
24805 \backslash
24806 renewcommand{
24807 \backslash
24808 footnote}[1]{
24809 \backslash
24810 myFoot{#1
24811 \backslash
24812 vspace{1.5mm}}}
24813 \end_layout
24814
24815 \begin_layout Standard
24816 \begin_inset VSpace bigskip
24817 \end_inset
24818
24819 In a two-column document the footnotes appear at the bottom of every column,
24820  see Figure
24821 \begin_inset Space ~
24822 \end_inset
24823
24824
24825 \begin_inset CommandInset ref
24826 LatexCommand ref
24827 reference "fig:Standard-footnote-placement"
24828
24829 \end_inset
24830
24831 .
24832  If the footnotes should only appear at the bottom of the right column,
24833  as in Figure
24834 \begin_inset Space ~
24835 \end_inset
24836
24837
24838 \begin_inset CommandInset ref
24839 LatexCommand ref
24840 reference "fig:Footnote-placement-in"
24841
24842 \end_inset
24843
24844 , use the LaTeX-package 
24845 \series bold
24846 ftnright
24847 \series default
24848
24849 \begin_inset Index
24850 status collapsed
24851
24852 \begin_layout Plain Layout
24853 LaTeX-packages ! ftnright
24854 \end_layout
24855
24856 \end_inset
24857
24858  with this command in the document preamble:
24859 \end_layout
24860
24861 \begin_layout Standard
24862
24863 \series bold
24864
24865 \backslash
24866 usepackage{ftnright}
24867 \end_layout
24868
24869 \begin_layout Standard
24870 \begin_inset Float figure
24871 placement !h
24872 wide false
24873 sideways false
24874 status open
24875
24876 \begin_layout Plain Layout
24877 \begin_inset ERT
24878 status collapsed
24879
24880 \begin_layout Plain Layout
24881
24882
24883 \backslash
24884 framebox{
24885 \end_layout
24886
24887 \end_inset
24888
24889
24890 \begin_inset Graphics
24891         filename clipart/without_fntright.pdf
24892         width 100col%
24893         scaleBeforeRotation
24894
24895 \end_inset
24896
24897
24898 \begin_inset ERT
24899 status collapsed
24900
24901 \begin_layout Plain Layout
24902
24903 }
24904 \end_layout
24905
24906 \end_inset
24907
24908
24909 \end_layout
24910
24911 \begin_layout Plain Layout
24912 \begin_inset Caption
24913
24914 \begin_layout Plain Layout
24915 \begin_inset CommandInset label
24916 LatexCommand label
24917 name "fig:Standard-footnote-placement"
24918
24919 \end_inset
24920
24921 Standard footnote placement in two-column documents.
24922 \end_layout
24923
24924 \end_inset
24925
24926
24927 \end_layout
24928
24929 \end_inset
24930
24931
24932 \end_layout
24933
24934 \begin_layout Standard
24935 \begin_inset Float figure
24936 placement !h
24937 wide false
24938 sideways false
24939 status open
24940
24941 \begin_layout Plain Layout
24942 \begin_inset ERT
24943 status collapsed
24944
24945 \begin_layout Plain Layout
24946
24947
24948 \backslash
24949 framebox{
24950 \end_layout
24951
24952 \end_inset
24953
24954
24955 \begin_inset Graphics
24956         filename clipart/with_fntright.pdf
24957         width 100col%
24958         scaleBeforeRotation
24959
24960 \end_inset
24961
24962
24963 \begin_inset ERT
24964 status collapsed
24965
24966 \begin_layout Plain Layout
24967
24968 }
24969 \end_layout
24970
24971 \end_inset
24972
24973
24974 \end_layout
24975
24976 \begin_layout Plain Layout
24977 \begin_inset Caption
24978
24979 \begin_layout Plain Layout
24980 \begin_inset CommandInset label
24981 LatexCommand label
24982 name "fig:Footnote-placement-in"
24983
24984 \end_inset
24985
24986 Footnote placement in two-column documents when the LaTeX-package 
24987 \series bold
24988 ftnright
24989 \series default
24990  is used.
24991 \end_layout
24992
24993 \end_inset
24994
24995
24996 \end_layout
24997
24998 \end_inset
24999
25000
25001 \end_layout
25002
25003 \begin_layout Standard
25004 \begin_inset VSpace bigskip
25005 \end_inset
25006
25007 In some scientific literature it is usual to collect the footnotes and print
25008  them in a separate paragraph at the the end of a section, like in Figure
25009 \begin_inset Space ~
25010 \end_inset
25011
25012
25013 \begin_inset CommandInset ref
25014 LatexCommand ref
25015 reference "fig:Endnotes----footnotes"
25016
25017 \end_inset
25018
25019 .
25020  They are then so called 
25021 \begin_inset Quotes eld
25022 \end_inset
25023
25024 endnotes
25025 \begin_inset Quotes erd
25026 \end_inset
25027
25028 .
25029 \begin_inset Index
25030 status collapsed
25031
25032 \begin_layout Plain Layout
25033 Endnotes
25034 \end_layout
25035
25036 \end_inset
25037
25038  To use endnotes instead of footnotes in your document, load the LaTeX-package
25039  
25040 \series bold
25041 endnotes
25042 \series default
25043
25044 \begin_inset Index
25045 status collapsed
25046
25047 \begin_layout Plain Layout
25048 LaTeX-packages ! endnotes
25049 \end_layout
25050
25051 \end_inset
25052
25053  with the document preamble lines
25054 \end_layout
25055
25056 \begin_layout Standard
25057
25058 \series bold
25059
25060 \backslash
25061 usepackage{endnotes}
25062 \begin_inset Newline newline
25063 \end_inset
25064
25065
25066 \backslash
25067 let
25068 \backslash
25069 footnote
25070 \backslash
25071 endnote
25072 \end_layout
25073
25074 \begin_layout Standard
25075 To insert the collected footnotes, insert the command
25076 \end_layout
25077
25078 \begin_layout Standard
25079
25080 \series bold
25081
25082 \backslash
25083 theendnotes
25084 \end_layout
25085
25086 \begin_layout Standard
25087 in TeX-Code at the the end of a section or chapter.
25088 \end_layout
25089
25090 \begin_layout Standard
25091 \begin_inset Float figure
25092 wide false
25093 sideways false
25094 status open
25095
25096 \begin_layout Plain Layout
25097 \align center
25098 \begin_inset ERT
25099 status collapsed
25100
25101 \begin_layout Plain Layout
25102
25103
25104 \backslash
25105 framebox{
25106 \end_layout
25107
25108 \end_inset
25109
25110
25111 \begin_inset Graphics
25112         filename clipart/endnotes.pdf
25113         scaleBeforeRotation
25114
25115 \end_inset
25116
25117
25118 \begin_inset ERT
25119 status collapsed
25120
25121 \begin_layout Plain Layout
25122
25123 }
25124 \end_layout
25125
25126 \end_inset
25127
25128
25129 \end_layout
25130
25131 \begin_layout Plain Layout
25132 \begin_inset Caption
25133
25134 \begin_layout Plain Layout
25135 \begin_inset CommandInset label
25136 LatexCommand label
25137 name "fig:Endnotes----footnotes"
25138
25139 \end_inset
25140
25141 Endnotes -- footnotes are printed in a separate paragraph at the end of
25142  sections or chapters.
25143 \end_layout
25144
25145 \end_inset
25146
25147
25148 \end_layout
25149
25150 \end_inset
25151
25152
25153 \end_layout
25154
25155 \begin_layout Standard
25156 \begin_inset VSpace medskip
25157 \end_inset
25158
25159 The paragraph heading for the endnotes isn't automatically translated into
25160  the document language, this must be done manually.
25161  The following preamble command translate the default English name 
25162 \begin_inset Quotes eld
25163 \end_inset
25164
25165 Notes
25166 \begin_inset Quotes erd
25167 \end_inset
25168
25169  to the German translation 
25170 \begin_inset Quotes eld
25171 \end_inset
25172
25173 Anmerkungen
25174 \begin_inset Quotes erd
25175 \end_inset
25176
25177 :
25178 \end_layout
25179
25180 \begin_layout Standard
25181
25182 \series bold
25183
25184 \backslash
25185 renewcommand{
25186 \backslash
25187 notesname}{Anmerkungen}
25188 \end_layout
25189
25190 \begin_layout Standard
25191 \begin_inset VSpace medskip
25192 \end_inset
25193
25194 The numbering of endnotes can be changed like the footnote numbering as
25195  described in section
25196 \begin_inset Space ~
25197 \end_inset
25198
25199
25200 \begin_inset CommandInset ref
25201 LatexCommand ref
25202 reference "sub:Footnote-Numbering"
25203
25204 \end_inset
25205
25206 ; just replace the command 
25207 \series bold
25208
25209 \backslash
25210 thefootnote
25211 \series default
25212  by 
25213 \series bold
25214
25215 \backslash
25216 theendnote
25217 \series default
25218 .
25219  To reset the endnote number use the command 
25220 \series bold
25221
25222 \backslash
25223 @addtoreset
25224 \series default
25225  as described in section
25226 \begin_inset Space ~
25227 \end_inset
25228
25229
25230 \begin_inset CommandInset ref
25231 LatexCommand ref
25232 reference "sub:Footnote-Numbering"
25233
25234 \end_inset
25235
25236  and replace the command parameter 
25237 \series bold
25238 footnote
25239 \series default
25240  by 
25241 \series bold
25242 endnote
25243 \series default
25244 .
25245 \end_layout
25246
25247 \begin_layout Standard
25248 To create only a mark for an endnote, use the command 
25249 \series bold
25250
25251 \backslash
25252 endnotemark[number]
25253 \series default
25254  similar to the command 
25255 \series bold
25256
25257 \backslash
25258 footnotemark
25259 \series default
25260 , described in section
25261 \begin_inset Space ~
25262 \end_inset
25263
25264
25265 \begin_inset CommandInset ref
25266 LatexCommand ref
25267 reference "sec:Footnotes"
25268
25269 \end_inset
25270
25271 .
25272 \end_layout
25273
25274 \begin_layout Standard
25275 \begin_inset VSpace bigskip
25276 \end_inset
25277
25278 Footnotes can also be placed in the page margin and the footnote text alignment
25279  can be changed, see the LaTeX-package 
25280 \series bold
25281 footmisc
25282 \series default
25283
25284 \begin_inset Index
25285 status collapsed
25286
25287 \begin_layout Plain Layout
25288 LaTeX-packages ! footmisc
25289 \end_layout
25290
25291 \end_inset
25292
25293
25294 \begin_inset CommandInset citation
25295 LatexCommand cite
25296 key "footmisc"
25297
25298 \end_inset
25299
25300  for more information about this.
25301 \end_layout
25302
25303 \begin_layout Standard
25304 For various further footnote formatting issues have a look at LaTeX-books,
25305  
25306 \begin_inset CommandInset citation
25307 LatexCommand cite
25308 key "latexcompanion,latexguide,latexbook"
25309
25310 \end_inset
25311
25312 .
25313 \end_layout
25314
25315 \begin_layout Section
25316 Margin Notes
25317 \begin_inset Index
25318 status collapsed
25319
25320 \begin_layout Plain Layout
25321 Notes ! Margin Notes
25322 \end_layout
25323
25324 \end_inset
25325
25326
25327 \end_layout
25328
25329 \begin_layout Standard
25330 Margin notes look and behave in LyX like footnotes.
25331  They are inserted via the menu 
25332 \family sans
25333 Insert\SpecialChar \menuseparator
25334 Marginal
25335 \begin_inset Space ~
25336 \end_inset
25337
25338 Note
25339 \family default
25340  or the toolbar button 
25341 \begin_inset Graphics
25342         filename ../images/marginalnote-insert.png
25343         scale 85
25344         scaleBeforeRotation
25345
25346 \end_inset
25347
25348 .
25349  A grey 
25350 \family roman
25351 \series medium
25352 box with the
25353 \family default
25354 \series default
25355  red 
25356 \family roman
25357 \series medium
25358 label 
25359 \begin_inset Quotes eld
25360 \end_inset
25361
25362 margin
25363 \begin_inset Quotes erd
25364 \end_inset
25365
25366  appears where you can enter the text of the margin note.
25367 \end_layout
25368
25369 \begin_layout Standard
25370 At the side is an example margin note.
25371
25372 \family roman
25373 \series medium
25374  
25375 \begin_inset Marginal
25376 status open
25377
25378 \begin_layout Plain Layout
25379 This is a margin note.
25380 \end_layout
25381
25382 \end_inset
25383
25384
25385 \end_layout
25386
25387 \begin_layout Standard
25388 Margin notes appear at the right side in single-sided documents.
25389  In double-sided documents they appear in the outer margin -- left on even
25390  pages, right on odd pages.
25391  The text of margin notes is aligned opposite to the outer margin -- right-align
25392 ed when the note appears in the left margin.
25393  The first line of the margin note is placed at the position of the text
25394  line where it is inserted in the document.
25395 \end_layout
25396
25397 \begin_layout Standard
25398 \begin_inset VSpace bigskip
25399 \end_inset
25400
25401 To place the margin note in the inner margin, add the command
25402 \end_layout
25403
25404 \begin_layout Standard
25405
25406 \series bold
25407
25408 \backslash
25409 reversemarginpar
25410 \end_layout
25411
25412 \begin_layout Standard
25413 in TeX-Code before a margin note.
25414  The new placement is valid for all following margin notes.
25415  
25416 \begin_inset ERT
25417 status collapsed
25418
25419 \begin_layout Plain Layout
25420
25421
25422 \backslash
25423 reversemarginpar 
25424 \end_layout
25425
25426 \end_inset
25427
25428
25429 \begin_inset Marginal
25430 status open
25431
25432 \begin_layout Plain Layout
25433 This is a margin note in the inner margin.
25434 \end_layout
25435
25436 \end_inset
25437
25438
25439 \series bold
25440
25441 \begin_inset Newline newline
25442 \end_inset
25443
25444
25445 \series default
25446
25447 \begin_inset Note Greyedout
25448 status open
25449
25450 \begin_layout Plain Layout
25451
25452 \series bold
25453 Note:
25454 \series default
25455  There is often not enough space in the inner margin so that the notes are
25456  not correctly displayed in the output.
25457 \end_layout
25458
25459 \end_inset
25460
25461
25462 \end_layout
25463
25464 \begin_layout Standard
25465 To return to the default placement insert the command
25466 \end_layout
25467
25468 \begin_layout Standard
25469
25470 \series bold
25471
25472 \backslash
25473 normalmarginpar
25474 \end_layout
25475
25476 \begin_layout Standard
25477 in TeX-Code.
25478 \begin_inset ERT
25479 status collapsed
25480
25481 \begin_layout Plain Layout
25482
25483
25484 \backslash
25485 normalmarginpar 
25486 \end_layout
25487
25488 \end_inset
25489
25490  
25491 \begin_inset Note Greyedout
25492 status open
25493
25494 \begin_layout Plain Layout
25495
25496 \series bold
25497 Note:
25498 \series default
25499  The command is ignored when it is within a paragraph where also the command
25500  
25501 \series bold
25502
25503 \backslash
25504 reversemarginpar
25505 \series default
25506  is inserted.
25507 \end_layout
25508
25509 \end_inset
25510
25511
25512 \end_layout
25513
25514 \begin_layout Standard
25515 \begin_inset VSpace bigskip
25516 \end_inset
25517
25518
25519 \family roman
25520 \series medium
25521
25522 \begin_inset Marginal
25523 status open
25524
25525 \begin_layout Plain Layout
25526 AVeryLongMarginParWord that isn't hyphenated.
25527 \end_layout
25528
25529 \end_inset
25530
25531
25532 \family default
25533 \series default
25534  Similar to the case described in section
25535 \begin_inset Space ~
25536 \end_inset
25537
25538
25539 \begin_inset CommandInset ref
25540 LatexCommand ref
25541 reference "sub:Multiple-Lines-in"
25542
25543 \end_inset
25544
25545 , long words cannot be hyphenated when they are the first word in a margin
25546  note.
25547  To avoid this, insert 0
25548 \begin_inset Space \thinspace{}
25549 \end_inset
25550
25551 pt horizontal space before the word
25552 \family roman
25553 \series medium
25554 .
25555  
25556 \begin_inset Marginal
25557 status open
25558
25559 \begin_layout Plain Layout
25560 \begin_inset Space \hspace*{}
25561 \length 0pt
25562 \end_inset
25563
25564 AVeryLongMarginParWord that is hyphenated.
25565 \end_layout
25566
25567 \end_inset
25568
25569
25570 \end_layout
25571
25572 \begin_layout Standard
25573 \begin_inset VSpace bigskip
25574 \end_inset
25575
25576
25577 \end_layout
25578
25579 \begin_layout Standard
25580 \begin_inset Note Greyedout
25581 status open
25582
25583 \begin_layout Plain Layout
25584
25585 \series bold
25586 Note:
25587 \series default
25588  Margin notes can normally not be used inside tables, floats, and footnotes.
25589 \end_layout
25590
25591 \end_inset
25592
25593
25594 \end_layout
25595
25596 \begin_layout Standard
25597 \begin_inset VSpace bigskip
25598 \end_inset
25599
25600
25601 \end_layout
25602
25603 \begin_layout Standard
25604 \begin_inset ERT
25605 status collapsed
25606
25607 \begin_layout Plain Layout
25608
25609
25610 \backslash
25611 ifmarginnote
25612 \end_layout
25613
25614 \end_inset
25615
25616
25617 \begin_inset Note Note
25618 status open
25619
25620 \begin_layout Plain Layout
25621 The following section will only be displayed when the LaTeX-package 
25622 \series bold
25623 marginnote
25624 \series default
25625  is installed.
25626 \end_layout
25627
25628 \end_inset
25629
25630
25631 \end_layout
25632
25633 \begin_layout Standard
25634 This restriction can be evaded by using the LaTeX-package 
25635 \series bold
25636 marginnote
25637 \series default
25638
25639 \begin_inset Index
25640 status collapsed
25641
25642 \begin_layout Plain Layout
25643 LaTeX-packages ! marginnote
25644 \end_layout
25645
25646 \end_inset
25647
25648 .
25649  By adding these two lines to your document preamble, the command used by
25650  LyX for margin notes is redefined to use the command provided by the 
25651 \series bold
25652 marginnote
25653 \series default
25654 -package:
25655 \end_layout
25656
25657 \begin_layout Standard
25658
25659 \series bold
25660
25661 \backslash
25662 usepackage{marginnote}
25663 \begin_inset Newline newline
25664 \end_inset
25665
25666
25667 \backslash
25668 let
25669 \backslash
25670 marginpar
25671 \backslash
25672 marginnote
25673 \end_layout
25674
25675 \begin_layout Standard
25676 This is also used in this document because 
25677 \series bold
25678 marginnote
25679 \series default
25680  has another useful feature: You can set a vertical offset for the note.
25681  This is often needed when too many margin notes are too close together
25682  or for a better page layout.
25683  The offset is set in LyX as TeX-Code directly behind the margin note in
25684  the scheme
25685 \end_layout
25686
25687 \begin_layout Standard
25688
25689 \series bold
25690 [offset]
25691 \end_layout
25692
25693 \begin_layout Standard
25694 where the offset is a length with one of the units listed in Table
25695 \begin_inset Space ~
25696 \end_inset
25697
25698
25699 \begin_inset CommandInset ref
25700 LatexCommand ref
25701 reference "tab:Units"
25702
25703 \end_inset
25704
25705 .
25706  A negative value shifts the note up, a positive value shifts it down.
25707  
25708 \family roman
25709 \series medium
25710 For example the margin note beside this text line is shifted up 1.5
25711 \begin_inset Space \thinspace{}
25712 \end_inset
25713
25714 cm with the TeX-Code-command 
25715 \begin_inset Quotes eld
25716 \end_inset
25717
25718
25719 \family default
25720 \series bold
25721 [-1.5cm]
25722 \family roman
25723 \series medium
25724
25725 \begin_inset Quotes erd
25726 \end_inset
25727
25728
25729 \begin_inset Marginal
25730 status open
25731
25732 \begin_layout Plain Layout
25733 This margin note is shifted up 1.5
25734 \begin_inset Space \thinspace{}
25735 \end_inset
25736
25737 cm from its original position.
25738 \end_layout
25739
25740 \end_inset
25741
25742
25743 \family default
25744 \series default
25745
25746 \begin_inset ERT
25747 status collapsed
25748
25749 \begin_layout Plain Layout
25750
25751 [-1.5cm]
25752 \end_layout
25753
25754 \end_inset
25755
25756
25757 \end_layout
25758
25759 \begin_layout Standard
25760 \begin_inset VSpace medskip
25761 \end_inset
25762
25763 With 
25764 \series bold
25765 marginnote
25766 \series default
25767  you can also change the alignment of the text in the margin note.
25768  For example the commands
25769 \end_layout
25770
25771 \begin_layout Standard
25772
25773 \series bold
25774
25775 \backslash
25776 renewcommand*{
25777 \backslash
25778 raggedleftmarginnote}{
25779 \backslash
25780 centering}
25781 \begin_inset Newline newline
25782 \end_inset
25783
25784
25785 \backslash
25786 renewcommand*{
25787 \backslash
25788 raggedrightmarginnote}{
25789 \backslash
25790 centering}
25791 \end_layout
25792
25793 \begin_layout Standard
25794 set the alignment to centered.
25795  
25796 \series bold
25797
25798 \backslash
25799 raggedleftmarginnote
25800 \series default
25801  denotes margin notes that appear at the left side.
25802 \family roman
25803 \series medium
25804
25805 \begin_inset ERT
25806 status collapsed
25807
25808 \begin_layout Plain Layout
25809
25810
25811 \backslash
25812 renewcommand*{
25813 \backslash
25814 raggedleftmarginnote}{
25815 \backslash
25816 centering}
25817 \end_layout
25818
25819 \begin_layout Plain Layout
25820
25821
25822 \backslash
25823 renewcommand*{
25824 \backslash
25825 raggedrightmarginnote}{
25826 \backslash
25827 centering}
25828 \end_layout
25829
25830 \end_inset
25831
25832
25833 \begin_inset Marginal
25834 status open
25835
25836 \begin_layout Plain Layout
25837 The text of this margin note is centered.
25838 \end_layout
25839
25840 \end_inset
25841
25842
25843 \family default
25844 \series default
25845  The default is
25846 \end_layout
25847
25848 \begin_layout Standard
25849
25850 \series bold
25851
25852 \backslash
25853 renewcommand*{
25854 \backslash
25855 raggedleftmarginnote}{
25856 \backslash
25857 raggedleft}
25858 \begin_inset Newline newline
25859 \end_inset
25860
25861
25862 \backslash
25863 renewcommand*{
25864 \backslash
25865 raggedrightmarginnote}{
25866 \backslash
25867 raggedright}
25868 \family roman
25869 \series medium
25870
25871 \begin_inset ERT
25872 status collapsed
25873
25874 \begin_layout Plain Layout
25875
25876
25877 \backslash
25878 renewcommand*{
25879 \backslash
25880 raggedleftmarginnote}{
25881 \backslash
25882 raggedleft}
25883 \end_layout
25884
25885 \begin_layout Plain Layout
25886
25887
25888 \backslash
25889 renewcommand*{
25890 \backslash
25891 raggedrightmarginnote}{
25892 \backslash
25893 raggedright}
25894 \end_layout
25895
25896 \end_inset
25897
25898
25899 \end_layout
25900
25901 \begin_layout Standard
25902 \begin_inset VSpace medskip
25903 \end_inset
25904
25905 For the other features of 
25906 \series bold
25907 marginnote
25908 \series default
25909  we refer to its documentation 
25910 \begin_inset CommandInset citation
25911 LatexCommand cite
25912 key "marginnote"
25913
25914 \end_inset
25915
25916 .
25917 \end_layout
25918
25919 \begin_layout Standard
25920 \begin_inset VSpace bigskip
25921 \end_inset
25922
25923 You can adjust the layout of margin notes by changing its definition.
25924  To create for example a header for all margin notes with the underlined,
25925  sans-serif, and bold header text 
25926 \begin_inset Quotes eld
25927 \end_inset
25928
25929
25930 \family sans
25931 \series bold
25932 \bar under
25933 Attention!
25934 \family default
25935 \series default
25936 \bar default
25937
25938 \begin_inset Quotes erd
25939 \end_inset
25940
25941 , add this to your document preamble:
25942 \end_layout
25943
25944 \begin_layout Standard
25945
25946 \series bold
25947
25948 \backslash
25949 let
25950 \backslash
25951 myMarginpar
25952 \backslash
25953 marginpar
25954 \begin_inset Newline newline
25955 \end_inset
25956
25957
25958 \backslash
25959 renewcommand{
25960 \backslash
25961 marginpar}[1]{
25962 \backslash
25963 myMarginpar{%
25964 \begin_inset Newline newline
25965 \end_inset
25966
25967
25968 \begin_inset ERT
25969 status collapsed
25970
25971 \begin_layout Plain Layout
25972
25973
25974 \backslash
25975 hphantom{ }
25976 \end_layout
25977
25978 \end_inset
25979
25980
25981 \backslash
25982 hspace{0pt}
25983 \backslash
25984 textsf{
25985 \backslash
25986 textbf{
25987 \backslash
25988 underbar{Attention!}}}%
25989 \begin_inset Newline newline
25990 \end_inset
25991
25992
25993 \begin_inset ERT
25994 status collapsed
25995
25996 \begin_layout Plain Layout
25997
25998
25999 \backslash
26000 hphantom{ }
26001 \end_layout
26002
26003 \end_inset
26004
26005
26006 \backslash
26007 vspace{1.5mm}
26008 \backslash
26009
26010 \backslash
26011 #1}}
26012 \end_layout
26013
26014 \begin_layout Standard
26015
26016 \family roman
26017 \series medium
26018 \begin_inset ERT
26019 status collapsed
26020
26021 \begin_layout Plain Layout
26022
26023
26024 \backslash
26025 let
26026 \backslash
26027 myMarginpar
26028 \backslash
26029 marginpar
26030 \end_layout
26031
26032 \begin_layout Plain Layout
26033
26034
26035 \backslash
26036 renewcommand{
26037 \backslash
26038 marginpar}[1]{
26039 \backslash
26040 myMarginpar{%
26041 \end_layout
26042
26043 \begin_layout Plain Layout
26044
26045    
26046 \backslash
26047 textsf{
26048 \backslash
26049 textbf{
26050 \backslash
26051 underbar{Attention!}}}%
26052 \end_layout
26053
26054 \begin_layout Plain Layout
26055
26056    
26057 \backslash
26058 vspace{1.5mm}
26059 \backslash
26060
26061 \backslash
26062 #1}}
26063 \end_layout
26064
26065 \end_inset
26066
26067
26068 \begin_inset Marginal
26069 status open
26070
26071 \begin_layout Plain Layout
26072 This is a margin note with a defined heading.
26073 \end_layout
26074
26075 \end_inset
26076
26077
26078 \family default
26079 \series default
26080
26081 \begin_inset ERT
26082 status collapsed
26083
26084 \begin_layout Plain Layout
26085
26086 [-1.5cm]
26087 \end_layout
26088
26089 \end_inset
26090
26091
26092 \family roman
26093 \series medium
26094
26095 \begin_inset ERT
26096 status collapsed
26097
26098 \begin_layout Plain Layout
26099
26100
26101 \backslash
26102 renewcommand{
26103 \backslash
26104 marginpar}[1]{
26105 \backslash
26106 myMarginpar{#1}}
26107 \end_layout
26108
26109 \end_inset
26110
26111
26112 \family default
26113 \series default
26114
26115 \begin_inset Note Note
26116 status collapsed
26117
26118 \begin_layout Plain Layout
26119 The margin note format is changed only for this example.
26120 \end_layout
26121
26122 \end_inset
26123
26124
26125 \end_layout
26126
26127 \begin_layout Standard
26128 \begin_inset ERT
26129 status collapsed
26130
26131 \begin_layout Plain Layout
26132
26133
26134 \backslash
26135 else
26136 \end_layout
26137
26138 \end_inset
26139
26140
26141 \begin_inset Note Note
26142 status open
26143
26144 \begin_layout Plain Layout
26145 The following will be displayed when the LaTeX-package 
26146 \series bold
26147 marginnote
26148 \series default
26149  is not installed:
26150 \end_layout
26151
26152 \end_inset
26153
26154
26155 \end_layout
26156
26157 \begin_layout Standard
26158 You need to install the LaTeX-package 
26159 \series bold
26160 marginnote
26161 \series default
26162  to see the following part of this section in the output.
26163 \end_layout
26164
26165 \begin_layout Standard
26166 \begin_inset ERT
26167 status collapsed
26168
26169 \begin_layout Plain Layout
26170
26171
26172 \backslash
26173 fi
26174 \end_layout
26175
26176 \end_inset
26177
26178
26179 \end_layout
26180
26181 \begin_layout Chapter
26182 Boxes
26183 \end_layout
26184
26185 \begin_layout Section
26186 Introduction
26187 \begin_inset Index
26188 status collapsed
26189
26190 \begin_layout Plain Layout
26191 Boxes ! Introduction
26192 \end_layout
26193
26194 \end_inset
26195
26196
26197 \end_layout
26198
26199 \begin_layout Standard
26200 Boxes are used to format a block of text.
26201  Boxes can be used to write documents with multiple languages, see section
26202 \begin_inset Space ~
26203 \end_inset
26204
26205
26206 \begin_inset CommandInset ref
26207 LatexCommand ref
26208 reference "sec:Minipages"
26209
26210 \end_inset
26211
26212 , to frame texts, see section
26213 \begin_inset Space ~
26214 \end_inset
26215
26216
26217 \begin_inset CommandInset ref
26218 LatexCommand ref
26219 reference "sec:Framed-Boxes"
26220
26221 \end_inset
26222
26223 , to prevent words to be hyphenated, see section
26224 \begin_inset Space ~
26225 \end_inset
26226
26227
26228 \begin_inset CommandInset ref
26229 LatexCommand ref
26230 reference "sec:Prevent-Hyphenation"
26231
26232 \end_inset
26233
26234 , to align text, see section
26235 \begin_inset Space ~
26236 \end_inset
26237
26238
26239 \begin_inset CommandInset ref
26240 LatexCommand ref
26241 reference "sub:Vertical-Alignment"
26242
26243 \end_inset
26244
26245 , or to set the background color of texts, see section
26246 \begin_inset Space ~
26247 \end_inset
26248
26249
26250 \begin_inset CommandInset ref
26251 LatexCommand ref
26252 reference "sec:Colored-Boxes"
26253
26254 \end_inset
26255
26256 .
26257 \end_layout
26258
26259 \begin_layout Standard
26260 Boxes can be inserted with the menu 
26261 \family sans
26262 Insert\SpecialChar \menuseparator
26263 Box
26264 \family default
26265  or the toolbar button 
26266 \begin_inset Graphics
26267         filename ../images/box-insert.png
26268         scale 85
26269         scaleBeforeRotation
26270
26271 \end_inset
26272
26273 .
26274  A grey box with the label 
26275 \family sans
26276 Box (Minipage)
26277 \family default
26278
26279 \begin_inset Graphics
26280         filename clipart/BoxInsetDefaultQt4.png
26281         scale 85
26282         scaleBeforeRotation
26283
26284 \end_inset
26285
26286 , will be inserted.
26287  The box type can be specified by right-clicking on the box.
26288  The appearing box dialog offers the 
26289 \family sans
26290 Inner
26291 \begin_inset Space ~
26292 \end_inset
26293
26294 Box
26295 \family default
26296  types 
26297 \family sans
26298 Parbox
26299 \family default
26300  and 
26301 \family sans
26302 Minipage
26303 \family default
26304 .
26305  The type 
26306 \family sans
26307 Minipage
26308 \family default
26309  is the default for new boxes and is explained in section
26310 \begin_inset Space ~
26311 \end_inset
26312
26313
26314 \begin_inset CommandInset ref
26315 LatexCommand ref
26316 reference "sec:Minipages"
26317
26318 \end_inset
26319
26320 ; the type 
26321 \family sans
26322 Parbox
26323 \family default
26324  is described in section
26325 \begin_inset Space ~
26326 \end_inset
26327
26328
26329 \begin_inset CommandInset ref
26330 LatexCommand ref
26331 reference "sec:Parboxes"
26332
26333 \end_inset
26334
26335 .
26336 \end_layout
26337
26338 \begin_layout Standard
26339 Boxes aren't numbered and can therefore not be referenced like floats or
26340  footnotes.
26341 \end_layout
26342
26343 \begin_layout Standard
26344 \begin_inset Note Greyedout
26345 status open
26346
26347 \begin_layout Plain Layout
26348
26349 \series bold
26350 Note:
26351 \series default
26352  Boxes must not be the item in an 
26353 \family sans
26354 Itemize
26355 \family default
26356  or 
26357 \family sans
26358 Description
26359 \family default
26360  environment.
26361 \end_layout
26362
26363 \end_inset
26364
26365
26366 \end_layout
26367
26368 \begin_layout Standard
26369 \begin_inset Note Greyedout
26370 status open
26371
26372 \begin_layout Plain Layout
26373
26374 \series bold
26375 Note:
26376 \series default
26377  For an unknown reason you can only set the 
26378 \family sans
26379 Inner
26380 \begin_inset Space ~
26381 \end_inset
26382
26383 Box
26384 \family default
26385  type to 
26386 \family sans
26387 None
26388 \family default
26389  when you use a framed box.
26390  Boxes without an 
26391 \family sans
26392 Inner
26393 \begin_inset Space ~
26394 \end_inset
26395
26396 Box
26397 \family default
26398  type and without frames are explained in section
26399 \begin_inset Space ~
26400 \end_inset
26401
26402
26403 \begin_inset CommandInset ref
26404 LatexCommand ref
26405 reference "sec:Prevent-Hyphenation"
26406
26407 \end_inset
26408
26409 .
26410 \end_layout
26411
26412 \end_inset
26413
26414
26415 \end_layout
26416
26417 \begin_layout Section
26418 Box Dialog
26419 \begin_inset CommandInset label
26420 LatexCommand label
26421 name "sec:Box-Dialog"
26422
26423 \end_inset
26424
26425
26426 \begin_inset Index
26427 status collapsed
26428
26429 \begin_layout Plain Layout
26430 Boxes ! Box Dialog
26431 \end_layout
26432
26433 \end_inset
26434
26435
26436 \begin_inset Index
26437 status collapsed
26438
26439 \begin_layout Plain Layout
26440 Boxes ! Alignment
26441 \end_layout
26442
26443 \end_inset
26444
26445
26446 \end_layout
26447
26448 \begin_layout Standard
26449 In the box dialog you can adjust the box geometry in the fields 
26450 \family sans
26451 Width
26452 \family default
26453  and 
26454 \family sans
26455 Height
26456 \family default
26457 .
26458  The available units for the geometry are explained in Table
26459 \begin_inset Space ~
26460 \end_inset
26461
26462
26463 \begin_inset CommandInset ref
26464 LatexCommand ref
26465 reference "tab:Units"
26466
26467 \end_inset
26468
26469 .
26470  The field 
26471 \family sans
26472 Heigth
26473 \family default
26474  offers the following additional sizes:
26475 \end_layout
26476
26477 \begin_layout Description
26478 Depth This is the plain text 
26479 \begin_inset Quotes eld
26480 \end_inset
26481
26482 height
26483 \begin_inset Quotes erd
26484 \end_inset
26485
26486 .
26487  It ignores the total depth when there are multiple text lines in the box:
26488 \begin_inset Newline newline
26489 \end_inset
26490
26491
26492 \begin_inset Newline newline
26493 \end_inset
26494
26495
26496 \begin_inset Newline newline
26497 \end_inset
26498
26499
26500 \begin_inset Box Boxed
26501 position "c"
26502 hor_pos "c"
26503 has_inner_box 1
26504 inner_pos "c"
26505 use_parbox 0
26506 width "12col%"
26507 special "none"
26508 height "1in"
26509 height_special "depth"
26510 status collapsed
26511
26512 \begin_layout Plain Layout
26513 \align center
26514 Box height set to 1
26515 \begin_inset Space \thinspace{}
26516 \end_inset
26517
26518 Depth
26519 \end_layout
26520
26521 \end_inset
26522
26523
26524 \begin_inset Newline newline
26525 \end_inset
26526
26527
26528 \begin_inset Newline newline
26529 \end_inset
26530
26531
26532 \end_layout
26533
26534 \begin_layout Description
26535 Height This is the heigth of the text that is inside the box.
26536  A value of e.
26537 \begin_inset Space \thinspace{}
26538 \end_inset
26539
26540 g.
26541 \begin_inset Space ~
26542 \end_inset
26543
26544 2 for this size will set the box heigth to 2 times the text height: 
26545 \begin_inset Box Boxed
26546 position "c"
26547 hor_pos "c"
26548 has_inner_box 1
26549 inner_pos "c"
26550 use_parbox 0
26551 width "20col%"
26552 special "none"
26553 height "2in"
26554 height_special "height"
26555 status collapsed
26556
26557 \begin_layout Plain Layout
26558 \align center
26559 Box height set to 2
26560 \begin_inset Space \thinspace{}
26561 \end_inset
26562
26563 Height
26564 \end_layout
26565
26566 \end_inset
26567
26568
26569 \end_layout
26570
26571 \begin_layout Description
26572 Total
26573 \begin_inset Space ~
26574 \end_inset
26575
26576 Height This is the Height
26577 \begin_inset Space \thinspace{}
26578 \end_inset
26579
26580 +
26581 \begin_inset Space \thinspace{}
26582 \end_inset
26583
26584 Depth: 
26585 \begin_inset Box Boxed
26586 position "c"
26587 hor_pos "c"
26588 has_inner_box 1
26589 inner_pos "c"
26590 use_parbox 0
26591 width "20col%"
26592 special "none"
26593 height "1in"
26594 height_special "totalheight"
26595 status collapsed
26596
26597 \begin_layout Plain Layout
26598 \align center
26599 Box height set to 1
26600 \begin_inset Space \thinspace{}
26601 \end_inset
26602
26603 Total
26604 \begin_inset Space ~
26605 \end_inset
26606
26607 Height
26608 \end_layout
26609
26610 \end_inset
26611
26612
26613 \end_layout
26614
26615 \begin_layout Description
26616 Width This sets the width of the box as heigth: 
26617 \begin_inset Box Boxed
26618 position "c"
26619 hor_pos "c"
26620 has_inner_box 1
26621 inner_pos "c"
26622 use_parbox 0
26623 width "12col%"
26624 special "none"
26625 height "1in"
26626 height_special "width"
26627 status collapsed
26628
26629 \begin_layout Plain Layout
26630 \align center
26631 Box height set to 1
26632 \begin_inset Space \thinspace{}
26633 \end_inset
26634
26635 Width
26636 \end_layout
26637
26638 \end_inset
26639
26640
26641 \end_layout
26642
26643 \begin_layout Standard
26644 \begin_inset VSpace bigskip
26645 \end_inset
26646
26647 When you have chosen an 
26648 \family sans
26649 Inner
26650 \begin_inset Space ~
26651 \end_inset
26652
26653 Box
26654 \family default
26655 , the vertical box alignment can be:
26656 \end_layout
26657
26658 \begin_layout Description
26659 Top This is an example text line.
26660  
26661 \begin_inset Box Boxed
26662 position "t"
26663 hor_pos "c"
26664 has_inner_box 1
26665 inner_pos "c"
26666 use_parbox 0
26667 width "12col%"
26668 special "none"
26669 height "1in"
26670 height_special "totalheight"
26671 status collapsed
26672
26673 \begin_layout Plain Layout
26674 \align center
26675 This box is top-aligned.
26676 \end_layout
26677
26678 \end_inset
26679
26680  This is an example text line.
26681 \end_layout
26682
26683 \begin_layout Description
26684 Middle This is an example text line.
26685  
26686 \begin_inset Box Boxed
26687 position "c"
26688 hor_pos "c"
26689 has_inner_box 1
26690 inner_pos "c"
26691 use_parbox 0
26692 width "12col%"
26693 special "none"
26694 height "1in"
26695 height_special "totalheight"
26696 status collapsed
26697
26698 \begin_layout Plain Layout
26699 \align center
26700 This box is middle-aligned.
26701 \end_layout
26702
26703 \end_inset
26704
26705  This is an example text line.
26706 \end_layout
26707
26708 \begin_layout Description
26709 Bottom This is an example text line.
26710  
26711 \begin_inset Box Boxed
26712 position "b"
26713 hor_pos "c"
26714 has_inner_box 1
26715 inner_pos "c"
26716 use_parbox 0
26717 width "12col%"
26718 special "none"
26719 height "1in"
26720 height_special "totalheight"
26721 status collapsed
26722
26723 \begin_layout Plain Layout
26724 \align center
26725 This box is bottom-aligned.
26726 \end_layout
26727
26728 \end_inset
26729
26730  This is an example text line.
26731 \end_layout
26732
26733 \begin_layout Standard
26734 The horizontal box alignment can be set via LyX's paragraph dialog when
26735  you set the box into its own paragraph.
26736 \end_layout
26737
26738 \begin_layout Standard
26739 \begin_inset VSpace bigskip
26740 \end_inset
26741
26742 When you have chosen an 
26743 \family sans
26744 Inner
26745 \begin_inset Space ~
26746 \end_inset
26747
26748 Box
26749 \family default
26750 , the box content can be vertical aligned to:
26751 \end_layout
26752
26753 \begin_layout Description
26754 top This is an example text line.
26755  
26756 \begin_inset Box Boxed
26757 position "c"
26758 hor_pos "c"
26759 has_inner_box 1
26760 inner_pos "t"
26761 use_parbox 0
26762 width "12col%"
26763 special "none"
26764 height "1.5in"
26765 height_special "totalheight"
26766 status collapsed
26767
26768 \begin_layout Plain Layout
26769 \align center
26770 This box text is top-aligned.
26771 \end_layout
26772
26773 \end_inset
26774
26775  This is an example text line.
26776 \end_layout
26777
26778 \begin_layout Description
26779 middle This is an example text line.
26780  
26781 \begin_inset Box Boxed
26782 position "c"
26783 hor_pos "c"
26784 has_inner_box 1
26785 inner_pos "c"
26786 use_parbox 0
26787 width "12col%"
26788 special "none"
26789 height "1.5in"
26790 height_special "totalheight"
26791 status collapsed
26792
26793 \begin_layout Plain Layout
26794 \align center
26795 This box text is middle-aligned.
26796 \end_layout
26797
26798 \end_inset
26799
26800  This is an example text line.
26801 \end_layout
26802
26803 \begin_layout Description
26804 bottom This is an example text line.
26805  
26806 \begin_inset Box Boxed
26807 position "c"
26808 hor_pos "c"
26809 has_inner_box 1
26810 inner_pos "b"
26811 use_parbox 0
26812 width "12col%"
26813 special "none"
26814 height "1.5in"
26815 height_special "totalheight"
26816 status collapsed
26817
26818 \begin_layout Plain Layout
26819 \align center
26820 This box text is bottom-aligned.
26821 \end_layout
26822
26823 \end_inset
26824
26825  This is an example text line.
26826 \end_layout
26827
26828 \begin_layout Description
26829 stretch This is an example text line.
26830  
26831 \begin_inset Box Boxed
26832 position "c"
26833 hor_pos "c"
26834 has_inner_box 1
26835 inner_pos "s"
26836 use_parbox 0
26837 width "12col%"
26838 special "none"
26839 height "1.5in"
26840 height_special "totalheight"
26841 status collapsed
26842
26843 \begin_layout Plain Layout
26844 \align center
26845 This box
26846 \end_layout
26847
26848 \begin_layout Plain Layout
26849 \align center
26850 text is
26851 \end_layout
26852
26853 \begin_layout Plain Layout
26854 \align center
26855 stretched.
26856 \end_layout
26857
26858 \end_inset
26859
26860  This is an example text line.
26861 \end_layout
26862
26863 \begin_layout Standard
26864 To stretch the box content, it must consist of more than one paragraph.
26865  In the example above every text line is in an own paragraph.
26866 \end_layout
26867
26868 \begin_layout Standard
26869 \begin_inset VSpace bigskip
26870 \end_inset
26871
26872 To align the box content horizontally you can use LyX's paragraph dialog
26873  when you have chosen an 
26874 \family sans
26875 Inner
26876 \begin_inset Space ~
26877 \end_inset
26878
26879 Box
26880 \family default
26881 .
26882 \end_layout
26883
26884 \begin_layout Standard
26885 \align center
26886 \begin_inset Box Boxed
26887 position "c"
26888 hor_pos "c"
26889 has_inner_box 1
26890 inner_pos "s"
26891 use_parbox 0
26892 width "15col%"
26893 special "none"
26894 height "1.25in"
26895 height_special "totalheight"
26896 status collapsed
26897
26898 \begin_layout Plain Layout
26899 \align left
26900 This box
26901 \end_layout
26902
26903 \begin_layout Plain Layout
26904 \align center
26905 text is
26906 \end_layout
26907
26908 \begin_layout Plain Layout
26909 \align right
26910 stretched.
26911 \end_layout
26912
26913 \end_inset
26914
26915
26916 \end_layout
26917
26918 \begin_layout Standard
26919 If you haven't set an 
26920 \family sans
26921 Inner
26922 \begin_inset Space ~
26923 \end_inset
26924
26925 Box
26926 \family default
26927 , you can align the box content horizontally in the box dialog.
26928 \end_layout
26929
26930 \begin_layout Standard
26931 \align center
26932 \begin_inset Box Boxed
26933 position "c"
26934 hor_pos "s"
26935 has_inner_box 0
26936 inner_pos "s"
26937 use_parbox 0
26938 width "90col%"
26939 special "none"
26940 height "1.25in"
26941 height_special "totalheight"
26942 status collapsed
26943
26944 \begin_layout Plain Layout
26945 \align left
26946 This box text is horizontally stretched.
26947 \end_layout
26948
26949 \end_inset
26950
26951
26952 \end_layout
26953
26954 \begin_layout Section
26955 Framed Boxes
26956 \begin_inset CommandInset label
26957 LatexCommand label
26958 name "sec:Framed-Boxes"
26959
26960 \end_inset
26961
26962
26963 \begin_inset Index
26964 status collapsed
26965
26966 \begin_layout Plain Layout
26967 Boxes ! Frames
26968 \end_layout
26969
26970 \end_inset
26971
26972
26973 \end_layout
26974
26975 \begin_layout Standard
26976 The frame style of the box can be specified in the box-dialog in the drop-down
26977  list 
26978 \family sans
26979 Type
26980 \family default
26981 .
26982  The following frame types are possible:
26983 \end_layout
26984
26985 \begin_layout Description
26986 Rectangular
26987 \begin_inset Space ~
26988 \end_inset
26989
26990 box This draws a rectangle frame around the box.
26991  The frame line thickness has the size of 
26992 \series bold
26993
26994 \backslash
26995 fboxrule
26996 \series default
26997 .
26998  
26999 \begin_inset Box Boxed
27000 position "c"
27001 hor_pos "c"
27002 has_inner_box 1
27003 inner_pos "c"
27004 use_parbox 0
27005 width "20col%"
27006 special "none"
27007 height "1in"
27008 height_special "totalheight"
27009 status collapsed
27010
27011 \begin_layout Plain Layout
27012 \align center
27013 Rectangular box
27014 \end_layout
27015
27016 \end_inset
27017
27018
27019 \end_layout
27020
27021 \begin_layout Description
27022 Oval
27023 \begin_inset Space ~
27024 \end_inset
27025
27026 box,
27027 \begin_inset Space ~
27028 \end_inset
27029
27030 thin This draws an oval frame around the box.
27031  The frame line thickness has the size 0.4
27032 \begin_inset Space \thinspace{}
27033 \end_inset
27034
27035 pt.
27036  
27037 \begin_inset Box ovalbox
27038 position "c"
27039 hor_pos "c"
27040 has_inner_box 1
27041 inner_pos "c"
27042 use_parbox 0
27043 width "20col%"
27044 special "none"
27045 height "1in"
27046 height_special "totalheight"
27047 status collapsed
27048
27049 \begin_layout Plain Layout
27050 \align center
27051 Oval box, thin
27052 \end_layout
27053
27054 \end_inset
27055
27056
27057 \end_layout
27058
27059 \begin_layout Description
27060 Oval
27061 \begin_inset Space ~
27062 \end_inset
27063
27064 box,
27065 \begin_inset Space ~
27066 \end_inset
27067
27068 thick This draws an oval frame around the box.
27069  The frame line thickness has the size 0.8
27070 \begin_inset Space \thinspace{}
27071 \end_inset
27072
27073 pt.
27074  
27075 \begin_inset Box Ovalbox
27076 position "c"
27077 hor_pos "c"
27078 has_inner_box 1
27079 inner_pos "c"
27080 use_parbox 0
27081 width "20col%"
27082 special "none"
27083 height "1in"
27084 height_special "totalheight"
27085 status collapsed
27086
27087 \begin_layout Plain Layout
27088 \align center
27089 Oval box, thick
27090 \end_layout
27091
27092 \end_inset
27093
27094
27095 \end_layout
27096
27097 \begin_layout Description
27098 Shadow
27099 \begin_inset Space ~
27100 \end_inset
27101
27102 box This draws a rectangle frame with a shadow around the box.
27103  The frame line thickness has the size of 
27104 \series bold
27105
27106 \backslash
27107 fboxrule
27108 \series default
27109 , the shadow has a width of 4
27110 \begin_inset Space \thinspace{}
27111 \end_inset
27112
27113 pt.
27114  
27115 \begin_inset Box Shadowbox
27116 position "c"
27117 hor_pos "c"
27118 has_inner_box 1
27119 inner_pos "c"
27120 use_parbox 0
27121 width "20col%"
27122 special "none"
27123 height "1in"
27124 height_special "totalheight"
27125 status collapsed
27126
27127 \begin_layout Plain Layout
27128 \align center
27129 Shadow box
27130 \end_layout
27131
27132 \end_inset
27133
27134
27135 \end_layout
27136
27137 \begin_layout Description
27138 Double
27139 \begin_inset Space ~
27140 \end_inset
27141
27142 box This draws a double-line rectangle frame around the box.
27143  The line thickness of the inner frame is 0.75
27144 \begin_inset Space \thinspace{}
27145 \end_inset
27146
27147
27148 \series bold
27149
27150 \backslash
27151 fboxrule
27152 \series default
27153 , the thickness of the outer frame is 1.5
27154 \begin_inset Space \thinspace{}
27155 \end_inset
27156
27157
27158 \series bold
27159
27160 \backslash
27161 fboxrule
27162 \series default
27163 .
27164  The distance between the lines is 1.5
27165 \begin_inset Space \thinspace{}
27166 \end_inset
27167
27168
27169 \series bold
27170
27171 \backslash
27172 fboxrule
27173 \series default
27174
27175 \begin_inset Space \thinspace{}
27176 \end_inset
27177
27178 +
27179 \begin_inset Space \thinspace{}
27180 \end_inset
27181
27182 0.5
27183 \begin_inset Space \thinspace{}
27184 \end_inset
27185
27186 pt.
27187  
27188 \begin_inset Box Doublebox
27189 position "c"
27190 hor_pos "c"
27191 has_inner_box 1
27192 inner_pos "c"
27193 use_parbox 0
27194 width "20col%"
27195 special "none"
27196 height "1in"
27197 height_special "totalheight"
27198 status collapsed
27199
27200 \begin_layout Plain Layout
27201 \align center
27202 Double box
27203 \end_layout
27204
27205 \end_inset
27206
27207
27208 \end_layout
27209
27210 \begin_layout Standard
27211 \begin_inset VSpace bigskip
27212 \end_inset
27213
27214 LyX's box label will change to the used frame style when you set a frame.
27215  To be able to use the different frame styles, the LaTeX-package 
27216 \series bold
27217 fancybox
27218 \series default
27219
27220 \begin_inset Index
27221 status collapsed
27222
27223 \begin_layout Plain Layout
27224 LaTeX-packages ! fancybox
27225 \end_layout
27226
27227 \end_inset
27228
27229  must be installed.
27230 \end_layout
27231
27232 \begin_layout Standard
27233 \begin_inset VSpace bigskip
27234 \end_inset
27235
27236 The default value for the size 
27237 \series bold
27238
27239 \backslash
27240 fboxrule
27241 \series default
27242  is 0.4
27243 \begin_inset Space \thinspace{}
27244 \end_inset
27245
27246 pt.
27247  It can be changed with the following command in TeX-Code to e.
27248 \begin_inset Space \thinspace{}
27249 \end_inset
27250
27251 g.
27252 \begin_inset Space ~
27253 \end_inset
27254
27255 2
27256 \begin_inset Space \thinspace{}
27257 \end_inset
27258
27259 pt:
27260 \end_layout
27261
27262 \begin_layout Standard
27263
27264 \series bold
27265
27266 \backslash
27267 setlength{
27268 \backslash
27269 fboxrule}{2pt}
27270 \end_layout
27271
27272 \begin_layout Standard
27273 \begin_inset ERT
27274 status collapsed
27275
27276 \begin_layout Plain Layout
27277
27278
27279 \backslash
27280 setlength{
27281 \backslash
27282 fboxrule}{2pt}
27283 \end_layout
27284
27285 \end_inset
27286
27287
27288 \begin_inset Box Boxed
27289 position "c"
27290 hor_pos "c"
27291 has_inner_box 1
27292 inner_pos "c"
27293 use_parbox 0
27294 width "25col%"
27295 special "none"
27296 height "1in"
27297 height_special "totalheight"
27298 status collapsed
27299
27300 \begin_layout Plain Layout
27301 \align center
27302 Rectangular box with 
27303 \series bold
27304
27305 \backslash
27306 fboxrule
27307 \series default
27308
27309 \begin_inset Space \thinspace{}
27310 \end_inset
27311
27312 =
27313 \begin_inset Space \thinspace{}
27314 \end_inset
27315
27316 2
27317 \begin_inset Space \thinspace{}
27318 \end_inset
27319
27320 pt
27321 \end_layout
27322
27323 \end_inset
27324
27325
27326 \begin_inset ERT
27327 status collapsed
27328
27329 \begin_layout Plain Layout
27330
27331
27332 \backslash
27333 setlength{
27334 \backslash
27335 fboxrule}{0.4pt}
27336 \end_layout
27337
27338 \end_inset
27339
27340
27341 \end_layout
27342
27343 \begin_layout Standard
27344 \begin_inset VSpace bigskip
27345 \end_inset
27346
27347 The space between the frame and the box content is for all frame styles
27348  by default 3
27349 \begin_inset Space \thinspace{}
27350 \end_inset
27351
27352 pt.
27353  You can change it by setting the length 
27354 \series bold
27355
27356 \backslash
27357 fboxsep
27358 \series default
27359  to another value.
27360  For example the command
27361 \end_layout
27362
27363 \begin_layout Standard
27364
27365 \series bold
27366
27367 \backslash
27368 setlength{
27369 \backslash
27370 fboxsep}{10pt}
27371 \end_layout
27372
27373 \begin_layout Standard
27374 sets the value to 10
27375 \begin_inset Space \thinspace{}
27376 \end_inset
27377
27378 pt, like for the following box:
27379 \end_layout
27380
27381 \begin_layout Standard
27382 \begin_inset ERT
27383 status collapsed
27384
27385 \begin_layout Plain Layout
27386
27387
27388 \backslash
27389 setlength{
27390 \backslash
27391 fboxsep}{10pt}
27392 \end_layout
27393
27394 \end_inset
27395
27396
27397 \begin_inset Box Boxed
27398 position "c"
27399 hor_pos "c"
27400 has_inner_box 1
27401 inner_pos "c"
27402 use_parbox 0
27403 width "25col%"
27404 special "none"
27405 height "1in"
27406 height_special "totalheight"
27407 status collapsed
27408
27409 \begin_layout Plain Layout
27410 \align center
27411 Rectangular box with 
27412 \series bold
27413
27414 \backslash
27415 fboxsep
27416 \series default
27417
27418 \begin_inset Space \thinspace{}
27419 \end_inset
27420
27421 =
27422 \begin_inset Space \thinspace{}
27423 \end_inset
27424
27425 10
27426 \begin_inset Space \thinspace{}
27427 \end_inset
27428
27429 pt
27430 \end_layout
27431
27432 \end_inset
27433
27434
27435 \begin_inset ERT
27436 status collapsed
27437
27438 \begin_layout Plain Layout
27439
27440
27441 \backslash
27442 setlength{
27443 \backslash
27444 fboxsep}{3pt}
27445 \end_layout
27446
27447 \end_inset
27448
27449
27450 \end_layout
27451
27452 \begin_layout Standard
27453 \begin_inset VSpace bigskip
27454 \end_inset
27455
27456 The diameter of the round corners of the oval boxes can be set with the
27457  command 
27458 \series bold
27459
27460 \backslash
27461 cornersize
27462 \series default
27463 .
27464  The command
27465 \end_layout
27466
27467 \begin_layout Standard
27468
27469 \series bold
27470
27471 \backslash
27472 cornersize*{1cm}
27473 \end_layout
27474
27475 \begin_layout Standard
27476 sets the diameter to 1
27477 \begin_inset Space \thinspace{}
27478 \end_inset
27479
27480 cm.
27481  The command
27482 \end_layout
27483
27484 \begin_layout Standard
27485
27486 \series bold
27487
27488 \backslash
27489 cornersize{num}
27490 \end_layout
27491
27492 \begin_layout Standard
27493 sets the diameter to 
27494 \family sans
27495 num
27496 \begin_inset Space \thinspace{}
27497 \end_inset
27498
27499 ×
27500 \begin_inset Space \thinspace{}
27501 \end_inset
27502
27503 minimum(width and heigth of box)
27504 \family default
27505 .
27506  The default is 
27507 \series bold
27508
27509 \backslash
27510 cornersize{0.5}
27511 \series default
27512 .
27513 \end_layout
27514
27515 \begin_layout Standard
27516 \begin_inset ERT
27517 status collapsed
27518
27519 \begin_layout Plain Layout
27520
27521
27522 \backslash
27523 cornersize*{1.5cm}
27524 \end_layout
27525
27526 \end_inset
27527
27528
27529 \begin_inset Box Ovalbox
27530 position "c"
27531 hor_pos "c"
27532 has_inner_box 1
27533 inner_pos "c"
27534 use_parbox 0
27535 width "25col%"
27536 special "none"
27537 height "1in"
27538 height_special "totalheight"
27539 status collapsed
27540
27541 \begin_layout Plain Layout
27542 \align center
27543 Oval box with 
27544 \series bold
27545
27546 \backslash
27547 cornersize
27548 \series default
27549
27550 \begin_inset Space \thinspace{}
27551 \end_inset
27552
27553 =
27554 \begin_inset Space \thinspace{}
27555 \end_inset
27556
27557 1.5
27558 \begin_inset Space \thinspace{}
27559 \end_inset
27560
27561 cm
27562 \end_layout
27563
27564 \end_inset
27565
27566
27567 \begin_inset ERT
27568 status collapsed
27569
27570 \begin_layout Plain Layout
27571
27572
27573 \backslash
27574 cornersize{0.5}
27575 \end_layout
27576
27577 \end_inset
27578
27579
27580 \end_layout
27581
27582 \begin_layout Standard
27583 \begin_inset VSpace bigskip
27584 \end_inset
27585
27586 The size of the shadow can be adjusted by changing the length 
27587 \series bold
27588
27589 \backslash
27590 shadowsize
27591 \series default
27592 .
27593  It it set to 2
27594 \begin_inset Space \thinspace{}
27595 \end_inset
27596
27597 pt for the following box by this command:
27598 \end_layout
27599
27600 \begin_layout Standard
27601
27602 \series bold
27603
27604 \backslash
27605 setlength{
27606 \backslash
27607 shadowsize}{2pt}
27608 \end_layout
27609
27610 \begin_layout Standard
27611 \begin_inset ERT
27612 status collapsed
27613
27614 \begin_layout Plain Layout
27615
27616
27617 \backslash
27618 setlength{
27619 \backslash
27620 shadowsize}{2pt}
27621 \end_layout
27622
27623 \end_inset
27624
27625
27626 \begin_inset Box Shadowbox
27627 position "c"
27628 hor_pos "c"
27629 has_inner_box 1
27630 inner_pos "c"
27631 use_parbox 0
27632 width "25col%"
27633 special "none"
27634 height "1in"
27635 height_special "totalheight"
27636 status collapsed
27637
27638 \begin_layout Plain Layout
27639 \align center
27640 Shadow box with 
27641 \series bold
27642
27643 \backslash
27644 shadowsize
27645 \series default
27646
27647 \begin_inset Space \thinspace{}
27648 \end_inset
27649
27650 =
27651 \begin_inset Space \thinspace{}
27652 \end_inset
27653
27654 2
27655 \begin_inset Space \thinspace{}
27656 \end_inset
27657
27658 pt
27659 \end_layout
27660
27661 \end_inset
27662
27663
27664 \begin_inset ERT
27665 status collapsed
27666
27667 \begin_layout Plain Layout
27668
27669
27670 \backslash
27671 setlength{
27672 \backslash
27673 shadowsize}{4pt}
27674 \end_layout
27675
27676 \end_inset
27677
27678
27679 \end_layout
27680
27681 \begin_layout Standard
27682 \begin_inset VSpace bigskip
27683 \end_inset
27684
27685 Changed lengths and widths are valid for all boxes following the commands
27686  that change them.
27687 \end_layout
27688
27689 \begin_layout Section
27690 Minipages
27691 \begin_inset CommandInset label
27692 LatexCommand label
27693 name "sec:Minipages"
27694
27695 \end_inset
27696
27697
27698 \begin_inset Index
27699 status collapsed
27700
27701 \begin_layout Plain Layout
27702 Boxes ! Minipages
27703 \end_layout
27704
27705 \end_inset
27706
27707
27708 \end_layout
27709
27710 \begin_layout Standard
27711 Minipages are treated by LaTeX as pages within pages and can therefore for
27712  example have their own footnotes.
27713 \end_layout
27714
27715 \begin_layout Standard
27716 Minipages are useful when you write documents with different languages.
27717 \end_layout
27718
27719 \begin_layout Standard
27720 Below are two example minipages side by side.
27721  Their width is set to 45
27722 \begin_inset Space \thinspace{}
27723 \end_inset
27724
27725 col% and they are separated by a horizontal fill, that was inserted via
27726  the menu 
27727 \family sans
27728 Insert\SpecialChar \menuseparator
27729 Special
27730 \begin_inset Space ~
27731 \end_inset
27732
27733 Formatting\SpecialChar \menuseparator
27734 Horizontal
27735 \begin_inset Space ~
27736 \end_inset
27737
27738 Fill
27739 \family default
27740 .
27741 \end_layout
27742
27743 \begin_layout Standard
27744 \begin_inset Box Frameless
27745 position "t"
27746 hor_pos "c"
27747 has_inner_box 1
27748 inner_pos "c"
27749 use_parbox 0
27750 width "45col%"
27751 special "none"
27752 height "1in"
27753 height_special "totalheight"
27754 status open
27755
27756 \begin_layout Plain Layout
27757
27758 \lang german
27759 Dies ist ein deutscher Text.
27760  Dies ist ein deutscher Text.
27761  Dies ist ein deutscher Text.
27762  Dies ist ein deutscher Text.
27763  Dies ist ein deutscher Text.
27764  Dies ist ein deutscher Text.
27765  Dies ist ein deutscher Text.
27766  Dies ist ein deutscher Text.
27767  Dies ist ein deutscher Text.
27768  Dies ist ein deutscher Text.
27769  Dies ist ein deutscher Text.
27770  Dies ist ein deutscher Text.
27771  Dies ist ein deutscher Text
27772 \begin_inset Foot
27773 status collapsed
27774
27775 \begin_layout Plain Layout
27776
27777 \lang german
27778 Dies ist eine deutsche Fußnote.
27779 \end_layout
27780
27781 \end_inset
27782
27783 .
27784  Dies ist ein deutscher Text.
27785  Dies ist ein deutscher Text.
27786 \end_layout
27787
27788 \end_inset
27789
27790
27791 \begin_inset Space \hfill{}
27792 \end_inset
27793
27794
27795 \begin_inset Box Frameless
27796 position "t"
27797 hor_pos "c"
27798 has_inner_box 1
27799 inner_pos "c"
27800 use_parbox 0
27801 width "45col%"
27802 special "none"
27803 height "1in"
27804 height_special "totalheight"
27805 status open
27806
27807 \begin_layout Plain Layout
27808 This is an English Text.
27809  This is an English Text.
27810  This is an English Text.
27811  This is an English Text.
27812  This is an English Text.
27813  This is an English Text.
27814  This is an English Text.
27815  This is an English Text.
27816  This is an English Text.
27817  This is an English Text.
27818  This is an English Text.
27819  This is an English Text.
27820  This is an English Text.
27821  This is an English Text.
27822  This is an English Text.
27823  This is an English Text.
27824 \begin_inset Foot
27825 status collapsed
27826
27827 \begin_layout Plain Layout
27828 This is an English footnote.
27829 \end_layout
27830
27831 \end_inset
27832
27833  This is an English Text.
27834  
27835 \end_layout
27836
27837 \end_inset
27838
27839
27840 \end_layout
27841
27842 \begin_layout Standard
27843 \begin_inset VSpace bigskip
27844 \end_inset
27845
27846 Another application for minipages are footnotes within tables.
27847  Due to a LaTeX restriction footnotes within tables doesn't appear at the
27848  bottom of the current page.
27849  But when you put the table with the footnote to a minipage, the footnote
27850  will appear at its bottom, numbered with Latin letters.
27851  The footnote number is reset to 1 in every minipage but not outside the
27852  minipages.
27853 \end_layout
27854
27855 \begin_layout Standard
27856 The footnote of this table doesn't appear: 
27857 \begin_inset Tabular
27858 <lyxtabular version="3" rows="3" columns="4">
27859 <features>
27860 <column alignment="center" valignment="top" width="0pt">
27861 <column alignment="center" valignment="top" width="0pt">
27862 <column alignment="center" valignment="top" width="0pt">
27863 <column alignment="center" valignment="top" width="0pt">
27864 <row>
27865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27866 \begin_inset Text
27867
27868 \begin_layout Plain Layout
27869 1
27870 \end_layout
27871
27872 \end_inset
27873 </cell>
27874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27875 \begin_inset Text
27876
27877 \begin_layout Plain Layout
27878 2
27879 \end_layout
27880
27881 \end_inset
27882 </cell>
27883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27884 \begin_inset Text
27885
27886 \begin_layout Plain Layout
27887 3
27888 \begin_inset Foot
27889 status collapsed
27890
27891 \begin_layout Plain Layout
27892 This is a footnote within a table.
27893 \end_layout
27894
27895 \end_inset
27896
27897
27898 \end_layout
27899
27900 \end_inset
27901 </cell>
27902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27903 \begin_inset Text
27904
27905 \begin_layout Plain Layout
27906 4
27907 \end_layout
27908
27909 \end_inset
27910 </cell>
27911 </row>
27912 <row>
27913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27914 \begin_inset Text
27915
27916 \begin_layout Plain Layout
27917 a
27918 \end_layout
27919
27920 \end_inset
27921 </cell>
27922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27923 \begin_inset Text
27924
27925 \begin_layout Plain Layout
27926 b
27927 \end_layout
27928
27929 \end_inset
27930 </cell>
27931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27932 \begin_inset Text
27933
27934 \begin_layout Plain Layout
27935 c
27936 \end_layout
27937
27938 \end_inset
27939 </cell>
27940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27941 \begin_inset Text
27942
27943 \begin_layout Plain Layout
27944 d
27945 \end_layout
27946
27947 \end_inset
27948 </cell>
27949 </row>
27950 <row>
27951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27952 \begin_inset Text
27953
27954 \begin_layout Plain Layout
27955 e
27956 \end_layout
27957
27958 \end_inset
27959 </cell>
27960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27961 \begin_inset Text
27962
27963 \begin_layout Plain Layout
27964 f
27965 \end_layout
27966
27967 \end_inset
27968 </cell>
27969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27970 \begin_inset Text
27971
27972 \begin_layout Plain Layout
27973 g
27974 \end_layout
27975
27976 \end_inset
27977 </cell>
27978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27979 \begin_inset Text
27980
27981 \begin_layout Plain Layout
27982 h
27983 \end_layout
27984
27985 \end_inset
27986 </cell>
27987 </row>
27988 </lyxtabular>
27989
27990 \end_inset
27991
27992
27993 \end_layout
27994
27995 \begin_layout Standard
27996 \align center
27997 \begin_inset Box Frameless
27998 position "t"
27999 hor_pos "c"
28000 has_inner_box 1
28001 inner_pos "c"
28002 use_parbox 0
28003 width "30col%"
28004 special "none"
28005 height "1in"
28006 height_special "totalheight"
28007 status open
28008
28009 \begin_layout Plain Layout
28010 \align center
28011 \begin_inset Tabular
28012 <lyxtabular version="3" rows="3" columns="4">
28013 <features>
28014 <column alignment="center" valignment="top" width="0pt">
28015 <column alignment="center" valignment="top" width="0pt">
28016 <column alignment="center" valignment="top" width="0pt">
28017 <column alignment="center" valignment="top" width="0pt">
28018 <row>
28019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28020 \begin_inset Text
28021
28022 \begin_layout Plain Layout
28023 1
28024 \end_layout
28025
28026 \end_inset
28027 </cell>
28028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28029 \begin_inset Text
28030
28031 \begin_layout Plain Layout
28032 2
28033 \end_layout
28034
28035 \end_inset
28036 </cell>
28037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28038 \begin_inset Text
28039
28040 \begin_layout Plain Layout
28041 3
28042 \begin_inset Foot
28043 status collapsed
28044
28045 \begin_layout Plain Layout
28046 This is a footnote within a table.
28047 \end_layout
28048
28049 \end_inset
28050
28051
28052 \end_layout
28053
28054 \end_inset
28055 </cell>
28056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28057 \begin_inset Text
28058
28059 \begin_layout Plain Layout
28060 4
28061 \end_layout
28062
28063 \end_inset
28064 </cell>
28065 </row>
28066 <row>
28067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28068 \begin_inset Text
28069
28070 \begin_layout Plain Layout
28071 a
28072 \end_layout
28073
28074 \end_inset
28075 </cell>
28076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28077 \begin_inset Text
28078
28079 \begin_layout Plain Layout
28080 b
28081 \end_layout
28082
28083 \end_inset
28084 </cell>
28085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28086 \begin_inset Text
28087
28088 \begin_layout Plain Layout
28089 c
28090 \end_layout
28091
28092 \end_inset
28093 </cell>
28094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28095 \begin_inset Text
28096
28097 \begin_layout Plain Layout
28098 d
28099 \end_layout
28100
28101 \end_inset
28102 </cell>
28103 </row>
28104 <row>
28105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28106 \begin_inset Text
28107
28108 \begin_layout Plain Layout
28109 e
28110 \end_layout
28111
28112 \end_inset
28113 </cell>
28114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28115 \begin_inset Text
28116
28117 \begin_layout Plain Layout
28118 f
28119 \end_layout
28120
28121 \end_inset
28122 </cell>
28123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28124 \begin_inset Text
28125
28126 \begin_layout Plain Layout
28127 g
28128 \end_layout
28129
28130 \end_inset
28131 </cell>
28132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28133 \begin_inset Text
28134
28135 \begin_layout Plain Layout
28136 h
28137 \end_layout
28138
28139 \end_inset
28140 </cell>
28141 </row>
28142 </lyxtabular>
28143
28144 \end_inset
28145
28146
28147 \end_layout
28148
28149 \end_inset
28150
28151
28152 \end_layout
28153
28154 \begin_layout Standard
28155 \begin_inset VSpace bigskip
28156 \end_inset
28157
28158 The document-wide paragraph settings are ignored within minipages.
28159  That means that there will be no space between paragraphs in minipages
28160  although you set it to e.
28161 \begin_inset Space \thinspace{}
28162 \end_inset
28163
28164 g.
28165 \begin_inset Space ~
28166 \end_inset
28167
28168
28169 \family sans
28170 MedSkip
28171 \family default
28172  in the document settings.
28173 \end_layout
28174
28175 \begin_layout Standard
28176 Minipages can also be used to set a background color for text parts, see
28177  section
28178 \begin_inset Space ~
28179 \end_inset
28180
28181
28182 \begin_inset CommandInset ref
28183 LatexCommand ref
28184 reference "sub:Color-for-Paragraphs"
28185
28186 \end_inset
28187
28188 .
28189 \end_layout
28190
28191 \begin_layout Standard
28192 \begin_inset Note Greyedout
28193 status open
28194
28195 \begin_layout Plain Layout
28196
28197 \series bold
28198 Note:
28199 \series default
28200  You cannot have floats or margin notes inside minipages but minipages can
28201  be used inside tables, floats, and other boxes.
28202 \end_layout
28203
28204 \end_inset
28205
28206
28207 \end_layout
28208
28209 \begin_layout Section
28210 Parboxes
28211 \begin_inset CommandInset label
28212 LatexCommand label
28213 name "sec:Parboxes"
28214
28215 \end_inset
28216
28217
28218 \begin_inset Index
28219 status collapsed
28220
28221 \begin_layout Plain Layout
28222 Boxes ! Parboxes
28223 \end_layout
28224
28225 \end_inset
28226
28227
28228 \end_layout
28229
28230 \begin_layout Standard
28231 Parboxes are very similar to minipages with the difference that they cannot
28232  have footnotes.
28233  The main difference to minipages is that minipages are in contrary to parboxes
28234  no real boxes but LaTeX-environments.
28235 \end_layout
28236
28237 \begin_layout Standard
28238 \align center
28239 \begin_inset Box Frameless
28240 position "t"
28241 hor_pos "c"
28242 has_inner_box 1
28243 inner_pos "t"
28244 use_parbox 1
28245 width "33col%"
28246 special "none"
28247 height "1in"
28248 height_special "totalheight"
28249 status collapsed
28250
28251 \begin_layout Plain Layout
28252 This a text within a parbox.
28253  This a text within a parbox.
28254 \end_layout
28255
28256 \begin_layout Plain Layout
28257 This footnote won't appear:
28258 \begin_inset Foot
28259 status collapsed
28260
28261 \begin_layout Plain Layout
28262 This footnote is inside a parbox and will therefore not appear.
28263 \end_layout
28264
28265 \end_inset
28266
28267
28268 \end_layout
28269
28270 \end_inset
28271
28272
28273 \end_layout
28274
28275 \begin_layout Section
28276 Boxes for Words and Characters
28277 \begin_inset Index
28278 status collapsed
28279
28280 \begin_layout Plain Layout
28281 Boxes ! for Characters
28282 \end_layout
28283
28284 \end_inset
28285
28286
28287 \end_layout
28288
28289 \begin_layout Subsection
28290 Prevent Hyphenation
28291 \begin_inset CommandInset label
28292 LatexCommand label
28293 name "sec:Prevent-Hyphenation"
28294
28295 \end_inset
28296
28297
28298 \begin_inset Index
28299 status collapsed
28300
28301 \begin_layout Plain Layout
28302 Boxes ! to Prevent Hyphenation
28303 \end_layout
28304
28305 \end_inset
28306
28307
28308 \end_layout
28309
28310 \begin_layout Standard
28311 You can use a special kind of boxes to prevent words or text to be hyphenated.
28312 \begin_inset Newline newline
28313 \end_inset
28314
28315 Here is an example text:
28316 \end_layout
28317
28318 \begin_layout Standard
28319 This line is an example to show how you can prevent the hyphenation of 
28320 \begin_inset Quotes eld
28321 \end_inset
28322
28323 veryverylongword
28324 \begin_inset Quotes erd
28325 \end_inset
28326
28327 .
28328 \end_layout
28329
28330 \begin_layout Standard
28331 To prevent the hyphenation of the word 
28332 \begin_inset Quotes eld
28333 \end_inset
28334
28335 veryverylongword
28336 \begin_inset Quotes erd
28337 \end_inset
28338
28339 , add the command
28340 \end_layout
28341
28342 \begin_layout Standard
28343
28344 \series bold
28345
28346 \backslash
28347 mbox{
28348 \end_layout
28349
28350 \begin_layout Standard
28351 in TeX-Code before the word.
28352  Behind the word insert a closing brace 
28353 \begin_inset Quotes eld
28354 \end_inset
28355
28356
28357 \series bold
28358 }
28359 \series default
28360
28361 \begin_inset Quotes erd
28362 \end_inset
28363
28364  in TeX-Code.
28365 \end_layout
28366
28367 \begin_layout Standard
28368 This is the result:
28369 \end_layout
28370
28371 \begin_layout Standard
28372 This line is an example to show how you can prevent the hyphenation of 
28373 \begin_inset ERT
28374 status collapsed
28375
28376 \begin_layout Plain Layout
28377
28378
28379 \backslash
28380 mbox{
28381 \end_layout
28382
28383 \end_inset
28384
28385
28386 \begin_inset Quotes eld
28387 \end_inset
28388
28389 veryverylongword
28390 \begin_inset Quotes erd
28391 \end_inset
28392
28393 .
28394 \begin_inset ERT
28395 status collapsed
28396
28397 \begin_layout Plain Layout
28398
28399 }
28400 \end_layout
28401
28402 \end_inset
28403
28404
28405 \end_layout
28406
28407 \begin_layout Standard
28408 You can alternatively set the command 
28409 \begin_inset Quotes eld
28410 \end_inset
28411
28412
28413 \series bold
28414
28415 \backslash
28416 -
28417 \series default
28418
28419 \begin_inset Quotes grd
28420 \end_inset
28421
28422  as TeX-Code directly before the word:
28423 \end_layout
28424
28425 \begin_layout Standard
28426 This line is an example to show how you can prevent the hyphenation of 
28427 \begin_inset Quotes eld
28428 \end_inset
28429
28430
28431 \begin_inset ERT
28432 status collapsed
28433
28434 \begin_layout Plain Layout
28435
28436
28437 \backslash
28438 -
28439 \end_layout
28440
28441 \end_inset
28442
28443 veryverylongword
28444 \begin_inset Quotes erd
28445 \end_inset
28446
28447 .
28448 \end_layout
28449
28450 \begin_layout Standard
28451 Of course the word now protrudes over the side margin.
28452  To avoid this, add via the menu 
28453 \family sans
28454 Insert\SpecialChar \menuseparator
28455 Special
28456 \begin_inset Space ~
28457 \end_inset
28458
28459 Formatting\SpecialChar \menuseparator
28460 Line
28461 \begin_inset Space ~
28462 \end_inset
28463
28464 Break
28465 \family default
28466  (shortcut 
28467 \series bold
28468 Ctrl-Return
28469 \series default
28470 ) a line break before the word:
28471 \end_layout
28472
28473 \begin_layout Standard
28474 This line is an example to show how you can prevent the hyphenation of 
28475 \begin_inset Newline newline
28476 \end_inset
28477
28478
28479 \begin_inset ERT
28480 status collapsed
28481
28482 \begin_layout Plain Layout
28483
28484
28485 \backslash
28486 mbox{
28487 \end_layout
28488
28489 \end_inset
28490
28491
28492 \begin_inset Quotes eld
28493 \end_inset
28494
28495 veryverylongword
28496 \begin_inset Quotes erd
28497 \end_inset
28498
28499 .
28500 \begin_inset ERT
28501 status collapsed
28502
28503 \begin_layout Plain Layout
28504
28505 }
28506 \end_layout
28507
28508 \end_inset
28509
28510
28511 \end_layout
28512
28513 \begin_layout Subsection
28514 Vertical Alignment
28515 \begin_inset CommandInset label
28516 LatexCommand label
28517 name "sub:Vertical-Alignment"
28518
28519 \end_inset
28520
28521
28522 \begin_inset Index
28523 status collapsed
28524
28525 \begin_layout Plain Layout
28526 Boxes ! for Vertical Alignment
28527 \end_layout
28528
28529 \end_inset
28530
28531
28532 \begin_inset Index
28533 status collapsed
28534
28535 \begin_layout Plain Layout
28536 Boxes ! Raiseboxes
28537 \end_layout
28538
28539 \end_inset
28540
28541
28542 \end_layout
28543
28544 \begin_layout Standard
28545 With the help of the command 
28546 \series bold
28547
28548 \backslash
28549 raisebox
28550 \series default
28551  you can align words, characters or other boxes vertically to the surrounding
28552  text.
28553  
28554 \series bold
28555
28556 \backslash
28557 raisebox
28558 \series default
28559  is used with the following scheme:
28560 \end_layout
28561
28562 \begin_layout Standard
28563
28564 \series bold
28565
28566 \backslash
28567 raisebox{lift}[height][depth]{box content}
28568 \end_layout
28569
28570 \begin_layout Standard
28571 The lift can be a positive value to raise the box or a negative value to
28572  lower the box.
28573 \end_layout
28574
28575 \begin_layout Standard
28576 To align for example the word 
28577 \begin_inset Quotes eld
28578 \end_inset
28579
28580 preventing
28581 \begin_inset Quotes erd
28582 \end_inset
28583
28584  so that the bottom of the 
28585 \begin_inset Quotes eld
28586 \end_inset
28587
28588 deepest
28589 \begin_inset Quotes erd
28590 \end_inset
28591
28592  character 
28593 \begin_inset Quotes eld
28594 \end_inset
28595
28596 p
28597 \begin_inset Quotes erd
28598 \end_inset
28599
28600  is at the baseline, insert the command
28601 \end_layout
28602
28603 \begin_layout Standard
28604
28605 \series bold
28606
28607 \backslash
28608 raisebox{
28609 \backslash
28610 depth}{
28611 \end_layout
28612
28613 \begin_layout Standard
28614 in TeX-Code before the word.
28615  Behind the word insert a closing brace 
28616 \begin_inset Quotes eld
28617 \end_inset
28618
28619
28620 \series bold
28621 }
28622 \series default
28623
28624 \begin_inset Quotes erd
28625 \end_inset
28626
28627  in TeX-Code.
28628 \begin_inset Newline newline
28629 \end_inset
28630
28631 This is the result:
28632 \end_layout
28633
28634 \begin_layout Standard
28635 This is a text line with the word 
28636 \begin_inset ERT
28637 status collapsed
28638
28639 \begin_layout Plain Layout
28640
28641
28642 \backslash
28643 raisebox{
28644 \backslash
28645 depth}{
28646 \end_layout
28647
28648 \end_inset
28649
28650
28651 \begin_inset Quotes eld
28652 \end_inset
28653
28654 preventing
28655 \begin_inset Quotes erd
28656 \end_inset
28657
28658
28659 \begin_inset ERT
28660 status collapsed
28661
28662 \begin_layout Plain Layout
28663
28664 }
28665 \end_layout
28666
28667 \end_inset
28668
28669  as raised word.
28670 \end_layout
28671
28672 \begin_layout Standard
28673 \begin_inset VSpace bigskip
28674 \end_inset
28675
28676 When you raise or lower characters in a line, the line distance will be
28677  spread:
28678 \end_layout
28679
28680 \begin_layout Standard
28681 This is a text line with the word 
28682 \begin_inset ERT
28683 status collapsed
28684
28685 \begin_layout Plain Layout
28686
28687
28688 \backslash
28689 raisebox{-
28690 \backslash
28691 depth}{
28692 \end_layout
28693
28694 \end_inset
28695
28696
28697 \begin_inset Quotes eld
28698 \end_inset
28699
28700 preventing
28701 \begin_inset Quotes erd
28702 \end_inset
28703
28704
28705 \begin_inset ERT
28706 status collapsed
28707
28708 \begin_layout Plain Layout
28709
28710 }
28711 \end_layout
28712
28713 \end_inset
28714
28715  as lowered word.
28716 \begin_inset Newline newline
28717 \end_inset
28718
28719 This is a text line with the word 
28720 \begin_inset ERT
28721 status collapsed
28722
28723 \begin_layout Plain Layout
28724
28725
28726 \backslash
28727 raisebox{0.5cm}{
28728 \end_layout
28729
28730 \end_inset
28731
28732
28733 \begin_inset Quotes eld
28734 \end_inset
28735
28736 testing
28737 \begin_inset Quotes erd
28738 \end_inset
28739
28740
28741 \begin_inset ERT
28742 status collapsed
28743
28744 \begin_layout Plain Layout
28745
28746 }
28747 \end_layout
28748
28749 \end_inset
28750
28751  as raised word.
28752 \end_layout
28753
28754 \begin_layout Standard
28755 If you want to prevent this for a certain reason, set the box height to
28756  a zero value.
28757  For example use
28758 \end_layout
28759
28760 \begin_layout Standard
28761
28762 \series bold
28763
28764 \backslash
28765 raisebox{-
28766 \backslash
28767 depth}[0pt]{
28768 \end_layout
28769
28770 \begin_layout Standard
28771 This is a text line with the word 
28772 \begin_inset ERT
28773 status collapsed
28774
28775 \begin_layout Plain Layout
28776
28777
28778 \backslash
28779 raisebox{-
28780 \backslash
28781 depth}[0pt]{
28782 \end_layout
28783
28784 \end_inset
28785
28786
28787 \begin_inset Quotes eld
28788 \end_inset
28789
28790 preventing
28791 \begin_inset Quotes erd
28792 \end_inset
28793
28794
28795 \begin_inset ERT
28796 status collapsed
28797
28798 \begin_layout Plain Layout
28799
28800 }
28801 \end_layout
28802
28803 \end_inset
28804
28805  as lowered word.
28806 \begin_inset Newline newline
28807 \end_inset
28808
28809 This is a text line with the word 
28810 \begin_inset ERT
28811 status collapsed
28812
28813 \begin_layout Plain Layout
28814
28815
28816 \backslash
28817 raisebox{0.5cm}[0pt]{
28818 \end_layout
28819
28820 \end_inset
28821
28822
28823 \begin_inset Quotes eld
28824 \end_inset
28825
28826 testing
28827 \begin_inset Quotes erd
28828 \end_inset
28829
28830
28831 \begin_inset ERT
28832 status collapsed
28833
28834 \begin_layout Plain Layout
28835
28836 }
28837 \end_layout
28838
28839 \end_inset
28840
28841  as raised word.
28842 \end_layout
28843
28844 \begin_layout Section
28845 Colored Boxes
28846 \begin_inset CommandInset label
28847 LatexCommand label
28848 name "sec:Colored-Boxes"
28849
28850 \end_inset
28851
28852
28853 \begin_inset Index
28854 status collapsed
28855
28856 \begin_layout Plain Layout
28857 Boxes ! Color
28858 \end_layout
28859
28860 \end_inset
28861
28862
28863 \end_layout
28864
28865 \begin_layout Subsection
28866 Color for Text
28867 \begin_inset Index
28868 status collapsed
28869
28870 \begin_layout Plain Layout
28871 Color ! for Text
28872 \end_layout
28873
28874 \end_inset
28875
28876
28877 \end_layout
28878
28879 \begin_layout Standard
28880 To color the background of text the text must be put into a so called 
28881 \begin_inset Quotes eld
28882 \end_inset
28883
28884 colorbox
28885 \begin_inset Quotes erd
28886 \end_inset
28887
28888 .
28889  This requires that the LaTeX-package 
28890 \series bold
28891 color
28892 \series default
28893
28894 \begin_inset Index
28895 status collapsed
28896
28897 \begin_layout Plain Layout
28898 LaTeX-packages ! color
28899 \end_layout
28900
28901 \end_inset
28902
28903  is loaded in the document preamble with the command
28904 \end_layout
28905
28906 \begin_layout Standard
28907
28908 \series bold
28909
28910 \backslash
28911 @ifundefined{textcolor}
28912 \begin_inset Newline newline
28913 \end_inset
28914
28915
28916 \begin_inset ERT
28917 status collapsed
28918
28919 \begin_layout Plain Layout
28920
28921
28922 \backslash
28923 hphantom{ }
28924 \end_layout
28925
28926 \end_inset
28927
28928 {
28929 \backslash
28930 usepackage{color}}{}
28931 \end_layout
28932
28933 \begin_layout Standard
28934 The package 
28935 \series bold
28936 color
28937 \series default
28938  will be loaded automatically by LyX when you color text
28939 \begin_inset Foot
28940 status collapsed
28941
28942 \begin_layout Plain Layout
28943 To avoid that it is loaded twice the command 
28944 \series bold
28945
28946 \backslash
28947 @ifundef\SpecialChar \textcompwordmark{}
28948 ined
28949 \series default
28950  is used.
28951 \end_layout
28952
28953 \end_inset
28954
28955 .
28956 \end_layout
28957
28958 \begin_layout Standard
28959 \begin_inset VSpace medskip
28960 \end_inset
28961
28962 Colorboxes are created with the command 
28963 \series bold
28964
28965 \backslash
28966 colorbox
28967 \series default
28968 .
28969  This will be used with the following scheme:
28970 \end_layout
28971
28972 \begin_layout Standard
28973
28974 \series bold
28975
28976 \backslash
28977 colorbox{color}{box content}
28978 \end_layout
28979
28980 \begin_layout Standard
28981 The box content can also be a box and colorboxes can also be within other
28982  boxes.
28983 \end_layout
28984
28985 \begin_layout Standard
28986 The following colors are predefined:
28987 \begin_inset Newline newline
28988 \end_inset
28989
28990
28991 \family sans
28992 black
28993 \family default
28994
28995 \family sans
28996 blue
28997 \family default
28998
28999 \family sans
29000 cyan
29001 \family default
29002 \series bold
29003 ,
29004 \series default
29005  
29006 \family sans
29007 green
29008 \family default
29009
29010 \family sans
29011 magenta
29012 \family default
29013
29014 \family sans
29015 red
29016 \family default
29017
29018 \family sans
29019 white
29020 \family default
29021 , and 
29022 \family sans
29023 yellow
29024 \family default
29025 .
29026 \begin_inset Newline newline
29027 \end_inset
29028
29029 You can also define your own color as described in section
29030 \begin_inset Space ~
29031 \end_inset
29032
29033
29034 \begin_inset CommandInset ref
29035 LatexCommand ref
29036 reference "sec:Colored-Tables"
29037
29038 \end_inset
29039
29040 .
29041 \end_layout
29042
29043 \begin_layout Standard
29044 To have e.
29045 \begin_inset Space \thinspace{}
29046 \end_inset
29047
29048 g.
29049 \begin_inset Space ~
29050 \end_inset
29051
29052 a red background for a word, insert the command
29053 \end_layout
29054
29055 \begin_layout Standard
29056
29057 \series bold
29058
29059 \backslash
29060 colorbox{red}{
29061 \end_layout
29062
29063 \begin_layout Standard
29064 before the word in TeX-Code.
29065  Behind the word insert a closing brace 
29066 \begin_inset Quotes eld
29067 \end_inset
29068
29069
29070 \series bold
29071 }
29072 \series default
29073
29074 \begin_inset Quotes erd
29075 \end_inset
29076
29077  in TeX-Code.
29078 \begin_inset Newline newline
29079 \end_inset
29080
29081 This is the result:
29082 \end_layout
29083
29084 \begin_layout Standard
29085 This is a line where the word 
29086 \begin_inset ERT
29087 status collapsed
29088
29089 \begin_layout Plain Layout
29090
29091
29092 \backslash
29093 colorbox{red}{
29094 \end_layout
29095
29096 \end_inset
29097
29098
29099 \begin_inset Quotes eld
29100 \end_inset
29101
29102 Attention!
29103 \begin_inset Quotes erd
29104 \end_inset
29105
29106
29107 \begin_inset ERT
29108 status collapsed
29109
29110 \begin_layout Plain Layout
29111
29112 }
29113 \end_layout
29114
29115 \end_inset
29116
29117  has a red background.
29118 \end_layout
29119
29120 \begin_layout Standard
29121 \begin_inset VSpace bigskip
29122 \end_inset
29123
29124 If you would have the box frame in a different color, you can use the command
29125  
29126 \series bold
29127
29128 \backslash
29129 fcolorbox
29130 \series default
29131  with the following scheme:
29132 \end_layout
29133
29134 \begin_layout Standard
29135
29136 \series bold
29137
29138 \backslash
29139 fcolorbox{frame color}{box color}{box content}
29140 \end_layout
29141
29142 \begin_layout Standard
29143
29144 \series bold
29145
29146 \backslash
29147 fcolorbox
29148 \series default
29149  is an extension to 
29150 \series bold
29151
29152 \backslash
29153 colorbox
29154 \series default
29155 .
29156  The frame thickness and the space between the frame and the box content
29157  can be adjusted with the lengths 
29158 \series bold
29159
29160 \backslash
29161 fboxrule
29162 \series default
29163  and 
29164 \series bold
29165
29166 \backslash
29167 fboxsep
29168 \series default
29169 , respectively, as described in section
29170 \begin_inset Space ~
29171 \end_inset
29172
29173
29174 \begin_inset CommandInset ref
29175 LatexCommand ref
29176 reference "sec:Framed-Boxes"
29177
29178 \end_inset
29179
29180 .
29181 \end_layout
29182
29183 \begin_layout Standard
29184 For the following example the command
29185 \end_layout
29186
29187 \begin_layout Standard
29188
29189 \series bold
29190
29191 \backslash
29192 fcolorbox{cyan}{magenta}{
29193 \end_layout
29194
29195 \begin_layout Standard
29196 was used.
29197 \end_layout
29198
29199 \begin_layout Standard
29200 Here is an example where the frame line thickness was set to 1
29201 \begin_inset Space \thinspace{}
29202 \end_inset
29203
29204 mm:
29205 \begin_inset Newline newline
29206 \end_inset
29207
29208
29209 \begin_inset ERT
29210 status collapsed
29211
29212 \begin_layout Plain Layout
29213
29214
29215 \backslash
29216 fboxrule 1mm 
29217 \backslash
29218 fboxsep 1mm
29219 \end_layout
29220
29221 \end_inset
29222
29223
29224 \begin_inset ERT
29225 status collapsed
29226
29227 \begin_layout Plain Layout
29228
29229
29230 \backslash
29231 fcolorbox{cyan}{magenta}{
29232 \end_layout
29233
29234 \end_inset
29235
29236 This is text within a colored, framed box.
29237 \begin_inset ERT
29238 status collapsed
29239
29240 \begin_layout Plain Layout
29241
29242 }
29243 \end_layout
29244
29245 \end_inset
29246
29247
29248 \end_layout
29249
29250 \begin_layout Standard
29251 \begin_inset VSpace bigskip
29252 \end_inset
29253
29254 Of course you can also have colored text inside a colorbox:
29255 \begin_inset Newline newline
29256 \end_inset
29257
29258
29259 \begin_inset ERT
29260 status collapsed
29261
29262 \begin_layout Plain Layout
29263
29264
29265 \backslash
29266 fcolorbox{cyan}{magenta}{
29267 \end_layout
29268
29269 \end_inset
29270
29271
29272 \color yellow
29273 This is colored text within a colored, framed box.
29274 \color none
29275
29276 \begin_inset ERT
29277 status collapsed
29278
29279 \begin_layout Plain Layout
29280
29281 }
29282 \end_layout
29283
29284 \end_inset
29285
29286
29287 \begin_inset ERT
29288 status collapsed
29289
29290 \begin_layout Plain Layout
29291
29292
29293 \backslash
29294 fboxrule 0.4pt 
29295 \backslash
29296 fboxsep 3pt
29297 \end_layout
29298
29299 \end_inset
29300
29301
29302 \end_layout
29303
29304 \begin_layout Standard
29305
29306 \series bold
29307 \begin_inset VSpace medskip
29308 \end_inset
29309
29310
29311 \end_layout
29312
29313 \begin_layout Standard
29314 \begin_inset Note Greyedout
29315 status open
29316
29317 \begin_layout Plain Layout
29318
29319 \series bold
29320 Note:
29321 \series default
29322  Text in colorboxes cannot have line breaks.
29323  To color multiple text lines or paragraphs, use a box inside a colorbox
29324  as described in the following.
29325 \end_layout
29326
29327 \end_inset
29328
29329
29330 \end_layout
29331
29332 \begin_layout Subsection
29333 Color for Paragraphs
29334 \begin_inset CommandInset label
29335 LatexCommand label
29336 name "sub:Color-for-Paragraphs"
29337
29338 \end_inset
29339
29340
29341 \begin_inset Index
29342 status collapsed
29343
29344 \begin_layout Plain Layout
29345 Color ! for Paragraphs
29346 \end_layout
29347
29348 \end_inset
29349
29350
29351 \end_layout
29352
29353 \begin_layout Standard
29354 To set the background color for more than one text line, put the text into
29355  a minipage.
29356  Before the minipage insert the 
29357 \series bold
29358
29359 \backslash
29360 colorbox
29361 \series default
29362  command
29363 \end_layout
29364
29365 \begin_layout Standard
29366
29367 \series bold
29368
29369 \backslash
29370 colorbox{color}{
29371 \end_layout
29372
29373 \begin_layout Standard
29374 in TeX-Code.
29375  Behind the minipage insert a closing brace 
29376 \begin_inset Quotes eld
29377 \end_inset
29378
29379
29380 \series bold
29381 }
29382 \series default
29383
29384 \begin_inset Quotes erd
29385 \end_inset
29386
29387  in TeX-Code.
29388 \end_layout
29389
29390 \begin_layout Standard
29391 \begin_inset ERT
29392 status collapsed
29393
29394 \begin_layout Plain Layout
29395
29396
29397 \backslash
29398 colorbox{lightgrey}{
29399 \end_layout
29400
29401 \end_inset
29402
29403
29404 \begin_inset Box Frameless
29405 position "t"
29406 hor_pos "c"
29407 has_inner_box 1
29408 inner_pos "t"
29409 use_parbox 0
29410 width "100col%"
29411 special "none"
29412 height "1in"
29413 height_special "totalheight"
29414 status collapsed
29415
29416 \begin_layout Plain Layout
29417 This is text with background color.
29418  This is text with background color.
29419 \end_layout
29420
29421 \begin_layout Plain Layout
29422 \begin_inset VSpace defskip
29423 \end_inset
29424
29425 The text can have footnotes
29426 \begin_inset Foot
29427 status collapsed
29428
29429 \begin_layout Plain Layout
29430 Another example footnote
29431 \end_layout
29432
29433 \end_inset
29434
29435  and can include tables and figures.
29436 \end_layout
29437
29438 \begin_layout Plain Layout
29439 \align center
29440 \begin_inset Tabular
29441 <lyxtabular version="3" rows="3" columns="3">
29442 <features>
29443 <column alignment="center" valignment="top" width="0">
29444 <column alignment="center" valignment="top" width="0">
29445 <column alignment="center" valignment="top" width="0">
29446 <row>
29447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29448 \begin_inset Text
29449
29450 \begin_layout Plain Layout
29451 a
29452 \end_layout
29453
29454 \end_inset
29455 </cell>
29456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29457 \begin_inset Text
29458
29459 \begin_layout Plain Layout
29460 !
29461 \end_layout
29462
29463 \end_inset
29464 </cell>
29465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29466 \begin_inset Text
29467
29468 \begin_layout Plain Layout
29469 3
29470 \end_layout
29471
29472 \end_inset
29473 </cell>
29474 </row>
29475 <row>
29476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29477 \begin_inset Text
29478
29479 \begin_layout Plain Layout
29480 <
29481 \end_layout
29482
29483 \end_inset
29484 </cell>
29485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29486 \begin_inset Text
29487
29488 \begin_layout Plain Layout
29489 b2
29490 \begin_inset Quotes erd
29491 \end_inset
29492
29493 |
29494 \end_layout
29495
29496 \end_inset
29497 </cell>
29498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29499 \begin_inset Text
29500
29501 \begin_layout Plain Layout
29502 >
29503 \end_layout
29504
29505 \end_inset
29506 </cell>
29507 </row>
29508 <row>
29509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29510 \begin_inset Text
29511
29512 \begin_layout Plain Layout
29513 1
29514 \end_layout
29515
29516 \end_inset
29517 </cell>
29518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29519 \begin_inset Text
29520
29521 \begin_layout Plain Layout
29522 §
29523 \end_layout
29524
29525 \end_inset
29526 </cell>
29527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29528 \begin_inset Text
29529
29530 \begin_layout Plain Layout
29531 c
29532 \end_layout
29533
29534 \end_inset
29535 </cell>
29536 </row>
29537 </lyxtabular>
29538
29539 \end_inset
29540
29541
29542 \end_layout
29543
29544 \end_inset
29545
29546
29547 \begin_inset ERT
29548 status collapsed
29549
29550 \begin_layout Plain Layout
29551
29552 }
29553 \end_layout
29554
29555 \end_inset
29556
29557
29558 \end_layout
29559
29560 \begin_layout Section
29561 Rotated and Scaled Boxes
29562 \end_layout
29563
29564 \begin_layout Standard
29565 To use the the commands described in this section, the LaTeX-package 
29566 \series bold
29567 graphicx
29568 \series default
29569
29570 \begin_inset Index
29571 status collapsed
29572
29573 \begin_layout Plain Layout
29574 LaTeX-packages ! graphicx
29575 \end_layout
29576
29577 \end_inset
29578
29579  needs to be loaded in the document preamble with the command
29580 \end_layout
29581
29582 \begin_layout Standard
29583
29584 \series bold
29585
29586 \backslash
29587 @ifundefined{rotatebox}
29588 \begin_inset Newline newline
29589 \end_inset
29590
29591
29592 \begin_inset ERT
29593 status collapsed
29594
29595 \begin_layout Plain Layout
29596
29597
29598 \backslash
29599 hphantom{ }
29600 \end_layout
29601
29602 \end_inset
29603
29604 {
29605 \backslash
29606 usepackage{graphicx}}{}
29607 \end_layout
29608
29609 \begin_layout Standard
29610 \begin_inset Note Greyedout
29611 status open
29612
29613 \begin_layout Plain Layout
29614
29615 \series bold
29616 Note:
29617 \series default
29618  Some DVI-viewers can't display rotated or scaled material.
29619 \end_layout
29620
29621 \end_inset
29622
29623
29624 \end_layout
29625
29626 \begin_layout Standard
29627 \begin_inset Note Greyedout
29628 status open
29629
29630 \begin_layout Plain Layout
29631
29632 \series bold
29633 Note:
29634 \series default
29635  Floats mustn't be inside a rotated or scaled box.
29636 \end_layout
29637
29638 \end_inset
29639
29640
29641 \end_layout
29642
29643 \begin_layout Subsection
29644 Rotated Boxes
29645 \begin_inset Index
29646 status collapsed
29647
29648 \begin_layout Plain Layout
29649 Boxes ! rotated
29650 \end_layout
29651
29652 \end_inset
29653
29654
29655 \begin_inset Index
29656 status collapsed
29657
29658 \begin_layout Plain Layout
29659 Rotated material
29660 \end_layout
29661
29662 \end_inset
29663
29664
29665 \begin_inset Index
29666 status collapsed
29667
29668 \begin_layout Plain Layout
29669 Figures ! rotated
29670 \end_layout
29671
29672 \end_inset
29673
29674
29675 \begin_inset Index
29676 status collapsed
29677
29678 \begin_layout Plain Layout
29679 Table Customization ! Rotating
29680 \end_layout
29681
29682 \end_inset
29683
29684
29685 \end_layout
29686
29687 \begin_layout Standard
29688 To rotate material, you can put it into a rotated box.
29689  Such a box is created using the command 
29690 \series bold
29691
29692 \backslash
29693 rotatebox
29694 \series default
29695  in TeX-Code with the following scheme:
29696 \end_layout
29697
29698 \begin_layout Standard
29699
29700 \series bold
29701
29702 \backslash
29703 rotatebox[rotation origin]{rotation angle}{box content}
29704 \end_layout
29705
29706 \begin_layout Standard
29707 The rotation origin is specified in the form 
29708 \series bold
29709 origin=position
29710 \series default
29711 .
29712  The following positions are possible: 
29713 \emph on
29714 c
29715 \emph default
29716  (center), 
29717 \emph on
29718 l
29719 \emph default
29720  (left), 
29721 \emph on
29722 r
29723 \emph default
29724  (right), 
29725 \emph on
29726 b
29727 \emph default
29728  (bottom), 
29729 \emph on
29730 t
29731 \emph default
29732  (top), and also expedient combinations of the four base positions.
29733  For example 
29734 \emph on
29735 lt
29736 \emph default
29737  means, that the rotation origin is at the top left corner of the box.
29738  When no rotation origin is specified, the position 
29739 \emph on
29740 l
29741 \emph default
29742  will be used.
29743  The rotation angle is a number that can be negative that specifies the
29744  angle in degrees.
29745  The rotation direction is counterclockwise.
29746 \end_layout
29747
29748 \begin_layout Standard
29749 In the following example the command 
29750 \series bold
29751
29752 \backslash
29753 rotatebox[origin=c]{60}{
29754 \series default
29755  was inserted as TeX-Code before the text 
29756 \begin_inset Quotes eld
29757 \end_inset
29758
29759 with rotated
29760 \begin_inset Quotes erd
29761 \end_inset
29762
29763 ; after the text the box was closed by a closing brace 
29764 \series bold
29765 }
29766 \series default
29767  in TeX-Code.
29768 \end_layout
29769
29770 \begin_layout Standard
29771 This is a line 
29772 \begin_inset ERT
29773 status collapsed
29774
29775 \begin_layout Plain Layout
29776
29777
29778 \backslash
29779 rotatebox[origin=c]{60}{
29780 \end_layout
29781
29782 \end_inset
29783
29784 with rotated
29785 \begin_inset ERT
29786 status collapsed
29787
29788 \begin_layout Plain Layout
29789
29790 }
29791 \end_layout
29792
29793 \end_inset
29794
29795  text.
29796 \end_layout
29797
29798 \begin_layout Standard
29799 The box content can also be another box or an inline formula:
29800 \end_layout
29801
29802 \begin_layout Standard
29803 This is a line
29804 \begin_inset ERT
29805 status collapsed
29806
29807 \begin_layout Plain Layout
29808
29809
29810 \backslash
29811 rotatebox[origin=r]{-60}{
29812 \end_layout
29813
29814 \end_inset
29815
29816
29817 \begin_inset Box Doublebox
29818 position "c"
29819 hor_pos "c"
29820 has_inner_box 0
29821 inner_pos "c"
29822 use_parbox 0
29823 width "1in"
29824 special "width"
29825 height "1in"
29826 height_special "totalheight"
29827 status collapsed
29828
29829 \begin_layout Plain Layout
29830 with rotated
29831 \end_layout
29832
29833 \end_inset
29834
29835
29836 \begin_inset ERT
29837 status collapsed
29838
29839 \begin_layout Plain Layout
29840
29841 }
29842 \end_layout
29843
29844 \end_inset
29845
29846  framed text 
29847 \begin_inset ERT
29848 status collapsed
29849
29850 \begin_layout Plain Layout
29851
29852
29853 \backslash
29854 rotatebox[origin=lb]{60}{
29855 \end_layout
29856
29857 \end_inset
29858
29859
29860 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29861 \end_inset
29862
29863
29864 \begin_inset ERT
29865 status collapsed
29866
29867 \begin_layout Plain Layout
29868
29869 }
29870 \end_layout
29871
29872 \end_inset
29873
29874  and a formula.
29875 \end_layout
29876
29877 \begin_layout Standard
29878 or an image or table:
29879 \end_layout
29880
29881 \begin_layout Standard
29882 This is a line
29883 \begin_inset ERT
29884 status collapsed
29885
29886 \begin_layout Plain Layout
29887
29888
29889 \backslash
29890 rotatebox[origin=lb]{90}{
29891 \end_layout
29892
29893 \end_inset
29894
29895
29896 \begin_inset Graphics
29897         filename clipart/platypus.eps
29898         lyxscale 50
29899         width 25col%
29900
29901 \end_inset
29902
29903
29904 \begin_inset ERT
29905 status collapsed
29906
29907 \begin_layout Plain Layout
29908
29909 }
29910 \end_layout
29911
29912 \end_inset
29913
29914  with a rotated image 
29915 \begin_inset ERT
29916 status collapsed
29917
29918 \begin_layout Plain Layout
29919
29920
29921 \backslash
29922 rotatebox[origin=l]{-90}{
29923 \end_layout
29924
29925 \end_inset
29926
29927
29928 \begin_inset Tabular
29929 <lyxtabular version="3" rows="2" columns="2">
29930 <features>
29931 <column alignment="center" valignment="top" width="0">
29932 <column alignment="center" valignment="top" width="0">
29933 <row>
29934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29935 \begin_inset Text
29936
29937 \begin_layout Plain Layout
29938 q
29939 \end_layout
29940
29941 \end_inset
29942 </cell>
29943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29944 \begin_inset Text
29945
29946 \begin_layout Plain Layout
29947 w
29948 \end_layout
29949
29950 \end_inset
29951 </cell>
29952 </row>
29953 <row>
29954 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29955 \begin_inset Text
29956
29957 \begin_layout Plain Layout
29958 e
29959 \end_layout
29960
29961 \end_inset
29962 </cell>
29963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29964 \begin_inset Text
29965
29966 \begin_layout Plain Layout
29967 r
29968 \end_layout
29969
29970 \end_inset
29971 </cell>
29972 </row>
29973 </lyxtabular>
29974
29975 \end_inset
29976
29977
29978 \begin_inset ERT
29979 status collapsed
29980
29981 \begin_layout Plain Layout
29982
29983 }
29984 \end_layout
29985
29986 \end_inset
29987
29988  and table.
29989 \end_layout
29990
29991 \begin_layout Subsection
29992 Scaled Boxes
29993 \begin_inset Index
29994 status collapsed
29995
29996 \begin_layout Plain Layout
29997 Boxes ! scaled
29998 \end_layout
29999
30000 \end_inset
30001
30002
30003 \begin_inset Index
30004 status collapsed
30005
30006 \begin_layout Plain Layout
30007 Scaled material
30008 \end_layout
30009
30010 \end_inset
30011
30012
30013 \begin_inset Index
30014 status collapsed
30015
30016 \begin_layout Plain Layout
30017 Figures ! scaled
30018 \end_layout
30019
30020 \end_inset
30021
30022
30023 \begin_inset Index
30024 status collapsed
30025
30026 \begin_layout Plain Layout
30027 Table Customization ! Scaling
30028 \end_layout
30029
30030 \end_inset
30031
30032
30033 \end_layout
30034
30035 \begin_layout Standard
30036 To scale material the commands 
30037 \series bold
30038
30039 \backslash
30040 scalebox
30041 \series default
30042  and 
30043 \series bold
30044
30045 \backslash
30046 resizebox
30047 \series default
30048  can be used as TeX-Code.
30049 \end_layout
30050
30051 \begin_layout Standard
30052
30053 \series bold
30054
30055 \backslash
30056 scalebox
30057 \series default
30058  is used with the following scheme:
30059 \end_layout
30060
30061 \begin_layout Standard
30062
30063 \series bold
30064
30065 \backslash
30066 scalebox{horizontal}[vertical]{box content}
30067 \end_layout
30068
30069 \begin_layout Standard
30070 Horizontal and vertical are the corresponding scaling factors.
30071  If no vertical scaling factor is given, the horizontal factor will also
30072  be used as vertical one.
30073 \end_layout
30074
30075 \begin_layout Standard
30076 The command 
30077 \series bold
30078
30079 \backslash
30080 scalebox{2}{Hello}
30081 \series default
30082  creates for example a double size 
30083 \begin_inset ERT
30084 status collapsed
30085
30086 \begin_layout Plain Layout
30087
30088
30089 \backslash
30090 scalebox{2}{
30091 \end_layout
30092
30093 \end_inset
30094
30095 Hello
30096 \begin_inset ERT
30097 status collapsed
30098
30099 \begin_layout Plain Layout
30100
30101 }
30102 \end_layout
30103
30104 \end_inset
30105
30106 , compared to the document text size.
30107 \end_layout
30108
30109 \begin_layout Standard
30110
30111 \series bold
30112
30113 \backslash
30114 scalebox{2}[1]{Hello}
30115 \series default
30116  in contrary distorts the 
30117 \begin_inset ERT
30118 status collapsed
30119
30120 \begin_layout Plain Layout
30121
30122
30123 \backslash
30124 scalebox{2}[1]{
30125 \end_layout
30126
30127 \end_inset
30128
30129 Hello
30130 \begin_inset ERT
30131 status collapsed
30132
30133 \begin_layout Plain Layout
30134
30135 }
30136 \end_layout
30137
30138 \end_inset
30139
30140 .
30141 \end_layout
30142
30143 \begin_layout Standard
30144 If a the scaling factor is negative, the box content will be mirrored.
30145  Therefore the command 
30146 \series bold
30147
30148 \backslash
30149 scalebox{-1}[1]{Hello}
30150 \series default
30151  can be used to create mirror writing: 
30152 \begin_inset ERT
30153 status collapsed
30154
30155 \begin_layout Plain Layout
30156
30157
30158 \backslash
30159 scalebox{-1}[1]{
30160 \end_layout
30161
30162 \end_inset
30163
30164 Hello
30165 \begin_inset ERT
30166 status collapsed
30167
30168 \begin_layout Plain Layout
30169
30170 }
30171 \end_layout
30172
30173 \end_inset
30174
30175
30176 \end_layout
30177
30178 \begin_layout Standard
30179
30180 \series bold
30181
30182 \backslash
30183 scalebox{1}[-1]{Hello}
30184 \series default
30185  reflects the 
30186 \begin_inset ERT
30187 status collapsed
30188
30189 \begin_layout Plain Layout
30190
30191
30192 \backslash
30193 scalebox{1}[-1]{
30194 \end_layout
30195
30196 \end_inset
30197
30198 Hello
30199 \begin_inset ERT
30200 status collapsed
30201
30202 \begin_layout Plain Layout
30203
30204 }
30205 \end_layout
30206
30207 \end_inset
30208
30209  at the base line.
30210 \end_layout
30211
30212 \begin_layout Standard
30213 Equivalent to 
30214 \series bold
30215
30216 \backslash
30217 scalebox{-1}[1]{box content}
30218 \series default
30219  there exists the command
30220 \begin_inset Newline newline
30221 \end_inset
30222
30223
30224 \series bold
30225
30226 \backslash
30227 reflectbox{box content}
30228 \series default
30229 .
30230 \end_layout
30231
30232 \begin_layout Standard
30233 \begin_inset VSpace bigskip
30234 \end_inset
30235
30236 The command 
30237 \series bold
30238
30239 \backslash
30240 resizebox
30241 \series default
30242  is used to scale the box to a defined width and height.
30243  The command scheme is:
30244 \end_layout
30245
30246 \begin_layout Standard
30247
30248 \series bold
30249
30250 \backslash
30251 resizebox{width}{height}{box content}
30252 \end_layout
30253
30254 \begin_layout Standard
30255 Is one of the two command arguments given as exclamation mark 
30256 \series bold
30257 !
30258 \series default
30259 , the size is set so that the aspect ratio of the box content is kept.
30260 \end_layout
30261
30262 \begin_layout Standard
30263 The command 
30264 \series bold
30265
30266 \backslash
30267 resizebox{2cm}{1cm}{Hello}
30268 \series default
30269  produces: 
30270 \begin_inset ERT
30271 status collapsed
30272
30273 \begin_layout Plain Layout
30274
30275
30276 \backslash
30277 resizebox{2cm}{1cm}{
30278 \end_layout
30279
30280 \end_inset
30281
30282 Hello
30283 \begin_inset ERT
30284 status collapsed
30285
30286 \begin_layout Plain Layout
30287
30288 }
30289 \end_layout
30290
30291 \end_inset
30292
30293
30294 \begin_inset Newline newline
30295 \end_inset
30296
30297 The command 
30298 \series bold
30299
30300 \backslash
30301 resizebox{2cm}{!}{Hello}
30302 \series default
30303  produces: 
30304 \begin_inset ERT
30305 status collapsed
30306
30307 \begin_layout Plain Layout
30308
30309
30310 \backslash
30311 resizebox{2cm}{!}{
30312 \end_layout
30313
30314 \end_inset
30315
30316 Hello
30317 \begin_inset ERT
30318 status collapsed
30319
30320 \begin_layout Plain Layout
30321
30322 }
30323 \end_layout
30324
30325 \end_inset
30326
30327
30328 \end_layout
30329
30330 \begin_layout Standard
30331 \begin_inset VSpace bigskip
30332 \end_inset
30333
30334
30335 \begin_inset Note Greyedout
30336 status open
30337
30338 \begin_layout Plain Layout
30339
30340 \series bold
30341 Note:
30342 \series default
30343  When arguments of 
30344 \series bold
30345
30346 \backslash
30347 scalebox
30348 \series default
30349  or 
30350 \series bold
30351
30352 \backslash
30353 resizebox
30354 \series default
30355  are set to zero, no LaTeX-errors occur when exporting the document but
30356  the exported files can not or only partly be displayed.
30357 \end_layout
30358
30359 \end_inset
30360
30361
30362 \end_layout
30363
30364 \begin_layout Standard
30365 \begin_inset VSpace bigskip
30366 \end_inset
30367
30368
30369 \end_layout
30370
30371 \begin_layout Standard
30372 The boxes can be combined in any order.
30373  E.
30374 \begin_inset Space \thinspace{}
30375 \end_inset
30376
30377 g.
30378 \begin_inset Space ~
30379 \end_inset
30380
30381 the command
30382 \begin_inset Newline newline
30383 \end_inset
30384
30385
30386 \series bold
30387
30388 \backslash
30389 rotatebox[origin=c]{-45}{
30390 \backslash
30391 resizebox{2cm}{!}{
30392 \backslash
30393 reflectbox{Hello}}}
30394 \begin_inset Newline newline
30395 \end_inset
30396
30397
30398 \series default
30399 produces:
30400 \end_layout
30401
30402 \begin_layout Standard
30403 \align center
30404 \begin_inset ERT
30405 status collapsed
30406
30407 \begin_layout Plain Layout
30408
30409
30410 \backslash
30411 rotatebox[origin=c]{-45}{
30412 \backslash
30413 resizebox{2cm}{!}{
30414 \backslash
30415 reflectbox{
30416 \end_layout
30417
30418 \end_inset
30419
30420 Hello
30421 \begin_inset ERT
30422 status collapsed
30423
30424 \begin_layout Plain Layout
30425
30426 }}}
30427 \end_layout
30428
30429 \end_inset
30430
30431
30432 \end_layout
30433
30434 \begin_layout Standard
30435 \noindent
30436 Images, tables, and inline formulas are allowed as box content:
30437 \end_layout
30438
30439 \begin_layout Standard
30440 \align center
30441 \begin_inset ERT
30442 status collapsed
30443
30444 \begin_layout Plain Layout
30445
30446
30447 \backslash
30448 rotatebox[origin=c]{-30}{
30449 \backslash
30450 resizebox{2cm}{!}{
30451 \backslash
30452 reflectbox{
30453 \end_layout
30454
30455 \end_inset
30456
30457
30458 \begin_inset Graphics
30459         filename clipart/platypus.eps
30460         lyxscale 50
30461         width 25col%
30462
30463 \end_inset
30464
30465
30466 \begin_inset ERT
30467 status collapsed
30468
30469 \begin_layout Plain Layout
30470
30471 }}}
30472 \end_layout
30473
30474 \end_inset
30475
30476
30477 \begin_inset ERT
30478 status collapsed
30479
30480 \begin_layout Plain Layout
30481
30482
30483 \backslash
30484 rotatebox[origin=c]{-45}{
30485 \backslash
30486 resizebox{2cm}{!}{
30487 \backslash
30488 reflectbox{
30489 \end_layout
30490
30491 \end_inset
30492
30493
30494 \begin_inset Tabular
30495 <lyxtabular version="3" rows="2" columns="2">
30496 <features>
30497 <column alignment="center" valignment="top" width="0">
30498 <column alignment="center" valignment="top" width="0">
30499 <row>
30500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30501 \begin_inset Text
30502
30503 \begin_layout Plain Layout
30504 q
30505 \end_layout
30506
30507 \end_inset
30508 </cell>
30509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30510 \begin_inset Text
30511
30512 \begin_layout Plain Layout
30513 w
30514 \end_layout
30515
30516 \end_inset
30517 </cell>
30518 </row>
30519 <row>
30520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30521 \begin_inset Text
30522
30523 \begin_layout Plain Layout
30524 e
30525 \end_layout
30526
30527 \end_inset
30528 </cell>
30529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30530 \begin_inset Text
30531
30532 \begin_layout Plain Layout
30533 r
30534 \end_layout
30535
30536 \end_inset
30537 </cell>
30538 </row>
30539 </lyxtabular>
30540
30541 \end_inset
30542
30543
30544 \begin_inset ERT
30545 status collapsed
30546
30547 \begin_layout Plain Layout
30548
30549 }}}
30550 \end_layout
30551
30552 \end_inset
30553
30554
30555 \begin_inset ERT
30556 status collapsed
30557
30558 \begin_layout Plain Layout
30559
30560
30561 \backslash
30562 rotatebox[origin=c]{-45}{
30563 \backslash
30564 resizebox{2cm}{!}{
30565 \backslash
30566 reflectbox{
30567 \end_layout
30568
30569 \end_inset
30570
30571
30572 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30573 \end_inset
30574
30575
30576 \begin_inset ERT
30577 status collapsed
30578
30579 \begin_layout Plain Layout
30580
30581 }}}
30582 \end_layout
30583
30584 \end_inset
30585
30586
30587 \end_layout
30588
30589 \begin_layout Standard
30590 When the global formula style 
30591 \series bold
30592 fleqn
30593 \series default
30594  is used in the document
30595 \begin_inset Foot
30596 status collapsed
30597
30598 \begin_layout Plain Layout
30599 When 
30600 \begin_inset Quotes eld
30601 \end_inset
30602
30603 fleqn
30604 \begin_inset Quotes erd
30605 \end_inset
30606
30607  is added to the document class options.
30608 \end_layout
30609
30610 \end_inset
30611
30612 , also display formulas can be scaled.
30613 \end_layout
30614
30615 \begin_layout Chapter
30616 External Stuff
30617 \begin_inset Index
30618 status collapsed
30619
30620 \begin_layout Plain Layout
30621 External Stuff
30622 \end_layout
30623
30624 \end_inset
30625
30626
30627 \end_layout
30628
30629 \begin_layout Standard
30630 With the menu 
30631 \family sans
30632 Insert\SpecialChar \menuseparator
30633 File
30634 \family default
30635  you can insert external material to your document.
30636  This can be:
30637 \end_layout
30638
30639 \begin_layout Description
30640 LyX
30641 \begin_inset Space ~
30642 \end_inset
30643
30644 Document Another LyX document; its content is directly inserted to your
30645  document.
30646 \end_layout
30647
30648 \begin_layout Description
30649 Plain
30650 \begin_inset Space ~
30651 \end_inset
30652
30653 Text A text document; every of its text lines is inserted to your document
30654  as own paragraph.
30655 \end_layout
30656
30657 \begin_layout Description
30658 Plain
30659 \begin_inset Space ~
30660 \end_inset
30661
30662 Text,
30663 \begin_inset Space ~
30664 \end_inset
30665
30666 Join
30667 \begin_inset Space ~
30668 \end_inset
30669
30670 Lines A text document; its text lines are inserted as they are.
30671  Empty text lines creates a new paragraph in your document.
30672 \end_layout
30673
30674 \begin_layout Description
30675 External
30676 \begin_inset Space ~
30677 \end_inset
30678
30679 Material Files in various formats.
30680 \end_layout
30681
30682 \begin_layout Description
30683 Child
30684 \begin_inset Space ~
30685 \end_inset
30686
30687 Document LyX or LaTeX-documents.
30688 \end_layout
30689
30690 \begin_layout Section
30691 External Material
30692 \begin_inset Index
30693 status collapsed
30694
30695 \begin_layout Plain Layout
30696 External Stuff ! External Material
30697 \end_layout
30698
30699 \end_inset
30700
30701
30702 \end_layout
30703
30704 \begin_layout Standard
30705 The external material feature allows you to insert files to your document
30706  without converting them previously to a format that can be read by the
30707  document output format because LyX takes care of needed conversions.
30708  This is similar to images that can be inserted in various image formats
30709  to LyX documents.
30710 \end_layout
30711
30712 \begin_layout Standard
30713 External material can be inserted via the 
30714 \family sans
30715 External Material
30716 \family default
30717  dialog that is accessible with the menu 
30718 \family sans
30719 Insert\SpecialChar \menuseparator
30720 File\SpecialChar \menuseparator
30721 External
30722 \begin_inset Space ~
30723 \end_inset
30724
30725 Material
30726 \family default
30727 .
30728  Currently the following file types (
30729 \family sans
30730 Templates
30731 \family default
30732 ) are allowed:
30733 \end_layout
30734
30735 \begin_layout Description
30736 ChessDiagram This template supports chess position diagrams made with the
30737  programas 
30738 \series bold
30739
30740 \begin_inset CommandInset href
30741 LatexCommand href
30742 name "XBoard"
30743 target "http://en.wikipedia.org/wiki/XBoard"
30744
30745 \end_inset
30746
30747
30748 \series default
30749 .
30750 \end_layout
30751
30752 \begin_layout Description
30753 Date This inserts the date in the form 
30754 \emph on
30755 Day-Month-Year
30756 \emph default
30757 .
30758  This is a date inserted as external material: 
30759 \begin_inset External
30760         template Date
30761         filename .
30762
30763 \end_inset
30764
30765
30766 \begin_inset Space ~
30767 \end_inset
30768
30769
30770 \begin_inset Note Note
30771 status open
30772
30773 \begin_layout Plain Layout
30774 Remove the protected space when bug 4398 is fixed!
30775 \end_layout
30776
30777 \end_inset
30778
30779
30780 \begin_inset Newline newline
30781 \end_inset
30782
30783 The date is not shown within LyX, only in the output.
30784  There are two other methods of inserting a date: Via menu 
30785 \family sans
30786 Insert\SpecialChar \menuseparator
30787 Date
30788 \family default
30789  and with the LaTeX command 
30790 \series bold
30791
30792 \backslash
30793 today
30794 \series default
30795  as TeX-Code.
30796  The different methods are compared in Table
30797 \begin_inset Space ~
30798 \end_inset
30799
30800
30801 \begin_inset CommandInset ref
30802 LatexCommand ref
30803 reference "tab:Comparison-of-the"
30804
30805 \end_inset
30806
30807 .
30808 \end_layout
30809
30810 \begin_layout Description
30811 LilyPond This template is used for music notation typeset with the program
30812 \begin_inset Newline linebreak
30813 \end_inset
30814
30815
30816 \series bold
30817
30818 \begin_inset CommandInset href
30819 LatexCommand href
30820 name "LilyPond"
30821 target "http://en.wikipedia.org/wiki/LilyPond"
30822
30823 \end_inset
30824
30825
30826 \series default
30827 .
30828 \end_layout
30829
30830 \begin_layout Description
30831 RasterImage This can be used for bitmap images.
30832  Nearly all popular image formats are supported.
30833  The image can be treated in the 
30834 \family sans
30835 External material
30836 \family default
30837  dialog like the images that are usually included via the 
30838 \family sans
30839 Graphics
30840 \family default
30841  dialog as described in section
30842 \begin_inset Space ~
30843 \end_inset
30844
30845
30846 \begin_inset CommandInset ref
30847 LatexCommand ref
30848 reference "sec:Graphics-Dialog"
30849
30850 \end_inset
30851
30852 .
30853  The difference is that only raster images are allowed, that means that
30854  PDF and EPS-images are not supported.
30855 \end_layout
30856
30857 \begin_layout Description
30858 XFig This template supports images created with the program 
30859 \series bold
30860
30861 \begin_inset CommandInset href
30862 LatexCommand href
30863 name "Xfig"
30864 target "http://en.wikipedia.org/wiki/Xfig"
30865
30866 \end_inset
30867
30868
30869 \series default
30870 .
30871 \end_layout
30872
30873 \begin_layout Standard
30874 \begin_inset Float table
30875 placement h
30876 wide false
30877 sideways false
30878 status open
30879
30880 \begin_layout Plain Layout
30881 \begin_inset Caption
30882
30883 \begin_layout Plain Layout
30884 \begin_inset CommandInset label
30885 LatexCommand label
30886 name "tab:Comparison-of-the"
30887
30888 \end_inset
30889
30890 Comparison of the date input methods.
30891 \end_layout
30892
30893 \end_inset
30894
30895
30896 \end_layout
30897
30898 \begin_layout Plain Layout
30899 \align center
30900 \begin_inset Tabular
30901 <lyxtabular version="3" rows="4" columns="4">
30902 <features>
30903 <column alignment="center" valignment="top" width="0">
30904 <column alignment="center" valignment="top" width="0">
30905 <column alignment="center" valignment="top" width="0">
30906 <column alignment="center" valignment="top" width="0">
30907 <row>
30908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30909 \begin_inset Text
30910
30911 \begin_layout Plain Layout
30912 Document format
30913 \end_layout
30914
30915 \end_inset
30916 </cell>
30917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30918 \begin_inset Text
30919
30920 \begin_layout Plain Layout
30921
30922 \family sans
30923 External Material\SpecialChar \menuseparator
30924 Date
30925 \end_layout
30926
30927 \end_inset
30928 </cell>
30929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30930 \begin_inset Text
30931
30932 \begin_layout Plain Layout
30933
30934 \family sans
30935 Insert\SpecialChar \menuseparator
30936 Date
30937 \end_layout
30938
30939 \end_inset
30940 </cell>
30941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30942 \begin_inset Text
30943
30944 \begin_layout Plain Layout
30945 command 
30946 \series bold
30947
30948 \backslash
30949 today
30950 \end_layout
30951
30952 \end_inset
30953 </cell>
30954 </row>
30955 <row>
30956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30957 \begin_inset Text
30958
30959 \begin_layout Plain Layout
30960 LyX
30961 \end_layout
30962
30963 \end_inset
30964 </cell>
30965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30966 \begin_inset Text
30967
30968 \begin_layout Plain Layout
30969 as inset box
30970 \end_layout
30971
30972 \end_inset
30973 </cell>
30974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30975 \begin_inset Text
30976
30977 \begin_layout Plain Layout
30978 as date
30979 \end_layout
30980
30981 \end_inset
30982 </cell>
30983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30984 \begin_inset Text
30985
30986 \begin_layout Plain Layout
30987 as TeX-Code inset box
30988 \end_layout
30989
30990 \end_inset
30991 </cell>
30992 </row>
30993 <row>
30994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30995 \begin_inset Text
30996
30997 \begin_layout Plain Layout
30998 LaTeX
30999 \end_layout
31000
31001 \end_inset
31002 </cell>
31003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31004 \begin_inset Text
31005
31006 \begin_layout Plain Layout
31007 as date
31008 \end_layout
31009
31010 \end_inset
31011 </cell>
31012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31013 \begin_inset Text
31014
31015 \begin_layout Plain Layout
31016 as date
31017 \end_layout
31018
31019 \end_inset
31020 </cell>
31021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31022 \begin_inset Text
31023
31024 \begin_layout Plain Layout
31025 as command
31026 \end_layout
31027
31028 \end_inset
31029 </cell>
31030 </row>
31031 <row>
31032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31033 \begin_inset Text
31034
31035 \begin_layout Plain Layout
31036 DVI, PDF, PS
31037 \end_layout
31038
31039 \end_inset
31040 </cell>
31041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31042 \begin_inset Text
31043
31044 \begin_layout Plain Layout
31045 as date
31046 \end_layout
31047
31048 \end_inset
31049 </cell>
31050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31051 \begin_inset Text
31052
31053 \begin_layout Plain Layout
31054 as date
31055 \end_layout
31056
31057 \end_inset
31058 </cell>
31059 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31060 \begin_inset Text
31061
31062 \begin_layout Plain Layout
31063 as date
31064 \end_layout
31065
31066 \end_inset
31067 </cell>
31068 </row>
31069 </lyxtabular>
31070
31071 \end_inset
31072
31073
31074 \end_layout
31075
31076 \end_inset
31077
31078
31079 \end_layout
31080
31081 \begin_layout Standard
31082 When you use the option 
31083 \family sans
31084 Draft
31085 \family default
31086  in the 
31087 \family sans
31088 File
31089 \family default
31090  tab of the 
31091 \family sans
31092 External Material
31093 \family default
31094  dialog, only the path to the inserted file is shown in the output.
31095 \begin_inset Newline newline
31096 \end_inset
31097
31098 External material is displayed in LyX either as box like this: 
31099 \begin_inset Graphics
31100         filename clipart/ExternalMaterialQt4.png
31101         scale 85
31102         scaleBeforeRotation
31103
31104 \end_inset
31105
31106  or as image, depending on the setting in the 
31107 \family sans
31108 LyX
31109 \begin_inset Space ~
31110 \end_inset
31111
31112 View
31113 \family default
31114  tab of the 
31115 \family sans
31116 External Material
31117 \family default
31118  dialog.
31119 \end_layout
31120
31121 \begin_layout Standard
31122 The 
31123 \family sans
31124 \emph on
31125 Customization
31126 \family default
31127 \emph default
31128  manual explains how you can define your own templates.
31129 \end_layout
31130
31131 \begin_layout Section
31132 Child Documents
31133 \begin_inset CommandInset label
31134 LatexCommand label
31135 name "sec:Child-Documents"
31136
31137 \end_inset
31138
31139
31140 \begin_inset Index
31141 status collapsed
31142
31143 \begin_layout Plain Layout
31144 External Stuff ! Child Documents
31145 \end_layout
31146
31147 \end_inset
31148
31149
31150 \begin_inset Index
31151 status collapsed
31152
31153 \begin_layout Plain Layout
31154 Files ! Include
31155 \end_layout
31156
31157 \end_inset
31158
31159
31160 \end_layout
31161
31162 \begin_layout Standard
31163 Child documents are used when you have a long document consisting of several
31164  larger parts or sections.
31165  For maintenance it is often useful and sometimes even required to split
31166  the document in several files that can be revised separately.
31167  The different documents are then the so called child documents and a master
31168  document connects them to print the full document or parts of it.
31169 \end_layout
31170
31171 \begin_layout Standard
31172 Included documents are displayed in LyX as a box like this: 
31173 \begin_inset Graphics
31174         filename clipart/ChildDocumentQt4.png
31175         scale 85
31176         scaleBeforeRotation
31177
31178 \end_inset
31179
31180  To include child documents to a master document use the menu 
31181 \family sans
31182 Insert\SpecialChar \menuseparator
31183 File\SpecialChar \menuseparator
31184 Child
31185 \begin_inset Space ~
31186 \end_inset
31187
31188 Documents
31189 \family default
31190 .
31191  A dialog pops up where you can choose between four include methods:
31192 \end_layout
31193
31194 \begin_layout Description
31195 Include You can include LyX and LaTeX-documents.
31196  When you press the 
31197 \family sans
31198 Load
31199 \family default
31200  button in the 
31201 \family sans
31202 Child Document
31203 \family default
31204  dialog, the included documents will be opened in LyX in a new file tab
31205  so that you can modify it.
31206 \begin_inset Newline newline
31207 \end_inset
31208
31209
31210 \end_layout
31211
31212 \begin_layout Standard
31213 Here is a child document inserted using 
31214 \family sans
31215 Include
31216 \family default
31217
31218 \begin_inset CommandInset include
31219 LatexCommand include
31220 filename "DummyDocument1.lyx"
31221
31222 \end_inset
31223
31224
31225 \end_layout
31226
31227 \begin_layout Standard
31228 The section numbering includes the sections of the included files in the
31229  order they are inserted in the master document.
31230  The included example document has for example a subsection that is numbered
31231  as subsection of this section.
31232  Labels of included documents can be referenced: Subsection
31233 \begin_inset Space ~
31234 \end_inset
31235
31236
31237 \begin_inset CommandInset ref
31238 LatexCommand ref
31239 reference "sub:External-Subsection-1"
31240
31241 \end_inset
31242
31243
31244 \end_layout
31245
31246 \begin_layout Standard
31247 The preamble of the child document is ignored, only the preamble of the
31248  master document is used.
31249  Included documents are inserted starting on a new page and end with a page
31250  break.
31251 \end_layout
31252
31253 \begin_layout Standard
31254 With the LaTeX-command 
31255 \series bold
31256
31257 \backslash
31258 includeonly 
31259 \series default
31260 you can specify which included child documents are processed when the output
31261  is generated.
31262  This is useful when you are perhaps only working on a certain chapter of
31263  your large document as this saves compiling time.
31264  
31265 \series bold
31266
31267 \backslash
31268 includeonly
31269 \series default
31270  is inserted to the master document preamble.
31271  It takes a comma-separated list of the filenames as argument, e.g.
31272 \end_layout
31273
31274 \begin_layout Standard
31275
31276 \series bold
31277
31278 \backslash
31279 includeonly{chapter1,chapter5}
31280 \end_layout
31281
31282 \begin_layout Standard
31283 will only process the included files named 
31284 \begin_inset Quotes eld
31285 \end_inset
31286
31287 chapter1.lyx
31288 \begin_inset Quotes erd
31289 \end_inset
31290
31291  (or 
31292 \begin_inset Quotes eld
31293 \end_inset
31294
31295 chapter1.tex
31296 \begin_inset Quotes erd
31297 \end_inset
31298
31299 ) and 
31300 \begin_inset Quotes eld
31301 \end_inset
31302
31303 chapter5.lyx
31304 \begin_inset Quotes erd
31305 \end_inset
31306
31307  .
31308 \end_layout
31309
31310 \begin_layout Standard
31311 \begin_inset Note Greyedout
31312 status open
31313
31314 \begin_layout Plain Layout
31315
31316 \series bold
31317 Note:
31318 \series default
31319  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31320 w the document in case that the child document uses another document class
31321  than the master document as this will lead to unexpected outputs.
31322 \end_layout
31323
31324 \end_inset
31325
31326
31327 \end_layout
31328
31329 \begin_layout Description
31330 Input This method is very similar to the Include method.
31331  The differences are:
31332 \end_layout
31333
31334 \begin_deeper
31335 \begin_layout Itemize
31336 Input files don't start with a new page and don't end with a page break.
31337 \end_layout
31338
31339 \begin_layout Itemize
31340 Input files can be previewed in LyX when 
31341 \family sans
31342 Instant
31343 \begin_inset Space ~
31344 \end_inset
31345
31346 Preview
31347 \family default
31348  is enabled in LyX's preferences under 
31349 \family sans
31350 Look
31351 \begin_inset Space ~
31352 \end_inset
31353
31354 and
31355 \begin_inset Space ~
31356 \end_inset
31357
31358 feel\SpecialChar \menuseparator
31359 Graphics
31360 \family default
31361 .
31362 \end_layout
31363
31364 \begin_layout Itemize
31365 The LaTeX-command 
31366 \series bold
31367
31368 \backslash
31369 includeonly
31370 \series default
31371  cannot be used.
31372 \end_layout
31373
31374 \end_deeper
31375 \begin_layout Standard
31376 Here is a child document inserted using 
31377 \family sans
31378 Input
31379 \family default
31380
31381 \begin_inset CommandInset include
31382 LatexCommand input
31383 filename "DummyDocument2.lyx"
31384
31385 \end_inset
31386
31387
31388 \end_layout
31389
31390 \begin_layout Description
31391 Verbatim With this method every text file can be included.
31392  The file is shown in the output with its source code, no command used in
31393  the text is invoked.
31394  You can use the option 
31395 \family sans
31396 Mark spaces in output
31397 \family default
31398  that displays the character 
31399 \begin_inset Quotes eld
31400 \end_inset
31401
31402
31403 \begin_inset ERT
31404 status collapsed
31405
31406 \begin_layout Plain Layout
31407
31408
31409 \backslash
31410 textvisiblespace 
31411 \end_layout
31412
31413 \end_inset
31414
31415
31416 \begin_inset Quotes erd
31417 \end_inset
31418
31419  for every space character in the source code.
31420  The difference to the method via the menu 
31421 \family sans
31422 Insert\SpecialChar \menuseparator
31423 File\SpecialChar \menuseparator
31424 Plain
31425 \begin_inset Space ~
31426 \end_inset
31427
31428 Text
31429 \family default
31430  is that the document content is not shown in LyX.
31431 \end_layout
31432
31433 \begin_layout Standard
31434 Here is a child document inserted as Verbatim: 
31435 \begin_inset CommandInset include
31436 LatexCommand verbatiminput
31437 filename "DummyTextDocument.txt"
31438
31439 \end_inset
31440
31441
31442 \begin_inset VSpace bigskip
31443 \end_inset
31444
31445 Here is a child document inserted as Verbatim using the 
31446 \family sans
31447 Mark spaces in output
31448 \family default
31449  option: 
31450 \begin_inset CommandInset include
31451 LatexCommand verbatiminput*
31452 filename "DummyTextDocument.txt"
31453
31454 \end_inset
31455
31456
31457 \end_layout
31458
31459 \begin_layout Standard
31460 \begin_inset VSpace bigskip
31461 \end_inset
31462
31463
31464 \end_layout
31465
31466 \begin_layout Standard
31467 \begin_inset Note Greyedout
31468 status open
31469
31470 \begin_layout Plain Layout
31471
31472 \series bold
31473 Note:
31474 \series default
31475  As you can see in the examples above, the text of the documents included
31476  as 
31477 \family sans
31478 verbatim
31479 \family default
31480  is not broken at the end of the document lines.
31481 \end_layout
31482
31483 \end_inset
31484
31485
31486 \end_layout
31487
31488 \begin_layout Description
31489 Listings This type is described in chapter
31490 \begin_inset Space ~
31491 \end_inset
31492
31493
31494 \begin_inset CommandInset ref
31495 LatexCommand ref
31496 reference "cha:Program-Code-Listings"
31497
31498 \end_inset
31499
31500 .
31501 \end_layout
31502
31503 \begin_layout Standard
31504 \begin_inset Note Greyedout
31505 status open
31506
31507 \begin_layout Plain Layout
31508
31509 \series bold
31510 Note:
31511 \series default
31512  Including the same document twice in a document using different methods
31513  could cause LaTeX-problems.
31514 \end_layout
31515
31516 \end_inset
31517
31518
31519 \end_layout
31520
31521 \begin_layout Chapter
31522 Program Code Listings
31523 \begin_inset CommandInset label
31524 LatexCommand label
31525 name "cha:Program-Code-Listings"
31526
31527 \end_inset
31528
31529
31530 \begin_inset Index
31531 status collapsed
31532
31533 \begin_layout Plain Layout
31534 Listings
31535 \end_layout
31536
31537 \end_inset
31538
31539
31540 \begin_inset Index
31541 status collapsed
31542
31543 \begin_layout Plain Layout
31544 Program Code
31545 \end_layout
31546
31547 \end_inset
31548
31549
31550 \begin_inset Index
31551 status collapsed
31552
31553 \begin_layout Plain Layout
31554 Floats ! Listings
31555 \end_layout
31556
31557 \end_inset
31558
31559
31560 \end_layout
31561
31562 \begin_layout Standard
31563 To include and typeset program code you can use the 
31564 \family sans
31565 Listings
31566 \family default
31567  inset that can be inserted via the menu 
31568 \family sans
31569 Insert\SpecialChar \menuseparator
31570 Program Listing
31571 \family default
31572 .
31573  The LaTeX-package 
31574 \series bold
31575 listings
31576 \series default
31577
31578 \begin_inset Index
31579 status collapsed
31580
31581 \begin_layout Plain Layout
31582 LaTeX-packages ! listings
31583 \end_layout
31584
31585 \end_inset
31586
31587  provides a powerful and flexible way to insert program source code to your
31588  document.
31589 \end_layout
31590
31591 \begin_layout Standard
31592 When right-clicking on a listings inset a dialog pops up where you can set
31593  the listings format.
31594 \end_layout
31595
31596 \begin_layout Standard
31597 By default, a listing starts a new paragraph in the output.
31598  The placement option 
31599 \family sans
31600 Inline
31601 \begin_inset Space ~
31602 \end_inset
31603
31604 listing
31605 \family default
31606  prints the listing inline like this: 
31607 \begin_inset listings
31608 lstparams "language={C++}"
31609 inline true
31610 status open
31611
31612 \begin_layout Plain Layout
31613 int a=5;
31614 \end_layout
31615
31616 \end_inset
31617
31618
31619 \begin_inset Newline newline
31620 \end_inset
31621
31622 The option 
31623 \family sans
31624 Float
31625 \family default
31626  creates a listings float where you can specify the placement options 
31627 \begin_inset Quotes eld
31628 \end_inset
31629
31630
31631 \family sans
31632 h
31633 \family default
31634
31635 \begin_inset Quotes erd
31636 \end_inset
31637
31638
31639 \begin_inset Quotes eld
31640 \end_inset
31641
31642
31643 \family sans
31644 t
31645 \family default
31646
31647 \begin_inset Quotes erd
31648 \end_inset
31649
31650
31651 \begin_inset Quotes eld
31652 \end_inset
31653
31654
31655 \family sans
31656 b
31657 \family default
31658
31659 \begin_inset Quotes erd
31660 \end_inset
31661
31662 , and 
31663 \begin_inset Quotes eld
31664 \end_inset
31665
31666
31667 \family sans
31668 p
31669 \family default
31670
31671 \begin_inset Quotes erd
31672 \end_inset
31673
31674  corresponding to the float placement options described in section
31675 \begin_inset Space ~
31676 \end_inset
31677
31678
31679 \begin_inset CommandInset ref
31680 LatexCommand ref
31681 reference "sec:Float-Placement"
31682
31683 \end_inset
31684
31685 .
31686  The placement options can be mixed and are inserted without any separation,
31687  e.
31688 \begin_inset Space \thinspace{}
31689 \end_inset
31690
31691 g.
31692 \begin_inset Space ~
31693 \end_inset
31694
31695
31696 \begin_inset Quotes eld
31697 \end_inset
31698
31699
31700 \family sans
31701 htbp
31702 \family default
31703
31704 \begin_inset Quotes erd
31705 \end_inset
31706
31707 .
31708  The option 
31709 \begin_inset Quotes eld
31710 \end_inset
31711
31712 h
31713 \begin_inset Quotes erd
31714 \end_inset
31715
31716  has sometimes no effect, but you don't need to use the 
31717 \family sans
31718 Float
31719 \family default
31720  option in this case as also non-float listings can have captions and be
31721  referenced.
31722 \end_layout
31723
31724 \begin_layout Standard
31725 You can add captions to listings with the menu 
31726 \family sans
31727 Insert\SpecialChar \menuseparator
31728 Caption
31729 \family default
31730 .
31731  Listings can be referenced like floats: Listing
31732 \begin_inset Space ~
31733 \end_inset
31734
31735
31736 \begin_inset CommandInset ref
31737 LatexCommand ref
31738 reference "lst:Example-Listing"
31739
31740 \end_inset
31741
31742
31743 \end_layout
31744
31745 \begin_layout Standard
31746 \begin_inset listings
31747 lstparams "language=Python"
31748 inline false
31749 status open
31750
31751 \begin_layout Plain Layout
31752 \begin_inset Caption
31753
31754 \begin_layout Plain Layout
31755 \begin_inset CommandInset label
31756 LatexCommand label
31757 name "lst:Example-Listing"
31758
31759 \end_inset
31760
31761 Example Listing float
31762 \end_layout
31763
31764 \end_inset
31765
31766 # Example listing float
31767 \end_layout
31768
31769 \begin_layout Plain Layout
31770 def func(param):
31771 \end_layout
31772
31773 \begin_layout Plain Layout
31774     'this is a python function'
31775 \end_layout
31776
31777 \begin_layout Plain Layout
31778     pass
31779 \end_layout
31780
31781 \end_inset
31782
31783
31784 \end_layout
31785
31786 \begin_layout Standard
31787 When you have set a programming language in the listings dialog, the keywords
31788  of this language will be recognized and specially typeset in the output.
31789  In the example listings the Python keyword 
31790 \begin_inset Quotes eld
31791 \end_inset
31792
31793 def
31794 \begin_inset Quotes erd
31795 \end_inset
31796
31797  is recognized and printed bold in the output.
31798 \end_layout
31799
31800 \begin_layout Standard
31801 \begin_inset Note Greyedout
31802 status open
31803
31804 \begin_layout Plain Layout
31805
31806 \series bold
31807 Note:
31808 \series default
31809  If you don't get bold keywords when using typewriter fonts, your typewriter
31810  font probably doesn't provide a bold shape.
31811  In this case select a different one in the menu 
31812 \family sans
31813 Document\SpecialChar \menuseparator
31814 Settings\SpecialChar \menuseparator
31815 Fonts
31816 \family default
31817 .
31818  (The fonts 
31819 \emph on
31820 LuxiMono, BeraMono
31821 \emph default
31822  and 
31823 \emph on
31824 Courier
31825 \emph default
31826  provide bold shapes.)
31827 \end_layout
31828
31829 \end_inset
31830
31831
31832 \end_layout
31833
31834 \begin_layout Standard
31835 In section 
31836 \family sans
31837 Line
31838 \begin_inset Space ~
31839 \end_inset
31840
31841 numbering
31842 \family default
31843  of the listings dialog you can specify the line numbering style.
31844  You can insert a number to specify which lines are numbered to the field
31845  
31846 \family sans
31847 Step
31848 \family default
31849 .
31850  When you insert e.g.
31851  
31852 \begin_inset Quotes eld
31853 \end_inset
31854
31855 3
31856 \begin_inset Quotes erd
31857 \end_inset
31858
31859 , only every 3rd line will be numbered.
31860 \end_layout
31861
31862 \begin_layout Standard
31863 You can furthermore specify a range of lines, only these will then appear
31864  in the output.
31865  The option 
31866 \family sans
31867 Extended
31868 \begin_inset Space ~
31869 \end_inset
31870
31871 chars
31872 \family default
31873  should be used when you use national characters like the German umlauts
31874  in the listing.
31875 \begin_inset Newline newline
31876 \end_inset
31877
31878 Here is an example listing with left line numbering, step 
31879 \begin_inset Quotes eld
31880 \end_inset
31881
31882 3
31883 \begin_inset Quotes erd
31884 \end_inset
31885
31886 , language 
31887 \begin_inset Quotes eld
31888 \end_inset
31889
31890 Python
31891 \begin_inset Quotes erd
31892 \end_inset
31893
31894 , options 
31895 \begin_inset Quotes eld
31896 \end_inset
31897
31898 Extended
31899 \begin_inset Space ~
31900 \end_inset
31901
31902 chars
31903 \begin_inset Quotes erd
31904 \end_inset
31905
31906  and 
31907 \begin_inset Quotes eld
31908 \end_inset
31909
31910 Space
31911 \begin_inset Space ~
31912 \end_inset
31913
31914 as
31915 \begin_inset Space ~
31916 \end_inset
31917
31918 Symbol
31919 \begin_inset Quotes erd
31920 \end_inset
31921
31922 , range lines 3
31923 \begin_inset Space \thinspace{}
31924 \end_inset
31925
31926 -
31927 \begin_inset Space \thinspace{}
31928 \end_inset
31929
31930 8:
31931 \end_layout
31932
31933 \begin_layout Standard
31934 \begin_inset listings
31935 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
31936 inline false
31937 status open
31938
31939 \begin_layout Plain Layout
31940 def func(param):
31941 \end_layout
31942
31943 \begin_layout Plain Layout
31944     'this is a python function'
31945 \end_layout
31946
31947 \begin_layout Plain Layout
31948     pass
31949 \end_layout
31950
31951 \begin_layout Plain Layout
31952 def func(param):
31953 \end_layout
31954
31955 \begin_layout Plain Layout
31956 'This is a German word: Tschüß'
31957 \end_layout
31958
31959 \begin_layout Plain Layout
31960 pass
31961 \end_layout
31962
31963 \begin_layout Plain Layout
31964 def func(param):
31965 \end_layout
31966
31967 \begin_layout Plain Layout
31968 'this is a python function'
31969 \end_layout
31970
31971 \begin_layout Plain Layout
31972 pass
31973 \end_layout
31974
31975 \end_inset
31976
31977
31978 \end_layout
31979
31980 \begin_layout Standard
31981 \begin_inset Note Greyedout
31982 status open
31983
31984 \begin_layout Plain Layout
31985
31986 \series bold
31987 Note:
31988 \series default
31989  Due to a bug in the 
31990 \series bold
31991 listings
31992 \series default
31993  package the line numbering is shifted by a line by every previous listing.
31994  That's the reason why the lines 2 and 5 are numbered in the above listing
31995  and not the lines 3 and 6.
31996 \end_layout
31997
31998 \end_inset
31999
32000
32001 \end_layout
32002
32003 \begin_layout Standard
32004 \begin_inset VSpace bigskip
32005 \end_inset
32006
32007
32008 \end_layout
32009
32010 \begin_layout Standard
32011 It is also possible to print lines from a file as listing.
32012  To do this, use the menu 
32013 \family sans
32014 Insert\SpecialChar \menuseparator
32015 File\SpecialChar \menuseparator
32016 Child Document
32017 \family default
32018  and choose the type 
32019 \family sans
32020 Listings
32021 \family default
32022 .
32023 \begin_inset Foot
32024 status collapsed
32025
32026 \begin_layout Plain Layout
32027 The other child document types are described in section
32028 \begin_inset Space ~
32029 \end_inset
32030
32031
32032 \begin_inset CommandInset ref
32033 LatexCommand ref
32034 reference "sec:Child-Documents"
32035
32036 \end_inset
32037
32038 .
32039 \end_layout
32040
32041 \end_inset
32042
32043  In the child document dialog you can specify the listing parameters in
32044  a text box.
32045  To show a list of all available parameters, type in a question mark 
32046 \begin_inset Quotes eld
32047 \end_inset
32048
32049 ?
32050 \begin_inset Quotes erd
32051 \end_inset
32052
32053  in the text box.
32054 \end_layout
32055
32056 \begin_layout Standard
32057 To reference child document listings, write a label text into the corresponding
32058  field of the child document dialog.
32059  The label can then be referenced using the menu 
32060 \family sans
32061 Insert\SpecialChar \menuseparator
32062 Cross-Reference
32063 \family default
32064 .
32065 \end_layout
32066
32067 \begin_layout Standard
32068 Listing
32069 \begin_inset Space ~
32070 \end_inset
32071
32072
32073 \begin_inset CommandInset ref
32074 LatexCommand ref
32075 reference "lst:file-listing"
32076
32077 \end_inset
32078
32079  is an example for a listing of a file; there the lines 10
32080 \begin_inset Space \thinspace{}
32081 \end_inset
32082
32083 -
32084 \begin_inset Space \thinspace{}
32085 \end_inset
32086
32087 15 of this LyX file are listed.
32088 \end_layout
32089
32090 \begin_layout Standard
32091 \begin_inset CommandInset include
32092 LatexCommand lstinputlisting
32093 filename "EmbeddedObjects.lyx"
32094 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32095
32096 \end_inset
32097
32098
32099 \end_layout
32100
32101 \begin_layout Standard
32102 \begin_inset VSpace bigskip
32103 \end_inset
32104
32105
32106 \end_layout
32107
32108 \begin_layout Standard
32109 Global listings settings can be set in the 
32110 \family sans
32111 Document\SpecialChar \menuseparator
32112 Settings\SpecialChar \menuseparator
32113 Text Layout
32114 \family default
32115  dialog.
32116  To get there a list of available options, type in a question mark 
32117 \begin_inset Quotes eld
32118 \end_inset
32119
32120 ?
32121 \begin_inset Quotes erd
32122 \end_inset
32123
32124  in the 
32125 \family sans
32126 Listings
32127 \begin_inset Space ~
32128 \end_inset
32129
32130 settings
32131 \family default
32132  field.
32133 \end_layout
32134
32135 \begin_layout Standard
32136 For more information about the 
32137 \series bold
32138 listings
32139 \series default
32140  package, we refer to its documentation 
32141 \begin_inset CommandInset citation
32142 LatexCommand cite
32143 key "listings"
32144
32145 \end_inset
32146
32147 .
32148 \end_layout
32149
32150 \begin_layout Standard
32151 \begin_inset Newpage newpage
32152 \end_inset
32153
32154
32155 \end_layout
32156
32157 \begin_layout Chapter
32158 \start_of_appendix
32159 Units available in LyX
32160 \begin_inset Index
32161 status collapsed
32162
32163 \begin_layout Plain Layout
32164 Units
32165 \end_layout
32166
32167 \end_inset
32168
32169
32170 \begin_inset CommandInset label
32171 LatexCommand label
32172 name "cha:Units-available-in"
32173
32174 \end_inset
32175
32176
32177 \end_layout
32178
32179 \begin_layout Standard
32180 To understand the units described in this documentation, Table
32181 \begin_inset Space ~
32182 \end_inset
32183
32184
32185 \begin_inset CommandInset ref
32186 LatexCommand ref
32187 reference "tab:Units"
32188
32189 \end_inset
32190
32191  explains all units available in LyX.
32192 \end_layout
32193
32194 \begin_layout Standard
32195 \begin_inset Float table
32196 placement h
32197 wide false
32198 sideways false
32199 status open
32200
32201 \begin_layout Plain Layout
32202 \begin_inset Caption
32203
32204 \begin_layout Plain Layout
32205 \begin_inset CommandInset label
32206 LatexCommand label
32207 name "tab:Units"
32208
32209 \end_inset
32210
32211 Units
32212 \end_layout
32213
32214 \end_inset
32215
32216
32217 \end_layout
32218
32219 \begin_layout Plain Layout
32220 \begin_inset VSpace medskip
32221 \end_inset
32222
32223
32224 \end_layout
32225
32226 \begin_layout Plain Layout
32227 \align center
32228 \begin_inset Tabular
32229 <lyxtabular version="3" rows="20" columns="2">
32230 <features>
32231 <column alignment="center" valignment="top" width="0">
32232 <column alignment="center" valignment="top" width="0">
32233 <row>
32234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32235 \begin_inset Text
32236
32237 \begin_layout Plain Layout
32238 unit
32239 \end_layout
32240
32241 \end_inset
32242 </cell>
32243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32244 \begin_inset Text
32245
32246 \begin_layout Plain Layout
32247 name/description
32248 \end_layout
32249
32250 \end_inset
32251 </cell>
32252 </row>
32253 <row>
32254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32255 \begin_inset Text
32256
32257 \begin_layout Plain Layout
32258 mm
32259 \end_layout
32260
32261 \end_inset
32262 </cell>
32263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32264 \begin_inset Text
32265
32266 \begin_layout Plain Layout
32267 millimeter
32268 \end_layout
32269
32270 \end_inset
32271 </cell>
32272 </row>
32273 <row>
32274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32275 \begin_inset Text
32276
32277 \begin_layout Plain Layout
32278 cm
32279 \end_layout
32280
32281 \end_inset
32282 </cell>
32283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32284 \begin_inset Text
32285
32286 \begin_layout Plain Layout
32287 centimeter
32288 \end_layout
32289
32290 \end_inset
32291 </cell>
32292 </row>
32293 <row>
32294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32295 \begin_inset Text
32296
32297 \begin_layout Plain Layout
32298 in
32299 \end_layout
32300
32301 \end_inset
32302 </cell>
32303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32304 \begin_inset Text
32305
32306 \begin_layout Plain Layout
32307 inch
32308 \end_layout
32309
32310 \end_inset
32311 </cell>
32312 </row>
32313 <row>
32314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32315 \begin_inset Text
32316
32317 \begin_layout Plain Layout
32318 pt
32319 \end_layout
32320
32321 \end_inset
32322 </cell>
32323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32324 \begin_inset Text
32325
32326 \begin_layout Plain Layout
32327 point (72.27
32328 \begin_inset Space \thinspace{}
32329 \end_inset
32330
32331 pt = 1
32332 \begin_inset Space \thinspace{}
32333 \end_inset
32334
32335 in)
32336 \end_layout
32337
32338 \end_inset
32339 </cell>
32340 </row>
32341 <row>
32342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32343 \begin_inset Text
32344
32345 \begin_layout Plain Layout
32346 pc
32347 \end_layout
32348
32349 \end_inset
32350 </cell>
32351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32352 \begin_inset Text
32353
32354 \begin_layout Plain Layout
32355 pica (1
32356 \begin_inset Space \thinspace{}
32357 \end_inset
32358
32359 pc = 12
32360 \begin_inset Space \thinspace{}
32361 \end_inset
32362
32363 pt)
32364 \end_layout
32365
32366 \end_inset
32367 </cell>
32368 </row>
32369 <row>
32370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32371 \begin_inset Text
32372
32373 \begin_layout Plain Layout
32374 sp
32375 \end_layout
32376
32377 \end_inset
32378 </cell>
32379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32380 \begin_inset Text
32381
32382 \begin_layout Plain Layout
32383 scaled point (65536
32384 \begin_inset Space \thinspace{}
32385 \end_inset
32386
32387 sp = 1
32388 \begin_inset Space \thinspace{}
32389 \end_inset
32390
32391 pt)
32392 \end_layout
32393
32394 \end_inset
32395 </cell>
32396 </row>
32397 <row>
32398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32399 \begin_inset Text
32400
32401 \begin_layout Plain Layout
32402 bp
32403 \end_layout
32404
32405 \end_inset
32406 </cell>
32407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32408 \begin_inset Text
32409
32410 \begin_layout Plain Layout
32411 big point (72
32412 \begin_inset Space \thinspace{}
32413 \end_inset
32414
32415 bp = 1
32416 \begin_inset Space \thinspace{}
32417 \end_inset
32418
32419 in)
32420 \end_layout
32421
32422 \end_inset
32423 </cell>
32424 </row>
32425 <row>
32426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32427 \begin_inset Text
32428
32429 \begin_layout Plain Layout
32430 dd
32431 \end_layout
32432
32433 \end_inset
32434 </cell>
32435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32436 \begin_inset Text
32437
32438 \begin_layout Plain Layout
32439 didot (1
32440 \begin_inset Space \thinspace{}
32441 \end_inset
32442
32443 dd 
32444 \begin_inset Formula $\approx$
32445 \end_inset
32446
32447  0.376
32448 \begin_inset Space \thinspace{}
32449 \end_inset
32450
32451 mm)
32452 \end_layout
32453
32454 \end_inset
32455 </cell>
32456 </row>
32457 <row>
32458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32459 \begin_inset Text
32460
32461 \begin_layout Plain Layout
32462 cc
32463 \end_layout
32464
32465 \end_inset
32466 </cell>
32467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32468 \begin_inset Text
32469
32470 \begin_layout Plain Layout
32471 cicero (1
32472 \begin_inset Space \thinspace{}
32473 \end_inset
32474
32475 cc = 12
32476 \begin_inset Space \thinspace{}
32477 \end_inset
32478
32479 dd)
32480 \end_layout
32481
32482 \end_inset
32483 </cell>
32484 </row>
32485 <row>
32486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32487 \begin_inset Text
32488
32489 \begin_layout Plain Layout
32490 Scale%
32491 \end_layout
32492
32493 \end_inset
32494 </cell>
32495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32496 \begin_inset Text
32497
32498 \begin_layout Plain Layout
32499 % of original image width
32500 \end_layout
32501
32502 \end_inset
32503 </cell>
32504 </row>
32505 <row>
32506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32507 \begin_inset Text
32508
32509 \begin_layout Plain Layout
32510 text%
32511 \end_layout
32512
32513 \end_inset
32514 </cell>
32515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32516 \begin_inset Text
32517
32518 \begin_layout Plain Layout
32519 % of text width
32520 \end_layout
32521
32522 \end_inset
32523 </cell>
32524 </row>
32525 <row>
32526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32527 \begin_inset Text
32528
32529 \begin_layout Plain Layout
32530 col%
32531 \end_layout
32532
32533 \end_inset
32534 </cell>
32535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32536 \begin_inset Text
32537
32538 \begin_layout Plain Layout
32539 % of column width
32540 \end_layout
32541
32542 \end_inset
32543 </cell>
32544 </row>
32545 <row>
32546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32547 \begin_inset Text
32548
32549 \begin_layout Plain Layout
32550 page%
32551 \end_layout
32552
32553 \end_inset
32554 </cell>
32555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32556 \begin_inset Text
32557
32558 \begin_layout Plain Layout
32559 % of paper width
32560 \end_layout
32561
32562 \end_inset
32563 </cell>
32564 </row>
32565 <row>
32566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32567 \begin_inset Text
32568
32569 \begin_layout Plain Layout
32570 line%
32571 \end_layout
32572
32573 \end_inset
32574 </cell>
32575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32576 \begin_inset Text
32577
32578 \begin_layout Plain Layout
32579 % of line width
32580 \end_layout
32581
32582 \end_inset
32583 </cell>
32584 </row>
32585 <row>
32586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32587 \begin_inset Text
32588
32589 \begin_layout Plain Layout
32590 theight%
32591 \end_layout
32592
32593 \end_inset
32594 </cell>
32595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32596 \begin_inset Text
32597
32598 \begin_layout Plain Layout
32599 % of text height
32600 \end_layout
32601
32602 \end_inset
32603 </cell>
32604 </row>
32605 <row>
32606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32607 \begin_inset Text
32608
32609 \begin_layout Plain Layout
32610 pheight%
32611 \end_layout
32612
32613 \end_inset
32614 </cell>
32615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32616 \begin_inset Text
32617
32618 \begin_layout Plain Layout
32619 % of paper height
32620 \end_layout
32621
32622 \end_inset
32623 </cell>
32624 </row>
32625 <row>
32626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32627 \begin_inset Text
32628
32629 \begin_layout Plain Layout
32630 ex
32631 \end_layout
32632
32633 \end_inset
32634 </cell>
32635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32636 \begin_inset Text
32637
32638 \begin_layout Plain Layout
32639 height of letter 
32640 \emph on
32641 x
32642 \emph default
32643  in current font
32644 \end_layout
32645
32646 \end_inset
32647 </cell>
32648 </row>
32649 <row>
32650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32651 \begin_inset Text
32652
32653 \begin_layout Plain Layout
32654 em
32655 \end_layout
32656
32657 \end_inset
32658 </cell>
32659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32660 \begin_inset Text
32661
32662 \begin_layout Plain Layout
32663 width of letter 
32664 \emph on
32665 M
32666 \emph default
32667  in current font
32668 \end_layout
32669
32670 \end_inset
32671 </cell>
32672 </row>
32673 <row>
32674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32675 \begin_inset Text
32676
32677 \begin_layout Plain Layout
32678 mu
32679 \end_layout
32680
32681 \end_inset
32682 </cell>
32683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32684 \begin_inset Text
32685
32686 \begin_layout Plain Layout
32687 math unit (1
32688 \begin_inset Space \thinspace{}
32689 \end_inset
32690
32691 mu = 1/18
32692 \begin_inset Space \thinspace{}
32693 \end_inset
32694
32695 em)
32696 \end_layout
32697
32698 \end_inset
32699 </cell>
32700 </row>
32701 </lyxtabular>
32702
32703 \end_inset
32704
32705
32706 \end_layout
32707
32708 \end_inset
32709
32710
32711 \end_layout
32712
32713 \begin_layout Chapter
32714 Output File Formats with Graphics
32715 \begin_inset CommandInset label
32716 LatexCommand label
32717 name "cha:Output-File-Formats"
32718
32719 \end_inset
32720
32721
32722 \end_layout
32723
32724 \begin_layout Section
32725 DVI
32726 \begin_inset Index
32727 status collapsed
32728
32729 \begin_layout Plain Layout
32730 File Formats ! DVI
32731 \end_layout
32732
32733 \end_inset
32734
32735
32736 \begin_inset Index
32737 status collapsed
32738
32739 \begin_layout Plain Layout
32740 DVI|see
32741 \begin_inset ERT
32742 status collapsed
32743
32744 \begin_layout Plain Layout
32745
32746 {
32747 \end_layout
32748
32749 \end_inset
32750
32751 File Formats
32752 \begin_inset ERT
32753 status collapsed
32754
32755 \begin_layout Plain Layout
32756
32757 }
32758 \end_layout
32759
32760 \end_inset
32761
32762
32763 \end_layout
32764
32765 \end_inset
32766
32767
32768 \end_layout
32769
32770 \begin_layout Standard
32771 This file type has the extension 
32772 \begin_inset Quotes eld
32773 \end_inset
32774
32775
32776 \family typewriter
32777 .dvi
32778 \family default
32779
32780 \begin_inset Quotes erd
32781 \end_inset
32782
32783 .
32784  It is called 
32785 \begin_inset Quotes eld
32786 \end_inset
32787
32788 device-independent
32789 \begin_inset Quotes erd
32790 \end_inset
32791
32792  (DVI), because it is completely portable; you can move them from one machine
32793  to another without needing to do any sort of conversion.
32794  At the time when this file-format was developed, this was no matter of
32795  course.
32796  DVIs are used for quick previews and as pre-stage for other output formats,
32797  like PostScript.
32798 \end_layout
32799
32800 \begin_layout Standard
32801 \begin_inset Note Greyedout
32802 status open
32803
32804 \begin_layout Plain Layout
32805
32806 \series bold
32807 Note:
32808 \series default
32809  DVI-files doesn't contain images, they will only be a linked.
32810 \end_layout
32811
32812 \end_inset
32813
32814  So don't forget this, if you move your 
32815 \family typewriter
32816 .dvi
32817 \family default
32818  file to another computer.
32819  This property can also slow down your computer when you view the DVI.
32820  Because the DVI-viewer has to convert the image in the background to make
32821  it visible when you scroll in the DVI.
32822  So we recommend to use PDF for files with many images.
32823 \end_layout
32824
32825 \begin_layout Standard
32826 You can export your document to DVI by using the menu 
32827 \family sans
32828 File\SpecialChar \menuseparator
32829 Export\SpecialChar \menuseparator
32830 DVI
32831 \family default
32832 .
32833  You can view your document as DVI via the 
32834 \family sans
32835 View
32836 \family default
32837  menu or by using the toolbar button 
32838 \begin_inset Graphics
32839         filename ../images/buffer-view_dvi.png
32840         scale 85
32841         scaleBeforeRotation
32842
32843 \end_inset
32844
32845 .
32846 \end_layout
32847
32848 \begin_layout Section
32849 PostScript
32850 \begin_inset CommandInset label
32851 LatexCommand label
32852 name "sec:PostScript"
32853
32854 \end_inset
32855
32856
32857 \begin_inset Index
32858 status collapsed
32859
32860 \begin_layout Plain Layout
32861 File Formats ! PostScript
32862 \end_layout
32863
32864 \end_inset
32865
32866
32867 \begin_inset Index
32868 status collapsed
32869
32870 \begin_layout Plain Layout
32871 PostScript|see
32872 \begin_inset ERT
32873 status collapsed
32874
32875 \begin_layout Plain Layout
32876
32877 {
32878 \end_layout
32879
32880 \end_inset
32881
32882 File Formats
32883 \begin_inset ERT
32884 status collapsed
32885
32886 \begin_layout Plain Layout
32887
32888 }
32889 \end_layout
32890
32891 \end_inset
32892
32893
32894 \end_layout
32895
32896 \end_inset
32897
32898
32899 \end_layout
32900
32901 \begin_layout Standard
32902 This file type has the extension 
32903 \begin_inset Quotes eld
32904 \end_inset
32905
32906
32907 \family typewriter
32908 .ps
32909 \family default
32910
32911 \begin_inset Quotes erd
32912 \end_inset
32913
32914 .
32915  PostScript was developed by the company 
32916 \family typewriter
32917 Adobe
32918 \family default
32919  as printer language.
32920  The file contains therefore commands that the printer uses to print the
32921  file.
32922  PostScript can be seen as 
32923 \begin_inset Quotes eld
32924 \end_inset
32925
32926 programming language
32927 \begin_inset Quotes erd
32928 \end_inset
32929
32930 ; you can calculate with it and draw diagrams and images
32931 \begin_inset Foot
32932 status collapsed
32933
32934 \begin_layout Plain Layout
32935 If you are interested to learn more about this, have a look at the LaTeX-package
32936  
32937 \series bold
32938 PSTricks
32939 \series default
32940  
32941 \begin_inset CommandInset citation
32942 LatexCommand cite
32943 key "pstricks"
32944
32945 \end_inset
32946
32947 .
32948 \end_layout
32949
32950 \end_inset
32951
32952 .
32953  Due to this ability, the files are often bigger than PDFs.
32954 \end_layout
32955
32956 \begin_layout Standard
32957 PostScript can only contain images in the format 
32958 \begin_inset Quotes eld
32959 \end_inset
32960
32961 Encapsulated PostScript
32962 \begin_inset Quotes erd
32963 \end_inset
32964
32965  (EPS, file extension 
32966 \begin_inset Quotes eld
32967 \end_inset
32968
32969
32970 \family typewriter
32971 .eps
32972 \family default
32973
32974 \begin_inset Quotes erd
32975 \end_inset
32976
32977 ).
32978  As LyX allows you to use any known image format in your document, it has
32979  to convert images in the background to EPS.
32980  If you have e.g 50 images in your document, LyX has to do 50 conversions
32981  whenever you view or export your document.
32982  This will slow down your work flow with LyX drastically.
32983  So if you plan to use PostScript, you can insert your images directly as
32984  EPS to avoid this problem.
32985 \end_layout
32986
32987 \begin_layout Standard
32988 You can export your document to PostScript using the menu 
32989 \family sans
32990 File\SpecialChar \menuseparator
32991 Export\SpecialChar \menuseparator
32992 Postscript
32993 \family default
32994 .
32995  You can view your document as PostScript via the 
32996 \family sans
32997 View
32998 \family default
32999  menu or by using the toolbar button 
33000 \begin_inset Graphics
33001         filename ../images/buffer-view_ps.png
33002         scale 85
33003         scaleBeforeRotation
33004
33005 \end_inset
33006
33007 .
33008 \end_layout
33009
33010 \begin_layout Section
33011 PDF
33012 \begin_inset CommandInset label
33013 LatexCommand label
33014 name "sec:PDF"
33015
33016 \end_inset
33017
33018
33019 \begin_inset Index
33020 status collapsed
33021
33022 \begin_layout Plain Layout
33023 File Formats ! PDF
33024 \end_layout
33025
33026 \end_inset
33027
33028
33029 \begin_inset Index
33030 status collapsed
33031
33032 \begin_layout Plain Layout
33033 PDF
33034 \end_layout
33035
33036 \end_inset
33037
33038
33039 \end_layout
33040
33041 \begin_layout Standard
33042 This file type has the extension 
33043 \begin_inset Quotes eld
33044 \end_inset
33045
33046
33047 \family typewriter
33048 .pdf
33049 \family default
33050
33051 \begin_inset Quotes erd
33052 \end_inset
33053
33054 .
33055  The 
33056 \begin_inset Quotes eld
33057 \end_inset
33058
33059 Portable Document Format
33060 \begin_inset Quotes erd
33061 \end_inset
33062
33063  (PDF) is developed by 
33064 \family typewriter
33065 Adobe
33066 \family default
33067  as derivative from PostScript.
33068  It is more compressed and it uses much less commands than PostScript.
33069  As the name 
33070 \begin_inset Quotes eld
33071 \end_inset
33072
33073 portable
33074 \begin_inset Quotes erd
33075 \end_inset
33076
33077  implies, it can be processed at any computer system and the printed output
33078  looks exactly the same.
33079 \end_layout
33080
33081 \begin_layout Standard
33082 PDF can contain images in its own PDF format, in the format 
33083 \begin_inset Quotes eld
33084 \end_inset
33085
33086 Joint Photographic Experts Group
33087 \begin_inset Quotes erd
33088 \end_inset
33089
33090  (JPG, file extension 
33091 \begin_inset Quotes eld
33092 \end_inset
33093
33094
33095 \family typewriter
33096 .jpg
33097 \family default
33098
33099 \begin_inset Quotes erd
33100 \end_inset
33101
33102  or 
33103 \begin_inset Quotes eld
33104 \end_inset
33105
33106
33107 \family typewriter
33108 .jpeg
33109 \family default
33110
33111 \begin_inset Quotes erd
33112 \end_inset
33113
33114 ), and in the format 
33115 \begin_inset Quotes eld
33116 \end_inset
33117
33118 Portable Network Graphics
33119 \begin_inset Quotes erd
33120 \end_inset
33121
33122  (PNG, file extension 
33123 \begin_inset Quotes eld
33124 \end_inset
33125
33126
33127 \family typewriter
33128 .png
33129 \family default
33130
33131 \begin_inset Quotes erd
33132 \end_inset
33133
33134 ).
33135  Nevertheless you can use any other image format, because LyX converts them
33136  in the background to one of these formats.
33137  But as described in the section about PostScript, the image conversion
33138  will slow down your work flow.
33139  So it is recommended to use images in one of the three mentioned formats.
33140 \end_layout
33141
33142 \begin_layout Standard
33143 You can export your document to PDF via the menu 
33144 \family sans
33145 File\SpecialChar \menuseparator
33146 Export
33147 \family default
33148  in three different ways:
33149 \end_layout
33150
33151 \begin_layout Description
33152 PDF
33153 \begin_inset Space ~
33154 \end_inset
33155
33156 (ps2pdf) This uses the program 
33157 \family typewriter
33158 ps2pdf
33159 \family default
33160  that creates a PDF from a PostScript-version of your file.
33161  The PostScript-version is produced by the program 
33162 \family typewriter
33163 dvips
33164 \family default
33165  which uses a DVI-version as intermediate step.
33166  So this export variant consist of three conversions.
33167 \end_layout
33168
33169 \begin_layout Description
33170 PDF
33171 \begin_inset Space ~
33172 \end_inset
33173
33174 (dvipdfm) This uses the program 
33175 \family typewriter
33176 dvipdfm
33177 \family default
33178  that converts your file in the background to DVI and in a second step to
33179  PDF.
33180 \end_layout
33181
33182 \begin_layout Description
33183 PDF
33184 \begin_inset Space ~
33185 \end_inset
33186
33187 (pdflatex) This uses the program 
33188 \family typewriter
33189 pdftex
33190 \family default
33191  that converts your file directly to PDF.
33192 \end_layout
33193
33194 \begin_layout Standard
33195 It is recommended to use 
33196 \family sans
33197 PDF
33198 \begin_inset Space ~
33199 \end_inset
33200
33201 (pdflatex)
33202 \family default
33203  because 
33204 \family typewriter
33205 pdftex
33206 \family default
33207  supports all features of actual PDF-versions, is quick and works stable
33208  without problems.
33209  The program 
33210 \family typewriter
33211 dvipdfm
33212 \family default
33213  is not under development and therefore a bit outdated.
33214 \end_layout
33215
33216 \begin_layout Standard
33217 You can view your document as PDF via the 
33218 \family sans
33219 View
33220 \family default
33221  menu or by using the toolbar button 
33222 \begin_inset Graphics
33223         filename ../images/buffer-view_pdf2.png
33224         scale 85
33225         scaleBeforeRotation
33226
33227 \end_inset
33228
33229  
33230 \family sans
33231 (
33232 \family default
33233 that uses 
33234 \family sans
33235 PDF
33236 \begin_inset Space ~
33237 \end_inset
33238
33239 (pdflatex)
33240 \family default
33241 ).
33242 \end_layout
33243
33244 \begin_layout Chapter
33245 Explanation of Equation
33246 \begin_inset Space ~
33247 \end_inset
33248
33249
33250 \begin_inset CommandInset ref
33251 LatexCommand eqref
33252 reference "eq:Wgn"
33253
33254 \end_inset
33255
33256
33257 \begin_inset CommandInset label
33258 LatexCommand label
33259 name "cha:Explanation-of-Equation"
33260
33261 \end_inset
33262
33263
33264 \end_layout
33265
33266 \begin_layout Standard
33267 The total width of 
33268 \emph on
33269 n
33270 \emph default
33271  table cells 
33272 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33273 \end_inset
33274
33275  can be calculated to
33276 \end_layout
33277
33278 \begin_layout Standard
33279 \begin_inset Formula \begin{equation}
33280 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}
33281
33282 \end_inset
33283
33284
33285 \end_layout
33286
33287 \begin_layout Standard
33288 Where 
33289 \begin_inset Formula $W_{g\, n}$
33290 \end_inset
33291
33292  is the given width of all cells.
33293  
33294 \series bold
33295
33296 \backslash
33297 tabcolsep
33298 \series default
33299  is the LaTeX-length between the cell text and the cell border, its default
33300  value is 6
33301 \begin_inset Space \thinspace{}
33302 \end_inset
33303
33304 pt.
33305  
33306 \series bold
33307
33308 \backslash
33309 arrayrulewidth
33310 \series default
33311  is the thickness of the cell border line, the default is 0.4
33312 \begin_inset Space \thinspace{}
33313 \end_inset
33314
33315 pt.
33316 \end_layout
33317
33318 \begin_layout Standard
33319 Following equation
33320 \begin_inset Space ~
33321 \end_inset
33322
33323
33324 \begin_inset CommandInset ref
33325 LatexCommand eqref
33326 reference "eq:Wtot_n"
33327
33328 \end_inset
33329
33330 , the total width of a multicolumn 
33331 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33332 \end_inset
33333
33334  is
33335 \end_layout
33336
33337 \begin_layout Standard
33338 \begin_inset Formula \begin{equation}
33339 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33340
33341 \end_inset
33342
33343
33344 \end_layout
33345
33346 \begin_layout Standard
33347 By setting equation
33348 \begin_inset Space ~
33349 \end_inset
33350
33351
33352 \begin_inset CommandInset ref
33353 LatexCommand eqref
33354 reference "eq:Wtot_n"
33355
33356 \end_inset
33357
33358  and 
33359 \begin_inset CommandInset ref
33360 LatexCommand eqref
33361 reference "eq:Wtot_mult"
33362
33363 \end_inset
33364
33365  equal we can calculate the needed given width 
33366 \begin_inset Formula $W_{g\, n}$
33367 \end_inset
33368
33369  when 
33370 \emph on
33371 n
33372 \emph default
33373  columns are spanned, so that each column has a total width of 
33374 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33375 \end_inset
33376
33377 :
33378 \end_layout
33379
33380 \begin_layout Standard
33381 \begin_inset Formula \begin{equation}
33382 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33383
33384 \end_inset
33385
33386
33387 \end_layout
33388
33389 \begin_layout Bibliography
33390 \begin_inset CommandInset bibitem
33391 LatexCommand bibitem
33392 key "latexcompanion"
33393
33394 \end_inset
33395
33396 Frank Mittelbach and Michel Goossens: 
33397 \emph on
33398 The LaTeX Companion Second Edition.
33399
33400 \emph default
33401  Addison-Wesley, 2004
33402 \end_layout
33403
33404 \begin_layout Bibliography
33405 \begin_inset CommandInset bibitem
33406 LatexCommand bibitem
33407 key "latexguide"
33408
33409 \end_inset
33410
33411 Helmut Kopka and Patrick W.
33412  Daly: 
33413 \emph on
33414 A Guide to LaTeX Fourth Edition.
33415
33416 \emph default
33417  Addison-Wesley, 2003
33418 \end_layout
33419
33420 \begin_layout Bibliography
33421 \begin_inset CommandInset bibitem
33422 LatexCommand bibitem
33423 key "latexbook"
33424
33425 \end_inset
33426
33427 Leslie Lamport: 
33428 \emph on
33429 LaTeX: A Document Preparation System.
33430
33431 \emph default
33432  Addison-Wesley, second edition, 1994
33433 \end_layout
33434
33435 \begin_layout Bibliography
33436 \begin_inset CommandInset bibitem
33437 LatexCommand bibitem
33438 key "booktabs"
33439
33440 \end_inset
33441
33442
33443 \begin_inset ERT
33444 status collapsed
33445
33446 \begin_layout Plain Layout
33447
33448
33449 \backslash
33450 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
33451 {
33452 \end_layout
33453
33454 \end_inset
33455
33456 Documentation
33457 \begin_inset ERT
33458 status collapsed
33459
33460 \begin_layout Plain Layout
33461
33462 }
33463 \end_layout
33464
33465 \end_inset
33466
33467  of the LaTeX-package 
33468 \series bold
33469 booktabs
33470 \series default
33471
33472 \begin_inset Index
33473 status collapsed
33474
33475 \begin_layout Plain Layout
33476 LaTeX-packages ! booktabs
33477 \end_layout
33478
33479 \end_inset
33480
33481
33482 \end_layout
33483
33484 \begin_layout Bibliography
33485 \begin_inset CommandInset bibitem
33486 LatexCommand bibitem
33487 key "caption"
33488
33489 \end_inset
33490
33491
33492 \begin_inset ERT
33493 status collapsed
33494
33495 \begin_layout Plain Layout
33496
33497
33498 \backslash
33499 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
33500 \end_layout
33501
33502 \end_inset
33503
33504 Documentation
33505 \begin_inset ERT
33506 status collapsed
33507
33508 \begin_layout Plain Layout
33509
33510 }
33511 \end_layout
33512
33513 \end_inset
33514
33515  of the LaTeX-package 
33516 \series bold
33517 caption
33518 \series default
33519
33520 \begin_inset Index
33521 status collapsed
33522
33523 \begin_layout Plain Layout
33524 LaTeX-packages ! caption
33525 \end_layout
33526
33527 \end_inset
33528
33529
33530 \end_layout
33531
33532 \begin_layout Bibliography
33533 \begin_inset CommandInset bibitem
33534 LatexCommand bibitem
33535 key "caption-de"
33536
33537 \end_inset
33538
33539 German 
33540 \begin_inset ERT
33541 status collapsed
33542
33543 \begin_layout Plain Layout
33544
33545
33546 \backslash
33547 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
33548 {
33549 \end_layout
33550
33551 \end_inset
33552
33553 documentation
33554 \begin_inset ERT
33555 status collapsed
33556
33557 \begin_layout Plain Layout
33558
33559 }
33560 \end_layout
33561
33562 \end_inset
33563
33564  of the LaTeX-package 
33565 \series bold
33566 caption
33567 \end_layout
33568
33569 \begin_layout Bibliography
33570 \begin_inset CommandInset bibitem
33571 LatexCommand bibitem
33572 key "endfloat"
33573
33574 \end_inset
33575
33576
33577 \begin_inset ERT
33578 status collapsed
33579
33580 \begin_layout Plain Layout
33581
33582
33583 \backslash
33584 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
33585 {
33586 \end_layout
33587
33588 \end_inset
33589
33590 Documentation
33591 \begin_inset ERT
33592 status collapsed
33593
33594 \begin_layout Plain Layout
33595
33596 }
33597 \end_layout
33598
33599 \end_inset
33600
33601  of the LaTeX-package 
33602 \series bold
33603 endfloat
33604 \series default
33605
33606 \begin_inset Index
33607 status collapsed
33608
33609 \begin_layout Plain Layout
33610 LaTeX-packages ! endfloat
33611 \end_layout
33612
33613 \end_inset
33614
33615
33616 \end_layout
33617
33618 \begin_layout Bibliography
33619 \begin_inset CommandInset bibitem
33620 LatexCommand bibitem
33621 key "wrapfig"
33622
33623 \end_inset
33624
33625
33626 \begin_inset ERT
33627 status collapsed
33628
33629 \begin_layout Plain Layout
33630
33631
33632 \backslash
33633 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty}{
33634 \end_layout
33635
33636 \end_inset
33637
33638 Documentation
33639 \begin_inset ERT
33640 status collapsed
33641
33642 \begin_layout Plain Layout
33643
33644 }
33645 \end_layout
33646
33647 \end_inset
33648
33649  of the LaTeX-package 
33650 \series bold
33651 wrapfig
33652 \series default
33653
33654 \begin_inset Index
33655 status collapsed
33656
33657 \begin_layout Plain Layout
33658 LaTeX-packages ! wrapfig
33659 \begin_inset ERT
33660 status collapsed
33661
33662 \begin_layout Plain Layout
33663
33664
33665 \backslash
33666
33667 \begin_inset ERT
33668 status collapsed
33669
33670 \begin_layout Plain Layout
33671
33672 {
33673 \end_layout
33674
33675 \end_inset
33676
33677
33678 \begin_inset ERT
33679 status collapsed
33680
33681 \begin_layout Plain Layout
33682
33683 }
33684 \end_layout
33685
33686 \end_inset
33687
33688
33689 \end_layout
33690
33691 \end_inset
33692
33693 vspace
33694 \begin_inset ERT
33695 status collapsed
33696
33697 \begin_layout Plain Layout
33698
33699 {
33700 \end_layout
33701
33702 \end_inset
33703
33704 4mm
33705 \begin_inset ERT
33706 status collapsed
33707
33708 \begin_layout Plain Layout
33709
33710 }
33711 \end_layout
33712
33713 \end_inset
33714
33715
33716 \end_layout
33717
33718 \end_inset
33719
33720
33721 \end_layout
33722
33723 \begin_layout Bibliography
33724 \begin_inset CommandInset bibitem
33725 LatexCommand bibitem
33726 key "footmisc"
33727
33728 \end_inset
33729
33730
33731 \begin_inset ERT
33732 status collapsed
33733
33734 \begin_layout Plain Layout
33735
33736
33737 \backslash
33738 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
33739 {
33740 \end_layout
33741
33742 \end_inset
33743
33744 Documentation
33745 \begin_inset ERT
33746 status collapsed
33747
33748 \begin_layout Plain Layout
33749
33750 }
33751 \end_layout
33752
33753 \end_inset
33754
33755  of the LaTeX-package 
33756 \series bold
33757 footmisc
33758 \series default
33759
33760 \begin_inset Index
33761 status collapsed
33762
33763 \begin_layout Plain Layout
33764 LaTeX-packages ! footmisc
33765 \end_layout
33766
33767 \end_inset
33768
33769
33770 \end_layout
33771
33772 \begin_layout Bibliography
33773 \begin_inset CommandInset bibitem
33774 LatexCommand bibitem
33775 key "hypcap"
33776
33777 \end_inset
33778
33779
33780 \begin_inset ERT
33781 status collapsed
33782
33783 \begin_layout Plain Layout
33784
33785
33786 \backslash
33787 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
33788 \end_layout
33789
33790 \end_inset
33791
33792 Documentation
33793 \begin_inset ERT
33794 status collapsed
33795
33796 \begin_layout Plain Layout
33797
33798 }
33799 \end_layout
33800
33801 \end_inset
33802
33803  of the LaTeX-package 
33804 \series bold
33805 hypcap
33806 \series default
33807
33808 \begin_inset Index
33809 status collapsed
33810
33811 \begin_layout Plain Layout
33812 LaTeX-packages ! hyperref
33813 \end_layout
33814
33815 \end_inset
33816
33817
33818 \end_layout
33819
33820 \begin_layout Bibliography
33821 \begin_inset CommandInset bibitem
33822 LatexCommand bibitem
33823 key "hyperref"
33824
33825 \end_inset
33826
33827
33828 \begin_inset ERT
33829 status collapsed
33830
33831 \begin_layout Plain Layout
33832
33833
33834 \backslash
33835 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
33836 {
33837 \end_layout
33838
33839 \end_inset
33840
33841 Documentation
33842 \begin_inset ERT
33843 status collapsed
33844
33845 \begin_layout Plain Layout
33846
33847 }
33848 \end_layout
33849
33850 \end_inset
33851
33852  of the LaTeX-package 
33853 \series bold
33854 hyperref
33855 \series default
33856
33857 \begin_inset Index
33858 status collapsed
33859
33860 \begin_layout Plain Layout
33861 LaTeX-packages ! hyperref
33862 \end_layout
33863
33864 \end_inset
33865
33866
33867 \end_layout
33868
33869 \begin_layout Bibliography
33870 \begin_inset CommandInset bibitem
33871 LatexCommand bibitem
33872 key "koma-script"
33873
33874 \end_inset
33875
33876
33877 \begin_inset ERT
33878 status collapsed
33879
33880 \begin_layout Plain Layout
33881
33882
33883 \backslash
33884 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
33885 df}{
33886 \end_layout
33887
33888 \end_inset
33889
33890 Documentation
33891 \begin_inset ERT
33892 status collapsed
33893
33894 \begin_layout Plain Layout
33895
33896 }
33897 \end_layout
33898
33899 \end_inset
33900
33901  of the LaTeX-package 
33902 \series bold
33903 koma-script
33904 \series default
33905
33906 \begin_inset Index
33907 status collapsed
33908
33909 \begin_layout Plain Layout
33910 LaTeX-packages ! koma-script
33911 \end_layout
33912
33913 \end_inset
33914
33915
33916 \end_layout
33917
33918 \begin_layout Bibliography
33919 \begin_inset CommandInset bibitem
33920 LatexCommand bibitem
33921 key "listings"
33922
33923 \end_inset
33924
33925
33926 \begin_inset ERT
33927 status collapsed
33928
33929 \begin_layout Plain Layout
33930
33931
33932 \backslash
33933 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
33934 {
33935 \end_layout
33936
33937 \end_inset
33938
33939 Documentation
33940 \begin_inset ERT
33941 status collapsed
33942
33943 \begin_layout Plain Layout
33944
33945 }
33946 \end_layout
33947
33948 \end_inset
33949
33950  of the LaTeX-package 
33951 \series bold
33952 listings
33953 \series default
33954
33955 \begin_inset Index
33956 status collapsed
33957
33958 \begin_layout Plain Layout
33959 LaTeX-packages ! listings
33960 \end_layout
33961
33962 \end_inset
33963
33964
33965 \end_layout
33966
33967 \begin_layout Bibliography
33968 \begin_inset CommandInset bibitem
33969 LatexCommand bibitem
33970 key "marginnote"
33971
33972 \end_inset
33973
33974
33975 \begin_inset ERT
33976 status collapsed
33977
33978 \begin_layout Plain Layout
33979
33980
33981 \backslash
33982 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
33983 pdf}{
33984 \end_layout
33985
33986 \end_inset
33987
33988 Documentation
33989 \begin_inset ERT
33990 status collapsed
33991
33992 \begin_layout Plain Layout
33993
33994 }
33995 \end_layout
33996
33997 \end_inset
33998
33999  of the LaTeX-package 
34000 \series bold
34001 marginnote
34002 \series default
34003
34004 \begin_inset Index
34005 status collapsed
34006
34007 \begin_layout Plain Layout
34008 LaTeX-packages ! marginnote
34009 \end_layout
34010
34011 \end_inset
34012
34013
34014 \end_layout
34015
34016 \begin_layout Bibliography
34017 \begin_inset CommandInset bibitem
34018 LatexCommand bibitem
34019 key "pstricks"
34020
34021 \end_inset
34022
34023
34024 \begin_inset ERT
34025 status collapsed
34026
34027 \begin_layout Plain Layout
34028
34029
34030 \backslash
34031 href{http://tug.org/PSTricks/main.cgi/}{
34032 \end_layout
34033
34034 \end_inset
34035
34036 Web page
34037 \begin_inset ERT
34038 status collapsed
34039
34040 \begin_layout Plain Layout
34041
34042 }
34043 \end_layout
34044
34045 \end_inset
34046
34047  of the LaTeX-package 
34048 \series bold
34049 PSTricks
34050 \series default
34051
34052 \begin_inset Index
34053 status collapsed
34054
34055 \begin_layout Plain Layout
34056 LaTeX-packages ! PSTricks
34057 \end_layout
34058
34059 \end_inset
34060
34061
34062 \end_layout
34063
34064 \begin_layout Bibliography
34065 \begin_inset CommandInset bibitem
34066 LatexCommand bibitem
34067 key "sidecap"
34068
34069 \end_inset
34070
34071
34072 \begin_inset ERT
34073 status collapsed
34074
34075 \begin_layout Plain Layout
34076
34077
34078 \backslash
34079 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
34080 \end_layout
34081
34082 \end_inset
34083
34084 Documentation
34085 \begin_inset ERT
34086 status collapsed
34087
34088 \begin_layout Plain Layout
34089
34090 }
34091 \end_layout
34092
34093 \end_inset
34094
34095  of the LaTeX-package 
34096 \series bold
34097 sidecap
34098 \series default
34099
34100 \begin_inset Index
34101 status collapsed
34102
34103 \begin_layout Plain Layout
34104 LaTeX-packages ! sidecap
34105 \end_layout
34106
34107 \end_inset
34108
34109
34110 \end_layout
34111
34112 \begin_layout Bibliography
34113 \begin_inset CommandInset bibitem
34114 LatexCommand bibitem
34115 key "NewInLyX15"
34116
34117 \end_inset
34118
34119
34120 \begin_inset ERT
34121 status collapsed
34122
34123 \begin_layout Plain Layout
34124
34125
34126 \backslash
34127 href{http://wiki.lyx.org/LyX/NewInLyX15}{
34128 \end_layout
34129
34130 \end_inset
34131
34132 Wiki page
34133 \begin_inset ERT
34134 status collapsed
34135
34136 \begin_layout Plain Layout
34137
34138 }
34139 \end_layout
34140
34141 \end_inset
34142
34143  about new features in 
34144 \family sans
34145 LyX 1.5.0
34146 \family default
34147 .
34148 \end_layout
34149
34150 \begin_layout Standard
34151 \begin_inset CommandInset index_print
34152 LatexCommand printindex
34153
34154 \end_inset
34155
34156
34157 \end_layout
34158
34159 \begin_layout Standard
34160 \begin_inset FloatList figure
34161
34162 \end_inset
34163
34164
34165 \end_layout
34166
34167 \begin_layout Standard
34168 \begin_inset FloatList table
34169
34170 \end_inset
34171
34172
34173 \end_layout
34174
34175 \begin_layout Standard
34176 \begin_inset FloatList algorithm
34177
34178 \end_inset
34179
34180
34181 \end_layout
34182
34183 \end_body
34184 \end_document