]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
German documentation update by Hartmut
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 334
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 Newline linebreak
10872 \end_inset
10873
10874 lines
10875 \end_layout
10876
10877 \end_inset
10878 </cell>
10879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10880 \begin_inset Text
10881
10882 \begin_layout Plain Layout
10883 b
10884 \end_layout
10885
10886 \end_inset
10887 </cell>
10888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10889 \begin_inset Text
10890
10891 \begin_layout Plain Layout
10892 c
10893 \end_layout
10894
10895 \end_inset
10896 </cell>
10897 </row>
10898 <row>
10899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10900 \begin_inset Text
10901
10902 \begin_layout Plain Layout
10903 d
10904 \end_layout
10905
10906 \end_inset
10907 </cell>
10908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10909 \begin_inset Text
10910
10911 \begin_layout Plain Layout
10912 e
10913 \end_layout
10914
10915 \end_inset
10916 </cell>
10917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10918 \begin_inset Text
10919
10920 \begin_layout Plain Layout
10921 f
10922 \end_layout
10923
10924 \end_inset
10925 </cell>
10926 </row>
10927 <row>
10928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10929 \begin_inset Text
10930
10931 \begin_layout Plain Layout
10932 g
10933 \end_layout
10934
10935 \end_inset
10936 </cell>
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 h
10942 \end_layout
10943
10944 \end_inset
10945 </cell>
10946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10947 \begin_inset Text
10948
10949 \begin_layout Plain Layout
10950 i
10951 \end_layout
10952
10953 \end_inset
10954 </cell>
10955 </row>
10956 </lyxtabular>
10957
10958 \end_inset
10959
10960
10961 \end_layout
10962
10963 \end_inset
10964
10965
10966 \end_layout
10967
10968 \begin_layout Standard
10969 Adjusting a fixed width for a column, enables to enter text as a paragraph
10970  with multiple lines and hyphenations.
10971 \end_layout
10972
10973 \begin_layout Standard
10974 To produce Table
10975 \begin_inset Space ~
10976 \end_inset
10977
10978
10979 \begin_inset CommandInset ref
10980 LatexCommand ref
10981 reference "tab:Table-with-multiple"
10982
10983 \end_inset
10984
10985 , create a 3×3 table, mark the first cell and right-click on it.
10986  In the appearing table dialog we set a cell width of 2.5
10987 \begin_inset Space \thinspace{}
10988 \end_inset
10989
10990 cm and choose centered for the vertical and horizontal alignment.
10991  The vertical alignment is used for all cells of the row.
10992  As our text is smaller than than 2.5
10993 \begin_inset Space \thinspace{}
10994 \end_inset
10995
10996 cm, only one line will appear.
10997  To get two lines, a justified line break (shortcut 
10998 \family sans
10999 Ctrl-Shift-Return
11000 \family default
11001 ) was added.
11002  If the text is wider than the set cell width, it will automatically be
11003  broken to several lines.
11004 \end_layout
11005
11006 \begin_layout Standard
11007 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11008  by LaTeX if it is the first entry.
11009  Therefore you need to insert something, to make the word not being the
11010  first entry.
11011  So add a horizontal space of 0
11012 \begin_inset Space \thinspace{}
11013 \end_inset
11014
11015 pt before the word.
11016  As the space is zero, it doesn't change the output.
11017  Table
11018 \begin_inset Space ~
11019 \end_inset
11020
11021
11022 \begin_inset CommandInset ref
11023 LatexCommand ref
11024 reference "tab:Table-with-and"
11025
11026 \end_inset
11027
11028  shows the effect.
11029 \end_layout
11030
11031 \begin_layout Standard
11032 \begin_inset Float table
11033 placement h
11034 wide false
11035 sideways false
11036 status open
11037
11038 \begin_layout Plain Layout
11039 \begin_inset Caption
11040
11041 \begin_layout Plain Layout
11042 \begin_inset CommandInset label
11043 LatexCommand label
11044 name "tab:Table-with-and"
11045
11046 \end_inset
11047
11048 Table with and without hyphenation
11049 \end_layout
11050
11051 \end_inset
11052
11053
11054 \end_layout
11055
11056 \begin_layout Plain Layout
11057 \begin_inset Space \hfill{}
11058 \end_inset
11059
11060
11061 \begin_inset Tabular
11062 <lyxtabular version="3" rows="3" columns="3">
11063 <features>
11064 <column alignment="center" valignment="middle" width="2.5cm">
11065 <column alignment="center" valignment="middle" width="0">
11066 <column alignment="center" valignment="middle" width="0">
11067 <row>
11068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11069 \begin_inset Text
11070
11071 \begin_layout Plain Layout
11072 verylongtablecellword
11073 \end_layout
11074
11075 \end_inset
11076 </cell>
11077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11078 \begin_inset Text
11079
11080 \begin_layout Plain Layout
11081 b
11082 \end_layout
11083
11084 \end_inset
11085 </cell>
11086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11087 \begin_inset Text
11088
11089 \begin_layout Plain Layout
11090 c
11091 \end_layout
11092
11093 \end_inset
11094 </cell>
11095 </row>
11096 <row>
11097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11098 \begin_inset Text
11099
11100 \begin_layout Plain Layout
11101 d
11102 \end_layout
11103
11104 \end_inset
11105 </cell>
11106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11107 \begin_inset Text
11108
11109 \begin_layout Plain Layout
11110 e
11111 \end_layout
11112
11113 \end_inset
11114 </cell>
11115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11116 \begin_inset Text
11117
11118 \begin_layout Plain Layout
11119 f
11120 \end_layout
11121
11122 \end_inset
11123 </cell>
11124 </row>
11125 <row>
11126 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Plain Layout
11130 g
11131 \end_layout
11132
11133 \end_inset
11134 </cell>
11135 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11136 \begin_inset Text
11137
11138 \begin_layout Plain Layout
11139 h
11140 \end_layout
11141
11142 \end_inset
11143 </cell>
11144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11145 \begin_inset Text
11146
11147 \begin_layout Plain Layout
11148 i
11149 \end_layout
11150
11151 \end_inset
11152 </cell>
11153 </row>
11154 </lyxtabular>
11155
11156 \end_inset
11157
11158
11159 \begin_inset Space \hfill{}
11160 \end_inset
11161
11162
11163 \begin_inset Tabular
11164 <lyxtabular version="3" rows="3" columns="3">
11165 <features>
11166 <column alignment="center" valignment="middle" width="2.5cm">
11167 <column alignment="center" valignment="middle" width="0">
11168 <column alignment="center" valignment="middle" width="0">
11169 <row>
11170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11171 \begin_inset Text
11172
11173 \begin_layout Plain Layout
11174 \begin_inset Space \hspace{}
11175 \length 0pt
11176 \end_inset
11177
11178 verylongtablecellword
11179 \end_layout
11180
11181 \end_inset
11182 </cell>
11183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11184 \begin_inset Text
11185
11186 \begin_layout Plain Layout
11187 b
11188 \end_layout
11189
11190 \end_inset
11191 </cell>
11192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11193 \begin_inset Text
11194
11195 \begin_layout Plain Layout
11196 c
11197 \end_layout
11198
11199 \end_inset
11200 </cell>
11201 </row>
11202 <row>
11203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11204 \begin_inset Text
11205
11206 \begin_layout Plain Layout
11207 d
11208 \end_layout
11209
11210 \end_inset
11211 </cell>
11212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11213 \begin_inset Text
11214
11215 \begin_layout Plain Layout
11216 e
11217 \end_layout
11218
11219 \end_inset
11220 </cell>
11221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11222 \begin_inset Text
11223
11224 \begin_layout Plain Layout
11225 f
11226 \end_layout
11227
11228 \end_inset
11229 </cell>
11230 </row>
11231 <row>
11232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11233 \begin_inset Text
11234
11235 \begin_layout Plain Layout
11236 g
11237 \end_layout
11238
11239 \end_inset
11240 </cell>
11241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11242 \begin_inset Text
11243
11244 \begin_layout Plain Layout
11245 h
11246 \end_layout
11247
11248 \end_inset
11249 </cell>
11250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11251 \begin_inset Text
11252
11253 \begin_layout Plain Layout
11254 i
11255 \end_layout
11256
11257 \end_inset
11258 </cell>
11259 </row>
11260 </lyxtabular>
11261
11262 \end_inset
11263
11264
11265 \begin_inset Space \hfill{}
11266 \end_inset
11267
11268
11269 \end_layout
11270
11271 \end_inset
11272
11273
11274 \end_layout
11275
11276 \begin_layout Standard
11277 \begin_inset Newpage newpage
11278 \end_inset
11279
11280
11281 \end_layout
11282
11283 \begin_layout Subsection
11284 Multicolumns
11285 \begin_inset CommandInset label
11286 LatexCommand label
11287 name "sub:Multicolumns"
11288
11289 \end_inset
11290
11291
11292 \begin_inset Index
11293 status collapsed
11294
11295 \begin_layout Plain Layout
11296 Multicolumns
11297 \end_layout
11298
11299 \end_inset
11300
11301
11302 \begin_inset Index
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 Table ! Multicolumns
11307 \end_layout
11308
11309 \end_inset
11310
11311
11312 \end_layout
11313
11314 \begin_layout Subsubsection
11315 Multicolumn Basics
11316 \end_layout
11317
11318 \begin_layout Standard
11319 To span a cell over multiple columns, mark as much cells within a line that
11320  should be one spanned cell and use either the table-toolbar button 
11321 \begin_inset Graphics
11322         filename ../images/tabular-feature_multicolumn.png
11323         scale 85
11324         scaleBeforeRotation
11325
11326 \end_inset
11327
11328 , or the menu 
11329 \family sans
11330 Edit\SpecialChar \menuseparator
11331 Table\SpecialChar \menuseparator
11332 Multicolumn
11333 \family default
11334 , or right click on the marked cells and choose multicolumn in the appearing
11335  table dialog under the tab 
11336 \family sans
11337 Table Settings
11338 \family default
11339 .
11340 \end_layout
11341
11342 \begin_layout Standard
11343 Multicolumns have there own cell settings.
11344  That means changing cell borders, cell alignment, and the width only affects
11345  the multicolumn.
11346  Here is an example table with a multicolumn cell in the first row and one
11347  in the last row without the upper border:
11348 \end_layout
11349
11350 \begin_layout Standard
11351 \align center
11352 \begin_inset Tabular
11353 <lyxtabular version="3" rows="3" columns="4">
11354 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11355 <column alignment="center" valignment="top" width="0pt">
11356 <column alignment="center" valignment="middle" width="0">
11357 <column alignment="center" valignment="top" width="0in">
11358 <column alignment="center" valignment="top" width="0pt">
11359 <row>
11360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11361 \begin_inset Text
11362
11363 \begin_layout Plain Layout
11364 abc
11365 \end_layout
11366
11367 \end_inset
11368 </cell>
11369 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11370 \begin_inset Text
11371
11372 \begin_layout Plain Layout
11373 def ghi
11374 \end_layout
11375
11376 \end_inset
11377 </cell>
11378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11379 \begin_inset Text
11380
11381 \begin_layout Plain Layout
11382
11383 \end_layout
11384
11385 \end_inset
11386 </cell>
11387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11388 \begin_inset Text
11389
11390 \begin_layout Plain Layout
11391 jkl
11392 \end_layout
11393
11394 \end_inset
11395 </cell>
11396 </row>
11397 <row>
11398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11399 \begin_inset Text
11400
11401 \begin_layout Plain Layout
11402
11403 \family roman
11404 \series medium
11405 \shape up
11406 \size normal
11407 \emph off
11408 \bar no
11409 \noun off
11410 \color none
11411 A
11412 \end_layout
11413
11414 \end_inset
11415 </cell>
11416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11417 \begin_inset Text
11418
11419 \begin_layout Plain Layout
11420 B
11421 \end_layout
11422
11423 \end_inset
11424 </cell>
11425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11426 \begin_inset Text
11427
11428 \begin_layout Plain Layout
11429 C
11430 \end_layout
11431
11432 \end_inset
11433 </cell>
11434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11435 \begin_inset Text
11436
11437 \begin_layout Plain Layout
11438 D
11439 \end_layout
11440
11441 \end_inset
11442 </cell>
11443 </row>
11444 <row>
11445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11446 \begin_inset Text
11447
11448 \begin_layout Plain Layout
11449 1
11450 \end_layout
11451
11452 \end_inset
11453 </cell>
11454 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11455 \begin_inset Text
11456
11457 \begin_layout Plain Layout
11458 2
11459 \end_layout
11460
11461 \end_inset
11462 </cell>
11463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11464 \begin_inset Text
11465
11466 \begin_layout Plain Layout
11467 3
11468 \end_layout
11469
11470 \end_inset
11471 </cell>
11472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11473 \begin_inset Text
11474
11475 \begin_layout Plain Layout
11476 4
11477 \end_layout
11478
11479 \end_inset
11480 </cell>
11481 </row>
11482 </lyxtabular>
11483
11484 \end_inset
11485
11486
11487 \end_layout
11488
11489 \begin_layout Subsubsection
11490 Multicolumn Calculations
11491 \begin_inset CommandInset label
11492 LatexCommand label
11493 name "sub:Multicolumn-Calculations"
11494
11495 \end_inset
11496
11497
11498 \begin_inset Index
11499 status collapsed
11500
11501 \begin_layout Plain Layout
11502 Multicolumns ! Calculations
11503 \end_layout
11504
11505 \end_inset
11506
11507
11508 \end_layout
11509
11510 \begin_layout Standard
11511 LyX supports multicolumns directly, but we have to take notice of the cell
11512  width of the columns spanned by the multicolumn cell.
11513 \end_layout
11514
11515 \begin_layout Standard
11516 \begin_inset Float table
11517 placement h
11518 wide false
11519 sideways false
11520 status open
11521
11522 \begin_layout Plain Layout
11523 \begin_inset Caption
11524
11525 \begin_layout Plain Layout
11526 \begin_inset CommandInset label
11527 LatexCommand label
11528 name "tab:Table-with-centered"
11529
11530 \end_inset
11531
11532 Table with centered multicolumn text above two columns that have exactly
11533  half the width of the multicolumn cell
11534 \begin_inset OptArg
11535 status collapsed
11536
11537 \begin_layout Plain Layout
11538 Perfect multicolumn table
11539 \end_layout
11540
11541 \end_inset
11542
11543
11544 \end_layout
11545
11546 \end_inset
11547
11548
11549 \end_layout
11550
11551 \begin_layout Plain Layout
11552 \align center
11553 \begin_inset Tabular
11554 <lyxtabular version="3" rows="3" columns="3">
11555 <features>
11556 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11557 <column alignment="center" valignment="middle" width="0">
11558 <column alignment="center" valignment="top" width="0">
11559 <row>
11560 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11561 \begin_inset Text
11562
11563 \begin_layout Plain Layout
11564 multiple lines multicolumn
11565 \end_layout
11566
11567 \end_inset
11568 </cell>
11569 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11570 \begin_inset Text
11571
11572 \begin_layout Plain Layout
11573
11574 \end_layout
11575
11576 \end_inset
11577 </cell>
11578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11579 \begin_inset Text
11580
11581 \begin_layout Plain Layout
11582 c
11583 \end_layout
11584
11585 \end_inset
11586 </cell>
11587 </row>
11588 <row>
11589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11590 \begin_inset Text
11591
11592 \begin_layout Plain Layout
11593 d
11594 \end_layout
11595
11596 \end_inset
11597 </cell>
11598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11599 \begin_inset Text
11600
11601 \begin_layout Plain Layout
11602 e
11603 \end_layout
11604
11605 \end_inset
11606 </cell>
11607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11608 \begin_inset Text
11609
11610 \begin_layout Plain Layout
11611 f
11612 \end_layout
11613
11614 \end_inset
11615 </cell>
11616 </row>
11617 <row>
11618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11619 \begin_inset Text
11620
11621 \begin_layout Plain Layout
11622 g
11623 \end_layout
11624
11625 \end_inset
11626 </cell>
11627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11628 \begin_inset Text
11629
11630 \begin_layout Plain Layout
11631 h
11632 \end_layout
11633
11634 \end_inset
11635 </cell>
11636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11637 \begin_inset Text
11638
11639 \begin_layout Plain Layout
11640 i
11641 \end_layout
11642
11643 \end_inset
11644 </cell>
11645 </row>
11646 </lyxtabular>
11647
11648 \end_inset
11649
11650
11651 \end_layout
11652
11653 \end_inset
11654
11655
11656 \end_layout
11657
11658 \begin_layout Standard
11659 To create for example Table
11660 \begin_inset Space ~
11661 \end_inset
11662
11663
11664 \begin_inset CommandInset ref
11665 LatexCommand ref
11666 reference "tab:Table-with-centered"
11667
11668 \end_inset
11669
11670 , mark the first two cells in the first row of a 3×3 table and right-click
11671  on them.
11672  Now choose for this cell 
11673 \emph on
11674 multicolumn
11675 \emph default
11676
11677 \emph on
11678 centered alignment
11679 \emph default
11680  and a width of 2.5
11681 \begin_inset Space \thinspace{}
11682 \end_inset
11683
11684 cm in the table dialog.
11685  The spanned columns should have exactly half the width of the multicolumn
11686  cell, so that you would adjust a width of 1.25
11687 \begin_inset Space \thinspace{}
11688 \end_inset
11689
11690 cm for the first column.
11691  The second column has then automatically a width of 1.25
11692 \begin_inset Space \thinspace{}
11693 \end_inset
11694
11695 cm (multicolumn width - width of first column).
11696  This was done for Table
11697 \begin_inset Space ~
11698 \end_inset
11699
11700
11701 \begin_inset CommandInset ref
11702 LatexCommand ref
11703 reference "tab:Table-without-half"
11704
11705 \end_inset
11706
11707 .
11708 \end_layout
11709
11710 \begin_layout Standard
11711 \begin_inset Float table
11712 wide false
11713 sideways false
11714 status open
11715
11716 \begin_layout Plain Layout
11717 \begin_inset Caption
11718
11719 \begin_layout Plain Layout
11720 \begin_inset CommandInset label
11721 LatexCommand label
11722 name "tab:Table-without-half"
11723
11724 \end_inset
11725
11726 Table where the spanned table columns have not exactly half the width of
11727  the multicolumn cell
11728 \begin_inset OptArg
11729 status collapsed
11730
11731 \begin_layout Plain Layout
11732 Imperfect multicolumn table
11733 \end_layout
11734
11735 \end_inset
11736
11737
11738 \end_layout
11739
11740 \end_inset
11741
11742
11743 \end_layout
11744
11745 \begin_layout Plain Layout
11746 \align center
11747 \begin_inset Tabular
11748 <lyxtabular version="3" rows="3" columns="3">
11749 <features>
11750 <column alignment="center" valignment="top" width="1.25cm">
11751 <column alignment="center" valignment="top" width="0">
11752 <column alignment="center" valignment="top" width="0">
11753 <row>
11754 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11755 \begin_inset Text
11756
11757 \begin_layout Plain Layout
11758 multiple lines multicolumn
11759 \end_layout
11760
11761 \end_inset
11762 </cell>
11763 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11764 \begin_inset Text
11765
11766 \begin_layout Plain Layout
11767
11768 \end_layout
11769
11770 \end_inset
11771 </cell>
11772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11773 \begin_inset Text
11774
11775 \begin_layout Plain Layout
11776 c
11777 \end_layout
11778
11779 \end_inset
11780 </cell>
11781 </row>
11782 <row>
11783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11784 \begin_inset Text
11785
11786 \begin_layout Plain Layout
11787 d
11788 \end_layout
11789
11790 \end_inset
11791 </cell>
11792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11793 \begin_inset Text
11794
11795 \begin_layout Plain Layout
11796 e
11797 \end_layout
11798
11799 \end_inset
11800 </cell>
11801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11802 \begin_inset Text
11803
11804 \begin_layout Plain Layout
11805 f
11806 \end_layout
11807
11808 \end_inset
11809 </cell>
11810 </row>
11811 <row>
11812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11813 \begin_inset Text
11814
11815 \begin_layout Plain Layout
11816 g
11817 \end_layout
11818
11819 \end_inset
11820 </cell>
11821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11822 \begin_inset Text
11823
11824 \begin_layout Plain Layout
11825 h
11826 \end_layout
11827
11828 \end_inset
11829 </cell>
11830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11831 \begin_inset Text
11832
11833 \begin_layout Plain Layout
11834 i
11835 \end_layout
11836
11837 \end_inset
11838 </cell>
11839 </row>
11840 </lyxtabular>
11841
11842 \end_inset
11843
11844
11845 \end_layout
11846
11847 \end_inset
11848
11849
11850 \end_layout
11851
11852 \begin_layout Standard
11853 You can see that the first column has not the half width of the multicolumn
11854  cell, it is a bit bigger.
11855  The reason is that the given width of a cell 
11856 \begin_inset Formula $W_{g}$
11857 \end_inset
11858
11859  is not its total width 
11860 \begin_inset Formula $W_{\mathrm{tot}}$
11861 \end_inset
11862
11863  because a cell is always a bit larger than its given width.
11864  Appendix
11865 \begin_inset Space ~
11866 \end_inset
11867
11868
11869 \begin_inset CommandInset ref
11870 LatexCommand eqref
11871 reference "cha:Explanation-of-Equation"
11872
11873 \end_inset
11874
11875  explains it in detail.
11876 \end_layout
11877
11878 \begin_layout Standard
11879 The needed given width 
11880 \begin_inset Formula $W_{g\, n}$
11881 \end_inset
11882
11883  when 
11884 \emph on
11885 n
11886 \emph default
11887  columns are spanned can be calculated, so that each column has a total
11888  width of 
11889 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11890 \end_inset
11891
11892 :
11893 \begin_inset Formula \begin{equation}
11894 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11895
11896 \end_inset
11897
11898
11899 \end_layout
11900
11901 \begin_layout Standard
11902 In our case we have 
11903 \begin_inset Formula $n=2$
11904 \end_inset
11905
11906
11907 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11908 \end_inset
11909
11910 cm and the default values for the lengths, so that equation 
11911 \begin_inset CommandInset ref
11912 LatexCommand ref
11913 reference "eq:Wgn"
11914
11915 \end_inset
11916
11917  becomes
11918 \begin_inset Formula \begin{equation}
11919 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11920
11921 \end_inset
11922
11923
11924 \end_layout
11925
11926 \begin_layout Standard
11927 To enable calculations in LaTeX, the LaTeX-package 
11928 \series bold
11929 calc
11930 \series default
11931  must be loaded with the document preamble line
11932 \begin_inset Index
11933 status collapsed
11934
11935 \begin_layout Plain Layout
11936 LaTeX-packages ! calc
11937 \end_layout
11938
11939 \end_inset
11940
11941
11942 \end_layout
11943
11944 \begin_layout Standard
11945
11946 \series bold
11947
11948 \backslash
11949 usepackage{calc}
11950 \end_layout
11951
11952 \begin_layout Standard
11953 LyX does not allow to calculate lengths in the width-field of the table
11954  dialog.
11955  Therefore you have to format the column by inserting a LaTeX-argument in
11956  the dialog.
11957  Here is an overview about the arguments:
11958 \end_layout
11959
11960 \begin_layout Itemize
11961
11962 \series bold
11963 p{width}
11964 \series default
11965  creates cell with a fixed width, its text is vertically top-aligned
11966 \end_layout
11967
11968 \begin_layout Itemize
11969
11970 \series bold
11971 m{width}
11972 \series default
11973  creates cell with a fixed width, its text is vertically centered
11974 \end_layout
11975
11976 \begin_layout Itemize
11977
11978 \series bold
11979 b{width}
11980 \series default
11981  creates cell with a fixed width, its text is vertically bottom-aligned
11982 \end_layout
11983
11984 \begin_layout Standard
11985 By entering a LaTeX-argument, all cell settings set in the table dialog
11986  are overwritten.
11987 \end_layout
11988
11989 \begin_layout Standard
11990 \begin_inset Note Greyedout
11991 status open
11992
11993 \begin_layout Plain Layout
11994
11995 \series bold
11996 Note:
11997 \series default
11998  Due to a bug, LyX shows the overwritten settings anyway.
11999 \end_layout
12000
12001 \end_inset
12002
12003
12004 \end_layout
12005
12006 \begin_layout Standard
12007 As the text should be horizontally centered, the command 
12008 \series bold
12009
12010 \backslash
12011 centering
12012 \series default
12013  is added.
12014  You can now enter the following LaTeX-argument for the first spanned column:
12015 \end_layout
12016
12017 \begin_layout Standard
12018
12019 \series bold
12020 >{
12021 \backslash
12022 centering}m{1.25cm-6.2pt}
12023 \end_layout
12024
12025 \begin_layout Standard
12026 The command 
12027 \series bold
12028 >{ }
12029 \series default
12030  means, that the commands inside the braces are applied before the cell
12031  is created.
12032 \end_layout
12033
12034 \begin_layout Standard
12035 Although we have chosen centered alignment for the text of the multicolumn
12036  cell, it is still left aligned.
12037  This is because LyX only applies the alignment to single columns.
12038  So we have to use for the multicolumn the LaTeX-argument
12039 \end_layout
12040
12041 \begin_layout Standard
12042
12043 \series bold
12044 >{
12045 \backslash
12046 centering}m{2.5cm}
12047 \end_layout
12048
12049 \begin_layout Subsection
12050 Multirows
12051 \begin_inset Index
12052 status collapsed
12053
12054 \begin_layout Plain Layout
12055 Multirows
12056 \end_layout
12057
12058 \end_inset
12059
12060
12061 \begin_inset Index
12062 status collapsed
12063
12064 \begin_layout Plain Layout
12065 Table ! Multirows
12066 \end_layout
12067
12068 \end_inset
12069
12070
12071 \begin_inset Index
12072 status collapsed
12073
12074 \begin_layout Plain Layout
12075 LaTeX-packages ! multirow
12076 \end_layout
12077
12078 \end_inset
12079
12080
12081 \end_layout
12082
12083 \begin_layout Standard
12084 In contrary to multicolumns multirows are not yet supported by LyX so a
12085  bit of TeX-Code needs to be used.
12086  To use multirows load the LaTeX-package 
12087 \series bold
12088 multirow
12089 \series default
12090  in your document preamble with the command
12091 \end_layout
12092
12093 \begin_layout Standard
12094
12095 \series bold
12096
12097 \backslash
12098 usepackage{multirow}
12099 \end_layout
12100
12101 \begin_layout Standard
12102 Multirows are created with the command
12103 \end_layout
12104
12105 \begin_layout Standard
12106
12107 \series bold
12108
12109 \backslash
12110 multirow{number of rows}{cell width}{cell entry}
12111 \end_layout
12112
12113 \begin_layout Standard
12114 To create the following table:
12115 \end_layout
12116
12117 \begin_layout Standard
12118 \align center
12119 \begin_inset ERT
12120 status collapsed
12121
12122 \begin_layout Plain Layout
12123
12124
12125 \backslash
12126 renewcommand{
12127 \backslash
12128 multirowsetup}{
12129 \backslash
12130 centering}
12131 \end_layout
12132
12133 \end_inset
12134
12135
12136 \begin_inset Tabular
12137 <lyxtabular version="3" rows="3" columns="3">
12138 <features>
12139 <column alignment="center" valignment="top" width="0">
12140 <column alignment="center" valignment="top" width="0">
12141 <column alignment="center" valignment="top" width="0">
12142 <row>
12143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12144 \begin_inset Text
12145
12146 \begin_layout Plain Layout
12147 a
12148 \end_layout
12149
12150 \end_inset
12151 </cell>
12152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12153 \begin_inset Text
12154
12155 \begin_layout Plain Layout
12156 b
12157 \end_layout
12158
12159 \end_inset
12160 </cell>
12161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12162 \begin_inset Text
12163
12164 \begin_layout Plain Layout
12165 c
12166 \end_layout
12167
12168 \end_inset
12169 </cell>
12170 </row>
12171 <row>
12172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12173 \begin_inset Text
12174
12175 \begin_layout Plain Layout
12176 \begin_inset ERT
12177 status collapsed
12178
12179 \begin_layout Plain Layout
12180
12181
12182 \backslash
12183 multirow{2}{2.5cm}{
12184 \end_layout
12185
12186 \end_inset
12187
12188 multirow entry
12189 \begin_inset ERT
12190 status collapsed
12191
12192 \begin_layout Plain Layout
12193
12194 }
12195 \end_layout
12196
12197 \end_inset
12198
12199
12200 \end_layout
12201
12202 \end_inset
12203 </cell>
12204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12205 \begin_inset Text
12206
12207 \begin_layout Plain Layout
12208 e
12209 \end_layout
12210
12211 \end_inset
12212 </cell>
12213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12214 \begin_inset Text
12215
12216 \begin_layout Plain Layout
12217 f
12218 \end_layout
12219
12220 \end_inset
12221 </cell>
12222 </row>
12223 <row>
12224 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12225 \begin_inset Text
12226
12227 \begin_layout Plain Layout
12228
12229 \end_layout
12230
12231 \end_inset
12232 </cell>
12233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12234 \begin_inset Text
12235
12236 \begin_layout Plain Layout
12237 h
12238 \end_layout
12239
12240 \end_inset
12241 </cell>
12242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12243 \begin_inset Text
12244
12245 \begin_layout Plain Layout
12246 i
12247 \end_layout
12248
12249 \end_inset
12250 </cell>
12251 </row>
12252 </lyxtabular>
12253
12254 \end_inset
12255
12256
12257 \begin_inset ERT
12258 status collapsed
12259
12260 \begin_layout Plain Layout
12261
12262
12263 \backslash
12264 renewcommand{
12265 \backslash
12266 multirowsetup}{
12267 \backslash
12268 raggedright}
12269 \end_layout
12270
12271 \end_inset
12272
12273
12274 \end_layout
12275
12276 \begin_layout Standard
12277 create a 3×3 table.
12278  To get rid of the line above the last cell in the first column, the cell
12279  is marked as multicolumn and the upper border is unset.
12280  The multirow is now created in the second row of the first column by inserting
12281  there the command
12282 \end_layout
12283
12284 \begin_layout Standard
12285
12286 \series bold
12287
12288 \backslash
12289 multirow{2}{2.5cm}{
12290 \end_layout
12291
12292 \begin_layout Standard
12293 as TeX-Code.
12294  According to the command parameters the multirow spans now two rows and
12295  has a width of 2.5
12296 \begin_inset Space \thinspace{}
12297 \end_inset
12298
12299 cm.
12300  The content of the multirow cell follows outside the TeX-Code box and the
12301  command is finished with a right brace 
12302 \series bold
12303 }
12304 \series default
12305  in another TeX-Code-box behind the text.
12306 \end_layout
12307
12308 \begin_layout Standard
12309
12310 \series bold
12311
12312 \backslash
12313 multirow
12314 \series default
12315  left-aligns its content by default.
12316  To override the default, renew the command 
12317 \series bold
12318
12319 \backslash
12320 multirowsetup
12321 \series default
12322  with the command
12323 \end_layout
12324
12325 \begin_layout Standard
12326
12327 \series bold
12328
12329 \backslash
12330 renewcommand{
12331 \backslash
12332 multirowsetup}{
12333 \backslash
12334 centering}
12335 \end_layout
12336
12337 \begin_layout Standard
12338 in TeX-Code in the document preamble.
12339  Then all entries of multirow cells in the document are centered.
12340  If centering is only needed for several tables, you can renew the command
12341  in an TeX-Code box just before the table instead of the preamble.
12342  If the text should be right-aligned, replace 
12343 \series bold
12344
12345 \backslash
12346 centering
12347 \series default
12348  by 
12349 \series bold
12350
12351 \backslash
12352 raggedleft
12353 \series default
12354 .
12355  To return to left-alignment 
12356 \series bold
12357
12358 \backslash
12359 raggedright
12360 \series default
12361  is used.
12362 \end_layout
12363
12364 \begin_layout Section
12365 Formal Tables
12366 \begin_inset CommandInset label
12367 LatexCommand label
12368 name "sec:Formal-Tables"
12369
12370 \end_inset
12371
12372
12373 \begin_inset Index
12374 status collapsed
12375
12376 \begin_layout Plain Layout
12377 Table ! Formal
12378 \end_layout
12379
12380 \end_inset
12381
12382
12383 \end_layout
12384
12385 \begin_layout Standard
12386 Tables are often typeset in books similar to Table
12387 \begin_inset Space ~
12388 \end_inset
12389
12390
12391 \begin_inset CommandInset ref
12392 LatexCommand ref
12393 reference "tab:Example-booktabs-table"
12394
12395 \end_inset
12396
12397 .
12398  This kind of tables is called 
12399 \begin_inset Quotes eld
12400 \end_inset
12401
12402
12403 \emph on
12404 formal
12405 \emph default
12406
12407 \begin_inset Quotes erd
12408 \end_inset
12409
12410 .
12411  To make a table a formal table use the option 
12412 \family sans
12413 Formal
12414 \family default
12415  in the 
12416 \family sans
12417 Borders
12418 \family default
12419  tab of the table dialog.
12420 \end_layout
12421
12422 \begin_layout Standard
12423 \begin_inset Float table
12424 placement h
12425 wide false
12426 sideways false
12427 status open
12428
12429 \begin_layout Plain Layout
12430 \begin_inset Caption
12431
12432 \begin_layout Plain Layout
12433 \begin_inset CommandInset label
12434 LatexCommand label
12435 name "tab:Example-booktabs-table"
12436
12437 \end_inset
12438
12439 Example booktabs-table
12440 \end_layout
12441
12442 \end_inset
12443
12444
12445 \end_layout
12446
12447 \begin_layout Plain Layout
12448 \align center
12449 \begin_inset Tabular
12450 <lyxtabular version="3" rows="8" columns="4">
12451 <features booktabs="true">
12452 <column alignment="center" valignment="top" width="0">
12453 <column alignment="center" valignment="top" width="0">
12454 <column alignment="center" valignment="top" width="0">
12455 <column alignment="center" valignment="top" width="0">
12456 <row>
12457 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12458 \begin_inset Text
12459
12460 \begin_layout Plain Layout
12461 System
12462 \end_layout
12463
12464 \end_inset
12465 </cell>
12466 <cell alignment="center" valignment="top" topline="true" usebox="none">
12467 \begin_inset Text
12468
12469 \begin_layout Plain Layout
12470 Medipix
12471 \begin_inset Formula $\,$
12472 \end_inset
12473
12474 1
12475 \end_layout
12476
12477 \end_inset
12478 </cell>
12479 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12480 \begin_inset Text
12481
12482 \begin_layout Plain Layout
12483 Medipix
12484 \begin_inset Formula $\,$
12485 \end_inset
12486
12487 2
12488 \end_layout
12489
12490 \end_inset
12491 </cell>
12492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12493 \begin_inset Text
12494
12495 \begin_layout Plain Layout
12496
12497 \end_layout
12498
12499 \end_inset
12500 </cell>
12501 </row>
12502 <row>
12503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12504 \begin_inset Text
12505
12506 \begin_layout Plain Layout
12507 \begin_inset ERT
12508 status collapsed
12509
12510 \begin_layout Plain Layout
12511
12512
12513 \backslash
12514 cmidrule(r){2-2}
12515 \end_layout
12516
12517 \end_inset
12518
12519
12520 \begin_inset ERT
12521 status collapsed
12522
12523 \begin_layout Plain Layout
12524
12525
12526 \backslash
12527 cmidrule(l){3-4}
12528 \end_layout
12529
12530 \end_inset
12531
12532 Detector thickness [µm]
12533 \end_layout
12534
12535 \end_inset
12536 </cell>
12537 <cell alignment="center" valignment="top" usebox="none">
12538 \begin_inset Text
12539
12540 \begin_layout Plain Layout
12541 300
12542 \end_layout
12543
12544 \end_inset
12545 </cell>
12546 <cell alignment="center" valignment="top" usebox="none">
12547 \begin_inset Text
12548
12549 \begin_layout Plain Layout
12550 300
12551 \end_layout
12552
12553 \end_inset
12554 </cell>
12555 <cell alignment="center" valignment="top" usebox="none">
12556 \begin_inset Text
12557
12558 \begin_layout Plain Layout
12559 700
12560 \end_layout
12561
12562 \end_inset
12563 </cell>
12564 </row>
12565 <row>
12566 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12567 \begin_inset Text
12568
12569 \begin_layout Plain Layout
12570 Edge angle [°]
12571 \end_layout
12572
12573 \end_inset
12574 </cell>
12575 <cell alignment="center" valignment="top" topline="true" usebox="none">
12576 \begin_inset Text
12577
12578 \begin_layout Plain Layout
12579 3.55
12580 \end_layout
12581
12582 \end_inset
12583 </cell>
12584 <cell alignment="center" valignment="top" topline="true" usebox="none">
12585 \begin_inset Text
12586
12587 \begin_layout Plain Layout
12588 2.71
12589 \end_layout
12590
12591 \end_inset
12592 </cell>
12593 <cell alignment="center" valignment="top" topline="true" usebox="none">
12594 \begin_inset Text
12595
12596 \begin_layout Plain Layout
12597 7.99
12598 \end_layout
12599
12600 \end_inset
12601 </cell>
12602 </row>
12603 <row topspace="default">
12604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12605 \begin_inset Text
12606
12607 \begin_layout Plain Layout
12608 Spatial resolution [µm]
12609 \end_layout
12610
12611 \end_inset
12612 </cell>
12613 <cell alignment="center" valignment="top" usebox="none">
12614 \begin_inset Text
12615
12616 \begin_layout Plain Layout
12617 4.26
12618 \end_layout
12619
12620 \end_inset
12621 </cell>
12622 <cell alignment="center" valignment="top" usebox="none">
12623 \begin_inset Text
12624
12625 \begin_layout Plain Layout
12626 10.17
12627 \end_layout
12628
12629 \end_inset
12630 </cell>
12631 <cell alignment="center" valignment="top" usebox="none">
12632 \begin_inset Text
12633
12634 \begin_layout Plain Layout
12635 10.56
12636 \end_layout
12637
12638 \end_inset
12639 </cell>
12640 </row>
12641 <row topspace="default">
12642 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12643 \begin_inset Text
12644
12645 \begin_layout Plain Layout
12646 MTF at 
12647 \begin_inset Formula $f_{\mathrm{max}}$
12648 \end_inset
12649
12650
12651 \end_layout
12652
12653 \end_inset
12654 </cell>
12655 <cell alignment="center" valignment="top" usebox="none">
12656 \begin_inset Text
12657
12658 \begin_layout Plain Layout
12659 0.53
12660 \end_layout
12661
12662 \end_inset
12663 </cell>
12664 <cell alignment="center" valignment="top" usebox="none">
12665 \begin_inset Text
12666
12667 \begin_layout Plain Layout
12668 0.37
12669 \end_layout
12670
12671 \end_inset
12672 </cell>
12673 <cell alignment="center" valignment="top" usebox="none">
12674 \begin_inset Text
12675
12676 \begin_layout Plain Layout
12677 0.39
12678 \end_layout
12679
12680 \end_inset
12681 </cell>
12682 </row>
12683 <row topspace="default">
12684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12685 \begin_inset Text
12686
12687 \begin_layout Plain Layout
12688 \begin_inset ERT
12689 status collapsed
12690
12691 \begin_layout Plain Layout
12692
12693
12694 \backslash
12695 cmidrule(l{10pt}){1-1}
12696 \end_layout
12697
12698 \end_inset
12699
12700 LSF-spatial resolution
12701 \end_layout
12702
12703 \end_inset
12704 </cell>
12705 <cell alignment="center" valignment="top" usebox="none">
12706 \begin_inset Text
12707
12708 \begin_layout Plain Layout
12709
12710 \end_layout
12711
12712 \end_inset
12713 </cell>
12714 <cell alignment="center" valignment="top" usebox="none">
12715 \begin_inset Text
12716
12717 \begin_layout Plain Layout
12718
12719 \end_layout
12720
12721 \end_inset
12722 </cell>
12723 <cell alignment="center" valignment="top" usebox="none">
12724 \begin_inset Text
12725
12726 \begin_layout Plain Layout
12727
12728 \end_layout
12729
12730 \end_inset
12731 </cell>
12732 </row>
12733 <row>
12734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12735 \begin_inset Text
12736
12737 \begin_layout Plain Layout
12738 in Âµm
12739 \end_layout
12740
12741 \end_inset
12742 </cell>
12743 <cell alignment="center" valignment="top" usebox="none">
12744 \begin_inset Text
12745
12746 \begin_layout Plain Layout
12747 129.7
12748 \end_layout
12749
12750 \end_inset
12751 </cell>
12752 <cell alignment="center" valignment="top" usebox="none">
12753 \begin_inset Text
12754
12755 \begin_layout Plain Layout
12756 52.75
12757 \end_layout
12758
12759 \end_inset
12760 </cell>
12761 <cell alignment="center" valignment="top" usebox="none">
12762 \begin_inset Text
12763
12764 \begin_layout Plain Layout
12765 50.78
12766 \end_layout
12767
12768 \end_inset
12769 </cell>
12770 </row>
12771 <row>
12772 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12773 \begin_inset Text
12774
12775 \begin_layout Plain Layout
12776 in % of pixel size
12777 \end_layout
12778
12779 \end_inset
12780 </cell>
12781 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12782 \begin_inset Text
12783
12784 \begin_layout Plain Layout
12785 76.3
12786 \end_layout
12787
12788 \end_inset
12789 </cell>
12790 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Plain Layout
12794 95.9
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Plain Layout
12803 92.3
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 </row>
12809 </lyxtabular>
12810
12811 \end_inset
12812
12813
12814 \end_layout
12815
12816 \end_inset
12817
12818
12819 \end_layout
12820
12821 \begin_layout Standard
12822 Spaces to table rows can be added using the 
12823 \family sans
12824 Borders
12825 \family default
12826  tab of the table dialog as described in section
12827 \begin_inset Space ~
12828 \end_inset
12829
12830
12831 \begin_inset CommandInset ref
12832 LatexCommand ref
12833 reference "sub:Row-Spacing"
12834
12835 \end_inset
12836
12837 .
12838 \end_layout
12839
12840 \begin_layout Standard
12841 In contrary to normal tables, formal tables have no vertical table lines.
12842  The horizontal table lines can be set like for normal tables but they appear
12843  with different width in the output:
12844 \begin_inset Newline newline
12845 \end_inset
12846
12847 The first and the last table line have a default width of 0.08
12848 \begin_inset Space \thinspace{}
12849 \end_inset
12850
12851 em while the other lines have a default width of 0.05
12852 \begin_inset Space \thinspace{}
12853 \end_inset
12854
12855 em.
12856 \end_layout
12857
12858 \begin_layout Standard
12859 The default widths can be changed with the following preamble lines
12860 \end_layout
12861
12862 \begin_layout Standard
12863
12864 \series bold
12865
12866 \backslash
12867 let
12868 \backslash
12869 mytoprule
12870 \backslash
12871 toprule
12872 \begin_inset Newline newline
12873 \end_inset
12874
12875
12876 \backslash
12877 renewcommand{
12878 \backslash
12879 toprule}{
12880 \backslash
12881 mytoprule[width]}
12882 \end_layout
12883
12884 \begin_layout Standard
12885 This example is for the first line, the so called 
12886 \series bold
12887 toprule
12888 \series default
12889 .
12890  If you want to change the width for the last line, replace 
12891 \series bold
12892 toprule
12893 \series default
12894  by 
12895 \series bold
12896 bottomrule
12897 \series default
12898 .
12899  To change the width for the other lines replace 
12900 \series bold
12901 toprule
12902 \series default
12903  by 
12904 \series bold
12905 midrule
12906 \series default
12907 .
12908  You can use all units listed in appendix
12909 \begin_inset Space ~
12910 \end_inset
12911
12912
12913 \begin_inset CommandInset ref
12914 LatexCommand ref
12915 reference "cha:Units-available-in"
12916
12917 \end_inset
12918
12919  to set the width.
12920 \end_layout
12921
12922 \begin_layout Standard
12923 Lines that don't span over all table columns can be created by setting a
12924  table line for multicolumn cells.
12925  LyX will then internally use the command 
12926 \series bold
12927
12928 \backslash
12929 cmidrule
12930 \series default
12931  to create this line.
12932  Its full scheme is
12933 \end_layout
12934
12935 \begin_layout Standard
12936
12937 \series bold
12938
12939 \backslash
12940 cmidrule[width](trim){startcol-endcol}
12941 \end_layout
12942
12943 \begin_layout Standard
12944 The options of 
12945 \series bold
12946
12947 \backslash
12948 cmidrule
12949 \series default
12950  are are currently not supported by LyX so you have to use TeX-Code to be
12951  able to use them.
12952  
12953 \series bold
12954
12955 \backslash
12956 cmidrule
12957 \series default
12958 s can manually be created by inserting the command as TeX-Code as first
12959  cell entry of the first cell of a row.
12960  The line is then drawn in the output above the current row.
12961 \end_layout
12962
12963 \begin_layout Standard
12964 The default for the width is 0.03
12965 \begin_inset Space \thinspace{}
12966 \end_inset
12967
12968 em.
12969  Startcol is the number of the column where the line starts and endcol the
12970  column number where the line ends.
12971  The endcol always needs to be specified, also when the line should span
12972  only one column.
12973  The optional parameter trim could be either 
12974 \emph on
12975 l{trimwidth}
12976 \emph default
12977 , or 
12978 \emph on
12979 r{trimwidth}
12980 \emph default
12981  where the trimwidth is also optional.
12982  Using for example the parameter 
12983 \emph on
12984 l{2pt}
12985 \emph default
12986  means that the line is trimmed from its left end by 2
12987 \begin_inset Space \thinspace{}
12988 \end_inset
12989
12990 pt.
12991  If you don't specify the trimwidth the lines are trimmed by the default
12992  of 0.5
12993 \begin_inset Space \thinspace{}
12994 \end_inset
12995
12996 em.
12997 \end_layout
12998
12999 \begin_layout Standard
13000 \begin_inset VSpace bigskip
13001 \end_inset
13002
13003 Table
13004 \begin_inset Space ~
13005 \end_inset
13006
13007
13008 \begin_inset CommandInset ref
13009 LatexCommand ref
13010 reference "tab:Example-booktabs-table"
13011
13012 \end_inset
13013
13014  was created using the commands
13015 \end_layout
13016
13017 \begin_layout Standard
13018
13019 \series bold
13020
13021 \backslash
13022 cmidrule(r){2-2}
13023 \backslash
13024 cmidrule(l){3-4}
13025 \end_layout
13026
13027 \begin_layout Standard
13028 at the beginning of the in the second row and
13029 \end_layout
13030
13031 \begin_layout Standard
13032
13033 \series bold
13034
13035 \backslash
13036 cmidrule(l{10pt}){1-1}
13037 \end_layout
13038
13039 \begin_layout Standard
13040 in the sixth row.
13041 \end_layout
13042
13043 \begin_layout Standard
13044 \begin_inset VSpace bigskip
13045 \end_inset
13046
13047
13048 \end_layout
13049
13050 \begin_layout Standard
13051 You might want to have overlapping 
13052 \series bold
13053
13054 \backslash
13055 cmidrule
13056 \series default
13057 s like in Table
13058 \begin_inset Space ~
13059 \end_inset
13060
13061
13062 \begin_inset CommandInset ref
13063 LatexCommand ref
13064 reference "tab:Special-booktabs-table"
13065
13066 \end_inset
13067
13068 .
13069  This can be achieved with the TeX-Code command
13070 \end_layout
13071
13072 \begin_layout Standard
13073
13074 \series bold
13075
13076 \backslash
13077 morecmidrules
13078 \end_layout
13079
13080 \begin_layout Standard
13081 The command that was used for the second row of Table
13082 \begin_inset Space ~
13083 \end_inset
13084
13085
13086 \begin_inset CommandInset ref
13087 LatexCommand ref
13088 reference "tab:Special-booktabs-table"
13089
13090 \end_inset
13091
13092  is
13093 \end_layout
13094
13095 \begin_layout Standard
13096
13097 \series bold
13098
13099 \backslash
13100 cmidrule(r){2-2}
13101 \backslash
13102 cmidrule(l){3-4}
13103 \backslash
13104 morecmidrules
13105 \backslash
13106 cmidrule{2-4}
13107 \end_layout
13108
13109 \begin_layout Standard
13110 The command for the sixth row is
13111 \end_layout
13112
13113 \begin_layout Standard
13114
13115 \series bold
13116
13117 \backslash
13118 midrule
13119 \backslash
13120 morecmidrules
13121 \backslash
13122 cmidrule{3-4}
13123 \end_layout
13124
13125 \begin_layout Standard
13126 \begin_inset VSpace bigskip
13127 \end_inset
13128
13129
13130 \end_layout
13131
13132 \begin_layout Standard
13133 If you are anyway not satisfied with the border line spacing, you can use
13134  the following command to produce lines that span over all table columns
13135 \series bold
13136 :
13137 \end_layout
13138
13139 \begin_layout Standard
13140
13141 \series bold
13142
13143 \backslash
13144 specialrule{width}{space above}{space below}
13145 \end_layout
13146
13147 \begin_layout Standard
13148 For more informations about these specialties, we refer to the manual of
13149  the LaTeX-package 
13150 \series bold
13151 booktabs
13152 \series default
13153  
13154 \begin_inset CommandInset citation
13155 LatexCommand cite
13156 key "booktabs"
13157
13158 \end_inset
13159
13160 .
13161 \begin_inset Index
13162 status collapsed
13163
13164 \begin_layout Plain Layout
13165 LaTeX-packages ! booktabs
13166 \end_layout
13167
13168 \end_inset
13169
13170
13171 \end_layout
13172
13173 \begin_layout Standard
13174 \begin_inset Float table
13175 placement h
13176 wide false
13177 sideways false
13178 status open
13179
13180 \begin_layout Plain Layout
13181 \begin_inset Caption
13182
13183 \begin_layout Plain Layout
13184 \begin_inset CommandInset label
13185 LatexCommand label
13186 name "tab:Special-booktabs-table"
13187
13188 \end_inset
13189
13190 Special booktabs-table
13191 \end_layout
13192
13193 \end_inset
13194
13195
13196 \end_layout
13197
13198 \begin_layout Plain Layout
13199 \align center
13200 \begin_inset Tabular
13201 <lyxtabular version="3" rows="8" columns="4">
13202 <features booktabs="true">
13203 <column alignment="center" valignment="top" width="0">
13204 <column alignment="center" valignment="top" width="0">
13205 <column alignment="center" valignment="top" width="0">
13206 <column alignment="center" valignment="top" width="0">
13207 <row>
13208 <cell alignment="center" valignment="top" topline="true" usebox="none">
13209 \begin_inset Text
13210
13211 \begin_layout Plain Layout
13212 System
13213 \end_layout
13214
13215 \end_inset
13216 </cell>
13217 <cell alignment="center" valignment="top" topline="true" usebox="none">
13218 \begin_inset Text
13219
13220 \begin_layout Plain Layout
13221 Medipix
13222 \begin_inset Space \thinspace{}
13223 \end_inset
13224
13225 1
13226 \end_layout
13227
13228 \end_inset
13229 </cell>
13230 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13231 \begin_inset Text
13232
13233 \begin_layout Plain Layout
13234 Medipix
13235 \begin_inset Space \thinspace{}
13236 \end_inset
13237
13238 2
13239 \end_layout
13240
13241 \end_inset
13242 </cell>
13243 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13244 \begin_inset Text
13245
13246 \begin_layout Plain Layout
13247
13248 \end_layout
13249
13250 \end_inset
13251 </cell>
13252 </row>
13253 <row>
13254 <cell alignment="center" valignment="top" usebox="none">
13255 \begin_inset Text
13256
13257 \begin_layout Plain Layout
13258 \begin_inset ERT
13259 status collapsed
13260
13261 \begin_layout Plain Layout
13262
13263
13264 \backslash
13265 cmidrule(r){2-2}
13266 \end_layout
13267
13268 \end_inset
13269
13270
13271 \begin_inset ERT
13272 status collapsed
13273
13274 \begin_layout Plain Layout
13275
13276
13277 \backslash
13278 cmidrule(l){3-4}
13279 \end_layout
13280
13281 \end_inset
13282
13283
13284 \begin_inset ERT
13285 status collapsed
13286
13287 \begin_layout Plain Layout
13288
13289
13290 \backslash
13291 morecmidrules 
13292 \end_layout
13293
13294 \end_inset
13295
13296
13297 \begin_inset ERT
13298 status collapsed
13299
13300 \begin_layout Plain Layout
13301
13302
13303 \backslash
13304 cmidrule{2-4}
13305 \end_layout
13306
13307 \end_inset
13308
13309 Detector thickness [µm]
13310 \end_layout
13311
13312 \end_inset
13313 </cell>
13314 <cell alignment="center" valignment="top" usebox="none">
13315 \begin_inset Text
13316
13317 \begin_layout Plain Layout
13318 300
13319 \end_layout
13320
13321 \end_inset
13322 </cell>
13323 <cell alignment="center" valignment="top" usebox="none">
13324 \begin_inset Text
13325
13326 \begin_layout Plain Layout
13327 300
13328 \end_layout
13329
13330 \end_inset
13331 </cell>
13332 <cell alignment="center" valignment="top" usebox="none">
13333 \begin_inset Text
13334
13335 \begin_layout Plain Layout
13336 700
13337 \end_layout
13338
13339 \end_inset
13340 </cell>
13341 </row>
13342 <row>
13343 <cell alignment="center" valignment="top" topline="true" usebox="none">
13344 \begin_inset Text
13345
13346 \begin_layout Plain Layout
13347 Edge angle [°]
13348 \end_layout
13349
13350 \end_inset
13351 </cell>
13352 <cell alignment="center" valignment="top" topline="true" usebox="none">
13353 \begin_inset Text
13354
13355 \begin_layout Plain Layout
13356 3.55
13357 \end_layout
13358
13359 \end_inset
13360 </cell>
13361 <cell alignment="center" valignment="top" topline="true" usebox="none">
13362 \begin_inset Text
13363
13364 \begin_layout Plain Layout
13365 2.71
13366 \end_layout
13367
13368 \end_inset
13369 </cell>
13370 <cell alignment="center" valignment="top" topline="true" usebox="none">
13371 \begin_inset Text
13372
13373 \begin_layout Plain Layout
13374 7.99
13375 \end_layout
13376
13377 \end_inset
13378 </cell>
13379 </row>
13380 <row topspace="default">
13381 <cell alignment="center" valignment="top" usebox="none">
13382 \begin_inset Text
13383
13384 \begin_layout Plain Layout
13385 Spatial resolution [µm]
13386 \end_layout
13387
13388 \end_inset
13389 </cell>
13390 <cell alignment="center" valignment="top" usebox="none">
13391 \begin_inset Text
13392
13393 \begin_layout Plain Layout
13394 4.26
13395 \end_layout
13396
13397 \end_inset
13398 </cell>
13399 <cell alignment="center" valignment="top" usebox="none">
13400 \begin_inset Text
13401
13402 \begin_layout Plain Layout
13403 10.17
13404 \end_layout
13405
13406 \end_inset
13407 </cell>
13408 <cell alignment="center" valignment="top" usebox="none">
13409 \begin_inset Text
13410
13411 \begin_layout Plain Layout
13412 10.56
13413 \end_layout
13414
13415 \end_inset
13416 </cell>
13417 </row>
13418 <row topspace="default">
13419 <cell alignment="center" valignment="top" usebox="none">
13420 \begin_inset Text
13421
13422 \begin_layout Plain Layout
13423 MTF at 
13424 \begin_inset Formula $f_{\mathrm{max}}$
13425 \end_inset
13426
13427
13428 \end_layout
13429
13430 \end_inset
13431 </cell>
13432 <cell alignment="center" valignment="top" usebox="none">
13433 \begin_inset Text
13434
13435 \begin_layout Plain Layout
13436 0.53
13437 \end_layout
13438
13439 \end_inset
13440 </cell>
13441 <cell alignment="center" valignment="top" usebox="none">
13442 \begin_inset Text
13443
13444 \begin_layout Plain Layout
13445 0.37
13446 \end_layout
13447
13448 \end_inset
13449 </cell>
13450 <cell alignment="center" valignment="top" usebox="none">
13451 \begin_inset Text
13452
13453 \begin_layout Plain Layout
13454 0.39
13455 \end_layout
13456
13457 \end_inset
13458 </cell>
13459 </row>
13460 <row>
13461 <cell alignment="center" valignment="top" topline="true" usebox="none">
13462 \begin_inset Text
13463
13464 \begin_layout Plain Layout
13465 \begin_inset ERT
13466 status collapsed
13467
13468 \begin_layout Plain Layout
13469
13470
13471 \backslash
13472 morecmidrules 
13473 \end_layout
13474
13475 \end_inset
13476
13477
13478 \begin_inset ERT
13479 status collapsed
13480
13481 \begin_layout Plain Layout
13482
13483
13484 \backslash
13485 cmidrule{3-4}
13486 \end_layout
13487
13488 \end_inset
13489
13490 LSF-spatial resolution
13491 \end_layout
13492
13493 \end_inset
13494 </cell>
13495 <cell alignment="center" valignment="top" topline="true" usebox="none">
13496 \begin_inset Text
13497
13498 \begin_layout Plain Layout
13499
13500 \end_layout
13501
13502 \end_inset
13503 </cell>
13504 <cell alignment="center" valignment="top" topline="true" usebox="none">
13505 \begin_inset Text
13506
13507 \begin_layout Plain Layout
13508
13509 \end_layout
13510
13511 \end_inset
13512 </cell>
13513 <cell alignment="center" valignment="top" topline="true" usebox="none">
13514 \begin_inset Text
13515
13516 \begin_layout Plain Layout
13517
13518 \end_layout
13519
13520 \end_inset
13521 </cell>
13522 </row>
13523 <row>
13524 <cell alignment="center" valignment="top" usebox="none">
13525 \begin_inset Text
13526
13527 \begin_layout Plain Layout
13528 in Âµm
13529 \end_layout
13530
13531 \end_inset
13532 </cell>
13533 <cell alignment="center" valignment="top" usebox="none">
13534 \begin_inset Text
13535
13536 \begin_layout Plain Layout
13537 129.7
13538 \end_layout
13539
13540 \end_inset
13541 </cell>
13542 <cell alignment="center" valignment="top" usebox="none">
13543 \begin_inset Text
13544
13545 \begin_layout Plain Layout
13546 52.75
13547 \end_layout
13548
13549 \end_inset
13550 </cell>
13551 <cell alignment="center" valignment="top" usebox="none">
13552 \begin_inset Text
13553
13554 \begin_layout Plain Layout
13555 50.78
13556 \end_layout
13557
13558 \end_inset
13559 </cell>
13560 </row>
13561 <row>
13562 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13563 \begin_inset Text
13564
13565 \begin_layout Plain Layout
13566 in % of pixel size
13567 \end_layout
13568
13569 \end_inset
13570 </cell>
13571 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13572 \begin_inset Text
13573
13574 \begin_layout Plain Layout
13575 76.3
13576 \end_layout
13577
13578 \end_inset
13579 </cell>
13580 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13581 \begin_inset Text
13582
13583 \begin_layout Plain Layout
13584 95.9
13585 \end_layout
13586
13587 \end_inset
13588 </cell>
13589 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13590 \begin_inset Text
13591
13592 \begin_layout Plain Layout
13593 92.3
13594 \end_layout
13595
13596 \end_inset
13597 </cell>
13598 </row>
13599 </lyxtabular>
13600
13601 \end_inset
13602
13603
13604 \end_layout
13605
13606 \end_inset
13607
13608
13609 \end_layout
13610
13611 \begin_layout Section
13612 Vertical Table Alignment
13613 \begin_inset Index
13614 status collapsed
13615
13616 \begin_layout Plain Layout
13617 Table ! Alignment
13618 \end_layout
13619
13620 \end_inset
13621
13622
13623 \end_layout
13624
13625 \begin_layout Standard
13626 To align tables vertically in a text line the table must be inside a box.
13627  The box can then be vertically aligned as described in section
13628 \begin_inset Space ~
13629 \end_inset
13630
13631
13632 \begin_inset CommandInset ref
13633 LatexCommand ref
13634 reference "sec:Box-Dialog"
13635
13636 \end_inset
13637
13638 .
13639 \end_layout
13640
13641 \begin_layout Standard
13642 In the following example the tables are inside a minipage
13643 \begin_inset Foot
13644 status collapsed
13645
13646 \begin_layout Plain Layout
13647 Minipages are described in section
13648 \begin_inset Space ~
13649 \end_inset
13650
13651
13652 \begin_inset CommandInset ref
13653 LatexCommand ref
13654 reference "sec:Minipages"
13655
13656 \end_inset
13657
13658 .
13659 \end_layout
13660
13661 \end_inset
13662
13663  box that has a width of 15
13664 \begin_inset Space \thinspace{}
13665 \end_inset
13666
13667 col%:
13668 \end_layout
13669
13670 \begin_layout Itemize
13671 test 
13672 \begin_inset Box Frameless
13673 position "t"
13674 hor_pos "c"
13675 has_inner_box 1
13676 inner_pos "c"
13677 use_parbox 0
13678 width "15col%"
13679 special "none"
13680 height "1in"
13681 height_special "totalheight"
13682 status collapsed
13683
13684 \begin_layout Plain Layout
13685 \begin_inset Tabular
13686 <lyxtabular version="3" rows="3" columns="3">
13687 <features>
13688 <column alignment="center" valignment="top" width="0">
13689 <column alignment="center" valignment="top" width="0">
13690 <column alignment="center" valignment="top" width="0">
13691 <row>
13692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13693 \begin_inset Text
13694
13695 \begin_layout Plain Layout
13696 a
13697 \end_layout
13698
13699 \end_inset
13700 </cell>
13701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13702 \begin_inset Text
13703
13704 \begin_layout Plain Layout
13705 d
13706 \end_layout
13707
13708 \end_inset
13709 </cell>
13710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13711 \begin_inset Text
13712
13713 \begin_layout Plain Layout
13714 g
13715 \end_layout
13716
13717 \end_inset
13718 </cell>
13719 </row>
13720 <row>
13721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13722 \begin_inset Text
13723
13724 \begin_layout Plain Layout
13725 b
13726 \end_layout
13727
13728 \end_inset
13729 </cell>
13730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13731 \begin_inset Text
13732
13733 \begin_layout Plain Layout
13734 e
13735 \end_layout
13736
13737 \end_inset
13738 </cell>
13739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13740 \begin_inset Text
13741
13742 \begin_layout Plain Layout
13743 h
13744 \end_layout
13745
13746 \end_inset
13747 </cell>
13748 </row>
13749 <row>
13750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13751 \begin_inset Text
13752
13753 \begin_layout Plain Layout
13754 c
13755 \end_layout
13756
13757 \end_inset
13758 </cell>
13759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13760 \begin_inset Text
13761
13762 \begin_layout Plain Layout
13763 f
13764 \end_layout
13765
13766 \end_inset
13767 </cell>
13768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13769 \begin_inset Text
13770
13771 \begin_layout Plain Layout
13772 i
13773 \end_layout
13774
13775 \end_inset
13776 </cell>
13777 </row>
13778 </lyxtabular>
13779
13780 \end_inset
13781
13782
13783 \end_layout
13784
13785 \end_inset
13786
13787  test 
13788 \begin_inset ERT
13789 status collapsed
13790
13791 \begin_layout Plain Layout
13792
13793
13794 \backslash
13795 raisebox{0.85
13796 \backslash
13797 baselineskip}{
13798 \end_layout
13799
13800 \end_inset
13801
13802
13803 \begin_inset Box Frameless
13804 position "t"
13805 hor_pos "c"
13806 has_inner_box 1
13807 inner_pos "c"
13808 use_parbox 0
13809 width "15col%"
13810 special "none"
13811 height "1in"
13812 height_special "totalheight"
13813 status collapsed
13814
13815 \begin_layout Plain Layout
13816 \begin_inset Tabular
13817 <lyxtabular version="3" rows="3" columns="3">
13818 <features>
13819 <column alignment="center" valignment="top" width="0">
13820 <column alignment="center" valignment="top" width="0">
13821 <column alignment="center" valignment="top" width="0">
13822 <row>
13823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13824 \begin_inset Text
13825
13826 \begin_layout Plain Layout
13827 a
13828 \end_layout
13829
13830 \end_inset
13831 </cell>
13832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13833 \begin_inset Text
13834
13835 \begin_layout Plain Layout
13836 d
13837 \end_layout
13838
13839 \end_inset
13840 </cell>
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13842 \begin_inset Text
13843
13844 \begin_layout Plain Layout
13845 g
13846 \end_layout
13847
13848 \end_inset
13849 </cell>
13850 </row>
13851 <row>
13852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13853 \begin_inset Text
13854
13855 \begin_layout Plain Layout
13856 b
13857 \end_layout
13858
13859 \end_inset
13860 </cell>
13861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13862 \begin_inset Text
13863
13864 \begin_layout Plain Layout
13865 e
13866 \end_layout
13867
13868 \end_inset
13869 </cell>
13870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13871 \begin_inset Text
13872
13873 \begin_layout Plain Layout
13874 h
13875 \end_layout
13876
13877 \end_inset
13878 </cell>
13879 </row>
13880 <row>
13881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13882 \begin_inset Text
13883
13884 \begin_layout Plain Layout
13885 c
13886 \end_layout
13887
13888 \end_inset
13889 </cell>
13890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13891 \begin_inset Text
13892
13893 \begin_layout Plain Layout
13894 f
13895 \end_layout
13896
13897 \end_inset
13898 </cell>
13899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13900 \begin_inset Text
13901
13902 \begin_layout Plain Layout
13903 i
13904 \end_layout
13905
13906 \end_inset
13907 </cell>
13908 </row>
13909 </lyxtabular>
13910
13911 \end_inset
13912
13913
13914 \end_layout
13915
13916 \end_inset
13917
13918
13919 \begin_inset ERT
13920 status collapsed
13921
13922 \begin_layout Plain Layout
13923
13924 }
13925 \end_layout
13926
13927 \end_inset
13928
13929
13930 \end_layout
13931
13932 \begin_layout Itemize
13933 test 
13934 \begin_inset Box Frameless
13935 position "c"
13936 hor_pos "c"
13937 has_inner_box 1
13938 inner_pos "c"
13939 use_parbox 0
13940 width "15col%"
13941 special "none"
13942 height "1in"
13943 height_special "totalheight"
13944 status collapsed
13945
13946 \begin_layout Plain Layout
13947 \begin_inset Tabular
13948 <lyxtabular version="3" rows="3" columns="3">
13949 <features>
13950 <column alignment="center" valignment="top" width="0">
13951 <column alignment="center" valignment="top" width="0">
13952 <column alignment="center" valignment="top" width="0">
13953 <row>
13954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13955 \begin_inset Text
13956
13957 \begin_layout Plain Layout
13958 a
13959 \end_layout
13960
13961 \end_inset
13962 </cell>
13963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13964 \begin_inset Text
13965
13966 \begin_layout Plain Layout
13967 d
13968 \end_layout
13969
13970 \end_inset
13971 </cell>
13972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13973 \begin_inset Text
13974
13975 \begin_layout Plain Layout
13976 g
13977 \end_layout
13978
13979 \end_inset
13980 </cell>
13981 </row>
13982 <row>
13983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13984 \begin_inset Text
13985
13986 \begin_layout Plain Layout
13987 b
13988 \end_layout
13989
13990 \end_inset
13991 </cell>
13992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13993 \begin_inset Text
13994
13995 \begin_layout Plain Layout
13996 e
13997 \end_layout
13998
13999 \end_inset
14000 </cell>
14001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14002 \begin_inset Text
14003
14004 \begin_layout Plain Layout
14005 h
14006 \end_layout
14007
14008 \end_inset
14009 </cell>
14010 </row>
14011 <row>
14012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14013 \begin_inset Text
14014
14015 \begin_layout Plain Layout
14016 c
14017 \end_layout
14018
14019 \end_inset
14020 </cell>
14021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14022 \begin_inset Text
14023
14024 \begin_layout Plain Layout
14025 f
14026 \end_layout
14027
14028 \end_inset
14029 </cell>
14030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14031 \begin_inset Text
14032
14033 \begin_layout Plain Layout
14034 i
14035 \end_layout
14036
14037 \end_inset
14038 </cell>
14039 </row>
14040 </lyxtabular>
14041
14042 \end_inset
14043
14044
14045 \end_layout
14046
14047 \end_inset
14048
14049
14050 \end_layout
14051
14052 \begin_layout Itemize
14053 test 
14054 \begin_inset Box Frameless
14055 position "b"
14056 hor_pos "c"
14057 has_inner_box 1
14058 inner_pos "c"
14059 use_parbox 0
14060 width "15col%"
14061 special "none"
14062 height "1in"
14063 height_special "totalheight"
14064 status collapsed
14065
14066 \begin_layout Plain Layout
14067 \begin_inset Tabular
14068 <lyxtabular version="3" rows="3" columns="3">
14069 <features>
14070 <column alignment="center" valignment="top" width="0">
14071 <column alignment="center" valignment="top" width="0">
14072 <column alignment="center" valignment="top" width="0">
14073 <row>
14074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14075 \begin_inset Text
14076
14077 \begin_layout Plain Layout
14078 a
14079 \end_layout
14080
14081 \end_inset
14082 </cell>
14083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14084 \begin_inset Text
14085
14086 \begin_layout Plain Layout
14087 d
14088 \end_layout
14089
14090 \end_inset
14091 </cell>
14092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14093 \begin_inset Text
14094
14095 \begin_layout Plain Layout
14096 g
14097 \end_layout
14098
14099 \end_inset
14100 </cell>
14101 </row>
14102 <row>
14103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14104 \begin_inset Text
14105
14106 \begin_layout Plain Layout
14107 b
14108 \end_layout
14109
14110 \end_inset
14111 </cell>
14112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14113 \begin_inset Text
14114
14115 \begin_layout Plain Layout
14116 e
14117 \end_layout
14118
14119 \end_inset
14120 </cell>
14121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14122 \begin_inset Text
14123
14124 \begin_layout Plain Layout
14125 h
14126 \end_layout
14127
14128 \end_inset
14129 </cell>
14130 </row>
14131 <row>
14132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14133 \begin_inset Text
14134
14135 \begin_layout Plain Layout
14136 c
14137 \end_layout
14138
14139 \end_inset
14140 </cell>
14141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14142 \begin_inset Text
14143
14144 \begin_layout Plain Layout
14145 f
14146 \end_layout
14147
14148 \end_inset
14149 </cell>
14150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14151 \begin_inset Text
14152
14153 \begin_layout Plain Layout
14154 i
14155 \end_layout
14156
14157 \end_inset
14158 </cell>
14159 </row>
14160 </lyxtabular>
14161
14162 \end_inset
14163
14164
14165 \end_layout
14166
14167 \end_inset
14168
14169  test 
14170 \begin_inset ERT
14171 status collapsed
14172
14173 \begin_layout Plain Layout
14174
14175
14176 \backslash
14177 raisebox{-0.32
14178 \backslash
14179 baselineskip}{
14180 \end_layout
14181
14182 \end_inset
14183
14184
14185 \begin_inset Box Frameless
14186 position "b"
14187 hor_pos "c"
14188 has_inner_box 1
14189 inner_pos "c"
14190 use_parbox 0
14191 width "15col%"
14192 special "none"
14193 height "1in"
14194 height_special "totalheight"
14195 status collapsed
14196
14197 \begin_layout Plain Layout
14198 \begin_inset Tabular
14199 <lyxtabular version="3" rows="3" columns="3">
14200 <features>
14201 <column alignment="center" valignment="top" width="0">
14202 <column alignment="center" valignment="top" width="0">
14203 <column alignment="center" valignment="top" width="0">
14204 <row>
14205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14206 \begin_inset Text
14207
14208 \begin_layout Plain Layout
14209 a
14210 \end_layout
14211
14212 \end_inset
14213 </cell>
14214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14215 \begin_inset Text
14216
14217 \begin_layout Plain Layout
14218 d
14219 \end_layout
14220
14221 \end_inset
14222 </cell>
14223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14224 \begin_inset Text
14225
14226 \begin_layout Plain Layout
14227 g
14228 \end_layout
14229
14230 \end_inset
14231 </cell>
14232 </row>
14233 <row>
14234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14235 \begin_inset Text
14236
14237 \begin_layout Plain Layout
14238 b
14239 \end_layout
14240
14241 \end_inset
14242 </cell>
14243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14244 \begin_inset Text
14245
14246 \begin_layout Plain Layout
14247 e
14248 \end_layout
14249
14250 \end_inset
14251 </cell>
14252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14253 \begin_inset Text
14254
14255 \begin_layout Plain Layout
14256 h
14257 \end_layout
14258
14259 \end_inset
14260 </cell>
14261 </row>
14262 <row>
14263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14264 \begin_inset Text
14265
14266 \begin_layout Plain Layout
14267 c
14268 \end_layout
14269
14270 \end_inset
14271 </cell>
14272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14273 \begin_inset Text
14274
14275 \begin_layout Plain Layout
14276 f
14277 \end_layout
14278
14279 \end_inset
14280 </cell>
14281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14282 \begin_inset Text
14283
14284 \begin_layout Plain Layout
14285 i
14286 \end_layout
14287
14288 \end_inset
14289 </cell>
14290 </row>
14291 </lyxtabular>
14292
14293 \end_inset
14294
14295
14296 \end_layout
14297
14298 \end_inset
14299
14300
14301 \begin_inset ERT
14302 status collapsed
14303
14304 \begin_layout Plain Layout
14305
14306 }
14307 \end_layout
14308
14309 \end_inset
14310
14311
14312 \end_layout
14313
14314 \begin_layout Standard
14315 As you can see, the content of the first and last table row is not correctly
14316  aligned with the text line where the table is in.
14317  To get this alignment, the minipage box must be set into a raisebox
14318 \begin_inset Foot
14319 status collapsed
14320
14321 \begin_layout Plain Layout
14322 Raiseboxes are described in section
14323 \begin_inset Space ~
14324 \end_inset
14325
14326
14327 \begin_inset CommandInset ref
14328 LatexCommand ref
14329 reference "sub:Vertical-Alignment"
14330
14331 \end_inset
14332
14333 .
14334 \end_layout
14335
14336 \end_inset
14337
14338 .
14339  In the example above the second table in the first item is aligned using
14340  the TeX-Code-command
14341 \end_layout
14342
14343 \begin_layout Standard
14344
14345 \series bold
14346
14347 \backslash
14348 raisebox{0.85
14349 \backslash
14350 baselineskip}{
14351 \end_layout
14352
14353 \begin_layout Standard
14354 before the box.
14355  Behind the box the closing brace 
14356 \series bold
14357 }
14358 \series default
14359  is inserted as TeX-Code.
14360  For the second table in the last item the command
14361 \end_layout
14362
14363 \begin_layout Standard
14364
14365 \series bold
14366
14367 \backslash
14368 raisebox{-0.32
14369 \backslash
14370 baselineskip}{
14371 \end_layout
14372
14373 \begin_layout Standard
14374 is used.
14375 \end_layout
14376
14377 \begin_layout Standard
14378 \begin_inset Note Greyedout
14379 status open
14380
14381 \begin_layout Plain Layout
14382
14383 \series bold
14384 Note:
14385 \series default
14386  The alignment of the table row content to the surrounding text line is
14387  not exact.
14388  The needed factor of the 
14389 \series bold
14390
14391 \backslash
14392 raisebox
14393 \series default
14394  command for this alignment depends on the document font, the font size,
14395  and the table line thickness.
14396 \end_layout
14397
14398 \end_inset
14399
14400
14401 \end_layout
14402
14403 \begin_layout Section
14404 Colored Tables
14405 \begin_inset CommandInset label
14406 LatexCommand label
14407 name "sec:Colored-Tables"
14408
14409 \end_inset
14410
14411
14412 \begin_inset Index
14413 status collapsed
14414
14415 \begin_layout Plain Layout
14416 Table ! Color
14417 \end_layout
14418
14419 \end_inset
14420
14421
14422 \end_layout
14423
14424 \begin_layout Subsection
14425 Colored Cells
14426 \begin_inset Index
14427 status collapsed
14428
14429 \begin_layout Plain Layout
14430 Table Color ! for Cells
14431 \end_layout
14432
14433 \end_inset
14434
14435
14436 \begin_inset Index
14437 status collapsed
14438
14439 \begin_layout Plain Layout
14440 Color ! for Table Cells
14441 \end_layout
14442
14443 \end_inset
14444
14445
14446 \end_layout
14447
14448 \begin_layout Standard
14449 \begin_inset Float table
14450 placement h
14451 wide false
14452 sideways false
14453 status open
14454
14455 \begin_layout Plain Layout
14456 \begin_inset Caption
14457
14458 \begin_layout Plain Layout
14459 \begin_inset CommandInset label
14460 LatexCommand label
14461 name "tab:Table-colored-without"
14462
14463 \end_inset
14464
14465 Table colored without using the package 
14466 \series bold
14467 colortbl
14468 \series default
14469
14470 \begin_inset OptArg
14471 status collapsed
14472
14473 \begin_layout Plain Layout
14474 Table without colortbl
14475 \end_layout
14476
14477 \end_inset
14478
14479
14480 \end_layout
14481
14482 \end_inset
14483
14484
14485 \end_layout
14486
14487 \begin_layout Plain Layout
14488 \align center
14489 \begin_inset Tabular
14490 <lyxtabular version="3" rows="3" columns="3">
14491 <features>
14492 <column alignment="center" valignment="top" width="0">
14493 <column alignment="center" valignment="top" width="0">
14494 <column alignment="center" valignment="top" width="0">
14495 <row>
14496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14497 \begin_inset Text
14498
14499 \begin_layout Plain Layout
14500
14501 \color green
14502 a
14503 \end_layout
14504
14505 \end_inset
14506 </cell>
14507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14508 \begin_inset Text
14509
14510 \begin_layout Plain Layout
14511
14512 \color red
14513 b
14514 \end_layout
14515
14516 \end_inset
14517 </cell>
14518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14519 \begin_inset Text
14520
14521 \begin_layout Plain Layout
14522
14523 \color red
14524 c
14525 \end_layout
14526
14527 \end_inset
14528 </cell>
14529 </row>
14530 <row>
14531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14532 \begin_inset Text
14533
14534 \begin_layout Plain Layout
14535
14536 \color green
14537 d
14538 \end_layout
14539
14540 \end_inset
14541 </cell>
14542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14543 \begin_inset Text
14544
14545 \begin_layout Plain Layout
14546
14547 \color blue
14548 e
14549 \end_layout
14550
14551 \end_inset
14552 </cell>
14553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14554 \begin_inset Text
14555
14556 \begin_layout Plain Layout
14557
14558 \color blue
14559 f
14560 \end_layout
14561
14562 \end_inset
14563 </cell>
14564 </row>
14565 <row>
14566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14567 \begin_inset Text
14568
14569 \begin_layout Plain Layout
14570
14571 \color green
14572 g
14573 \end_layout
14574
14575 \end_inset
14576 </cell>
14577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14578 \begin_inset Text
14579
14580 \begin_layout Plain Layout
14581
14582 \color blue
14583 h
14584 \end_layout
14585
14586 \end_inset
14587 </cell>
14588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14589 \begin_inset Text
14590
14591 \begin_layout Plain Layout
14592
14593 \color blue
14594 i
14595 \end_layout
14596
14597 \end_inset
14598 </cell>
14599 </row>
14600 </lyxtabular>
14601
14602 \end_inset
14603
14604
14605 \end_layout
14606
14607 \end_inset
14608
14609
14610 \end_layout
14611
14612 \begin_layout Standard
14613 If you only need colored text, mark the cells and choose a color in the
14614  menu 
14615 \family sans
14616 Edit\SpecialChar \menuseparator
14617 Text
14618 \begin_inset Space ~
14619 \end_inset
14620
14621 Style
14622 \family default
14623 .
14624  This was used to create Table
14625 \begin_inset Space ~
14626 \end_inset
14627
14628
14629 \begin_inset CommandInset ref
14630 LatexCommand ref
14631 reference "tab:Table-colored-without"
14632
14633 \end_inset
14634
14635 .
14636  In any other case you have to use the LaTeX-package 
14637 \series bold
14638 colortbl
14639 \series default
14640 .
14641 \begin_inset Index
14642 status collapsed
14643
14644 \begin_layout Plain Layout
14645 LaTeX-packages ! colortbl
14646 \end_layout
14647
14648 \end_inset
14649
14650
14651 \end_layout
14652
14653 \begin_layout Standard
14654 \begin_inset ERT
14655 status collapsed
14656
14657 \begin_layout Plain Layout
14658
14659
14660 \backslash
14661 ifcolortbl
14662 \end_layout
14663
14664 \end_inset
14665
14666
14667 \begin_inset Note Note
14668 status open
14669
14670 \begin_layout Plain Layout
14671 The following section part will only be displayed when the LaTeX-package
14672  
14673 \series bold
14674 colortbl
14675 \series default
14676  is installed.
14677 \end_layout
14678
14679 \end_inset
14680
14681
14682 \end_layout
14683
14684 \begin_layout Standard
14685 To create colored tables, 
14686 \series bold
14687 colortbl
14688 \series default
14689  must be loaded in the preamble with the line
14690 \end_layout
14691
14692 \begin_layout Standard
14693
14694 \series bold
14695
14696 \backslash
14697 usepackage{colortbl}
14698 \end_layout
14699
14700 \begin_layout Standard
14701 The color of a column is adjusted with the command
14702 \end_layout
14703
14704 \begin_layout Standard
14705
14706 \series bold
14707
14708 \backslash
14709 columncolor{name of color}
14710 \end_layout
14711
14712 \begin_layout Standard
14713 inside the command 
14714 \series bold
14715 >{ }
14716 \series default
14717 .
14718  More about the command 
14719 \series bold
14720 >{}
14721 \series default
14722  is described in section
14723 \begin_inset Space ~
14724 \end_inset
14725
14726
14727 \begin_inset CommandInset ref
14728 LatexCommand ref
14729 reference "sub:Multicolumn-Calculations"
14730
14731 \end_inset
14732
14733 .
14734 \end_layout
14735
14736 \begin_layout Standard
14737 The following color names are predefined:
14738 \end_layout
14739
14740 \begin_layout Standard
14741
14742 \family sans
14743 red
14744 \family default
14745
14746 \family sans
14747 green
14748 \family default
14749
14750 \family sans
14751 yellow
14752 \family default
14753
14754 \family sans
14755 blue
14756 \family default
14757
14758 \family sans
14759 cyan
14760 \family default
14761
14762 \family sans
14763 magenta
14764 \family default
14765
14766 \family sans
14767 black
14768 \family default
14769  and 
14770 \family sans
14771 white
14772 \end_layout
14773
14774 \begin_layout Standard
14775 \begin_inset VSpace medskip
14776 \end_inset
14777
14778
14779 \end_layout
14780
14781 \begin_layout Standard
14782 You can also define your own color with the command
14783 \end_layout
14784
14785 \begin_layout Standard
14786
14787 \series bold
14788
14789 \backslash
14790 definecolor{color name}{color model}{color values}
14791 \end_layout
14792
14793 \begin_layout Standard
14794 The color model can be
14795 \end_layout
14796
14797 \begin_layout Labeling
14798 \labelwidthstring 00.00.0000
14799 cmyk: cyan, magenta, yellow, black
14800 \end_layout
14801
14802 \begin_layout Labeling
14803 \labelwidthstring 00.00.0000
14804 rgb: red, green blue
14805 \end_layout
14806
14807 \begin_layout Labeling
14808 \labelwidthstring 00.00.0000
14809 gray gray
14810 \end_layout
14811
14812 \begin_layout Standard
14813 and the color values are comma separated numbers between 0 and 1 describing
14814  the factor for the corresponding color of the color model.
14815 \end_layout
14816
14817 \begin_layout Standard
14818 You can e.
14819 \begin_inset Space \thinspace{}
14820 \end_inset
14821
14822 g.
14823 \begin_inset Space ~
14824 \end_inset
14825
14826 define the color "
14827 \emph on
14828 darkgreen
14829 \emph default
14830 " in the preamble with
14831 \end_layout
14832
14833 \begin_layout Standard
14834
14835 \series bold
14836
14837 \backslash
14838 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14839 \end_layout
14840
14841 \begin_layout Standard
14842 and the color "
14843 \emph on
14844 lightgray
14845 \emph default
14846 " with
14847 \end_layout
14848
14849 \begin_layout Standard
14850
14851 \series bold
14852
14853 \backslash
14854 definecolor{lightgray}{gray}{0.8}
14855 \end_layout
14856
14857 \begin_layout Standard
14858 \begin_inset VSpace medskip
14859 \end_inset
14860
14861
14862 \end_layout
14863
14864 \begin_layout Standard
14865 Lines are colored with the command
14866 \end_layout
14867
14868 \begin_layout Standard
14869
14870 \series bold
14871
14872 \backslash
14873 rowcolor{name of color}
14874 \end_layout
14875
14876 \begin_layout Standard
14877 and cells are colored with the command
14878 \end_layout
14879
14880 \begin_layout Standard
14881
14882 \series bold
14883
14884 \backslash
14885 cellcolor{name of color}
14886 \end_layout
14887
14888 \begin_layout Standard
14889 Both commands are inserted at the beginning of a cell as TeX-Code.
14890 \end_layout
14891
14892 \begin_layout Standard
14893 To color characters in the table, mark the cells and use the LyX menu 
14894 \family sans
14895 Edit\SpecialChar \menuseparator
14896 Text
14897 \begin_inset Space ~
14898 \end_inset
14899
14900 Style
14901 \family default
14902 .
14903  If a cell contains TeX-Code mark only the characters, otherwise the colored
14904  TeX-Code will cause LaTeX-errors.
14905 \end_layout
14906
14907 \begin_layout Standard
14908 \begin_inset Note Greyedout
14909 status open
14910
14911 \begin_layout Plain Layout
14912
14913 \series bold
14914 Note:
14915 \series default
14916  Not all DVI-viewers are able to display self-defined colors.
14917 \end_layout
14918
14919 \end_inset
14920
14921
14922 \end_layout
14923
14924 \begin_layout Standard
14925 \begin_inset VSpace bigskip
14926 \end_inset
14927
14928
14929 \end_layout
14930
14931 \begin_layout Standard
14932 To create Table
14933 \begin_inset Space ~
14934 \end_inset
14935
14936
14937 \begin_inset CommandInset ref
14938 LatexCommand ref
14939 reference "tab:Table-colored-using"
14940
14941 \end_inset
14942
14943  do the following: The color of the first column should be 
14944 \emph on
14945 darkgreen
14946 \emph default
14947 .
14948  So insert
14949 \end_layout
14950
14951 \begin_layout Standard
14952
14953 \series bold
14954 >{
14955 \backslash
14956 columncolor{darkgreen}
14957 \backslash
14958 centering}c
14959 \end_layout
14960
14961 \begin_layout Standard
14962 as LaTeX-argument for this column.
14963  The first row should be blue, therefore the TeX-Code command
14964 \end_layout
14965
14966 \begin_layout Standard
14967
14968 \series bold
14969
14970 \backslash
14971 rowcolow{cyan}
14972 \end_layout
14973
14974 \begin_layout Standard
14975 is inserted to the first cell of this row.
14976  Note that this overwrites the column color for the first cell.
14977  The last cell of the last row is colored magenta by inserting the TeX-Code
14978  command
14979 \end_layout
14980
14981 \begin_layout Standard
14982
14983 \series bold
14984
14985 \backslash
14986 cellcolor{magenta}
14987 \end_layout
14988
14989 \begin_layout Standard
14990 The characters could now be colored using the menu 
14991 \family sans
14992 Edit\SpecialChar \menuseparator
14993 Text
14994 \begin_inset Space ~
14995 \end_inset
14996
14997 Style
14998 \family default
14999 .
15000 \end_layout
15001
15002 \begin_layout Standard
15003 \begin_inset Float table
15004 placement h
15005 wide false
15006 sideways false
15007 status open
15008
15009 \begin_layout Plain Layout
15010 \begin_inset Caption
15011
15012 \begin_layout Plain Layout
15013 \begin_inset CommandInset label
15014 LatexCommand label
15015 name "tab:Table-colored-using"
15016
15017 \end_inset
15018
15019 Table colored using the package 
15020 \series bold
15021 colortbl
15022 \series default
15023
15024 \begin_inset OptArg
15025 status collapsed
15026
15027 \begin_layout Plain Layout
15028 Table with colortbl
15029 \end_layout
15030
15031 \end_inset
15032
15033
15034 \end_layout
15035
15036 \end_inset
15037
15038
15039 \end_layout
15040
15041 \begin_layout Plain Layout
15042 \align center
15043 \begin_inset Tabular
15044 <lyxtabular version="3" rows="3" columns="3">
15045 <features>
15046 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15047 <column alignment="center" valignment="top" width="0">
15048 <column alignment="center" valignment="top" width="0">
15049 <row>
15050 <cell alignment="center" valignment="top" usebox="none">
15051 \begin_inset Text
15052
15053 \begin_layout Plain Layout
15054 \begin_inset ERT
15055 status collapsed
15056
15057 \begin_layout Plain Layout
15058
15059
15060 \backslash
15061 rowcolor{cyan}
15062 \end_layout
15063
15064 \end_inset
15065
15066
15067 \color magenta
15068 a
15069 \end_layout
15070
15071 \end_inset
15072 </cell>
15073 <cell alignment="center" valignment="top" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Plain Layout
15077
15078 \color red
15079 b
15080 \end_layout
15081
15082 \end_inset
15083 </cell>
15084 <cell alignment="center" valignment="top" usebox="none">
15085 \begin_inset Text
15086
15087 \begin_layout Plain Layout
15088
15089 \color red
15090 c
15091 \end_layout
15092
15093 \end_inset
15094 </cell>
15095 </row>
15096 <row>
15097 <cell alignment="center" valignment="top" usebox="none">
15098 \begin_inset Text
15099
15100 \begin_layout Plain Layout
15101
15102 \color yellow
15103 d
15104 \end_layout
15105
15106 \end_inset
15107 </cell>
15108 <cell alignment="center" valignment="top" usebox="none">
15109 \begin_inset Text
15110
15111 \begin_layout Plain Layout
15112
15113 \color blue
15114 e
15115 \end_layout
15116
15117 \end_inset
15118 </cell>
15119 <cell alignment="center" valignment="top" usebox="none">
15120 \begin_inset Text
15121
15122 \begin_layout Plain Layout
15123
15124 \color blue
15125 f
15126 \end_layout
15127
15128 \end_inset
15129 </cell>
15130 </row>
15131 <row>
15132 <cell alignment="center" valignment="top" usebox="none">
15133 \begin_inset Text
15134
15135 \begin_layout Plain Layout
15136
15137 \color yellow
15138 g
15139 \end_layout
15140
15141 \end_inset
15142 </cell>
15143 <cell alignment="center" valignment="top" usebox="none">
15144 \begin_inset Text
15145
15146 \begin_layout Plain Layout
15147
15148 \color blue
15149 h
15150 \end_layout
15151
15152 \end_inset
15153 </cell>
15154 <cell alignment="center" valignment="top" usebox="none">
15155 \begin_inset Text
15156
15157 \begin_layout Plain Layout
15158 \begin_inset ERT
15159 status collapsed
15160
15161 \begin_layout Plain Layout
15162
15163
15164 \backslash
15165 cellcolor{magenta}
15166 \end_layout
15167
15168 \end_inset
15169
15170
15171 \color green
15172 i
15173 \end_layout
15174
15175 \end_inset
15176 </cell>
15177 </row>
15178 </lyxtabular>
15179
15180 \end_inset
15181
15182
15183 \end_layout
15184
15185 \end_inset
15186
15187
15188 \end_layout
15189
15190 \begin_layout Standard
15191 \begin_inset ERT
15192 status collapsed
15193
15194 \begin_layout Plain Layout
15195
15196
15197 \backslash
15198 else
15199 \end_layout
15200
15201 \end_inset
15202
15203
15204 \begin_inset Note Note
15205 status open
15206
15207 \begin_layout Plain Layout
15208 The following will be displayed when the LaTeX-package 
15209 \series bold
15210 colortbl
15211 \series default
15212  is not installed:
15213 \end_layout
15214
15215 \end_inset
15216
15217
15218 \end_layout
15219
15220 \begin_layout Standard
15221 You need to install the package 
15222 \series bold
15223 colortbl
15224 \series default
15225  to see the content of this section in the output.
15226 \end_layout
15227
15228 \begin_layout Standard
15229 \begin_inset ERT
15230 status collapsed
15231
15232 \begin_layout Plain Layout
15233
15234
15235 \backslash
15236 fi
15237 \end_layout
15238
15239 \end_inset
15240
15241
15242 \end_layout
15243
15244 \begin_layout Subsection
15245 Colored Lines
15246 \begin_inset Index
15247 status collapsed
15248
15249 \begin_layout Plain Layout
15250 Table Color ! for Lines
15251 \end_layout
15252
15253 \end_inset
15254
15255
15256 \begin_inset Index
15257 status collapsed
15258
15259 \begin_layout Plain Layout
15260 Color ! for Table Lines
15261 \end_layout
15262
15263 \end_inset
15264
15265
15266 \end_layout
15267
15268 \begin_layout Standard
15269 As described in section
15270 \begin_inset Space ~
15271 \end_inset
15272
15273
15274 \begin_inset CommandInset ref
15275 LatexCommand ref
15276 reference "sub:Line-Thickness"
15277
15278 \end_inset
15279
15280 , the line thickness for all lines in a table can be adjusted with the length
15281  
15282 \series bold
15283
15284 \backslash
15285 arrayrulewidth
15286 \series default
15287 .
15288  It is set to 1.5
15289 \begin_inset Space \thinspace{}
15290 \end_inset
15291
15292 pt for all tables of this section.
15293 \begin_inset ERT
15294 status collapsed
15295
15296 \begin_layout Plain Layout
15297
15298
15299 \backslash
15300 setlength{
15301 \backslash
15302 arrayrulewidth}{1.5pt}
15303 \end_layout
15304
15305 \end_inset
15306
15307
15308 \end_layout
15309
15310 \begin_layout Standard
15311 To color vertical lines for example with green, create the following column
15312  format in the document preamble, according to the description in section
15313 \begin_inset Space ~
15314 \end_inset
15315
15316
15317 \begin_inset CommandInset ref
15318 LatexCommand ref
15319 reference "sub:Customized-Format"
15320
15321 \end_inset
15322
15323 :
15324 \end_layout
15325
15326 \begin_layout Standard
15327
15328 \series bold
15329
15330 \backslash
15331 newcolumntype{W}{!{
15332 \backslash
15333 color{green}
15334 \backslash
15335 vline}}
15336 \end_layout
15337
15338 \begin_layout Standard
15339 For Table
15340 \begin_inset Space ~
15341 \end_inset
15342
15343
15344 \begin_inset CommandInset ref
15345 LatexCommand ref
15346 reference "tab:Table-with-vertical-colored"
15347
15348 \end_inset
15349
15350  the LaTeX-argument
15351 \series bold
15352  WcW
15353 \series default
15354  was used for the last column and
15355 \series bold
15356  Wc
15357 \series default
15358  for the other columns.
15359 \end_layout
15360
15361 \begin_layout Standard
15362 If you want to have several colors, define more column formats.
15363 \end_layout
15364
15365 \begin_layout Standard
15366 \begin_inset Float table
15367 placement h
15368 wide false
15369 sideways false
15370 status open
15371
15372 \begin_layout Plain Layout
15373 \begin_inset Caption
15374
15375 \begin_layout Plain Layout
15376 \begin_inset CommandInset label
15377 LatexCommand label
15378 name "tab:Table-with-vertical-colored"
15379
15380 \end_inset
15381
15382 Table with colored vertical lines
15383 \end_layout
15384
15385 \end_inset
15386
15387
15388 \end_layout
15389
15390 \begin_layout Plain Layout
15391 \align center
15392 \begin_inset Tabular
15393 <lyxtabular version="3" rows="3" columns="3">
15394 <features>
15395 <column alignment="center" valignment="top" width="0" special="Wc">
15396 <column alignment="center" valignment="top" width="0" special="Wc">
15397 <column alignment="center" valignment="top" width="0" special="WcW">
15398 <row>
15399 <cell alignment="center" valignment="top" topline="true" usebox="none">
15400 \begin_inset Text
15401
15402 \begin_layout Plain Layout
15403 sd
15404 \end_layout
15405
15406 \end_inset
15407 </cell>
15408 <cell alignment="center" valignment="top" topline="true" usebox="none">
15409 \begin_inset Text
15410
15411 \begin_layout Plain Layout
15412
15413 \end_layout
15414
15415 \end_inset
15416 </cell>
15417 <cell alignment="center" valignment="top" topline="true" usebox="none">
15418 \begin_inset Text
15419
15420 \begin_layout Plain Layout
15421
15422 \end_layout
15423
15424 \end_inset
15425 </cell>
15426 </row>
15427 <row>
15428 <cell alignment="center" valignment="top" topline="true" usebox="none">
15429 \begin_inset Text
15430
15431 \begin_layout Plain Layout
15432
15433 \end_layout
15434
15435 \end_inset
15436 </cell>
15437 <cell alignment="center" valignment="top" topline="true" usebox="none">
15438 \begin_inset Text
15439
15440 \begin_layout Plain Layout
15441 sd
15442 \end_layout
15443
15444 \end_inset
15445 </cell>
15446 <cell alignment="center" valignment="top" topline="true" usebox="none">
15447 \begin_inset Text
15448
15449 \begin_layout Plain Layout
15450
15451 \end_layout
15452
15453 \end_inset
15454 </cell>
15455 </row>
15456 <row>
15457 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15458 \begin_inset Text
15459
15460 \begin_layout Plain Layout
15461
15462 \end_layout
15463
15464 \end_inset
15465 </cell>
15466 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15467 \begin_inset Text
15468
15469 \begin_layout Plain Layout
15470
15471 \end_layout
15472
15473 \end_inset
15474 </cell>
15475 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15476 \begin_inset Text
15477
15478 \begin_layout Plain Layout
15479 sd
15480 \end_layout
15481
15482 \end_inset
15483 </cell>
15484 </row>
15485 </lyxtabular>
15486
15487 \end_inset
15488
15489
15490 \end_layout
15491
15492 \end_inset
15493
15494
15495 \end_layout
15496
15497 \begin_layout Standard
15498 \begin_inset VSpace bigskip
15499 \end_inset
15500
15501 To color horizontal lines for example with red, like in Table
15502 \begin_inset Space ~
15503 \end_inset
15504
15505
15506 \begin_inset CommandInset ref
15507 LatexCommand ref
15508 reference "tab:Table-with-horizontal-colored"
15509
15510 \end_inset
15511
15512 , insert these commands in TeX-Code before the table or table float:
15513 \end_layout
15514
15515 \begin_layout Standard
15516
15517 \series bold
15518
15519 \backslash
15520 let
15521 \backslash
15522 myHlineC
15523 \backslash
15524 hline
15525 \begin_inset Newline newline
15526 \end_inset
15527
15528
15529 \backslash
15530 renewcommand{
15531 \backslash
15532 hline}
15533 \begin_inset Newline newline
15534 \end_inset
15535
15536
15537 \begin_inset ERT
15538 status collapsed
15539
15540 \begin_layout Plain Layout
15541
15542
15543 \backslash
15544 hphantom{ }
15545 \end_layout
15546
15547 \end_inset
15548
15549 {
15550 \backslash
15551 arrayrulecolor{red}
15552 \backslash
15553 myHlineC
15554 \backslash
15555 arrayrulecolor{black}}
15556 \end_layout
15557
15558 \begin_layout Standard
15559 \begin_inset ERT
15560 status collapsed
15561
15562 \begin_layout Plain Layout
15563
15564
15565 \backslash
15566 let
15567 \backslash
15568 myHlineC
15569 \backslash
15570 hline
15571 \end_layout
15572
15573 \begin_layout Plain Layout
15574
15575
15576 \backslash
15577 renewcommand{
15578 \backslash
15579 hline}
15580 \end_layout
15581
15582 \begin_layout Plain Layout
15583
15584  {
15585 \backslash
15586 arrayrulecolor{red}
15587 \backslash
15588 myHlineC
15589 \backslash
15590 arrayrulecolor{black}}
15591 \end_layout
15592
15593 \end_inset
15594
15595
15596 \begin_inset Float table
15597 placement h
15598 wide false
15599 sideways false
15600 status open
15601
15602 \begin_layout Plain Layout
15603 \begin_inset Caption
15604
15605 \begin_layout Plain Layout
15606 \begin_inset CommandInset label
15607 LatexCommand label
15608 name "tab:Table-with-horizontal-colored"
15609
15610 \end_inset
15611
15612 Table with colored horizontal lines
15613 \end_layout
15614
15615 \end_inset
15616
15617
15618 \end_layout
15619
15620 \begin_layout Plain Layout
15621 \align center
15622 \begin_inset Tabular
15623 <lyxtabular version="3" rows="3" columns="3">
15624 <features>
15625 <column alignment="center" valignment="top" width="0">
15626 <column alignment="center" valignment="top" width="0">
15627 <column alignment="center" valignment="top" width="0">
15628 <row>
15629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15630 \begin_inset Text
15631
15632 \begin_layout Plain Layout
15633 sd
15634 \end_layout
15635
15636 \end_inset
15637 </cell>
15638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15639 \begin_inset Text
15640
15641 \begin_layout Plain Layout
15642
15643 \end_layout
15644
15645 \end_inset
15646 </cell>
15647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15648 \begin_inset Text
15649
15650 \begin_layout Plain Layout
15651
15652 \end_layout
15653
15654 \end_inset
15655 </cell>
15656 </row>
15657 <row>
15658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15659 \begin_inset Text
15660
15661 \begin_layout Plain Layout
15662
15663 \end_layout
15664
15665 \end_inset
15666 </cell>
15667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15668 \begin_inset Text
15669
15670 \begin_layout Plain Layout
15671 sd
15672 \end_layout
15673
15674 \end_inset
15675 </cell>
15676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15677 \begin_inset Text
15678
15679 \begin_layout Plain Layout
15680
15681 \end_layout
15682
15683 \end_inset
15684 </cell>
15685 </row>
15686 <row>
15687 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15688 \begin_inset Text
15689
15690 \begin_layout Plain Layout
15691
15692 \end_layout
15693
15694 \end_inset
15695 </cell>
15696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15697 \begin_inset Text
15698
15699 \begin_layout Plain Layout
15700
15701 \end_layout
15702
15703 \end_inset
15704 </cell>
15705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15706 \begin_inset Text
15707
15708 \begin_layout Plain Layout
15709 sd
15710 \end_layout
15711
15712 \end_inset
15713 </cell>
15714 </row>
15715 </lyxtabular>
15716
15717 \end_inset
15718
15719
15720 \end_layout
15721
15722 \end_inset
15723
15724
15725 \end_layout
15726
15727 \begin_layout Standard
15728 To return to the default line color black, insert this command in TeX-Code
15729  behind the table or table float:
15730 \end_layout
15731
15732 \begin_layout Standard
15733
15734 \series bold
15735
15736 \backslash
15737 renewcommand{
15738 \backslash
15739 hline}{
15740 \backslash
15741 myHlineC}
15742 \end_layout
15743
15744 \begin_layout Standard
15745 Table
15746 \begin_inset Space ~
15747 \end_inset
15748
15749
15750 \begin_inset CommandInset ref
15751 LatexCommand ref
15752 reference "tab:Table-with-colored"
15753
15754 \end_inset
15755
15756  is an example with colored vertical and horizontal lines.
15757 \end_layout
15758
15759 \begin_layout Standard
15760 \begin_inset Float table
15761 placement h
15762 wide false
15763 sideways false
15764 status open
15765
15766 \begin_layout Plain Layout
15767 \begin_inset Caption
15768
15769 \begin_layout Plain Layout
15770 \begin_inset CommandInset label
15771 LatexCommand label
15772 name "tab:Table-with-colored"
15773
15774 \end_inset
15775
15776 Table with colored lines
15777 \end_layout
15778
15779 \end_inset
15780
15781
15782 \end_layout
15783
15784 \begin_layout Plain Layout
15785 \align center
15786 \begin_inset Tabular
15787 <lyxtabular version="3" rows="3" columns="3">
15788 <features>
15789 <column alignment="center" valignment="top" width="0" special="Wc">
15790 <column alignment="center" valignment="top" width="0" special="Wc">
15791 <column alignment="center" valignment="top" width="0" special="WcW">
15792 <row>
15793 <cell alignment="center" valignment="top" topline="true" usebox="none">
15794 \begin_inset Text
15795
15796 \begin_layout Plain Layout
15797 sd
15798 \end_layout
15799
15800 \end_inset
15801 </cell>
15802 <cell alignment="center" valignment="top" topline="true" usebox="none">
15803 \begin_inset Text
15804
15805 \begin_layout Plain Layout
15806
15807 \end_layout
15808
15809 \end_inset
15810 </cell>
15811 <cell alignment="center" valignment="top" topline="true" usebox="none">
15812 \begin_inset Text
15813
15814 \begin_layout Plain Layout
15815
15816 \end_layout
15817
15818 \end_inset
15819 </cell>
15820 </row>
15821 <row>
15822 <cell alignment="center" valignment="top" topline="true" usebox="none">
15823 \begin_inset Text
15824
15825 \begin_layout Plain Layout
15826
15827 \end_layout
15828
15829 \end_inset
15830 </cell>
15831 <cell alignment="center" valignment="top" topline="true" usebox="none">
15832 \begin_inset Text
15833
15834 \begin_layout Plain Layout
15835 sd
15836 \end_layout
15837
15838 \end_inset
15839 </cell>
15840 <cell alignment="center" valignment="top" topline="true" usebox="none">
15841 \begin_inset Text
15842
15843 \begin_layout Plain Layout
15844
15845 \end_layout
15846
15847 \end_inset
15848 </cell>
15849 </row>
15850 <row topspace="default">
15851 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15852 \begin_inset Text
15853
15854 \begin_layout Plain Layout
15855
15856 \end_layout
15857
15858 \end_inset
15859 </cell>
15860 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15861 \begin_inset Text
15862
15863 \begin_layout Plain Layout
15864
15865 \end_layout
15866
15867 \end_inset
15868 </cell>
15869 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15870 \begin_inset Text
15871
15872 \begin_layout Plain Layout
15873 sd
15874 \end_layout
15875
15876 \end_inset
15877 </cell>
15878 </row>
15879 </lyxtabular>
15880
15881 \end_inset
15882
15883
15884 \end_layout
15885
15886 \end_inset
15887
15888
15889 \end_layout
15890
15891 \begin_layout Standard
15892 \begin_inset ERT
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896
15897
15898 \backslash
15899 renewcommand{
15900 \backslash
15901 hline}{
15902 \backslash
15903 myHlineC}
15904 \end_layout
15905
15906 \end_inset
15907
15908
15909 \end_layout
15910
15911 \begin_layout Standard
15912 \begin_inset ERT
15913 status collapsed
15914
15915 \begin_layout Plain Layout
15916
15917
15918 \backslash
15919 setlength{
15920 \backslash
15921 arrayrulewidth}{0.4pt}
15922 \end_layout
15923
15924 \end_inset
15925
15926
15927 \end_layout
15928
15929 \begin_layout Section
15930 Table Customization
15931 \begin_inset Index
15932 status collapsed
15933
15934 \begin_layout Plain Layout
15935 Table Customization
15936 \end_layout
15937
15938 \end_inset
15939
15940
15941 \begin_inset Index
15942 status collapsed
15943
15944 \begin_layout Plain Layout
15945 Table ! Customization
15946 \end_layout
15947
15948 \end_inset
15949
15950
15951 \end_layout
15952
15953 \begin_layout Subsection
15954 Row Spacing
15955 \begin_inset CommandInset label
15956 LatexCommand label
15957 name "sub:Row-Spacing"
15958
15959 \end_inset
15960
15961
15962 \begin_inset Index
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 Table Customization ! Row Spacing
15967 \end_layout
15968
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \begin_layout Standard
15975 You can add vertical space to table rows in the 
15976 \family sans
15977 Borders
15978 \family default
15979  tab of the table dialog.
15980  You find there three possibilities:
15981 \end_layout
15982
15983 \begin_layout Description
15984 Top
15985 \begin_inset Space ~
15986 \end_inset
15987
15988 of
15989 \begin_inset Space ~
15990 \end_inset
15991
15992 row will add space above the characters of the table row.
15993  If the table is a formal table
15994 \begin_inset Foot
15995 status collapsed
15996
15997 \begin_layout Plain Layout
15998 Formal tables are explained in section
15999 \begin_inset Space ~
16000 \end_inset
16001
16002
16003 \begin_inset CommandInset ref
16004 LatexCommand ref
16005 reference "sec:Formal-Tables"
16006
16007 \end_inset
16008
16009 .
16010 \end_layout
16011
16012 \end_inset
16013
16014  LyX will insert as default 0.5
16015 \begin_inset Space \thinspace{}
16016 \end_inset
16017
16018 em space.
16019  For normal tables the inserted space will unfortunately destroy the vertical
16020  table lines as in the following table:
16021 \begin_inset VSpace medskip
16022 \end_inset
16023
16024
16025 \begin_inset Newline newline
16026 \end_inset
16027
16028
16029 \begin_inset Space \hspace*{}
16030 \length 0pt
16031 \end_inset
16032
16033
16034 \begin_inset Space \hfill{}
16035 \end_inset
16036
16037
16038 \begin_inset Tabular
16039 <lyxtabular version="3" rows="3" columns="1">
16040 <features>
16041 <column alignment="center" valignment="top" width="0">
16042 <row>
16043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16044 \begin_inset Text
16045
16046 \begin_layout Plain Layout
16047 A
16048 \end_layout
16049
16050 \end_inset
16051 </cell>
16052 </row>
16053 <row topspace="3mm">
16054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16055 \begin_inset Text
16056
16057 \begin_layout Plain Layout
16058 3
16059 \begin_inset Space \thinspace{}
16060 \end_inset
16061
16062 mm space top of row
16063 \end_layout
16064
16065 \end_inset
16066 </cell>
16067 </row>
16068 <row>
16069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16070 \begin_inset Text
16071
16072 \begin_layout Plain Layout
16073 C
16074 \end_layout
16075
16076 \end_inset
16077 </cell>
16078 </row>
16079 </lyxtabular>
16080
16081 \end_inset
16082
16083
16084 \begin_inset Space \hfill{}
16085 \end_inset
16086
16087
16088 \begin_inset Space \hspace*{}
16089 \length 0pt
16090 \end_inset
16091
16092
16093 \begin_inset VSpace medskip
16094 \end_inset
16095
16096
16097 \begin_inset Newline newline
16098 \end_inset
16099
16100 So inserting space to the top of row for normal tables is only useful when
16101  you don't have vertical lines.
16102 \end_layout
16103
16104 \begin_layout Description
16105 Bottom
16106 \begin_inset Space ~
16107 \end_inset
16108
16109 of
16110 \begin_inset Space ~
16111 \end_inset
16112
16113 row will add space below the characters of the table row.
16114  If the table is a formal table LyX will insert as default 0.5
16115 \begin_inset Space \thinspace{}
16116 \end_inset
16117
16118 em space, for normal tables the default size is 2
16119 \begin_inset Space \thinspace{}
16120 \end_inset
16121
16122 pt.
16123 \end_layout
16124
16125 \begin_layout Description
16126 Between
16127 \begin_inset Space ~
16128 \end_inset
16129
16130 rows adds space between the current and the following row.
16131  If the table is a formal table LyX will insert as default 0.5
16132 \begin_inset Space \thinspace{}
16133 \end_inset
16134
16135 em space.
16136  For normal tables the inserted space will unfortunately destroy the vertical
16137  table lines as in the following table:
16138 \begin_inset VSpace medskip
16139 \end_inset
16140
16141
16142 \begin_inset Newline newline
16143 \end_inset
16144
16145
16146 \begin_inset Space \hspace*{}
16147 \length 0pt
16148 \end_inset
16149
16150
16151 \begin_inset Space \hfill{}
16152 \end_inset
16153
16154
16155 \begin_inset Tabular
16156 <lyxtabular version="3" rows="3" columns="1">
16157 <features>
16158 <column alignment="center" valignment="top" width="0">
16159 <row>
16160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Plain Layout
16164 A
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 </row>
16170 <row interlinespace="3mm">
16171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16172 \begin_inset Text
16173
16174 \begin_layout Plain Layout
16175 \begin_inset Formula $\downarrow$
16176 \end_inset
16177
16178  3
16179 \begin_inset Space \thinspace{}
16180 \end_inset
16181
16182 mm space between row 
16183 \begin_inset Formula $\downarrow$
16184 \end_inset
16185
16186
16187 \end_layout
16188
16189 \end_inset
16190 </cell>
16191 </row>
16192 <row>
16193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16194 \begin_inset Text
16195
16196 \begin_layout Plain Layout
16197 \begin_inset Formula $\uparrow$
16198 \end_inset
16199
16200  3
16201 \begin_inset Space \thinspace{}
16202 \end_inset
16203
16204 mm space between row 
16205 \begin_inset Formula $\uparrow$
16206 \end_inset
16207
16208
16209 \end_layout
16210
16211 \end_inset
16212 </cell>
16213 </row>
16214 </lyxtabular>
16215
16216 \end_inset
16217
16218
16219 \begin_inset Space \hfill{}
16220 \end_inset
16221
16222
16223 \begin_inset Space \hspace*{}
16224 \length 0pt
16225 \end_inset
16226
16227
16228 \begin_inset VSpace medskip
16229 \end_inset
16230
16231
16232 \begin_inset Newline newline
16233 \end_inset
16234
16235 So inserting space between rows for normal tables is only useful when you
16236  don't have vertical lines.
16237 \end_layout
16238
16239 \begin_layout Standard
16240 \begin_inset VSpace bigskip
16241 \end_inset
16242
16243 When you want to add extra height to all cells of all tables, you can do
16244  this with the following preamble lines:
16245 \end_layout
16246
16247 \begin_layout Standard
16248
16249 \series bold
16250
16251 \backslash
16252 @ifundefined{extrarowheight}
16253 \begin_inset Newline newline
16254 \end_inset
16255
16256
16257 \begin_inset ERT
16258 status collapsed
16259
16260 \begin_layout Plain Layout
16261
16262
16263 \backslash
16264 hphantom{ }
16265 \end_layout
16266
16267 \end_inset
16268
16269 {
16270 \backslash
16271 usepackage{array}}{}
16272 \begin_inset Newline newline
16273 \end_inset
16274
16275
16276 \backslash
16277 setlength{
16278 \backslash
16279 extrarowheight}{height}
16280 \end_layout
16281
16282 \begin_layout Standard
16283 But this has the disadvantage that the cell texts are no longer exactly
16284  vertically centered.
16285  (The package 
16286 \series bold
16287 array
16288 \series default
16289  will be loaded automatically by LyX when you use self defined table formats.
16290  To avoid that it is loaded twice the command 
16291 \series bold
16292
16293 \backslash
16294 @ifundefined
16295 \series default
16296  is used in the above command.)
16297 \end_layout
16298
16299 \begin_layout Subsection
16300 Special Cell Alignment
16301 \begin_inset Index
16302 status collapsed
16303
16304 \begin_layout Plain Layout
16305 Table Customization ! Special Cell Alignment
16306 \end_layout
16307
16308 \end_inset
16309
16310
16311 \end_layout
16312
16313 \begin_layout Standard
16314 Sometimes it looks better when the cell entries of a column are aligned
16315  with a special character, e.
16316 \begin_inset Space \thinspace{}
16317 \end_inset
16318
16319 g.
16320 \begin_inset Space ~
16321 \end_inset
16322
16323 with the decimal separator as in Table
16324 \begin_inset Space ~
16325 \end_inset
16326
16327
16328 \begin_inset CommandInset ref
16329 LatexCommand ref
16330 reference "tab:Table-cells-of"
16331
16332 \end_inset
16333
16334 .
16335 \end_layout
16336
16337 \begin_layout Standard
16338 \begin_inset Float table
16339 placement h
16340 wide false
16341 sideways false
16342 status open
16343
16344 \begin_layout Plain Layout
16345 \begin_inset Caption
16346
16347 \begin_layout Plain Layout
16348 \begin_inset CommandInset label
16349 LatexCommand label
16350 name "tab:Table-cells-of"
16351
16352 \end_inset
16353
16354 Table cells of a column aligned with the decimal separator.
16355 \end_layout
16356
16357 \end_inset
16358
16359
16360 \end_layout
16361
16362 \begin_layout Plain Layout
16363 \align center
16364 \begin_inset Tabular
16365 <lyxtabular version="3" rows="4" columns="2">
16366 <features>
16367 <column alignment="right" valignment="top" width="0">
16368 <column alignment="left" valignment="top" width="0" special="@{}l">
16369 <row>
16370 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16371 \begin_inset Text
16372
16373 \begin_layout Plain Layout
16374 heading
16375 \end_layout
16376
16377 \end_inset
16378 </cell>
16379 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16380 \begin_inset Text
16381
16382 \begin_layout Plain Layout
16383
16384 \end_layout
16385
16386 \end_inset
16387 </cell>
16388 </row>
16389 <row>
16390 <cell alignment="center" valignment="top" usebox="none">
16391 \begin_inset Text
16392
16393 \begin_layout Plain Layout
16394 12.
16395 \end_layout
16396
16397 \end_inset
16398 </cell>
16399 <cell alignment="center" valignment="top" usebox="none">
16400 \begin_inset Text
16401
16402 \begin_layout Plain Layout
16403 6
16404 \end_layout
16405
16406 \end_inset
16407 </cell>
16408 </row>
16409 <row>
16410 <cell alignment="center" valignment="top" usebox="none">
16411 \begin_inset Text
16412
16413 \begin_layout Plain Layout
16414 0.
16415 \end_layout
16416
16417 \end_inset
16418 </cell>
16419 <cell alignment="center" valignment="top" usebox="none">
16420 \begin_inset Text
16421
16422 \begin_layout Plain Layout
16423 68
16424 \end_layout
16425
16426 \end_inset
16427 </cell>
16428 </row>
16429 <row>
16430 <cell alignment="center" valignment="top" usebox="none">
16431 \begin_inset Text
16432
16433 \begin_layout Plain Layout
16434 -123.
16435 \end_layout
16436
16437 \end_inset
16438 </cell>
16439 <cell alignment="center" valignment="top" usebox="none">
16440 \begin_inset Text
16441
16442 \begin_layout Plain Layout
16443 0
16444 \end_layout
16445
16446 \end_inset
16447 </cell>
16448 </row>
16449 </lyxtabular>
16450
16451 \end_inset
16452
16453
16454 \end_layout
16455
16456 \end_inset
16457
16458
16459 \end_layout
16460
16461 \begin_layout Standard
16462 This table was created with a 4×2 table.
16463  The heading is a centered multicolumn.
16464  The first column is right-aligned and contains the digits before the decimal
16465  point and the decimal point.
16466  The second column is left aligned and contains the digits after the decimal
16467  point.
16468  To omit the space that is normally between two table columns, use the following
16469  LaTeX-argument for the second column:
16470 \end_layout
16471
16472 \begin_layout Standard
16473
16474 \series bold
16475 @{}l
16476 \end_layout
16477
16478 \begin_layout Standard
16479 Table
16480 \begin_inset Space ~
16481 \end_inset
16482
16483
16484 \begin_inset CommandInset ref
16485 LatexCommand ref
16486 reference "tab:Several-table-cell"
16487
16488 \end_inset
16489
16490  shows some example alignments.
16491  For the alignment with the relation sign, you must add the second smallest
16492  math-space at the beginning of the last column to get the correct space
16493  surrounding the relation sign.
16494 \end_layout
16495
16496 \begin_layout Standard
16497 \begin_inset Float table
16498 wide false
16499 sideways false
16500 status open
16501
16502 \begin_layout Plain Layout
16503 \begin_inset Caption
16504
16505 \begin_layout Plain Layout
16506 \begin_inset CommandInset label
16507 LatexCommand label
16508 name "tab:Several-table-cell"
16509
16510 \end_inset
16511
16512 Several table cell alignments.
16513 \end_layout
16514
16515 \end_inset
16516
16517
16518 \end_layout
16519
16520 \begin_layout Plain Layout
16521 \align center
16522 \begin_inset Tabular
16523 <lyxtabular version="3" rows="4" columns="6">
16524 <features>
16525 <column alignment="right" valignment="top" width="0">
16526 <column alignment="left" valignment="top" width="0" special="@{}l">
16527 <column alignment="right" valignment="top" width="0">
16528 <column alignment="left" valignment="top" width="0" special="@{}l">
16529 <column alignment="right" valignment="top" width="0">
16530 <column alignment="left" valignment="top" width="0" special="@{}l">
16531 <row>
16532 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16533 \begin_inset Text
16534
16535 \begin_layout Plain Layout
16536 units
16537 \end_layout
16538
16539 \end_inset
16540 </cell>
16541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16542 \begin_inset Text
16543
16544 \begin_layout Plain Layout
16545
16546 \end_layout
16547
16548 \end_inset
16549 </cell>
16550 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16551 \begin_inset Text
16552
16553 \begin_layout Plain Layout
16554 exponents
16555 \end_layout
16556
16557 \end_inset
16558 </cell>
16559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16560 \begin_inset Text
16561
16562 \begin_layout Plain Layout
16563
16564 \end_layout
16565
16566 \end_inset
16567 </cell>
16568 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16569 \begin_inset Text
16570
16571 \begin_layout Plain Layout
16572 relations
16573 \end_layout
16574
16575 \end_inset
16576 </cell>
16577 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16578 \begin_inset Text
16579
16580 \begin_layout Plain Layout
16581
16582 \end_layout
16583
16584 \end_inset
16585 </cell>
16586 </row>
16587 <row>
16588 <cell alignment="center" valignment="top" usebox="none">
16589 \begin_inset Text
16590
16591 \begin_layout Plain Layout
16592 12×
16593 \end_layout
16594
16595 \end_inset
16596 </cell>
16597 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16598 \begin_inset Text
16599
16600 \begin_layout Plain Layout
16601 24
16602 \begin_inset Space \thinspace{}
16603 \end_inset
16604
16605 bottles
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 <cell alignment="center" valignment="top" usebox="none">
16611 \begin_inset Text
16612
16613 \begin_layout Plain Layout
16614 \begin_inset Formula $10\cdot$
16615 \end_inset
16616
16617
16618 \end_layout
16619
16620 \end_inset
16621 </cell>
16622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16623 \begin_inset Text
16624
16625 \begin_layout Plain Layout
16626 \begin_inset Formula $10^{\mbox{-}17}$
16627 \end_inset
16628
16629
16630 \end_layout
16631
16632 \end_inset
16633 </cell>
16634 <cell alignment="center" valignment="top" usebox="none">
16635 \begin_inset Text
16636
16637 \begin_layout Plain Layout
16638 \begin_inset Formula $\Gamma(t)\propto$
16639 \end_inset
16640
16641
16642 \end_layout
16643
16644 \end_inset
16645 </cell>
16646 <cell alignment="center" valignment="top" usebox="none">
16647 \begin_inset Text
16648
16649 \begin_layout Plain Layout
16650 \begin_inset Formula $\:\Upsilon(t)$
16651 \end_inset
16652
16653
16654 \end_layout
16655
16656 \end_inset
16657 </cell>
16658 </row>
16659 <row>
16660 <cell alignment="center" valignment="top" usebox="none">
16661 \begin_inset Text
16662
16663 \begin_layout Plain Layout
16664 1024×
16665 \end_layout
16666
16667 \end_inset
16668 </cell>
16669 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16670 \begin_inset Text
16671
16672 \begin_layout Plain Layout
16673 768
16674 \begin_inset Space \thinspace{}
16675 \end_inset
16676
16677 Pixels
16678 \end_layout
16679
16680 \end_inset
16681 </cell>
16682 <cell alignment="center" valignment="top" usebox="none">
16683 \begin_inset Text
16684
16685 \begin_layout Plain Layout
16686 \begin_inset Formula $5.78\cdot$
16687 \end_inset
16688
16689
16690 \end_layout
16691
16692 \end_inset
16693 </cell>
16694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16695 \begin_inset Text
16696
16697 \begin_layout Plain Layout
16698 \begin_inset Formula $10^{7}$
16699 \end_inset
16700
16701
16702 \end_layout
16703
16704 \end_inset
16705 </cell>
16706 <cell alignment="center" valignment="top" usebox="none">
16707 \begin_inset Text
16708
16709 \begin_layout Plain Layout
16710 \begin_inset Formula $A\ne$
16711 \end_inset
16712
16713
16714 \end_layout
16715
16716 \end_inset
16717 </cell>
16718 <cell alignment="center" valignment="top" usebox="none">
16719 \begin_inset Text
16720
16721 \begin_layout Plain Layout
16722 \begin_inset Formula $\: B_{\mathrm{red}}$
16723 \end_inset
16724
16725
16726 \end_layout
16727
16728 \end_inset
16729 </cell>
16730 </row>
16731 <row>
16732 <cell alignment="center" valignment="top" usebox="none">
16733 \begin_inset Text
16734
16735 \begin_layout Plain Layout
16736 32×
16737 \end_layout
16738
16739 \end_inset
16740 </cell>
16741 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16742 \begin_inset Text
16743
16744 \begin_layout Plain Layout
16745 6
16746 \begin_inset Space \thinspace{}
16747 \end_inset
16748
16749 cm
16750 \end_layout
16751
16752 \end_inset
16753 </cell>
16754 <cell alignment="center" valignment="top" usebox="none">
16755 \begin_inset Text
16756
16757 \begin_layout Plain Layout
16758 -
16759 \begin_inset Formula $33.5\cdot$
16760 \end_inset
16761
16762
16763 \end_layout
16764
16765 \end_inset
16766 </cell>
16767 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16768 \begin_inset Text
16769
16770 \begin_layout Plain Layout
16771 \begin_inset Formula $10^{4}$
16772 \end_inset
16773
16774
16775 \end_layout
16776
16777 \end_inset
16778 </cell>
16779 <cell alignment="center" valignment="top" usebox="none">
16780 \begin_inset Text
16781
16782 \begin_layout Plain Layout
16783 \begin_inset Formula $\sin(\alpha)\ge$
16784 \end_inset
16785
16786
16787 \end_layout
16788
16789 \end_inset
16790 </cell>
16791 <cell alignment="center" valignment="top" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Plain Layout
16795 \begin_inset Formula $\:\sin(\beta)$
16796 \end_inset
16797
16798
16799 \end_layout
16800
16801 \end_inset
16802 </cell>
16803 </row>
16804 </lyxtabular>
16805
16806 \end_inset
16807
16808
16809 \end_layout
16810
16811 \end_inset
16812
16813
16814 \end_layout
16815
16816 \begin_layout Standard
16817 \begin_inset VSpace bigskip
16818 \end_inset
16819
16820 There is also the LaTeX-package 
16821 \series bold
16822 dcolumn
16823 \series default
16824
16825 \begin_inset Index
16826 status collapsed
16827
16828 \begin_layout Plain Layout
16829 LaTeX-packages ! dcolumn
16830 \end_layout
16831
16832 \end_inset
16833
16834  that provides table cell alignments.
16835  But this unfortunately treats the cell entries as math and doesn't allow
16836  formulas in table cells: The first column of Table
16837 \begin_inset Space ~
16838 \end_inset
16839
16840
16841 \begin_inset CommandInset ref
16842 LatexCommand ref
16843 reference "tab:Several-table-cell"
16844
16845 \end_inset
16846
16847  will look with 
16848 \series bold
16849 dcolumn
16850 \series default
16851  like the first column in Table
16852 \begin_inset Space ~
16853 \end_inset
16854
16855
16856 \begin_inset CommandInset ref
16857 LatexCommand ref
16858 reference "tab:Alignments-when"
16859
16860 \end_inset
16861
16862  and only with some tricks like the expected.
16863  The alignment of the second and third column of Table
16864 \begin_inset Space ~
16865 \end_inset
16866
16867
16868 \begin_inset CommandInset ref
16869 LatexCommand ref
16870 reference "tab:Several-table-cell"
16871
16872 \end_inset
16873
16874  is not possible with 
16875 \series bold
16876 dcolumn
16877 \series default
16878 .
16879 \end_layout
16880
16881 \begin_layout Standard
16882 \begin_inset Float table
16883 placement h
16884 wide false
16885 sideways false
16886 status open
16887
16888 \begin_layout Plain Layout
16889 \begin_inset Caption
16890
16891 \begin_layout Plain Layout
16892 \begin_inset CommandInset label
16893 LatexCommand label
16894 name "tab:Alignments-when"
16895
16896 \end_inset
16897
16898 Alignments when LaTeX-package dcolumn is used.
16899  For all column alignments tricks have to be used to get the output.
16900 \end_layout
16901
16902 \end_inset
16903
16904
16905 \end_layout
16906
16907 \begin_layout Plain Layout
16908 \align center
16909 \begin_inset Tabular
16910 <lyxtabular version="3" rows="4" columns="3">
16911 <features>
16912 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16913 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16914 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16915 <row>
16916 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16917 \begin_inset Text
16918
16919 \begin_layout Plain Layout
16920 units
16921 \end_layout
16922
16923 \end_inset
16924 </cell>
16925 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16926 \begin_inset Text
16927
16928 \begin_layout Plain Layout
16929 units
16930 \end_layout
16931
16932 \end_inset
16933 </cell>
16934 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16935 \begin_inset Text
16936
16937 \begin_layout Plain Layout
16938 units
16939 \end_layout
16940
16941 \end_inset
16942 </cell>
16943 </row>
16944 <row>
16945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16946 \begin_inset Text
16947
16948 \begin_layout Plain Layout
16949 12x24
16950 \begin_inset Space \thinspace{}
16951 \end_inset
16952
16953 bottles
16954 \end_layout
16955
16956 \end_inset
16957 </cell>
16958 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16959 \begin_inset Text
16960
16961 \begin_layout Plain Layout
16962 12x24
16963 \begin_inset Space \thinspace{}
16964 \end_inset
16965
16966
16967 \begin_inset Formula $\mbox{bottles}$
16968 \end_inset
16969
16970
16971 \end_layout
16972
16973 \end_inset
16974 </cell>
16975 <cell alignment="center" valignment="top" usebox="none">
16976 \begin_inset Text
16977
16978 \begin_layout Plain Layout
16979 12
16980 \begin_inset ERT
16981 status collapsed
16982
16983 \begin_layout Plain Layout
16984
16985
16986 \backslash
16987 times 
16988 \end_layout
16989
16990 \end_inset
16991
16992 24~
16993 \begin_inset Formula $\mbox{bottles}$
16994 \end_inset
16995
16996
16997 \end_layout
16998
16999 \end_inset
17000 </cell>
17001 </row>
17002 <row>
17003 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17004 \begin_inset Text
17005
17006 \begin_layout Plain Layout
17007 1024x768
17008 \begin_inset Space \thinspace{}
17009 \end_inset
17010
17011 Pixels
17012 \end_layout
17013
17014 \end_inset
17015 </cell>
17016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17017 \begin_inset Text
17018
17019 \begin_layout Plain Layout
17020 1024x768
17021 \begin_inset Space \thinspace{}
17022 \end_inset
17023
17024
17025 \begin_inset Formula $\mbox{Pixels}$
17026 \end_inset
17027
17028
17029 \end_layout
17030
17031 \end_inset
17032 </cell>
17033 <cell alignment="center" valignment="top" usebox="none">
17034 \begin_inset Text
17035
17036 \begin_layout Plain Layout
17037 1024
17038 \begin_inset ERT
17039 status collapsed
17040
17041 \begin_layout Plain Layout
17042
17043
17044 \backslash
17045 times 
17046 \end_layout
17047
17048 \end_inset
17049
17050 768~
17051 \begin_inset Formula $\mbox{Pixels}$
17052 \end_inset
17053
17054
17055 \end_layout
17056
17057 \end_inset
17058 </cell>
17059 </row>
17060 <row>
17061 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17062 \begin_inset Text
17063
17064 \begin_layout Plain Layout
17065 32x6
17066 \begin_inset Space \thinspace{}
17067 \end_inset
17068
17069 cm
17070 \end_layout
17071
17072 \end_inset
17073 </cell>
17074 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Plain Layout
17078 32x6
17079 \begin_inset Space \thinspace{}
17080 \end_inset
17081
17082
17083 \begin_inset Formula $\mbox{cm}$
17084 \end_inset
17085
17086
17087 \end_layout
17088
17089 \end_inset
17090 </cell>
17091 <cell alignment="center" valignment="top" usebox="none">
17092 \begin_inset Text
17093
17094 \begin_layout Plain Layout
17095 32
17096 \begin_inset ERT
17097 status collapsed
17098
17099 \begin_layout Plain Layout
17100
17101
17102 \backslash
17103 times 
17104 \end_layout
17105
17106 \end_inset
17107
17108 6~
17109 \begin_inset Formula $\mbox{cm}$
17110 \end_inset
17111
17112
17113 \end_layout
17114
17115 \end_inset
17116 </cell>
17117 </row>
17118 </lyxtabular>
17119
17120 \end_inset
17121
17122
17123 \end_layout
17124
17125 \end_inset
17126
17127
17128 \end_layout
17129
17130 \begin_layout Subsection
17131 Customized Cell/Column Format
17132 \begin_inset CommandInset label
17133 LatexCommand label
17134 name "sub:Customized-Format"
17135
17136 \end_inset
17137
17138
17139 \begin_inset Index
17140 status collapsed
17141
17142 \begin_layout Plain Layout
17143 Table Customization ! Cell/Column Format
17144 \end_layout
17145
17146 \end_inset
17147
17148
17149 \end_layout
17150
17151 \begin_layout Standard
17152 Calculating the needed width for spanned columns like in section
17153 \begin_inset Space ~
17154 \end_inset
17155
17156
17157 \begin_inset CommandInset ref
17158 LatexCommand ref
17159 reference "sub:Multicolumn-Calculations"
17160
17161 \end_inset
17162
17163  is very annoying if you have several tables with multicolumn cells.
17164  To make life easier, you can define a cell/column format in the preamble,
17165  so that it can be used in all tables of the document.
17166  The format is defined with the command
17167 \end_layout
17168
17169 \begin_layout Standard
17170
17171 \series bold
17172
17173 \backslash
17174 newcolumntype{name of format}[number of arguments]{commands}
17175 \end_layout
17176
17177 \begin_layout Standard
17178 The format name may only consist of one letter.
17179  The letters 
17180 \emph on
17181 b
17182 \emph default
17183
17184 \emph on
17185 c
17186 \emph default
17187
17188 \emph on
17189 l
17190 \emph default
17191
17192 \emph on
17193 m
17194 \emph default
17195
17196 \emph on
17197 p
17198 \emph default
17199  and 
17200 \emph on
17201 r
17202 \emph default
17203  are predefined and cannot be used.
17204  But all letters are allowed as capitals.
17205 \end_layout
17206
17207 \begin_layout Standard
17208 \begin_inset VSpace medskip
17209 \end_inset
17210
17211
17212 \end_layout
17213
17214 \begin_layout Standard
17215 For vertically and horizontally centered multicolumn cells with a fixed
17216  width you can define the cell format
17217 \end_layout
17218
17219 \begin_layout Standard
17220
17221 \series bold
17222
17223 \backslash
17224 newcolumntype{M}[1]{>{
17225 \backslash
17226 centering
17227 \backslash
17228 hspace{0pt}}m{#1}}
17229 \end_layout
17230
17231 \begin_layout Standard
17232 where 
17233 \series bold
17234
17235 \backslash
17236 hspace{0pt}
17237 \series default
17238  avoids the problem of hyphenating the first word, as described in section
17239 \begin_inset Space ~
17240 \end_inset
17241
17242
17243 \begin_inset CommandInset ref
17244 LatexCommand ref
17245 reference "sub:Multiple-Lines-in"
17246
17247 \end_inset
17248
17249 .
17250  Now you can simply enter
17251 \end_layout
17252
17253 \begin_layout Standard
17254
17255 \series bold
17256 M{width}
17257 \end_layout
17258
17259 \begin_layout Standard
17260 as LaTeX-argument in the table dialog to create a multicolumn.
17261 \end_layout
17262
17263 \begin_layout Standard
17264 \begin_inset VSpace bigskip
17265 \end_inset
17266
17267
17268 \end_layout
17269
17270 \begin_layout Standard
17271 For cells spanned by a multicolumn cell, you can define the format
17272 \end_layout
17273
17274 \begin_layout Standard
17275
17276 \series bold
17277
17278 \backslash
17279 newcolumntype{S}[2]{>{
17280 \backslash
17281 centering
17282 \backslash
17283 hspace{0pt}}
17284 \begin_inset Newline newline
17285 \end_inset
17286
17287
17288 \begin_inset ERT
17289 status collapsed
17290
17291 \begin_layout Plain Layout
17292
17293
17294 \backslash
17295 phantom{
17296 \end_layout
17297
17298 \end_inset
17299
17300
17301 \backslash
17302 newcolumntype
17303 \begin_inset ERT
17304 status collapsed
17305
17306 \begin_layout Plain Layout
17307
17308 }
17309 \end_layout
17310
17311 \end_inset
17312
17313 m{(#1+(2
17314 \backslash
17315 tabcolsep+
17316 \backslash
17317 arrayrulewidth)*(1-#2))/#2}}
17318 \end_layout
17319
17320 \begin_layout Standard
17321 This format uses equation 
17322 \begin_inset CommandInset ref
17323 LatexCommand eqref
17324 reference "eq:Wgn"
17325
17326 \end_inset
17327
17328  to calculate the needed width so that each spanned cell has the same width.
17329 \end_layout
17330
17331 \begin_layout Standard
17332 You can now enter
17333 \end_layout
17334
17335 \begin_layout Standard
17336
17337 \series bold
17338 S{width of multicolumn cell}{number of spanned columns}
17339 \end_layout
17340
17341 \begin_layout Standard
17342 as LaTeX-argument of the column.
17343 \end_layout
17344
17345 \begin_layout Standard
17346 \begin_inset VSpace bigskip
17347 \end_inset
17348
17349
17350 \end_layout
17351
17352 \begin_layout Standard
17353 For colored columns, you can define
17354 \end_layout
17355
17356 \begin_layout Standard
17357
17358 \series bold
17359
17360 \backslash
17361 newcolumntype{K}[1]{>{
17362 \backslash
17363 columncolor{#1}
17364 \backslash
17365 hspace{0pt}}c}
17366 \end_layout
17367
17368 \begin_layout Standard
17369 The 
17370 \begin_inset Quotes eld
17371 \end_inset
17372
17373 c
17374 \begin_inset Quotes erd
17375 \end_inset
17376
17377  at the end creates a column with a flexible width whose text is horizontally
17378  centered.
17379  You can now enter
17380 \end_layout
17381
17382 \begin_layout Standard
17383
17384 \series bold
17385 K{color name}
17386 \end_layout
17387
17388 \begin_layout Standard
17389 as LaTeX-argument.
17390 \end_layout
17391
17392 \begin_layout Standard
17393 \begin_inset VSpace bigskip
17394 \end_inset
17395
17396
17397 \end_layout
17398
17399 \begin_layout Standard
17400 To create Table
17401 \begin_inset Space ~
17402 \end_inset
17403
17404
17405 \begin_inset CommandInset ref
17406 LatexCommand ref
17407 reference "tab:Table-using-user-defined"
17408
17409 \end_inset
17410
17411  use the LaTeX-arguments
17412 \end_layout
17413
17414 \begin_layout Standard
17415
17416 \series bold
17417 M{2.5cm}
17418 \end_layout
17419
17420 \begin_layout Standard
17421 for the first column and the multicolumn,
17422 \end_layout
17423
17424 \begin_layout Standard
17425
17426 \series bold
17427 K{red}
17428 \end_layout
17429
17430 \begin_layout Standard
17431 for the the last column, and
17432 \end_layout
17433
17434 \begin_layout Standard
17435
17436 \series bold
17437 S{2.5cm}{2}
17438 \end_layout
17439
17440 \begin_layout Standard
17441 for the cells in the second column.
17442 \end_layout
17443
17444 \begin_layout Standard
17445 \begin_inset Float table
17446 placement h
17447 wide false
17448 sideways false
17449 status open
17450
17451 \begin_layout Plain Layout
17452 \begin_inset Caption
17453
17454 \begin_layout Plain Layout
17455 \begin_inset CommandInset label
17456 LatexCommand label
17457 name "tab:Table-using-user-defined"
17458
17459 \end_inset
17460
17461 Table using user-defined table formats
17462 \end_layout
17463
17464 \end_inset
17465
17466
17467 \end_layout
17468
17469 \begin_layout Plain Layout
17470 \align center
17471 \begin_inset Tabular
17472 <lyxtabular version="3" rows="3" columns="4">
17473 <features>
17474 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17475 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17476 <column alignment="center" valignment="middle" width="0">
17477 <column alignment="center" valignment="middle" width="0" special="K{red}">
17478 <row>
17479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17480 \begin_inset Text
17481
17482 \begin_layout Plain Layout
17483 verylongtablecellword
17484 \end_layout
17485
17486 \end_inset
17487 </cell>
17488 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17489 \begin_inset Text
17490
17491 \begin_layout Plain Layout
17492 multiple lines multicolumn
17493 \end_layout
17494
17495 \end_inset
17496 </cell>
17497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17498 \begin_inset Text
17499
17500 \begin_layout Plain Layout
17501
17502 \end_layout
17503
17504 \end_inset
17505 </cell>
17506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17507 \begin_inset Text
17508
17509 \begin_layout Plain Layout
17510 c
17511 \end_layout
17512
17513 \end_inset
17514 </cell>
17515 </row>
17516 <row>
17517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17518 \begin_inset Text
17519
17520 \begin_layout Plain Layout
17521 d
17522 \end_layout
17523
17524 \end_inset
17525 </cell>
17526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17527 \begin_inset Text
17528
17529 \begin_layout Plain Layout
17530 e
17531 \end_layout
17532
17533 \end_inset
17534 </cell>
17535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17536 \begin_inset Text
17537
17538 \begin_layout Plain Layout
17539 f
17540 \end_layout
17541
17542 \end_inset
17543 </cell>
17544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17545 \begin_inset Text
17546
17547 \begin_layout Plain Layout
17548 g
17549 \end_layout
17550
17551 \end_inset
17552 </cell>
17553 </row>
17554 <row>
17555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17556 \begin_inset Text
17557
17558 \begin_layout Plain Layout
17559 h
17560 \end_layout
17561
17562 \end_inset
17563 </cell>
17564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17565 \begin_inset Text
17566
17567 \begin_layout Plain Layout
17568 i
17569 \end_layout
17570
17571 \end_inset
17572 </cell>
17573 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17574 \begin_inset Text
17575
17576 \begin_layout Plain Layout
17577 j
17578 \end_layout
17579
17580 \end_inset
17581 </cell>
17582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17583 \begin_inset Text
17584
17585 \begin_layout Plain Layout
17586 k
17587 \end_layout
17588
17589 \end_inset
17590 </cell>
17591 </row>
17592 </lyxtabular>
17593
17594 \end_inset
17595
17596
17597 \end_layout
17598
17599 \end_inset
17600
17601
17602 \end_layout
17603
17604 \begin_layout Subsection
17605 Line Thickness
17606 \begin_inset CommandInset label
17607 LatexCommand label
17608 name "sub:Line-Thickness"
17609
17610 \end_inset
17611
17612
17613 \begin_inset Index
17614 status collapsed
17615
17616 \begin_layout Plain Layout
17617 Table Customization ! Line Thickness
17618 \end_layout
17619
17620 \end_inset
17621
17622
17623 \end_layout
17624
17625 \begin_layout Standard
17626 The line thickness for all lines in a table can be adjusted with the length
17627  
17628 \series bold
17629
17630 \backslash
17631 arrayrulewidth
17632 \series default
17633 .
17634  To set for example a line thickness of 1.5
17635 \begin_inset Space \thinspace{}
17636 \end_inset
17637
17638 pt, like in Table
17639 \begin_inset Space ~
17640 \end_inset
17641
17642
17643 \begin_inset CommandInset ref
17644 LatexCommand ref
17645 reference "tab:Table-with-1.5"
17646
17647 \end_inset
17648
17649 , insert the command
17650 \end_layout
17651
17652 \begin_layout Standard
17653
17654 \series bold
17655
17656 \backslash
17657 setlength{
17658 \backslash
17659 arrayrulewidth}{1.5pt}
17660 \end_layout
17661
17662 \begin_layout Standard
17663 in TeX-Code before the table or table float.
17664  The changed thickness is valid for all following tables.
17665  To use the default value again, set 
17666 \series bold
17667
17668 \backslash
17669 arrayrulewidth
17670 \series default
17671  to 0.4
17672 \begin_inset Space \thinspace{}
17673 \end_inset
17674
17675 pt in TeX-Code behind the table or table float.
17676 \end_layout
17677
17678 \begin_layout Standard
17679 \begin_inset ERT
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683
17684
17685 \backslash
17686 setlength{
17687 \backslash
17688 arrayrulewidth}{1.5pt}
17689 \end_layout
17690
17691 \end_inset
17692
17693
17694 \begin_inset Float table
17695 wide false
17696 sideways false
17697 status open
17698
17699 \begin_layout Plain Layout
17700 \begin_inset Caption
17701
17702 \begin_layout Plain Layout
17703 \begin_inset CommandInset label
17704 LatexCommand label
17705 name "tab:Table-with-1.5"
17706
17707 \end_inset
17708
17709 Table with 1.5
17710 \begin_inset Space \thinspace{}
17711 \end_inset
17712
17713 pt thick lines
17714 \end_layout
17715
17716 \end_inset
17717
17718
17719 \end_layout
17720
17721 \begin_layout Plain Layout
17722 \align center
17723 \begin_inset Tabular
17724 <lyxtabular version="3" rows="3" columns="3">
17725 <features>
17726 <column alignment="center" valignment="top" width="0">
17727 <column alignment="center" valignment="top" width="0">
17728 <column alignment="center" valignment="top" width="0">
17729 <row>
17730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17731 \begin_inset Text
17732
17733 \begin_layout Plain Layout
17734 sd
17735 \end_layout
17736
17737 \end_inset
17738 </cell>
17739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17740 \begin_inset Text
17741
17742 \begin_layout Plain Layout
17743
17744 \end_layout
17745
17746 \end_inset
17747 </cell>
17748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17749 \begin_inset Text
17750
17751 \begin_layout Plain Layout
17752
17753 \end_layout
17754
17755 \end_inset
17756 </cell>
17757 </row>
17758 <row>
17759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17760 \begin_inset Text
17761
17762 \begin_layout Plain Layout
17763
17764 \end_layout
17765
17766 \end_inset
17767 </cell>
17768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17769 \begin_inset Text
17770
17771 \begin_layout Plain Layout
17772 sd
17773 \end_layout
17774
17775 \end_inset
17776 </cell>
17777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17778 \begin_inset Text
17779
17780 \begin_layout Plain Layout
17781
17782 \end_layout
17783
17784 \end_inset
17785 </cell>
17786 </row>
17787 <row>
17788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17789 \begin_inset Text
17790
17791 \begin_layout Plain Layout
17792
17793 \end_layout
17794
17795 \end_inset
17796 </cell>
17797 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17798 \begin_inset Text
17799
17800 \begin_layout Plain Layout
17801
17802 \end_layout
17803
17804 \end_inset
17805 </cell>
17806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17807 \begin_inset Text
17808
17809 \begin_layout Plain Layout
17810 sd
17811 \end_layout
17812
17813 \end_inset
17814 </cell>
17815 </row>
17816 </lyxtabular>
17817
17818 \end_inset
17819
17820
17821 \end_layout
17822
17823 \end_inset
17824
17825
17826 \begin_inset ERT
17827 status collapsed
17828
17829 \begin_layout Plain Layout
17830
17831
17832 \backslash
17833 setlength{
17834 \backslash
17835 arrayrulewidth}{0.4pt}
17836 \end_layout
17837
17838 \end_inset
17839
17840
17841 \end_layout
17842
17843 \begin_layout Standard
17844 \begin_inset VSpace bigskip
17845 \end_inset
17846
17847 To set the line thickness to 1.5
17848 \begin_inset Space \thinspace{}
17849 \end_inset
17850
17851 pt only for horizontal lines, like in Table
17852 \begin_inset Space ~
17853 \end_inset
17854
17855
17856 \begin_inset CommandInset ref
17857 LatexCommand ref
17858 reference "tab:Table-with-horizontal"
17859
17860 \end_inset
17861
17862 , insert these commands in TeX-Code before the table or table float:
17863 \end_layout
17864
17865 \begin_layout Standard
17866
17867 \series bold
17868
17869 \backslash
17870 let
17871 \backslash
17872 myHline
17873 \backslash
17874 hline
17875 \begin_inset Newline newline
17876 \end_inset
17877
17878
17879 \backslash
17880 renewcommand{
17881 \backslash
17882 hline}
17883 \begin_inset Newline newline
17884 \end_inset
17885
17886  {
17887 \backslash
17888 noalign{
17889 \backslash
17890 global
17891 \backslash
17892 arrayrulewidth 1.5pt}
17893 \begin_inset Newline newline
17894 \end_inset
17895
17896  
17897 \backslash
17898 myHline
17899 \backslash
17900 noalign{
17901 \backslash
17902 global
17903 \backslash
17904 arrayrulewidth 0.4pt}}
17905 \end_layout
17906
17907 \begin_layout Standard
17908 To return to the default line thickness, insert this command in TeX-Code
17909  behind the table or table float:
17910 \end_layout
17911
17912 \begin_layout Standard
17913
17914 \series bold
17915
17916 \backslash
17917 renewcommand{
17918 \backslash
17919 hline}{
17920 \backslash
17921 myHline}
17922 \end_layout
17923
17924 \begin_layout Standard
17925 \begin_inset ERT
17926 status collapsed
17927
17928 \begin_layout Plain Layout
17929
17930
17931 \backslash
17932 let
17933 \backslash
17934 myHline
17935 \backslash
17936 hline
17937 \end_layout
17938
17939 \begin_layout Plain Layout
17940
17941
17942 \backslash
17943 renewcommand{
17944 \backslash
17945 hline}
17946 \end_layout
17947
17948 \begin_layout Plain Layout
17949
17950  {
17951 \backslash
17952 noalign{
17953 \backslash
17954 global
17955 \backslash
17956 arrayrulewidth 1.5pt}
17957 \end_layout
17958
17959 \begin_layout Plain Layout
17960
17961   
17962 \backslash
17963 myHline
17964 \backslash
17965 noalign{
17966 \backslash
17967 global
17968 \backslash
17969 arrayrulewidth 0.4pt}}
17970 \end_layout
17971
17972 \end_inset
17973
17974
17975 \begin_inset Float table
17976 wide false
17977 sideways false
17978 status open
17979
17980 \begin_layout Plain Layout
17981 \begin_inset Caption
17982
17983 \begin_layout Plain Layout
17984 \begin_inset CommandInset label
17985 LatexCommand label
17986 name "tab:Table-with-horizontal"
17987
17988 \end_inset
17989
17990 Table with 1.5
17991 \begin_inset Space \thinspace{}
17992 \end_inset
17993
17994 pt thick horizontal lines
17995 \end_layout
17996
17997 \end_inset
17998
17999
18000 \end_layout
18001
18002 \begin_layout Plain Layout
18003 \align center
18004 \begin_inset Tabular
18005 <lyxtabular version="3" rows="3" columns="3">
18006 <features>
18007 <column alignment="center" valignment="top" width="0">
18008 <column alignment="center" valignment="top" width="0">
18009 <column alignment="center" valignment="top" width="0">
18010 <row>
18011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18012 \begin_inset Text
18013
18014 \begin_layout Plain Layout
18015 sd
18016 \end_layout
18017
18018 \end_inset
18019 </cell>
18020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18021 \begin_inset Text
18022
18023 \begin_layout Plain Layout
18024
18025 \end_layout
18026
18027 \end_inset
18028 </cell>
18029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18030 \begin_inset Text
18031
18032 \begin_layout Plain Layout
18033
18034 \end_layout
18035
18036 \end_inset
18037 </cell>
18038 </row>
18039 <row>
18040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18041 \begin_inset Text
18042
18043 \begin_layout Plain Layout
18044
18045 \end_layout
18046
18047 \end_inset
18048 </cell>
18049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18050 \begin_inset Text
18051
18052 \begin_layout Plain Layout
18053 sd
18054 \end_layout
18055
18056 \end_inset
18057 </cell>
18058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18059 \begin_inset Text
18060
18061 \begin_layout Plain Layout
18062
18063 \end_layout
18064
18065 \end_inset
18066 </cell>
18067 </row>
18068 <row>
18069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18070 \begin_inset Text
18071
18072 \begin_layout Plain Layout
18073
18074 \end_layout
18075
18076 \end_inset
18077 </cell>
18078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18079 \begin_inset Text
18080
18081 \begin_layout Plain Layout
18082
18083 \end_layout
18084
18085 \end_inset
18086 </cell>
18087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18088 \begin_inset Text
18089
18090 \begin_layout Plain Layout
18091 sd
18092 \end_layout
18093
18094 \end_inset
18095 </cell>
18096 </row>
18097 </lyxtabular>
18098
18099 \end_inset
18100
18101
18102 \end_layout
18103
18104 \end_inset
18105
18106
18107 \begin_inset ERT
18108 status collapsed
18109
18110 \begin_layout Plain Layout
18111
18112
18113 \backslash
18114 renewcommand{
18115 \backslash
18116 hline}{
18117 \backslash
18118 myHline}
18119 \end_layout
18120
18121 \end_inset
18122
18123
18124 \end_layout
18125
18126 \begin_layout Standard
18127 \begin_inset VSpace bigskip
18128 \end_inset
18129
18130 To set the line thickness to 1.5
18131 \begin_inset Space \thinspace{}
18132 \end_inset
18133
18134 pt only for vertical lines, create the following column format in the document
18135  preamble, according to the description in section
18136 \begin_inset Space ~
18137 \end_inset
18138
18139
18140 \begin_inset CommandInset ref
18141 LatexCommand ref
18142 reference "sub:Customized-Format"
18143
18144 \end_inset
18145
18146 :
18147 \end_layout
18148
18149 \begin_layout Standard
18150
18151 \series bold
18152
18153 \backslash
18154 newcolumntype{V}{!{
18155 \backslash
18156 vrule width 1.5pt}}
18157 \end_layout
18158
18159 \begin_layout Standard
18160 For Table
18161 \begin_inset Space ~
18162 \end_inset
18163
18164
18165 \begin_inset CommandInset ref
18166 LatexCommand ref
18167 reference "tab:Table-with-vertical"
18168
18169 \end_inset
18170
18171  the LaTeX-argument
18172 \end_layout
18173
18174 \begin_layout Standard
18175
18176 \series bold
18177 VcV
18178 \end_layout
18179
18180 \begin_layout Standard
18181 was used for the last column and
18182 \end_layout
18183
18184 \begin_layout Standard
18185
18186 \series bold
18187 Vc
18188 \end_layout
18189
18190 \begin_layout Standard
18191 for the other columns.
18192 \end_layout
18193
18194 \begin_layout Standard
18195 \begin_inset Float table
18196 wide false
18197 sideways false
18198 status open
18199
18200 \begin_layout Plain Layout
18201 \begin_inset Caption
18202
18203 \begin_layout Plain Layout
18204 \begin_inset CommandInset label
18205 LatexCommand label
18206 name "tab:Table-with-vertical"
18207
18208 \end_inset
18209
18210 Table with 1.5
18211 \begin_inset Space \thinspace{}
18212 \end_inset
18213
18214 pt thick vertical lines
18215 \end_layout
18216
18217 \end_inset
18218
18219
18220 \end_layout
18221
18222 \begin_layout Plain Layout
18223 \align center
18224 \begin_inset Tabular
18225 <lyxtabular version="3" rows="3" columns="3">
18226 <features>
18227 <column alignment="center" valignment="top" width="0" special="Vc">
18228 <column alignment="center" valignment="top" width="0" special="Vc">
18229 <column alignment="center" valignment="top" width="0" special="VcV">
18230 <row>
18231 <cell alignment="center" valignment="top" topline="true" usebox="none">
18232 \begin_inset Text
18233
18234 \begin_layout Plain Layout
18235 sd
18236 \end_layout
18237
18238 \end_inset
18239 </cell>
18240 <cell alignment="center" valignment="top" topline="true" usebox="none">
18241 \begin_inset Text
18242
18243 \begin_layout Plain Layout
18244
18245 \end_layout
18246
18247 \end_inset
18248 </cell>
18249 <cell alignment="center" valignment="top" topline="true" usebox="none">
18250 \begin_inset Text
18251
18252 \begin_layout Plain Layout
18253
18254 \end_layout
18255
18256 \end_inset
18257 </cell>
18258 </row>
18259 <row>
18260 <cell alignment="center" valignment="top" topline="true" usebox="none">
18261 \begin_inset Text
18262
18263 \begin_layout Plain Layout
18264
18265 \end_layout
18266
18267 \end_inset
18268 </cell>
18269 <cell alignment="center" valignment="top" topline="true" usebox="none">
18270 \begin_inset Text
18271
18272 \begin_layout Plain Layout
18273 sd
18274 \end_layout
18275
18276 \end_inset
18277 </cell>
18278 <cell alignment="center" valignment="top" topline="true" usebox="none">
18279 \begin_inset Text
18280
18281 \begin_layout Plain Layout
18282
18283 \end_layout
18284
18285 \end_inset
18286 </cell>
18287 </row>
18288 <row>
18289 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18290 \begin_inset Text
18291
18292 \begin_layout Plain Layout
18293
18294 \end_layout
18295
18296 \end_inset
18297 </cell>
18298 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18299 \begin_inset Text
18300
18301 \begin_layout Plain Layout
18302
18303 \end_layout
18304
18305 \end_inset
18306 </cell>
18307 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18308 \begin_inset Text
18309
18310 \begin_layout Plain Layout
18311 sd
18312 \end_layout
18313
18314 \end_inset
18315 </cell>
18316 </row>
18317 </lyxtabular>
18318
18319 \end_inset
18320
18321
18322 \end_layout
18323
18324 \end_inset
18325
18326
18327 \end_layout
18328
18329 \begin_layout Subsection
18330 Dashed Lines
18331 \begin_inset Index
18332 status collapsed
18333
18334 \begin_layout Plain Layout
18335 Table Customization ! Dashed Lines
18336 \end_layout
18337
18338 \end_inset
18339
18340
18341 \end_layout
18342
18343 \begin_layout Standard
18344 \begin_inset ERT
18345 status collapsed
18346
18347 \begin_layout Plain Layout
18348
18349
18350 \backslash
18351 ifarydshln
18352 \end_layout
18353
18354 \end_inset
18355
18356
18357 \begin_inset Note Note
18358 status open
18359
18360 \begin_layout Plain Layout
18361 The following section will only be displayed when the LaTeX-package 
18362 \series bold
18363 arydshln
18364 \series default
18365  is installed.
18366 \end_layout
18367
18368 \end_inset
18369
18370
18371 \end_layout
18372
18373 \begin_layout Standard
18374 \begin_inset Float table
18375 placement H
18376 wide false
18377 sideways false
18378 status open
18379
18380 \begin_layout Plain Layout
18381 \begin_inset Caption
18382
18383 \begin_layout Plain Layout
18384 \begin_inset CommandInset label
18385 LatexCommand label
18386 name "tab:Table-with-dashed"
18387
18388 \end_inset
18389
18390 Table with dashed lines
18391 \end_layout
18392
18393 \end_inset
18394
18395
18396 \end_layout
18397
18398 \begin_layout Plain Layout
18399 \align center
18400 \begin_inset Tabular
18401 <lyxtabular version="3" rows="5" columns="5">
18402 <features>
18403 <column alignment="center" valignment="top" width="0">
18404 <column alignment="center" valignment="top" width="0">
18405 <column alignment="center" valignment="top" width="0" special=":c">
18406 <column alignment="center" valignment="top" width="0">
18407 <column alignment="center" valignment="top" width="0">
18408 <row>
18409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18410 \begin_inset Text
18411
18412 \begin_layout Plain Layout
18413 a
18414 \end_layout
18415
18416 \end_inset
18417 </cell>
18418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18419 \begin_inset Text
18420
18421 \begin_layout Plain Layout
18422 b
18423 \end_layout
18424
18425 \end_inset
18426 </cell>
18427 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18428 \begin_inset Text
18429
18430 \begin_layout Plain Layout
18431 c
18432 \end_layout
18433
18434 \end_inset
18435 </cell>
18436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18437 \begin_inset Text
18438
18439 \begin_layout Plain Layout
18440 d
18441 \end_layout
18442
18443 \end_inset
18444 </cell>
18445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18446 \begin_inset Text
18447
18448 \begin_layout Plain Layout
18449 e
18450 \end_layout
18451
18452 \end_inset
18453 </cell>
18454 </row>
18455 <row>
18456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18457 \begin_inset Text
18458
18459 \begin_layout Plain Layout
18460 f
18461 \end_layout
18462
18463 \end_inset
18464 </cell>
18465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18466 \begin_inset Text
18467
18468 \begin_layout Plain Layout
18469 g
18470 \end_layout
18471
18472 \end_inset
18473 </cell>
18474 <cell alignment="center" valignment="top" topline="true" usebox="none">
18475 \begin_inset Text
18476
18477 \begin_layout Plain Layout
18478 h
18479 \end_layout
18480
18481 \end_inset
18482 </cell>
18483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18484 \begin_inset Text
18485
18486 \begin_layout Plain Layout
18487 i
18488 \end_layout
18489
18490 \end_inset
18491 </cell>
18492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18493 \begin_inset Text
18494
18495 \begin_layout Plain Layout
18496 j
18497 \end_layout
18498
18499 \end_inset
18500 </cell>
18501 </row>
18502 <row>
18503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18504 \begin_inset Text
18505
18506 \begin_layout Plain Layout
18507 \begin_inset ERT
18508 status collapsed
18509
18510 \begin_layout Plain Layout
18511
18512
18513 \backslash
18514 hdashline 
18515 \end_layout
18516
18517 \end_inset
18518
18519 k
18520 \end_layout
18521
18522 \end_inset
18523 </cell>
18524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18525 \begin_inset Text
18526
18527 \begin_layout Plain Layout
18528 l
18529 \end_layout
18530
18531 \end_inset
18532 </cell>
18533 <cell alignment="center" valignment="top" usebox="none">
18534 \begin_inset Text
18535
18536 \begin_layout Plain Layout
18537 m
18538 \end_layout
18539
18540 \end_inset
18541 </cell>
18542 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18543 \begin_inset Text
18544
18545 \begin_layout Plain Layout
18546 n
18547 \end_layout
18548
18549 \end_inset
18550 </cell>
18551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18552 \begin_inset Text
18553
18554 \begin_layout Plain Layout
18555 o
18556 \end_layout
18557
18558 \end_inset
18559 </cell>
18560 </row>
18561 <row>
18562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18563 \begin_inset Text
18564
18565 \begin_layout Plain Layout
18566 \begin_inset ERT
18567 status collapsed
18568
18569 \begin_layout Plain Layout
18570
18571
18572 \backslash
18573 cdashline{4-5}
18574 \end_layout
18575
18576 \end_inset
18577
18578 p
18579 \end_layout
18580
18581 \end_inset
18582 </cell>
18583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18584 \begin_inset Text
18585
18586 \begin_layout Plain Layout
18587 q
18588 \end_layout
18589
18590 \end_inset
18591 </cell>
18592 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18593 \begin_inset Text
18594
18595 \begin_layout Plain Layout
18596 r
18597 \end_layout
18598
18599 \end_inset
18600 </cell>
18601 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18602 \begin_inset Text
18603
18604 \begin_layout Plain Layout
18605 s
18606 \end_layout
18607
18608 \end_inset
18609 </cell>
18610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18611 \begin_inset Text
18612
18613 \begin_layout Plain Layout
18614
18615 \end_layout
18616
18617 \end_inset
18618 </cell>
18619 </row>
18620 <row>
18621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18622 \begin_inset Text
18623
18624 \begin_layout Plain Layout
18625 t
18626 \end_layout
18627
18628 \end_inset
18629 </cell>
18630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18631 \begin_inset Text
18632
18633 \begin_layout Plain Layout
18634 u
18635 \end_layout
18636
18637 \end_inset
18638 </cell>
18639 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18640 \begin_inset Text
18641
18642 \begin_layout Plain Layout
18643 v
18644 \end_layout
18645
18646 \end_inset
18647 </cell>
18648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18649 \begin_inset Text
18650
18651 \begin_layout Plain Layout
18652 w
18653 \end_layout
18654
18655 \end_inset
18656 </cell>
18657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18658 \begin_inset Text
18659
18660 \begin_layout Plain Layout
18661 x
18662 \end_layout
18663
18664 \end_inset
18665 </cell>
18666 </row>
18667 </lyxtabular>
18668
18669 \end_inset
18670
18671
18672 \end_layout
18673
18674 \end_inset
18675
18676
18677 \end_layout
18678
18679 \begin_layout Standard
18680 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
18681  As prerequisite the LaTeX-package 
18682 \series bold
18683 arydshln
18684 \series default
18685
18686 \begin_inset Index
18687 status collapsed
18688
18689 \begin_layout Plain Layout
18690 LaTeX-packages ! arydshln
18691 \end_layout
18692
18693 \end_inset
18694
18695  must be loaded in the document preamble with the command
18696 \end_layout
18697
18698 \begin_layout Standard
18699
18700 \series bold
18701
18702 \backslash
18703 usepackage{arydshln}
18704 \end_layout
18705
18706 \begin_layout Standard
18707 To make a vertical line dashed, enter the colon 
18708 \begin_inset Quotes eld
18709 \end_inset
18710
18711 :
18712 \begin_inset Quotes erd
18713 \end_inset
18714
18715  together with the character for the horizontal alignment as LaTeX-argument
18716  in the table cell dialog.
18717 \end_layout
18718
18719 \begin_layout Standard
18720 For a horizontal dashed line add the command
18721 \end_layout
18722
18723 \begin_layout Standard
18724
18725 \series bold
18726
18727 \backslash
18728 hdashline
18729 \end_layout
18730
18731 \begin_layout Standard
18732 in TeX-Code as first element of the first cell in the table row.
18733 \end_layout
18734
18735 \begin_layout Standard
18736 For dashed multicolumn lines use the command
18737 \end_layout
18738
18739 \begin_layout Standard
18740
18741 \series bold
18742
18743 \backslash
18744 cdashline{line number
18745 \series default
18746 }
18747 \end_layout
18748
18749 \begin_layout Standard
18750 in TeX-Code as first element of the first cell in the table row.
18751  If you have for example a multicolumn spanning over columns 2 to 4 and
18752  you want to have a dashed line above, add the command
18753 \end_layout
18754
18755 \begin_layout Standard
18756
18757 \series bold
18758
18759 \backslash
18760 cdashline{2-4}
18761 \end_layout
18762
18763 \begin_layout Standard
18764 as first element of the first cell in the row of the multicolumn.
18765 \end_layout
18766
18767 \begin_layout Standard
18768 \begin_inset VSpace bigskip
18769 \end_inset
18770
18771
18772 \end_layout
18773
18774 \begin_layout Standard
18775 Table
18776 \begin_inset Space ~
18777 \end_inset
18778
18779
18780 \begin_inset CommandInset ref
18781 LatexCommand ref
18782 reference "tab:Table-with-dashed"
18783
18784 \end_inset
18785
18786  was created using 
18787 \begin_inset Quotes eld
18788 \end_inset
18789
18790
18791 \series bold
18792 :c
18793 \series default
18794
18795 \begin_inset Quotes erd
18796 \end_inset
18797
18798  as LaTeX-argument of the third column.
18799  The TeX-Code command 
18800 \series bold
18801
18802 \backslash
18803 hdashline
18804 \series default
18805  was inserted to the first cell of the third row and the the TeX-Code command
18806 \begin_inset Newline newline
18807 \end_inset
18808
18809  
18810 \series bold
18811
18812 \backslash
18813 cdashline{4-5}
18814 \series default
18815  was inserted to the first cell of the fourth row.
18816 \end_layout
18817
18818 \begin_layout Standard
18819 \begin_inset Note Greyedout
18820 status open
18821
18822 \begin_layout Plain Layout
18823
18824 \series bold
18825 Note:
18826 \series default
18827  The used LaTeX-package 
18828 \series bold
18829 arydshln
18830 \series default
18831  is apparently not compatible with the LaTeX-package 
18832 \series bold
18833 colortbl
18834 \series default
18835
18836 \begin_inset Index
18837 status collapsed
18838
18839 \begin_layout Plain Layout
18840 LaTeX-packages ! colortbl
18841 \end_layout
18842
18843 \end_inset
18844
18845  that is used for colored tables in section
18846 \begin_inset Space ~
18847 \end_inset
18848
18849
18850 \begin_inset CommandInset ref
18851 LatexCommand ref
18852 reference "sec:Colored-Tables"
18853
18854 \end_inset
18855
18856 .
18857  That means colored tables cannot have dashed lines.
18858 \end_layout
18859
18860 \end_inset
18861
18862
18863 \end_layout
18864
18865 \begin_layout Standard
18866 \begin_inset ERT
18867 status collapsed
18868
18869 \begin_layout Plain Layout
18870
18871
18872 \backslash
18873 else
18874 \end_layout
18875
18876 \end_inset
18877
18878
18879 \begin_inset Note Note
18880 status open
18881
18882 \begin_layout Plain Layout
18883 The following will be displayed when the LaTeX-package 
18884 \series bold
18885 arydshln
18886 \series default
18887  is not installed:
18888 \end_layout
18889
18890 \end_inset
18891
18892
18893 \end_layout
18894
18895 \begin_layout Standard
18896 You need to install the package 
18897 \series bold
18898 arydshln
18899 \series default
18900  to see the content of this section in the output.
18901 \end_layout
18902
18903 \begin_layout Standard
18904 \begin_inset ERT
18905 status collapsed
18906
18907 \begin_layout Plain Layout
18908
18909
18910 \backslash
18911 fi
18912 \end_layout
18913
18914 \end_inset
18915
18916
18917 \end_layout
18918
18919 \begin_layout Chapter
18920 Floats
18921 \begin_inset Index
18922 status collapsed
18923
18924 \begin_layout Plain Layout
18925 Floats
18926 \end_layout
18927
18928 \end_inset
18929
18930
18931 \begin_inset CommandInset label
18932 LatexCommand label
18933 name "cha:Floats"
18934
18935 \end_inset
18936
18937
18938 \end_layout
18939
18940 \begin_layout Section
18941 Introduction
18942 \begin_inset CommandInset label
18943 LatexCommand label
18944 name "sec:FloatIntroduction"
18945
18946 \end_inset
18947
18948
18949 \begin_inset Index
18950 status collapsed
18951
18952 \begin_layout Plain Layout
18953 Floats ! Introduction
18954 \end_layout
18955
18956 \end_inset
18957
18958
18959 \end_layout
18960
18961 \begin_layout Standard
18962 A float is a block of text associated with some sort of label, which doesn't
18963  have a fixed location.
18964  It can 
18965 \begin_inset Quotes eld
18966 \end_inset
18967
18968 float
18969 \begin_inset Quotes erd
18970 \end_inset
18971
18972  forward or backward a page or two, to wherever it fits best.
18973  
18974 \family sans
18975 Footnotes
18976 \family default
18977  and 
18978 \family sans
18979 Margin
18980 \begin_inset Space ~
18981 \end_inset
18982
18983 Notes
18984 \family default
18985  are also floats, because they can float to the next page when there are
18986  too many notes at the page.
18987 \end_layout
18988
18989 \begin_layout Standard
18990 Floats allow a high quality layout.
18991  Images and tables can evenly be spread to the pages to avoid white space
18992  and pages without text.
18993  As the floating often destroys the context between the text and the image/table
18994 , every float can be referenced in the text.
18995  Floats are therefore numbered.
18996  Referencing is described in section
18997 \begin_inset Space ~
18998 \end_inset
18999
19000
19001 \begin_inset CommandInset ref
19002 LatexCommand ref
19003 reference "sec:Referencing-Floats"
19004
19005 \end_inset
19006
19007 .
19008 \end_layout
19009
19010 \begin_layout Standard
19011 To insert a float, use the menu 
19012 \family sans
19013 Insert\SpecialChar \menuseparator
19014 Float
19015 \family default
19016 .
19017  This inserts the 
19018 \family sans
19019 Caption
19020 \family default
19021  inset, a box with a label.
19022  The label will automatically be translated to the document language in
19023  the output.
19024  Behind the label you can insert the caption text.
19025  The image or table is inserted above or below the caption in a separate
19026  paragraph within the float.
19027  More about the caption placement is described in section
19028 \begin_inset Space ~
19029 \end_inset
19030
19031
19032 \begin_inset CommandInset ref
19033 LatexCommand ref
19034 reference "sec:Caption-Placement"
19035
19036 \end_inset
19037
19038 .
19039  To keep your LyX-document readable, you can open and close the float box
19040  by left-clicking on the box label.
19041  A closed float box looks like this: 
19042 \begin_inset Graphics
19043         filename clipart/floatQt4.png
19044         scale 70
19045         scaleBeforeRotation
19046
19047 \end_inset
19048
19049  -- a gray button with a red label.
19050 \end_layout
19051
19052 \begin_layout Standard
19053 It is recommended to insert floats as a separate paragraph to avoid possible
19054  LaTeX-errors that can occur when the surrounding text is specially formatted.
19055 \end_layout
19056
19057 \begin_layout Standard
19058 Existing figures or tables can be put into a float by marking them and then
19059  pressing the corresponding toolbar button for a new float.
19060 \end_layout
19061
19062 \begin_layout Section
19063 Float Types
19064 \end_layout
19065
19066 \begin_layout Standard
19067 Besides figure and table floats that are described in section
19068 \begin_inset Space ~
19069 \end_inset
19070
19071
19072 \begin_inset CommandInset ref
19073 LatexCommand ref
19074 reference "sec:Figure-Floats"
19075
19076 \end_inset
19077
19078  and 
19079 \begin_inset CommandInset ref
19080 LatexCommand ref
19081 reference "sec:Table-Floats"
19082
19083 \end_inset
19084
19085 , respectively, LyX offers the float types 
19086 \series bold
19087 Algorithm
19088 \series default
19089  and 
19090 \series bold
19091 Text
19092 \begin_inset Space ~
19093 \end_inset
19094
19095 Wrap
19096 \begin_inset Space ~
19097 \end_inset
19098
19099 Float
19100 \series default
19101 .
19102 \end_layout
19103
19104 \begin_layout Subsection
19105 Algorithm Floats
19106 \begin_inset Index
19107 status collapsed
19108
19109 \begin_layout Plain Layout
19110 Floats ! Algorithms
19111 \end_layout
19112
19113 \end_inset
19114
19115
19116 \begin_inset CommandInset label
19117 LatexCommand label
19118 name "sub:Algorithm-Floats"
19119
19120 \end_inset
19121
19122
19123 \end_layout
19124
19125 \begin_layout Standard
19126 \begin_inset Float algorithm
19127 placement h
19128 wide false
19129 sideways false
19130 status open
19131
19132 \begin_layout Plain Layout
19133 \begin_inset Caption
19134
19135 \begin_layout Plain Layout
19136 \begin_inset CommandInset label
19137 LatexCommand label
19138 name "alg:Example-Algorithm-float"
19139
19140 \end_inset
19141
19142 Example Algorithm float
19143 \end_layout
19144
19145 \end_inset
19146
19147
19148 \end_layout
19149
19150 \begin_layout LyX-Code
19151 for I in 1..N loop
19152 \begin_inset Newline newline
19153 \end_inset
19154
19155  Sum:= Sum + A(I); /*comment*/
19156 \begin_inset Newline newline
19157 \end_inset
19158
19159 end loop
19160 \begin_inset VSpace -4mm
19161 \end_inset
19162
19163
19164 \end_layout
19165
19166 \end_inset
19167
19168
19169 \end_layout
19170
19171 \begin_layout Standard
19172 This float type is inserted with the menu 
19173 \family sans
19174 Insert\SpecialChar \menuseparator
19175 Floats\SpecialChar \menuseparator
19176 Algorithm
19177 \family default
19178 .
19179  It is used for program codes and descriptions of algorithms.
19180  A possible environment for algorithms is the 
19181 \family sans
19182 LyX-Code
19183 \family default
19184 , described in LyX's 
19185 \emph on
19186 Userguide
19187 \emph default
19188 .
19189  Algorithm
19190 \begin_inset Space ~
19191 \end_inset
19192
19193
19194 \begin_inset CommandInset ref
19195 LatexCommand ref
19196 reference "alg:Example-Algorithm-float"
19197
19198 \end_inset
19199
19200  is an example of an algorithm float where -4
19201 \begin_inset Space \thinspace{}
19202 \end_inset
19203
19204 mm vertical space was added at the end of the float to have the bottom rule
19205  exactly below the last text line.
19206 \end_layout
19207
19208 \begin_layout Standard
19209 The float label is not automatically translated into the document language.
19210  If your document is not in English, you have to do this manually by adding
19211  the following line to the document preamble
19212 \series bold
19213 :
19214 \end_layout
19215
19216 \begin_layout Standard
19217
19218 \series bold
19219
19220 \backslash
19221 floatname{algorithm}{your
19222 \begin_inset Space ~
19223 \end_inset
19224
19225 name}
19226 \end_layout
19227
19228 \begin_layout Standard
19229 where 
19230 \family sans
19231 your
19232 \begin_inset Space ~
19233 \end_inset
19234
19235 name
19236 \family default
19237  is the word 
19238 \begin_inset Quotes eld
19239 \end_inset
19240
19241
19242 \emph on
19243 algorithm
19244 \emph default
19245
19246 \begin_inset Quotes erd
19247 \end_inset
19248
19249  in your language.
19250 \end_layout
19251
19252 \begin_layout Standard
19253 To insert the list of algorithms you can in this case not use the menu 
19254 \family sans
19255 Insert\SpecialChar \menuseparator
19256 List
19257 \begin_inset Space \thinspace{}
19258 \end_inset
19259
19260 /
19261 \begin_inset Space \thinspace{}
19262 \end_inset
19263
19264 TOC\SpecialChar \menuseparator
19265 List of Algorithms
19266 \family default
19267  when your document is an English one.
19268  For non-English documents, use this command in TeX-Code instead:
19269 \end_layout
19270
19271 \begin_layout Standard
19272
19273 \series bold
19274
19275 \backslash
19276 listof{algorithm}{your
19277 \begin_inset Space ~
19278 \end_inset
19279
19280 name}
19281 \end_layout
19282
19283 \begin_layout Standard
19284 where 
19285 \family sans
19286 your
19287 \begin_inset Space ~
19288 \end_inset
19289
19290 name
19291 \family default
19292  is the word 
19293 \begin_inset Quotes eld
19294 \end_inset
19295
19296
19297 \emph on
19298 List of Algorithm
19299 \emph default
19300 s
19301 \begin_inset Quotes erd
19302 \end_inset
19303
19304  in your language.
19305 \end_layout
19306
19307 \begin_layout Standard
19308 Algorithm floats are not by default numbered in the scheme 
19309 \begin_inset Quotes eld
19310 \end_inset
19311
19312 chapter.algorithm
19313 \begin_inset Quotes erd
19314 \end_inset
19315
19316  like it is the case for table and figure floats in many document-classes.
19317  To number algorithm floats in the same scheme, add this command to your
19318  document preamble:
19319 \end_layout
19320
19321 \begin_layout Standard
19322
19323 \series bold
19324
19325 \backslash
19326 numberwithin{algorithm}{chapter}
19327 \end_layout
19328
19329 \begin_layout Standard
19330 To be able to use the command 
19331 \series bold
19332
19333 \backslash
19334 numberwithin
19335 \series default
19336 , set in the tab 
19337 \family sans
19338 Math
19339 \begin_inset Space ~
19340 \end_inset
19341
19342 Options
19343 \family default
19344  in the document settings the option 
19345 \family sans
19346 Use
19347 \begin_inset Space ~
19348 \end_inset
19349
19350 AMS
19351 \begin_inset Space ~
19352 \end_inset
19353
19354 math
19355 \begin_inset Space ~
19356 \end_inset
19357
19358 package
19359 \family default
19360 .
19361 \end_layout
19362
19363 \begin_layout Subsection
19364 Text Wrap Floats
19365 \begin_inset Index
19366 status collapsed
19367
19368 \begin_layout Plain Layout
19369 Floats ! Text Wrap Floats
19370 \end_layout
19371
19372 \end_inset
19373
19374
19375 \begin_inset CommandInset label
19376 LatexCommand label
19377 name "sub:floatflt-wrap-float"
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \begin_layout Standard
19385 \begin_inset Wrap figure
19386 lines 0
19387 placement l
19388 overhang 0col%
19389 width "40col%"
19390 status open
19391
19392 \begin_layout Plain Layout
19393 \begin_inset Graphics
19394         filename clipart/mobius.eps
19395         display color
19396         width 40col%
19397         scaleBeforeRotation
19398         rotateOrigin center
19399
19400 \end_inset
19401
19402
19403 \end_layout
19404
19405 \begin_layout Plain Layout
19406 \begin_inset Caption
19407
19408 \begin_layout Plain Layout
19409 \begin_inset CommandInset label
19410 LatexCommand label
19411 name "fig:This-is-a"
19412
19413 \end_inset
19414
19415 This is a wrapped figure, and this is the brilliant caption that describes
19416  it.
19417 \begin_inset VSpace medskip
19418 \end_inset
19419
19420
19421 \end_layout
19422
19423 \end_inset
19424
19425
19426 \end_layout
19427
19428 \end_inset
19429
19430 This float type is used if you want to 
19431 \begin_inset Quotes eld
19432 \end_inset
19433
19434 wrap
19435 \begin_inset Quotes erd
19436 \end_inset
19437
19438  text around a figure so that it only occupies some fraction of the column
19439  width.
19440  It can be inserted using the menu 
19441 \family sans
19442 Insert\SpecialChar \menuseparator
19443 Floats\SpecialChar \menuseparator
19444 Text
19445 \begin_inset Space ~
19446 \end_inset
19447
19448 Wrap
19449 \begin_inset Space ~
19450 \end_inset
19451
19452 Float
19453 \family default
19454  if the LaTeX-package 
19455 \series bold
19456 wrapfig
19457 \series default
19458
19459 \begin_inset Index
19460 status collapsed
19461
19462 \begin_layout Plain Layout
19463 LaTeX-packages ! wrapfig
19464 \begin_inset ERT
19465 status collapsed
19466
19467 \begin_layout Plain Layout
19468
19469
19470 \backslash
19471
19472 \begin_inset ERT
19473 status collapsed
19474
19475 \begin_layout Plain Layout
19476
19477 {
19478 \end_layout
19479
19480 \end_inset
19481
19482
19483 \begin_inset ERT
19484 status collapsed
19485
19486 \begin_layout Plain Layout
19487
19488 }
19489 \end_layout
19490
19491 \end_inset
19492
19493
19494 \end_layout
19495
19496 \end_inset
19497
19498 vspace
19499 \begin_inset ERT
19500 status collapsed
19501
19502 \begin_layout Plain Layout
19503
19504 {
19505 \end_layout
19506
19507 \end_inset
19508
19509 4mm
19510 \begin_inset ERT
19511 status collapsed
19512
19513 \begin_layout Plain Layout
19514
19515 }
19516 \end_layout
19517
19518 \end_inset
19519
19520
19521 \end_layout
19522
19523 \end_inset
19524
19525  is installed.
19526 \begin_inset Foot
19527 status collapsed
19528
19529 \begin_layout Plain Layout
19530 Installing a LaTeX-package is explained it in the 
19531 \emph on
19532 LaTeX
19533 \begin_inset Space ~
19534 \end_inset
19535
19536 Configuration
19537 \emph default
19538  manual.
19539 \end_layout
19540
19541 \end_inset
19542
19543  The width and placement of the float is adjusted by right-clicking on the
19544  float box.
19545  Figure
19546 \begin_inset Space ~
19547 \end_inset
19548
19549
19550 \begin_inset CommandInset ref
19551 LatexCommand ref
19552 reference "fig:This-is-a"
19553
19554 \end_inset
19555
19556  is an example text wrap float with a width of 40
19557 \begin_inset Space \thinspace{}
19558 \end_inset
19559
19560 col%.
19561 \begin_inset Foot
19562 status collapsed
19563
19564 \begin_layout Plain Layout
19565 Available units are explained in appendix
19566 \begin_inset Space ~
19567 \end_inset
19568
19569
19570 \begin_inset CommandInset ref
19571 LatexCommand ref
19572 reference "cha:Units-available-in"
19573
19574 \end_inset
19575
19576 .
19577 \end_layout
19578
19579 \end_inset
19580
19581  Some space was added under the caption to separate it better from the surroundi
19582 ng text.
19583 \end_layout
19584
19585 \begin_layout Standard
19586 The LaTeX-package 
19587 \series bold
19588 wrapfig
19589 \series default
19590  also supports table wrap floats, but they are not yet supported by LyX.
19591  If you need this, read the documentation of 
19592 \series bold
19593 wrapfig
19594 \series default
19595  
19596 \begin_inset CommandInset citation
19597 LatexCommand cite
19598 key "wrapfig"
19599
19600 \end_inset
19601
19602 .
19603 \end_layout
19604
19605 \begin_layout Standard
19606 \begin_inset Note Greyedout
19607 status open
19608
19609 \begin_layout Plain Layout
19610
19611 \series bold
19612 Note:
19613 \series default
19614  Text
19615 \begin_inset Space ~
19616 \end_inset
19617
19618 wrap float floats are fragile! E.
19619 \begin_inset Space \thinspace{}
19620 \end_inset
19621
19622 g.
19623 \begin_inset Space ~
19624 \end_inset
19625
19626 having a figure too close to the bottom of the page can mess things up in
19627  the way that the float doesn't appear in the output or that it is placed
19628  over some other text.
19629 \end_layout
19630
19631 \end_inset
19632
19633
19634 \end_layout
19635
19636 \begin_layout Standard
19637 In general:
19638 \end_layout
19639
19640 \begin_layout Itemize
19641 Wrap floats should not be placed in paragraphs that run over a page break.
19642  That means that wrap floats should better be inserted to the exact place
19643  when the document is nearly finished and you are able to estimate where
19644  page breaks will appear.
19645 \end_layout
19646
19647 \begin_layout Itemize
19648 Wrap floats should either be placed in an own paragraph before the paragraph
19649  where they should wrap into or within a paragraph.
19650 \end_layout
19651
19652 \begin_layout Itemize
19653 Wrap floats in consecutive paragraphs may cause troubles, so assure that
19654  there is a text paragraph between them as separator.
19655 \end_layout
19656
19657 \begin_layout Itemize
19658 Wrap floats are not allowed in section headings or tables.
19659 \end_layout
19660
19661 \begin_layout Section
19662 Float Numbering
19663 \begin_inset CommandInset label
19664 LatexCommand label
19665 name "sec:Float-Numbering"
19666
19667 \end_inset
19668
19669
19670 \begin_inset Index
19671 status collapsed
19672
19673 \begin_layout Plain Layout
19674 Floats ! Numbering
19675 \end_layout
19676
19677 \end_inset
19678
19679
19680 \end_layout
19681
19682 \begin_layout Standard
19683 Floats are usually numbered either independent from the sections the floats
19684  are in, or in the scheme 
19685 \begin_inset Quotes eld
19686 \end_inset
19687
19688 chapter.number
19689 \begin_inset Quotes erd
19690 \end_inset
19691
19692  or 
19693 \begin_inset Quotes eld
19694 \end_inset
19695
19696 section.number
19697 \begin_inset Quotes erd
19698 \end_inset
19699
19700 .
19701  This depends on the used document class.
19702 \end_layout
19703
19704 \begin_layout Standard
19705 To change the section independent numbering, you can use this command in
19706  the document preamble:
19707 \end_layout
19708
19709 \begin_layout Standard
19710
19711 \series bold
19712
19713 \backslash
19714 renewcommand{
19715 \backslash
19716 thetable}{
19717 \backslash
19718 roman{table}}
19719 \end_layout
19720
19721 \begin_layout Standard
19722
19723 \series bold
19724
19725 \backslash
19726 thetable
19727 \series default
19728  is the command that prints the table number, for figure floats, the command
19729  would be 
19730 \series bold
19731
19732 \backslash
19733 thefigure
19734 \series default
19735 .
19736  The command 
19737 \series bold
19738
19739 \backslash
19740 roman
19741 \series default
19742  prints in the command above the table number as small roman number.
19743 \end_layout
19744
19745 \begin_layout Standard
19746 To change the numbering scheme for example to 
19747 \begin_inset Quotes eld
19748 \end_inset
19749
19750 subsection.number
19751 \begin_inset Quotes erd
19752 \end_inset
19753
19754 , use this command in the preamble:
19755 \end_layout
19756
19757 \begin_layout Standard
19758
19759 \series bold
19760
19761 \backslash
19762 numberwithin{table}{subsection}
19763 \end_layout
19764
19765 \begin_layout Standard
19766 To be able to use the command 
19767 \series bold
19768
19769 \backslash
19770 numberwithin
19771 \series default
19772 , set in the tab 
19773 \family sans
19774 Math
19775 \begin_inset Space ~
19776 \end_inset
19777
19778 Options
19779 \family default
19780  in the document settings the option 
19781 \family sans
19782 Use
19783 \begin_inset Space ~
19784 \end_inset
19785
19786 AMS
19787 \begin_inset Space ~
19788 \end_inset
19789
19790 math
19791 \begin_inset Space ~
19792 \end_inset
19793
19794 package
19795 \family default
19796 .
19797 \end_layout
19798
19799 \begin_layout Standard
19800 Please also have a look at section
19801 \begin_inset Space ~
19802 \end_inset
19803
19804
19805 \begin_inset CommandInset ref
19806 LatexCommand ref
19807 reference "sub:Footnote-Numbering"
19808
19809 \end_inset
19810
19811  for the details and important notes about the numbering commands.
19812 \end_layout
19813
19814 \begin_layout Section
19815 Referencing Floats
19816 \begin_inset CommandInset label
19817 LatexCommand label
19818 name "sec:Referencing-Floats"
19819
19820 \end_inset
19821
19822
19823 \begin_inset Index
19824 status collapsed
19825
19826 \begin_layout Plain Layout
19827 Floats ! References
19828 \end_layout
19829
19830 \end_inset
19831
19832
19833 \begin_inset Index
19834 status collapsed
19835
19836 \begin_layout Plain Layout
19837 References
19838 \end_layout
19839
19840 \end_inset
19841
19842
19843 \end_layout
19844
19845 \begin_layout Standard
19846 To reference a float, insert a label into its caption using the menu 
19847 \family sans
19848 Insert\SpecialChar \menuseparator
19849 Label
19850 \family default
19851  or the toolbar button 
19852 \begin_inset Graphics
19853         filename ../images/label-insert.png
19854         scale 85
19855         scaleBeforeRotation
19856
19857 \end_inset
19858
19859 .
19860  A grey label box like this one: 
19861 \begin_inset Graphics
19862         filename clipart/labelQt4.png
19863         scale 85
19864         scaleBeforeRotation
19865
19866 \end_inset
19867
19868  will be inserted and the label window pops up asking for the label text.
19869  LyX offers as text the first words of the caption with a prefix.
19870  The prefix depends on the float type, e.
19871 \begin_inset Space \thinspace{}
19872 \end_inset
19873
19874 g.
19875 \begin_inset Space ~
19876 \end_inset
19877
19878 for figure floats the prefix will be "
19879 \family sans
19880 fig:
19881 \family default
19882 ".
19883 \end_layout
19884
19885 \begin_layout Standard
19886 The label is used as anchor and name for the reference.
19887  You can refer to the label using the menu 
19888 \family sans
19889 Insert\SpecialChar \menuseparator
19890 Cross-reference
19891 \family default
19892  or the toolbar button 
19893 \begin_inset Graphics
19894         filename ../images/dialog-show-new-inset_ref.png
19895         scale 85
19896         scaleBeforeRotation
19897
19898 \end_inset
19899
19900 .
19901  A grey cross-reference box like this one: 
19902 \begin_inset Graphics
19903         filename clipart/referenceQt4.png
19904         scale 85
19905         scaleBeforeRotation
19906
19907 \end_inset
19908
19909  will be inserted and the cross-reference window appear showing all labels
19910  of the document.
19911  If you have multiple LyX-documents opened, choose the one you are working
19912  on from the drop-list at the top of the dialog.
19913  You can now sort the labels alphabetically and then choose one.
19914  At the position of the cross-reference box the float number will appear
19915  in the output.
19916 \end_layout
19917
19918 \begin_layout Standard
19919 It is recommended to use a protected space between the cross-reference name
19920  and its number to avoid line breaks between them.
19921  If a cross-reference refers to a non-existing label, you will see two question
19922  marks in the output instead of the reference.
19923 \end_layout
19924
19925 \begin_layout Standard
19926 You can change labels at any time by clicking on the label box.
19927  References to the changed label will automatically change its link to the
19928  new label text, so that you don't need to take care about this.
19929 \end_layout
19930
19931 \begin_layout Standard
19932 The button 
19933 \family sans
19934 Go
19935 \begin_inset Space ~
19936 \end_inset
19937
19938 to
19939 \begin_inset Space ~
19940 \end_inset
19941
19942 Label
19943 \family default
19944  in the cross-reference window sets the cursor before the referred label.
19945  The button text changes then to Go
19946 \begin_inset Space ~
19947 \end_inset
19948
19949 Back and you can use it to set the cursor back to the cross-reference.
19950  Right-clicking on a cross-reference box also sets the cursor before the
19951  referenced label but without a possibility to go back.
19952 \end_layout
19953
19954 \begin_layout Subsection
19955 Cross-Reference Formats
19956 \begin_inset CommandInset label
19957 LatexCommand label
19958 name "sub:Cross-Reference-Formats"
19959
19960 \end_inset
19961
19962
19963 \begin_inset Index
19964 status collapsed
19965
19966 \begin_layout Plain Layout
19967 References ! Formats
19968 \end_layout
19969
19970 \end_inset
19971
19972
19973 \end_layout
19974
19975 \begin_layout Standard
19976 There are six varieties of cross-references:
19977 \end_layout
19978
19979 \begin_layout Description
19980 <reference>: prints the float number, this is the default: 
19981 \begin_inset CommandInset ref
19982 LatexCommand ref
19983 reference "fig:Two-distorted-images"
19984
19985 \end_inset
19986
19987
19988 \end_layout
19989
19990 \begin_layout Description
19991 (<reference>): prints the float number within two parentheses, this is the
19992  style normally used to reference formulas, especially when the reference
19993  name 
19994 \begin_inset Quotes eld
19995 \end_inset
19996
19997 Equation
19998 \begin_inset Quotes erd
19999 \end_inset
20000
20001  is omitted: 
20002 \begin_inset CommandInset ref
20003 LatexCommand eqref
20004 reference "eq:Wgn"
20005
20006 \end_inset
20007
20008
20009 \end_layout
20010
20011 \begin_layout Description
20012 <page>: prints the page number: Page
20013 \begin_inset Space ~
20014 \end_inset
20015
20016
20017 \begin_inset CommandInset ref
20018 LatexCommand pageref
20019 reference "fig:Two-distorted-images"
20020
20021 \end_inset
20022
20023
20024 \end_layout
20025
20026 \begin_layout Description
20027 on
20028 \begin_inset Space ~
20029 \end_inset
20030
20031 page
20032 \begin_inset Space ~
20033 \end_inset
20034
20035 <page>: prints the text "on page" and the page number: 
20036 \begin_inset CommandInset ref
20037 LatexCommand vpageref
20038 reference "fig:Two-distorted-images"
20039
20040 \end_inset
20041
20042
20043 \end_layout
20044
20045 \begin_layout Description
20046 <reference>
20047 \begin_inset Space ~
20048 \end_inset
20049
20050 on
20051 \begin_inset Space ~
20052 \end_inset
20053
20054 page
20055 \begin_inset Space ~
20056 \end_inset
20057
20058 <page>: prints the float number, the text "on page", and the page number:
20059  
20060 \begin_inset CommandInset ref
20061 LatexCommand vref
20062 reference "fig:Two-distorted-images"
20063
20064 \end_inset
20065
20066
20067 \end_layout
20068
20069 \begin_layout Description
20070 Formatted
20071 \begin_inset Space ~
20072 \end_inset
20073
20074 reference: prints a self defined cross-reference format.
20075  
20076 \begin_inset Note Greyedout
20077 status open
20078
20079 \begin_layout Plain Layout
20080
20081 \series bold
20082 Note:
20083 \series default
20084  This feature is only available when you have the LaTeX-package 
20085 \series bold
20086 prettyref
20087 \series default
20088  installed.
20089 \end_layout
20090
20091 \end_inset
20092
20093
20094 \end_layout
20095
20096 \begin_layout Standard
20097 Note that the style <page> won't print the page number if the label is on
20098  the previous, the same, or the next page.
20099  You will e.
20100 \begin_inset Space \thinspace{}
20101 \end_inset
20102
20103 g.
20104 \begin_inset Space ~
20105 \end_inset
20106
20107 see the text 
20108 \begin_inset Quotes eld
20109 \end_inset
20110
20111
20112 \family sans
20113 on this page
20114 \family default
20115
20116 \begin_inset Quotes erd
20117 \end_inset
20118
20119  instead.
20120 \end_layout
20121
20122 \begin_layout Standard
20123 The number and current page of the referred document part in the output,
20124  is automatically calculated by LaTeX.
20125  The varieties are adjusted in the field 
20126 \family sans
20127 Format
20128 \family default
20129  of the cross-reference window, that appear when you click on the cross-referenc
20130 e box.
20131 \end_layout
20132
20133 \begin_layout Subsection
20134 Referencing Subfigures
20135 \begin_inset CommandInset label
20136 LatexCommand label
20137 name "sub:Referencing-Subfigures"
20138
20139 \end_inset
20140
20141
20142 \begin_inset Index
20143 status collapsed
20144
20145 \begin_layout Plain Layout
20146 References ! to Subfigures
20147 \end_layout
20148
20149 \end_inset
20150
20151
20152 \end_layout
20153
20154 \begin_layout Standard
20155 Currently referencing subfigures is not supported by LyX, so you have to
20156  use LaTeX-commands.
20157  The label is the created with the command
20158 \end_layout
20159
20160 \begin_layout Standard
20161
20162 \series bold
20163
20164 \backslash
20165 label{fig:YourLabelName}
20166 \end_layout
20167
20168 \begin_layout Standard
20169 that is directly inserted into the subfigure caption field.
20170  To reference the label add this command in TeX-Code
20171 \end_layout
20172
20173 \begin_layout Standard
20174
20175 \series bold
20176
20177 \backslash
20178 ref{fig:YourLabelName}
20179 \end_layout
20180
20181 \begin_layout Standard
20182 to the position in your document where the reference should be placed.
20183  Here is a reference to a subfigure: Subfigure
20184 \begin_inset Space ~
20185 \end_inset
20186
20187
20188 \begin_inset ERT
20189 status collapsed
20190
20191 \begin_layout Plain Layout
20192
20193
20194 \backslash
20195 ref{fig:Platypus}
20196 \end_layout
20197
20198 \end_inset
20199
20200 .
20201 \end_layout
20202
20203 \begin_layout Subsection
20204 Automatic Reference Naming
20205 \begin_inset Index
20206 status collapsed
20207
20208 \begin_layout Plain Layout
20209 References ! Automatic Reference Naming
20210 \end_layout
20211
20212 \end_inset
20213
20214
20215 \end_layout
20216
20217 \begin_layout Standard
20218 The LaTeX-package 
20219 \series bold
20220 hyperref
20221 \series default
20222  provides a very useful feature that cross-references automatically include
20223  the name of the referenced floats (or text parts like sections).
20224  You save to write e.
20225 \begin_inset Space \thinspace{}
20226 \end_inset
20227
20228 g.
20229 \begin_inset Space ~
20230 \end_inset
20231
20232 the name 
20233 \begin_inset Quotes eld
20234 \end_inset
20235
20236 Figure
20237 \begin_inset Quotes erd
20238 \end_inset
20239
20240  before every reference box.
20241  To get this automatic reference naming, you have to load the LaTeX-package
20242  
20243 \series bold
20244 hyperref
20245 \series default
20246
20247 \begin_inset Index
20248 status collapsed
20249
20250 \begin_layout Plain Layout
20251 LaTeX-packages ! hyperref
20252 \end_layout
20253
20254 \end_inset
20255
20256  in the document preamble with
20257 \end_layout
20258
20259 \begin_layout Standard
20260
20261 \series bold
20262
20263 \backslash
20264 usepackage[pdfborder={0 0 0}]{hyperref}
20265 \begin_inset Newline newline
20266 \end_inset
20267
20268
20269 \backslash
20270 AtBeginDocument{
20271 \backslash
20272 renewcommand{
20273 \backslash
20274 ref}[1]{
20275 \backslash
20276 mbox{
20277 \backslash
20278 autoref{#1}}}}
20279 \end_layout
20280
20281 \begin_layout Standard
20282
20283 \series bold
20284 hyperref
20285 \series default
20286  is used to link cross-references in the DVI- and PDF-output, this means
20287  that the reader of your document will be able to click on a table of content
20288  (TOC) entry or on a reference and he will be shown the referenced document
20289  part.
20290  
20291 \series bold
20292 hyperref
20293 \series default
20294  also creates PDF-bookmarks for every section of your document to make it
20295  easier for readers to navigate through the document.
20296  This is also used in this document but when you have a look in the document
20297  preamble you will find various options in the load command of 
20298 \series bold
20299 hyperref
20300 \series default
20301 .
20302  To learn more about the 
20303 \series bold
20304 hyperref
20305 \series default
20306  package, we refer to its documentation 
20307 \begin_inset CommandInset citation
20308 LatexCommand cite
20309 key "hyperref"
20310
20311 \end_inset
20312
20313 .
20314 \end_layout
20315
20316 \begin_layout Standard
20317 \begin_inset Note Greyedout
20318 status open
20319
20320 \begin_layout Plain Layout
20321
20322 \series bold
20323 Note:
20324 \series default
20325  Automatic reference naming cannot be used when you use cross-references
20326  in the 
20327 \family sans
20328 Formatted
20329 \begin_inset Space ~
20330 \end_inset
20331
20332 reference
20333 \family default
20334  style, described in section
20335 \begin_inset Space ~
20336 \end_inset
20337
20338
20339 \begin_inset CommandInset ref
20340 LatexCommand ref
20341 reference "sub:Cross-Reference-Formats"
20342
20343 \end_inset
20344
20345 .
20346 \end_layout
20347
20348 \end_inset
20349
20350
20351 \end_layout
20352
20353 \begin_layout Subsection
20354 Reference Position
20355 \begin_inset CommandInset label
20356 LatexCommand label
20357 name "sub:Reference-Position"
20358
20359 \end_inset
20360
20361
20362 \begin_inset Index
20363 status collapsed
20364
20365 \begin_layout Plain Layout
20366 References ! Reference Position
20367 \end_layout
20368
20369 \end_inset
20370
20371
20372 \end_layout
20373
20374 \begin_layout Standard
20375 If you use 
20376 \series bold
20377 hyperref
20378 \series default
20379
20380 \begin_inset Index
20381 status collapsed
20382
20383 \begin_layout Plain Layout
20384 LaTeX-packages ! hyperref
20385 \end_layout
20386
20387 \end_inset
20388
20389  to link cross-references in the output, you will see that clicking on an
20390  image float reference jumps to the image label.
20391  The caption will be the first text part on the screen, so that you cannot
20392  see the image without scrolling.
20393  This is because the reference link anchor is placed at the position of
20394  the label.
20395  With the use of the package 
20396 \series bold
20397 hypcap
20398 \series default
20399
20400 \begin_inset Index
20401 status collapsed
20402
20403 \begin_layout Plain Layout
20404 LaTeX-packages ! hypcap
20405 \end_layout
20406
20407 \end_inset
20408
20409 , which is part of the LaTeX-package 
20410 \series bold
20411 oberdiek
20412 \series default
20413
20414 \begin_inset Index
20415 status collapsed
20416
20417 \begin_layout Plain Layout
20418 LaTeX-packages ! oberdiek
20419 \end_layout
20420
20421 \end_inset
20422
20423 , the link anchor is placed at the beginning of a float.
20424  To use this feature for figure floats, load 
20425 \series bold
20426 hypcap
20427 \series default
20428  in the document preamble with the line
20429 \end_layout
20430
20431 \begin_layout Standard
20432
20433 \series bold
20434
20435 \backslash
20436 usepackage[figure]{hypcap}
20437 \end_layout
20438
20439 \begin_layout Standard
20440 You can also use 
20441 \series bold
20442 hypcap
20443 \series default
20444  for all floats but this isn't recommended for stability reasons.
20445  For more informations, have a look at 
20446 \series bold
20447 hypcap
20448 \series default
20449 's manual 
20450 \begin_inset CommandInset citation
20451 LatexCommand cite
20452 key "hypcap"
20453
20454 \end_inset
20455
20456 .
20457 \end_layout
20458
20459 \begin_layout Standard
20460 \begin_inset Note Greyedout
20461 status open
20462
20463 \begin_layout Plain Layout
20464
20465 \series bold
20466 Note:
20467 \series default
20468  
20469 \series bold
20470 hypcap
20471 \series default
20472  must be loaded after 
20473 \series bold
20474 hyperref
20475 \series default
20476  in the document preamble.
20477 \end_layout
20478
20479 \end_inset
20480
20481
20482 \end_layout
20483
20484 \begin_layout Standard
20485 \begin_inset Note Greyedout
20486 status open
20487
20488 \begin_layout Plain Layout
20489
20490 \series bold
20491 Note:
20492 \series default
20493  
20494 \series bold
20495 hypcap
20496 \series default
20497  has no effect for references to subfigures.
20498 \end_layout
20499
20500 \end_inset
20501
20502
20503 \end_layout
20504
20505 \begin_layout Section
20506 Float Placement
20507 \begin_inset CommandInset label
20508 LatexCommand label
20509 name "sec:Float-Placement"
20510
20511 \end_inset
20512
20513
20514 \begin_inset Index
20515 status collapsed
20516
20517 \begin_layout Plain Layout
20518 Floats ! Placement
20519 \end_layout
20520
20521 \end_inset
20522
20523
20524 \end_layout
20525
20526 \begin_layout Standard
20527 Right-clicking on a float-box opens a dialog where you can alter the placement
20528  options that LaTeX uses for positioning the float.
20529 \begin_inset Newline newline
20530 \end_inset
20531
20532 The option 
20533 \family sans
20534 Span
20535 \begin_inset Space ~
20536 \end_inset
20537
20538 columns
20539 \family default
20540  is only useful for two-column documents: If you select it, the float will
20541  span across both columns on the page instead of being confined to just
20542  one.
20543 \begin_inset Newline newline
20544 \end_inset
20545
20546 The option 
20547 \family sans
20548 Rotate
20549 \begin_inset Space ~
20550 \end_inset
20551
20552 sideways
20553 \family default
20554  is used to rotate floats, see section 
20555 \begin_inset CommandInset ref
20556 LatexCommand ref
20557 reference "sec:Rotated-Floats"
20558
20559 \end_inset
20560
20561 .
20562 \end_layout
20563
20564 \begin_layout Standard
20565 You can use one ore more of the following options in the float dialog to
20566  set the placement for a particular float when you uncheck the option 
20567 \family sans
20568 Use
20569 \begin_inset Space ~
20570 \end_inset
20571
20572 default
20573 \begin_inset Space ~
20574 \end_inset
20575
20576 placement
20577 \family default
20578 :
20579 \end_layout
20580
20581 \begin_layout Description
20582 Here
20583 \begin_inset Space ~
20584 \end_inset
20585
20586 if
20587 \begin_inset Space ~
20588 \end_inset
20589
20590 possible try to place the float on the position where it is inserted
20591 \end_layout
20592
20593 \begin_layout Description
20594 Top
20595 \begin_inset Space ~
20596 \end_inset
20597
20598 of
20599 \begin_inset Space ~
20600 \end_inset
20601
20602 page try to place the float on the top of the current page
20603 \end_layout
20604
20605 \begin_layout Description
20606 Bottom
20607 \begin_inset Space ~
20608 \end_inset
20609
20610 of
20611 \begin_inset Space ~
20612 \end_inset
20613
20614 page try to place the float on the bottom of the current page
20615 \end_layout
20616
20617 \begin_layout Description
20618 Page
20619 \begin_inset Space ~
20620 \end_inset
20621
20622 of
20623 \begin_inset Space ~
20624 \end_inset
20625
20626 floats try to place the float on an own page 
20627 \end_layout
20628
20629 \begin_layout Standard
20630 The order of the above option is 
20631 \emph on
20632 always
20633 \emph default
20634  used by LaTeX.
20635  That means, if you use the default placement, LaTeX will first try out
20636  
20637 \family sans
20638 Here
20639 \begin_inset Space ~
20640 \end_inset
20641
20642 if
20643 \begin_inset Space ~
20644 \end_inset
20645
20646 possible
20647 \family default
20648 , then 
20649 \family sans
20650 Top
20651 \begin_inset Space ~
20652 \end_inset
20653
20654 of
20655 \begin_inset Space ~
20656 \end_inset
20657
20658 page
20659 \family default
20660 , and then the others.
20661  If you don't use the default, LaTeX will try only the checked options but
20662  in the same order.
20663  If none of the 4 placements are possible the procedure is internally repeated
20664  but it is tried to put the float on the following page.
20665 \end_layout
20666
20667 \begin_layout Standard
20668 By default, each option has its own rules:
20669 \end_layout
20670
20671 \begin_layout Labeling
20672 \labelwidthstring 00.00.0000
20673
20674 \family sans
20675 Top
20676 \begin_inset Space ~
20677 \end_inset
20678
20679 of
20680 \begin_inset Space ~
20681 \end_inset
20682
20683 page
20684 \family default
20685  only floats occupying less than 70
20686 \begin_inset Space \thinspace{}
20687 \end_inset
20688
20689 % of the page can be placed at the top of a page (
20690 \series bold
20691
20692 \backslash
20693 topfraction
20694 \series default
20695 )
20696 \end_layout
20697
20698 \begin_layout Labeling
20699 \labelwidthstring 00.00.0000
20700
20701 \family sans
20702 Bottom
20703 \begin_inset Space ~
20704 \end_inset
20705
20706 of
20707 \begin_inset Space ~
20708 \end_inset
20709
20710 page
20711 \family default
20712 : only floats occupying less than 30
20713 \begin_inset Space \thinspace{}
20714 \end_inset
20715
20716 % of the page can be placed at the bottom of a page.
20717  (
20718 \series bold
20719
20720 \backslash
20721 bottomfraction
20722 \series default
20723 )
20724 \end_layout
20725
20726 \begin_layout Labeling
20727 \labelwidthstring 00.00.0000
20728
20729 \family sans
20730 Page
20731 \begin_inset Space ~
20732 \end_inset
20733
20734 of
20735 \begin_inset Space ~
20736 \end_inset
20737
20738 floats
20739 \family default
20740 : only if more than 50
20741 \begin_inset Space \thinspace{}
20742 \end_inset
20743
20744 % of the page are occupied by floats, several floats can be set together
20745  on a page.
20746  (
20747 \series bold
20748
20749 \backslash
20750 floatpagefraction
20751 \series default
20752 )
20753 \end_layout
20754
20755 \begin_layout Standard
20756 If you don't like these rules, you can ignore them by using the additional
20757  option 
20758 \family sans
20759 Ignore
20760 \begin_inset Space ~
20761 \end_inset
20762
20763 LaTeX
20764 \begin_inset Space ~
20765 \end_inset
20766
20767 rules
20768 \family default
20769 .
20770 \begin_inset Newline newline
20771 \end_inset
20772
20773 You can also redefine the rules with LaTeX-commands that are given in parenthese
20774 s behind the rules description above.
20775  To increase for example the often too small default of the bottom-rule
20776  to 50
20777 \begin_inset Space \thinspace{}
20778 \end_inset
20779
20780 % of the page, add this line to your document preamble:
20781 \end_layout
20782
20783 \begin_layout Standard
20784
20785 \series bold
20786
20787 \backslash
20788 renewcommand{
20789 \backslash
20790 bottomfraction}{0.5}
20791 \end_layout
20792
20793 \begin_layout Standard
20794 Sometimes you might need, under all circumstances, a float to be placed
20795  exactly at the position where it is inserted.
20796  For this case you can use the option 
20797 \family sans
20798 Here
20799 \begin_inset Space ~
20800 \end_inset
20801
20802 definitely
20803 \family default
20804 .
20805  Use this option very rarely and only if the document is nearly ready to
20806  be printed.
20807  Because the float is then no longer able to 
20808 \begin_inset Quotes eld
20809 \end_inset
20810
20811 float
20812 \begin_inset Quotes erd
20813 \end_inset
20814
20815  when you change your document and this will often destroy the page layout.
20816 \end_layout
20817
20818 \begin_layout Standard
20819 There are no placement options for text wrap floats, because they are always
20820  surrounded by the text of a certain paragraph.
20821 \begin_inset VSpace bigskip
20822 \end_inset
20823
20824
20825 \end_layout
20826
20827 \begin_layout Standard
20828 Sometimes you have the problem that a float is placed at the top of a page
20829  while its corresponding section starts at the middle of the page, so that
20830  the reader could think the float is part of the previous section.
20831  To avoid this the LaTeX-command 
20832 \series bold
20833
20834 \backslash
20835 suppressfloats
20836 \series default
20837  can be used.
20838  It suppresses a given float placement for the page where it is inserted
20839  and can therefore be used to avoid that floats could be set before a section
20840  starts.
20841  To get this, add these commands to your document preamble:
20842 \end_layout
20843
20844 \begin_layout Standard
20845
20846 \series bold
20847
20848 \backslash
20849 let
20850 \backslash
20851 mySection
20852 \backslash
20853 section
20854 \begin_inset Newline newline
20855 \end_inset
20856
20857
20858 \backslash
20859 renewcommand{
20860 \backslash
20861 section}{
20862 \backslash
20863 suppressfloats[t]
20864 \backslash
20865 mySection}
20866 \end_layout
20867
20868 \begin_layout Standard
20869 You can define the same for all section headings, like chapters and subsections.
20870  This definition is not recommended to be used for small text parts like
20871  subsubsections because LaTeX may then have problems to find a suitable
20872  placement.
20873 \end_layout
20874
20875 \begin_layout Standard
20876 \begin_inset VSpace bigskip
20877 \end_inset
20878
20879 In some cases it is required to have all figures/tables at the end of the
20880  document.
20881  For this purpose the LaTeX-package 
20882 \series bold
20883 endfloat
20884 \series default
20885
20886 \begin_inset Index
20887 status collapsed
20888
20889 \begin_layout Plain Layout
20890 LaTeX-packages ! endfloat
20891 \end_layout
20892
20893 \end_inset
20894
20895  was developed.
20896  It puts all figure and table floats at the end of the document into own
20897  sections.
20898  At the original float position a text hint like 
20899 \begin_inset Quotes eld
20900 \end_inset
20901
20902
20903 \family sans
20904 [Figure
20905 \begin_inset Space ~
20906 \end_inset
20907
20908 3.2 about here.]
20909 \family default
20910
20911 \begin_inset Quotes erd
20912 \end_inset
20913
20914  is inserted.
20915  The endfloat-package is loaded in the preamble with the line
20916 \end_layout
20917
20918 \begin_layout Standard
20919
20920 \series bold
20921
20922 \backslash
20923 usepackage[options]{endfloat}
20924 \end_layout
20925
20926 \begin_layout Standard
20927 There are various package options to format the created figure/table sections.
20928  For more information we refer to the 
20929 \series bold
20930 endfloat
20931 \series default
20932  documentation 
20933 \begin_inset CommandInset citation
20934 LatexCommand cite
20935 key "endfloat"
20936
20937 \end_inset
20938
20939 .
20940 \begin_inset Newline newline
20941 \end_inset
20942
20943
20944 \begin_inset Note Greyedout
20945 status open
20946
20947 \begin_layout Plain Layout
20948
20949 \series bold
20950 Note: endfloat
20951 \series default
20952  doesn't provide an automatic translation for the text hint, you have to
20953  do this manually, see section
20954 \begin_inset Space ~
20955 \end_inset
20956
20957 4 in 
20958 \begin_inset CommandInset citation
20959 LatexCommand cite
20960 key "endfloat"
20961
20962 \end_inset
20963
20964 .
20965 \end_layout
20966
20967 \end_inset
20968
20969
20970 \begin_inset Newline newline
20971 \end_inset
20972
20973
20974 \begin_inset Note Greyedout
20975 status open
20976
20977 \begin_layout Plain Layout
20978
20979 \series bold
20980 Note:
20981 \series default
20982  There is currently a bug in 
20983 \series bold
20984 endfloat
20985 \series default
20986  when the caption contains a German 
20987 \begin_inset Quotes eld
20988 \end_inset
20989
20990 ß
20991 \begin_inset Quotes erd
20992 \end_inset
20993
20994 .
20995  Use in this case the command 
20996 \begin_inset Quotes eld
20997 \end_inset
20998
20999
21000 \series bold
21001
21002 \backslash
21003 ss
21004 \series default
21005
21006 \begin_inset Quotes erd
21007 \end_inset
21008
21009  in TeX-Code instead of 
21010 \begin_inset Quotes eld
21011 \end_inset
21012
21013 ß
21014 \begin_inset Quotes erd
21015 \end_inset
21016
21017 .
21018 \end_layout
21019
21020 \end_inset
21021
21022
21023 \end_layout
21024
21025 \begin_layout Standard
21026 \begin_inset VSpace bigskip
21027 \end_inset
21028
21029 For more details about float placements, have a look at LaTeX books, 
21030 \begin_inset CommandInset citation
21031 LatexCommand cite
21032 key "latexcompanion,latexguide,latexbook"
21033
21034 \end_inset
21035
21036 .
21037 \end_layout
21038
21039 \begin_layout Section
21040 Rotated Floats
21041 \begin_inset CommandInset label
21042 LatexCommand label
21043 name "sec:Rotated-Floats"
21044
21045 \end_inset
21046
21047
21048 \begin_inset Index
21049 status collapsed
21050
21051 \begin_layout Plain Layout
21052 Floats ! Rotating
21053 \end_layout
21054
21055 \end_inset
21056
21057
21058 \end_layout
21059
21060 \begin_layout Standard
21061 Especially for wide tables you might have floats rotated.
21062  To rotate a whole float including the caption, right-click on the float-box
21063  and use the option 
21064 \family sans
21065 Rotate
21066 \begin_inset Space ~
21067 \end_inset
21068
21069 sideways
21070 \family default
21071 .
21072 \end_layout
21073
21074 \begin_layout Standard
21075 Rotated floats are always placed on its own page (or column, when you have
21076  a two-column document).
21077  They are rotated so that you can read them from the outside margin.
21078  To force a certain rotation direction for all pages, you can add either
21079  the option 
21080 \series bold
21081 figuresleft
21082 \series default
21083  or 
21084 \series bold
21085 figuresright
21086 \series default
21087  to the document class options.
21088 \end_layout
21089
21090 \begin_layout Standard
21091 Referencing rotated floats is the same like for normal floats, the caption
21092  format is also the same: Table
21093 \begin_inset Space ~
21094 \end_inset
21095
21096
21097 \begin_inset CommandInset ref
21098 LatexCommand ref
21099 reference "tab:Rotated-table"
21100
21101 \end_inset
21102
21103  is an example of a rotated table float.
21104 \end_layout
21105
21106 \begin_layout Standard
21107 \begin_inset Note Greyedout
21108 status open
21109
21110 \begin_layout Plain Layout
21111
21112 \series bold
21113 Note:
21114 \series default
21115  Not all DVI-viewers are able to display rotated floats.
21116 \end_layout
21117
21118 \end_inset
21119
21120
21121 \end_layout
21122
21123 \begin_layout Standard
21124 \begin_inset Float table
21125 wide false
21126 sideways true
21127 status open
21128
21129 \begin_layout Plain Layout
21130 \begin_inset Caption
21131
21132 \begin_layout Plain Layout
21133 \begin_inset CommandInset label
21134 LatexCommand label
21135 name "tab:Rotated-table"
21136
21137 \end_inset
21138
21139  Rotated table
21140 \end_layout
21141
21142 \end_inset
21143
21144
21145 \end_layout
21146
21147 \begin_layout Plain Layout
21148 \align center
21149 \begin_inset Tabular
21150 <lyxtabular version="3" rows="1" columns="5">
21151 <features>
21152 <column alignment="center" valignment="top" width="0">
21153 <column alignment="center" valignment="top" width="0">
21154 <column alignment="center" valignment="top" width="0">
21155 <column alignment="center" valignment="top" width="0">
21156 <column alignment="center" valignment="top" width="0">
21157 <row>
21158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21159 \begin_inset Text
21160
21161 \begin_layout Plain Layout
21162 test
21163 \end_layout
21164
21165 \end_inset
21166 </cell>
21167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21168 \begin_inset Text
21169
21170 \begin_layout Plain Layout
21171 b
21172 \end_layout
21173
21174 \end_inset
21175 </cell>
21176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21177 \begin_inset Text
21178
21179 \begin_layout Plain Layout
21180 c
21181 \end_layout
21182
21183 \end_inset
21184 </cell>
21185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21186 \begin_inset Text
21187
21188 \begin_layout Plain Layout
21189 d
21190 \end_layout
21191
21192 \end_inset
21193 </cell>
21194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21195 \begin_inset Text
21196
21197 \begin_layout Plain Layout
21198 e
21199 \end_layout
21200
21201 \end_inset
21202 </cell>
21203 </row>
21204 </lyxtabular>
21205
21206 \end_inset
21207
21208
21209 \end_layout
21210
21211 \end_inset
21212
21213
21214 \end_layout
21215
21216 \begin_layout Section
21217 Floats Side by Side
21218 \begin_inset Index
21219 status collapsed
21220
21221 \begin_layout Plain Layout
21222 Floats ! Side by side
21223 \end_layout
21224
21225 \end_inset
21226
21227
21228 \end_layout
21229
21230 \begin_layout Standard
21231 To place floats side by side, like for Figure
21232 \begin_inset Space ~
21233 \end_inset
21234
21235
21236 \begin_inset CommandInset ref
21237 LatexCommand ref
21238 reference "fig:Float-left"
21239
21240 \end_inset
21241
21242  and 
21243 \begin_inset CommandInset ref
21244 LatexCommand ref
21245 reference "fig:Float-right"
21246
21247 \end_inset
21248
21249 , only 
21250 \emph on
21251 one
21252 \emph default
21253  float is used.
21254  In it two minipage boxes are inserted.
21255 \begin_inset Foot
21256 status collapsed
21257
21258 \begin_layout Plain Layout
21259 Minipages are explained in section
21260 \begin_inset Space ~
21261 \end_inset
21262
21263
21264 \begin_inset CommandInset ref
21265 LatexCommand ref
21266 reference "sec:Minipages"
21267
21268 \end_inset
21269
21270 .
21271 \end_layout
21272
21273 \end_inset
21274
21275  The width is set to 45
21276 \begin_inset Space \thinspace{}
21277 \end_inset
21278
21279 -50
21280 \begin_inset Space \thinspace{}
21281 \end_inset
21282
21283 column% and the box alignment to 
21284 \family sans
21285 Bottom
21286 \family default
21287  for each minipage.
21288  The minipage boxes contain the image and the caption in the same way as
21289  they are in a float.
21290  The only difference is that the image unit 
21291 \family sans
21292 Column
21293 \begin_inset Space ~
21294 \end_inset
21295
21296 Width
21297 \begin_inset Space ~
21298 \end_inset
21299
21300 %
21301 \family default
21302  is now calculated according to the width of the minipage boxes.
21303 \end_layout
21304
21305 \begin_layout Standard
21306 \begin_inset Float figure
21307 wide false
21308 sideways false
21309 status open
21310
21311 \begin_layout Plain Layout
21312 \begin_inset Box Frameless
21313 position "b"
21314 hor_pos "c"
21315 has_inner_box 1
21316 inner_pos "t"
21317 use_parbox 0
21318 width "45col%"
21319 special "none"
21320 height "1in"
21321 height_special "totalheight"
21322 status open
21323
21324 \begin_layout Plain Layout
21325 \align center
21326 \begin_inset Graphics
21327         filename clipart/mobius.eps
21328         lyxscale 50
21329         width 100col%
21330         scaleBeforeRotation
21331
21332 \end_inset
21333
21334
21335 \end_layout
21336
21337 \begin_layout Plain Layout
21338 \begin_inset Caption
21339
21340 \begin_layout Plain Layout
21341 \begin_inset CommandInset label
21342 LatexCommand label
21343 name "fig:Float-left"
21344
21345 \end_inset
21346
21347 Float on the left side.
21348 \end_layout
21349
21350 \end_inset
21351
21352
21353 \end_layout
21354
21355 \end_inset
21356
21357
21358 \begin_inset Space \hfill{}
21359 \end_inset
21360
21361
21362 \begin_inset Box Frameless
21363 position "b"
21364 hor_pos "c"
21365 has_inner_box 1
21366 inner_pos "t"
21367 use_parbox 0
21368 width "45col%"
21369 special "none"
21370 height "1in"
21371 height_special "totalheight"
21372 status open
21373
21374 \begin_layout Plain Layout
21375 \align center
21376 \begin_inset Graphics
21377         filename clipart/platypus.eps
21378         lyxscale 50
21379         width 100col%
21380         scaleBeforeRotation
21381
21382 \end_inset
21383
21384
21385 \end_layout
21386
21387 \begin_layout Plain Layout
21388 \begin_inset Caption
21389
21390 \begin_layout Plain Layout
21391 \begin_inset CommandInset label
21392 LatexCommand label
21393 name "fig:Float-right"
21394
21395 \end_inset
21396
21397 Float on the right side.
21398 \end_layout
21399
21400 \end_inset
21401
21402
21403 \end_layout
21404
21405 \end_inset
21406
21407
21408 \end_layout
21409
21410 \begin_layout Plain Layout
21411
21412 \end_layout
21413
21414 \end_inset
21415
21416
21417 \end_layout
21418
21419 \begin_layout Section
21420 Caption Formatting
21421 \begin_inset Index
21422 status collapsed
21423
21424 \begin_layout Plain Layout
21425 Caption ! Formatting
21426 \end_layout
21427
21428 \end_inset
21429
21430
21431 \begin_inset Index
21432 status collapsed
21433
21434 \begin_layout Plain Layout
21435 Floats ! Caption Formatting
21436 \end_layout
21437
21438 \end_inset
21439
21440
21441 \begin_inset Index
21442 status collapsed
21443
21444 \begin_layout Plain Layout
21445 LaTeX-packages ! caption
21446 \end_layout
21447
21448 \end_inset
21449
21450
21451 \begin_inset CommandInset label
21452 LatexCommand label
21453 name "sec:Caption-Formatting"
21454
21455 \end_inset
21456
21457
21458 \end_layout
21459
21460 \begin_layout Standard
21461 The 
21462 \family sans
21463 Caption
21464 \family default
21465  environment is the default paragraph environment for 
21466 \family sans
21467 Floats
21468 \family default
21469 .
21470  On the LyX screen captions appear as label, e.
21471 \begin_inset Space \thinspace{}
21472 \end_inset
21473
21474 g.
21475 \begin_inset Space ~
21476 \end_inset
21477
21478
21479 \begin_inset Quotes eld
21480 \end_inset
21481
21482
21483 \family sans
21484 Figure #:
21485 \family default
21486
21487 \begin_inset Quotes erd
21488 \end_inset
21489
21490  followed by the caption text.
21491  
21492 \begin_inset Quotes eld
21493 \end_inset
21494
21495 #
21496 \begin_inset Quotes erd
21497 \end_inset
21498
21499  is the actual reference number.
21500  By default the label and the number are in the same font as the caption
21501  text and a colon follows the number to divide the label from the text.
21502  This caption format is not suitable for all document formats.
21503  
21504 \end_layout
21505
21506 \begin_layout Standard
21507 To change the default caption format, load the LaTeX-package 
21508 \series bold
21509 caption
21510 \series default
21511
21512 \begin_inset Index
21513 status collapsed
21514
21515 \begin_layout Plain Layout
21516 LaTeX-packages ! caption
21517 \end_layout
21518
21519 \end_inset
21520
21521  in the document preamble with this line:
21522 \end_layout
21523
21524 \begin_layout Standard
21525
21526 \series bold
21527
21528 \backslash
21529 usepackage[format definition]{caption}
21530 \end_layout
21531
21532 \begin_layout Standard
21533 To have for example the label and the number in sans-serif bold font and
21534  the table captions always above the table like in this document, use the
21535  following command:
21536 \end_layout
21537
21538 \begin_layout Standard
21539
21540 \series bold
21541
21542 \backslash
21543 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21544 \end_layout
21545
21546 \begin_layout Standard
21547 You can also define different caption formats for the different float types.
21548  In this case load the 
21549 \series bold
21550 caption
21551 \series default
21552  package without format specific options and define the different formats
21553  with the help of the command
21554 \end_layout
21555
21556 \begin_layout Standard
21557
21558 \series bold
21559
21560 \backslash
21561 captionsetup[float type]{format definition}
21562 \end_layout
21563
21564 \begin_layout Standard
21565 in the document preamble.
21566  For example the caption formats of Figure
21567 \begin_inset Space ~
21568 \end_inset
21569
21570
21571 \begin_inset CommandInset ref
21572 LatexCommand ref
21573 reference "fig:This-is-an-fig"
21574
21575 \end_inset
21576
21577  and Table
21578 \begin_inset Space ~
21579 \end_inset
21580
21581
21582 \begin_inset CommandInset ref
21583 LatexCommand ref
21584 reference "tab:This-is-an-tab"
21585
21586 \end_inset
21587
21588  can be created using these commands in the document preamble:
21589 \end_layout
21590
21591 \begin_layout Standard
21592
21593 \series bold
21594
21595 \backslash
21596 usepackage[tableposition=top]{caption}
21597 \series default
21598
21599 \begin_inset Newline newline
21600 \end_inset
21601
21602
21603 \series bold
21604
21605 \backslash
21606 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21607 \begin_inset Newline newline
21608 \end_inset
21609
21610
21611 \begin_inset ERT
21612 status collapsed
21613
21614 \begin_layout Plain Layout
21615
21616
21617 \backslash
21618 hphantom{
21619 \backslash
21620
21621 \backslash
21622 captionsetup[figure]
21623 \backslash
21624 {}
21625 \end_layout
21626
21627 \end_inset
21628
21629  labelsep=period}
21630 \begin_inset Newline newline
21631 \end_inset
21632
21633
21634 \backslash
21635 captionsetup[table]{labelfont={bf,sf}}
21636 \end_layout
21637
21638 \begin_layout Standard
21639 \begin_inset Note Greyedout
21640 status open
21641
21642 \begin_layout Plain Layout
21643
21644 \series bold
21645 Note:
21646 \series default
21647  The option 
21648 \series bold
21649 tableposition=top
21650 \series default
21651  has no effect when a 
21652 \series bold
21653 koma-script
21654 \series default
21655
21656 \begin_inset Index
21657 status collapsed
21658
21659 \begin_layout Plain Layout
21660 LaTeX-packages ! koma-script
21661 \end_layout
21662
21663 \end_inset
21664
21665  document class is used.
21666  In this case the document class option 
21667 \series bold
21668 tablecaptionabove
21669 \series default
21670  must be used.
21671 \end_layout
21672
21673 \end_inset
21674
21675
21676 \end_layout
21677
21678 \begin_layout Standard
21679 For more information about the package 
21680 \series bold
21681 caption
21682 \series default
21683  we refer to its documentation 
21684 \begin_inset CommandInset citation
21685 LatexCommand cite
21686 key "caption,caption-de"
21687
21688 \end_inset
21689
21690 .
21691 \end_layout
21692
21693 \begin_layout Standard
21694 To change the label name from e.g.
21695  
21696 \begin_inset Quotes eld
21697 \end_inset
21698
21699 Figure
21700 \begin_inset Quotes erd
21701 \end_inset
21702
21703  to 
21704 \begin_inset Quotes eld
21705 \end_inset
21706
21707 Image
21708 \begin_inset Quotes erd
21709 \end_inset
21710
21711  use this preamble command:
21712 \end_layout
21713
21714 \begin_layout Standard
21715
21716 \series bold
21717
21718 \backslash
21719 renewcommand{
21720 \backslash
21721 fnum@figure}{Image~
21722 \backslash
21723 thefigure}
21724 \end_layout
21725
21726 \begin_layout Standard
21727 where 
21728 \series bold
21729
21730 \backslash
21731 thefigure
21732 \series default
21733  inserts the figure number and
21734 \series bold
21735  
21736 \begin_inset Quotes eld
21737 \end_inset
21738
21739 ~
21740 \series default
21741
21742 \begin_inset Quotes erd
21743 \end_inset
21744
21745  creates a protected space.
21746 \end_layout
21747
21748 \begin_layout Standard
21749 \begin_inset VSpace bigskip
21750 \end_inset
21751
21752 If you are using a 
21753 \series bold
21754 koma-script
21755 \series default
21756
21757 \begin_inset Index
21758 status collapsed
21759
21760 \begin_layout Plain Layout
21761 LaTeX-packages ! koma-script
21762 \end_layout
21763
21764 \end_inset
21765
21766  document class (
21767 \family sans
21768 article (koma-script)
21769 \family default
21770
21771 \family sans
21772 book (koma-script)
21773 \family default
21774
21775 \family sans
21776 letter (koma-script)
21777 \family default
21778 , or 
21779 \family sans
21780 report (koma-script)
21781 \family default
21782
21783 \begin_inset Space \thinspace{}
21784 \end_inset
21785
21786 ), you can alternatively to the 
21787 \series bold
21788 caption
21789 \series default
21790  package use 
21791 \series bold
21792 koma-script
21793 \series default
21794 's built-in command 
21795 \series bold
21796
21797 \backslash
21798 setkomafont
21799 \series default
21800 .
21801  For example, to have the caption label in bold, add this command to your
21802  document preamble:
21803 \end_layout
21804
21805 \begin_layout Standard
21806
21807 \series bold
21808
21809 \backslash
21810 setkomafont{captionlabel}{
21811 \backslash
21812 bfseries}
21813 \end_layout
21814
21815 \begin_layout Standard
21816 For more information about 
21817 \series bold
21818
21819 \backslash
21820 setkomafont
21821 \series default
21822  we refer to the 
21823 \series bold
21824 koma-script
21825 \series default
21826  documentation 
21827 \begin_inset CommandInset citation
21828 LatexCommand cite
21829 key "koma-script"
21830
21831 \end_inset
21832
21833 .
21834 \end_layout
21835
21836 \begin_layout Standard
21837 \begin_inset ERT
21838 status collapsed
21839
21840 \begin_layout Plain Layout
21841
21842
21843 \backslash
21844 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21845 }
21846 \end_layout
21847
21848 \end_inset
21849
21850
21851 \begin_inset Note Note
21852 status open
21853
21854 \begin_layout Plain Layout
21855 The caption format is changed only for this example.
21856 \end_layout
21857
21858 \end_inset
21859
21860
21861 \end_layout
21862
21863 \begin_layout Standard
21864 \begin_inset Float figure
21865 placement !p
21866 wide false
21867 sideways false
21868 status open
21869
21870 \begin_layout Plain Layout
21871 \align center
21872 \begin_inset Graphics
21873         filename clipart/mobius.eps
21874         lyxscale 50
21875         scale 50
21876         scaleBeforeRotation
21877
21878 \end_inset
21879
21880
21881 \end_layout
21882
21883 \begin_layout Plain Layout
21884 \begin_inset Caption
21885
21886 \begin_layout Plain Layout
21887 \begin_inset CommandInset label
21888 LatexCommand label
21889 name "fig:This-is-an-fig"
21890
21891 \end_inset
21892
21893 This is an example figure caption that is longer than one line to show the
21894  different caption format.
21895  Here a self-defined caption format is used.
21896 \end_layout
21897
21898 \end_inset
21899
21900
21901 \end_layout
21902
21903 \end_inset
21904
21905
21906 \end_layout
21907
21908 \begin_layout Standard
21909 \begin_inset ERT
21910 status collapsed
21911
21912 \begin_layout Plain Layout
21913
21914
21915 \backslash
21916 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21917 on}
21918 \end_layout
21919
21920 \end_inset
21921
21922
21923 \end_layout
21924
21925 \begin_layout Standard
21926 \begin_inset Float table
21927 placement !p
21928 wide false
21929 sideways false
21930 status open
21931
21932 \begin_layout Plain Layout
21933 \begin_inset Caption
21934
21935 \begin_layout Plain Layout
21936 \begin_inset CommandInset label
21937 LatexCommand label
21938 name "tab:This-is-an-tab"
21939
21940 \end_inset
21941
21942 This is an example table caption that is longer than one line to show the
21943  different caption format.
21944  Here the standard caption format for tables in this document is used.
21945 \end_layout
21946
21947 \end_inset
21948
21949
21950 \end_layout
21951
21952 \begin_layout Plain Layout
21953 \align center
21954 \begin_inset Tabular
21955 <lyxtabular version="3" rows="1" columns="5">
21956 <features>
21957 <column alignment="center" valignment="top" width="0">
21958 <column alignment="center" valignment="top" width="0">
21959 <column alignment="center" valignment="top" width="0">
21960 <column alignment="center" valignment="top" width="0">
21961 <column alignment="center" valignment="top" width="0">
21962 <row>
21963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21964 \begin_inset Text
21965
21966 \begin_layout Plain Layout
21967 a
21968 \end_layout
21969
21970 \end_inset
21971 </cell>
21972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21973 \begin_inset Text
21974
21975 \begin_layout Plain Layout
21976 b
21977 \end_layout
21978
21979 \end_inset
21980 </cell>
21981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21982 \begin_inset Text
21983
21984 \begin_layout Plain Layout
21985 c
21986 \end_layout
21987
21988 \end_inset
21989 </cell>
21990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21991 \begin_inset Text
21992
21993 \begin_layout Plain Layout
21994 d
21995 \end_layout
21996
21997 \end_inset
21998 </cell>
21999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22000 \begin_inset Text
22001
22002 \begin_layout Plain Layout
22003 e
22004 \end_layout
22005
22006 \end_inset
22007 </cell>
22008 </row>
22009 </lyxtabular>
22010
22011 \end_inset
22012
22013
22014 \end_layout
22015
22016 \end_inset
22017
22018
22019 \end_layout
22020
22021 \begin_layout Section
22022 Caption Placement
22023 \begin_inset Index
22024 status collapsed
22025
22026 \begin_layout Plain Layout
22027 Caption ! Placement
22028 \end_layout
22029
22030 \end_inset
22031
22032
22033 \begin_inset Index
22034 status collapsed
22035
22036 \begin_layout Plain Layout
22037 Floats ! Caption Placement
22038 \end_layout
22039
22040 \end_inset
22041
22042
22043 \begin_inset CommandInset label
22044 LatexCommand label
22045 name "sec:Caption-Placement"
22046
22047 \end_inset
22048
22049
22050 \end_layout
22051
22052 \begin_layout Standard
22053 The common caption placement rule is:
22054 \end_layout
22055
22056 \begin_layout Description
22057 Figure: Caption is set below the figure
22058 \end_layout
22059
22060 \begin_layout Description
22061 Table: Caption is set above the table
22062 \end_layout
22063
22064 \begin_layout Standard
22065 Having the caption above the table is unfortunately not supported in LaTeX's
22066  standard classes.
22067  That means if you are using the document classes 
22068 \family sans
22069 article
22070 \family default
22071
22072 \family sans
22073 book
22074 \family default
22075
22076 \family sans
22077 letter
22078 \family default
22079 , or 
22080 \family sans
22081 report
22082 \family default
22083  there will be no space between the caption and the table.
22084  To insert the needed space, add the following option to the load command
22085  of the LaTeX-package 
22086 \series bold
22087 caption
22088 \series default
22089  in your document preamble
22090 \begin_inset Foot
22091 status collapsed
22092
22093 \begin_layout Plain Layout
22094 See section
22095 \begin_inset Space ~
22096 \end_inset
22097
22098
22099 \begin_inset CommandInset ref
22100 LatexCommand ref
22101 reference "sec:Caption-Formatting"
22102
22103 \end_inset
22104
22105  for more information of the package 
22106 \series bold
22107 caption
22108 \series default
22109 .
22110 \end_layout
22111
22112 \end_inset
22113
22114 :
22115 \end_layout
22116
22117 \begin_layout Standard
22118
22119 \series bold
22120 tableposition=top
22121 \end_layout
22122
22123 \begin_layout Standard
22124 If you are using a 
22125 \series bold
22126 koma-script
22127 \series default
22128
22129 \begin_inset Index
22130 status collapsed
22131
22132 \begin_layout Plain Layout
22133 LaTeX-packages ! koma-script
22134 \end_layout
22135
22136 \end_inset
22137
22138  document class (
22139 \family sans
22140 article (koma-script)
22141 \family default
22142
22143 \family sans
22144 book (koma-script)
22145 \family default
22146
22147 \family sans
22148 letter (koma-script)
22149 \family default
22150 , or 
22151 \family sans
22152 report (koma-script)
22153 \family default
22154
22155 \begin_inset Space \thinspace{}
22156 \end_inset
22157
22158 ), you can alternatively to the 
22159 \series bold
22160 caption
22161 \series default
22162  package set the document class option 
22163 \series bold
22164 tablecaptionabove
22165 \series default
22166 .
22167 \end_layout
22168
22169 \begin_layout Standard
22170 \begin_inset VSpace bigskip
22171 \end_inset
22172
22173 It is also possible to set the caption beside a figure or table.
22174  To get this the LaTeX-package 
22175 \series bold
22176 sidecap
22177 \series default
22178
22179 \begin_inset Index
22180 status collapsed
22181
22182 \begin_layout Plain Layout
22183 LaTeX-packages ! sidecap
22184 \end_layout
22185
22186 \end_inset
22187
22188  has to be loaded in the document preamble with the line
22189 \end_layout
22190
22191 \begin_layout Standard
22192
22193 \series bold
22194
22195 \backslash
22196 usepackage[option]{sidecap}
22197 \end_layout
22198
22199 \begin_layout Standard
22200 If you set no option, the caption is placed on the side of the outer page
22201  margin -- to the right on odd pages, to the left on even pages.
22202  You can change the placement to inner margin with the option 
22203 \series bold
22204 innercaption
22205 \series default
22206 .
22207  To force the placement always to the right or left, use the option 
22208 \series bold
22209 rightcaption
22210 \series default
22211  or 
22212 \series bold
22213 leftcaption
22214 \series default
22215 , respectively.
22216 \end_layout
22217
22218 \begin_layout Standard
22219 \begin_inset ERT
22220 status collapsed
22221
22222 \begin_layout Plain Layout
22223
22224
22225 \backslash
22226 ifsidecap
22227 \end_layout
22228
22229 \end_inset
22230
22231
22232 \begin_inset Note Note
22233 status open
22234
22235 \begin_layout Plain Layout
22236 The following section will only be displayed when the LaTeX-package 
22237 \series bold
22238 sidecap
22239 \series default
22240  is installed.
22241 \end_layout
22242
22243 \end_inset
22244
22245
22246 \end_layout
22247
22248 \begin_layout Standard
22249 To place in LyX the caption of a float on the side, it is necessary to add
22250  these commands to the document preamble:
22251 \end_layout
22252
22253 \begin_layout Standard
22254
22255 \lyxline
22256
22257 \end_layout
22258
22259 \begin_layout Standard
22260
22261 \series bold
22262
22263 \backslash
22264 newcommand{
22265 \backslash
22266 TabBesBeg}{%
22267 \begin_inset Newline newline
22268 \end_inset
22269
22270
22271 \begin_inset ERT
22272 status collapsed
22273
22274 \begin_layout Plain Layout
22275
22276
22277 \backslash
22278 hphantom{ }
22279 \end_layout
22280
22281 \end_inset
22282
22283
22284 \backslash
22285 let
22286 \backslash
22287 MyTable
22288 \backslash
22289 table
22290 \begin_inset Newline newline
22291 \end_inset
22292
22293
22294 \begin_inset ERT
22295 status collapsed
22296
22297 \begin_layout Plain Layout
22298
22299
22300 \backslash
22301 hphantom{ }
22302 \end_layout
22303
22304 \end_inset
22305
22306
22307 \backslash
22308 let
22309 \backslash
22310 MyEndtable
22311 \backslash
22312 endtable
22313 \begin_inset Newline newline
22314 \end_inset
22315
22316
22317 \begin_inset ERT
22318 status collapsed
22319
22320 \begin_layout Plain Layout
22321
22322
22323 \backslash
22324 hphantom{ }
22325 \end_layout
22326
22327 \end_inset
22328
22329
22330 \backslash
22331 renewenvironment{table}{
22332 \backslash
22333 begin{SCtable}}{
22334 \backslash
22335 end{SCtable}}}
22336 \end_layout
22337
22338 \begin_layout Standard
22339
22340 \series bold
22341
22342 \backslash
22343 newcommand{
22344 \backslash
22345 TabBesEnd}{%
22346 \begin_inset Newline newline
22347 \end_inset
22348
22349
22350 \begin_inset ERT
22351 status collapsed
22352
22353 \begin_layout Plain Layout
22354
22355
22356 \backslash
22357 hphantom{ }
22358 \end_layout
22359
22360 \end_inset
22361
22362
22363 \backslash
22364 let
22365 \backslash
22366 table
22367 \backslash
22368 MyTable
22369 \begin_inset Newline newline
22370 \end_inset
22371
22372
22373 \begin_inset ERT
22374 status collapsed
22375
22376 \begin_layout Plain Layout
22377
22378
22379 \backslash
22380 hphantom{ }
22381 \end_layout
22382
22383 \end_inset
22384
22385
22386 \backslash
22387 let
22388 \backslash
22389 endtable
22390 \backslash
22391 MyEndtable
22392 \end_layout
22393
22394 \begin_layout Standard
22395
22396 \series bold
22397
22398 \backslash
22399 newcommand{
22400 \backslash
22401 FigBesBeg}{%
22402 \begin_inset Newline newline
22403 \end_inset
22404
22405
22406 \begin_inset ERT
22407 status collapsed
22408
22409 \begin_layout Plain Layout
22410
22411
22412 \backslash
22413 hphantom{ }
22414 \end_layout
22415
22416 \end_inset
22417
22418
22419 \backslash
22420 let
22421 \backslash
22422 MyFigure
22423 \backslash
22424 figure
22425 \begin_inset Newline newline
22426 \end_inset
22427
22428
22429 \begin_inset ERT
22430 status collapsed
22431
22432 \begin_layout Plain Layout
22433
22434
22435 \backslash
22436 hphantom{ }
22437 \end_layout
22438
22439 \end_inset
22440
22441
22442 \backslash
22443 let
22444 \backslash
22445 MyEndfigure
22446 \backslash
22447 endfigure
22448 \begin_inset Newline newline
22449 \end_inset
22450
22451
22452 \begin_inset ERT
22453 status collapsed
22454
22455 \begin_layout Plain Layout
22456
22457
22458 \backslash
22459 hphantom{ }
22460 \end_layout
22461
22462 \end_inset
22463
22464
22465 \backslash
22466 renewenvironment{figure}{
22467 \backslash
22468 begin{SCfigure}}{
22469 \backslash
22470 end{SCfigure}}}
22471 \end_layout
22472
22473 \begin_layout Standard
22474
22475 \series bold
22476
22477 \backslash
22478 newcommand{
22479 \backslash
22480 FigBesEnd}{%
22481 \begin_inset Newline newline
22482 \end_inset
22483
22484
22485 \begin_inset ERT
22486 status collapsed
22487
22488 \begin_layout Plain Layout
22489
22490
22491 \backslash
22492 hphantom{ }
22493 \end_layout
22494
22495 \end_inset
22496
22497
22498 \backslash
22499 let
22500 \backslash
22501 figure
22502 \backslash
22503 MyFigure
22504 \begin_inset Newline newline
22505 \end_inset
22506
22507
22508 \begin_inset ERT
22509 status collapsed
22510
22511 \begin_layout Plain Layout
22512
22513
22514 \backslash
22515 hphantom{ }
22516 \end_layout
22517
22518 \end_inset
22519
22520
22521 \backslash
22522 let
22523 \backslash
22524 endfigure
22525 \backslash
22526 MyEndfigure}
22527 \end_layout
22528
22529 \begin_layout Standard
22530
22531 \lyxline
22532
22533 \end_layout
22534
22535 \begin_layout Standard
22536 The commands allow you to redefine the floats so that the caption is set
22537  on the side.
22538  For figure floats use the command
22539 \end_layout
22540
22541 \begin_layout Standard
22542
22543 \series bold
22544
22545 \backslash
22546 FigBesBeg
22547 \end_layout
22548
22549 \begin_layout Standard
22550 in TeX-Code before the float.
22551  Behind the float insert the command
22552 \end_layout
22553
22554 \begin_layout Standard
22555
22556 \series bold
22557
22558 \backslash
22559 FigBesEnd
22560 \end_layout
22561
22562 \begin_layout Standard
22563 in TeX-Code to get back to the original float definition.
22564 \end_layout
22565
22566 \begin_layout Standard
22567 For table floats use the corresponding commands
22568 \end_layout
22569
22570 \begin_layout Standard
22571
22572 \series bold
22573
22574 \backslash
22575 TabBesBeg
22576 \series default
22577  and 
22578 \series bold
22579
22580 \backslash
22581 TabBesEnd
22582 \end_layout
22583
22584 \begin_layout Standard
22585 Figure
22586 \begin_inset Space ~
22587 \end_inset
22588
22589
22590 \begin_inset CommandInset ref
22591 LatexCommand ref
22592 reference "fig:cap-beside-fig"
22593
22594 \end_inset
22595
22596  and Table
22597 \begin_inset Space ~
22598 \end_inset
22599
22600
22601 \begin_inset CommandInset ref
22602 LatexCommand ref
22603 reference "tab:cap-beside-tab"
22604
22605 \end_inset
22606
22607  are examples where the caption is set beside.
22608 \end_layout
22609
22610 \begin_layout Standard
22611 You can see in the examples that the caption text appears at the top of
22612  the floats for table floats and at the bottom for figure floats.
22613  To change this, you can use the command
22614 \end_layout
22615
22616 \begin_layout Standard
22617
22618 \series bold
22619
22620 \backslash
22621 sidecaptionvpos{float type}{placement}
22622 \end_layout
22623
22624 \begin_layout Standard
22625 in the document preamble or in TeX-Code before the float.
22626  The float type is either 
22627 \family sans
22628 figure
22629 \family default
22630  or 
22631 \family sans
22632 table
22633 \family default
22634 , the placement can be 
22635 \begin_inset Quotes eld
22636 \end_inset
22637
22638
22639 \family sans
22640 t
22641 \family default
22642
22643 \begin_inset Quotes erd
22644 \end_inset
22645
22646  for top, 
22647 \begin_inset Quotes eld
22648 \end_inset
22649
22650
22651 \family sans
22652 c
22653 \family default
22654
22655 \begin_inset Quotes erd
22656 \end_inset
22657
22658  for center, or 
22659 \begin_inset Quotes eld
22660 \end_inset
22661
22662
22663 \family sans
22664 b
22665 \family default
22666
22667 \begin_inset Quotes erd
22668 \end_inset
22669
22670  for bottom.
22671  To have for example the caption of figure floats vertically centered, use
22672  the command
22673 \end_layout
22674
22675 \begin_layout Standard
22676
22677 \series bold
22678
22679 \backslash
22680 sidecaptionvpos{figure}{c}
22681 \end_layout
22682
22683 \begin_layout Standard
22684 This was used for Figure
22685 \begin_inset Space ~
22686 \end_inset
22687
22688
22689 \begin_inset CommandInset ref
22690 LatexCommand ref
22691 reference "fig:cap-beside-fig-2"
22692
22693 \end_inset
22694
22695 .
22696 \end_layout
22697
22698 \begin_layout Standard
22699 \begin_inset VSpace medskip
22700 \end_inset
22701
22702 For more information about the package 
22703 \series bold
22704 sidecap
22705 \series default
22706  we refer to its documentation 
22707 \begin_inset CommandInset citation
22708 LatexCommand cite
22709 key "sidecap"
22710
22711 \end_inset
22712
22713 .
22714 \end_layout
22715
22716 \begin_layout Standard
22717 \begin_inset Note Greyedout
22718 status open
22719
22720 \begin_layout Plain Layout
22721
22722 \series bold
22723 Note:
22724 \series default
22725  The LaTeX-package 
22726 \series bold
22727 hypcap
22728 \series default
22729
22730 \begin_inset Index
22731 status collapsed
22732
22733 \begin_layout Plain Layout
22734 LaTeX-packages ! hypcap
22735 \end_layout
22736
22737 \end_inset
22738
22739 , described in section
22740 \begin_inset Space ~
22741 \end_inset
22742
22743
22744 \begin_inset CommandInset ref
22745 LatexCommand ref
22746 reference "sub:Reference-Position"
22747
22748 \end_inset
22749
22750 , has no effect on floats with the caption set beside.
22751 \end_layout
22752
22753 \end_inset
22754
22755
22756 \end_layout
22757
22758 \begin_layout Standard
22759 \begin_inset ERT
22760 status collapsed
22761
22762 \begin_layout Plain Layout
22763
22764
22765 \backslash
22766 FigBesBeg 
22767 \end_layout
22768
22769 \end_inset
22770
22771
22772 \end_layout
22773
22774 \begin_layout Standard
22775 \begin_inset Float figure
22776 wide false
22777 sideways false
22778 status open
22779
22780 \begin_layout Plain Layout
22781 \begin_inset Graphics
22782         filename clipart/escher-lsd.eps
22783         scale 75
22784         scaleBeforeRotation
22785
22786 \end_inset
22787
22788
22789 \end_layout
22790
22791 \begin_layout Plain Layout
22792 \begin_inset Caption
22793
22794 \begin_layout Plain Layout
22795 \begin_inset CommandInset label
22796 LatexCommand label
22797 name "fig:cap-beside-fig"
22798
22799 \end_inset
22800
22801 This is a caption beside a figure.
22802 \end_layout
22803
22804 \end_inset
22805
22806
22807 \end_layout
22808
22809 \end_inset
22810
22811
22812 \end_layout
22813
22814 \begin_layout Standard
22815 \begin_inset ERT
22816 status collapsed
22817
22818 \begin_layout Plain Layout
22819
22820
22821 \backslash
22822 TabBesBeg 
22823 \end_layout
22824
22825 \end_inset
22826
22827
22828 \end_layout
22829
22830 \begin_layout Standard
22831 \begin_inset Float table
22832 wide false
22833 sideways false
22834 status open
22835
22836 \begin_layout Plain Layout
22837 \begin_inset Caption
22838
22839 \begin_layout Plain Layout
22840 \begin_inset CommandInset label
22841 LatexCommand label
22842 name "tab:cap-beside-tab"
22843
22844 \end_inset
22845
22846 This is a caption beside a table.
22847 \end_layout
22848
22849 \end_inset
22850
22851
22852 \end_layout
22853
22854 \begin_layout Plain Layout
22855 \begin_inset Tabular
22856 <lyxtabular version="3" rows="4" columns="5">
22857 <features>
22858 <column alignment="center" valignment="top" width="0">
22859 <column alignment="center" valignment="top" width="0">
22860 <column alignment="center" valignment="top" width="0">
22861 <column alignment="center" valignment="top" width="0">
22862 <column alignment="center" valignment="top" width="0">
22863 <row>
22864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22865 \begin_inset Text
22866
22867 \begin_layout Plain Layout
22868 a
22869 \end_layout
22870
22871 \end_inset
22872 </cell>
22873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22874 \begin_inset Text
22875
22876 \begin_layout Plain Layout
22877
22878 \end_layout
22879
22880 \end_inset
22881 </cell>
22882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22883 \begin_inset Text
22884
22885 \begin_layout Plain Layout
22886 b
22887 \end_layout
22888
22889 \end_inset
22890 </cell>
22891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22892 \begin_inset Text
22893
22894 \begin_layout Plain Layout
22895
22896 \end_layout
22897
22898 \end_inset
22899 </cell>
22900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22901 \begin_inset Text
22902
22903 \begin_layout Plain Layout
22904 c
22905 \end_layout
22906
22907 \end_inset
22908 </cell>
22909 </row>
22910 <row>
22911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22912 \begin_inset Text
22913
22914 \begin_layout Plain Layout
22915
22916 \end_layout
22917
22918 \end_inset
22919 </cell>
22920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22921 \begin_inset Text
22922
22923 \begin_layout Plain Layout
22924 d
22925 \end_layout
22926
22927 \end_inset
22928 </cell>
22929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22930 \begin_inset Text
22931
22932 \begin_layout Plain Layout
22933
22934 \end_layout
22935
22936 \end_inset
22937 </cell>
22938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22939 \begin_inset Text
22940
22941 \begin_layout Plain Layout
22942 e
22943 \end_layout
22944
22945 \end_inset
22946 </cell>
22947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22948 \begin_inset Text
22949
22950 \begin_layout Plain Layout
22951
22952 \end_layout
22953
22954 \end_inset
22955 </cell>
22956 </row>
22957 <row>
22958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22959 \begin_inset Text
22960
22961 \begin_layout Plain Layout
22962 f
22963 \end_layout
22964
22965 \end_inset
22966 </cell>
22967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22968 \begin_inset Text
22969
22970 \begin_layout Plain Layout
22971
22972 \end_layout
22973
22974 \end_inset
22975 </cell>
22976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22977 \begin_inset Text
22978
22979 \begin_layout Plain Layout
22980 g
22981 \end_layout
22982
22983 \end_inset
22984 </cell>
22985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22986 \begin_inset Text
22987
22988 \begin_layout Plain Layout
22989
22990 \end_layout
22991
22992 \end_inset
22993 </cell>
22994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22995 \begin_inset Text
22996
22997 \begin_layout Plain Layout
22998 h
22999 \end_layout
23000
23001 \end_inset
23002 </cell>
23003 </row>
23004 <row>
23005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23006 \begin_inset Text
23007
23008 \begin_layout Plain Layout
23009
23010 \end_layout
23011
23012 \end_inset
23013 </cell>
23014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23015 \begin_inset Text
23016
23017 \begin_layout Plain Layout
23018 i
23019 \end_layout
23020
23021 \end_inset
23022 </cell>
23023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23024 \begin_inset Text
23025
23026 \begin_layout Plain Layout
23027
23028 \end_layout
23029
23030 \end_inset
23031 </cell>
23032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23033 \begin_inset Text
23034
23035 \begin_layout Plain Layout
23036 j
23037 \end_layout
23038
23039 \end_inset
23040 </cell>
23041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23042 \begin_inset Text
23043
23044 \begin_layout Plain Layout
23045
23046 \end_layout
23047
23048 \end_inset
23049 </cell>
23050 </row>
23051 </lyxtabular>
23052
23053 \end_inset
23054
23055
23056 \end_layout
23057
23058 \end_inset
23059
23060
23061 \end_layout
23062
23063 \begin_layout Standard
23064 \begin_inset ERT
23065 status collapsed
23066
23067 \begin_layout Plain Layout
23068
23069
23070 \backslash
23071 TabBesEnd
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 sidecaptionvpos{figure}{c}
23088 \end_layout
23089
23090 \end_inset
23091
23092
23093 \begin_inset Float figure
23094 wide false
23095 sideways false
23096 status open
23097
23098 \begin_layout Plain Layout
23099 \begin_inset Graphics
23100         filename clipart/escher-lsd.eps
23101         scale 75
23102         scaleBeforeRotation
23103
23104 \end_inset
23105
23106
23107 \end_layout
23108
23109 \begin_layout Plain Layout
23110 \begin_inset Caption
23111
23112 \begin_layout Plain Layout
23113 \begin_inset CommandInset label
23114 LatexCommand label
23115 name "fig:cap-beside-fig-2"
23116
23117 \end_inset
23118
23119 This is a vertically centered caption beside a figure.
23120 \end_layout
23121
23122 \end_inset
23123
23124
23125 \end_layout
23126
23127 \end_inset
23128
23129
23130 \end_layout
23131
23132 \begin_layout Standard
23133 \begin_inset ERT
23134 status collapsed
23135
23136 \begin_layout Plain Layout
23137
23138
23139 \backslash
23140 FigBesEnd
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 else
23157 \end_layout
23158
23159 \end_inset
23160
23161
23162 \begin_inset Note Note
23163 status open
23164
23165 \begin_layout Plain Layout
23166 The following will be displayed when the LaTeX-package 
23167 \series bold
23168 sidecap
23169 \series default
23170  is not installed:
23171 \end_layout
23172
23173 \end_inset
23174
23175
23176 \end_layout
23177
23178 \begin_layout Standard
23179 You need to install the LaTeX-package 
23180 \series bold
23181 sidecap
23182 \series default
23183  to see the following part of this section in the output.
23184 \end_layout
23185
23186 \begin_layout Standard
23187 \begin_inset ERT
23188 status collapsed
23189
23190 \begin_layout Plain Layout
23191
23192
23193 \backslash
23194 fi
23195 \end_layout
23196
23197 \end_inset
23198
23199
23200 \end_layout
23201
23202 \begin_layout Section
23203 Listings of Floats
23204 \begin_inset CommandInset label
23205 LatexCommand label
23206 name "sec:Listings-of-Floats"
23207
23208 \end_inset
23209
23210
23211 \begin_inset Index
23212 status collapsed
23213
23214 \begin_layout Plain Layout
23215 Floats ! Float Lists
23216 \end_layout
23217
23218 \end_inset
23219
23220
23221 \end_layout
23222
23223 \begin_layout Standard
23224 Similar to the the table of contents where the sections of the document
23225  are listed, there are listings for all float types, like the figures of
23226  the documents.
23227  You can insert them via the 
23228 \family sans
23229 Insert\SpecialChar \menuseparator
23230 List
23231 \begin_inset Space ~
23232 \end_inset
23233
23234 /
23235 \begin_inset Space ~
23236 \end_inset
23237
23238 TOC
23239 \family default
23240  sub menus.
23241 \end_layout
23242
23243 \begin_layout Standard
23244 The list entries are the float captions or its short title, the float number,
23245  and the page number where they appear in the document.
23246 \end_layout
23247
23248 \begin_layout Standard
23249 You can find the list of figures and tables at the end of this document.
23250 \end_layout
23251
23252 \begin_layout Chapter
23253 Notes
23254 \end_layout
23255
23256 \begin_layout Section
23257 LyX Notes
23258 \begin_inset CommandInset label
23259 LatexCommand label
23260 name "sec:LyX-Notes"
23261
23262 \end_inset
23263
23264
23265 \begin_inset Index
23266 status collapsed
23267
23268 \begin_layout Plain Layout
23269 Notes ! LyX Notes
23270 \end_layout
23271
23272 \end_inset
23273
23274
23275 \end_layout
23276
23277 \begin_layout Standard
23278 Notes are inserted with the toolbar button 
23279 \begin_inset Graphics
23280         filename ../images/note-insert.png
23281         scale 85
23282         scaleBeforeRotation
23283
23284 \end_inset
23285
23286  or the menu 
23287 \family sans
23288 Insert\SpecialChar \menuseparator
23289 Note
23290 \family default
23291 .
23292  There are five types of notes:
23293 \end_layout
23294
23295 \begin_layout Description
23296 LyX
23297 \begin_inset Space ~
23298 \end_inset
23299
23300 Note This note type is for internal notes that won't appear in the output.
23301  Its note-box looks like this:
23302 \begin_inset Newline newline
23303 \end_inset
23304
23305
23306 \begin_inset Newline newline
23307 \end_inset
23308
23309
23310 \begin_inset Graphics
23311         filename clipart/LyXNoteImageQt4.png
23312         display none
23313         scale 85
23314         scaleBeforeRotation
23315
23316 \end_inset
23317
23318  
23319 \begin_inset Note Note
23320 status open
23321
23322 \begin_layout Plain Layout
23323 This is text in a note box that doesn't appear in the output.
23324 \end_layout
23325
23326 \end_inset
23327
23328
23329 \end_layout
23330
23331 \begin_layout Description
23332 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23333 ent, when you export the document to LaTeX via the menu 
23334 \family sans
23335 File\SpecialChar \menuseparator
23336 Export\SpecialChar \menuseparator
23337 LaTeX (pdflatex) / (plain)
23338 \family default
23339 .
23340  Its note-box looks like this:
23341 \begin_inset Newline newline
23342 \end_inset
23343
23344
23345 \begin_inset Newline newline
23346 \end_inset
23347
23348
23349 \begin_inset Graphics
23350         filename clipart/CommentNoteImageQt4.png
23351         display none
23352         scale 85
23353         scaleBeforeRotation
23354
23355 \end_inset
23356
23357  
23358 \begin_inset Note Comment
23359 status open
23360
23361 \begin_layout Plain Layout
23362 This is text in a note box that only appears as comment in LaTeX-files.
23363 \end_layout
23364
23365 \end_inset
23366
23367
23368 \end_layout
23369
23370 \begin_layout Description
23371 Greyed
23372 \begin_inset Space ~
23373 \end_inset
23374
23375 Out This note will appear in the output as grey text.
23376  Its note-box looks like this:
23377 \begin_inset Newline newline
23378 \end_inset
23379
23380
23381 \begin_inset Newline newline
23382 \end_inset
23383
23384
23385 \begin_inset Graphics
23386         filename clipart/GreyedOutNoteImageQt4.png
23387         display none
23388         scale 85
23389         scaleBeforeRotation
23390
23391 \end_inset
23392
23393
23394 \begin_inset Newline newline
23395 \end_inset
23396
23397
23398 \begin_inset ERT
23399 status collapsed
23400
23401 \begin_layout Plain Layout
23402
23403
23404 \backslash
23405 renewenvironment{lyxgreyedout}
23406 \end_layout
23407
23408 \begin_layout Plain Layout
23409
23410 {
23411 \backslash
23412 textcolor[gray]{0.8}
23413 \backslash
23414 bgroup}{
23415 \backslash
23416 egroup}
23417 \end_layout
23418
23419 \end_inset
23420
23421
23422 \begin_inset Note Greyedout
23423 status open
23424
23425 \begin_layout Plain Layout
23426 This is text
23427 \begin_inset Foot
23428 status open
23429
23430 \begin_layout Plain Layout
23431 This is an example footnote within a greyed out note.
23432 \end_layout
23433
23434 \end_inset
23435
23436  of a comment that appears in the output as grey text.
23437 \end_layout
23438
23439 \end_inset
23440
23441
23442 \begin_inset ERT
23443 status collapsed
23444
23445 \begin_layout Plain Layout
23446
23447
23448 \backslash
23449 renewenvironment{lyxgreyedout}
23450 \end_layout
23451
23452 \begin_layout Plain Layout
23453
23454 {
23455 \backslash
23456 textcolor{blue}
23457 \backslash
23458 bgroup}{
23459 \backslash
23460 egroup}
23461 \end_layout
23462
23463 \end_inset
23464
23465
23466 \begin_inset Note Note
23467 status collapsed
23468
23469 \begin_layout Plain Layout
23470 The greyed out note is here redefined to show it with the original LyX definitio
23471 n because greyed out notes are redefined in the preamble of this document,
23472  as described below, to have blue text.
23473 \end_layout
23474
23475 \end_inset
23476
23477
23478 \begin_inset Newline newline
23479 \end_inset
23480
23481
23482 \begin_inset Newline newline
23483 \end_inset
23484
23485 As you can see in the example, the first line of greyed out notes is a bit
23486  indented and greyed out notes can have footnotes.
23487 \end_layout
23488
23489 \begin_layout Description
23490 Framed This note will appear in the output as framed text.
23491  Its note-box looks like this:
23492 \begin_inset Newline newline
23493 \end_inset
23494
23495
23496 \begin_inset Newline newline
23497 \end_inset
23498
23499
23500 \begin_inset Graphics
23501         filename clipart/FramedNoteImageQt4.png
23502         display none
23503         scale 85
23504         scaleBeforeRotation
23505
23506 \end_inset
23507
23508  
23509 \begin_inset Box Framed
23510 position "t"
23511 hor_pos "c"
23512 has_inner_box 0
23513 inner_pos "t"
23514 use_parbox 0
23515 width "100col%"
23516 special "none"
23517 height "1in"
23518 height_special "totalheight"
23519 status open
23520
23521 \begin_layout Plain Layout
23522 This is text in a note box that appears framed in the output.
23523 \end_layout
23524
23525 \end_inset
23526
23527  In contrary to framed boxes
23528 \begin_inset Foot
23529 status collapsed
23530
23531 \begin_layout Plain Layout
23532 Framed boxes are described in section
23533 \begin_inset Space ~
23534 \end_inset
23535
23536
23537 \begin_inset CommandInset ref
23538 LatexCommand ref
23539 reference "sec:Framed-Boxes"
23540
23541 \end_inset
23542
23543 .
23544 \end_layout
23545
23546 \end_inset
23547
23548  the frame uses always the whole text width and the note is set into its
23549  own paragraph.
23550 \end_layout
23551
23552 \begin_layout Description
23553 Shaded This note will appear in the output with red background color.
23554  Its note box looks like this:
23555 \begin_inset Newline newline
23556 \end_inset
23557
23558
23559 \begin_inset Newline newline
23560 \end_inset
23561
23562
23563 \begin_inset Graphics
23564         filename clipart/ShadedNoteImageQt4.png
23565         display none
23566         scale 85
23567         scaleBeforeRotation
23568
23569 \end_inset
23570
23571
23572 \begin_inset Box Shaded
23573 position "t"
23574 hor_pos "c"
23575 has_inner_box 0
23576 inner_pos "t"
23577 use_parbox 0
23578 width "100col%"
23579 special "none"
23580 height "1in"
23581 height_special "totalheight"
23582 status open
23583
23584 \begin_layout Plain Layout
23585 This text in a note box appears in the output with red background.
23586 \end_layout
23587
23588 \end_inset
23589
23590 In contrary to colored boxes
23591 \begin_inset Foot
23592 status collapsed
23593
23594 \begin_layout Plain Layout
23595 Colored boxes are described in section
23596 \begin_inset Space ~
23597 \end_inset
23598
23599
23600 \begin_inset CommandInset ref
23601 LatexCommand ref
23602 reference "sec:Colored-Boxes"
23603
23604 \end_inset
23605
23606 .
23607 \end_layout
23608
23609 \end_inset
23610
23611  the note uses always the whole text width and the note is set into its
23612  own paragraph.
23613 \end_layout
23614
23615 \begin_layout Standard
23616 \begin_inset VSpace bigskip
23617 \end_inset
23618
23619 When you use the toolbar button 
23620 \begin_inset Graphics
23621         filename ../images/note-insert.png
23622         scale 85
23623         scaleBeforeRotation
23624
23625 \end_inset
23626
23627  to insert notes, a 
23628 \family sans
23629 LyX
23630 \begin_inset Space ~
23631 \end_inset
23632
23633 Note
23634 \family default
23635  is inserted.
23636  You can switch between the five note types by right-clicking on the note-box.
23637  
23638 \family roman
23639 \series medium
23640 \bar no
23641 If you want to turn existing text into a note, mark it and click on the
23642  note
23643 \family default
23644 \series default
23645 \bar default
23646  toolbar 
23647 \family roman
23648 \series medium
23649 \bar no
23650 button
23651 \family default
23652 \series default
23653 \bar default
23654 .
23655  To change a note to text, press the backspace key when the cursor is in
23656  the first position of a note, or press the deletey key when the cursor
23657  is in the very last position of the note, respectively.
23658 \end_layout
23659
23660 \begin_layout Standard
23661 \begin_inset VSpace bigskip
23662 \end_inset
23663
23664 You can change the text color of the greyed out notes in the preamble with
23665  the following command:
23666 \end_layout
23667
23668 \begin_layout Standard
23669
23670 \series bold
23671
23672 \backslash
23673 renewenvironment{lyxgreyedout}
23674 \begin_inset Newline newline
23675 \end_inset
23676
23677
23678 \begin_inset ERT
23679 status collapsed
23680
23681 \begin_layout Plain Layout
23682
23683
23684 \backslash
23685 hphantom{ }
23686 \end_layout
23687
23688 \end_inset
23689
23690 {
23691 \backslash
23692 textcolor{color}
23693 \backslash
23694 bgroup}{
23695 \backslash
23696 egroup}
23697 \end_layout
23698
23699 \begin_layout Standard
23700 The available colors and the method to define own colors is explained in
23701  section
23702 \begin_inset Space ~
23703 \end_inset
23704
23705
23706 \begin_inset CommandInset ref
23707 LatexCommand ref
23708 reference "sec:Colored-Tables"
23709
23710 \end_inset
23711
23712 .
23713 \end_layout
23714
23715 \begin_layout Standard
23716 Notes that appear in blue in this document are set using greyed out notes
23717  with blue text.
23718 \end_layout
23719
23720 \begin_layout Standard
23721 \begin_inset VSpace bigskip
23722 \end_inset
23723
23724
23725 \end_layout
23726
23727 \begin_layout Standard
23728 The text style of 
23729 \family sans
23730 Framed
23731 \family default
23732  and 
23733 \family sans
23734 Shaded
23735 \family default
23736  notes can be set in the 
23737 \family sans
23738 Text Style
23739 \family default
23740  dialog.
23741 \end_layout
23742
23743 \begin_layout Standard
23744 The default frame width for 
23745 \family sans
23746 Framed
23747 \family default
23748  notes is 0.4
23749 \begin_inset Space \thinspace{}
23750 \end_inset
23751
23752 pt; it can be changed by changing the size 
23753 \series bold
23754
23755 \backslash
23756 FrameRule
23757 \series default
23758 .
23759  The default space between the note content and the frame is 9
23760 \begin_inset Space \thinspace{}
23761 \end_inset
23762
23763 pt; it can be changed by changing the size 
23764 \series bold
23765
23766 \backslash
23767 FrameSep
23768 \series default
23769 .
23770  For example the frame appearance of the following 
23771 \family sans
23772 Framed
23773 \family default
23774  note is set with the TeX-Code commands
23775 \end_layout
23776
23777 \begin_layout Standard
23778
23779 \series bold
23780
23781 \backslash
23782 FrameRule 5pt 
23783 \backslash
23784 FrameSep 0.5cm
23785 \end_layout
23786
23787 \begin_layout Standard
23788 \begin_inset ERT
23789 status collapsed
23790
23791 \begin_layout Plain Layout
23792
23793
23794 \backslash
23795 FrameRule 5pt 
23796 \backslash
23797 FrameSep 0.5cm
23798 \end_layout
23799
23800 \end_inset
23801
23802
23803 \begin_inset Box Framed
23804 position "t"
23805 hor_pos "c"
23806 has_inner_box 0
23807 inner_pos "t"
23808 use_parbox 0
23809 width "100col%"
23810 special "none"
23811 height "1in"
23812 height_special "totalheight"
23813 status open
23814
23815 \begin_layout Plain Layout
23816 This is text in a 
23817 \family sans
23818 Framed
23819 \family default
23820  note.
23821 \end_layout
23822
23823 \end_inset
23824
23825
23826 \begin_inset ERT
23827 status collapsed
23828
23829 \begin_layout Plain Layout
23830
23831
23832 \backslash
23833 FrameRule 0.4pt 
23834 \backslash
23835 FrameSep 9pt
23836 \end_layout
23837
23838 \end_inset
23839
23840
23841 \end_layout
23842
23843 \begin_layout Standard
23844 \begin_inset VSpace bigskip
23845 \end_inset
23846
23847
23848 \end_layout
23849
23850 \begin_layout Standard
23851 For 
23852 \family sans
23853 Shaded
23854 \family default
23855  notes the default space between the note content and the note border is
23856  3
23857 \begin_inset Space \thinspace{}
23858 \end_inset
23859
23860 pt; it can be changed by changing the size 
23861 \series bold
23862
23863 \backslash
23864 fboxsep
23865 \series default
23866 .
23867 \begin_inset Newline newline
23868 \end_inset
23869
23870 The default background color red can be changed with the command 
23871 \series bold
23872
23873 \backslash
23874 definecolor{shadebox}
23875 \series default
23876 .
23877  The scheme of the 
23878 \series bold
23879
23880 \backslash
23881 definecolor
23882 \series default
23883  command is explained in section
23884 \begin_inset Space ~
23885 \end_inset
23886
23887
23888 \begin_inset CommandInset ref
23889 LatexCommand ref
23890 reference "sec:Colored-Tables"
23891
23892 \end_inset
23893
23894
23895 \begin_inset Foot
23896 status collapsed
23897
23898 \begin_layout Plain Layout
23899 Note that 
23900 \series bold
23901
23902 \backslash
23903 def
23904 \series default
23905 \SpecialChar \textcompwordmark{}
23906
23907 \series bold
23908 inecolor
23909 \series default
23910  requires the LaTeX-package 
23911 \series bold
23912 color
23913 \series default
23914  in the preamble, see section
23915 \begin_inset Space ~
23916 \end_inset
23917
23918
23919 \begin_inset CommandInset ref
23920 LatexCommand ref
23921 reference "sec:Colored-Boxes"
23922
23923 \end_inset
23924
23925 .
23926 \end_layout
23927
23928 \end_inset
23929
23930 .
23931 \end_layout
23932
23933 \begin_layout Standard
23934 For example the appearance of the following 
23935 \family sans
23936 Shaded
23937 \family default
23938  note is set with the TeX-Code commands
23939 \end_layout
23940
23941 \begin_layout Standard
23942
23943 \series bold
23944
23945 \backslash
23946 fboxsep 0.5cm
23947 \series default
23948
23949 \begin_inset Newline newline
23950 \end_inset
23951
23952
23953 \series bold
23954
23955 \backslash
23956 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23957 \end_layout
23958
23959 \begin_layout Standard
23960 \begin_inset ERT
23961 status collapsed
23962
23963 \begin_layout Plain Layout
23964
23965
23966 \backslash
23967 fboxsep 0.5cm
23968 \end_layout
23969
23970 \end_inset
23971
23972
23973 \begin_inset ERT
23974 status collapsed
23975
23976 \begin_layout Plain Layout
23977
23978
23979 \backslash
23980 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23981 \end_layout
23982
23983 \end_inset
23984
23985
23986 \begin_inset Box Shaded
23987 position "t"
23988 hor_pos "c"
23989 has_inner_box 0
23990 inner_pos "t"
23991 use_parbox 0
23992 width "100col%"
23993 special "none"
23994 height "1in"
23995 height_special "totalheight"
23996 status open
23997
23998 \begin_layout Plain Layout
23999
24000 \color yellow
24001 This is yellow text in a
24002 \color none
24003  
24004 \family sans
24005 \color yellow
24006 Shaded
24007 \family default
24008 \color none
24009  
24010 \color yellow
24011 note with darkgreen background.
24012 \end_layout
24013
24014 \end_inset
24015
24016
24017 \begin_inset ERT
24018 status collapsed
24019
24020 \begin_layout Plain Layout
24021
24022
24023 \backslash
24024 fboxsep 3pt
24025 \end_layout
24026
24027 \end_inset
24028
24029
24030 \begin_inset ERT
24031 status collapsed
24032
24033 \begin_layout Plain Layout
24034
24035
24036 \backslash
24037 definecolor{shadecolor}{rgb}{1,0,0}
24038 \end_layout
24039
24040 \end_inset
24041
24042
24043 \end_layout
24044
24045 \begin_layout Section
24046 Footnotes
24047 \begin_inset CommandInset label
24048 LatexCommand label
24049 name "sec:Footnotes"
24050
24051 \end_inset
24052
24053
24054 \begin_inset Index
24055 status collapsed
24056
24057 \begin_layout Plain Layout
24058 Notes ! Footnotes
24059 \end_layout
24060
24061 \end_inset
24062
24063
24064 \begin_inset Index
24065 status collapsed
24066
24067 \begin_layout Plain Layout
24068 Footnotes
24069 \end_layout
24070
24071 \end_inset
24072
24073
24074 \end_layout
24075
24076 \begin_layout Standard
24077 Footnotes can be inserted using the toolbar button 
24078 \begin_inset Graphics
24079         filename ../images/footnote-insert.png
24080         scale 85
24081         scaleBeforeRotation
24082
24083 \end_inset
24084
24085  or the menu 
24086 \family sans
24087 Insert\SpecialChar \menuseparator
24088 Footnote
24089 \family default
24090 .
24091  
24092 \family roman
24093 \series medium
24094 \bar no
24095 You'll see
24096 \family default
24097 \series default
24098 \bar default
24099  then the following footnote-box: 
24100 \begin_inset Graphics
24101         filename clipart/footnoteQt4.png
24102         scale 80
24103         scaleBeforeRotation
24104
24105 \end_inset
24106
24107  
24108 \family roman
24109 \series medium
24110 \bar no
24111 where you can enter the footnote text.
24112  If you want to turn existing text into a footnote, mark it and click on
24113  the footnote
24114 \family default
24115 \series default
24116 \bar default
24117  toolbar 
24118 \family roman
24119 \series medium
24120 \bar no
24121 button
24122 \family default
24123 \series default
24124 \bar default
24125 .
24126  To change a 
24127 \family roman
24128 \series medium
24129 \bar no
24130 footnote
24131 \family default
24132 \series default
24133 \bar default
24134  to text, press the Backspace key when the cursor is in the first position
24135  of a 
24136 \family roman
24137 \series medium
24138 \bar no
24139 footnote
24140 \family default
24141 \series default
24142 \bar default
24143 , or press the Delete key when the cursor is in the very last position of
24144  the 
24145 \family roman
24146 \series medium
24147 \bar no
24148 footnote
24149 \family default
24150 \series default
24151 \bar default
24152 , respectively.
24153 \end_layout
24154
24155 \begin_layout Standard
24156 Here is an example footnote:
24157 \family roman
24158 \series medium
24159 \bar no
24160
24161 \begin_inset Foot
24162 status open
24163
24164 \begin_layout Plain Layout
24165 \begin_inset CommandInset label
24166 LatexCommand label
24167 name "foot:This-is-an"
24168
24169 \end_inset
24170
24171 This is an example footnote.
24172 \end_layout
24173
24174 \end_inset
24175
24176
24177 \family default
24178 \series default
24179 \bar default
24180
24181 \begin_inset ERT
24182 status collapsed
24183
24184 \begin_layout Plain Layout
24185
24186
24187 \backslash
24188 newcounter{MyRepeatFoot}
24189 \end_layout
24190
24191 \begin_layout Plain Layout
24192
24193
24194 \backslash
24195 setcounter{MyRepeatFoot}{
24196 \backslash
24197 thefootnote}
24198 \end_layout
24199
24200 \end_inset
24201
24202
24203 \end_layout
24204
24205 \begin_layout Standard
24206 The footnote will appear in the output as a superscript number at the text
24207  position where the footnote box is placed.
24208  The footnote text is placed at the bottom of the current page.
24209  The footnote number is calculated by LaTeX, the numbers are consecutive.
24210  It depends on your document-class, if the footnote number is reset for
24211  every chapter.
24212 \end_layout
24213
24214 \begin_layout Standard
24215 Footnotes can be referenced like floats: Insert a label into the footnote
24216  and cross-reference this label in the text as described in section
24217 \begin_inset Space ~
24218 \end_inset
24219
24220
24221 \begin_inset CommandInset ref
24222 LatexCommand ref
24223 reference "sec:Referencing-Floats"
24224
24225 \end_inset
24226
24227 .
24228 \begin_inset Newline newline
24229 \end_inset
24230
24231 This is a cross-reference of Footnote
24232 \begin_inset Space ~
24233 \end_inset
24234
24235
24236 \begin_inset CommandInset ref
24237 LatexCommand ref
24238 reference "foot:This-is-an"
24239
24240 \end_inset
24241
24242 .
24243 \end_layout
24244
24245 \begin_layout Standard
24246 \begin_inset VSpace defskip
24247 \end_inset
24248
24249 To use footnotes within tables, you have to use minipages, see section
24250 \begin_inset Space ~
24251 \end_inset
24252
24253
24254 \begin_inset CommandInset ref
24255 LatexCommand ref
24256 reference "sec:Minipages"
24257
24258 \end_inset
24259
24260 .
24261  Footnotes within longtables are described in section
24262 \begin_inset Space ~
24263 \end_inset
24264
24265
24266 \begin_inset CommandInset ref
24267 LatexCommand ref
24268 reference "sub:Footnotes-in-Longtables"
24269
24270 \end_inset
24271
24272 .
24273 \end_layout
24274
24275 \begin_layout Standard
24276 \begin_inset VSpace defskip
24277 \end_inset
24278
24279 To create only a mark for a footnote, use the command 
24280 \series bold
24281
24282 \backslash
24283 footnotemark[number]
24284 \series default
24285  in TeX-Code.
24286  This is used when you have the same annotation several times in a text
24287  but doesn't want to print the footnote text every time.
24288 \begin_inset Newline newline
24289 \end_inset
24290
24291 As you don't know the number of the repeating footnote while you are writing
24292  the text, you have to store its number.
24293  For the following footnote mark example, these commands were inserted in
24294  TeX-Code behind Footnote
24295 \begin_inset Space ~
24296 \end_inset
24297
24298
24299 \begin_inset CommandInset ref
24300 LatexCommand ref
24301 reference "foot:This-is-an"
24302
24303 \end_inset
24304
24305  to store the footnote number:
24306 \end_layout
24307
24308 \begin_layout Standard
24309
24310 \series bold
24311
24312 \backslash
24313 newcounter{MyRepeatFoot}
24314 \begin_inset Newline newline
24315 \end_inset
24316
24317
24318 \backslash
24319 setcounter{MyRepeatFoot}{
24320 \backslash
24321 thefootnote}
24322 \end_layout
24323
24324 \begin_layout Standard
24325 The footnote mark was then created with this command:
24326 \end_layout
24327
24328 \begin_layout Standard
24329
24330 \series bold
24331
24332 \backslash
24333 footnotemark[
24334 \backslash
24335 theMyRepeatFoot]
24336 \end_layout
24337
24338 \begin_layout Standard
24339 Here is an example footnote mark:
24340 \family roman
24341 \series medium
24342 \bar no
24343
24344 \begin_inset ERT
24345 status collapsed
24346
24347 \begin_layout Plain Layout
24348
24349
24350 \backslash
24351 footnotemark[
24352 \backslash
24353 theMyRepeatFoot]
24354 \end_layout
24355
24356 \end_inset
24357
24358
24359 \end_layout
24360
24361 \begin_layout Subsection
24362 Footnote Numbering
24363 \begin_inset CommandInset label
24364 LatexCommand label
24365 name "sub:Footnote-Numbering"
24366
24367 \end_inset
24368
24369
24370 \begin_inset Index
24371 status collapsed
24372
24373 \begin_layout Plain Layout
24374 Footnotes ! Numbering
24375 \end_layout
24376
24377 \end_inset
24378
24379
24380 \end_layout
24381
24382 \begin_layout Standard
24383 To reset the footnote number back to 1 after each section
24384 \family roman
24385 , add this command to your document preamble:
24386 \end_layout
24387
24388 \begin_layout Standard
24389
24390 \series bold
24391
24392 \backslash
24393 @addtoreset{footnote}{section}
24394 \end_layout
24395
24396 \begin_layout Standard
24397 \begin_inset VSpace bigskip
24398 \end_inset
24399
24400 The following preamble command changes the footnote numbering style to small
24401  roman numerals:
24402 \end_layout
24403
24404 \begin_layout Standard
24405
24406 \series bold
24407
24408 \backslash
24409 renewcommand{
24410 \backslash
24411 thefootnote}{
24412 \backslash
24413 roman{footnote}}
24414 \end_layout
24415
24416 \begin_layout Standard
24417 \begin_inset ERT
24418 status collapsed
24419
24420 \begin_layout Plain Layout
24421
24422
24423 \backslash
24424 renewcommand{
24425 \backslash
24426 thefootnote}{
24427 \backslash
24428 roman{footnote}}
24429 \end_layout
24430
24431 \end_inset
24432
24433  This is a footnote with roman numbering:
24434 \begin_inset Foot
24435 status open
24436
24437 \begin_layout Plain Layout
24438 This is an example footnote with roman numbering.
24439 \end_layout
24440
24441 \end_inset
24442
24443
24444 \end_layout
24445
24446 \begin_layout Standard
24447 To change the numbering style to capital roman numerals replace in the command
24448  above 
24449 \series bold
24450
24451 \backslash
24452 roman
24453 \series default
24454  by 
24455 \series bold
24456
24457 \backslash
24458 Roman
24459 \series default
24460 .
24461  To 
24462 \begin_inset Quotes eld
24463 \end_inset
24464
24465 number
24466 \begin_inset Quotes erd
24467 \end_inset
24468
24469  footnotes with capital or small Latin letters use 
24470 \series bold
24471
24472 \backslash
24473 Alph
24474 \series default
24475  or 
24476 \series bold
24477
24478 \backslash
24479 alph
24480 \series default
24481 , respectively.
24482  To 
24483 \begin_inset Quotes eld
24484 \end_inset
24485
24486 number
24487 \begin_inset Quotes erd
24488 \end_inset
24489
24490  footnotes with symbols use 
24491 \series bold
24492
24493 \backslash
24494 fnsymbol
24495 \series default
24496 .
24497 \end_layout
24498
24499 \begin_layout Standard
24500 \begin_inset Note Greyedout
24501 status open
24502
24503 \begin_layout Plain Layout
24504
24505 \series bold
24506 Note:
24507 \series default
24508  You can only number 26 footnotes with Latin letters, because this numbering
24509  is limited to single letters.
24510 \end_layout
24511
24512 \end_inset
24513
24514
24515 \begin_inset Newline newline
24516 \end_inset
24517
24518
24519 \begin_inset Note Greyedout
24520 status open
24521
24522 \begin_layout Plain Layout
24523
24524 \series bold
24525 Note:
24526 \series default
24527  You can only number 9 footnotes with symbols.
24528 \end_layout
24529
24530 \end_inset
24531
24532
24533 \end_layout
24534
24535 \begin_layout Standard
24536 To return to the default numbering style when you changed to another one,
24537  use 
24538 \series bold
24539
24540 \backslash
24541 arabic
24542 \series default
24543  instead of 
24544 \series bold
24545
24546 \backslash
24547 roman
24548 \series default
24549  in the command above.
24550 \begin_inset ERT
24551 status collapsed
24552
24553 \begin_layout Plain Layout
24554
24555
24556 \backslash
24557 renewcommand{
24558 \backslash
24559 thefootnote}{
24560 \backslash
24561 arabic{footnote}}
24562 \end_layout
24563
24564 \end_inset
24565
24566
24567 \end_layout
24568
24569 \begin_layout Standard
24570 \begin_inset VSpace bigskip
24571 \end_inset
24572
24573
24574 \end_layout
24575
24576 \begin_layout Standard
24577 If you want to have footnotes numbered in the scheme 
24578 \begin_inset Quotes eld
24579 \end_inset
24580
24581 chapter.footnote
24582 \begin_inset Quotes erd
24583 \end_inset
24584
24585 , add the following command to your document preamble:
24586 \end_layout
24587
24588 \begin_layout Standard
24589
24590 \series bold
24591
24592 \backslash
24593 numberwithin{footnote}{chapter}
24594 \end_layout
24595
24596 \begin_layout Standard
24597 To be able to use the command 
24598 \series bold
24599
24600 \backslash
24601 numberwithin
24602 \series default
24603 , set in the tab 
24604 \family sans
24605 Math
24606 \begin_inset Space ~
24607 \end_inset
24608
24609 Options
24610 \family default
24611  in the document settings the option 
24612 \family sans
24613 Use
24614 \begin_inset Space ~
24615 \end_inset
24616
24617 AMS
24618 \begin_inset Space ~
24619 \end_inset
24620
24621 math
24622 \begin_inset Space ~
24623 \end_inset
24624
24625 package
24626 \family default
24627 .
24628 \end_layout
24629
24630 \begin_layout Standard
24631 \begin_inset ERT
24632 status collapsed
24633
24634 \begin_layout Plain Layout
24635
24636
24637 \backslash
24638 numberwithin{footnote}{chapter}
24639 \end_layout
24640
24641 \end_inset
24642
24643 This is another example footnote:
24644 \series bold
24645
24646 \begin_inset Foot
24647 status open
24648
24649 \begin_layout Plain Layout
24650 This is a footnote numbered in the scheme 
24651 \begin_inset Quotes eld
24652 \end_inset
24653
24654 chapter.footnote
24655 \begin_inset Quotes erd
24656 \end_inset
24657
24658 .
24659 \end_layout
24660
24661 \end_inset
24662
24663
24664 \series default
24665
24666 \begin_inset ERT
24667 status collapsed
24668
24669 \begin_layout Plain Layout
24670
24671
24672 \backslash
24673 renewcommand{
24674 \backslash
24675 thefootnote}{
24676 \backslash
24677 arabic{footnote}}
24678 \end_layout
24679
24680 \end_inset
24681
24682
24683 \end_layout
24684
24685 \begin_layout Standard
24686 \begin_inset Note Greyedout
24687 status open
24688
24689 \begin_layout Plain Layout
24690
24691 \series bold
24692 Note:
24693 \series default
24694  
24695 \series bold
24696
24697 \backslash
24698 numberwithin
24699 \series default
24700  always prints out the footnote number as arabic number; previous redefinitions
24701  to get non-arabic numbers are overwritten.
24702 \end_layout
24703
24704 \end_inset
24705
24706
24707 \end_layout
24708
24709 \begin_layout Standard
24710 So to get for example the scheme 
24711 \begin_inset Quotes eld
24712 \end_inset
24713
24714 chapter.
24715 \backslash
24716 Roman{footnote}
24717 \begin_inset Quotes erd
24718 \end_inset
24719
24720 , use this command instead of 
24721 \series bold
24722
24723 \backslash
24724 numberwithin
24725 \series default
24726 :
24727 \end_layout
24728
24729 \begin_layout Standard
24730
24731 \series bold
24732
24733 \backslash
24734 renewcommand{
24735 \backslash
24736 thefootnote}{
24737 \backslash
24738 thechapter.
24739 \backslash
24740 Roman{footnote}}
24741 \end_layout
24742
24743 \begin_layout Subsection
24744 Footnote Placement
24745 \begin_inset Index
24746 status collapsed
24747
24748 \begin_layout Plain Layout
24749 Footnotes ! Placement
24750 \end_layout
24751
24752 \end_inset
24753
24754
24755 \end_layout
24756
24757 \begin_layout Standard
24758 If you have several footnotes in one page, they appear without vertical
24759  space between them at the bottom of the page.
24760  To make them better readable you can e.
24761 \begin_inset Space \thinspace{}
24762 \end_inset
24763
24764 g.
24765 \begin_inset Space ~
24766 \end_inset
24767
24768 add 1.5
24769 \begin_inset Space \thinspace{}
24770 \end_inset
24771
24772 mm space with the following preamble command:
24773 \end_layout
24774
24775 \begin_layout Standard
24776
24777 \series bold
24778
24779 \backslash
24780 let
24781 \backslash
24782 myFoot
24783 \backslash
24784 footnote
24785 \begin_inset Newline newline
24786 \end_inset
24787
24788
24789 \backslash
24790 renewcommand{
24791 \backslash
24792 footnote}[1]{
24793 \backslash
24794 myFoot{#1
24795 \backslash
24796 vspace{1.5mm}}}
24797 \end_layout
24798
24799 \begin_layout Standard
24800 \begin_inset VSpace bigskip
24801 \end_inset
24802
24803 In a two-column document the footnotes appear at the bottom of every column,
24804  see Figure
24805 \begin_inset Space ~
24806 \end_inset
24807
24808
24809 \begin_inset CommandInset ref
24810 LatexCommand ref
24811 reference "fig:Standard-footnote-placement"
24812
24813 \end_inset
24814
24815 .
24816  If the footnotes should only appear at the bottom of the right column,
24817  as in Figure
24818 \begin_inset Space ~
24819 \end_inset
24820
24821
24822 \begin_inset CommandInset ref
24823 LatexCommand ref
24824 reference "fig:Footnote-placement-in"
24825
24826 \end_inset
24827
24828 , use the LaTeX-package 
24829 \series bold
24830 ftnright
24831 \series default
24832
24833 \begin_inset Index
24834 status collapsed
24835
24836 \begin_layout Plain Layout
24837 LaTeX-packages ! ftnright
24838 \end_layout
24839
24840 \end_inset
24841
24842  with this command in the document preamble:
24843 \end_layout
24844
24845 \begin_layout Standard
24846
24847 \series bold
24848
24849 \backslash
24850 usepackage{ftnright}
24851 \end_layout
24852
24853 \begin_layout Standard
24854 \begin_inset Float figure
24855 placement !h
24856 wide false
24857 sideways false
24858 status open
24859
24860 \begin_layout Plain Layout
24861 \begin_inset ERT
24862 status collapsed
24863
24864 \begin_layout Plain Layout
24865
24866
24867 \backslash
24868 framebox{
24869 \end_layout
24870
24871 \end_inset
24872
24873
24874 \begin_inset Graphics
24875         filename clipart/without_fntright.pdf
24876         width 100col%
24877         scaleBeforeRotation
24878
24879 \end_inset
24880
24881
24882 \begin_inset ERT
24883 status collapsed
24884
24885 \begin_layout Plain Layout
24886
24887 }
24888 \end_layout
24889
24890 \end_inset
24891
24892
24893 \end_layout
24894
24895 \begin_layout Plain Layout
24896 \begin_inset Caption
24897
24898 \begin_layout Plain Layout
24899 \begin_inset CommandInset label
24900 LatexCommand label
24901 name "fig:Standard-footnote-placement"
24902
24903 \end_inset
24904
24905 Standard footnote placement in two-column documents.
24906 \end_layout
24907
24908 \end_inset
24909
24910
24911 \end_layout
24912
24913 \end_inset
24914
24915
24916 \end_layout
24917
24918 \begin_layout Standard
24919 \begin_inset Float figure
24920 placement !h
24921 wide false
24922 sideways false
24923 status open
24924
24925 \begin_layout Plain Layout
24926 \begin_inset ERT
24927 status collapsed
24928
24929 \begin_layout Plain Layout
24930
24931
24932 \backslash
24933 framebox{
24934 \end_layout
24935
24936 \end_inset
24937
24938
24939 \begin_inset Graphics
24940         filename clipart/with_fntright.pdf
24941         width 100col%
24942         scaleBeforeRotation
24943
24944 \end_inset
24945
24946
24947 \begin_inset ERT
24948 status collapsed
24949
24950 \begin_layout Plain Layout
24951
24952 }
24953 \end_layout
24954
24955 \end_inset
24956
24957
24958 \end_layout
24959
24960 \begin_layout Plain Layout
24961 \begin_inset Caption
24962
24963 \begin_layout Plain Layout
24964 \begin_inset CommandInset label
24965 LatexCommand label
24966 name "fig:Footnote-placement-in"
24967
24968 \end_inset
24969
24970 Footnote placement in two-column documents when the LaTeX-package 
24971 \series bold
24972 ftnright
24973 \series default
24974  is used.
24975 \end_layout
24976
24977 \end_inset
24978
24979
24980 \end_layout
24981
24982 \end_inset
24983
24984
24985 \end_layout
24986
24987 \begin_layout Standard
24988 \begin_inset VSpace bigskip
24989 \end_inset
24990
24991 In some scientific literature it is usual to collect the footnotes and print
24992  them in a separate paragraph at the the end of a section, like in Figure
24993 \begin_inset Space ~
24994 \end_inset
24995
24996
24997 \begin_inset CommandInset ref
24998 LatexCommand ref
24999 reference "fig:Endnotes----footnotes"
25000
25001 \end_inset
25002
25003 .
25004  They are then so called 
25005 \begin_inset Quotes eld
25006 \end_inset
25007
25008 endnotes
25009 \begin_inset Quotes erd
25010 \end_inset
25011
25012 .
25013 \begin_inset Index
25014 status collapsed
25015
25016 \begin_layout Plain Layout
25017 Endnotes
25018 \end_layout
25019
25020 \end_inset
25021
25022  To use endnotes instead of footnotes in your document, load the LaTeX-package
25023  
25024 \series bold
25025 endnotes
25026 \series default
25027
25028 \begin_inset Index
25029 status collapsed
25030
25031 \begin_layout Plain Layout
25032 LaTeX-packages ! endnotes
25033 \end_layout
25034
25035 \end_inset
25036
25037  with the document preamble lines
25038 \end_layout
25039
25040 \begin_layout Standard
25041
25042 \series bold
25043
25044 \backslash
25045 usepackage{endnotes}
25046 \begin_inset Newline newline
25047 \end_inset
25048
25049
25050 \backslash
25051 let
25052 \backslash
25053 footnote
25054 \backslash
25055 endnote
25056 \end_layout
25057
25058 \begin_layout Standard
25059 To insert the collected footnotes, insert the command
25060 \end_layout
25061
25062 \begin_layout Standard
25063
25064 \series bold
25065
25066 \backslash
25067 theendnotes
25068 \end_layout
25069
25070 \begin_layout Standard
25071 in TeX-Code at the the end of a section or chapter.
25072 \end_layout
25073
25074 \begin_layout Standard
25075 \begin_inset Float figure
25076 wide false
25077 sideways false
25078 status open
25079
25080 \begin_layout Plain Layout
25081 \align center
25082 \begin_inset ERT
25083 status collapsed
25084
25085 \begin_layout Plain Layout
25086
25087
25088 \backslash
25089 framebox{
25090 \end_layout
25091
25092 \end_inset
25093
25094
25095 \begin_inset Graphics
25096         filename clipart/endnotes.pdf
25097         scaleBeforeRotation
25098
25099 \end_inset
25100
25101
25102 \begin_inset ERT
25103 status collapsed
25104
25105 \begin_layout Plain Layout
25106
25107 }
25108 \end_layout
25109
25110 \end_inset
25111
25112
25113 \end_layout
25114
25115 \begin_layout Plain Layout
25116 \begin_inset Caption
25117
25118 \begin_layout Plain Layout
25119 \begin_inset CommandInset label
25120 LatexCommand label
25121 name "fig:Endnotes----footnotes"
25122
25123 \end_inset
25124
25125 Endnotes -- footnotes are printed in a separate paragraph at the end of
25126  sections or chapters.
25127 \end_layout
25128
25129 \end_inset
25130
25131
25132 \end_layout
25133
25134 \end_inset
25135
25136
25137 \end_layout
25138
25139 \begin_layout Standard
25140 \begin_inset VSpace medskip
25141 \end_inset
25142
25143 The paragraph heading for the endnotes isn't automatically translated into
25144  the document language, this must be done manually.
25145  The following preamble command translate the default English name 
25146 \begin_inset Quotes eld
25147 \end_inset
25148
25149 Notes
25150 \begin_inset Quotes erd
25151 \end_inset
25152
25153  to the German translation 
25154 \begin_inset Quotes eld
25155 \end_inset
25156
25157 Anmerkungen
25158 \begin_inset Quotes erd
25159 \end_inset
25160
25161 :
25162 \end_layout
25163
25164 \begin_layout Standard
25165
25166 \series bold
25167
25168 \backslash
25169 renewcommand{
25170 \backslash
25171 notesname}{Anmerkungen}
25172 \end_layout
25173
25174 \begin_layout Standard
25175 \begin_inset VSpace medskip
25176 \end_inset
25177
25178 The numbering of endnotes can be changed like the footnote numbering as
25179  described in section
25180 \begin_inset Space ~
25181 \end_inset
25182
25183
25184 \begin_inset CommandInset ref
25185 LatexCommand ref
25186 reference "sub:Footnote-Numbering"
25187
25188 \end_inset
25189
25190 ; just replace the command 
25191 \series bold
25192
25193 \backslash
25194 thefootnote
25195 \series default
25196  by 
25197 \series bold
25198
25199 \backslash
25200 theendnote
25201 \series default
25202 .
25203  To reset the endnote number use the command 
25204 \series bold
25205
25206 \backslash
25207 @addtoreset
25208 \series default
25209  as described in section
25210 \begin_inset Space ~
25211 \end_inset
25212
25213
25214 \begin_inset CommandInset ref
25215 LatexCommand ref
25216 reference "sub:Footnote-Numbering"
25217
25218 \end_inset
25219
25220  and replace the command parameter 
25221 \series bold
25222 footnote
25223 \series default
25224  by 
25225 \series bold
25226 endnote
25227 \series default
25228 .
25229 \end_layout
25230
25231 \begin_layout Standard
25232 To create only a mark for an endnote, use the command 
25233 \series bold
25234
25235 \backslash
25236 endnotemark[number]
25237 \series default
25238  similar to the command 
25239 \series bold
25240
25241 \backslash
25242 footnotemark
25243 \series default
25244 , described in section
25245 \begin_inset Space ~
25246 \end_inset
25247
25248
25249 \begin_inset CommandInset ref
25250 LatexCommand ref
25251 reference "sec:Footnotes"
25252
25253 \end_inset
25254
25255 .
25256 \end_layout
25257
25258 \begin_layout Standard
25259 \begin_inset VSpace bigskip
25260 \end_inset
25261
25262 Footnotes can also be placed in the page margin and the footnote text alignment
25263  can be changed, see the LaTeX-package 
25264 \series bold
25265 footmisc
25266 \series default
25267
25268 \begin_inset Index
25269 status collapsed
25270
25271 \begin_layout Plain Layout
25272 LaTeX-packages ! footmisc
25273 \end_layout
25274
25275 \end_inset
25276
25277
25278 \begin_inset CommandInset citation
25279 LatexCommand cite
25280 key "footmisc"
25281
25282 \end_inset
25283
25284  for more information about this.
25285 \end_layout
25286
25287 \begin_layout Standard
25288 For various further footnote formatting issues have a look at LaTeX-books,
25289  
25290 \begin_inset CommandInset citation
25291 LatexCommand cite
25292 key "latexcompanion,latexguide,latexbook"
25293
25294 \end_inset
25295
25296 .
25297 \end_layout
25298
25299 \begin_layout Section
25300 Margin Notes
25301 \begin_inset Index
25302 status collapsed
25303
25304 \begin_layout Plain Layout
25305 Notes ! Margin Notes
25306 \end_layout
25307
25308 \end_inset
25309
25310
25311 \end_layout
25312
25313 \begin_layout Standard
25314 Margin notes look and behave in LyX like footnotes.
25315  They are inserted via the menu 
25316 \family sans
25317 Insert\SpecialChar \menuseparator
25318 Marginal
25319 \begin_inset Space ~
25320 \end_inset
25321
25322 Note
25323 \family default
25324  or the toolbar button 
25325 \begin_inset Graphics
25326         filename ../images/marginalnote-insert.png
25327         scale 85
25328         scaleBeforeRotation
25329
25330 \end_inset
25331
25332 .
25333  A grey 
25334 \family roman
25335 \series medium
25336 box with the
25337 \family default
25338 \series default
25339  red 
25340 \family roman
25341 \series medium
25342 label 
25343 \begin_inset Quotes eld
25344 \end_inset
25345
25346 margin
25347 \begin_inset Quotes erd
25348 \end_inset
25349
25350  appears where you can enter the text of the margin note.
25351 \end_layout
25352
25353 \begin_layout Standard
25354 At the side is an example margin note.
25355
25356 \family roman
25357 \series medium
25358  
25359 \begin_inset Marginal
25360 status open
25361
25362 \begin_layout Plain Layout
25363 This is a margin note.
25364 \end_layout
25365
25366 \end_inset
25367
25368
25369 \end_layout
25370
25371 \begin_layout Standard
25372 Margin notes appear at the right side in single-sided documents.
25373  In double-sided documents they appear in the outer margin -- left on even
25374  pages, right on odd pages.
25375  The text of margin notes is aligned opposite to the outer margin -- right-align
25376 ed when the note appears in the left margin.
25377  The first line of the margin note is placed at the position of the text
25378  line where it is inserted in the document.
25379 \end_layout
25380
25381 \begin_layout Standard
25382 \begin_inset VSpace bigskip
25383 \end_inset
25384
25385 To place the margin note in the inner margin, add the command
25386 \end_layout
25387
25388 \begin_layout Standard
25389
25390 \series bold
25391
25392 \backslash
25393 reversemarginpar
25394 \end_layout
25395
25396 \begin_layout Standard
25397 in TeX-Code before a margin note.
25398  The new placement is valid for all following margin notes.
25399  
25400 \begin_inset ERT
25401 status collapsed
25402
25403 \begin_layout Plain Layout
25404
25405
25406 \backslash
25407 reversemarginpar 
25408 \end_layout
25409
25410 \end_inset
25411
25412
25413 \begin_inset Marginal
25414 status open
25415
25416 \begin_layout Plain Layout
25417 This is a margin note in the inner margin.
25418 \end_layout
25419
25420 \end_inset
25421
25422
25423 \series bold
25424
25425 \begin_inset Newline newline
25426 \end_inset
25427
25428
25429 \series default
25430
25431 \begin_inset Note Greyedout
25432 status open
25433
25434 \begin_layout Plain Layout
25435
25436 \series bold
25437 Note:
25438 \series default
25439  There is often not enough space in the inner margin so that the notes are
25440  not correctly displayed in the output.
25441 \end_layout
25442
25443 \end_inset
25444
25445
25446 \end_layout
25447
25448 \begin_layout Standard
25449 To return to the default placement insert the command
25450 \end_layout
25451
25452 \begin_layout Standard
25453
25454 \series bold
25455
25456 \backslash
25457 normalmarginpar
25458 \end_layout
25459
25460 \begin_layout Standard
25461 in TeX-Code.
25462 \begin_inset ERT
25463 status collapsed
25464
25465 \begin_layout Plain Layout
25466
25467
25468 \backslash
25469 normalmarginpar 
25470 \end_layout
25471
25472 \end_inset
25473
25474  
25475 \begin_inset Note Greyedout
25476 status open
25477
25478 \begin_layout Plain Layout
25479
25480 \series bold
25481 Note:
25482 \series default
25483  The command is ignored when it is within a paragraph where also the command
25484  
25485 \series bold
25486
25487 \backslash
25488 reversemarginpar
25489 \series default
25490  is inserted.
25491 \end_layout
25492
25493 \end_inset
25494
25495
25496 \end_layout
25497
25498 \begin_layout Standard
25499 \begin_inset VSpace bigskip
25500 \end_inset
25501
25502
25503 \family roman
25504 \series medium
25505
25506 \begin_inset Marginal
25507 status open
25508
25509 \begin_layout Plain Layout
25510 AVeryLongMarginParWord that isn't hyphenated.
25511 \end_layout
25512
25513 \end_inset
25514
25515
25516 \family default
25517 \series default
25518  Similar to the case described in section
25519 \begin_inset Space ~
25520 \end_inset
25521
25522
25523 \begin_inset CommandInset ref
25524 LatexCommand ref
25525 reference "sub:Multiple-Lines-in"
25526
25527 \end_inset
25528
25529 , long words cannot be hyphenated when they are the first word in a margin
25530  note.
25531  To avoid this, insert 0
25532 \begin_inset Space \thinspace{}
25533 \end_inset
25534
25535 pt horizontal space before the word
25536 \family roman
25537 \series medium
25538 .
25539  
25540 \begin_inset Marginal
25541 status open
25542
25543 \begin_layout Plain Layout
25544 \begin_inset Space \hspace*{}
25545 \length 0pt
25546 \end_inset
25547
25548 AVeryLongMarginParWord that is hyphenated.
25549 \end_layout
25550
25551 \end_inset
25552
25553
25554 \end_layout
25555
25556 \begin_layout Standard
25557 \begin_inset VSpace bigskip
25558 \end_inset
25559
25560
25561 \end_layout
25562
25563 \begin_layout Standard
25564 \begin_inset Note Greyedout
25565 status open
25566
25567 \begin_layout Plain Layout
25568
25569 \series bold
25570 Note:
25571 \series default
25572  Margin notes can normally not be used inside tables, floats, and footnotes.
25573 \end_layout
25574
25575 \end_inset
25576
25577
25578 \end_layout
25579
25580 \begin_layout Standard
25581 \begin_inset VSpace bigskip
25582 \end_inset
25583
25584
25585 \end_layout
25586
25587 \begin_layout Standard
25588 \begin_inset ERT
25589 status collapsed
25590
25591 \begin_layout Plain Layout
25592
25593
25594 \backslash
25595 ifmarginnote
25596 \end_layout
25597
25598 \end_inset
25599
25600
25601 \begin_inset Note Note
25602 status open
25603
25604 \begin_layout Plain Layout
25605 The following section will only be displayed when the LaTeX-package 
25606 \series bold
25607 marginnote
25608 \series default
25609  is installed.
25610 \end_layout
25611
25612 \end_inset
25613
25614
25615 \end_layout
25616
25617 \begin_layout Standard
25618 This restriction can be evaded by using the LaTeX-package 
25619 \series bold
25620 marginnote
25621 \series default
25622
25623 \begin_inset Index
25624 status collapsed
25625
25626 \begin_layout Plain Layout
25627 LaTeX-packages ! marginnote
25628 \end_layout
25629
25630 \end_inset
25631
25632 .
25633  By adding these two lines to your document preamble, the command used by
25634  LyX for margin notes is redefined to use the command provided by the 
25635 \series bold
25636 marginnote
25637 \series default
25638 -package:
25639 \end_layout
25640
25641 \begin_layout Standard
25642
25643 \series bold
25644
25645 \backslash
25646 usepackage{marginnote}
25647 \begin_inset Newline newline
25648 \end_inset
25649
25650
25651 \backslash
25652 let
25653 \backslash
25654 marginpar
25655 \backslash
25656 marginnote
25657 \end_layout
25658
25659 \begin_layout Standard
25660 This is also used in this document because 
25661 \series bold
25662 marginnote
25663 \series default
25664  has another useful feature: You can set a vertical offset for the note.
25665  This is often needed when too many margin notes are too close together
25666  or for a better page layout.
25667  The offset is set in LyX as TeX-Code directly behind the margin note in
25668  the scheme
25669 \end_layout
25670
25671 \begin_layout Standard
25672
25673 \series bold
25674 [offset]
25675 \end_layout
25676
25677 \begin_layout Standard
25678 where the offset is a length with one of the units listed in Table
25679 \begin_inset Space ~
25680 \end_inset
25681
25682
25683 \begin_inset CommandInset ref
25684 LatexCommand ref
25685 reference "tab:Units"
25686
25687 \end_inset
25688
25689 .
25690  A negative value shifts the note up, a positive value shifts it down.
25691  
25692 \family roman
25693 \series medium
25694 For example the margin note beside this text line is shifted up 1.5
25695 \begin_inset Space \thinspace{}
25696 \end_inset
25697
25698 cm with the TeX-Code-command 
25699 \begin_inset Quotes eld
25700 \end_inset
25701
25702
25703 \family default
25704 \series bold
25705 [-1.5cm]
25706 \family roman
25707 \series medium
25708
25709 \begin_inset Quotes erd
25710 \end_inset
25711
25712
25713 \begin_inset Marginal
25714 status open
25715
25716 \begin_layout Plain Layout
25717 This margin note is shifted up 1.5
25718 \begin_inset Space \thinspace{}
25719 \end_inset
25720
25721 cm from its original position.
25722 \end_layout
25723
25724 \end_inset
25725
25726
25727 \family default
25728 \series default
25729
25730 \begin_inset ERT
25731 status collapsed
25732
25733 \begin_layout Plain Layout
25734
25735 [-1.5cm]
25736 \end_layout
25737
25738 \end_inset
25739
25740
25741 \end_layout
25742
25743 \begin_layout Standard
25744 \begin_inset VSpace medskip
25745 \end_inset
25746
25747 With 
25748 \series bold
25749 marginnote
25750 \series default
25751  you can also change the alignment of the text in the margin note.
25752  For example the commands
25753 \end_layout
25754
25755 \begin_layout Standard
25756
25757 \series bold
25758
25759 \backslash
25760 renewcommand*{
25761 \backslash
25762 raggedleftmarginnote}{
25763 \backslash
25764 centering}
25765 \begin_inset Newline newline
25766 \end_inset
25767
25768
25769 \backslash
25770 renewcommand*{
25771 \backslash
25772 raggedrightmarginnote}{
25773 \backslash
25774 centering}
25775 \end_layout
25776
25777 \begin_layout Standard
25778 set the alignment to centered.
25779  
25780 \series bold
25781
25782 \backslash
25783 raggedleftmarginnote
25784 \series default
25785  denotes margin notes that appear at the left side.
25786 \family roman
25787 \series medium
25788
25789 \begin_inset ERT
25790 status collapsed
25791
25792 \begin_layout Plain Layout
25793
25794
25795 \backslash
25796 renewcommand*{
25797 \backslash
25798 raggedleftmarginnote}{
25799 \backslash
25800 centering}
25801 \end_layout
25802
25803 \begin_layout Plain Layout
25804
25805
25806 \backslash
25807 renewcommand*{
25808 \backslash
25809 raggedrightmarginnote}{
25810 \backslash
25811 centering}
25812 \end_layout
25813
25814 \end_inset
25815
25816
25817 \begin_inset Marginal
25818 status open
25819
25820 \begin_layout Plain Layout
25821 The text of this margin note is centered.
25822 \end_layout
25823
25824 \end_inset
25825
25826
25827 \family default
25828 \series default
25829  The default is
25830 \end_layout
25831
25832 \begin_layout Standard
25833
25834 \series bold
25835
25836 \backslash
25837 renewcommand*{
25838 \backslash
25839 raggedleftmarginnote}{
25840 \backslash
25841 raggedleft}
25842 \begin_inset Newline newline
25843 \end_inset
25844
25845
25846 \backslash
25847 renewcommand*{
25848 \backslash
25849 raggedrightmarginnote}{
25850 \backslash
25851 raggedright}
25852 \family roman
25853 \series medium
25854
25855 \begin_inset ERT
25856 status collapsed
25857
25858 \begin_layout Plain Layout
25859
25860
25861 \backslash
25862 renewcommand*{
25863 \backslash
25864 raggedleftmarginnote}{
25865 \backslash
25866 raggedleft}
25867 \end_layout
25868
25869 \begin_layout Plain Layout
25870
25871
25872 \backslash
25873 renewcommand*{
25874 \backslash
25875 raggedrightmarginnote}{
25876 \backslash
25877 raggedright}
25878 \end_layout
25879
25880 \end_inset
25881
25882
25883 \end_layout
25884
25885 \begin_layout Standard
25886 \begin_inset VSpace medskip
25887 \end_inset
25888
25889 For the other features of 
25890 \series bold
25891 marginnote
25892 \series default
25893  we refer to its documentation 
25894 \begin_inset CommandInset citation
25895 LatexCommand cite
25896 key "marginnote"
25897
25898 \end_inset
25899
25900 .
25901 \end_layout
25902
25903 \begin_layout Standard
25904 \begin_inset VSpace bigskip
25905 \end_inset
25906
25907 You can adjust the layout of margin notes by changing its definition.
25908  To create for example a header for all margin notes with the underlined,
25909  sans-serif, and bold header text 
25910 \begin_inset Quotes eld
25911 \end_inset
25912
25913
25914 \family sans
25915 \series bold
25916 \bar under
25917 Attention!
25918 \family default
25919 \series default
25920 \bar default
25921
25922 \begin_inset Quotes erd
25923 \end_inset
25924
25925 , add this to your document preamble:
25926 \end_layout
25927
25928 \begin_layout Standard
25929
25930 \series bold
25931
25932 \backslash
25933 let
25934 \backslash
25935 myMarginpar
25936 \backslash
25937 marginpar
25938 \begin_inset Newline newline
25939 \end_inset
25940
25941
25942 \backslash
25943 renewcommand{
25944 \backslash
25945 marginpar}[1]{
25946 \backslash
25947 myMarginpar{%
25948 \begin_inset Newline newline
25949 \end_inset
25950
25951
25952 \begin_inset ERT
25953 status collapsed
25954
25955 \begin_layout Plain Layout
25956
25957
25958 \backslash
25959 hphantom{ }
25960 \end_layout
25961
25962 \end_inset
25963
25964
25965 \backslash
25966 hspace{0pt}
25967 \backslash
25968 textsf{
25969 \backslash
25970 textbf{
25971 \backslash
25972 underbar{Attention!}}}%
25973 \begin_inset Newline newline
25974 \end_inset
25975
25976
25977 \begin_inset ERT
25978 status collapsed
25979
25980 \begin_layout Plain Layout
25981
25982
25983 \backslash
25984 hphantom{ }
25985 \end_layout
25986
25987 \end_inset
25988
25989
25990 \backslash
25991 vspace{1.5mm}
25992 \backslash
25993
25994 \backslash
25995 #1}}
25996 \end_layout
25997
25998 \begin_layout Standard
25999
26000 \family roman
26001 \series medium
26002 \begin_inset ERT
26003 status collapsed
26004
26005 \begin_layout Plain Layout
26006
26007
26008 \backslash
26009 let
26010 \backslash
26011 myMarginpar
26012 \backslash
26013 marginpar
26014 \end_layout
26015
26016 \begin_layout Plain Layout
26017
26018
26019 \backslash
26020 renewcommand{
26021 \backslash
26022 marginpar}[1]{
26023 \backslash
26024 myMarginpar{%
26025 \end_layout
26026
26027 \begin_layout Plain Layout
26028
26029    
26030 \backslash
26031 textsf{
26032 \backslash
26033 textbf{
26034 \backslash
26035 underbar{Attention!}}}%
26036 \end_layout
26037
26038 \begin_layout Plain Layout
26039
26040    
26041 \backslash
26042 vspace{1.5mm}
26043 \backslash
26044
26045 \backslash
26046 #1}}
26047 \end_layout
26048
26049 \end_inset
26050
26051
26052 \begin_inset Marginal
26053 status open
26054
26055 \begin_layout Plain Layout
26056 This is a margin note with a defined heading.
26057 \end_layout
26058
26059 \end_inset
26060
26061
26062 \family default
26063 \series default
26064
26065 \begin_inset ERT
26066 status collapsed
26067
26068 \begin_layout Plain Layout
26069
26070 [-1.5cm]
26071 \end_layout
26072
26073 \end_inset
26074
26075
26076 \family roman
26077 \series medium
26078
26079 \begin_inset ERT
26080 status collapsed
26081
26082 \begin_layout Plain Layout
26083
26084
26085 \backslash
26086 renewcommand{
26087 \backslash
26088 marginpar}[1]{
26089 \backslash
26090 myMarginpar{#1}}
26091 \end_layout
26092
26093 \end_inset
26094
26095
26096 \family default
26097 \series default
26098
26099 \begin_inset Note Note
26100 status collapsed
26101
26102 \begin_layout Plain Layout
26103 The margin note format is changed only for this example.
26104 \end_layout
26105
26106 \end_inset
26107
26108
26109 \end_layout
26110
26111 \begin_layout Standard
26112 \begin_inset ERT
26113 status collapsed
26114
26115 \begin_layout Plain Layout
26116
26117
26118 \backslash
26119 else
26120 \end_layout
26121
26122 \end_inset
26123
26124
26125 \begin_inset Note Note
26126 status open
26127
26128 \begin_layout Plain Layout
26129 The following will be displayed when the LaTeX-package 
26130 \series bold
26131 marginnote
26132 \series default
26133  is not installed:
26134 \end_layout
26135
26136 \end_inset
26137
26138
26139 \end_layout
26140
26141 \begin_layout Standard
26142 You need to install the LaTeX-package 
26143 \series bold
26144 marginnote
26145 \series default
26146  to see the following part of this section in the output.
26147 \end_layout
26148
26149 \begin_layout Standard
26150 \begin_inset ERT
26151 status collapsed
26152
26153 \begin_layout Plain Layout
26154
26155
26156 \backslash
26157 fi
26158 \end_layout
26159
26160 \end_inset
26161
26162
26163 \end_layout
26164
26165 \begin_layout Chapter
26166 Boxes
26167 \end_layout
26168
26169 \begin_layout Section
26170 Introduction
26171 \begin_inset Index
26172 status collapsed
26173
26174 \begin_layout Plain Layout
26175 Boxes ! Introduction
26176 \end_layout
26177
26178 \end_inset
26179
26180
26181 \end_layout
26182
26183 \begin_layout Standard
26184 Boxes are used to format a block of text.
26185  Boxes can be used to write documents with multiple languages, see section
26186 \begin_inset Space ~
26187 \end_inset
26188
26189
26190 \begin_inset CommandInset ref
26191 LatexCommand ref
26192 reference "sec:Minipages"
26193
26194 \end_inset
26195
26196 , to frame texts, see section
26197 \begin_inset Space ~
26198 \end_inset
26199
26200
26201 \begin_inset CommandInset ref
26202 LatexCommand ref
26203 reference "sec:Framed-Boxes"
26204
26205 \end_inset
26206
26207 , to prevent words to be hyphenated, see section
26208 \begin_inset Space ~
26209 \end_inset
26210
26211
26212 \begin_inset CommandInset ref
26213 LatexCommand ref
26214 reference "sec:Prevent-Hyphenation"
26215
26216 \end_inset
26217
26218 , to align text, see section
26219 \begin_inset Space ~
26220 \end_inset
26221
26222
26223 \begin_inset CommandInset ref
26224 LatexCommand ref
26225 reference "sub:Vertical-Alignment"
26226
26227 \end_inset
26228
26229 , or to set the background color of texts, see section
26230 \begin_inset Space ~
26231 \end_inset
26232
26233
26234 \begin_inset CommandInset ref
26235 LatexCommand ref
26236 reference "sec:Colored-Boxes"
26237
26238 \end_inset
26239
26240 .
26241 \end_layout
26242
26243 \begin_layout Standard
26244 Boxes can be inserted with the menu 
26245 \family sans
26246 Insert\SpecialChar \menuseparator
26247 Box
26248 \family default
26249  or the toolbar button 
26250 \begin_inset Graphics
26251         filename ../images/box-insert.png
26252         scale 85
26253         scaleBeforeRotation
26254
26255 \end_inset
26256
26257 .
26258  A grey box with the label 
26259 \family sans
26260 Box (Minipage)
26261 \family default
26262
26263 \begin_inset Graphics
26264         filename clipart/BoxInsetDefaultQt4.png
26265         scale 85
26266         scaleBeforeRotation
26267
26268 \end_inset
26269
26270 , will be inserted.
26271  The box type can be specified by right-clicking on the box.
26272  The appearing box dialog offers the 
26273 \family sans
26274 Inner
26275 \begin_inset Space ~
26276 \end_inset
26277
26278 Box
26279 \family default
26280  types 
26281 \family sans
26282 Parbox
26283 \family default
26284  and 
26285 \family sans
26286 Minipage
26287 \family default
26288 .
26289  The type 
26290 \family sans
26291 Minipage
26292 \family default
26293  is the default for new boxes and is explained in section
26294 \begin_inset Space ~
26295 \end_inset
26296
26297
26298 \begin_inset CommandInset ref
26299 LatexCommand ref
26300 reference "sec:Minipages"
26301
26302 \end_inset
26303
26304 ; the type 
26305 \family sans
26306 Parbox
26307 \family default
26308  is described in section
26309 \begin_inset Space ~
26310 \end_inset
26311
26312
26313 \begin_inset CommandInset ref
26314 LatexCommand ref
26315 reference "sec:Parboxes"
26316
26317 \end_inset
26318
26319 .
26320 \end_layout
26321
26322 \begin_layout Standard
26323 Boxes aren't numbered and can therefore not be referenced like floats or
26324  footnotes.
26325 \end_layout
26326
26327 \begin_layout Standard
26328 \begin_inset Note Greyedout
26329 status open
26330
26331 \begin_layout Plain Layout
26332
26333 \series bold
26334 Note:
26335 \series default
26336  Boxes must not be the item in an 
26337 \family sans
26338 Itemize
26339 \family default
26340  or 
26341 \family sans
26342 Description
26343 \family default
26344  environment.
26345 \end_layout
26346
26347 \end_inset
26348
26349
26350 \end_layout
26351
26352 \begin_layout Standard
26353 \begin_inset Note Greyedout
26354 status open
26355
26356 \begin_layout Plain Layout
26357
26358 \series bold
26359 Note:
26360 \series default
26361  For an unknown reason you can only set the 
26362 \family sans
26363 Inner
26364 \begin_inset Space ~
26365 \end_inset
26366
26367 Box
26368 \family default
26369  type to 
26370 \family sans
26371 None
26372 \family default
26373  when you use a framed box.
26374  Boxes without an 
26375 \family sans
26376 Inner
26377 \begin_inset Space ~
26378 \end_inset
26379
26380 Box
26381 \family default
26382  type and without frames are explained in section
26383 \begin_inset Space ~
26384 \end_inset
26385
26386
26387 \begin_inset CommandInset ref
26388 LatexCommand ref
26389 reference "sec:Prevent-Hyphenation"
26390
26391 \end_inset
26392
26393 .
26394 \end_layout
26395
26396 \end_inset
26397
26398
26399 \end_layout
26400
26401 \begin_layout Section
26402 Box Dialog
26403 \begin_inset CommandInset label
26404 LatexCommand label
26405 name "sec:Box-Dialog"
26406
26407 \end_inset
26408
26409
26410 \begin_inset Index
26411 status collapsed
26412
26413 \begin_layout Plain Layout
26414 Boxes ! Box Dialog
26415 \end_layout
26416
26417 \end_inset
26418
26419
26420 \end_layout
26421
26422 \begin_layout Subsection
26423 Size
26424 \begin_inset Index
26425 status collapsed
26426
26427 \begin_layout Plain Layout
26428 Boxes ! Size
26429 \end_layout
26430
26431 \end_inset
26432
26433
26434 \end_layout
26435
26436 \begin_layout Standard
26437 In the box dialog you can adjust the box geometry in the fields 
26438 \family sans
26439 Width
26440 \family default
26441  and 
26442 \family sans
26443 Height
26444 \family default
26445 .
26446  The available units for the geometry are explained in Table
26447 \begin_inset Space ~
26448 \end_inset
26449
26450
26451 \begin_inset CommandInset ref
26452 LatexCommand ref
26453 reference "tab:Units"
26454
26455 \end_inset
26456
26457 .
26458  The field 
26459 \family sans
26460 Heigth
26461 \family default
26462  offers the following additional sizes:
26463 \end_layout
26464
26465 \begin_layout Description
26466 Depth This is the plain text 
26467 \begin_inset Quotes eld
26468 \end_inset
26469
26470 height
26471 \begin_inset Quotes erd
26472 \end_inset
26473
26474 .
26475  It ignores the total depth when there are multiple text lines in the box:
26476 \begin_inset Newline newline
26477 \end_inset
26478
26479
26480 \begin_inset Newline newline
26481 \end_inset
26482
26483
26484 \begin_inset Newline newline
26485 \end_inset
26486
26487
26488 \begin_inset Box Boxed
26489 position "c"
26490 hor_pos "c"
26491 has_inner_box 1
26492 inner_pos "c"
26493 use_parbox 0
26494 width "12col%"
26495 special "none"
26496 height "1in"
26497 height_special "depth"
26498 status collapsed
26499
26500 \begin_layout Plain Layout
26501 \align center
26502 Box height set to 1
26503 \begin_inset Space \thinspace{}
26504 \end_inset
26505
26506 Depth
26507 \end_layout
26508
26509 \end_inset
26510
26511
26512 \begin_inset Newline newline
26513 \end_inset
26514
26515
26516 \begin_inset Newline newline
26517 \end_inset
26518
26519
26520 \end_layout
26521
26522 \begin_layout Description
26523 Height This is the heigth of the text that is inside the box.
26524  A value of e.
26525 \begin_inset Space \thinspace{}
26526 \end_inset
26527
26528 g.
26529 \begin_inset Space ~
26530 \end_inset
26531
26532 2 for this size will set the box heigth to 2 times the text height: 
26533 \begin_inset Box Boxed
26534 position "c"
26535 hor_pos "c"
26536 has_inner_box 1
26537 inner_pos "c"
26538 use_parbox 0
26539 width "20col%"
26540 special "none"
26541 height "2in"
26542 height_special "height"
26543 status collapsed
26544
26545 \begin_layout Plain Layout
26546 \align center
26547 Box height set to 2
26548 \begin_inset Space \thinspace{}
26549 \end_inset
26550
26551 Height
26552 \end_layout
26553
26554 \end_inset
26555
26556
26557 \end_layout
26558
26559 \begin_layout Description
26560 Total
26561 \begin_inset Space ~
26562 \end_inset
26563
26564 Height This is the Height
26565 \begin_inset Space \thinspace{}
26566 \end_inset
26567
26568 +
26569 \begin_inset Space \thinspace{}
26570 \end_inset
26571
26572 Depth: 
26573 \begin_inset Box Boxed
26574 position "c"
26575 hor_pos "c"
26576 has_inner_box 1
26577 inner_pos "c"
26578 use_parbox 0
26579 width "20col%"
26580 special "none"
26581 height "1in"
26582 height_special "totalheight"
26583 status collapsed
26584
26585 \begin_layout Plain Layout
26586 \align center
26587 Box height set to 1
26588 \begin_inset Space \thinspace{}
26589 \end_inset
26590
26591 Total
26592 \begin_inset Space ~
26593 \end_inset
26594
26595 Height
26596 \end_layout
26597
26598 \end_inset
26599
26600
26601 \end_layout
26602
26603 \begin_layout Description
26604 Width This sets the width of the box as heigth: 
26605 \begin_inset Box Boxed
26606 position "c"
26607 hor_pos "c"
26608 has_inner_box 1
26609 inner_pos "c"
26610 use_parbox 0
26611 width "12col%"
26612 special "none"
26613 height "1in"
26614 height_special "width"
26615 status collapsed
26616
26617 \begin_layout Plain Layout
26618 \align center
26619 Box height set to 1
26620 \begin_inset Space \thinspace{}
26621 \end_inset
26622
26623 Width
26624 \end_layout
26625
26626 \end_inset
26627
26628
26629 \end_layout
26630
26631 \begin_layout Subsection
26632 Alignment
26633 \begin_inset Index
26634 status collapsed
26635
26636 \begin_layout Plain Layout
26637 Boxes ! Alignment
26638 \end_layout
26639
26640 \end_inset
26641
26642
26643 \end_layout
26644
26645 \begin_layout Standard
26646 When you have chosen an 
26647 \family sans
26648 Inner
26649 \begin_inset Space ~
26650 \end_inset
26651
26652 Box
26653 \family default
26654 , the vertical box alignment can be:
26655 \end_layout
26656
26657 \begin_layout Description
26658 Top This is an example text line.
26659  
26660 \begin_inset Box Boxed
26661 position "t"
26662 hor_pos "c"
26663 has_inner_box 1
26664 inner_pos "c"
26665 use_parbox 0
26666 width "12col%"
26667 special "none"
26668 height "1in"
26669 height_special "totalheight"
26670 status collapsed
26671
26672 \begin_layout Plain Layout
26673 \align center
26674 This box is top-aligned.
26675 \end_layout
26676
26677 \end_inset
26678
26679  This is an example text line.
26680 \end_layout
26681
26682 \begin_layout Description
26683 Middle This is an example text line.
26684  
26685 \begin_inset Box Boxed
26686 position "c"
26687 hor_pos "c"
26688 has_inner_box 1
26689 inner_pos "c"
26690 use_parbox 0
26691 width "12col%"
26692 special "none"
26693 height "1in"
26694 height_special "totalheight"
26695 status collapsed
26696
26697 \begin_layout Plain Layout
26698 \align center
26699 This box is middle-aligned.
26700 \end_layout
26701
26702 \end_inset
26703
26704  This is an example text line.
26705 \end_layout
26706
26707 \begin_layout Description
26708 Bottom This is an example text line.
26709  
26710 \begin_inset Box Boxed
26711 position "b"
26712 hor_pos "c"
26713 has_inner_box 1
26714 inner_pos "c"
26715 use_parbox 0
26716 width "12col%"
26717 special "none"
26718 height "1in"
26719 height_special "totalheight"
26720 status collapsed
26721
26722 \begin_layout Plain Layout
26723 \align center
26724 This box is bottom-aligned.
26725 \end_layout
26726
26727 \end_inset
26728
26729  This is an example text line.
26730 \end_layout
26731
26732 \begin_layout Standard
26733 \begin_inset Note Greyedout
26734 status open
26735
26736 \begin_layout Plain Layout
26737
26738 \series bold
26739 Note:
26740 \series default
26741  The vertical box aligment can be lost in the output when you have two boxes
26742  in a line and one has e.
26743 \begin_inset Space \thinspace{}
26744 \end_inset
26745
26746 g.
26747 \begin_inset Space ~
26748 \end_inset
26749
26750 a shadow and the other one not.
26751 \end_layout
26752
26753 \end_inset
26754
26755
26756 \end_layout
26757
26758 \begin_layout Standard
26759 The horizontal box alignment can be set via LyX's paragraph dialog when
26760  you set the box into its own paragraph.
26761 \end_layout
26762
26763 \begin_layout Standard
26764 \begin_inset VSpace bigskip
26765 \end_inset
26766
26767 When you have chosen an 
26768 \family sans
26769 Inner
26770 \begin_inset Space ~
26771 \end_inset
26772
26773 Box
26774 \family default
26775 , the box content can be vertical aligned to:
26776 \end_layout
26777
26778 \begin_layout Description
26779 top 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 "t"
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 top-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 middle 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 "c"
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 middle-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 bottom 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 "b"
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 text is bottom-aligned.
26846 \end_layout
26847
26848 \end_inset
26849
26850  This is an example text line.
26851 \end_layout
26852
26853 \begin_layout Description
26854 stretch This is an example text line.
26855  
26856 \begin_inset Box Boxed
26857 position "c"
26858 hor_pos "c"
26859 has_inner_box 1
26860 inner_pos "s"
26861 use_parbox 0
26862 width "12col%"
26863 special "none"
26864 height "1.5in"
26865 height_special "totalheight"
26866 status collapsed
26867
26868 \begin_layout Plain Layout
26869 \align center
26870 This box
26871 \end_layout
26872
26873 \begin_layout Plain Layout
26874 \align center
26875 text is
26876 \end_layout
26877
26878 \begin_layout Plain Layout
26879 \align center
26880 stretched.
26881 \end_layout
26882
26883 \end_inset
26884
26885  This is an example text line.
26886 \end_layout
26887
26888 \begin_layout Standard
26889 To stretch the box content, it must consist of more than one paragraph.
26890  In the example above every text line is in an own paragraph.
26891 \end_layout
26892
26893 \begin_layout Standard
26894 \begin_inset VSpace bigskip
26895 \end_inset
26896
26897 To align the box content horizontally you can use LyX's paragraph dialog
26898  when you have chosen an 
26899 \family sans
26900 Inner
26901 \begin_inset Space ~
26902 \end_inset
26903
26904 Box
26905 \family default
26906 .
26907 \end_layout
26908
26909 \begin_layout Standard
26910 \align center
26911 \begin_inset Box Boxed
26912 position "c"
26913 hor_pos "c"
26914 has_inner_box 1
26915 inner_pos "s"
26916 use_parbox 0
26917 width "15col%"
26918 special "none"
26919 height "1.25in"
26920 height_special "totalheight"
26921 status collapsed
26922
26923 \begin_layout Plain Layout
26924 \align left
26925 This box
26926 \end_layout
26927
26928 \begin_layout Plain Layout
26929 \align center
26930 text is
26931 \end_layout
26932
26933 \begin_layout Plain Layout
26934 \align right
26935 stretched.
26936 \end_layout
26937
26938 \end_inset
26939
26940
26941 \end_layout
26942
26943 \begin_layout Standard
26944 If you haven't set an 
26945 \family sans
26946 Inner
26947 \begin_inset Space ~
26948 \end_inset
26949
26950 Box
26951 \family default
26952 , you can align the box content horizontally in the box dialog.
26953 \end_layout
26954
26955 \begin_layout Standard
26956 \align center
26957 \begin_inset Box Boxed
26958 position "c"
26959 hor_pos "s"
26960 has_inner_box 0
26961 inner_pos "s"
26962 use_parbox 0
26963 width "90col%"
26964 special "none"
26965 height "1.25in"
26966 height_special "totalheight"
26967 status collapsed
26968
26969 \begin_layout Plain Layout
26970 \align left
26971 This box text is horizontally stretched.
26972 \end_layout
26973
26974 \end_inset
26975
26976
26977 \end_layout
26978
26979 \begin_layout Section
26980 Framed Boxes
26981 \begin_inset CommandInset label
26982 LatexCommand label
26983 name "sec:Framed-Boxes"
26984
26985 \end_inset
26986
26987
26988 \begin_inset Index
26989 status collapsed
26990
26991 \begin_layout Plain Layout
26992 Boxes ! Frames
26993 \end_layout
26994
26995 \end_inset
26996
26997
26998 \end_layout
26999
27000 \begin_layout Standard
27001 The frame style of the box can be specified in the box-dialog in the drop-down
27002  list 
27003 \family sans
27004 Type
27005 \family default
27006 .
27007  The following frame types are possible:
27008 \end_layout
27009
27010 \begin_layout Description
27011 Rectangular
27012 \begin_inset Space ~
27013 \end_inset
27014
27015 box This draws a rectangle frame around the box.
27016  The frame line thickness has the size of 
27017 \series bold
27018
27019 \backslash
27020 fboxrule
27021 \series default
27022 .
27023  
27024 \begin_inset Box Boxed
27025 position "c"
27026 hor_pos "c"
27027 has_inner_box 1
27028 inner_pos "c"
27029 use_parbox 0
27030 width "20col%"
27031 special "none"
27032 height "1in"
27033 height_special "totalheight"
27034 status collapsed
27035
27036 \begin_layout Plain Layout
27037 \align center
27038 Rectangular box
27039 \end_layout
27040
27041 \end_inset
27042
27043
27044 \end_layout
27045
27046 \begin_layout Description
27047 Oval
27048 \begin_inset Space ~
27049 \end_inset
27050
27051 box,
27052 \begin_inset Space ~
27053 \end_inset
27054
27055 thin This draws an oval frame around the box.
27056  The frame line thickness has the size 0.4
27057 \begin_inset Space \thinspace{}
27058 \end_inset
27059
27060 pt.
27061  
27062 \begin_inset Box ovalbox
27063 position "c"
27064 hor_pos "c"
27065 has_inner_box 1
27066 inner_pos "c"
27067 use_parbox 0
27068 width "20col%"
27069 special "none"
27070 height "1in"
27071 height_special "totalheight"
27072 status collapsed
27073
27074 \begin_layout Plain Layout
27075 \align center
27076 Oval box, thin
27077 \end_layout
27078
27079 \end_inset
27080
27081
27082 \end_layout
27083
27084 \begin_layout Description
27085 Oval
27086 \begin_inset Space ~
27087 \end_inset
27088
27089 box,
27090 \begin_inset Space ~
27091 \end_inset
27092
27093 thick This draws an oval frame around the box.
27094  The frame line thickness has the size 0.8
27095 \begin_inset Space \thinspace{}
27096 \end_inset
27097
27098 pt.
27099  
27100 \begin_inset Box Ovalbox
27101 position "c"
27102 hor_pos "c"
27103 has_inner_box 1
27104 inner_pos "c"
27105 use_parbox 0
27106 width "20col%"
27107 special "none"
27108 height "1in"
27109 height_special "totalheight"
27110 status collapsed
27111
27112 \begin_layout Plain Layout
27113 \align center
27114 Oval box, thick
27115 \end_layout
27116
27117 \end_inset
27118
27119
27120 \end_layout
27121
27122 \begin_layout Description
27123 Shadow
27124 \begin_inset Space ~
27125 \end_inset
27126
27127 box This draws a rectangle frame with a shadow around the box.
27128  The frame line thickness has the size of 
27129 \series bold
27130
27131 \backslash
27132 fboxrule
27133 \series default
27134 , the shadow has a width of 4
27135 \begin_inset Space \thinspace{}
27136 \end_inset
27137
27138 pt.
27139  
27140 \begin_inset Box Shadowbox
27141 position "c"
27142 hor_pos "c"
27143 has_inner_box 1
27144 inner_pos "c"
27145 use_parbox 0
27146 width "20col%"
27147 special "none"
27148 height "1in"
27149 height_special "totalheight"
27150 status collapsed
27151
27152 \begin_layout Plain Layout
27153 \align center
27154 Shadow box
27155 \end_layout
27156
27157 \end_inset
27158
27159
27160 \end_layout
27161
27162 \begin_layout Description
27163 Double
27164 \begin_inset Space ~
27165 \end_inset
27166
27167 box This draws a double-line rectangle frame around the box.
27168  The line thickness of the inner frame is 0.75
27169 \begin_inset Space \thinspace{}
27170 \end_inset
27171
27172
27173 \series bold
27174
27175 \backslash
27176 fboxrule
27177 \series default
27178 , the thickness of the outer frame is 1.5
27179 \begin_inset Space \thinspace{}
27180 \end_inset
27181
27182
27183 \series bold
27184
27185 \backslash
27186 fboxrule
27187 \series default
27188 .
27189  The distance between the lines is 1.5
27190 \begin_inset Space \thinspace{}
27191 \end_inset
27192
27193
27194 \series bold
27195
27196 \backslash
27197 fboxrule
27198 \series default
27199
27200 \begin_inset Space \thinspace{}
27201 \end_inset
27202
27203 +
27204 \begin_inset Space \thinspace{}
27205 \end_inset
27206
27207 0.5
27208 \begin_inset Space \thinspace{}
27209 \end_inset
27210
27211 pt.
27212  
27213 \begin_inset Box Doublebox
27214 position "c"
27215 hor_pos "c"
27216 has_inner_box 1
27217 inner_pos "c"
27218 use_parbox 0
27219 width "20col%"
27220 special "none"
27221 height "1in"
27222 height_special "totalheight"
27223 status collapsed
27224
27225 \begin_layout Plain Layout
27226 \align center
27227 Double box
27228 \end_layout
27229
27230 \end_inset
27231
27232
27233 \end_layout
27234
27235 \begin_layout Standard
27236 \begin_inset VSpace bigskip
27237 \end_inset
27238
27239 LyX's box label will change to the used frame style when you set a frame.
27240  To be able to use the different frame styles, the LaTeX-package 
27241 \series bold
27242 fancybox
27243 \series default
27244
27245 \begin_inset Index
27246 status collapsed
27247
27248 \begin_layout Plain Layout
27249 LaTeX-packages ! fancybox
27250 \end_layout
27251
27252 \end_inset
27253
27254  must be installed.
27255 \end_layout
27256
27257 \begin_layout Standard
27258 \begin_inset VSpace bigskip
27259 \end_inset
27260
27261 The default value for the size 
27262 \series bold
27263
27264 \backslash
27265 fboxrule
27266 \series default
27267  is 0.4
27268 \begin_inset Space \thinspace{}
27269 \end_inset
27270
27271 pt.
27272  It can be changed with the following command in TeX-Code to e.
27273 \begin_inset Space \thinspace{}
27274 \end_inset
27275
27276 g.
27277 \begin_inset Space ~
27278 \end_inset
27279
27280 2
27281 \begin_inset Space \thinspace{}
27282 \end_inset
27283
27284 pt:
27285 \end_layout
27286
27287 \begin_layout Standard
27288
27289 \series bold
27290
27291 \backslash
27292 setlength{
27293 \backslash
27294 fboxrule}{2pt}
27295 \end_layout
27296
27297 \begin_layout Standard
27298 \begin_inset ERT
27299 status collapsed
27300
27301 \begin_layout Plain Layout
27302
27303
27304 \backslash
27305 setlength{
27306 \backslash
27307 fboxrule}{2pt}
27308 \end_layout
27309
27310 \end_inset
27311
27312
27313 \begin_inset Box Boxed
27314 position "c"
27315 hor_pos "c"
27316 has_inner_box 1
27317 inner_pos "c"
27318 use_parbox 0
27319 width "25col%"
27320 special "none"
27321 height "1in"
27322 height_special "totalheight"
27323 status collapsed
27324
27325 \begin_layout Plain Layout
27326 \align center
27327 Rectangular box with 
27328 \series bold
27329
27330 \backslash
27331 fboxrule
27332 \series default
27333
27334 \begin_inset Space \thinspace{}
27335 \end_inset
27336
27337 =
27338 \begin_inset Space \thinspace{}
27339 \end_inset
27340
27341 2
27342 \begin_inset Space \thinspace{}
27343 \end_inset
27344
27345 pt
27346 \end_layout
27347
27348 \end_inset
27349
27350
27351 \begin_inset ERT
27352 status collapsed
27353
27354 \begin_layout Plain Layout
27355
27356
27357 \backslash
27358 setlength{
27359 \backslash
27360 fboxrule}{0.4pt}
27361 \end_layout
27362
27363 \end_inset
27364
27365
27366 \end_layout
27367
27368 \begin_layout Standard
27369 \begin_inset VSpace bigskip
27370 \end_inset
27371
27372 The space between the frame and the box content is for all frame styles
27373  by default 3
27374 \begin_inset Space \thinspace{}
27375 \end_inset
27376
27377 pt.
27378  You can change it by setting the length 
27379 \series bold
27380
27381 \backslash
27382 fboxsep
27383 \series default
27384  to another value.
27385  For example the command
27386 \end_layout
27387
27388 \begin_layout Standard
27389
27390 \series bold
27391
27392 \backslash
27393 setlength{
27394 \backslash
27395 fboxsep}{10pt}
27396 \end_layout
27397
27398 \begin_layout Standard
27399 sets the value to 10
27400 \begin_inset Space \thinspace{}
27401 \end_inset
27402
27403 pt, like for the following box:
27404 \end_layout
27405
27406 \begin_layout Standard
27407 \begin_inset ERT
27408 status collapsed
27409
27410 \begin_layout Plain Layout
27411
27412
27413 \backslash
27414 setlength{
27415 \backslash
27416 fboxsep}{10pt}
27417 \end_layout
27418
27419 \end_inset
27420
27421
27422 \begin_inset Box Boxed
27423 position "c"
27424 hor_pos "c"
27425 has_inner_box 1
27426 inner_pos "c"
27427 use_parbox 0
27428 width "25col%"
27429 special "none"
27430 height "1in"
27431 height_special "totalheight"
27432 status collapsed
27433
27434 \begin_layout Plain Layout
27435 \align center
27436 Rectangular box with 
27437 \series bold
27438
27439 \backslash
27440 fboxsep
27441 \series default
27442
27443 \begin_inset Space \thinspace{}
27444 \end_inset
27445
27446 =
27447 \begin_inset Space \thinspace{}
27448 \end_inset
27449
27450 10
27451 \begin_inset Space \thinspace{}
27452 \end_inset
27453
27454 pt
27455 \end_layout
27456
27457 \end_inset
27458
27459
27460 \begin_inset ERT
27461 status collapsed
27462
27463 \begin_layout Plain Layout
27464
27465
27466 \backslash
27467 setlength{
27468 \backslash
27469 fboxsep}{3pt}
27470 \end_layout
27471
27472 \end_inset
27473
27474
27475 \end_layout
27476
27477 \begin_layout Standard
27478 \begin_inset VSpace bigskip
27479 \end_inset
27480
27481 The diameter of the round corners of the oval boxes can be set with the
27482  command 
27483 \series bold
27484
27485 \backslash
27486 cornersize
27487 \series default
27488 .
27489  The command
27490 \end_layout
27491
27492 \begin_layout Standard
27493
27494 \series bold
27495
27496 \backslash
27497 cornersize*{1cm}
27498 \end_layout
27499
27500 \begin_layout Standard
27501 sets the diameter to 1
27502 \begin_inset Space \thinspace{}
27503 \end_inset
27504
27505 cm.
27506  The command
27507 \end_layout
27508
27509 \begin_layout Standard
27510
27511 \series bold
27512
27513 \backslash
27514 cornersize{num}
27515 \end_layout
27516
27517 \begin_layout Standard
27518 sets the diameter to 
27519 \family sans
27520 num
27521 \begin_inset Space \thinspace{}
27522 \end_inset
27523
27524 ×
27525 \begin_inset Space \thinspace{}
27526 \end_inset
27527
27528 minimum(width and heigth of box)
27529 \family default
27530 .
27531  The default is 
27532 \series bold
27533
27534 \backslash
27535 cornersize{0.5}
27536 \series default
27537 .
27538 \end_layout
27539
27540 \begin_layout Standard
27541 \begin_inset ERT
27542 status collapsed
27543
27544 \begin_layout Plain Layout
27545
27546
27547 \backslash
27548 cornersize*{1.5cm}
27549 \end_layout
27550
27551 \end_inset
27552
27553
27554 \begin_inset Box Ovalbox
27555 position "c"
27556 hor_pos "c"
27557 has_inner_box 1
27558 inner_pos "c"
27559 use_parbox 0
27560 width "25col%"
27561 special "none"
27562 height "1in"
27563 height_special "totalheight"
27564 status collapsed
27565
27566 \begin_layout Plain Layout
27567 \align center
27568 Oval box with 
27569 \series bold
27570
27571 \backslash
27572 cornersize
27573 \series default
27574
27575 \begin_inset Space \thinspace{}
27576 \end_inset
27577
27578 =
27579 \begin_inset Space \thinspace{}
27580 \end_inset
27581
27582 1.5
27583 \begin_inset Space \thinspace{}
27584 \end_inset
27585
27586 cm
27587 \end_layout
27588
27589 \end_inset
27590
27591
27592 \begin_inset ERT
27593 status collapsed
27594
27595 \begin_layout Plain Layout
27596
27597
27598 \backslash
27599 cornersize{0.5}
27600 \end_layout
27601
27602 \end_inset
27603
27604
27605 \end_layout
27606
27607 \begin_layout Standard
27608 \begin_inset VSpace bigskip
27609 \end_inset
27610
27611 The size of the shadow can be adjusted by changing the length 
27612 \series bold
27613
27614 \backslash
27615 shadowsize
27616 \series default
27617 .
27618  It it set to 2
27619 \begin_inset Space \thinspace{}
27620 \end_inset
27621
27622 pt for the following box by this command:
27623 \end_layout
27624
27625 \begin_layout Standard
27626
27627 \series bold
27628
27629 \backslash
27630 setlength{
27631 \backslash
27632 shadowsize}{2pt}
27633 \end_layout
27634
27635 \begin_layout Standard
27636 \begin_inset ERT
27637 status collapsed
27638
27639 \begin_layout Plain Layout
27640
27641
27642 \backslash
27643 setlength{
27644 \backslash
27645 shadowsize}{2pt}
27646 \end_layout
27647
27648 \end_inset
27649
27650
27651 \begin_inset Box Shadowbox
27652 position "c"
27653 hor_pos "c"
27654 has_inner_box 1
27655 inner_pos "c"
27656 use_parbox 0
27657 width "25col%"
27658 special "none"
27659 height "1in"
27660 height_special "totalheight"
27661 status collapsed
27662
27663 \begin_layout Plain Layout
27664 \align center
27665 Shadow box with 
27666 \series bold
27667
27668 \backslash
27669 shadowsize
27670 \series default
27671
27672 \begin_inset Space \thinspace{}
27673 \end_inset
27674
27675 =
27676 \begin_inset Space \thinspace{}
27677 \end_inset
27678
27679 2
27680 \begin_inset Space \thinspace{}
27681 \end_inset
27682
27683 pt
27684 \end_layout
27685
27686 \end_inset
27687
27688
27689 \begin_inset ERT
27690 status collapsed
27691
27692 \begin_layout Plain Layout
27693
27694
27695 \backslash
27696 setlength{
27697 \backslash
27698 shadowsize}{4pt}
27699 \end_layout
27700
27701 \end_inset
27702
27703
27704 \end_layout
27705
27706 \begin_layout Standard
27707 \begin_inset VSpace bigskip
27708 \end_inset
27709
27710 Changed lengths and widths are valid for all boxes following the commands
27711  that change them.
27712 \end_layout
27713
27714 \begin_layout Section
27715 Minipages
27716 \begin_inset CommandInset label
27717 LatexCommand label
27718 name "sec:Minipages"
27719
27720 \end_inset
27721
27722
27723 \begin_inset Index
27724 status collapsed
27725
27726 \begin_layout Plain Layout
27727 Boxes ! Minipages
27728 \end_layout
27729
27730 \end_inset
27731
27732
27733 \end_layout
27734
27735 \begin_layout Standard
27736 Minipages are treated by LaTeX as pages within pages and can therefore for
27737  example have their own footnotes.
27738 \end_layout
27739
27740 \begin_layout Standard
27741 Minipages are useful when you write documents with different languages.
27742 \end_layout
27743
27744 \begin_layout Standard
27745 Below are two example minipages side by side.
27746  Their width is set to 45
27747 \begin_inset Space \thinspace{}
27748 \end_inset
27749
27750 col% and they are separated by a horizontal fill, that was inserted via
27751  the menu 
27752 \family sans
27753 Insert\SpecialChar \menuseparator
27754 Special
27755 \begin_inset Space ~
27756 \end_inset
27757
27758 Formatting\SpecialChar \menuseparator
27759 Horizontal
27760 \begin_inset Space ~
27761 \end_inset
27762
27763 Fill
27764 \family default
27765 .
27766 \end_layout
27767
27768 \begin_layout Standard
27769 \begin_inset Box Frameless
27770 position "t"
27771 hor_pos "c"
27772 has_inner_box 1
27773 inner_pos "c"
27774 use_parbox 0
27775 width "45col%"
27776 special "none"
27777 height "1in"
27778 height_special "totalheight"
27779 status open
27780
27781 \begin_layout Plain Layout
27782
27783 \lang german
27784 Dies ist ein deutscher Text.
27785  Dies ist ein deutscher Text.
27786  Dies ist ein deutscher Text.
27787  Dies ist ein deutscher Text.
27788  Dies ist ein deutscher Text.
27789  Dies ist ein deutscher Text.
27790  Dies ist ein deutscher Text.
27791  Dies ist ein deutscher Text.
27792  Dies ist ein deutscher Text.
27793  Dies ist ein deutscher Text.
27794  Dies ist ein deutscher Text.
27795  Dies ist ein deutscher Text.
27796  Dies ist ein deutscher Text
27797 \begin_inset Foot
27798 status collapsed
27799
27800 \begin_layout Plain Layout
27801
27802 \lang german
27803 Dies ist eine deutsche Fußnote.
27804 \end_layout
27805
27806 \end_inset
27807
27808 .
27809  Dies ist ein deutscher Text.
27810  Dies ist ein deutscher Text.
27811 \end_layout
27812
27813 \end_inset
27814
27815
27816 \begin_inset Space \hfill{}
27817 \end_inset
27818
27819
27820 \begin_inset Box Frameless
27821 position "t"
27822 hor_pos "c"
27823 has_inner_box 1
27824 inner_pos "c"
27825 use_parbox 0
27826 width "45col%"
27827 special "none"
27828 height "1in"
27829 height_special "totalheight"
27830 status open
27831
27832 \begin_layout Plain Layout
27833 This is an English Text.
27834  This is an English Text.
27835  This is an English Text.
27836  This is an English Text.
27837  This is an English Text.
27838  This is an English Text.
27839  This is an English Text.
27840  This is an English Text.
27841  This is an English Text.
27842  This is an English Text.
27843  This is an English Text.
27844  This is an English Text.
27845  This is an English Text.
27846  This is an English Text.
27847  This is an English Text.
27848  This is an English Text.
27849 \begin_inset Foot
27850 status collapsed
27851
27852 \begin_layout Plain Layout
27853 This is an English footnote.
27854 \end_layout
27855
27856 \end_inset
27857
27858  This is an English Text.
27859  
27860 \end_layout
27861
27862 \end_inset
27863
27864
27865 \end_layout
27866
27867 \begin_layout Standard
27868 \begin_inset VSpace bigskip
27869 \end_inset
27870
27871 Another application for minipages are footnotes within tables.
27872  Due to a LaTeX restriction footnotes within tables doesn't appear at the
27873  bottom of the current page.
27874  But when you put the table with the footnote to a minipage, the footnote
27875  will appear at its bottom, numbered with Latin letters.
27876  The footnote number is reset to 1 in every minipage but not outside the
27877  minipages.
27878 \end_layout
27879
27880 \begin_layout Standard
27881 The footnote of this table doesn't appear: 
27882 \begin_inset Tabular
27883 <lyxtabular version="3" rows="3" columns="4">
27884 <features>
27885 <column alignment="center" valignment="top" width="0pt">
27886 <column alignment="center" valignment="top" width="0pt">
27887 <column alignment="center" valignment="top" width="0pt">
27888 <column alignment="center" valignment="top" width="0pt">
27889 <row>
27890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27891 \begin_inset Text
27892
27893 \begin_layout Plain Layout
27894 1
27895 \end_layout
27896
27897 \end_inset
27898 </cell>
27899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27900 \begin_inset Text
27901
27902 \begin_layout Plain Layout
27903 2
27904 \end_layout
27905
27906 \end_inset
27907 </cell>
27908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27909 \begin_inset Text
27910
27911 \begin_layout Plain Layout
27912 3
27913 \begin_inset Foot
27914 status collapsed
27915
27916 \begin_layout Plain Layout
27917 This is a footnote within a table.
27918 \end_layout
27919
27920 \end_inset
27921
27922
27923 \end_layout
27924
27925 \end_inset
27926 </cell>
27927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27928 \begin_inset Text
27929
27930 \begin_layout Plain Layout
27931 4
27932 \end_layout
27933
27934 \end_inset
27935 </cell>
27936 </row>
27937 <row>
27938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27939 \begin_inset Text
27940
27941 \begin_layout Plain Layout
27942 a
27943 \end_layout
27944
27945 \end_inset
27946 </cell>
27947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27948 \begin_inset Text
27949
27950 \begin_layout Plain Layout
27951 b
27952 \end_layout
27953
27954 \end_inset
27955 </cell>
27956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27957 \begin_inset Text
27958
27959 \begin_layout Plain Layout
27960 c
27961 \end_layout
27962
27963 \end_inset
27964 </cell>
27965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27966 \begin_inset Text
27967
27968 \begin_layout Plain Layout
27969 d
27970 \end_layout
27971
27972 \end_inset
27973 </cell>
27974 </row>
27975 <row>
27976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27977 \begin_inset Text
27978
27979 \begin_layout Plain Layout
27980 e
27981 \end_layout
27982
27983 \end_inset
27984 </cell>
27985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27986 \begin_inset Text
27987
27988 \begin_layout Plain Layout
27989 f
27990 \end_layout
27991
27992 \end_inset
27993 </cell>
27994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27995 \begin_inset Text
27996
27997 \begin_layout Plain Layout
27998 g
27999 \end_layout
28000
28001 \end_inset
28002 </cell>
28003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28004 \begin_inset Text
28005
28006 \begin_layout Plain Layout
28007 h
28008 \end_layout
28009
28010 \end_inset
28011 </cell>
28012 </row>
28013 </lyxtabular>
28014
28015 \end_inset
28016
28017
28018 \end_layout
28019
28020 \begin_layout Standard
28021 \align center
28022 \begin_inset Box Frameless
28023 position "t"
28024 hor_pos "c"
28025 has_inner_box 1
28026 inner_pos "c"
28027 use_parbox 0
28028 width "30col%"
28029 special "none"
28030 height "1in"
28031 height_special "totalheight"
28032 status open
28033
28034 \begin_layout Plain Layout
28035 \align center
28036 \begin_inset Tabular
28037 <lyxtabular version="3" rows="3" columns="4">
28038 <features>
28039 <column alignment="center" valignment="top" width="0pt">
28040 <column alignment="center" valignment="top" width="0pt">
28041 <column alignment="center" valignment="top" width="0pt">
28042 <column alignment="center" valignment="top" width="0pt">
28043 <row>
28044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28045 \begin_inset Text
28046
28047 \begin_layout Plain Layout
28048 1
28049 \end_layout
28050
28051 \end_inset
28052 </cell>
28053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28054 \begin_inset Text
28055
28056 \begin_layout Plain Layout
28057 2
28058 \end_layout
28059
28060 \end_inset
28061 </cell>
28062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28063 \begin_inset Text
28064
28065 \begin_layout Plain Layout
28066 3
28067 \begin_inset Foot
28068 status collapsed
28069
28070 \begin_layout Plain Layout
28071 This is a footnote within a table.
28072 \end_layout
28073
28074 \end_inset
28075
28076
28077 \end_layout
28078
28079 \end_inset
28080 </cell>
28081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28082 \begin_inset Text
28083
28084 \begin_layout Plain Layout
28085 4
28086 \end_layout
28087
28088 \end_inset
28089 </cell>
28090 </row>
28091 <row>
28092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28093 \begin_inset Text
28094
28095 \begin_layout Plain Layout
28096 a
28097 \end_layout
28098
28099 \end_inset
28100 </cell>
28101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28102 \begin_inset Text
28103
28104 \begin_layout Plain Layout
28105 b
28106 \end_layout
28107
28108 \end_inset
28109 </cell>
28110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28111 \begin_inset Text
28112
28113 \begin_layout Plain Layout
28114 c
28115 \end_layout
28116
28117 \end_inset
28118 </cell>
28119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28120 \begin_inset Text
28121
28122 \begin_layout Plain Layout
28123 d
28124 \end_layout
28125
28126 \end_inset
28127 </cell>
28128 </row>
28129 <row>
28130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28131 \begin_inset Text
28132
28133 \begin_layout Plain Layout
28134 e
28135 \end_layout
28136
28137 \end_inset
28138 </cell>
28139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28140 \begin_inset Text
28141
28142 \begin_layout Plain Layout
28143 f
28144 \end_layout
28145
28146 \end_inset
28147 </cell>
28148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28149 \begin_inset Text
28150
28151 \begin_layout Plain Layout
28152 g
28153 \end_layout
28154
28155 \end_inset
28156 </cell>
28157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28158 \begin_inset Text
28159
28160 \begin_layout Plain Layout
28161 h
28162 \end_layout
28163
28164 \end_inset
28165 </cell>
28166 </row>
28167 </lyxtabular>
28168
28169 \end_inset
28170
28171
28172 \end_layout
28173
28174 \end_inset
28175
28176
28177 \end_layout
28178
28179 \begin_layout Standard
28180 \begin_inset VSpace bigskip
28181 \end_inset
28182
28183 The document-wide paragraph settings are ignored within minipages.
28184  That means that there will be no space between paragraphs in minipages
28185  although you set it to e.
28186 \begin_inset Space \thinspace{}
28187 \end_inset
28188
28189 g.
28190 \begin_inset Space ~
28191 \end_inset
28192
28193
28194 \family sans
28195 MedSkip
28196 \family default
28197  in the document settings.
28198 \end_layout
28199
28200 \begin_layout Standard
28201 Minipages can also be used to set a background color for text parts, see
28202  section
28203 \begin_inset Space ~
28204 \end_inset
28205
28206
28207 \begin_inset CommandInset ref
28208 LatexCommand ref
28209 reference "sub:Color-for-Paragraphs"
28210
28211 \end_inset
28212
28213 .
28214 \end_layout
28215
28216 \begin_layout Standard
28217 \begin_inset Note Greyedout
28218 status open
28219
28220 \begin_layout Plain Layout
28221
28222 \series bold
28223 Note:
28224 \series default
28225  You cannot have floats or margin notes inside minipages but minipages can
28226  be used inside tables, floats, and other boxes.
28227 \end_layout
28228
28229 \end_inset
28230
28231
28232 \end_layout
28233
28234 \begin_layout Section
28235 Parboxes
28236 \begin_inset CommandInset label
28237 LatexCommand label
28238 name "sec:Parboxes"
28239
28240 \end_inset
28241
28242
28243 \begin_inset Index
28244 status collapsed
28245
28246 \begin_layout Plain Layout
28247 Boxes ! Parboxes
28248 \end_layout
28249
28250 \end_inset
28251
28252
28253 \end_layout
28254
28255 \begin_layout Standard
28256 Parboxes are very similar to minipages with the difference that they cannot
28257  have footnotes.
28258  The main difference to minipages is that minipages are in contrary to parboxes
28259  no real boxes but LaTeX-environments.
28260 \end_layout
28261
28262 \begin_layout Standard
28263 \align center
28264 \begin_inset Box Frameless
28265 position "t"
28266 hor_pos "c"
28267 has_inner_box 1
28268 inner_pos "t"
28269 use_parbox 1
28270 width "33col%"
28271 special "none"
28272 height "1in"
28273 height_special "totalheight"
28274 status collapsed
28275
28276 \begin_layout Plain Layout
28277 This a text within a parbox.
28278  This a text within a parbox.
28279 \end_layout
28280
28281 \begin_layout Plain Layout
28282 This footnote won't appear:
28283 \begin_inset Foot
28284 status collapsed
28285
28286 \begin_layout Plain Layout
28287 This footnote is inside a parbox and will therefore not appear.
28288 \end_layout
28289
28290 \end_inset
28291
28292
28293 \end_layout
28294
28295 \end_inset
28296
28297
28298 \end_layout
28299
28300 \begin_layout Section
28301 Boxes for Words and Characters
28302 \begin_inset Index
28303 status collapsed
28304
28305 \begin_layout Plain Layout
28306 Boxes ! for Characters
28307 \end_layout
28308
28309 \end_inset
28310
28311
28312 \end_layout
28313
28314 \begin_layout Subsection
28315 Prevent Hyphenation
28316 \begin_inset CommandInset label
28317 LatexCommand label
28318 name "sec:Prevent-Hyphenation"
28319
28320 \end_inset
28321
28322
28323 \begin_inset Index
28324 status collapsed
28325
28326 \begin_layout Plain Layout
28327 Boxes ! to Prevent Hyphenation
28328 \end_layout
28329
28330 \end_inset
28331
28332
28333 \end_layout
28334
28335 \begin_layout Standard
28336 You can use a special kind of boxes to prevent words or text to be hyphenated.
28337 \begin_inset Newline newline
28338 \end_inset
28339
28340 Here is an example text:
28341 \end_layout
28342
28343 \begin_layout Standard
28344 This line is an example to show how you can prevent the hyphenation of 
28345 \begin_inset Quotes eld
28346 \end_inset
28347
28348 veryverylongword
28349 \begin_inset Quotes erd
28350 \end_inset
28351
28352 .
28353 \end_layout
28354
28355 \begin_layout Standard
28356 To prevent the hyphenation of the word 
28357 \begin_inset Quotes eld
28358 \end_inset
28359
28360 veryverylongword
28361 \begin_inset Quotes erd
28362 \end_inset
28363
28364 , add the command
28365 \end_layout
28366
28367 \begin_layout Standard
28368
28369 \series bold
28370
28371 \backslash
28372 mbox{
28373 \end_layout
28374
28375 \begin_layout Standard
28376 in TeX-Code before the word.
28377  Behind the word insert a closing brace 
28378 \begin_inset Quotes eld
28379 \end_inset
28380
28381
28382 \series bold
28383 }
28384 \series default
28385
28386 \begin_inset Quotes erd
28387 \end_inset
28388
28389  in TeX-Code.
28390 \end_layout
28391
28392 \begin_layout Standard
28393 This is the result:
28394 \end_layout
28395
28396 \begin_layout Standard
28397 This line is an example to show how you can prevent the hyphenation of 
28398 \begin_inset ERT
28399 status collapsed
28400
28401 \begin_layout Plain Layout
28402
28403
28404 \backslash
28405 mbox{
28406 \end_layout
28407
28408 \end_inset
28409
28410
28411 \begin_inset Quotes eld
28412 \end_inset
28413
28414 veryverylongword
28415 \begin_inset Quotes erd
28416 \end_inset
28417
28418 .
28419 \begin_inset ERT
28420 status collapsed
28421
28422 \begin_layout Plain Layout
28423
28424 }
28425 \end_layout
28426
28427 \end_inset
28428
28429
28430 \end_layout
28431
28432 \begin_layout Standard
28433 You can alternatively set the command 
28434 \begin_inset Quotes eld
28435 \end_inset
28436
28437
28438 \series bold
28439
28440 \backslash
28441 -
28442 \series default
28443
28444 \begin_inset Quotes grd
28445 \end_inset
28446
28447  as TeX-Code directly before the word:
28448 \end_layout
28449
28450 \begin_layout Standard
28451 This line is an example to show how you can prevent the hyphenation of 
28452 \begin_inset Quotes eld
28453 \end_inset
28454
28455
28456 \begin_inset ERT
28457 status collapsed
28458
28459 \begin_layout Plain Layout
28460
28461
28462 \backslash
28463 -
28464 \end_layout
28465
28466 \end_inset
28467
28468 veryverylongword
28469 \begin_inset Quotes erd
28470 \end_inset
28471
28472 .
28473 \end_layout
28474
28475 \begin_layout Standard
28476 Of course the word now protrudes over the side margin.
28477  To avoid this, add via the menu 
28478 \family sans
28479 Insert\SpecialChar \menuseparator
28480 Special
28481 \begin_inset Space ~
28482 \end_inset
28483
28484 Formatting\SpecialChar \menuseparator
28485 Line
28486 \begin_inset Space ~
28487 \end_inset
28488
28489 Break
28490 \family default
28491  (shortcut 
28492 \series bold
28493 Ctrl-Return
28494 \series default
28495 ) a line break before the word:
28496 \end_layout
28497
28498 \begin_layout Standard
28499 This line is an example to show how you can prevent the hyphenation of 
28500 \begin_inset Newline newline
28501 \end_inset
28502
28503
28504 \begin_inset ERT
28505 status collapsed
28506
28507 \begin_layout Plain Layout
28508
28509
28510 \backslash
28511 mbox{
28512 \end_layout
28513
28514 \end_inset
28515
28516
28517 \begin_inset Quotes eld
28518 \end_inset
28519
28520 veryverylongword
28521 \begin_inset Quotes erd
28522 \end_inset
28523
28524 .
28525 \begin_inset ERT
28526 status collapsed
28527
28528 \begin_layout Plain Layout
28529
28530 }
28531 \end_layout
28532
28533 \end_inset
28534
28535
28536 \end_layout
28537
28538 \begin_layout Subsection
28539 Vertical Alignment
28540 \begin_inset CommandInset label
28541 LatexCommand label
28542 name "sub:Vertical-Alignment"
28543
28544 \end_inset
28545
28546
28547 \begin_inset Index
28548 status collapsed
28549
28550 \begin_layout Plain Layout
28551 Boxes ! for Vertical Alignment
28552 \end_layout
28553
28554 \end_inset
28555
28556
28557 \begin_inset Index
28558 status collapsed
28559
28560 \begin_layout Plain Layout
28561 Boxes ! Raiseboxes
28562 \end_layout
28563
28564 \end_inset
28565
28566
28567 \end_layout
28568
28569 \begin_layout Standard
28570 With the help of the command 
28571 \series bold
28572
28573 \backslash
28574 raisebox
28575 \series default
28576  you can align words, characters or other boxes vertically to the surrounding
28577  text.
28578  
28579 \series bold
28580
28581 \backslash
28582 raisebox
28583 \series default
28584  is used with the following scheme:
28585 \end_layout
28586
28587 \begin_layout Standard
28588
28589 \series bold
28590
28591 \backslash
28592 raisebox{lift}[height][depth]{box content}
28593 \end_layout
28594
28595 \begin_layout Standard
28596 The lift can be a positive value to raise the box or a negative value to
28597  lower the box.
28598 \end_layout
28599
28600 \begin_layout Standard
28601 To align for example the word 
28602 \begin_inset Quotes eld
28603 \end_inset
28604
28605 preventing
28606 \begin_inset Quotes erd
28607 \end_inset
28608
28609  so that the bottom of the 
28610 \begin_inset Quotes eld
28611 \end_inset
28612
28613 deepest
28614 \begin_inset Quotes erd
28615 \end_inset
28616
28617  character 
28618 \begin_inset Quotes eld
28619 \end_inset
28620
28621 p
28622 \begin_inset Quotes erd
28623 \end_inset
28624
28625  is at the baseline, insert the command
28626 \end_layout
28627
28628 \begin_layout Standard
28629
28630 \series bold
28631
28632 \backslash
28633 raisebox{
28634 \backslash
28635 depth}{
28636 \end_layout
28637
28638 \begin_layout Standard
28639 in TeX-Code before the word.
28640  Behind the word insert a closing brace 
28641 \begin_inset Quotes eld
28642 \end_inset
28643
28644
28645 \series bold
28646 }
28647 \series default
28648
28649 \begin_inset Quotes erd
28650 \end_inset
28651
28652  in TeX-Code.
28653 \begin_inset Newline newline
28654 \end_inset
28655
28656 This is the result:
28657 \end_layout
28658
28659 \begin_layout Standard
28660 This is a text line with the word 
28661 \begin_inset ERT
28662 status collapsed
28663
28664 \begin_layout Plain Layout
28665
28666
28667 \backslash
28668 raisebox{
28669 \backslash
28670 depth}{
28671 \end_layout
28672
28673 \end_inset
28674
28675
28676 \begin_inset Quotes eld
28677 \end_inset
28678
28679 preventing
28680 \begin_inset Quotes erd
28681 \end_inset
28682
28683
28684 \begin_inset ERT
28685 status collapsed
28686
28687 \begin_layout Plain Layout
28688
28689 }
28690 \end_layout
28691
28692 \end_inset
28693
28694  as raised word.
28695 \end_layout
28696
28697 \begin_layout Standard
28698 \begin_inset VSpace bigskip
28699 \end_inset
28700
28701 When you raise or lower characters in a line, the line distance will be
28702  spread:
28703 \end_layout
28704
28705 \begin_layout Standard
28706 This is a text line with the word 
28707 \begin_inset ERT
28708 status collapsed
28709
28710 \begin_layout Plain Layout
28711
28712
28713 \backslash
28714 raisebox{-
28715 \backslash
28716 depth}{
28717 \end_layout
28718
28719 \end_inset
28720
28721
28722 \begin_inset Quotes eld
28723 \end_inset
28724
28725 preventing
28726 \begin_inset Quotes erd
28727 \end_inset
28728
28729
28730 \begin_inset ERT
28731 status collapsed
28732
28733 \begin_layout Plain Layout
28734
28735 }
28736 \end_layout
28737
28738 \end_inset
28739
28740  as lowered word.
28741 \begin_inset Newline newline
28742 \end_inset
28743
28744 This is a text line with the word 
28745 \begin_inset ERT
28746 status collapsed
28747
28748 \begin_layout Plain Layout
28749
28750
28751 \backslash
28752 raisebox{0.5cm}{
28753 \end_layout
28754
28755 \end_inset
28756
28757
28758 \begin_inset Quotes eld
28759 \end_inset
28760
28761 testing
28762 \begin_inset Quotes erd
28763 \end_inset
28764
28765
28766 \begin_inset ERT
28767 status collapsed
28768
28769 \begin_layout Plain Layout
28770
28771 }
28772 \end_layout
28773
28774 \end_inset
28775
28776  as raised word.
28777 \end_layout
28778
28779 \begin_layout Standard
28780 If you want to prevent this for a certain reason, set the box height to
28781  a zero value.
28782  For example use
28783 \end_layout
28784
28785 \begin_layout Standard
28786
28787 \series bold
28788
28789 \backslash
28790 raisebox{-
28791 \backslash
28792 depth}[0pt]{
28793 \end_layout
28794
28795 \begin_layout Standard
28796 This is a text line with the word 
28797 \begin_inset ERT
28798 status collapsed
28799
28800 \begin_layout Plain Layout
28801
28802
28803 \backslash
28804 raisebox{-
28805 \backslash
28806 depth}[0pt]{
28807 \end_layout
28808
28809 \end_inset
28810
28811
28812 \begin_inset Quotes eld
28813 \end_inset
28814
28815 preventing
28816 \begin_inset Quotes erd
28817 \end_inset
28818
28819
28820 \begin_inset ERT
28821 status collapsed
28822
28823 \begin_layout Plain Layout
28824
28825 }
28826 \end_layout
28827
28828 \end_inset
28829
28830  as lowered word.
28831 \begin_inset Newline newline
28832 \end_inset
28833
28834 This is a text line with the word 
28835 \begin_inset ERT
28836 status collapsed
28837
28838 \begin_layout Plain Layout
28839
28840
28841 \backslash
28842 raisebox{0.5cm}[0pt]{
28843 \end_layout
28844
28845 \end_inset
28846
28847
28848 \begin_inset Quotes eld
28849 \end_inset
28850
28851 testing
28852 \begin_inset Quotes erd
28853 \end_inset
28854
28855
28856 \begin_inset ERT
28857 status collapsed
28858
28859 \begin_layout Plain Layout
28860
28861 }
28862 \end_layout
28863
28864 \end_inset
28865
28866  as raised word.
28867 \end_layout
28868
28869 \begin_layout Section
28870 Colored Boxes
28871 \begin_inset CommandInset label
28872 LatexCommand label
28873 name "sec:Colored-Boxes"
28874
28875 \end_inset
28876
28877
28878 \begin_inset Index
28879 status collapsed
28880
28881 \begin_layout Plain Layout
28882 Boxes ! Color
28883 \end_layout
28884
28885 \end_inset
28886
28887
28888 \end_layout
28889
28890 \begin_layout Subsection
28891 Color for Text
28892 \begin_inset Index
28893 status collapsed
28894
28895 \begin_layout Plain Layout
28896 Color ! for Text
28897 \end_layout
28898
28899 \end_inset
28900
28901
28902 \end_layout
28903
28904 \begin_layout Standard
28905 To color the background of text the text must be put into a so called 
28906 \begin_inset Quotes eld
28907 \end_inset
28908
28909 colorbox
28910 \begin_inset Quotes erd
28911 \end_inset
28912
28913 .
28914  This requires that the LaTeX-package 
28915 \series bold
28916 color
28917 \series default
28918
28919 \begin_inset Index
28920 status collapsed
28921
28922 \begin_layout Plain Layout
28923 LaTeX-packages ! color
28924 \end_layout
28925
28926 \end_inset
28927
28928  is loaded in the document preamble with the command
28929 \end_layout
28930
28931 \begin_layout Standard
28932
28933 \series bold
28934
28935 \backslash
28936 @ifundefined{textcolor}
28937 \begin_inset Newline newline
28938 \end_inset
28939
28940
28941 \begin_inset ERT
28942 status collapsed
28943
28944 \begin_layout Plain Layout
28945
28946
28947 \backslash
28948 hphantom{ }
28949 \end_layout
28950
28951 \end_inset
28952
28953 {
28954 \backslash
28955 usepackage{color}}{}
28956 \end_layout
28957
28958 \begin_layout Standard
28959 The package 
28960 \series bold
28961 color
28962 \series default
28963  will be loaded automatically by LyX when you color text
28964 \begin_inset Foot
28965 status collapsed
28966
28967 \begin_layout Plain Layout
28968 To avoid that it is loaded twice the command 
28969 \series bold
28970
28971 \backslash
28972 @ifundef\SpecialChar \textcompwordmark{}
28973 ined
28974 \series default
28975  is used.
28976 \end_layout
28977
28978 \end_inset
28979
28980 .
28981 \end_layout
28982
28983 \begin_layout Standard
28984 \begin_inset VSpace medskip
28985 \end_inset
28986
28987 Colorboxes are created with the command 
28988 \series bold
28989
28990 \backslash
28991 colorbox
28992 \series default
28993 .
28994  This will be used with the following scheme:
28995 \end_layout
28996
28997 \begin_layout Standard
28998
28999 \series bold
29000
29001 \backslash
29002 colorbox{color}{box content}
29003 \end_layout
29004
29005 \begin_layout Standard
29006 The box content can also be a box and colorboxes can also be within other
29007  boxes.
29008 \end_layout
29009
29010 \begin_layout Standard
29011 The following colors are predefined:
29012 \begin_inset Newline newline
29013 \end_inset
29014
29015
29016 \family sans
29017 black
29018 \family default
29019
29020 \family sans
29021 blue
29022 \family default
29023
29024 \family sans
29025 cyan
29026 \family default
29027 \series bold
29028 ,
29029 \series default
29030  
29031 \family sans
29032 green
29033 \family default
29034
29035 \family sans
29036 magenta
29037 \family default
29038
29039 \family sans
29040 red
29041 \family default
29042
29043 \family sans
29044 white
29045 \family default
29046 , and 
29047 \family sans
29048 yellow
29049 \family default
29050 .
29051 \begin_inset Newline newline
29052 \end_inset
29053
29054 You can also define your own color as described in section
29055 \begin_inset Space ~
29056 \end_inset
29057
29058
29059 \begin_inset CommandInset ref
29060 LatexCommand ref
29061 reference "sec:Colored-Tables"
29062
29063 \end_inset
29064
29065 .
29066 \end_layout
29067
29068 \begin_layout Standard
29069 To have e.
29070 \begin_inset Space \thinspace{}
29071 \end_inset
29072
29073 g.
29074 \begin_inset Space ~
29075 \end_inset
29076
29077 a red background for a word, insert the command
29078 \end_layout
29079
29080 \begin_layout Standard
29081
29082 \series bold
29083
29084 \backslash
29085 colorbox{red}{
29086 \end_layout
29087
29088 \begin_layout Standard
29089 before the word in TeX-Code.
29090  Behind the word insert a closing brace 
29091 \begin_inset Quotes eld
29092 \end_inset
29093
29094
29095 \series bold
29096 }
29097 \series default
29098
29099 \begin_inset Quotes erd
29100 \end_inset
29101
29102  in TeX-Code.
29103 \begin_inset Newline newline
29104 \end_inset
29105
29106 This is the result:
29107 \end_layout
29108
29109 \begin_layout Standard
29110 This is a line where the word 
29111 \begin_inset ERT
29112 status collapsed
29113
29114 \begin_layout Plain Layout
29115
29116
29117 \backslash
29118 colorbox{red}{
29119 \end_layout
29120
29121 \end_inset
29122
29123
29124 \begin_inset Quotes eld
29125 \end_inset
29126
29127 Attention!
29128 \begin_inset Quotes erd
29129 \end_inset
29130
29131
29132 \begin_inset ERT
29133 status collapsed
29134
29135 \begin_layout Plain Layout
29136
29137 }
29138 \end_layout
29139
29140 \end_inset
29141
29142  has a red background.
29143 \end_layout
29144
29145 \begin_layout Standard
29146 \begin_inset VSpace bigskip
29147 \end_inset
29148
29149 If you would have the box frame in a different color, you can use the command
29150  
29151 \series bold
29152
29153 \backslash
29154 fcolorbox
29155 \series default
29156  with the following scheme:
29157 \end_layout
29158
29159 \begin_layout Standard
29160
29161 \series bold
29162
29163 \backslash
29164 fcolorbox{frame color}{box color}{box content}
29165 \end_layout
29166
29167 \begin_layout Standard
29168
29169 \series bold
29170
29171 \backslash
29172 fcolorbox
29173 \series default
29174  is an extension to 
29175 \series bold
29176
29177 \backslash
29178 colorbox
29179 \series default
29180 .
29181  The frame thickness and the space between the frame and the box content
29182  can be adjusted with the lengths 
29183 \series bold
29184
29185 \backslash
29186 fboxrule
29187 \series default
29188  and 
29189 \series bold
29190
29191 \backslash
29192 fboxsep
29193 \series default
29194 , respectively, as described in section
29195 \begin_inset Space ~
29196 \end_inset
29197
29198
29199 \begin_inset CommandInset ref
29200 LatexCommand ref
29201 reference "sec:Framed-Boxes"
29202
29203 \end_inset
29204
29205 .
29206 \end_layout
29207
29208 \begin_layout Standard
29209 For the following example the command
29210 \end_layout
29211
29212 \begin_layout Standard
29213
29214 \series bold
29215
29216 \backslash
29217 fcolorbox{cyan}{magenta}{
29218 \end_layout
29219
29220 \begin_layout Standard
29221 was used.
29222 \end_layout
29223
29224 \begin_layout Standard
29225 Here is an example where the frame line thickness was set to 1
29226 \begin_inset Space \thinspace{}
29227 \end_inset
29228
29229 mm:
29230 \begin_inset Newline newline
29231 \end_inset
29232
29233
29234 \begin_inset ERT
29235 status collapsed
29236
29237 \begin_layout Plain Layout
29238
29239
29240 \backslash
29241 fboxrule 1mm 
29242 \backslash
29243 fboxsep 1mm
29244 \end_layout
29245
29246 \end_inset
29247
29248
29249 \begin_inset ERT
29250 status collapsed
29251
29252 \begin_layout Plain Layout
29253
29254
29255 \backslash
29256 fcolorbox{cyan}{magenta}{
29257 \end_layout
29258
29259 \end_inset
29260
29261 This is text within a colored, framed box.
29262 \begin_inset ERT
29263 status collapsed
29264
29265 \begin_layout Plain Layout
29266
29267 }
29268 \end_layout
29269
29270 \end_inset
29271
29272
29273 \end_layout
29274
29275 \begin_layout Standard
29276 \begin_inset VSpace bigskip
29277 \end_inset
29278
29279 Of course you can also have colored text inside a colorbox:
29280 \begin_inset Newline newline
29281 \end_inset
29282
29283
29284 \begin_inset ERT
29285 status collapsed
29286
29287 \begin_layout Plain Layout
29288
29289
29290 \backslash
29291 fcolorbox{cyan}{magenta}{
29292 \end_layout
29293
29294 \end_inset
29295
29296
29297 \color yellow
29298 This is colored text within a colored, framed box.
29299 \color none
29300
29301 \begin_inset ERT
29302 status collapsed
29303
29304 \begin_layout Plain Layout
29305
29306 }
29307 \end_layout
29308
29309 \end_inset
29310
29311
29312 \begin_inset ERT
29313 status collapsed
29314
29315 \begin_layout Plain Layout
29316
29317
29318 \backslash
29319 fboxrule 0.4pt 
29320 \backslash
29321 fboxsep 3pt
29322 \end_layout
29323
29324 \end_inset
29325
29326
29327 \end_layout
29328
29329 \begin_layout Standard
29330
29331 \series bold
29332 \begin_inset VSpace medskip
29333 \end_inset
29334
29335
29336 \end_layout
29337
29338 \begin_layout Standard
29339 \begin_inset Note Greyedout
29340 status open
29341
29342 \begin_layout Plain Layout
29343
29344 \series bold
29345 Note:
29346 \series default
29347  Text in colorboxes cannot have line breaks.
29348  To color multiple text lines or paragraphs, use a box inside a colorbox
29349  as described in the following.
29350 \end_layout
29351
29352 \end_inset
29353
29354
29355 \end_layout
29356
29357 \begin_layout Subsection
29358 Color for Paragraphs
29359 \begin_inset CommandInset label
29360 LatexCommand label
29361 name "sub:Color-for-Paragraphs"
29362
29363 \end_inset
29364
29365
29366 \begin_inset Index
29367 status collapsed
29368
29369 \begin_layout Plain Layout
29370 Color ! for Paragraphs
29371 \end_layout
29372
29373 \end_inset
29374
29375
29376 \end_layout
29377
29378 \begin_layout Standard
29379 To set the background color for more than one text line, put the text into
29380  a minipage.
29381  Before the minipage insert the 
29382 \series bold
29383
29384 \backslash
29385 colorbox
29386 \series default
29387  command
29388 \end_layout
29389
29390 \begin_layout Standard
29391
29392 \series bold
29393
29394 \backslash
29395 colorbox{color}{
29396 \end_layout
29397
29398 \begin_layout Standard
29399 in TeX-Code.
29400  Behind the minipage insert a closing brace 
29401 \begin_inset Quotes eld
29402 \end_inset
29403
29404
29405 \series bold
29406 }
29407 \series default
29408
29409 \begin_inset Quotes erd
29410 \end_inset
29411
29412  in TeX-Code.
29413 \end_layout
29414
29415 \begin_layout Standard
29416 \begin_inset ERT
29417 status collapsed
29418
29419 \begin_layout Plain Layout
29420
29421
29422 \backslash
29423 colorbox{lightgrey}{
29424 \end_layout
29425
29426 \end_inset
29427
29428
29429 \begin_inset Box Frameless
29430 position "t"
29431 hor_pos "c"
29432 has_inner_box 1
29433 inner_pos "t"
29434 use_parbox 0
29435 width "100col%"
29436 special "none"
29437 height "1in"
29438 height_special "totalheight"
29439 status collapsed
29440
29441 \begin_layout Plain Layout
29442 This is text with background color.
29443  This is text with background color.
29444 \end_layout
29445
29446 \begin_layout Plain Layout
29447 \begin_inset VSpace defskip
29448 \end_inset
29449
29450 The text can have footnotes
29451 \begin_inset Foot
29452 status collapsed
29453
29454 \begin_layout Plain Layout
29455 Another example footnote
29456 \end_layout
29457
29458 \end_inset
29459
29460  and can include tables and figures.
29461 \end_layout
29462
29463 \begin_layout Plain Layout
29464 \align center
29465 \begin_inset Tabular
29466 <lyxtabular version="3" rows="3" columns="3">
29467 <features>
29468 <column alignment="center" valignment="top" width="0">
29469 <column alignment="center" valignment="top" width="0">
29470 <column alignment="center" valignment="top" width="0">
29471 <row>
29472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29473 \begin_inset Text
29474
29475 \begin_layout Plain Layout
29476 a
29477 \end_layout
29478
29479 \end_inset
29480 </cell>
29481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29482 \begin_inset Text
29483
29484 \begin_layout Plain Layout
29485 !
29486 \end_layout
29487
29488 \end_inset
29489 </cell>
29490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29491 \begin_inset Text
29492
29493 \begin_layout Plain Layout
29494 3
29495 \end_layout
29496
29497 \end_inset
29498 </cell>
29499 </row>
29500 <row>
29501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29502 \begin_inset Text
29503
29504 \begin_layout Plain Layout
29505 <
29506 \end_layout
29507
29508 \end_inset
29509 </cell>
29510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29511 \begin_inset Text
29512
29513 \begin_layout Plain Layout
29514 b2
29515 \begin_inset Quotes erd
29516 \end_inset
29517
29518 |
29519 \end_layout
29520
29521 \end_inset
29522 </cell>
29523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29524 \begin_inset Text
29525
29526 \begin_layout Plain Layout
29527 >
29528 \end_layout
29529
29530 \end_inset
29531 </cell>
29532 </row>
29533 <row>
29534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29535 \begin_inset Text
29536
29537 \begin_layout Plain Layout
29538 1
29539 \end_layout
29540
29541 \end_inset
29542 </cell>
29543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29544 \begin_inset Text
29545
29546 \begin_layout Plain Layout
29547 §
29548 \end_layout
29549
29550 \end_inset
29551 </cell>
29552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29553 \begin_inset Text
29554
29555 \begin_layout Plain Layout
29556 c
29557 \end_layout
29558
29559 \end_inset
29560 </cell>
29561 </row>
29562 </lyxtabular>
29563
29564 \end_inset
29565
29566
29567 \end_layout
29568
29569 \end_inset
29570
29571
29572 \begin_inset ERT
29573 status collapsed
29574
29575 \begin_layout Plain Layout
29576
29577 }
29578 \end_layout
29579
29580 \end_inset
29581
29582
29583 \end_layout
29584
29585 \begin_layout Section
29586 Rotated and Scaled Boxes
29587 \end_layout
29588
29589 \begin_layout Standard
29590 To use the the commands described in this section, the LaTeX-package 
29591 \series bold
29592 graphicx
29593 \series default
29594
29595 \begin_inset Index
29596 status collapsed
29597
29598 \begin_layout Plain Layout
29599 LaTeX-packages ! graphicx
29600 \end_layout
29601
29602 \end_inset
29603
29604  needs to be loaded in the document preamble with the command
29605 \end_layout
29606
29607 \begin_layout Standard
29608
29609 \series bold
29610
29611 \backslash
29612 @ifundefined{rotatebox}
29613 \begin_inset Newline newline
29614 \end_inset
29615
29616
29617 \begin_inset ERT
29618 status collapsed
29619
29620 \begin_layout Plain Layout
29621
29622
29623 \backslash
29624 hphantom{ }
29625 \end_layout
29626
29627 \end_inset
29628
29629 {
29630 \backslash
29631 usepackage{graphicx}}{}
29632 \end_layout
29633
29634 \begin_layout Standard
29635 \begin_inset Note Greyedout
29636 status open
29637
29638 \begin_layout Plain Layout
29639
29640 \series bold
29641 Note:
29642 \series default
29643  Some DVI-viewers can't display rotated or scaled material.
29644 \end_layout
29645
29646 \end_inset
29647
29648
29649 \end_layout
29650
29651 \begin_layout Standard
29652 \begin_inset Note Greyedout
29653 status open
29654
29655 \begin_layout Plain Layout
29656
29657 \series bold
29658 Note:
29659 \series default
29660  Floats mustn't be inside a rotated or scaled box.
29661 \end_layout
29662
29663 \end_inset
29664
29665
29666 \end_layout
29667
29668 \begin_layout Subsection
29669 Rotated Boxes
29670 \begin_inset Index
29671 status collapsed
29672
29673 \begin_layout Plain Layout
29674 Boxes ! rotated
29675 \end_layout
29676
29677 \end_inset
29678
29679
29680 \begin_inset Index
29681 status collapsed
29682
29683 \begin_layout Plain Layout
29684 Rotated material
29685 \end_layout
29686
29687 \end_inset
29688
29689
29690 \begin_inset Index
29691 status collapsed
29692
29693 \begin_layout Plain Layout
29694 Figures ! rotated
29695 \end_layout
29696
29697 \end_inset
29698
29699
29700 \begin_inset Index
29701 status collapsed
29702
29703 \begin_layout Plain Layout
29704 Table Customization ! Rotating
29705 \end_layout
29706
29707 \end_inset
29708
29709
29710 \end_layout
29711
29712 \begin_layout Standard
29713 To rotate material, you can put it into a rotated box.
29714  Such a box is created using the command 
29715 \series bold
29716
29717 \backslash
29718 rotatebox
29719 \series default
29720  in TeX-Code with the following scheme:
29721 \end_layout
29722
29723 \begin_layout Standard
29724
29725 \series bold
29726
29727 \backslash
29728 rotatebox[rotation origin]{rotation angle}{box content}
29729 \end_layout
29730
29731 \begin_layout Standard
29732 The rotation origin is specified in the form 
29733 \series bold
29734 origin=position
29735 \series default
29736 .
29737  The following positions are possible: 
29738 \emph on
29739 c
29740 \emph default
29741  (center), 
29742 \emph on
29743 l
29744 \emph default
29745  (left), 
29746 \emph on
29747 r
29748 \emph default
29749  (right), 
29750 \emph on
29751 b
29752 \emph default
29753  (bottom), 
29754 \emph on
29755 t
29756 \emph default
29757  (top), and also expedient combinations of the four base positions.
29758  For example 
29759 \emph on
29760 lt
29761 \emph default
29762  means, that the rotation origin is at the top left corner of the box.
29763  When no rotation origin is specified, the position 
29764 \emph on
29765 l
29766 \emph default
29767  will be used.
29768  The rotation angle is a number that can be negative that specifies the
29769  angle in degrees.
29770  The rotation direction is counterclockwise.
29771 \end_layout
29772
29773 \begin_layout Standard
29774 In the following example the command 
29775 \series bold
29776
29777 \backslash
29778 rotatebox[origin=c]{60}{
29779 \series default
29780  was inserted as TeX-Code before the text 
29781 \begin_inset Quotes eld
29782 \end_inset
29783
29784 with rotated
29785 \begin_inset Quotes erd
29786 \end_inset
29787
29788 ; after the text the box was closed by a closing brace 
29789 \series bold
29790 }
29791 \series default
29792  in TeX-Code.
29793 \end_layout
29794
29795 \begin_layout Standard
29796 This is a line 
29797 \begin_inset ERT
29798 status collapsed
29799
29800 \begin_layout Plain Layout
29801
29802
29803 \backslash
29804 rotatebox[origin=c]{60}{
29805 \end_layout
29806
29807 \end_inset
29808
29809 with rotated
29810 \begin_inset ERT
29811 status collapsed
29812
29813 \begin_layout Plain Layout
29814
29815 }
29816 \end_layout
29817
29818 \end_inset
29819
29820  text.
29821 \end_layout
29822
29823 \begin_layout Standard
29824 The box content can also be another box or an inline formula:
29825 \end_layout
29826
29827 \begin_layout Standard
29828 This is a line
29829 \begin_inset ERT
29830 status collapsed
29831
29832 \begin_layout Plain Layout
29833
29834
29835 \backslash
29836 rotatebox[origin=r]{-60}{
29837 \end_layout
29838
29839 \end_inset
29840
29841
29842 \begin_inset Box Doublebox
29843 position "c"
29844 hor_pos "c"
29845 has_inner_box 0
29846 inner_pos "c"
29847 use_parbox 0
29848 width "1in"
29849 special "width"
29850 height "1in"
29851 height_special "totalheight"
29852 status collapsed
29853
29854 \begin_layout Plain Layout
29855 with rotated
29856 \end_layout
29857
29858 \end_inset
29859
29860
29861 \begin_inset ERT
29862 status collapsed
29863
29864 \begin_layout Plain Layout
29865
29866 }
29867 \end_layout
29868
29869 \end_inset
29870
29871  framed text 
29872 \begin_inset ERT
29873 status collapsed
29874
29875 \begin_layout Plain Layout
29876
29877
29878 \backslash
29879 rotatebox[origin=lb]{60}{
29880 \end_layout
29881
29882 \end_inset
29883
29884
29885 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29886 \end_inset
29887
29888
29889 \begin_inset ERT
29890 status collapsed
29891
29892 \begin_layout Plain Layout
29893
29894 }
29895 \end_layout
29896
29897 \end_inset
29898
29899  and a formula.
29900 \end_layout
29901
29902 \begin_layout Standard
29903 or an image or table:
29904 \end_layout
29905
29906 \begin_layout Standard
29907 This is a line
29908 \begin_inset ERT
29909 status collapsed
29910
29911 \begin_layout Plain Layout
29912
29913
29914 \backslash
29915 rotatebox[origin=lb]{90}{
29916 \end_layout
29917
29918 \end_inset
29919
29920
29921 \begin_inset Graphics
29922         filename clipart/platypus.eps
29923         lyxscale 50
29924         width 25col%
29925
29926 \end_inset
29927
29928
29929 \begin_inset ERT
29930 status collapsed
29931
29932 \begin_layout Plain Layout
29933
29934 }
29935 \end_layout
29936
29937 \end_inset
29938
29939  with a rotated image 
29940 \begin_inset ERT
29941 status collapsed
29942
29943 \begin_layout Plain Layout
29944
29945
29946 \backslash
29947 rotatebox[origin=l]{-90}{
29948 \end_layout
29949
29950 \end_inset
29951
29952
29953 \begin_inset Tabular
29954 <lyxtabular version="3" rows="2" columns="2">
29955 <features>
29956 <column alignment="center" valignment="top" width="0">
29957 <column alignment="center" valignment="top" width="0">
29958 <row>
29959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29960 \begin_inset Text
29961
29962 \begin_layout Plain Layout
29963 q
29964 \end_layout
29965
29966 \end_inset
29967 </cell>
29968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29969 \begin_inset Text
29970
29971 \begin_layout Plain Layout
29972 w
29973 \end_layout
29974
29975 \end_inset
29976 </cell>
29977 </row>
29978 <row>
29979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29980 \begin_inset Text
29981
29982 \begin_layout Plain Layout
29983 e
29984 \end_layout
29985
29986 \end_inset
29987 </cell>
29988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29989 \begin_inset Text
29990
29991 \begin_layout Plain Layout
29992 r
29993 \end_layout
29994
29995 \end_inset
29996 </cell>
29997 </row>
29998 </lyxtabular>
29999
30000 \end_inset
30001
30002
30003 \begin_inset ERT
30004 status collapsed
30005
30006 \begin_layout Plain Layout
30007
30008 }
30009 \end_layout
30010
30011 \end_inset
30012
30013  and table.
30014 \end_layout
30015
30016 \begin_layout Subsection
30017 Scaled Boxes
30018 \begin_inset Index
30019 status collapsed
30020
30021 \begin_layout Plain Layout
30022 Boxes ! scaled
30023 \end_layout
30024
30025 \end_inset
30026
30027
30028 \begin_inset Index
30029 status collapsed
30030
30031 \begin_layout Plain Layout
30032 Scaled material
30033 \end_layout
30034
30035 \end_inset
30036
30037
30038 \begin_inset Index
30039 status collapsed
30040
30041 \begin_layout Plain Layout
30042 Figures ! scaled
30043 \end_layout
30044
30045 \end_inset
30046
30047
30048 \begin_inset Index
30049 status collapsed
30050
30051 \begin_layout Plain Layout
30052 Table Customization ! Scaling
30053 \end_layout
30054
30055 \end_inset
30056
30057
30058 \end_layout
30059
30060 \begin_layout Standard
30061 To scale material the commands 
30062 \series bold
30063
30064 \backslash
30065 scalebox
30066 \series default
30067  and 
30068 \series bold
30069
30070 \backslash
30071 resizebox
30072 \series default
30073  can be used as TeX-Code.
30074 \end_layout
30075
30076 \begin_layout Standard
30077
30078 \series bold
30079
30080 \backslash
30081 scalebox
30082 \series default
30083  is used with the following scheme:
30084 \end_layout
30085
30086 \begin_layout Standard
30087
30088 \series bold
30089
30090 \backslash
30091 scalebox{horizontal}[vertical]{box content}
30092 \end_layout
30093
30094 \begin_layout Standard
30095 Horizontal and vertical are the corresponding scaling factors.
30096  If no vertical scaling factor is given, the horizontal factor will also
30097  be used as vertical one.
30098 \end_layout
30099
30100 \begin_layout Standard
30101 The command 
30102 \series bold
30103
30104 \backslash
30105 scalebox{2}{Hello}
30106 \series default
30107  creates for example a double size 
30108 \begin_inset ERT
30109 status collapsed
30110
30111 \begin_layout Plain Layout
30112
30113
30114 \backslash
30115 scalebox{2}{
30116 \end_layout
30117
30118 \end_inset
30119
30120 Hello
30121 \begin_inset ERT
30122 status collapsed
30123
30124 \begin_layout Plain Layout
30125
30126 }
30127 \end_layout
30128
30129 \end_inset
30130
30131 , compared to the document text size.
30132 \end_layout
30133
30134 \begin_layout Standard
30135
30136 \series bold
30137
30138 \backslash
30139 scalebox{2}[1]{Hello}
30140 \series default
30141  in contrary distorts the 
30142 \begin_inset ERT
30143 status collapsed
30144
30145 \begin_layout Plain Layout
30146
30147
30148 \backslash
30149 scalebox{2}[1]{
30150 \end_layout
30151
30152 \end_inset
30153
30154 Hello
30155 \begin_inset ERT
30156 status collapsed
30157
30158 \begin_layout Plain Layout
30159
30160 }
30161 \end_layout
30162
30163 \end_inset
30164
30165 .
30166 \end_layout
30167
30168 \begin_layout Standard
30169 If a the scaling factor is negative, the box content will be mirrored.
30170  Therefore the command 
30171 \series bold
30172
30173 \backslash
30174 scalebox{-1}[1]{Hello}
30175 \series default
30176  can be used to create mirror writing: 
30177 \begin_inset ERT
30178 status collapsed
30179
30180 \begin_layout Plain Layout
30181
30182
30183 \backslash
30184 scalebox{-1}[1]{
30185 \end_layout
30186
30187 \end_inset
30188
30189 Hello
30190 \begin_inset ERT
30191 status collapsed
30192
30193 \begin_layout Plain Layout
30194
30195 }
30196 \end_layout
30197
30198 \end_inset
30199
30200
30201 \end_layout
30202
30203 \begin_layout Standard
30204
30205 \series bold
30206
30207 \backslash
30208 scalebox{1}[-1]{Hello}
30209 \series default
30210  reflects the 
30211 \begin_inset ERT
30212 status collapsed
30213
30214 \begin_layout Plain Layout
30215
30216
30217 \backslash
30218 scalebox{1}[-1]{
30219 \end_layout
30220
30221 \end_inset
30222
30223 Hello
30224 \begin_inset ERT
30225 status collapsed
30226
30227 \begin_layout Plain Layout
30228
30229 }
30230 \end_layout
30231
30232 \end_inset
30233
30234  at the base line.
30235 \end_layout
30236
30237 \begin_layout Standard
30238 Equivalent to 
30239 \series bold
30240
30241 \backslash
30242 scalebox{-1}[1]{box content}
30243 \series default
30244  there exists the command
30245 \begin_inset Newline newline
30246 \end_inset
30247
30248
30249 \series bold
30250
30251 \backslash
30252 reflectbox{box content}
30253 \series default
30254 .
30255 \end_layout
30256
30257 \begin_layout Standard
30258 \begin_inset VSpace bigskip
30259 \end_inset
30260
30261 The command 
30262 \series bold
30263
30264 \backslash
30265 resizebox
30266 \series default
30267  is used to scale the box to a defined width and height.
30268  The command scheme is:
30269 \end_layout
30270
30271 \begin_layout Standard
30272
30273 \series bold
30274
30275 \backslash
30276 resizebox{width}{height}{box content}
30277 \end_layout
30278
30279 \begin_layout Standard
30280 Is one of the two command arguments given as exclamation mark 
30281 \series bold
30282 !
30283 \series default
30284 , the size is set so that the aspect ratio of the box content is kept.
30285 \end_layout
30286
30287 \begin_layout Standard
30288 The command 
30289 \series bold
30290
30291 \backslash
30292 resizebox{2cm}{1cm}{Hello}
30293 \series default
30294  produces: 
30295 \begin_inset ERT
30296 status collapsed
30297
30298 \begin_layout Plain Layout
30299
30300
30301 \backslash
30302 resizebox{2cm}{1cm}{
30303 \end_layout
30304
30305 \end_inset
30306
30307 Hello
30308 \begin_inset ERT
30309 status collapsed
30310
30311 \begin_layout Plain Layout
30312
30313 }
30314 \end_layout
30315
30316 \end_inset
30317
30318
30319 \begin_inset Newline newline
30320 \end_inset
30321
30322 The command 
30323 \series bold
30324
30325 \backslash
30326 resizebox{2cm}{!}{Hello}
30327 \series default
30328  produces: 
30329 \begin_inset ERT
30330 status collapsed
30331
30332 \begin_layout Plain Layout
30333
30334
30335 \backslash
30336 resizebox{2cm}{!}{
30337 \end_layout
30338
30339 \end_inset
30340
30341 Hello
30342 \begin_inset ERT
30343 status collapsed
30344
30345 \begin_layout Plain Layout
30346
30347 }
30348 \end_layout
30349
30350 \end_inset
30351
30352
30353 \end_layout
30354
30355 \begin_layout Standard
30356 \begin_inset VSpace bigskip
30357 \end_inset
30358
30359
30360 \begin_inset Note Greyedout
30361 status open
30362
30363 \begin_layout Plain Layout
30364
30365 \series bold
30366 Note:
30367 \series default
30368  When arguments of 
30369 \series bold
30370
30371 \backslash
30372 scalebox
30373 \series default
30374  or 
30375 \series bold
30376
30377 \backslash
30378 resizebox
30379 \series default
30380  are set to zero, no LaTeX-errors occur when exporting the document but
30381  the exported files can not or only partly be displayed.
30382 \end_layout
30383
30384 \end_inset
30385
30386
30387 \end_layout
30388
30389 \begin_layout Standard
30390 \begin_inset VSpace bigskip
30391 \end_inset
30392
30393
30394 \end_layout
30395
30396 \begin_layout Standard
30397 The boxes can be combined in any order.
30398  E.
30399 \begin_inset Space \thinspace{}
30400 \end_inset
30401
30402 g.
30403 \begin_inset Space ~
30404 \end_inset
30405
30406 the command
30407 \begin_inset Newline newline
30408 \end_inset
30409
30410
30411 \series bold
30412
30413 \backslash
30414 rotatebox[origin=c]{-45}{
30415 \backslash
30416 resizebox{2cm}{!}{
30417 \backslash
30418 reflectbox{Hello}}}
30419 \begin_inset Newline newline
30420 \end_inset
30421
30422
30423 \series default
30424 produces:
30425 \end_layout
30426
30427 \begin_layout Standard
30428 \align center
30429 \begin_inset ERT
30430 status collapsed
30431
30432 \begin_layout Plain Layout
30433
30434
30435 \backslash
30436 rotatebox[origin=c]{-45}{
30437 \backslash
30438 resizebox{2cm}{!}{
30439 \backslash
30440 reflectbox{
30441 \end_layout
30442
30443 \end_inset
30444
30445 Hello
30446 \begin_inset ERT
30447 status collapsed
30448
30449 \begin_layout Plain Layout
30450
30451 }}}
30452 \end_layout
30453
30454 \end_inset
30455
30456
30457 \end_layout
30458
30459 \begin_layout Standard
30460 \noindent
30461 Images, tables, and inline formulas are allowed as box content:
30462 \end_layout
30463
30464 \begin_layout Standard
30465 \align center
30466 \begin_inset ERT
30467 status collapsed
30468
30469 \begin_layout Plain Layout
30470
30471
30472 \backslash
30473 rotatebox[origin=c]{-30}{
30474 \backslash
30475 resizebox{2cm}{!}{
30476 \backslash
30477 reflectbox{
30478 \end_layout
30479
30480 \end_inset
30481
30482
30483 \begin_inset Graphics
30484         filename clipart/platypus.eps
30485         lyxscale 50
30486         width 25col%
30487
30488 \end_inset
30489
30490
30491 \begin_inset ERT
30492 status collapsed
30493
30494 \begin_layout Plain Layout
30495
30496 }}}
30497 \end_layout
30498
30499 \end_inset
30500
30501
30502 \begin_inset ERT
30503 status collapsed
30504
30505 \begin_layout Plain Layout
30506
30507
30508 \backslash
30509 rotatebox[origin=c]{-45}{
30510 \backslash
30511 resizebox{2cm}{!}{
30512 \backslash
30513 reflectbox{
30514 \end_layout
30515
30516 \end_inset
30517
30518
30519 \begin_inset Tabular
30520 <lyxtabular version="3" rows="2" columns="2">
30521 <features>
30522 <column alignment="center" valignment="top" width="0">
30523 <column alignment="center" valignment="top" width="0">
30524 <row>
30525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30526 \begin_inset Text
30527
30528 \begin_layout Plain Layout
30529 q
30530 \end_layout
30531
30532 \end_inset
30533 </cell>
30534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30535 \begin_inset Text
30536
30537 \begin_layout Plain Layout
30538 w
30539 \end_layout
30540
30541 \end_inset
30542 </cell>
30543 </row>
30544 <row>
30545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30546 \begin_inset Text
30547
30548 \begin_layout Plain Layout
30549 e
30550 \end_layout
30551
30552 \end_inset
30553 </cell>
30554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30555 \begin_inset Text
30556
30557 \begin_layout Plain Layout
30558 r
30559 \end_layout
30560
30561 \end_inset
30562 </cell>
30563 </row>
30564 </lyxtabular>
30565
30566 \end_inset
30567
30568
30569 \begin_inset ERT
30570 status collapsed
30571
30572 \begin_layout Plain Layout
30573
30574 }}}
30575 \end_layout
30576
30577 \end_inset
30578
30579
30580 \begin_inset ERT
30581 status collapsed
30582
30583 \begin_layout Plain Layout
30584
30585
30586 \backslash
30587 rotatebox[origin=c]{-45}{
30588 \backslash
30589 resizebox{2cm}{!}{
30590 \backslash
30591 reflectbox{
30592 \end_layout
30593
30594 \end_inset
30595
30596
30597 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30598 \end_inset
30599
30600
30601 \begin_inset ERT
30602 status collapsed
30603
30604 \begin_layout Plain Layout
30605
30606 }}}
30607 \end_layout
30608
30609 \end_inset
30610
30611
30612 \end_layout
30613
30614 \begin_layout Standard
30615 When the global formula style 
30616 \series bold
30617 fleqn
30618 \series default
30619  is used in the document
30620 \begin_inset Foot
30621 status collapsed
30622
30623 \begin_layout Plain Layout
30624 When 
30625 \begin_inset Quotes eld
30626 \end_inset
30627
30628 fleqn
30629 \begin_inset Quotes erd
30630 \end_inset
30631
30632  is added to the document class options.
30633 \end_layout
30634
30635 \end_inset
30636
30637 , also display formulas can be scaled.
30638 \end_layout
30639
30640 \begin_layout Chapter
30641 External Stuff
30642 \begin_inset Index
30643 status collapsed
30644
30645 \begin_layout Plain Layout
30646 External Stuff
30647 \end_layout
30648
30649 \end_inset
30650
30651
30652 \end_layout
30653
30654 \begin_layout Standard
30655 With the menu 
30656 \family sans
30657 Insert\SpecialChar \menuseparator
30658 File
30659 \family default
30660  you can insert external material to your document.
30661  This can be:
30662 \end_layout
30663
30664 \begin_layout Description
30665 LyX
30666 \begin_inset Space ~
30667 \end_inset
30668
30669 Document Another LyX document; its content is directly inserted to your
30670  document.
30671 \end_layout
30672
30673 \begin_layout Description
30674 Plain
30675 \begin_inset Space ~
30676 \end_inset
30677
30678 Text A text document; every of its text lines is inserted to your document
30679  as own paragraph.
30680 \end_layout
30681
30682 \begin_layout Description
30683 Plain
30684 \begin_inset Space ~
30685 \end_inset
30686
30687 Text,
30688 \begin_inset Space ~
30689 \end_inset
30690
30691 Join
30692 \begin_inset Space ~
30693 \end_inset
30694
30695 Lines A text document; its text lines are inserted as they are.
30696  Empty text lines creates a new paragraph in your document.
30697 \end_layout
30698
30699 \begin_layout Description
30700 External
30701 \begin_inset Space ~
30702 \end_inset
30703
30704 Material Files in various formats.
30705 \end_layout
30706
30707 \begin_layout Description
30708 Child
30709 \begin_inset Space ~
30710 \end_inset
30711
30712 Document LyX or LaTeX-documents.
30713 \end_layout
30714
30715 \begin_layout Section
30716 External Material
30717 \begin_inset Index
30718 status collapsed
30719
30720 \begin_layout Plain Layout
30721 External Stuff ! External Material
30722 \end_layout
30723
30724 \end_inset
30725
30726
30727 \end_layout
30728
30729 \begin_layout Standard
30730 The external material feature allows you to insert files to your document
30731  without converting them previously to a format that can be read by the
30732  document output format because LyX takes care of needed conversions.
30733  This is similar to images that can be inserted in various image formats
30734  to LyX documents.
30735 \end_layout
30736
30737 \begin_layout Standard
30738 External material can be inserted via the 
30739 \family sans
30740 External Material
30741 \family default
30742  dialog that is accessible with the menu 
30743 \family sans
30744 Insert\SpecialChar \menuseparator
30745 File\SpecialChar \menuseparator
30746 External
30747 \begin_inset Space ~
30748 \end_inset
30749
30750 Material
30751 \family default
30752 .
30753  Currently the following file types (
30754 \family sans
30755 Templates
30756 \family default
30757 ) are allowed:
30758 \end_layout
30759
30760 \begin_layout Description
30761 ChessDiagram This template supports chess position diagrams made with the
30762  programas 
30763 \series bold
30764
30765 \begin_inset CommandInset href
30766 LatexCommand href
30767 name "XBoard"
30768 target "http://en.wikipedia.org/wiki/XBoard"
30769
30770 \end_inset
30771
30772
30773 \series default
30774 .
30775 \end_layout
30776
30777 \begin_layout Description
30778 Date This inserts the date in the form 
30779 \emph on
30780 Day-Month-Year
30781 \emph default
30782 .
30783  This is a date inserted as external material: 
30784 \begin_inset External
30785         template Date
30786         filename .
30787
30788 \end_inset
30789
30790
30791 \begin_inset Space ~
30792 \end_inset
30793
30794
30795 \begin_inset Note Note
30796 status open
30797
30798 \begin_layout Plain Layout
30799 Remove the protected space when bug 4398 is fixed!
30800 \end_layout
30801
30802 \end_inset
30803
30804
30805 \begin_inset Newline newline
30806 \end_inset
30807
30808 The date is not shown within LyX, only in the output.
30809  There are two other methods of inserting a date: Via menu 
30810 \family sans
30811 Insert\SpecialChar \menuseparator
30812 Date
30813 \family default
30814  and with the LaTeX command 
30815 \series bold
30816
30817 \backslash
30818 today
30819 \series default
30820  as TeX-Code.
30821  The different methods are compared in Table
30822 \begin_inset Space ~
30823 \end_inset
30824
30825
30826 \begin_inset CommandInset ref
30827 LatexCommand ref
30828 reference "tab:Comparison-of-the"
30829
30830 \end_inset
30831
30832 .
30833 \end_layout
30834
30835 \begin_layout Description
30836 LilyPond This template is used for music notation typeset with the program
30837 \begin_inset Newline linebreak
30838 \end_inset
30839
30840
30841 \series bold
30842
30843 \begin_inset CommandInset href
30844 LatexCommand href
30845 name "LilyPond"
30846 target "http://en.wikipedia.org/wiki/LilyPond"
30847
30848 \end_inset
30849
30850
30851 \series default
30852 .
30853 \end_layout
30854
30855 \begin_layout Description
30856 RasterImage This can be used for bitmap images.
30857  Nearly all popular image formats are supported.
30858  The image can be treated in the 
30859 \family sans
30860 External material
30861 \family default
30862  dialog like the images that are usually included via the 
30863 \family sans
30864 Graphics
30865 \family default
30866  dialog as described in section
30867 \begin_inset Space ~
30868 \end_inset
30869
30870
30871 \begin_inset CommandInset ref
30872 LatexCommand ref
30873 reference "sec:Graphics-Dialog"
30874
30875 \end_inset
30876
30877 .
30878  The difference is that only raster images are allowed, that means that
30879  PDF and EPS-images are not supported.
30880 \end_layout
30881
30882 \begin_layout Description
30883 XFig This template supports images created with the program 
30884 \series bold
30885
30886 \begin_inset CommandInset href
30887 LatexCommand href
30888 name "Xfig"
30889 target "http://en.wikipedia.org/wiki/Xfig"
30890
30891 \end_inset
30892
30893
30894 \series default
30895 .
30896 \end_layout
30897
30898 \begin_layout Standard
30899 \begin_inset Float table
30900 placement h
30901 wide false
30902 sideways false
30903 status open
30904
30905 \begin_layout Plain Layout
30906 \begin_inset Caption
30907
30908 \begin_layout Plain Layout
30909 \begin_inset CommandInset label
30910 LatexCommand label
30911 name "tab:Comparison-of-the"
30912
30913 \end_inset
30914
30915 Comparison of the date input methods.
30916 \end_layout
30917
30918 \end_inset
30919
30920
30921 \end_layout
30922
30923 \begin_layout Plain Layout
30924 \align center
30925 \begin_inset Tabular
30926 <lyxtabular version="3" rows="4" columns="4">
30927 <features>
30928 <column alignment="center" valignment="top" width="0">
30929 <column alignment="center" valignment="top" width="0">
30930 <column alignment="center" valignment="top" width="0">
30931 <column alignment="center" valignment="top" width="0">
30932 <row>
30933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30934 \begin_inset Text
30935
30936 \begin_layout Plain Layout
30937 Document format
30938 \end_layout
30939
30940 \end_inset
30941 </cell>
30942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30943 \begin_inset Text
30944
30945 \begin_layout Plain Layout
30946
30947 \family sans
30948 External Material\SpecialChar \menuseparator
30949 Date
30950 \end_layout
30951
30952 \end_inset
30953 </cell>
30954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30955 \begin_inset Text
30956
30957 \begin_layout Plain Layout
30958
30959 \family sans
30960 Insert\SpecialChar \menuseparator
30961 Date
30962 \end_layout
30963
30964 \end_inset
30965 </cell>
30966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30967 \begin_inset Text
30968
30969 \begin_layout Plain Layout
30970 command 
30971 \series bold
30972
30973 \backslash
30974 today
30975 \end_layout
30976
30977 \end_inset
30978 </cell>
30979 </row>
30980 <row>
30981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30982 \begin_inset Text
30983
30984 \begin_layout Plain Layout
30985 LyX
30986 \end_layout
30987
30988 \end_inset
30989 </cell>
30990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30991 \begin_inset Text
30992
30993 \begin_layout Plain Layout
30994 as inset box
30995 \end_layout
30996
30997 \end_inset
30998 </cell>
30999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31000 \begin_inset Text
31001
31002 \begin_layout Plain Layout
31003 as date
31004 \end_layout
31005
31006 \end_inset
31007 </cell>
31008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31009 \begin_inset Text
31010
31011 \begin_layout Plain Layout
31012 as TeX-Code inset box
31013 \end_layout
31014
31015 \end_inset
31016 </cell>
31017 </row>
31018 <row>
31019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31020 \begin_inset Text
31021
31022 \begin_layout Plain Layout
31023 LaTeX
31024 \end_layout
31025
31026 \end_inset
31027 </cell>
31028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31029 \begin_inset Text
31030
31031 \begin_layout Plain Layout
31032 as date
31033 \end_layout
31034
31035 \end_inset
31036 </cell>
31037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31038 \begin_inset Text
31039
31040 \begin_layout Plain Layout
31041 as date
31042 \end_layout
31043
31044 \end_inset
31045 </cell>
31046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31047 \begin_inset Text
31048
31049 \begin_layout Plain Layout
31050 as command
31051 \end_layout
31052
31053 \end_inset
31054 </cell>
31055 </row>
31056 <row>
31057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31058 \begin_inset Text
31059
31060 \begin_layout Plain Layout
31061 DVI, PDF, PS
31062 \end_layout
31063
31064 \end_inset
31065 </cell>
31066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31067 \begin_inset Text
31068
31069 \begin_layout Plain Layout
31070 as date
31071 \end_layout
31072
31073 \end_inset
31074 </cell>
31075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31076 \begin_inset Text
31077
31078 \begin_layout Plain Layout
31079 as date
31080 \end_layout
31081
31082 \end_inset
31083 </cell>
31084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31085 \begin_inset Text
31086
31087 \begin_layout Plain Layout
31088 as date
31089 \end_layout
31090
31091 \end_inset
31092 </cell>
31093 </row>
31094 </lyxtabular>
31095
31096 \end_inset
31097
31098
31099 \end_layout
31100
31101 \end_inset
31102
31103
31104 \end_layout
31105
31106 \begin_layout Standard
31107 When you use the option 
31108 \family sans
31109 Draft
31110 \family default
31111  in the 
31112 \family sans
31113 File
31114 \family default
31115  tab of the 
31116 \family sans
31117 External Material
31118 \family default
31119  dialog, only the path to the inserted file is shown in the output.
31120 \begin_inset Newline newline
31121 \end_inset
31122
31123 External material is displayed in LyX either as box like this: 
31124 \begin_inset Graphics
31125         filename clipart/ExternalMaterialQt4.png
31126         scale 85
31127         scaleBeforeRotation
31128
31129 \end_inset
31130
31131  or as image, depending on the setting in the 
31132 \family sans
31133 LyX
31134 \begin_inset Space ~
31135 \end_inset
31136
31137 View
31138 \family default
31139  tab of the 
31140 \family sans
31141 External Material
31142 \family default
31143  dialog.
31144 \end_layout
31145
31146 \begin_layout Standard
31147 The 
31148 \family sans
31149 \emph on
31150 Customization
31151 \family default
31152 \emph default
31153  manual explains how you can define your own templates.
31154 \end_layout
31155
31156 \begin_layout Section
31157 Child Documents
31158 \begin_inset CommandInset label
31159 LatexCommand label
31160 name "sec:Child-Documents"
31161
31162 \end_inset
31163
31164
31165 \begin_inset Index
31166 status collapsed
31167
31168 \begin_layout Plain Layout
31169 External Stuff ! Child Documents
31170 \end_layout
31171
31172 \end_inset
31173
31174
31175 \begin_inset Index
31176 status collapsed
31177
31178 \begin_layout Plain Layout
31179 Files ! Include
31180 \end_layout
31181
31182 \end_inset
31183
31184
31185 \end_layout
31186
31187 \begin_layout Standard
31188 Child documents are used when you have a long document consisting of several
31189  larger parts or sections.
31190  For maintenance it is often useful and sometimes even required to split
31191  the document in several files that can be revised separately.
31192  The different documents are then the so called child documents and a master
31193  document connects them to print the full document or parts of it.
31194 \end_layout
31195
31196 \begin_layout Standard
31197 Included documents are displayed in LyX as a box like this: 
31198 \begin_inset Graphics
31199         filename clipart/ChildDocumentQt4.png
31200         scale 85
31201         scaleBeforeRotation
31202
31203 \end_inset
31204
31205  To include child documents to a master document use the menu 
31206 \family sans
31207 Insert\SpecialChar \menuseparator
31208 File\SpecialChar \menuseparator
31209 Child
31210 \begin_inset Space ~
31211 \end_inset
31212
31213 Documents
31214 \family default
31215 .
31216  A dialog pops up where you can choose between four include methods:
31217 \end_layout
31218
31219 \begin_layout Description
31220 Include You can include LyX and LaTeX-documents.
31221  When you press the 
31222 \family sans
31223 Load
31224 \family default
31225  button in the 
31226 \family sans
31227 Child Document
31228 \family default
31229  dialog, the included documents will be opened in LyX in a new file tab
31230  so that you can modify it.
31231 \begin_inset Newline newline
31232 \end_inset
31233
31234
31235 \end_layout
31236
31237 \begin_layout Standard
31238 Here is a child document inserted using 
31239 \family sans
31240 Include
31241 \family default
31242
31243 \begin_inset CommandInset include
31244 LatexCommand include
31245 filename "DummyDocument1.lyx"
31246
31247 \end_inset
31248
31249
31250 \end_layout
31251
31252 \begin_layout Standard
31253 The section numbering includes the sections of the included files in the
31254  order they are inserted in the master document.
31255  The included example document has for example a subsection that is numbered
31256  as subsection of this section.
31257  Labels of included documents can be referenced: Subsection
31258 \begin_inset Space ~
31259 \end_inset
31260
31261
31262 \begin_inset CommandInset ref
31263 LatexCommand ref
31264 reference "sub:External-Subsection-1"
31265
31266 \end_inset
31267
31268
31269 \end_layout
31270
31271 \begin_layout Standard
31272 The preamble of the child document is ignored, only the preamble of the
31273  master document is used.
31274  Included documents are inserted starting on a new page and end with a page
31275  break.
31276 \end_layout
31277
31278 \begin_layout Standard
31279 With the LaTeX-command 
31280 \series bold
31281
31282 \backslash
31283 includeonly 
31284 \series default
31285 you can specify which included child documents are processed when the output
31286  is generated.
31287  This is useful when you are perhaps only working on a certain chapter of
31288  your large document as this saves compiling time.
31289  
31290 \series bold
31291
31292 \backslash
31293 includeonly
31294 \series default
31295  is inserted to the master document preamble.
31296  It takes a comma-separated list of the filenames as argument, e.g.
31297 \end_layout
31298
31299 \begin_layout Standard
31300
31301 \series bold
31302
31303 \backslash
31304 includeonly{chapter1,chapter5}
31305 \end_layout
31306
31307 \begin_layout Standard
31308 will only process the included files named 
31309 \begin_inset Quotes eld
31310 \end_inset
31311
31312 chapter1.lyx
31313 \begin_inset Quotes erd
31314 \end_inset
31315
31316  (or 
31317 \begin_inset Quotes eld
31318 \end_inset
31319
31320 chapter1.tex
31321 \begin_inset Quotes erd
31322 \end_inset
31323
31324 ) and 
31325 \begin_inset Quotes eld
31326 \end_inset
31327
31328 chapter5.lyx
31329 \begin_inset Quotes erd
31330 \end_inset
31331
31332  .
31333 \end_layout
31334
31335 \begin_layout Standard
31336 \begin_inset Note Greyedout
31337 status open
31338
31339 \begin_layout Plain Layout
31340
31341 \series bold
31342 Note:
31343 \series default
31344  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31345 w the document in case that the child document uses another document class
31346  than the master document as this will lead to unexpected outputs.
31347 \end_layout
31348
31349 \end_inset
31350
31351
31352 \end_layout
31353
31354 \begin_layout Description
31355 Input This method is very similar to the Include method.
31356  The differences are:
31357 \end_layout
31358
31359 \begin_deeper
31360 \begin_layout Itemize
31361 Input files don't start with a new page and don't end with a page break.
31362 \end_layout
31363
31364 \begin_layout Itemize
31365 Input files can be previewed in LyX when 
31366 \family sans
31367 Instant
31368 \begin_inset Space ~
31369 \end_inset
31370
31371 Preview
31372 \family default
31373  is enabled in LyX's preferences under 
31374 \family sans
31375 Look
31376 \begin_inset Space ~
31377 \end_inset
31378
31379 and
31380 \begin_inset Space ~
31381 \end_inset
31382
31383 feel\SpecialChar \menuseparator
31384 Graphics
31385 \family default
31386 .
31387 \end_layout
31388
31389 \begin_layout Itemize
31390 The LaTeX-command 
31391 \series bold
31392
31393 \backslash
31394 includeonly
31395 \series default
31396  cannot be used.
31397 \end_layout
31398
31399 \end_deeper
31400 \begin_layout Standard
31401 Here is a child document inserted using 
31402 \family sans
31403 Input
31404 \family default
31405
31406 \begin_inset CommandInset include
31407 LatexCommand input
31408 filename "DummyDocument2.lyx"
31409
31410 \end_inset
31411
31412
31413 \end_layout
31414
31415 \begin_layout Description
31416 Verbatim With this method every text file can be included.
31417  The file is shown in the output with its source code, no command used in
31418  the text is invoked.
31419  You can use the option 
31420 \family sans
31421 Mark spaces in output
31422 \family default
31423  that displays the character 
31424 \begin_inset Quotes eld
31425 \end_inset
31426
31427
31428 \begin_inset ERT
31429 status collapsed
31430
31431 \begin_layout Plain Layout
31432
31433
31434 \backslash
31435 textvisiblespace 
31436 \end_layout
31437
31438 \end_inset
31439
31440
31441 \begin_inset Quotes erd
31442 \end_inset
31443
31444  for every space character in the source code.
31445  The difference to the method via the menu 
31446 \family sans
31447 Insert\SpecialChar \menuseparator
31448 File\SpecialChar \menuseparator
31449 Plain
31450 \begin_inset Space ~
31451 \end_inset
31452
31453 Text
31454 \family default
31455  is that the document content is not shown in LyX.
31456 \end_layout
31457
31458 \begin_layout Standard
31459 Here is a child document inserted as Verbatim: 
31460 \begin_inset CommandInset include
31461 LatexCommand verbatiminput
31462 filename "DummyTextDocument.txt"
31463
31464 \end_inset
31465
31466
31467 \begin_inset VSpace bigskip
31468 \end_inset
31469
31470 Here is a child document inserted as Verbatim using the 
31471 \family sans
31472 Mark spaces in output
31473 \family default
31474  option: 
31475 \begin_inset CommandInset include
31476 LatexCommand verbatiminput*
31477 filename "DummyTextDocument.txt"
31478
31479 \end_inset
31480
31481
31482 \end_layout
31483
31484 \begin_layout Standard
31485 \begin_inset VSpace bigskip
31486 \end_inset
31487
31488
31489 \end_layout
31490
31491 \begin_layout Standard
31492 \begin_inset Note Greyedout
31493 status open
31494
31495 \begin_layout Plain Layout
31496
31497 \series bold
31498 Note:
31499 \series default
31500  As you can see in the examples above, the text of the documents included
31501  as 
31502 \family sans
31503 verbatim
31504 \family default
31505  is not broken at the end of the document lines.
31506 \end_layout
31507
31508 \end_inset
31509
31510
31511 \end_layout
31512
31513 \begin_layout Description
31514 Listings This type is described in chapter
31515 \begin_inset Space ~
31516 \end_inset
31517
31518
31519 \begin_inset CommandInset ref
31520 LatexCommand ref
31521 reference "cha:Program-Code-Listings"
31522
31523 \end_inset
31524
31525 .
31526 \end_layout
31527
31528 \begin_layout Standard
31529 \begin_inset Note Greyedout
31530 status open
31531
31532 \begin_layout Plain Layout
31533
31534 \series bold
31535 Note:
31536 \series default
31537  Including the same document twice in a document using different methods
31538  could cause LaTeX-problems.
31539 \end_layout
31540
31541 \end_inset
31542
31543
31544 \end_layout
31545
31546 \begin_layout Chapter
31547 Program Code Listings
31548 \begin_inset CommandInset label
31549 LatexCommand label
31550 name "cha:Program-Code-Listings"
31551
31552 \end_inset
31553
31554
31555 \begin_inset Index
31556 status collapsed
31557
31558 \begin_layout Plain Layout
31559 Listings
31560 \end_layout
31561
31562 \end_inset
31563
31564
31565 \begin_inset Index
31566 status collapsed
31567
31568 \begin_layout Plain Layout
31569 Program Code
31570 \end_layout
31571
31572 \end_inset
31573
31574
31575 \begin_inset Index
31576 status collapsed
31577
31578 \begin_layout Plain Layout
31579 Floats ! Listings
31580 \end_layout
31581
31582 \end_inset
31583
31584
31585 \end_layout
31586
31587 \begin_layout Standard
31588 To include and typeset program code you can use the 
31589 \family sans
31590 Listings
31591 \family default
31592  inset that can be inserted via the menu 
31593 \family sans
31594 Insert\SpecialChar \menuseparator
31595 Program Listing
31596 \family default
31597 .
31598  The LaTeX-package 
31599 \series bold
31600 listings
31601 \series default
31602
31603 \begin_inset Index
31604 status collapsed
31605
31606 \begin_layout Plain Layout
31607 LaTeX-packages ! listings
31608 \end_layout
31609
31610 \end_inset
31611
31612  provides a powerful and flexible way to insert program source code to your
31613  document.
31614 \end_layout
31615
31616 \begin_layout Standard
31617 When right-clicking on a listings inset a dialog pops up where you can set
31618  the listings format.
31619 \end_layout
31620
31621 \begin_layout Standard
31622 By default, a listing starts a new paragraph in the output.
31623  The placement option 
31624 \family sans
31625 Inline
31626 \begin_inset Space ~
31627 \end_inset
31628
31629 listing
31630 \family default
31631  prints the listing inline like this: 
31632 \begin_inset listings
31633 lstparams "language={C++}"
31634 inline true
31635 status open
31636
31637 \begin_layout Plain Layout
31638 int a=5;
31639 \end_layout
31640
31641 \end_inset
31642
31643
31644 \begin_inset Newline newline
31645 \end_inset
31646
31647 The option 
31648 \family sans
31649 Float
31650 \family default
31651  creates a listings float where you can specify the placement options 
31652 \begin_inset Quotes eld
31653 \end_inset
31654
31655
31656 \family sans
31657 h
31658 \family default
31659
31660 \begin_inset Quotes erd
31661 \end_inset
31662
31663
31664 \begin_inset Quotes eld
31665 \end_inset
31666
31667
31668 \family sans
31669 t
31670 \family default
31671
31672 \begin_inset Quotes erd
31673 \end_inset
31674
31675
31676 \begin_inset Quotes eld
31677 \end_inset
31678
31679
31680 \family sans
31681 b
31682 \family default
31683
31684 \begin_inset Quotes erd
31685 \end_inset
31686
31687 , and 
31688 \begin_inset Quotes eld
31689 \end_inset
31690
31691
31692 \family sans
31693 p
31694 \family default
31695
31696 \begin_inset Quotes erd
31697 \end_inset
31698
31699  corresponding to the float placement options described in section
31700 \begin_inset Space ~
31701 \end_inset
31702
31703
31704 \begin_inset CommandInset ref
31705 LatexCommand ref
31706 reference "sec:Float-Placement"
31707
31708 \end_inset
31709
31710 .
31711  The placement options can be mixed and are inserted without any separation,
31712  e.
31713 \begin_inset Space \thinspace{}
31714 \end_inset
31715
31716 g.
31717 \begin_inset Space ~
31718 \end_inset
31719
31720
31721 \begin_inset Quotes eld
31722 \end_inset
31723
31724
31725 \family sans
31726 htbp
31727 \family default
31728
31729 \begin_inset Quotes erd
31730 \end_inset
31731
31732 .
31733  The option 
31734 \begin_inset Quotes eld
31735 \end_inset
31736
31737 h
31738 \begin_inset Quotes erd
31739 \end_inset
31740
31741  has sometimes no effect, but you don't need to use the 
31742 \family sans
31743 Float
31744 \family default
31745  option in this case as also non-float listings can have captions and be
31746  referenced.
31747 \end_layout
31748
31749 \begin_layout Standard
31750 You can add captions to listings with the menu 
31751 \family sans
31752 Insert\SpecialChar \menuseparator
31753 Caption
31754 \family default
31755 .
31756  Listings can be referenced like floats: Listing
31757 \begin_inset Space ~
31758 \end_inset
31759
31760
31761 \begin_inset CommandInset ref
31762 LatexCommand ref
31763 reference "lst:Example-Listing"
31764
31765 \end_inset
31766
31767
31768 \end_layout
31769
31770 \begin_layout Standard
31771 \begin_inset listings
31772 lstparams "language=Python"
31773 inline false
31774 status open
31775
31776 \begin_layout Plain Layout
31777 \begin_inset Caption
31778
31779 \begin_layout Plain Layout
31780 \begin_inset CommandInset label
31781 LatexCommand label
31782 name "lst:Example-Listing"
31783
31784 \end_inset
31785
31786 Example Listing float
31787 \end_layout
31788
31789 \end_inset
31790
31791 # Example listing float
31792 \end_layout
31793
31794 \begin_layout Plain Layout
31795 def func(param):
31796 \end_layout
31797
31798 \begin_layout Plain Layout
31799     'this is a python function'
31800 \end_layout
31801
31802 \begin_layout Plain Layout
31803     pass
31804 \end_layout
31805
31806 \end_inset
31807
31808
31809 \end_layout
31810
31811 \begin_layout Standard
31812 When you have set a programming language in the listings dialog, the keywords
31813  of this language will be recognized and specially typeset in the output.
31814  In the example listings the Python keyword 
31815 \begin_inset Quotes eld
31816 \end_inset
31817
31818 def
31819 \begin_inset Quotes erd
31820 \end_inset
31821
31822  is recognized and printed bold in the output.
31823 \end_layout
31824
31825 \begin_layout Standard
31826 \begin_inset Note Greyedout
31827 status open
31828
31829 \begin_layout Plain Layout
31830
31831 \series bold
31832 Note:
31833 \series default
31834  If you don't get bold keywords when using typewriter fonts, your typewriter
31835  font probably doesn't provide a bold shape.
31836  In this case select a different one in the menu 
31837 \family sans
31838 Document\SpecialChar \menuseparator
31839 Settings\SpecialChar \menuseparator
31840 Fonts
31841 \family default
31842 .
31843  (The fonts 
31844 \emph on
31845 LuxiMono, BeraMono
31846 \emph default
31847  and 
31848 \emph on
31849 Courier
31850 \emph default
31851  provide bold shapes.)
31852 \end_layout
31853
31854 \end_inset
31855
31856
31857 \end_layout
31858
31859 \begin_layout Standard
31860 In section 
31861 \family sans
31862 Line
31863 \begin_inset Space ~
31864 \end_inset
31865
31866 numbering
31867 \family default
31868  of the listings dialog you can specify the line numbering style.
31869  You can insert a number to specify which lines are numbered to the field
31870  
31871 \family sans
31872 Step
31873 \family default
31874 .
31875  When you insert e.g.
31876  
31877 \begin_inset Quotes eld
31878 \end_inset
31879
31880 3
31881 \begin_inset Quotes erd
31882 \end_inset
31883
31884 , only every 3rd line will be numbered.
31885 \end_layout
31886
31887 \begin_layout Standard
31888 You can furthermore specify a range of lines, only these will then appear
31889  in the output.
31890  The option 
31891 \family sans
31892 Extended
31893 \begin_inset Space ~
31894 \end_inset
31895
31896 chars
31897 \family default
31898  should be used when you use national characters like the German umlauts
31899  in the listing.
31900 \begin_inset Newline newline
31901 \end_inset
31902
31903 Here is an example listing with left line numbering, step 
31904 \begin_inset Quotes eld
31905 \end_inset
31906
31907 3
31908 \begin_inset Quotes erd
31909 \end_inset
31910
31911 , language 
31912 \begin_inset Quotes eld
31913 \end_inset
31914
31915 Python
31916 \begin_inset Quotes erd
31917 \end_inset
31918
31919 , options 
31920 \begin_inset Quotes eld
31921 \end_inset
31922
31923 Extended
31924 \begin_inset Space ~
31925 \end_inset
31926
31927 chars
31928 \begin_inset Quotes erd
31929 \end_inset
31930
31931  and 
31932 \begin_inset Quotes eld
31933 \end_inset
31934
31935 Space
31936 \begin_inset Space ~
31937 \end_inset
31938
31939 as
31940 \begin_inset Space ~
31941 \end_inset
31942
31943 Symbol
31944 \begin_inset Quotes erd
31945 \end_inset
31946
31947 , range lines 3
31948 \begin_inset Space \thinspace{}
31949 \end_inset
31950
31951 -
31952 \begin_inset Space \thinspace{}
31953 \end_inset
31954
31955 8:
31956 \end_layout
31957
31958 \begin_layout Standard
31959 \begin_inset listings
31960 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
31961 inline false
31962 status open
31963
31964 \begin_layout Plain Layout
31965 def func(param):
31966 \end_layout
31967
31968 \begin_layout Plain Layout
31969     'this is a python function'
31970 \end_layout
31971
31972 \begin_layout Plain Layout
31973     pass
31974 \end_layout
31975
31976 \begin_layout Plain Layout
31977 def func(param):
31978 \end_layout
31979
31980 \begin_layout Plain Layout
31981 'This is a German word: Tschüß'
31982 \end_layout
31983
31984 \begin_layout Plain Layout
31985 pass
31986 \end_layout
31987
31988 \begin_layout Plain Layout
31989 def func(param):
31990 \end_layout
31991
31992 \begin_layout Plain Layout
31993 'this is a python function'
31994 \end_layout
31995
31996 \begin_layout Plain Layout
31997 pass
31998 \end_layout
31999
32000 \end_inset
32001
32002
32003 \end_layout
32004
32005 \begin_layout Standard
32006 \begin_inset Note Greyedout
32007 status open
32008
32009 \begin_layout Plain Layout
32010
32011 \series bold
32012 Note:
32013 \series default
32014  Due to a bug in the 
32015 \series bold
32016 listings
32017 \series default
32018  package the line numbering is shifted by a line by every previous listing.
32019  That's the reason why the lines 2 and 5 are numbered in the above listing
32020  and not the lines 3 and 6.
32021 \end_layout
32022
32023 \end_inset
32024
32025
32026 \end_layout
32027
32028 \begin_layout Standard
32029 \begin_inset VSpace bigskip
32030 \end_inset
32031
32032
32033 \end_layout
32034
32035 \begin_layout Standard
32036 It is also possible to print lines from a file as listing.
32037  To do this, use the menu 
32038 \family sans
32039 Insert\SpecialChar \menuseparator
32040 File\SpecialChar \menuseparator
32041 Child Document
32042 \family default
32043  and choose the type 
32044 \family sans
32045 Listings
32046 \family default
32047 .
32048 \begin_inset Foot
32049 status collapsed
32050
32051 \begin_layout Plain Layout
32052 The other child document types are described in section
32053 \begin_inset Space ~
32054 \end_inset
32055
32056
32057 \begin_inset CommandInset ref
32058 LatexCommand ref
32059 reference "sec:Child-Documents"
32060
32061 \end_inset
32062
32063 .
32064 \end_layout
32065
32066 \end_inset
32067
32068  In the child document dialog you can specify the listing parameters in
32069  a text box.
32070  To show a list of all available parameters, type in a question mark 
32071 \begin_inset Quotes eld
32072 \end_inset
32073
32074 ?
32075 \begin_inset Quotes erd
32076 \end_inset
32077
32078  in the text box.
32079 \end_layout
32080
32081 \begin_layout Standard
32082 To reference child document listings, write a label text into the corresponding
32083  field of the child document dialog.
32084  The label can then be referenced using the menu 
32085 \family sans
32086 Insert\SpecialChar \menuseparator
32087 Cross-Reference
32088 \family default
32089 .
32090 \end_layout
32091
32092 \begin_layout Standard
32093 Listing
32094 \begin_inset Space ~
32095 \end_inset
32096
32097
32098 \begin_inset CommandInset ref
32099 LatexCommand ref
32100 reference "lst:file-listing"
32101
32102 \end_inset
32103
32104  is an example for a listing of a file; there the lines 10
32105 \begin_inset Space \thinspace{}
32106 \end_inset
32107
32108 -
32109 \begin_inset Space \thinspace{}
32110 \end_inset
32111
32112 15 of this LyX file are listed.
32113 \end_layout
32114
32115 \begin_layout Standard
32116 \begin_inset CommandInset include
32117 LatexCommand lstinputlisting
32118 filename "EmbeddedObjects.lyx"
32119 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32120
32121 \end_inset
32122
32123
32124 \end_layout
32125
32126 \begin_layout Standard
32127 \begin_inset VSpace bigskip
32128 \end_inset
32129
32130
32131 \end_layout
32132
32133 \begin_layout Standard
32134 Global listings settings can be set in the 
32135 \family sans
32136 Document\SpecialChar \menuseparator
32137 Settings\SpecialChar \menuseparator
32138 Text Layout
32139 \family default
32140  dialog.
32141  To get there a list of available options, type in a question mark 
32142 \begin_inset Quotes eld
32143 \end_inset
32144
32145 ?
32146 \begin_inset Quotes erd
32147 \end_inset
32148
32149  in the 
32150 \family sans
32151 Listings
32152 \begin_inset Space ~
32153 \end_inset
32154
32155 settings
32156 \family default
32157  field.
32158 \end_layout
32159
32160 \begin_layout Standard
32161 For more information about the 
32162 \series bold
32163 listings
32164 \series default
32165  package, we refer to its documentation 
32166 \begin_inset CommandInset citation
32167 LatexCommand cite
32168 key "listings"
32169
32170 \end_inset
32171
32172 .
32173 \end_layout
32174
32175 \begin_layout Standard
32176 \begin_inset Newpage newpage
32177 \end_inset
32178
32179
32180 \end_layout
32181
32182 \begin_layout Chapter
32183 \start_of_appendix
32184 Units available in LyX
32185 \begin_inset Index
32186 status collapsed
32187
32188 \begin_layout Plain Layout
32189 Units
32190 \end_layout
32191
32192 \end_inset
32193
32194
32195 \begin_inset CommandInset label
32196 LatexCommand label
32197 name "cha:Units-available-in"
32198
32199 \end_inset
32200
32201
32202 \end_layout
32203
32204 \begin_layout Standard
32205 To understand the units described in this documentation, Table
32206 \begin_inset Space ~
32207 \end_inset
32208
32209
32210 \begin_inset CommandInset ref
32211 LatexCommand ref
32212 reference "tab:Units"
32213
32214 \end_inset
32215
32216  explains all units available in LyX.
32217 \end_layout
32218
32219 \begin_layout Standard
32220 \begin_inset Float table
32221 placement h
32222 wide false
32223 sideways false
32224 status open
32225
32226 \begin_layout Plain Layout
32227 \begin_inset Caption
32228
32229 \begin_layout Plain Layout
32230 \begin_inset CommandInset label
32231 LatexCommand label
32232 name "tab:Units"
32233
32234 \end_inset
32235
32236 Units
32237 \end_layout
32238
32239 \end_inset
32240
32241
32242 \end_layout
32243
32244 \begin_layout Plain Layout
32245 \begin_inset VSpace medskip
32246 \end_inset
32247
32248
32249 \end_layout
32250
32251 \begin_layout Plain Layout
32252 \align center
32253 \begin_inset Tabular
32254 <lyxtabular version="3" rows="20" columns="2">
32255 <features>
32256 <column alignment="center" valignment="top" width="0">
32257 <column alignment="center" valignment="top" width="0">
32258 <row>
32259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32260 \begin_inset Text
32261
32262 \begin_layout Plain Layout
32263 unit
32264 \end_layout
32265
32266 \end_inset
32267 </cell>
32268 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32269 \begin_inset Text
32270
32271 \begin_layout Plain Layout
32272 name/description
32273 \end_layout
32274
32275 \end_inset
32276 </cell>
32277 </row>
32278 <row>
32279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32280 \begin_inset Text
32281
32282 \begin_layout Plain Layout
32283 mm
32284 \end_layout
32285
32286 \end_inset
32287 </cell>
32288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32289 \begin_inset Text
32290
32291 \begin_layout Plain Layout
32292 millimeter
32293 \end_layout
32294
32295 \end_inset
32296 </cell>
32297 </row>
32298 <row>
32299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32300 \begin_inset Text
32301
32302 \begin_layout Plain Layout
32303 cm
32304 \end_layout
32305
32306 \end_inset
32307 </cell>
32308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32309 \begin_inset Text
32310
32311 \begin_layout Plain Layout
32312 centimeter
32313 \end_layout
32314
32315 \end_inset
32316 </cell>
32317 </row>
32318 <row>
32319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32320 \begin_inset Text
32321
32322 \begin_layout Plain Layout
32323 in
32324 \end_layout
32325
32326 \end_inset
32327 </cell>
32328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32329 \begin_inset Text
32330
32331 \begin_layout Plain Layout
32332 inch
32333 \end_layout
32334
32335 \end_inset
32336 </cell>
32337 </row>
32338 <row>
32339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32340 \begin_inset Text
32341
32342 \begin_layout Plain Layout
32343 pt
32344 \end_layout
32345
32346 \end_inset
32347 </cell>
32348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32349 \begin_inset Text
32350
32351 \begin_layout Plain Layout
32352 point (72.27
32353 \begin_inset Space \thinspace{}
32354 \end_inset
32355
32356 pt = 1
32357 \begin_inset Space \thinspace{}
32358 \end_inset
32359
32360 in)
32361 \end_layout
32362
32363 \end_inset
32364 </cell>
32365 </row>
32366 <row>
32367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32368 \begin_inset Text
32369
32370 \begin_layout Plain Layout
32371 pc
32372 \end_layout
32373
32374 \end_inset
32375 </cell>
32376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32377 \begin_inset Text
32378
32379 \begin_layout Plain Layout
32380 pica (1
32381 \begin_inset Space \thinspace{}
32382 \end_inset
32383
32384 pc = 12
32385 \begin_inset Space \thinspace{}
32386 \end_inset
32387
32388 pt)
32389 \end_layout
32390
32391 \end_inset
32392 </cell>
32393 </row>
32394 <row>
32395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32396 \begin_inset Text
32397
32398 \begin_layout Plain Layout
32399 sp
32400 \end_layout
32401
32402 \end_inset
32403 </cell>
32404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32405 \begin_inset Text
32406
32407 \begin_layout Plain Layout
32408 scaled point (65536
32409 \begin_inset Space \thinspace{}
32410 \end_inset
32411
32412 sp = 1
32413 \begin_inset Space \thinspace{}
32414 \end_inset
32415
32416 pt)
32417 \end_layout
32418
32419 \end_inset
32420 </cell>
32421 </row>
32422 <row>
32423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32424 \begin_inset Text
32425
32426 \begin_layout Plain Layout
32427 bp
32428 \end_layout
32429
32430 \end_inset
32431 </cell>
32432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32433 \begin_inset Text
32434
32435 \begin_layout Plain Layout
32436 big point (72
32437 \begin_inset Space \thinspace{}
32438 \end_inset
32439
32440 bp = 1
32441 \begin_inset Space \thinspace{}
32442 \end_inset
32443
32444 in)
32445 \end_layout
32446
32447 \end_inset
32448 </cell>
32449 </row>
32450 <row>
32451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32452 \begin_inset Text
32453
32454 \begin_layout Plain Layout
32455 dd
32456 \end_layout
32457
32458 \end_inset
32459 </cell>
32460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32461 \begin_inset Text
32462
32463 \begin_layout Plain Layout
32464 didot (1
32465 \begin_inset Space \thinspace{}
32466 \end_inset
32467
32468 dd 
32469 \begin_inset Formula $\approx$
32470 \end_inset
32471
32472  0.376
32473 \begin_inset Space \thinspace{}
32474 \end_inset
32475
32476 mm)
32477 \end_layout
32478
32479 \end_inset
32480 </cell>
32481 </row>
32482 <row>
32483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32484 \begin_inset Text
32485
32486 \begin_layout Plain Layout
32487 cc
32488 \end_layout
32489
32490 \end_inset
32491 </cell>
32492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32493 \begin_inset Text
32494
32495 \begin_layout Plain Layout
32496 cicero (1
32497 \begin_inset Space \thinspace{}
32498 \end_inset
32499
32500 cc = 12
32501 \begin_inset Space \thinspace{}
32502 \end_inset
32503
32504 dd)
32505 \end_layout
32506
32507 \end_inset
32508 </cell>
32509 </row>
32510 <row>
32511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32512 \begin_inset Text
32513
32514 \begin_layout Plain Layout
32515 Scale%
32516 \end_layout
32517
32518 \end_inset
32519 </cell>
32520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32521 \begin_inset Text
32522
32523 \begin_layout Plain Layout
32524 % of original image width
32525 \end_layout
32526
32527 \end_inset
32528 </cell>
32529 </row>
32530 <row>
32531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32532 \begin_inset Text
32533
32534 \begin_layout Plain Layout
32535 text%
32536 \end_layout
32537
32538 \end_inset
32539 </cell>
32540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32541 \begin_inset Text
32542
32543 \begin_layout Plain Layout
32544 % of text width
32545 \end_layout
32546
32547 \end_inset
32548 </cell>
32549 </row>
32550 <row>
32551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32552 \begin_inset Text
32553
32554 \begin_layout Plain Layout
32555 col%
32556 \end_layout
32557
32558 \end_inset
32559 </cell>
32560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32561 \begin_inset Text
32562
32563 \begin_layout Plain Layout
32564 % of column width
32565 \end_layout
32566
32567 \end_inset
32568 </cell>
32569 </row>
32570 <row>
32571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32572 \begin_inset Text
32573
32574 \begin_layout Plain Layout
32575 page%
32576 \end_layout
32577
32578 \end_inset
32579 </cell>
32580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32581 \begin_inset Text
32582
32583 \begin_layout Plain Layout
32584 % of paper width
32585 \end_layout
32586
32587 \end_inset
32588 </cell>
32589 </row>
32590 <row>
32591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32592 \begin_inset Text
32593
32594 \begin_layout Plain Layout
32595 line%
32596 \end_layout
32597
32598 \end_inset
32599 </cell>
32600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32601 \begin_inset Text
32602
32603 \begin_layout Plain Layout
32604 % of line width
32605 \end_layout
32606
32607 \end_inset
32608 </cell>
32609 </row>
32610 <row>
32611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32612 \begin_inset Text
32613
32614 \begin_layout Plain Layout
32615 theight%
32616 \end_layout
32617
32618 \end_inset
32619 </cell>
32620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32621 \begin_inset Text
32622
32623 \begin_layout Plain Layout
32624 % of text height
32625 \end_layout
32626
32627 \end_inset
32628 </cell>
32629 </row>
32630 <row>
32631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32632 \begin_inset Text
32633
32634 \begin_layout Plain Layout
32635 pheight%
32636 \end_layout
32637
32638 \end_inset
32639 </cell>
32640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32641 \begin_inset Text
32642
32643 \begin_layout Plain Layout
32644 % of paper height
32645 \end_layout
32646
32647 \end_inset
32648 </cell>
32649 </row>
32650 <row>
32651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32652 \begin_inset Text
32653
32654 \begin_layout Plain Layout
32655 ex
32656 \end_layout
32657
32658 \end_inset
32659 </cell>
32660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32661 \begin_inset Text
32662
32663 \begin_layout Plain Layout
32664 height of letter 
32665 \emph on
32666 x
32667 \emph default
32668  in current font
32669 \end_layout
32670
32671 \end_inset
32672 </cell>
32673 </row>
32674 <row>
32675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32676 \begin_inset Text
32677
32678 \begin_layout Plain Layout
32679 em
32680 \end_layout
32681
32682 \end_inset
32683 </cell>
32684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32685 \begin_inset Text
32686
32687 \begin_layout Plain Layout
32688 width of letter 
32689 \emph on
32690 M
32691 \emph default
32692  in current font
32693 \end_layout
32694
32695 \end_inset
32696 </cell>
32697 </row>
32698 <row>
32699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32700 \begin_inset Text
32701
32702 \begin_layout Plain Layout
32703 mu
32704 \end_layout
32705
32706 \end_inset
32707 </cell>
32708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32709 \begin_inset Text
32710
32711 \begin_layout Plain Layout
32712 math unit (1
32713 \begin_inset Space \thinspace{}
32714 \end_inset
32715
32716 mu = 1/18
32717 \begin_inset Space \thinspace{}
32718 \end_inset
32719
32720 em)
32721 \end_layout
32722
32723 \end_inset
32724 </cell>
32725 </row>
32726 </lyxtabular>
32727
32728 \end_inset
32729
32730
32731 \end_layout
32732
32733 \end_inset
32734
32735
32736 \end_layout
32737
32738 \begin_layout Chapter
32739 Output File Formats with Graphics
32740 \begin_inset CommandInset label
32741 LatexCommand label
32742 name "cha:Output-File-Formats"
32743
32744 \end_inset
32745
32746
32747 \end_layout
32748
32749 \begin_layout Section
32750 DVI
32751 \begin_inset Index
32752 status collapsed
32753
32754 \begin_layout Plain Layout
32755 File Formats ! DVI
32756 \end_layout
32757
32758 \end_inset
32759
32760
32761 \begin_inset Index
32762 status collapsed
32763
32764 \begin_layout Plain Layout
32765 DVI|see
32766 \begin_inset ERT
32767 status collapsed
32768
32769 \begin_layout Plain Layout
32770
32771 {
32772 \end_layout
32773
32774 \end_inset
32775
32776 File Formats
32777 \begin_inset ERT
32778 status collapsed
32779
32780 \begin_layout Plain Layout
32781
32782 }
32783 \end_layout
32784
32785 \end_inset
32786
32787
32788 \end_layout
32789
32790 \end_inset
32791
32792
32793 \end_layout
32794
32795 \begin_layout Standard
32796 This file type has the extension 
32797 \begin_inset Quotes eld
32798 \end_inset
32799
32800
32801 \family typewriter
32802 .dvi
32803 \family default
32804
32805 \begin_inset Quotes erd
32806 \end_inset
32807
32808 .
32809  It is called 
32810 \begin_inset Quotes eld
32811 \end_inset
32812
32813 device-independent
32814 \begin_inset Quotes erd
32815 \end_inset
32816
32817  (DVI), because it is completely portable; you can move them from one machine
32818  to another without needing to do any sort of conversion.
32819  At the time when this file-format was developed, this was no matter of
32820  course.
32821  DVIs are used for quick previews and as pre-stage for other output formats,
32822  like PostScript.
32823 \end_layout
32824
32825 \begin_layout Standard
32826 \begin_inset Note Greyedout
32827 status open
32828
32829 \begin_layout Plain Layout
32830
32831 \series bold
32832 Note:
32833 \series default
32834  DVI-files doesn't contain images, they will only be a linked.
32835 \end_layout
32836
32837 \end_inset
32838
32839  So don't forget this, if you move your 
32840 \family typewriter
32841 .dvi
32842 \family default
32843  file to another computer.
32844  This property can also slow down your computer when you view the DVI.
32845  Because the DVI-viewer has to convert the image in the background to make
32846  it visible when you scroll in the DVI.
32847  So we recommend to use PDF for files with many images.
32848 \end_layout
32849
32850 \begin_layout Standard
32851 You can export your document to DVI by using the menu 
32852 \family sans
32853 File\SpecialChar \menuseparator
32854 Export\SpecialChar \menuseparator
32855 DVI
32856 \family default
32857 .
32858  You can view your document as DVI via the 
32859 \family sans
32860 View
32861 \family default
32862  menu or by using the toolbar button 
32863 \begin_inset Graphics
32864         filename ../images/buffer-view_dvi.png
32865         scale 85
32866         scaleBeforeRotation
32867
32868 \end_inset
32869
32870 .
32871 \end_layout
32872
32873 \begin_layout Section
32874 PostScript
32875 \begin_inset CommandInset label
32876 LatexCommand label
32877 name "sec:PostScript"
32878
32879 \end_inset
32880
32881
32882 \begin_inset Index
32883 status collapsed
32884
32885 \begin_layout Plain Layout
32886 File Formats ! PostScript
32887 \end_layout
32888
32889 \end_inset
32890
32891
32892 \begin_inset Index
32893 status collapsed
32894
32895 \begin_layout Plain Layout
32896 PostScript|see
32897 \begin_inset ERT
32898 status collapsed
32899
32900 \begin_layout Plain Layout
32901
32902 {
32903 \end_layout
32904
32905 \end_inset
32906
32907 File Formats
32908 \begin_inset ERT
32909 status collapsed
32910
32911 \begin_layout Plain Layout
32912
32913 }
32914 \end_layout
32915
32916 \end_inset
32917
32918
32919 \end_layout
32920
32921 \end_inset
32922
32923
32924 \end_layout
32925
32926 \begin_layout Standard
32927 This file type has the extension 
32928 \begin_inset Quotes eld
32929 \end_inset
32930
32931
32932 \family typewriter
32933 .ps
32934 \family default
32935
32936 \begin_inset Quotes erd
32937 \end_inset
32938
32939 .
32940  PostScript was developed by the company 
32941 \family typewriter
32942 Adobe
32943 \family default
32944  as printer language.
32945  The file contains therefore commands that the printer uses to print the
32946  file.
32947  PostScript can be seen as 
32948 \begin_inset Quotes eld
32949 \end_inset
32950
32951 programming language
32952 \begin_inset Quotes erd
32953 \end_inset
32954
32955 ; you can calculate with it and draw diagrams and images
32956 \begin_inset Foot
32957 status collapsed
32958
32959 \begin_layout Plain Layout
32960 If you are interested to learn more about this, have a look at the LaTeX-package
32961  
32962 \series bold
32963 PSTricks
32964 \series default
32965  
32966 \begin_inset CommandInset citation
32967 LatexCommand cite
32968 key "pstricks"
32969
32970 \end_inset
32971
32972 .
32973 \end_layout
32974
32975 \end_inset
32976
32977 .
32978  Due to this ability, the files are often bigger than PDFs.
32979 \end_layout
32980
32981 \begin_layout Standard
32982 PostScript can only contain images in the format 
32983 \begin_inset Quotes eld
32984 \end_inset
32985
32986 Encapsulated PostScript
32987 \begin_inset Quotes erd
32988 \end_inset
32989
32990  (EPS, file extension 
32991 \begin_inset Quotes eld
32992 \end_inset
32993
32994
32995 \family typewriter
32996 .eps
32997 \family default
32998
32999 \begin_inset Quotes erd
33000 \end_inset
33001
33002 ).
33003  As LyX allows you to use any known image format in your document, it has
33004  to convert images in the background to EPS.
33005  If you have e.g 50 images in your document, LyX has to do 50 conversions
33006  whenever you view or export your document.
33007  This will slow down your work flow with LyX drastically.
33008  So if you plan to use PostScript, you can insert your images directly as
33009  EPS to avoid this problem.
33010 \end_layout
33011
33012 \begin_layout Standard
33013 You can export your document to PostScript using the menu 
33014 \family sans
33015 File\SpecialChar \menuseparator
33016 Export\SpecialChar \menuseparator
33017 Postscript
33018 \family default
33019 .
33020  You can view your document as PostScript via the 
33021 \family sans
33022 View
33023 \family default
33024  menu or by using the toolbar button 
33025 \begin_inset Graphics
33026         filename ../images/buffer-view_ps.png
33027         scale 85
33028         scaleBeforeRotation
33029
33030 \end_inset
33031
33032 .
33033 \end_layout
33034
33035 \begin_layout Section
33036 PDF
33037 \begin_inset CommandInset label
33038 LatexCommand label
33039 name "sec:PDF"
33040
33041 \end_inset
33042
33043
33044 \begin_inset Index
33045 status collapsed
33046
33047 \begin_layout Plain Layout
33048 File Formats ! PDF
33049 \end_layout
33050
33051 \end_inset
33052
33053
33054 \begin_inset Index
33055 status collapsed
33056
33057 \begin_layout Plain Layout
33058 PDF
33059 \end_layout
33060
33061 \end_inset
33062
33063
33064 \end_layout
33065
33066 \begin_layout Standard
33067 This file type has the extension 
33068 \begin_inset Quotes eld
33069 \end_inset
33070
33071
33072 \family typewriter
33073 .pdf
33074 \family default
33075
33076 \begin_inset Quotes erd
33077 \end_inset
33078
33079 .
33080  The 
33081 \begin_inset Quotes eld
33082 \end_inset
33083
33084 Portable Document Format
33085 \begin_inset Quotes erd
33086 \end_inset
33087
33088  (PDF) is developed by 
33089 \family typewriter
33090 Adobe
33091 \family default
33092  as derivative from PostScript.
33093  It is more compressed and it uses much less commands than PostScript.
33094  As the name 
33095 \begin_inset Quotes eld
33096 \end_inset
33097
33098 portable
33099 \begin_inset Quotes erd
33100 \end_inset
33101
33102  implies, it can be processed at any computer system and the printed output
33103  looks exactly the same.
33104 \end_layout
33105
33106 \begin_layout Standard
33107 PDF can contain images in its own PDF format, in the format 
33108 \begin_inset Quotes eld
33109 \end_inset
33110
33111 Joint Photographic Experts Group
33112 \begin_inset Quotes erd
33113 \end_inset
33114
33115  (JPG, file extension 
33116 \begin_inset Quotes eld
33117 \end_inset
33118
33119
33120 \family typewriter
33121 .jpg
33122 \family default
33123
33124 \begin_inset Quotes erd
33125 \end_inset
33126
33127  or 
33128 \begin_inset Quotes eld
33129 \end_inset
33130
33131
33132 \family typewriter
33133 .jpeg
33134 \family default
33135
33136 \begin_inset Quotes erd
33137 \end_inset
33138
33139 ), and in the format 
33140 \begin_inset Quotes eld
33141 \end_inset
33142
33143 Portable Network Graphics
33144 \begin_inset Quotes erd
33145 \end_inset
33146
33147  (PNG, file extension 
33148 \begin_inset Quotes eld
33149 \end_inset
33150
33151
33152 \family typewriter
33153 .png
33154 \family default
33155
33156 \begin_inset Quotes erd
33157 \end_inset
33158
33159 ).
33160  Nevertheless you can use any other image format, because LyX converts them
33161  in the background to one of these formats.
33162  But as described in the section about PostScript, the image conversion
33163  will slow down your work flow.
33164  So it is recommended to use images in one of the three mentioned formats.
33165 \end_layout
33166
33167 \begin_layout Standard
33168 You can export your document to PDF via the menu 
33169 \family sans
33170 File\SpecialChar \menuseparator
33171 Export
33172 \family default
33173  in three different ways:
33174 \end_layout
33175
33176 \begin_layout Description
33177 PDF
33178 \begin_inset Space ~
33179 \end_inset
33180
33181 (ps2pdf) This uses the program 
33182 \family typewriter
33183 ps2pdf
33184 \family default
33185  that creates a PDF from a PostScript-version of your file.
33186  The PostScript-version is produced by the program 
33187 \family typewriter
33188 dvips
33189 \family default
33190  which uses a DVI-version as intermediate step.
33191  So this export variant consist of three conversions.
33192 \end_layout
33193
33194 \begin_layout Description
33195 PDF
33196 \begin_inset Space ~
33197 \end_inset
33198
33199 (dvipdfm) This uses the program 
33200 \family typewriter
33201 dvipdfm
33202 \family default
33203  that converts your file in the background to DVI and in a second step to
33204  PDF.
33205 \end_layout
33206
33207 \begin_layout Description
33208 PDF
33209 \begin_inset Space ~
33210 \end_inset
33211
33212 (pdflatex) This uses the program 
33213 \family typewriter
33214 pdftex
33215 \family default
33216  that converts your file directly to PDF.
33217 \end_layout
33218
33219 \begin_layout Standard
33220 It is recommended to use 
33221 \family sans
33222 PDF
33223 \begin_inset Space ~
33224 \end_inset
33225
33226 (pdflatex)
33227 \family default
33228  because 
33229 \family typewriter
33230 pdftex
33231 \family default
33232  supports all features of actual PDF-versions, is quick and works stable
33233  without problems.
33234  The program 
33235 \family typewriter
33236 dvipdfm
33237 \family default
33238  is not under development and therefore a bit outdated.
33239 \end_layout
33240
33241 \begin_layout Standard
33242 You can view your document as PDF via the 
33243 \family sans
33244 View
33245 \family default
33246  menu or by using the toolbar button 
33247 \begin_inset Graphics
33248         filename ../images/buffer-view_pdf2.png
33249         scale 85
33250         scaleBeforeRotation
33251
33252 \end_inset
33253
33254  
33255 \family sans
33256 (
33257 \family default
33258 that uses 
33259 \family sans
33260 PDF
33261 \begin_inset Space ~
33262 \end_inset
33263
33264 (pdflatex)
33265 \family default
33266 ).
33267 \end_layout
33268
33269 \begin_layout Chapter
33270 Explanation of Equation
33271 \begin_inset Space ~
33272 \end_inset
33273
33274
33275 \begin_inset CommandInset ref
33276 LatexCommand eqref
33277 reference "eq:Wgn"
33278
33279 \end_inset
33280
33281
33282 \begin_inset CommandInset label
33283 LatexCommand label
33284 name "cha:Explanation-of-Equation"
33285
33286 \end_inset
33287
33288
33289 \end_layout
33290
33291 \begin_layout Standard
33292 The total width of 
33293 \emph on
33294 n
33295 \emph default
33296  table cells 
33297 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33298 \end_inset
33299
33300  can be calculated to
33301 \end_layout
33302
33303 \begin_layout Standard
33304 \begin_inset Formula \begin{equation}
33305 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}
33306
33307 \end_inset
33308
33309
33310 \end_layout
33311
33312 \begin_layout Standard
33313 Where 
33314 \begin_inset Formula $W_{g\, n}$
33315 \end_inset
33316
33317  is the given width of all cells.
33318  
33319 \series bold
33320
33321 \backslash
33322 tabcolsep
33323 \series default
33324  is the LaTeX-length between the cell text and the cell border, its default
33325  value is 6
33326 \begin_inset Space \thinspace{}
33327 \end_inset
33328
33329 pt.
33330  
33331 \series bold
33332
33333 \backslash
33334 arrayrulewidth
33335 \series default
33336  is the thickness of the cell border line, the default is 0.4
33337 \begin_inset Space \thinspace{}
33338 \end_inset
33339
33340 pt.
33341 \end_layout
33342
33343 \begin_layout Standard
33344 Following equation
33345 \begin_inset Space ~
33346 \end_inset
33347
33348
33349 \begin_inset CommandInset ref
33350 LatexCommand eqref
33351 reference "eq:Wtot_n"
33352
33353 \end_inset
33354
33355 , the total width of a multicolumn 
33356 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33357 \end_inset
33358
33359  is
33360 \end_layout
33361
33362 \begin_layout Standard
33363 \begin_inset Formula \begin{equation}
33364 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33365
33366 \end_inset
33367
33368
33369 \end_layout
33370
33371 \begin_layout Standard
33372 By setting equation
33373 \begin_inset Space ~
33374 \end_inset
33375
33376
33377 \begin_inset CommandInset ref
33378 LatexCommand eqref
33379 reference "eq:Wtot_n"
33380
33381 \end_inset
33382
33383  and 
33384 \begin_inset CommandInset ref
33385 LatexCommand eqref
33386 reference "eq:Wtot_mult"
33387
33388 \end_inset
33389
33390  equal we can calculate the needed given width 
33391 \begin_inset Formula $W_{g\, n}$
33392 \end_inset
33393
33394  when 
33395 \emph on
33396 n
33397 \emph default
33398  columns are spanned, so that each column has a total width of 
33399 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33400 \end_inset
33401
33402 :
33403 \end_layout
33404
33405 \begin_layout Standard
33406 \begin_inset Formula \begin{equation}
33407 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33408
33409 \end_inset
33410
33411
33412 \end_layout
33413
33414 \begin_layout Bibliography
33415 \begin_inset CommandInset bibitem
33416 LatexCommand bibitem
33417 key "latexcompanion"
33418
33419 \end_inset
33420
33421 Frank Mittelbach and Michel Goossens: 
33422 \emph on
33423 The LaTeX Companion Second Edition.
33424
33425 \emph default
33426  Addison-Wesley, 2004
33427 \end_layout
33428
33429 \begin_layout Bibliography
33430 \begin_inset CommandInset bibitem
33431 LatexCommand bibitem
33432 key "latexguide"
33433
33434 \end_inset
33435
33436 Helmut Kopka and Patrick W.
33437  Daly: 
33438 \emph on
33439 A Guide to LaTeX Fourth Edition.
33440
33441 \emph default
33442  Addison-Wesley, 2003
33443 \end_layout
33444
33445 \begin_layout Bibliography
33446 \begin_inset CommandInset bibitem
33447 LatexCommand bibitem
33448 key "latexbook"
33449
33450 \end_inset
33451
33452 Leslie Lamport: 
33453 \emph on
33454 LaTeX: A Document Preparation System.
33455
33456 \emph default
33457  Addison-Wesley, second edition, 1994
33458 \end_layout
33459
33460 \begin_layout Bibliography
33461 \begin_inset CommandInset bibitem
33462 LatexCommand bibitem
33463 key "booktabs"
33464
33465 \end_inset
33466
33467 Documentation of the LaTeX-package 
33468 \series bold
33469
33470 \begin_inset CommandInset href
33471 LatexCommand href
33472 name "booktabs"
33473 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33474
33475 \end_inset
33476
33477
33478 \series default
33479
33480 \begin_inset Index
33481 status collapsed
33482
33483 \begin_layout Plain Layout
33484 LaTeX-packages ! booktabs
33485 \end_layout
33486
33487 \end_inset
33488
33489
33490 \end_layout
33491
33492 \begin_layout Bibliography
33493 \begin_inset CommandInset bibitem
33494 LatexCommand bibitem
33495 key "caption"
33496
33497 \end_inset
33498
33499 Documentation of the LaTeX-package 
33500 \series bold
33501
33502 \begin_inset CommandInset href
33503 LatexCommand href
33504 name "caption"
33505 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
33506
33507 \end_inset
33508
33509
33510 \series default
33511
33512 \begin_inset Index
33513 status collapsed
33514
33515 \begin_layout Plain Layout
33516 LaTeX-packages ! caption
33517 \end_layout
33518
33519 \end_inset
33520
33521
33522 \end_layout
33523
33524 \begin_layout Bibliography
33525 \begin_inset CommandInset bibitem
33526 LatexCommand bibitem
33527 key "endfloat"
33528
33529 \end_inset
33530
33531 Documentation of the LaTeX-package 
33532 \series bold
33533
33534 \begin_inset CommandInset href
33535 LatexCommand href
33536 name "endfloat"
33537 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
33538
33539 \end_inset
33540
33541
33542 \series default
33543
33544 \begin_inset Index
33545 status collapsed
33546
33547 \begin_layout Plain Layout
33548 LaTeX-packages ! endfloat
33549 \end_layout
33550
33551 \end_inset
33552
33553
33554 \end_layout
33555
33556 \begin_layout Bibliography
33557 \begin_inset CommandInset bibitem
33558 LatexCommand bibitem
33559 key "wrapfig"
33560
33561 \end_inset
33562
33563 Documentation of the LaTeX-package 
33564 \series bold
33565
33566 \begin_inset CommandInset href
33567 LatexCommand href
33568 name "wrapfig"
33569 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
33570
33571 \end_inset
33572
33573
33574 \series default
33575
33576 \begin_inset Index
33577 status collapsed
33578
33579 \begin_layout Plain Layout
33580 LaTeX-packages ! wrapfig
33581 \begin_inset ERT
33582 status collapsed
33583
33584 \begin_layout Plain Layout
33585
33586
33587 \backslash
33588
33589 \begin_inset ERT
33590 status collapsed
33591
33592 \begin_layout Plain Layout
33593
33594 {
33595 \end_layout
33596
33597 \end_inset
33598
33599
33600 \begin_inset ERT
33601 status collapsed
33602
33603 \begin_layout Plain Layout
33604
33605 }
33606 \end_layout
33607
33608 \end_inset
33609
33610
33611 \end_layout
33612
33613 \end_inset
33614
33615 vspace
33616 \begin_inset ERT
33617 status collapsed
33618
33619 \begin_layout Plain Layout
33620
33621 {
33622 \end_layout
33623
33624 \end_inset
33625
33626 4mm
33627 \begin_inset ERT
33628 status collapsed
33629
33630 \begin_layout Plain Layout
33631
33632 }
33633 \end_layout
33634
33635 \end_inset
33636
33637
33638 \end_layout
33639
33640 \end_inset
33641
33642
33643 \end_layout
33644
33645 \begin_layout Bibliography
33646 \begin_inset CommandInset bibitem
33647 LatexCommand bibitem
33648 key "footmisc"
33649
33650 \end_inset
33651
33652 Documentation of the LaTeX-package 
33653 \series bold
33654
33655 \begin_inset CommandInset href
33656 LatexCommand href
33657 name "footmisc"
33658 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
33659
33660 \end_inset
33661
33662
33663 \series default
33664
33665 \begin_inset Index
33666 status collapsed
33667
33668 \begin_layout Plain Layout
33669 LaTeX-packages ! footmisc
33670 \end_layout
33671
33672 \end_inset
33673
33674
33675 \end_layout
33676
33677 \begin_layout Bibliography
33678 \begin_inset CommandInset bibitem
33679 LatexCommand bibitem
33680 key "hypcap"
33681
33682 \end_inset
33683
33684 Documentation of the LaTeX-package 
33685 \series bold
33686
33687 \begin_inset CommandInset href
33688 LatexCommand href
33689 name "hypcap"
33690 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
33691
33692 \end_inset
33693
33694
33695 \series default
33696
33697 \begin_inset Index
33698 status collapsed
33699
33700 \begin_layout Plain Layout
33701 LaTeX-packages ! hyperref
33702 \end_layout
33703
33704 \end_inset
33705
33706
33707 \end_layout
33708
33709 \begin_layout Bibliography
33710 \begin_inset CommandInset bibitem
33711 LatexCommand bibitem
33712 key "hyperref"
33713
33714 \end_inset
33715
33716 Documentation of the LaTeX-package 
33717 \series bold
33718
33719 \begin_inset CommandInset href
33720 LatexCommand href
33721 name "hyperref"
33722 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
33723
33724 \end_inset
33725
33726
33727 \series default
33728
33729 \begin_inset Index
33730 status collapsed
33731
33732 \begin_layout Plain Layout
33733 LaTeX-packages ! hyperref
33734 \end_layout
33735
33736 \end_inset
33737
33738
33739 \end_layout
33740
33741 \begin_layout Bibliography
33742 \begin_inset CommandInset bibitem
33743 LatexCommand bibitem
33744 key "koma-script"
33745
33746 \end_inset
33747
33748 Documentation of the LaTeX-package 
33749 \series bold
33750
33751 \begin_inset CommandInset href
33752 LatexCommand href
33753 name "koma-script"
33754 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
33755
33756 \end_inset
33757
33758
33759 \series default
33760
33761 \begin_inset Index
33762 status collapsed
33763
33764 \begin_layout Plain Layout
33765 LaTeX-packages ! koma-script
33766 \end_layout
33767
33768 \end_inset
33769
33770
33771 \end_layout
33772
33773 \begin_layout Bibliography
33774 \begin_inset CommandInset bibitem
33775 LatexCommand bibitem
33776 key "listings"
33777
33778 \end_inset
33779
33780 Documentation of the LaTeX-package 
33781 \series bold
33782
33783 \begin_inset CommandInset href
33784 LatexCommand href
33785 name "listings"
33786 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
33787
33788 \end_inset
33789
33790
33791 \series default
33792
33793 \begin_inset Index
33794 status collapsed
33795
33796 \begin_layout Plain Layout
33797 LaTeX-packages ! listings
33798 \end_layout
33799
33800 \end_inset
33801
33802
33803 \end_layout
33804
33805 \begin_layout Bibliography
33806 \begin_inset CommandInset bibitem
33807 LatexCommand bibitem
33808 key "marginnote"
33809
33810 \end_inset
33811
33812 Documentation of the LaTeX-package 
33813 \series bold
33814
33815 \begin_inset CommandInset href
33816 LatexCommand href
33817 name "marginnote"
33818 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
33819
33820 \end_inset
33821
33822
33823 \series default
33824
33825 \begin_inset Index
33826 status collapsed
33827
33828 \begin_layout Plain Layout
33829 LaTeX-packages ! marginnote
33830 \end_layout
33831
33832 \end_inset
33833
33834
33835 \end_layout
33836
33837 \begin_layout Bibliography
33838 \begin_inset CommandInset bibitem
33839 LatexCommand bibitem
33840 key "pstricks"
33841
33842 \end_inset
33843
33844 Web page of the LaTeX-package 
33845 \series bold
33846
33847 \begin_inset CommandInset href
33848 LatexCommand href
33849 name "PSTricks"
33850 target "http://tug.org/PSTricks/"
33851
33852 \end_inset
33853
33854
33855 \series default
33856
33857 \begin_inset Index
33858 status collapsed
33859
33860 \begin_layout Plain Layout
33861 LaTeX-packages ! PSTricks
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 "sidecap"
33873
33874 \end_inset
33875
33876 Documentation of the LaTeX-package 
33877 \series bold
33878
33879 \begin_inset CommandInset href
33880 LatexCommand href
33881 name "sidecap"
33882 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
33883
33884 \end_inset
33885
33886
33887 \series default
33888
33889 \begin_inset Index
33890 status collapsed
33891
33892 \begin_layout Plain Layout
33893 LaTeX-packages ! sidecap
33894 \end_layout
33895
33896 \end_inset
33897
33898
33899 \end_layout
33900
33901 \begin_layout Bibliography
33902 \begin_inset CommandInset bibitem
33903 LatexCommand bibitem
33904 key "NewInLyX16"
33905
33906 \end_inset
33907
33908
33909 \begin_inset CommandInset href
33910 LatexCommand href
33911 name "Wiki page"
33912 target "http://wiki.lyx.org/LyX/NewInLyX16"
33913
33914 \end_inset
33915
33916  about new features in 
33917 \family sans
33918 LyX 1.6.0
33919 \family default
33920 .
33921 \end_layout
33922
33923 \begin_layout Standard
33924 \begin_inset CommandInset index_print
33925 LatexCommand printindex
33926
33927 \end_inset
33928
33929
33930 \end_layout
33931
33932 \begin_layout Standard
33933 \begin_inset FloatList figure
33934
33935 \end_inset
33936
33937
33938 \end_layout
33939
33940 \begin_layout Standard
33941 \begin_inset FloatList table
33942
33943 \end_inset
33944
33945
33946 \end_layout
33947
33948 \begin_layout Standard
33949 \begin_inset FloatList algorithm
33950
33951 \end_inset
33952
33953
33954 \end_layout
33955
33956 \end_body
33957 \end_document