]> git.lyx.org Git - features.git/blob - lib/doc/EmbeddedObjects.lyx
50b9f550fd1af9b0432200fd790cf3e2802da0a7
[features.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16
17 % that links to image floats jumps
18 % to the beginning of the float and 
19 % not to its caption
20 \usepackage[figure]{hypcap}
21
22 % the pages of the TOC is numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \let\myTOC\tableofcontents
25 \renewcommand\tableofcontents{%
26   \frontmatter
27   \pdfbookmark[1]{\contentsname}{}
28   \myTOC
29   \mainmatter }
30
31 % provides caption formatting
32 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
33
34 % provides commands to set caption
35 % beside tables/images
36 \usepackage{sidecap}
37
38 \newcommand{\TabBesBeg}{%
39  \let\MyTable\table
40  \let\MyEndtable\endtable
41  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
42
43 \newcommand{\TabBesEnd}{%
44  \let\table\MyTable
45  \let\endtable\MyEndtable}
46
47 \newcommand{\FigBesBeg}{%
48  \let\MyFigure\figure
49  \let\MyEndfigure\endfigure
50  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
51
52 \newcommand{\FigBesEnd}{%
53  \let\figure\MyFigure
54  \let\endfigure\MyEndfigure}
55
56 % enables calculation of values,
57 \usepackage{calc}
58
59 % increase the bottom float placement fraction
60 \renewcommand{\bottomfraction}{0.5}
61
62 % avoids that floats are placed before their
63 % corresponding section starts
64 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
65
66 % speed up the longtable calculation
67 \setcounter{LTchunksize}{100}
68
69 % used for scaled and rotated boxes
70 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
71
72 % used for colored tables
73 \@ifundefined{textcolor}
74  {\usepackage{color}}{}
75 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
76 \definecolor{lightgrey}{gray}{0.8}
77
78 % check for package colortbl
79 % used for colored table cells
80 \newboolean{colortbl}
81 \IfFileExists{colortbl.sty}
82  {\usepackage{colortbl}
83   \setboolean{colortbl}{true}}
84  {\setboolean{colortbl}{false}}
85
86 % used for book-style tables
87 \usepackage{booktabs}
88
89 % used to have extra space in table cells
90 \@ifundefined{extrarowheight}
91  {\usepackage{array}}{}
92 \setlength{\extrarowheight}{2pt}
93
94 % used for customized tables
95 % ---
96 \newcolumntype{M}[1]
97  {>{\centering\hspace{0pt}}m{#1}}
98
99 \newcolumntype{S}[2]
100  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
101
102 \newcolumntype{K}[1]
103  {>{\columncolor{#1}\hspace{0pt}}c}
104
105 \newcolumntype{V}{!{\vrule width 1.5pt}}
106
107 \newcolumntype{W}{!{\color{green}\vline}}
108 % ---
109
110 % insert additional vertical space of
111 % 1.5 mm between footnotes
112 \let\myFoot\footnote
113 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
114
115 % number algorithm floats within chapters
116 \numberwithin{algorithm}{chapter}
117
118 % ------------------------------------
119 % used to check for needed LaTeX packages
120 \usepackage{ifthen}
121
122 % check for package arydshln
123 % used for tables with dashed lines
124 \newboolean{arydshln}
125 \IfFileExists{arydshln.sty}
126  {\usepackage{arydshln}
127   \setboolean{arydshln}{true}}
128  {\setboolean{arydshln}{false}}
129
130 % check for package marginnote
131 % used for margin notes
132 \newboolean{marginnote}
133 \IfFileExists{marginnote.sty}
134  {\usepackage{marginnote}
135   \let\marginpar\marginnote
136   \setboolean{marginnote}{true}}
137  {\setboolean{marginnote}{false}}
138
139 % check for package sidecap
140 % used for captions on the side
141 \newboolean{sidecap}
142 \IfFileExists{sidecap.sty}
143  {\usepackage{sidecap}
144   \setboolean{sidecap}{true}}
145  {\setboolean{sidecap}{false}}
146
147 % check for picinpar
148 % used for surrounded fixed objects
149 \newboolean{picinpar}
150 \IfFileExists{picinpar.sty}
151  {\usepackage{picinpar}
152   \setboolean{picinpar}{true}}
153  {\setboolean{picinpar}{false}}
154 \end_preamble
155 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
156 \use_default_options false
157 \begin_modules
158 initials
159 \end_modules
160 \maintain_unincluded_children false
161 \language english
162 \language_package default
163 \inputencoding auto
164 \fontencoding global
165 \font_roman default
166 \font_sans default
167 \font_typewriter default
168 \font_default_family default
169 \use_non_tex_fonts false
170 \font_sc false
171 \font_osf false
172 \font_sf_scale 100
173 \font_tt_scale 100
174
175 \graphics default
176 \default_output_format default
177 \output_sync 0
178 \bibtex_command default
179 \index_command default
180 \paperfontsize 12
181 \spacing single
182 \use_hyperref true
183 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
184 \pdf_author "LyX Team, Uwe Stöhr"
185 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
186 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
187 \pdf_bookmarks true
188 \pdf_bookmarksnumbered true
189 \pdf_bookmarksopen true
190 \pdf_bookmarksopenlevel 1
191 \pdf_breaklinks false
192 \pdf_pdfborder false
193 \pdf_colorlinks true
194 \pdf_backref false
195 \pdf_pdfusetitle false
196 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
197 \papersize default
198 \use_geometry false
199 \use_amsmath 2
200 \use_esint 0
201 \use_mhchem 1
202 \use_mathdots 1
203 \cite_engine basic
204 \use_bibtopic false
205 \use_indices false
206 \paperorientation portrait
207 \suppress_date false
208 \use_refstyle 0
209 \notefontcolor #0000ff
210 \index Index
211 \shortcut idx
212 \color #008000
213 \end_index
214 \secnumdepth 3
215 \tocdepth 3
216 \paragraph_separation skip
217 \defskip medskip
218 \quotes_language english
219 \papercolumns 1
220 \papersides 2
221 \paperpagestyle default
222 \bullet 1 1 34 -1
223 \bullet 2 2 35 -1
224 \bullet 3 2 7 -1
225 \tracking_changes false
226 \output_changes false
227 \html_math_output 0
228 \html_css_as_file 0
229 \html_be_strict false
230 \end_header
231
232 \begin_body
233
234 \begin_layout Title
235 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
236  manual
237 \end_layout
238
239 \begin_layout Author
240 by the LyX Team
241 \begin_inset Foot
242 status collapsed
243
244 \begin_layout Plain Layout
245 \noindent
246 If you have comments or error corrections, please send them to the LyX Documenta
247 tion mailing list: 
248 \begin_inset CommandInset href
249 LatexCommand href
250 name "lyx-docs@lists.lyx.org"
251 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
252 type "mailto:"
253
254 \end_inset
255
256
257 \end_layout
258
259 \end_inset
260
261
262 \begin_inset Note Note
263 status collapsed
264
265 \begin_layout Plain Layout
266 author: Uwe Stöhr
267 \end_layout
268
269 \end_inset
270
271
272 \begin_inset Newline newline
273 \end_inset
274
275
276 \begin_inset Newline newline
277 \end_inset
278
279
280 \family sans
281 Version 2.0.x
282 \end_layout
283
284 \begin_layout Standard
285 \begin_inset CommandInset toc
286 LatexCommand tableofcontents
287
288 \end_inset
289
290
291 \end_layout
292
293 \begin_layout Standard
294 \begin_inset Note Note
295 status open
296
297 \begin_layout Plain Layout
298 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
299  
300 \series bold
301 arydshln
302 \series default
303
304 \series bold
305 colortbl
306 \series default
307
308 \series bold
309 lettrine, marginnote, picinpar
310 \series default
311  and 
312 \series bold
313 sidecap
314 \series default
315  must be installed.
316  If they are not installed you can export the document anyway but the sections
317  where the packages are required won't appear in the output.
318 \end_layout
319
320 \begin_layout Plain Layout
321 The latest PDF-version of this document can be found here:
322 \begin_inset Newline newline
323 \end_inset
324
325
326 \series bold
327 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
328 \end_layout
329
330 \end_inset
331
332
333 \end_layout
334
335 \begin_layout Chapter
336 Figures
337 \begin_inset Index idx
338 status collapsed
339
340 \begin_layout Plain Layout
341 Figures
342 \end_layout
343
344 \end_inset
345
346
347 \begin_inset Index idx
348 status collapsed
349
350 \begin_layout Plain Layout
351 Graphics|see
352 \begin_inset ERT
353 status collapsed
354
355 \begin_layout Plain Layout
356
357 {
358 \end_layout
359
360 \end_inset
361
362 Figures
363 \begin_inset ERT
364 status collapsed
365
366 \begin_layout Plain Layout
367
368 }
369 \end_layout
370
371 \end_inset
372
373
374 \end_layout
375
376 \end_inset
377
378
379 \end_layout
380
381 \begin_layout Section
382 Graphics Dialog
383 \begin_inset Index idx
384 status collapsed
385
386 \begin_layout Plain Layout
387 Figures ! Graphics Dialog
388 \end_layout
389
390 \end_inset
391
392
393 \begin_inset CommandInset label
394 LatexCommand label
395 name "sec:Graphics-Dialog"
396
397 \end_inset
398
399
400 \end_layout
401
402 \begin_layout Standard
403 To insert an image into your document, place the cursor at the text position
404  you want and click on the toolbar icon 
405 \begin_inset Graphics
406         filename ../images/dialog-show-new-inset_graphics.png
407         scale 85
408         scaleBeforeRotation
409
410 \end_inset
411
412  or use the menu 
413 \family sans
414 Insert\SpecialChar \menuseparator
415 Graphics
416 \family default
417 .
418  Then a dialog will appear to choose the file to load.
419  The image will appear in the output exactly at the position where it is
420  in the text.
421 \end_layout
422
423 \begin_layout Standard
424 The graphics dialog can be called at any time by clicking on an image.
425  This dialog has three tabs:
426 \end_layout
427
428 \begin_layout Description
429
430 \family sans
431 Graphics
432 \family default
433  Here you can choose an image file and adjust its appearance in the output.
434  The available units for the image size are explained in appendix
435 \begin_inset space ~
436 \end_inset
437
438
439 \begin_inset CommandInset ref
440 LatexCommand ref
441 reference "cha:Units-available-in"
442
443 \end_inset
444
445 .
446 \begin_inset Newline newline
447 \end_inset
448
449
450 \begin_inset Index idx
451 status collapsed
452
453 \begin_layout Plain Layout
454 Figures ! rotated
455 \end_layout
456
457 \end_inset
458
459 You can rotate images counter-clockwise by setting a rotation angle and
460  a rotation origin.
461  The image will also be rotated inside LyX.
462 \begin_inset Newline newline
463 \end_inset
464
465
466 \begin_inset Index idx
467 status collapsed
468
469 \begin_layout Plain Layout
470 Figures ! scaled
471 \end_layout
472
473 \end_inset
474
475 Images can be scaled by using a percentage value or by setting the width
476  and height explicitly.
477  If you set only the width or only the height, the other size will be determined
478  automatically.
479  If you set both, then the image will be transformed to the given size,
480  possibly distorting it.
481  To prevent the image from distortion, use the option 
482 \family sans
483 Maintain aspect ratio
484 \family default
485 .
486  The image will then be scaled so that its width and height don't exceed
487  the specified dimensions.
488 \begin_inset Newline newline
489 \end_inset
490
491 Images can be opened in a program of your choice by right-clicking on it
492  and choosing the entry 
493 \family sans
494 Edit
495 \begin_inset space ~
496 \end_inset
497
498 externally
499 \family default
500  in the context menu.
501  The program can be set for every image format in the file format settings
502  in LyX's preferences.
503 \end_layout
504
505 \begin_layout Description
506
507 \family sans
508 Clipping
509 \family default
510  Alternatively to the usage of scaling units it is possible to set image
511  coordinates to adjust the height and width of the image in the output.
512  The coordinates can also be calculated automatically by pressing the button
513  
514 \family sans
515 Get
516 \begin_inset space ~
517 \end_inset
518
519 from
520 \begin_inset space ~
521 \end_inset
522
523 File
524 \family default
525 .
526  The option 
527 \family sans
528 Clip
529 \begin_inset space ~
530 \end_inset
531
532 to
533 \begin_inset space ~
534 \end_inset
535
536 bounding
537 \begin_inset space ~
538 \end_inset
539
540 box
541 \family default
542  will only print the image region within the given coordinates.
543  Normally you don't need to take care about image coordinates and can ignore
544  this tab.
545 \end_layout
546
547 \begin_layout Description
548
549 \family sans
550 LaTeX
551 \begin_inset space ~
552 \end_inset
553
554 and
555 \begin_inset space ~
556 \end_inset
557
558 LyX
559 \begin_inset space ~
560 \end_inset
561
562 options
563 \family default
564  In this tab you can modify the appearance of the image within LyX and LaTeX
565  experts can specify additional LaTeX options.
566 \begin_inset Newline newline
567 \end_inset
568
569 The option 
570 \family sans
571 Draft
572 \begin_inset space ~
573 \end_inset
574
575 mode
576 \family default
577  makes the image appear in the output only as a frame with the size of the
578  image.
579 \begin_inset Newline newline
580 \end_inset
581
582 The 
583 \family sans
584 Don't
585 \begin_inset space ~
586 \end_inset
587
588 unzip
589 \begin_inset space ~
590 \end_inset
591
592 on
593 \begin_inset space ~
594 \end_inset
595
596 export
597 \family default
598  option only affects zipped EPS-graphics, e.
599 \begin_inset space \thinspace{}
600 \end_inset
601
602 g.
603 \begin_inset space \space{}
604 \end_inset
605
606
607 \emph on
608 x.eps.gz
609 \emph default
610 .
611  When the option is used the images will not be unzipped on export, since
612  LaTeX can handle them as they are.
613 \begin_inset Newline newline
614 \end_inset
615
616 Zipped EPS-graphics are useful to save disk space when you choose PostScript
617  as output format, see appendix
618 \begin_inset space ~
619 \end_inset
620
621
622 \begin_inset CommandInset ref
623 LatexCommand ref
624 reference "sec:PostScript"
625
626 \end_inset
627
628 .
629  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
630  console:
631 \begin_inset Newline newline
632 \end_inset
633
634
635 \series bold
636 gzip x.eps
637 \series default
638
639 \begin_inset Newline newline
640 \end_inset
641
642
643 \series bold
644 zgrep %%Bounding x.eps.gz > x.eps.bb
645 \series default
646
647 \begin_inset Newline newline
648 \end_inset
649
650 The second command creates the bounding box file 
651 \begin_inset Quotes eld
652 \end_inset
653
654 x.eps.bb
655 \begin_inset Quotes erd
656 \end_inset
657
658  that is needed by LaTeX for zipped graphics.
659 \begin_inset Newline newline
660 \end_inset
661
662 The field 
663 \family sans
664 Initialize
665 \begin_inset space ~
666 \end_inset
667
668 Group
669 \begin_inset space ~
670 \end_inset
671
672 Name
673 \family default
674  allows you define or join an image settings group.
675 \begin_inset Index idx
676 status collapsed
677
678 \begin_layout Plain Layout
679 Figures ! Settings grouping
680 \end_layout
681
682 \end_inset
683
684  Images within such a group share their settings, so adjusting one image
685  of the group automatically also adjusts all other images of the group in
686  the same way.
687  So you can for example change the size for a bunch of images without the
688  need to manually change each of them.
689  Joining an existing group can also be done using the context menu of the
690  image by checking the name of the desired group.
691 \end_layout
692
693 \begin_layout Standard
694 \begin_inset VSpace bigskip
695 \end_inset
696
697
698 \end_layout
699
700 \begin_layout Standard
701 This is an example image in EPS format
702 \begin_inset Foot
703 status collapsed
704
705 \begin_layout Plain Layout
706 Image formats are explained in section
707 \begin_inset space ~
708 \end_inset
709
710
711 \begin_inset CommandInset ref
712 LatexCommand ref
713 reference "sec:Image-Formats"
714
715 \end_inset
716
717 .
718 \end_layout
719
720 \end_inset
721
722  within a separate, horizontally centered paragraph:
723 \end_layout
724
725 \begin_layout Standard
726 \align center
727 \begin_inset Graphics
728         filename clipart/mobius.eps
729         scale 70
730         scaleBeforeRotation
731         rotateOrigin center
732
733 \end_inset
734
735
736 \end_layout
737
738 \begin_layout Standard
739 This is the same image like the one above but in draft mode:
740 \end_layout
741
742 \begin_layout Standard
743 \align center
744 \begin_inset Graphics
745         filename clipart/mobius.eps
746         scale 70
747         draft
748         scaleBeforeRotation
749         rotateOrigin center
750
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Standard
757 \begin_inset Newpage newpage
758 \end_inset
759
760
761 \end_layout
762
763 \begin_layout Section
764 Figure Floats
765 \begin_inset CommandInset label
766 LatexCommand label
767 name "sec:Figure-Floats"
768
769 \end_inset
770
771
772 \begin_inset Index idx
773 status collapsed
774
775 \begin_layout Plain Layout
776 Floats ! Figures
777 \end_layout
778
779 \end_inset
780
781
782 \begin_inset Index idx
783 status collapsed
784
785 \begin_layout Plain Layout
786 Figures ! Floats
787 \end_layout
788
789 \end_inset
790
791
792 \end_layout
793
794 \begin_layout Standard
795 For general explanations about floats, have a look at section
796 \begin_inset space ~
797 \end_inset
798
799
800 \begin_inset CommandInset ref
801 LatexCommand ref
802 reference "sec:FloatIntroduction"
803
804 \end_inset
805
806 .
807 \end_layout
808
809 \begin_layout Standard
810 The toolbar button 
811 \begin_inset Graphics
812         filename ../images/float-insert_figure.png
813         scale 85
814         scaleBeforeRotation
815
816 \end_inset
817
818  and the menu 
819 \family sans
820 Insert\SpecialChar \menuseparator
821 Float\SpecialChar \menuseparator
822 Figure
823 \family default
824  inserts a float with a caption that has the label 
825 \begin_inset Quotes eld
826 \end_inset
827
828 Figure
829 \begin_inset space ~
830 \end_inset
831
832 #:
833 \begin_inset Quotes erd
834 \end_inset
835
836  (# is the actual number).
837  You can insert the image above the caption, like in Figure
838 \begin_inset space ~
839 \end_inset
840
841
842 \begin_inset CommandInset ref
843 LatexCommand ref
844 reference "fig:kill-plat"
845
846 \end_inset
847
848  or below the caption, like in Figure
849 \begin_inset space ~
850 \end_inset
851
852
853 \begin_inset CommandInset ref
854 LatexCommand ref
855 reference "fig:escher"
856
857 \end_inset
858
859 .
860  More about caption placement is described in section
861 \begin_inset space ~
862 \end_inset
863
864
865 \begin_inset CommandInset ref
866 LatexCommand ref
867 reference "sec:Caption-Placement"
868
869 \end_inset
870
871 .
872 \end_layout
873
874 \begin_layout Standard
875 \begin_inset Float figure
876 wide false
877 sideways false
878 status open
879
880 \begin_layout Plain Layout
881 \align center
882 \begin_inset Graphics
883         filename clipart/platypus.eps
884         width 50col%
885         scaleBeforeRotation
886         rotateOrigin center
887
888 \end_inset
889
890
891 \end_layout
892
893 \begin_layout Plain Layout
894 \begin_inset Caption
895
896 \begin_layout Plain Layout
897 \begin_inset CommandInset label
898 LatexCommand label
899 name "fig:kill-plat"
900
901 \end_inset
902
903 A severely distorted platypus in a float.
904 \end_layout
905
906 \end_inset
907
908
909 \end_layout
910
911 \end_inset
912
913
914 \end_layout
915
916 \begin_layout Standard
917 \begin_inset Float figure
918 wide false
919 sideways false
920 status open
921
922 \begin_layout Plain Layout
923 \begin_inset Caption
924
925 \begin_layout Plain Layout
926 \begin_inset CommandInset label
927 LatexCommand label
928 name "fig:escher"
929
930 \end_inset
931
932 M.C.
933  Escher on acid.
934 \end_layout
935
936 \end_inset
937
938
939 \end_layout
940
941 \begin_layout Plain Layout
942 \align center
943 \begin_inset Graphics
944         filename clipart/escher-lsd.eps
945         scale 80
946         scaleBeforeRotation
947         rotateOrigin center
948
949 \end_inset
950
951
952 \end_layout
953
954 \end_inset
955
956
957 \end_layout
958
959 \begin_layout Standard
960 \begin_inset Index idx
961 status collapsed
962
963 \begin_layout Plain Layout
964 References ! to Figures
965 \end_layout
966
967 \end_inset
968
969 Figure
970 \begin_inset space ~
971 \end_inset
972
973
974 \begin_inset CommandInset ref
975 LatexCommand ref
976 reference "fig:kill-plat"
977
978 \end_inset
979
980  and 
981 \begin_inset CommandInset ref
982 LatexCommand ref
983 reference "fig:escher"
984
985 \end_inset
986
987  are examples of referenced figures.
988  Figures can be referenced in the text by referencing their label.
989  To do this insert a label in the caption using the menu 
990 \family sans
991 Insert\SpecialChar \menuseparator
992 Label
993 \family default
994  or the toolbar button 
995 \begin_inset Graphics
996         filename ../images/label-insert.png
997         scale 85
998         scaleBeforeRotation
999
1000 \end_inset
1001
1002 .
1003  You can now refer to the label using the menu 
1004 \family sans
1005 Insert\SpecialChar \menuseparator
1006 Cross
1007 \begin_inset space ~
1008 \end_inset
1009
1010 reference
1011 \family default
1012  or the toolbar button 
1013 \begin_inset Graphics
1014         filename ../images/dialog-show-new-inset_ref.png
1015         scale 85
1016         scaleBeforeRotation
1017
1018 \end_inset
1019
1020 .
1021  It is important to use references to floats, rather than using vague references
1022  like 
1023 \begin_inset Quotes eld
1024 \end_inset
1025
1026 the figure above
1027 \begin_inset Quotes erd
1028 \end_inset
1029
1030 , because LaTeX will reposition the floats in the final document and it
1031  might not be 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035 above
1036 \begin_inset Quotes erd
1037 \end_inset
1038
1039  at all.
1040 \begin_inset Newline newline
1041 \end_inset
1042
1043 Referencing is explained in detail in section
1044 \begin_inset space ~
1045 \end_inset
1046
1047
1048 \begin_inset CommandInset ref
1049 LatexCommand ref
1050 reference "sec:Referencing-Floats"
1051
1052 \end_inset
1053
1054 .
1055 \end_layout
1056
1057 \begin_layout Standard
1058 Normally only one image is inserted to a figure float, but sometimes you
1059  might want to use two images with separate subcaptions.
1060  This can be done by inserting image floats into existing image floats.
1061  Note that only the main caption of the float is added to the List of Figures.
1062  Figure
1063 \begin_inset space ~
1064 \end_inset
1065
1066
1067 \begin_inset CommandInset ref
1068 LatexCommand ref
1069 reference "fig:Two-distorted-images"
1070
1071 \end_inset
1072
1073  is an example of a figure float with two images set side by side.
1074  You can also set the images one below the other.
1075  Figure
1076 \begin_inset space ~
1077 \end_inset
1078
1079
1080 \begin_inset CommandInset ref
1081 LatexCommand ref
1082 reference "fig:Undefinable-structure"
1083
1084 \end_inset
1085
1086  and 
1087 \begin_inset CommandInset ref
1088 LatexCommand ref
1089 reference "fig:A-Platypus"
1090
1091 \end_inset
1092
1093  are the subfigures.
1094 \end_layout
1095
1096 \begin_layout Standard
1097 \begin_inset Float figure
1098 wide false
1099 sideways false
1100 status open
1101
1102 \begin_layout Plain Layout
1103 \begin_inset space \hfill{}
1104 \end_inset
1105
1106
1107 \begin_inset Float figure
1108 wide false
1109 sideways false
1110 status collapsed
1111
1112 \begin_layout Plain Layout
1113 \begin_inset Caption
1114
1115 \begin_layout Plain Layout
1116 \begin_inset CommandInset label
1117 LatexCommand label
1118 name "fig:Undefinable-structure"
1119
1120 \end_inset
1121
1122 Undefinable structure.
1123 \end_layout
1124
1125 \end_inset
1126
1127
1128 \end_layout
1129
1130 \begin_layout Plain Layout
1131 \begin_inset Graphics
1132         filename clipart/escher-lsd.eps
1133         width 45col%
1134         scaleBeforeRotation
1135         groupId distorted
1136
1137 \end_inset
1138
1139
1140 \end_layout
1141
1142 \end_inset
1143
1144
1145 \begin_inset space \hfill{}
1146 \end_inset
1147
1148
1149 \begin_inset Float figure
1150 wide false
1151 sideways false
1152 status collapsed
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:A-Platypus"
1161
1162 \end_inset
1163
1164 A Platypus.
1165 \end_layout
1166
1167 \end_inset
1168
1169
1170 \end_layout
1171
1172 \begin_layout Plain Layout
1173 \begin_inset Graphics
1174         filename clipart/platypus.eps
1175         width 45col%
1176         scaleBeforeRotation
1177         groupId distorted
1178
1179 \end_inset
1180
1181
1182 \end_layout
1183
1184 \end_inset
1185
1186
1187 \begin_inset space \hfill{}
1188 \end_inset
1189
1190
1191 \end_layout
1192
1193 \begin_layout Plain Layout
1194 \begin_inset Caption
1195
1196 \begin_layout Plain Layout
1197 \begin_inset CommandInset label
1198 LatexCommand label
1199 name "fig:Two-distorted-images"
1200
1201 \end_inset
1202
1203
1204 \begin_inset CommandInset label
1205 LatexCommand label
1206 name "fig2:Two-distorted-images-2"
1207
1208 \end_inset
1209
1210 Two distorted images.
1211  Both images are in the image settings group named 
1212 \begin_inset Quotes eld
1213 \end_inset
1214
1215 distorted
1216 \begin_inset Quotes erd
1217 \end_inset
1218
1219 .
1220 \end_layout
1221
1222 \end_inset
1223
1224
1225 \end_layout
1226
1227 \end_inset
1228
1229
1230 \end_layout
1231
1232 \begin_layout Standard
1233 \begin_inset Newpage newpage
1234 \end_inset
1235
1236
1237 \end_layout
1238
1239 \begin_layout Section
1240 Image Formats
1241 \begin_inset CommandInset label
1242 LatexCommand label
1243 name "sec:Image-Formats"
1244
1245 \end_inset
1246
1247
1248 \begin_inset Index idx
1249 status collapsed
1250
1251 \begin_layout Plain Layout
1252 Image Formats
1253 \end_layout
1254
1255 \end_inset
1256
1257
1258 \begin_inset Index idx
1259 status collapsed
1260
1261 \begin_layout Plain Layout
1262 Figures ! Image Formats
1263 \end_layout
1264
1265 \end_inset
1266
1267
1268 \end_layout
1269
1270 \begin_layout Standard
1271 You can insert images in any known file format.
1272  But as explained in appendix
1273 \begin_inset space ~
1274 \end_inset
1275
1276
1277 \begin_inset CommandInset ref
1278 LatexCommand ref
1279 reference "cha:Output-File-Formats"
1280
1281 \end_inset
1282
1283 , each output document format allows only a few image formats.
1284  LyX uses therefore the program 
1285 \family typewriter
1286 ImageMagick
1287 \family default
1288  in the background to convert the images to the right format.
1289  To increase your work flow by avoiding these conversions in the background,
1290  you can use only the image formats that can directly be embedded in the
1291  output file format.
1292  The output file formats are explained in appendix
1293 \begin_inset space ~
1294 \end_inset
1295
1296
1297 \begin_inset CommandInset ref
1298 LatexCommand ref
1299 reference "cha:Output-File-Formats"
1300
1301 \end_inset
1302
1303 .
1304 \end_layout
1305
1306 \begin_layout Standard
1307 Similar to fonts there are two types of image formats:
1308 \end_layout
1309
1310 \begin_layout Description
1311 Bitmap
1312 \begin_inset space ~
1313 \end_inset
1314
1315 images consist of pixel values, often in a compressed form.
1316  They are therefore not fully scalable and look pixelated in large zooms.
1317  Well-known bitmap image formats are 
1318 \begin_inset Quotes eld
1319 \end_inset
1320
1321 Graphics Interchange Format
1322 \begin_inset Quotes erd
1323 \end_inset
1324
1325  (GIF, file extension 
1326 \begin_inset Quotes eld
1327 \end_inset
1328
1329
1330 \family typewriter
1331 .gif
1332 \family default
1333
1334 \begin_inset Quotes erd
1335 \end_inset
1336
1337 )
1338 \begin_inset Index idx
1339 status collapsed
1340
1341 \begin_layout Plain Layout
1342 GIF|see
1343 \begin_inset ERT
1344 status collapsed
1345
1346 \begin_layout Plain Layout
1347
1348 {
1349 \end_layout
1350
1351 \end_inset
1352
1353 Image formats
1354 \begin_inset ERT
1355 status collapsed
1356
1357 \begin_layout Plain Layout
1358
1359 }
1360 \end_layout
1361
1362 \end_inset
1363
1364
1365 \end_layout
1366
1367 \end_inset
1368
1369
1370 \begin_inset Quotes eld
1371 \end_inset
1372
1373 Portable Network Graphics
1374 \begin_inset Quotes erd
1375 \end_inset
1376
1377  (PNG, file extension 
1378 \begin_inset Quotes eld
1379 \end_inset
1380
1381
1382 \family typewriter
1383 .png
1384 \family default
1385
1386 \begin_inset Quotes erd
1387 \end_inset
1388
1389 )
1390 \begin_inset Index idx
1391 status collapsed
1392
1393 \begin_layout Plain Layout
1394 PNG|see
1395 \begin_inset ERT
1396 status collapsed
1397
1398 \begin_layout Plain Layout
1399
1400 {
1401 \end_layout
1402
1403 \end_inset
1404
1405 Image formats
1406 \begin_inset ERT
1407 status collapsed
1408
1409 \begin_layout Plain Layout
1410
1411 }
1412 \end_layout
1413
1414 \end_inset
1415
1416
1417 \end_layout
1418
1419 \end_inset
1420
1421 , and 
1422 \begin_inset Quotes eld
1423 \end_inset
1424
1425 Joint Photographic Experts Group
1426 \begin_inset Quotes erd
1427 \end_inset
1428
1429  (JPG, file extension 
1430 \begin_inset Quotes eld
1431 \end_inset
1432
1433
1434 \family typewriter
1435 .jpg
1436 \family default
1437
1438 \begin_inset Quotes erd
1439 \end_inset
1440
1441  or 
1442 \begin_inset Quotes eld
1443 \end_inset
1444
1445
1446 \family typewriter
1447 .jpeg
1448 \family default
1449
1450 \begin_inset Quotes erd
1451 \end_inset
1452
1453 )
1454 \begin_inset Index idx
1455 status collapsed
1456
1457 \begin_layout Plain Layout
1458 JPG|see
1459 \begin_inset ERT
1460 status collapsed
1461
1462 \begin_layout Plain Layout
1463
1464 {
1465 \end_layout
1466
1467 \end_inset
1468
1469 Image formats
1470 \begin_inset ERT
1471 status collapsed
1472
1473 \begin_layout Plain Layout
1474
1475 }
1476 \end_layout
1477
1478 \end_inset
1479
1480
1481 \end_layout
1482
1483 \end_inset
1484
1485 .
1486 \end_layout
1487
1488 \begin_layout Description
1489 Vector
1490 \begin_inset space ~
1491 \end_inset
1492
1493 images consist of vectors and can therefore be scaled to any size without
1494  data loss.
1495  The scaling ability is necessary if you want to create presentations, because
1496  presentations are always scaled by the video projector.
1497  Scaling is also useful for online documents to let the user zoom into diagrams.
1498 \begin_inset Newline newline
1499 \end_inset
1500
1501 Well-known scalable image formats are 
1502 \begin_inset Quotes eld
1503 \end_inset
1504
1505 Scalable Vector Graphics
1506 \begin_inset Quotes erd
1507 \end_inset
1508
1509  (SVG, file extension 
1510 \begin_inset Quotes eld
1511 \end_inset
1512
1513
1514 \family typewriter
1515 .svg
1516 \family default
1517
1518 \begin_inset Quotes erd
1519 \end_inset
1520
1521 )
1522 \begin_inset Index idx
1523 status collapsed
1524
1525 \begin_layout Plain Layout
1526 SVG|see
1527 \begin_inset ERT
1528 status collapsed
1529
1530 \begin_layout Plain Layout
1531
1532 {
1533 \end_layout
1534
1535 \end_inset
1536
1537 Image formats
1538 \begin_inset ERT
1539 status collapsed
1540
1541 \begin_layout Plain Layout
1542
1543 }
1544 \end_layout
1545
1546 \end_inset
1547
1548
1549 \end_layout
1550
1551 \end_inset
1552
1553
1554 \begin_inset Quotes eld
1555 \end_inset
1556
1557 Encapsulated PostScript
1558 \begin_inset Quotes erd
1559 \end_inset
1560
1561  (EPS, file extension 
1562 \begin_inset Quotes eld
1563 \end_inset
1564
1565
1566 \family typewriter
1567 .eps
1568 \family default
1569
1570 \begin_inset Quotes erd
1571 \end_inset
1572
1573 )
1574 \begin_inset Index idx
1575 status collapsed
1576
1577 \begin_layout Plain Layout
1578 EPS|see
1579 \begin_inset ERT
1580 status collapsed
1581
1582 \begin_layout Plain Layout
1583
1584 {
1585 \end_layout
1586
1587 \end_inset
1588
1589 Image formats
1590 \begin_inset ERT
1591 status collapsed
1592
1593 \begin_layout Plain Layout
1594
1595 }
1596 \end_layout
1597
1598 \end_inset
1599
1600
1601 \end_layout
1602
1603 \end_inset
1604
1605
1606 \begin_inset Quotes eld
1607 \end_inset
1608
1609 Portable Document Format
1610 \begin_inset Quotes erd
1611 \end_inset
1612
1613  (PDF, file extension 
1614 \begin_inset Quotes eld
1615 \end_inset
1616
1617
1618 \family typewriter
1619 .pdf
1620 \family default
1621
1622 \begin_inset Quotes erd
1623 \end_inset
1624
1625 )
1626 \begin_inset Index idx
1627 status collapsed
1628
1629 \begin_layout Plain Layout
1630 PDF
1631 \end_layout
1632
1633 \end_inset
1634
1635 , and 
1636 \begin_inset Quotes eld
1637 \end_inset
1638
1639 Windows Metafile
1640 \begin_inset Quotes erd
1641 \end_inset
1642
1643  (WMF, file extension 
1644 \begin_inset Quotes eld
1645 \end_inset
1646
1647
1648 \family typewriter
1649 .wmf
1650 \family default
1651
1652 \begin_inset Quotes erd
1653 \end_inset
1654
1655 )
1656 \begin_inset Index idx
1657 status collapsed
1658
1659 \begin_layout Plain Layout
1660 SVG|see
1661 \begin_inset ERT
1662 status collapsed
1663
1664 \begin_layout Plain Layout
1665
1666 {
1667 \end_layout
1668
1669 \end_inset
1670
1671 Image formats
1672 \begin_inset ERT
1673 status collapsed
1674
1675 \begin_layout Plain Layout
1676
1677 }
1678 \end_layout
1679
1680 \end_inset
1681
1682
1683 \end_layout
1684
1685 \end_inset
1686
1687 .
1688  We wrote 
1689 \begin_inset Quotes eld
1690 \end_inset
1691
1692 can be
1693 \begin_inset Quotes erd
1694 \end_inset
1695
1696 , because you can convert any bitmap image to a PDF or EPS-image and the
1697  result will still be a bitmap image.
1698  In such cases only a header with the image properties is added to the original
1699  image
1700 \begin_inset Foot
1701 status collapsed
1702
1703 \begin_layout Plain Layout
1704 In the case of PDF, the original image is additionally compressed.
1705 \end_layout
1706
1707 \end_inset
1708
1709 .
1710  The PDF-files generated by 
1711 \family typewriter
1712 Adobe Photoshop
1713 \family default
1714  are for example bitmap images.
1715 \end_layout
1716
1717 \begin_layout Standard
1718 Normally it is not possible to convert a bitmap image into a scalable one,
1719  only vice versa.
1720  Only the image formats PDF and EPS can directly be embedded to PDF and
1721  PostScript output files, respectively.
1722  SVG and WMF-images are recalculated to bitmaps when the output file is
1723  generated because there is currently no adequate WMF/SVG
1724 \begin_inset Formula $\to$
1725 \end_inset
1726
1727 PDF/EPS converter available.
1728 \end_layout
1729
1730 \begin_layout Chapter
1731 Tables
1732 \begin_inset Index idx
1733 status collapsed
1734
1735 \begin_layout Plain Layout
1736 Table
1737 \end_layout
1738
1739 \end_inset
1740
1741
1742 \end_layout
1743
1744 \begin_layout Section
1745 Introduction
1746 \begin_inset Index idx
1747 status collapsed
1748
1749 \begin_layout Plain Layout
1750 Table ! Introduction
1751 \end_layout
1752
1753 \end_inset
1754
1755
1756 \end_layout
1757
1758 \begin_layout Standard
1759 You can insert a table using either the toolbar button 
1760 \begin_inset Graphics
1761         filename ../images/tabular-insert.png
1762         scale 85
1763         scaleBeforeRotation
1764
1765 \end_inset
1766
1767  or the menu 
1768 \family sans
1769 Insert\SpecialChar \menuseparator
1770 Table
1771 \family default
1772 .
1773  The toolbar button offers you a graphical selection: move the mouse to
1774  set the column/row number of the table that should be created and then
1775  press a mouse button.
1776  When you use the menu to create a table, a dialog will appear, asking you
1777  for the number of rows and columns.
1778 \begin_inset Newline newline
1779 \end_inset
1780
1781  The default table has lines around any cell and the first row appears separated
1782  from the rest of the table.
1783  This separation occurs due to a double line: The cells of the first row
1784  have a line below them and the cells of the second row have a line above
1785  them.
1786  Here is an example table:
1787 \end_layout
1788
1789 \begin_layout Standard
1790 \align center
1791 \begin_inset Tabular
1792 <lyxtabular version="3" rows="4" columns="4">
1793 <features tabularvalignment="middle">
1794 <column alignment="center" valignment="top" width="0">
1795 <column alignment="center" valignment="top" width="0">
1796 <column alignment="center" valignment="top" width="0">
1797 <column alignment="center" valignment="top" width="0">
1798 <row>
1799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1800 \begin_inset Text
1801
1802 \begin_layout Plain Layout
1803
1804 \end_layout
1805
1806 \end_inset
1807 </cell>
1808 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1809 \begin_inset Text
1810
1811 \begin_layout Plain Layout
1812
1813 \family roman
1814 \series medium
1815 \shape up
1816 \size normal
1817 \emph off
1818 \bar no
1819 \noun off
1820 \color none
1821 1
1822 \end_layout
1823
1824 \end_inset
1825 </cell>
1826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1827 \begin_inset Text
1828
1829 \begin_layout Plain Layout
1830 2
1831 \end_layout
1832
1833 \end_inset
1834 </cell>
1835 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1836 \begin_inset Text
1837
1838 \begin_layout Plain Layout
1839 3
1840 \end_layout
1841
1842 \end_inset
1843 </cell>
1844 </row>
1845 <row>
1846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1847 \begin_inset Text
1848
1849 \begin_layout Plain Layout
1850
1851 \family roman
1852 \series medium
1853 \shape up
1854 \size normal
1855 \emph off
1856 \bar no
1857 \noun off
1858 \color none
1859 A
1860 \end_layout
1861
1862 \end_inset
1863 </cell>
1864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1865 \begin_inset Text
1866
1867 \begin_layout Plain Layout
1868
1869 \end_layout
1870
1871 \end_inset
1872 </cell>
1873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1874 \begin_inset Text
1875
1876 \begin_layout Plain Layout
1877
1878 \end_layout
1879
1880 \end_inset
1881 </cell>
1882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1883 \begin_inset Text
1884
1885 \begin_layout Plain Layout
1886
1887 \end_layout
1888
1889 \end_inset
1890 </cell>
1891 </row>
1892 <row>
1893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1894 \begin_inset Text
1895
1896 \begin_layout Plain Layout
1897
1898 \family roman
1899 \series medium
1900 \shape up
1901 \size normal
1902 \emph off
1903 \bar no
1904 \noun off
1905 \color none
1906 B
1907 \end_layout
1908
1909 \end_inset
1910 </cell>
1911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1912 \begin_inset Text
1913
1914 \begin_layout Plain Layout
1915
1916 \end_layout
1917
1918 \end_inset
1919 </cell>
1920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1921 \begin_inset Text
1922
1923 \begin_layout Plain Layout
1924
1925 \end_layout
1926
1927 \end_inset
1928 </cell>
1929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1930 \begin_inset Text
1931
1932 \begin_layout Plain Layout
1933
1934 \end_layout
1935
1936 \end_inset
1937 </cell>
1938 </row>
1939 <row>
1940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1941 \begin_inset Text
1942
1943 \begin_layout Plain Layout
1944
1945 \family roman
1946 \series medium
1947 \shape up
1948 \size normal
1949 \emph off
1950 \bar no
1951 \noun off
1952 \color none
1953 C
1954 \end_layout
1955
1956 \end_inset
1957 </cell>
1958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1959 \begin_inset Text
1960
1961 \begin_layout Plain Layout
1962
1963 \end_layout
1964
1965 \end_inset
1966 </cell>
1967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1968 \begin_inset Text
1969
1970 \begin_layout Plain Layout
1971
1972 \end_layout
1973
1974 \end_inset
1975 </cell>
1976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1977 \begin_inset Text
1978
1979 \begin_layout Plain Layout
1980
1981 \end_layout
1982
1983 \end_inset
1984 </cell>
1985 </row>
1986 </lyxtabular>
1987
1988 \end_inset
1989
1990
1991 \end_layout
1992
1993 \begin_layout Section
1994 Table Dialog
1995 \begin_inset Index idx
1996 status collapsed
1997
1998 \begin_layout Plain Layout
1999 Table ! Dialog
2000 \end_layout
2001
2002 \end_inset
2003
2004
2005 \end_layout
2006
2007 \begin_layout Standard
2008 You can alter a table by clicking on it with the right mouse button, which
2009  brings up the table dialog.
2010  Here you can adjust the settings of that cell and row/column respectively
2011  where the cursor is currently placed.
2012  Most of the dialog options also work on selections.
2013  This means if you select more cells, columns or rows, the action is done
2014  for the whole selection.
2015  Note that there is a difference between selecting the 
2016 \emph on
2017 contents
2018 \emph default
2019  of the cell, and the cell itself.
2020 \begin_inset Newline newline
2021 \end_inset
2022
2023 With the dialog option 
2024 \family sans
2025 Immediate
2026 \begin_inset space ~
2027 \end_inset
2028
2029 Apply
2030 \family default
2031  every change you make in the dialog is directly applied.
2032  If you move the cursor to another table cell the dialog will then also
2033  be updated with the parameters of the new cell.
2034  If you change length values in the dialog you must press return to get
2035  the change applied.
2036 \begin_inset Newline newline
2037 \end_inset
2038
2039 You can alter tables with the following tabs of the table dialog:
2040 \end_layout
2041
2042 \begin_layout Description
2043
2044 \family sans
2045 Table
2046 \begin_inset space ~
2047 \end_inset
2048
2049 Settings
2050 \family default
2051  Here you can set the table width
2052 \begin_inset Index idx
2053 status collapsed
2054
2055 \begin_layout Plain Layout
2056 Table ! Width
2057 \end_layout
2058
2059 \end_inset
2060
2061 , and the horizontal alignment and the width of the current column.
2062  The alignment 
2063 \family sans
2064 At
2065 \begin_inset space ~
2066 \end_inset
2067
2068 Decimal
2069 \begin_inset space ~
2070 \end_inset
2071
2072 Separator
2073 \family default
2074  is described in section
2075 \begin_inset space ~
2076 \end_inset
2077
2078
2079 \begin_inset CommandInset ref
2080 LatexCommand ref
2081 reference "sub:Special-Cell-Alignment"
2082
2083 \end_inset
2084
2085 .
2086  When you have set a width you can also adjust the vertical alignment of
2087  the current row.
2088  A given width will allow the cell to have line breaks and multiple paragraphs
2089  of text, see section
2090 \begin_inset space ~
2091 \end_inset
2092
2093
2094 \begin_inset CommandInset ref
2095 LatexCommand ref
2096 reference "sub:Multiple-Lines-in"
2097
2098 \end_inset
2099
2100 .
2101  If you set no width, the column is as wide as the content of its widest
2102  cell.
2103 \begin_inset Newline newline
2104 \end_inset
2105
2106 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2107  cell, see section
2108 \begin_inset space ~
2109 \end_inset
2110
2111
2112 \begin_inset CommandInset ref
2113 LatexCommand ref
2114 reference "sub:Multicolumns"
2115
2116 \end_inset
2117
2118  or the cells of one column as multirow cell, see section
2119 \begin_inset space ~
2120 \end_inset
2121
2122
2123 \begin_inset CommandInset ref
2124 LatexCommand ref
2125 reference "sub:Multirows"
2126
2127 \end_inset
2128
2129 .
2130 \begin_inset Newline newline
2131 \end_inset
2132
2133 The rotate check boxes rotate the current cell, a selection, or the whole
2134  table counter-clockwise by 90°.
2135  The rotation is not shown within LyX, only in the output.
2136 \begin_inset Newline newline
2137 \end_inset
2138
2139
2140 \begin_inset Note Greyedout
2141 status open
2142
2143 \begin_layout Plain Layout
2144
2145 \series bold
2146 Note:
2147 \series default
2148  Not all DVI-viewers are able to display rotations.
2149 \end_layout
2150
2151 \end_inset
2152
2153
2154 \begin_inset Newline newline
2155 \end_inset
2156
2157 The table-wide vertical alignment is used for tables within text lines:
2158 \begin_inset Newline newline
2159 \end_inset
2160
2161 A line with tables with different alignments: 
2162 \begin_inset Tabular
2163 <lyxtabular version="3" rows="2" columns="2">
2164 <features tabularvalignment="top">
2165 <column alignment="center" valignment="top" width="0pt">
2166 <column alignment="center" valignment="top" width="0">
2167 <row>
2168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2169 \begin_inset Text
2170
2171 \begin_layout Plain Layout
2172
2173 \end_layout
2174
2175 \end_inset
2176 </cell>
2177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2178 \begin_inset Text
2179
2180 \begin_layout Plain Layout
2181
2182 \family roman
2183 \series medium
2184 \shape up
2185 \size normal
2186 \emph off
2187 \bar no
2188 \noun off
2189 \color none
2190 1
2191 \end_layout
2192
2193 \end_inset
2194 </cell>
2195 </row>
2196 <row>
2197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2198 \begin_inset Text
2199
2200 \begin_layout Plain Layout
2201
2202 \family roman
2203 \series medium
2204 \shape up
2205 \size normal
2206 \emph off
2207 \bar no
2208 \noun off
2209 \color none
2210 A
2211 \end_layout
2212
2213 \end_inset
2214 </cell>
2215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2216 \begin_inset Text
2217
2218 \begin_layout Plain Layout
2219
2220 \end_layout
2221
2222 \end_inset
2223 </cell>
2224 </row>
2225 </lyxtabular>
2226
2227 \end_inset
2228
2229  
2230 \begin_inset Tabular
2231 <lyxtabular version="3" rows="2" columns="2">
2232 <features tabularvalignment="middle">
2233 <column alignment="center" valignment="top" width="0">
2234 <column alignment="center" valignment="top" width="0">
2235 <row>
2236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2237 \begin_inset Text
2238
2239 \begin_layout Plain Layout
2240
2241 \end_layout
2242
2243 \end_inset
2244 </cell>
2245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2246 \begin_inset Text
2247
2248 \begin_layout Plain Layout
2249
2250 \family roman
2251 \series medium
2252 \shape up
2253 \size normal
2254 \emph off
2255 \bar no
2256 \noun off
2257 \color none
2258 1
2259 \end_layout
2260
2261 \end_inset
2262 </cell>
2263 </row>
2264 <row>
2265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2266 \begin_inset Text
2267
2268 \begin_layout Plain Layout
2269
2270 \family roman
2271 \series medium
2272 \shape up
2273 \size normal
2274 \emph off
2275 \bar no
2276 \noun off
2277 \color none
2278 A
2279 \end_layout
2280
2281 \end_inset
2282 </cell>
2283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2284 \begin_inset Text
2285
2286 \begin_layout Plain Layout
2287
2288 \end_layout
2289
2290 \end_inset
2291 </cell>
2292 </row>
2293 </lyxtabular>
2294
2295 \end_inset
2296
2297  
2298 \begin_inset Tabular
2299 <lyxtabular version="3" rows="2" columns="2">
2300 <features tabularvalignment="bottom">
2301 <column alignment="center" valignment="top" width="0pt">
2302 <column alignment="center" valignment="top" width="0">
2303 <row>
2304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2305 \begin_inset Text
2306
2307 \begin_layout Plain Layout
2308
2309 \end_layout
2310
2311 \end_inset
2312 </cell>
2313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2314 \begin_inset Text
2315
2316 \begin_layout Plain Layout
2317
2318 \family roman
2319 \series medium
2320 \shape up
2321 \size normal
2322 \emph off
2323 \bar no
2324 \noun off
2325 \color none
2326 1
2327 \end_layout
2328
2329 \end_inset
2330 </cell>
2331 </row>
2332 <row>
2333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2334 \begin_inset Text
2335
2336 \begin_layout Plain Layout
2337
2338 \family roman
2339 \series medium
2340 \shape up
2341 \size normal
2342 \emph off
2343 \bar no
2344 \noun off
2345 \color none
2346 A
2347 \end_layout
2348
2349 \end_inset
2350 </cell>
2351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2352 \begin_inset Text
2353
2354 \begin_layout Plain Layout
2355
2356 \end_layout
2357
2358 \end_inset
2359 </cell>
2360 </row>
2361 </lyxtabular>
2362
2363 \end_inset
2364
2365
2366 \begin_inset Newline newline
2367 \end_inset
2368
2369 It is also possible to enter a LaTeX-argument which is needed for special
2370  table formattings, see section
2371 \begin_inset space ~
2372 \end_inset
2373
2374
2375 \begin_inset CommandInset ref
2376 LatexCommand ref
2377 reference "sub:Multicolumn-Calculations"
2378
2379 \end_inset
2380
2381  and 
2382 \begin_inset CommandInset ref
2383 LatexCommand ref
2384 reference "sec:Colored-Tables"
2385
2386 \end_inset
2387
2388 .
2389 \end_layout
2390
2391 \begin_layout Description
2392
2393 \family sans
2394 Borders
2395 \family default
2396  In this tab you can add and delete border lines for the current row/column.
2397 \begin_inset Newline newline
2398 \end_inset
2399
2400 Using the style option 
2401 \family sans
2402 Formal
2403 \family default
2404  will convert the table to a formal table as described in section
2405 \begin_inset space ~
2406 \end_inset
2407
2408
2409 \begin_inset CommandInset ref
2410 LatexCommand ref
2411 reference "sec:Formal-Tables"
2412
2413 \end_inset
2414
2415 .
2416 \begin_inset Newline newline
2417 \end_inset
2418
2419 You can also add here space to table rows as described in section
2420 \begin_inset space ~
2421 \end_inset
2422
2423
2424 \begin_inset CommandInset ref
2425 LatexCommand ref
2426 reference "sub:Row-Spacing"
2427
2428 \end_inset
2429
2430 .
2431 \end_layout
2432
2433 \begin_layout Description
2434
2435 \family sans
2436 Longtable
2437 \family default
2438  This tab is to make a table a so called 
2439 \begin_inset Quotes eld
2440 \end_inset
2441
2442
2443 \emph on
2444 longtable
2445 \emph default
2446
2447 \begin_inset Quotes erd
2448 \end_inset
2449
2450  that can run over several pages.
2451  Sections
2452 \begin_inset space ~
2453 \end_inset
2454
2455
2456 \begin_inset CommandInset ref
2457 LatexCommand ref
2458 reference "sec:Longtables"
2459
2460 \end_inset
2461
2462  and 
2463 \begin_inset CommandInset ref
2464 LatexCommand ref
2465 reference "sec:Special-Longtable-Issues"
2466
2467 \end_inset
2468
2469  describe the longtable features in detail.
2470 \end_layout
2471
2472 \begin_layout Section
2473 Table Toolbar
2474 \begin_inset Index idx
2475 status collapsed
2476
2477 \begin_layout Plain Layout
2478 Table ! Toolbar
2479 \end_layout
2480
2481 \end_inset
2482
2483
2484 \end_layout
2485
2486 \begin_layout Standard
2487 The table toolbar is an alternative to the table dialog to be able to alter
2488  tables faster.
2489  It should normally appear at the bottom of LyX's main window when the cursor
2490  is inside a table.
2491  You can alternatively switch it on to appear always, by right-clicking
2492  in LyX's main menu bar.
2493 \end_layout
2494
2495 \begin_layout Standard
2496 The toolbar has the following icons:
2497 \end_layout
2498
2499 \begin_layout Labeling
2500 \labelwidthstring 00.00.0000
2501 \begin_inset Graphics
2502         filename ../images/tabular-feature_append-row.png
2503         scaleBeforeRotation
2504
2505 \end_inset
2506
2507  adds a row below the current cell or selection
2508 \end_layout
2509
2510 \begin_layout Labeling
2511 \labelwidthstring 00.00.0000
2512 \begin_inset Graphics
2513         filename ../images/tabular-feature_append-column.png
2514         scaleBeforeRotation
2515
2516 \end_inset
2517
2518  adds a column right beside the current cell or selection
2519 \end_layout
2520
2521 \begin_layout Labeling
2522 \labelwidthstring 00.00.0000
2523 \begin_inset Graphics
2524         filename ../images/tabular-feature_delete-row.png
2525         scaleBeforeRotation
2526
2527 \end_inset
2528
2529  deletes the current row or selection
2530 \end_layout
2531
2532 \begin_layout Labeling
2533 \labelwidthstring 00.00.0000
2534 \begin_inset Graphics
2535         filename ../images/tabular-feature_delete-column.png
2536         scaleBeforeRotation
2537
2538 \end_inset
2539
2540  deletes the current column or selection
2541 \end_layout
2542
2543 \begin_layout Labeling
2544 \labelwidthstring 00.00.0000
2545 \begin_inset Graphics
2546         filename ../images/tabular-feature_toggle-line-top.png
2547         scaleBeforeRotation
2548
2549 \end_inset
2550
2551  adds a line at the top of the current cell / row or of a selection
2552 \end_layout
2553
2554 \begin_layout Labeling
2555 \labelwidthstring 00.00.0000
2556 \begin_inset Graphics
2557         filename ../images/tabular-feature_toggle-line-bottom.png
2558         scaleBeforeRotation
2559
2560 \end_inset
2561
2562  adds a line at the bottom of the current cell / row or of a selection
2563 \end_layout
2564
2565 \begin_layout Labeling
2566 \labelwidthstring 00.00.0000
2567 \begin_inset Graphics
2568         filename ../images/tabular-feature_toggle-line-left.png
2569         scaleBeforeRotation
2570
2571 \end_inset
2572
2573  adds a line at the left side of the current cell / row or of a selection
2574 \end_layout
2575
2576 \begin_layout Labeling
2577 \labelwidthstring 00.00.0000
2578 \begin_inset Graphics
2579         filename ../images/tabular-feature_toggle-line-right.png
2580         scaleBeforeRotation
2581
2582 \end_inset
2583
2584  adds a line at the right side of the current cell / row or of a selection
2585 \end_layout
2586
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2589 \begin_inset Graphics
2590         filename ../images/tabular-feature_set-all-lines.png
2591         scaleBeforeRotation
2592
2593 \end_inset
2594
2595  adds lines around the current or selected cells - if the current cell no
2596  multicolumn cell this also affects the current row and column
2597 \end_layout
2598
2599 \begin_layout Labeling
2600 \labelwidthstring 00.00.0000
2601 \begin_inset Graphics
2602         filename ../images/tabular-feature_unset-all-lines.png
2603         scaleBeforeRotation
2604
2605 \end_inset
2606
2607  deletes all lines of the current or selected cells - if the current cell
2608  no multicolumn cell this also affects the current row and column
2609 \end_layout
2610
2611 \begin_layout Labeling
2612 \labelwidthstring 00.00.0000
2613 \begin_inset Graphics
2614         filename ../images/tabular-feature_m-align-left.png
2615         scaleBeforeRotation
2616
2617 \end_inset
2618
2619  left-aligns the content of the current cell / column
2620 \end_layout
2621
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2624 \begin_inset Graphics
2625         filename ../images/tabular-feature_m-align-center.png
2626         scaleBeforeRotation
2627
2628 \end_inset
2629
2630  centers the content of the current cell / column horizontally
2631 \end_layout
2632
2633 \begin_layout Labeling
2634 \labelwidthstring 00.00.0000
2635 \begin_inset Graphics
2636         filename ../images/tabular-feature_m-align-right.png
2637         scaleBeforeRotation
2638
2639 \end_inset
2640
2641  right-aligns the content of the current cell / column
2642 \end_layout
2643
2644 \begin_layout Labeling
2645 \labelwidthstring 00.00.0000
2646 \begin_inset Graphics
2647         filename ../images/tabular-feature_align-decimal.png
2648         scaleBeforeRotation
2649
2650 \end_inset
2651
2652  aligns the content of the current column at a character
2653 \end_layout
2654
2655 \begin_layout Labeling
2656 \labelwidthstring 00.00.0000
2657 \begin_inset Graphics
2658         filename ../images/tabular-feature_m-valign-top.png
2659         scaleBeforeRotation
2660
2661 \end_inset
2662
2663  aligns the content of the current cell vertically to the top
2664 \end_layout
2665
2666 \begin_layout Labeling
2667 \labelwidthstring 00.00.0000
2668 \begin_inset Graphics
2669         filename ../images/tabular-feature_m-valign-middle.png
2670         scaleBeforeRotation
2671
2672 \end_inset
2673
2674  centers the content of the current cell vertically
2675 \end_layout
2676
2677 \begin_layout Labeling
2678 \labelwidthstring 00.00.0000
2679 \begin_inset Graphics
2680         filename ../images/tabular-feature_m-valign-bottom.png
2681         scaleBeforeRotation
2682
2683 \end_inset
2684
2685  aligns the content of the current cell vertically to the bottom
2686 \end_layout
2687
2688 \begin_layout Labeling
2689 \labelwidthstring 00.00.0000
2690 \begin_inset Graphics
2691         filename ../images/tabular-feature_set-rotate-cell.png
2692         scaleBeforeRotation
2693
2694 \end_inset
2695
2696  rotates the current cell or selection counter-clockwise by 90°
2697 \end_layout
2698
2699 \begin_layout Labeling
2700 \labelwidthstring 00.00.0000
2701 \begin_inset Graphics
2702         filename ../images/tabular-feature_set-rotate-tabular.png
2703         scaleBeforeRotation
2704
2705 \end_inset
2706
2707  rotates the whole table counter-clockwise by 90°
2708 \end_layout
2709
2710 \begin_layout Labeling
2711 \labelwidthstring 00.00.0000
2712 \begin_inset Graphics
2713         filename ../images/tabular-feature_multicolumn.png
2714         scaleBeforeRotation
2715
2716 \end_inset
2717
2718  sets the current cell or selection as a multicolumn
2719 \end_layout
2720
2721 \begin_layout Labeling
2722 \labelwidthstring 00.00.0000
2723 \begin_inset Graphics
2724         filename ../images/tabular-feature_multirow.png
2725         scaleBeforeRotation
2726
2727 \end_inset
2728
2729  sets the current cell or selection as a multirow
2730 \end_layout
2731
2732 \begin_layout Standard
2733 \begin_inset Note Greyedout
2734 status open
2735
2736 \begin_layout Plain Layout
2737
2738 \series bold
2739 Note:
2740 \series default
2741  For the output the vertical alignment of the first cell in a row is used
2742  for all following cells in the row.
2743 \end_layout
2744
2745 \end_inset
2746
2747
2748 \end_layout
2749
2750 \begin_layout Section
2751 Edit Table Menu
2752 \begin_inset Index idx
2753 status collapsed
2754
2755 \begin_layout Plain Layout
2756 Table ! Edit Menu
2757 \end_layout
2758
2759 \end_inset
2760
2761
2762 \end_layout
2763
2764 \begin_layout Standard
2765 Additionally to the table dialog and toolbar, the menu 
2766 \family sans
2767 Edit\SpecialChar \menuseparator
2768 Table
2769 \family default
2770  allows you to add and delete border lines for the current row/column and
2771  to set the current selection as multicolumn.
2772  The menu is only available when the cursor is inside a table.
2773 \end_layout
2774
2775 \begin_layout Section
2776 Table Floats
2777 \begin_inset CommandInset label
2778 LatexCommand label
2779 name "sec:Table-Floats"
2780
2781 \end_inset
2782
2783
2784 \begin_inset Index idx
2785 status collapsed
2786
2787 \begin_layout Plain Layout
2788 Floats ! Tables
2789 \end_layout
2790
2791 \end_inset
2792
2793
2794 \begin_inset Index idx
2795 status collapsed
2796
2797 \begin_layout Plain Layout
2798 Table ! Floats
2799 \end_layout
2800
2801 \end_inset
2802
2803
2804 \end_layout
2805
2806 \begin_layout Standard
2807 For general explanations about floats, have a look at section
2808 \begin_inset space ~
2809 \end_inset
2810
2811
2812 \begin_inset CommandInset ref
2813 LatexCommand ref
2814 reference "sec:FloatIntroduction"
2815
2816 \end_inset
2817
2818 .
2819 \end_layout
2820
2821 \begin_layout Standard
2822 \begin_inset Float table
2823 placement h
2824 wide false
2825 sideways false
2826 status open
2827
2828 \begin_layout Plain Layout
2829 \begin_inset Caption
2830
2831 \begin_layout Plain Layout
2832 \begin_inset CommandInset label
2833 LatexCommand label
2834 name "tab:a table float"
2835
2836 \end_inset
2837
2838 A table float.
2839 \end_layout
2840
2841 \end_inset
2842
2843
2844 \end_layout
2845
2846 \begin_layout Plain Layout
2847 \align center
2848 \begin_inset Tabular
2849 <lyxtabular version="3" rows="3" columns="3">
2850 <features tabularvalignment="middle">
2851 <column alignment="center" valignment="top" width="0pt">
2852 <column alignment="center" valignment="top" width="0pt">
2853 <column alignment="center" valignment="top" width="0pt">
2854 <row>
2855 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2856 \begin_inset Text
2857
2858 \begin_layout Plain Layout
2859
2860 \family roman
2861 \series medium
2862 \shape up
2863 \size normal
2864 \emph off
2865 \bar no
2866 \noun off
2867 \color none
2868 1
2869 \end_layout
2870
2871 \end_inset
2872 </cell>
2873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2874 \begin_inset Text
2875
2876 \begin_layout Plain Layout
2877
2878 \family roman
2879 \series medium
2880 \shape up
2881 \size normal
2882 \emph off
2883 \bar no
2884 \noun off
2885 \color none
2886 2
2887 \end_layout
2888
2889 \end_inset
2890 </cell>
2891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2892 \begin_inset Text
2893
2894 \begin_layout Plain Layout
2895
2896 \family roman
2897 \series medium
2898 \shape up
2899 \size normal
2900 \emph off
2901 \bar no
2902 \noun off
2903 \color none
2904 3
2905 \end_layout
2906
2907 \end_inset
2908 </cell>
2909 </row>
2910 <row>
2911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2912 \begin_inset Text
2913
2914 \begin_layout Plain Layout
2915
2916 \family roman
2917 \series medium
2918 \shape up
2919 \size normal
2920 \emph off
2921 \bar no
2922 \noun off
2923 \color none
2924 Joe
2925 \end_layout
2926
2927 \end_inset
2928 </cell>
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Plain Layout
2933
2934 \family roman
2935 \series medium
2936 \shape up
2937 \size normal
2938 \emph off
2939 \bar no
2940 \noun off
2941 \color none
2942 Mary
2943 \end_layout
2944
2945 \end_inset
2946 </cell>
2947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2948 \begin_inset Text
2949
2950 \begin_layout Plain Layout
2951
2952 \family roman
2953 \series medium
2954 \shape up
2955 \size normal
2956 \emph off
2957 \bar no
2958 \noun off
2959 \color none
2960 Ted
2961 \end_layout
2962
2963 \end_inset
2964 </cell>
2965 </row>
2966 <row>
2967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2968 \begin_inset Text
2969
2970 \begin_layout Plain Layout
2971
2972 \family roman
2973 \series medium
2974 \shape up
2975 \size normal
2976 \emph off
2977 \bar no
2978 \noun off
2979 \color none
2980 \begin_inset Formula $\int x^{2}dx$
2981 \end_inset
2982
2983
2984 \end_layout
2985
2986 \end_inset
2987 </cell>
2988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2989 \begin_inset Text
2990
2991 \begin_layout Plain Layout
2992
2993 \family roman
2994 \series medium
2995 \shape up
2996 \size normal
2997 \emph off
2998 \bar no
2999 \noun off
3000 \color none
3001 \begin_inset Formula $\left[\begin{array}{cc}
3002 a & b\\
3003 c & d
3004 \end{array}\right]$
3005 \end_inset
3006
3007
3008 \end_layout
3009
3010 \end_inset
3011 </cell>
3012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3013 \begin_inset Text
3014
3015 \begin_layout Plain Layout
3016
3017 \family roman
3018 \series medium
3019 \shape up
3020 \size normal
3021 \emph off
3022 \bar no
3023 \noun off
3024 \color none
3025 \begin_inset Formula $1+1=2$
3026 \end_inset
3027
3028
3029 \end_layout
3030
3031 \end_inset
3032 </cell>
3033 </row>
3034 </lyxtabular>
3035
3036 \end_inset
3037
3038
3039 \end_layout
3040
3041 \end_inset
3042
3043
3044 \end_layout
3045
3046 \begin_layout Standard
3047 Table floats can be inserted using the menu 
3048 \family sans
3049 Insert\SpecialChar \menuseparator
3050 Float\SpecialChar \menuseparator
3051 Table
3052 \family default
3053  or the toolbar button 
3054 \begin_inset Graphics
3055         filename ../images/float-insert_table.png
3056         scale 85
3057         scaleBeforeRotation
3058
3059 \end_inset
3060
3061 .
3062 \end_layout
3063
3064 \begin_layout Standard
3065 The float appears as a collapsible box with a caption that has the label
3066  
3067 \begin_inset Quotes eld
3068 \end_inset
3069
3070 Table
3071 \begin_inset space ~
3072 \end_inset
3073
3074 #:
3075 \begin_inset Quotes erd
3076 \end_inset
3077
3078  (# is the actual table number).
3079  You can insert tables in the float above or below the caption.
3080 \end_layout
3081
3082 \begin_layout Standard
3083 Table
3084 \begin_inset space ~
3085 \end_inset
3086
3087
3088 \begin_inset CommandInset ref
3089 LatexCommand ref
3090 reference "tab:a table float"
3091
3092 \end_inset
3093
3094  is an example table within a table float.
3095 \end_layout
3096
3097 \begin_layout Standard
3098 Having the caption above the table is the common rule that is unfortunately
3099  not supported in LaTeX's standard classes.
3100  This means that, if you are using the document classes 
3101 \family sans
3102 article
3103 \family default
3104
3105 \family sans
3106 book
3107 \family default
3108
3109 \family sans
3110 letter
3111 \family default
3112 , or 
3113 \family sans
3114 report
3115 \family default
3116 , there will be no space between the caption and the table.
3117  To insert the needed space, add the following option to the load command
3118  of the LaTeX-package 
3119 \series bold
3120 caption
3121 \series default
3122
3123 \begin_inset Index idx
3124 status collapsed
3125
3126 \begin_layout Plain Layout
3127 LaTeX-packages ! caption
3128 \end_layout
3129
3130 \end_inset
3131
3132  in your document preamble
3133 \begin_inset Foot
3134 status collapsed
3135
3136 \begin_layout Plain Layout
3137 For more information have a look at section
3138 \begin_inset space ~
3139 \end_inset
3140
3141
3142 \begin_inset CommandInset ref
3143 LatexCommand ref
3144 reference "sec:Caption-Placement"
3145
3146 \end_inset
3147
3148 .
3149 \end_layout
3150
3151 \end_inset
3152
3153 :
3154 \end_layout
3155
3156 \begin_layout Standard
3157
3158 \series bold
3159 tableposition=top
3160 \end_layout
3161
3162 \begin_layout Standard
3163 The package 
3164 \series bold
3165 caption
3166 \series default
3167 , which is described in section
3168 \begin_inset space ~
3169 \end_inset
3170
3171
3172 \begin_inset CommandInset ref
3173 LatexCommand ref
3174 reference "sec:Caption-Formatting"
3175
3176 \end_inset
3177
3178 , is used to adjust the caption format.
3179 \end_layout
3180
3181 \begin_layout Standard
3182 \begin_inset Index idx
3183 status collapsed
3184
3185 \begin_layout Plain Layout
3186 References ! to Tables
3187 \end_layout
3188
3189 \end_inset
3190
3191 Tables can be cross-referenced in the text by referencing their label.
3192  To do this insert a label in the caption using the menu 
3193 \family sans
3194 Insert\SpecialChar \menuseparator
3195 Label
3196 \family default
3197  or the toolbar button 
3198 \begin_inset Graphics
3199         filename ../images/label-insert.png
3200         scale 85
3201         scaleBeforeRotation
3202
3203 \end_inset
3204
3205 .
3206  You can now refer to the label using the menu 
3207 \family sans
3208 Insert\SpecialChar \menuseparator
3209 Cross
3210 \begin_inset space ~
3211 \end_inset
3212
3213 reference
3214 \family default
3215  or the toolbar button 
3216 \begin_inset Graphics
3217         filename ../images/dialog-show-new-inset_ref.png
3218         scale 85
3219         scaleBeforeRotation
3220
3221 \end_inset
3222
3223 .
3224 \begin_inset Newline newline
3225 \end_inset
3226
3227 Referencing is explained in detail in section
3228 \begin_inset space ~
3229 \end_inset
3230
3231
3232 \begin_inset CommandInset ref
3233 LatexCommand ref
3234 reference "sec:Referencing-Floats"
3235
3236 \end_inset
3237
3238 .
3239 \end_layout
3240
3241 \begin_layout Section
3242 Longtables
3243 \begin_inset CommandInset label
3244 LatexCommand label
3245 name "sec:Longtables"
3246
3247 \end_inset
3248
3249
3250 \begin_inset Index idx
3251 status collapsed
3252
3253 \begin_layout Plain Layout
3254 Longtables
3255 \end_layout
3256
3257 \end_inset
3258
3259
3260 \begin_inset Index idx
3261 status collapsed
3262
3263 \begin_layout Plain Layout
3264 Table ! Longtables
3265 \end_layout
3266
3267 \end_inset
3268
3269
3270 \end_layout
3271
3272 \begin_layout Standard
3273 If the table is too long to fit on one page, you can use the option 
3274 \family sans
3275 Use
3276 \begin_inset space ~
3277 \end_inset
3278
3279 long
3280 \begin_inset space ~
3281 \end_inset
3282
3283 table
3284 \family default
3285  in the tab 
3286 \family sans
3287 Longtable
3288 \family default
3289  of the table dialog to split the table automatically over more pages.
3290  Doing this enables the following options:
3291 \end_layout
3292
3293 \begin_layout Description
3294 Header: The current row is defined to be a header row that appears on all
3295  pages of the longtable; except for the first page, if 
3296 \family sans
3297 First
3298 \begin_inset space ~
3299 \end_inset
3300
3301 header
3302 \family default
3303  is defined.
3304  This is therefore called the main header.
3305 \end_layout
3306
3307 \begin_layout Description
3308 First
3309 \begin_inset space ~
3310 \end_inset
3311
3312 header: The current row is defined to be a header row that appears on the
3313  first page of the longtable.
3314 \end_layout
3315
3316 \begin_layout Description
3317 Footer: The current row is defined to be a footer row that appears on all
3318  pages of the longtable; except for the last page, if 
3319 \family sans
3320 Last
3321 \begin_inset space ~
3322 \end_inset
3323
3324 footer
3325 \family default
3326  is defined.
3327 \end_layout
3328
3329 \begin_layout Description
3330 Last
3331 \begin_inset space ~
3332 \end_inset
3333
3334 footer: The current row is defined to be a footer row that appears on the
3335  last page of the longtable.
3336 \end_layout
3337
3338 \begin_layout Description
3339 Caption: The current row contains the table caption.
3340  The row is reset as single column and a caption is inserted.
3341  More about longtable captions is explained in sec.
3342 \begin_inset space \thinspace{}
3343 \end_inset
3344
3345
3346 \begin_inset CommandInset ref
3347 LatexCommand ref
3348 reference "sub:Longtable-Captions"
3349
3350 \end_inset
3351
3352 .
3353 \end_layout
3354
3355 \begin_layout Standard
3356 You can also specify a row where the table is split.
3357  See the following longtable to see how it works:
3358 \end_layout
3359
3360 \begin_layout Standard
3361 \align center
3362 \begin_inset Tabular
3363 <lyxtabular version="3" rows="69" columns="3">
3364 <features islongtable="true" longtabularalignment="center">
3365 <column alignment="left" valignment="top" width="0cm">
3366 <column alignment="left" valignment="top" width="0pt">
3367 <column alignment="center" valignment="top" width="0pt">
3368 <row endfirsthead="true">
3369 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3370 \begin_inset Text
3371
3372 \begin_layout Plain Layout
3373
3374 \series bold
3375 Example Phone List (ignore the names)
3376 \end_layout
3377
3378 \end_inset
3379 </cell>
3380 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3381 \begin_inset Text
3382
3383 \begin_layout Plain Layout
3384
3385 \end_layout
3386
3387 \end_inset
3388 </cell>
3389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3390 \begin_inset Text
3391
3392 \begin_layout Plain Layout
3393
3394 \end_layout
3395
3396 \end_inset
3397 </cell>
3398 </row>
3399 <row endfirsthead="true">
3400 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3401 \begin_inset Text
3402
3403 \begin_layout Plain Layout
3404
3405 \series bold
3406 NAME
3407 \end_layout
3408
3409 \end_inset
3410 </cell>
3411 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3412 \begin_inset Text
3413
3414 \begin_layout Plain Layout
3415
3416 \end_layout
3417
3418 \end_inset
3419 </cell>
3420 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3421 \begin_inset Text
3422
3423 \begin_layout Plain Layout
3424
3425 \series bold
3426 TEL.
3427 \end_layout
3428
3429 \end_inset
3430 </cell>
3431 </row>
3432 <row endhead="true">
3433 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3434 \begin_inset Text
3435
3436 \begin_layout Plain Layout
3437
3438 \series bold
3439 Example Phone List
3440 \end_layout
3441
3442 \end_inset
3443 </cell>
3444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3445 \begin_inset Text
3446
3447 \begin_layout Plain Layout
3448
3449 \end_layout
3450
3451 \end_inset
3452 </cell>
3453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3454 \begin_inset Text
3455
3456 \begin_layout Plain Layout
3457
3458 \end_layout
3459
3460 \end_inset
3461 </cell>
3462 </row>
3463 <row endhead="true">
3464 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3465 \begin_inset Text
3466
3467 \begin_layout Plain Layout
3468
3469 \series bold
3470 NAME
3471 \end_layout
3472
3473 \end_inset
3474 </cell>
3475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3476 \begin_inset Text
3477
3478 \begin_layout Plain Layout
3479
3480 \end_layout
3481
3482 \end_inset
3483 </cell>
3484 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3485 \begin_inset Text
3486
3487 \begin_layout Plain Layout
3488
3489 \series bold
3490 TEL.
3491 \end_layout
3492
3493 \end_inset
3494 </cell>
3495 </row>
3496 <row endfoot="true">
3497 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3498 \begin_inset Text
3499
3500 \begin_layout Plain Layout
3501  continued on next page
3502 \end_layout
3503
3504 \end_inset
3505 </cell>
3506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3507 \begin_inset Text
3508
3509 \begin_layout Plain Layout
3510
3511 \end_layout
3512
3513 \end_inset
3514 </cell>
3515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3516 \begin_inset Text
3517
3518 \begin_layout Plain Layout
3519
3520 \end_layout
3521
3522 \end_inset
3523 </cell>
3524 </row>
3525 <row>
3526 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3527 \begin_inset Text
3528
3529 \begin_layout Plain Layout
3530
3531 \series bold
3532 Annovi
3533 \end_layout
3534
3535 \end_inset
3536 </cell>
3537 <cell alignment="center" valignment="top" usebox="none">
3538 \begin_inset Text
3539
3540 \begin_layout Plain Layout
3541 Silvia
3542 \end_layout
3543
3544 \end_inset
3545 </cell>
3546 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3547 \begin_inset Text
3548
3549 \begin_layout Plain Layout
3550 111
3551 \end_layout
3552
3553 \end_inset
3554 </cell>
3555 </row>
3556 <row>
3557 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3558 \begin_inset Text
3559
3560 \begin_layout Plain Layout
3561
3562 \series bold
3563 Bertoli
3564 \end_layout
3565
3566 \end_inset
3567 </cell>
3568 <cell alignment="center" valignment="top" usebox="none">
3569 \begin_inset Text
3570
3571 \begin_layout Plain Layout
3572 Stefano
3573 \end_layout
3574
3575 \end_inset
3576 </cell>
3577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3578 \begin_inset Text
3579
3580 \begin_layout Plain Layout
3581 111
3582 \end_layout
3583
3584 \end_inset
3585 </cell>
3586 </row>
3587 <row>
3588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3589 \begin_inset Text
3590
3591 \begin_layout Plain Layout
3592
3593 \series bold
3594 Bozzi
3595 \end_layout
3596
3597 \end_inset
3598 </cell>
3599 <cell alignment="center" valignment="top" usebox="none">
3600 \begin_inset Text
3601
3602 \begin_layout Plain Layout
3603 Walter
3604 \end_layout
3605
3606 \end_inset
3607 </cell>
3608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3609 \begin_inset Text
3610
3611 \begin_layout Plain Layout
3612 111
3613 \end_layout
3614
3615 \end_inset
3616 </cell>
3617 </row>
3618 <row>
3619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3620 \begin_inset Text
3621
3622 \begin_layout Plain Layout
3623
3624 \series bold
3625 Cachia
3626 \end_layout
3627
3628 \end_inset
3629 </cell>
3630 <cell alignment="center" valignment="top" usebox="none">
3631 \begin_inset Text
3632
3633 \begin_layout Plain Layout
3634 Maria
3635 \end_layout
3636
3637 \end_inset
3638 </cell>
3639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3640 \begin_inset Text
3641
3642 \begin_layout Plain Layout
3643 111
3644 \end_layout
3645
3646 \end_inset
3647 </cell>
3648 </row>
3649 <row>
3650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3651 \begin_inset Text
3652
3653 \begin_layout Plain Layout
3654
3655 \series bold
3656 Cachia
3657 \end_layout
3658
3659 \end_inset
3660 </cell>
3661 <cell alignment="center" valignment="top" usebox="none">
3662 \begin_inset Text
3663
3664 \begin_layout Plain Layout
3665 Maurizio
3666 \end_layout
3667
3668 \end_inset
3669 </cell>
3670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3671 \begin_inset Text
3672
3673 \begin_layout Plain Layout
3674 111
3675 \end_layout
3676
3677 \end_inset
3678 </cell>
3679 </row>
3680 <row>
3681 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3682 \begin_inset Text
3683
3684 \begin_layout Plain Layout
3685
3686 \series bold
3687 Cinquemani
3688 \end_layout
3689
3690 \end_inset
3691 </cell>
3692 <cell alignment="center" valignment="top" usebox="none">
3693 \begin_inset Text
3694
3695 \begin_layout Plain Layout
3696 Giusi
3697 \end_layout
3698
3699 \end_inset
3700 </cell>
3701 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3702 \begin_inset Text
3703
3704 \begin_layout Plain Layout
3705 111
3706 \end_layout
3707
3708 \end_inset
3709 </cell>
3710 </row>
3711 <row>
3712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3713 \begin_inset Text
3714
3715 \begin_layout Plain Layout
3716
3717 \series bold
3718 Colin
3719 \end_layout
3720
3721 \end_inset
3722 </cell>
3723 <cell alignment="center" valignment="top" usebox="none">
3724 \begin_inset Text
3725
3726 \begin_layout Plain Layout
3727 Bernard
3728 \end_layout
3729
3730 \end_inset
3731 </cell>
3732 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3733 \begin_inset Text
3734
3735 \begin_layout Plain Layout
3736 111
3737 \end_layout
3738
3739 \end_inset
3740 </cell>
3741 </row>
3742 <row>
3743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3744 \begin_inset Text
3745
3746 \begin_layout Plain Layout
3747
3748 \series bold
3749 Concli
3750 \end_layout
3751
3752 \end_inset
3753 </cell>
3754 <cell alignment="center" valignment="top" usebox="none">
3755 \begin_inset Text
3756
3757 \begin_layout Plain Layout
3758 Gianfranco
3759 \end_layout
3760
3761 \end_inset
3762 </cell>
3763 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3764 \begin_inset Text
3765
3766 \begin_layout Plain Layout
3767 111
3768 \end_layout
3769
3770 \end_inset
3771 </cell>
3772 </row>
3773 <row>
3774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3775 \begin_inset Text
3776
3777 \begin_layout Plain Layout
3778
3779 \series bold
3780 Dal Bosco
3781 \end_layout
3782
3783 \end_inset
3784 </cell>
3785 <cell alignment="center" valignment="top" usebox="none">
3786 \begin_inset Text
3787
3788 \begin_layout Plain Layout
3789 Carolina
3790 \end_layout
3791
3792 \end_inset
3793 </cell>
3794 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3795 \begin_inset Text
3796
3797 \begin_layout Plain Layout
3798 111
3799 \end_layout
3800
3801 \end_inset
3802 </cell>
3803 </row>
3804 <row>
3805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3806 \begin_inset Text
3807
3808 \begin_layout Plain Layout
3809
3810 \series bold
3811 Dalpiaz
3812 \end_layout
3813
3814 \end_inset
3815 </cell>
3816 <cell alignment="center" valignment="top" usebox="none">
3817 \begin_inset Text
3818
3819 \begin_layout Plain Layout
3820 Annamaria
3821 \end_layout
3822
3823 \end_inset
3824 </cell>
3825 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3826 \begin_inset Text
3827
3828 \begin_layout Plain Layout
3829 111
3830 \end_layout
3831
3832 \end_inset
3833 </cell>
3834 </row>
3835 <row>
3836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3837 \begin_inset Text
3838
3839 \begin_layout Plain Layout
3840
3841 \series bold
3842 Feliciello
3843 \end_layout
3844
3845 \end_inset
3846 </cell>
3847 <cell alignment="center" valignment="top" usebox="none">
3848 \begin_inset Text
3849
3850 \begin_layout Plain Layout
3851 Domenico
3852 \end_layout
3853
3854 \end_inset
3855 </cell>
3856 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3857 \begin_inset Text
3858
3859 \begin_layout Plain Layout
3860 111
3861 \end_layout
3862
3863 \end_inset
3864 </cell>
3865 </row>
3866 <row>
3867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3868 \begin_inset Text
3869
3870 \begin_layout Plain Layout
3871
3872 \series bold
3873 Focarelli
3874 \end_layout
3875
3876 \end_inset
3877 </cell>
3878 <cell alignment="center" valignment="top" usebox="none">
3879 \begin_inset Text
3880
3881 \begin_layout Plain Layout
3882 Paola
3883 \end_layout
3884
3885 \end_inset
3886 </cell>
3887 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3888 \begin_inset Text
3889
3890 \begin_layout Plain Layout
3891 111
3892 \end_layout
3893
3894 \end_inset
3895 </cell>
3896 </row>
3897 <row>
3898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3899 \begin_inset Text
3900
3901 \begin_layout Plain Layout
3902
3903 \series bold
3904 Galletti
3905 \end_layout
3906
3907 \end_inset
3908 </cell>
3909 <cell alignment="center" valignment="top" usebox="none">
3910 \begin_inset Text
3911
3912 \begin_layout Plain Layout
3913 Oreste
3914 \end_layout
3915
3916 \end_inset
3917 </cell>
3918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3919 \begin_inset Text
3920
3921 \begin_layout Plain Layout
3922 111
3923 \end_layout
3924
3925 \end_inset
3926 </cell>
3927 </row>
3928 <row>
3929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3930 \begin_inset Text
3931
3932 \begin_layout Plain Layout
3933
3934 \series bold
3935 Gasparini
3936 \end_layout
3937
3938 \end_inset
3939 </cell>
3940 <cell alignment="center" valignment="top" usebox="none">
3941 \begin_inset Text
3942
3943 \begin_layout Plain Layout
3944 Franca
3945 \end_layout
3946
3947 \end_inset
3948 </cell>
3949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3950 \begin_inset Text
3951
3952 \begin_layout Plain Layout
3953 111
3954 \end_layout
3955
3956 \end_inset
3957 </cell>
3958 </row>
3959 <row>
3960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3961 \begin_inset Text
3962
3963 \begin_layout Plain Layout
3964
3965 \series bold
3966 Rizzardi
3967 \end_layout
3968
3969 \end_inset
3970 </cell>
3971 <cell alignment="center" valignment="top" usebox="none">
3972 \begin_inset Text
3973
3974 \begin_layout Plain Layout
3975 Paola
3976 \end_layout
3977
3978 \end_inset
3979 </cell>
3980 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3981 \begin_inset Text
3982
3983 \begin_layout Plain Layout
3984 111
3985 \end_layout
3986
3987 \end_inset
3988 </cell>
3989 </row>
3990 <row>
3991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3992 \begin_inset Text
3993
3994 \begin_layout Plain Layout
3995
3996 \series bold
3997 Lassini
3998 \end_layout
3999
4000 \end_inset
4001 </cell>
4002 <cell alignment="center" valignment="top" usebox="none">
4003 \begin_inset Text
4004
4005 \begin_layout Plain Layout
4006 Giancarlo
4007 \end_layout
4008
4009 \end_inset
4010 </cell>
4011 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4012 \begin_inset Text
4013
4014 \begin_layout Plain Layout
4015 111
4016 \end_layout
4017
4018 \end_inset
4019 </cell>
4020 </row>
4021 <row>
4022 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4023 \begin_inset Text
4024
4025 \begin_layout Plain Layout
4026
4027 \series bold
4028 Malfatti
4029 \end_layout
4030
4031 \end_inset
4032 </cell>
4033 <cell alignment="center" valignment="top" usebox="none">
4034 \begin_inset Text
4035
4036 \begin_layout Plain Layout
4037 Luciano
4038 \end_layout
4039
4040 \end_inset
4041 </cell>
4042 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4043 \begin_inset Text
4044
4045 \begin_layout Plain Layout
4046 111
4047 \end_layout
4048
4049 \end_inset
4050 </cell>
4051 </row>
4052 <row>
4053 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4054 \begin_inset Text
4055
4056 \begin_layout Plain Layout
4057
4058 \series bold
4059 Malfatti
4060 \end_layout
4061
4062 \end_inset
4063 </cell>
4064 <cell alignment="center" valignment="top" usebox="none">
4065 \begin_inset Text
4066
4067 \begin_layout Plain Layout
4068 Valeriano
4069 \end_layout
4070
4071 \end_inset
4072 </cell>
4073 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4074 \begin_inset Text
4075
4076 \begin_layout Plain Layout
4077 111
4078 \end_layout
4079
4080 \end_inset
4081 </cell>
4082 </row>
4083 <row>
4084 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4085 \begin_inset Text
4086
4087 \begin_layout Plain Layout
4088
4089 \series bold
4090 Meneguzzo
4091 \end_layout
4092
4093 \end_inset
4094 </cell>
4095 <cell alignment="center" valignment="top" usebox="none">
4096 \begin_inset Text
4097
4098 \begin_layout Plain Layout
4099 Roberto
4100 \end_layout
4101
4102 \end_inset
4103 </cell>
4104 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4105 \begin_inset Text
4106
4107 \begin_layout Plain Layout
4108 111
4109 \end_layout
4110
4111 \end_inset
4112 </cell>
4113 </row>
4114 <row>
4115 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4116 \begin_inset Text
4117
4118 \begin_layout Plain Layout
4119
4120 \series bold
4121 Mezzadra
4122 \end_layout
4123
4124 \end_inset
4125 </cell>
4126 <cell alignment="center" valignment="top" usebox="none">
4127 \begin_inset Text
4128
4129 \begin_layout Plain Layout
4130 Roberto
4131 \end_layout
4132
4133 \end_inset
4134 </cell>
4135 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4136 \begin_inset Text
4137
4138 \begin_layout Plain Layout
4139 111
4140 \end_layout
4141
4142 \end_inset
4143 </cell>
4144 </row>
4145 <row>
4146 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4147 \begin_inset Text
4148
4149 \begin_layout Plain Layout
4150
4151 \series bold
4152 Pirpamer
4153 \end_layout
4154
4155 \end_inset
4156 </cell>
4157 <cell alignment="center" valignment="top" usebox="none">
4158 \begin_inset Text
4159
4160 \begin_layout Plain Layout
4161 Erich
4162 \end_layout
4163
4164 \end_inset
4165 </cell>
4166 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4167 \begin_inset Text
4168
4169 \begin_layout Plain Layout
4170 111
4171 \end_layout
4172
4173 \end_inset
4174 </cell>
4175 </row>
4176 <row>
4177 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4178 \begin_inset Text
4179
4180 \begin_layout Plain Layout
4181
4182 \series bold
4183 Pochiesa
4184 \end_layout
4185
4186 \end_inset
4187 </cell>
4188 <cell alignment="center" valignment="top" usebox="none">
4189 \begin_inset Text
4190
4191 \begin_layout Plain Layout
4192 Paolo
4193 \end_layout
4194
4195 \end_inset
4196 </cell>
4197 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4198 \begin_inset Text
4199
4200 \begin_layout Plain Layout
4201 111, 222
4202 \end_layout
4203
4204 \end_inset
4205 </cell>
4206 </row>
4207 <row>
4208 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4209 \begin_inset Text
4210
4211 \begin_layout Plain Layout
4212
4213 \series bold
4214 Radina
4215 \end_layout
4216
4217 \end_inset
4218 </cell>
4219 <cell alignment="center" valignment="top" usebox="none">
4220 \begin_inset Text
4221
4222 \begin_layout Plain Layout
4223 Claudio
4224 \end_layout
4225
4226 \end_inset
4227 </cell>
4228 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4229 \begin_inset Text
4230
4231 \begin_layout Plain Layout
4232 111
4233 \end_layout
4234
4235 \end_inset
4236 </cell>
4237 </row>
4238 <row>
4239 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4240 \begin_inset Text
4241
4242 \begin_layout Plain Layout
4243
4244 \series bold
4245 Stuffer
4246 \end_layout
4247
4248 \end_inset
4249 </cell>
4250 <cell alignment="center" valignment="top" usebox="none">
4251 \begin_inset Text
4252
4253 \begin_layout Plain Layout
4254 Oskar
4255 \end_layout
4256
4257 \end_inset
4258 </cell>
4259 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4260 \begin_inset Text
4261
4262 \begin_layout Plain Layout
4263 111
4264 \end_layout
4265
4266 \end_inset
4267 </cell>
4268 </row>
4269 <row>
4270 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4271 \begin_inset Text
4272
4273 \begin_layout Plain Layout
4274
4275 \series bold
4276 Tacchelli
4277 \end_layout
4278
4279 \end_inset
4280 </cell>
4281 <cell alignment="center" valignment="top" usebox="none">
4282 \begin_inset Text
4283
4284 \begin_layout Plain Layout
4285 Ugo
4286 \end_layout
4287
4288 \end_inset
4289 </cell>
4290 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4291 \begin_inset Text
4292
4293 \begin_layout Plain Layout
4294 111
4295 \end_layout
4296
4297 \end_inset
4298 </cell>
4299 </row>
4300 <row>
4301 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4302 \begin_inset Text
4303
4304 \begin_layout Plain Layout
4305
4306 \series bold
4307 Tezzele
4308 \end_layout
4309
4310 \end_inset
4311 </cell>
4312 <cell alignment="center" valignment="top" usebox="none">
4313 \begin_inset Text
4314
4315 \begin_layout Plain Layout
4316 Margit
4317 \end_layout
4318
4319 \end_inset
4320 </cell>
4321 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4322 \begin_inset Text
4323
4324 \begin_layout Plain Layout
4325 111
4326 \end_layout
4327
4328 \end_inset
4329 </cell>
4330 </row>
4331 <row>
4332 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4333 \begin_inset Text
4334
4335 \begin_layout Plain Layout
4336
4337 \series bold
4338 Unterkalmsteiner
4339 \end_layout
4340
4341 \end_inset
4342 </cell>
4343 <cell alignment="center" valignment="top" usebox="none">
4344 \begin_inset Text
4345
4346 \begin_layout Plain Layout
4347 Frieda
4348 \end_layout
4349
4350 \end_inset
4351 </cell>
4352 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4353 \begin_inset Text
4354
4355 \begin_layout Plain Layout
4356 111
4357 \end_layout
4358
4359 \end_inset
4360 </cell>
4361 </row>
4362 <row>
4363 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4364 \begin_inset Text
4365
4366 \begin_layout Plain Layout
4367
4368 \series bold
4369 Vieider
4370 \end_layout
4371
4372 \end_inset
4373 </cell>
4374 <cell alignment="center" valignment="top" usebox="none">
4375 \begin_inset Text
4376
4377 \begin_layout Plain Layout
4378 Hilde
4379 \end_layout
4380
4381 \end_inset
4382 </cell>
4383 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4384 \begin_inset Text
4385
4386 \begin_layout Plain Layout
4387 111
4388 \end_layout
4389
4390 \end_inset
4391 </cell>
4392 </row>
4393 <row>
4394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4395 \begin_inset Text
4396
4397 \begin_layout Plain Layout
4398
4399 \series bold
4400 Vigna
4401 \end_layout
4402
4403 \end_inset
4404 </cell>
4405 <cell alignment="center" valignment="top" usebox="none">
4406 \begin_inset Text
4407
4408 \begin_layout Plain Layout
4409 Jürgen
4410 \end_layout
4411
4412 \end_inset
4413 </cell>
4414 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4415 \begin_inset Text
4416
4417 \begin_layout Plain Layout
4418 111
4419 \end_layout
4420
4421 \end_inset
4422 </cell>
4423 </row>
4424 <row>
4425 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4426 \begin_inset Text
4427
4428 \begin_layout Plain Layout
4429
4430 \series bold
4431 Weber
4432 \end_layout
4433
4434 \end_inset
4435 </cell>
4436 <cell alignment="center" valignment="top" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Plain Layout
4440 Maurizio
4441 \end_layout
4442
4443 \end_inset
4444 </cell>
4445 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4446 \begin_inset Text
4447
4448 \begin_layout Plain Layout
4449 111
4450 \end_layout
4451
4452 \end_inset
4453 </cell>
4454 </row>
4455 <row>
4456 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4457 \begin_inset Text
4458
4459 \begin_layout Plain Layout
4460
4461 \series bold
4462 Winkler
4463 \end_layout
4464
4465 \end_inset
4466 </cell>
4467 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4468 \begin_inset Text
4469
4470 \begin_layout Plain Layout
4471 Franz
4472 \end_layout
4473
4474 \end_inset
4475 </cell>
4476 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4477 \begin_inset Text
4478
4479 \begin_layout Plain Layout
4480 111
4481 \end_layout
4482
4483 \end_inset
4484 </cell>
4485 </row>
4486 <row>
4487 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4488 \begin_inset Text
4489
4490 \begin_layout Plain Layout
4491  
4492 \end_layout
4493
4494 \end_inset
4495 </cell>
4496 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4497 \begin_inset Text
4498
4499 \begin_layout Plain Layout
4500
4501 \end_layout
4502
4503 \end_inset
4504 </cell>
4505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4506 \begin_inset Text
4507
4508 \begin_layout Plain Layout
4509
4510 \end_layout
4511
4512 \end_inset
4513 </cell>
4514 </row>
4515 <row>
4516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4517 \begin_inset Text
4518
4519 \begin_layout Plain Layout
4520
4521 \series bold
4522 Annovi
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 <cell alignment="center" valignment="top" usebox="none">
4528 \begin_inset Text
4529
4530 \begin_layout Plain Layout
4531 Silvia
4532 \end_layout
4533
4534 \end_inset
4535 </cell>
4536 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4537 \begin_inset Text
4538
4539 \begin_layout Plain Layout
4540 555
4541 \end_layout
4542
4543 \end_inset
4544 </cell>
4545 </row>
4546 <row>
4547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4548 \begin_inset Text
4549
4550 \begin_layout Plain Layout
4551
4552 \series bold
4553 Bertoli
4554 \end_layout
4555
4556 \end_inset
4557 </cell>
4558 <cell alignment="center" valignment="top" usebox="none">
4559 \begin_inset Text
4560
4561 \begin_layout Plain Layout
4562 Stefano
4563 \end_layout
4564
4565 \end_inset
4566 </cell>
4567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4568 \begin_inset Text
4569
4570 \begin_layout Plain Layout
4571 555
4572 \end_layout
4573
4574 \end_inset
4575 </cell>
4576 </row>
4577 <row>
4578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4579 \begin_inset Text
4580
4581 \begin_layout Plain Layout
4582
4583 \series bold
4584 Bozzi
4585 \end_layout
4586
4587 \end_inset
4588 </cell>
4589 <cell alignment="center" valignment="top" usebox="none">
4590 \begin_inset Text
4591
4592 \begin_layout Plain Layout
4593 Walter
4594 \end_layout
4595
4596 \end_inset
4597 </cell>
4598 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4599 \begin_inset Text
4600
4601 \begin_layout Plain Layout
4602 555
4603 \end_layout
4604
4605 \end_inset
4606 </cell>
4607 </row>
4608 <row>
4609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4610 \begin_inset Text
4611
4612 \begin_layout Plain Layout
4613
4614 \series bold
4615 Cachia
4616 \end_layout
4617
4618 \end_inset
4619 </cell>
4620 <cell alignment="center" valignment="top" usebox="none">
4621 \begin_inset Text
4622
4623 \begin_layout Plain Layout
4624 Maria
4625 \end_layout
4626
4627 \end_inset
4628 </cell>
4629 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4630 \begin_inset Text
4631
4632 \begin_layout Plain Layout
4633 555
4634 \end_layout
4635
4636 \end_inset
4637 </cell>
4638 </row>
4639 <row>
4640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4641 \begin_inset Text
4642
4643 \begin_layout Plain Layout
4644
4645 \series bold
4646 Cachia
4647 \end_layout
4648
4649 \end_inset
4650 </cell>
4651 <cell alignment="center" valignment="top" usebox="none">
4652 \begin_inset Text
4653
4654 \begin_layout Plain Layout
4655 Maurizio
4656 \end_layout
4657
4658 \end_inset
4659 </cell>
4660 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4661 \begin_inset Text
4662
4663 \begin_layout Plain Layout
4664 555
4665 \end_layout
4666
4667 \end_inset
4668 </cell>
4669 </row>
4670 <row>
4671 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4672 \begin_inset Text
4673
4674 \begin_layout Plain Layout
4675
4676 \series bold
4677 Cinquemani
4678 \end_layout
4679
4680 \end_inset
4681 </cell>
4682 <cell alignment="center" valignment="top" usebox="none">
4683 \begin_inset Text
4684
4685 \begin_layout Plain Layout
4686 Giusi
4687 \end_layout
4688
4689 \end_inset
4690 </cell>
4691 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4692 \begin_inset Text
4693
4694 \begin_layout Plain Layout
4695 555
4696 \end_layout
4697
4698 \end_inset
4699 </cell>
4700 </row>
4701 <row>
4702 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4703 \begin_inset Text
4704
4705 \begin_layout Plain Layout
4706
4707 \series bold
4708 Colin
4709 \end_layout
4710
4711 \end_inset
4712 </cell>
4713 <cell alignment="center" valignment="top" usebox="none">
4714 \begin_inset Text
4715
4716 \begin_layout Plain Layout
4717 Bernard
4718 \end_layout
4719
4720 \end_inset
4721 </cell>
4722 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4723 \begin_inset Text
4724
4725 \begin_layout Plain Layout
4726 555
4727 \end_layout
4728
4729 \end_inset
4730 </cell>
4731 </row>
4732 <row>
4733 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4734 \begin_inset Text
4735
4736 \begin_layout Plain Layout
4737
4738 \series bold
4739 Concli
4740 \end_layout
4741
4742 \end_inset
4743 </cell>
4744 <cell alignment="center" valignment="top" usebox="none">
4745 \begin_inset Text
4746
4747 \begin_layout Plain Layout
4748 Gianfranco
4749 \end_layout
4750
4751 \end_inset
4752 </cell>
4753 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4754 \begin_inset Text
4755
4756 \begin_layout Plain Layout
4757 555
4758 \end_layout
4759
4760 \end_inset
4761 </cell>
4762 </row>
4763 <row>
4764 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4765 \begin_inset Text
4766
4767 \begin_layout Plain Layout
4768
4769 \series bold
4770 Dal Bosco
4771 \end_layout
4772
4773 \end_inset
4774 </cell>
4775 <cell alignment="center" valignment="top" usebox="none">
4776 \begin_inset Text
4777
4778 \begin_layout Plain Layout
4779 Carolina
4780 \end_layout
4781
4782 \end_inset
4783 </cell>
4784 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4785 \begin_inset Text
4786
4787 \begin_layout Plain Layout
4788 555
4789 \end_layout
4790
4791 \end_inset
4792 </cell>
4793 </row>
4794 <row>
4795 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4796 \begin_inset Text
4797
4798 \begin_layout Plain Layout
4799
4800 \series bold
4801 Dalpiaz
4802 \end_layout
4803
4804 \end_inset
4805 </cell>
4806 <cell alignment="center" valignment="top" usebox="none">
4807 \begin_inset Text
4808
4809 \begin_layout Plain Layout
4810 Annamaria
4811 \end_layout
4812
4813 \end_inset
4814 </cell>
4815 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4816 \begin_inset Text
4817
4818 \begin_layout Plain Layout
4819 555
4820 \end_layout
4821
4822 \end_inset
4823 </cell>
4824 </row>
4825 <row>
4826 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4827 \begin_inset Text
4828
4829 \begin_layout Plain Layout
4830
4831 \series bold
4832 Feliciello
4833 \end_layout
4834
4835 \end_inset
4836 </cell>
4837 <cell alignment="center" valignment="top" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Plain Layout
4841 Domenico
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Plain Layout
4850 555
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 </row>
4856 <row>
4857 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4858 \begin_inset Text
4859
4860 \begin_layout Plain Layout
4861
4862 \series bold
4863 Focarelli
4864 \end_layout
4865
4866 \end_inset
4867 </cell>
4868 <cell alignment="center" valignment="top" usebox="none">
4869 \begin_inset Text
4870
4871 \begin_layout Plain Layout
4872 Paola
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Plain Layout
4881 555
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 </row>
4887 <row>
4888 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4889 \begin_inset Text
4890
4891 \begin_layout Plain Layout
4892
4893 \series bold
4894 Galletti
4895 \end_layout
4896
4897 \end_inset
4898 </cell>
4899 <cell alignment="center" valignment="top" usebox="none">
4900 \begin_inset Text
4901
4902 \begin_layout Plain Layout
4903 Oreste
4904 \end_layout
4905
4906 \end_inset
4907 </cell>
4908 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4909 \begin_inset Text
4910
4911 \begin_layout Plain Layout
4912 555
4913 \end_layout
4914
4915 \end_inset
4916 </cell>
4917 </row>
4918 <row>
4919 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4920 \begin_inset Text
4921
4922 \begin_layout Plain Layout
4923
4924 \series bold
4925 Gasparini
4926 \end_layout
4927
4928 \end_inset
4929 </cell>
4930 <cell alignment="center" valignment="top" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Plain Layout
4934 Franca
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Plain Layout
4943 555
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 </row>
4949 <row>
4950 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4951 \begin_inset Text
4952
4953 \begin_layout Plain Layout
4954
4955 \series bold
4956 Rizzardi
4957 \end_layout
4958
4959 \end_inset
4960 </cell>
4961 <cell alignment="center" valignment="top" usebox="none">
4962 \begin_inset Text
4963
4964 \begin_layout Plain Layout
4965 Paola
4966 \end_layout
4967
4968 \end_inset
4969 </cell>
4970 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4971 \begin_inset Text
4972
4973 \begin_layout Plain Layout
4974 555
4975 \end_layout
4976
4977 \end_inset
4978 </cell>
4979 </row>
4980 <row>
4981 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4982 \begin_inset Text
4983
4984 \begin_layout Plain Layout
4985
4986 \series bold
4987 Lassini
4988 \end_layout
4989
4990 \end_inset
4991 </cell>
4992 <cell alignment="center" valignment="top" usebox="none">
4993 \begin_inset Text
4994
4995 \begin_layout Plain Layout
4996 Giancarlo
4997 \end_layout
4998
4999 \end_inset
5000 </cell>
5001 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5002 \begin_inset Text
5003
5004 \begin_layout Plain Layout
5005 555
5006 \end_layout
5007
5008 \end_inset
5009 </cell>
5010 </row>
5011 <row>
5012 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5013 \begin_inset Text
5014
5015 \begin_layout Plain Layout
5016
5017 \series bold
5018 Malfatti
5019 \end_layout
5020
5021 \end_inset
5022 </cell>
5023 <cell alignment="center" valignment="top" usebox="none">
5024 \begin_inset Text
5025
5026 \begin_layout Plain Layout
5027 Luciano
5028 \end_layout
5029
5030 \end_inset
5031 </cell>
5032 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5033 \begin_inset Text
5034
5035 \begin_layout Plain Layout
5036 555
5037 \end_layout
5038
5039 \end_inset
5040 </cell>
5041 </row>
5042 <row>
5043 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5044 \begin_inset Text
5045
5046 \begin_layout Plain Layout
5047
5048 \series bold
5049 Malfatti
5050 \end_layout
5051
5052 \end_inset
5053 </cell>
5054 <cell alignment="center" valignment="top" usebox="none">
5055 \begin_inset Text
5056
5057 \begin_layout Plain Layout
5058 Valeriano
5059 \end_layout
5060
5061 \end_inset
5062 </cell>
5063 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5064 \begin_inset Text
5065
5066 \begin_layout Plain Layout
5067 555
5068 \end_layout
5069
5070 \end_inset
5071 </cell>
5072 </row>
5073 <row>
5074 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5075 \begin_inset Text
5076
5077 \begin_layout Plain Layout
5078
5079 \series bold
5080 Meneguzzo
5081 \end_layout
5082
5083 \end_inset
5084 </cell>
5085 <cell alignment="center" valignment="top" usebox="none">
5086 \begin_inset Text
5087
5088 \begin_layout Plain Layout
5089 Roberto
5090 \end_layout
5091
5092 \end_inset
5093 </cell>
5094 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5095 \begin_inset Text
5096
5097 \begin_layout Plain Layout
5098 555
5099 \end_layout
5100
5101 \end_inset
5102 </cell>
5103 </row>
5104 <row>
5105 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5106 \begin_inset Text
5107
5108 \begin_layout Plain Layout
5109
5110 \series bold
5111 Mezzadra
5112 \end_layout
5113
5114 \end_inset
5115 </cell>
5116 <cell alignment="center" valignment="top" usebox="none">
5117 \begin_inset Text
5118
5119 \begin_layout Plain Layout
5120 Roberto
5121 \end_layout
5122
5123 \end_inset
5124 </cell>
5125 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5126 \begin_inset Text
5127
5128 \begin_layout Plain Layout
5129 555
5130 \end_layout
5131
5132 \end_inset
5133 </cell>
5134 </row>
5135 <row>
5136 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5137 \begin_inset Text
5138
5139 \begin_layout Plain Layout
5140
5141 \series bold
5142 Pirpamer
5143 \end_layout
5144
5145 \end_inset
5146 </cell>
5147 <cell alignment="center" valignment="top" usebox="none">
5148 \begin_inset Text
5149
5150 \begin_layout Plain Layout
5151 Erich
5152 \end_layout
5153
5154 \end_inset
5155 </cell>
5156 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5157 \begin_inset Text
5158
5159 \begin_layout Plain Layout
5160 555
5161 \end_layout
5162
5163 \end_inset
5164 </cell>
5165 </row>
5166 <row>
5167 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5168 \begin_inset Text
5169
5170 \begin_layout Plain Layout
5171
5172 \series bold
5173 Pochiesa
5174 \end_layout
5175
5176 \end_inset
5177 </cell>
5178 <cell alignment="center" valignment="top" usebox="none">
5179 \begin_inset Text
5180
5181 \begin_layout Plain Layout
5182 Paolo
5183 \end_layout
5184
5185 \end_inset
5186 </cell>
5187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5188 \begin_inset Text
5189
5190 \begin_layout Plain Layout
5191 555, 222
5192 \end_layout
5193
5194 \end_inset
5195 </cell>
5196 </row>
5197 <row>
5198 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5199 \begin_inset Text
5200
5201 \begin_layout Plain Layout
5202
5203 \series bold
5204 Radina
5205 \end_layout
5206
5207 \end_inset
5208 </cell>
5209 <cell alignment="center" valignment="top" usebox="none">
5210 \begin_inset Text
5211
5212 \begin_layout Plain Layout
5213 Claudio
5214 \end_layout
5215
5216 \end_inset
5217 </cell>
5218 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5219 \begin_inset Text
5220
5221 \begin_layout Plain Layout
5222 555
5223 \end_layout
5224
5225 \end_inset
5226 </cell>
5227 </row>
5228 <row>
5229 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5230 \begin_inset Text
5231
5232 \begin_layout Plain Layout
5233
5234 \series bold
5235 Stuffer
5236 \end_layout
5237
5238 \end_inset
5239 </cell>
5240 <cell alignment="center" valignment="top" usebox="none">
5241 \begin_inset Text
5242
5243 \begin_layout Plain Layout
5244 Oskar
5245 \end_layout
5246
5247 \end_inset
5248 </cell>
5249 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5250 \begin_inset Text
5251
5252 \begin_layout Plain Layout
5253 555
5254 \end_layout
5255
5256 \end_inset
5257 </cell>
5258 </row>
5259 <row>
5260 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5261 \begin_inset Text
5262
5263 \begin_layout Plain Layout
5264
5265 \series bold
5266 Tacchelli
5267 \end_layout
5268
5269 \end_inset
5270 </cell>
5271 <cell alignment="center" valignment="top" usebox="none">
5272 \begin_inset Text
5273
5274 \begin_layout Plain Layout
5275 Ugo
5276 \end_layout
5277
5278 \end_inset
5279 </cell>
5280 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5281 \begin_inset Text
5282
5283 \begin_layout Plain Layout
5284 555
5285 \end_layout
5286
5287 \end_inset
5288 </cell>
5289 </row>
5290 <row>
5291 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5292 \begin_inset Text
5293
5294 \begin_layout Plain Layout
5295
5296 \series bold
5297 Tezzele
5298 \end_layout
5299
5300 \end_inset
5301 </cell>
5302 <cell alignment="center" valignment="top" usebox="none">
5303 \begin_inset Text
5304
5305 \begin_layout Plain Layout
5306 Margit
5307 \end_layout
5308
5309 \end_inset
5310 </cell>
5311 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5312 \begin_inset Text
5313
5314 \begin_layout Plain Layout
5315 555
5316 \end_layout
5317
5318 \end_inset
5319 </cell>
5320 </row>
5321 <row>
5322 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5323 \begin_inset Text
5324
5325 \begin_layout Plain Layout
5326
5327 \series bold
5328 Unterkalmsteiner
5329 \end_layout
5330
5331 \end_inset
5332 </cell>
5333 <cell alignment="center" valignment="top" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Plain Layout
5337 Frieda
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Plain Layout
5346 555
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 </row>
5352 <row>
5353 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5354 \begin_inset Text
5355
5356 \begin_layout Plain Layout
5357
5358 \series bold
5359 Vieider
5360 \end_layout
5361
5362 \end_inset
5363 </cell>
5364 <cell alignment="center" valignment="top" usebox="none">
5365 \begin_inset Text
5366
5367 \begin_layout Plain Layout
5368 Hilde
5369 \end_layout
5370
5371 \end_inset
5372 </cell>
5373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5374 \begin_inset Text
5375
5376 \begin_layout Plain Layout
5377 555
5378 \end_layout
5379
5380 \end_inset
5381 </cell>
5382 </row>
5383 <row>
5384 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5385 \begin_inset Text
5386
5387 \begin_layout Plain Layout
5388
5389 \series bold
5390 Vigna
5391 \end_layout
5392
5393 \end_inset
5394 </cell>
5395 <cell alignment="center" valignment="top" usebox="none">
5396 \begin_inset Text
5397
5398 \begin_layout Plain Layout
5399 Jürgen
5400 \end_layout
5401
5402 \end_inset
5403 </cell>
5404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5405 \begin_inset Text
5406
5407 \begin_layout Plain Layout
5408 999
5409 \end_layout
5410
5411 \end_inset
5412 </cell>
5413 </row>
5414 <row>
5415 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5416 \begin_inset Text
5417
5418 \begin_layout Plain Layout
5419
5420 \series bold
5421 Weber
5422 \end_layout
5423
5424 \end_inset
5425 </cell>
5426 <cell alignment="center" valignment="top" usebox="none">
5427 \begin_inset Text
5428
5429 \begin_layout Plain Layout
5430 Maurizio
5431 \end_layout
5432
5433 \end_inset
5434 </cell>
5435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5436 \begin_inset Text
5437
5438 \begin_layout Plain Layout
5439 555
5440 \end_layout
5441
5442 \end_inset
5443 </cell>
5444 </row>
5445 <row>
5446 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5447 \begin_inset Text
5448
5449 \begin_layout Plain Layout
5450
5451 \series bold
5452 Winkler
5453 \end_layout
5454
5455 \end_inset
5456 </cell>
5457 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5458 \begin_inset Text
5459
5460 \begin_layout Plain Layout
5461 Franz
5462 \end_layout
5463
5464 \end_inset
5465 </cell>
5466 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5467 \begin_inset Text
5468
5469 \begin_layout Plain Layout
5470 555
5471 \end_layout
5472
5473 \end_inset
5474 </cell>
5475 </row>
5476 <row endlastfoot="true">
5477 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5478 \begin_inset Text
5479
5480 \begin_layout Plain Layout
5481 end
5482 \end_layout
5483
5484 \end_inset
5485 </cell>
5486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5487 \begin_inset Text
5488
5489 \begin_layout Plain Layout
5490
5491 \end_layout
5492
5493 \end_inset
5494 </cell>
5495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5496 \begin_inset Text
5497
5498 \begin_layout Plain Layout
5499
5500 \end_layout
5501
5502 \end_inset
5503 </cell>
5504 </row>
5505 </lyxtabular>
5506
5507 \end_inset
5508
5509
5510 \begin_inset ERT
5511 status collapsed
5512
5513 \begin_layout Plain Layout
5514
5515
5516 \backslash
5517 addtocounter{table}{-1}
5518 \end_layout
5519
5520 \end_inset
5521
5522
5523 \begin_inset Note Note
5524 status collapsed
5525
5526 \begin_layout Plain Layout
5527 See the first greyed-out note in section
5528 \begin_inset space ~
5529 \end_inset
5530
5531
5532 \begin_inset CommandInset ref
5533 LatexCommand ref
5534 reference "sub:Longtable-Captions"
5535
5536 \end_inset
5537
5538  for an explanation of this command.
5539 \end_layout
5540
5541 \end_inset
5542
5543
5544 \end_layout
5545
5546 \begin_layout Subsection
5547 Footnotes in Longtables
5548 \begin_inset CommandInset label
5549 LatexCommand label
5550 name "sub:Footnotes-in-Longtables"
5551
5552 \end_inset
5553
5554
5555 \begin_inset Index idx
5556 status collapsed
5557
5558 \begin_layout Plain Layout
5559 Longtables ! Footnotes
5560 \end_layout
5561
5562 \end_inset
5563
5564
5565 \end_layout
5566
5567 \begin_layout Standard
5568 Footnotes can be inserted to every longtable cell.
5569  They appear at the bottom of the page where the table cell with the footnote
5570  appears.
5571  Table
5572 \begin_inset space ~
5573 \end_inset
5574
5575
5576 \begin_inset CommandInset ref
5577 LatexCommand ref
5578 reference "tab:DiffCaptions"
5579
5580 \end_inset
5581
5582  has for example a footnote.
5583 \end_layout
5584
5585 \begin_layout Subsection
5586 Longtable Alignment
5587 \begin_inset Index idx
5588 status collapsed
5589
5590 \begin_layout Plain Layout
5591 Longtables ! Alignment
5592 \end_layout
5593
5594 \end_inset
5595
5596
5597 \end_layout
5598
5599 \begin_layout Standard
5600 The horizontal alignment of longtables can be set in the table settings
5601  dialog.
5602  For left- and right-alignment the table will be directly at the page border.
5603  To add space between the table and the border one has to set the alignment
5604  to center and change the value of the LaTeX-lengths 
5605 \series bold
5606
5607 \backslash
5608 LTleft 
5609 \series default
5610 or 
5611 \series bold
5612
5613 \backslash
5614 LTright
5615 \series default
5616  by inserting this line as TeX-Code before the longtable:
5617 \end_layout
5618
5619 \begin_layout Standard
5620
5621 \series bold
5622
5623 \backslash
5624 setlength{
5625 \backslash
5626 LTleft}{value}
5627 \end_layout
5628
5629 \begin_layout Standard
5630 The value can have any of the units listed in Table
5631 \begin_inset space ~
5632 \end_inset
5633
5634
5635 \begin_inset CommandInset ref
5636 LatexCommand ref
5637 reference "tab:Units"
5638
5639 \end_inset
5640
5641 .
5642  
5643 \series bold
5644
5645 \backslash
5646 LTleft
5647 \series default
5648  controls the horizontal distance from the left page border to the longtable,
5649  
5650 \series bold
5651
5652 \backslash
5653 LTright
5654 \series default
5655  the distance from the right side.
5656  The default value for both lengths is 
5657 \series bold
5658
5659 \backslash
5660 fill
5661 \series default
5662 , which is in this case the same as an horizontal fill in LyX.
5663 \end_layout
5664
5665 \begin_layout Standard
5666 The following longtable was centered and 
5667 \series bold
5668
5669 \backslash
5670 LTleft
5671 \series default
5672  set to 
5673 \family sans
5674 0.1
5675 \backslash
5676 columnwidth
5677 \family default
5678 :
5679 \begin_inset ERT
5680 status collapsed
5681
5682 \begin_layout Plain Layout
5683
5684
5685 \backslash
5686 setlength{
5687 \backslash
5688 LTleft}{0.1
5689 \backslash
5690 columnwidth}
5691 \end_layout
5692
5693 \end_inset
5694
5695
5696 \end_layout
5697
5698 \begin_layout Standard
5699 \begin_inset Tabular
5700 <lyxtabular version="3" rows="5" columns="5">
5701 <features islongtable="true" longtabularalignment="center">
5702 <column alignment="center" valignment="top" width="0">
5703 <column alignment="center" valignment="top" width="0pt">
5704 <column alignment="center" valignment="top" width="0">
5705 <column alignment="center" valignment="top" width="0">
5706 <column alignment="center" valignment="top" width="0">
5707 <row>
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5709 \begin_inset Text
5710
5711 \begin_layout Plain Layout
5712 1
5713 \end_layout
5714
5715 \end_inset
5716 </cell>
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_inset Text
5719
5720 \begin_layout Plain Layout
5721 2
5722 \end_layout
5723
5724 \end_inset
5725 </cell>
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Plain Layout
5730 3
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Plain Layout
5739 4
5740 \end_layout
5741
5742 \end_inset
5743 </cell>
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Plain Layout
5748 5
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 </row>
5754 <row>
5755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5756 \begin_inset Text
5757
5758 \begin_layout Plain Layout
5759 asd
5760 \end_layout
5761
5762 \end_inset
5763 </cell>
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Plain Layout
5768 s
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Plain Layout
5777 s
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Plain Layout
5786 s
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Plain Layout
5795 asd
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 </row>
5801 <row>
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Plain Layout
5806 asd
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Plain Layout
5815 s
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Plain Layout
5824 s
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Plain Layout
5833 s
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Plain Layout
5842 asd
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 </row>
5848 <row>
5849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5850 \begin_inset Text
5851
5852 \begin_layout Plain Layout
5853 asd
5854 \end_layout
5855
5856 \end_inset
5857 </cell>
5858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5859 \begin_inset Text
5860
5861 \begin_layout Plain Layout
5862 s
5863 \end_layout
5864
5865 \end_inset
5866 </cell>
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5868 \begin_inset Text
5869
5870 \begin_layout Plain Layout
5871 s
5872 \end_layout
5873
5874 \end_inset
5875 </cell>
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5877 \begin_inset Text
5878
5879 \begin_layout Plain Layout
5880 s
5881 \end_layout
5882
5883 \end_inset
5884 </cell>
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5886 \begin_inset Text
5887
5888 \begin_layout Plain Layout
5889 asd
5890 \end_layout
5891
5892 \end_inset
5893 </cell>
5894 </row>
5895 <row>
5896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5897 \begin_inset Text
5898
5899 \begin_layout Plain Layout
5900 asd
5901 \end_layout
5902
5903 \end_inset
5904 </cell>
5905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5906 \begin_inset Text
5907
5908 \begin_layout Plain Layout
5909 asd
5910 \end_layout
5911
5912 \end_inset
5913 </cell>
5914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5915 \begin_inset Text
5916
5917 \begin_layout Plain Layout
5918 asd
5919 \end_layout
5920
5921 \end_inset
5922 </cell>
5923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5924 \begin_inset Text
5925
5926 \begin_layout Plain Layout
5927 asd
5928 \end_layout
5929
5930 \end_inset
5931 </cell>
5932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5933 \begin_inset Text
5934
5935 \begin_layout Plain Layout
5936 asd
5937 \end_layout
5938
5939 \end_inset
5940 </cell>
5941 </row>
5942 </lyxtabular>
5943
5944 \end_inset
5945
5946
5947 \begin_inset ERT
5948 status collapsed
5949
5950 \begin_layout Plain Layout
5951
5952
5953 \backslash
5954 setlength{
5955 \backslash
5956 LTleft}{
5957 \backslash
5958 fill}
5959 \end_layout
5960
5961 \end_inset
5962
5963
5964 \begin_inset ERT
5965 status collapsed
5966
5967 \begin_layout Plain Layout
5968
5969
5970 \backslash
5971 addtocounter{table}{-1}
5972 \end_layout
5973
5974 \end_inset
5975
5976
5977 \begin_inset Note Note
5978 status collapsed
5979
5980 \begin_layout Plain Layout
5981 See the first greyed-out note in section
5982 \begin_inset space ~
5983 \end_inset
5984
5985
5986 \begin_inset CommandInset ref
5987 LatexCommand ref
5988 reference "sub:Longtable-Captions"
5989
5990 \end_inset
5991
5992  for an explanation of this command.
5993 \end_layout
5994
5995 \end_inset
5996
5997
5998 \end_layout
5999
6000 \begin_layout Subsection
6001 Longtable Captions
6002 \begin_inset Index idx
6003 status collapsed
6004
6005 \begin_layout Plain Layout
6006 Longtables ! Captions
6007 \end_layout
6008
6009 \end_inset
6010
6011
6012 \begin_inset CommandInset label
6013 LatexCommand label
6014 name "sub:Longtable-Captions"
6015
6016 \end_inset
6017
6018
6019 \end_layout
6020
6021 \begin_layout Standard
6022 A longtable cannot be put into a table float because floats can only be
6023  on one page.
6024  But the caption environment of floats can also be used for longtables when
6025  you use the longtable option 
6026 \family sans
6027 Caption
6028 \family default
6029  as described in sec.
6030 \begin_inset space \thinspace{}
6031 \end_inset
6032
6033
6034 \begin_inset CommandInset ref
6035 LatexCommand ref
6036 reference "sec:Longtables"
6037
6038 \end_inset
6039
6040 .
6041  Only one table row can contain the caption.
6042 \end_layout
6043
6044 \begin_layout Standard
6045 Here is a short longtable to see how it works:
6046 \end_layout
6047
6048 \begin_layout Standard
6049 \begin_inset Tabular
6050 <lyxtabular version="3" rows="6" columns="5">
6051 <features islongtable="true" longtabularalignment="center">
6052 <column alignment="center" valignment="top" width="0">
6053 <column alignment="center" valignment="top" width="0">
6054 <column alignment="center" valignment="top" width="0">
6055 <column alignment="center" valignment="top" width="0">
6056 <column alignment="center" valignment="top" width="0">
6057 <row caption="true">
6058 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6059 \begin_inset Text
6060
6061 \begin_layout Plain Layout
6062 \begin_inset Caption
6063
6064 \begin_layout Plain Layout
6065 Longtable with caption
6066 \begin_inset Argument
6067 status open
6068
6069 \begin_layout Plain Layout
6070 Longtable
6071 \end_layout
6072
6073 \end_inset
6074
6075
6076 \end_layout
6077
6078 \end_inset
6079
6080
6081 \end_layout
6082
6083 \end_inset
6084 </cell>
6085 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6086 \begin_inset Text
6087
6088 \begin_layout Plain Layout
6089
6090 \end_layout
6091
6092 \end_inset
6093 </cell>
6094 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6095 \begin_inset Text
6096
6097 \begin_layout Plain Layout
6098
6099 \end_layout
6100
6101 \end_inset
6102 </cell>
6103 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6104 \begin_inset Text
6105
6106 \begin_layout Plain Layout
6107
6108 \end_layout
6109
6110 \end_inset
6111 </cell>
6112 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6113 \begin_inset Text
6114
6115 \begin_layout Plain Layout
6116
6117 \end_layout
6118
6119 \end_inset
6120 </cell>
6121 </row>
6122 <row>
6123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6124 \begin_inset Text
6125
6126 \begin_layout Plain Layout
6127 1
6128 \end_layout
6129
6130 \end_inset
6131 </cell>
6132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6133 \begin_inset Text
6134
6135 \begin_layout Plain Layout
6136 2
6137 \end_layout
6138
6139 \end_inset
6140 </cell>
6141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6142 \begin_inset Text
6143
6144 \begin_layout Plain Layout
6145 3
6146 \end_layout
6147
6148 \end_inset
6149 </cell>
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6151 \begin_inset Text
6152
6153 \begin_layout Plain Layout
6154 4
6155 \end_layout
6156
6157 \end_inset
6158 </cell>
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6160 \begin_inset Text
6161
6162 \begin_layout Plain Layout
6163 5
6164 \end_layout
6165
6166 \end_inset
6167 </cell>
6168 </row>
6169 <row>
6170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6171 \begin_inset Text
6172
6173 \begin_layout Plain Layout
6174 asd
6175 \end_layout
6176
6177 \end_inset
6178 </cell>
6179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6180 \begin_inset Text
6181
6182 \begin_layout Plain Layout
6183 s
6184 \end_layout
6185
6186 \end_inset
6187 </cell>
6188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6189 \begin_inset Text
6190
6191 \begin_layout Plain Layout
6192 s
6193 \end_layout
6194
6195 \end_inset
6196 </cell>
6197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6198 \begin_inset Text
6199
6200 \begin_layout Plain Layout
6201 s
6202 \end_layout
6203
6204 \end_inset
6205 </cell>
6206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6207 \begin_inset Text
6208
6209 \begin_layout Plain Layout
6210 asd
6211 \end_layout
6212
6213 \end_inset
6214 </cell>
6215 </row>
6216 <row>
6217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6218 \begin_inset Text
6219
6220 \begin_layout Plain Layout
6221 asd
6222 \end_layout
6223
6224 \end_inset
6225 </cell>
6226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6227 \begin_inset Text
6228
6229 \begin_layout Plain Layout
6230 s
6231 \end_layout
6232
6233 \end_inset
6234 </cell>
6235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6236 \begin_inset Text
6237
6238 \begin_layout Plain Layout
6239 s
6240 \end_layout
6241
6242 \end_inset
6243 </cell>
6244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6245 \begin_inset Text
6246
6247 \begin_layout Plain Layout
6248 s
6249 \end_layout
6250
6251 \end_inset
6252 </cell>
6253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6254 \begin_inset Text
6255
6256 \begin_layout Plain Layout
6257 asd
6258 \end_layout
6259
6260 \end_inset
6261 </cell>
6262 </row>
6263 <row>
6264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6265 \begin_inset Text
6266
6267 \begin_layout Plain Layout
6268 asd
6269 \end_layout
6270
6271 \end_inset
6272 </cell>
6273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6274 \begin_inset Text
6275
6276 \begin_layout Plain Layout
6277 s
6278 \end_layout
6279
6280 \end_inset
6281 </cell>
6282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6283 \begin_inset Text
6284
6285 \begin_layout Plain Layout
6286 s
6287 \end_layout
6288
6289 \end_inset
6290 </cell>
6291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6292 \begin_inset Text
6293
6294 \begin_layout Plain Layout
6295 s
6296 \end_layout
6297
6298 \end_inset
6299 </cell>
6300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6301 \begin_inset Text
6302
6303 \begin_layout Plain Layout
6304 asd
6305 \end_layout
6306
6307 \end_inset
6308 </cell>
6309 </row>
6310 <row>
6311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6312 \begin_inset Text
6313
6314 \begin_layout Plain Layout
6315 asd
6316 \end_layout
6317
6318 \end_inset
6319 </cell>
6320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6321 \begin_inset Text
6322
6323 \begin_layout Plain Layout
6324 asd
6325 \end_layout
6326
6327 \end_inset
6328 </cell>
6329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6330 \begin_inset Text
6331
6332 \begin_layout Plain Layout
6333 asd
6334 \end_layout
6335
6336 \end_inset
6337 </cell>
6338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6339 \begin_inset Text
6340
6341 \begin_layout Plain Layout
6342 asd
6343 \end_layout
6344
6345 \end_inset
6346 </cell>
6347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6348 \begin_inset Text
6349
6350 \begin_layout Plain Layout
6351 asd
6352 \end_layout
6353
6354 \end_inset
6355 </cell>
6356 </row>
6357 </lyxtabular>
6358
6359 \end_inset
6360
6361
6362 \end_layout
6363
6364 \begin_layout Standard
6365 \begin_inset VSpace medskip
6366 \end_inset
6367
6368
6369 \begin_inset Note Greyedout
6370 status open
6371
6372 \begin_layout Plain Layout
6373
6374 \series bold
6375 Note
6376 \begin_inset space ~
6377 \end_inset
6378
6379 1:
6380 \series default
6381  The table number is increased for for every longtable, even if you did
6382  not set a caption for it.
6383  For this reason you could have the case that e.
6384 \begin_inset space \thinspace{}
6385 \end_inset
6386
6387 g.
6388 \begin_inset space \space{}
6389 \end_inset
6390
6391 Table
6392 \begin_inset space ~
6393 \end_inset
6394
6395 2.4 follows Table
6396 \begin_inset space ~
6397 \end_inset
6398
6399 2.1 in the list of tables if there are two longtables without captions.
6400  To avoid this you can add the following command in TeX-Code after every
6401  longtable without a caption:
6402 \end_layout
6403
6404 \begin_layout Plain Layout
6405
6406 \series bold
6407
6408 \backslash
6409 addtocounter{table}{-1}
6410 \end_layout
6411
6412 \begin_layout Plain Layout
6413 This is not needed when none of your longtables have a caption and you add
6414  the following code to the document preamble:
6415 \end_layout
6416
6417 \begin_layout Plain Layout
6418
6419 \series bold
6420
6421 \backslash
6422 let
6423 \backslash
6424 myEnd
6425 \backslash
6426 endlongtable
6427 \begin_inset Newline newline
6428 \end_inset
6429
6430
6431 \backslash
6432 renewcommand{
6433 \backslash
6434 endlongtable}{
6435 \backslash
6436 myEnd
6437 \backslash
6438 addtocounter{table}{-1}}
6439 \end_layout
6440
6441 \end_inset
6442
6443
6444 \end_layout
6445
6446 \begin_layout Standard
6447 \begin_inset Note Greyedout
6448 status open
6449
6450 \begin_layout Plain Layout
6451
6452 \series bold
6453 Note
6454 \begin_inset space ~
6455 \end_inset
6456
6457 2:
6458 \series default
6459  If you are using
6460 \series bold
6461  hyperref
6462 \series default
6463
6464 \begin_inset Index idx
6465 status collapsed
6466
6467 \begin_layout Plain Layout
6468 LaTeX-packages ! hyperref
6469 \end_layout
6470
6471 \end_inset
6472
6473  in the 
6474 \family sans
6475 PDF Properties
6476 \family default
6477  of the 
6478 \family sans
6479 Document Settings
6480 \family default
6481  dialog to link cross-references, the link to a longtable caption will always
6482  point to the beginning of the document.
6483 \end_layout
6484
6485 \end_inset
6486
6487
6488 \end_layout
6489
6490 \begin_layout Subsubsection
6491 References to Longtables
6492 \begin_inset Index idx
6493 status collapsed
6494
6495 \begin_layout Plain Layout
6496 Longtables ! References
6497 \end_layout
6498
6499 \end_inset
6500
6501
6502 \end_layout
6503
6504 \begin_layout Standard
6505 \begin_inset Tabular
6506 <lyxtabular version="3" rows="6" columns="5">
6507 <features islongtable="true" longtabularalignment="center">
6508 <column alignment="center" valignment="top" width="0">
6509 <column alignment="center" valignment="top" width="0">
6510 <column alignment="center" valignment="top" width="0">
6511 <column alignment="center" valignment="top" width="0">
6512 <column alignment="center" valignment="top" width="0">
6513 <row caption="true">
6514 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6515 \begin_inset Text
6516
6517 \begin_layout Plain Layout
6518 \begin_inset Caption
6519
6520 \begin_layout Plain Layout
6521 Referenced longtable
6522 \begin_inset CommandInset label
6523 LatexCommand label
6524 name "tab:RefExample"
6525
6526 \end_inset
6527
6528
6529 \end_layout
6530
6531 \end_inset
6532
6533
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6539 \begin_inset Text
6540
6541 \begin_layout Plain Layout
6542
6543 \end_layout
6544
6545 \end_inset
6546 </cell>
6547 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6548 \begin_inset Text
6549
6550 \begin_layout Plain Layout
6551
6552 \end_layout
6553
6554 \end_inset
6555 </cell>
6556 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6557 \begin_inset Text
6558
6559 \begin_layout Plain Layout
6560
6561 \end_layout
6562
6563 \end_inset
6564 </cell>
6565 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6566 \begin_inset Text
6567
6568 \begin_layout Plain Layout
6569
6570 \end_layout
6571
6572 \end_inset
6573 </cell>
6574 </row>
6575 <row>
6576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6577 \begin_inset Text
6578
6579 \begin_layout Plain Layout
6580 1
6581 \end_layout
6582
6583 \end_inset
6584 </cell>
6585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6586 \begin_inset Text
6587
6588 \begin_layout Plain Layout
6589 2
6590 \end_layout
6591
6592 \end_inset
6593 </cell>
6594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6595 \begin_inset Text
6596
6597 \begin_layout Plain Layout
6598 3
6599 \end_layout
6600
6601 \end_inset
6602 </cell>
6603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6604 \begin_inset Text
6605
6606 \begin_layout Plain Layout
6607 4
6608 \end_layout
6609
6610 \end_inset
6611 </cell>
6612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6613 \begin_inset Text
6614
6615 \begin_layout Plain Layout
6616 5
6617 \end_layout
6618
6619 \end_inset
6620 </cell>
6621 </row>
6622 <row>
6623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6624 \begin_inset Text
6625
6626 \begin_layout Plain Layout
6627 asd
6628 \end_layout
6629
6630 \end_inset
6631 </cell>
6632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6633 \begin_inset Text
6634
6635 \begin_layout Plain Layout
6636 s
6637 \end_layout
6638
6639 \end_inset
6640 </cell>
6641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6642 \begin_inset Text
6643
6644 \begin_layout Plain Layout
6645 s
6646 \end_layout
6647
6648 \end_inset
6649 </cell>
6650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6651 \begin_inset Text
6652
6653 \begin_layout Plain Layout
6654 s
6655 \end_layout
6656
6657 \end_inset
6658 </cell>
6659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6660 \begin_inset Text
6661
6662 \begin_layout Plain Layout
6663 asd
6664 \end_layout
6665
6666 \end_inset
6667 </cell>
6668 </row>
6669 <row>
6670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Plain Layout
6674 asd
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6680 \begin_inset Text
6681
6682 \begin_layout Plain Layout
6683 s
6684 \end_layout
6685
6686 \end_inset
6687 </cell>
6688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6689 \begin_inset Text
6690
6691 \begin_layout Plain Layout
6692 s
6693 \end_layout
6694
6695 \end_inset
6696 </cell>
6697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6698 \begin_inset Text
6699
6700 \begin_layout Plain Layout
6701 s
6702 \end_layout
6703
6704 \end_inset
6705 </cell>
6706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6707 \begin_inset Text
6708
6709 \begin_layout Plain Layout
6710 asd
6711 \end_layout
6712
6713 \end_inset
6714 </cell>
6715 </row>
6716 <row>
6717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6718 \begin_inset Text
6719
6720 \begin_layout Plain Layout
6721 asd
6722 \end_layout
6723
6724 \end_inset
6725 </cell>
6726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6727 \begin_inset Text
6728
6729 \begin_layout Plain Layout
6730 s
6731 \end_layout
6732
6733 \end_inset
6734 </cell>
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6736 \begin_inset Text
6737
6738 \begin_layout Plain Layout
6739 s
6740 \end_layout
6741
6742 \end_inset
6743 </cell>
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_inset Text
6746
6747 \begin_layout Plain Layout
6748 s
6749 \end_layout
6750
6751 \end_inset
6752 </cell>
6753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6754 \begin_inset Text
6755
6756 \begin_layout Plain Layout
6757 asd
6758 \end_layout
6759
6760 \end_inset
6761 </cell>
6762 </row>
6763 <row>
6764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6765 \begin_inset Text
6766
6767 \begin_layout Plain Layout
6768 asd
6769 \end_layout
6770
6771 \end_inset
6772 </cell>
6773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6774 \begin_inset Text
6775
6776 \begin_layout Plain Layout
6777 sad
6778 \end_layout
6779
6780 \end_inset
6781 </cell>
6782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6783 \begin_inset Text
6784
6785 \begin_layout Plain Layout
6786 asd
6787 \end_layout
6788
6789 \end_inset
6790 </cell>
6791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6792 \begin_inset Text
6793
6794 \begin_layout Plain Layout
6795 asd
6796 \end_layout
6797
6798 \end_inset
6799 </cell>
6800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6801 \begin_inset Text
6802
6803 \begin_layout Plain Layout
6804 asd
6805 \end_layout
6806
6807 \end_inset
6808 </cell>
6809 </row>
6810 </lyxtabular>
6811
6812 \end_inset
6813
6814
6815 \end_layout
6816
6817 \begin_layout Standard
6818 To reference a longtable, insert a label into the caption.
6819 \end_layout
6820
6821 \begin_layout Standard
6822 This is a reference to Table
6823 \begin_inset space ~
6824 \end_inset
6825
6826
6827 \begin_inset CommandInset ref
6828 LatexCommand ref
6829 reference "tab:RefExample"
6830
6831 \end_inset
6832
6833 .
6834 \end_layout
6835
6836 \begin_layout Standard
6837 The caption layout can be set together with all other captions of your document
6838  using the LaTeX-package 
6839 \series bold
6840 caption
6841 \series default
6842
6843 \begin_inset Index idx
6844 status collapsed
6845
6846 \begin_layout Plain Layout
6847 LaTeX-packages ! caption
6848 \end_layout
6849
6850 \end_inset
6851
6852 , see section
6853 \begin_inset space ~
6854 \end_inset
6855
6856
6857 \begin_inset CommandInset ref
6858 LatexCommand ref
6859 reference "sec:Caption-Formatting"
6860
6861 \end_inset
6862
6863 .
6864 \end_layout
6865
6866 \begin_layout Subsubsection
6867 Caption Width
6868 \begin_inset Index idx
6869 status collapsed
6870
6871 \begin_layout Plain Layout
6872 Longtables ! Caption Width
6873 \end_layout
6874
6875 \end_inset
6876
6877
6878 \end_layout
6879
6880 \begin_layout Standard
6881 The maximal width of of caption lines is defined by the length 
6882 \series bold
6883
6884 \backslash
6885 LTcapwidth
6886 \series default
6887 .
6888  Its default value is 4
6889 \begin_inset space \thinspace{}
6890 \end_inset
6891
6892 in.
6893  To change it add the following command to your document preamble or as
6894  TeX-Code into your document before the longtable that should be affected
6895 \end_layout
6896
6897 \begin_layout Standard
6898
6899 \series bold
6900
6901 \backslash
6902 setlength{
6903 \backslash
6904 LTcapwidth}{width}
6905 \end_layout
6906
6907 \begin_layout Standard
6908 where the width could have one of the units listed in appendix
6909 \begin_inset space ~
6910 \end_inset
6911
6912
6913 \begin_inset CommandInset ref
6914 LatexCommand ref
6915 reference "cha:Units-available-in"
6916
6917 \end_inset
6918
6919 .
6920 \end_layout
6921
6922 \begin_layout Standard
6923 The following tables show the difference:
6924 \end_layout
6925
6926 \begin_layout Standard
6927 \begin_inset Tabular
6928 <lyxtabular version="3" rows="6" columns="5">
6929 <features islongtable="true" longtabularalignment="center">
6930 <column alignment="center" valignment="top" width="0">
6931 <column alignment="center" valignment="top" width="0">
6932 <column alignment="center" valignment="top" width="0">
6933 <column alignment="center" valignment="top" width="0">
6934 <column alignment="center" valignment="top" width="0">
6935 <row caption="true">
6936 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Plain Layout
6940 \begin_inset Caption
6941
6942 \begin_layout Plain Layout
6943 long full title with default width long full title with default width long
6944  full title with default width
6945 \begin_inset Argument
6946 status collapsed
6947
6948 \begin_layout Plain Layout
6949 caption with default width
6950 \end_layout
6951
6952 \end_inset
6953
6954
6955 \end_layout
6956
6957 \end_inset
6958
6959
6960 \end_layout
6961
6962 \end_inset
6963 </cell>
6964 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6965 \begin_inset Text
6966
6967 \begin_layout Plain Layout
6968
6969 \end_layout
6970
6971 \end_inset
6972 </cell>
6973 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6974 \begin_inset Text
6975
6976 \begin_layout Plain Layout
6977
6978 \end_layout
6979
6980 \end_inset
6981 </cell>
6982 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6983 \begin_inset Text
6984
6985 \begin_layout Plain Layout
6986
6987 \end_layout
6988
6989 \end_inset
6990 </cell>
6991 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Plain Layout
6995
6996 \end_layout
6997
6998 \end_inset
6999 </cell>
7000 </row>
7001 <row>
7002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Plain Layout
7006 1
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Plain Layout
7015 2
7016 \end_layout
7017
7018 \end_inset
7019 </cell>
7020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7021 \begin_inset Text
7022
7023 \begin_layout Plain Layout
7024 3
7025 \end_layout
7026
7027 \end_inset
7028 </cell>
7029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7030 \begin_inset Text
7031
7032 \begin_layout Plain Layout
7033 4
7034 \end_layout
7035
7036 \end_inset
7037 </cell>
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7039 \begin_inset Text
7040
7041 \begin_layout Plain Layout
7042 5
7043 \end_layout
7044
7045 \end_inset
7046 </cell>
7047 </row>
7048 <row>
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Plain Layout
7053 asd
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Plain Layout
7062 s
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7068 \begin_inset Text
7069
7070 \begin_layout Plain Layout
7071 s
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Plain Layout
7080 s
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Plain Layout
7089 asd
7090 \end_layout
7091
7092 \end_inset
7093 </cell>
7094 </row>
7095 <row>
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Plain Layout
7100 asd
7101 \end_layout
7102
7103 \end_inset
7104 </cell>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Plain Layout
7109 s
7110 \end_layout
7111
7112 \end_inset
7113 </cell>
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7115 \begin_inset Text
7116
7117 \begin_layout Plain Layout
7118 s
7119 \end_layout
7120
7121 \end_inset
7122 </cell>
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7124 \begin_inset Text
7125
7126 \begin_layout Plain Layout
7127 s
7128 \end_layout
7129
7130 \end_inset
7131 </cell>
7132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7133 \begin_inset Text
7134
7135 \begin_layout Plain Layout
7136 asd
7137 \end_layout
7138
7139 \end_inset
7140 </cell>
7141 </row>
7142 <row>
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_inset Text
7145
7146 \begin_layout Plain Layout
7147 asd
7148 \end_layout
7149
7150 \end_inset
7151 </cell>
7152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_inset Text
7154
7155 \begin_layout Plain Layout
7156 s
7157 \end_layout
7158
7159 \end_inset
7160 </cell>
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Plain Layout
7165 s
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Plain Layout
7174 s
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7180 \begin_inset Text
7181
7182 \begin_layout Plain Layout
7183 asd
7184 \end_layout
7185
7186 \end_inset
7187 </cell>
7188 </row>
7189 <row>
7190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Plain Layout
7194 asd
7195 \end_layout
7196
7197 \end_inset
7198 </cell>
7199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7200 \begin_inset Text
7201
7202 \begin_layout Plain Layout
7203 sad
7204 \end_layout
7205
7206 \end_inset
7207 </cell>
7208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7209 \begin_inset Text
7210
7211 \begin_layout Plain Layout
7212 asd
7213 \end_layout
7214
7215 \end_inset
7216 </cell>
7217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Plain Layout
7221 asd
7222 \end_layout
7223
7224 \end_inset
7225 </cell>
7226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7227 \begin_inset Text
7228
7229 \begin_layout Plain Layout
7230 asd
7231 \end_layout
7232
7233 \end_inset
7234 </cell>
7235 </row>
7236 </lyxtabular>
7237
7238 \end_inset
7239
7240
7241 \end_layout
7242
7243 \begin_layout Standard
7244 \begin_inset ERT
7245 status collapsed
7246
7247 \begin_layout Plain Layout
7248
7249
7250 \backslash
7251 setlength{
7252 \backslash
7253 LTcapwidth}{5cm}
7254 \end_layout
7255
7256 \end_inset
7257
7258
7259 \begin_inset Tabular
7260 <lyxtabular version="3" rows="6" columns="5">
7261 <features islongtable="true" longtabularalignment="center">
7262 <column alignment="center" valignment="top" width="0">
7263 <column alignment="center" valignment="top" width="0">
7264 <column alignment="center" valignment="top" width="0">
7265 <column alignment="center" valignment="top" width="0">
7266 <column alignment="center" valignment="top" width="0">
7267 <row caption="true">
7268 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7269 \begin_inset Text
7270
7271 \begin_layout Plain Layout
7272 \begin_inset Caption
7273
7274 \begin_layout Plain Layout
7275 long full title with width set to 5
7276 \begin_inset space \thinspace{}
7277 \end_inset
7278
7279 cm long full title with width set to 5
7280 \begin_inset space \thinspace{}
7281 \end_inset
7282
7283 cm long full title with width set to 5
7284 \begin_inset space \thinspace{}
7285 \end_inset
7286
7287 cm
7288 \begin_inset Argument
7289 status collapsed
7290
7291 \begin_layout Plain Layout
7292 caption with width
7293 \begin_inset space \thinspace{}
7294 \end_inset
7295
7296 =
7297 \begin_inset space \thinspace{}
7298 \end_inset
7299
7300 5
7301 \begin_inset space \thinspace{}
7302 \end_inset
7303
7304 cm
7305 \end_layout
7306
7307 \end_inset
7308
7309
7310 \end_layout
7311
7312 \end_inset
7313
7314
7315 \end_layout
7316
7317 \end_inset
7318 </cell>
7319 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7320 \begin_inset Text
7321
7322 \begin_layout Plain Layout
7323
7324 \end_layout
7325
7326 \end_inset
7327 </cell>
7328 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7329 \begin_inset Text
7330
7331 \begin_layout Plain Layout
7332
7333 \end_layout
7334
7335 \end_inset
7336 </cell>
7337 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7338 \begin_inset Text
7339
7340 \begin_layout Plain Layout
7341
7342 \end_layout
7343
7344 \end_inset
7345 </cell>
7346 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7347 \begin_inset Text
7348
7349 \begin_layout Plain Layout
7350
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 </row>
7356 <row>
7357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7358 \begin_inset Text
7359
7360 \begin_layout Plain Layout
7361 1
7362 \end_layout
7363
7364 \end_inset
7365 </cell>
7366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7367 \begin_inset Text
7368
7369 \begin_layout Plain Layout
7370 2
7371 \end_layout
7372
7373 \end_inset
7374 </cell>
7375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7376 \begin_inset Text
7377
7378 \begin_layout Plain Layout
7379 3
7380 \end_layout
7381
7382 \end_inset
7383 </cell>
7384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7385 \begin_inset Text
7386
7387 \begin_layout Plain Layout
7388 4
7389 \end_layout
7390
7391 \end_inset
7392 </cell>
7393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7394 \begin_inset Text
7395
7396 \begin_layout Plain Layout
7397 5
7398 \end_layout
7399
7400 \end_inset
7401 </cell>
7402 </row>
7403 <row>
7404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7405 \begin_inset Text
7406
7407 \begin_layout Plain Layout
7408 asd
7409 \end_layout
7410
7411 \end_inset
7412 </cell>
7413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7414 \begin_inset Text
7415
7416 \begin_layout Plain Layout
7417 s
7418 \end_layout
7419
7420 \end_inset
7421 </cell>
7422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7423 \begin_inset Text
7424
7425 \begin_layout Plain Layout
7426 s
7427 \end_layout
7428
7429 \end_inset
7430 </cell>
7431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7432 \begin_inset Text
7433
7434 \begin_layout Plain Layout
7435 s
7436 \end_layout
7437
7438 \end_inset
7439 </cell>
7440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7441 \begin_inset Text
7442
7443 \begin_layout Plain Layout
7444 asd
7445 \end_layout
7446
7447 \end_inset
7448 </cell>
7449 </row>
7450 <row>
7451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7452 \begin_inset Text
7453
7454 \begin_layout Plain Layout
7455 asd
7456 \end_layout
7457
7458 \end_inset
7459 </cell>
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7461 \begin_inset Text
7462
7463 \begin_layout Plain Layout
7464 s
7465 \end_layout
7466
7467 \end_inset
7468 </cell>
7469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7470 \begin_inset Text
7471
7472 \begin_layout Plain Layout
7473 s
7474 \end_layout
7475
7476 \end_inset
7477 </cell>
7478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7479 \begin_inset Text
7480
7481 \begin_layout Plain Layout
7482 s
7483 \end_layout
7484
7485 \end_inset
7486 </cell>
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7488 \begin_inset Text
7489
7490 \begin_layout Plain Layout
7491 asd
7492 \end_layout
7493
7494 \end_inset
7495 </cell>
7496 </row>
7497 <row>
7498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7499 \begin_inset Text
7500
7501 \begin_layout Plain Layout
7502 asd
7503 \end_layout
7504
7505 \end_inset
7506 </cell>
7507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7508 \begin_inset Text
7509
7510 \begin_layout Plain Layout
7511 s
7512 \end_layout
7513
7514 \end_inset
7515 </cell>
7516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7517 \begin_inset Text
7518
7519 \begin_layout Plain Layout
7520 s
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7526 \begin_inset Text
7527
7528 \begin_layout Plain Layout
7529 s
7530 \end_layout
7531
7532 \end_inset
7533 </cell>
7534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7535 \begin_inset Text
7536
7537 \begin_layout Plain Layout
7538 asd
7539 \end_layout
7540
7541 \end_inset
7542 </cell>
7543 </row>
7544 <row>
7545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7546 \begin_inset Text
7547
7548 \begin_layout Plain Layout
7549 asd
7550 \end_layout
7551
7552 \end_inset
7553 </cell>
7554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7555 \begin_inset Text
7556
7557 \begin_layout Plain Layout
7558 sad
7559 \end_layout
7560
7561 \end_inset
7562 </cell>
7563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7564 \begin_inset Text
7565
7566 \begin_layout Plain Layout
7567 asd
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Plain Layout
7576 asd
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Plain Layout
7585 asd
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 </lyxtabular>
7592
7593 \end_inset
7594
7595
7596 \end_layout
7597
7598 \begin_layout Standard
7599 \begin_inset ERT
7600 status collapsed
7601
7602 \begin_layout Plain Layout
7603
7604
7605 \backslash
7606 setlength{
7607 \backslash
7608 LTcapwidth}{4in}
7609 \end_layout
7610
7611 \end_inset
7612
7613
7614 \end_layout
7615
7616 \begin_layout Standard
7617 \begin_inset Note Greyedout
7618 status open
7619
7620 \begin_layout Plain Layout
7621
7622 \series bold
7623 Note:
7624 \series default
7625  When the LaTeX-package 
7626 \series bold
7627 caption
7628 \series default
7629
7630 \begin_inset Index idx
7631 status collapsed
7632
7633 \begin_layout Plain Layout
7634 LaTeX-packages ! caption
7635 \end_layout
7636
7637 \end_inset
7638
7639  is used, as in this document, the full page width is used for the caption
7640  when you use the default value of 4
7641 \begin_inset space \thinspace{}
7642 \end_inset
7643
7644 in for 
7645 \series bold
7646
7647 \backslash
7648 LTcapwidth
7649 \series default
7650 .
7651  To get in this case exactly a 4
7652 \begin_inset space \thinspace{}
7653 \end_inset
7654
7655 in wide caption, you can either use a value slightly different from 4.0
7656 \begin_inset space \thinspace{}
7657 \end_inset
7658
7659 in, e.
7660 \begin_inset space \thinspace{}
7661 \end_inset
7662
7663 g.
7664 \begin_inset space \space{}
7665 \end_inset
7666
7667 3.99
7668 \begin_inset space \thinspace{}
7669 \end_inset
7670
7671 in, or the LaTeX-command 
7672 \series bold
7673
7674 \backslash
7675 captionsetup{width=value}
7676 \series default
7677  that is provided by the 
7678 \series bold
7679 caption
7680 \series default
7681 -package.
7682 \end_layout
7683
7684 \end_inset
7685
7686
7687 \end_layout
7688
7689 \begin_layout Subsubsection
7690 Different Captions for Table Pages
7691 \begin_inset Index idx
7692 status collapsed
7693
7694 \begin_layout Plain Layout
7695 Longtables ! Different Captions for Pages
7696 \end_layout
7697
7698 \end_inset
7699
7700
7701 \end_layout
7702
7703 \begin_layout Standard
7704 When the table captions for the following pages should differ from the one
7705  of the first table page, insert a caption with the TeX code command
7706 \end_layout
7707
7708 \begin_layout Standard
7709
7710 \series bold
7711
7712 \backslash
7713 caption*{caption text}
7714 \backslash
7715
7716 \backslash
7717 %
7718 \end_layout
7719
7720 \begin_layout Standard
7721 in a dummy caption row that is marked as a header.
7722  Table
7723 \begin_inset space ~
7724 \end_inset
7725
7726
7727 \begin_inset CommandInset ref
7728 LatexCommand ref
7729 reference "tab:DiffCaptions"
7730
7731 \end_inset
7732
7733  is an example of a longtable with different heading where the second caption
7734  doesn't include the table number.
7735 \end_layout
7736
7737 \begin_layout Standard
7738 \align center
7739 \begin_inset Tabular
7740 <lyxtabular version="3" rows="59" columns="3">
7741 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7742 <column alignment="left" valignment="top" width="0cm">
7743 <column alignment="left" valignment="top" width="0pt">
7744 <column alignment="center" valignment="top" width="0pt">
7745 <row caption="true">
7746 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7747 \begin_inset Text
7748
7749 \begin_layout Plain Layout
7750 \begin_inset Caption
7751
7752 \begin_layout Plain Layout
7753 Example Phone List
7754 \begin_inset CommandInset label
7755 LatexCommand label
7756 name "tab:DiffCaptions"
7757
7758 \end_inset
7759
7760
7761 \begin_inset Argument
7762 status collapsed
7763
7764 \begin_layout Plain Layout
7765 Example Phone List
7766 \end_layout
7767
7768 \end_inset
7769
7770
7771 \end_layout
7772
7773 \end_inset
7774
7775
7776 \end_layout
7777
7778 \end_inset
7779 </cell>
7780 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7781 \begin_inset Text
7782
7783 \begin_layout Plain Layout
7784
7785 \end_layout
7786
7787 \end_inset
7788 </cell>
7789 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7790 \begin_inset Text
7791
7792 \begin_layout Plain Layout
7793
7794 \end_layout
7795
7796 \end_inset
7797 </cell>
7798 </row>
7799 <row endfirsthead="true">
7800 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7801 \begin_inset Text
7802
7803 \begin_layout Plain Layout
7804
7805 \series bold
7806 Example Phone List (ignore the names)
7807 \end_layout
7808
7809 \end_inset
7810 </cell>
7811 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7812 \begin_inset Text
7813
7814 \begin_layout Plain Layout
7815
7816 \end_layout
7817
7818 \end_inset
7819 </cell>
7820 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7821 \begin_inset Text
7822
7823 \begin_layout Plain Layout
7824
7825 \end_layout
7826
7827 \end_inset
7828 </cell>
7829 </row>
7830 <row endfirsthead="true">
7831 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7832 \begin_inset Text
7833
7834 \begin_layout Plain Layout
7835
7836 \series bold
7837 NAME
7838 \end_layout
7839
7840 \end_inset
7841 </cell>
7842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7843 \begin_inset Text
7844
7845 \begin_layout Plain Layout
7846
7847 \end_layout
7848
7849 \end_inset
7850 </cell>
7851 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7852 \begin_inset Text
7853
7854 \begin_layout Plain Layout
7855
7856 \series bold
7857 TEL.
7858 \end_layout
7859
7860 \end_inset
7861 </cell>
7862 </row>
7863 <row endhead="true">
7864 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7865 \begin_inset Text
7866
7867 \begin_layout Plain Layout
7868 \begin_inset ERT
7869 status open
7870
7871 \begin_layout Plain Layout
7872
7873
7874 \backslash
7875 caption*{Continued Example Phone List}
7876 \backslash
7877
7878 \backslash
7879 %
7880 \end_layout
7881
7882 \end_inset
7883
7884
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Plain Layout
7893
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7899 \begin_inset Text
7900
7901 \begin_layout Plain Layout
7902
7903 \end_layout
7904
7905 \end_inset
7906 </cell>
7907 </row>
7908 <row endhead="true">
7909 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7910 \begin_inset Text
7911
7912 \begin_layout Plain Layout
7913
7914 \series bold
7915 Example Phone List
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Plain Layout
7924
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7930 \begin_inset Text
7931
7932 \begin_layout Plain Layout
7933
7934 \end_layout
7935
7936 \end_inset
7937 </cell>
7938 </row>
7939 <row endhead="true">
7940 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7941 \begin_inset Text
7942
7943 \begin_layout Plain Layout
7944
7945 \series bold
7946 NAME
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Plain Layout
7955
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7961 \begin_inset Text
7962
7963 \begin_layout Plain Layout
7964
7965 \series bold
7966 TEL.
7967 \end_layout
7968
7969 \end_inset
7970 </cell>
7971 </row>
7972 <row endfoot="true">
7973 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Plain Layout
7977 continued on next page
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Plain Layout
7986
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7992 \begin_inset Text
7993
7994 \begin_layout Plain Layout
7995
7996 \end_layout
7997
7998 \end_inset
7999 </cell>
8000 </row>
8001 <row>
8002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8003 \begin_inset Text
8004
8005 \begin_layout Plain Layout
8006
8007 \series bold
8008 Annovi
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Plain Layout
8017 Silvia
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8023 \begin_inset Text
8024
8025 \begin_layout Plain Layout
8026 111
8027 \end_layout
8028
8029 \end_inset
8030 </cell>
8031 </row>
8032 <row>
8033 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8034 \begin_inset Text
8035
8036 \begin_layout Plain Layout
8037
8038 \series bold
8039 Bertoli
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Plain Layout
8048 Stefano
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8054 \begin_inset Text
8055
8056 \begin_layout Plain Layout
8057 111
8058 \end_layout
8059
8060 \end_inset
8061 </cell>
8062 </row>
8063 <row>
8064 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8065 \begin_inset Text
8066
8067 \begin_layout Plain Layout
8068
8069 \series bold
8070 Bozzi
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Plain Layout
8079 Walter
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8085 \begin_inset Text
8086
8087 \begin_layout Plain Layout
8088 111
8089 \end_layout
8090
8091 \end_inset
8092 </cell>
8093 </row>
8094 <row>
8095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8096 \begin_inset Text
8097
8098 \begin_layout Plain Layout
8099
8100 \series bold
8101 Cachia
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Plain Layout
8110 Maria
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8116 \begin_inset Text
8117
8118 \begin_layout Plain Layout
8119 111
8120 \end_layout
8121
8122 \end_inset
8123 </cell>
8124 </row>
8125 <row>
8126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8127 \begin_inset Text
8128
8129 \begin_layout Plain Layout
8130
8131 \series bold
8132 Cachia
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Plain Layout
8141 Maurizio
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8147 \begin_inset Text
8148
8149 \begin_layout Plain Layout
8150 111
8151 \end_layout
8152
8153 \end_inset
8154 </cell>
8155 </row>
8156 <row>
8157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8158 \begin_inset Text
8159
8160 \begin_layout Plain Layout
8161
8162 \series bold
8163 Cinquemani
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Plain Layout
8172 Giusi
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8178 \begin_inset Text
8179
8180 \begin_layout Plain Layout
8181 111
8182 \end_layout
8183
8184 \end_inset
8185 </cell>
8186 </row>
8187 <row>
8188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8189 \begin_inset Text
8190
8191 \begin_layout Plain Layout
8192
8193 \series bold
8194 Colin
8195 \end_layout
8196
8197 \end_inset
8198 </cell>
8199 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8200 \begin_inset Text
8201
8202 \begin_layout Plain Layout
8203 Bernard
8204 \end_layout
8205
8206 \end_inset
8207 </cell>
8208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8209 \begin_inset Text
8210
8211 \begin_layout Plain Layout
8212 111
8213 \end_layout
8214
8215 \end_inset
8216 </cell>
8217 </row>
8218 <row>
8219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8220 \begin_inset Text
8221
8222 \begin_layout Plain Layout
8223
8224 \series bold
8225 Concli
8226 \end_layout
8227
8228 \end_inset
8229 </cell>
8230 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8231 \begin_inset Text
8232
8233 \begin_layout Plain Layout
8234 Gianfranco
8235 \end_layout
8236
8237 \end_inset
8238 </cell>
8239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8240 \begin_inset Text
8241
8242 \begin_layout Plain Layout
8243 111
8244 \end_layout
8245
8246 \end_inset
8247 </cell>
8248 </row>
8249 <row>
8250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8251 \begin_inset Text
8252
8253 \begin_layout Plain Layout
8254
8255 \series bold
8256 Dal Bosco
8257 \end_layout
8258
8259 \end_inset
8260 </cell>
8261 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8262 \begin_inset Text
8263
8264 \begin_layout Plain Layout
8265 Carolina
8266 \end_layout
8267
8268 \end_inset
8269 </cell>
8270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8271 \begin_inset Text
8272
8273 \begin_layout Plain Layout
8274 111
8275 \end_layout
8276
8277 \end_inset
8278 </cell>
8279 </row>
8280 <row>
8281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8282 \begin_inset Text
8283
8284 \begin_layout Plain Layout
8285
8286 \series bold
8287 Dalpiaz
8288 \end_layout
8289
8290 \end_inset
8291 </cell>
8292 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8293 \begin_inset Text
8294
8295 \begin_layout Plain Layout
8296 Annamaria
8297 \end_layout
8298
8299 \end_inset
8300 </cell>
8301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8302 \begin_inset Text
8303
8304 \begin_layout Plain Layout
8305 111
8306 \end_layout
8307
8308 \end_inset
8309 </cell>
8310 </row>
8311 <row>
8312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8313 \begin_inset Text
8314
8315 \begin_layout Plain Layout
8316
8317 \series bold
8318 Feliciello
8319 \end_layout
8320
8321 \end_inset
8322 </cell>
8323 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8324 \begin_inset Text
8325
8326 \begin_layout Plain Layout
8327 Domenico
8328 \end_layout
8329
8330 \end_inset
8331 </cell>
8332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8333 \begin_inset Text
8334
8335 \begin_layout Plain Layout
8336 111
8337 \end_layout
8338
8339 \end_inset
8340 </cell>
8341 </row>
8342 <row>
8343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8344 \begin_inset Text
8345
8346 \begin_layout Plain Layout
8347
8348 \series bold
8349 Focarelli
8350 \end_layout
8351
8352 \end_inset
8353 </cell>
8354 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8355 \begin_inset Text
8356
8357 \begin_layout Plain Layout
8358 Paola
8359 \end_layout
8360
8361 \end_inset
8362 </cell>
8363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8364 \begin_inset Text
8365
8366 \begin_layout Plain Layout
8367 111
8368 \end_layout
8369
8370 \end_inset
8371 </cell>
8372 </row>
8373 <row>
8374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8375 \begin_inset Text
8376
8377 \begin_layout Plain Layout
8378
8379 \series bold
8380 Galletti
8381 \end_layout
8382
8383 \end_inset
8384 </cell>
8385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8386 \begin_inset Text
8387
8388 \begin_layout Plain Layout
8389 Oreste
8390 \end_layout
8391
8392 \end_inset
8393 </cell>
8394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8395 \begin_inset Text
8396
8397 \begin_layout Plain Layout
8398 111
8399 \end_layout
8400
8401 \end_inset
8402 </cell>
8403 </row>
8404 <row>
8405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8406 \begin_inset Text
8407
8408 \begin_layout Plain Layout
8409
8410 \series bold
8411 Gasparini
8412 \end_layout
8413
8414 \end_inset
8415 </cell>
8416 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8417 \begin_inset Text
8418
8419 \begin_layout Plain Layout
8420 Franca
8421 \end_layout
8422
8423 \end_inset
8424 </cell>
8425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8426 \begin_inset Text
8427
8428 \begin_layout Plain Layout
8429 111
8430 \end_layout
8431
8432 \end_inset
8433 </cell>
8434 </row>
8435 <row>
8436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8437 \begin_inset Text
8438
8439 \begin_layout Plain Layout
8440
8441 \series bold
8442 Rizzardi
8443 \series default
8444
8445 \begin_inset Foot
8446 status open
8447
8448 \begin_layout Plain Layout
8449 Example footnote
8450 \end_layout
8451
8452 \end_inset
8453
8454
8455 \end_layout
8456
8457 \end_inset
8458 </cell>
8459 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8460 \begin_inset Text
8461
8462 \begin_layout Plain Layout
8463 Paola
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8469 \begin_inset Text
8470
8471 \begin_layout Plain Layout
8472 111
8473 \end_layout
8474
8475 \end_inset
8476 </cell>
8477 </row>
8478 <row>
8479 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8480 \begin_inset Text
8481
8482 \begin_layout Plain Layout
8483
8484 \series bold
8485 Lassini
8486 \end_layout
8487
8488 \end_inset
8489 </cell>
8490 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8491 \begin_inset Text
8492
8493 \begin_layout Plain Layout
8494 Giancarlo
8495 \end_layout
8496
8497 \end_inset
8498 </cell>
8499 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8500 \begin_inset Text
8501
8502 \begin_layout Plain Layout
8503 111
8504 \end_layout
8505
8506 \end_inset
8507 </cell>
8508 </row>
8509 <row>
8510 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8511 \begin_inset Text
8512
8513 \begin_layout Plain Layout
8514
8515 \series bold
8516 Malfatti
8517 \end_layout
8518
8519 \end_inset
8520 </cell>
8521 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8522 \begin_inset Text
8523
8524 \begin_layout Plain Layout
8525 Luciano
8526 \end_layout
8527
8528 \end_inset
8529 </cell>
8530 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8531 \begin_inset Text
8532
8533 \begin_layout Plain Layout
8534 111
8535 \end_layout
8536
8537 \end_inset
8538 </cell>
8539 </row>
8540 <row>
8541 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8542 \begin_inset Text
8543
8544 \begin_layout Plain Layout
8545
8546 \series bold
8547 Malfatti
8548 \end_layout
8549
8550 \end_inset
8551 </cell>
8552 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8553 \begin_inset Text
8554
8555 \begin_layout Plain Layout
8556 Valeriano
8557 \end_layout
8558
8559 \end_inset
8560 </cell>
8561 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8562 \begin_inset Text
8563
8564 \begin_layout Plain Layout
8565 111
8566 \end_layout
8567
8568 \end_inset
8569 </cell>
8570 </row>
8571 <row>
8572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Plain Layout
8576
8577 \series bold
8578 Meneguzzo
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8584 \begin_inset Text
8585
8586 \begin_layout Plain Layout
8587 Roberto
8588 \end_layout
8589
8590 \end_inset
8591 </cell>
8592 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8593 \begin_inset Text
8594
8595 \begin_layout Plain Layout
8596 111
8597 \end_layout
8598
8599 \end_inset
8600 </cell>
8601 </row>
8602 <row>
8603 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8604 \begin_inset Text
8605
8606 \begin_layout Plain Layout
8607
8608 \series bold
8609 Mezzadra
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Plain Layout
8618 Roberto
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Plain Layout
8627 111
8628 \end_layout
8629
8630 \end_inset
8631 </cell>
8632 </row>
8633 <row>
8634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Plain Layout
8638
8639 \series bold
8640 Pirpamer
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Plain Layout
8649 Erich
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Plain Layout
8658 111
8659 \end_layout
8660
8661 \end_inset
8662 </cell>
8663 </row>
8664 <row>
8665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8666 \begin_inset Text
8667
8668 \begin_layout Plain Layout
8669
8670 \series bold
8671 Pochiesa
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Plain Layout
8680 Paolo
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Plain Layout
8689 111, 222
8690 \end_layout
8691
8692 \end_inset
8693 </cell>
8694 </row>
8695 <row>
8696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8697 \begin_inset Text
8698
8699 \begin_layout Plain Layout
8700
8701 \series bold
8702 Radina
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8708 \begin_inset Text
8709
8710 \begin_layout Plain Layout
8711 Claudio
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8717 \begin_inset Text
8718
8719 \begin_layout Plain Layout
8720 111
8721 \end_layout
8722
8723 \end_inset
8724 </cell>
8725 </row>
8726 <row>
8727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8728 \begin_inset Text
8729
8730 \begin_layout Plain Layout
8731
8732 \series bold
8733 Stuffer
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Plain Layout
8742 Oskar
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8748 \begin_inset Text
8749
8750 \begin_layout Plain Layout
8751 111
8752 \end_layout
8753
8754 \end_inset
8755 </cell>
8756 </row>
8757 <row>
8758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8759 \begin_inset Text
8760
8761 \begin_layout Plain Layout
8762
8763 \series bold
8764 Tacchelli
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Plain Layout
8773 Ugo
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8779 \begin_inset Text
8780
8781 \begin_layout Plain Layout
8782 111
8783 \end_layout
8784
8785 \end_inset
8786 </cell>
8787 </row>
8788 <row>
8789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8790 \begin_inset Text
8791
8792 \begin_layout Plain Layout
8793
8794 \series bold
8795 Tezzele
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Plain Layout
8804 Margit
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8810 \begin_inset Text
8811
8812 \begin_layout Plain Layout
8813 111
8814 \end_layout
8815
8816 \end_inset
8817 </cell>
8818 </row>
8819 <row>
8820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8821 \begin_inset Text
8822
8823 \begin_layout Plain Layout
8824
8825 \series bold
8826 Unterkalmsteiner
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Plain Layout
8835 Frieda
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8841 \begin_inset Text
8842
8843 \begin_layout Plain Layout
8844 111
8845 \end_layout
8846
8847 \end_inset
8848 </cell>
8849 </row>
8850 <row>
8851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8852 \begin_inset Text
8853
8854 \begin_layout Plain Layout
8855
8856 \series bold
8857 Vieider
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Plain Layout
8866 Hilde
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8872 \begin_inset Text
8873
8874 \begin_layout Plain Layout
8875 111
8876 \end_layout
8877
8878 \end_inset
8879 </cell>
8880 </row>
8881 <row>
8882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8883 \begin_inset Text
8884
8885 \begin_layout Plain Layout
8886
8887 \series bold
8888 Vigna
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Plain Layout
8897 Jürgen
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8903 \begin_inset Text
8904
8905 \begin_layout Plain Layout
8906 111
8907 \end_layout
8908
8909 \end_inset
8910 </cell>
8911 </row>
8912 <row>
8913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8914 \begin_inset Text
8915
8916 \begin_layout Plain Layout
8917
8918 \series bold
8919 Weber
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Plain Layout
8928 Maurizio
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8934 \begin_inset Text
8935
8936 \begin_layout Plain Layout
8937 111
8938 \end_layout
8939
8940 \end_inset
8941 </cell>
8942 </row>
8943 <row>
8944 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8945 \begin_inset Text
8946
8947 \begin_layout Plain Layout
8948
8949 \series bold
8950 Winkler
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Plain Layout
8959 Franz
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8965 \begin_inset Text
8966
8967 \begin_layout Plain Layout
8968 111
8969 \end_layout
8970
8971 \end_inset
8972 </cell>
8973 </row>
8974 <row>
8975 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8976 \begin_inset Text
8977
8978 \begin_layout Plain Layout
8979  
8980 \end_layout
8981
8982 \end_inset
8983 </cell>
8984 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8985 \begin_inset Text
8986
8987 \begin_layout Plain Layout
8988
8989 \end_layout
8990
8991 \end_inset
8992 </cell>
8993 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8994 \begin_inset Text
8995
8996 \begin_layout Plain Layout
8997
8998 \end_layout
8999
9000 \end_inset
9001 </cell>
9002 </row>
9003 <row>
9004 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9005 \begin_inset Text
9006
9007 \begin_layout Plain Layout
9008
9009 \series bold
9010 Annovi
9011 \end_layout
9012
9013 \end_inset
9014 </cell>
9015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9016 \begin_inset Text
9017
9018 \begin_layout Plain Layout
9019 Silvia
9020 \end_layout
9021
9022 \end_inset
9023 </cell>
9024 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9025 \begin_inset Text
9026
9027 \begin_layout Plain Layout
9028 555
9029 \end_layout
9030
9031 \end_inset
9032 </cell>
9033 </row>
9034 <row>
9035 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9036 \begin_inset Text
9037
9038 \begin_layout Plain Layout
9039
9040 \series bold
9041 Bertoli
9042 \end_layout
9043
9044 \end_inset
9045 </cell>
9046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9047 \begin_inset Text
9048
9049 \begin_layout Plain Layout
9050 Stefano
9051 \end_layout
9052
9053 \end_inset
9054 </cell>
9055 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9056 \begin_inset Text
9057
9058 \begin_layout Plain Layout
9059 555
9060 \end_layout
9061
9062 \end_inset
9063 </cell>
9064 </row>
9065 <row>
9066 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9067 \begin_inset Text
9068
9069 \begin_layout Plain Layout
9070
9071 \series bold
9072 Bozzi
9073 \end_layout
9074
9075 \end_inset
9076 </cell>
9077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9078 \begin_inset Text
9079
9080 \begin_layout Plain Layout
9081 Walter
9082 \end_layout
9083
9084 \end_inset
9085 </cell>
9086 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9087 \begin_inset Text
9088
9089 \begin_layout Plain Layout
9090 555
9091 \end_layout
9092
9093 \end_inset
9094 </cell>
9095 </row>
9096 <row>
9097 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9098 \begin_inset Text
9099
9100 \begin_layout Plain Layout
9101
9102 \series bold
9103 Cachia
9104 \end_layout
9105
9106 \end_inset
9107 </cell>
9108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9109 \begin_inset Text
9110
9111 \begin_layout Plain Layout
9112 Maria
9113 \end_layout
9114
9115 \end_inset
9116 </cell>
9117 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9118 \begin_inset Text
9119
9120 \begin_layout Plain Layout
9121 555
9122 \end_layout
9123
9124 \end_inset
9125 </cell>
9126 </row>
9127 <row>
9128 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9129 \begin_inset Text
9130
9131 \begin_layout Plain Layout
9132
9133 \series bold
9134 Cachia
9135 \end_layout
9136
9137 \end_inset
9138 </cell>
9139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9140 \begin_inset Text
9141
9142 \begin_layout Plain Layout
9143 Maurizio
9144 \end_layout
9145
9146 \end_inset
9147 </cell>
9148 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9149 \begin_inset Text
9150
9151 \begin_layout Plain Layout
9152 555
9153 \end_layout
9154
9155 \end_inset
9156 </cell>
9157 </row>
9158 <row>
9159 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9160 \begin_inset Text
9161
9162 \begin_layout Plain Layout
9163
9164 \series bold
9165 Cinquemani
9166 \end_layout
9167
9168 \end_inset
9169 </cell>
9170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9171 \begin_inset Text
9172
9173 \begin_layout Plain Layout
9174 Giusi
9175 \end_layout
9176
9177 \end_inset
9178 </cell>
9179 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9180 \begin_inset Text
9181
9182 \begin_layout Plain Layout
9183 555
9184 \end_layout
9185
9186 \end_inset
9187 </cell>
9188 </row>
9189 <row>
9190 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9191 \begin_inset Text
9192
9193 \begin_layout Plain Layout
9194
9195 \series bold
9196 Colin
9197 \end_layout
9198
9199 \end_inset
9200 </cell>
9201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9202 \begin_inset Text
9203
9204 \begin_layout Plain Layout
9205 Bernard
9206 \end_layout
9207
9208 \end_inset
9209 </cell>
9210 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Plain Layout
9214 555
9215 \end_layout
9216
9217 \end_inset
9218 </cell>
9219 </row>
9220 <row>
9221 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9222 \begin_inset Text
9223
9224 \begin_layout Plain Layout
9225
9226 \series bold
9227 Concli
9228 \end_layout
9229
9230 \end_inset
9231 </cell>
9232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9233 \begin_inset Text
9234
9235 \begin_layout Plain Layout
9236 Gianfranco
9237 \end_layout
9238
9239 \end_inset
9240 </cell>
9241 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Plain Layout
9245 555
9246 \end_layout
9247
9248 \end_inset
9249 </cell>
9250 </row>
9251 <row>
9252 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9253 \begin_inset Text
9254
9255 \begin_layout Plain Layout
9256
9257 \series bold
9258 Dal Bosco
9259 \end_layout
9260
9261 \end_inset
9262 </cell>
9263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9264 \begin_inset Text
9265
9266 \begin_layout Plain Layout
9267 Carolina
9268 \end_layout
9269
9270 \end_inset
9271 </cell>
9272 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9273 \begin_inset Text
9274
9275 \begin_layout Plain Layout
9276 555
9277 \end_layout
9278
9279 \end_inset
9280 </cell>
9281 </row>
9282 <row>
9283 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9284 \begin_inset Text
9285
9286 \begin_layout Plain Layout
9287
9288 \series bold
9289 Dalpiaz
9290 \end_layout
9291
9292 \end_inset
9293 </cell>
9294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9295 \begin_inset Text
9296
9297 \begin_layout Plain Layout
9298 Annamaria
9299 \end_layout
9300
9301 \end_inset
9302 </cell>
9303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9304 \begin_inset Text
9305
9306 \begin_layout Plain Layout
9307 555
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 </row>
9313 <row>
9314 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9315 \begin_inset Text
9316
9317 \begin_layout Plain Layout
9318
9319 \series bold
9320 Feliciello
9321 \end_layout
9322
9323 \end_inset
9324 </cell>
9325 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9326 \begin_inset Text
9327
9328 \begin_layout Plain Layout
9329 Domenico
9330 \end_layout
9331
9332 \end_inset
9333 </cell>
9334 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9335 \begin_inset Text
9336
9337 \begin_layout Plain Layout
9338 555
9339 \end_layout
9340
9341 \end_inset
9342 </cell>
9343 </row>
9344 <row>
9345 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9346 \begin_inset Text
9347
9348 \begin_layout Plain Layout
9349
9350 \series bold
9351 Focarelli
9352 \end_layout
9353
9354 \end_inset
9355 </cell>
9356 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9357 \begin_inset Text
9358
9359 \begin_layout Plain Layout
9360 Paola
9361 \end_layout
9362
9363 \end_inset
9364 </cell>
9365 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9366 \begin_inset Text
9367
9368 \begin_layout Plain Layout
9369 555
9370 \end_layout
9371
9372 \end_inset
9373 </cell>
9374 </row>
9375 <row>
9376 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9377 \begin_inset Text
9378
9379 \begin_layout Plain Layout
9380
9381 \series bold
9382 Galletti
9383 \end_layout
9384
9385 \end_inset
9386 </cell>
9387 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9388 \begin_inset Text
9389
9390 \begin_layout Plain Layout
9391 Oreste
9392 \end_layout
9393
9394 \end_inset
9395 </cell>
9396 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9397 \begin_inset Text
9398
9399 \begin_layout Plain Layout
9400 555
9401 \end_layout
9402
9403 \end_inset
9404 </cell>
9405 </row>
9406 <row>
9407 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9408 \begin_inset Text
9409
9410 \begin_layout Plain Layout
9411
9412 \series bold
9413 Gasparini
9414 \end_layout
9415
9416 \end_inset
9417 </cell>
9418 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9419 \begin_inset Text
9420
9421 \begin_layout Plain Layout
9422 Franca
9423 \end_layout
9424
9425 \end_inset
9426 </cell>
9427 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9428 \begin_inset Text
9429
9430 \begin_layout Plain Layout
9431 555
9432 \end_layout
9433
9434 \end_inset
9435 </cell>
9436 </row>
9437 <row>
9438 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9439 \begin_inset Text
9440
9441 \begin_layout Plain Layout
9442
9443 \series bold
9444 Rizzardi
9445 \end_layout
9446
9447 \end_inset
9448 </cell>
9449 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9450 \begin_inset Text
9451
9452 \begin_layout Plain Layout
9453 Paola
9454 \end_layout
9455
9456 \end_inset
9457 </cell>
9458 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9459 \begin_inset Text
9460
9461 \begin_layout Plain Layout
9462 555
9463 \end_layout
9464
9465 \end_inset
9466 </cell>
9467 </row>
9468 <row>
9469 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9470 \begin_inset Text
9471
9472 \begin_layout Plain Layout
9473
9474 \series bold
9475 Lassini
9476 \end_layout
9477
9478 \end_inset
9479 </cell>
9480 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9481 \begin_inset Text
9482
9483 \begin_layout Plain Layout
9484 Giancarlo
9485 \end_layout
9486
9487 \end_inset
9488 </cell>
9489 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9490 \begin_inset Text
9491
9492 \begin_layout Plain Layout
9493 555
9494 \end_layout
9495
9496 \end_inset
9497 </cell>
9498 </row>
9499 <row>
9500 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9501 \begin_inset Text
9502
9503 \begin_layout Plain Layout
9504
9505 \series bold
9506 Malfatti
9507 \end_layout
9508
9509 \end_inset
9510 </cell>
9511 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9512 \begin_inset Text
9513
9514 \begin_layout Plain Layout
9515 Luciano
9516 \end_layout
9517
9518 \end_inset
9519 </cell>
9520 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9521 \begin_inset Text
9522
9523 \begin_layout Plain Layout
9524 555
9525 \end_layout
9526
9527 \end_inset
9528 </cell>
9529 </row>
9530 <row>
9531 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9532 \begin_inset Text
9533
9534 \begin_layout Plain Layout
9535
9536 \series bold
9537 Malfatti
9538 \end_layout
9539
9540 \end_inset
9541 </cell>
9542 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9543 \begin_inset Text
9544
9545 \begin_layout Plain Layout
9546 Valeriano
9547 \end_layout
9548
9549 \end_inset
9550 </cell>
9551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9552 \begin_inset Text
9553
9554 \begin_layout Plain Layout
9555 555
9556 \end_layout
9557
9558 \end_inset
9559 </cell>
9560 </row>
9561 <row>
9562 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9563 \begin_inset Text
9564
9565 \begin_layout Plain Layout
9566
9567 \series bold
9568 Meneguzzo
9569 \end_layout
9570
9571 \end_inset
9572 </cell>
9573 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9574 \begin_inset Text
9575
9576 \begin_layout Plain Layout
9577 Roberto
9578 \end_layout
9579
9580 \end_inset
9581 </cell>
9582 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9583 \begin_inset Text
9584
9585 \begin_layout Plain Layout
9586 555
9587 \end_layout
9588
9589 \end_inset
9590 </cell>
9591 </row>
9592 <row>
9593 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9594 \begin_inset Text
9595
9596 \begin_layout Plain Layout
9597
9598 \series bold
9599 Mezzadra
9600 \end_layout
9601
9602 \end_inset
9603 </cell>
9604 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9605 \begin_inset Text
9606
9607 \begin_layout Plain Layout
9608 Roberto
9609 \end_layout
9610
9611 \end_inset
9612 </cell>
9613 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9614 \begin_inset Text
9615
9616 \begin_layout Plain Layout
9617 555
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 </row>
9623 </lyxtabular>
9624
9625 \end_inset
9626
9627
9628 \end_layout
9629
9630 \begin_layout Section
9631 Special Longtable Issues
9632 \begin_inset CommandInset label
9633 LatexCommand label
9634 name "sec:Special-Longtable-Issues"
9635
9636 \end_inset
9637
9638
9639 \end_layout
9640
9641 \begin_layout Subsection
9642 Longtable Calculation
9643 \begin_inset Index idx
9644 status collapsed
9645
9646 \begin_layout Plain Layout
9647 Longtables ! Calculation
9648 \end_layout
9649
9650 \end_inset
9651
9652
9653 \end_layout
9654
9655 \begin_layout Standard
9656 LaTeX calculates the height of table pages and their page breaks using so
9657  called chunks.
9658  Chunks are parts of tables that held at the same time in LaTeX's memory.
9659  The default value was historically set to only 20 table rows.
9660  If you are using longtables with many pages this may slow down the creation
9661  of your document.
9662  You can safely increase the chunk size to values of 100-1000 by adding
9663  this command line to your document preamble:
9664 \end_layout
9665
9666 \begin_layout Standard
9667
9668 \series bold
9669
9670 \backslash
9671 setcounter{LTchunksize}{100}
9672 \end_layout
9673
9674 \begin_layout Subsection
9675 Floats and Longtables
9676 \begin_inset Index idx
9677 status collapsed
9678
9679 \begin_layout Plain Layout
9680 Longtables ! Floats
9681 \end_layout
9682
9683 \end_inset
9684
9685
9686 \end_layout
9687
9688 \begin_layout Standard
9689 There might be problems when a float appears on the same page where a longtable
9690  starts.
9691  To avoid such a situation, insert a 
9692 \begin_inset Quotes eld
9693 \end_inset
9694
9695 clear page
9696 \begin_inset Quotes erd
9697 \end_inset
9698
9699  (menu 
9700 \family sans
9701 Insert\SpecialChar \menuseparator
9702 Formatting\SpecialChar \menuseparator
9703 Clear
9704 \begin_inset space ~
9705 \end_inset
9706
9707 Page
9708 \family default
9709 ) before your longtable.
9710 \end_layout
9711
9712 \begin_layout Subsection
9713 Forced Page Breaks
9714 \begin_inset Index idx
9715 status collapsed
9716
9717 \begin_layout Plain Layout
9718 Longtables ! Forced Page Breaks
9719 \end_layout
9720
9721 \end_inset
9722
9723
9724 \end_layout
9725
9726 \begin_layout Standard
9727 By default tables are only broken between rows.
9728  If you have a cell with multiples lines and want to have a page break within
9729  the cell, insert the new line command 
9730 \begin_inset Quotes eld
9731 \end_inset
9732
9733
9734 \series bold
9735
9736 \backslash
9737
9738 \backslash
9739
9740 \series default
9741
9742 \begin_inset Quotes erd
9743 \end_inset
9744
9745  as TeX-Code at the point of the cell where it can be broken.
9746  Before the 
9747 \series bold
9748
9749 \backslash
9750
9751 \backslash
9752
9753 \series default
9754  command you have to insert in TeX-Code as many 
9755 \begin_inset Quotes eld
9756 \end_inset
9757
9758
9759 \series bold
9760 &
9761 \series default
9762
9763 \begin_inset Quotes erd
9764 \end_inset
9765
9766  characters as the number of the following table columns.
9767  The 
9768 \series bold
9769 &
9770 \series default
9771  is the character to separate table cells.
9772  Write in TeX-Code after each 
9773 \series bold
9774 &
9775 \series default
9776  the content of the corresponding following cell and delete the content
9777  of these cells.
9778 \begin_inset Newline newline
9779 \end_inset
9780
9781 After the 
9782 \series bold
9783
9784 \backslash
9785
9786 \backslash
9787
9788 \series default
9789  command, insert as many 
9790 \series bold
9791 &
9792 \series default
9793  characters as the number of table columns before the current column.
9794  In Table
9795 \begin_inset space ~
9796 \end_inset
9797
9798
9799 \begin_inset CommandInset ref
9800 LatexCommand ref
9801 reference "tab:ForcedPagebreak"
9802
9803 \end_inset
9804
9805  the cell that should be broken is in the second column followed by another
9806  column.
9807  Therefore the following command was inserted in the cell as TeX-Code after
9808  
9809 \begin_inset Quotes eld
9810 \end_inset
9811
9812
9813 \emph on
9814 Castelchiodato,
9815 \emph default
9816
9817 \begin_inset Quotes erd
9818 \end_inset
9819
9820 :
9821 \end_layout
9822
9823 \begin_layout Standard
9824
9825 \series bold
9826 & 111
9827 \backslash
9828
9829 \backslash
9830  
9831 \backslash
9832 newpage
9833 \begin_inset Newline newline
9834 \end_inset
9835
9836 &
9837 \end_layout
9838
9839 \begin_layout Standard
9840 The 
9841 \begin_inset Quotes eld
9842 \end_inset
9843
9844 111
9845 \begin_inset Quotes erd
9846 \end_inset
9847
9848  in the third column of the row was deleted.
9849  
9850 \series bold
9851
9852 \backslash
9853 newpage
9854 \series default
9855  is only needed when a page break should definitely occur at this position,
9856  otherwise it would be a conditional break.
9857  If your footer row of the longtable has for a certain reason no upper line
9858  but you would have a horizontal line where the cell is broken, use this
9859  command instead:
9860 \end_layout
9861
9862 \begin_layout Standard
9863
9864 \series bold
9865 & 111
9866 \backslash
9867
9868 \backslash
9869
9870 \begin_inset Newline newline
9871 \end_inset
9872
9873
9874 \backslash
9875 hline &
9876 \end_layout
9877
9878 \begin_layout Standard
9879 When the cell to be broken is in the last column, the command
9880 \end_layout
9881
9882 \begin_layout Standard
9883
9884 \series bold
9885
9886 \backslash
9887 setlength{
9888 \backslash
9889 parfillskip}{0pt}
9890 \end_layout
9891
9892 \begin_layout Standard
9893 must be inserted as TeX-Code at the beginning of the cell.
9894  This ensures that the part of the cell that will be displayed on the new
9895  page appears with the full width.
9896 \end_layout
9897
9898 \begin_layout Standard
9899 \align center
9900 \begin_inset Tabular
9901 <lyxtabular version="3" rows="38" columns="3">
9902 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9903 <column alignment="left" valignment="top" width="0cm">
9904 <column alignment="left" valignment="top" width="3cm">
9905 <column alignment="center" valignment="top" width="0pt">
9906 <row caption="true">
9907 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9908 \begin_inset Text
9909
9910 \begin_layout Plain Layout
9911 \begin_inset Caption
9912
9913 \begin_layout Plain Layout
9914 Table with forced page break in table cell
9915 \begin_inset CommandInset label
9916 LatexCommand label
9917 name "tab:ForcedPagebreak"
9918
9919 \end_inset
9920
9921
9922 \begin_inset Argument
9923 status collapsed
9924
9925 \begin_layout Plain Layout
9926 Table with forced page break in table cell
9927 \end_layout
9928
9929 \end_inset
9930
9931
9932 \end_layout
9933
9934 \end_inset
9935
9936
9937 \end_layout
9938
9939 \end_inset
9940 </cell>
9941 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9942 \begin_inset Text
9943
9944 \begin_layout Plain Layout
9945
9946 \end_layout
9947
9948 \end_inset
9949 </cell>
9950 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9951 \begin_inset Text
9952
9953 \begin_layout Plain Layout
9954
9955 \end_layout
9956
9957 \end_inset
9958 </cell>
9959 </row>
9960 <row endfirsthead="true">
9961 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9962 \begin_inset Text
9963
9964 \begin_layout Plain Layout
9965
9966 \series bold
9967 Example Phone List (ignore the names)
9968 \end_layout
9969
9970 \end_inset
9971 </cell>
9972 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9973 \begin_inset Text
9974
9975 \begin_layout Plain Layout
9976
9977 \end_layout
9978
9979 \end_inset
9980 </cell>
9981 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9982 \begin_inset Text
9983
9984 \begin_layout Plain Layout
9985
9986 \end_layout
9987
9988 \end_inset
9989 </cell>
9990 </row>
9991 <row endfirsthead="true">
9992 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9993 \begin_inset Text
9994
9995 \begin_layout Plain Layout
9996
9997 \series bold
9998 NAME
9999 \end_layout
10000
10001 \end_inset
10002 </cell>
10003 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10004 \begin_inset Text
10005
10006 \begin_layout Plain Layout
10007
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10013 \begin_inset Text
10014
10015 \begin_layout Plain Layout
10016
10017 \series bold
10018 TEL.
10019 \end_layout
10020
10021 \end_inset
10022 </cell>
10023 </row>
10024 <row endhead="true">
10025 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10026 \begin_inset Text
10027
10028 \begin_layout Plain Layout
10029 \begin_inset ERT
10030 status collapsed
10031
10032 \begin_layout Plain Layout
10033
10034
10035 \backslash
10036 caption*{Continued Example Phone List}
10037 \backslash
10038
10039 \backslash
10040 %
10041 \end_layout
10042
10043 \end_inset
10044
10045
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
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
10064 \end_layout
10065
10066 \end_inset
10067 </cell>
10068 </row>
10069 <row endhead="true">
10070 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10071 \begin_inset Text
10072
10073 \begin_layout Plain Layout
10074
10075 \series bold
10076 Example Phone List
10077 \end_layout
10078
10079 \end_inset
10080 </cell>
10081 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10082 \begin_inset Text
10083
10084 \begin_layout Plain Layout
10085
10086 \end_layout
10087
10088 \end_inset
10089 </cell>
10090 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10091 \begin_inset Text
10092
10093 \begin_layout Plain Layout
10094
10095 \end_layout
10096
10097 \end_inset
10098 </cell>
10099 </row>
10100 <row endhead="true">
10101 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10102 \begin_inset Text
10103
10104 \begin_layout Plain Layout
10105
10106 \series bold
10107 NAME
10108 \end_layout
10109
10110 \end_inset
10111 </cell>
10112 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10113 \begin_inset Text
10114
10115 \begin_layout Plain Layout
10116
10117 \end_layout
10118
10119 \end_inset
10120 </cell>
10121 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10122 \begin_inset Text
10123
10124 \begin_layout Plain Layout
10125
10126 \series bold
10127 TEL.
10128 \end_layout
10129
10130 \end_inset
10131 </cell>
10132 </row>
10133 <row endfoot="true">
10134 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10135 \begin_inset Text
10136
10137 \begin_layout Plain Layout
10138 continued on next page
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10144 \begin_inset Text
10145
10146 \begin_layout Plain Layout
10147
10148 \end_layout
10149
10150 \end_inset
10151 </cell>
10152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10153 \begin_inset Text
10154
10155 \begin_layout Plain Layout
10156
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 Annovi
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 Silvia
10179 \end_layout
10180
10181 \end_inset
10182 </cell>
10183 <cell alignment="right" 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 Bertoli
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 Stefano
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 Bozzi
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 Walter
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 Cachia
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 Maria
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 Cachia
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 Maurizio
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 Cinquemani
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 Giusi
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 Colin
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 Bernard
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 Concli
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 Gianfranco
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 Dal Bosco
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 Carolina
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
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 Dalpiaz
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 Annamaria
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 Feliciello
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 Domenico
10489 \end_layout
10490
10491 \end_inset
10492 </cell>
10493 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10494 \begin_inset Text
10495
10496 \begin_layout Plain Layout
10497 111
10498 \end_layout
10499
10500 \end_inset
10501 </cell>
10502 </row>
10503 <row>
10504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10505 \begin_inset Text
10506
10507 \begin_layout Plain Layout
10508
10509 \series bold
10510 Focarelli
10511 \end_layout
10512
10513 \end_inset
10514 </cell>
10515 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10516 \begin_inset Text
10517
10518 \begin_layout Plain Layout
10519 Paola
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 111
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 Galletti
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 Oreste
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 Gasparini
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 Franca
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 Lassini
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 Giancarlo
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 Malfatti
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 Luciano
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 Malfatti
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 Valeriano
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 Meneguzzo
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 Roberto
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 Mezzadra
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 Roberto
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" leftline="true" usebox="none">
10753 \begin_inset Text
10754
10755 \begin_layout Plain Layout
10756
10757 \series bold
10758 Pirpamer
10759 \end_layout
10760
10761 \end_inset
10762 </cell>
10763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10764 \begin_inset Text
10765
10766 \begin_layout Plain Layout
10767 Erich
10768 \end_layout
10769
10770 \end_inset
10771 </cell>
10772 <cell alignment="center" valignment="top" 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 <row>
10783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10784 \begin_inset Text
10785
10786 \begin_layout Plain Layout
10787
10788 \series bold
10789 Pochiesa
10790 \end_layout
10791
10792 \end_inset
10793 </cell>
10794 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10795 \begin_inset Text
10796
10797 \begin_layout Plain Layout
10798 Paolo
10799 \end_layout
10800
10801 \end_inset
10802 </cell>
10803 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10804 \begin_inset Text
10805
10806 \begin_layout Plain Layout
10807 111, 222
10808 \end_layout
10809
10810 \end_inset
10811 </cell>
10812 </row>
10813 <row>
10814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10815 \begin_inset Text
10816
10817 \begin_layout Plain Layout
10818
10819 \series bold
10820 Radina
10821 \end_layout
10822
10823 \end_inset
10824 </cell>
10825 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10826 \begin_inset Text
10827
10828 \begin_layout Plain Layout
10829 Claudio
10830 \end_layout
10831
10832 \end_inset
10833 </cell>
10834 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10835 \begin_inset Text
10836
10837 \begin_layout Plain Layout
10838 111
10839 \end_layout
10840
10841 \end_inset
10842 </cell>
10843 </row>
10844 <row>
10845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10846 \begin_inset Text
10847
10848 \begin_layout Plain Layout
10849
10850 \series bold
10851 Rizzardi
10852 \end_layout
10853
10854 \end_inset
10855 </cell>
10856 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10857 \begin_inset Text
10858
10859 \begin_layout Plain Layout
10860 Paolo, 11.
10861  Fürst von Montecompatri, 11.
10862  Fürst von Sulmona und Vivaro, 10.
10863  Fürst von Rossano, 5.
10864  Herzog von Canemorte, 11.
10865  Herzog von Palombara, 5.
10866  Herzog von Castelchiodato,
10867 \begin_inset ERT
10868 status open
10869
10870 \begin_layout Plain Layout
10871
10872 & 111
10873 \backslash
10874
10875 \backslash
10876  
10877 \backslash
10878 newpage
10879 \end_layout
10880
10881 \begin_layout Plain Layout
10882
10883 &
10884 \end_layout
10885
10886 \end_inset
10887
10888  11.
10889  Herzog von Poggionativo, 11.
10890  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10891  Graf von Valinfreda, 11.
10892  Baron von Cropalati, 11.
10893  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10894 \end_layout
10895
10896 \end_inset
10897 </cell>
10898 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10899 \begin_inset Text
10900
10901 \begin_layout Plain Layout
10902
10903 \end_layout
10904
10905 \end_inset
10906 </cell>
10907 </row>
10908 <row>
10909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10910 \begin_inset Text
10911
10912 \begin_layout Plain Layout
10913
10914 \series bold
10915 Stuffer
10916 \end_layout
10917
10918 \end_inset
10919 </cell>
10920 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10921 \begin_inset Text
10922
10923 \begin_layout Plain Layout
10924 Oskar
10925 \end_layout
10926
10927 \end_inset
10928 </cell>
10929 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10930 \begin_inset Text
10931
10932 \begin_layout Plain Layout
10933 111
10934 \end_layout
10935
10936 \end_inset
10937 </cell>
10938 </row>
10939 <row>
10940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10941 \begin_inset Text
10942
10943 \begin_layout Plain Layout
10944
10945 \series bold
10946 Tacchelli
10947 \end_layout
10948
10949 \end_inset
10950 </cell>
10951 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10952 \begin_inset Text
10953
10954 \begin_layout Plain Layout
10955 Ugo
10956 \end_layout
10957
10958 \end_inset
10959 </cell>
10960 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10961 \begin_inset Text
10962
10963 \begin_layout Plain Layout
10964 111
10965 \end_layout
10966
10967 \end_inset
10968 </cell>
10969 </row>
10970 <row>
10971 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10972 \begin_inset Text
10973
10974 \begin_layout Plain Layout
10975
10976 \series bold
10977 Tezzele
10978 \end_layout
10979
10980 \end_inset
10981 </cell>
10982 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10983 \begin_inset Text
10984
10985 \begin_layout Plain Layout
10986 Margit
10987 \end_layout
10988
10989 \end_inset
10990 </cell>
10991 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10992 \begin_inset Text
10993
10994 \begin_layout Plain Layout
10995 111
10996 \end_layout
10997
10998 \end_inset
10999 </cell>
11000 </row>
11001 <row>
11002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11003 \begin_inset Text
11004
11005 \begin_layout Plain Layout
11006
11007 \series bold
11008 Unterkalmsteiner
11009 \end_layout
11010
11011 \end_inset
11012 </cell>
11013 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11014 \begin_inset Text
11015
11016 \begin_layout Plain Layout
11017 Frieda
11018 \end_layout
11019
11020 \end_inset
11021 </cell>
11022 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11023 \begin_inset Text
11024
11025 \begin_layout Plain Layout
11026 111
11027 \end_layout
11028
11029 \end_inset
11030 </cell>
11031 </row>
11032 <row>
11033 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11034 \begin_inset Text
11035
11036 \begin_layout Plain Layout
11037
11038 \series bold
11039 Vieider
11040 \end_layout
11041
11042 \end_inset
11043 </cell>
11044 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11045 \begin_inset Text
11046
11047 \begin_layout Plain Layout
11048 Hilde
11049 \end_layout
11050
11051 \end_inset
11052 </cell>
11053 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11054 \begin_inset Text
11055
11056 \begin_layout Plain Layout
11057 111
11058 \end_layout
11059
11060 \end_inset
11061 </cell>
11062 </row>
11063 <row>
11064 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11065 \begin_inset Text
11066
11067 \begin_layout Plain Layout
11068
11069 \series bold
11070 Vigna
11071 \end_layout
11072
11073 \end_inset
11074 </cell>
11075 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11076 \begin_inset Text
11077
11078 \begin_layout Plain Layout
11079 Jürgen
11080 \end_layout
11081
11082 \end_inset
11083 </cell>
11084 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11085 \begin_inset Text
11086
11087 \begin_layout Plain Layout
11088 111
11089 \end_layout
11090
11091 \end_inset
11092 </cell>
11093 </row>
11094 <row>
11095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11096 \begin_inset Text
11097
11098 \begin_layout Plain Layout
11099
11100 \series bold
11101 Weber
11102 \end_layout
11103
11104 \end_inset
11105 </cell>
11106 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11107 \begin_inset Text
11108
11109 \begin_layout Plain Layout
11110 Maurizio
11111 \end_layout
11112
11113 \end_inset
11114 </cell>
11115 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11116 \begin_inset Text
11117
11118 \begin_layout Plain Layout
11119 111
11120 \end_layout
11121
11122 \end_inset
11123 </cell>
11124 </row>
11125 <row>
11126 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Plain Layout
11130
11131 \series bold
11132 Winkler
11133 \end_layout
11134
11135 \end_inset
11136 </cell>
11137 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11138 \begin_inset Text
11139
11140 \begin_layout Plain Layout
11141 Franz
11142 \end_layout
11143
11144 \end_inset
11145 </cell>
11146 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11147 \begin_inset Text
11148
11149 \begin_layout Plain Layout
11150 111
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 </row>
11156 </lyxtabular>
11157
11158 \end_inset
11159
11160
11161 \end_layout
11162
11163 \begin_layout Section
11164 Multiple Lines Columns and Rows
11165 \end_layout
11166
11167 \begin_layout Subsection
11168 Multiple Lines in Table Cells
11169 \begin_inset CommandInset label
11170 LatexCommand label
11171 name "sub:Multiple-Lines-in"
11172
11173 \end_inset
11174
11175
11176 \begin_inset Index idx
11177 status collapsed
11178
11179 \begin_layout Plain Layout
11180 Multiple Lines in Table Cells
11181 \end_layout
11182
11183 \end_inset
11184
11185
11186 \begin_inset Index idx
11187 status collapsed
11188
11189 \begin_layout Plain Layout
11190 Table ! Linebreaks
11191 \end_layout
11192
11193 \end_inset
11194
11195
11196 \end_layout
11197
11198 \begin_layout Standard
11199 \noindent
11200 \begin_inset Float table
11201 placement H
11202 wide false
11203 sideways false
11204 status open
11205
11206 \begin_layout Plain Layout
11207 \begin_inset Caption
11208
11209 \begin_layout Plain Layout
11210 \begin_inset CommandInset label
11211 LatexCommand label
11212 name "tab:Table-with-multiple"
11213
11214 \end_inset
11215
11216 Table with multiple lines in cells
11217 \end_layout
11218
11219 \end_inset
11220
11221
11222 \end_layout
11223
11224 \begin_layout Plain Layout
11225 \align center
11226 \begin_inset Tabular
11227 <lyxtabular version="3" rows="3" columns="3">
11228 <features tabularvalignment="middle">
11229 <column alignment="center" valignment="middle" width="2.5cm">
11230 <column alignment="center" valignment="middle" width="0">
11231 <column alignment="center" valignment="middle" width="0">
11232 <row>
11233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11234 \begin_inset Text
11235
11236 \begin_layout Plain Layout
11237 multiple
11238 \begin_inset Newline linebreak
11239 \end_inset
11240
11241 lines
11242 \end_layout
11243
11244 \end_inset
11245 </cell>
11246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11247 \begin_inset Text
11248
11249 \begin_layout Plain Layout
11250 b
11251 \end_layout
11252
11253 \end_inset
11254 </cell>
11255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11256 \begin_inset Text
11257
11258 \begin_layout Plain Layout
11259 c
11260 \end_layout
11261
11262 \end_inset
11263 </cell>
11264 </row>
11265 <row>
11266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11267 \begin_inset Text
11268
11269 \begin_layout Plain Layout
11270 d
11271 \end_layout
11272
11273 \end_inset
11274 </cell>
11275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11276 \begin_inset Text
11277
11278 \begin_layout Plain Layout
11279 e
11280 \end_layout
11281
11282 \end_inset
11283 </cell>
11284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11285 \begin_inset Text
11286
11287 \begin_layout Plain Layout
11288 f
11289 \end_layout
11290
11291 \end_inset
11292 </cell>
11293 </row>
11294 <row>
11295 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11296 \begin_inset Text
11297
11298 \begin_layout Plain Layout
11299 g
11300 \end_layout
11301
11302 \end_inset
11303 </cell>
11304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11305 \begin_inset Text
11306
11307 \begin_layout Plain Layout
11308 h
11309 \end_layout
11310
11311 \end_inset
11312 </cell>
11313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11314 \begin_inset Text
11315
11316 \begin_layout Plain Layout
11317 i
11318 \end_layout
11319
11320 \end_inset
11321 </cell>
11322 </row>
11323 </lyxtabular>
11324
11325 \end_inset
11326
11327
11328 \end_layout
11329
11330 \end_inset
11331
11332
11333 \end_layout
11334
11335 \begin_layout Standard
11336 Setting a fixed width for a column enables you to enter text as a paragraph
11337  with multiple lines and hyphenation.
11338 \end_layout
11339
11340 \begin_layout Standard
11341 To produce Table
11342 \begin_inset space ~
11343 \end_inset
11344
11345
11346 \begin_inset CommandInset ref
11347 LatexCommand ref
11348 reference "tab:Table-with-multiple"
11349
11350 \end_inset
11351
11352 , create a 3×3 table, mark the first cell and right-click on it.
11353  In the appearing table dialog we set a cell width of 2.5
11354 \begin_inset space \thinspace{}
11355 \end_inset
11356
11357 cm and choose centered for the vertical and horizontal alignment.
11358  The vertical alignment is used for all cells of the row.
11359  As our text is smaller than 2.5
11360 \begin_inset space \thinspace{}
11361 \end_inset
11362
11363 cm, only one line will appear.
11364  To get two lines, a justified line break (shortcut 
11365 \begin_inset Info
11366 type  "shortcut"
11367 arg   "newline-insert linebreak"
11368 \end_inset
11369
11370 ) was added.
11371  If the text is wider than the set cell width, it will automatically be
11372  broken to several lines.
11373 \end_layout
11374
11375 \begin_layout Standard
11376 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11377  by LaTeX if it is the first entry.
11378  Therefore you need to insert something to prevent the word not being the
11379  first entry.
11380  So add a horizontal space of 0
11381 \begin_inset space \thinspace{}
11382 \end_inset
11383
11384 pt before the word.
11385  As the space is zero, it doesn't change the output.
11386  Table
11387 \begin_inset space ~
11388 \end_inset
11389
11390
11391 \begin_inset CommandInset ref
11392 LatexCommand ref
11393 reference "tab:Table-with-and"
11394
11395 \end_inset
11396
11397  shows the effect.
11398 \end_layout
11399
11400 \begin_layout Standard
11401 \begin_inset Float table
11402 placement h
11403 wide false
11404 sideways false
11405 status open
11406
11407 \begin_layout Plain Layout
11408 \begin_inset Caption
11409
11410 \begin_layout Plain Layout
11411 \begin_inset CommandInset label
11412 LatexCommand label
11413 name "tab:Table-with-and"
11414
11415 \end_inset
11416
11417 Table with and without hyphenation
11418 \end_layout
11419
11420 \end_inset
11421
11422
11423 \end_layout
11424
11425 \begin_layout Plain Layout
11426 \begin_inset space \hfill{}
11427 \end_inset
11428
11429
11430 \begin_inset Tabular
11431 <lyxtabular version="3" rows="3" columns="3">
11432 <features tabularvalignment="middle">
11433 <column alignment="center" valignment="middle" width="2.5cm">
11434 <column alignment="center" valignment="middle" width="0">
11435 <column alignment="center" valignment="middle" width="0">
11436 <row>
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11438 \begin_inset Text
11439
11440 \begin_layout Plain Layout
11441 verylongtablecellword
11442 \end_layout
11443
11444 \end_inset
11445 </cell>
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11447 \begin_inset Text
11448
11449 \begin_layout Plain Layout
11450 b
11451 \end_layout
11452
11453 \end_inset
11454 </cell>
11455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11456 \begin_inset Text
11457
11458 \begin_layout Plain Layout
11459 c
11460 \end_layout
11461
11462 \end_inset
11463 </cell>
11464 </row>
11465 <row>
11466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11467 \begin_inset Text
11468
11469 \begin_layout Plain Layout
11470 d
11471 \end_layout
11472
11473 \end_inset
11474 </cell>
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11476 \begin_inset Text
11477
11478 \begin_layout Plain Layout
11479 e
11480 \end_layout
11481
11482 \end_inset
11483 </cell>
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11485 \begin_inset Text
11486
11487 \begin_layout Plain Layout
11488 f
11489 \end_layout
11490
11491 \end_inset
11492 </cell>
11493 </row>
11494 <row>
11495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11496 \begin_inset Text
11497
11498 \begin_layout Plain Layout
11499 g
11500 \end_layout
11501
11502 \end_inset
11503 </cell>
11504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11505 \begin_inset Text
11506
11507 \begin_layout Plain Layout
11508 h
11509 \end_layout
11510
11511 \end_inset
11512 </cell>
11513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Plain Layout
11517 i
11518 \end_layout
11519
11520 \end_inset
11521 </cell>
11522 </row>
11523 </lyxtabular>
11524
11525 \end_inset
11526
11527
11528 \begin_inset space \hfill{}
11529 \end_inset
11530
11531
11532 \begin_inset Tabular
11533 <lyxtabular version="3" rows="3" columns="3">
11534 <features tabularvalignment="middle">
11535 <column alignment="center" valignment="middle" width="2.5cm">
11536 <column alignment="center" valignment="middle" width="0">
11537 <column alignment="center" valignment="middle" width="0">
11538 <row>
11539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11540 \begin_inset Text
11541
11542 \begin_layout Plain Layout
11543 \begin_inset space \hspace{}
11544 \length 0pt
11545 \end_inset
11546
11547 verylongtablecellword
11548 \end_layout
11549
11550 \end_inset
11551 </cell>
11552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11553 \begin_inset Text
11554
11555 \begin_layout Plain Layout
11556 b
11557 \end_layout
11558
11559 \end_inset
11560 </cell>
11561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11562 \begin_inset Text
11563
11564 \begin_layout Plain Layout
11565 c
11566 \end_layout
11567
11568 \end_inset
11569 </cell>
11570 </row>
11571 <row>
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11573 \begin_inset Text
11574
11575 \begin_layout Plain Layout
11576 d
11577 \end_layout
11578
11579 \end_inset
11580 </cell>
11581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11582 \begin_inset Text
11583
11584 \begin_layout Plain Layout
11585 e
11586 \end_layout
11587
11588 \end_inset
11589 </cell>
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11591 \begin_inset Text
11592
11593 \begin_layout Plain Layout
11594 f
11595 \end_layout
11596
11597 \end_inset
11598 </cell>
11599 </row>
11600 <row>
11601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11602 \begin_inset Text
11603
11604 \begin_layout Plain Layout
11605 g
11606 \end_layout
11607
11608 \end_inset
11609 </cell>
11610 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11611 \begin_inset Text
11612
11613 \begin_layout Plain Layout
11614 h
11615 \end_layout
11616
11617 \end_inset
11618 </cell>
11619 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11620 \begin_inset Text
11621
11622 \begin_layout Plain Layout
11623 i
11624 \end_layout
11625
11626 \end_inset
11627 </cell>
11628 </row>
11629 </lyxtabular>
11630
11631 \end_inset
11632
11633
11634 \begin_inset space \hfill{}
11635 \end_inset
11636
11637
11638 \end_layout
11639
11640 \end_inset
11641
11642
11643 \end_layout
11644
11645 \begin_layout Subsection
11646 Multicolumns
11647 \begin_inset CommandInset label
11648 LatexCommand label
11649 name "sub:Multicolumns"
11650
11651 \end_inset
11652
11653
11654 \begin_inset Index idx
11655 status collapsed
11656
11657 \begin_layout Plain Layout
11658 Multicolumns
11659 \end_layout
11660
11661 \end_inset
11662
11663
11664 \begin_inset Index idx
11665 status collapsed
11666
11667 \begin_layout Plain Layout
11668 Table ! Multicolumns
11669 \end_layout
11670
11671 \end_inset
11672
11673
11674 \end_layout
11675
11676 \begin_layout Subsubsection
11677 Multicolumn Basics
11678 \end_layout
11679
11680 \begin_layout Standard
11681 To merge cells over multiple columns, select as many cells within a row
11682  as you want to merge and use either the table-toolbar button 
11683 \begin_inset Graphics
11684         filename ../images/tabular-feature_multicolumn.png
11685         scale 85
11686         scaleBeforeRotation
11687
11688 \end_inset
11689
11690 , or the menu 
11691 \family sans
11692 Edit\SpecialChar \menuseparator
11693 Table\SpecialChar \menuseparator
11694 Multicolumn
11695 \family default
11696 , or right click on the marked cells and choose 
11697 \family sans
11698 Multicolumn
11699 \family default
11700  in the context menu.
11701 \end_layout
11702
11703 \begin_layout Standard
11704 Multicolumns have there own cell settings.
11705  That means changing cell borders, cell alignment, and the width only affects
11706  the multicolumn.
11707  Here is an example table with a multicolumn cell in the first row and one
11708  in the last row without the upper border:
11709 \end_layout
11710
11711 \begin_layout Standard
11712 \align center
11713 \begin_inset Tabular
11714 <lyxtabular version="3" rows="3" columns="4">
11715 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11716 <column alignment="center" valignment="top" width="0pt">
11717 <column alignment="center" valignment="middle" width="0">
11718 <column alignment="center" valignment="top" width="0in">
11719 <column alignment="center" valignment="top" width="0pt">
11720 <row>
11721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11722 \begin_inset Text
11723
11724 \begin_layout Plain Layout
11725 abc
11726 \end_layout
11727
11728 \end_inset
11729 </cell>
11730 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11731 \begin_inset Text
11732
11733 \begin_layout Plain Layout
11734 def ghi
11735 \end_layout
11736
11737 \end_inset
11738 </cell>
11739 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11740 \begin_inset Text
11741
11742 \begin_layout Plain Layout
11743
11744 \end_layout
11745
11746 \end_inset
11747 </cell>
11748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11749 \begin_inset Text
11750
11751 \begin_layout Plain Layout
11752 jkl
11753 \end_layout
11754
11755 \end_inset
11756 </cell>
11757 </row>
11758 <row>
11759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11760 \begin_inset Text
11761
11762 \begin_layout Plain Layout
11763
11764 \family roman
11765 \series medium
11766 \shape up
11767 \size normal
11768 \emph off
11769 \bar no
11770 \noun off
11771 \color none
11772 A
11773 \end_layout
11774
11775 \end_inset
11776 </cell>
11777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11778 \begin_inset Text
11779
11780 \begin_layout Plain Layout
11781 B
11782 \end_layout
11783
11784 \end_inset
11785 </cell>
11786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11787 \begin_inset Text
11788
11789 \begin_layout Plain Layout
11790 C
11791 \end_layout
11792
11793 \end_inset
11794 </cell>
11795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11796 \begin_inset Text
11797
11798 \begin_layout Plain Layout
11799 D
11800 \end_layout
11801
11802 \end_inset
11803 </cell>
11804 </row>
11805 <row>
11806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11807 \begin_inset Text
11808
11809 \begin_layout Plain Layout
11810 1
11811 \end_layout
11812
11813 \end_inset
11814 </cell>
11815 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11816 \begin_inset Text
11817
11818 \begin_layout Plain Layout
11819 2
11820 \end_layout
11821
11822 \end_inset
11823 </cell>
11824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11825 \begin_inset Text
11826
11827 \begin_layout Plain Layout
11828 3
11829 \end_layout
11830
11831 \end_inset
11832 </cell>
11833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11834 \begin_inset Text
11835
11836 \begin_layout Plain Layout
11837 4
11838 \end_layout
11839
11840 \end_inset
11841 </cell>
11842 </row>
11843 </lyxtabular>
11844
11845 \end_inset
11846
11847
11848 \end_layout
11849
11850 \begin_layout Subsubsection
11851 Multicolumn Calculations
11852 \begin_inset CommandInset label
11853 LatexCommand label
11854 name "sub:Multicolumn-Calculations"
11855
11856 \end_inset
11857
11858
11859 \begin_inset Index idx
11860 status collapsed
11861
11862 \begin_layout Plain Layout
11863 Multicolumns ! Calculations
11864 \end_layout
11865
11866 \end_inset
11867
11868
11869 \end_layout
11870
11871 \begin_layout Standard
11872 LyX supports multicolumns directly, but we have to take account of the cell
11873  width of the columns spanned by the multicolumn cell.
11874 \end_layout
11875
11876 \begin_layout Standard
11877 \begin_inset Float table
11878 placement h
11879 wide false
11880 sideways false
11881 status open
11882
11883 \begin_layout Plain Layout
11884 \begin_inset Caption
11885
11886 \begin_layout Plain Layout
11887 \begin_inset CommandInset label
11888 LatexCommand label
11889 name "tab:Table-with-centered"
11890
11891 \end_inset
11892
11893 Table with centered multicolumn text above two columns that have exactly
11894  half the width of the multicolumn cell
11895 \begin_inset Argument
11896 status collapsed
11897
11898 \begin_layout Plain Layout
11899 Perfect multicolumn table
11900 \end_layout
11901
11902 \end_inset
11903
11904
11905 \end_layout
11906
11907 \end_inset
11908
11909
11910 \end_layout
11911
11912 \begin_layout Plain Layout
11913 \align center
11914 \begin_inset Tabular
11915 <lyxtabular version="3" rows="3" columns="3">
11916 <features tabularvalignment="middle">
11917 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11918 <column alignment="center" valignment="middle" width="0">
11919 <column alignment="center" valignment="top" width="0">
11920 <row>
11921 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11922 \begin_inset Text
11923
11924 \begin_layout Plain Layout
11925 multiple lines multicolumn
11926 \end_layout
11927
11928 \end_inset
11929 </cell>
11930 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11931 \begin_inset Text
11932
11933 \begin_layout Plain Layout
11934
11935 \end_layout
11936
11937 \end_inset
11938 </cell>
11939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11940 \begin_inset Text
11941
11942 \begin_layout Plain Layout
11943 c
11944 \end_layout
11945
11946 \end_inset
11947 </cell>
11948 </row>
11949 <row>
11950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11951 \begin_inset Text
11952
11953 \begin_layout Plain Layout
11954 d
11955 \end_layout
11956
11957 \end_inset
11958 </cell>
11959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11960 \begin_inset Text
11961
11962 \begin_layout Plain Layout
11963 e
11964 \end_layout
11965
11966 \end_inset
11967 </cell>
11968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11969 \begin_inset Text
11970
11971 \begin_layout Plain Layout
11972 f
11973 \end_layout
11974
11975 \end_inset
11976 </cell>
11977 </row>
11978 <row>
11979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11980 \begin_inset Text
11981
11982 \begin_layout Plain Layout
11983 g
11984 \end_layout
11985
11986 \end_inset
11987 </cell>
11988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11989 \begin_inset Text
11990
11991 \begin_layout Plain Layout
11992 h
11993 \end_layout
11994
11995 \end_inset
11996 </cell>
11997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11998 \begin_inset Text
11999
12000 \begin_layout Plain Layout
12001 i
12002 \end_layout
12003
12004 \end_inset
12005 </cell>
12006 </row>
12007 </lyxtabular>
12008
12009 \end_inset
12010
12011
12012 \end_layout
12013
12014 \end_inset
12015
12016
12017 \end_layout
12018
12019 \begin_layout Standard
12020 To create for example Table
12021 \begin_inset space ~
12022 \end_inset
12023
12024
12025 \begin_inset CommandInset ref
12026 LatexCommand ref
12027 reference "tab:Table-with-centered"
12028
12029 \end_inset
12030
12031 , mark the first two cells in the first row of a 3×3 table and right-click
12032  on them.
12033  Now choose for this cell 
12034 \emph on
12035 multicolumn
12036 \emph default
12037
12038 \emph on
12039 centered alignment
12040 \emph default
12041  and a width of 2.5
12042 \begin_inset space \thinspace{}
12043 \end_inset
12044
12045 cm in the table dialog.
12046  The merged columns should have exactly half the width of the multicolumn
12047  cell, so that you would set a width of 1.25
12048 \begin_inset space \thinspace{}
12049 \end_inset
12050
12051 cm for the first column.
12052  The second column has then automatically a width of 1.25
12053 \begin_inset space \thinspace{}
12054 \end_inset
12055
12056 cm (multicolumn width - width of first column).
12057  This was done for Table
12058 \begin_inset space ~
12059 \end_inset
12060
12061
12062 \begin_inset CommandInset ref
12063 LatexCommand ref
12064 reference "tab:Table-without-half"
12065
12066 \end_inset
12067
12068 .
12069 \end_layout
12070
12071 \begin_layout Standard
12072 \begin_inset Float table
12073 wide false
12074 sideways false
12075 status open
12076
12077 \begin_layout Plain Layout
12078 \begin_inset Caption
12079
12080 \begin_layout Plain Layout
12081 \begin_inset CommandInset label
12082 LatexCommand label
12083 name "tab:Table-without-half"
12084
12085 \end_inset
12086
12087 Table where the spanned table columns are not exactly half the width of
12088  the multicolumn cell
12089 \begin_inset Argument
12090 status collapsed
12091
12092 \begin_layout Plain Layout
12093 Imperfect multicolumn table
12094 \end_layout
12095
12096 \end_inset
12097
12098
12099 \end_layout
12100
12101 \end_inset
12102
12103
12104 \end_layout
12105
12106 \begin_layout Plain Layout
12107 \align center
12108 \begin_inset Tabular
12109 <lyxtabular version="3" rows="3" columns="3">
12110 <features tabularvalignment="middle">
12111 <column alignment="center" valignment="top" width="1.25cm">
12112 <column alignment="center" valignment="top" width="0">
12113 <column alignment="center" valignment="top" width="0">
12114 <row>
12115 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12116 \begin_inset Text
12117
12118 \begin_layout Plain Layout
12119 multiple lines multicolumn
12120 \end_layout
12121
12122 \end_inset
12123 </cell>
12124 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12125 \begin_inset Text
12126
12127 \begin_layout Plain Layout
12128
12129 \end_layout
12130
12131 \end_inset
12132 </cell>
12133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12134 \begin_inset Text
12135
12136 \begin_layout Plain Layout
12137 c
12138 \end_layout
12139
12140 \end_inset
12141 </cell>
12142 </row>
12143 <row>
12144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12145 \begin_inset Text
12146
12147 \begin_layout Plain Layout
12148 d
12149 \end_layout
12150
12151 \end_inset
12152 </cell>
12153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12154 \begin_inset Text
12155
12156 \begin_layout Plain Layout
12157 e
12158 \end_layout
12159
12160 \end_inset
12161 </cell>
12162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12163 \begin_inset Text
12164
12165 \begin_layout Plain Layout
12166 f
12167 \end_layout
12168
12169 \end_inset
12170 </cell>
12171 </row>
12172 <row>
12173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12174 \begin_inset Text
12175
12176 \begin_layout Plain Layout
12177 g
12178 \end_layout
12179
12180 \end_inset
12181 </cell>
12182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12183 \begin_inset Text
12184
12185 \begin_layout Plain Layout
12186 h
12187 \end_layout
12188
12189 \end_inset
12190 </cell>
12191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12192 \begin_inset Text
12193
12194 \begin_layout Plain Layout
12195 i
12196 \end_layout
12197
12198 \end_inset
12199 </cell>
12200 </row>
12201 </lyxtabular>
12202
12203 \end_inset
12204
12205
12206 \end_layout
12207
12208 \end_inset
12209
12210
12211 \end_layout
12212
12213 \begin_layout Standard
12214 You can see that the first column is not half the width of the multicolumn
12215  cell, it is a bit bigger.
12216  The reason is that the specified width of a cell 
12217 \begin_inset Formula $W_{g}$
12218 \end_inset
12219
12220  is not its total width 
12221 \begin_inset Formula $W_{\mathrm{tot}}$
12222 \end_inset
12223
12224  because a cell is always a bit larger than specified.
12225  Appendix
12226 \begin_inset space ~
12227 \end_inset
12228
12229
12230 \begin_inset CommandInset ref
12231 LatexCommand eqref
12232 reference "cha:Explanation-of-Equation"
12233
12234 \end_inset
12235
12236  explains this in detail.
12237 \end_layout
12238
12239 \begin_layout Standard
12240 The width 
12241 \begin_inset Formula $W_{g\, n}$
12242 \end_inset
12243
12244  which the user needs to set when 
12245 \emph on
12246 n
12247 \emph default
12248  columns are spanned can be calculated, so that each column has a total
12249  width of 
12250 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12251 \end_inset
12252
12253 :
12254 \begin_inset Formula 
12255 \begin{equation}
12256 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12257 \end{equation}
12258
12259 \end_inset
12260
12261
12262 \end_layout
12263
12264 \begin_layout Standard
12265 In our case we have 
12266 \begin_inset Formula $n=2$
12267 \end_inset
12268
12269
12270 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12271 \end_inset
12272
12273 cm and the default values for the lengths, so that equation 
12274 \begin_inset CommandInset ref
12275 LatexCommand ref
12276 reference "eq:Wgn"
12277
12278 \end_inset
12279
12280  becomes
12281 \begin_inset Formula 
12282 \begin{equation}
12283 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12284 \end{equation}
12285
12286 \end_inset
12287
12288
12289 \end_layout
12290
12291 \begin_layout Standard
12292 To enable calculations in LaTeX, the LaTeX-package 
12293 \series bold
12294 calc
12295 \series default
12296  must be loaded with the document preamble line
12297 \begin_inset Index idx
12298 status collapsed
12299
12300 \begin_layout Plain Layout
12301 LaTeX-packages ! calc
12302 \end_layout
12303
12304 \end_inset
12305
12306
12307 \end_layout
12308
12309 \begin_layout Standard
12310
12311 \series bold
12312
12313 \backslash
12314 usepackage{calc}
12315 \end_layout
12316
12317 \begin_layout Standard
12318 LyX does not allow you to calculate lengths in the 
12319 \family sans
12320 Width
12321 \family default
12322  field of the table dialog.
12323  Therefore you have to format the column by inserting a LaTeX-argument in
12324  the dialog.
12325  Here is an overview about the arguments:
12326 \end_layout
12327
12328 \begin_layout Itemize
12329
12330 \series bold
12331 p{width}
12332 \series default
12333  creates cell with a fixed width, its text is vertically top-aligned
12334 \end_layout
12335
12336 \begin_layout Itemize
12337
12338 \series bold
12339 m{width}
12340 \series default
12341  creates cell with a fixed width, its text is vertically centered
12342 \end_layout
12343
12344 \begin_layout Itemize
12345
12346 \series bold
12347 b{width}
12348 \series default
12349  creates cell with a fixed width, its text is vertically bottom-aligned
12350 \end_layout
12351
12352 \begin_layout Standard
12353 By entering a LaTeX-argument, all cell settings set in the table dialog
12354  are overwritten.
12355 \end_layout
12356
12357 \begin_layout Standard
12358 \begin_inset Note Greyedout
12359 status open
12360
12361 \begin_layout Plain Layout
12362
12363 \series bold
12364 Note:
12365 \series default
12366  Due to a bug, LyX shows the overwritten settings anyway.
12367 \end_layout
12368
12369 \end_inset
12370
12371
12372 \end_layout
12373
12374 \begin_layout Standard
12375 As the text should be horizontally centered, the command 
12376 \series bold
12377
12378 \backslash
12379 centering
12380 \series default
12381  is added.
12382  You can now enter the following LaTeX-argument for the first spanned column:
12383 \end_layout
12384
12385 \begin_layout Standard
12386
12387 \series bold
12388 >{
12389 \backslash
12390 centering}m{1.25cm-6.2pt}
12391 \end_layout
12392
12393 \begin_layout Standard
12394 The command 
12395 \series bold
12396 >{ }
12397 \series default
12398  means, that the commands inside the braces are applied before the cell
12399  is created.
12400 \end_layout
12401
12402 \begin_layout Standard
12403 Although we have chosen centered alignment for the text of the multicolumn
12404  cell, it is still left aligned.
12405  This is because LyX only applies the alignment to single columns.
12406  So for the multicolumn cell we have to use the LaTeX-argument
12407 \end_layout
12408
12409 \begin_layout Standard
12410
12411 \series bold
12412 >{
12413 \backslash
12414 centering}m{2.5cm}
12415 \end_layout
12416
12417 \begin_layout Subsection
12418 Multirows
12419 \begin_inset CommandInset label
12420 LatexCommand label
12421 name "sub:Multirows"
12422
12423 \end_inset
12424
12425
12426 \begin_inset Index idx
12427 status collapsed
12428
12429 \begin_layout Plain Layout
12430 Multirows
12431 \end_layout
12432
12433 \end_inset
12434
12435
12436 \begin_inset Index idx
12437 status collapsed
12438
12439 \begin_layout Plain Layout
12440 Table ! Multirows
12441 \end_layout
12442
12443 \end_inset
12444
12445
12446 \end_layout
12447
12448 \begin_layout Standard
12449 To merge cells over multiple rows, select as many cells within a column
12450  as you want to merge and use either the table-toolbar button 
12451 \begin_inset Graphics
12452         filename ../images/tabular-feature_multirow.png
12453         scale 85
12454         scaleBeforeRotation
12455
12456 \end_inset
12457
12458 , or the menu 
12459 \family sans
12460 Edit\SpecialChar \menuseparator
12461 Table\SpecialChar \menuseparator
12462 Multirow
12463 \family default
12464 , or right click on the marked cells and choose 
12465 \family sans
12466 Multirow
12467 \family default
12468  in the context menu.
12469 \end_layout
12470
12471 \begin_layout Standard
12472 Here is an example table with a multirow in the first column:
12473 \end_layout
12474
12475 \begin_layout Standard
12476 \align center
12477 \begin_inset Tabular
12478 <lyxtabular version="3" rows="3" columns="3">
12479 <features tabularvalignment="middle">
12480 <column alignment="center" valignment="top" width="0pt">
12481 <column alignment="center" valignment="top" width="0">
12482 <column alignment="center" valignment="top" width="0">
12483 <row>
12484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12485 \begin_inset Text
12486
12487 \begin_layout Plain Layout
12488 a long cell entry
12489 \end_layout
12490
12491 \end_inset
12492 </cell>
12493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12494 \begin_inset Text
12495
12496 \begin_layout Plain Layout
12497 b
12498 \end_layout
12499
12500 \end_inset
12501 </cell>
12502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12503 \begin_inset Text
12504
12505 \begin_layout Plain Layout
12506 c
12507 \end_layout
12508
12509 \end_inset
12510 </cell>
12511 </row>
12512 <row>
12513 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12514 \begin_inset Text
12515
12516 \begin_layout Plain Layout
12517 multirow
12518 \end_layout
12519
12520 \end_inset
12521 </cell>
12522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12523 \begin_inset Text
12524
12525 \begin_layout Plain Layout
12526 e
12527 \end_layout
12528
12529 \end_inset
12530 </cell>
12531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12532 \begin_inset Text
12533
12534 \begin_layout Plain Layout
12535 f
12536 \end_layout
12537
12538 \end_inset
12539 </cell>
12540 </row>
12541 <row>
12542 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12543 \begin_inset Text
12544
12545 \begin_layout Plain Layout
12546
12547 \end_layout
12548
12549 \end_inset
12550 </cell>
12551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12552 \begin_inset Text
12553
12554 \begin_layout Plain Layout
12555 h
12556 \end_layout
12557
12558 \end_inset
12559 </cell>
12560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12561 \begin_inset Text
12562
12563 \begin_layout Plain Layout
12564 i
12565 \end_layout
12566
12567 \end_inset
12568 </cell>
12569 </row>
12570 </lyxtabular>
12571
12572 \end_inset
12573
12574
12575 \end_layout
12576
12577 \begin_layout Standard
12578 The width of multirow cells is set by setting the width and alignment for
12579  the whole column.
12580  The 
12581 \family sans
12582 Vertical Offset
12583 \family default
12584  shifts the content of the multirow up/down if the offset is positive/negative.
12585 \end_layout
12586
12587 \begin_layout Standard
12588 If the column of a multirow cell has no explicit width, the multirow cell
12589  inherits the alignment of the column.
12590  Otherwise it is by default left-aligned.
12591  To override the default, renew the command 
12592 \series bold
12593
12594 \backslash
12595 multirowsetup
12596 \series default
12597  with the command
12598 \end_layout
12599
12600 \begin_layout Standard
12601
12602 \series bold
12603
12604 \backslash
12605 renewcommand{
12606 \backslash
12607 multirowsetup}{
12608 \backslash
12609 centering}
12610 \end_layout
12611
12612 \begin_layout Standard
12613 in the document preamble.
12614  Then all entries of multirow cells in the document are centered.
12615  If centering is only needed for several tables, you can renew the command
12616  in a TeX-Code box just before the table instead of the preamble.
12617  If the text should be right-aligned, replace 
12618 \series bold
12619
12620 \backslash
12621 centering
12622 \series default
12623  by 
12624 \series bold
12625
12626 \backslash
12627 raggedleft
12628 \series default
12629 .
12630  To return to left-alignment 
12631 \series bold
12632
12633 \backslash
12634 raggedright
12635 \series default
12636  is used.
12637 \end_layout
12638
12639 \begin_layout Standard
12640 This is an example table with a right-aligned multirow cell that has a vertical
12641  offset of -4
12642 \begin_inset space \thinspace{}
12643 \end_inset
12644
12645 mm and is in a 3
12646 \begin_inset space \thinspace{}
12647 \end_inset
12648
12649 cm wide column:
12650 \end_layout
12651
12652 \begin_layout Standard
12653 \noindent
12654 \align center
12655 \begin_inset ERT
12656 status collapsed
12657
12658 \begin_layout Plain Layout
12659
12660
12661 \backslash
12662 renewcommand{
12663 \backslash
12664 multirowsetup}{
12665 \backslash
12666 raggedleft}
12667 \end_layout
12668
12669 \end_inset
12670
12671
12672 \begin_inset Tabular
12673 <lyxtabular version="3" rows="4" columns="3">
12674 <features tabularvalignment="middle">
12675 <column alignment="center" valignment="top" width="3cm">
12676 <column alignment="center" valignment="top" width="0">
12677 <column alignment="center" valignment="top" width="0">
12678 <row>
12679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12680 \begin_inset Text
12681
12682 \begin_layout Plain Layout
12683 a long cell entry
12684 \end_layout
12685
12686 \end_inset
12687 </cell>
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Plain Layout
12692 b
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Plain Layout
12701 c
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 </row>
12707 <row>
12708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12709 \begin_inset Text
12710
12711 \begin_layout Plain Layout
12712 t
12713 \end_layout
12714
12715 \end_inset
12716 </cell>
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Plain Layout
12721 n
12722 \end_layout
12723
12724 \end_inset
12725 </cell>
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12727 \begin_inset Text
12728
12729 \begin_layout Plain Layout
12730 m
12731 \end_layout
12732
12733 \end_inset
12734 </cell>
12735 </row>
12736 <row>
12737 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12738 \begin_inset Text
12739
12740 \begin_layout Plain Layout
12741 multirow
12742 \end_layout
12743
12744 \end_inset
12745 </cell>
12746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12747 \begin_inset Text
12748
12749 \begin_layout Plain Layout
12750 e
12751 \end_layout
12752
12753 \end_inset
12754 </cell>
12755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12756 \begin_inset Text
12757
12758 \begin_layout Plain Layout
12759 f
12760 \end_layout
12761
12762 \end_inset
12763 </cell>
12764 </row>
12765 <row>
12766 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12767 \begin_inset Text
12768
12769 \begin_layout Plain Layout
12770
12771 \end_layout
12772
12773 \end_inset
12774 </cell>
12775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12776 \begin_inset Text
12777
12778 \begin_layout Plain Layout
12779 h
12780 \end_layout
12781
12782 \end_inset
12783 </cell>
12784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12785 \begin_inset Text
12786
12787 \begin_layout Plain Layout
12788 i
12789 \end_layout
12790
12791 \end_inset
12792 </cell>
12793 </row>
12794 </lyxtabular>
12795
12796 \end_inset
12797
12798
12799 \begin_inset ERT
12800 status collapsed
12801
12802 \begin_layout Plain Layout
12803
12804
12805 \backslash
12806 renewcommand{
12807 \backslash
12808 multirowsetup}{
12809 \backslash
12810 raggedright}
12811 \end_layout
12812
12813 \end_inset
12814
12815
12816 \end_layout
12817
12818 \begin_layout Standard
12819 To start a new line in a multirow you can use a forced line break (shortcut
12820  
12821 \begin_inset Info
12822 type  "shortcut"
12823 arg   "newline-insert newline"
12824 \end_inset
12825
12826 ) but this will not respect the cell lines as demonstrated in this table:
12827 \end_layout
12828
12829 \begin_layout Standard
12830 \noindent
12831 \align center
12832 \begin_inset Tabular
12833 <lyxtabular version="3" rows="3" columns="2">
12834 <features tabularvalignment="middle">
12835 <column alignment="left" valignment="middle" width="2cm">
12836 <column alignment="center" valignment="top" width="0">
12837 <row>
12838 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12839 \begin_inset Text
12840
12841 \begin_layout Plain Layout
12842 aaa
12843 \begin_inset Newline newline
12844 \end_inset
12845
12846 aaa
12847 \begin_inset Newline newline
12848 \end_inset
12849
12850 wrong cell
12851 \end_layout
12852
12853 \end_inset
12854 </cell>
12855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12856 \begin_inset Text
12857
12858 \begin_layout Plain Layout
12859 ccc
12860 \end_layout
12861
12862 \end_inset
12863 </cell>
12864 </row>
12865 <row>
12866 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12867 \begin_inset Text
12868
12869 \begin_layout Plain Layout
12870
12871 \end_layout
12872
12873 \end_inset
12874 </cell>
12875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12876 \begin_inset Text
12877
12878 \begin_layout Plain Layout
12879 ddd
12880 \end_layout
12881
12882 \end_inset
12883 </cell>
12884 </row>
12885 <row>
12886 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12887 \begin_inset Text
12888
12889 \begin_layout Plain Layout
12890 bbb
12891 \end_layout
12892
12893 \end_inset
12894 </cell>
12895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12896 \begin_inset Text
12897
12898 \begin_layout Plain Layout
12899 eee
12900 \end_layout
12901
12902 \end_inset
12903 </cell>
12904 </row>
12905 </lyxtabular>
12906
12907 \end_inset
12908
12909
12910 \end_layout
12911
12912 \begin_layout Standard
12913 Therefore be careful with forced line breaks.
12914 \end_layout
12915
12916 \begin_layout Section
12917 Formal Tables
12918 \begin_inset CommandInset label
12919 LatexCommand label
12920 name "sec:Formal-Tables"
12921
12922 \end_inset
12923
12924
12925 \begin_inset Index idx
12926 status collapsed
12927
12928 \begin_layout Plain Layout
12929 Table ! Formal
12930 \end_layout
12931
12932 \end_inset
12933
12934
12935 \end_layout
12936
12937 \begin_layout Standard
12938 Tables are often typeset in books similar to Table
12939 \begin_inset space ~
12940 \end_inset
12941
12942
12943 \begin_inset CommandInset ref
12944 LatexCommand ref
12945 reference "tab:Example-booktabs-table"
12946
12947 \end_inset
12948
12949 .
12950  This kind of tables is called 
12951 \begin_inset Quotes eld
12952 \end_inset
12953
12954
12955 \emph on
12956 formal
12957 \emph default
12958
12959 \begin_inset Quotes erd
12960 \end_inset
12961
12962 .
12963  To make a table a formal table use the option 
12964 \family sans
12965 Formal
12966 \family default
12967  in the 
12968 \family sans
12969 Borders
12970 \family default
12971  tab of the table dialog.
12972 \end_layout
12973
12974 \begin_layout Standard
12975 \begin_inset Float table
12976 placement h
12977 wide false
12978 sideways false
12979 status open
12980
12981 \begin_layout Plain Layout
12982 \begin_inset Caption
12983
12984 \begin_layout Plain Layout
12985 \begin_inset CommandInset label
12986 LatexCommand label
12987 name "tab:Example-booktabs-table"
12988
12989 \end_inset
12990
12991 Example booktabs-table
12992 \end_layout
12993
12994 \end_inset
12995
12996
12997 \end_layout
12998
12999 \begin_layout Plain Layout
13000 \align center
13001 \begin_inset Tabular
13002 <lyxtabular version="3" rows="8" columns="4">
13003 <features booktabs="true" tabularvalignment="middle">
13004 <column alignment="center" valignment="top" width="0">
13005 <column alignment="center" valignment="top" width="0">
13006 <column alignment="center" valignment="top" width="0">
13007 <column alignment="center" valignment="top" width="0">
13008 <row>
13009 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13010 \begin_inset Text
13011
13012 \begin_layout Plain Layout
13013 System
13014 \end_layout
13015
13016 \end_inset
13017 </cell>
13018 <cell alignment="center" valignment="top" topline="true" usebox="none">
13019 \begin_inset Text
13020
13021 \begin_layout Plain Layout
13022 Chip
13023 \begin_inset space \thinspace{}
13024 \end_inset
13025
13026 1
13027 \end_layout
13028
13029 \end_inset
13030 </cell>
13031 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13032 \begin_inset Text
13033
13034 \begin_layout Plain Layout
13035 Chip
13036 \begin_inset space \thinspace{}
13037 \end_inset
13038
13039 2
13040 \end_layout
13041
13042 \end_inset
13043 </cell>
13044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13045 \begin_inset Text
13046
13047 \begin_layout Plain Layout
13048
13049 \end_layout
13050
13051 \end_inset
13052 </cell>
13053 </row>
13054 <row>
13055 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13056 \begin_inset Text
13057
13058 \begin_layout Plain Layout
13059 \begin_inset ERT
13060 status collapsed
13061
13062 \begin_layout Plain Layout
13063
13064
13065 \backslash
13066 cmidrule(r){2-2}
13067 \end_layout
13068
13069 \end_inset
13070
13071
13072 \begin_inset ERT
13073 status collapsed
13074
13075 \begin_layout Plain Layout
13076
13077
13078 \backslash
13079 cmidrule(l){3-4}
13080 \end_layout
13081
13082 \end_inset
13083
13084 Detector thickness in µm
13085 \end_layout
13086
13087 \end_inset
13088 </cell>
13089 <cell alignment="center" valignment="top" usebox="none">
13090 \begin_inset Text
13091
13092 \begin_layout Plain Layout
13093 300
13094 \end_layout
13095
13096 \end_inset
13097 </cell>
13098 <cell alignment="center" valignment="top" usebox="none">
13099 \begin_inset Text
13100
13101 \begin_layout Plain Layout
13102 300
13103 \end_layout
13104
13105 \end_inset
13106 </cell>
13107 <cell alignment="center" valignment="top" usebox="none">
13108 \begin_inset Text
13109
13110 \begin_layout Plain Layout
13111 700
13112 \end_layout
13113
13114 \end_inset
13115 </cell>
13116 </row>
13117 <row>
13118 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13119 \begin_inset Text
13120
13121 \begin_layout Plain Layout
13122 Edge angle in °
13123 \end_layout
13124
13125 \end_inset
13126 </cell>
13127 <cell alignment="center" valignment="top" topline="true" usebox="none">
13128 \begin_inset Text
13129
13130 \begin_layout Plain Layout
13131 3.55
13132 \end_layout
13133
13134 \end_inset
13135 </cell>
13136 <cell alignment="center" valignment="top" topline="true" usebox="none">
13137 \begin_inset Text
13138
13139 \begin_layout Plain Layout
13140 2.71
13141 \end_layout
13142
13143 \end_inset
13144 </cell>
13145 <cell alignment="center" valignment="top" topline="true" usebox="none">
13146 \begin_inset Text
13147
13148 \begin_layout Plain Layout
13149 7.99
13150 \end_layout
13151
13152 \end_inset
13153 </cell>
13154 </row>
13155 <row topspace="default">
13156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13157 \begin_inset Text
13158
13159 \begin_layout Plain Layout
13160 Spatial resolution in µm
13161 \end_layout
13162
13163 \end_inset
13164 </cell>
13165 <cell alignment="center" valignment="top" usebox="none">
13166 \begin_inset Text
13167
13168 \begin_layout Plain Layout
13169 4.26
13170 \end_layout
13171
13172 \end_inset
13173 </cell>
13174 <cell alignment="center" valignment="top" usebox="none">
13175 \begin_inset Text
13176
13177 \begin_layout Plain Layout
13178 10.17
13179 \end_layout
13180
13181 \end_inset
13182 </cell>
13183 <cell alignment="center" valignment="top" usebox="none">
13184 \begin_inset Text
13185
13186 \begin_layout Plain Layout
13187 10.56
13188 \end_layout
13189
13190 \end_inset
13191 </cell>
13192 </row>
13193 <row topspace="default">
13194 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13195 \begin_inset Text
13196
13197 \begin_layout Plain Layout
13198 MTF at 
13199 \begin_inset Formula $f_{\mathrm{max}}$
13200 \end_inset
13201
13202
13203 \end_layout
13204
13205 \end_inset
13206 </cell>
13207 <cell alignment="center" valignment="top" usebox="none">
13208 \begin_inset Text
13209
13210 \begin_layout Plain Layout
13211 0.53
13212 \end_layout
13213
13214 \end_inset
13215 </cell>
13216 <cell alignment="center" valignment="top" usebox="none">
13217 \begin_inset Text
13218
13219 \begin_layout Plain Layout
13220 0.37
13221 \end_layout
13222
13223 \end_inset
13224 </cell>
13225 <cell alignment="center" valignment="top" usebox="none">
13226 \begin_inset Text
13227
13228 \begin_layout Plain Layout
13229 0.39
13230 \end_layout
13231
13232 \end_inset
13233 </cell>
13234 </row>
13235 <row topspace="default">
13236 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13237 \begin_inset Text
13238
13239 \begin_layout Plain Layout
13240 \begin_inset ERT
13241 status collapsed
13242
13243 \begin_layout Plain Layout
13244
13245
13246 \backslash
13247 cmidrule(l{10pt}){1-1}
13248 \end_layout
13249
13250 \end_inset
13251
13252 LSF-spatial resolution
13253 \end_layout
13254
13255 \end_inset
13256 </cell>
13257 <cell alignment="center" valignment="top" usebox="none">
13258 \begin_inset Text
13259
13260 \begin_layout Plain Layout
13261
13262 \end_layout
13263
13264 \end_inset
13265 </cell>
13266 <cell alignment="center" valignment="top" usebox="none">
13267 \begin_inset Text
13268
13269 \begin_layout Plain Layout
13270
13271 \end_layout
13272
13273 \end_inset
13274 </cell>
13275 <cell alignment="center" valignment="top" usebox="none">
13276 \begin_inset Text
13277
13278 \begin_layout Plain Layout
13279
13280 \end_layout
13281
13282 \end_inset
13283 </cell>
13284 </row>
13285 <row>
13286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13287 \begin_inset Text
13288
13289 \begin_layout Plain Layout
13290 in µm
13291 \end_layout
13292
13293 \end_inset
13294 </cell>
13295 <cell alignment="center" valignment="top" usebox="none">
13296 \begin_inset Text
13297
13298 \begin_layout Plain Layout
13299 129.7
13300 \end_layout
13301
13302 \end_inset
13303 </cell>
13304 <cell alignment="center" valignment="top" usebox="none">
13305 \begin_inset Text
13306
13307 \begin_layout Plain Layout
13308 52.75
13309 \end_layout
13310
13311 \end_inset
13312 </cell>
13313 <cell alignment="center" valignment="top" usebox="none">
13314 \begin_inset Text
13315
13316 \begin_layout Plain Layout
13317 50.78
13318 \end_layout
13319
13320 \end_inset
13321 </cell>
13322 </row>
13323 <row>
13324 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13325 \begin_inset Text
13326
13327 \begin_layout Plain Layout
13328 in % of pixel size
13329 \end_layout
13330
13331 \end_inset
13332 </cell>
13333 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13334 \begin_inset Text
13335
13336 \begin_layout Plain Layout
13337 76.3
13338 \end_layout
13339
13340 \end_inset
13341 </cell>
13342 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13343 \begin_inset Text
13344
13345 \begin_layout Plain Layout
13346 95.9
13347 \end_layout
13348
13349 \end_inset
13350 </cell>
13351 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13352 \begin_inset Text
13353
13354 \begin_layout Plain Layout
13355 92.3
13356 \end_layout
13357
13358 \end_inset
13359 </cell>
13360 </row>
13361 </lyxtabular>
13362
13363 \end_inset
13364
13365
13366 \end_layout
13367
13368 \end_inset
13369
13370
13371 \end_layout
13372
13373 \begin_layout Standard
13374 Spaces to table rows can be added using the 
13375 \family sans
13376 Borders
13377 \family default
13378  tab of the table dialog as described in section
13379 \begin_inset space ~
13380 \end_inset
13381
13382
13383 \begin_inset CommandInset ref
13384 LatexCommand ref
13385 reference "sub:Row-Spacing"
13386
13387 \end_inset
13388
13389 .
13390 \end_layout
13391
13392 \begin_layout Standard
13393 Unlike normal tables, formal tables have no vertical table lines.
13394  The horizontal table lines can be set as for normal tables but they appear
13395  with different widths in the output:
13396 \begin_inset Newline newline
13397 \end_inset
13398
13399 The first and the last table line have a default width of 0.08
13400 \begin_inset space \thinspace{}
13401 \end_inset
13402
13403 em while the other lines have a default width of 0.05
13404 \begin_inset space \thinspace{}
13405 \end_inset
13406
13407 em.
13408 \end_layout
13409
13410 \begin_layout Standard
13411 The default widths can be changed with the following preamble lines
13412 \end_layout
13413
13414 \begin_layout Standard
13415
13416 \series bold
13417
13418 \backslash
13419 let
13420 \backslash
13421 mytoprule
13422 \backslash
13423 toprule
13424 \begin_inset Newline newline
13425 \end_inset
13426
13427
13428 \backslash
13429 renewcommand{
13430 \backslash
13431 toprule}{
13432 \backslash
13433 mytoprule[width]}
13434 \end_layout
13435
13436 \begin_layout Standard
13437 This example is for the first line, the so called 
13438 \series bold
13439 toprule
13440 \series default
13441 .
13442  If you want to change the width for the last line, replace 
13443 \series bold
13444 toprule
13445 \series default
13446  by 
13447 \series bold
13448 bottomrule
13449 \series default
13450 .
13451  To change the width for the other lines replace 
13452 \series bold
13453 toprule
13454 \series default
13455  by 
13456 \series bold
13457 midrule
13458 \series default
13459 .
13460  You can use all units listed in appendix
13461 \begin_inset space ~
13462 \end_inset
13463
13464
13465 \begin_inset CommandInset ref
13466 LatexCommand ref
13467 reference "cha:Units-available-in"
13468
13469 \end_inset
13470
13471  to set the width.
13472 \end_layout
13473
13474 \begin_layout Standard
13475 Lines that do not span all table columns can be created by setting a table
13476  line for multicolumn cells.
13477  LyX will then internally use the command 
13478 \series bold
13479
13480 \backslash
13481 cmidrule
13482 \series default
13483  to create this line.
13484  Its full scheme is
13485 \end_layout
13486
13487 \begin_layout Standard
13488
13489 \series bold
13490
13491 \backslash
13492 cmidrule[width](trim){startcol-endcol}
13493 \end_layout
13494
13495 \begin_layout Standard
13496 The options of 
13497 \series bold
13498
13499 \backslash
13500 cmidrule
13501 \series default
13502  are currently not supported by LyX so you have to use TeX-Code to be able
13503  to use them.
13504  
13505 \series bold
13506
13507 \backslash
13508 cmidrule
13509 \series default
13510 s can manually be created by inserting the command as TeX-Code as the first
13511  cell entry of the first cell of a row.
13512  The line is then drawn in the output above the current row.
13513 \end_layout
13514
13515 \begin_layout Standard
13516 The default for the width is 0.03
13517 \begin_inset space \thinspace{}
13518 \end_inset
13519
13520 em.
13521  Startcol is the number of the column where the line starts and endcol the
13522  column number where the line ends.
13523  The endcol always needs to be specified, also when the line should span
13524  only one column.
13525  The optional parameter trim could be either 
13526 \emph on
13527 l{trimwidth}
13528 \emph default
13529 , or 
13530 \emph on
13531 r{trimwidth}
13532 \emph default
13533  where the trimwidth is also optional.
13534  Using for example the parameter 
13535 \emph on
13536 l{2pt}
13537 \emph default
13538  means that the line is trimmed from its left end by 2
13539 \begin_inset space \thinspace{}
13540 \end_inset
13541
13542 pt.
13543  If you don't specify the trimwidth the lines are trimmed by the default
13544  of 0.5
13545 \begin_inset space \thinspace{}
13546 \end_inset
13547
13548 em.
13549 \end_layout
13550
13551 \begin_layout Standard
13552 \begin_inset VSpace bigskip
13553 \end_inset
13554
13555 Table
13556 \begin_inset space ~
13557 \end_inset
13558
13559
13560 \begin_inset CommandInset ref
13561 LatexCommand ref
13562 reference "tab:Example-booktabs-table"
13563
13564 \end_inset
13565
13566  was created using the commands
13567 \end_layout
13568
13569 \begin_layout Standard
13570
13571 \series bold
13572
13573 \backslash
13574 cmidrule(r){2-2}
13575 \backslash
13576 cmidrule(l){3-4}
13577 \end_layout
13578
13579 \begin_layout Standard
13580 at the beginning of the second row and
13581 \end_layout
13582
13583 \begin_layout Standard
13584
13585 \series bold
13586
13587 \backslash
13588 cmidrule(l{10pt}){1-1}
13589 \end_layout
13590
13591 \begin_layout Standard
13592 in the sixth row.
13593 \end_layout
13594
13595 \begin_layout Standard
13596 \begin_inset VSpace bigskip
13597 \end_inset
13598
13599
13600 \end_layout
13601
13602 \begin_layout Standard
13603 You might want to have overlapping 
13604 \series bold
13605
13606 \backslash
13607 cmidrule
13608 \series default
13609 s as in in Table
13610 \begin_inset space ~
13611 \end_inset
13612
13613
13614 \begin_inset CommandInset ref
13615 LatexCommand ref
13616 reference "tab:Special-booktabs-table"
13617
13618 \end_inset
13619
13620 .
13621  This can be achieved with the TeX-Code command
13622 \end_layout
13623
13624 \begin_layout Standard
13625
13626 \series bold
13627
13628 \backslash
13629 morecmidrules
13630 \end_layout
13631
13632 \begin_layout Standard
13633 The command that was used for the second row of Table
13634 \begin_inset space ~
13635 \end_inset
13636
13637
13638 \begin_inset CommandInset ref
13639 LatexCommand ref
13640 reference "tab:Special-booktabs-table"
13641
13642 \end_inset
13643
13644  is
13645 \end_layout
13646
13647 \begin_layout Standard
13648
13649 \series bold
13650
13651 \backslash
13652 cmidrule(r){2-2}
13653 \backslash
13654 cmidrule(l){3-4}
13655 \backslash
13656 morecmidrules
13657 \backslash
13658 cmidrule{2-4}
13659 \end_layout
13660
13661 \begin_layout Standard
13662 The command for the sixth row is
13663 \end_layout
13664
13665 \begin_layout Standard
13666
13667 \series bold
13668
13669 \backslash
13670 midrule
13671 \backslash
13672 morecmidrules
13673 \backslash
13674 cmidrule{3-4}
13675 \end_layout
13676
13677 \begin_layout Standard
13678 \begin_inset VSpace bigskip
13679 \end_inset
13680
13681
13682 \end_layout
13683
13684 \begin_layout Standard
13685 If you are anyway not satisfied with the border line spacing, you can use
13686  the following command to produce lines that span over all table columns
13687 \series bold
13688 :
13689 \end_layout
13690
13691 \begin_layout Standard
13692
13693 \series bold
13694
13695 \backslash
13696 specialrule{width}{space above}{space below}
13697 \end_layout
13698
13699 \begin_layout Standard
13700 For more information about these features, refer to the manual of the LaTeX-pack
13701 age 
13702 \series bold
13703 booktabs
13704 \series default
13705  
13706 \begin_inset CommandInset citation
13707 LatexCommand cite
13708 key "booktabs"
13709
13710 \end_inset
13711
13712 .
13713 \begin_inset Index idx
13714 status collapsed
13715
13716 \begin_layout Plain Layout
13717 LaTeX-packages ! booktabs
13718 \end_layout
13719
13720 \end_inset
13721
13722
13723 \end_layout
13724
13725 \begin_layout Standard
13726 \begin_inset Float table
13727 placement h
13728 wide false
13729 sideways false
13730 status open
13731
13732 \begin_layout Plain Layout
13733 \begin_inset Caption
13734
13735 \begin_layout Plain Layout
13736 \begin_inset CommandInset label
13737 LatexCommand label
13738 name "tab:Special-booktabs-table"
13739
13740 \end_inset
13741
13742 Special booktabs-table
13743 \end_layout
13744
13745 \end_inset
13746
13747
13748 \end_layout
13749
13750 \begin_layout Plain Layout
13751 \align center
13752 \begin_inset Tabular
13753 <lyxtabular version="3" rows="8" columns="4">
13754 <features booktabs="true" tabularvalignment="middle">
13755 <column alignment="center" valignment="top" width="0">
13756 <column alignment="center" valignment="top" width="0">
13757 <column alignment="center" valignment="top" width="0">
13758 <column alignment="center" valignment="top" width="0">
13759 <row>
13760 <cell alignment="center" valignment="top" topline="true" usebox="none">
13761 \begin_inset Text
13762
13763 \begin_layout Plain Layout
13764 System
13765 \end_layout
13766
13767 \end_inset
13768 </cell>
13769 <cell alignment="center" valignment="top" topline="true" usebox="none">
13770 \begin_inset Text
13771
13772 \begin_layout Plain Layout
13773 Chip
13774 \begin_inset space \thinspace{}
13775 \end_inset
13776
13777 1
13778 \end_layout
13779
13780 \end_inset
13781 </cell>
13782 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13783 \begin_inset Text
13784
13785 \begin_layout Plain Layout
13786 Chip
13787 \begin_inset space \thinspace{}
13788 \end_inset
13789
13790 2
13791 \end_layout
13792
13793 \end_inset
13794 </cell>
13795 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13796 \begin_inset Text
13797
13798 \begin_layout Plain Layout
13799
13800 \end_layout
13801
13802 \end_inset
13803 </cell>
13804 </row>
13805 <row>
13806 <cell alignment="center" valignment="top" usebox="none">
13807 \begin_inset Text
13808
13809 \begin_layout Plain Layout
13810 \begin_inset ERT
13811 status collapsed
13812
13813 \begin_layout Plain Layout
13814
13815
13816 \backslash
13817 cmidrule(r){2-2}
13818 \end_layout
13819
13820 \end_inset
13821
13822
13823 \begin_inset ERT
13824 status collapsed
13825
13826 \begin_layout Plain Layout
13827
13828
13829 \backslash
13830 cmidrule(l){3-4}
13831 \end_layout
13832
13833 \end_inset
13834
13835
13836 \begin_inset ERT
13837 status collapsed
13838
13839 \begin_layout Plain Layout
13840
13841
13842 \backslash
13843 morecmidrules 
13844 \end_layout
13845
13846 \end_inset
13847
13848
13849 \begin_inset ERT
13850 status collapsed
13851
13852 \begin_layout Plain Layout
13853
13854
13855 \backslash
13856 cmidrule{2-4}
13857 \end_layout
13858
13859 \end_inset
13860
13861 Detector thickness in µm
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 <cell alignment="center" valignment="top" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Plain Layout
13870 300
13871 \end_layout
13872
13873 \end_inset
13874 </cell>
13875 <cell alignment="center" valignment="top" usebox="none">
13876 \begin_inset Text
13877
13878 \begin_layout Plain Layout
13879 300
13880 \end_layout
13881
13882 \end_inset
13883 </cell>
13884 <cell alignment="center" valignment="top" usebox="none">
13885 \begin_inset Text
13886
13887 \begin_layout Plain Layout
13888 700
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 </row>
13894 <row>
13895 <cell alignment="center" valignment="top" topline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Plain Layout
13899 Edge angle in °
13900 \end_layout
13901
13902 \end_inset
13903 </cell>
13904 <cell alignment="center" valignment="top" topline="true" usebox="none">
13905 \begin_inset Text
13906
13907 \begin_layout Plain Layout
13908 3.55
13909 \end_layout
13910
13911 \end_inset
13912 </cell>
13913 <cell alignment="center" valignment="top" topline="true" usebox="none">
13914 \begin_inset Text
13915
13916 \begin_layout Plain Layout
13917 2.71
13918 \end_layout
13919
13920 \end_inset
13921 </cell>
13922 <cell alignment="center" valignment="top" topline="true" usebox="none">
13923 \begin_inset Text
13924
13925 \begin_layout Plain Layout
13926 7.99
13927 \end_layout
13928
13929 \end_inset
13930 </cell>
13931 </row>
13932 <row topspace="default">
13933 <cell alignment="center" valignment="top" usebox="none">
13934 \begin_inset Text
13935
13936 \begin_layout Plain Layout
13937 Spatial resolution in µm
13938 \end_layout
13939
13940 \end_inset
13941 </cell>
13942 <cell alignment="center" valignment="top" usebox="none">
13943 \begin_inset Text
13944
13945 \begin_layout Plain Layout
13946 4.26
13947 \end_layout
13948
13949 \end_inset
13950 </cell>
13951 <cell alignment="center" valignment="top" usebox="none">
13952 \begin_inset Text
13953
13954 \begin_layout Plain Layout
13955 10.17
13956 \end_layout
13957
13958 \end_inset
13959 </cell>
13960 <cell alignment="center" valignment="top" usebox="none">
13961 \begin_inset Text
13962
13963 \begin_layout Plain Layout
13964 10.56
13965 \end_layout
13966
13967 \end_inset
13968 </cell>
13969 </row>
13970 <row topspace="default">
13971 <cell alignment="center" valignment="top" usebox="none">
13972 \begin_inset Text
13973
13974 \begin_layout Plain Layout
13975 MTF at 
13976 \begin_inset Formula $f_{\mathrm{max}}$
13977 \end_inset
13978
13979
13980 \end_layout
13981
13982 \end_inset
13983 </cell>
13984 <cell alignment="center" valignment="top" usebox="none">
13985 \begin_inset Text
13986
13987 \begin_layout Plain Layout
13988 0.53
13989 \end_layout
13990
13991 \end_inset
13992 </cell>
13993 <cell alignment="center" valignment="top" usebox="none">
13994 \begin_inset Text
13995
13996 \begin_layout Plain Layout
13997 0.37
13998 \end_layout
13999
14000 \end_inset
14001 </cell>
14002 <cell alignment="center" valignment="top" usebox="none">
14003 \begin_inset Text
14004
14005 \begin_layout Plain Layout
14006 0.39
14007 \end_layout
14008
14009 \end_inset
14010 </cell>
14011 </row>
14012 <row>
14013 <cell alignment="center" valignment="top" topline="true" usebox="none">
14014 \begin_inset Text
14015
14016 \begin_layout Plain Layout
14017 \begin_inset ERT
14018 status collapsed
14019
14020 \begin_layout Plain Layout
14021
14022
14023 \backslash
14024 morecmidrules 
14025 \end_layout
14026
14027 \end_inset
14028
14029
14030 \begin_inset ERT
14031 status collapsed
14032
14033 \begin_layout Plain Layout
14034
14035
14036 \backslash
14037 cmidrule{3-4}
14038 \end_layout
14039
14040 \end_inset
14041
14042 LSF-spatial resolution
14043 \end_layout
14044
14045 \end_inset
14046 </cell>
14047 <cell alignment="center" valignment="top" topline="true" usebox="none">
14048 \begin_inset Text
14049
14050 \begin_layout Plain Layout
14051
14052 \end_layout
14053
14054 \end_inset
14055 </cell>
14056 <cell alignment="center" valignment="top" topline="true" usebox="none">
14057 \begin_inset Text
14058
14059 \begin_layout Plain Layout
14060
14061 \end_layout
14062
14063 \end_inset
14064 </cell>
14065 <cell alignment="center" valignment="top" topline="true" usebox="none">
14066 \begin_inset Text
14067
14068 \begin_layout Plain Layout
14069
14070 \end_layout
14071
14072 \end_inset
14073 </cell>
14074 </row>
14075 <row>
14076 <cell alignment="center" valignment="top" usebox="none">
14077 \begin_inset Text
14078
14079 \begin_layout Plain Layout
14080 in µm
14081 \end_layout
14082
14083 \end_inset
14084 </cell>
14085 <cell alignment="center" valignment="top" usebox="none">
14086 \begin_inset Text
14087
14088 \begin_layout Plain Layout
14089 129.7
14090 \end_layout
14091
14092 \end_inset
14093 </cell>
14094 <cell alignment="center" valignment="top" usebox="none">
14095 \begin_inset Text
14096
14097 \begin_layout Plain Layout
14098 52.75
14099 \end_layout
14100
14101 \end_inset
14102 </cell>
14103 <cell alignment="center" valignment="top" usebox="none">
14104 \begin_inset Text
14105
14106 \begin_layout Plain Layout
14107 50.78
14108 \end_layout
14109
14110 \end_inset
14111 </cell>
14112 </row>
14113 <row>
14114 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14115 \begin_inset Text
14116
14117 \begin_layout Plain Layout
14118 in % of pixel size
14119 \end_layout
14120
14121 \end_inset
14122 </cell>
14123 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14124 \begin_inset Text
14125
14126 \begin_layout Plain Layout
14127 76.3
14128 \end_layout
14129
14130 \end_inset
14131 </cell>
14132 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14133 \begin_inset Text
14134
14135 \begin_layout Plain Layout
14136 95.9
14137 \end_layout
14138
14139 \end_inset
14140 </cell>
14141 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14142 \begin_inset Text
14143
14144 \begin_layout Plain Layout
14145 92.3
14146 \end_layout
14147
14148 \end_inset
14149 </cell>
14150 </row>
14151 </lyxtabular>
14152
14153 \end_inset
14154
14155
14156 \end_layout
14157
14158 \end_inset
14159
14160
14161 \end_layout
14162
14163 \begin_layout Section
14164 Vertical Table Alignment
14165 \begin_inset Index idx
14166 status collapsed
14167
14168 \begin_layout Plain Layout
14169 Table ! Alignment
14170 \end_layout
14171
14172 \end_inset
14173
14174
14175 \end_layout
14176
14177 \begin_layout Standard
14178 To align tables vertically in a text line the table must be inside a box.
14179  The box can then be vertically aligned as described in section
14180 \begin_inset space ~
14181 \end_inset
14182
14183
14184 \begin_inset CommandInset ref
14185 LatexCommand ref
14186 reference "sec:Box-Dialog"
14187
14188 \end_inset
14189
14190 .
14191 \end_layout
14192
14193 \begin_layout Standard
14194 In the following example the tables are inside a minipage
14195 \begin_inset Foot
14196 status collapsed
14197
14198 \begin_layout Plain Layout
14199 Minipages are described in section
14200 \begin_inset space ~
14201 \end_inset
14202
14203
14204 \begin_inset CommandInset ref
14205 LatexCommand ref
14206 reference "sec:Minipages"
14207
14208 \end_inset
14209
14210 .
14211 \end_layout
14212
14213 \end_inset
14214
14215  box that has a width of 15
14216 \begin_inset space \thinspace{}
14217 \end_inset
14218
14219 col%:
14220 \end_layout
14221
14222 \begin_layout Itemize
14223 test 
14224 \begin_inset Box Frameless
14225 position "t"
14226 hor_pos "c"
14227 has_inner_box 1
14228 inner_pos "c"
14229 use_parbox 0
14230 use_makebox 0
14231 width "15col%"
14232 special "none"
14233 height "1in"
14234 height_special "totalheight"
14235 status collapsed
14236
14237 \begin_layout Plain Layout
14238 \begin_inset Tabular
14239 <lyxtabular version="3" rows="3" columns="3">
14240 <features tabularvalignment="middle">
14241 <column alignment="center" valignment="top" width="0">
14242 <column alignment="center" valignment="top" width="0">
14243 <column alignment="center" valignment="top" width="0">
14244 <row>
14245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14246 \begin_inset Text
14247
14248 \begin_layout Plain Layout
14249 a
14250 \end_layout
14251
14252 \end_inset
14253 </cell>
14254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14255 \begin_inset Text
14256
14257 \begin_layout Plain Layout
14258 d
14259 \end_layout
14260
14261 \end_inset
14262 </cell>
14263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14264 \begin_inset Text
14265
14266 \begin_layout Plain Layout
14267 g
14268 \end_layout
14269
14270 \end_inset
14271 </cell>
14272 </row>
14273 <row>
14274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14275 \begin_inset Text
14276
14277 \begin_layout Plain Layout
14278 b
14279 \end_layout
14280
14281 \end_inset
14282 </cell>
14283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14284 \begin_inset Text
14285
14286 \begin_layout Plain Layout
14287 e
14288 \end_layout
14289
14290 \end_inset
14291 </cell>
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14293 \begin_inset Text
14294
14295 \begin_layout Plain Layout
14296 h
14297 \end_layout
14298
14299 \end_inset
14300 </cell>
14301 </row>
14302 <row>
14303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14304 \begin_inset Text
14305
14306 \begin_layout Plain Layout
14307 c
14308 \end_layout
14309
14310 \end_inset
14311 </cell>
14312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14313 \begin_inset Text
14314
14315 \begin_layout Plain Layout
14316 f
14317 \end_layout
14318
14319 \end_inset
14320 </cell>
14321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14322 \begin_inset Text
14323
14324 \begin_layout Plain Layout
14325 i
14326 \end_layout
14327
14328 \end_inset
14329 </cell>
14330 </row>
14331 </lyxtabular>
14332
14333 \end_inset
14334
14335
14336 \end_layout
14337
14338 \end_inset
14339
14340  test 
14341 \begin_inset ERT
14342 status collapsed
14343
14344 \begin_layout Plain Layout
14345
14346
14347 \backslash
14348 raisebox{0.85
14349 \backslash
14350 baselineskip}{
14351 \end_layout
14352
14353 \end_inset
14354
14355
14356 \begin_inset Box Frameless
14357 position "t"
14358 hor_pos "c"
14359 has_inner_box 1
14360 inner_pos "c"
14361 use_parbox 0
14362 use_makebox 0
14363 width "15col%"
14364 special "none"
14365 height "1in"
14366 height_special "totalheight"
14367 status collapsed
14368
14369 \begin_layout Plain Layout
14370 \begin_inset Tabular
14371 <lyxtabular version="3" rows="3" columns="3">
14372 <features tabularvalignment="middle">
14373 <column alignment="center" valignment="top" width="0">
14374 <column alignment="center" valignment="top" width="0">
14375 <column alignment="center" valignment="top" width="0">
14376 <row>
14377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14378 \begin_inset Text
14379
14380 \begin_layout Plain Layout
14381 a
14382 \end_layout
14383
14384 \end_inset
14385 </cell>
14386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14387 \begin_inset Text
14388
14389 \begin_layout Plain Layout
14390 d
14391 \end_layout
14392
14393 \end_inset
14394 </cell>
14395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14396 \begin_inset Text
14397
14398 \begin_layout Plain Layout
14399 g
14400 \end_layout
14401
14402 \end_inset
14403 </cell>
14404 </row>
14405 <row>
14406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14407 \begin_inset Text
14408
14409 \begin_layout Plain Layout
14410 b
14411 \end_layout
14412
14413 \end_inset
14414 </cell>
14415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14416 \begin_inset Text
14417
14418 \begin_layout Plain Layout
14419 e
14420 \end_layout
14421
14422 \end_inset
14423 </cell>
14424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14425 \begin_inset Text
14426
14427 \begin_layout Plain Layout
14428 h
14429 \end_layout
14430
14431 \end_inset
14432 </cell>
14433 </row>
14434 <row>
14435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14436 \begin_inset Text
14437
14438 \begin_layout Plain Layout
14439 c
14440 \end_layout
14441
14442 \end_inset
14443 </cell>
14444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14445 \begin_inset Text
14446
14447 \begin_layout Plain Layout
14448 f
14449 \end_layout
14450
14451 \end_inset
14452 </cell>
14453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14454 \begin_inset Text
14455
14456 \begin_layout Plain Layout
14457 i
14458 \end_layout
14459
14460 \end_inset
14461 </cell>
14462 </row>
14463 </lyxtabular>
14464
14465 \end_inset
14466
14467
14468 \end_layout
14469
14470 \end_inset
14471
14472
14473 \begin_inset ERT
14474 status collapsed
14475
14476 \begin_layout Plain Layout
14477
14478 }
14479 \end_layout
14480
14481 \end_inset
14482
14483
14484 \end_layout
14485
14486 \begin_layout Itemize
14487 test 
14488 \begin_inset Box Frameless
14489 position "c"
14490 hor_pos "c"
14491 has_inner_box 1
14492 inner_pos "c"
14493 use_parbox 0
14494 use_makebox 0
14495 width "15col%"
14496 special "none"
14497 height "1in"
14498 height_special "totalheight"
14499 status collapsed
14500
14501 \begin_layout Plain Layout
14502 \begin_inset Tabular
14503 <lyxtabular version="3" rows="3" columns="3">
14504 <features tabularvalignment="middle">
14505 <column alignment="center" valignment="top" width="0">
14506 <column alignment="center" valignment="top" width="0">
14507 <column alignment="center" valignment="top" width="0">
14508 <row>
14509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14510 \begin_inset Text
14511
14512 \begin_layout Plain Layout
14513 a
14514 \end_layout
14515
14516 \end_inset
14517 </cell>
14518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14519 \begin_inset Text
14520
14521 \begin_layout Plain Layout
14522 d
14523 \end_layout
14524
14525 \end_inset
14526 </cell>
14527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14528 \begin_inset Text
14529
14530 \begin_layout Plain Layout
14531 g
14532 \end_layout
14533
14534 \end_inset
14535 </cell>
14536 </row>
14537 <row>
14538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14539 \begin_inset Text
14540
14541 \begin_layout Plain Layout
14542 b
14543 \end_layout
14544
14545 \end_inset
14546 </cell>
14547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14548 \begin_inset Text
14549
14550 \begin_layout Plain Layout
14551 e
14552 \end_layout
14553
14554 \end_inset
14555 </cell>
14556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14557 \begin_inset Text
14558
14559 \begin_layout Plain Layout
14560 h
14561 \end_layout
14562
14563 \end_inset
14564 </cell>
14565 </row>
14566 <row>
14567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14568 \begin_inset Text
14569
14570 \begin_layout Plain Layout
14571 c
14572 \end_layout
14573
14574 \end_inset
14575 </cell>
14576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14577 \begin_inset Text
14578
14579 \begin_layout Plain Layout
14580 f
14581 \end_layout
14582
14583 \end_inset
14584 </cell>
14585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14586 \begin_inset Text
14587
14588 \begin_layout Plain Layout
14589 i
14590 \end_layout
14591
14592 \end_inset
14593 </cell>
14594 </row>
14595 </lyxtabular>
14596
14597 \end_inset
14598
14599
14600 \end_layout
14601
14602 \end_inset
14603
14604
14605 \end_layout
14606
14607 \begin_layout Itemize
14608 test 
14609 \begin_inset Box Frameless
14610 position "b"
14611 hor_pos "c"
14612 has_inner_box 1
14613 inner_pos "c"
14614 use_parbox 0
14615 use_makebox 0
14616 width "15col%"
14617 special "none"
14618 height "1in"
14619 height_special "totalheight"
14620 status collapsed
14621
14622 \begin_layout Plain Layout
14623 \begin_inset Tabular
14624 <lyxtabular version="3" rows="3" columns="3">
14625 <features tabularvalignment="middle">
14626 <column alignment="center" valignment="top" width="0">
14627 <column alignment="center" valignment="top" width="0">
14628 <column alignment="center" valignment="top" width="0">
14629 <row>
14630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14631 \begin_inset Text
14632
14633 \begin_layout Plain Layout
14634 a
14635 \end_layout
14636
14637 \end_inset
14638 </cell>
14639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14640 \begin_inset Text
14641
14642 \begin_layout Plain Layout
14643 d
14644 \end_layout
14645
14646 \end_inset
14647 </cell>
14648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14649 \begin_inset Text
14650
14651 \begin_layout Plain Layout
14652 g
14653 \end_layout
14654
14655 \end_inset
14656 </cell>
14657 </row>
14658 <row>
14659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14660 \begin_inset Text
14661
14662 \begin_layout Plain Layout
14663 b
14664 \end_layout
14665
14666 \end_inset
14667 </cell>
14668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14669 \begin_inset Text
14670
14671 \begin_layout Plain Layout
14672 e
14673 \end_layout
14674
14675 \end_inset
14676 </cell>
14677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14678 \begin_inset Text
14679
14680 \begin_layout Plain Layout
14681 h
14682 \end_layout
14683
14684 \end_inset
14685 </cell>
14686 </row>
14687 <row>
14688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14689 \begin_inset Text
14690
14691 \begin_layout Plain Layout
14692 c
14693 \end_layout
14694
14695 \end_inset
14696 </cell>
14697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14698 \begin_inset Text
14699
14700 \begin_layout Plain Layout
14701 f
14702 \end_layout
14703
14704 \end_inset
14705 </cell>
14706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14707 \begin_inset Text
14708
14709 \begin_layout Plain Layout
14710 i
14711 \end_layout
14712
14713 \end_inset
14714 </cell>
14715 </row>
14716 </lyxtabular>
14717
14718 \end_inset
14719
14720
14721 \end_layout
14722
14723 \end_inset
14724
14725  test 
14726 \begin_inset ERT
14727 status collapsed
14728
14729 \begin_layout Plain Layout
14730
14731
14732 \backslash
14733 raisebox{-0.32
14734 \backslash
14735 baselineskip}{
14736 \end_layout
14737
14738 \end_inset
14739
14740
14741 \begin_inset Box Frameless
14742 position "b"
14743 hor_pos "c"
14744 has_inner_box 1
14745 inner_pos "c"
14746 use_parbox 0
14747 use_makebox 0
14748 width "15col%"
14749 special "none"
14750 height "1in"
14751 height_special "totalheight"
14752 status collapsed
14753
14754 \begin_layout Plain Layout
14755 \begin_inset Tabular
14756 <lyxtabular version="3" rows="3" columns="3">
14757 <features tabularvalignment="middle">
14758 <column alignment="center" valignment="top" width="0">
14759 <column alignment="center" valignment="top" width="0">
14760 <column alignment="center" valignment="top" width="0">
14761 <row>
14762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14763 \begin_inset Text
14764
14765 \begin_layout Plain Layout
14766 a
14767 \end_layout
14768
14769 \end_inset
14770 </cell>
14771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14772 \begin_inset Text
14773
14774 \begin_layout Plain Layout
14775 d
14776 \end_layout
14777
14778 \end_inset
14779 </cell>
14780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14781 \begin_inset Text
14782
14783 \begin_layout Plain Layout
14784 g
14785 \end_layout
14786
14787 \end_inset
14788 </cell>
14789 </row>
14790 <row>
14791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14792 \begin_inset Text
14793
14794 \begin_layout Plain Layout
14795 b
14796 \end_layout
14797
14798 \end_inset
14799 </cell>
14800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14801 \begin_inset Text
14802
14803 \begin_layout Plain Layout
14804 e
14805 \end_layout
14806
14807 \end_inset
14808 </cell>
14809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14810 \begin_inset Text
14811
14812 \begin_layout Plain Layout
14813 h
14814 \end_layout
14815
14816 \end_inset
14817 </cell>
14818 </row>
14819 <row>
14820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14821 \begin_inset Text
14822
14823 \begin_layout Plain Layout
14824 c
14825 \end_layout
14826
14827 \end_inset
14828 </cell>
14829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14830 \begin_inset Text
14831
14832 \begin_layout Plain Layout
14833 f
14834 \end_layout
14835
14836 \end_inset
14837 </cell>
14838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14839 \begin_inset Text
14840
14841 \begin_layout Plain Layout
14842 i
14843 \end_layout
14844
14845 \end_inset
14846 </cell>
14847 </row>
14848 </lyxtabular>
14849
14850 \end_inset
14851
14852
14853 \end_layout
14854
14855 \end_inset
14856
14857
14858 \begin_inset ERT
14859 status collapsed
14860
14861 \begin_layout Plain Layout
14862
14863 }
14864 \end_layout
14865
14866 \end_inset
14867
14868
14869 \end_layout
14870
14871 \begin_layout Standard
14872 As you will see, the content of the first and last table row is not correctly
14873  aligned.
14874  To get this alignment, the minipage box must be set into a raisebox
14875 \begin_inset Foot
14876 status collapsed
14877
14878 \begin_layout Plain Layout
14879 Raiseboxes are described in section
14880 \begin_inset space ~
14881 \end_inset
14882
14883
14884 \begin_inset CommandInset ref
14885 LatexCommand ref
14886 reference "sub:Vertical-Alignment"
14887
14888 \end_inset
14889
14890 .
14891 \end_layout
14892
14893 \end_inset
14894
14895 .
14896  In the example above the second table in the first item is aligned using
14897  the TeX-Code-command
14898 \end_layout
14899
14900 \begin_layout Standard
14901
14902 \series bold
14903
14904 \backslash
14905 raisebox{0.85
14906 \backslash
14907 baselineskip}{
14908 \end_layout
14909
14910 \begin_layout Standard
14911 before the box.
14912  After the box the closing brace 
14913 \series bold
14914 }
14915 \series default
14916  is inserted as TeX-Code.
14917  For the second table in the last item the command
14918 \end_layout
14919
14920 \begin_layout Standard
14921
14922 \series bold
14923
14924 \backslash
14925 raisebox{-0.32
14926 \backslash
14927 baselineskip}{
14928 \end_layout
14929
14930 \begin_layout Standard
14931 is used.
14932 \end_layout
14933
14934 \begin_layout Standard
14935 \begin_inset Note Greyedout
14936 status open
14937
14938 \begin_layout Plain Layout
14939
14940 \series bold
14941 Note:
14942 \series default
14943  The alignment of the table row content to the surrounding text line is
14944  not exact.
14945  The required value for the 
14946 \series bold
14947
14948 \backslash
14949 raisebox
14950 \series default
14951  command for this alignment depends on the document font, the font size,
14952  and the table line thickness.
14953 \end_layout
14954
14955 \end_inset
14956
14957
14958 \end_layout
14959
14960 \begin_layout Section
14961 Colored Tables
14962 \begin_inset CommandInset label
14963 LatexCommand label
14964 name "sec:Colored-Tables"
14965
14966 \end_inset
14967
14968
14969 \begin_inset Index idx
14970 status collapsed
14971
14972 \begin_layout Plain Layout
14973 Table ! Color
14974 \end_layout
14975
14976 \end_inset
14977
14978
14979 \end_layout
14980
14981 \begin_layout Subsection
14982 Colored Cells
14983 \begin_inset Index idx
14984 status collapsed
14985
14986 \begin_layout Plain Layout
14987 Table Color ! for Cells
14988 \end_layout
14989
14990 \end_inset
14991
14992
14993 \begin_inset Index idx
14994 status collapsed
14995
14996 \begin_layout Plain Layout
14997 Color ! for Table Cells
14998 \end_layout
14999
15000 \end_inset
15001
15002
15003 \end_layout
15004
15005 \begin_layout Standard
15006 \begin_inset Float table
15007 placement h
15008 wide false
15009 sideways false
15010 status open
15011
15012 \begin_layout Plain Layout
15013 \begin_inset Caption
15014
15015 \begin_layout Plain Layout
15016 \begin_inset CommandInset label
15017 LatexCommand label
15018 name "tab:Table-colored-without"
15019
15020 \end_inset
15021
15022 Table colored without using the package 
15023 \series bold
15024 colortbl
15025 \series default
15026
15027 \begin_inset Argument
15028 status collapsed
15029
15030 \begin_layout Plain Layout
15031 Table without colortbl
15032 \end_layout
15033
15034 \end_inset
15035
15036
15037 \end_layout
15038
15039 \end_inset
15040
15041
15042 \end_layout
15043
15044 \begin_layout Plain Layout
15045 \align center
15046 \begin_inset Tabular
15047 <lyxtabular version="3" rows="3" columns="3">
15048 <features tabularvalignment="middle">
15049 <column alignment="center" valignment="top" width="0">
15050 <column alignment="center" valignment="top" width="0">
15051 <column alignment="center" valignment="top" width="0">
15052 <row>
15053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15054 \begin_inset Text
15055
15056 \begin_layout Plain Layout
15057
15058 \color green
15059 a
15060 \end_layout
15061
15062 \end_inset
15063 </cell>
15064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15065 \begin_inset Text
15066
15067 \begin_layout Plain Layout
15068
15069 \color red
15070 b
15071 \end_layout
15072
15073 \end_inset
15074 </cell>
15075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15076 \begin_inset Text
15077
15078 \begin_layout Plain Layout
15079
15080 \color red
15081 c
15082 \end_layout
15083
15084 \end_inset
15085 </cell>
15086 </row>
15087 <row>
15088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15089 \begin_inset Text
15090
15091 \begin_layout Plain Layout
15092
15093 \color green
15094 d
15095 \end_layout
15096
15097 \end_inset
15098 </cell>
15099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15100 \begin_inset Text
15101
15102 \begin_layout Plain Layout
15103
15104 \color blue
15105 e
15106 \end_layout
15107
15108 \end_inset
15109 </cell>
15110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15111 \begin_inset Text
15112
15113 \begin_layout Plain Layout
15114
15115 \color blue
15116 f
15117 \end_layout
15118
15119 \end_inset
15120 </cell>
15121 </row>
15122 <row>
15123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15124 \begin_inset Text
15125
15126 \begin_layout Plain Layout
15127
15128 \color green
15129 g
15130 \end_layout
15131
15132 \end_inset
15133 </cell>
15134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15135 \begin_inset Text
15136
15137 \begin_layout Plain Layout
15138
15139 \color blue
15140 h
15141 \end_layout
15142
15143 \end_inset
15144 </cell>
15145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_inset Text
15147
15148 \begin_layout Plain Layout
15149
15150 \color blue
15151 i
15152 \end_layout
15153
15154 \end_inset
15155 </cell>
15156 </row>
15157 </lyxtabular>
15158
15159 \end_inset
15160
15161
15162 \end_layout
15163
15164 \end_inset
15165
15166
15167 \end_layout
15168
15169 \begin_layout Standard
15170 If you only need colored text, mark the cells and choose a color in the
15171  menu 
15172 \family sans
15173 Edit\SpecialChar \menuseparator
15174 Text
15175 \begin_inset space ~
15176 \end_inset
15177
15178 Style
15179 \family default
15180 .
15181  This was used to create Table
15182 \begin_inset space ~
15183 \end_inset
15184
15185
15186 \begin_inset CommandInset ref
15187 LatexCommand ref
15188 reference "tab:Table-colored-without"
15189
15190 \end_inset
15191
15192 .
15193  In any other case you have to use the LaTeX-package 
15194 \series bold
15195 colortbl
15196 \series default
15197 .
15198 \begin_inset Index idx
15199 status collapsed
15200
15201 \begin_layout Plain Layout
15202 LaTeX-packages ! colortbl
15203 \end_layout
15204
15205 \end_inset
15206
15207
15208 \end_layout
15209
15210 \begin_layout Standard
15211 \begin_inset ERT
15212 status collapsed
15213
15214 \begin_layout Plain Layout
15215
15216
15217 \backslash
15218 ifcolortbl
15219 \end_layout
15220
15221 \end_inset
15222
15223
15224 \begin_inset Note Note
15225 status open
15226
15227 \begin_layout Plain Layout
15228 The following section part will only be displayed when the LaTeX-package
15229  
15230 \series bold
15231 colortbl
15232 \series default
15233  is installed.
15234 \end_layout
15235
15236 \end_inset
15237
15238
15239 \end_layout
15240
15241 \begin_layout Standard
15242 To create colored tables, 
15243 \series bold
15244 colortbl
15245 \series default
15246  must be loaded in the preamble with the line
15247 \end_layout
15248
15249 \begin_layout Standard
15250
15251 \series bold
15252
15253 \backslash
15254 usepackage{colortbl}
15255 \end_layout
15256
15257 \begin_layout Standard
15258 The color of a column is adjusted with the command
15259 \end_layout
15260
15261 \begin_layout Standard
15262
15263 \series bold
15264
15265 \backslash
15266 columncolor{name of color}
15267 \end_layout
15268
15269 \begin_layout Standard
15270 inside the command 
15271 \series bold
15272 >{ }
15273 \series default
15274 .
15275  More about the command 
15276 \series bold
15277 >{}
15278 \series default
15279  is contained in section
15280 \begin_inset space ~
15281 \end_inset
15282
15283
15284 \begin_inset CommandInset ref
15285 LatexCommand ref
15286 reference "sub:Multicolumn-Calculations"
15287
15288 \end_inset
15289
15290 .
15291 \end_layout
15292
15293 \begin_layout Standard
15294 The following color names are predefined:
15295 \end_layout
15296
15297 \begin_layout Standard
15298
15299 \family sans
15300 red
15301 \family default
15302
15303 \family sans
15304 green
15305 \family default
15306
15307 \family sans
15308 yellow
15309 \family default
15310
15311 \family sans
15312 blue
15313 \family default
15314
15315 \family sans
15316 cyan
15317 \family default
15318
15319 \family sans
15320 magenta
15321 \family default
15322
15323 \family sans
15324 black
15325 \family default
15326  and 
15327 \family sans
15328 white
15329 \end_layout
15330
15331 \begin_layout Standard
15332 \begin_inset VSpace medskip
15333 \end_inset
15334
15335
15336 \end_layout
15337
15338 \begin_layout Standard
15339 You can also define your own color with the command
15340 \end_layout
15341
15342 \begin_layout Standard
15343
15344 \series bold
15345
15346 \backslash
15347 definecolor{color name}{color model}{color values}
15348 \end_layout
15349
15350 \begin_layout Standard
15351 The color model can be
15352 \end_layout
15353
15354 \begin_layout Labeling
15355 \labelwidthstring 00.00.0000
15356 cmyk: cyan, magenta, yellow, black
15357 \end_layout
15358
15359 \begin_layout Labeling
15360 \labelwidthstring 00.00.0000
15361 rgb: red, green blue
15362 \end_layout
15363
15364 \begin_layout Labeling
15365 \labelwidthstring 00.00.0000
15366 gray gray
15367 \end_layout
15368
15369 \begin_layout Standard
15370 and the color values are comma separated numbers between 0 and 1 describing
15371  the factor for the corresponding color of the color model.
15372 \end_layout
15373
15374 \begin_layout Standard
15375 You can e.
15376 \begin_inset space \thinspace{}
15377 \end_inset
15378
15379 g.
15380 \begin_inset space \space{}
15381 \end_inset
15382
15383 define the color "
15384 \emph on
15385 darkgreen
15386 \emph default
15387 " in the preamble with
15388 \end_layout
15389
15390 \begin_layout Standard
15391
15392 \series bold
15393
15394 \backslash
15395 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15396 \end_layout
15397
15398 \begin_layout Standard
15399 and the color "
15400 \emph on
15401 lightgray
15402 \emph default
15403 " with
15404 \end_layout
15405
15406 \begin_layout Standard
15407
15408 \series bold
15409
15410 \backslash
15411 definecolor{lightgray}{gray}{0.8}
15412 \end_layout
15413
15414 \begin_layout Standard
15415 \begin_inset VSpace medskip
15416 \end_inset
15417
15418
15419 \end_layout
15420
15421 \begin_layout Standard
15422 Lines are colored with the command
15423 \end_layout
15424
15425 \begin_layout Standard
15426
15427 \series bold
15428
15429 \backslash
15430 rowcolor{name of color}
15431 \end_layout
15432
15433 \begin_layout Standard
15434 and cells are colored with the command
15435 \end_layout
15436
15437 \begin_layout Standard
15438
15439 \series bold
15440
15441 \backslash
15442 cellcolor{name of color}
15443 \end_layout
15444
15445 \begin_layout Standard
15446 Both commands are inserted at the beginning of a cell as TeX-Code.
15447 \end_layout
15448
15449 \begin_layout Standard
15450 To color characters in the table, mark the cells and use the LyX menu 
15451 \family sans
15452 Edit\SpecialChar \menuseparator
15453 Text
15454 \begin_inset space ~
15455 \end_inset
15456
15457 Style
15458 \family default
15459 .
15460  If a cell contains TeX-Code mark only the characters, otherwise the colored
15461  TeX-Code will cause LaTeX-errors.
15462 \end_layout
15463
15464 \begin_layout Standard
15465 \begin_inset Note Greyedout
15466 status open
15467
15468 \begin_layout Plain Layout
15469
15470 \series bold
15471 Note:
15472 \series default
15473  Not all DVI-viewers are able to display self-defined colors.
15474 \end_layout
15475
15476 \end_inset
15477
15478
15479 \end_layout
15480
15481 \begin_layout Standard
15482 \begin_inset VSpace bigskip
15483 \end_inset
15484
15485
15486 \end_layout
15487
15488 \begin_layout Standard
15489 To create Table
15490 \begin_inset space ~
15491 \end_inset
15492
15493
15494 \begin_inset CommandInset ref
15495 LatexCommand ref
15496 reference "tab:Table-colored-using"
15497
15498 \end_inset
15499
15500  do the following: The color of the first column should be 
15501 \emph on
15502 darkgreen
15503 \emph default
15504 .
15505  So insert
15506 \end_layout
15507
15508 \begin_layout Standard
15509
15510 \series bold
15511 >{
15512 \backslash
15513 columncolor{darkgreen}
15514 \backslash
15515 centering}c
15516 \end_layout
15517
15518 \begin_layout Standard
15519 as LaTeX-argument for this column.
15520  The first row should be blue, therefore the TeX-Code command
15521 \end_layout
15522
15523 \begin_layout Standard
15524
15525 \series bold
15526
15527 \backslash
15528 rowcolor{cyan}
15529 \end_layout
15530
15531 \begin_layout Standard
15532 is inserted to the first cell of this row.
15533  Note that this overwrites the column color for the first cell.
15534  The last cell of the last row is colored magenta by inserting the TeX-Code
15535  command
15536 \end_layout
15537
15538 \begin_layout Standard
15539
15540 \series bold
15541
15542 \backslash
15543 cellcolor{magenta}
15544 \end_layout
15545
15546 \begin_layout Standard
15547 The characters could now be colored using the menu 
15548 \family sans
15549 Edit\SpecialChar \menuseparator
15550 Text
15551 \begin_inset space ~
15552 \end_inset
15553
15554 Style
15555 \family default
15556 .
15557 \end_layout
15558
15559 \begin_layout Standard
15560 \begin_inset Float table
15561 placement h
15562 wide false
15563 sideways false
15564 status open
15565
15566 \begin_layout Plain Layout
15567 \begin_inset Caption
15568
15569 \begin_layout Plain Layout
15570 \begin_inset CommandInset label
15571 LatexCommand label
15572 name "tab:Table-colored-using"
15573
15574 \end_inset
15575
15576 Table colored using the package 
15577 \series bold
15578 colortbl
15579 \series default
15580
15581 \begin_inset Argument
15582 status collapsed
15583
15584 \begin_layout Plain Layout
15585 Table with colortbl
15586 \end_layout
15587
15588 \end_inset
15589
15590
15591 \end_layout
15592
15593 \end_inset
15594
15595
15596 \end_layout
15597
15598 \begin_layout Plain Layout
15599 \align center
15600 \begin_inset Tabular
15601 <lyxtabular version="3" rows="3" columns="3">
15602 <features tabularvalignment="middle">
15603 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15604 <column alignment="center" valignment="top" width="0">
15605 <column alignment="center" valignment="top" width="0">
15606 <row>
15607 <cell alignment="center" valignment="top" usebox="none">
15608 \begin_inset Text
15609
15610 \begin_layout Plain Layout
15611 \begin_inset ERT
15612 status collapsed
15613
15614 \begin_layout Plain Layout
15615
15616
15617 \backslash
15618 rowcolor{cyan}
15619 \end_layout
15620
15621 \end_inset
15622
15623
15624 \color magenta
15625 a
15626 \end_layout
15627
15628 \end_inset
15629 </cell>
15630 <cell alignment="center" valignment="top" usebox="none">
15631 \begin_inset Text
15632
15633 \begin_layout Plain Layout
15634
15635 \color red
15636 b
15637 \end_layout
15638
15639 \end_inset
15640 </cell>
15641 <cell alignment="center" valignment="top" usebox="none">
15642 \begin_inset Text
15643
15644 \begin_layout Plain Layout
15645
15646 \color red
15647 c
15648 \end_layout
15649
15650 \end_inset
15651 </cell>
15652 </row>
15653 <row>
15654 <cell alignment="center" valignment="top" usebox="none">
15655 \begin_inset Text
15656
15657 \begin_layout Plain Layout
15658
15659 \color yellow
15660 d
15661 \end_layout
15662
15663 \end_inset
15664 </cell>
15665 <cell alignment="center" valignment="top" usebox="none">
15666 \begin_inset Text
15667
15668 \begin_layout Plain Layout
15669
15670 \color blue
15671 e
15672 \end_layout
15673
15674 \end_inset
15675 </cell>
15676 <cell alignment="center" valignment="top" usebox="none">
15677 \begin_inset Text
15678
15679 \begin_layout Plain Layout
15680
15681 \color blue
15682 f
15683 \end_layout
15684
15685 \end_inset
15686 </cell>
15687 </row>
15688 <row>
15689 <cell alignment="center" valignment="top" usebox="none">
15690 \begin_inset Text
15691
15692 \begin_layout Plain Layout
15693
15694 \color yellow
15695 g
15696 \end_layout
15697
15698 \end_inset
15699 </cell>
15700 <cell alignment="center" valignment="top" usebox="none">
15701 \begin_inset Text
15702
15703 \begin_layout Plain Layout
15704
15705 \color blue
15706 h
15707 \end_layout
15708
15709 \end_inset
15710 </cell>
15711 <cell alignment="center" valignment="top" usebox="none">
15712 \begin_inset Text
15713
15714 \begin_layout Plain Layout
15715 \begin_inset ERT
15716 status collapsed
15717
15718 \begin_layout Plain Layout
15719
15720
15721 \backslash
15722 cellcolor{magenta}
15723 \end_layout
15724
15725 \end_inset
15726
15727
15728 \color green
15729 i
15730 \end_layout
15731
15732 \end_inset
15733 </cell>
15734 </row>
15735 </lyxtabular>
15736
15737 \end_inset
15738
15739
15740 \end_layout
15741
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \begin_layout Standard
15748 \begin_inset ERT
15749 status collapsed
15750
15751 \begin_layout Plain Layout
15752
15753
15754 \backslash
15755 else
15756 \end_layout
15757
15758 \end_inset
15759
15760
15761 \begin_inset Note Note
15762 status open
15763
15764 \begin_layout Plain Layout
15765 The following will be displayed when the LaTeX-package 
15766 \series bold
15767 colortbl
15768 \series default
15769  is not installed:
15770 \end_layout
15771
15772 \end_inset
15773
15774
15775 \end_layout
15776
15777 \begin_layout Standard
15778 You need to install the package 
15779 \series bold
15780 colortbl
15781 \series default
15782  to see the content of this section in the output.
15783 \end_layout
15784
15785 \begin_layout Standard
15786 \begin_inset ERT
15787 status collapsed
15788
15789 \begin_layout Plain Layout
15790
15791
15792 \backslash
15793 fi
15794 \end_layout
15795
15796 \end_inset
15797
15798
15799 \end_layout
15800
15801 \begin_layout Subsection
15802 Colored Lines
15803 \begin_inset Index idx
15804 status collapsed
15805
15806 \begin_layout Plain Layout
15807 Table Color ! for Lines
15808 \end_layout
15809
15810 \end_inset
15811
15812
15813 \begin_inset Index idx
15814 status collapsed
15815
15816 \begin_layout Plain Layout
15817 Color ! for Table Lines
15818 \end_layout
15819
15820 \end_inset
15821
15822
15823 \end_layout
15824
15825 \begin_layout Standard
15826 As described in section
15827 \begin_inset space ~
15828 \end_inset
15829
15830
15831 \begin_inset CommandInset ref
15832 LatexCommand ref
15833 reference "sub:Line-Thickness"
15834
15835 \end_inset
15836
15837 , the line thickness for all lines in a table can be adjusted with the length
15838  
15839 \series bold
15840
15841 \backslash
15842 arrayrulewidth
15843 \series default
15844 .
15845  It is set to 1.5
15846 \begin_inset space \thinspace{}
15847 \end_inset
15848
15849 pt for all tables of this section.
15850 \begin_inset ERT
15851 status collapsed
15852
15853 \begin_layout Plain Layout
15854
15855
15856 \backslash
15857 setlength{
15858 \backslash
15859 arrayrulewidth}{1.5pt}
15860 \end_layout
15861
15862 \end_inset
15863
15864
15865 \end_layout
15866
15867 \begin_layout Standard
15868 To color vertical lines for example with green, create the following column
15869  format in the document preamble, according to the description in section
15870 \begin_inset space ~
15871 \end_inset
15872
15873
15874 \begin_inset CommandInset ref
15875 LatexCommand ref
15876 reference "sub:Customized-Format"
15877
15878 \end_inset
15879
15880 :
15881 \end_layout
15882
15883 \begin_layout Standard
15884
15885 \series bold
15886
15887 \backslash
15888 newcolumntype{W}{!{
15889 \backslash
15890 color{green}
15891 \backslash
15892 vline}}
15893 \end_layout
15894
15895 \begin_layout Standard
15896 For Table
15897 \begin_inset space ~
15898 \end_inset
15899
15900
15901 \begin_inset CommandInset ref
15902 LatexCommand ref
15903 reference "tab:Table-with-vertical-colored"
15904
15905 \end_inset
15906
15907  the LaTeX-argument
15908 \series bold
15909  WcW
15910 \series default
15911  was used for the last column and
15912 \series bold
15913  Wc
15914 \series default
15915  for the other columns.
15916 \end_layout
15917
15918 \begin_layout Standard
15919 If you want to have several colors, define more column formats.
15920 \end_layout
15921
15922 \begin_layout Standard
15923 \begin_inset Float table
15924 placement h
15925 wide false
15926 sideways false
15927 status open
15928
15929 \begin_layout Plain Layout
15930 \begin_inset Caption
15931
15932 \begin_layout Plain Layout
15933 \begin_inset CommandInset label
15934 LatexCommand label
15935 name "tab:Table-with-vertical-colored"
15936
15937 \end_inset
15938
15939 Table with colored vertical lines
15940 \end_layout
15941
15942 \end_inset
15943
15944
15945 \end_layout
15946
15947 \begin_layout Plain Layout
15948 \align center
15949 \begin_inset Tabular
15950 <lyxtabular version="3" rows="3" columns="3">
15951 <features tabularvalignment="middle">
15952 <column alignment="center" valignment="top" width="0" special="Wc">
15953 <column alignment="center" valignment="top" width="0" special="Wc">
15954 <column alignment="center" valignment="top" width="0" special="WcW">
15955 <row>
15956 <cell alignment="center" valignment="top" topline="true" usebox="none">
15957 \begin_inset Text
15958
15959 \begin_layout Plain Layout
15960 sd
15961 \end_layout
15962
15963 \end_inset
15964 </cell>
15965 <cell alignment="center" valignment="top" topline="true" usebox="none">
15966 \begin_inset Text
15967
15968 \begin_layout Plain Layout
15969
15970 \end_layout
15971
15972 \end_inset
15973 </cell>
15974 <cell alignment="center" valignment="top" topline="true" usebox="none">
15975 \begin_inset Text
15976
15977 \begin_layout Plain Layout
15978
15979 \end_layout
15980
15981 \end_inset
15982 </cell>
15983 </row>
15984 <row>
15985 <cell alignment="center" valignment="top" topline="true" usebox="none">
15986 \begin_inset Text
15987
15988 \begin_layout Plain Layout
15989
15990 \end_layout
15991
15992 \end_inset
15993 </cell>
15994 <cell alignment="center" valignment="top" topline="true" usebox="none">
15995 \begin_inset Text
15996
15997 \begin_layout Plain Layout
15998 sd
15999 \end_layout
16000
16001 \end_inset
16002 </cell>
16003 <cell alignment="center" valignment="top" topline="true" usebox="none">
16004 \begin_inset Text
16005
16006 \begin_layout Plain Layout
16007
16008 \end_layout
16009
16010 \end_inset
16011 </cell>
16012 </row>
16013 <row>
16014 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16015 \begin_inset Text
16016
16017 \begin_layout Plain Layout
16018
16019 \end_layout
16020
16021 \end_inset
16022 </cell>
16023 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16024 \begin_inset Text
16025
16026 \begin_layout Plain Layout
16027
16028 \end_layout
16029
16030 \end_inset
16031 </cell>
16032 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16033 \begin_inset Text
16034
16035 \begin_layout Plain Layout
16036 sd
16037 \end_layout
16038
16039 \end_inset
16040 </cell>
16041 </row>
16042 </lyxtabular>
16043
16044 \end_inset
16045
16046
16047 \end_layout
16048
16049 \end_inset
16050
16051
16052 \end_layout
16053
16054 \begin_layout Standard
16055 \begin_inset VSpace bigskip
16056 \end_inset
16057
16058 To color horizontal lines for example with red, as in Table
16059 \begin_inset space ~
16060 \end_inset
16061
16062
16063 \begin_inset CommandInset ref
16064 LatexCommand ref
16065 reference "tab:Table-with-horizontal-colored"
16066
16067 \end_inset
16068
16069 , insert these commands in TeX-Code before the table or table float:
16070 \end_layout
16071
16072 \begin_layout Standard
16073
16074 \series bold
16075
16076 \backslash
16077 let
16078 \backslash
16079 myHlineC
16080 \backslash
16081 hline
16082 \begin_inset Newline newline
16083 \end_inset
16084
16085
16086 \backslash
16087 renewcommand{
16088 \backslash
16089 hline}
16090 \begin_inset Newline newline
16091 \end_inset
16092
16093
16094 \begin_inset Phantom HPhantom
16095 status open
16096
16097 \begin_layout Plain Layout
16098
16099 \series bold
16100 \begin_inset space ~
16101 \end_inset
16102
16103
16104 \end_layout
16105
16106 \end_inset
16107
16108 {
16109 \backslash
16110 arrayrulecolor{red}
16111 \backslash
16112 myHlineC
16113 \backslash
16114 arrayrulecolor{black}}
16115 \end_layout
16116
16117 \begin_layout Standard
16118 \begin_inset ERT
16119 status collapsed
16120
16121 \begin_layout Plain Layout
16122
16123
16124 \backslash
16125 let
16126 \backslash
16127 myHlineC
16128 \backslash
16129 hline
16130 \end_layout
16131
16132 \begin_layout Plain Layout
16133
16134
16135 \backslash
16136 renewcommand{
16137 \backslash
16138 hline}
16139 \end_layout
16140
16141 \begin_layout Plain Layout
16142
16143  {
16144 \backslash
16145 arrayrulecolor{red}
16146 \backslash
16147 myHlineC
16148 \backslash
16149 arrayrulecolor{black}}
16150 \end_layout
16151
16152 \end_inset
16153
16154
16155 \begin_inset Float table
16156 placement h
16157 wide false
16158 sideways false
16159 status open
16160
16161 \begin_layout Plain Layout
16162 \begin_inset Caption
16163
16164 \begin_layout Plain Layout
16165 \begin_inset CommandInset label
16166 LatexCommand label
16167 name "tab:Table-with-horizontal-colored"
16168
16169 \end_inset
16170
16171 Table with colored horizontal lines
16172 \end_layout
16173
16174 \end_inset
16175
16176
16177 \end_layout
16178
16179 \begin_layout Plain Layout
16180 \align center
16181 \begin_inset Tabular
16182 <lyxtabular version="3" rows="3" columns="3">
16183 <features tabularvalignment="middle">
16184 <column alignment="center" valignment="top" width="0">
16185 <column alignment="center" valignment="top" width="0">
16186 <column alignment="center" valignment="top" width="0">
16187 <row>
16188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16189 \begin_inset Text
16190
16191 \begin_layout Plain Layout
16192 sd
16193 \end_layout
16194
16195 \end_inset
16196 </cell>
16197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16198 \begin_inset Text
16199
16200 \begin_layout Plain Layout
16201
16202 \end_layout
16203
16204 \end_inset
16205 </cell>
16206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16207 \begin_inset Text
16208
16209 \begin_layout Plain Layout
16210
16211 \end_layout
16212
16213 \end_inset
16214 </cell>
16215 </row>
16216 <row>
16217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16218 \begin_inset Text
16219
16220 \begin_layout Plain Layout
16221
16222 \end_layout
16223
16224 \end_inset
16225 </cell>
16226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16227 \begin_inset Text
16228
16229 \begin_layout Plain Layout
16230 sd
16231 \end_layout
16232
16233 \end_inset
16234 </cell>
16235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16236 \begin_inset Text
16237
16238 \begin_layout Plain Layout
16239
16240 \end_layout
16241
16242 \end_inset
16243 </cell>
16244 </row>
16245 <row>
16246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16247 \begin_inset Text
16248
16249 \begin_layout Plain Layout
16250
16251 \end_layout
16252
16253 \end_inset
16254 </cell>
16255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16256 \begin_inset Text
16257
16258 \begin_layout Plain Layout
16259
16260 \end_layout
16261
16262 \end_inset
16263 </cell>
16264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16265 \begin_inset Text
16266
16267 \begin_layout Plain Layout
16268 sd
16269 \end_layout
16270
16271 \end_inset
16272 </cell>
16273 </row>
16274 </lyxtabular>
16275
16276 \end_inset
16277
16278
16279 \end_layout
16280
16281 \end_inset
16282
16283
16284 \end_layout
16285
16286 \begin_layout Standard
16287 To return to the default line color black, insert this command in TeX-Code
16288  after the table or table float:
16289 \end_layout
16290
16291 \begin_layout Standard
16292
16293 \series bold
16294
16295 \backslash
16296 renewcommand{
16297 \backslash
16298 hline}{
16299 \backslash
16300 myHlineC}
16301 \end_layout
16302
16303 \begin_layout Standard
16304 Table
16305 \begin_inset space ~
16306 \end_inset
16307
16308
16309 \begin_inset CommandInset ref
16310 LatexCommand ref
16311 reference "tab:Table-with-colored"
16312
16313 \end_inset
16314
16315  is an example with colored vertical and horizontal lines.
16316 \end_layout
16317
16318 \begin_layout Standard
16319 \begin_inset Float table
16320 placement h
16321 wide false
16322 sideways false
16323 status open
16324
16325 \begin_layout Plain Layout
16326 \begin_inset Caption
16327
16328 \begin_layout Plain Layout
16329 \begin_inset CommandInset label
16330 LatexCommand label
16331 name "tab:Table-with-colored"
16332
16333 \end_inset
16334
16335 Table with colored lines
16336 \end_layout
16337
16338 \end_inset
16339
16340
16341 \end_layout
16342
16343 \begin_layout Plain Layout
16344 \align center
16345 \begin_inset Tabular
16346 <lyxtabular version="3" rows="3" columns="3">
16347 <features tabularvalignment="middle">
16348 <column alignment="center" valignment="top" width="0" special="Wc">
16349 <column alignment="center" valignment="top" width="0" special="Wc">
16350 <column alignment="center" valignment="top" width="0" special="WcW">
16351 <row>
16352 <cell alignment="center" valignment="top" topline="true" usebox="none">
16353 \begin_inset Text
16354
16355 \begin_layout Plain Layout
16356 sd
16357 \end_layout
16358
16359 \end_inset
16360 </cell>
16361 <cell alignment="center" valignment="top" topline="true" usebox="none">
16362 \begin_inset Text
16363
16364 \begin_layout Plain Layout
16365
16366 \end_layout
16367
16368 \end_inset
16369 </cell>
16370 <cell alignment="center" valignment="top" topline="true" usebox="none">
16371 \begin_inset Text
16372
16373 \begin_layout Plain Layout
16374
16375 \end_layout
16376
16377 \end_inset
16378 </cell>
16379 </row>
16380 <row>
16381 <cell alignment="center" valignment="top" topline="true" usebox="none">
16382 \begin_inset Text
16383
16384 \begin_layout Plain Layout
16385
16386 \end_layout
16387
16388 \end_inset
16389 </cell>
16390 <cell alignment="center" valignment="top" topline="true" usebox="none">
16391 \begin_inset Text
16392
16393 \begin_layout Plain Layout
16394 sd
16395 \end_layout
16396
16397 \end_inset
16398 </cell>
16399 <cell alignment="center" valignment="top" topline="true" usebox="none">
16400 \begin_inset Text
16401
16402 \begin_layout Plain Layout
16403
16404 \end_layout
16405
16406 \end_inset
16407 </cell>
16408 </row>
16409 <row topspace="default">
16410 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16411 \begin_inset Text
16412
16413 \begin_layout Plain Layout
16414
16415 \end_layout
16416
16417 \end_inset
16418 </cell>
16419 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16420 \begin_inset Text
16421
16422 \begin_layout Plain Layout
16423
16424 \end_layout
16425
16426 \end_inset
16427 </cell>
16428 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16429 \begin_inset Text
16430
16431 \begin_layout Plain Layout
16432 sd
16433 \end_layout
16434
16435 \end_inset
16436 </cell>
16437 </row>
16438 </lyxtabular>
16439
16440 \end_inset
16441
16442
16443 \end_layout
16444
16445 \end_inset
16446
16447
16448 \end_layout
16449
16450 \begin_layout Standard
16451 \begin_inset ERT
16452 status collapsed
16453
16454 \begin_layout Plain Layout
16455
16456
16457 \backslash
16458 renewcommand{
16459 \backslash
16460 hline}{
16461 \backslash
16462 myHlineC}
16463 \end_layout
16464
16465 \end_inset
16466
16467
16468 \end_layout
16469
16470 \begin_layout Standard
16471 \begin_inset ERT
16472 status collapsed
16473
16474 \begin_layout Plain Layout
16475
16476
16477 \backslash
16478 setlength{
16479 \backslash
16480 arrayrulewidth}{0.4pt}
16481 \end_layout
16482
16483 \end_inset
16484
16485
16486 \end_layout
16487
16488 \begin_layout Section
16489 Table Customization
16490 \begin_inset Index idx
16491 status collapsed
16492
16493 \begin_layout Plain Layout
16494 Table Customization
16495 \end_layout
16496
16497 \end_inset
16498
16499
16500 \begin_inset Index idx
16501 status collapsed
16502
16503 \begin_layout Plain Layout
16504 Table ! Customization
16505 \end_layout
16506
16507 \end_inset
16508
16509
16510 \end_layout
16511
16512 \begin_layout Subsection
16513 Row Spacing
16514 \begin_inset CommandInset label
16515 LatexCommand label
16516 name "sub:Row-Spacing"
16517
16518 \end_inset
16519
16520
16521 \begin_inset Index idx
16522 status collapsed
16523
16524 \begin_layout Plain Layout
16525 Table Customization ! Row Spacing
16526 \end_layout
16527
16528 \end_inset
16529
16530
16531 \end_layout
16532
16533 \begin_layout Standard
16534 You can add vertical space to table rows in the 
16535 \family sans
16536 Borders
16537 \family default
16538  tab of the table dialog.
16539  You find there three possibilities:
16540 \end_layout
16541
16542 \begin_layout Description
16543 Top
16544 \begin_inset space ~
16545 \end_inset
16546
16547 of
16548 \begin_inset space ~
16549 \end_inset
16550
16551 row will add space above the characters of the table row.
16552  If the table is a formal table
16553 \begin_inset Foot
16554 status collapsed
16555
16556 \begin_layout Plain Layout
16557 Formal tables are explained in section
16558 \begin_inset space ~
16559 \end_inset
16560
16561
16562 \begin_inset CommandInset ref
16563 LatexCommand ref
16564 reference "sec:Formal-Tables"
16565
16566 \end_inset
16567
16568 .
16569 \end_layout
16570
16571 \end_inset
16572
16573  LyX will insert as default 0.5
16574 \begin_inset space \thinspace{}
16575 \end_inset
16576
16577 em space.
16578  For normal tables the inserted space will unfortunately destroy the vertical
16579  table lines as in the following table:
16580 \begin_inset VSpace medskip
16581 \end_inset
16582
16583
16584 \begin_inset Newline newline
16585 \end_inset
16586
16587
16588 \begin_inset space \hspace*{}
16589 \length 0pt
16590 \end_inset
16591
16592
16593 \begin_inset space \hfill{}
16594 \end_inset
16595
16596
16597 \begin_inset Tabular
16598 <lyxtabular version="3" rows="3" columns="1">
16599 <features tabularvalignment="middle">
16600 <column alignment="center" valignment="top" width="0">
16601 <row>
16602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16603 \begin_inset Text
16604
16605 \begin_layout Plain Layout
16606 A
16607 \end_layout
16608
16609 \end_inset
16610 </cell>
16611 </row>
16612 <row topspace="3mm">
16613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16614 \begin_inset Text
16615
16616 \begin_layout Plain Layout
16617 3
16618 \begin_inset space \thinspace{}
16619 \end_inset
16620
16621 mm space top of row
16622 \end_layout
16623
16624 \end_inset
16625 </cell>
16626 </row>
16627 <row>
16628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16629 \begin_inset Text
16630
16631 \begin_layout Plain Layout
16632 C
16633 \end_layout
16634
16635 \end_inset
16636 </cell>
16637 </row>
16638 </lyxtabular>
16639
16640 \end_inset
16641
16642
16643 \begin_inset space \hfill{}
16644 \end_inset
16645
16646
16647 \begin_inset space \hspace*{}
16648 \length 0pt
16649 \end_inset
16650
16651
16652 \begin_inset VSpace medskip
16653 \end_inset
16654
16655
16656 \begin_inset Newline newline
16657 \end_inset
16658
16659 So inserting space in the top of row for normal tables is only useful when
16660  you don't have vertical lines.
16661 \end_layout
16662
16663 \begin_layout Description
16664 Bottom
16665 \begin_inset space ~
16666 \end_inset
16667
16668 of
16669 \begin_inset space ~
16670 \end_inset
16671
16672 row will add space below the characters of the table row.
16673  If the table is a formal table LyX will insert as default 0.5
16674 \begin_inset space \thinspace{}
16675 \end_inset
16676
16677 em space, for normal tables the default size is 2
16678 \begin_inset space \thinspace{}
16679 \end_inset
16680
16681 pt.
16682 \end_layout
16683
16684 \begin_layout Description
16685 Between
16686 \begin_inset space ~
16687 \end_inset
16688
16689 rows adds space between the current and the following row.
16690  If the table is a formal table LyX will insert as default 0.5
16691 \begin_inset space \thinspace{}
16692 \end_inset
16693
16694 em space.
16695  For normal tables the inserted space will unfortunately destroy the vertical
16696  table lines as in the following table:
16697 \begin_inset VSpace medskip
16698 \end_inset
16699
16700
16701 \begin_inset Newline newline
16702 \end_inset
16703
16704
16705 \begin_inset space \hspace*{}
16706 \length 0pt
16707 \end_inset
16708
16709
16710 \begin_inset space \hfill{}
16711 \end_inset
16712
16713
16714 \begin_inset Tabular
16715 <lyxtabular version="3" rows="3" columns="1">
16716 <features tabularvalignment="middle">
16717 <column alignment="center" valignment="top" width="0">
16718 <row>
16719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16720 \begin_inset Text
16721
16722 \begin_layout Plain Layout
16723 A
16724 \end_layout
16725
16726 \end_inset
16727 </cell>
16728 </row>
16729 <row interlinespace="3mm">
16730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16731 \begin_inset Text
16732
16733 \begin_layout Plain Layout
16734 \begin_inset Formula $\downarrow$
16735 \end_inset
16736
16737  3
16738 \begin_inset space \thinspace{}
16739 \end_inset
16740
16741 mm space between row 
16742 \begin_inset Formula $\downarrow$
16743 \end_inset
16744
16745
16746 \end_layout
16747
16748 \end_inset
16749 </cell>
16750 </row>
16751 <row>
16752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16753 \begin_inset Text
16754
16755 \begin_layout Plain Layout
16756 \begin_inset Formula $\uparrow$
16757 \end_inset
16758
16759  3
16760 \begin_inset space \thinspace{}
16761 \end_inset
16762
16763 mm space between row 
16764 \begin_inset Formula $\uparrow$
16765 \end_inset
16766
16767
16768 \end_layout
16769
16770 \end_inset
16771 </cell>
16772 </row>
16773 </lyxtabular>
16774
16775 \end_inset
16776
16777
16778 \begin_inset space \hfill{}
16779 \end_inset
16780
16781
16782 \begin_inset space \hspace*{}
16783 \length 0pt
16784 \end_inset
16785
16786
16787 \begin_inset VSpace medskip
16788 \end_inset
16789
16790
16791 \begin_inset Newline newline
16792 \end_inset
16793
16794 So inserting space between rows for normal tables is only useful when you
16795  don't have vertical lines.
16796 \end_layout
16797
16798 \begin_layout Standard
16799 \begin_inset VSpace bigskip
16800 \end_inset
16801
16802 When you want to add extra height to all cells of all tables, you can do
16803  this with the following preamble lines:
16804 \end_layout
16805
16806 \begin_layout Standard
16807
16808 \series bold
16809
16810 \backslash
16811 @ifundefined{extrarowheight}
16812 \begin_inset Newline newline
16813 \end_inset
16814
16815
16816 \begin_inset Phantom HPhantom
16817 status open
16818
16819 \begin_layout Plain Layout
16820
16821 \series bold
16822 \begin_inset space ~
16823 \end_inset
16824
16825
16826 \end_layout
16827
16828 \end_inset
16829
16830 {
16831 \backslash
16832 usepackage{array}}{}
16833 \begin_inset Newline newline
16834 \end_inset
16835
16836
16837 \backslash
16838 setlength{
16839 \backslash
16840 extrarowheight}{height}
16841 \end_layout
16842
16843 \begin_layout Standard
16844 But this has the disadvantage that the cell texts are no longer exactly
16845  vertically centered.
16846  (The package 
16847 \series bold
16848 array
16849 \series default
16850  will be loaded automatically by LyX when you use self defined table formats.
16851  To avoid that it being loaded twice the command 
16852 \series bold
16853
16854 \backslash
16855 @ifundefined
16856 \series default
16857  is used in the above command.)
16858 \end_layout
16859
16860 \begin_layout Standard
16861 If you are using font sizes larger than the normal size, the table borders
16862  are often too close to the letters.
16863  This can be corrected by inserting the command 
16864 \series bold
16865
16866 \backslash
16867 strut
16868 \series default
16869  in TeX code at the beginning of a table row.
16870  Table
16871 \begin_inset space ~
16872 \end_inset
16873
16874
16875 \begin_inset CommandInset ref
16876 LatexCommand ref
16877 reference "tab:Vertical-alignment-of"
16878
16879 \end_inset
16880
16881  illustrates the effect.
16882 \end_layout
16883
16884 \begin_layout Standard
16885 \noindent
16886 \begin_inset Float table
16887 placement h
16888 wide false
16889 sideways false
16890 status open
16891
16892 \begin_layout Plain Layout
16893 \begin_inset Caption
16894
16895 \begin_layout Plain Layout
16896 \begin_inset CommandInset label
16897 LatexCommand label
16898 name "tab:Vertical-alignment-of"
16899
16900 \end_inset
16901
16902 Vertical alignment of text with large font sizes.
16903 \end_layout
16904
16905 \end_inset
16906
16907
16908 \end_layout
16909
16910 \begin_layout Plain Layout
16911 \begin_inset space \hfill{}
16912 \end_inset
16913
16914
16915 \begin_inset Float table
16916 wide false
16917 sideways false
16918 status collapsed
16919
16920 \begin_layout Plain Layout
16921 \begin_inset Caption
16922
16923 \begin_layout Plain Layout
16924 Normal table.
16925 \end_layout
16926
16927 \end_inset
16928
16929
16930 \end_layout
16931
16932 \begin_layout Plain Layout
16933 \noindent
16934 \align center
16935 \begin_inset Tabular
16936 <lyxtabular version="3" rows="6" columns="1">
16937 <features tabularvalignment="middle">
16938 <column alignment="left" valignment="top" width="0">
16939 <row>
16940 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16941 \begin_inset Text
16942
16943 \begin_layout Plain Layout
16944 Normal, g
16945 \end_layout
16946
16947 \end_inset
16948 </cell>
16949 </row>
16950 <row>
16951 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16952 \begin_inset Text
16953
16954 \begin_layout Plain Layout
16955
16956 \size large
16957 Large
16958 \end_layout
16959
16960 \end_inset
16961 </cell>
16962 </row>
16963 <row>
16964 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16965 \begin_inset Text
16966
16967 \begin_layout Plain Layout
16968
16969 \size larger
16970 Larger
16971 \end_layout
16972
16973 \end_inset
16974 </cell>
16975 </row>
16976 <row>
16977 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16978 \begin_inset Text
16979
16980 \begin_layout Plain Layout
16981
16982 \size largest
16983 Largest
16984 \end_layout
16985
16986 \end_inset
16987 </cell>
16988 </row>
16989 <row>
16990 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16991 \begin_inset Text
16992
16993 \begin_layout Plain Layout
16994
16995 \size huge
16996 Huge
16997 \end_layout
16998
16999 \end_inset
17000 </cell>
17001 </row>
17002 <row>
17003 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17004 \begin_inset Text
17005
17006 \begin_layout Plain Layout
17007
17008 \size huge
17009 Huger
17010 \end_layout
17011
17012 \end_inset
17013 </cell>
17014 </row>
17015 </lyxtabular>
17016
17017 \end_inset
17018
17019
17020 \end_layout
17021
17022 \end_inset
17023
17024
17025 \begin_inset space \hfill{}
17026 \end_inset
17027
17028
17029 \begin_inset Float table
17030 wide false
17031 sideways false
17032 status collapsed
17033
17034 \begin_layout Plain Layout
17035 \begin_inset Caption
17036
17037 \begin_layout Plain Layout
17038 Table using the command 
17039 \series bold
17040
17041 \backslash
17042 strut
17043 \series default
17044 .
17045 \end_layout
17046
17047 \end_inset
17048
17049
17050 \end_layout
17051
17052 \begin_layout Plain Layout
17053 \noindent
17054 \align center
17055 \begin_inset Tabular
17056 <lyxtabular version="3" rows="6" columns="1">
17057 <features tabularvalignment="middle">
17058 <column alignment="left" valignment="top" width="0">
17059 <row>
17060 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17061 \begin_inset Text
17062
17063 \begin_layout Plain Layout
17064 Normal, g
17065 \end_layout
17066
17067 \end_inset
17068 </cell>
17069 </row>
17070 <row>
17071 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17072 \begin_inset Text
17073
17074 \begin_layout Plain Layout
17075
17076 \size large
17077 \begin_inset ERT
17078 status collapsed
17079
17080 \begin_layout Plain Layout
17081
17082
17083 \backslash
17084 strut 
17085 \end_layout
17086
17087 \end_inset
17088
17089 Large
17090 \end_layout
17091
17092 \end_inset
17093 </cell>
17094 </row>
17095 <row>
17096 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17097 \begin_inset Text
17098
17099 \begin_layout Plain Layout
17100
17101 \size larger
17102 \begin_inset ERT
17103 status collapsed
17104
17105 \begin_layout Plain Layout
17106
17107
17108 \backslash
17109 strut 
17110 \end_layout
17111
17112 \end_inset
17113
17114 Larger
17115 \end_layout
17116
17117 \end_inset
17118 </cell>
17119 </row>
17120 <row>
17121 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17122 \begin_inset Text
17123
17124 \begin_layout Plain Layout
17125
17126 \size largest
17127 \begin_inset ERT
17128 status collapsed
17129
17130 \begin_layout Plain Layout
17131
17132
17133 \backslash
17134 strut 
17135 \end_layout
17136
17137 \end_inset
17138
17139 Largest
17140 \end_layout
17141
17142 \end_inset
17143 </cell>
17144 </row>
17145 <row>
17146 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Plain Layout
17150
17151 \size huge
17152 \begin_inset ERT
17153 status collapsed
17154
17155 \begin_layout Plain Layout
17156
17157
17158 \backslash
17159 strut 
17160 \end_layout
17161
17162 \end_inset
17163
17164 Huge
17165 \end_layout
17166
17167 \end_inset
17168 </cell>
17169 </row>
17170 <row>
17171 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17172 \begin_inset Text
17173
17174 \begin_layout Plain Layout
17175
17176 \size giant
17177 \begin_inset ERT
17178 status collapsed
17179
17180 \begin_layout Plain Layout
17181
17182
17183 \backslash
17184 strut 
17185 \end_layout
17186
17187 \end_inset
17188
17189
17190 \size huge
17191 Huger
17192 \end_layout
17193
17194 \end_inset
17195 </cell>
17196 </row>
17197 </lyxtabular>
17198
17199 \end_inset
17200
17201
17202 \end_layout
17203
17204 \end_inset
17205
17206
17207 \begin_inset space \hfill{}
17208 \end_inset
17209
17210
17211 \end_layout
17212
17213 \end_inset
17214
17215
17216 \end_layout
17217
17218 \begin_layout Subsection
17219 Special Cell Alignment
17220 \begin_inset CommandInset label
17221 LatexCommand label
17222 name "sub:Special-Cell-Alignment"
17223
17224 \end_inset
17225
17226
17227 \begin_inset Index idx
17228 status collapsed
17229
17230 \begin_layout Plain Layout
17231 Table Customization ! Special Cell Alignment
17232 \end_layout
17233
17234 \end_inset
17235
17236
17237 \end_layout
17238
17239 \begin_layout Standard
17240 Sometimes it looks better when the cell entries of a column are aligned
17241  with a special character, e.
17242 \begin_inset space \thinspace{}
17243 \end_inset
17244
17245 g.
17246 \begin_inset space \space{}
17247 \end_inset
17248
17249 with the decimal separator as in Table
17250 \begin_inset space ~
17251 \end_inset
17252
17253
17254 \begin_inset CommandInset ref
17255 LatexCommand ref
17256 reference "tab:Table-cells-align"
17257
17258 \end_inset
17259
17260 .
17261  This alignment is achieved by setting the cursor into the column and then
17262  either pressing the toolbar button 
17263 \begin_inset Graphics
17264         filename ../images/tabular-feature_align-decimal.png
17265         scale 85
17266         scaleBeforeRotation
17267
17268 \end_inset
17269
17270  or setting the alignment in the table settings to 
17271 \family sans
17272 At
17273 \begin_inset space ~
17274 \end_inset
17275
17276 Decimal
17277 \begin_inset space ~
17278 \end_inset
17279
17280 Separator
17281 \family default
17282 .
17283  The alignment character can be a character of your choice and is specified
17284  in the table settings.
17285 \end_layout
17286
17287 \begin_layout Standard
17288 \begin_inset Float table
17289 placement h
17290 wide false
17291 sideways false
17292 status open
17293
17294 \begin_layout Plain Layout
17295 \begin_inset Caption
17296
17297 \begin_layout Plain Layout
17298 \begin_inset CommandInset label
17299 LatexCommand label
17300 name "tab:Table-cells-align"
17301
17302 \end_inset
17303
17304 Table cells of a column aligned with the decimal separator.
17305 \end_layout
17306
17307 \end_inset
17308
17309
17310 \end_layout
17311
17312 \begin_layout Plain Layout
17313 \align center
17314 \begin_inset Tabular
17315 <lyxtabular version="3" rows="4" columns="1">
17316 <features booktabs="true" tabularvalignment="middle">
17317 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17318 <row>
17319 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17320 \begin_inset Text
17321
17322 \begin_layout Plain Layout
17323 heading
17324 \end_layout
17325
17326 \end_inset
17327 </cell>
17328 </row>
17329 <row>
17330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17331 \begin_inset Text
17332
17333 \begin_layout Plain Layout
17334 12.6
17335 \end_layout
17336
17337 \end_inset
17338 </cell>
17339 </row>
17340 <row>
17341 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17342 \begin_inset Text
17343
17344 \begin_layout Plain Layout
17345 0.68
17346 \end_layout
17347
17348 \end_inset
17349 </cell>
17350 </row>
17351 <row>
17352 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17353 \begin_inset Text
17354
17355 \begin_layout Plain Layout
17356 -123.0
17357 \end_layout
17358
17359 \end_inset
17360 </cell>
17361 </row>
17362 </lyxtabular>
17363
17364 \end_inset
17365
17366
17367 \end_layout
17368
17369 \end_inset
17370
17371
17372 \end_layout
17373
17374 \begin_layout Standard
17375 \begin_inset Float table
17376 placement h
17377 wide false
17378 sideways false
17379 status open
17380
17381 \begin_layout Plain Layout
17382 \begin_inset Caption
17383
17384 \begin_layout Plain Layout
17385 \begin_inset CommandInset label
17386 LatexCommand label
17387 name "tab:Table-align-operator"
17388
17389 \end_inset
17390
17391 Table cells of a column aligned with the operators.
17392 \end_layout
17393
17394 \end_inset
17395
17396
17397 \end_layout
17398
17399 \begin_layout Plain Layout
17400 \align center
17401 \begin_inset Tabular
17402 <lyxtabular version="3" rows="4" columns="2">
17403 <features booktabs="true" tabularvalignment="middle">
17404 <column alignment="right" valignment="top" width="0pt">
17405 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17406 <row>
17407 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17408 \begin_inset Text
17409
17410 \begin_layout Plain Layout
17411 heading
17412 \end_layout
17413
17414 \end_inset
17415 </cell>
17416 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17417 \begin_inset Text
17418
17419 \begin_layout Plain Layout
17420
17421 \end_layout
17422
17423 \end_inset
17424 </cell>
17425 </row>
17426 <row>
17427 <cell alignment="center" valignment="top" usebox="none">
17428 \begin_inset Text
17429
17430 \begin_layout Plain Layout
17431 \begin_inset Formula $12\,+$
17432 \end_inset
17433
17434
17435 \end_layout
17436
17437 \end_inset
17438 </cell>
17439 <cell alignment="center" valignment="top" usebox="none">
17440 \begin_inset Text
17441
17442 \begin_layout Plain Layout
17443 \begin_inset Formula $\,6$
17444 \end_inset
17445
17446
17447 \end_layout
17448
17449 \end_inset
17450 </cell>
17451 </row>
17452 <row>
17453 <cell alignment="center" valignment="top" usebox="none">
17454 \begin_inset Text
17455
17456 \begin_layout Plain Layout
17457 \begin_inset Formula $0\,-$
17458 \end_inset
17459
17460
17461 \end_layout
17462
17463 \end_inset
17464 </cell>
17465 <cell alignment="center" valignment="top" usebox="none">
17466 \begin_inset Text
17467
17468 \begin_layout Plain Layout
17469 \begin_inset Formula $\,68$
17470 \end_inset
17471
17472
17473 \end_layout
17474
17475 \end_inset
17476 </cell>
17477 </row>
17478 <row>
17479 <cell alignment="center" valignment="top" usebox="none">
17480 \begin_inset Text
17481
17482 \begin_layout Plain Layout
17483 \begin_inset Formula $-123\,/$
17484 \end_inset
17485
17486
17487 \end_layout
17488
17489 \end_inset
17490 </cell>
17491 <cell alignment="center" valignment="top" usebox="none">
17492 \begin_inset Text
17493
17494 \begin_layout Plain Layout
17495 \begin_inset Formula $\,0$
17496 \end_inset
17497
17498
17499 \end_layout
17500
17501 \end_inset
17502 </cell>
17503 </row>
17504 </lyxtabular>
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \end_inset
17512
17513
17514 \end_layout
17515
17516 \begin_layout Standard
17517 For alignments at characters in formulas this method does not work because
17518  the field to specify the alignment character does not allow formulas.
17519  In this case one need to use the method from Table
17520 \begin_inset space ~
17521 \end_inset
17522
17523
17524 \begin_inset CommandInset ref
17525 LatexCommand ref
17526 reference "tab:Table-align-operator"
17527
17528 \end_inset
17529
17530 .
17531  This table was created with a 4×2 table.
17532  The heading is a centered multicolumn.
17533  The first column is right-aligned and contains the first part including
17534  the operator.
17535  The second column is left aligned and contains the rest.
17536  A small space was added at the beginning of each cell of the second column
17537  to get the space that is usually around operators.
17538  To omit the space that is normally between two table columns, the following
17539  LaTeX-argument was used for the second column:
17540 \end_layout
17541
17542 \begin_layout Standard
17543
17544 \series bold
17545 @{}l
17546 \end_layout
17547
17548 \begin_layout Standard
17549 Table
17550 \begin_inset space ~
17551 \end_inset
17552
17553
17554 \begin_inset CommandInset ref
17555 LatexCommand ref
17556 reference "tab:Several-table-cell"
17557
17558 \end_inset
17559
17560  shows some example alignments.
17561  For the alignment with the relation sign, a small space was added like
17562  for the second column of Table
17563 \begin_inset space ~
17564 \end_inset
17565
17566
17567 \begin_inset CommandInset ref
17568 LatexCommand ref
17569 reference "tab:Table-align-operator"
17570
17571 \end_inset
17572
17573 .
17574 \end_layout
17575
17576 \begin_layout Standard
17577 \begin_inset Float table
17578 placement h
17579 wide false
17580 sideways false
17581 status open
17582
17583 \begin_layout Plain Layout
17584 \begin_inset Caption
17585
17586 \begin_layout Plain Layout
17587 \begin_inset CommandInset label
17588 LatexCommand label
17589 name "tab:Several-table-cell"
17590
17591 \end_inset
17592
17593 Several table cell alignments.
17594 \end_layout
17595
17596 \end_inset
17597
17598
17599 \end_layout
17600
17601 \begin_layout Plain Layout
17602 \align center
17603 \begin_inset Tabular
17604 <lyxtabular version="3" rows="4" columns="6">
17605 <features tabularvalignment="middle">
17606 <column alignment="right" valignment="top" width="0">
17607 <column alignment="left" valignment="top" width="0" special="@{}l">
17608 <column alignment="right" valignment="top" width="0">
17609 <column alignment="left" valignment="top" width="0" special="@{}l">
17610 <column alignment="right" valignment="top" width="0">
17611 <column alignment="left" valignment="top" width="0" special="@{}l">
17612 <row>
17613 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17614 \begin_inset Text
17615
17616 \begin_layout Plain Layout
17617 units
17618 \end_layout
17619
17620 \end_inset
17621 </cell>
17622 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17623 \begin_inset Text
17624
17625 \begin_layout Plain Layout
17626
17627 \end_layout
17628
17629 \end_inset
17630 </cell>
17631 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17632 \begin_inset Text
17633
17634 \begin_layout Plain Layout
17635 exponents
17636 \end_layout
17637
17638 \end_inset
17639 </cell>
17640 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17641 \begin_inset Text
17642
17643 \begin_layout Plain Layout
17644
17645 \end_layout
17646
17647 \end_inset
17648 </cell>
17649 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17650 \begin_inset Text
17651
17652 \begin_layout Plain Layout
17653 relations
17654 \end_layout
17655
17656 \end_inset
17657 </cell>
17658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17659 \begin_inset Text
17660
17661 \begin_layout Plain Layout
17662
17663 \end_layout
17664
17665 \end_inset
17666 </cell>
17667 </row>
17668 <row>
17669 <cell alignment="center" valignment="top" usebox="none">
17670 \begin_inset Text
17671
17672 \begin_layout Plain Layout
17673 12×
17674 \end_layout
17675
17676 \end_inset
17677 </cell>
17678 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17679 \begin_inset Text
17680
17681 \begin_layout Plain Layout
17682 24
17683 \begin_inset space \thinspace{}
17684 \end_inset
17685
17686 bottles
17687 \end_layout
17688
17689 \end_inset
17690 </cell>
17691 <cell alignment="center" valignment="top" usebox="none">
17692 \begin_inset Text
17693
17694 \begin_layout Plain Layout
17695 \begin_inset Formula $10\cdot$
17696 \end_inset
17697
17698
17699 \end_layout
17700
17701 \end_inset
17702 </cell>
17703 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17704 \begin_inset Text
17705
17706 \begin_layout Plain Layout
17707 \begin_inset Formula $10^{\mbox{-}17}$
17708 \end_inset
17709
17710
17711 \end_layout
17712
17713 \end_inset
17714 </cell>
17715 <cell alignment="center" valignment="top" usebox="none">
17716 \begin_inset Text
17717
17718 \begin_layout Plain Layout
17719 \begin_inset Formula $\Gamma(t)\propto$
17720 \end_inset
17721
17722
17723 \end_layout
17724
17725 \end_inset
17726 </cell>
17727 <cell alignment="center" valignment="top" usebox="none">
17728 \begin_inset Text
17729
17730 \begin_layout Plain Layout
17731 \begin_inset Formula $\:\Upsilon(t)$
17732 \end_inset
17733
17734
17735 \end_layout
17736
17737 \end_inset
17738 </cell>
17739 </row>
17740 <row>
17741 <cell alignment="center" valignment="top" usebox="none">
17742 \begin_inset Text
17743
17744 \begin_layout Plain Layout
17745 1024×
17746 \end_layout
17747
17748 \end_inset
17749 </cell>
17750 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17751 \begin_inset Text
17752
17753 \begin_layout Plain Layout
17754 768
17755 \begin_inset space \thinspace{}
17756 \end_inset
17757
17758 Pixels
17759 \end_layout
17760
17761 \end_inset
17762 </cell>
17763 <cell alignment="center" valignment="top" usebox="none">
17764 \begin_inset Text
17765
17766 \begin_layout Plain Layout
17767 \begin_inset Formula $5.78\cdot$
17768 \end_inset
17769
17770
17771 \end_layout
17772
17773 \end_inset
17774 </cell>
17775 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17776 \begin_inset Text
17777
17778 \begin_layout Plain Layout
17779 \begin_inset Formula $10^{7}$
17780 \end_inset
17781
17782
17783 \end_layout
17784
17785 \end_inset
17786 </cell>
17787 <cell alignment="center" valignment="top" usebox="none">
17788 \begin_inset Text
17789
17790 \begin_layout Plain Layout
17791 \begin_inset Formula $A\ne$
17792 \end_inset
17793
17794
17795 \end_layout
17796
17797 \end_inset
17798 </cell>
17799 <cell alignment="center" valignment="top" usebox="none">
17800 \begin_inset Text
17801
17802 \begin_layout Plain Layout
17803 \begin_inset Formula $\: B_{\mathrm{red}}$
17804 \end_inset
17805
17806
17807 \end_layout
17808
17809 \end_inset
17810 </cell>
17811 </row>
17812 <row>
17813 <cell alignment="center" valignment="top" usebox="none">
17814 \begin_inset Text
17815
17816 \begin_layout Plain Layout
17817 32×
17818 \end_layout
17819
17820 \end_inset
17821 </cell>
17822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17823 \begin_inset Text
17824
17825 \begin_layout Plain Layout
17826 6
17827 \begin_inset space \thinspace{}
17828 \end_inset
17829
17830 cm
17831 \end_layout
17832
17833 \end_inset
17834 </cell>
17835 <cell alignment="center" valignment="top" usebox="none">
17836 \begin_inset Text
17837
17838 \begin_layout Plain Layout
17839 -
17840 \begin_inset Formula $33.5\cdot$
17841 \end_inset
17842
17843
17844 \end_layout
17845
17846 \end_inset
17847 </cell>
17848 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17849 \begin_inset Text
17850
17851 \begin_layout Plain Layout
17852 \begin_inset Formula $10^{4}$
17853 \end_inset
17854
17855
17856 \end_layout
17857
17858 \end_inset
17859 </cell>
17860 <cell alignment="center" valignment="top" usebox="none">
17861 \begin_inset Text
17862
17863 \begin_layout Plain Layout
17864 \begin_inset Formula $\sin(\alpha)\ge$
17865 \end_inset
17866
17867
17868 \end_layout
17869
17870 \end_inset
17871 </cell>
17872 <cell alignment="center" valignment="top" usebox="none">
17873 \begin_inset Text
17874
17875 \begin_layout Plain Layout
17876 \begin_inset Formula $\:\sin(\beta)$
17877 \end_inset
17878
17879
17880 \end_layout
17881
17882 \end_inset
17883 </cell>
17884 </row>
17885 </lyxtabular>
17886
17887 \end_inset
17888
17889
17890 \end_layout
17891
17892 \end_inset
17893
17894
17895 \end_layout
17896
17897 \begin_layout Subsection
17898 Customized Cell/Column Format
17899 \begin_inset CommandInset label
17900 LatexCommand label
17901 name "sub:Customized-Format"
17902
17903 \end_inset
17904
17905
17906 \begin_inset Index idx
17907 status collapsed
17908
17909 \begin_layout Plain Layout
17910 Table Customization ! Cell/Column Format
17911 \end_layout
17912
17913 \end_inset
17914
17915
17916 \end_layout
17917
17918 \begin_layout Standard
17919 Calculating the required width for spanned columns as in section
17920 \begin_inset space ~
17921 \end_inset
17922
17923
17924 \begin_inset CommandInset ref
17925 LatexCommand ref
17926 reference "sub:Multicolumn-Calculations"
17927
17928 \end_inset
17929
17930  is very annoying if you have several tables with multicolumn cells.
17931  To make life easier, you can define a cell/column format in the preamble,
17932  so that it can be used in all tables of the document.
17933  The format is defined with the command
17934 \end_layout
17935
17936 \begin_layout Standard
17937
17938 \series bold
17939
17940 \backslash
17941 newcolumntype{name of format}[number of arguments]{commands}
17942 \end_layout
17943
17944 \begin_layout Standard
17945 The format name may only consist of one letter.
17946  The letters 
17947 \emph on
17948 b
17949 \emph default
17950
17951 \emph on
17952 c
17953 \emph default
17954
17955 \emph on
17956 l
17957 \emph default
17958
17959 \emph on
17960 m
17961 \emph default
17962
17963 \emph on
17964 p
17965 \emph default
17966  and 
17967 \emph on
17968 r
17969 \emph default
17970  are predefined and cannot be used.
17971  But all letters are allowed as capitals.
17972 \end_layout
17973
17974 \begin_layout Standard
17975 \begin_inset VSpace medskip
17976 \end_inset
17977
17978
17979 \end_layout
17980
17981 \begin_layout Standard
17982 For vertically and horizontally centered multicolumn cells with a fixed
17983  width you can define the cell format
17984 \end_layout
17985
17986 \begin_layout Standard
17987
17988 \series bold
17989
17990 \backslash
17991 newcolumntype{M}[1]{>{
17992 \backslash
17993 centering
17994 \backslash
17995 hspace{0pt}}m{#1}}
17996 \end_layout
17997
17998 \begin_layout Standard
17999 where 
18000 \series bold
18001
18002 \backslash
18003 hspace{0pt}
18004 \series default
18005  avoids the problem of hyphenating the first word, as described in section
18006 \begin_inset space ~
18007 \end_inset
18008
18009
18010 \begin_inset CommandInset ref
18011 LatexCommand ref
18012 reference "sub:Multiple-Lines-in"
18013
18014 \end_inset
18015
18016 .
18017  Now you can simply enter
18018 \end_layout
18019
18020 \begin_layout Standard
18021
18022 \series bold
18023 M{width}
18024 \end_layout
18025
18026 \begin_layout Standard
18027 as LaTeX-argument in the table dialog to create a multicolumn.
18028 \end_layout
18029
18030 \begin_layout Standard
18031 \begin_inset VSpace bigskip
18032 \end_inset
18033
18034
18035 \end_layout
18036
18037 \begin_layout Standard
18038 For cells spanned by a multicolumn cell, you can define the format
18039 \end_layout
18040
18041 \begin_layout Standard
18042
18043 \series bold
18044
18045 \backslash
18046 newcolumntype{S}[2]{>{
18047 \backslash
18048 centering
18049 \backslash
18050 hspace{0pt}}
18051 \begin_inset Newline newline
18052 \end_inset
18053
18054
18055 \begin_inset Phantom HPhantom
18056 status open
18057
18058 \begin_layout Plain Layout
18059
18060 \series bold
18061
18062 \backslash
18063 newcolumntype
18064 \end_layout
18065
18066 \end_inset
18067
18068 m{(#1+(2
18069 \backslash
18070 tabcolsep+
18071 \backslash
18072 arrayrulewidth)*(1-#2))/#2}}
18073 \end_layout
18074
18075 \begin_layout Standard
18076 This format uses equation 
18077 \begin_inset CommandInset ref
18078 LatexCommand eqref
18079 reference "eq:Wgn"
18080
18081 \end_inset
18082
18083  to calculate the required width so that each spanned cell has the same
18084  width.
18085 \end_layout
18086
18087 \begin_layout Standard
18088 You can now enter
18089 \end_layout
18090
18091 \begin_layout Standard
18092
18093 \series bold
18094 S{width of multicolumn cell}{number of spanned columns}
18095 \end_layout
18096
18097 \begin_layout Standard
18098 as LaTeX-argument of the column.
18099 \end_layout
18100
18101 \begin_layout Standard
18102 \begin_inset VSpace bigskip
18103 \end_inset
18104
18105
18106 \end_layout
18107
18108 \begin_layout Standard
18109 For colored columns, you can define
18110 \end_layout
18111
18112 \begin_layout Standard
18113
18114 \series bold
18115
18116 \backslash
18117 newcolumntype{K}[1]{>{
18118 \backslash
18119 columncolor{#1}
18120 \backslash
18121 hspace{0pt}}c}
18122 \end_layout
18123
18124 \begin_layout Standard
18125 The 
18126 \begin_inset Quotes eld
18127 \end_inset
18128
18129 c
18130 \begin_inset Quotes erd
18131 \end_inset
18132
18133  at the end creates a column with a flexible width whose text is horizontally
18134  centered.
18135  You can now enter
18136 \end_layout
18137
18138 \begin_layout Standard
18139
18140 \series bold
18141 K{color name}
18142 \end_layout
18143
18144 \begin_layout Standard
18145 as LaTeX-argument.
18146 \end_layout
18147
18148 \begin_layout Standard
18149 \begin_inset VSpace bigskip
18150 \end_inset
18151
18152
18153 \end_layout
18154
18155 \begin_layout Standard
18156 To create Table
18157 \begin_inset space ~
18158 \end_inset
18159
18160
18161 \begin_inset CommandInset ref
18162 LatexCommand ref
18163 reference "tab:Table-using-user-defined"
18164
18165 \end_inset
18166
18167  use the LaTeX-arguments
18168 \end_layout
18169
18170 \begin_layout Standard
18171
18172 \series bold
18173 M{2.5cm}
18174 \end_layout
18175
18176 \begin_layout Standard
18177 for the first column and the multicolumn,
18178 \end_layout
18179
18180 \begin_layout Standard
18181
18182 \series bold
18183 K{red}
18184 \end_layout
18185
18186 \begin_layout Standard
18187 for the last column, and
18188 \end_layout
18189
18190 \begin_layout Standard
18191
18192 \series bold
18193 S{2.5cm}{2}
18194 \end_layout
18195
18196 \begin_layout Standard
18197 for the cells in the second column.
18198 \end_layout
18199
18200 \begin_layout Standard
18201 \begin_inset Float table
18202 placement h
18203 wide false
18204 sideways false
18205 status open
18206
18207 \begin_layout Plain Layout
18208 \begin_inset Caption
18209
18210 \begin_layout Plain Layout
18211 \begin_inset CommandInset label
18212 LatexCommand label
18213 name "tab:Table-using-user-defined"
18214
18215 \end_inset
18216
18217 Table using user-defined table formats
18218 \end_layout
18219
18220 \end_inset
18221
18222
18223 \end_layout
18224
18225 \begin_layout Plain Layout
18226 \align center
18227 \begin_inset Tabular
18228 <lyxtabular version="3" rows="3" columns="4">
18229 <features tabularvalignment="middle">
18230 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18231 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18232 <column alignment="center" valignment="middle" width="0">
18233 <column alignment="center" valignment="middle" width="0" special="K{red}">
18234 <row>
18235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18236 \begin_inset Text
18237
18238 \begin_layout Plain Layout
18239 verylongtablecellword
18240 \end_layout
18241
18242 \end_inset
18243 </cell>
18244 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18245 \begin_inset Text
18246
18247 \begin_layout Plain Layout
18248 multiple lines multicolumn
18249 \end_layout
18250
18251 \end_inset
18252 </cell>
18253 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18254 \begin_inset Text
18255
18256 \begin_layout Plain Layout
18257
18258 \end_layout
18259
18260 \end_inset
18261 </cell>
18262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18263 \begin_inset Text
18264
18265 \begin_layout Plain Layout
18266 c
18267 \end_layout
18268
18269 \end_inset
18270 </cell>
18271 </row>
18272 <row>
18273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18274 \begin_inset Text
18275
18276 \begin_layout Plain Layout
18277 d
18278 \end_layout
18279
18280 \end_inset
18281 </cell>
18282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18283 \begin_inset Text
18284
18285 \begin_layout Plain Layout
18286 e
18287 \end_layout
18288
18289 \end_inset
18290 </cell>
18291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18292 \begin_inset Text
18293
18294 \begin_layout Plain Layout
18295 f
18296 \end_layout
18297
18298 \end_inset
18299 </cell>
18300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18301 \begin_inset Text
18302
18303 \begin_layout Plain Layout
18304 g
18305 \end_layout
18306
18307 \end_inset
18308 </cell>
18309 </row>
18310 <row>
18311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18312 \begin_inset Text
18313
18314 \begin_layout Plain Layout
18315 h
18316 \end_layout
18317
18318 \end_inset
18319 </cell>
18320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18321 \begin_inset Text
18322
18323 \begin_layout Plain Layout
18324 i
18325 \end_layout
18326
18327 \end_inset
18328 </cell>
18329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18330 \begin_inset Text
18331
18332 \begin_layout Plain Layout
18333 j
18334 \end_layout
18335
18336 \end_inset
18337 </cell>
18338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18339 \begin_inset Text
18340
18341 \begin_layout Plain Layout
18342 k
18343 \end_layout
18344
18345 \end_inset
18346 </cell>
18347 </row>
18348 </lyxtabular>
18349
18350 \end_inset
18351
18352
18353 \end_layout
18354
18355 \end_inset
18356
18357
18358 \end_layout
18359
18360 \begin_layout Subsection
18361 Line Thickness
18362 \begin_inset CommandInset label
18363 LatexCommand label
18364 name "sub:Line-Thickness"
18365
18366 \end_inset
18367
18368
18369 \begin_inset Index idx
18370 status collapsed
18371
18372 \begin_layout Plain Layout
18373 Table Customization ! Line Thickness
18374 \end_layout
18375
18376 \end_inset
18377
18378
18379 \end_layout
18380
18381 \begin_layout Standard
18382 The line thickness for all lines in a table can be adjusted with the length
18383  
18384 \series bold
18385
18386 \backslash
18387 arrayrulewidth
18388 \series default
18389 .
18390  To set for example a line thickness of 1.5
18391 \begin_inset space \thinspace{}
18392 \end_inset
18393
18394 pt, as in Table
18395 \begin_inset space ~
18396 \end_inset
18397
18398
18399 \begin_inset CommandInset ref
18400 LatexCommand ref
18401 reference "tab:Table-with-1.5"
18402
18403 \end_inset
18404
18405 , insert the command
18406 \end_layout
18407
18408 \begin_layout Standard
18409
18410 \series bold
18411
18412 \backslash
18413 setlength{
18414 \backslash
18415 arrayrulewidth}{1.5pt}
18416 \end_layout
18417
18418 \begin_layout Standard
18419 in TeX-Code before the table or table float.
18420  The changed thickness is valid for all subsequent tables.
18421  To use the default value again, set 
18422 \series bold
18423
18424 \backslash
18425 arrayrulewidth
18426 \series default
18427  to 0.4
18428 \begin_inset space \thinspace{}
18429 \end_inset
18430
18431 pt in TeX-Code after the table or table float.
18432 \end_layout
18433
18434 \begin_layout Standard
18435 \begin_inset ERT
18436 status collapsed
18437
18438 \begin_layout Plain Layout
18439
18440
18441 \backslash
18442 setlength{
18443 \backslash
18444 arrayrulewidth}{1.5pt}
18445 \end_layout
18446
18447 \end_inset
18448
18449
18450 \begin_inset Float table
18451 wide false
18452 sideways false
18453 status open
18454
18455 \begin_layout Plain Layout
18456 \begin_inset Caption
18457
18458 \begin_layout Plain Layout
18459 \begin_inset CommandInset label
18460 LatexCommand label
18461 name "tab:Table-with-1.5"
18462
18463 \end_inset
18464
18465 Table with 1.5
18466 \begin_inset space \thinspace{}
18467 \end_inset
18468
18469 pt thick lines
18470 \end_layout
18471
18472 \end_inset
18473
18474
18475 \end_layout
18476
18477 \begin_layout Plain Layout
18478 \align center
18479 \begin_inset Tabular
18480 <lyxtabular version="3" rows="3" columns="3">
18481 <features tabularvalignment="middle">
18482 <column alignment="center" valignment="top" width="0">
18483 <column alignment="center" valignment="top" width="0">
18484 <column alignment="center" valignment="top" width="0">
18485 <row>
18486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18487 \begin_inset Text
18488
18489 \begin_layout Plain Layout
18490 sd
18491 \end_layout
18492
18493 \end_inset
18494 </cell>
18495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18496 \begin_inset Text
18497
18498 \begin_layout Plain Layout
18499
18500 \end_layout
18501
18502 \end_inset
18503 </cell>
18504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18505 \begin_inset Text
18506
18507 \begin_layout Plain Layout
18508
18509 \end_layout
18510
18511 \end_inset
18512 </cell>
18513 </row>
18514 <row>
18515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18516 \begin_inset Text
18517
18518 \begin_layout Plain Layout
18519
18520 \end_layout
18521
18522 \end_inset
18523 </cell>
18524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18525 \begin_inset Text
18526
18527 \begin_layout Plain Layout
18528 sd
18529 \end_layout
18530
18531 \end_inset
18532 </cell>
18533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18534 \begin_inset Text
18535
18536 \begin_layout Plain Layout
18537
18538 \end_layout
18539
18540 \end_inset
18541 </cell>
18542 </row>
18543 <row>
18544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18545 \begin_inset Text
18546
18547 \begin_layout Plain Layout
18548
18549 \end_layout
18550
18551 \end_inset
18552 </cell>
18553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18554 \begin_inset Text
18555
18556 \begin_layout Plain Layout
18557
18558 \end_layout
18559
18560 \end_inset
18561 </cell>
18562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18563 \begin_inset Text
18564
18565 \begin_layout Plain Layout
18566 sd
18567 \end_layout
18568
18569 \end_inset
18570 </cell>
18571 </row>
18572 </lyxtabular>
18573
18574 \end_inset
18575
18576
18577 \end_layout
18578
18579 \end_inset
18580
18581
18582 \begin_inset ERT
18583 status collapsed
18584
18585 \begin_layout Plain Layout
18586
18587
18588 \backslash
18589 setlength{
18590 \backslash
18591 arrayrulewidth}{0.4pt}
18592 \end_layout
18593
18594 \end_inset
18595
18596
18597 \end_layout
18598
18599 \begin_layout Standard
18600 \begin_inset VSpace bigskip
18601 \end_inset
18602
18603 To set the line thickness to 1.5
18604 \begin_inset space \thinspace{}
18605 \end_inset
18606
18607 pt only for horizontal lines, as in Table
18608 \begin_inset space ~
18609 \end_inset
18610
18611
18612 \begin_inset CommandInset ref
18613 LatexCommand ref
18614 reference "tab:Table-with-horizontal"
18615
18616 \end_inset
18617
18618 , insert these commands in TeX-Code before the table or table float:
18619 \end_layout
18620
18621 \begin_layout Standard
18622
18623 \series bold
18624
18625 \backslash
18626 let
18627 \backslash
18628 myHline
18629 \backslash
18630 hline
18631 \begin_inset Newline newline
18632 \end_inset
18633
18634
18635 \backslash
18636 renewcommand{
18637 \backslash
18638 hline}
18639 \begin_inset Newline newline
18640 \end_inset
18641
18642  {
18643 \backslash
18644 noalign{
18645 \backslash
18646 global
18647 \backslash
18648 arrayrulewidth 1.5pt}
18649 \begin_inset Newline newline
18650 \end_inset
18651
18652  
18653 \backslash
18654 myHline
18655 \backslash
18656 noalign{
18657 \backslash
18658 global
18659 \backslash
18660 arrayrulewidth 0.4pt}}
18661 \end_layout
18662
18663 \begin_layout Standard
18664 To return to the default line thickness, insert this command in TeX-Code
18665  after the table or table float:
18666 \end_layout
18667
18668 \begin_layout Standard
18669
18670 \series bold
18671
18672 \backslash
18673 renewcommand{
18674 \backslash
18675 hline}{
18676 \backslash
18677 myHline}
18678 \end_layout
18679
18680 \begin_layout Standard
18681 \begin_inset ERT
18682 status collapsed
18683
18684 \begin_layout Plain Layout
18685
18686
18687 \backslash
18688 let
18689 \backslash
18690 myHline
18691 \backslash
18692 hline
18693 \end_layout
18694
18695 \begin_layout Plain Layout
18696
18697
18698 \backslash
18699 renewcommand{
18700 \backslash
18701 hline}
18702 \end_layout
18703
18704 \begin_layout Plain Layout
18705
18706  {
18707 \backslash
18708 noalign{
18709 \backslash
18710 global
18711 \backslash
18712 arrayrulewidth 1.5pt}
18713 \end_layout
18714
18715 \begin_layout Plain Layout
18716
18717   
18718 \backslash
18719 myHline
18720 \backslash
18721 noalign{
18722 \backslash
18723 global
18724 \backslash
18725 arrayrulewidth 0.4pt}}
18726 \end_layout
18727
18728 \end_inset
18729
18730
18731 \begin_inset Float table
18732 wide false
18733 sideways false
18734 status open
18735
18736 \begin_layout Plain Layout
18737 \begin_inset Caption
18738
18739 \begin_layout Plain Layout
18740 \begin_inset CommandInset label
18741 LatexCommand label
18742 name "tab:Table-with-horizontal"
18743
18744 \end_inset
18745
18746 Table with 1.5
18747 \begin_inset space \thinspace{}
18748 \end_inset
18749
18750 pt thick horizontal lines
18751 \end_layout
18752
18753 \end_inset
18754
18755
18756 \end_layout
18757
18758 \begin_layout Plain Layout
18759 \align center
18760 \begin_inset Tabular
18761 <lyxtabular version="3" rows="3" columns="3">
18762 <features tabularvalignment="middle">
18763 <column alignment="center" valignment="top" width="0">
18764 <column alignment="center" valignment="top" width="0">
18765 <column alignment="center" valignment="top" width="0">
18766 <row>
18767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18768 \begin_inset Text
18769
18770 \begin_layout Plain Layout
18771 sd
18772 \end_layout
18773
18774 \end_inset
18775 </cell>
18776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18777 \begin_inset Text
18778
18779 \begin_layout Plain Layout
18780
18781 \end_layout
18782
18783 \end_inset
18784 </cell>
18785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18786 \begin_inset Text
18787
18788 \begin_layout Plain Layout
18789
18790 \end_layout
18791
18792 \end_inset
18793 </cell>
18794 </row>
18795 <row>
18796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18797 \begin_inset Text
18798
18799 \begin_layout Plain Layout
18800
18801 \end_layout
18802
18803 \end_inset
18804 </cell>
18805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18806 \begin_inset Text
18807
18808 \begin_layout Plain Layout
18809 sd
18810 \end_layout
18811
18812 \end_inset
18813 </cell>
18814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18815 \begin_inset Text
18816
18817 \begin_layout Plain Layout
18818
18819 \end_layout
18820
18821 \end_inset
18822 </cell>
18823 </row>
18824 <row>
18825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18826 \begin_inset Text
18827
18828 \begin_layout Plain Layout
18829
18830 \end_layout
18831
18832 \end_inset
18833 </cell>
18834 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18835 \begin_inset Text
18836
18837 \begin_layout Plain Layout
18838
18839 \end_layout
18840
18841 \end_inset
18842 </cell>
18843 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18844 \begin_inset Text
18845
18846 \begin_layout Plain Layout
18847 sd
18848 \end_layout
18849
18850 \end_inset
18851 </cell>
18852 </row>
18853 </lyxtabular>
18854
18855 \end_inset
18856
18857
18858 \end_layout
18859
18860 \end_inset
18861
18862
18863 \begin_inset ERT
18864 status collapsed
18865
18866 \begin_layout Plain Layout
18867
18868
18869 \backslash
18870 renewcommand{
18871 \backslash
18872 hline}{
18873 \backslash
18874 myHline}
18875 \end_layout
18876
18877 \end_inset
18878
18879
18880 \end_layout
18881
18882 \begin_layout Standard
18883 \begin_inset VSpace bigskip
18884 \end_inset
18885
18886 To set the line thickness to 1.5
18887 \begin_inset space \thinspace{}
18888 \end_inset
18889
18890 pt only for vertical lines, create the following column format in the document
18891  preamble, according to the description in section
18892 \begin_inset space ~
18893 \end_inset
18894
18895
18896 \begin_inset CommandInset ref
18897 LatexCommand ref
18898 reference "sub:Customized-Format"
18899
18900 \end_inset
18901
18902 :
18903 \end_layout
18904
18905 \begin_layout Standard
18906
18907 \series bold
18908
18909 \backslash
18910 newcolumntype{V}{!{
18911 \backslash
18912 vrule width 1.5pt}}
18913 \end_layout
18914
18915 \begin_layout Standard
18916 For Table
18917 \begin_inset space ~
18918 \end_inset
18919
18920
18921 \begin_inset CommandInset ref
18922 LatexCommand ref
18923 reference "tab:Table-with-vertical"
18924
18925 \end_inset
18926
18927  the LaTeX-argument
18928 \end_layout
18929
18930 \begin_layout Standard
18931
18932 \series bold
18933 VcV
18934 \end_layout
18935
18936 \begin_layout Standard
18937 was used for the last column and
18938 \end_layout
18939
18940 \begin_layout Standard
18941
18942 \series bold
18943 Vc
18944 \end_layout
18945
18946 \begin_layout Standard
18947 for the other columns.
18948 \end_layout
18949
18950 \begin_layout Standard
18951 \begin_inset Float table
18952 wide false
18953 sideways false
18954 status open
18955
18956 \begin_layout Plain Layout
18957 \begin_inset Caption
18958
18959 \begin_layout Plain Layout
18960 \begin_inset CommandInset label
18961 LatexCommand label
18962 name "tab:Table-with-vertical"
18963
18964 \end_inset
18965
18966 Table with 1.5
18967 \begin_inset space \thinspace{}
18968 \end_inset
18969
18970 pt thick vertical lines
18971 \end_layout
18972
18973 \end_inset
18974
18975
18976 \end_layout
18977
18978 \begin_layout Plain Layout
18979 \align center
18980 \begin_inset Tabular
18981 <lyxtabular version="3" rows="3" columns="3">
18982 <features tabularvalignment="middle">
18983 <column alignment="center" valignment="top" width="0" special="Vc">
18984 <column alignment="center" valignment="top" width="0" special="Vc">
18985 <column alignment="center" valignment="top" width="0" special="VcV">
18986 <row>
18987 <cell alignment="center" valignment="top" topline="true" usebox="none">
18988 \begin_inset Text
18989
18990 \begin_layout Plain Layout
18991 sd
18992 \end_layout
18993
18994 \end_inset
18995 </cell>
18996 <cell alignment="center" valignment="top" topline="true" usebox="none">
18997 \begin_inset Text
18998
18999 \begin_layout Plain Layout
19000
19001 \end_layout
19002
19003 \end_inset
19004 </cell>
19005 <cell alignment="center" valignment="top" topline="true" usebox="none">
19006 \begin_inset Text
19007
19008 \begin_layout Plain Layout
19009
19010 \end_layout
19011
19012 \end_inset
19013 </cell>
19014 </row>
19015 <row>
19016 <cell alignment="center" valignment="top" topline="true" usebox="none">
19017 \begin_inset Text
19018
19019 \begin_layout Plain Layout
19020
19021 \end_layout
19022
19023 \end_inset
19024 </cell>
19025 <cell alignment="center" valignment="top" topline="true" usebox="none">
19026 \begin_inset Text
19027
19028 \begin_layout Plain Layout
19029 sd
19030 \end_layout
19031
19032 \end_inset
19033 </cell>
19034 <cell alignment="center" valignment="top" topline="true" usebox="none">
19035 \begin_inset Text
19036
19037 \begin_layout Plain Layout
19038
19039 \end_layout
19040
19041 \end_inset
19042 </cell>
19043 </row>
19044 <row>
19045 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19046 \begin_inset Text
19047
19048 \begin_layout Plain Layout
19049
19050 \end_layout
19051
19052 \end_inset
19053 </cell>
19054 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19055 \begin_inset Text
19056
19057 \begin_layout Plain Layout
19058
19059 \end_layout
19060
19061 \end_inset
19062 </cell>
19063 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19064 \begin_inset Text
19065
19066 \begin_layout Plain Layout
19067 sd
19068 \end_layout
19069
19070 \end_inset
19071 </cell>
19072 </row>
19073 </lyxtabular>
19074
19075 \end_inset
19076
19077
19078 \end_layout
19079
19080 \end_inset
19081
19082
19083 \end_layout
19084
19085 \begin_layout Subsection
19086 Dashed Lines
19087 \begin_inset Index idx
19088 status collapsed
19089
19090 \begin_layout Plain Layout
19091 Table Customization ! Dashed Lines
19092 \end_layout
19093
19094 \end_inset
19095
19096
19097 \end_layout
19098
19099 \begin_layout Standard
19100 \begin_inset ERT
19101 status collapsed
19102
19103 \begin_layout Plain Layout
19104
19105
19106 \backslash
19107 ifarydshln
19108 \end_layout
19109
19110 \end_inset
19111
19112
19113 \begin_inset Note Note
19114 status open
19115
19116 \begin_layout Plain Layout
19117 The following section will only be displayed when the LaTeX-package 
19118 \series bold
19119 arydshln
19120 \series default
19121  is installed.
19122 \end_layout
19123
19124 \end_inset
19125
19126
19127 \end_layout
19128
19129 \begin_layout Standard
19130 \begin_inset Float table
19131 placement H
19132 wide false
19133 sideways false
19134 status open
19135
19136 \begin_layout Plain Layout
19137 \begin_inset Caption
19138
19139 \begin_layout Plain Layout
19140 \begin_inset CommandInset label
19141 LatexCommand label
19142 name "tab:Table-with-dashed"
19143
19144 \end_inset
19145
19146 Table with dashed lines
19147 \end_layout
19148
19149 \end_inset
19150
19151
19152 \end_layout
19153
19154 \begin_layout Plain Layout
19155 \align center
19156 \begin_inset Tabular
19157 <lyxtabular version="3" rows="5" columns="5">
19158 <features tabularvalignment="middle">
19159 <column alignment="center" valignment="top" width="0">
19160 <column alignment="center" valignment="top" width="0">
19161 <column alignment="center" valignment="top" width="0" special=":c">
19162 <column alignment="center" valignment="top" width="0">
19163 <column alignment="center" valignment="top" width="0">
19164 <row>
19165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19166 \begin_inset Text
19167
19168 \begin_layout Plain Layout
19169 a
19170 \end_layout
19171
19172 \end_inset
19173 </cell>
19174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19175 \begin_inset Text
19176
19177 \begin_layout Plain Layout
19178 b
19179 \end_layout
19180
19181 \end_inset
19182 </cell>
19183 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19184 \begin_inset Text
19185
19186 \begin_layout Plain Layout
19187 c
19188 \end_layout
19189
19190 \end_inset
19191 </cell>
19192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19193 \begin_inset Text
19194
19195 \begin_layout Plain Layout
19196 d
19197 \end_layout
19198
19199 \end_inset
19200 </cell>
19201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19202 \begin_inset Text
19203
19204 \begin_layout Plain Layout
19205 e
19206 \end_layout
19207
19208 \end_inset
19209 </cell>
19210 </row>
19211 <row>
19212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19213 \begin_inset Text
19214
19215 \begin_layout Plain Layout
19216 f
19217 \end_layout
19218
19219 \end_inset
19220 </cell>
19221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19222 \begin_inset Text
19223
19224 \begin_layout Plain Layout
19225 g
19226 \end_layout
19227
19228 \end_inset
19229 </cell>
19230 <cell alignment="center" valignment="top" topline="true" usebox="none">
19231 \begin_inset Text
19232
19233 \begin_layout Plain Layout
19234 h
19235 \end_layout
19236
19237 \end_inset
19238 </cell>
19239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19240 \begin_inset Text
19241
19242 \begin_layout Plain Layout
19243 i
19244 \end_layout
19245
19246 \end_inset
19247 </cell>
19248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19249 \begin_inset Text
19250
19251 \begin_layout Plain Layout
19252 j
19253 \end_layout
19254
19255 \end_inset
19256 </cell>
19257 </row>
19258 <row>
19259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19260 \begin_inset Text
19261
19262 \begin_layout Plain Layout
19263 \begin_inset ERT
19264 status collapsed
19265
19266 \begin_layout Plain Layout
19267
19268
19269 \backslash
19270 hdashline 
19271 \end_layout
19272
19273 \end_inset
19274
19275 k
19276 \end_layout
19277
19278 \end_inset
19279 </cell>
19280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19281 \begin_inset Text
19282
19283 \begin_layout Plain Layout
19284 l
19285 \end_layout
19286
19287 \end_inset
19288 </cell>
19289 <cell alignment="center" valignment="top" usebox="none">
19290 \begin_inset Text
19291
19292 \begin_layout Plain Layout
19293 m
19294 \end_layout
19295
19296 \end_inset
19297 </cell>
19298 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19299 \begin_inset Text
19300
19301 \begin_layout Plain Layout
19302 n
19303 \end_layout
19304
19305 \end_inset
19306 </cell>
19307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19308 \begin_inset Text
19309
19310 \begin_layout Plain Layout
19311 o
19312 \end_layout
19313
19314 \end_inset
19315 </cell>
19316 </row>
19317 <row>
19318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19319 \begin_inset Text
19320
19321 \begin_layout Plain Layout
19322 \begin_inset ERT
19323 status collapsed
19324
19325 \begin_layout Plain Layout
19326
19327
19328 \backslash
19329 cdashline{4-5}
19330 \end_layout
19331
19332 \end_inset
19333
19334 p
19335 \end_layout
19336
19337 \end_inset
19338 </cell>
19339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19340 \begin_inset Text
19341
19342 \begin_layout Plain Layout
19343 q
19344 \end_layout
19345
19346 \end_inset
19347 </cell>
19348 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19349 \begin_inset Text
19350
19351 \begin_layout Plain Layout
19352 r
19353 \end_layout
19354
19355 \end_inset
19356 </cell>
19357 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19358 \begin_inset Text
19359
19360 \begin_layout Plain Layout
19361 s
19362 \end_layout
19363
19364 \end_inset
19365 </cell>
19366 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19367 \begin_inset Text
19368
19369 \begin_layout Plain Layout
19370
19371 \end_layout
19372
19373 \end_inset
19374 </cell>
19375 </row>
19376 <row>
19377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19378 \begin_inset Text
19379
19380 \begin_layout Plain Layout
19381 t
19382 \end_layout
19383
19384 \end_inset
19385 </cell>
19386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19387 \begin_inset Text
19388
19389 \begin_layout Plain Layout
19390 u
19391 \end_layout
19392
19393 \end_inset
19394 </cell>
19395 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19396 \begin_inset Text
19397
19398 \begin_layout Plain Layout
19399 v
19400 \end_layout
19401
19402 \end_inset
19403 </cell>
19404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19405 \begin_inset Text
19406
19407 \begin_layout Plain Layout
19408 w
19409 \end_layout
19410
19411 \end_inset
19412 </cell>
19413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19414 \begin_inset Text
19415
19416 \begin_layout Plain Layout
19417 x
19418 \end_layout
19419
19420 \end_inset
19421 </cell>
19422 </row>
19423 </lyxtabular>
19424
19425 \end_inset
19426
19427
19428 \end_layout
19429
19430 \end_inset
19431
19432
19433 \end_layout
19434
19435 \begin_layout Standard
19436 LyX does not natively support dashed lines, so you have to use TeX-Code.
19437  As a prerequisite the LaTeX-package 
19438 \series bold
19439 arydshln
19440 \series default
19441
19442 \begin_inset Index idx
19443 status collapsed
19444
19445 \begin_layout Plain Layout
19446 LaTeX-packages ! arydshln
19447 \end_layout
19448
19449 \end_inset
19450
19451  must be loaded in the document preamble with the command
19452 \end_layout
19453
19454 \begin_layout Standard
19455
19456 \series bold
19457
19458 \backslash
19459 usepackage{arydshln}
19460 \end_layout
19461
19462 \begin_layout Standard
19463 To make a vertical line dashed, enter the colon 
19464 \begin_inset Quotes eld
19465 \end_inset
19466
19467 :
19468 \begin_inset Quotes erd
19469 \end_inset
19470
19471  together with the character for the horizontal alignment as LaTeX-argument
19472  in the table cell dialog.
19473 \end_layout
19474
19475 \begin_layout Standard
19476 For a horizontal dashed line add the command
19477 \end_layout
19478
19479 \begin_layout Standard
19480
19481 \series bold
19482
19483 \backslash
19484 hdashline
19485 \end_layout
19486
19487 \begin_layout Standard
19488 in TeX-Code as first element of the first cell in the table row.
19489 \end_layout
19490
19491 \begin_layout Standard
19492 For dashed multicolumn lines use the command
19493 \end_layout
19494
19495 \begin_layout Standard
19496
19497 \series bold
19498
19499 \backslash
19500 cdashline{line number
19501 \series default
19502 }
19503 \end_layout
19504
19505 \begin_layout Standard
19506 in TeX-Code as the first element of the first cell in the table row.
19507  If you have for example a multicolumn spanning columns 2 to 4 and you want
19508  to have a dashed line above, add the command
19509 \end_layout
19510
19511 \begin_layout Standard
19512
19513 \series bold
19514
19515 \backslash
19516 cdashline{2-4}
19517 \end_layout
19518
19519 \begin_layout Standard
19520 as the first element of the first cell in the row of the multicolumn.
19521 \end_layout
19522
19523 \begin_layout Standard
19524 \begin_inset VSpace bigskip
19525 \end_inset
19526
19527
19528 \end_layout
19529
19530 \begin_layout Standard
19531 Table
19532 \begin_inset space ~
19533 \end_inset
19534
19535
19536 \begin_inset CommandInset ref
19537 LatexCommand ref
19538 reference "tab:Table-with-dashed"
19539
19540 \end_inset
19541
19542  was created using 
19543 \begin_inset Quotes eld
19544 \end_inset
19545
19546
19547 \series bold
19548 :c
19549 \series default
19550
19551 \begin_inset Quotes erd
19552 \end_inset
19553
19554  as LaTeX-argument of the third column.
19555  The TeX-Code command 
19556 \series bold
19557
19558 \backslash
19559 hdashline
19560 \series default
19561  was inserted in the first cell of the third row and the TeX-Code command
19562 \begin_inset Newline newline
19563 \end_inset
19564
19565  
19566 \series bold
19567
19568 \backslash
19569 cdashline{4-5}
19570 \series default
19571  was inserted in the first cell of the fourth row.
19572 \end_layout
19573
19574 \begin_layout Standard
19575 \begin_inset Note Greyedout
19576 status open
19577
19578 \begin_layout Plain Layout
19579
19580 \series bold
19581 Note:
19582 \series default
19583  The LaTeX-package 
19584 \series bold
19585 arydshln
19586 \series default
19587  is apparently not compatible with the LaTeX-package 
19588 \series bold
19589 colortbl
19590 \series default
19591
19592 \begin_inset Index idx
19593 status collapsed
19594
19595 \begin_layout Plain Layout
19596 LaTeX-packages ! colortbl
19597 \end_layout
19598
19599 \end_inset
19600
19601  that is used for colored tables in section
19602 \begin_inset space ~
19603 \end_inset
19604
19605
19606 \begin_inset CommandInset ref
19607 LatexCommand ref
19608 reference "sec:Colored-Tables"
19609
19610 \end_inset
19611
19612 .
19613  That means colored tables cannot have dashed lines.
19614 \end_layout
19615
19616 \end_inset
19617
19618
19619 \end_layout
19620
19621 \begin_layout Standard
19622 \begin_inset ERT
19623 status collapsed
19624
19625 \begin_layout Plain Layout
19626
19627
19628 \backslash
19629 else
19630 \end_layout
19631
19632 \end_inset
19633
19634
19635 \begin_inset Note Note
19636 status open
19637
19638 \begin_layout Plain Layout
19639 The following will be displayed when the LaTeX-package 
19640 \series bold
19641 arydshln
19642 \series default
19643  is not installed:
19644 \end_layout
19645
19646 \end_inset
19647
19648
19649 \end_layout
19650
19651 \begin_layout Standard
19652 You need to install the package 
19653 \series bold
19654 arydshln
19655 \series default
19656  to see the content of this section in the output.
19657 \end_layout
19658
19659 \begin_layout Standard
19660 \begin_inset ERT
19661 status collapsed
19662
19663 \begin_layout Plain Layout
19664
19665
19666 \backslash
19667 fi
19668 \end_layout
19669
19670 \end_inset
19671
19672
19673 \end_layout
19674
19675 \begin_layout Chapter
19676 Floats
19677 \begin_inset CommandInset label
19678 LatexCommand label
19679 name "chap:Floats"
19680
19681 \end_inset
19682
19683
19684 \begin_inset Index idx
19685 status collapsed
19686
19687 \begin_layout Plain Layout
19688 Floats
19689 \end_layout
19690
19691 \end_inset
19692
19693
19694 \end_layout
19695
19696 \begin_layout Section
19697 Introduction
19698 \begin_inset CommandInset label
19699 LatexCommand label
19700 name "sec:FloatIntroduction"
19701
19702 \end_inset
19703
19704
19705 \begin_inset Index idx
19706 status collapsed
19707
19708 \begin_layout Plain Layout
19709 Floats ! Introduction
19710 \end_layout
19711
19712 \end_inset
19713
19714
19715 \end_layout
19716
19717 \begin_layout Standard
19718 A float is a block of text associated with some sort of label, which doesn't
19719  have a fixed location.
19720  It can 
19721 \begin_inset Quotes eld
19722 \end_inset
19723
19724 float
19725 \begin_inset Quotes erd
19726 \end_inset
19727
19728  forward or backward a page or two, to wherever it fits best.
19729  
19730 \family sans
19731 Footnotes
19732 \family default
19733  and 
19734 \family sans
19735 Margin
19736 \begin_inset space ~
19737 \end_inset
19738
19739 Notes
19740 \family default
19741  are also floats, because they can float to the next page when there are
19742  too many notes on the page.
19743 \end_layout
19744
19745 \begin_layout Standard
19746 Floats allow a high quality layout.
19747  Images and tables can be spread evenly to the pages to avoid white space
19748  and pages without text.
19749  As the floating often destroys the context between the text and the image/table
19750 , every float can be referenced in the text.
19751  Floats are therefore numbered.
19752  Referencing is described in section
19753 \begin_inset space ~
19754 \end_inset
19755
19756
19757 \begin_inset CommandInset ref
19758 LatexCommand ref
19759 reference "sec:Referencing-Floats"
19760
19761 \end_inset
19762
19763 .
19764 \end_layout
19765
19766 \begin_layout Standard
19767 To insert a float, use the menu 
19768 \family sans
19769 Insert\SpecialChar \menuseparator
19770 Float
19771 \family default
19772 .
19773  This inserts the 
19774 \family sans
19775 Caption
19776 \family default
19777  inset, a box with a label.
19778  The label will automatically be translated to the document language in
19779  the output.
19780  After the label you can insert the caption text.
19781  The image or table is inserted above or below the caption in a separate
19782  paragraph within the float.
19783  More about the caption placement is contained in section
19784 \begin_inset space ~
19785 \end_inset
19786
19787
19788 \begin_inset CommandInset ref
19789 LatexCommand ref
19790 reference "sec:Caption-Placement"
19791
19792 \end_inset
19793
19794 .
19795  To keep your LyX-document readable, you can open and close the float box
19796  by left-clicking on the box label.
19797  A closed float box looks like this: 
19798 \begin_inset Graphics
19799         filename clipart/floatQt4.png
19800         scale 70
19801         scaleBeforeRotation
19802
19803 \end_inset
19804
19805  – a gray button with a red label.
19806 \end_layout
19807
19808 \begin_layout Standard
19809 It is recommended that you insert floats as a separate standard paragraph
19810  to avoid possible LaTeX-errors that can occur when the surrounding text
19811  is specially formatted.
19812 \end_layout
19813
19814 \begin_layout Standard
19815 Existing figures or tables can be put into a float by highlighting them
19816  and then pressing the corresponding toolbar button for a new float.
19817 \end_layout
19818
19819 \begin_layout Section
19820 Float Types
19821 \end_layout
19822
19823 \begin_layout Standard
19824 Besides figure and table floats that are described in sections
19825 \begin_inset space ~
19826 \end_inset
19827
19828
19829 \begin_inset CommandInset ref
19830 LatexCommand ref
19831 reference "sec:Figure-Floats"
19832
19833 \end_inset
19834
19835  and 
19836 \begin_inset CommandInset ref
19837 LatexCommand ref
19838 reference "sec:Table-Floats"
19839
19840 \end_inset
19841
19842  respectively, LyX offers the float types 
19843 \family sans
19844 Algorithm
19845 \family default
19846  and 
19847 \family sans
19848 Wrap
19849 \family default
19850 .
19851  The latter are explained in sec.
19852 \begin_inset space \thinspace{}
19853 \end_inset
19854
19855
19856 \begin_inset CommandInset ref
19857 LatexCommand ref
19858 reference "sec:Wrap-Floats"
19859
19860 \end_inset
19861
19862 .
19863 \end_layout
19864
19865 \begin_layout Subsection
19866 Algorithm Floats
19867 \begin_inset Index idx
19868 status collapsed
19869
19870 \begin_layout Plain Layout
19871 Floats ! Algorithms
19872 \end_layout
19873
19874 \end_inset
19875
19876
19877 \end_layout
19878
19879 \begin_layout Standard
19880 \begin_inset Float algorithm
19881 placement h
19882 wide false
19883 sideways false
19884 status open
19885
19886 \begin_layout Plain Layout
19887 \begin_inset Caption
19888
19889 \begin_layout Plain Layout
19890 \begin_inset CommandInset label
19891 LatexCommand label
19892 name "alg:Example-Algorithm-float"
19893
19894 \end_inset
19895
19896 Example Algorithm float
19897 \end_layout
19898
19899 \end_inset
19900
19901
19902 \end_layout
19903
19904 \begin_layout LyX-Code
19905 for I in 1..N loop
19906 \begin_inset Newline newline
19907 \end_inset
19908
19909  Sum:= Sum + A(I); /*comment*/
19910 \begin_inset Newline newline
19911 \end_inset
19912
19913 end loop
19914 \begin_inset VSpace -4mm
19915 \end_inset
19916
19917
19918 \end_layout
19919
19920 \end_inset
19921
19922
19923 \end_layout
19924
19925 \begin_layout Standard
19926 This float type is inserted with the menu 
19927 \family sans
19928 Insert\SpecialChar \menuseparator
19929 Floats\SpecialChar \menuseparator
19930 Algorithm
19931 \family default
19932 .
19933  It is used for program codes and descriptions of algorithms and can be
19934  seen as an alternative to program code listings that are explained in chapter
19935 \begin_inset space ~
19936 \end_inset
19937
19938
19939 \begin_inset CommandInset ref
19940 LatexCommand ref
19941 reference "cha:Program-Code-Listings"
19942
19943 \end_inset
19944
19945 .
19946  A possible environment for algorithms is the 
19947 \family sans
19948 LyX-Code
19949 \family default
19950 , described in LyX's 
19951 \emph on
19952 Userguide
19953 \emph default
19954 .
19955  Algorithm
19956 \begin_inset space ~
19957 \end_inset
19958
19959
19960 \begin_inset CommandInset ref
19961 LatexCommand ref
19962 reference "alg:Example-Algorithm-float"
19963
19964 \end_inset
19965
19966  is an example of an algorithm float where -4
19967 \begin_inset space \thinspace{}
19968 \end_inset
19969
19970 mm vertical space was added at the end of the float to have the bottom rule
19971  exactly below the last text line.
19972 \end_layout
19973
19974 \begin_layout Standard
19975 The float label is not automatically translated into the document language.
19976  If your document is not in English, you have to do this manually by adding
19977  the following line to the document preamble
19978 \series bold
19979 :
19980 \end_layout
19981
19982 \begin_layout Standard
19983
19984 \series bold
19985
19986 \backslash
19987 floatname{algorithm}{your
19988 \begin_inset space ~
19989 \end_inset
19990
19991 name}
19992 \end_layout
19993
19994 \begin_layout Standard
19995 where 
19996 \family sans
19997 your
19998 \begin_inset space ~
19999 \end_inset
20000
20001 name
20002 \family default
20003  is the word 
20004 \begin_inset Quotes eld
20005 \end_inset
20006
20007
20008 \emph on
20009 algorithm
20010 \emph default
20011
20012 \begin_inset Quotes erd
20013 \end_inset
20014
20015  in your language.
20016 \end_layout
20017
20018 \begin_layout Standard
20019 To insert the list of algorithms you can use the menu 
20020 \family sans
20021 Insert\SpecialChar \menuseparator
20022 List
20023 \begin_inset space \thinspace{}
20024 \end_inset
20025
20026 /
20027 \begin_inset space \thinspace{}
20028 \end_inset
20029
20030 TOC\SpecialChar \menuseparator
20031 List of Algorithms
20032 \family default
20033  when your document has the same language as LyX's menu names.
20034  In other cases use this command in TeX-Code instead:
20035 \end_layout
20036
20037 \begin_layout Standard
20038
20039 \series bold
20040
20041 \backslash
20042 listof{algorithm}{your
20043 \begin_inset space ~
20044 \end_inset
20045
20046 name}
20047 \end_layout
20048
20049 \begin_layout Standard
20050 where 
20051 \family sans
20052 your
20053 \begin_inset space ~
20054 \end_inset
20055
20056 name
20057 \family default
20058  is the word 
20059 \begin_inset Quotes eld
20060 \end_inset
20061
20062
20063 \emph on
20064 List of Algorithm
20065 \emph default
20066 s
20067 \begin_inset Quotes erd
20068 \end_inset
20069
20070  in your language.
20071 \end_layout
20072
20073 \begin_layout Standard
20074 Algorithm floats are not by default numbered in the scheme 
20075 \begin_inset Quotes eld
20076 \end_inset
20077
20078 chapter.algorithm
20079 \begin_inset Quotes erd
20080 \end_inset
20081
20082  as is the case for table and figure floats in many document-classes.
20083  To number algorithm floats in the same scheme, add this command to your
20084  document preamble:
20085 \end_layout
20086
20087 \begin_layout Standard
20088
20089 \series bold
20090
20091 \backslash
20092 numberwithin{algorithm}{chapter}
20093 \end_layout
20094
20095 \begin_layout Standard
20096 To be able to use the command 
20097 \series bold
20098
20099 \backslash
20100 numberwithin
20101 \series default
20102 , set in the tab 
20103 \family sans
20104 Math
20105 \begin_inset space ~
20106 \end_inset
20107
20108 Options
20109 \family default
20110  in the document settings the option 
20111 \family sans
20112 Use
20113 \begin_inset space ~
20114 \end_inset
20115
20116 AMS
20117 \begin_inset space ~
20118 \end_inset
20119
20120 math
20121 \begin_inset space ~
20122 \end_inset
20123
20124 package
20125 \family default
20126 .
20127 \end_layout
20128
20129 \begin_layout Section
20130 Float Numbering
20131 \begin_inset Index idx
20132 status collapsed
20133
20134 \begin_layout Plain Layout
20135 Floats ! Numbering
20136 \end_layout
20137
20138 \end_inset
20139
20140
20141 \end_layout
20142
20143 \begin_layout Standard
20144 Floats are usually numbered either independently from the sections the floats
20145  are in, or in the scheme 
20146 \begin_inset Quotes eld
20147 \end_inset
20148
20149 chapter.number
20150 \begin_inset Quotes erd
20151 \end_inset
20152
20153  or 
20154 \begin_inset Quotes eld
20155 \end_inset
20156
20157 section.number
20158 \begin_inset Quotes erd
20159 \end_inset
20160
20161 .
20162  This depends on the document class used.
20163 \end_layout
20164
20165 \begin_layout Standard
20166 To change section-independent numbering, you can use this command in the
20167  document preamble:
20168 \end_layout
20169
20170 \begin_layout Standard
20171
20172 \series bold
20173
20174 \backslash
20175 renewcommand{
20176 \backslash
20177 thetable}{
20178 \backslash
20179 roman{table}}
20180 \end_layout
20181
20182 \begin_layout Standard
20183
20184 \series bold
20185
20186 \backslash
20187 thetable
20188 \series default
20189  is the command that prints the table number, for figure floats, the command
20190  would be 
20191 \series bold
20192
20193 \backslash
20194 thefigure
20195 \series default
20196 .
20197  
20198 \series bold
20199
20200 \backslash
20201 roman
20202 \series default
20203  in the command above prints the table number as small roman number.
20204 \end_layout
20205
20206 \begin_layout Standard
20207 To change the numbering scheme for example to 
20208 \begin_inset Quotes eld
20209 \end_inset
20210
20211 subsection.number
20212 \begin_inset Quotes erd
20213 \end_inset
20214
20215 , use this command in the preamble:
20216 \end_layout
20217
20218 \begin_layout Standard
20219
20220 \series bold
20221
20222 \backslash
20223 numberwithin{table}{subsection}
20224 \end_layout
20225
20226 \begin_layout Standard
20227 To be able to use the command 
20228 \series bold
20229
20230 \backslash
20231 numberwithin
20232 \series default
20233 , set in the tab 
20234 \family sans
20235 Math
20236 \begin_inset space ~
20237 \end_inset
20238
20239 Options
20240 \family default
20241  in the document settings the option 
20242 \family sans
20243 Use
20244 \begin_inset space ~
20245 \end_inset
20246
20247 AMS
20248 \begin_inset space ~
20249 \end_inset
20250
20251 math
20252 \begin_inset space ~
20253 \end_inset
20254
20255 package
20256 \family default
20257 .
20258 \end_layout
20259
20260 \begin_layout Standard
20261 Please also have a look at section
20262 \begin_inset space ~
20263 \end_inset
20264
20265
20266 \begin_inset CommandInset ref
20267 LatexCommand ref
20268 reference "sub:Footnote-Numbering"
20269
20270 \end_inset
20271
20272  for the details and important notes about the numbering commands.
20273 \end_layout
20274
20275 \begin_layout Section
20276 Referencing Floats
20277 \begin_inset CommandInset label
20278 LatexCommand label
20279 name "sec:Referencing-Floats"
20280
20281 \end_inset
20282
20283
20284 \begin_inset Index idx
20285 status collapsed
20286
20287 \begin_layout Plain Layout
20288 Floats ! References
20289 \end_layout
20290
20291 \end_inset
20292
20293
20294 \begin_inset Index idx
20295 status collapsed
20296
20297 \begin_layout Plain Layout
20298 References ! to Floats
20299 \end_layout
20300
20301 \end_inset
20302
20303
20304 \end_layout
20305
20306 \begin_layout Standard
20307 To reference a float, insert a label into its caption using the menu 
20308 \family sans
20309 Insert\SpecialChar \menuseparator
20310 Label
20311 \family default
20312  or the toolbar button 
20313 \begin_inset Graphics
20314         filename ../images/label-insert.png
20315         scale 85
20316         scaleBeforeRotation
20317
20318 \end_inset
20319
20320 .
20321  A grey label box like this one: 
20322 \begin_inset Graphics
20323         filename clipart/labelQt4.png
20324         scale 85
20325         scaleBeforeRotation
20326
20327 \end_inset
20328
20329  will be inserted and the label window pops up asking for the label text.
20330  LyX offers as text the first words of the caption with a prefix.
20331  The prefix depends on the float type, e.
20332 \begin_inset space \thinspace{}
20333 \end_inset
20334
20335 g.
20336 \begin_inset space \space{}
20337 \end_inset
20338
20339 for figure floats the prefix will be "
20340 \family sans
20341 fig:
20342 \family default
20343 ".
20344 \end_layout
20345
20346 \begin_layout Standard
20347 The label is used as anchor and name for the reference.
20348  You can refer to the label using the menu 
20349 \family sans
20350 Insert\SpecialChar \menuseparator
20351 Cross-reference
20352 \family default
20353  or the toolbar button 
20354 \begin_inset Graphics
20355         filename ../images/dialog-show-new-inset_ref.png
20356         scale 85
20357         scaleBeforeRotation
20358
20359 \end_inset
20360
20361 .
20362  A grey cross-reference box like this one: 
20363 \begin_inset Graphics
20364         filename clipart/referenceQt4.png
20365         scale 85
20366         scaleBeforeRotation
20367
20368 \end_inset
20369
20370  will be inserted and the cross-reference window appear showing all labels
20371  of the document.
20372  If you have multiple LyX-documents opened, choose the one you are working
20373  on from the drop-list at the top of the dialog.
20374  You can now sort the labels alphabetically and then choose one.
20375  At the position of the cross-reference box the float number will appear
20376  in the output.
20377 \end_layout
20378
20379 \begin_layout Standard
20380 It is recommended that you use a protected space between the cross-reference
20381  name and its number to avoid line breaks between them.
20382  If a cross-reference refers to a non-existing label, you will see two question
20383  marks in the output instead of the reference.
20384 \end_layout
20385
20386 \begin_layout Standard
20387 You can change labels at any time by clicking on the label box.
20388  References to the changed label will automatically change its link to the
20389  new label text, so that you don't need to take care about this.
20390 \end_layout
20391
20392 \begin_layout Standard
20393 The button 
20394 \family sans
20395 Go
20396 \begin_inset space ~
20397 \end_inset
20398
20399 to
20400 \begin_inset space ~
20401 \end_inset
20402
20403 Label
20404 \family default
20405  in the cross-reference window sets the cursor before the referred label.
20406  The button text changes then to Go
20407 \begin_inset space ~
20408 \end_inset
20409
20410 Back and you can use it to set the cursor back to the cross-reference.
20411  Right-clicking on a cross-reference box also sets the cursor before the
20412  referenced label but without the possibility of going back.
20413 \end_layout
20414
20415 \begin_layout Subsection
20416 Cross-Reference Formats
20417 \begin_inset CommandInset label
20418 LatexCommand label
20419 name "sub:Cross-Reference-Formats"
20420
20421 \end_inset
20422
20423
20424 \begin_inset Index idx
20425 status collapsed
20426
20427 \begin_layout Plain Layout
20428 References ! Formats
20429 \end_layout
20430
20431 \end_inset
20432
20433
20434 \end_layout
20435
20436 \begin_layout Standard
20437 There are six varieties of cross-references:
20438 \end_layout
20439
20440 \begin_layout Description
20441 <reference>: prints the float number, this is the default: 
20442 \begin_inset CommandInset ref
20443 LatexCommand ref
20444 reference "fig:Two-distorted-images"
20445
20446 \end_inset
20447
20448
20449 \end_layout
20450
20451 \begin_layout Description
20452 (<reference>): prints the float number within two parentheses, this is the
20453  style normally used to reference formulas, especially when the reference
20454  name 
20455 \begin_inset Quotes eld
20456 \end_inset
20457
20458 Equation
20459 \begin_inset Quotes erd
20460 \end_inset
20461
20462  is omitted: 
20463 \begin_inset CommandInset ref
20464 LatexCommand eqref
20465 reference "eq:Wgn"
20466
20467 \end_inset
20468
20469
20470 \end_layout
20471
20472 \begin_layout Description
20473 <page>: prints the page number: Page
20474 \begin_inset space ~
20475 \end_inset
20476
20477
20478 \begin_inset CommandInset ref
20479 LatexCommand pageref
20480 reference "fig:Two-distorted-images"
20481
20482 \end_inset
20483
20484
20485 \end_layout
20486
20487 \begin_layout Description
20488 on
20489 \begin_inset space ~
20490 \end_inset
20491
20492 page
20493 \begin_inset space ~
20494 \end_inset
20495
20496 <page>: prints the text "on page" and the page number: 
20497 \begin_inset CommandInset ref
20498 LatexCommand vpageref
20499 reference "fig:Two-distorted-images"
20500
20501 \end_inset
20502
20503
20504 \end_layout
20505
20506 \begin_layout Description
20507 <reference>
20508 \begin_inset space ~
20509 \end_inset
20510
20511 on
20512 \begin_inset space ~
20513 \end_inset
20514
20515 page
20516 \begin_inset space ~
20517 \end_inset
20518
20519 <page>: prints the float number, the text "on page", and the page number:
20520  
20521 \begin_inset CommandInset ref
20522 LatexCommand vref
20523 reference "fig:Two-distorted-images"
20524
20525 \end_inset
20526
20527
20528 \end_layout
20529
20530 \begin_layout Description
20531 Formatted
20532 \begin_inset space ~
20533 \end_inset
20534
20535 reference: prints a self-defined cross-reference format.
20536 \begin_inset Newline newline
20537 \end_inset
20538
20539
20540 \begin_inset Note Greyedout
20541 status open
20542
20543 \begin_layout Plain Layout
20544
20545 \series bold
20546 Note:
20547 \series default
20548  This feature is only available when you have the LaTeX-package 
20549 \series bold
20550 prettyref
20551 \series default
20552  or 
20553 \series bold
20554 refstyle
20555 \series default
20556
20557 \begin_inset Index idx
20558 status collapsed
20559
20560 \begin_layout Plain Layout
20561 LaTeX-packages ! prettyref
20562 \end_layout
20563
20564 \end_inset
20565
20566
20567 \begin_inset Index idx
20568 status collapsed
20569
20570 \begin_layout Plain Layout
20571 LaTeX-packages ! refstyle
20572 \end_layout
20573
20574 \end_inset
20575
20576  installed.
20577 \end_layout
20578
20579 \end_inset
20580
20581
20582 \begin_inset Newline newline
20583 \end_inset
20584
20585 You can select which LaTeX-package should be used for this feature by setting
20586  the option 
20587 \family sans
20588 Use refstyle (not prettyref) for cross-references
20589 \family default
20590  in the menu 
20591 \family sans
20592 Document\SpecialChar \menuseparator
20593 Settings\SpecialChar \menuseparator
20594 Document Class
20595 \family default
20596 .
20597  The format is specified by adding the command 
20598 \series bold
20599
20600 \backslash
20601 newrefformat
20602 \series default
20603  (prettyref) or 
20604 \series bold
20605
20606 \backslash
20607 newref
20608 \series default
20609  (refstyle) to the preamble of the document.
20610  For example redefining all references to figures (which have the label
20611  shortcut 
20612 \begin_inset Quotes eld
20613 \end_inset
20614
20615
20616 \family sans
20617 fig
20618 \family default
20619
20620 \begin_inset Quotes erd
20621 \end_inset
20622
20623 ) can be done with this command
20624 \begin_inset Newline newline
20625 \end_inset
20626
20627
20628 \series bold
20629
20630 \backslash
20631 newref{fig}{refcmd={Image on page 
20632 \backslash
20633 pageref{#1}}}
20634 \series default
20635
20636 \begin_inset Newline newline
20637 \end_inset
20638
20639 For more information about the format, have a look at the package documentations
20640
20641 \begin_inset CommandInset citation
20642 LatexCommand cite
20643 key "prettyref,refstyle"
20644
20645 \end_inset
20646
20647 .
20648 \end_layout
20649
20650 \begin_layout Description
20651 Textual
20652 \begin_inset space ~
20653 \end_inset
20654
20655 reference: prints the caption of the reference: 
20656 \begin_inset CommandInset ref
20657 LatexCommand nameref
20658 reference "fig:Two-distorted-images"
20659
20660 \end_inset
20661
20662
20663 \end_layout
20664
20665 \begin_layout Standard
20666
20667 \family sans
20668 <page>
20669 \family default
20670  will not print the page number if the label is on the previous, the same,
20671  or the next page.
20672  You will e.
20673 \begin_inset space \thinspace{}
20674 \end_inset
20675
20676 g.
20677 \begin_inset space \space{}
20678 \end_inset
20679
20680 see the text 
20681 \begin_inset Quotes eld
20682 \end_inset
20683
20684
20685 \family sans
20686 on this page
20687 \family default
20688
20689 \begin_inset Quotes erd
20690 \end_inset
20691
20692  instead.
20693  The style 
20694 \family sans
20695 <reference> on page <page>
20696 \family default
20697  will not print anything about the page if the label is on the same page.
20698 \end_layout
20699
20700 \begin_layout Standard
20701 The number and current page of the part of the document referred to in the
20702  output is automatically calculated by LaTeX.
20703  The varieties are adjusted in the field 
20704 \family sans
20705 Format
20706 \family default
20707  of the cross-reference window that appears when you click on the cross-referenc
20708 e box.
20709 \end_layout
20710
20711 \begin_layout Standard
20712 \begin_inset Note Greyedout
20713 status open
20714
20715 \begin_layout Plain Layout
20716
20717 \series bold
20718 Note:
20719 \series default
20720  It is recommended to use the LaTeX-package 
20721 \series bold
20722 refstyle
20723 \series default
20724
20725 \begin_inset Index idx
20726 status collapsed
20727
20728 \begin_layout Plain Layout
20729 LaTeX-packages ! refstyle
20730 \end_layout
20731
20732 \end_inset
20733
20734  because 
20735 \series bold
20736 prettyref
20737 \series default
20738
20739 \begin_inset Index idx
20740 status collapsed
20741
20742 \begin_layout Plain Layout
20743 LaTeX-packages ! prettyref
20744 \end_layout
20745
20746 \end_inset
20747
20748  does not know all of LyX's possible label shortcuts
20749 \begin_inset Foot
20750 status collapsed
20751
20752 \begin_layout Plain Layout
20753 \begin_inset Quotes eld
20754 \end_inset
20755
20756 fig:
20757 \begin_inset Quotes erd
20758 \end_inset
20759
20760  is for example LyX's shortcut for labels in figure captions.
20761 \end_layout
20762
20763 \end_inset
20764
20765  and is not internationalized.
20766 \end_layout
20767
20768 \end_inset
20769
20770
20771 \end_layout
20772
20773 \begin_layout Standard
20774 \begin_inset Note Greyedout
20775 status open
20776
20777 \begin_layout Plain Layout
20778
20779 \series bold
20780 Note:
20781 \series default
20782  Due to a bug in the LaTeX-package 
20783 \series bold
20784 varioref
20785 \series default
20786  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20787  languages that make the period character active (like French).
20788  For a workaround, see
20789 \begin_inset Newline newline
20790 \end_inset
20791
20792
20793 \begin_inset CommandInset href
20794 LatexCommand href
20795 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20796
20797 \end_inset
20798
20799 .
20800 \end_layout
20801
20802 \end_inset
20803
20804
20805 \end_layout
20806
20807 \begin_layout Subsection
20808 Automatic Reference Naming
20809 \begin_inset Index idx
20810 status collapsed
20811
20812 \begin_layout Plain Layout
20813 References ! Automatic Reference Naming
20814 \end_layout
20815
20816 \end_inset
20817
20818
20819 \end_layout
20820
20821 \begin_layout Standard
20822 The LaTeX-package 
20823 \series bold
20824 hyperref
20825 \series default
20826
20827 \begin_inset Index idx
20828 status collapsed
20829
20830 \begin_layout Plain Layout
20831 LaTeX-packages ! hyperref
20832 \end_layout
20833
20834 \end_inset
20835
20836 , that is enabled in the 
20837 \family sans
20838 PDF Properties
20839 \family default
20840  of the 
20841 \family sans
20842 Document Settings
20843 \family default
20844  dialog, provides a very useful feature that cross-references automatically
20845  include the name of the referenced floats (or text parts like 
20846 \emph on
20847 section
20848 \emph default
20849 ).
20850  So you will save having to write e.
20851 \begin_inset space \thinspace{}
20852 \end_inset
20853
20854 g.
20855 \begin_inset space \space{}
20856 \end_inset
20857
20858 the name 
20859 \begin_inset Quotes eld
20860 \end_inset
20861
20862 Figure
20863 \begin_inset Quotes erd
20864 \end_inset
20865
20866  before every reference to a figure.
20867  To use this feature, enable 
20868 \series bold
20869 hyperref
20870 \series default
20871  and insert this line to the LaTeX preamble:
20872 \end_layout
20873
20874 \begin_layout Standard
20875
20876 \series bold
20877
20878 \backslash
20879 AtBeginDocument{
20880 \backslash
20881 renewcommand{
20882 \backslash
20883 ref}[1]{
20884 \backslash
20885 mbox{
20886 \backslash
20887 autoref{#1}}}}
20888 \end_layout
20889
20890 \begin_layout Standard
20891 When you prefer other reference names than the default ones, for example
20892  you want instead of 
20893 \begin_inset Quotes eld
20894 \end_inset
20895
20896 section
20897 \begin_inset Quotes erd
20898 \end_inset
20899
20900  the name 
20901 \begin_inset Quotes eld
20902 \end_inset
20903
20904 sec.
20905 \begin_inset space \thinspace{}
20906 \end_inset
20907
20908
20909 \begin_inset Quotes eld
20910 \end_inset
20911
20912 , you can redefine the name by inserting this in the preamble:
20913 \end_layout
20914
20915 \begin_layout Standard
20916
20917 \series bold
20918
20919 \backslash
20920 addto
20921 \backslash
20922 extrasenglish{
20923 \backslash
20924 renewcommand{
20925 \backslash
20926 sectionautorefname}
20927 \begin_inset Newline newline
20928 \end_inset
20929
20930
20931 \begin_inset Phantom HPhantom
20932 status open
20933
20934 \begin_layout Plain Layout
20935
20936 \series bold
20937 \begin_inset space ~
20938 \end_inset
20939
20940
20941 \end_layout
20942
20943 \end_inset
20944
20945 {sec.
20946 \backslash
20947 negthinspace}}
20948 \end_layout
20949
20950 \begin_layout Standard
20951 When you are using another document language than English, replace
20952 \begin_inset Newline newline
20953 \end_inset
20954
20955
20956 \series bold
20957
20958 \backslash
20959 extrasenglish
20960 \series default
20961  by 
20962 \series bold
20963
20964 \backslash
20965 extras***
20966 \series default
20967 , where *** is the name of the language used.
20968 \end_layout
20969
20970 \begin_layout Standard
20971 To get automatic names, but not for certain reference types, for example
20972  not for equations, use this preamble code:
20973 \end_layout
20974
20975 \begin_layout Standard
20976
20977 \series bold
20978
20979 \backslash
20980 newlength{
20981 \backslash
20982 abc}
20983 \begin_inset Newline newline
20984 \end_inset
20985
20986
20987 \backslash
20988 settowidth{
20989 \backslash
20990 abc}{
20991 \backslash
20992 space}
20993 \begin_inset Newline newline
20994 \end_inset
20995
20996
20997 \backslash
20998 addto
20999 \backslash
21000 extrasenglish{
21001 \backslash
21002 renewcommand{
21003 \backslash
21004 equationautorefname}
21005 \begin_inset Newline newline
21006 \end_inset
21007
21008
21009 \begin_inset Phantom HPhantom
21010 status open
21011
21012 \begin_layout Plain Layout
21013
21014 \series bold
21015 \begin_inset space ~
21016 \end_inset
21017
21018
21019 \end_layout
21020
21021 \end_inset
21022
21023 {
21024 \backslash
21025 hspace{-
21026 \backslash
21027 abc}}
21028 \end_layout
21029
21030 \begin_layout Standard
21031 More about this topic can be found in 
21032 \series bold
21033 hyperref
21034 \series default
21035 's documentation 
21036 \begin_inset CommandInset citation
21037 LatexCommand cite
21038 key "hyperref"
21039
21040 \end_inset
21041
21042 .
21043 \end_layout
21044
21045 \begin_layout Standard
21046 \begin_inset Note Greyedout
21047 status open
21048
21049 \begin_layout Plain Layout
21050
21051 \series bold
21052 Note:
21053 \series default
21054  Automatic reference naming cannot be used when you use cross-references
21055  in the 
21056 \family sans
21057 Formatted
21058 \begin_inset space ~
21059 \end_inset
21060
21061 reference
21062 \family default
21063  style, as described in section
21064 \begin_inset space ~
21065 \end_inset
21066
21067
21068 \begin_inset CommandInset ref
21069 LatexCommand ref
21070 reference "sub:Cross-Reference-Formats"
21071
21072 \end_inset
21073
21074 .
21075 \end_layout
21076
21077 \end_inset
21078
21079
21080 \end_layout
21081
21082 \begin_layout Standard
21083 The 
21084 \emph on
21085 Math
21086 \emph default
21087  manual is an example where automatic reference naming is used.
21088 \end_layout
21089
21090 \begin_layout Subsection
21091 Reference Position
21092 \begin_inset CommandInset label
21093 LatexCommand label
21094 name "sub:Reference-Position"
21095
21096 \end_inset
21097
21098
21099 \begin_inset Index idx
21100 status collapsed
21101
21102 \begin_layout Plain Layout
21103 References ! Reference Position
21104 \end_layout
21105
21106 \end_inset
21107
21108
21109 \end_layout
21110
21111 \begin_layout Standard
21112 If you use 
21113 \series bold
21114 hyperref
21115 \series default
21116
21117 \begin_inset Index idx
21118 status collapsed
21119
21120 \begin_layout Plain Layout
21121 LaTeX-packages ! hyperref
21122 \end_layout
21123
21124 \end_inset
21125
21126  in the 
21127 \family sans
21128 PDF Properties
21129 \family default
21130  of the 
21131 \family sans
21132 Document Settings
21133 \family default
21134  dialog to link cross-references in the output, you will see that clicking
21135  on an image float reference jumps to the image label.
21136  The caption will be the first text part on the screen, so that you cannot
21137  see the image without scrolling.
21138  This is because the reference link anchor is placed at the position of
21139  the label.
21140  With the use of the package 
21141 \series bold
21142 hypcap
21143 \series default
21144
21145 \begin_inset Index idx
21146 status collapsed
21147
21148 \begin_layout Plain Layout
21149 LaTeX-packages ! hypcap
21150 \end_layout
21151
21152 \end_inset
21153
21154 , which is part of the LaTeX-package 
21155 \series bold
21156 oberdiek
21157 \series default
21158
21159 \begin_inset Index idx
21160 status collapsed
21161
21162 \begin_layout Plain Layout
21163 LaTeX-packages ! oberdiek
21164 \end_layout
21165
21166 \end_inset
21167
21168 , the link anchor is placed at the beginning of a float.
21169  To use this feature for figure floats, load 
21170 \series bold
21171 hypcap
21172 \series default
21173  in the document preamble with the line
21174 \end_layout
21175
21176 \begin_layout Standard
21177
21178 \series bold
21179
21180 \backslash
21181 usepackage[figure]{hypcap}
21182 \end_layout
21183
21184 \begin_layout Standard
21185 You can also use 
21186 \series bold
21187 hypcap
21188 \series default
21189  for all float types but this is not recommended for stability reasons.
21190  For more information, have a look at 
21191 \series bold
21192 hypcap
21193 \series default
21194 's manual 
21195 \begin_inset CommandInset citation
21196 LatexCommand cite
21197 key "hypcap"
21198
21199 \end_inset
21200
21201 .
21202 \end_layout
21203
21204 \begin_layout Standard
21205 \begin_inset Note Greyedout
21206 status open
21207
21208 \begin_layout Plain Layout
21209
21210 \series bold
21211 Note:
21212 \series default
21213  
21214 \series bold
21215 hypcap
21216 \series default
21217  has no effect on references to subfigures.
21218 \end_layout
21219
21220 \end_inset
21221
21222
21223 \end_layout
21224
21225 \begin_layout Section
21226 Float Placement
21227 \begin_inset CommandInset label
21228 LatexCommand label
21229 name "sec:Float-Placement"
21230
21231 \end_inset
21232
21233
21234 \begin_inset Index idx
21235 status collapsed
21236
21237 \begin_layout Plain Layout
21238 Floats ! Placement
21239 \end_layout
21240
21241 \end_inset
21242
21243
21244 \end_layout
21245
21246 \begin_layout Standard
21247 Right-clicking on a float-box opens a dialog where you can alter the placement
21248  options that LaTeX uses for positioning the float.
21249 \begin_inset Newline newline
21250 \end_inset
21251
21252 The option 
21253 \family sans
21254 Span
21255 \begin_inset space ~
21256 \end_inset
21257
21258 columns
21259 \family default
21260  is only useful for two-column documents: If you select it, the float will
21261  span both columns on the page instead of being confined to just one.
21262 \begin_inset Newline newline
21263 \end_inset
21264
21265 The option 
21266 \family sans
21267 Rotate
21268 \begin_inset space ~
21269 \end_inset
21270
21271 sideways
21272 \family default
21273  is used to rotate floats, see section 
21274 \begin_inset CommandInset ref
21275 LatexCommand ref
21276 reference "sec:Rotated-Floats"
21277
21278 \end_inset
21279
21280 .
21281 \end_layout
21282
21283 \begin_layout Standard
21284 You can use one ore more of the following options in the float dialog to
21285  set the placement for a particular float when you uncheck the option 
21286 \family sans
21287 Use
21288 \begin_inset space ~
21289 \end_inset
21290
21291 default
21292 \begin_inset space ~
21293 \end_inset
21294
21295 placement
21296 \family default
21297 :
21298 \end_layout
21299
21300 \begin_layout Description
21301 Here
21302 \begin_inset space ~
21303 \end_inset
21304
21305 if
21306 \begin_inset space ~
21307 \end_inset
21308
21309 possible try to place the float on the position where it has been inserted
21310 \end_layout
21311
21312 \begin_layout Description
21313 Top
21314 \begin_inset space ~
21315 \end_inset
21316
21317 of
21318 \begin_inset space ~
21319 \end_inset
21320
21321 page try to place the float at the top of the current page
21322 \end_layout
21323
21324 \begin_layout Description
21325 Bottom
21326 \begin_inset space ~
21327 \end_inset
21328
21329 of
21330 \begin_inset space ~
21331 \end_inset
21332
21333 page try to place the float at the bottom of the current page
21334 \end_layout
21335
21336 \begin_layout Description
21337 Page
21338 \begin_inset space ~
21339 \end_inset
21340
21341 of
21342 \begin_inset space ~
21343 \end_inset
21344
21345 floats try to place the float on its own page 
21346 \end_layout
21347
21348 \begin_layout Standard
21349 The order of the above option is 
21350 \emph on
21351 always
21352 \emph default
21353  used by LaTeX.
21354  That means, if you use the default placement, LaTeX will first try out
21355  
21356 \family sans
21357 Here
21358 \begin_inset space ~
21359 \end_inset
21360
21361 if
21362 \begin_inset space ~
21363 \end_inset
21364
21365 possible
21366 \family default
21367 , then 
21368 \family sans
21369 Top
21370 \begin_inset space ~
21371 \end_inset
21372
21373 of
21374 \begin_inset space ~
21375 \end_inset
21376
21377 page
21378 \family default
21379 , and then the others.
21380  If you do not use the default, LaTeX will try only the checked options
21381  but in the same order.
21382  If none of the 4
21383 \begin_inset space ~
21384 \end_inset
21385
21386 placements are possible the procedure is internally repeated but it is tried
21387  to put the float on the following page.
21388 \end_layout
21389
21390 \begin_layout Standard
21391 By default, each option has its own rules:
21392 \end_layout
21393
21394 \begin_layout Labeling
21395 \labelwidthstring 00.00.0000
21396
21397 \family sans
21398 Top
21399 \begin_inset space ~
21400 \end_inset
21401
21402 of
21403 \begin_inset space ~
21404 \end_inset
21405
21406 page
21407 \family default
21408  only floats occupying less than 70
21409 \begin_inset space \thinspace{}
21410 \end_inset
21411
21412 % of the page can be placed at the top of a page (
21413 \series bold
21414
21415 \backslash
21416 topfraction
21417 \series default
21418 )
21419 \end_layout
21420
21421 \begin_layout Labeling
21422 \labelwidthstring 00.00.0000
21423
21424 \family sans
21425 Bottom
21426 \begin_inset space ~
21427 \end_inset
21428
21429 of
21430 \begin_inset space ~
21431 \end_inset
21432
21433 page
21434 \family default
21435 : only floats occupying less than 30
21436 \begin_inset space \thinspace{}
21437 \end_inset
21438
21439 % of the page can be placed at the bottom of a page.
21440  (
21441 \series bold
21442
21443 \backslash
21444 bottomfraction
21445 \series default
21446 )
21447 \end_layout
21448
21449 \begin_layout Labeling
21450 \labelwidthstring 00.00.0000
21451
21452 \family sans
21453 Page
21454 \begin_inset space ~
21455 \end_inset
21456
21457 of
21458 \begin_inset space ~
21459 \end_inset
21460
21461 floats
21462 \family default
21463 : only if more than 50
21464 \begin_inset space \thinspace{}
21465 \end_inset
21466
21467 % of the page are occupied by floats, several floats can be set together
21468  on a page.
21469  (
21470 \series bold
21471
21472 \backslash
21473 floatpagefraction
21474 \series default
21475 )
21476 \end_layout
21477
21478 \begin_layout Standard
21479 If you don't like these rules, you can ignore them by using the additional
21480  option 
21481 \family sans
21482 Ignore
21483 \begin_inset space ~
21484 \end_inset
21485
21486 LaTeX
21487 \begin_inset space ~
21488 \end_inset
21489
21490 rules
21491 \family default
21492 .
21493 \begin_inset Newline newline
21494 \end_inset
21495
21496 You can also redefine the rules with LaTeX-commands that are given in parenthese
21497 s after the rules description above.
21498  To increase for example the often too small default of the bottom-rule
21499  to 50
21500 \begin_inset space \thinspace{}
21501 \end_inset
21502
21503 % of the page, add this line to your document preamble:
21504 \end_layout
21505
21506 \begin_layout Standard
21507
21508 \series bold
21509
21510 \backslash
21511 renewcommand{
21512 \backslash
21513 bottomfraction}{0.5}
21514 \end_layout
21515
21516 \begin_layout Standard
21517 Sometimes you might need, under all circumstances, a float to be placed
21518  exactly at the position where it is inserted.
21519  For this case you can use the option 
21520 \family sans
21521 Here
21522 \begin_inset space ~
21523 \end_inset
21524
21525 definitely
21526 \family default
21527 .
21528  Use this option very rarely and only if the document is almost ready to
21529  be printed, because the float is then no longer able to 
21530 \begin_inset Quotes eld
21531 \end_inset
21532
21533 float
21534 \begin_inset Quotes erd
21535 \end_inset
21536
21537  when you change your document and this will often destroy the page layout.
21538 \end_layout
21539
21540 \begin_layout Standard
21541 There are no placement options for text wrap floats, because they are always
21542  surrounded by the text of a certain paragraph.
21543 \begin_inset VSpace bigskip
21544 \end_inset
21545
21546
21547 \end_layout
21548
21549 \begin_layout Standard
21550 Sometimes you have the problem that a float is placed at the top of a page
21551  while its corresponding section starts at the middle of the page, so that
21552  the reader could think the float is part of the previous section.
21553  To avoid this the LaTeX-command 
21554 \series bold
21555
21556 \backslash
21557 suppressfloats
21558 \series default
21559  can be used.
21560  It suppresses a given float placement for the page where it is inserted
21561  and can therefore be used to avoid floats being set before a section starts.
21562  To get this, add these commands to your document preamble:
21563 \end_layout
21564
21565 \begin_layout Standard
21566
21567 \series bold
21568
21569 \backslash
21570 let
21571 \backslash
21572 mySection
21573 \backslash
21574 section
21575 \begin_inset Newline newline
21576 \end_inset
21577
21578
21579 \backslash
21580 renewcommand{
21581 \backslash
21582 section}{
21583 \backslash
21584 suppressfloats[t]
21585 \backslash
21586 mySection}
21587 \end_layout
21588
21589 \begin_layout Standard
21590 You can define the same for all section headings, like chapters and subsections.
21591  This definition is not recommended to be used for small text parts like
21592  subsubsections because LaTeX may then have problems finding a suitable
21593  placement.
21594 \end_layout
21595
21596 \begin_layout Standard
21597 \begin_inset VSpace bigskip
21598 \end_inset
21599
21600 In some cases it is required to have all figures/tables at the end of the
21601  document.
21602  For this purpose the LaTeX-package 
21603 \series bold
21604 endfloat
21605 \series default
21606
21607 \begin_inset Index idx
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 LaTeX-packages ! endfloat
21612 \end_layout
21613
21614 \end_inset
21615
21616  was developed.
21617  It puts all figure and table floats at the end of the document into their
21618  own sections.
21619  At the original float position a text hint like 
21620 \begin_inset Quotes eld
21621 \end_inset
21622
21623
21624 \family sans
21625 [Figure
21626 \begin_inset space ~
21627 \end_inset
21628
21629 3.2 about here.]
21630 \family default
21631
21632 \begin_inset Quotes erd
21633 \end_inset
21634
21635  is inserted.
21636  The endfloat-package is loaded in the preamble with the line
21637 \end_layout
21638
21639 \begin_layout Standard
21640
21641 \series bold
21642
21643 \backslash
21644 usepackage[options]{endfloat}
21645 \end_layout
21646
21647 \begin_layout Standard
21648 There are various package options to format the created figure/table sections.
21649  For more information we refer to the 
21650 \series bold
21651 endfloat
21652 \series default
21653  documentation 
21654 \begin_inset CommandInset citation
21655 LatexCommand cite
21656 key "endfloat"
21657
21658 \end_inset
21659
21660 .
21661 \begin_inset Newline newline
21662 \end_inset
21663
21664
21665 \begin_inset Note Greyedout
21666 status open
21667
21668 \begin_layout Plain Layout
21669
21670 \series bold
21671 Note: endfloat
21672 \series default
21673  doesn't provide an automatic translation for the text hint, you have to
21674  do this manually, see section
21675 \begin_inset space ~
21676 \end_inset
21677
21678 4 in 
21679 \begin_inset CommandInset citation
21680 LatexCommand cite
21681 key "endfloat"
21682
21683 \end_inset
21684
21685 .
21686 \end_layout
21687
21688 \end_inset
21689
21690
21691 \begin_inset Newline newline
21692 \end_inset
21693
21694
21695 \begin_inset Note Greyedout
21696 status open
21697
21698 \begin_layout Plain Layout
21699
21700 \series bold
21701 Note:
21702 \series default
21703  There is currently a bug in 
21704 \series bold
21705 endfloat
21706 \series default
21707  when the caption contains a German 
21708 \begin_inset Quotes eld
21709 \end_inset
21710
21711 ß
21712 \begin_inset Quotes erd
21713 \end_inset
21714
21715 .
21716  Use in this case the command 
21717 \begin_inset Quotes eld
21718 \end_inset
21719
21720
21721 \series bold
21722
21723 \backslash
21724 ss
21725 \series default
21726
21727 \begin_inset Quotes erd
21728 \end_inset
21729
21730  in TeX-Code instead of 
21731 \begin_inset Quotes eld
21732 \end_inset
21733
21734 ß
21735 \begin_inset Quotes erd
21736 \end_inset
21737
21738 .
21739 \end_layout
21740
21741 \end_inset
21742
21743
21744 \end_layout
21745
21746 \begin_layout Standard
21747 \begin_inset VSpace bigskip
21748 \end_inset
21749
21750 For more details about float placements, have a look at LaTeX books, 
21751 \begin_inset CommandInset citation
21752 LatexCommand cite
21753 key "latexcompanion,latexguide,latexbook"
21754
21755 \end_inset
21756
21757 .
21758 \end_layout
21759
21760 \begin_layout Section
21761 Rotated Floats
21762 \begin_inset CommandInset label
21763 LatexCommand label
21764 name "sec:Rotated-Floats"
21765
21766 \end_inset
21767
21768
21769 \begin_inset Index idx
21770 status collapsed
21771
21772 \begin_layout Plain Layout
21773 Floats ! Rotating
21774 \end_layout
21775
21776 \end_inset
21777
21778
21779 \end_layout
21780
21781 \begin_layout Standard
21782 Especially for wide tables you might have floats rotated.
21783  To rotate a whole float including the caption, right-click on the float-box
21784  and use the option 
21785 \family sans
21786 Rotate
21787 \begin_inset space ~
21788 \end_inset
21789
21790 sideways
21791 \family default
21792 .
21793 \end_layout
21794
21795 \begin_layout Standard
21796 Rotated floats are always placed on a page of their own (or column of their
21797  own; in case you have a multi-column document).
21798  You can let them span several columns using the float settings option 
21799 \family sans
21800 Span
21801 \begin_inset space ~
21802 \end_inset
21803
21804 columns
21805 \family default
21806 .
21807  Floats are rotated so that you can read them from the outside margin.
21808  To force a certain rotation direction for all pages, you can add either
21809  the option 
21810 \series bold
21811 figuresleft
21812 \series default
21813  or 
21814 \series bold
21815 figuresright
21816 \series default
21817  to the document class options.
21818 \end_layout
21819
21820 \begin_layout Standard
21821 Referencing rotated floats is the same as for normal floats, the caption
21822  format is also the same: Table
21823 \begin_inset space ~
21824 \end_inset
21825
21826
21827 \begin_inset CommandInset ref
21828 LatexCommand ref
21829 reference "tab:Rotated-table"
21830
21831 \end_inset
21832
21833  is an example of a rotated table float.
21834 \end_layout
21835
21836 \begin_layout Standard
21837 \begin_inset Note Greyedout
21838 status open
21839
21840 \begin_layout Plain Layout
21841
21842 \series bold
21843 Note:
21844 \series default
21845  Not all DVI-viewers are able to display rotated floats.
21846 \end_layout
21847
21848 \end_inset
21849
21850
21851 \end_layout
21852
21853 \begin_layout Standard
21854 \begin_inset Float table
21855 wide false
21856 sideways true
21857 status open
21858
21859 \begin_layout Plain Layout
21860 \begin_inset Caption
21861
21862 \begin_layout Plain Layout
21863 \begin_inset CommandInset label
21864 LatexCommand label
21865 name "tab:Rotated-table"
21866
21867 \end_inset
21868
21869  Rotated table
21870 \end_layout
21871
21872 \end_inset
21873
21874
21875 \end_layout
21876
21877 \begin_layout Plain Layout
21878 \align center
21879 \begin_inset Tabular
21880 <lyxtabular version="3" rows="1" columns="5">
21881 <features tabularvalignment="middle">
21882 <column alignment="center" valignment="top" width="0">
21883 <column alignment="center" valignment="top" width="0">
21884 <column alignment="center" valignment="top" width="0">
21885 <column alignment="center" valignment="top" width="0">
21886 <column alignment="center" valignment="top" width="0">
21887 <row>
21888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21889 \begin_inset Text
21890
21891 \begin_layout Plain Layout
21892 test
21893 \end_layout
21894
21895 \end_inset
21896 </cell>
21897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21898 \begin_inset Text
21899
21900 \begin_layout Plain Layout
21901 b
21902 \end_layout
21903
21904 \end_inset
21905 </cell>
21906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21907 \begin_inset Text
21908
21909 \begin_layout Plain Layout
21910 c
21911 \end_layout
21912
21913 \end_inset
21914 </cell>
21915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21916 \begin_inset Text
21917
21918 \begin_layout Plain Layout
21919 d
21920 \end_layout
21921
21922 \end_inset
21923 </cell>
21924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21925 \begin_inset Text
21926
21927 \begin_layout Plain Layout
21928 e
21929 \end_layout
21930
21931 \end_inset
21932 </cell>
21933 </row>
21934 </lyxtabular>
21935
21936 \end_inset
21937
21938
21939 \end_layout
21940
21941 \end_inset
21942
21943
21944 \end_layout
21945
21946 \begin_layout Section
21947 Subfloats
21948 \begin_inset Index idx
21949 status collapsed
21950
21951 \begin_layout Plain Layout
21952 Floats ! Subfloats
21953 \end_layout
21954
21955 \end_inset
21956
21957
21958 \end_layout
21959
21960 \begin_layout Standard
21961 Subfloats are for example used when a figure consists of several images.
21962  They are created by inserting a float into an existing float.
21963  The placement of the subfloats can be controlled in the same way as for
21964  paragraphs as shown in table
21965 \begin_inset space ~
21966 \end_inset
21967
21968
21969 \begin_inset CommandInset ref
21970 LatexCommand ref
21971 reference "tab:Two-subtables-side"
21972
21973 \end_inset
21974
21975  and 
21976 \begin_inset CommandInset ref
21977 LatexCommand ref
21978 reference "tab:Two-subtables-upon"
21979
21980 \end_inset
21981
21982 .
21983 \end_layout
21984
21985 \begin_layout Standard
21986 Referencing subfloats works as for normal floats: Table
21987 \begin_inset space ~
21988 \end_inset
21989
21990
21991 \begin_inset CommandInset ref
21992 LatexCommand ref
21993 reference "tab:This-is-subtable-a"
21994
21995 \end_inset
21996
21997  and 
21998 \begin_inset CommandInset ref
21999 LatexCommand ref
22000 reference "tab:This-is-subtable-b"
22001
22002 \end_inset
22003
22004  are subtables of table
22005 \begin_inset space ~
22006 \end_inset
22007
22008
22009 \begin_inset CommandInset ref
22010 LatexCommand ref
22011 reference "tab:Two-subtables-side"
22012
22013 \end_inset
22014
22015 .
22016 \end_layout
22017
22018 \begin_layout Standard
22019 \begin_inset Float table
22020 wide false
22021 sideways false
22022 status open
22023
22024 \begin_layout Plain Layout
22025 \begin_inset Caption
22026
22027 \begin_layout Plain Layout
22028 \begin_inset CommandInset label
22029 LatexCommand label
22030 name "tab:Two-subtables-side"
22031
22032 \end_inset
22033
22034 Two subtables placed side by side.
22035 \end_layout
22036
22037 \end_inset
22038
22039
22040 \end_layout
22041
22042 \begin_layout Plain Layout
22043 \align center
22044 \begin_inset space \hfill{}
22045 \end_inset
22046
22047
22048 \begin_inset Float table
22049 wide false
22050 sideways false
22051 status collapsed
22052
22053 \begin_layout Plain Layout
22054 \begin_inset Caption
22055
22056 \begin_layout Plain Layout
22057 \begin_inset CommandInset label
22058 LatexCommand label
22059 name "tab:This-is-subtable-a"
22060
22061 \end_inset
22062
22063 This is subtable a.
22064 \end_layout
22065
22066 \end_inset
22067
22068
22069 \end_layout
22070
22071 \begin_layout Plain Layout
22072 \align center
22073 \begin_inset Tabular
22074 <lyxtabular version="3" rows="1" columns="5">
22075 <features tabularvalignment="middle">
22076 <column alignment="center" valignment="top" width="0">
22077 <column alignment="center" valignment="top" width="0">
22078 <column alignment="center" valignment="top" width="0">
22079 <column alignment="center" valignment="top" width="0">
22080 <column alignment="center" valignment="top" width="0">
22081 <row>
22082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22083 \begin_inset Text
22084
22085 \begin_layout Plain Layout
22086 test
22087 \end_layout
22088
22089 \end_inset
22090 </cell>
22091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22092 \begin_inset Text
22093
22094 \begin_layout Plain Layout
22095 b
22096 \end_layout
22097
22098 \end_inset
22099 </cell>
22100 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22101 \begin_inset Text
22102
22103 \begin_layout Plain Layout
22104 c
22105 \end_layout
22106
22107 \end_inset
22108 </cell>
22109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22110 \begin_inset Text
22111
22112 \begin_layout Plain Layout
22113 d
22114 \end_layout
22115
22116 \end_inset
22117 </cell>
22118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22119 \begin_inset Text
22120
22121 \begin_layout Plain Layout
22122 e
22123 \end_layout
22124
22125 \end_inset
22126 </cell>
22127 </row>
22128 </lyxtabular>
22129
22130 \end_inset
22131
22132
22133 \end_layout
22134
22135 \end_inset
22136
22137
22138 \begin_inset space \hfill{}
22139 \end_inset
22140
22141
22142 \begin_inset Float table
22143 wide false
22144 sideways false
22145 status collapsed
22146
22147 \begin_layout Plain Layout
22148 \begin_inset Caption
22149
22150 \begin_layout Plain Layout
22151 \begin_inset CommandInset label
22152 LatexCommand label
22153 name "tab:This-is-subtable-b"
22154
22155 \end_inset
22156
22157 This is subtable b.
22158 \end_layout
22159
22160 \end_inset
22161
22162
22163 \end_layout
22164
22165 \begin_layout Plain Layout
22166 \align center
22167 \begin_inset Tabular
22168 <lyxtabular version="3" rows="1" columns="5">
22169 <features tabularvalignment="middle">
22170 <column alignment="center" valignment="top" width="0">
22171 <column alignment="center" valignment="top" width="0">
22172 <column alignment="center" valignment="top" width="0">
22173 <column alignment="center" valignment="top" width="0">
22174 <column alignment="center" valignment="top" width="0">
22175 <row>
22176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22177 \begin_inset Text
22178
22179 \begin_layout Plain Layout
22180 e
22181 \end_layout
22182
22183 \end_inset
22184 </cell>
22185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22186 \begin_inset Text
22187
22188 \begin_layout Plain Layout
22189 d
22190 \end_layout
22191
22192 \end_inset
22193 </cell>
22194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22195 \begin_inset Text
22196
22197 \begin_layout Plain Layout
22198 c
22199 \end_layout
22200
22201 \end_inset
22202 </cell>
22203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22204 \begin_inset Text
22205
22206 \begin_layout Plain Layout
22207 b
22208 \end_layout
22209
22210 \end_inset
22211 </cell>
22212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22213 \begin_inset Text
22214
22215 \begin_layout Plain Layout
22216 test
22217 \end_layout
22218
22219 \end_inset
22220 </cell>
22221 </row>
22222 </lyxtabular>
22223
22224 \end_inset
22225
22226
22227 \end_layout
22228
22229 \end_inset
22230
22231
22232 \begin_inset space \hfill{}
22233 \end_inset
22234
22235
22236 \end_layout
22237
22238 \end_inset
22239
22240
22241 \end_layout
22242
22243 \begin_layout Standard
22244 \begin_inset Float table
22245 wide false
22246 sideways false
22247 status open
22248
22249 \begin_layout Plain Layout
22250 \begin_inset Caption
22251
22252 \begin_layout Plain Layout
22253 \begin_inset CommandInset label
22254 LatexCommand label
22255 name "tab:Two-subtables-upon"
22256
22257 \end_inset
22258
22259 Two subtables placed one above the other.
22260  (a) table with 4 cells, (b) table with 5 cells.
22261 \end_layout
22262
22263 \end_inset
22264
22265
22266 \end_layout
22267
22268 \begin_layout Plain Layout
22269 \align center
22270 \begin_inset Float table
22271 wide false
22272 sideways false
22273 status collapsed
22274
22275 \begin_layout Plain Layout
22276 \begin_inset Caption
22277
22278 \begin_layout Plain Layout
22279
22280 \end_layout
22281
22282 \end_inset
22283
22284
22285 \end_layout
22286
22287 \begin_layout Plain Layout
22288 \align center
22289 \begin_inset Tabular
22290 <lyxtabular version="3" rows="1" columns="4">
22291 <features tabularvalignment="middle">
22292 <column alignment="center" valignment="top" width="0">
22293 <column alignment="center" valignment="top" width="0">
22294 <column alignment="center" valignment="top" width="0">
22295 <column alignment="center" valignment="top" width="0">
22296 <row>
22297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22298 \begin_inset Text
22299
22300 \begin_layout Plain Layout
22301 test
22302 \end_layout
22303
22304 \end_inset
22305 </cell>
22306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22307 \begin_inset Text
22308
22309 \begin_layout Plain Layout
22310 test
22311 \end_layout
22312
22313 \end_inset
22314 </cell>
22315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22316 \begin_inset Text
22317
22318 \begin_layout Plain Layout
22319 test
22320 \end_layout
22321
22322 \end_inset
22323 </cell>
22324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22325 \begin_inset Text
22326
22327 \begin_layout Plain Layout
22328 test
22329 \end_layout
22330
22331 \end_inset
22332 </cell>
22333 </row>
22334 </lyxtabular>
22335
22336 \end_inset
22337
22338
22339 \end_layout
22340
22341 \end_inset
22342
22343
22344 \end_layout
22345
22346 \begin_layout Plain Layout
22347 \align center
22348 \begin_inset Float table
22349 wide false
22350 sideways false
22351 status collapsed
22352
22353 \begin_layout Plain Layout
22354 \begin_inset Caption
22355
22356 \begin_layout Plain Layout
22357
22358 \end_layout
22359
22360 \end_inset
22361
22362
22363 \end_layout
22364
22365 \begin_layout Plain Layout
22366 \align center
22367 \begin_inset Tabular
22368 <lyxtabular version="3" rows="1" columns="5">
22369 <features tabularvalignment="middle">
22370 <column alignment="center" valignment="top" width="0">
22371 <column alignment="center" valignment="top" width="0">
22372 <column alignment="center" valignment="top" width="0">
22373 <column alignment="center" valignment="top" width="0">
22374 <column alignment="center" valignment="top" width="0">
22375 <row>
22376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22377 \begin_inset Text
22378
22379 \begin_layout Plain Layout
22380 a
22381 \end_layout
22382
22383 \end_inset
22384 </cell>
22385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22386 \begin_inset Text
22387
22388 \begin_layout Plain Layout
22389 b
22390 \end_layout
22391
22392 \end_inset
22393 </cell>
22394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22395 \begin_inset Text
22396
22397 \begin_layout Plain Layout
22398 c
22399 \end_layout
22400
22401 \end_inset
22402 </cell>
22403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22404 \begin_inset Text
22405
22406 \begin_layout Plain Layout
22407 d
22408 \end_layout
22409
22410 \end_inset
22411 </cell>
22412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22413 \begin_inset Text
22414
22415 \begin_layout Plain Layout
22416 e
22417 \end_layout
22418
22419 \end_inset
22420 </cell>
22421 </row>
22422 </lyxtabular>
22423
22424 \end_inset
22425
22426
22427 \end_layout
22428
22429 \end_inset
22430
22431
22432 \end_layout
22433
22434 \end_inset
22435
22436
22437 \end_layout
22438
22439 \begin_layout Section
22440 Floats Side by Side
22441 \begin_inset Index idx
22442 status collapsed
22443
22444 \begin_layout Plain Layout
22445 Floats ! Side by side
22446 \end_layout
22447
22448 \end_inset
22449
22450
22451 \end_layout
22452
22453 \begin_layout Standard
22454 To place floats side by side, as in Figures
22455 \begin_inset space ~
22456 \end_inset
22457
22458
22459 \begin_inset CommandInset ref
22460 LatexCommand ref
22461 reference "fig:Float-left"
22462
22463 \end_inset
22464
22465  and 
22466 \begin_inset CommandInset ref
22467 LatexCommand ref
22468 reference "fig:Float-right"
22469
22470 \end_inset
22471
22472 , only 
22473 \emph on
22474 one
22475 \emph default
22476  float is used.
22477  In it two minipage boxes are inserted.
22478 \begin_inset Foot
22479 status collapsed
22480
22481 \begin_layout Plain Layout
22482 Minipages are explained in section
22483 \begin_inset space ~
22484 \end_inset
22485
22486
22487 \begin_inset CommandInset ref
22488 LatexCommand ref
22489 reference "sec:Minipages"
22490
22491 \end_inset
22492
22493 .
22494 \end_layout
22495
22496 \end_inset
22497
22498  The width is set to 45
22499 \begin_inset space \thinspace{}
22500 \end_inset
22501
22502 -50
22503 \begin_inset space \thinspace{}
22504 \end_inset
22505
22506 column% and the box alignment to 
22507 \family sans
22508 Bottom
22509 \family default
22510  for each minipage.
22511  The minipage boxes contain the image and the caption in the same way as
22512  they are in a float.
22513  The only difference is that the image unit 
22514 \family sans
22515 Column
22516 \begin_inset space ~
22517 \end_inset
22518
22519 Width
22520 \begin_inset space ~
22521 \end_inset
22522
22523 %
22524 \family default
22525  is now calculated according to the width of the minipage boxes.
22526 \end_layout
22527
22528 \begin_layout Standard
22529 \begin_inset Float figure
22530 wide false
22531 sideways false
22532 status open
22533
22534 \begin_layout Plain Layout
22535 \begin_inset Box Frameless
22536 position "b"
22537 hor_pos "c"
22538 has_inner_box 1
22539 inner_pos "t"
22540 use_parbox 0
22541 use_makebox 0
22542 width "45col%"
22543 special "none"
22544 height "1in"
22545 height_special "totalheight"
22546 status open
22547
22548 \begin_layout Plain Layout
22549 \align center
22550 \begin_inset Graphics
22551         filename clipart/mobius.eps
22552         lyxscale 50
22553         width 100col%
22554         scaleBeforeRotation
22555
22556 \end_inset
22557
22558
22559 \end_layout
22560
22561 \begin_layout Plain Layout
22562 \begin_inset Caption
22563
22564 \begin_layout Plain Layout
22565 \begin_inset CommandInset label
22566 LatexCommand label
22567 name "fig:Float-left"
22568
22569 \end_inset
22570
22571 Float on the left side.
22572 \end_layout
22573
22574 \end_inset
22575
22576
22577 \end_layout
22578
22579 \end_inset
22580
22581
22582 \begin_inset space \hfill{}
22583 \end_inset
22584
22585
22586 \begin_inset Box Frameless
22587 position "b"
22588 hor_pos "c"
22589 has_inner_box 1
22590 inner_pos "t"
22591 use_parbox 0
22592 use_makebox 0
22593 width "45col%"
22594 special "none"
22595 height "1in"
22596 height_special "totalheight"
22597 status open
22598
22599 \begin_layout Plain Layout
22600 \align center
22601 \begin_inset Graphics
22602         filename clipart/platypus.eps
22603         lyxscale 50
22604         width 100col%
22605         scaleBeforeRotation
22606
22607 \end_inset
22608
22609
22610 \end_layout
22611
22612 \begin_layout Plain Layout
22613 \begin_inset Caption
22614
22615 \begin_layout Plain Layout
22616 \begin_inset CommandInset label
22617 LatexCommand label
22618 name "fig:Float-right"
22619
22620 \end_inset
22621
22622 Float on the right side.
22623 \end_layout
22624
22625 \end_inset
22626
22627
22628 \end_layout
22629
22630 \end_inset
22631
22632
22633 \end_layout
22634
22635 \begin_layout Plain Layout
22636
22637 \end_layout
22638
22639 \end_inset
22640
22641
22642 \end_layout
22643
22644 \begin_layout Section
22645 Caption Formatting
22646 \begin_inset Index idx
22647 status collapsed
22648
22649 \begin_layout Plain Layout
22650 Caption ! Formatting
22651 \end_layout
22652
22653 \end_inset
22654
22655
22656 \begin_inset Index idx
22657 status collapsed
22658
22659 \begin_layout Plain Layout
22660 Floats ! Caption Formatting
22661 \end_layout
22662
22663 \end_inset
22664
22665
22666 \begin_inset CommandInset label
22667 LatexCommand label
22668 name "sec:Caption-Formatting"
22669
22670 \end_inset
22671
22672
22673 \end_layout
22674
22675 \begin_layout Standard
22676 The 
22677 \family sans
22678 Caption
22679 \family default
22680  environment is the default paragraph environment for 
22681 \family sans
22682 Floats
22683 \family default
22684 .
22685  On the LyX screen captions appear as label, e.
22686 \begin_inset space \thinspace{}
22687 \end_inset
22688
22689 g.
22690 \begin_inset space \space{}
22691 \end_inset
22692
22693
22694 \begin_inset Quotes eld
22695 \end_inset
22696
22697
22698 \family sans
22699 Figure #:
22700 \family default
22701
22702 \begin_inset Quotes erd
22703 \end_inset
22704
22705  followed by the caption text.
22706  
22707 \begin_inset Quotes eld
22708 \end_inset
22709
22710 #
22711 \begin_inset Quotes erd
22712 \end_inset
22713
22714  is the actual reference number.
22715  By default the label and the number are in the same font as the caption
22716  text and a colon follows the number to divide the label from the text.
22717  This caption format is not suitable for all document formats.
22718  
22719 \end_layout
22720
22721 \begin_layout Standard
22722 To change the default caption format, load the LaTeX-package 
22723 \series bold
22724 caption
22725 \series default
22726
22727 \begin_inset Index idx
22728 status collapsed
22729
22730 \begin_layout Plain Layout
22731 LaTeX-packages ! caption
22732 \end_layout
22733
22734 \end_inset
22735
22736  in the document preamble with this line:
22737 \end_layout
22738
22739 \begin_layout Standard
22740
22741 \series bold
22742
22743 \backslash
22744 usepackage[format definition]{caption}
22745 \end_layout
22746
22747 \begin_layout Standard
22748 To have for example the label and the number in sans-serif bold font and
22749  the table captions always above the table as in this document, use the
22750  following command:
22751 \end_layout
22752
22753 \begin_layout Standard
22754
22755 \series bold
22756
22757 \backslash
22758 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22759 \end_layout
22760
22761 \begin_layout Standard
22762 You can also define different caption formats for the different float types.
22763  In this case load the 
22764 \series bold
22765 caption
22766 \series default
22767  package without format specific options and define the different formats
22768  with the help of the command
22769 \end_layout
22770
22771 \begin_layout Standard
22772
22773 \series bold
22774
22775 \backslash
22776 captionsetup[float type]{format definition}
22777 \end_layout
22778
22779 \begin_layout Standard
22780 in the document preamble.
22781  For example the caption formats of Figure
22782 \begin_inset space ~
22783 \end_inset
22784
22785
22786 \begin_inset CommandInset ref
22787 LatexCommand ref
22788 reference "fig:This-is-an-fig"
22789
22790 \end_inset
22791
22792  and Table
22793 \begin_inset space ~
22794 \end_inset
22795
22796
22797 \begin_inset CommandInset ref
22798 LatexCommand ref
22799 reference "tab:This-is-an-tab"
22800
22801 \end_inset
22802
22803  can be created using these commands in the document preamble:
22804 \end_layout
22805
22806 \begin_layout Standard
22807
22808 \series bold
22809
22810 \backslash
22811 usepackage[tableposition=top]{caption}
22812 \series default
22813
22814 \begin_inset Newline newline
22815 \end_inset
22816
22817
22818 \series bold
22819
22820 \backslash
22821 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22822 \begin_inset Newline newline
22823 \end_inset
22824
22825
22826 \begin_inset Phantom HPhantom
22827 status open
22828
22829 \begin_layout Plain Layout
22830
22831 \series bold
22832
22833 \backslash
22834 captionsetup[figure]{
22835 \end_layout
22836
22837 \end_inset
22838
22839 labelsep=period}
22840 \begin_inset Newline newline
22841 \end_inset
22842
22843
22844 \backslash
22845 captionsetup[table]{labelfont={bf,sf}}
22846 \end_layout
22847
22848 \begin_layout Standard
22849 \begin_inset Note Greyedout
22850 status open
22851
22852 \begin_layout Plain Layout
22853
22854 \series bold
22855 Note:
22856 \series default
22857  The option 
22858 \series bold
22859 tableposition=top
22860 \series default
22861  has no effect when a 
22862 \series bold
22863 KOMA-Script
22864 \series default
22865
22866 \begin_inset Index idx
22867 status collapsed
22868
22869 \begin_layout Plain Layout
22870 LaTeX-packages ! KOMA-Script
22871 \end_layout
22872
22873 \end_inset
22874
22875  document class is used.
22876  In this case the document class option 
22877 \series bold
22878 captions=tableheading
22879 \series default
22880  must be used.
22881 \end_layout
22882
22883 \end_inset
22884
22885
22886 \end_layout
22887
22888 \begin_layout Standard
22889 For more information about the package 
22890 \series bold
22891 caption
22892 \series default
22893  we refer to its documentation 
22894 \begin_inset CommandInset citation
22895 LatexCommand cite
22896 key "caption"
22897
22898 \end_inset
22899
22900 .
22901 \end_layout
22902
22903 \begin_layout Standard
22904 To change the label name from e.
22905 \begin_inset space \thinspace{}
22906 \end_inset
22907
22908 g.
22909 \begin_inset space \space{}
22910 \end_inset
22911
22912
22913 \begin_inset Quotes eld
22914 \end_inset
22915
22916 Figure
22917 \begin_inset Quotes erd
22918 \end_inset
22919
22920  to 
22921 \begin_inset Quotes eld
22922 \end_inset
22923
22924 Image
22925 \begin_inset Quotes erd
22926 \end_inset
22927
22928  use this preamble command:
22929 \end_layout
22930
22931 \begin_layout Standard
22932
22933 \series bold
22934
22935 \backslash
22936 renewcommand{
22937 \backslash
22938 fnum@figure}{Image~
22939 \backslash
22940 thefigure}
22941 \end_layout
22942
22943 \begin_layout Standard
22944 where 
22945 \series bold
22946
22947 \backslash
22948 thefigure
22949 \series default
22950  inserts the figure number and
22951 \series bold
22952  
22953 \begin_inset Quotes eld
22954 \end_inset
22955
22956 ~
22957 \series default
22958
22959 \begin_inset Quotes erd
22960 \end_inset
22961
22962  creates a protected space.
22963 \end_layout
22964
22965 \begin_layout Standard
22966 \begin_inset VSpace bigskip
22967 \end_inset
22968
22969 If you are using a 
22970 \series bold
22971 KOMA-Script
22972 \series default
22973
22974 \begin_inset Index idx
22975 status collapsed
22976
22977 \begin_layout Plain Layout
22978 LaTeX-packages ! KOMA-Script
22979 \end_layout
22980
22981 \end_inset
22982
22983  document class (
22984 \family sans
22985 article (KOMA-Script)
22986 \family default
22987
22988 \family sans
22989 book (KOMA-Script)
22990 \family default
22991
22992 \family sans
22993 letter (KOMA-Script)
22994 \family default
22995 , or 
22996 \family sans
22997 report (KOMA-Script)
22998 \family default
22999
23000 \begin_inset space \thinspace{}
23001 \end_inset
23002
23003 ), you can alternatively to the 
23004 \series bold
23005 caption
23006 \series default
23007  package use 
23008 \series bold
23009 KOMA-Script
23010 \series default
23011 's built-in command 
23012 \series bold
23013
23014 \backslash
23015 setkomafont
23016 \series default
23017 .
23018  For example, to have the caption label in bold, add this command to your
23019  document preamble:
23020 \end_layout
23021
23022 \begin_layout Standard
23023
23024 \series bold
23025
23026 \backslash
23027 setkomafont{captionlabel}{
23028 \backslash
23029 bfseries}
23030 \end_layout
23031
23032 \begin_layout Standard
23033 For more information about 
23034 \series bold
23035
23036 \backslash
23037 setkomafont
23038 \series default
23039  we refer to the 
23040 \series bold
23041 KOMA-Script
23042 \series default
23043  documentation 
23044 \begin_inset CommandInset citation
23045 LatexCommand cite
23046 key "KOMA-Script"
23047
23048 \end_inset
23049
23050 .
23051 \end_layout
23052
23053 \begin_layout Standard
23054 \begin_inset ERT
23055 status collapsed
23056
23057 \begin_layout Plain Layout
23058
23059
23060 \backslash
23061 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23062 }
23063 \end_layout
23064
23065 \end_inset
23066
23067
23068 \begin_inset Note Note
23069 status open
23070
23071 \begin_layout Plain Layout
23072 The caption format is changed only for this example.
23073 \end_layout
23074
23075 \end_inset
23076
23077
23078 \end_layout
23079
23080 \begin_layout Standard
23081 \begin_inset Float figure
23082 placement !p
23083 wide false
23084 sideways false
23085 status open
23086
23087 \begin_layout Plain Layout
23088 \align center
23089 \begin_inset Graphics
23090         filename clipart/mobius.eps
23091         lyxscale 50
23092         scale 50
23093         scaleBeforeRotation
23094
23095 \end_inset
23096
23097
23098 \end_layout
23099
23100 \begin_layout Plain Layout
23101 \begin_inset Caption
23102
23103 \begin_layout Plain Layout
23104 \begin_inset CommandInset label
23105 LatexCommand label
23106 name "fig:This-is-an-fig"
23107
23108 \end_inset
23109
23110 This is an example figure caption that is longer than one line to show the
23111  different caption format.
23112  Here a self-defined caption format is used.
23113 \end_layout
23114
23115 \end_inset
23116
23117
23118 \end_layout
23119
23120 \end_inset
23121
23122
23123 \end_layout
23124
23125 \begin_layout Standard
23126 \begin_inset ERT
23127 status collapsed
23128
23129 \begin_layout Plain Layout
23130
23131
23132 \backslash
23133 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23134 on}
23135 \end_layout
23136
23137 \end_inset
23138
23139
23140 \end_layout
23141
23142 \begin_layout Standard
23143 \begin_inset Float table
23144 placement !p
23145 wide false
23146 sideways false
23147 status open
23148
23149 \begin_layout Plain Layout
23150 \begin_inset Caption
23151
23152 \begin_layout Plain Layout
23153 \begin_inset CommandInset label
23154 LatexCommand label
23155 name "tab:This-is-an-tab"
23156
23157 \end_inset
23158
23159 This is an example table caption that is longer than one line to show the
23160  different caption format.
23161  Here the standard caption format for tables in this document is used.
23162 \end_layout
23163
23164 \end_inset
23165
23166
23167 \end_layout
23168
23169 \begin_layout Plain Layout
23170 \align center
23171 \begin_inset Tabular
23172 <lyxtabular version="3" rows="1" columns="5">
23173 <features tabularvalignment="middle">
23174 <column alignment="center" valignment="top" width="0">
23175 <column alignment="center" valignment="top" width="0">
23176 <column alignment="center" valignment="top" width="0">
23177 <column alignment="center" valignment="top" width="0">
23178 <column alignment="center" valignment="top" width="0">
23179 <row>
23180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23181 \begin_inset Text
23182
23183 \begin_layout Plain Layout
23184 a
23185 \end_layout
23186
23187 \end_inset
23188 </cell>
23189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23190 \begin_inset Text
23191
23192 \begin_layout Plain Layout
23193 b
23194 \end_layout
23195
23196 \end_inset
23197 </cell>
23198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23199 \begin_inset Text
23200
23201 \begin_layout Plain Layout
23202 c
23203 \end_layout
23204
23205 \end_inset
23206 </cell>
23207 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23208 \begin_inset Text
23209
23210 \begin_layout Plain Layout
23211 d
23212 \end_layout
23213
23214 \end_inset
23215 </cell>
23216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23217 \begin_inset Text
23218
23219 \begin_layout Plain Layout
23220 e
23221 \end_layout
23222
23223 \end_inset
23224 </cell>
23225 </row>
23226 </lyxtabular>
23227
23228 \end_inset
23229
23230
23231 \end_layout
23232
23233 \end_inset
23234
23235
23236 \end_layout
23237
23238 \begin_layout Section
23239 Caption Placement
23240 \begin_inset Index idx
23241 status collapsed
23242
23243 \begin_layout Plain Layout
23244 Caption ! Placement
23245 \end_layout
23246
23247 \end_inset
23248
23249
23250 \begin_inset Index idx
23251 status collapsed
23252
23253 \begin_layout Plain Layout
23254 Floats ! Caption Placement
23255 \end_layout
23256
23257 \end_inset
23258
23259
23260 \begin_inset CommandInset label
23261 LatexCommand label
23262 name "sec:Caption-Placement"
23263
23264 \end_inset
23265
23266
23267 \end_layout
23268
23269 \begin_layout Standard
23270 The common caption placement rule is:
23271 \end_layout
23272
23273 \begin_layout Description
23274 Figure: Caption is set below the figure
23275 \end_layout
23276
23277 \begin_layout Description
23278 Table: Caption is set above the table
23279 \end_layout
23280
23281 \begin_layout Standard
23282 Having the caption above the table is unfortunately not supported in LaTeX's
23283  standard classes.
23284  That means if you are using the document classes 
23285 \family sans
23286 article
23287 \family default
23288
23289 \family sans
23290 book
23291 \family default
23292
23293 \family sans
23294 letter
23295 \family default
23296 , or 
23297 \family sans
23298 report
23299 \family default
23300  there will be no space between the caption and the table.
23301  To insert the necessary space, add the following option to the load command
23302  of the LaTeX-package 
23303 \series bold
23304 caption
23305 \series default
23306  in your document preamble
23307 \begin_inset Foot
23308 status collapsed
23309
23310 \begin_layout Plain Layout
23311 See section
23312 \begin_inset space ~
23313 \end_inset
23314
23315
23316 \begin_inset CommandInset ref
23317 LatexCommand ref
23318 reference "sec:Caption-Formatting"
23319
23320 \end_inset
23321
23322  for more information of the package 
23323 \series bold
23324 caption
23325 \series default
23326 .
23327 \end_layout
23328
23329 \end_inset
23330
23331 :
23332 \end_layout
23333
23334 \begin_layout Standard
23335
23336 \series bold
23337 tableposition=top
23338 \end_layout
23339
23340 \begin_layout Standard
23341 If you are using a 
23342 \series bold
23343 KOMA-Script
23344 \series default
23345
23346 \begin_inset Index idx
23347 status collapsed
23348
23349 \begin_layout Plain Layout
23350 LaTeX-packages ! KOMA-Script
23351 \end_layout
23352
23353 \end_inset
23354
23355  document class (
23356 \family sans
23357 article (KOMA-Script)
23358 \family default
23359
23360 \family sans
23361 book (KOMA-Script)
23362 \family default
23363
23364 \family sans
23365 letter (KOMA-Script)
23366 \family default
23367 , or 
23368 \family sans
23369 report (KOMA-Script)
23370 \family default
23371
23372 \begin_inset space \thinspace{}
23373 \end_inset
23374
23375 ), you can alternatively to the 
23376 \series bold
23377 caption
23378 \series default
23379  package set the document class option 
23380 \series bold
23381 captions=tableheading
23382 \series default
23383 .
23384 \end_layout
23385
23386 \begin_layout Standard
23387 \begin_inset VSpace bigskip
23388 \end_inset
23389
23390 It is also possible to set the caption beside a figure or table.
23391  To get this the LaTeX-package 
23392 \series bold
23393 sidecap
23394 \series default
23395
23396 \begin_inset Index idx
23397 status collapsed
23398
23399 \begin_layout Plain Layout
23400 LaTeX-packages ! sidecap
23401 \end_layout
23402
23403 \end_inset
23404
23405  has to be loaded in the document preamble with the line
23406 \end_layout
23407
23408 \begin_layout Standard
23409
23410 \series bold
23411
23412 \backslash
23413 usepackage[option]{sidecap}
23414 \end_layout
23415
23416 \begin_layout Standard
23417 If you set no option, the caption is placed on the side of the outer page
23418  margin – to the right on odd pages, to the left on even pages.
23419  You can change the placement to inner margin with the option 
23420 \series bold
23421 innercaption
23422 \series default
23423 .
23424  To force the placement always to the right or left, use the option 
23425 \series bold
23426 rightcaption
23427 \series default
23428  or 
23429 \series bold
23430 leftcaption
23431 \series default
23432 , respectively.
23433 \end_layout
23434
23435 \begin_layout Standard
23436 \begin_inset ERT
23437 status collapsed
23438
23439 \begin_layout Plain Layout
23440
23441
23442 \backslash
23443 ifsidecap
23444 \end_layout
23445
23446 \end_inset
23447
23448
23449 \begin_inset Note Note
23450 status open
23451
23452 \begin_layout Plain Layout
23453 The following section will only be displayed when the LaTeX-package 
23454 \series bold
23455 sidecap
23456 \series default
23457  is installed.
23458 \end_layout
23459
23460 \end_inset
23461
23462
23463 \end_layout
23464
23465 \begin_layout Standard
23466 To place in LyX the caption of a float on the side, it is necessary to add
23467  these commands to the document preamble:
23468 \end_layout
23469
23470 \begin_layout Standard
23471 \noindent
23472 \begin_inset CommandInset line
23473 LatexCommand rule
23474 offset "0.5ex"
23475 width "100line%"
23476 height "1pt"
23477
23478 \end_inset
23479
23480
23481 \end_layout
23482
23483 \begin_layout Standard
23484
23485 \series bold
23486
23487 \backslash
23488 newcommand{
23489 \backslash
23490 TabBesBeg}{%
23491 \begin_inset Newline newline
23492 \end_inset
23493
23494
23495 \begin_inset Phantom HPhantom
23496 status open
23497
23498 \begin_layout Plain Layout
23499
23500 \series bold
23501 \begin_inset space ~
23502 \end_inset
23503
23504
23505 \end_layout
23506
23507 \end_inset
23508
23509
23510 \backslash
23511 let
23512 \backslash
23513 MyTable
23514 \backslash
23515 table
23516 \begin_inset Newline newline
23517 \end_inset
23518
23519
23520 \begin_inset Phantom HPhantom
23521 status open
23522
23523 \begin_layout Plain Layout
23524
23525 \series bold
23526 \begin_inset space ~
23527 \end_inset
23528
23529
23530 \end_layout
23531
23532 \end_inset
23533
23534
23535 \backslash
23536 let
23537 \backslash
23538 MyEndtable
23539 \backslash
23540 endtable
23541 \begin_inset Newline newline
23542 \end_inset
23543
23544
23545 \begin_inset Phantom HPhantom
23546 status open
23547
23548 \begin_layout Plain Layout
23549
23550 \series bold
23551 \begin_inset space ~
23552 \end_inset
23553
23554
23555 \end_layout
23556
23557 \end_inset
23558
23559
23560 \backslash
23561 renewenvironment{table}{
23562 \backslash
23563 begin{SCtable}}{
23564 \backslash
23565 end{SCtable}}}
23566 \end_layout
23567
23568 \begin_layout Standard
23569
23570 \series bold
23571
23572 \backslash
23573 newcommand{
23574 \backslash
23575 TabBesEnd}{%
23576 \begin_inset Newline newline
23577 \end_inset
23578
23579
23580 \begin_inset Phantom HPhantom
23581 status open
23582
23583 \begin_layout Plain Layout
23584
23585 \series bold
23586 \begin_inset space ~
23587 \end_inset
23588
23589
23590 \end_layout
23591
23592 \end_inset
23593
23594
23595 \backslash
23596 let
23597 \backslash
23598 table
23599 \backslash
23600 MyTable
23601 \begin_inset Newline newline
23602 \end_inset
23603
23604
23605 \begin_inset Phantom HPhantom
23606 status open
23607
23608 \begin_layout Plain Layout
23609
23610 \series bold
23611 \begin_inset space ~
23612 \end_inset
23613
23614
23615 \end_layout
23616
23617 \end_inset
23618
23619
23620 \backslash
23621 let
23622 \backslash
23623 endtable
23624 \backslash
23625 MyEndtable
23626 \end_layout
23627
23628 \begin_layout Standard
23629
23630 \series bold
23631
23632 \backslash
23633 newcommand{
23634 \backslash
23635 FigBesBeg}{%
23636 \begin_inset Newline newline
23637 \end_inset
23638
23639
23640 \begin_inset Phantom HPhantom
23641 status open
23642
23643 \begin_layout Plain Layout
23644
23645 \series bold
23646 \begin_inset space ~
23647 \end_inset
23648
23649
23650 \end_layout
23651
23652 \end_inset
23653
23654
23655 \backslash
23656 let
23657 \backslash
23658 MyFigure
23659 \backslash
23660 figure
23661 \begin_inset Newline newline
23662 \end_inset
23663
23664
23665 \begin_inset Phantom HPhantom
23666 status open
23667
23668 \begin_layout Plain Layout
23669
23670 \series bold
23671 \begin_inset space ~
23672 \end_inset
23673
23674
23675 \end_layout
23676
23677 \end_inset
23678
23679
23680 \backslash
23681 let
23682 \backslash
23683 MyEndfigure
23684 \backslash
23685 endfigure
23686 \begin_inset Newline newline
23687 \end_inset
23688
23689
23690 \begin_inset Phantom HPhantom
23691 status open
23692
23693 \begin_layout Plain Layout
23694
23695 \series bold
23696 \begin_inset space ~
23697 \end_inset
23698
23699
23700 \end_layout
23701
23702 \end_inset
23703
23704
23705 \backslash
23706 renewenvironment{figure}{
23707 \backslash
23708 begin{SCfigure}}{
23709 \backslash
23710 end{SCfigure}}}
23711 \end_layout
23712
23713 \begin_layout Standard
23714
23715 \series bold
23716
23717 \backslash
23718 newcommand{
23719 \backslash
23720 FigBesEnd}{%
23721 \begin_inset Newline newline
23722 \end_inset
23723
23724
23725 \begin_inset Phantom HPhantom
23726 status open
23727
23728 \begin_layout Plain Layout
23729
23730 \series bold
23731 \begin_inset space ~
23732 \end_inset
23733
23734
23735 \end_layout
23736
23737 \end_inset
23738
23739
23740 \backslash
23741 let
23742 \backslash
23743 figure
23744 \backslash
23745 MyFigure
23746 \begin_inset Newline newline
23747 \end_inset
23748
23749
23750 \begin_inset Phantom HPhantom
23751 status open
23752
23753 \begin_layout Plain Layout
23754
23755 \series bold
23756 \begin_inset space ~
23757 \end_inset
23758
23759
23760 \end_layout
23761
23762 \end_inset
23763
23764
23765 \backslash
23766 let
23767 \backslash
23768 endfigure
23769 \backslash
23770 MyEndfigure}
23771 \end_layout
23772
23773 \begin_layout Standard
23774 \noindent
23775 \begin_inset CommandInset line
23776 LatexCommand rule
23777 offset "0.5ex"
23778 width "100line%"
23779 height "1pt"
23780
23781 \end_inset
23782
23783
23784 \end_layout
23785
23786 \begin_layout Standard
23787 The commands allow you to redefine the floats so that the caption is set
23788  on the side.
23789  For figure floats use the command
23790 \end_layout
23791
23792 \begin_layout Standard
23793
23794 \series bold
23795
23796 \backslash
23797 FigBesBeg
23798 \end_layout
23799
23800 \begin_layout Standard
23801 in TeX-Code before the float.
23802  After the float insert the command
23803 \end_layout
23804
23805 \begin_layout Standard
23806
23807 \series bold
23808
23809 \backslash
23810 FigBesEnd
23811 \end_layout
23812
23813 \begin_layout Standard
23814 in TeX-Code to get back to the original float definition.
23815 \end_layout
23816
23817 \begin_layout Standard
23818 For table floats use the corresponding commands
23819 \end_layout
23820
23821 \begin_layout Standard
23822
23823 \series bold
23824
23825 \backslash
23826 TabBesBeg
23827 \series default
23828  and 
23829 \series bold
23830
23831 \backslash
23832 TabBesEnd
23833 \end_layout
23834
23835 \begin_layout Standard
23836 Figure
23837 \begin_inset space ~
23838 \end_inset
23839
23840
23841 \begin_inset CommandInset ref
23842 LatexCommand ref
23843 reference "fig:cap-beside-fig"
23844
23845 \end_inset
23846
23847  and Table
23848 \begin_inset space ~
23849 \end_inset
23850
23851
23852 \begin_inset CommandInset ref
23853 LatexCommand ref
23854 reference "tab:cap-beside-tab"
23855
23856 \end_inset
23857
23858  are examples where the caption is set beside.
23859 \end_layout
23860
23861 \begin_layout Standard
23862 You can see in the examples that the caption text appears at the top of
23863  the floats for table floats and at the bottom for figure floats.
23864  To change this, you can use the command
23865 \end_layout
23866
23867 \begin_layout Standard
23868
23869 \series bold
23870
23871 \backslash
23872 sidecaptionvpos{float type}{placement}
23873 \end_layout
23874
23875 \begin_layout Standard
23876 in the document preamble or in TeX-Code before the float.
23877  The float type is either 
23878 \family sans
23879 figure
23880 \family default
23881  or 
23882 \family sans
23883 table
23884 \family default
23885 , the placement can be 
23886 \begin_inset Quotes eld
23887 \end_inset
23888
23889
23890 \family sans
23891 t
23892 \family default
23893
23894 \begin_inset Quotes erd
23895 \end_inset
23896
23897  for top, 
23898 \begin_inset Quotes eld
23899 \end_inset
23900
23901
23902 \family sans
23903 c
23904 \family default
23905
23906 \begin_inset Quotes erd
23907 \end_inset
23908
23909  for center, or 
23910 \begin_inset Quotes eld
23911 \end_inset
23912
23913
23914 \family sans
23915 b
23916 \family default
23917
23918 \begin_inset Quotes erd
23919 \end_inset
23920
23921  for bottom.
23922  To have for example the caption of figure floats vertically centered, use
23923  the command
23924 \end_layout
23925
23926 \begin_layout Standard
23927
23928 \series bold
23929
23930 \backslash
23931 sidecaptionvpos{figure}{c}
23932 \end_layout
23933
23934 \begin_layout Standard
23935 This was used for Figure
23936 \begin_inset space ~
23937 \end_inset
23938
23939
23940 \begin_inset CommandInset ref
23941 LatexCommand ref
23942 reference "fig:cap-beside-fig-2"
23943
23944 \end_inset
23945
23946 .
23947 \end_layout
23948
23949 \begin_layout Standard
23950 \begin_inset VSpace medskip
23951 \end_inset
23952
23953 For more information about the package 
23954 \series bold
23955 sidecap
23956 \series default
23957  we refer to its documentation 
23958 \begin_inset CommandInset citation
23959 LatexCommand cite
23960 key "sidecap"
23961
23962 \end_inset
23963
23964 .
23965 \end_layout
23966
23967 \begin_layout Standard
23968 \begin_inset Note Greyedout
23969 status open
23970
23971 \begin_layout Plain Layout
23972
23973 \series bold
23974 Note:
23975 \series default
23976  The LaTeX-package 
23977 \series bold
23978 hypcap
23979 \series default
23980
23981 \begin_inset Index idx
23982 status collapsed
23983
23984 \begin_layout Plain Layout
23985 LaTeX-packages ! hypcap
23986 \end_layout
23987
23988 \end_inset
23989
23990 , described in section
23991 \begin_inset space ~
23992 \end_inset
23993
23994
23995 \begin_inset CommandInset ref
23996 LatexCommand ref
23997 reference "sub:Reference-Position"
23998
23999 \end_inset
24000
24001 , has no effect on floats with the caption set beside.
24002 \end_layout
24003
24004 \end_inset
24005
24006
24007 \end_layout
24008
24009 \begin_layout Standard
24010 \begin_inset ERT
24011 status collapsed
24012
24013 \begin_layout Plain Layout
24014
24015
24016 \backslash
24017 FigBesBeg 
24018 \end_layout
24019
24020 \end_inset
24021
24022
24023 \end_layout
24024
24025 \begin_layout Standard
24026 \begin_inset Float figure
24027 wide false
24028 sideways false
24029 status open
24030
24031 \begin_layout Plain Layout
24032 \begin_inset Graphics
24033         filename clipart/escher-lsd.eps
24034         scale 75
24035         scaleBeforeRotation
24036
24037 \end_inset
24038
24039
24040 \end_layout
24041
24042 \begin_layout Plain Layout
24043 \begin_inset Caption
24044
24045 \begin_layout Plain Layout
24046 \begin_inset CommandInset label
24047 LatexCommand label
24048 name "fig:cap-beside-fig"
24049
24050 \end_inset
24051
24052 This is a caption beside a figure.
24053 \end_layout
24054
24055 \end_inset
24056
24057
24058 \end_layout
24059
24060 \end_inset
24061
24062
24063 \end_layout
24064
24065 \begin_layout Standard
24066 \begin_inset ERT
24067 status collapsed
24068
24069 \begin_layout Plain Layout
24070
24071
24072 \backslash
24073 TabBesBeg 
24074 \end_layout
24075
24076 \end_inset
24077
24078
24079 \end_layout
24080
24081 \begin_layout Standard
24082 \begin_inset Float table
24083 wide false
24084 sideways false
24085 status open
24086
24087 \begin_layout Plain Layout
24088 \begin_inset Caption
24089
24090 \begin_layout Plain Layout
24091 \begin_inset CommandInset label
24092 LatexCommand label
24093 name "tab:cap-beside-tab"
24094
24095 \end_inset
24096
24097 This is a caption beside a table.
24098 \end_layout
24099
24100 \end_inset
24101
24102
24103 \end_layout
24104
24105 \begin_layout Plain Layout
24106 \begin_inset Tabular
24107 <lyxtabular version="3" rows="4" columns="5">
24108 <features tabularvalignment="middle">
24109 <column alignment="center" valignment="top" width="0">
24110 <column alignment="center" valignment="top" width="0">
24111 <column alignment="center" valignment="top" width="0">
24112 <column alignment="center" valignment="top" width="0">
24113 <column alignment="center" valignment="top" width="0">
24114 <row>
24115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24116 \begin_inset Text
24117
24118 \begin_layout Plain Layout
24119 a
24120 \end_layout
24121
24122 \end_inset
24123 </cell>
24124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24125 \begin_inset Text
24126
24127 \begin_layout Plain Layout
24128
24129 \end_layout
24130
24131 \end_inset
24132 </cell>
24133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24134 \begin_inset Text
24135
24136 \begin_layout Plain Layout
24137 b
24138 \end_layout
24139
24140 \end_inset
24141 </cell>
24142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24143 \begin_inset Text
24144
24145 \begin_layout Plain Layout
24146
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24152 \begin_inset Text
24153
24154 \begin_layout Plain Layout
24155 c
24156 \end_layout
24157
24158 \end_inset
24159 </cell>
24160 </row>
24161 <row>
24162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24163 \begin_inset Text
24164
24165 \begin_layout Plain Layout
24166
24167 \end_layout
24168
24169 \end_inset
24170 </cell>
24171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24172 \begin_inset Text
24173
24174 \begin_layout Plain Layout
24175 d
24176 \end_layout
24177
24178 \end_inset
24179 </cell>
24180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24181 \begin_inset Text
24182
24183 \begin_layout Plain Layout
24184
24185 \end_layout
24186
24187 \end_inset
24188 </cell>
24189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24190 \begin_inset Text
24191
24192 \begin_layout Plain Layout
24193 e
24194 \end_layout
24195
24196 \end_inset
24197 </cell>
24198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24199 \begin_inset Text
24200
24201 \begin_layout Plain Layout
24202
24203 \end_layout
24204
24205 \end_inset
24206 </cell>
24207 </row>
24208 <row>
24209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24210 \begin_inset Text
24211
24212 \begin_layout Plain Layout
24213 f
24214 \end_layout
24215
24216 \end_inset
24217 </cell>
24218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24219 \begin_inset Text
24220
24221 \begin_layout Plain Layout
24222
24223 \end_layout
24224
24225 \end_inset
24226 </cell>
24227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24228 \begin_inset Text
24229
24230 \begin_layout Plain Layout
24231 g
24232 \end_layout
24233
24234 \end_inset
24235 </cell>
24236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24237 \begin_inset Text
24238
24239 \begin_layout Plain Layout
24240
24241 \end_layout
24242
24243 \end_inset
24244 </cell>
24245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24246 \begin_inset Text
24247
24248 \begin_layout Plain Layout
24249 h
24250 \end_layout
24251
24252 \end_inset
24253 </cell>
24254 </row>
24255 <row>
24256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24257 \begin_inset Text
24258
24259 \begin_layout Plain Layout
24260
24261 \end_layout
24262
24263 \end_inset
24264 </cell>
24265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24266 \begin_inset Text
24267
24268 \begin_layout Plain Layout
24269 i
24270 \end_layout
24271
24272 \end_inset
24273 </cell>
24274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24275 \begin_inset Text
24276
24277 \begin_layout Plain Layout
24278
24279 \end_layout
24280
24281 \end_inset
24282 </cell>
24283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24284 \begin_inset Text
24285
24286 \begin_layout Plain Layout
24287 j
24288 \end_layout
24289
24290 \end_inset
24291 </cell>
24292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24293 \begin_inset Text
24294
24295 \begin_layout Plain Layout
24296
24297 \end_layout
24298
24299 \end_inset
24300 </cell>
24301 </row>
24302 </lyxtabular>
24303
24304 \end_inset
24305
24306
24307 \end_layout
24308
24309 \end_inset
24310
24311
24312 \end_layout
24313
24314 \begin_layout Standard
24315 \begin_inset ERT
24316 status collapsed
24317
24318 \begin_layout Plain Layout
24319
24320
24321 \backslash
24322 TabBesEnd
24323 \end_layout
24324
24325 \end_inset
24326
24327
24328 \end_layout
24329
24330 \begin_layout Standard
24331 \begin_inset ERT
24332 status collapsed
24333
24334 \begin_layout Plain Layout
24335
24336
24337 \backslash
24338 sidecaptionvpos{figure}{c}
24339 \end_layout
24340
24341 \end_inset
24342
24343
24344 \begin_inset Float figure
24345 wide false
24346 sideways false
24347 status open
24348
24349 \begin_layout Plain Layout
24350 \begin_inset Graphics
24351         filename clipart/escher-lsd.eps
24352         scale 75
24353         scaleBeforeRotation
24354
24355 \end_inset
24356
24357
24358 \end_layout
24359
24360 \begin_layout Plain Layout
24361 \begin_inset Caption
24362
24363 \begin_layout Plain Layout
24364 \begin_inset CommandInset label
24365 LatexCommand label
24366 name "fig:cap-beside-fig-2"
24367
24368 \end_inset
24369
24370 This is a vertically centered caption beside a figure.
24371 \end_layout
24372
24373 \end_inset
24374
24375
24376 \end_layout
24377
24378 \end_inset
24379
24380
24381 \end_layout
24382
24383 \begin_layout Standard
24384 \begin_inset ERT
24385 status collapsed
24386
24387 \begin_layout Plain Layout
24388
24389
24390 \backslash
24391 FigBesEnd
24392 \end_layout
24393
24394 \end_inset
24395
24396
24397 \end_layout
24398
24399 \begin_layout Standard
24400 \begin_inset ERT
24401 status collapsed
24402
24403 \begin_layout Plain Layout
24404
24405
24406 \backslash
24407 else
24408 \end_layout
24409
24410 \end_inset
24411
24412
24413 \begin_inset Note Note
24414 status open
24415
24416 \begin_layout Plain Layout
24417 The following will be displayed when the LaTeX-package 
24418 \series bold
24419 sidecap
24420 \series default
24421  is not installed:
24422 \end_layout
24423
24424 \end_inset
24425
24426
24427 \end_layout
24428
24429 \begin_layout Standard
24430 You need to install the LaTeX-package 
24431 \series bold
24432 sidecap
24433 \series default
24434  to see the following part of this section in the output.
24435 \end_layout
24436
24437 \begin_layout Standard
24438 \begin_inset ERT
24439 status collapsed
24440
24441 \begin_layout Plain Layout
24442
24443
24444 \backslash
24445 fi
24446 \end_layout
24447
24448 \end_inset
24449
24450
24451 \end_layout
24452
24453 \begin_layout Section
24454 Listings of Floats
24455 \begin_inset Index idx
24456 status collapsed
24457
24458 \begin_layout Plain Layout
24459 Floats ! Float Lists
24460 \end_layout
24461
24462 \end_inset
24463
24464
24465 \end_layout
24466
24467 \begin_layout Standard
24468 Similar to the table of contents where the sections of the document are
24469  listed, there are listings for all float types, like the figures of the
24470  documents.
24471  You can insert them via the 
24472 \family sans
24473 Insert\SpecialChar \menuseparator
24474 List
24475 \begin_inset space ~
24476 \end_inset
24477
24478 /
24479 \begin_inset space ~
24480 \end_inset
24481
24482 TOC
24483 \family default
24484  sub menus.
24485 \end_layout
24486
24487 \begin_layout Standard
24488 The list entries are the float captions or its short title, the float number,
24489  and the page number where they appear in the document.
24490 \end_layout
24491
24492 \begin_layout Standard
24493 You can find the list of figures and tables at the end of this document.
24494 \end_layout
24495
24496 \begin_layout Chapter
24497 Notes
24498 \end_layout
24499
24500 \begin_layout Section
24501 LyX Notes
24502 \begin_inset Index idx
24503 status collapsed
24504
24505 \begin_layout Plain Layout
24506 Notes ! LyX Notes
24507 \end_layout
24508
24509 \end_inset
24510
24511
24512 \end_layout
24513
24514 \begin_layout Standard
24515 Notes are inserted with the toolbar button 
24516 \begin_inset Graphics
24517         filename ../images/note-insert.png
24518         scale 85
24519         scaleBeforeRotation
24520
24521 \end_inset
24522
24523  or the menu 
24524 \family sans
24525 Insert\SpecialChar \menuseparator
24526 Note
24527 \family default
24528 .
24529  There are three types of notes:
24530 \end_layout
24531
24532 \begin_layout Description
24533 LyX
24534 \begin_inset space ~
24535 \end_inset
24536
24537 Note This note type is for internal notes that won't appear in the output.
24538  Its note-box looks like this:
24539 \begin_inset Newline newline
24540 \end_inset
24541
24542
24543 \begin_inset Newline newline
24544 \end_inset
24545
24546
24547 \begin_inset Graphics
24548         filename clipart/LyXNoteImageQt4.png
24549         display false
24550         scale 85
24551         scaleBeforeRotation
24552
24553 \end_inset
24554
24555  
24556 \begin_inset Note Note
24557 status open
24558
24559 \begin_layout Plain Layout
24560 This is text in a note box that doesn't appear in the output.
24561 \end_layout
24562
24563 \end_inset
24564
24565
24566 \end_layout
24567
24568 \begin_layout Description
24569 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24570 ent, when you export the document to LaTeX via the menu 
24571 \family sans
24572 File\SpecialChar \menuseparator
24573 Export\SpecialChar \menuseparator
24574 LaTeX (pdflatex) / (plain)
24575 \family default
24576 .
24577  Its note-box looks like this:
24578 \begin_inset Newline newline
24579 \end_inset
24580
24581
24582 \begin_inset Newline newline
24583 \end_inset
24584
24585
24586 \begin_inset Graphics
24587         filename clipart/CommentNoteImageQt4.png
24588         display false
24589         scale 85
24590         scaleBeforeRotation
24591
24592 \end_inset
24593
24594  
24595 \begin_inset Note Comment
24596 status open
24597
24598 \begin_layout Plain Layout
24599 This is text in a note box that only appears as comment in LaTeX-files.
24600 \end_layout
24601
24602 \end_inset
24603
24604
24605 \end_layout
24606
24607 \begin_layout Description
24608 Greyed
24609 \begin_inset space ~
24610 \end_inset
24611
24612 Out This note will appear in the output as grey text.
24613  Its note-box looks like this:
24614 \begin_inset Newline newline
24615 \end_inset
24616
24617
24618 \begin_inset Newline newline
24619 \end_inset
24620
24621
24622 \begin_inset Graphics
24623         filename clipart/GreyedOutNoteImageQt4.png
24624         display false
24625         scale 85
24626         scaleBeforeRotation
24627
24628 \end_inset
24629
24630
24631 \begin_inset Newline newline
24632 \end_inset
24633
24634
24635 \begin_inset ERT
24636 status collapsed
24637
24638 \begin_layout Plain Layout
24639
24640
24641 \backslash
24642 renewenvironment{lyxgreyedout}
24643 \end_layout
24644
24645 \begin_layout Plain Layout
24646
24647 {
24648 \backslash
24649 textcolor[gray]{0.8}
24650 \backslash
24651 bgroup}{
24652 \backslash
24653 egroup}
24654 \end_layout
24655
24656 \end_inset
24657
24658
24659 \begin_inset Note Greyedout
24660 status open
24661
24662 \begin_layout Plain Layout
24663 This is text
24664 \begin_inset Foot
24665 status open
24666
24667 \begin_layout Plain Layout
24668 This is an example footnote within a greyed out note.
24669 \end_layout
24670
24671 \end_inset
24672
24673  of a comment that appears in the output as grey text.
24674 \end_layout
24675
24676 \end_inset
24677
24678
24679 \begin_inset ERT
24680 status collapsed
24681
24682 \begin_layout Plain Layout
24683
24684
24685 \backslash
24686 renewenvironment{lyxgreyedout}
24687 \end_layout
24688
24689 \begin_layout Plain Layout
24690
24691 {
24692 \backslash
24693 textcolor{blue}
24694 \backslash
24695 bgroup}{
24696 \backslash
24697 egroup}
24698 \end_layout
24699
24700 \end_inset
24701
24702
24703 \begin_inset Note Note
24704 status collapsed
24705
24706 \begin_layout Plain Layout
24707 The greyed out note is here redefined to show it with the original LyX definitio
24708 n because greyed out notes are redefined in the preamble of this document,
24709  as described below, to have blue text.
24710 \end_layout
24711
24712 \end_inset
24713
24714
24715 \begin_inset Newline newline
24716 \end_inset
24717
24718
24719 \begin_inset Newline newline
24720 \end_inset
24721
24722 As you can see in the example, the first line of greyed out notes is a bit
24723  indented and greyed out notes can have footnotes.
24724 \end_layout
24725
24726 \begin_layout Standard
24727 \begin_inset VSpace bigskip
24728 \end_inset
24729
24730 When you use the toolbar button 
24731 \begin_inset Graphics
24732         filename ../images/note-insert.png
24733         scale 85
24734         scaleBeforeRotation
24735
24736 \end_inset
24737
24738  to insert notes, a 
24739 \family sans
24740 LyX
24741 \begin_inset space ~
24742 \end_inset
24743
24744 Note
24745 \family default
24746  is inserted.
24747  You can switch between the five note types by right-clicking on the note-box.
24748  
24749 \family roman
24750 \series medium
24751 \bar no
24752 If you want to turn existing text into a note, mark it and click on the
24753  note
24754 \family default
24755 \series default
24756 \bar default
24757  toolbar 
24758 \family roman
24759 \series medium
24760 \bar no
24761 button
24762 \family default
24763 \series default
24764 \bar default
24765 .
24766  To change a note to text, press the backspace key when the cursor is in
24767  the first position of a note, or press the delete key when the cursor is
24768  in the very last position of the note, respectively.
24769 \end_layout
24770
24771 \begin_layout Standard
24772 \begin_inset VSpace bigskip
24773 \end_inset
24774
24775 You can change the text color of the greyed out notes in the menu 
24776 \family sans
24777 Document\SpecialChar \menuseparator
24778 Settings\SpecialChar \menuseparator
24779 Colors
24780 \family default
24781 .
24782 \end_layout
24783
24784 \begin_layout Section
24785 Footnotes
24786 \begin_inset CommandInset label
24787 LatexCommand label
24788 name "sec:Footnotes"
24789
24790 \end_inset
24791
24792
24793 \begin_inset Index idx
24794 status collapsed
24795
24796 \begin_layout Plain Layout
24797 Notes ! Footnotes
24798 \end_layout
24799
24800 \end_inset
24801
24802
24803 \begin_inset Index idx
24804 status collapsed
24805
24806 \begin_layout Plain Layout
24807 Footnotes
24808 \end_layout
24809
24810 \end_inset
24811
24812
24813 \end_layout
24814
24815 \begin_layout Standard
24816 Footnotes can be inserted using the toolbar button 
24817 \begin_inset Graphics
24818         filename ../images/footnote-insert.png
24819         scale 85
24820         scaleBeforeRotation
24821
24822 \end_inset
24823
24824  or the menu 
24825 \family sans
24826 Insert\SpecialChar \menuseparator
24827 Footnote
24828 \family default
24829 .
24830  
24831 \family roman
24832 \series medium
24833 \bar no
24834 You'll see
24835 \family default
24836 \series default
24837 \bar default
24838  then the following footnote-box: 
24839 \begin_inset Graphics
24840         filename clipart/footnoteQt4.png
24841         scale 80
24842         scaleBeforeRotation
24843
24844 \end_inset
24845
24846  
24847 \family roman
24848 \series medium
24849 \bar no
24850 where you can enter the footnote text.
24851  If you want to turn existing text into a footnote, mark it and click on
24852  the footnote
24853 \family default
24854 \series default
24855 \bar default
24856  toolbar 
24857 \family roman
24858 \series medium
24859 \bar no
24860 button
24861 \family default
24862 \series default
24863 \bar default
24864 .
24865  To change a 
24866 \family roman
24867 \series medium
24868 \bar no
24869 footnote
24870 \family default
24871 \series default
24872 \bar default
24873  to text, press the Backspace key when the cursor is in the first position
24874  of a 
24875 \family roman
24876 \series medium
24877 \bar no
24878 footnote
24879 \family default
24880 \series default
24881 \bar default
24882 , or press the Delete key when the cursor is in the very last position of
24883  the 
24884 \family roman
24885 \series medium
24886 \bar no
24887 footnote
24888 \family default
24889 \series default
24890 \bar default
24891 , respectively.
24892 \end_layout
24893
24894 \begin_layout Standard
24895 Here is an example footnote:
24896 \family roman
24897 \series medium
24898 \bar no
24899
24900 \begin_inset Foot
24901 status open
24902
24903 \begin_layout Plain Layout
24904 \begin_inset CommandInset label
24905 LatexCommand label
24906 name "foot:This-is-an"
24907
24908 \end_inset
24909
24910 This is an example footnote.
24911 \end_layout
24912
24913 \end_inset
24914
24915
24916 \family default
24917 \series default
24918 \bar default
24919
24920 \begin_inset ERT
24921 status collapsed
24922
24923 \begin_layout Plain Layout
24924
24925
24926 \backslash
24927 newcounter{MyRepeatFoot}
24928 \end_layout
24929
24930 \begin_layout Plain Layout
24931
24932
24933 \backslash
24934 setcounter{MyRepeatFoot}{
24935 \backslash
24936 thefootnote}
24937 \end_layout
24938
24939 \end_inset
24940
24941
24942 \end_layout
24943
24944 \begin_layout Standard
24945 The footnote will appear in the output as a superscript number at the text
24946  position where the footnote box is placed.
24947  The footnote text is placed at the bottom of the current page.
24948  The footnote number is calculated by LaTeX; the numbers are consecutive.
24949  It depends on your document-class, whether the footnote number is reset
24950  for every chapter.
24951 \end_layout
24952
24953 \begin_layout Standard
24954 Footnotes can be referenced like floats: Insert a label into the footnote
24955  and cross-reference this label in the text as described in section
24956 \begin_inset space ~
24957 \end_inset
24958
24959
24960 \begin_inset CommandInset ref
24961 LatexCommand ref
24962 reference "sec:Referencing-Floats"
24963
24964 \end_inset
24965
24966 .
24967 \begin_inset Newline newline
24968 \end_inset
24969
24970 This is a cross-reference of Footnote
24971 \begin_inset space ~
24972 \end_inset
24973
24974
24975 \begin_inset CommandInset ref
24976 LatexCommand ref
24977 reference "foot:This-is-an"
24978
24979 \end_inset
24980
24981 .
24982 \end_layout
24983
24984 \begin_layout Standard
24985 \begin_inset VSpace defskip
24986 \end_inset
24987
24988 Footnotes in tables are not printed by LaTeX due to technical reasons.
24989  However there exists another method to print them: Instead of the footnote
24990  the command 
24991 \series bold
24992
24993 \backslash
24994 footnotemark{}
24995 \series default
24996  is inserted as TeX-code.
24997  The text of the footnote is entered as an argument of the TeX-code command
24998  
24999 \series bold
25000
25001 \backslash
25002 footnotetext
25003 \series default
25004  after the table.
25005 \begin_inset Newline newline
25006 \end_inset
25007
25008 This was done for the following table with the command
25009 \end_layout
25010
25011 \begin_layout Standard
25012
25013 \series bold
25014
25015 \backslash
25016 footnotetext{
25017 \series default
25018 Printed table footnote.
25019 \series bold
25020 }
25021 \end_layout
25022
25023 \begin_layout Standard
25024 \begin_inset Tabular
25025 <lyxtabular version="3" rows="2" columns="1">
25026 <features tabularvalignment="middle">
25027 <column alignment="center" valignment="top" width="0">
25028 <row>
25029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25030 \begin_inset Text
25031
25032 \begin_layout Plain Layout
25033 This an example text.
25034 \begin_inset Foot
25035 status open
25036
25037 \begin_layout Plain Layout
25038 This footnote will not be printed!
25039 \end_layout
25040
25041 \end_inset
25042
25043
25044 \end_layout
25045
25046 \end_inset
25047 </cell>
25048 </row>
25049 <row>
25050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25051 \begin_inset Text
25052
25053 \begin_layout Plain Layout
25054 This an example text.
25055 \begin_inset ERT
25056 status collapsed
25057
25058 \begin_layout Plain Layout
25059
25060
25061 \backslash
25062 footnotemark{}
25063 \end_layout
25064
25065 \end_inset
25066
25067
25068 \end_layout
25069
25070 \end_inset
25071 </cell>
25072 </row>
25073 </lyxtabular>
25074
25075 \end_inset
25076
25077
25078 \begin_inset ERT
25079 status collapsed
25080
25081 \begin_layout Plain Layout
25082
25083
25084 \backslash
25085 footnotetext{
25086 \end_layout
25087
25088 \end_inset
25089
25090 Printed table footnote.
25091 \begin_inset ERT
25092 status collapsed
25093
25094 \begin_layout Plain Layout
25095
25096 }
25097 \end_layout
25098
25099 \end_inset
25100
25101
25102 \end_layout
25103
25104 \begin_layout Standard
25105 Footnotes in longtables are described in section
25106 \begin_inset space ~
25107 \end_inset
25108
25109
25110 \begin_inset CommandInset ref
25111 LatexCommand ref
25112 reference "sub:Footnotes-in-Longtables"
25113
25114 \end_inset
25115
25116 .
25117 \end_layout
25118
25119 \begin_layout Standard
25120 Footnotes in minipage boxes are printed, but inside the box and with a different
25121  numbering because a minipage box is like a page inside a page.
25122  (For more about minipages, see section
25123 \begin_inset space ~
25124 \end_inset
25125
25126
25127 \begin_inset CommandInset ref
25128 LatexCommand ref
25129 reference "sec:Minipages"
25130
25131 \end_inset
25132
25133 .) To get a footnote in the minipage that is output at the bottom of the
25134  page like normal footnotes, also use the method of 
25135 \series bold
25136
25137 \backslash
25138 footnotemark{}
25139 \series default
25140  and 
25141 \series bold
25142
25143 \backslash
25144 footnotetext
25145 \series default
25146 .
25147 \end_layout
25148
25149 \begin_layout Standard
25150 \begin_inset Box Frameless
25151 position "t"
25152 hor_pos "c"
25153 has_inner_box 1
25154 inner_pos "t"
25155 use_parbox 0
25156 use_makebox 0
25157 width "100col%"
25158 special "none"
25159 height "1in"
25160 height_special "totalheight"
25161 status open
25162
25163 \begin_layout Plain Layout
25164 This an example text in a minipage.
25165 \begin_inset Foot
25166 status open
25167
25168 \begin_layout Plain Layout
25169 Footnote in the minipage.
25170 \end_layout
25171
25172 \end_inset
25173
25174
25175 \end_layout
25176
25177 \begin_layout Plain Layout
25178 This an example text in a minipage.
25179 \begin_inset ERT
25180 status collapsed
25181
25182 \begin_layout Plain Layout
25183
25184
25185 \backslash
25186 footnotemark{}
25187 \end_layout
25188
25189 \end_inset
25190
25191
25192 \end_layout
25193
25194 \end_inset
25195
25196
25197 \end_layout
25198
25199 \begin_layout Standard
25200 \begin_inset ERT
25201 status collapsed
25202
25203 \begin_layout Plain Layout
25204
25205
25206 \backslash
25207 footnotetext{
25208 \end_layout
25209
25210 \end_inset
25211
25212 Footnote outside the minipage.
25213 \begin_inset ERT
25214 status collapsed
25215
25216 \begin_layout Plain Layout
25217
25218 }
25219 \end_layout
25220
25221 \end_inset
25222
25223
25224 \end_layout
25225
25226 \begin_layout Standard
25227 \begin_inset VSpace defskip
25228 \end_inset
25229
25230
25231 \end_layout
25232
25233 \begin_layout Standard
25234 To refer to the same footnote several times without printing the footnote
25235  text every time, use the command 
25236 \series bold
25237
25238 \backslash
25239 footnotemark[number]
25240 \series default
25241  in TeX-code.
25242 \begin_inset Newline newline
25243 \end_inset
25244
25245 As you do not know the number of the repeating footnote while you are writing
25246  the text, you have to store its number.
25247  For the following footnote mark example, these commands were inserted in
25248  TeX-code after Footnote
25249 \begin_inset space ~
25250 \end_inset
25251
25252
25253 \begin_inset CommandInset ref
25254 LatexCommand ref
25255 reference "foot:This-is-an"
25256
25257 \end_inset
25258
25259  to store the footnote number:
25260 \end_layout
25261
25262 \begin_layout Standard
25263
25264 \series bold
25265
25266 \backslash
25267 newcounter{MyRepeatFoot}
25268 \begin_inset Newline newline
25269 \end_inset
25270
25271
25272 \backslash
25273 setcounter{MyRepeatFoot}{
25274 \backslash
25275 thefootnote}
25276 \end_layout
25277
25278 \begin_layout Standard
25279 The footnote mark was then created with this command:
25280 \end_layout
25281
25282 \begin_layout Standard
25283
25284 \series bold
25285
25286 \backslash
25287 footnotemark[
25288 \backslash
25289 theMyRepeatFoot]
25290 \end_layout
25291
25292 \begin_layout Standard
25293 Here is a repeated footnote:
25294 \family roman
25295 \series medium
25296 \bar no
25297
25298 \begin_inset ERT
25299 status collapsed
25300
25301 \begin_layout Plain Layout
25302
25303
25304 \backslash
25305 footnotemark[
25306 \backslash
25307 theMyRepeatFoot]
25308 \end_layout
25309
25310 \end_inset
25311
25312
25313 \end_layout
25314
25315 \begin_layout Standard
25316 If you want to repeat the previous footnote, you can omit the storage of
25317  the footnote number and just use this command instead:
25318 \end_layout
25319
25320 \begin_layout Standard
25321
25322 \series bold
25323
25324 \backslash
25325 footnotemark[
25326 \backslash
25327 thefootnote]
25328 \end_layout
25329
25330 \begin_layout Standard
25331 Here is another repeated footnote:
25332 \family roman
25333 \series medium
25334 \bar no
25335
25336 \begin_inset ERT
25337 status collapsed
25338
25339 \begin_layout Plain Layout
25340
25341
25342 \backslash
25343 footnotemark[
25344 \backslash
25345 thefootnote]
25346 \end_layout
25347
25348 \end_inset
25349
25350
25351 \end_layout
25352
25353 \begin_layout Subsection
25354 Footnote Numbering
25355 \begin_inset CommandInset label
25356 LatexCommand label
25357 name "sub:Footnote-Numbering"
25358
25359 \end_inset
25360
25361
25362 \begin_inset Index idx
25363 status collapsed
25364
25365 \begin_layout Plain Layout
25366 Footnotes ! Numbering
25367 \end_layout
25368
25369 \end_inset
25370
25371
25372 \end_layout
25373
25374 \begin_layout Standard
25375 To reset the footnote number back to 1 after each section
25376 \family roman
25377 , add this command to your document preamble:
25378 \end_layout
25379
25380 \begin_layout Standard
25381
25382 \series bold
25383
25384 \backslash
25385 @addtoreset{footnote}{section}
25386 \end_layout
25387
25388 \begin_layout Standard
25389 \begin_inset VSpace bigskip
25390 \end_inset
25391
25392 The following preamble command changes the footnote numbering style to small
25393  roman numerals:
25394 \end_layout
25395
25396 \begin_layout Standard
25397
25398 \series bold
25399
25400 \backslash
25401 renewcommand{
25402 \backslash
25403 thefootnote}{
25404 \backslash
25405 roman{footnote}}
25406 \end_layout
25407
25408 \begin_layout Standard
25409 \begin_inset ERT
25410 status collapsed
25411
25412 \begin_layout Plain Layout
25413
25414
25415 \backslash
25416 renewcommand{
25417 \backslash
25418 thefootnote}{
25419 \backslash
25420 roman{footnote}}
25421 \end_layout
25422
25423 \end_inset
25424
25425  This is a footnote with roman numbering:
25426 \begin_inset Foot
25427 status open
25428
25429 \begin_layout Plain Layout
25430 This is an example footnote with roman numbering.
25431 \end_layout
25432
25433 \end_inset
25434
25435
25436 \end_layout
25437
25438 \begin_layout Standard
25439 To change the numbering style to capital roman numerals replace in the command
25440  above 
25441 \series bold
25442
25443 \backslash
25444 roman
25445 \series default
25446  by 
25447 \series bold
25448
25449 \backslash
25450 Roman
25451 \series default
25452 .
25453  To 
25454 \begin_inset Quotes eld
25455 \end_inset
25456
25457 number
25458 \begin_inset Quotes erd
25459 \end_inset
25460
25461  footnotes with capital or small Latin letters use 
25462 \series bold
25463
25464 \backslash
25465 Alph
25466 \series default
25467  or 
25468 \series bold
25469
25470 \backslash
25471 alph
25472 \series default
25473 , respectively.
25474  To 
25475 \begin_inset Quotes eld
25476 \end_inset
25477
25478 number
25479 \begin_inset Quotes erd
25480 \end_inset
25481
25482  footnotes with symbols use 
25483 \series bold
25484
25485 \backslash
25486 fnsymbol
25487 \series default
25488 .
25489 \end_layout
25490
25491 \begin_layout Standard
25492 \begin_inset Note Greyedout
25493 status open
25494
25495 \begin_layout Plain Layout
25496
25497 \series bold
25498 Note:
25499 \series default
25500  You can only number 26 footnotes with Latin letters, because this numbering
25501  is limited to single letters.
25502 \end_layout
25503
25504 \end_inset
25505
25506
25507 \begin_inset Newline newline
25508 \end_inset
25509
25510
25511 \begin_inset Note Greyedout
25512 status open
25513
25514 \begin_layout Plain Layout
25515
25516 \series bold
25517 Note:
25518 \series default
25519  You can only number 9 footnotes with symbols.
25520 \end_layout
25521
25522 \end_inset
25523
25524
25525 \end_layout
25526
25527 \begin_layout Standard
25528 To return to the default numbering style after you have changed to another
25529  one, use 
25530 \series bold
25531
25532 \backslash
25533 arabic
25534 \series default
25535  instead of 
25536 \series bold
25537
25538 \backslash
25539 roman
25540 \series default
25541  in the command above.
25542 \begin_inset ERT
25543 status collapsed
25544
25545 \begin_layout Plain Layout
25546
25547
25548 \backslash
25549 renewcommand{
25550 \backslash
25551 thefootnote}{
25552 \backslash
25553 arabic{footnote}}
25554 \end_layout
25555
25556 \end_inset
25557
25558
25559 \end_layout
25560
25561 \begin_layout Standard
25562 \begin_inset VSpace bigskip
25563 \end_inset
25564
25565
25566 \end_layout
25567
25568 \begin_layout Standard
25569 If you want to have footnotes numbered in the scheme 
25570 \begin_inset Quotes eld
25571 \end_inset
25572
25573 chapter.footnote
25574 \begin_inset Quotes erd
25575 \end_inset
25576
25577 , add the following command to your document preamble:
25578 \end_layout
25579
25580 \begin_layout Standard
25581
25582 \series bold
25583
25584 \backslash
25585 numberwithin{footnote}{chapter}
25586 \end_layout
25587
25588 \begin_layout Standard
25589 To be able to use the command 
25590 \series bold
25591
25592 \backslash
25593 numberwithin
25594 \series default
25595 , set in the tab 
25596 \family sans
25597 Math
25598 \begin_inset space ~
25599 \end_inset
25600
25601 Options
25602 \family default
25603  in the document settings the option 
25604 \family sans
25605 Use
25606 \begin_inset space ~
25607 \end_inset
25608
25609 AMS
25610 \begin_inset space ~
25611 \end_inset
25612
25613 math
25614 \begin_inset space ~
25615 \end_inset
25616
25617 package
25618 \family default
25619 .
25620 \end_layout
25621
25622 \begin_layout Standard
25623 \begin_inset ERT
25624 status collapsed
25625
25626 \begin_layout Plain Layout
25627
25628
25629 \backslash
25630 numberwithin{footnote}{chapter}
25631 \end_layout
25632
25633 \end_inset
25634
25635 This is another example footnote:
25636 \series bold
25637
25638 \begin_inset Foot
25639 status open
25640
25641 \begin_layout Plain Layout
25642 This is a footnote numbered in the scheme 
25643 \begin_inset Quotes eld
25644 \end_inset
25645
25646 chapter.footnote
25647 \begin_inset Quotes erd
25648 \end_inset
25649
25650 .
25651 \end_layout
25652
25653 \end_inset
25654
25655
25656 \series default
25657
25658 \begin_inset ERT
25659 status collapsed
25660
25661 \begin_layout Plain Layout
25662
25663
25664 \backslash
25665 renewcommand{
25666 \backslash
25667 thefootnote}{
25668 \backslash
25669 arabic{footnote}}
25670 \end_layout
25671
25672 \end_inset
25673
25674
25675 \end_layout
25676
25677 \begin_layout Standard
25678 \begin_inset Note Greyedout
25679 status open
25680
25681 \begin_layout Plain Layout
25682
25683 \series bold
25684 Note:
25685 \series default
25686  
25687 \series bold
25688
25689 \backslash
25690 numberwithin
25691 \series default
25692  always prints out the footnote number as arabic number; previous redefinitions
25693  to get non-arabic numbers are overwritten.
25694 \end_layout
25695
25696 \end_inset
25697
25698
25699 \end_layout
25700
25701 \begin_layout Standard
25702 So to get for example the scheme 
25703 \begin_inset Quotes eld
25704 \end_inset
25705
25706 chapter.
25707 \backslash
25708 Roman{footnote}
25709 \begin_inset Quotes erd
25710 \end_inset
25711
25712 , use this command instead of 
25713 \series bold
25714
25715 \backslash
25716 numberwithin
25717 \series default
25718 :
25719 \end_layout
25720
25721 \begin_layout Standard
25722
25723 \series bold
25724
25725 \backslash
25726 renewcommand{
25727 \backslash
25728 thefootnote}{
25729 \backslash
25730 thechapter.
25731 \backslash
25732 Roman{footnote}}
25733 \end_layout
25734
25735 \begin_layout Subsection
25736 Footnote Placement
25737 \begin_inset Index idx
25738 status collapsed
25739
25740 \begin_layout Plain Layout
25741 Footnotes ! Placement
25742 \end_layout
25743
25744 \end_inset
25745
25746
25747 \end_layout
25748
25749 \begin_layout Standard
25750 If you have several footnotes in one page, they appear without vertical
25751  space between them at the bottom of the page.
25752  To make them more readable you can e.
25753 \begin_inset space \thinspace{}
25754 \end_inset
25755
25756 g.
25757 \begin_inset space \space{}
25758 \end_inset
25759
25760 add 1.5
25761 \begin_inset space \thinspace{}
25762 \end_inset
25763
25764 mm space with the following preamble command:
25765 \end_layout
25766
25767 \begin_layout Standard
25768
25769 \series bold
25770
25771 \backslash
25772 let
25773 \backslash
25774 myFoot
25775 \backslash
25776 footnote
25777 \begin_inset Newline newline
25778 \end_inset
25779
25780
25781 \backslash
25782 renewcommand{
25783 \backslash
25784 footnote}[1]{
25785 \backslash
25786 myFoot{#1
25787 \backslash
25788 vspace{1.5mm}}}
25789 \end_layout
25790
25791 \begin_layout Standard
25792 \begin_inset VSpace bigskip
25793 \end_inset
25794
25795 In a two-column document the footnotes appear at the bottom of every column,
25796  see Figure
25797 \begin_inset space ~
25798 \end_inset
25799
25800
25801 \begin_inset CommandInset ref
25802 LatexCommand ref
25803 reference "fig:Standard-footnote-placement"
25804
25805 \end_inset
25806
25807 .
25808  If the footnotes should only appear at the bottom of the right column,
25809  as in Figure
25810 \begin_inset space ~
25811 \end_inset
25812
25813
25814 \begin_inset CommandInset ref
25815 LatexCommand ref
25816 reference "fig:Footnote-placement-in"
25817
25818 \end_inset
25819
25820 , use the LaTeX-package 
25821 \series bold
25822 ftnright
25823 \series default
25824
25825 \begin_inset Index idx
25826 status collapsed
25827
25828 \begin_layout Plain Layout
25829 LaTeX-packages ! ftnright
25830 \end_layout
25831
25832 \end_inset
25833
25834  with this command in the document preamble:
25835 \end_layout
25836
25837 \begin_layout Standard
25838
25839 \series bold
25840
25841 \backslash
25842 usepackage{ftnright}
25843 \end_layout
25844
25845 \begin_layout Standard
25846 \begin_inset Float figure
25847 placement !h
25848 wide false
25849 sideways false
25850 status open
25851
25852 \begin_layout Plain Layout
25853 \begin_inset ERT
25854 status collapsed
25855
25856 \begin_layout Plain Layout
25857
25858
25859 \backslash
25860 framebox{
25861 \end_layout
25862
25863 \end_inset
25864
25865
25866 \begin_inset Graphics
25867         filename clipart/without_fntright.pdf
25868         width 100col%
25869         scaleBeforeRotation
25870
25871 \end_inset
25872
25873
25874 \begin_inset ERT
25875 status collapsed
25876
25877 \begin_layout Plain Layout
25878
25879 }
25880 \end_layout
25881
25882 \end_inset
25883
25884
25885 \end_layout
25886
25887 \begin_layout Plain Layout
25888 \begin_inset Caption
25889
25890 \begin_layout Plain Layout
25891 \begin_inset CommandInset label
25892 LatexCommand label
25893 name "fig:Standard-footnote-placement"
25894
25895 \end_inset
25896
25897 Standard footnote placement in two-column documents.
25898 \end_layout
25899
25900 \end_inset
25901
25902
25903 \end_layout
25904
25905 \end_inset
25906
25907
25908 \end_layout
25909
25910 \begin_layout Standard
25911 \begin_inset Float figure
25912 placement !h
25913 wide false
25914 sideways false
25915 status open
25916
25917 \begin_layout Plain Layout
25918 \begin_inset ERT
25919 status collapsed
25920
25921 \begin_layout Plain Layout
25922
25923
25924 \backslash
25925 framebox{
25926 \end_layout
25927
25928 \end_inset
25929
25930
25931 \begin_inset Graphics
25932         filename clipart/with_fntright.pdf
25933         width 100col%
25934         scaleBeforeRotation
25935
25936 \end_inset
25937
25938
25939 \begin_inset ERT
25940 status collapsed
25941
25942 \begin_layout Plain Layout
25943
25944 }
25945 \end_layout
25946
25947 \end_inset
25948
25949
25950 \end_layout
25951
25952 \begin_layout Plain Layout
25953 \begin_inset Caption
25954
25955 \begin_layout Plain Layout
25956 \begin_inset CommandInset label
25957 LatexCommand label
25958 name "fig:Footnote-placement-in"
25959
25960 \end_inset
25961
25962 Footnote placement in two-column documents when the LaTeX-package 
25963 \series bold
25964 ftnright
25965 \series default
25966  is used.
25967 \end_layout
25968
25969 \end_inset
25970
25971
25972 \end_layout
25973
25974 \end_inset
25975
25976
25977 \end_layout
25978
25979 \begin_layout Standard
25980 \begin_inset VSpace bigskip
25981 \end_inset
25982
25983 In some scientific literature it is usual to collect the footnotes and print
25984  them in a separate paragraph at the end of a section, as in Figure
25985 \begin_inset space ~
25986 \end_inset
25987
25988
25989 \begin_inset CommandInset ref
25990 LatexCommand ref
25991 reference "fig:Endnotes"
25992
25993 \end_inset
25994
25995 .
25996  They are then called 
25997 \begin_inset Quotes eld
25998 \end_inset
25999
26000 endnotes
26001 \begin_inset Quotes erd
26002 \end_inset
26003
26004 .
26005 \begin_inset Index idx
26006 status collapsed
26007
26008 \begin_layout Plain Layout
26009 Endnotes
26010 \end_layout
26011
26012 \end_inset
26013
26014  To use endnotes instead of footnotes in your document, load in the menu
26015  
26016 \family sans
26017 Document\SpecialChar \menuseparator
26018 Settings\SpecialChar \menuseparator
26019 Modules 
26020 \family default
26021 the module 
26022 \family sans
26023 Foot
26024 \begin_inset space ~
26025 \end_inset
26026
26027 to
26028 \begin_inset space ~
26029 \end_inset
26030
26031 End
26032 \family default
26033 .
26034  To insert the collected footnotes, insert the command
26035 \end_layout
26036
26037 \begin_layout Standard
26038
26039 \series bold
26040
26041 \backslash
26042 theendnotes
26043 \end_layout
26044
26045 \begin_layout Standard
26046 in TeX-Code at the end of a section or chapter.
26047 \end_layout
26048
26049 \begin_layout Standard
26050 \begin_inset Float figure
26051 wide false
26052 sideways false
26053 status open
26054
26055 \begin_layout Plain Layout
26056 \align center
26057 \begin_inset ERT
26058 status collapsed
26059
26060 \begin_layout Plain Layout
26061
26062
26063 \backslash
26064 framebox{
26065 \end_layout
26066
26067 \end_inset
26068
26069
26070 \begin_inset Graphics
26071         filename clipart/endnotes.pdf
26072         scaleBeforeRotation
26073
26074 \end_inset
26075
26076
26077 \begin_inset ERT
26078 status collapsed
26079
26080 \begin_layout Plain Layout
26081
26082 }
26083 \end_layout
26084
26085 \end_inset
26086
26087
26088 \end_layout
26089
26090 \begin_layout Plain Layout
26091 \begin_inset Caption
26092
26093 \begin_layout Plain Layout
26094 \begin_inset CommandInset label
26095 LatexCommand label
26096 name "fig:Endnotes"
26097
26098 \end_inset
26099
26100 Endnotes – footnotes are printed in a separate paragraph at the end of sections
26101  or chapters.
26102 \end_layout
26103
26104 \end_inset
26105
26106
26107 \end_layout
26108
26109 \end_inset
26110
26111
26112 \end_layout
26113
26114 \begin_layout Standard
26115 \begin_inset VSpace medskip
26116 \end_inset
26117
26118 The paragraph heading for the endnotes isn't automatically translated into
26119  the document language, this must be done manually.
26120  The following preamble command translates the default English 
26121 \begin_inset Quotes eld
26122 \end_inset
26123
26124 Notes
26125 \begin_inset Quotes erd
26126 \end_inset
26127
26128  into the German 
26129 \begin_inset Quotes eld
26130 \end_inset
26131
26132 Anmerkungen
26133 \begin_inset Quotes erd
26134 \end_inset
26135
26136 :
26137 \end_layout
26138
26139 \begin_layout Standard
26140
26141 \series bold
26142
26143 \backslash
26144 renewcommand{
26145 \backslash
26146 notesname}{Anmerkungen}
26147 \end_layout
26148
26149 \begin_layout Standard
26150 \begin_inset VSpace medskip
26151 \end_inset
26152
26153 The numbering of endnotes can be changed like the footnote numbering as
26154  described in section
26155 \begin_inset space ~
26156 \end_inset
26157
26158
26159 \begin_inset CommandInset ref
26160 LatexCommand ref
26161 reference "sub:Footnote-Numbering"
26162
26163 \end_inset
26164
26165 ; just replace the command 
26166 \series bold
26167
26168 \backslash
26169 thefootnote
26170 \series default
26171  by 
26172 \series bold
26173
26174 \backslash
26175 theendnote
26176 \series default
26177 .
26178  To reset the endnote number use the command 
26179 \series bold
26180
26181 \backslash
26182 @addtoreset
26183 \series default
26184  as described in section
26185 \begin_inset space ~
26186 \end_inset
26187
26188
26189 \begin_inset CommandInset ref
26190 LatexCommand ref
26191 reference "sub:Footnote-Numbering"
26192
26193 \end_inset
26194
26195  and replace the command parameter 
26196 \series bold
26197 footnote
26198 \series default
26199  by 
26200 \series bold
26201 endnote
26202 \series default
26203 .
26204 \end_layout
26205
26206 \begin_layout Standard
26207 For endnotes there is the command 
26208 \series bold
26209
26210 \backslash
26211 endnotemark[number]
26212 \series default
26213  similar to the command 
26214 \series bold
26215
26216 \backslash
26217 footnotemark
26218 \series default
26219 , that is described in section
26220 \begin_inset space ~
26221 \end_inset
26222
26223
26224 \begin_inset CommandInset ref
26225 LatexCommand ref
26226 reference "sec:Footnotes"
26227
26228 \end_inset
26229
26230 .
26231 \end_layout
26232
26233 \begin_layout Standard
26234 \begin_inset VSpace bigskip
26235 \end_inset
26236
26237 Footnotes can also be placed in the page margin and the footnote text alignment
26238  can be changed, see the LaTeX-package 
26239 \series bold
26240 footmisc
26241 \series default
26242
26243 \begin_inset Index idx
26244 status collapsed
26245
26246 \begin_layout Plain Layout
26247 LaTeX-packages ! footmisc
26248 \end_layout
26249
26250 \end_inset
26251
26252
26253 \begin_inset CommandInset citation
26254 LatexCommand cite
26255 key "footmisc"
26256
26257 \end_inset
26258
26259  for more information about this.
26260 \end_layout
26261
26262 \begin_layout Standard
26263 For various further footnote formatting issues have a look at LaTeX-books,
26264  
26265 \begin_inset CommandInset citation
26266 LatexCommand cite
26267 key "latexcompanion,latexguide,latexbook"
26268
26269 \end_inset
26270
26271 .
26272  If you are using a 
26273 \series bold
26274 KOMA-Script
26275 \series default
26276
26277 \begin_inset Index idx
26278 status collapsed
26279
26280 \begin_layout Plain Layout
26281 LaTeX-packages ! KOMA-Script
26282 \end_layout
26283
26284 \end_inset
26285
26286  document class, you can adjust all footnote settings using class-specific
26287  commands, see 
26288 \begin_inset CommandInset citation
26289 LatexCommand cite
26290 key "KOMA-Script"
26291
26292 \end_inset
26293
26294 .
26295 \end_layout
26296
26297 \begin_layout Section
26298 Margin Notes
26299 \begin_inset Index idx
26300 status collapsed
26301
26302 \begin_layout Plain Layout
26303 Notes ! Margin Notes
26304 \end_layout
26305
26306 \end_inset
26307
26308
26309 \end_layout
26310
26311 \begin_layout Standard
26312 Margin notes look and behave in LyX like footnotes.
26313  They are inserted via the menu 
26314 \family sans
26315 Insert\SpecialChar \menuseparator
26316 Marginal
26317 \begin_inset space ~
26318 \end_inset
26319
26320 Note
26321 \family default
26322  or the toolbar button 
26323 \begin_inset Graphics
26324         filename ../images/marginalnote-insert.png
26325         scale 85
26326         scaleBeforeRotation
26327
26328 \end_inset
26329
26330 .
26331  A grey 
26332 \family roman
26333 \series medium
26334 box with the
26335 \family default
26336 \series default
26337  red 
26338 \family roman
26339 \series medium
26340 label 
26341 \begin_inset Quotes eld
26342 \end_inset
26343
26344 margin
26345 \begin_inset Quotes erd
26346 \end_inset
26347
26348  appears where you can enter the text of the margin note.
26349 \end_layout
26350
26351 \begin_layout Standard
26352 At the side is an example margin note.
26353
26354 \family roman
26355 \series medium
26356  
26357 \begin_inset Marginal
26358 status open
26359
26360 \begin_layout Plain Layout
26361 This is a margin note.
26362 \end_layout
26363
26364 \end_inset
26365
26366
26367 \end_layout
26368
26369 \begin_layout Standard
26370 Margin notes appear at the right side in single-sided documents.
26371  In double-sided documents they appear in the outer margin – left on even
26372  pages, right on odd pages.
26373  The text of margin notes is aligned opposite to the outer margin – right-aligne
26374 d when the note appears in the left margin.
26375  The first line of the margin note is placed at the position of the text
26376  line where it is inserted in the document.
26377 \end_layout
26378
26379 \begin_layout Standard
26380 \begin_inset VSpace bigskip
26381 \end_inset
26382
26383 To place the margin note in the inner margin, add the command
26384 \end_layout
26385
26386 \begin_layout Standard
26387
26388 \series bold
26389
26390 \backslash
26391 reversemarginpar
26392 \end_layout
26393
26394 \begin_layout Standard
26395 in TeX-Code before a margin note.
26396  The new placement is valid for all subsequent margin notes.
26397  
26398 \begin_inset ERT
26399 status collapsed
26400
26401 \begin_layout Plain Layout
26402
26403
26404 \backslash
26405 reversemarginpar 
26406 \end_layout
26407
26408 \end_inset
26409
26410
26411 \begin_inset Marginal
26412 status open
26413
26414 \begin_layout Plain Layout
26415 This is a margin note in the inner margin.
26416 \end_layout
26417
26418 \end_inset
26419
26420
26421 \series bold
26422
26423 \begin_inset Newline newline
26424 \end_inset
26425
26426
26427 \series default
26428
26429 \begin_inset Note Greyedout
26430 status open
26431
26432 \begin_layout Plain Layout
26433
26434 \series bold
26435 Note:
26436 \series default
26437  There is often not enough space in the inner margin so that the notes are
26438  not correctly displayed in the output.
26439 \end_layout
26440
26441 \end_inset
26442
26443
26444 \end_layout
26445
26446 \begin_layout Standard
26447 To return to the default placement insert the command
26448 \end_layout
26449
26450 \begin_layout Standard
26451
26452 \series bold
26453
26454 \backslash
26455 normalmarginpar
26456 \end_layout
26457
26458 \begin_layout Standard
26459 in TeX-Code.
26460 \begin_inset ERT
26461 status collapsed
26462
26463 \begin_layout Plain Layout
26464
26465
26466 \backslash
26467 normalmarginpar 
26468 \end_layout
26469
26470 \end_inset
26471
26472  
26473 \begin_inset Note Greyedout
26474 status open
26475
26476 \begin_layout Plain Layout
26477
26478 \series bold
26479 Note:
26480 \series default
26481  The command is ignored when it is within a paragraph where also the command
26482  
26483 \series bold
26484
26485 \backslash
26486 reversemarginpar
26487 \series default
26488  is inserted.
26489 \end_layout
26490
26491 \end_inset
26492
26493
26494 \end_layout
26495
26496 \begin_layout Standard
26497 \begin_inset VSpace bigskip
26498 \end_inset
26499
26500
26501 \family roman
26502 \series medium
26503
26504 \begin_inset Marginal
26505 status open
26506
26507 \begin_layout Plain Layout
26508 AVeryLongMarginParWord that isn't hyphenated.
26509 \end_layout
26510
26511 \end_inset
26512
26513
26514 \family default
26515 \series default
26516  Similar to the case described in section
26517 \begin_inset space ~
26518 \end_inset
26519
26520
26521 \begin_inset CommandInset ref
26522 LatexCommand ref
26523 reference "sub:Multiple-Lines-in"
26524
26525 \end_inset
26526
26527 , long words cannot be hyphenated when they are the first word in a margin
26528  note.
26529  To avoid this, insert 0
26530 \begin_inset space \thinspace{}
26531 \end_inset
26532
26533 pt horizontal space before the word
26534 \family roman
26535 \series medium
26536 .
26537  
26538 \begin_inset Marginal
26539 status open
26540
26541 \begin_layout Plain Layout
26542 \begin_inset space \hspace*{}
26543 \length 0pt
26544 \end_inset
26545
26546 AVeryLongMarginParWord that is hyphenated.
26547 \end_layout
26548
26549 \end_inset
26550
26551
26552 \end_layout
26553
26554 \begin_layout Standard
26555 \begin_inset VSpace bigskip
26556 \end_inset
26557
26558
26559 \end_layout
26560
26561 \begin_layout Standard
26562 \begin_inset Note Greyedout
26563 status open
26564
26565 \begin_layout Plain Layout
26566
26567 \series bold
26568 Note:
26569 \series default
26570  Margin notes can normally not be used inside tables, floats, and footnotes.
26571 \end_layout
26572
26573 \end_inset
26574
26575
26576 \end_layout
26577
26578 \begin_layout Standard
26579 \begin_inset VSpace bigskip
26580 \end_inset
26581
26582
26583 \end_layout
26584
26585 \begin_layout Standard
26586 \begin_inset ERT
26587 status collapsed
26588
26589 \begin_layout Plain Layout
26590
26591
26592 \backslash
26593 ifmarginnote
26594 \end_layout
26595
26596 \end_inset
26597
26598
26599 \begin_inset Note Note
26600 status open
26601
26602 \begin_layout Plain Layout
26603 The following section will only be displayed when the LaTeX-package 
26604 \series bold
26605 marginnote
26606 \series default
26607  is installed.
26608 \end_layout
26609
26610 \end_inset
26611
26612
26613 \end_layout
26614
26615 \begin_layout Standard
26616 This restriction can be evaded by using the LaTeX-package 
26617 \series bold
26618 marginnote
26619 \series default
26620
26621 \begin_inset Index idx
26622 status collapsed
26623
26624 \begin_layout Plain Layout
26625 LaTeX-packages ! marginnote
26626 \end_layout
26627
26628 \end_inset
26629
26630 .
26631  By adding these two lines to your document preamble, the command used by
26632  LyX for margin notes is redefined to use the command provided by the 
26633 \series bold
26634 marginnote
26635 \series default
26636 -package:
26637 \end_layout
26638
26639 \begin_layout Standard
26640
26641 \series bold
26642
26643 \backslash
26644 usepackage{marginnote}
26645 \begin_inset Newline newline
26646 \end_inset
26647
26648
26649 \backslash
26650 let
26651 \backslash
26652 marginpar
26653 \backslash
26654 marginnote
26655 \end_layout
26656
26657 \begin_layout Standard
26658 This is also used in this document because 
26659 \series bold
26660 marginnote
26661 \series default
26662  has another useful feature: You can set a vertical offset for the note.
26663  This is often needed when too many margin notes are too close together
26664  or for a better page layout.
26665  The offset is set in LyX as TeX-Code directly after the margin note in
26666  the scheme
26667 \end_layout
26668
26669 \begin_layout Standard
26670
26671 \series bold
26672 [offset]
26673 \end_layout
26674
26675 \begin_layout Standard
26676 where the offset is a length with one of the units listed in Table
26677 \begin_inset space ~
26678 \end_inset
26679
26680
26681 \begin_inset CommandInset ref
26682 LatexCommand ref
26683 reference "tab:Units"
26684
26685 \end_inset
26686
26687 .
26688  A negative value shifts the note up, a positive value shifts it down.
26689  
26690 \family roman
26691 \series medium
26692 For example the margin note beside this text line is shifted up 1.5
26693 \begin_inset space \thinspace{}
26694 \end_inset
26695
26696 cm with the TeX-Code-command 
26697 \begin_inset Quotes eld
26698 \end_inset
26699
26700
26701 \family default
26702 \series bold
26703 [-1.5cm]
26704 \family roman
26705 \series medium
26706
26707 \begin_inset Quotes erd
26708 \end_inset
26709
26710
26711 \begin_inset Marginal
26712 status open
26713
26714 \begin_layout Plain Layout
26715 This margin note is shifted up 1.5
26716 \begin_inset space \thinspace{}
26717 \end_inset
26718
26719 cm from its original position.
26720 \end_layout
26721
26722 \end_inset
26723
26724
26725 \family default
26726 \series default
26727
26728 \begin_inset ERT
26729 status collapsed
26730
26731 \begin_layout Plain Layout
26732
26733 [-1.5cm]
26734 \end_layout
26735
26736 \end_inset
26737
26738
26739 \end_layout
26740
26741 \begin_layout Standard
26742 \begin_inset VSpace medskip
26743 \end_inset
26744
26745 With 
26746 \series bold
26747 marginnote
26748 \series default
26749  you can also change the alignment of the text in the margin note.
26750  For example the commands
26751 \end_layout
26752
26753 \begin_layout Standard
26754
26755 \series bold
26756
26757 \backslash
26758 renewcommand*{
26759 \backslash
26760 raggedleftmarginnote}{
26761 \backslash
26762 centering}
26763 \begin_inset Newline newline
26764 \end_inset
26765
26766
26767 \backslash
26768 renewcommand*{
26769 \backslash
26770 raggedrightmarginnote}{
26771 \backslash
26772 centering}
26773 \end_layout
26774
26775 \begin_layout Standard
26776 set the alignment to centered.
26777  
26778 \series bold
26779
26780 \backslash
26781 raggedleftmarginnote
26782 \series default
26783  denotes margin notes that appear at the left side.
26784 \family roman
26785 \series medium
26786
26787 \begin_inset ERT
26788 status collapsed
26789
26790 \begin_layout Plain Layout
26791
26792
26793 \backslash
26794 renewcommand*{
26795 \backslash
26796 raggedleftmarginnote}{
26797 \backslash
26798 centering}
26799 \end_layout
26800
26801 \begin_layout Plain Layout
26802
26803
26804 \backslash
26805 renewcommand*{
26806 \backslash
26807 raggedrightmarginnote}{
26808 \backslash
26809 centering}
26810 \end_layout
26811
26812 \end_inset
26813
26814
26815 \begin_inset Marginal
26816 status open
26817
26818 \begin_layout Plain Layout
26819 The text of this margin note is centered.
26820 \end_layout
26821
26822 \end_inset
26823
26824
26825 \family default
26826 \series default
26827  The default is
26828 \end_layout
26829
26830 \begin_layout Standard
26831
26832 \series bold
26833
26834 \backslash
26835 renewcommand*{
26836 \backslash
26837 raggedleftmarginnote}{
26838 \backslash
26839 raggedleft}
26840 \begin_inset Newline newline
26841 \end_inset
26842
26843
26844 \backslash
26845 renewcommand*{
26846 \backslash
26847 raggedrightmarginnote}{
26848 \backslash
26849 raggedright}
26850 \family roman
26851 \series medium
26852
26853 \begin_inset ERT
26854 status collapsed
26855
26856 \begin_layout Plain Layout
26857
26858
26859 \backslash
26860 renewcommand*{
26861 \backslash
26862 raggedleftmarginnote}{
26863 \backslash
26864 raggedleft}
26865 \end_layout
26866
26867 \begin_layout Plain Layout
26868
26869
26870 \backslash
26871 renewcommand*{
26872 \backslash
26873 raggedrightmarginnote}{
26874 \backslash
26875 raggedright}
26876 \end_layout
26877
26878 \end_inset
26879
26880
26881 \end_layout
26882
26883 \begin_layout Standard
26884 \begin_inset VSpace medskip
26885 \end_inset
26886
26887 For the other features of 
26888 \series bold
26889 marginnote
26890 \series default
26891  refer to its documentation 
26892 \begin_inset CommandInset citation
26893 LatexCommand cite
26894 key "marginnote"
26895
26896 \end_inset
26897
26898 .
26899 \end_layout
26900
26901 \begin_layout Standard
26902 \begin_inset VSpace bigskip
26903 \end_inset
26904
26905 You can adjust the layout of margin notes by changing its definition.
26906  To create for example a header for all margin notes with the underlined,
26907  sans-serif, and bold header text 
26908 \begin_inset Quotes eld
26909 \end_inset
26910
26911
26912 \family sans
26913 \series bold
26914 \bar under
26915 Attention!
26916 \family default
26917 \series default
26918 \bar default
26919
26920 \begin_inset Quotes erd
26921 \end_inset
26922
26923 , add this to your document preamble:
26924 \end_layout
26925
26926 \begin_layout Standard
26927
26928 \series bold
26929
26930 \backslash
26931 let
26932 \backslash
26933 myMarginpar
26934 \backslash
26935 marginpar
26936 \begin_inset Newline newline
26937 \end_inset
26938
26939
26940 \backslash
26941 renewcommand{
26942 \backslash
26943 marginpar}[1]{
26944 \backslash
26945 myMarginpar{%
26946 \begin_inset Newline newline
26947 \end_inset
26948
26949
26950 \begin_inset Phantom HPhantom
26951 status open
26952
26953 \begin_layout Plain Layout
26954
26955 \series bold
26956 \begin_inset space ~
26957 \end_inset
26958
26959
26960 \end_layout
26961
26962 \end_inset
26963
26964
26965 \backslash
26966 hspace{0pt}
26967 \backslash
26968 textsf{
26969 \backslash
26970 textbf{
26971 \backslash
26972 underbar{Attention!}}}%
26973 \begin_inset Newline newline
26974 \end_inset
26975
26976
26977 \begin_inset Phantom HPhantom
26978 status open
26979
26980 \begin_layout Plain Layout
26981
26982 \series bold
26983 \begin_inset space ~
26984 \end_inset
26985
26986
26987 \end_layout
26988
26989 \end_inset
26990
26991
26992 \backslash
26993 vspace{1.5mm}
26994 \backslash
26995
26996 \backslash
26997 #1}}
26998 \end_layout
26999
27000 \begin_layout Standard
27001
27002 \family roman
27003 \series medium
27004 \begin_inset ERT
27005 status collapsed
27006
27007 \begin_layout Plain Layout
27008
27009
27010 \backslash
27011 let
27012 \backslash
27013 myMarginpar
27014 \backslash
27015 marginpar
27016 \end_layout
27017
27018 \begin_layout Plain Layout
27019
27020
27021 \backslash
27022 renewcommand{
27023 \backslash
27024 marginpar}[1]{
27025 \backslash
27026 myMarginpar{%
27027 \end_layout
27028
27029 \begin_layout Plain Layout
27030
27031    
27032 \backslash
27033 textsf{
27034 \backslash
27035 textbf{
27036 \backslash
27037 underbar{Attention!}}}%
27038 \end_layout
27039
27040 \begin_layout Plain Layout
27041
27042    
27043 \backslash
27044 vspace{1.5mm}
27045 \backslash
27046
27047 \backslash
27048 #1}}
27049 \end_layout
27050
27051 \end_inset
27052
27053
27054 \begin_inset Marginal
27055 status open
27056
27057 \begin_layout Plain Layout
27058 This is a margin note with a defined heading.
27059 \end_layout
27060
27061 \end_inset
27062
27063
27064 \family default
27065 \series default
27066
27067 \begin_inset ERT
27068 status collapsed
27069
27070 \begin_layout Plain Layout
27071
27072 [-1.5cm]
27073 \end_layout
27074
27075 \end_inset
27076
27077
27078 \family roman
27079 \series medium
27080
27081 \begin_inset ERT
27082 status collapsed
27083
27084 \begin_layout Plain Layout
27085
27086
27087 \backslash
27088 renewcommand{
27089 \backslash
27090 marginpar}[1]{
27091 \backslash
27092 myMarginpar{#1}}
27093 \end_layout
27094
27095 \end_inset
27096
27097
27098 \family default
27099 \series default
27100
27101 \begin_inset Note Note
27102 status collapsed
27103
27104 \begin_layout Plain Layout
27105 The margin note format is changed only for this example.
27106 \end_layout
27107
27108 \end_inset
27109
27110
27111 \end_layout
27112
27113 \begin_layout Standard
27114 \begin_inset ERT
27115 status collapsed
27116
27117 \begin_layout Plain Layout
27118
27119
27120 \backslash
27121 else
27122 \end_layout
27123
27124 \end_inset
27125
27126
27127 \begin_inset Note Note
27128 status open
27129
27130 \begin_layout Plain Layout
27131 The following will be displayed when the LaTeX-package 
27132 \series bold
27133 marginnote
27134 \series default
27135  is not installed:
27136 \end_layout
27137
27138 \end_inset
27139
27140
27141 \end_layout
27142
27143 \begin_layout Standard
27144 You need to install the LaTeX-package 
27145 \series bold
27146 marginnote
27147 \series default
27148  to see the following part of this section in the output.
27149 \end_layout
27150
27151 \begin_layout Standard
27152 \begin_inset ERT
27153 status collapsed
27154
27155 \begin_layout Plain Layout
27156
27157
27158 \backslash
27159 fi
27160 \end_layout
27161
27162 \end_inset
27163
27164
27165 \end_layout
27166
27167 \begin_layout Chapter
27168 Boxes
27169 \end_layout
27170
27171 \begin_layout Section
27172 Introduction
27173 \begin_inset Index idx
27174 status collapsed
27175
27176 \begin_layout Plain Layout
27177 Boxes ! Introduction
27178 \end_layout
27179
27180 \end_inset
27181
27182
27183 \end_layout
27184
27185 \begin_layout Standard
27186 Boxes are used to format a block of text.
27187  Boxes can be used to write documents with multiple languages, see section
27188 \begin_inset space ~
27189 \end_inset
27190
27191
27192 \begin_inset CommandInset ref
27193 LatexCommand ref
27194 reference "sec:Minipages"
27195
27196 \end_inset
27197
27198 , to frame texts, see section
27199 \begin_inset space ~
27200 \end_inset
27201
27202
27203 \begin_inset CommandInset ref
27204 LatexCommand ref
27205 reference "sec:Decoration"
27206
27207 \end_inset
27208
27209 , to prevent words from being hyphenated, see section
27210 \begin_inset space ~
27211 \end_inset
27212
27213
27214 \begin_inset CommandInset ref
27215 LatexCommand ref
27216 reference "sec:Prevent-Hyphenation"
27217
27218 \end_inset
27219
27220 , to align text, see section
27221 \begin_inset space ~
27222 \end_inset
27223
27224
27225 \begin_inset CommandInset ref
27226 LatexCommand ref
27227 reference "sub:Vertical-Alignment"
27228
27229 \end_inset
27230
27231 , or to set the background color of texts, see section
27232 \begin_inset space ~
27233 \end_inset
27234
27235
27236 \begin_inset CommandInset ref
27237 LatexCommand ref
27238 reference "sec:Colored-Boxes"
27239
27240 \end_inset
27241
27242 .
27243 \end_layout
27244
27245 \begin_layout Standard
27246 Boxes can be inserted with the menu 
27247 \family sans
27248 Insert\SpecialChar \menuseparator
27249 Box
27250 \family default
27251  or the toolbar button 
27252 \begin_inset Graphics
27253         filename ../images/box-insert.png
27254         scale 85
27255         scaleBeforeRotation
27256
27257 \end_inset
27258
27259 .
27260  A grey box with the label 
27261 \family sans
27262 Box (Minipage)
27263 \family default
27264
27265 \begin_inset Graphics
27266         filename clipart/BoxInsetDefaultQt4.png
27267         scale 85
27268         scaleBeforeRotation
27269
27270 \end_inset
27271
27272  will be inserted.
27273  The box type can be specified by right-clicking on the box and selecting
27274  
27275 \family sans
27276 Settings
27277 \family default
27278 .
27279  The box dialog offers the 
27280 \family sans
27281 Inner
27282 \begin_inset space ~
27283 \end_inset
27284
27285 Box
27286 \family default
27287  types 
27288 \family sans
27289 Makebox
27290 \family default
27291
27292 \family sans
27293 Parbox
27294 \family default
27295  and 
27296 \family sans
27297 Minipage
27298 \family default
27299 .
27300  The type 
27301 \family sans
27302 Minipage
27303 \family default
27304  is the default for new boxes and is explained in section
27305 \begin_inset space ~
27306 \end_inset
27307
27308
27309 \begin_inset CommandInset ref
27310 LatexCommand ref
27311 reference "sec:Minipages"
27312
27313 \end_inset
27314
27315 ; the type 
27316 \family sans
27317 Parbox
27318 \family default
27319  is described in section
27320 \begin_inset space ~
27321 \end_inset
27322
27323
27324 \begin_inset CommandInset ref
27325 LatexCommand ref
27326 reference "sec:Parboxes"
27327
27328 \end_inset
27329
27330  and the type 
27331 \family sans
27332 Makebox
27333 \family default
27334  in 
27335 \begin_inset CommandInset ref
27336 LatexCommand ref
27337 reference "sec:Prevent-Hyphenation"
27338
27339 \end_inset
27340
27341 .
27342 \end_layout
27343
27344 \begin_layout Standard
27345 Boxes are not numbered and can therefore not be referenced like floats or
27346  footnotes.
27347 \end_layout
27348
27349 \begin_layout Standard
27350 \begin_inset Note Greyedout
27351 status open
27352
27353 \begin_layout Plain Layout
27354
27355 \series bold
27356 Note:
27357 \series default
27358  Boxes must not be the item in an 
27359 \family sans
27360 Itemize
27361 \family default
27362  or 
27363 \family sans
27364 Description
27365 \family default
27366  environment.
27367 \end_layout
27368
27369 \end_inset
27370
27371
27372 \end_layout
27373
27374 \begin_layout Standard
27375 \begin_inset Note Greyedout
27376 status open
27377
27378 \begin_layout Plain Layout
27379
27380 \series bold
27381 Note:
27382 \series default
27383  For an unknown reason you can only set the 
27384 \family sans
27385 Inner
27386 \begin_inset space ~
27387 \end_inset
27388
27389 Box
27390 \family default
27391  type to 
27392 \family sans
27393 None
27394 \family default
27395  when you use a framed box.
27396  Boxes without an 
27397 \family sans
27398 Inner
27399 \begin_inset space ~
27400 \end_inset
27401
27402 Box
27403 \family default
27404  type and without frames are explained in section
27405 \begin_inset space ~
27406 \end_inset
27407
27408
27409 \begin_inset CommandInset ref
27410 LatexCommand ref
27411 reference "sec:Prevent-Hyphenation"
27412
27413 \end_inset
27414
27415 .
27416 \end_layout
27417
27418 \end_inset
27419
27420
27421 \end_layout
27422
27423 \begin_layout Section
27424 Box Dialog
27425 \begin_inset CommandInset label
27426 LatexCommand label
27427 name "sec:Box-Dialog"
27428
27429 \end_inset
27430
27431
27432 \begin_inset Index idx
27433 status collapsed
27434
27435 \begin_layout Plain Layout
27436 Boxes ! Box Dialog
27437 \end_layout
27438
27439 \end_inset
27440
27441
27442 \end_layout
27443
27444 \begin_layout Subsection
27445 Size
27446 \begin_inset Index idx
27447 status collapsed
27448
27449 \begin_layout Plain Layout
27450 Boxes ! Size
27451 \end_layout
27452
27453 \end_inset
27454
27455
27456 \end_layout
27457
27458 \begin_layout Standard
27459 In the box dialog you can adjust the box geometry in the fields 
27460 \family sans
27461 Width
27462 \family default
27463  and 
27464 \family sans
27465 Height
27466 \family default
27467 .
27468  The available units for the geometry are explained in Table
27469 \begin_inset space ~
27470 \end_inset
27471
27472
27473 \begin_inset CommandInset ref
27474 LatexCommand ref
27475 reference "tab:Units"
27476
27477 \end_inset
27478
27479 .
27480  The field 
27481 \family sans
27482 Height
27483 \family default
27484  offers the following additional sizes:
27485 \end_layout
27486
27487 \begin_layout Description
27488 Depth This is the plain text 
27489 \begin_inset Quotes eld
27490 \end_inset
27491
27492 height
27493 \begin_inset Quotes erd
27494 \end_inset
27495
27496 .
27497  It ignores the total depth when there are multiple text lines in the box:
27498 \begin_inset Newline newline
27499 \end_inset
27500
27501
27502 \begin_inset Newline newline
27503 \end_inset
27504
27505
27506 \begin_inset Newline newline
27507 \end_inset
27508
27509
27510 \begin_inset Box Boxed
27511 position "c"
27512 hor_pos "c"
27513 has_inner_box 1
27514 inner_pos "c"
27515 use_parbox 0
27516 use_makebox 0
27517 width "12col%"
27518 special "none"
27519 height "1in"
27520 height_special "depth"
27521 status collapsed
27522
27523 \begin_layout Plain Layout
27524 \align center
27525 Box height set to 1
27526 \begin_inset space \thinspace{}
27527 \end_inset
27528
27529 Depth
27530 \end_layout
27531
27532 \end_inset
27533
27534
27535 \begin_inset Newline newline
27536 \end_inset
27537
27538
27539 \begin_inset Newline newline
27540 \end_inset
27541
27542
27543 \end_layout
27544
27545 \begin_layout Description
27546 Height This is the height of the text that is inside the box.
27547  A value of e.
27548 \begin_inset space \thinspace{}
27549 \end_inset
27550
27551 g.
27552 \begin_inset space \space{}
27553 \end_inset
27554
27555 2 for this size will set the box height to 2
27556 \begin_inset space ~
27557 \end_inset
27558
27559 times the text height: 
27560 \begin_inset Box Boxed
27561 position "c"
27562 hor_pos "c"
27563 has_inner_box 1
27564 inner_pos "c"
27565 use_parbox 0
27566 use_makebox 0
27567 width "20col%"
27568 special "none"
27569 height "2in"
27570 height_special "height"
27571 status collapsed
27572
27573 \begin_layout Plain Layout
27574 \align center
27575 Box height set to 2
27576 \begin_inset space \thinspace{}
27577 \end_inset
27578
27579 Height
27580 \end_layout
27581
27582 \end_inset
27583
27584
27585 \end_layout
27586
27587 \begin_layout Description
27588 Total
27589 \begin_inset space ~
27590 \end_inset
27591
27592 Height This is the Height
27593 \begin_inset space \thinspace{}
27594 \end_inset
27595
27596 +
27597 \begin_inset space \thinspace{}
27598 \end_inset
27599
27600 Depth: 
27601 \begin_inset Box Boxed
27602 position "c"
27603 hor_pos "c"
27604 has_inner_box 1
27605 inner_pos "c"
27606 use_parbox 0
27607 use_makebox 0
27608 width "20col%"
27609 special "none"
27610 height "1in"
27611 height_special "totalheight"
27612 status collapsed
27613
27614 \begin_layout Plain Layout
27615 \align center
27616 Box height set to 1
27617 \begin_inset space \thinspace{}
27618 \end_inset
27619
27620 Total
27621 \begin_inset space ~
27622 \end_inset
27623
27624 Height
27625 \end_layout
27626
27627 \end_inset
27628
27629
27630 \end_layout
27631
27632 \begin_layout Description
27633 Width This sets the width of the box as height: 
27634 \begin_inset Box Boxed
27635 position "c"
27636 hor_pos "c"
27637 has_inner_box 1
27638 inner_pos "c"
27639 use_parbox 0
27640 use_makebox 0
27641 width "12col%"
27642 special "none"
27643 height "1in"
27644 height_special "width"
27645 status collapsed
27646
27647 \begin_layout Plain Layout
27648 \align center
27649 Box height set to 1
27650 \begin_inset space \thinspace{}
27651 \end_inset
27652
27653 Width
27654 \end_layout
27655
27656 \end_inset
27657
27658
27659 \end_layout
27660
27661 \begin_layout Subsection
27662 Alignment
27663 \begin_inset Index idx
27664 status collapsed
27665
27666 \begin_layout Plain Layout
27667 Boxes ! Alignment
27668 \end_layout
27669
27670 \end_inset
27671
27672
27673 \end_layout
27674
27675 \begin_layout Standard
27676 When you have chosen an 
27677 \family sans
27678 Inner
27679 \begin_inset space ~
27680 \end_inset
27681
27682 Box
27683 \family default
27684 , the vertical box alignment can be:
27685 \end_layout
27686
27687 \begin_layout Description
27688 Top This is an example text line.
27689  
27690 \begin_inset Box Boxed
27691 position "t"
27692 hor_pos "c"
27693 has_inner_box 1
27694 inner_pos "c"
27695 use_parbox 0
27696 use_makebox 0
27697 width "12col%"
27698 special "none"
27699 height "1in"
27700 height_special "totalheight"
27701 status collapsed
27702
27703 \begin_layout Plain Layout
27704 \align center
27705 This box is top-aligned.
27706 \end_layout
27707
27708 \end_inset
27709
27710  This is an example text line.
27711 \end_layout
27712
27713 \begin_layout Description
27714 Middle This is an example text line.
27715  
27716 \begin_inset Box Boxed
27717 position "c"
27718 hor_pos "c"
27719 has_inner_box 1
27720 inner_pos "c"
27721 use_parbox 0
27722 use_makebox 0
27723 width "12col%"
27724 special "none"
27725 height "1in"
27726 height_special "totalheight"
27727 status collapsed
27728
27729 \begin_layout Plain Layout
27730 \align center
27731 This box is middle-aligned.
27732 \end_layout
27733
27734 \end_inset
27735
27736  This is an example text line.
27737 \end_layout
27738
27739 \begin_layout Description
27740 Bottom This is an example text line.
27741  
27742 \begin_inset Box Boxed
27743 position "b"
27744 hor_pos "c"
27745 has_inner_box 1
27746 inner_pos "c"
27747 use_parbox 0
27748 use_makebox 0
27749 width "12col%"
27750 special "none"
27751 height "1in"
27752 height_special "totalheight"
27753 status collapsed
27754
27755 \begin_layout Plain Layout
27756 \align center
27757 This box is bottom-aligned.
27758 \end_layout
27759
27760 \end_inset
27761
27762  This is an example text line.
27763 \end_layout
27764
27765 \begin_layout Standard
27766 \begin_inset Note Greyedout
27767 status open
27768
27769 \begin_layout Plain Layout
27770
27771 \series bold
27772 Note:
27773 \series default
27774  The vertical box alignment can be lost in the output when you have two
27775  boxes in a line and one has e.
27776 \begin_inset space \thinspace{}
27777 \end_inset
27778
27779 g.
27780 \begin_inset space \space{}
27781 \end_inset
27782
27783 a shadow and the other one not.
27784 \end_layout
27785
27786 \end_inset
27787
27788
27789 \end_layout
27790
27791 \begin_layout Standard
27792 The horizontal box alignment can be set via LyX's paragraph dialog when
27793  you set the box into its own paragraph.
27794 \end_layout
27795
27796 \begin_layout Standard
27797 \begin_inset VSpace bigskip
27798 \end_inset
27799
27800 When you have chosen an 
27801 \family sans
27802 Inner
27803 \begin_inset space ~
27804 \end_inset
27805
27806 Box
27807 \family default
27808 , the box content can be aligned vertically to:
27809 \end_layout
27810
27811 \begin_layout Description
27812 top This is an example text line.
27813  
27814 \begin_inset Box Boxed
27815 position "c"
27816 hor_pos "c"
27817 has_inner_box 1
27818 inner_pos "t"
27819 use_parbox 0
27820 use_makebox 0
27821 width "12col%"
27822 special "none"
27823 height "1.5in"
27824 height_special "totalheight"
27825 status collapsed
27826
27827 \begin_layout Plain Layout
27828 \align center
27829 This box text is top-aligned.
27830 \end_layout
27831
27832 \end_inset
27833
27834  This is an example text line.
27835 \end_layout
27836
27837 \begin_layout Description
27838 middle This is an example text line.
27839  
27840 \begin_inset Box Boxed
27841 position "c"
27842 hor_pos "c"
27843 has_inner_box 1
27844 inner_pos "c"
27845 use_parbox 0
27846 use_makebox 0
27847 width "12col%"
27848 special "none"
27849 height "1.5in"
27850 height_special "totalheight"
27851 status collapsed
27852
27853 \begin_layout Plain Layout
27854 \align center
27855 This box text is middle-aligned.
27856 \end_layout
27857
27858 \end_inset
27859
27860  This is an example text line.
27861 \end_layout
27862
27863 \begin_layout Description
27864 bottom This is an example text line.
27865  
27866 \begin_inset Box Boxed
27867 position "c"
27868 hor_pos "c"
27869 has_inner_box 1
27870 inner_pos "b"
27871 use_parbox 0
27872 use_makebox 0
27873 width "12col%"
27874 special "none"
27875 height "1.5in"
27876 height_special "totalheight"
27877 status collapsed
27878
27879 \begin_layout Plain Layout
27880 \align center
27881 This box text is bottom-aligned.
27882 \end_layout
27883
27884 \end_inset
27885
27886  This is an example text line.
27887 \end_layout
27888
27889 \begin_layout Description
27890 stretch This is an example text line.
27891  
27892 \begin_inset Box Boxed
27893 position "c"
27894 hor_pos "c"
27895 has_inner_box 1
27896 inner_pos "s"
27897 use_parbox 0
27898 use_makebox 0
27899 width "12col%"
27900 special "none"
27901 height "1.5in"
27902 height_special "totalheight"
27903 status collapsed
27904
27905 \begin_layout Plain Layout
27906 \align center
27907 This box
27908 \end_layout
27909
27910 \begin_layout Plain Layout
27911 \align center
27912 text is
27913 \end_layout
27914
27915 \begin_layout Plain Layout
27916 \align center
27917 stretched.
27918 \end_layout
27919
27920 \end_inset
27921
27922  This is an example text line.
27923 \end_layout
27924
27925 \begin_layout Standard
27926 To stretch the box content, it must consist of more than one paragraph.
27927  In the example above every text line is in an own paragraph.
27928 \end_layout
27929
27930 \begin_layout Standard
27931 \begin_inset VSpace bigskip
27932 \end_inset
27933
27934 To align the box content horizontally you can use LyX's paragraph dialog
27935  when you have chosen an 
27936 \family sans
27937 Inner
27938 \begin_inset space ~
27939 \end_inset
27940
27941 Box
27942 \family default
27943 .
27944 \end_layout
27945
27946 \begin_layout Standard
27947 \align center
27948 \begin_inset Box Boxed
27949 position "c"
27950 hor_pos "c"
27951 has_inner_box 1
27952 inner_pos "s"
27953 use_parbox 0
27954 use_makebox 0
27955 width "15col%"
27956 special "none"
27957 height "1.25in"
27958 height_special "totalheight"
27959 status collapsed
27960
27961 \begin_layout Plain Layout
27962 \align left
27963 This box
27964 \end_layout
27965
27966 \begin_layout Plain Layout
27967 \align center
27968 text is
27969 \end_layout
27970
27971 \begin_layout Plain Layout
27972 \align right
27973 stretched.
27974 \end_layout
27975
27976 \end_inset
27977
27978
27979 \end_layout
27980
27981 \begin_layout Standard
27982 If you have not set an 
27983 \family sans
27984 Inner
27985 \begin_inset space ~
27986 \end_inset
27987
27988 Box
27989 \family default
27990 , you can align the box content horizontally in the box dialog.
27991 \end_layout
27992
27993 \begin_layout Standard
27994 \align center
27995 \begin_inset Box Boxed
27996 position "c"
27997 hor_pos "s"
27998 has_inner_box 0
27999 inner_pos "s"
28000 use_parbox 0
28001 use_makebox 0
28002 width "90col%"
28003 special "none"
28004 height "1.25in"
28005 height_special "totalheight"
28006 status collapsed
28007
28008 \begin_layout Plain Layout
28009 This box text is horizontally stretched.
28010 \end_layout
28011
28012 \end_inset
28013
28014
28015 \end_layout
28016
28017 \begin_layout Subsection
28018 Decoration
28019 \begin_inset CommandInset label
28020 LatexCommand label
28021 name "sec:Decoration"
28022
28023 \end_inset
28024
28025
28026 \begin_inset Index idx
28027 status collapsed
28028
28029 \begin_layout Plain Layout
28030 Boxes ! Decoration
28031 \end_layout
28032
28033 \end_inset
28034
28035
28036 \end_layout
28037
28038 \begin_layout Standard
28039 The type of the box can be specified in the box dialog in the drop-down
28040  list 
28041 \family sans
28042 Decoration
28043 \family default
28044 .
28045  The following types are possible:
28046 \end_layout
28047
28048 \begin_layout Description
28049 No
28050 \begin_inset space ~
28051 \end_inset
28052
28053 frame Nothing is drawn.
28054 \end_layout
28055
28056 \begin_layout Description
28057 Simple
28058 \begin_inset space ~
28059 \end_inset
28060
28061 rectangular
28062 \begin_inset space ~
28063 \end_inset
28064
28065 frame This draws a rectangular frame around the box.
28066  The frame line thickness has the size of 
28067 \series bold
28068
28069 \backslash
28070 fboxrule
28071 \series default
28072 .
28073  
28074 \begin_inset Box Boxed
28075 position "c"
28076 hor_pos "c"
28077 has_inner_box 1
28078 inner_pos "c"
28079 use_parbox 0
28080 use_makebox 0
28081 width "20col%"
28082 special "none"
28083 height "1in"
28084 height_special "totalheight"
28085 status collapsed
28086
28087 \begin_layout Plain Layout
28088 \align center
28089 Rectangular box
28090 \end_layout
28091
28092 \end_inset
28093
28094
28095 \end_layout
28096
28097 \begin_layout Description
28098 Oval
28099 \begin_inset space ~
28100 \end_inset
28101
28102 box,
28103 \begin_inset space ~
28104 \end_inset
28105
28106 thin This draws an oval frame around the box.
28107  The frame line thickness has the size 0.4
28108 \begin_inset space \thinspace{}
28109 \end_inset
28110
28111 pt.
28112  
28113 \begin_inset Box ovalbox
28114 position "c"
28115 hor_pos "c"
28116 has_inner_box 1
28117 inner_pos "c"
28118 use_parbox 0
28119 use_makebox 0
28120 width "20col%"
28121 special "none"
28122 height "1in"
28123 height_special "totalheight"
28124 status collapsed
28125
28126 \begin_layout Plain Layout
28127 \align center
28128 Oval box, thin
28129 \end_layout
28130
28131 \end_inset
28132
28133
28134 \end_layout
28135
28136 \begin_layout Description
28137 Oval
28138 \begin_inset space ~
28139 \end_inset
28140
28141 box,
28142 \begin_inset space ~
28143 \end_inset
28144
28145 thick This draws an oval frame around the box.
28146  The frame line thickness has the size 0.8
28147 \begin_inset space \thinspace{}
28148 \end_inset
28149
28150 pt.
28151  
28152 \begin_inset Box Ovalbox
28153 position "c"
28154 hor_pos "c"
28155 has_inner_box 1
28156 inner_pos "c"
28157 use_parbox 0
28158 use_makebox 0
28159 width "20col%"
28160 special "none"
28161 height "1in"
28162 height_special "totalheight"
28163 status collapsed
28164
28165 \begin_layout Plain Layout
28166 \align center
28167 Oval box, thick
28168 \end_layout
28169
28170 \end_inset
28171
28172
28173 \end_layout
28174
28175 \begin_layout Description
28176 Drop
28177 \begin_inset space ~
28178 \end_inset
28179
28180 shadow This draws a rectangular frame with a shadow around the box.
28181  The frame line thickness has the size of 
28182 \series bold
28183
28184 \backslash
28185 fboxrule
28186 \series default
28187 , the shadow has a width of 4
28188 \begin_inset space \thinspace{}
28189 \end_inset
28190
28191 pt.
28192  
28193 \begin_inset Box Shadowbox
28194 position "c"
28195 hor_pos "c"
28196 has_inner_box 1
28197 inner_pos "c"
28198 use_parbox 0
28199 use_makebox 0
28200 width "20col%"
28201 special "none"
28202 height "1in"
28203 height_special "totalheight"
28204 status collapsed
28205
28206 \begin_layout Plain Layout
28207 \align center
28208 Shadow box
28209 \end_layout
28210
28211 \end_inset
28212
28213
28214 \end_layout
28215
28216 \begin_layout Description
28217 Shaded
28218 \begin_inset space ~
28219 \end_inset
28220
28221 background This draws a box with a red background.
28222  Unlike colored boxes
28223 \begin_inset Foot
28224 status collapsed
28225
28226 \begin_layout Plain Layout
28227 see sec.
28228 \begin_inset space \thinspace{}
28229 \end_inset
28230
28231
28232 \begin_inset CommandInset ref
28233 LatexCommand ref
28234 reference "sec:Colored-Boxes"
28235
28236 \end_inset
28237
28238
28239 \end_layout
28240
28241 \end_inset
28242
28243 , it always uses the whole column width and the box is set as its own paragraph.
28244  
28245 \begin_inset Box Shaded
28246 position "t"
28247 hor_pos "c"
28248 has_inner_box 0
28249 inner_pos "t"
28250 use_parbox 0
28251 use_makebox 0
28252 width "50col%"
28253 special "none"
28254 height "1in"
28255 height_special "totalheight"
28256 status collapsed
28257
28258 \begin_layout Plain Layout
28259 Shaded background box
28260 \end_layout
28261
28262 \end_inset
28263
28264
28265 \end_layout
28266
28267 \begin_layout Description
28268 Double
28269 \begin_inset space ~
28270 \end_inset
28271
28272 rectangular
28273 \begin_inset space ~
28274 \end_inset
28275
28276 frame This draws a double-line rectangular frame around the box.
28277  The line thickness of the inner frame is 0.75
28278 \begin_inset space \thinspace{}
28279 \end_inset
28280
28281
28282 \series bold
28283
28284 \backslash
28285 fboxrule
28286 \series default
28287 , the thickness of the outer frame is 1.5
28288 \begin_inset space \thinspace{}
28289 \end_inset
28290
28291
28292 \series bold
28293
28294 \backslash
28295 fboxrule
28296 \series default
28297 .
28298  The distance between the lines is 1.5
28299 \begin_inset space \thinspace{}
28300 \end_inset
28301
28302
28303 \series bold
28304
28305 \backslash
28306 fboxrule
28307 \series default
28308
28309 \begin_inset space \thinspace{}
28310 \end_inset
28311
28312 +
28313 \begin_inset space \thinspace{}
28314 \end_inset
28315
28316 0.5
28317 \begin_inset space \thinspace{}
28318 \end_inset
28319
28320 pt.
28321  
28322 \begin_inset Box Doublebox
28323 position "c"
28324 hor_pos "c"
28325 has_inner_box 1
28326 inner_pos "c"
28327 use_parbox 0
28328 use_makebox 0
28329 width "20col%"
28330 special "none"
28331 height "1in"
28332 height_special "totalheight"
28333 status collapsed
28334
28335 \begin_layout Plain Layout
28336 \align center
28337 Double rectangular box
28338 \end_layout
28339
28340 \end_inset
28341
28342
28343 \end_layout
28344
28345 \begin_layout Standard
28346 \begin_inset VSpace bigskip
28347 \end_inset
28348
28349 LyX's box label will reflect the different frame types.
28350  To be able to use all types, the LaTeX-package 
28351 \series bold
28352 fancybox
28353 \series default
28354
28355 \begin_inset Index idx
28356 status collapsed
28357
28358 \begin_layout Plain Layout
28359 LaTeX-packages ! fancybox
28360 \end_layout
28361
28362 \end_inset
28363
28364  must be installed.
28365 \end_layout
28366
28367 \begin_layout Standard
28368 \begin_inset VSpace bigskip
28369 \end_inset
28370
28371 When you use the decoration 
28372 \family sans
28373 simple rectangular frame
28374 \family default
28375  and no inner box, you can allow page breaks within a box.
28376  Note that then, unlike other framed boxes, the frame always uses the whole
28377  column width, the box is set as its own paragraph, and 
28378 \series bold
28379
28380 \backslash
28381 fboxrule
28382 \series default
28383  and 
28384 \series bold
28385
28386 \backslash
28387 fboxsep
28388 \series default
28389  have no effect on this box type.
28390  The frame line thickness has the size of 
28391 \series bold
28392
28393 \backslash
28394 FrameRule
28395 \series default
28396 .
28397  
28398 \begin_inset Box Framed
28399 position "t"
28400 hor_pos "c"
28401 has_inner_box 0
28402 inner_pos "t"
28403 use_parbox 0
28404 use_makebox 0
28405 width "100col%"
28406 special "none"
28407 height "1in"
28408 height_special "totalheight"
28409 status collapsed
28410
28411 \begin_layout Plain Layout
28412 Allow page break box
28413 \end_layout
28414
28415 \end_inset
28416
28417
28418 \end_layout
28419
28420 \begin_layout Section
28421 Box Customization
28422 \begin_inset Index idx
28423 status collapsed
28424
28425 \begin_layout Plain Layout
28426 Boxes ! Customization
28427 \end_layout
28428
28429 \end_inset
28430
28431
28432 \end_layout
28433
28434 \begin_layout Standard
28435 The default value for the size 
28436 \series bold
28437
28438 \backslash
28439 fboxrule
28440 \series default
28441  is 0.4
28442 \begin_inset space \thinspace{}
28443 \end_inset
28444
28445 pt.
28446  It can be changed with the following command in TeX-code to e.
28447 \begin_inset space \thinspace{}
28448 \end_inset
28449
28450 g.
28451 \begin_inset space \space{}
28452 \end_inset
28453
28454 2
28455 \begin_inset space \thinspace{}
28456 \end_inset
28457
28458 pt:
28459 \end_layout
28460
28461 \begin_layout Standard
28462
28463 \series bold
28464
28465 \backslash
28466 setlength{
28467 \backslash
28468 fboxrule}{2pt}
28469 \end_layout
28470
28471 \begin_layout Standard
28472 \begin_inset ERT
28473 status collapsed
28474
28475 \begin_layout Plain Layout
28476
28477
28478 \backslash
28479 setlength{
28480 \backslash
28481 fboxrule}{2pt}
28482 \end_layout
28483
28484 \end_inset
28485
28486
28487 \begin_inset Box Boxed
28488 position "c"
28489 hor_pos "c"
28490 has_inner_box 1
28491 inner_pos "c"
28492 use_parbox 0
28493 use_makebox 0
28494 width "25col%"
28495 special "none"
28496 height "1in"
28497 height_special "totalheight"
28498 status open
28499
28500 \begin_layout Plain Layout
28501 \align center
28502 Rectangular box with 
28503 \series bold
28504
28505 \backslash
28506 fboxrule
28507 \series default
28508
28509 \begin_inset space \thinspace{}
28510 \end_inset
28511
28512 =
28513 \begin_inset space \thinspace{}
28514 \end_inset
28515
28516 2
28517 \begin_inset space \thinspace{}
28518 \end_inset
28519
28520 pt
28521 \end_layout
28522
28523 \end_inset
28524
28525
28526 \begin_inset ERT
28527 status collapsed
28528
28529 \begin_layout Plain Layout
28530
28531
28532 \backslash
28533 setlength{
28534 \backslash
28535 fboxrule}{0.4pt}
28536 \end_layout
28537
28538 \end_inset
28539
28540
28541 \end_layout
28542
28543 \begin_layout Standard
28544 \begin_inset VSpace bigskip
28545 \end_inset
28546
28547 The space between the frame and the box content is for all frame styles
28548  by default 3
28549 \begin_inset space \thinspace{}
28550 \end_inset
28551
28552 pt.
28553  You can change it by setting the length 
28554 \series bold
28555
28556 \backslash
28557 fboxsep
28558 \series default
28559  to another value.
28560  For example the command
28561 \end_layout
28562
28563 \begin_layout Standard
28564
28565 \series bold
28566
28567 \backslash
28568 setlength{
28569 \backslash
28570 fboxsep}{10pt}
28571 \end_layout
28572
28573 \begin_layout Standard
28574 sets the value to 10
28575 \begin_inset space \thinspace{}
28576 \end_inset
28577
28578 pt, as with the following box:
28579 \end_layout
28580
28581 \begin_layout Standard
28582 \begin_inset ERT
28583 status collapsed
28584
28585 \begin_layout Plain Layout
28586
28587
28588 \backslash
28589 setlength{
28590 \backslash
28591 fboxsep}{10pt}
28592 \end_layout
28593
28594 \end_inset
28595
28596
28597 \begin_inset Box Boxed
28598 position "c"
28599 hor_pos "c"
28600 has_inner_box 1
28601 inner_pos "c"
28602 use_parbox 0
28603 use_makebox 0
28604 width "25col%"
28605 special "none"
28606 height "1in"
28607 height_special "totalheight"
28608 status open
28609
28610 \begin_layout Plain Layout
28611 \align center
28612 Rectangular box with 
28613 \series bold
28614
28615 \backslash
28616 fboxsep
28617 \series default
28618
28619 \begin_inset space \thinspace{}
28620 \end_inset
28621
28622 =
28623 \begin_inset space \thinspace{}
28624 \end_inset
28625
28626 10
28627 \begin_inset space \thinspace{}
28628 \end_inset
28629
28630 pt
28631 \end_layout
28632
28633 \end_inset
28634
28635
28636 \begin_inset ERT
28637 status collapsed
28638
28639 \begin_layout Plain Layout
28640
28641
28642 \backslash
28643 setlength{
28644 \backslash
28645 fboxsep}{3pt}
28646 \end_layout
28647
28648 \end_inset
28649
28650
28651 \end_layout
28652
28653 \begin_layout Standard
28654 \begin_inset VSpace bigskip
28655 \end_inset
28656
28657 The diameter of the round corners of the oval boxes can be set with the
28658  command 
28659 \series bold
28660
28661 \backslash
28662 cornersize
28663 \series default
28664 .
28665  The command
28666 \end_layout
28667
28668 \begin_layout Standard
28669
28670 \series bold
28671
28672 \backslash
28673 cornersize*{1cm}
28674 \end_layout
28675
28676 \begin_layout Standard
28677 sets the diameter to 1
28678 \begin_inset space \thinspace{}
28679 \end_inset
28680
28681 cm.
28682  The command
28683 \end_layout
28684
28685 \begin_layout Standard
28686
28687 \series bold
28688
28689 \backslash
28690 cornersize{num}
28691 \end_layout
28692
28693 \begin_layout Standard
28694 sets the diameter to 
28695 \family sans
28696 num
28697 \begin_inset space \thinspace{}
28698 \end_inset
28699
28700 ×
28701 \begin_inset space \thinspace{}
28702 \end_inset
28703
28704 minimum(width and height of box)
28705 \family default
28706 .
28707  The default is 
28708 \series bold
28709
28710 \backslash
28711 cornersize{0.5}
28712 \series default
28713 .
28714 \end_layout
28715
28716 \begin_layout Standard
28717 \begin_inset ERT
28718 status collapsed
28719
28720 \begin_layout Plain Layout
28721
28722
28723 \backslash
28724 cornersize*{1.5cm}
28725 \end_layout
28726
28727 \end_inset
28728
28729
28730 \begin_inset Box Ovalbox
28731 position "c"
28732 hor_pos "c"
28733 has_inner_box 1
28734 inner_pos "c"
28735 use_parbox 0
28736 use_makebox 0
28737 width "25col%"
28738 special "none"
28739 height "1in"
28740 height_special "totalheight"
28741 status open
28742
28743 \begin_layout Plain Layout
28744 \align center
28745 Oval box with 
28746 \series bold
28747
28748 \backslash
28749 cornersize
28750 \series default
28751
28752 \begin_inset space \thinspace{}
28753 \end_inset
28754
28755 =
28756 \begin_inset space \thinspace{}
28757 \end_inset
28758
28759 1.5
28760 \begin_inset space \thinspace{}
28761 \end_inset
28762
28763 cm
28764 \end_layout
28765
28766 \end_inset
28767
28768
28769 \begin_inset ERT
28770 status collapsed
28771
28772 \begin_layout Plain Layout
28773
28774
28775 \backslash
28776 cornersize{0.5}
28777 \end_layout
28778
28779 \end_inset
28780
28781
28782 \end_layout
28783
28784 \begin_layout Standard
28785 \begin_inset VSpace bigskip
28786 \end_inset
28787
28788 The size of the shadow can be adjusted by changing the length 
28789 \series bold
28790
28791 \backslash
28792 shadowsize
28793 \series default
28794 .
28795  It it set to 2
28796 \begin_inset space \thinspace{}
28797 \end_inset
28798
28799 pt for the following box by this command:
28800 \end_layout
28801
28802 \begin_layout Standard
28803
28804 \series bold
28805
28806 \backslash
28807 setlength{
28808 \backslash
28809 shadowsize}{2pt}
28810 \end_layout
28811
28812 \begin_layout Standard
28813 \begin_inset ERT
28814 status collapsed
28815
28816 \begin_layout Plain Layout
28817
28818
28819 \backslash
28820 setlength{
28821 \backslash
28822 shadowsize}{2pt}
28823 \end_layout
28824
28825 \end_inset
28826
28827
28828 \begin_inset Box Shadowbox
28829 position "c"
28830 hor_pos "c"
28831 has_inner_box 1
28832 inner_pos "c"
28833 use_parbox 0
28834 use_makebox 0
28835 width "25col%"
28836 special "none"
28837 height "1in"
28838 height_special "totalheight"
28839 status open
28840
28841 \begin_layout Plain Layout
28842 \align center
28843 Shadow box with 
28844 \series bold
28845
28846 \backslash
28847 shadowsize
28848 \series default
28849
28850 \begin_inset space \thinspace{}
28851 \end_inset
28852
28853 =
28854 \begin_inset space \thinspace{}
28855 \end_inset
28856
28857 2
28858 \begin_inset space \thinspace{}
28859 \end_inset
28860
28861 pt
28862 \end_layout
28863
28864 \end_inset
28865
28866
28867 \begin_inset ERT
28868 status collapsed
28869
28870 \begin_layout Plain Layout
28871
28872
28873 \backslash
28874 setlength{
28875 \backslash
28876 shadowsize}{4pt}
28877 \end_layout
28878
28879 \end_inset
28880
28881
28882 \end_layout
28883
28884 \begin_layout Standard
28885 \begin_inset VSpace bigskip
28886 \end_inset
28887
28888
28889 \end_layout
28890
28891 \begin_layout Standard
28892 The default value for the size 
28893 \series bold
28894
28895 \backslash
28896 FrameRule
28897 \series default
28898  is 0.4
28899 \begin_inset space \thinspace{}
28900 \end_inset
28901
28902 pt.
28903  The default space between the note content and the frame is 9
28904 \begin_inset space \thinspace{}
28905 \end_inset
28906
28907 pt and can be changed with the value of 
28908 \series bold
28909
28910 \backslash
28911 FrameSep
28912 \series default
28913 .
28914  For example the frame appearance of the following 
28915 \family sans
28916 box
28917 \family default
28918  is set with the TeX-Code commands
28919 \end_layout
28920
28921 \begin_layout Standard
28922
28923 \series bold
28924
28925 \backslash
28926 setlength{
28927 \backslash
28928 FrameRule}{5pt}
28929 \begin_inset Newline newline
28930 \end_inset
28931
28932
28933 \backslash
28934 setlength{
28935 \backslash
28936 FrameSep}{0.5cm}
28937 \end_layout
28938
28939 \begin_layout Standard
28940 \begin_inset ERT
28941 status collapsed
28942
28943 \begin_layout Plain Layout
28944
28945
28946 \backslash
28947 setlength{
28948 \backslash
28949 FrameRule}{5pt}
28950 \end_layout
28951
28952 \begin_layout Plain Layout
28953
28954
28955 \backslash
28956 setlength{
28957 \backslash
28958 FrameSep}{0.5cm}
28959 \end_layout
28960
28961 \end_inset
28962
28963
28964 \begin_inset Box Framed
28965 position "t"
28966 hor_pos "c"
28967 has_inner_box 0
28968 inner_pos "t"
28969 use_parbox 0
28970 use_makebox 0
28971 width "100col%"
28972 special "none"
28973 height "1in"
28974 height_special "totalheight"
28975 status open
28976
28977 \begin_layout Plain Layout
28978 This is text in an 
28979 \family sans
28980 allow page break
28981 \family default
28982  box.
28983 \end_layout
28984
28985 \end_inset
28986
28987
28988 \begin_inset ERT
28989 status collapsed
28990
28991 \begin_layout Plain Layout
28992
28993
28994 \backslash
28995 setlength{
28996 \backslash
28997 FrameRule}{0.4pt}
28998 \end_layout
28999
29000 \begin_layout Plain Layout
29001
29002
29003 \backslash
29004 setlength{
29005 \backslash
29006 FrameSep}{9pt}
29007 \end_layout
29008
29009 \end_inset
29010
29011
29012 \end_layout
29013
29014 \begin_layout Standard
29015 \begin_inset VSpace bigskip
29016 \end_inset
29017
29018
29019 \end_layout
29020
29021 \begin_layout Standard
29022 For 
29023 \family sans
29024 shaded background
29025 \family default
29026  boxes the default space between the box content and the box border is 3
29027 \begin_inset space \thinspace{}
29028 \end_inset
29029
29030 pt and can be changed with the value of 
29031 \series bold
29032
29033 \backslash
29034 fboxsep
29035 \series default
29036 .
29037  The default background color red can either be changed locally with the
29038  command 
29039 \series bold
29040
29041 \backslash
29042 definecolor{shadecolor}
29043 \series default
29044  or globally with the menu 
29045 \family sans
29046 Tools\SpecialChar \menuseparator
29047 Preferences\SpecialChar \menuseparator
29048 Colors\SpecialChar \menuseparator
29049 shaded
29050 \begin_inset space ~
29051 \end_inset
29052
29053 box
29054 \family default
29055 .
29056  The scheme of the 
29057 \series bold
29058
29059 \backslash
29060 definecolor
29061 \series default
29062  command is explained in section
29063 \begin_inset space ~
29064 \end_inset
29065
29066
29067 \begin_inset CommandInset ref
29068 LatexCommand ref
29069 reference "sec:Colored-Tables"
29070
29071 \end_inset
29072
29073 .
29074 \begin_inset Foot
29075 status collapsed
29076
29077 \begin_layout Plain Layout
29078 Note that 
29079 \series bold
29080
29081 \backslash
29082 definecolor
29083 \series default
29084  requires the LaTeX-package 
29085 \series bold
29086 color
29087 \series default
29088  in the preamble, see section
29089 \begin_inset space ~
29090 \end_inset
29091
29092
29093 \begin_inset CommandInset ref
29094 LatexCommand ref
29095 reference "sec:Colored-Boxes"
29096
29097 \end_inset
29098
29099 .
29100 \end_layout
29101
29102 \end_inset
29103
29104  For example the appearance of the following shaded background box is set
29105  with the TeX-Code commands
29106 \end_layout
29107
29108 \begin_layout Standard
29109
29110 \series bold
29111
29112 \backslash
29113 setlength{
29114 \backslash
29115 fboxsep}{0.5cm}
29116 \series default
29117
29118 \begin_inset Newline newline
29119 \end_inset
29120
29121
29122 \series bold
29123
29124 \backslash
29125 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29126 \end_layout
29127
29128 \begin_layout Standard
29129 \begin_inset ERT
29130 status collapsed
29131
29132 \begin_layout Plain Layout
29133
29134
29135 \backslash
29136 setlength{
29137 \backslash
29138 fboxsep}{0.5cm}
29139 \end_layout
29140
29141 \begin_layout Plain Layout
29142
29143
29144 \backslash
29145 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29146 \end_layout
29147
29148 \end_inset
29149
29150
29151 \begin_inset Box Shaded
29152 position "t"
29153 hor_pos "c"
29154 has_inner_box 0
29155 inner_pos "t"
29156 use_parbox 0
29157 use_makebox 0
29158 width "100col%"
29159 special "none"
29160 height "1in"
29161 height_special "totalheight"
29162 status open
29163
29164 \begin_layout Plain Layout
29165
29166 \color yellow
29167 This is yellow text in a
29168 \color none
29169  
29170 \family sans
29171 \color yellow
29172 shaded background
29173 \family default
29174 \color none
29175  
29176 \color yellow
29177 box with dark green background.
29178 \end_layout
29179
29180 \end_inset
29181
29182
29183 \begin_inset ERT
29184 status collapsed
29185
29186 \begin_layout Plain Layout
29187
29188
29189 \backslash
29190 setlength{
29191 \backslash
29192 fboxsep}{3pt}
29193 \end_layout
29194
29195 \begin_layout Plain Layout
29196
29197
29198 \backslash
29199 definecolor{shadecolor}{rgb}{1,0,0}
29200 \end_layout
29201
29202 \end_inset
29203
29204
29205 \end_layout
29206
29207 \begin_layout Standard
29208 \begin_inset VSpace bigskip
29209 \end_inset
29210
29211 Changed lengths and widths are valid for all boxes following the commands
29212  that change them.
29213 \end_layout
29214
29215 \begin_layout Section
29216 Minipages
29217 \begin_inset CommandInset label
29218 LatexCommand label
29219 name "sec:Minipages"
29220
29221 \end_inset
29222
29223
29224 \begin_inset Index idx
29225 status collapsed
29226
29227 \begin_layout Plain Layout
29228 Boxes ! Minipages
29229 \end_layout
29230
29231 \end_inset
29232
29233
29234 \end_layout
29235
29236 \begin_layout Standard
29237 Minipages are treated by LaTeX as pages within pages and can therefore for
29238  example have their own footnotes.
29239 \end_layout
29240
29241 \begin_layout Standard
29242 Minipages are useful when you write documents with different languages.
29243 \end_layout
29244
29245 \begin_layout Standard
29246 Below are two example minipages side by side.
29247  Their width is set to 45
29248 \begin_inset space \thinspace{}
29249 \end_inset
29250
29251 col% and they are separated by a horizontal fill, that was inserted via
29252  the menu 
29253 \family sans
29254 Insert\SpecialChar \menuseparator
29255 Special
29256 \begin_inset space ~
29257 \end_inset
29258
29259 Formatting\SpecialChar \menuseparator
29260 Horizontal
29261 \begin_inset space ~
29262 \end_inset
29263
29264 Fill
29265 \family default
29266 .
29267 \begin_inset Newpage newpage
29268 \end_inset
29269
29270
29271 \end_layout
29272
29273 \begin_layout Standard
29274 \begin_inset Box Frameless
29275 position "t"
29276 hor_pos "c"
29277 has_inner_box 1
29278 inner_pos "c"
29279 use_parbox 0
29280 use_makebox 0
29281 width "45col%"
29282 special "none"
29283 height "1in"
29284 height_special "totalheight"
29285 status open
29286
29287 \begin_layout Plain Layout
29288
29289 \lang german
29290 Dies ist ein deutscher Text.
29291  Dies ist ein deutscher Text.
29292  Dies ist ein deutscher Text.
29293  Dies ist ein deutscher Text.
29294  Dies ist ein deutscher Text.
29295  Dies ist ein deutscher Text.
29296  Dies ist ein deutscher Text.
29297  Dies ist ein deutscher Text.
29298  Dies ist ein deutscher Text.
29299  Dies ist ein deutscher Text.
29300  Dies ist ein deutscher Text.
29301  Dies ist ein deutscher Text.
29302  Dies ist ein deutscher Text
29303 \begin_inset Foot
29304 status collapsed
29305
29306 \begin_layout Plain Layout
29307
29308 \lang german
29309 Dies ist eine deutsche Fußnote.
29310 \end_layout
29311
29312 \end_inset
29313
29314 .
29315  Dies ist ein deutscher Text.
29316  Dies ist ein deutscher Text.
29317 \end_layout
29318
29319 \end_inset
29320
29321
29322 \begin_inset space \hfill{}
29323 \end_inset
29324
29325
29326 \begin_inset Box Frameless
29327 position "t"
29328 hor_pos "c"
29329 has_inner_box 1
29330 inner_pos "c"
29331 use_parbox 0
29332 use_makebox 0
29333 width "45col%"
29334 special "none"
29335 height "1in"
29336 height_special "totalheight"
29337 status open
29338
29339 \begin_layout Plain Layout
29340 This is an English Text.
29341  This is an English Text.
29342  This is an English Text.
29343  This is an English Text.
29344  This is an English Text.
29345  This is an English Text.
29346  This is an English Text.
29347  This is an English Text.
29348  This is an English Text.
29349  This is an English Text.
29350  This is an English Text.
29351  This is an English Text.
29352  This is an English Text.
29353  This is an English Text.
29354  This is an English Text.
29355  This is an English Text.
29356 \begin_inset Foot
29357 status collapsed
29358
29359 \begin_layout Plain Layout
29360 This is an English footnote.
29361 \end_layout
29362
29363 \end_inset
29364
29365  This is an English Text.
29366  
29367 \end_layout
29368
29369 \end_inset
29370
29371
29372 \end_layout
29373
29374 \begin_layout Standard
29375 \begin_inset VSpace bigskip
29376 \end_inset
29377
29378 The document-wide paragraph settings are ignored within minipages.
29379  That means that there will be no space between paragraphs in minipages
29380  although you set it to e.
29381 \begin_inset space \thinspace{}
29382 \end_inset
29383
29384 g.
29385 \begin_inset space \space{}
29386 \end_inset
29387
29388
29389 \family sans
29390 MedSkip
29391 \family default
29392  in the document settings.
29393 \end_layout
29394
29395 \begin_layout Standard
29396 Minipages can also be used to set a background color for text parts, see
29397  section
29398 \begin_inset space ~
29399 \end_inset
29400
29401
29402 \begin_inset CommandInset ref
29403 LatexCommand ref
29404 reference "sub:Color-for-Paragraphs"
29405
29406 \end_inset
29407
29408 .
29409 \end_layout
29410
29411 \begin_layout Standard
29412 \begin_inset Note Greyedout
29413 status open
29414
29415 \begin_layout Plain Layout
29416
29417 \series bold
29418 Note:
29419 \series default
29420  You cannot have floats or margin notes inside minipages but minipages can
29421  be used inside tables, floats, and other boxes.
29422 \end_layout
29423
29424 \end_inset
29425
29426
29427 \end_layout
29428
29429 \begin_layout Section
29430 Parboxes
29431 \begin_inset CommandInset label
29432 LatexCommand label
29433 name "sec:Parboxes"
29434
29435 \end_inset
29436
29437
29438 \begin_inset Index idx
29439 status collapsed
29440
29441 \begin_layout Plain Layout
29442 Boxes ! Parboxes
29443 \end_layout
29444
29445 \end_inset
29446
29447
29448 \end_layout
29449
29450 \begin_layout Standard
29451 Parboxes are very similar to minipages with the difference that they cannot
29452  have footnotes.
29453 \end_layout
29454
29455 \begin_layout Standard
29456 \align center
29457 \begin_inset Box Frameless
29458 position "t"
29459 hor_pos "c"
29460 has_inner_box 1
29461 inner_pos "t"
29462 use_parbox 1
29463 use_makebox 0
29464 width "33col%"
29465 special "none"
29466 height "1in"
29467 height_special "totalheight"
29468 status collapsed
29469
29470 \begin_layout Plain Layout
29471 This a text within a parbox.
29472  This a text within a parbox.
29473 \end_layout
29474
29475 \begin_layout Plain Layout
29476 This footnote won't appear:
29477 \begin_inset Foot
29478 status collapsed
29479
29480 \begin_layout Plain Layout
29481 This footnote is inside a parbox and will therefore not appear.
29482 \end_layout
29483
29484 \end_inset
29485
29486
29487 \end_layout
29488
29489 \end_inset
29490
29491
29492 \end_layout
29493
29494 \begin_layout Section
29495 Boxes for Words and Characters
29496 \begin_inset Index idx
29497 status collapsed
29498
29499 \begin_layout Plain Layout
29500 Boxes ! for Characters
29501 \end_layout
29502
29503 \end_inset
29504
29505
29506 \end_layout
29507
29508 \begin_layout Subsection
29509 Prevent Hyphenation
29510 \begin_inset CommandInset label
29511 LatexCommand label
29512 name "sec:Prevent-Hyphenation"
29513
29514 \end_inset
29515
29516
29517 \begin_inset Index idx
29518 status collapsed
29519
29520 \begin_layout Plain Layout
29521 Boxes ! to Prevent Hyphenation
29522 \end_layout
29523
29524 \end_inset
29525
29526
29527 \end_layout
29528
29529 \begin_layout Standard
29530 You can use the box type 
29531 \family sans
29532 Makebox
29533 \family default
29534  to prevent words or text from being hyphenated.
29535 \begin_inset Newline newline
29536 \end_inset
29537
29538 Here is an example text:
29539 \end_layout
29540
29541 \begin_layout Standard
29542 This line is an example to show how you can prevent the hyphenation of 
29543 \begin_inset Quotes eld
29544 \end_inset
29545
29546 veryverylongword
29547 \begin_inset Quotes erd
29548 \end_inset
29549
29550 .
29551 \end_layout
29552
29553 \begin_layout Standard
29554 To prevent the hyphenation of the word 
29555 \begin_inset Quotes eld
29556 \end_inset
29557
29558 veryverylongword
29559 \begin_inset Quotes erd
29560 \end_inset
29561
29562 , put the word into a box, set the 
29563 \family sans
29564 Inner
29565 \begin_inset space ~
29566 \end_inset
29567
29568 box
29569 \family default
29570  to 
29571 \family sans
29572 Makebox
29573 \family default
29574  and its width to 1
29575 \begin_inset space \thinspace{}
29576 \end_inset
29577
29578 Width.
29579 \end_layout
29580
29581 \begin_layout Standard
29582 This is the result:
29583 \end_layout
29584
29585 \begin_layout Standard
29586 This line is an example to show how you can prevent the hyphenation of 
29587 \begin_inset Box Frameless
29588 position "t"
29589 hor_pos "c"
29590 has_inner_box 1
29591 inner_pos "t"
29592 use_parbox 0
29593 use_makebox 1
29594 width "1in"
29595 special "width"
29596 height "1in"
29597 height_special "totalheight"
29598 status open
29599
29600 \begin_layout Plain Layout
29601 \begin_inset Quotes eld
29602 \end_inset
29603
29604 veryverylongword
29605 \begin_inset Quotes erd
29606 \end_inset
29607
29608
29609 \end_layout
29610
29611 \end_inset
29612
29613 .
29614 \end_layout
29615
29616 \begin_layout Standard
29617 You can alternatively set the command 
29618 \begin_inset Quotes eld
29619 \end_inset
29620
29621
29622 \series bold
29623
29624 \backslash
29625 -
29626 \series default
29627
29628 \begin_inset Quotes grd
29629 \end_inset
29630
29631  as TeX-Code directly before the word:
29632 \end_layout
29633
29634 \begin_layout Standard
29635 This line is an example to show how you can prevent the hyphenation of 
29636 \begin_inset Quotes eld
29637 \end_inset
29638
29639
29640 \begin_inset ERT
29641 status collapsed
29642
29643 \begin_layout Plain Layout
29644
29645
29646 \backslash
29647 -
29648 \end_layout
29649
29650 \end_inset
29651
29652 veryverylongword
29653 \begin_inset Quotes erd
29654 \end_inset
29655
29656 .
29657 \end_layout
29658
29659 \begin_layout Standard
29660 Of course the word now protrudes over the side margin.
29661  To avoid this, add via the menu 
29662 \family sans
29663 Insert\SpecialChar \menuseparator
29664 Formatting\SpecialChar \menuseparator
29665 Ragged
29666 \begin_inset space ~
29667 \end_inset
29668
29669 Line
29670 \begin_inset space ~
29671 \end_inset
29672
29673 Break
29674 \family default
29675  (shortcut 
29676 \begin_inset Info
29677 type  "shortcut"
29678 arg   "newline-insert newline"
29679 \end_inset
29680
29681 ) a line break before the word:
29682 \end_layout
29683
29684 \begin_layout Standard
29685 This line is an example to show how you can prevent the hyphenation of 
29686 \begin_inset Newline newline
29687 \end_inset
29688
29689
29690 \begin_inset Box Frameless
29691 position "t"
29692 hor_pos "c"
29693 has_inner_box 1
29694 inner_pos "t"
29695 use_parbox 0
29696 use_makebox 1
29697 width "1in"
29698 special "width"
29699 height "1in"
29700 height_special "totalheight"
29701 status open
29702
29703 \begin_layout Plain Layout
29704 \begin_inset Quotes eld
29705 \end_inset
29706
29707 veryverylongword
29708 \begin_inset Quotes erd
29709 \end_inset
29710
29711
29712 \end_layout
29713
29714 \end_inset
29715
29716 .
29717 \end_layout
29718
29719 \begin_layout Subsection
29720 Vertical Alignment
29721 \begin_inset CommandInset label
29722 LatexCommand label
29723 name "sub:Vertical-Alignment"
29724
29725 \end_inset
29726
29727
29728 \begin_inset Index idx
29729 status collapsed
29730
29731 \begin_layout Plain Layout
29732 Boxes ! for Vertical Alignment
29733 \end_layout
29734
29735 \end_inset
29736
29737
29738 \begin_inset Index idx
29739 status collapsed
29740
29741 \begin_layout Plain Layout
29742 Boxes ! Raiseboxes
29743 \end_layout
29744
29745 \end_inset
29746
29747
29748 \end_layout
29749
29750 \begin_layout Standard
29751 With the help of the command 
29752 \series bold
29753
29754 \backslash
29755 raisebox
29756 \series default
29757  you can align words, characters or other boxes vertically relative to the
29758  surrounding text.
29759  
29760 \series bold
29761
29762 \backslash
29763 raisebox
29764 \series default
29765  is used with the following scheme:
29766 \end_layout
29767
29768 \begin_layout Standard
29769
29770 \series bold
29771
29772 \backslash
29773 raisebox{lift}[height][depth]{box content}
29774 \end_layout
29775
29776 \begin_layout Standard
29777 The lift can be a positive value to raise the box or a negative value to
29778  lower the box.
29779 \end_layout
29780
29781 \begin_layout Standard
29782 To align for example the word 
29783 \begin_inset Quotes eld
29784 \end_inset
29785
29786 preventing
29787 \begin_inset Quotes erd
29788 \end_inset
29789
29790  so that the bottom of the 
29791 \begin_inset Quotes eld
29792 \end_inset
29793
29794 deepest
29795 \begin_inset Quotes erd
29796 \end_inset
29797
29798  character 
29799 \begin_inset Quotes eld
29800 \end_inset
29801
29802 p
29803 \begin_inset Quotes erd
29804 \end_inset
29805
29806  is at the baseline, insert the command
29807 \end_layout
29808
29809 \begin_layout Standard
29810
29811 \series bold
29812
29813 \backslash
29814 raisebox{
29815 \backslash
29816 depth}{
29817 \end_layout
29818
29819 \begin_layout Standard
29820 in TeX-Code before the word.
29821  After the word insert a closing brace 
29822 \begin_inset Quotes eld
29823 \end_inset
29824
29825
29826 \series bold
29827 }
29828 \series default
29829
29830 \begin_inset Quotes erd
29831 \end_inset
29832
29833  in TeX-Code.
29834 \begin_inset Newline newline
29835 \end_inset
29836
29837 This is the result:
29838 \end_layout
29839
29840 \begin_layout Standard
29841 This is a text line with the word 
29842 \begin_inset ERT
29843 status collapsed
29844
29845 \begin_layout Plain Layout
29846
29847
29848 \backslash
29849 raisebox{
29850 \backslash
29851 depth}{
29852 \end_layout
29853
29854 \end_inset
29855
29856
29857 \begin_inset Quotes eld
29858 \end_inset
29859
29860 preventing
29861 \begin_inset Quotes erd
29862 \end_inset
29863
29864
29865 \begin_inset ERT
29866 status collapsed
29867
29868 \begin_layout Plain Layout
29869
29870 }
29871 \end_layout
29872
29873 \end_inset
29874
29875  as a raised word.
29876 \end_layout
29877
29878 \begin_layout Standard
29879 \begin_inset VSpace bigskip
29880 \end_inset
29881
29882 When you raise or lower characters in a line, the line distance will be
29883  spread:
29884 \end_layout
29885
29886 \begin_layout Standard
29887 This is a text line with the word 
29888 \begin_inset ERT
29889 status collapsed
29890
29891 \begin_layout Plain Layout
29892
29893
29894 \backslash
29895 raisebox{-
29896 \backslash
29897 depth}{
29898 \end_layout
29899
29900 \end_inset
29901
29902
29903 \begin_inset Quotes eld
29904 \end_inset
29905
29906 preventing
29907 \begin_inset Quotes erd
29908 \end_inset
29909
29910
29911 \begin_inset ERT
29912 status collapsed
29913
29914 \begin_layout Plain Layout
29915
29916 }
29917 \end_layout
29918
29919 \end_inset
29920
29921  as a lowered word.
29922 \begin_inset Newline newline
29923 \end_inset
29924
29925 This is a text line with the word 
29926 \begin_inset ERT
29927 status collapsed
29928
29929 \begin_layout Plain Layout
29930
29931
29932 \backslash
29933 raisebox{0.5cm}{
29934 \end_layout
29935
29936 \end_inset
29937
29938
29939 \begin_inset Quotes eld
29940 \end_inset
29941
29942 testing
29943 \begin_inset Quotes erd
29944 \end_inset
29945
29946
29947 \begin_inset ERT
29948 status collapsed
29949
29950 \begin_layout Plain Layout
29951
29952 }
29953 \end_layout
29954
29955 \end_inset
29956
29957  as a raised word.
29958 \end_layout
29959
29960 \begin_layout Standard
29961 If you want to prevent this for a certain reason, set the box height to
29962  a zero value.
29963  For example use
29964 \end_layout
29965
29966 \begin_layout Standard
29967
29968 \series bold
29969
29970 \backslash
29971 raisebox{-
29972 \backslash
29973 depth}[0pt]{
29974 \end_layout
29975
29976 \begin_layout Standard
29977 This is a text line with the word 
29978 \begin_inset ERT
29979 status collapsed
29980
29981 \begin_layout Plain Layout
29982
29983
29984 \backslash
29985 raisebox{-
29986 \backslash
29987 depth}[0pt]{
29988 \end_layout
29989
29990 \end_inset
29991
29992
29993 \begin_inset Quotes eld
29994 \end_inset
29995
29996 preventing
29997 \begin_inset Quotes erd
29998 \end_inset
29999
30000
30001 \begin_inset ERT
30002 status collapsed
30003
30004 \begin_layout Plain Layout
30005
30006 }
30007 \end_layout
30008
30009 \end_inset
30010
30011  as a lowered word.
30012 \begin_inset Newline newline
30013 \end_inset
30014
30015 This is a text line with the word 
30016 \begin_inset ERT
30017 status collapsed
30018
30019 \begin_layout Plain Layout
30020
30021
30022 \backslash
30023 raisebox{0.5cm}[0pt]{
30024 \end_layout
30025
30026 \end_inset
30027
30028
30029 \begin_inset Quotes eld
30030 \end_inset
30031
30032 testing
30033 \begin_inset Quotes erd
30034 \end_inset
30035
30036
30037 \begin_inset ERT
30038 status collapsed
30039
30040 \begin_layout Plain Layout
30041
30042 }
30043 \end_layout
30044
30045 \end_inset
30046
30047  as a raised word.
30048 \end_layout
30049
30050 \begin_layout Section
30051 Colored Boxes
30052 \begin_inset CommandInset label
30053 LatexCommand label
30054 name "sec:Colored-Boxes"
30055
30056 \end_inset
30057
30058
30059 \begin_inset Index idx
30060 status collapsed
30061
30062 \begin_layout Plain Layout
30063 Boxes ! Color
30064 \end_layout
30065
30066 \end_inset
30067
30068
30069 \end_layout
30070
30071 \begin_layout Subsection
30072 Color for Text
30073 \begin_inset Index idx
30074 status collapsed
30075
30076 \begin_layout Plain Layout
30077 Color ! for Text
30078 \end_layout
30079
30080 \end_inset
30081
30082
30083 \end_layout
30084
30085 \begin_layout Standard
30086 To color the background of text the text must be put into a so called 
30087 \begin_inset Quotes eld
30088 \end_inset
30089
30090 colorbox
30091 \begin_inset Quotes erd
30092 \end_inset
30093
30094 .
30095  This requires that the LaTeX-package 
30096 \series bold
30097 color
30098 \series default
30099
30100 \begin_inset Index idx
30101 status collapsed
30102
30103 \begin_layout Plain Layout
30104 LaTeX-packages ! color
30105 \end_layout
30106
30107 \end_inset
30108
30109  is loaded in the document preamble with the command
30110 \end_layout
30111
30112 \begin_layout Standard
30113
30114 \series bold
30115
30116 \backslash
30117 @ifundefined{textcolor}
30118 \begin_inset Newline newline
30119 \end_inset
30120
30121
30122 \begin_inset Phantom HPhantom
30123 status open
30124
30125 \begin_layout Plain Layout
30126
30127 \series bold
30128 \begin_inset space ~
30129 \end_inset
30130
30131
30132 \end_layout
30133
30134 \end_inset
30135
30136 {
30137 \backslash
30138 usepackage{color}}{}
30139 \end_layout
30140
30141 \begin_layout Standard
30142 The package 
30143 \series bold
30144 color
30145 \series default
30146  will be loaded automatically by LyX when you color text.
30147 \begin_inset Foot
30148 status collapsed
30149
30150 \begin_layout Plain Layout
30151 To avoid it being loaded twice the command 
30152 \series bold
30153
30154 \backslash
30155 @ifundefined
30156 \series default
30157  is used.
30158 \end_layout
30159
30160 \end_inset
30161
30162
30163 \end_layout
30164
30165 \begin_layout Standard
30166 \begin_inset VSpace medskip
30167 \end_inset
30168
30169 Colorboxes are created with the command 
30170 \series bold
30171
30172 \backslash
30173 colorbox
30174 \series default
30175 .
30176  This will be used with the following scheme:
30177 \end_layout
30178
30179 \begin_layout Standard
30180
30181 \series bold
30182
30183 \backslash
30184 colorbox{color}{box content}
30185 \end_layout
30186
30187 \begin_layout Standard
30188 The box content can also be a box and colorboxes can also be within other
30189  boxes.
30190 \end_layout
30191
30192 \begin_layout Standard
30193 The following colors are predefined:
30194 \begin_inset Newline newline
30195 \end_inset
30196
30197
30198 \family sans
30199 black
30200 \family default
30201
30202 \family sans
30203 blue
30204 \family default
30205
30206 \family sans
30207 cyan
30208 \family default
30209 \series bold
30210 ,
30211 \series default
30212  
30213 \family sans
30214 green
30215 \family default
30216
30217 \family sans
30218 magenta
30219 \family default
30220
30221 \family sans
30222 red
30223 \family default
30224
30225 \family sans
30226 white
30227 \family default
30228 , and 
30229 \family sans
30230 yellow
30231 \family default
30232 .
30233 \begin_inset Newline newline
30234 \end_inset
30235
30236 You can also define your own color as described in section
30237 \begin_inset space ~
30238 \end_inset
30239
30240
30241 \begin_inset CommandInset ref
30242 LatexCommand ref
30243 reference "sec:Colored-Tables"
30244
30245 \end_inset
30246
30247 .
30248 \end_layout
30249
30250 \begin_layout Standard
30251 To have e.
30252 \begin_inset space \thinspace{}
30253 \end_inset
30254
30255 g.
30256 \begin_inset space \space{}
30257 \end_inset
30258
30259 a red background for a word, insert the command
30260 \end_layout
30261
30262 \begin_layout Standard
30263
30264 \series bold
30265
30266 \backslash
30267 colorbox{red}{
30268 \end_layout
30269
30270 \begin_layout Standard
30271 before the word in TeX-Code.
30272  After the word insert a closing brace 
30273 \begin_inset Quotes eld
30274 \end_inset
30275
30276
30277 \series bold
30278 }
30279 \series default
30280
30281 \begin_inset Quotes erd
30282 \end_inset
30283
30284  in TeX-Code.
30285 \begin_inset Newline newline
30286 \end_inset
30287
30288 This is the result:
30289 \end_layout
30290
30291 \begin_layout Standard
30292 This is a line where the word 
30293 \begin_inset ERT
30294 status collapsed
30295
30296 \begin_layout Plain Layout
30297
30298
30299 \backslash
30300 colorbox{red}{
30301 \end_layout
30302
30303 \end_inset
30304
30305
30306 \begin_inset Quotes eld
30307 \end_inset
30308
30309 Attention!
30310 \begin_inset Quotes erd
30311 \end_inset
30312
30313
30314 \begin_inset ERT
30315 status collapsed
30316
30317 \begin_layout Plain Layout
30318
30319 }
30320 \end_layout
30321
30322 \end_inset
30323
30324  has a red background.
30325 \end_layout
30326
30327 \begin_layout Standard
30328 \begin_inset VSpace bigskip
30329 \end_inset
30330
30331 If you would like the box frame in a different color, you can use the command
30332  
30333 \series bold
30334
30335 \backslash
30336 fcolorbox
30337 \series default
30338  with the following scheme:
30339 \end_layout
30340
30341 \begin_layout Standard
30342
30343 \series bold
30344
30345 \backslash
30346 fcolorbox{frame color}{box color}{box content}
30347 \end_layout
30348
30349 \begin_layout Standard
30350
30351 \series bold
30352
30353 \backslash
30354 fcolorbox
30355 \series default
30356  is an extension to 
30357 \series bold
30358
30359 \backslash
30360 colorbox
30361 \series default
30362 .
30363  The frame thickness and the space between the frame and the box content
30364  can be adjusted with the lengths 
30365 \series bold
30366
30367 \backslash
30368 fboxrule
30369 \series default
30370  and 
30371 \series bold
30372
30373 \backslash
30374 fboxsep
30375 \series default
30376 , respectively, as described in section
30377 \begin_inset space ~
30378 \end_inset
30379
30380
30381 \begin_inset CommandInset ref
30382 LatexCommand ref
30383 reference "sec:Decoration"
30384
30385 \end_inset
30386
30387 .
30388 \end_layout
30389
30390 \begin_layout Standard
30391 For the following example the command
30392 \end_layout
30393
30394 \begin_layout Standard
30395
30396 \series bold
30397
30398 \backslash
30399 fcolorbox{cyan}{magenta}{
30400 \end_layout
30401
30402 \begin_layout Standard
30403 was used.
30404 \end_layout
30405
30406 \begin_layout Standard
30407 Here is an example where the frame line thickness was set to 1
30408 \begin_inset space \thinspace{}
30409 \end_inset
30410
30411 mm:
30412 \begin_inset Newline newline
30413 \end_inset
30414
30415
30416 \begin_inset ERT
30417 status collapsed
30418
30419 \begin_layout Plain Layout
30420
30421
30422 \backslash
30423 fboxrule 1mm 
30424 \backslash
30425 fboxsep 1mm
30426 \end_layout
30427
30428 \end_inset
30429
30430
30431 \begin_inset ERT
30432 status collapsed
30433
30434 \begin_layout Plain Layout
30435
30436
30437 \backslash
30438 fcolorbox{cyan}{magenta}{
30439 \end_layout
30440
30441 \end_inset
30442
30443 This is text within a colored, framed box.
30444 \begin_inset ERT
30445 status collapsed
30446
30447 \begin_layout Plain Layout
30448
30449 }
30450 \end_layout
30451
30452 \end_inset
30453
30454
30455 \end_layout
30456
30457 \begin_layout Standard
30458 \begin_inset VSpace bigskip
30459 \end_inset
30460
30461 Of course you can also have colored text inside a colorbox:
30462 \begin_inset Newline newline
30463 \end_inset
30464
30465
30466 \begin_inset ERT
30467 status collapsed
30468
30469 \begin_layout Plain Layout
30470
30471
30472 \backslash
30473 fcolorbox{cyan}{magenta}{
30474 \end_layout
30475
30476 \end_inset
30477
30478
30479 \color yellow
30480 This is colored text within a colored, framed box.
30481 \color none
30482
30483 \begin_inset ERT
30484 status collapsed
30485
30486 \begin_layout Plain Layout
30487
30488 }
30489 \end_layout
30490
30491 \end_inset
30492
30493
30494 \begin_inset ERT
30495 status collapsed
30496
30497 \begin_layout Plain Layout
30498
30499
30500 \backslash
30501 fboxrule 0.4pt 
30502 \backslash
30503 fboxsep 3pt
30504 \end_layout
30505
30506 \end_inset
30507
30508
30509 \end_layout
30510
30511 \begin_layout Standard
30512 \begin_inset VSpace medskip
30513 \end_inset
30514
30515
30516 \end_layout
30517
30518 \begin_layout Standard
30519 \begin_inset Note Greyedout
30520 status open
30521
30522 \begin_layout Plain Layout
30523
30524 \series bold
30525 Note:
30526 \series default
30527  Text in colorboxes cannot have line breaks.
30528  To color multiple text lines or paragraphs, use a box inside a colorbox
30529  as described in the following.
30530 \end_layout
30531
30532 \end_inset
30533
30534
30535 \end_layout
30536
30537 \begin_layout Subsection
30538 Color for Paragraphs
30539 \begin_inset CommandInset label
30540 LatexCommand label
30541 name "sub:Color-for-Paragraphs"
30542
30543 \end_inset
30544
30545
30546 \begin_inset Index idx
30547 status collapsed
30548
30549 \begin_layout Plain Layout
30550 Color ! for Paragraphs
30551 \end_layout
30552
30553 \end_inset
30554
30555
30556 \end_layout
30557
30558 \begin_layout Standard
30559 To set the background color for more than one text line, put the text into
30560  a minipage.
30561  Before the minipage insert the 
30562 \series bold
30563
30564 \backslash
30565 colorbox
30566 \series default
30567  command
30568 \end_layout
30569
30570 \begin_layout Standard
30571
30572 \series bold
30573
30574 \backslash
30575 colorbox{color}{
30576 \end_layout
30577
30578 \begin_layout Standard
30579 in TeX-Code.
30580  After the minipage insert a closing brace 
30581 \begin_inset Quotes eld
30582 \end_inset
30583
30584
30585 \series bold
30586 }
30587 \series default
30588
30589 \begin_inset Quotes erd
30590 \end_inset
30591
30592  in TeX-Code.
30593 \end_layout
30594
30595 \begin_layout Standard
30596 \begin_inset ERT
30597 status collapsed
30598
30599 \begin_layout Plain Layout
30600
30601
30602 \backslash
30603 colorbox{lightgrey}{
30604 \end_layout
30605
30606 \end_inset
30607
30608
30609 \begin_inset Box Frameless
30610 position "t"
30611 hor_pos "c"
30612 has_inner_box 1
30613 inner_pos "t"
30614 use_parbox 0
30615 use_makebox 0
30616 width "100col%"
30617 special "none"
30618 height "1in"
30619 height_special "totalheight"
30620 status collapsed
30621
30622 \begin_layout Plain Layout
30623 This is text with background color.
30624  This is text with background color.
30625 \end_layout
30626
30627 \begin_layout Plain Layout
30628 \begin_inset VSpace defskip
30629 \end_inset
30630
30631 The text can have footnotes
30632 \begin_inset Foot
30633 status collapsed
30634
30635 \begin_layout Plain Layout
30636 Another example footnote
30637 \end_layout
30638
30639 \end_inset
30640
30641  and can include tables and figures.
30642 \end_layout
30643
30644 \begin_layout Plain Layout
30645 \align center
30646 \begin_inset Tabular
30647 <lyxtabular version="3" rows="3" columns="3">
30648 <features tabularvalignment="middle">
30649 <column alignment="center" valignment="top" width="0">
30650 <column alignment="center" valignment="top" width="0">
30651 <column alignment="center" valignment="top" width="0">
30652 <row>
30653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30654 \begin_inset Text
30655
30656 \begin_layout Plain Layout
30657 a
30658 \end_layout
30659
30660 \end_inset
30661 </cell>
30662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30663 \begin_inset Text
30664
30665 \begin_layout Plain Layout
30666 !
30667 \end_layout
30668
30669 \end_inset
30670 </cell>
30671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30672 \begin_inset Text
30673
30674 \begin_layout Plain Layout
30675 3
30676 \end_layout
30677
30678 \end_inset
30679 </cell>
30680 </row>
30681 <row>
30682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30683 \begin_inset Text
30684
30685 \begin_layout Plain Layout
30686 <
30687 \end_layout
30688
30689 \end_inset
30690 </cell>
30691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30692 \begin_inset Text
30693
30694 \begin_layout Plain Layout
30695 b2
30696 \begin_inset Quotes erd
30697 \end_inset
30698
30699 |
30700 \end_layout
30701
30702 \end_inset
30703 </cell>
30704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30705 \begin_inset Text
30706
30707 \begin_layout Plain Layout
30708 >
30709 \end_layout
30710
30711 \end_inset
30712 </cell>
30713 </row>
30714 <row>
30715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30716 \begin_inset Text
30717
30718 \begin_layout Plain Layout
30719 1
30720 \end_layout
30721
30722 \end_inset
30723 </cell>
30724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30725 \begin_inset Text
30726
30727 \begin_layout Plain Layout
30728 §
30729 \end_layout
30730
30731 \end_inset
30732 </cell>
30733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30734 \begin_inset Text
30735
30736 \begin_layout Plain Layout
30737 c
30738 \end_layout
30739
30740 \end_inset
30741 </cell>
30742 </row>
30743 </lyxtabular>
30744
30745 \end_inset
30746
30747
30748 \end_layout
30749
30750 \end_inset
30751
30752
30753 \begin_inset ERT
30754 status collapsed
30755
30756 \begin_layout Plain Layout
30757
30758 }
30759 \end_layout
30760
30761 \end_inset
30762
30763
30764 \end_layout
30765
30766 \begin_layout Section
30767 Rotated and Scaled Boxes
30768 \end_layout
30769
30770 \begin_layout Standard
30771 To use the commands described in this section, the LaTeX-package 
30772 \series bold
30773 graphicx
30774 \series default
30775
30776 \begin_inset Index idx
30777 status collapsed
30778
30779 \begin_layout Plain Layout
30780 LaTeX-packages ! graphicx
30781 \end_layout
30782
30783 \end_inset
30784
30785  needs to be loaded in the document preamble with the command
30786 \end_layout
30787
30788 \begin_layout Standard
30789
30790 \series bold
30791
30792 \backslash
30793 @ifundefined{rotatebox}
30794 \begin_inset Newline newline
30795 \end_inset
30796
30797
30798 \begin_inset Phantom HPhantom
30799 status open
30800
30801 \begin_layout Plain Layout
30802
30803 \series bold
30804 \begin_inset space ~
30805 \end_inset
30806
30807
30808 \end_layout
30809
30810 \end_inset
30811
30812 {
30813 \backslash
30814 usepackage{graphicx}}{}
30815 \end_layout
30816
30817 \begin_layout Standard
30818 \begin_inset Note Greyedout
30819 status open
30820
30821 \begin_layout Plain Layout
30822
30823 \series bold
30824 Note:
30825 \series default
30826  Some DVI-viewers can't display rotated or scaled material.
30827 \end_layout
30828
30829 \end_inset
30830
30831
30832 \end_layout
30833
30834 \begin_layout Standard
30835 \begin_inset Note Greyedout
30836 status open
30837
30838 \begin_layout Plain Layout
30839
30840 \series bold
30841 Note:
30842 \series default
30843  Floats mustn't be inside a rotated or scaled box.
30844 \end_layout
30845
30846 \end_inset
30847
30848
30849 \end_layout
30850
30851 \begin_layout Subsection
30852 Rotated Boxes
30853 \begin_inset Index idx
30854 status collapsed
30855
30856 \begin_layout Plain Layout
30857 Boxes ! rotated
30858 \end_layout
30859
30860 \end_inset
30861
30862
30863 \begin_inset Index idx
30864 status collapsed
30865
30866 \begin_layout Plain Layout
30867 Rotated material
30868 \end_layout
30869
30870 \end_inset
30871
30872
30873 \begin_inset Index idx
30874 status collapsed
30875
30876 \begin_layout Plain Layout
30877 Figures ! rotated
30878 \end_layout
30879
30880 \end_inset
30881
30882
30883 \begin_inset Index idx
30884 status collapsed
30885
30886 \begin_layout Plain Layout
30887 Table Customization ! Rotating
30888 \end_layout
30889
30890 \end_inset
30891
30892
30893 \end_layout
30894
30895 \begin_layout Standard
30896 To rotate material, you can put it into a rotated box.
30897  Such a box is created using the command 
30898 \series bold
30899
30900 \backslash
30901 rotatebox
30902 \series default
30903  in TeX-Code with the following scheme:
30904 \end_layout
30905
30906 \begin_layout Standard
30907
30908 \series bold
30909
30910 \backslash
30911 rotatebox[rotation origin]{rotation angle}{box content}
30912 \end_layout
30913
30914 \begin_layout Standard
30915 The rotation origin is specified in the form 
30916 \series bold
30917 origin=position
30918 \series default
30919 .
30920  The following positions are possible: 
30921 \emph on
30922 c
30923 \emph default
30924  (center), 
30925 \emph on
30926 l
30927 \emph default
30928  (left), 
30929 \emph on
30930 r
30931 \emph default
30932  (right), 
30933 \emph on
30934 b
30935 \emph default
30936  (bottom), 
30937 \emph on
30938 t
30939 \emph default
30940  (top), along with meaningful combinations of the four base positions.
30941  For example 
30942 \emph on
30943 lt
30944 \emph default
30945  means that the rotation origin is at the top left corner of the box.
30946  When no rotation origin is specified, the position 
30947 \emph on
30948 l
30949 \emph default
30950  will be used.
30951  The rotation angle is a number that can be negative that specifies the
30952  angle in degrees.
30953  The rotation direction is counterclockwise.
30954 \end_layout
30955
30956 \begin_layout Standard
30957 In the following example the command 
30958 \series bold
30959
30960 \backslash
30961 rotatebox[origin=c]{60}{
30962 \series default
30963  was inserted as TeX-Code before the text 
30964 \begin_inset Quotes eld
30965 \end_inset
30966
30967 with rotated
30968 \begin_inset Quotes erd
30969 \end_inset
30970
30971 ; after the text the box was closed by a closing brace 
30972 \series bold
30973 }
30974 \series default
30975  in TeX-Code.
30976 \end_layout
30977
30978 \begin_layout Standard
30979 This is a line 
30980 \begin_inset ERT
30981 status collapsed
30982
30983 \begin_layout Plain Layout
30984
30985
30986 \backslash
30987 rotatebox[origin=c]{60}{
30988 \end_layout
30989
30990 \end_inset
30991
30992 with rotated
30993 \begin_inset ERT
30994 status collapsed
30995
30996 \begin_layout Plain Layout
30997
30998 }
30999 \end_layout
31000
31001 \end_inset
31002
31003  text.
31004 \end_layout
31005
31006 \begin_layout Standard
31007 The box content can also be another box or an inline formula:
31008 \end_layout
31009
31010 \begin_layout Standard
31011 This is a line
31012 \begin_inset ERT
31013 status collapsed
31014
31015 \begin_layout Plain Layout
31016
31017
31018 \backslash
31019 rotatebox[origin=r]{-60}{
31020 \end_layout
31021
31022 \end_inset
31023
31024
31025 \begin_inset Box Doublebox
31026 position "c"
31027 hor_pos "c"
31028 has_inner_box 0
31029 inner_pos "c"
31030 use_parbox 0
31031 use_makebox 0
31032 width "1in"
31033 special "width"
31034 height "1in"
31035 height_special "totalheight"
31036 status collapsed
31037
31038 \begin_layout Plain Layout
31039 with rotated
31040 \end_layout
31041
31042 \end_inset
31043
31044
31045 \begin_inset ERT
31046 status collapsed
31047
31048 \begin_layout Plain Layout
31049
31050 }
31051 \end_layout
31052
31053 \end_inset
31054
31055  framed text 
31056 \begin_inset ERT
31057 status collapsed
31058
31059 \begin_layout Plain Layout
31060
31061
31062 \backslash
31063 rotatebox[origin=lb]{60}{
31064 \end_layout
31065
31066 \end_inset
31067
31068
31069 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31070 \end_inset
31071
31072
31073 \begin_inset ERT
31074 status collapsed
31075
31076 \begin_layout Plain Layout
31077
31078 }
31079 \end_layout
31080
31081 \end_inset
31082
31083  and a formula.
31084 \end_layout
31085
31086 \begin_layout Standard
31087 or an image or table:
31088 \end_layout
31089
31090 \begin_layout Standard
31091 This is a line
31092 \begin_inset ERT
31093 status collapsed
31094
31095 \begin_layout Plain Layout
31096
31097
31098 \backslash
31099 rotatebox[origin=lb]{90}{
31100 \end_layout
31101
31102 \end_inset
31103
31104
31105 \begin_inset Graphics
31106         filename clipart/platypus.eps
31107         lyxscale 50
31108         width 25col%
31109
31110 \end_inset
31111
31112
31113 \begin_inset ERT
31114 status collapsed
31115
31116 \begin_layout Plain Layout
31117
31118 }
31119 \end_layout
31120
31121 \end_inset
31122
31123  with a rotated image 
31124 \begin_inset ERT
31125 status collapsed
31126
31127 \begin_layout Plain Layout
31128
31129
31130 \backslash
31131 rotatebox[origin=l]{-90}{
31132 \end_layout
31133
31134 \end_inset
31135
31136
31137 \begin_inset Tabular
31138 <lyxtabular version="3" rows="2" columns="2">
31139 <features tabularvalignment="middle">
31140 <column alignment="center" valignment="top" width="0">
31141 <column alignment="center" valignment="top" width="0">
31142 <row>
31143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31144 \begin_inset Text
31145
31146 \begin_layout Plain Layout
31147 q
31148 \end_layout
31149
31150 \end_inset
31151 </cell>
31152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31153 \begin_inset Text
31154
31155 \begin_layout Plain Layout
31156 w
31157 \end_layout
31158
31159 \end_inset
31160 </cell>
31161 </row>
31162 <row>
31163 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31164 \begin_inset Text
31165
31166 \begin_layout Plain Layout
31167 e
31168 \end_layout
31169
31170 \end_inset
31171 </cell>
31172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31173 \begin_inset Text
31174
31175 \begin_layout Plain Layout
31176 r
31177 \end_layout
31178
31179 \end_inset
31180 </cell>
31181 </row>
31182 </lyxtabular>
31183
31184 \end_inset
31185
31186
31187 \begin_inset ERT
31188 status collapsed
31189
31190 \begin_layout Plain Layout
31191
31192 }
31193 \end_layout
31194
31195 \end_inset
31196
31197  and table.
31198 \end_layout
31199
31200 \begin_layout Subsection
31201 Scaled Boxes
31202 \begin_inset Index idx
31203 status collapsed
31204
31205 \begin_layout Plain Layout
31206 Boxes ! scaled
31207 \end_layout
31208
31209 \end_inset
31210
31211
31212 \begin_inset Index idx
31213 status collapsed
31214
31215 \begin_layout Plain Layout
31216 Scaled material
31217 \end_layout
31218
31219 \end_inset
31220
31221
31222 \begin_inset Index idx
31223 status collapsed
31224
31225 \begin_layout Plain Layout
31226 Figures ! scaled
31227 \end_layout
31228
31229 \end_inset
31230
31231
31232 \begin_inset Index idx
31233 status collapsed
31234
31235 \begin_layout Plain Layout
31236 Table Customization ! Scaling
31237 \end_layout
31238
31239 \end_inset
31240
31241
31242 \end_layout
31243
31244 \begin_layout Standard
31245 To scale material the commands 
31246 \series bold
31247
31248 \backslash
31249 scalebox
31250 \series default
31251  and 
31252 \series bold
31253
31254 \backslash
31255 resizebox
31256 \series default
31257  can be used as TeX-Code.
31258 \end_layout
31259
31260 \begin_layout Standard
31261
31262 \series bold
31263
31264 \backslash
31265 scalebox
31266 \series default
31267  is used with the following scheme:
31268 \end_layout
31269
31270 \begin_layout Standard
31271
31272 \series bold
31273
31274 \backslash
31275 scalebox{horizontal}[vertical]{box content}
31276 \end_layout
31277
31278 \begin_layout Standard
31279 Horizontal and vertical are the corresponding scaling factors.
31280  If no vertical scaling factor is given, the horizontal factor will also
31281  be used as the vertical one.
31282 \end_layout
31283
31284 \begin_layout Standard
31285 The command 
31286 \series bold
31287
31288 \backslash
31289 scalebox{2}{Hello}
31290 \series default
31291  creates for example a double size 
31292 \begin_inset ERT
31293 status collapsed
31294
31295 \begin_layout Plain Layout
31296
31297
31298 \backslash
31299 scalebox{2}{
31300 \end_layout
31301
31302 \end_inset
31303
31304 Hello
31305 \begin_inset ERT
31306 status collapsed
31307
31308 \begin_layout Plain Layout
31309
31310 }
31311 \end_layout
31312
31313 \end_inset
31314
31315 , compared with the document text size.
31316 \end_layout
31317
31318 \begin_layout Standard
31319
31320 \series bold
31321
31322 \backslash
31323 scalebox{2}[1]{Hello}
31324 \series default
31325  on the other hand distorts the 
31326 \begin_inset ERT
31327 status collapsed
31328
31329 \begin_layout Plain Layout
31330
31331
31332 \backslash
31333 scalebox{2}[1]{
31334 \end_layout
31335
31336 \end_inset
31337
31338 Hello
31339 \begin_inset ERT
31340 status collapsed
31341
31342 \begin_layout Plain Layout
31343
31344 }
31345 \end_layout
31346
31347 \end_inset
31348
31349 .
31350 \end_layout
31351
31352 \begin_layout Standard
31353 If the scaling factor is negative, the box content will be mirrored.
31354  Therefore the command 
31355 \series bold
31356
31357 \backslash
31358 scalebox{-1}[1]{Hello}
31359 \series default
31360  can be used to create mirror writing: 
31361 \begin_inset ERT
31362 status collapsed
31363
31364 \begin_layout Plain Layout
31365
31366
31367 \backslash
31368 scalebox{-1}[1]{
31369 \end_layout
31370
31371 \end_inset
31372
31373 Hello
31374 \begin_inset ERT
31375 status collapsed
31376
31377 \begin_layout Plain Layout
31378
31379 }
31380 \end_layout
31381
31382 \end_inset
31383
31384
31385 \end_layout
31386
31387 \begin_layout Standard
31388
31389 \series bold
31390
31391 \backslash
31392 scalebox{1}[-1]{Hello}
31393 \series default
31394  reflects the 
31395 \begin_inset ERT
31396 status collapsed
31397
31398 \begin_layout Plain Layout
31399
31400
31401 \backslash
31402 scalebox{1}[-1]{
31403 \end_layout
31404
31405 \end_inset
31406
31407 Hello
31408 \begin_inset ERT
31409 status collapsed
31410
31411 \begin_layout Plain Layout
31412
31413 }
31414 \end_layout
31415
31416 \end_inset
31417
31418  at the base line.
31419 \end_layout
31420
31421 \begin_layout Standard
31422 Equivalent to 
31423 \series bold
31424
31425 \backslash
31426 scalebox{-1}[1]{box content}
31427 \series default
31428  there exists the command
31429 \begin_inset Newline newline
31430 \end_inset
31431
31432
31433 \series bold
31434
31435 \backslash
31436 reflectbox{box content}
31437 \series default
31438 .
31439 \end_layout
31440
31441 \begin_layout Standard
31442 \begin_inset VSpace bigskip
31443 \end_inset
31444
31445 The command 
31446 \series bold
31447
31448 \backslash
31449 resizebox
31450 \series default
31451  is used to scale the box to a defined width and height.
31452  The command scheme is:
31453 \end_layout
31454
31455 \begin_layout Standard
31456
31457 \series bold
31458
31459 \backslash
31460 resizebox{width}{height}{box content}
31461 \end_layout
31462
31463 \begin_layout Standard
31464 If one of the two command arguments given is an exclamation mark 
31465 \series bold
31466 !
31467 \series default
31468 , the size is set so that the aspect ratio of the box content is kept.
31469 \end_layout
31470
31471 \begin_layout Standard
31472 The command 
31473 \series bold
31474
31475 \backslash
31476 resizebox{2cm}{1cm}{Hello}
31477 \series default
31478  produces: 
31479 \begin_inset ERT
31480 status collapsed
31481
31482 \begin_layout Plain Layout
31483
31484
31485 \backslash
31486 resizebox{2cm}{1cm}{
31487 \end_layout
31488
31489 \end_inset
31490
31491 Hello
31492 \begin_inset ERT
31493 status collapsed
31494
31495 \begin_layout Plain Layout
31496
31497 }
31498 \end_layout
31499
31500 \end_inset
31501
31502
31503 \begin_inset Newline newline
31504 \end_inset
31505
31506 The command 
31507 \series bold
31508
31509 \backslash
31510 resizebox{2cm}{!}{Hello}
31511 \series default
31512  produces: 
31513 \begin_inset ERT
31514 status collapsed
31515
31516 \begin_layout Plain Layout
31517
31518
31519 \backslash
31520 resizebox{2cm}{!}{
31521 \end_layout
31522
31523 \end_inset
31524
31525 Hello
31526 \begin_inset ERT
31527 status collapsed
31528
31529 \begin_layout Plain Layout
31530
31531 }
31532 \end_layout
31533
31534 \end_inset
31535
31536
31537 \end_layout
31538
31539 \begin_layout Standard
31540 \begin_inset VSpace bigskip
31541 \end_inset
31542
31543
31544 \begin_inset Note Greyedout
31545 status open
31546
31547 \begin_layout Plain Layout
31548
31549 \series bold
31550 Note:
31551 \series default
31552  When arguments of 
31553 \series bold
31554
31555 \backslash
31556 scalebox
31557 \series default
31558  or 
31559 \series bold
31560
31561 \backslash
31562 resizebox
31563 \series default
31564  are set to zero, no LaTeX-errors occur when exporting the document but
31565  the exported files can not or only partly be displayed.
31566 \end_layout
31567
31568 \end_inset
31569
31570
31571 \end_layout
31572
31573 \begin_layout Standard
31574 \begin_inset VSpace bigskip
31575 \end_inset
31576
31577
31578 \end_layout
31579
31580 \begin_layout Standard
31581 The boxes can be combined in any order.
31582  E.
31583 \begin_inset space \thinspace{}
31584 \end_inset
31585
31586 g.
31587 \begin_inset space \space{}
31588 \end_inset
31589
31590 the command
31591 \begin_inset Newline newline
31592 \end_inset
31593
31594
31595 \series bold
31596
31597 \backslash
31598 rotatebox[origin=c]{-45}{
31599 \backslash
31600 resizebox{2cm}{!}{
31601 \backslash
31602 reflectbox{Hello}}}
31603 \begin_inset Newline newline
31604 \end_inset
31605
31606
31607 \series default
31608 produces:
31609 \end_layout
31610
31611 \begin_layout Standard
31612 \align center
31613 \begin_inset ERT
31614 status collapsed
31615
31616 \begin_layout Plain Layout
31617
31618
31619 \backslash
31620 rotatebox[origin=c]{-45}{
31621 \backslash
31622 resizebox{2cm}{!}{
31623 \backslash
31624 reflectbox{
31625 \end_layout
31626
31627 \end_inset
31628
31629 Hello
31630 \begin_inset ERT
31631 status collapsed
31632
31633 \begin_layout Plain Layout
31634
31635 }}}
31636 \end_layout
31637
31638 \end_inset
31639
31640
31641 \end_layout
31642
31643 \begin_layout Standard
31644 \noindent
31645 Images, tables, and inline formulas are allowed as box content:
31646 \end_layout
31647
31648 \begin_layout Standard
31649 \align center
31650 \begin_inset ERT
31651 status collapsed
31652
31653 \begin_layout Plain Layout
31654
31655
31656 \backslash
31657 rotatebox[origin=c]{-30}{
31658 \backslash
31659 resizebox{2cm}{!}{
31660 \backslash
31661 reflectbox{
31662 \end_layout
31663
31664 \end_inset
31665
31666
31667 \begin_inset Graphics
31668         filename clipart/platypus.eps
31669         lyxscale 50
31670         width 25col%
31671
31672 \end_inset
31673
31674
31675 \begin_inset ERT
31676 status collapsed
31677
31678 \begin_layout Plain Layout
31679
31680 }}}
31681 \end_layout
31682
31683 \end_inset
31684
31685
31686 \begin_inset ERT
31687 status collapsed
31688
31689 \begin_layout Plain Layout
31690
31691
31692 \backslash
31693 rotatebox[origin=c]{-45}{
31694 \backslash
31695 resizebox{2cm}{!}{
31696 \backslash
31697 reflectbox{
31698 \end_layout
31699
31700 \end_inset
31701
31702
31703 \begin_inset Tabular
31704 <lyxtabular version="3" rows="2" columns="2">
31705 <features tabularvalignment="middle">
31706 <column alignment="center" valignment="top" width="0">
31707 <column alignment="center" valignment="top" width="0">
31708 <row>
31709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31710 \begin_inset Text
31711
31712 \begin_layout Plain Layout
31713 q
31714 \end_layout
31715
31716 \end_inset
31717 </cell>
31718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31719 \begin_inset Text
31720
31721 \begin_layout Plain Layout
31722 w
31723 \end_layout
31724
31725 \end_inset
31726 </cell>
31727 </row>
31728 <row>
31729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31730 \begin_inset Text
31731
31732 \begin_layout Plain Layout
31733 e
31734 \end_layout
31735
31736 \end_inset
31737 </cell>
31738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31739 \begin_inset Text
31740
31741 \begin_layout Plain Layout
31742 r
31743 \end_layout
31744
31745 \end_inset
31746 </cell>
31747 </row>
31748 </lyxtabular>
31749
31750 \end_inset
31751
31752
31753 \begin_inset ERT
31754 status collapsed
31755
31756 \begin_layout Plain Layout
31757
31758 }}}
31759 \end_layout
31760
31761 \end_inset
31762
31763
31764 \begin_inset ERT
31765 status collapsed
31766
31767 \begin_layout Plain Layout
31768
31769
31770 \backslash
31771 rotatebox[origin=c]{-45}{
31772 \backslash
31773 resizebox{2cm}{!}{
31774 \backslash
31775 reflectbox{
31776 \end_layout
31777
31778 \end_inset
31779
31780
31781 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31782 \end_inset
31783
31784
31785 \begin_inset ERT
31786 status collapsed
31787
31788 \begin_layout Plain Layout
31789
31790 }}}
31791 \end_layout
31792
31793 \end_inset
31794
31795
31796 \end_layout
31797
31798 \begin_layout Standard
31799 When the global formula style 
31800 \series bold
31801 fleqn
31802 \series default
31803  is used in the document
31804 \begin_inset Foot
31805 status collapsed
31806
31807 \begin_layout Plain Layout
31808 When 
31809 \begin_inset Quotes eld
31810 \end_inset
31811
31812 fleqn
31813 \begin_inset Quotes erd
31814 \end_inset
31815
31816  is added to the document class options.
31817 \end_layout
31818
31819 \end_inset
31820
31821 , display style formulas can also be scaled.
31822 \end_layout
31823
31824 \begin_layout Chapter
31825 Objects Surrounded by Text
31826 \begin_inset Index idx
31827 status collapsed
31828
31829 \begin_layout Plain Layout
31830 Surrounded by text
31831 \end_layout
31832
31833 \end_inset
31834
31835
31836 \end_layout
31837
31838 \begin_layout Section
31839 Wrap Floats
31840 \begin_inset CommandInset label
31841 LatexCommand label
31842 name "sec:Wrap-Floats"
31843
31844 \end_inset
31845
31846
31847 \begin_inset Index idx
31848 status collapsed
31849
31850 \begin_layout Plain Layout
31851 Floats ! Wrap Floats
31852 \end_layout
31853
31854 \end_inset
31855
31856
31857 \begin_inset Index idx
31858 status collapsed
31859
31860 \begin_layout Plain Layout
31861 Surrounded by text ! Wrap Floats
31862 \end_layout
31863
31864 \end_inset
31865
31866
31867 \end_layout
31868
31869 \begin_layout Standard
31870 \begin_inset Wrap figure
31871 lines 0
31872 placement l
31873 overhang 1cm
31874 width "40col%"
31875 status open
31876
31877 \begin_layout Plain Layout
31878 \begin_inset Graphics
31879         filename clipart/mobius.eps
31880         width 40col%
31881         scaleBeforeRotation
31882         rotateOrigin center
31883
31884 \end_inset
31885
31886
31887 \end_layout
31888
31889 \begin_layout Plain Layout
31890 \begin_inset Caption
31891
31892 \begin_layout Plain Layout
31893 \begin_inset CommandInset label
31894 LatexCommand label
31895 name "fig:This-is-a"
31896
31897 \end_inset
31898
31899 This is a figure wrap float.
31900 \end_layout
31901
31902 \end_inset
31903
31904
31905 \end_layout
31906
31907 \end_inset
31908
31909  This float type is used if you want to wrap text around a figure or table
31910  so that it only occupies some fraction of the column width.
31911  It can be inserted using the menu 
31912 \family sans
31913 Insert\SpecialChar \menuseparator
31914 Floats\SpecialChar \menuseparator
31915 Figure
31916 \begin_inset space ~
31917 \end_inset
31918
31919 Wrap
31920 \begin_inset space ~
31921 \end_inset
31922
31923 Float
31924 \family default
31925  or 
31926 \family sans
31927 Table
31928 \begin_inset space ~
31929 \end_inset
31930
31931 Wrap
31932 \begin_inset space ~
31933 \end_inset
31934
31935 Float
31936 \family default
31937  if the LaTeX-package 
31938 \series bold
31939 wrapfig
31940 \series default
31941
31942 \begin_inset Index idx
31943 status collapsed
31944
31945 \begin_layout Plain Layout
31946 LaTeX-packages ! wrapfig
31947 \begin_inset ERT
31948 status collapsed
31949
31950 \begin_layout Plain Layout
31951
31952
31953 \backslash
31954 vspace{4mm}
31955 \end_layout
31956
31957 \end_inset
31958
31959
31960 \end_layout
31961
31962 \end_inset
31963
31964  is installed.
31965 \begin_inset Foot
31966 status collapsed
31967
31968 \begin_layout Plain Layout
31969 Installing a LaTeX-package is explained it in the 
31970 \emph on
31971 LaTeX
31972 \begin_inset space ~
31973 \end_inset
31974
31975 Configuration
31976 \emph default
31977  manual.
31978 \end_layout
31979
31980 \end_inset
31981
31982  The settings of the float can be modified by right-clicking on the float
31983  box.
31984  The mandatory settings are the float 
31985 \family sans
31986 Placement
31987 \family default
31988  and its 
31989 \family sans
31990 Width
31991 \family default
31992 .
31993  Optional are the 
31994 \family sans
31995 Overhang
31996 \family default
31997  that specifies how much the float is set into the paragraph
31998 \begin_inset space \thinspace{}
31999 \end_inset
32000
32001 /
32002 \begin_inset space \thinspace{}
32003 \end_inset
32004
32005 page margin, and the 
32006 \family sans
32007 Line
32008 \begin_inset space ~
32009 \end_inset
32010
32011 span
32012 \family default
32013  that specifies how many text lines the float will approximately need.
32014  The line span is often hard to approximate; so it is better only to use
32015  it when you encounter float placement problems.
32016  You can furthermore decide if LaTeX is allowed to let the float float within
32017  the paragraph or to surrounding paragraphs.
32018  Figure
32019 \begin_inset space ~
32020 \end_inset
32021
32022
32023 \begin_inset CommandInset ref
32024 LatexCommand ref
32025 reference "fig:This-is-a"
32026
32027 \end_inset
32028
32029  is an example text wrap float with a width of 40
32030 \begin_inset space \thinspace{}
32031 \end_inset
32032
32033 col%, 1
32034 \begin_inset space \thinspace{}
32035 \end_inset
32036
32037 cm overhang, set to the left.
32038 \end_layout
32039
32040 \begin_layout Standard
32041 \begin_inset Note Greyedout
32042 status open
32043
32044 \begin_layout Plain Layout
32045
32046 \series bold
32047 Note:
32048 \series default
32049  Text
32050 \begin_inset space ~
32051 \end_inset
32052
32053 wrap float floats are fragile! E.
32054 \begin_inset space \thinspace{}
32055 \end_inset
32056
32057 g.
32058 \begin_inset space \space{}
32059 \end_inset
32060
32061 having a figure too close to the bottom of the page can mess things up in
32062  such a way that the float does not appear in the output or that it is placed
32063  over some other text.
32064 \end_layout
32065
32066 \end_inset
32067
32068
32069 \end_layout
32070
32071 \begin_layout Standard
32072 In general, the following applies for wrap floats:
32073 \end_layout
32074
32075 \begin_layout Itemize
32076 They should not be placed in paragraphs that run over a page break.
32077  That means that wrap floats are better inserted in their exact place when
32078  the document is almost finished and you are able to estimate where page
32079  breaks will appear.
32080 \end_layout
32081
32082 \begin_layout Itemize
32083 They should either be placed in their own paragraph before the paragraph
32084  where they should wrap into or within a paragraph.
32085 \end_layout
32086
32087 \begin_layout Itemize
32088 In consecutive paragraphs they may cause troubles, so ensure that there
32089  is a text paragraph between them as separator.
32090 \end_layout
32091
32092 \begin_layout Itemize
32093 They are not allowed in section headings or tables.
32094 \end_layout
32095
32096 \begin_layout Itemize
32097 Their numbering and referencing works as described in chap.
32098 \begin_inset space \thinspace{}
32099 \end_inset
32100
32101
32102 \begin_inset CommandInset ref
32103 LatexCommand ref
32104 reference "chap:Floats"
32105
32106 \end_inset
32107
32108 .
32109 \end_layout
32110
32111 \begin_layout Section
32112 Surrounded Fixed Objects
32113 \begin_inset Index idx
32114 status collapsed
32115
32116 \begin_layout Plain Layout
32117 Surrounded by text ! Fixed objects
32118 \end_layout
32119
32120 \end_inset
32121
32122
32123 \end_layout
32124
32125 \begin_layout Standard
32126 The wrap floats described in sec.
32127 \begin_inset space \thinspace{}
32128 \end_inset
32129
32130
32131 \begin_inset CommandInset ref
32132 LatexCommand ref
32133 reference "sec:Wrap-Floats"
32134
32135 \end_inset
32136
32137  have these positions in the paragraph:
32138 \end_layout
32139
32140 \begin_layout Standard
32141 \noindent
32142 \align center
32143 \begin_inset Tabular
32144 <lyxtabular version="3" rows="2" columns="2">
32145 <features tabularvalignment="middle">
32146 <column alignment="center" valignment="top" width="0">
32147 <column alignment="center" valignment="top" width="0">
32148 <row>
32149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32150 \begin_inset Text
32151
32152 \begin_layout Plain Layout
32153 \begin_inset Graphics
32154         filename ../images/dialog-show-new-inset_graphics.png
32155         scale 70
32156         scaleBeforeRotation
32157         BoundingBox 0bp 6bp 22bp 22bp
32158
32159 \end_inset
32160
32161
32162 \end_layout
32163
32164 \end_inset
32165 </cell>
32166 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32167 \begin_inset Text
32168
32169 \begin_layout Plain Layout
32170 text
32171 \end_layout
32172
32173 \end_inset
32174 </cell>
32175 </row>
32176 <row>
32177 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32178 \begin_inset Text
32179
32180 \begin_layout Plain Layout
32181 text
32182 \end_layout
32183
32184 \end_inset
32185 </cell>
32186 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32187 \begin_inset Text
32188
32189 \begin_layout Plain Layout
32190 text
32191 \end_layout
32192
32193 \end_inset
32194 </cell>
32195 </row>
32196 </lyxtabular>
32197
32198 \end_inset
32199
32200  or 
32201 \begin_inset Tabular
32202 <lyxtabular version="3" rows="2" columns="2">
32203 <features tabularvalignment="middle">
32204 <column alignment="center" valignment="top" width="0">
32205 <column alignment="center" valignment="top" width="0">
32206 <row>
32207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32208 \begin_inset Text
32209
32210 \begin_layout Plain Layout
32211 text
32212 \end_layout
32213
32214 \end_inset
32215 </cell>
32216 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32217 \begin_inset Text
32218
32219 \begin_layout Plain Layout
32220 \begin_inset Graphics
32221         filename ../images/dialog-show-new-inset_graphics.png
32222         scale 70
32223         scaleBeforeRotation
32224         BoundingBox 0bp 6bp 22bp 22bp
32225
32226 \end_inset
32227
32228
32229 \end_layout
32230
32231 \end_inset
32232 </cell>
32233 </row>
32234 <row>
32235 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32236 \begin_inset Text
32237
32238 \begin_layout Plain Layout
32239 text
32240 \end_layout
32241
32242 \end_inset
32243 </cell>
32244 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32245 \begin_inset Text
32246
32247 \begin_layout Plain Layout
32248 text
32249 \end_layout
32250
32251 \end_inset
32252 </cell>
32253 </row>
32254 </lyxtabular>
32255
32256 \end_inset
32257
32258
32259 \end_layout
32260
32261 \begin_layout Standard
32262 To get an object exactly at the position where it is inserted, for example
32263  to get one of these positions:
32264 \begin_inset VSpace defskip
32265 \end_inset
32266
32267
32268 \end_layout
32269
32270 \begin_layout Standard
32271 \noindent
32272 \align center
32273 \begin_inset Tabular
32274 <lyxtabular version="3" rows="2" columns="2">
32275 <features tabularvalignment="middle">
32276 <column alignment="center" valignment="top" width="0">
32277 <column alignment="center" valignment="top" width="0">
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 text
32284 \end_layout
32285
32286 \end_inset
32287 </cell>
32288 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32289 \begin_inset Text
32290
32291 \begin_layout Plain Layout
32292 text
32293 \end_layout
32294
32295 \end_inset
32296 </cell>
32297 </row>
32298 <row>
32299 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32300 \begin_inset Text
32301
32302 \begin_layout Plain Layout
32303 \begin_inset Graphics
32304         filename ../images/dialog-show-new-inset_graphics.png
32305         scale 70
32306         scaleBeforeRotation
32307         BoundingBox 0bp 6bp 22bp 22bp
32308
32309 \end_inset
32310
32311
32312 \end_layout
32313
32314 \end_inset
32315 </cell>
32316 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32317 \begin_inset Text
32318
32319 \begin_layout Plain Layout
32320 text
32321 \end_layout
32322
32323 \end_inset
32324 </cell>
32325 </row>
32326 </lyxtabular>
32327
32328 \end_inset
32329
32330  
32331 \begin_inset Tabular
32332 <lyxtabular version="3" rows="2" columns="2">
32333 <features tabularvalignment="middle">
32334 <column alignment="center" valignment="top" width="0">
32335 <column alignment="center" valignment="top" width="0">
32336 <row>
32337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32338 \begin_inset Text
32339
32340 \begin_layout Plain Layout
32341 text
32342 \end_layout
32343
32344 \end_inset
32345 </cell>
32346 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32347 \begin_inset Text
32348
32349 \begin_layout Plain Layout
32350 text
32351 \end_layout
32352
32353 \end_inset
32354 </cell>
32355 </row>
32356 <row>
32357 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32358 \begin_inset Text
32359
32360 \begin_layout Plain Layout
32361 text
32362 \end_layout
32363
32364 \end_inset
32365 </cell>
32366 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32367 \begin_inset Text
32368
32369 \begin_layout Plain Layout
32370 \begin_inset Graphics
32371         filename ../images/dialog-show-new-inset_graphics.png
32372         scale 70
32373         scaleBeforeRotation
32374         BoundingBox 0bp 6bp 22bp 22bp
32375
32376 \end_inset
32377
32378
32379 \end_layout
32380
32381 \end_inset
32382 </cell>
32383 </row>
32384 </lyxtabular>
32385
32386 \end_inset
32387
32388  
32389 \begin_inset Tabular
32390 <lyxtabular version="3" rows="2" columns="3">
32391 <features tabularvalignment="middle">
32392 <column alignment="center" valignment="top" width="0">
32393 <column alignment="center" valignment="top" width="0">
32394 <column alignment="center" valignment="top" width="0">
32395 <row>
32396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32397 \begin_inset Text
32398
32399 \begin_layout Plain Layout
32400 text
32401 \end_layout
32402
32403 \end_inset
32404 </cell>
32405 <cell alignment="center" valignment="top" topline="true" usebox="none">
32406 \begin_inset Text
32407
32408 \begin_layout Plain Layout
32409 \begin_inset Graphics
32410         filename ../images/dialog-show-new-inset_graphics.png
32411         scale 70
32412         scaleBeforeRotation
32413         BoundingBox 0bp 6bp 22bp 22bp
32414
32415 \end_inset
32416
32417
32418 \end_layout
32419
32420 \end_inset
32421 </cell>
32422 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32423 \begin_inset Text
32424
32425 \begin_layout Plain Layout
32426 text
32427 \end_layout
32428
32429 \end_inset
32430 </cell>
32431 </row>
32432 <row>
32433 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32434 \begin_inset Text
32435
32436 \begin_layout Plain Layout
32437 text
32438 \end_layout
32439
32440 \end_inset
32441 </cell>
32442 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32443 \begin_inset Text
32444
32445 \begin_layout Plain Layout
32446 text
32447 \end_layout
32448
32449 \end_inset
32450 </cell>
32451 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32452 \begin_inset Text
32453
32454 \begin_layout Plain Layout
32455 text
32456 \end_layout
32457
32458 \end_inset
32459 </cell>
32460 </row>
32461 </lyxtabular>
32462
32463 \end_inset
32464
32465  
32466 \begin_inset Tabular
32467 <lyxtabular version="3" rows="2" columns="3">
32468 <features tabularvalignment="middle">
32469 <column alignment="center" valignment="top" width="0">
32470 <column alignment="center" valignment="top" width="0">
32471 <column alignment="center" valignment="top" width="0">
32472 <row>
32473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32474 \begin_inset Text
32475
32476 \begin_layout Plain Layout
32477 text
32478 \end_layout
32479
32480 \end_inset
32481 </cell>
32482 <cell alignment="center" valignment="top" topline="true" usebox="none">
32483 \begin_inset Text
32484
32485 \begin_layout Plain Layout
32486 text
32487 \end_layout
32488
32489 \end_inset
32490 </cell>
32491 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32492 \begin_inset Text
32493
32494 \begin_layout Plain Layout
32495 text
32496 \end_layout
32497
32498 \end_inset
32499 </cell>
32500 </row>
32501 <row>
32502 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32503 \begin_inset Text
32504
32505 \begin_layout Plain Layout
32506 text
32507 \end_layout
32508
32509 \end_inset
32510 </cell>
32511 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32512 \begin_inset Text
32513
32514 \begin_layout Plain Layout
32515 \begin_inset Graphics
32516         filename ../images/dialog-show-new-inset_graphics.png
32517         scale 70
32518         scaleBeforeRotation
32519         BoundingBox 0bp 6bp 22bp 22bp
32520
32521 \end_inset
32522
32523
32524 \end_layout
32525
32526 \end_inset
32527 </cell>
32528 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32529 \begin_inset Text
32530
32531 \begin_layout Plain Layout
32532 text
32533 \end_layout
32534
32535 \end_inset
32536 </cell>
32537 </row>
32538 </lyxtabular>
32539
32540 \end_inset
32541
32542
32543 \end_layout
32544
32545 \begin_layout Standard
32546 \noindent
32547 \align center
32548 \begin_inset Tabular
32549 <lyxtabular version="3" rows="3" columns="2">
32550 <features tabularvalignment="middle">
32551 <column alignment="center" valignment="top" width="0">
32552 <column alignment="center" valignment="top" width="0">
32553 <row>
32554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32555 \begin_inset Text
32556
32557 \begin_layout Plain Layout
32558 text
32559 \end_layout
32560
32561 \end_inset
32562 </cell>
32563 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32564 \begin_inset Text
32565
32566 \begin_layout Plain Layout
32567 text
32568 \end_layout
32569
32570 \end_inset
32571 </cell>
32572 </row>
32573 <row>
32574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32575 \begin_inset Text
32576
32577 \begin_layout Plain Layout
32578 \begin_inset Graphics
32579         filename ../images/dialog-show-new-inset_graphics.png
32580         scale 70
32581         scaleBeforeRotation
32582         BoundingBox 0bp 6bp 22bp 22bp
32583
32584 \end_inset
32585
32586
32587 \end_layout
32588
32589 \end_inset
32590 </cell>
32591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32592 \begin_inset Text
32593
32594 \begin_layout Plain Layout
32595 text
32596 \end_layout
32597
32598 \end_inset
32599 </cell>
32600 </row>
32601 <row>
32602 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32603 \begin_inset Text
32604
32605 \begin_layout Plain Layout
32606 text
32607 \end_layout
32608
32609 \end_inset
32610 </cell>
32611 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32612 \begin_inset Text
32613
32614 \begin_layout Plain Layout
32615 text
32616 \end_layout
32617
32618 \end_inset
32619 </cell>
32620 </row>
32621 </lyxtabular>
32622
32623 \end_inset
32624
32625  
32626 \begin_inset Tabular
32627 <lyxtabular version="3" rows="3" columns="3">
32628 <features tabularvalignment="middle">
32629 <column alignment="center" valignment="top" width="0">
32630 <column alignment="center" valignment="top" width="0">
32631 <column alignment="center" valignment="top" width="0">
32632 <row>
32633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32634 \begin_inset Text
32635
32636 \begin_layout Plain Layout
32637 text
32638 \end_layout
32639
32640 \end_inset
32641 </cell>
32642 <cell alignment="center" valignment="top" topline="true" usebox="none">
32643 \begin_inset Text
32644
32645 \begin_layout Plain Layout
32646 text
32647 \end_layout
32648
32649 \end_inset
32650 </cell>
32651 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32652 \begin_inset Text
32653
32654 \begin_layout Plain Layout
32655 text
32656 \end_layout
32657
32658 \end_inset
32659 </cell>
32660 </row>
32661 <row>
32662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32663 \begin_inset Text
32664
32665 \begin_layout Plain Layout
32666 text
32667 \end_layout
32668
32669 \end_inset
32670 </cell>
32671 <cell alignment="center" valignment="top" usebox="none">
32672 \begin_inset Text
32673
32674 \begin_layout Plain Layout
32675 \begin_inset Graphics
32676         filename ../images/dialog-show-new-inset_graphics.png
32677         scale 70
32678         scaleBeforeRotation
32679         BoundingBox 0bp 6bp 22bp 22bp
32680
32681 \end_inset
32682
32683
32684 \end_layout
32685
32686 \end_inset
32687 </cell>
32688 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32689 \begin_inset Text
32690
32691 \begin_layout Plain Layout
32692 text
32693 \end_layout
32694
32695 \end_inset
32696 </cell>
32697 </row>
32698 <row>
32699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32700 \begin_inset Text
32701
32702 \begin_layout Plain Layout
32703 text
32704 \end_layout
32705
32706 \end_inset
32707 </cell>
32708 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
32709 \begin_inset Text
32710
32711 \begin_layout Plain Layout
32712 text
32713 \end_layout
32714
32715 \end_inset
32716 </cell>
32717 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32718 \begin_inset Text
32719
32720 \begin_layout Plain Layout
32721 text
32722 \end_layout
32723
32724 \end_inset
32725 </cell>
32726 </row>
32727 </lyxtabular>
32728
32729 \end_inset
32730
32731  
32732 \begin_inset Tabular
32733 <lyxtabular version="3" rows="3" columns="2">
32734 <features tabularvalignment="middle">
32735 <column alignment="center" valignment="top" width="0">
32736 <column alignment="center" valignment="top" width="0">
32737 <row>
32738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32739 \begin_inset Text
32740
32741 \begin_layout Plain Layout
32742 text
32743 \end_layout
32744
32745 \end_inset
32746 </cell>
32747 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
32748 \begin_inset Text
32749
32750 \begin_layout Plain Layout
32751 text
32752 \end_layout
32753
32754 \end_inset
32755 </cell>
32756 </row>
32757 <row>
32758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
32759 \begin_inset Text
32760
32761 \begin_layout Plain Layout
32762 text
32763 \end_layout
32764
32765 \end_inset
32766 </cell>
32767 <cell alignment="center" valignment="top" rightline="true" usebox="none">
32768 \begin_inset Text
32769
32770 \begin_layout Plain Layout
32771 \begin_inset Graphics
32772         filename ../images/dialog-show-new-inset_graphics.png
32773         scale 70
32774         scaleBeforeRotation
32775         BoundingBox 0bp 6bp 22bp 22bp
32776
32777 \end_inset
32778
32779
32780 \end_layout
32781
32782 \end_inset
32783 </cell>
32784 </row>
32785 <row>
32786 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
32787 \begin_inset Text
32788
32789 \begin_layout Plain Layout
32790 text
32791 \end_layout
32792
32793 \end_inset
32794 </cell>
32795 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
32796 \begin_inset Text
32797
32798 \begin_layout Plain Layout
32799 text
32800 \end_layout
32801
32802 \end_inset
32803 </cell>
32804 </row>
32805 </lyxtabular>
32806
32807 \end_inset
32808
32809
32810 \end_layout
32811
32812 \begin_layout Standard
32813 \noindent
32814 you can use the LaTeX-package 
32815 \series bold
32816 picinpar
32817 \series default
32818
32819 \begin_inset Index idx
32820 status collapsed
32821
32822 \begin_layout Plain Layout
32823 LaTeX-packages ! picinpar
32824 \end_layout
32825
32826 \end_inset
32827
32828 .
32829  Here is an example:
32830 \end_layout
32831
32832 \begin_layout Standard
32833 \begin_inset ERT
32834 status collapsed
32835
32836 \begin_layout Plain Layout
32837
32838
32839 \backslash
32840 ifpicinpar
32841 \end_layout
32842
32843 \end_inset
32844
32845
32846 \begin_inset Note Note
32847 status open
32848
32849 \begin_layout Plain Layout
32850 The following section will only be displayed when the LaTeX-package 
32851 \series bold
32852 picinpar
32853 \series default
32854  is installed.
32855 \end_layout
32856
32857 \end_inset
32858
32859
32860 \end_layout
32861
32862 \begin_layout Standard
32863 \begin_inset ERT
32864 status collapsed
32865
32866 \begin_layout Plain Layout
32867
32868
32869 \backslash
32870 begin{window}[2,c,{
32871 \end_layout
32872
32873 \end_inset
32874
32875
32876 \begin_inset Graphics
32877         filename clipart/mobius.eps
32878         lyxscale 60
32879         width 40col%
32880         scaleBeforeRotation
32881         rotateOrigin center
32882
32883 \end_inset
32884
32885
32886 \begin_inset ERT
32887 status collapsed
32888
32889 \begin_layout Plain Layout
32890
32891 },]
32892 \end_layout
32893
32894 \begin_layout Plain Layout
32895
32896 {}
32897 \end_layout
32898
32899 \end_inset
32900
32901
32902 \size small
32903 It was in the spring of the year 1894 that all London was interested, and
32904  the fashionable world dismayed, by the murder of the Honourable Ronald
32905  Adair under most unusual and inexplicable circumstances.
32906  The public has already learned those particulars of the crime which
32907 \size default
32908
32909 \begin_inset ERT
32910 status collapsed
32911
32912 \begin_layout Plain Layout
32913
32914
32915 \backslash
32916 footnotemark{}
32917 \end_layout
32918
32919 \end_inset
32920
32921
32922 \size small
32923  came out in the police investigation, but a good deal was suppressed upon
32924  that occasion, since the case for the prosecution was so overwhelmingly
32925  strong that it was not necessary to bring forward all the facts.
32926  Only now, at the end of nearly ten years, am I allowed to supply those
32927  missing links which make up the whole of that remarkable chain.
32928 \size default
32929
32930 \begin_inset ERT
32931 status collapsed
32932
32933 \begin_layout Plain Layout
32934
32935
32936 \backslash
32937 end{window}
32938 \end_layout
32939
32940 \end_inset
32941
32942
32943 \end_layout
32944
32945 \begin_layout Standard
32946 \begin_inset ERT
32947 status collapsed
32948
32949 \begin_layout Plain Layout
32950
32951
32952 \backslash
32953 footnotetext{
32954 \end_layout
32955
32956 \end_inset
32957
32958 Footnote of the paragraph with the fixed object.
32959 \begin_inset ERT
32960 status collapsed
32961
32962 \begin_layout Plain Layout
32963
32964 }
32965 \end_layout
32966
32967 \end_inset
32968
32969
32970 \end_layout
32971
32972 \begin_layout Standard
32973 Surrounded fixed objects are used to let text float around them, at which
32974  the object's position in the paragraph can be determined by the number
32975  of lines above it.
32976  In contrary to floats is it not possible to have a numbered caption.
32977 \end_layout
32978
32979 \begin_layout Standard
32980 A fixed object is inserted by adding the command
32981 \end_layout
32982
32983 \begin_layout Standard
32984
32985 \series bold
32986
32987 \backslash
32988 begin{window}[2,c,{
32989 \end_layout
32990
32991 \begin_layout Standard
32992 as TeX Code at the beginning of the paragraph.
32993  The first parameter in the bracket, here '2', defines the number of lines
32994  above the object, the second, here 'c', the position of the object.
32995  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
32996  Behind the command you insert the object.
32997  In this example an image with a width of 40
32998 \begin_inset space \thinspace{}
32999 \end_inset
33000
33001 % of the text column width was inserted.
33002  The object can also be a table, a box or an equation.
33003  Behind the object the command
33004 \end_layout
33005
33006 \begin_layout Standard
33007
33008 \series bold
33009 },description text]
33010 \begin_inset Newline newline
33011 \end_inset
33012
33013 {}
33014 \end_layout
33015
33016 \begin_layout Standard
33017 is inserted.
33018  Note that the 
33019 \begin_inset Quotes eld
33020 \end_inset
33021
33022
33023 \series bold
33024 {}
33025 \series default
33026
33027 \begin_inset Quotes erd
33028 \end_inset
33029
33030  is in the second line.
33031  The description text is optional.
33032  The text surrounding the object must be in the same paragraph as the object,
33033  so it must begin directly after the 
33034 \series bold
33035 {}
33036 \series default
33037 .
33038  At the end of the paragraph insert the command:
33039 \end_layout
33040
33041 \begin_layout Standard
33042
33043 \series bold
33044
33045 \backslash
33046 end{window}
33047 \end_layout
33048
33049 \begin_layout Standard
33050 Within a paragraph with a fixed object, you cannot insert footnotes in the
33051  normal way.
33052  You have to use instead the command 
33053 \series bold
33054
33055 \backslash
33056 footnotemark
33057 \series default
33058  inside the paragraph and outside the command 
33059 \series bold
33060
33061 \backslash
33062 footnotetext
33063 \series default
33064  as described in sec.
33065 \begin_inset space \thinspace{}
33066 \end_inset
33067
33068
33069 \begin_inset CommandInset ref
33070 LatexCommand ref
33071 reference "sec:Footnotes"
33072
33073 \end_inset
33074
33075 .
33076 \end_layout
33077
33078 \begin_layout Standard
33079 \begin_inset ERT
33080 status collapsed
33081
33082 \begin_layout Plain Layout
33083
33084
33085 \backslash
33086 else
33087 \end_layout
33088
33089 \end_inset
33090
33091
33092 \begin_inset Note Note
33093 status open
33094
33095 \begin_layout Plain Layout
33096 The following will be displayed when the LaTeX-package 
33097 \series bold
33098 picinpar
33099 \series default
33100  is not installed:
33101 \end_layout
33102
33103 \end_inset
33104
33105
33106 \end_layout
33107
33108 \begin_layout Standard
33109 You need to install the LaTeX-package 
33110 \series bold
33111 picinpar
33112 \series default
33113  to see the following part of this section in the output.
33114 \end_layout
33115
33116 \begin_layout Standard
33117 \begin_inset ERT
33118 status collapsed
33119
33120 \begin_layout Plain Layout
33121
33122
33123 \backslash
33124 fi
33125 \end_layout
33126
33127 \end_inset
33128
33129
33130 \end_layout
33131
33132 \begin_layout Section
33133 Initials
33134 \begin_inset Index idx
33135 status collapsed
33136
33137 \begin_layout Plain Layout
33138 Initials
33139 \end_layout
33140
33141 \end_inset
33142
33143
33144 \begin_inset Index idx
33145 status collapsed
33146
33147 \begin_layout Plain Layout
33148 Surrounded by text ! Initials
33149 \end_layout
33150
33151 \end_inset
33152
33153
33154 \end_layout
33155
33156 \begin_layout Standard
33157 To use initials, you must have the LaTeX-package 
33158 \series bold
33159 lettrine
33160 \series default
33161
33162 \begin_inset Index idx
33163 status collapsed
33164
33165 \begin_layout Plain Layout
33166 LaTeX-packages ! lettrine
33167 \end_layout
33168
33169 \end_inset
33170
33171  installed and use the module 
33172 \family sans
33173 Initials
33174 \family default
33175  in your document (menu 
33176 \family sans
33177 Document\SpecialChar \menuseparator
33178 Settings\SpecialChar \menuseparator
33179 Modules
33180 \family default
33181 ).
33182  To insert an initial, use the style 
33183 \family sans
33184 Initial
33185 \family default
33186 .
33187  This style has a mandatory and an optional argument.
33188  The mandatory argument is inserted via the menu 
33189 \family sans
33190 Insert\SpecialChar \menuseparator
33191 Short
33192 \begin_inset space ~
33193 \end_inset
33194
33195 Title
33196 \family default
33197  and contains the letter that is the initial.
33198  To use the also the optional argument, insert another argument in front
33199  of the mandatory argument.
33200  This one contains parameters to modify the initial.
33201  For more information about the possible parameters see the documentation
33202  of 
33203 \series bold
33204 lettrine
33205 \series default
33206
33207 \begin_inset CommandInset citation
33208 LatexCommand cite
33209 key "lettrine"
33210
33211 \end_inset
33212
33213 .
33214  The style itself contains the text that is surrounding the initial.
33215  The usual style is hereby that the word whose first letter is the initial,
33216  is printed with 
33217 \shape smallcaps
33218 small caps
33219 \shape default
33220 .
33221  To tell LaTeX where this word is finished, add a closing brace '
33222 \series bold
33223 }
33224 \series default
33225 ' as TeX Code behind it.
33226  At the end of the style there must be an opening brace '
33227 \series bold
33228 {
33229 \series default
33230 ' as TeX Code.
33231 \end_layout
33232
33233 \begin_layout Standard
33234 Here are some examples:
33235 \end_layout
33236
33237 \begin_layout Enumerate
33238 No optional argument, the initial is the letter 'I' in the math font 
33239 \begin_inset Formula $\mathfrak{Fraktur}$
33240 \end_inset
33241
33242 :
33243 \end_layout
33244
33245 \begin_deeper
33246 \begin_layout Initial
33247 \begin_inset Argument
33248 status open
33249
33250 \begin_layout Plain Layout
33251 \begin_inset Formula $\mathfrak{I}$
33252 \end_inset
33253
33254
33255 \end_layout
33256
33257 \end_inset
33258
33259 t
33260 \begin_inset ERT
33261 status collapsed
33262
33263 \begin_layout Plain Layout
33264
33265 }
33266 \end_layout
33267
33268 \end_inset
33269
33270  was in the spring of the year 1894 that all London was interested, and
33271  the fashionable world dismayed, by the murder of the Honourable Ronald
33272  Adair under most unusual and inexplicable circumstances.
33273  The public has already learned those particulars of the crime which came
33274  out in the police investigation, but a good deal was suppressed upon that
33275  occasion, since the case for the prosecution was so overwhelmingly strong
33276  that it was not necessary to bring forward all the facts.
33277 \begin_inset ERT
33278 status collapsed
33279
33280 \begin_layout Plain Layout
33281
33282 {
33283 \end_layout
33284
33285 \end_inset
33286
33287
33288 \begin_inset Newpage newpage
33289 \end_inset
33290
33291
33292 \end_layout
33293
33294 \end_deeper
33295 \begin_layout Enumerate
33296 Only one line is surrounding the initial, which is formed by two letters
33297  in standard font and no text is printed in small caps:
33298 \end_layout
33299
33300 \begin_deeper
33301 \begin_layout Initial
33302 \begin_inset Argument
33303 status open
33304
33305 \begin_layout Plain Layout
33306 lines=1
33307 \end_layout
33308
33309 \end_inset
33310
33311
33312 \begin_inset Argument
33313 status open
33314
33315 \begin_layout Plain Layout
33316 It
33317 \end_layout
33318
33319 \end_inset
33320
33321
33322 \begin_inset ERT
33323 status collapsed
33324
33325 \begin_layout Plain Layout
33326
33327 }
33328 \end_layout
33329
33330 \end_inset
33331
33332  was in the spring of the year 1894 that all London was interested, and
33333  the fashionable world dismayed, by the murder of the Honourable Ronald
33334  Adair under most unusual and inexplicable circumstances.
33335  The public has already learned those particulars of the crime which came
33336  out in the police investigation, but a good deal was suppressed upon that
33337  occasion, since the case for the prosecution was so overwhelmingly strong
33338  that it was not necessary to bring forward all the facts.
33339 \begin_inset ERT
33340 status collapsed
33341
33342 \begin_layout Plain Layout
33343
33344 {
33345 \end_layout
33346
33347 \end_inset
33348
33349
33350 \end_layout
33351
33352 \end_deeper
33353 \begin_layout Enumerate
33354 Magenta, hanging initial over 3
33355 \begin_inset space ~
33356 \end_inset
33357
33358 lines in the math font 
33359 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
33360 \end_inset
33361
33362 , the text 
33363 \begin_inset Quotes eld
33364 \end_inset
33365
33366 t was in the spring
33367 \begin_inset Quotes erd
33368 \end_inset
33369
33370  is in 
33371 \shape smallcaps
33372 small caps
33373 \shape default
33374 ; to color the initial, you must insert this command before the initial:
33375 \begin_inset Newline newline
33376 \end_inset
33377
33378
33379 \series bold
33380
33381 \backslash
33382 renewcommand{
33383 \backslash
33384 LettrineFontHook}{
33385 \backslash
33386 color{color}}
33387 \series default
33388
33389 \begin_inset Newline newline
33390 \end_inset
33391
33392 where the second 
33393 \emph on
33394 color
33395 \emph default
33396  can be 
33397 \begin_inset Quotes eld
33398 \end_inset
33399
33400 red
33401 \begin_inset Quotes erd
33402 \end_inset
33403
33404
33405 \begin_inset Quotes eld
33406 \end_inset
33407
33408 blue
33409 \begin_inset Quotes erd
33410 \end_inset
33411
33412
33413 \begin_inset Quotes eld
33414 \end_inset
33415
33416 green
33417 \begin_inset Quotes erd
33418 \end_inset
33419
33420
33421 \begin_inset Quotes eld
33422 \end_inset
33423
33424 yellow
33425 \begin_inset Quotes erd
33426 \end_inset
33427
33428
33429 \begin_inset Quotes eld
33430 \end_inset
33431
33432 cyan
33433 \begin_inset Quotes erd
33434 \end_inset
33435
33436
33437 \begin_inset Quotes eld
33438 \end_inset
33439
33440 magenta
33441 \begin_inset Quotes erd
33442 \end_inset
33443
33444
33445 \begin_inset Quotes eld
33446 \end_inset
33447
33448 black
33449 \begin_inset Quotes erd
33450 \end_inset
33451
33452  or 
33453 \begin_inset Quotes eld
33454 \end_inset
33455
33456 white
33457 \begin_inset Quotes erd
33458 \end_inset
33459
33460 , and add this command to the document preamble:
33461 \begin_inset Newline newline
33462 \end_inset
33463
33464
33465 \series bold
33466
33467 \backslash
33468 @ifundefined{textcolor}
33469 \begin_inset Newline newline
33470 \end_inset
33471
33472
33473 \begin_inset space ~
33474 \end_inset
33475
33476 {
33477 \backslash
33478 usepackage{color}}{}
33479 \end_layout
33480
33481 \begin_deeper
33482 \begin_layout Standard
33483 \begin_inset ERT
33484 status collapsed
33485
33486 \begin_layout Plain Layout
33487
33488
33489 \backslash
33490 renewcommand{
33491 \backslash
33492 LettrineFontHook}{
33493 \backslash
33494 color{magenta}}
33495 \end_layout
33496
33497 \end_inset
33498
33499
33500 \begin_inset Note Note
33501 status collapsed
33502
33503 \begin_layout Plain Layout
33504 makes the initial magenta
33505 \end_layout
33506
33507 \end_inset
33508
33509
33510 \end_layout
33511
33512 \begin_layout Initial
33513 \begin_inset Argument
33514 status open
33515
33516 \begin_layout Plain Layout
33517 lines=3, lhang=0.33, loversize=0.25
33518 \end_layout
33519
33520 \end_inset
33521
33522
33523 \begin_inset Argument
33524 status open
33525
33526 \begin_layout Plain Layout
33527 \begin_inset Formula $\mathcal{I}$
33528 \end_inset
33529
33530
33531 \end_layout
33532
33533 \end_inset
33534
33535 t was in the spring
33536 \begin_inset ERT
33537 status collapsed
33538
33539 \begin_layout Plain Layout
33540
33541 }
33542 \end_layout
33543
33544 \end_inset
33545
33546  of the year 1894 that all London was interested, and the fashionable world
33547  dismayed, by the murder of the Honourable Ronald Adair under most unusual
33548  and inexplicable circumstances.
33549  The public has already learned those particulars of the crime which came
33550  out in the police investigation, but a good deal was suppressed upon that
33551  occasion, since the case for the prosecution was so overwhelmingly strong
33552  that it was not necessary to bring forward all the facts.
33553 \begin_inset ERT
33554 status collapsed
33555
33556 \begin_layout Plain Layout
33557
33558 {
33559 \end_layout
33560
33561 \end_inset
33562
33563
33564 \end_layout
33565
33566 \end_deeper
33567 \begin_layout Chapter
33568 External Document Parts
33569 \begin_inset Index idx
33570 status collapsed
33571
33572 \begin_layout Plain Layout
33573 External Document Parts
33574 \end_layout
33575
33576 \end_inset
33577
33578
33579 \end_layout
33580
33581 \begin_layout Standard
33582 With the menu 
33583 \family sans
33584 Insert\SpecialChar \menuseparator
33585 File
33586 \family default
33587  you can insert external material to your document.
33588  This can be:
33589 \end_layout
33590
33591 \begin_layout Description
33592 LyX
33593 \begin_inset space ~
33594 \end_inset
33595
33596 Document Another LyX document; its content is directly inserted to your
33597  document.
33598 \end_layout
33599
33600 \begin_layout Description
33601 Plain
33602 \begin_inset space ~
33603 \end_inset
33604
33605 Text A text document; each line is inserted in your document as a separate
33606  paragraph.
33607 \end_layout
33608
33609 \begin_layout Description
33610 Plain
33611 \begin_inset space ~
33612 \end_inset
33613
33614 Text,
33615 \begin_inset space ~
33616 \end_inset
33617
33618 Join
33619 \begin_inset space ~
33620 \end_inset
33621
33622 Lines A text document; text lines are inserted in your document continuously
33623  but an empty text line creates a new paragraph.
33624 \end_layout
33625
33626 \begin_layout Description
33627 External
33628 \begin_inset space ~
33629 \end_inset
33630
33631 Material Files in various formats.
33632 \end_layout
33633
33634 \begin_layout Description
33635 Child
33636 \begin_inset space ~
33637 \end_inset
33638
33639 Document LyX or LaTeX-documents.
33640 \end_layout
33641
33642 \begin_layout Section
33643 External Material
33644 \begin_inset Index idx
33645 status collapsed
33646
33647 \begin_layout Plain Layout
33648 External Document Parts ! External Material
33649 \end_layout
33650
33651 \end_inset
33652
33653
33654 \end_layout
33655
33656 \begin_layout Standard
33657 The external material feature allows you to insert files in to your document
33658  without converting them to a format that can be read by the document output
33659  format.
33660  LyX takes care of the necessary conversions.
33661  This is similar to images that can be inserted in various image formats
33662  in LyX documents.
33663  When you have enabled Instant Preview in LyX's preferences under 
33664 \family sans
33665 Look
33666 \begin_inset space ~
33667 \end_inset
33668
33669 and
33670 \begin_inset space ~
33671 \end_inset
33672
33673 feel\SpecialChar \menuseparator
33674 Graphics
33675 \family default
33676 , the external material types Dia and Xfig are directly shown in LyX.
33677 \end_layout
33678
33679 \begin_layout Standard
33680 External material can be inserted via the 
33681 \family sans
33682 External Material
33683 \family default
33684  dialog that is accessible with the menu 
33685 \family sans
33686 Insert\SpecialChar \menuseparator
33687 File\SpecialChar \menuseparator
33688 External
33689 \begin_inset space ~
33690 \end_inset
33691
33692 Material
33693 \family default
33694 .
33695  Currently the following file types (
33696 \family sans
33697 Templates
33698 \family default
33699 ) are allowed:
33700 \end_layout
33701
33702 \begin_layout Description
33703 ChessDiagram This template supports chess position diagrams made with the
33704  program 
33705 \series bold
33706
33707 \begin_inset CommandInset href
33708 LatexCommand href
33709 name "XBoard"
33710 target "http://en.wikipedia.org/wiki/XBoard"
33711
33712 \end_inset
33713
33714
33715 \series default
33716 .
33717 \end_layout
33718
33719 \begin_layout Description
33720 Date This inserts the date in the form 
33721 \emph on
33722 Day-Month-Year
33723 \emph default
33724 .
33725  This is a date inserted as external material: 
33726 \begin_inset External
33727         template Date
33728         filename .
33729
33730 \end_inset
33731
33732
33733 \begin_inset space ~
33734 \end_inset
33735
33736
33737 \begin_inset Note Note
33738 status open
33739
33740 \begin_layout Plain Layout
33741 Remove the protected space when bug 4398 is fixed!
33742 \end_layout
33743
33744 \end_inset
33745
33746
33747 \begin_inset Newline newline
33748 \end_inset
33749
33750 The date is not shown within LyX, only in the output.
33751  There are two other methods of inserting a date: Via menu 
33752 \family sans
33753 Insert\SpecialChar \menuseparator
33754 Date
33755 \family default
33756  and with the LaTeX command 
33757 \series bold
33758
33759 \backslash
33760 today
33761 \series default
33762  as TeX-Code.
33763  The different methods are compared in Table
33764 \begin_inset space ~
33765 \end_inset
33766
33767
33768 \begin_inset CommandInset ref
33769 LatexCommand ref
33770 reference "tab:Comparison-of-the"
33771
33772 \end_inset
33773
33774 .
33775 \end_layout
33776
33777 \begin_layout Description
33778 Dia This template supports diagrams created with the program 
33779 \series bold
33780
33781 \begin_inset CommandInset href
33782 LatexCommand href
33783 name "Dia"
33784 target "http://en.wikipedia.org/wiki/Dia_(software)"
33785
33786 \end_inset
33787
33788
33789 \series default
33790 .
33791 \end_layout
33792
33793 \begin_layout Description
33794 LilyPond This template is used for music notation typeset with the program
33795 \begin_inset Newline linebreak
33796 \end_inset
33797
33798
33799 \series bold
33800
33801 \begin_inset CommandInset href
33802 LatexCommand href
33803 name "LilyPond"
33804 target "http://en.wikipedia.org/wiki/LilyPond"
33805
33806 \end_inset
33807
33808
33809 \series default
33810 .
33811 \end_layout
33812
33813 \begin_layout Description
33814 PDFPages With this template you can insert PDF documents to your document.
33815  To insert certain or all pages of a PDF, use the 
33816 \emph on
33817 pages
33818 \emph default
33819  option in the 
33820 \family sans
33821 Option
33822 \family default
33823  field in the 
33824 \family sans
33825 LaTeX and LyX options
33826 \family default
33827  tab according to the template description in the dialog.
33828  When no 
33829 \emph on
33830 pages
33831 \emph default
33832  option is given, only the first page of the PDF will be inserted.
33833 \end_layout
33834
33835 \begin_layout Description
33836 RasterImage This can be used for bitmap images.
33837  Nearly all popular image formats are supported.
33838  The image can be treated in the 
33839 \family sans
33840 External material
33841 \family default
33842  dialog like the images that are usually included via the 
33843 \family sans
33844 Graphics
33845 \family default
33846  dialog as described in section
33847 \begin_inset space ~
33848 \end_inset
33849
33850
33851 \begin_inset CommandInset ref
33852 LatexCommand ref
33853 reference "sec:Graphics-Dialog"
33854
33855 \end_inset
33856
33857 .
33858  The difference is that only raster images are allowed; that means that
33859  PDF and EPS-images are not supported.
33860 \end_layout
33861
33862 \begin_layout Description
33863 XFig This template supports images created with the program 
33864 \series bold
33865
33866 \begin_inset CommandInset href
33867 LatexCommand href
33868 name "Xfig"
33869 target "http://en.wikipedia.org/wiki/Xfig"
33870
33871 \end_inset
33872
33873
33874 \series default
33875 .
33876 \end_layout
33877
33878 \begin_layout Standard
33879 \begin_inset Float table
33880 placement h
33881 wide false
33882 sideways false
33883 status open
33884
33885 \begin_layout Plain Layout
33886 \begin_inset Caption
33887
33888 \begin_layout Plain Layout
33889 \begin_inset CommandInset label
33890 LatexCommand label
33891 name "tab:Comparison-of-the"
33892
33893 \end_inset
33894
33895 Comparison of the date input methods.
33896 \end_layout
33897
33898 \end_inset
33899
33900
33901 \end_layout
33902
33903 \begin_layout Plain Layout
33904 \align center
33905 \begin_inset Tabular
33906 <lyxtabular version="3" rows="4" columns="4">
33907 <features tabularvalignment="middle">
33908 <column alignment="center" valignment="top" width="0">
33909 <column alignment="center" valignment="top" width="0">
33910 <column alignment="center" valignment="top" width="0">
33911 <column alignment="center" valignment="top" width="0">
33912 <row>
33913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33914 \begin_inset Text
33915
33916 \begin_layout Plain Layout
33917 Document format
33918 \end_layout
33919
33920 \end_inset
33921 </cell>
33922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33923 \begin_inset Text
33924
33925 \begin_layout Plain Layout
33926
33927 \family sans
33928 External Material\SpecialChar \menuseparator
33929 Date
33930 \end_layout
33931
33932 \end_inset
33933 </cell>
33934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33935 \begin_inset Text
33936
33937 \begin_layout Plain Layout
33938
33939 \family sans
33940 Insert\SpecialChar \menuseparator
33941 Date
33942 \end_layout
33943
33944 \end_inset
33945 </cell>
33946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33947 \begin_inset Text
33948
33949 \begin_layout Plain Layout
33950 command 
33951 \series bold
33952
33953 \backslash
33954 today
33955 \end_layout
33956
33957 \end_inset
33958 </cell>
33959 </row>
33960 <row>
33961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33962 \begin_inset Text
33963
33964 \begin_layout Plain Layout
33965 LyX
33966 \end_layout
33967
33968 \end_inset
33969 </cell>
33970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33971 \begin_inset Text
33972
33973 \begin_layout Plain Layout
33974 as inset box
33975 \end_layout
33976
33977 \end_inset
33978 </cell>
33979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33980 \begin_inset Text
33981
33982 \begin_layout Plain Layout
33983 as date
33984 \end_layout
33985
33986 \end_inset
33987 </cell>
33988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33989 \begin_inset Text
33990
33991 \begin_layout Plain Layout
33992 as TeX-Code inset box
33993 \end_layout
33994
33995 \end_inset
33996 </cell>
33997 </row>
33998 <row>
33999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34000 \begin_inset Text
34001
34002 \begin_layout Plain Layout
34003 LaTeX
34004 \end_layout
34005
34006 \end_inset
34007 </cell>
34008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34009 \begin_inset Text
34010
34011 \begin_layout Plain Layout
34012 as date
34013 \end_layout
34014
34015 \end_inset
34016 </cell>
34017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34018 \begin_inset Text
34019
34020 \begin_layout Plain Layout
34021 as date
34022 \end_layout
34023
34024 \end_inset
34025 </cell>
34026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34027 \begin_inset Text
34028
34029 \begin_layout Plain Layout
34030 as command
34031 \end_layout
34032
34033 \end_inset
34034 </cell>
34035 </row>
34036 <row>
34037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34038 \begin_inset Text
34039
34040 \begin_layout Plain Layout
34041 DVI, PDF, PS
34042 \end_layout
34043
34044 \end_inset
34045 </cell>
34046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34047 \begin_inset Text
34048
34049 \begin_layout Plain Layout
34050 as date
34051 \end_layout
34052
34053 \end_inset
34054 </cell>
34055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34056 \begin_inset Text
34057
34058 \begin_layout Plain Layout
34059 as date
34060 \end_layout
34061
34062 \end_inset
34063 </cell>
34064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34065 \begin_inset Text
34066
34067 \begin_layout Plain Layout
34068 as date
34069 \end_layout
34070
34071 \end_inset
34072 </cell>
34073 </row>
34074 </lyxtabular>
34075
34076 \end_inset
34077
34078
34079 \end_layout
34080
34081 \end_inset
34082
34083
34084 \end_layout
34085
34086 \begin_layout Standard
34087 When you use the option 
34088 \family sans
34089 Draft
34090 \family default
34091  in the 
34092 \family sans
34093 File
34094 \family default
34095  tab of the 
34096 \family sans
34097 External Material
34098 \family default
34099  dialog, only the path to the inserted file is shown in the output.
34100 \begin_inset Newline newline
34101 \end_inset
34102
34103 External material is displayed in LyX either as a box like this: 
34104 \begin_inset Graphics
34105         filename clipart/ExternalMaterialQt4.png
34106         scale 85
34107         scaleBeforeRotation
34108
34109 \end_inset
34110
34111  or as image, depending on the option 
34112 \family sans
34113 Show in LyX
34114 \family default
34115  in the 
34116 \family sans
34117 LaTeX and LyX options
34118 \family default
34119  tab of the dialog.
34120 \end_layout
34121
34122 \begin_layout Standard
34123 The 
34124 \family sans
34125 \emph on
34126 Customization
34127 \family default
34128 \emph default
34129  manual explains how you can define your own templates.
34130 \end_layout
34131
34132 \begin_layout Section
34133 Child Documents
34134 \begin_inset CommandInset label
34135 LatexCommand label
34136 name "sec:Child-Documents"
34137
34138 \end_inset
34139
34140
34141 \begin_inset Index idx
34142 status collapsed
34143
34144 \begin_layout Plain Layout
34145 External Document Parts ! Child Documents
34146 \end_layout
34147
34148 \end_inset
34149
34150
34151 \begin_inset Index idx
34152 status collapsed
34153
34154 \begin_layout Plain Layout
34155 Files ! Include
34156 \end_layout
34157
34158 \end_inset
34159
34160
34161 \end_layout
34162
34163 \begin_layout Standard
34164 Child documents are used if you have a long document consisting of several
34165  larger parts or sections.
34166  For maintenance it is often useful and sometimes even required to split
34167  the document into several files that can be revised separately.
34168  The different documents are then the so called 
34169 \begin_inset Quotes eld
34170 \end_inset
34171
34172 child documents
34173 \begin_inset Quotes erd
34174 \end_inset
34175
34176 , and a master document connects them to print the full document or parts
34177  of it.
34178  A child document inherits elements of its master, for example the LaTeX
34179  preamble, the bibliography, and labels for cross-references.
34180 \end_layout
34181
34182 \begin_layout Standard
34183 To be able to work on child documents without the need to open their master,
34184  specify in the child document the master in the menu
34185 \family sans
34186  Document\SpecialChar \menuseparator
34187 Settings\SpecialChar \menuseparator
34188 Document
34189 \begin_inset space ~
34190 \end_inset
34191
34192 Class
34193 \family default
34194 .
34195  This master document will then be used in the background by LyX when you
34196  edit the child document.
34197 \end_layout
34198
34199 \begin_layout Standard
34200 Included documents are displayed in LyX as a box like this: 
34201 \begin_inset Graphics
34202         filename clipart/ChildDocumentQt4.png
34203         scale 85
34204         scaleBeforeRotation
34205
34206 \end_inset
34207
34208  To include child documents in a master document use the menu 
34209 \family sans
34210 Insert\SpecialChar \menuseparator
34211 File\SpecialChar \menuseparator
34212 Child
34213 \begin_inset space ~
34214 \end_inset
34215
34216 Documents
34217 \family default
34218 .
34219  A dialog pops up where you can choose between four include methods:
34220 \end_layout
34221
34222 \begin_layout Description
34223 Include You can include LyX- and LaTeX-documents.
34224  When you press the 
34225 \family sans
34226 Load
34227 \family default
34228  button in the 
34229 \family sans
34230 Child Document
34231 \family default
34232  dialog, the included documents will be opened in LyX in a new file tab
34233  so that you can modify them.
34234 \begin_inset Newline newline
34235 \end_inset
34236
34237
34238 \end_layout
34239
34240 \begin_layout Standard
34241 Here is a child document inserted using 
34242 \family sans
34243 Include
34244 \family default
34245
34246 \begin_inset CommandInset include
34247 LatexCommand include
34248 filename "DummyDocument1.lyx"
34249
34250 \end_inset
34251
34252
34253 \end_layout
34254
34255 \begin_layout Standard
34256 The section numbering includes the sections of the included files in the
34257  order they are inserted in the master document.
34258  The included example document has for example a subsection that is numbered
34259  as a subsection of this section.
34260  Labels of included documents can be referenced: Subsection
34261 \begin_inset space ~
34262 \end_inset
34263
34264
34265 \begin_inset CommandInset ref
34266 LatexCommand ref
34267 reference "sub:External-Subsection-1"
34268
34269 \end_inset
34270
34271 .
34272 \end_layout
34273
34274 \begin_layout Standard
34275 The preamble of the child document is ignored; only the preamble of the
34276  master document is used.
34277  Branches in child documents will be ignored by the master document when
34278  the master document does not have a branch with the same name.
34279  Included documents are inserted starting on a new page and ending with
34280  a page break.
34281 \end_layout
34282
34283 \begin_layout Standard
34284 \begin_inset Note Greyedout
34285 status open
34286
34287 \begin_layout Plain Layout
34288
34289 \series bold
34290 Note:
34291 \series default
34292  If you have included a LyX- or LaTeX-file, you are warned when you export/view
34293  the document in case the child document uses another document class than
34294  the master document as this will lead to unexpected outputs.
34295 \end_layout
34296
34297 \end_inset
34298
34299
34300 \end_layout
34301
34302 \begin_layout Description
34303 Input This method is very similar to the Include method.
34304  The differences are:
34305 \end_layout
34306
34307 \begin_deeper
34308 \begin_layout Itemize
34309 Input files don't start with a new page and don't end with a page break.
34310 \end_layout
34311
34312 \begin_layout Itemize
34313 Input files can be previewed in LyX when 
34314 \family sans
34315 Instant
34316 \begin_inset space ~
34317 \end_inset
34318
34319 Preview
34320 \family default
34321  is enabled in LyX's preferences under 
34322 \family sans
34323 Look
34324 \begin_inset space ~
34325 \end_inset
34326
34327 and
34328 \begin_inset space ~
34329 \end_inset
34330
34331 feel\SpecialChar \menuseparator
34332 Graphics
34333 \family default
34334 .
34335 \end_layout
34336
34337 \begin_layout Itemize
34338 You cannot exclude Input files via the menu 
34339 \family sans
34340 Document\SpecialChar \menuseparator
34341 Settings\SpecialChar \menuseparator
34342 Child Documents
34343 \family default
34344 .
34345 \end_layout
34346
34347 \end_deeper
34348 \begin_layout Standard
34349 Here is a child document inserted using 
34350 \family sans
34351 Input
34352 \family default
34353
34354 \begin_inset CommandInset include
34355 LatexCommand input
34356 filename "DummyDocument2.lyx"
34357
34358 \end_inset
34359
34360
34361 \end_layout
34362
34363 \begin_layout Description
34364 Verbatim With this method any text file can be included.
34365  The file is shown in the output with its source code; no command used in
34366  the text is invoked.
34367  You can use the option 
34368 \family sans
34369 Mark spaces in output
34370 \family default
34371  that displays the character 
34372 \begin_inset Quotes eld
34373 \end_inset
34374
34375
34376 \begin_inset ERT
34377 status collapsed
34378
34379 \begin_layout Plain Layout
34380
34381
34382 \backslash
34383 textvisiblespace 
34384 \end_layout
34385
34386 \end_inset
34387
34388
34389 \begin_inset Quotes erd
34390 \end_inset
34391
34392  for every space character in the source code.
34393  The difference from the method via the menu 
34394 \family sans
34395 Insert\SpecialChar \menuseparator
34396 File\SpecialChar \menuseparator
34397 Plain
34398 \begin_inset space ~
34399 \end_inset
34400
34401 Text
34402 \family default
34403  is that the document content is not shown in LyX.
34404 \end_layout
34405
34406 \begin_layout Standard
34407 Here is a child document inserted as Verbatim: 
34408 \begin_inset CommandInset include
34409 LatexCommand verbatiminput
34410 filename "DummyTextDocument.txt"
34411
34412 \end_inset
34413
34414
34415 \begin_inset VSpace bigskip
34416 \end_inset
34417
34418  Here is a child document inserted as Verbatim using the 
34419 \family sans
34420 Mark spaces in output
34421 \family default
34422  option: 
34423 \begin_inset CommandInset include
34424 LatexCommand verbatiminput*
34425 filename "DummyTextDocument.txt"
34426
34427 \end_inset
34428
34429
34430 \end_layout
34431
34432 \begin_layout Standard
34433 \begin_inset VSpace bigskip
34434 \end_inset
34435
34436
34437 \end_layout
34438
34439 \begin_layout Standard
34440 \begin_inset Note Greyedout
34441 status open
34442
34443 \begin_layout Plain Layout
34444
34445 \series bold
34446 Note:
34447 \series default
34448  As you can see in the examples above, the text of the documents included
34449  as 
34450 \family sans
34451 verbatim
34452 \family default
34453  is not broken at the end of the document lines.
34454 \end_layout
34455
34456 \end_inset
34457
34458
34459 \end_layout
34460
34461 \begin_layout Description
34462 Listings This type is described in chapter
34463 \begin_inset space ~
34464 \end_inset
34465
34466
34467 \begin_inset CommandInset ref
34468 LatexCommand ref
34469 reference "cha:Program-Code-Listings"
34470
34471 \end_inset
34472
34473 .
34474 \end_layout
34475
34476 \begin_layout Standard
34477 \begin_inset Note Greyedout
34478 status open
34479
34480 \begin_layout Plain Layout
34481
34482 \series bold
34483 Note:
34484 \series default
34485  Including the same document twice in a document using different methods
34486  could cause LaTeX-problems.
34487 \end_layout
34488
34489 \end_inset
34490
34491
34492 \end_layout
34493
34494 \begin_layout Standard
34495 If you want to view/export only selected children of your master document,
34496  either because you want to save compiling time or because you want to distribut
34497 e single chapters of the book you are just writing, you can exclude children
34498  from the output.
34499  This is done via the menu 
34500 \family sans
34501 Document\SpecialChar \menuseparator
34502 Settings\SpecialChar \menuseparator
34503 Child Documents
34504 \family default
34505 .
34506  You can exclude\SpecialChar \slash{}
34507 include children by double-clicking on the 
34508 \family sans
34509 include to output
34510 \family default
34511  column of the respective child document in the list (note that this only
34512  works for documents embedded via 
34513 \begin_inset Quotes eld
34514 \end_inset
34515
34516 Include
34517 \begin_inset Quotes erd
34518 \end_inset
34519
34520 , not with 
34521 \begin_inset Quotes eld
34522 \end_inset
34523
34524 Input
34525 \begin_inset Quotes erd
34526 \end_inset
34527
34528 ).
34529  If the option 
34530 \family sans
34531 Maintain counters and references
34532 \family default
34533  is enabled, LyX will assure that all page numbers, references etc.
34534 \begin_inset space ~
34535 \end_inset
34536
34537 are correct as if the whole document was processed.
34538  This is useful if you want the selected sub-documents to look exactly as
34539  in the context of the whole document.
34540  However, LyX needs to process the whole document in the background for
34541  this feature.
34542  So if you want to save compile time and if counters and references do not
34543  need to be correct, disable this checkbox.
34544 \end_layout
34545
34546 \begin_layout Standard
34547 Alternatively, you can put each included file into a branch.
34548 \begin_inset Foot
34549 status collapsed
34550
34551 \begin_layout Plain Layout
34552 Branches are described in section 
34553 \emph on
34554 Branches
34555 \emph default
34556  of the LyX 
34557 \emph on
34558 Userguide
34559 \emph default
34560 .
34561 \end_layout
34562
34563 \end_inset
34564
34565  By enabling\SpecialChar \slash{}
34566 disabling branches you can decide which included files will
34567  appear in the output.
34568  This has the advantage that it also works with Input'ed sub-documents.
34569  However, counters and references will not be maintained with this approach.
34570 \end_layout
34571
34572 \begin_layout Chapter
34573 Program Code Listings
34574 \begin_inset CommandInset label
34575 LatexCommand label
34576 name "cha:Program-Code-Listings"
34577
34578 \end_inset
34579
34580
34581 \begin_inset Index idx
34582 status collapsed
34583
34584 \begin_layout Plain Layout
34585 Listings
34586 \end_layout
34587
34588 \end_inset
34589
34590
34591 \begin_inset Index idx
34592 status collapsed
34593
34594 \begin_layout Plain Layout
34595 Program Code
34596 \end_layout
34597
34598 \end_inset
34599
34600
34601 \begin_inset Index idx
34602 status collapsed
34603
34604 \begin_layout Plain Layout
34605 Floats ! Listings
34606 \end_layout
34607
34608 \end_inset
34609
34610
34611 \end_layout
34612
34613 \begin_layout Standard
34614 To include and typeset program code you can use the 
34615 \family sans
34616 Listings
34617 \family default
34618  inset that can be inserted via the menu 
34619 \family sans
34620 Insert\SpecialChar \menuseparator
34621 Program Listing
34622 \family default
34623 .
34624  The LaTeX-package 
34625 \series bold
34626 listings
34627 \series default
34628
34629 \begin_inset Index idx
34630 status collapsed
34631
34632 \begin_layout Plain Layout
34633 LaTeX-packages ! listings
34634 \end_layout
34635
34636 \end_inset
34637
34638  provides a powerful and flexible way to insert program source code into
34639  your document.
34640 \end_layout
34641
34642 \begin_layout Standard
34643 Right-clicking on a listings inset opens the context menu containing where
34644  you can set the listings format.
34645 \end_layout
34646
34647 \begin_layout Standard
34648 By default, a listing starts a new paragraph in the output.
34649  The placement option 
34650 \family sans
34651 Inline
34652 \begin_inset space ~
34653 \end_inset
34654
34655 listing
34656 \family default
34657  prints the listing inline like this: 
34658 \begin_inset listings
34659 lstparams "language={C++}"
34660 inline true
34661 status open
34662
34663 \begin_layout Plain Layout
34664
34665 int a=5;
34666 \end_layout
34667
34668 \end_inset
34669
34670
34671 \begin_inset Newline newline
34672 \end_inset
34673
34674 The option 
34675 \family sans
34676 Float
34677 \family default
34678  creates a listings float where you can specify the placement options 
34679 \begin_inset Quotes eld
34680 \end_inset
34681
34682
34683 \family sans
34684 h
34685 \family default
34686
34687 \begin_inset Quotes erd
34688 \end_inset
34689
34690
34691 \begin_inset Quotes eld
34692 \end_inset
34693
34694
34695 \family sans
34696 t
34697 \family default
34698
34699 \begin_inset Quotes erd
34700 \end_inset
34701
34702
34703 \begin_inset Quotes eld
34704 \end_inset
34705
34706
34707 \family sans
34708 b
34709 \family default
34710
34711 \begin_inset Quotes erd
34712 \end_inset
34713
34714 , and 
34715 \begin_inset Quotes eld
34716 \end_inset
34717
34718
34719 \family sans
34720 p
34721 \family default
34722
34723 \begin_inset Quotes erd
34724 \end_inset
34725
34726  corresponding to the float placement options described in section
34727 \begin_inset space ~
34728 \end_inset
34729
34730
34731 \begin_inset CommandInset ref
34732 LatexCommand ref
34733 reference "sec:Float-Placement"
34734
34735 \end_inset
34736
34737 .
34738  The placement options can be mixed and are inserted without any separation,
34739  e.
34740 \begin_inset space \thinspace{}
34741 \end_inset
34742
34743 g.
34744 \begin_inset space \space{}
34745 \end_inset
34746
34747
34748 \begin_inset Quotes eld
34749 \end_inset
34750
34751
34752 \family sans
34753 htbp
34754 \family default
34755
34756 \begin_inset Quotes erd
34757 \end_inset
34758
34759 .
34760  The option 
34761 \begin_inset Quotes eld
34762 \end_inset
34763
34764 h
34765 \begin_inset Quotes erd
34766 \end_inset
34767
34768  has sometimes no effect, but you don't need to use the 
34769 \family sans
34770 Float
34771 \family default
34772  option in this case as also non-float listings can have captions and be
34773  referenced.
34774 \end_layout
34775
34776 \begin_layout Standard
34777 You can add captions to listings with the menu 
34778 \family sans
34779 Insert\SpecialChar \menuseparator
34780 Caption
34781 \family default
34782 .
34783  Listings can be referenced like floats: Listing
34784 \begin_inset space ~
34785 \end_inset
34786
34787
34788 \begin_inset CommandInset ref
34789 LatexCommand ref
34790 reference "lst:Example-Listing"
34791
34792 \end_inset
34793
34794
34795 \end_layout
34796
34797 \begin_layout Standard
34798 \begin_inset listings
34799 lstparams "language=Python"
34800 inline false
34801 status open
34802
34803 \begin_layout Plain Layout
34804
34805 \begin_inset Caption
34806
34807 \begin_layout Plain Layout
34808 \begin_inset CommandInset label
34809 LatexCommand label
34810 name "lst:Example-Listing"
34811
34812 \end_inset
34813
34814 Example Listing float
34815 \end_layout
34816
34817 \end_inset
34818
34819 # Example listing float
34820 \end_layout
34821
34822 \begin_layout Plain Layout
34823
34824 def func(param):
34825 \end_layout
34826
34827 \begin_layout Plain Layout
34828
34829     'this is a python function'
34830 \end_layout
34831
34832 \begin_layout Plain Layout
34833
34834     pass
34835 \end_layout
34836
34837 \end_inset
34838
34839
34840 \end_layout
34841
34842 \begin_layout Standard
34843 When you have set a programming language in the listings dialog, the keywords
34844  of this language will be recognized and specially typeset in the output.
34845  In the example listings the Python keyword 
34846 \begin_inset Quotes eld
34847 \end_inset
34848
34849 def
34850 \begin_inset Quotes erd
34851 \end_inset
34852
34853  is recognized and printed bold in the output.
34854 \end_layout
34855
34856 \begin_layout Standard
34857 \begin_inset Note Greyedout
34858 status open
34859
34860 \begin_layout Plain Layout
34861
34862 \series bold
34863 Note:
34864 \series default
34865  If you don't get bold keywords when using typewriter fonts, your 
34866 \family typewriter
34867 typewriter
34868 \family default
34869  font probably doesn't provide a bold shape.
34870  In this case select a different one in the menu 
34871 \family sans
34872 Document\SpecialChar \menuseparator
34873 Settings\SpecialChar \menuseparator
34874 Fonts
34875 \family default
34876 .
34877  (The fonts 
34878 \emph on
34879 LuxiMono, BeraMono
34880 \emph default
34881  and 
34882 \emph on
34883 Courier
34884 \emph default
34885  provide bold shapes.)
34886 \end_layout
34887
34888 \end_inset
34889
34890
34891 \end_layout
34892
34893 \begin_layout Standard
34894 In section 
34895 \family sans
34896 Line
34897 \begin_inset space ~
34898 \end_inset
34899
34900 numbering
34901 \family default
34902  of the listings dialog you can specify the line numbering style.
34903  You can insert a number to specify which lines are numbered in the field
34904  
34905 \family sans
34906 Step
34907 \family default
34908 .
34909  When you insert e.
34910 \begin_inset space \thinspace{}
34911 \end_inset
34912
34913 g.
34914 \begin_inset space \space{}
34915 \end_inset
34916
34917
34918 \begin_inset Quotes eld
34919 \end_inset
34920
34921 3
34922 \begin_inset Quotes erd
34923 \end_inset
34924
34925 , only every 3rd line will be numbered.
34926 \end_layout
34927
34928 \begin_layout Standard
34929 You can furthermore specify a range of lines; only these will then appear
34930  in the output.
34931  The option 
34932 \family sans
34933 Extended character table
34934 \family default
34935  should be used when you use national characters like the German umlauts
34936  in the listing.
34937 \begin_inset Newline newline
34938 \end_inset
34939
34940 Here is an example listing with left line numbering, step 
34941 \begin_inset Quotes eld
34942 \end_inset
34943
34944 3
34945 \begin_inset Quotes erd
34946 \end_inset
34947
34948 , language 
34949 \begin_inset Quotes eld
34950 \end_inset
34951
34952 Python
34953 \begin_inset Quotes erd
34954 \end_inset
34955
34956 , options 
34957 \begin_inset Quotes eld
34958 \end_inset
34959
34960 Extended character table
34961 \begin_inset Quotes erd
34962 \end_inset
34963
34964  and 
34965 \begin_inset Quotes eld
34966 \end_inset
34967
34968 Space
34969 \begin_inset space ~
34970 \end_inset
34971
34972 as
34973 \begin_inset space ~
34974 \end_inset
34975
34976 symbol
34977 \begin_inset Quotes erd
34978 \end_inset
34979
34980 , range lines 3
34981 \begin_inset space \thinspace{}
34982 \end_inset
34983
34984 -
34985 \begin_inset space \thinspace{}
34986 \end_inset
34987
34988 8:
34989 \end_layout
34990
34991 \begin_layout Standard
34992 \begin_inset listings
34993 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
34994 inline false
34995 status open
34996
34997 \begin_layout Plain Layout
34998
34999 def func(param):
35000 \end_layout
35001
35002 \begin_layout Plain Layout
35003
35004     'this is a python function'
35005 \end_layout
35006
35007 \begin_layout Plain Layout
35008
35009     pass
35010 \end_layout
35011
35012 \begin_layout Plain Layout
35013
35014 def func(param):
35015 \end_layout
35016
35017 \begin_layout Plain Layout
35018
35019 'This is a German word: Tschüß'
35020 \end_layout
35021
35022 \begin_layout Plain Layout
35023
35024 pass
35025 \end_layout
35026
35027 \begin_layout Plain Layout
35028
35029 def func(param):
35030 \end_layout
35031
35032 \begin_layout Plain Layout
35033
35034 'this is a python function'
35035 \end_layout
35036
35037 \begin_layout Plain Layout
35038
35039 pass
35040 \end_layout
35041
35042 \end_inset
35043
35044
35045 \end_layout
35046
35047 \begin_layout Standard
35048 When you have tabulators in your listing, you can specify the number of
35049  characters that are spanned by a tabulator in the field 
35050 \family sans
35051 Tabulator
35052 \begin_inset space ~
35053 \end_inset
35054
35055 size
35056 \family default
35057 .
35058 \end_layout
35059
35060 \begin_layout Standard
35061 \begin_inset Note Greyedout
35062 status open
35063
35064 \begin_layout Plain Layout
35065
35066 \series bold
35067 Note:
35068 \series default
35069  Due to a bug in the 
35070 \series bold
35071 listings
35072 \series default
35073  package the line numbering is shifted by a line by every previous listing.
35074  That's the reason why the lines 2 and 5 are numbered in the above listing
35075  and not the lines 3 and 6.
35076 \end_layout
35077
35078 \end_inset
35079
35080
35081 \end_layout
35082
35083 \begin_layout Standard
35084 \begin_inset VSpace bigskip
35085 \end_inset
35086
35087
35088 \end_layout
35089
35090 \begin_layout Standard
35091 It is also possible to print lines from a file as listing.
35092  To do this, use the menu 
35093 \family sans
35094 Insert\SpecialChar \menuseparator
35095 File\SpecialChar \menuseparator
35096 Child Document
35097 \family default
35098  and choose the type 
35099 \family sans
35100 Listings
35101 \family default
35102 .
35103 \begin_inset Foot
35104 status collapsed
35105
35106 \begin_layout Plain Layout
35107 The other child document types are described in section
35108 \begin_inset space ~
35109 \end_inset
35110
35111
35112 \begin_inset CommandInset ref
35113 LatexCommand ref
35114 reference "sec:Child-Documents"
35115
35116 \end_inset
35117
35118 .
35119 \end_layout
35120
35121 \end_inset
35122
35123  In the child document dialog you can specify the listing parameters in
35124  a text box.
35125  To show a list of all available parameters, type in a question mark 
35126 \begin_inset Quotes eld
35127 \end_inset
35128
35129 ?
35130 \begin_inset Quotes erd
35131 \end_inset
35132
35133  in the text box.
35134 \end_layout
35135
35136 \begin_layout Standard
35137 To reference child document listings, write a label text into the corresponding
35138  field of the child document dialog.
35139  The label can then be referenced using the menu 
35140 \family sans
35141 Insert\SpecialChar \menuseparator
35142 Cross-Reference
35143 \family default
35144 .
35145 \end_layout
35146
35147 \begin_layout Standard
35148 Listing
35149 \begin_inset space ~
35150 \end_inset
35151
35152
35153 \begin_inset CommandInset ref
35154 LatexCommand ref
35155 reference "lst:file-listing"
35156
35157 \end_inset
35158
35159  is an example for a listing of a file; there the lines 10
35160 \begin_inset space \thinspace{}
35161 \end_inset
35162
35163 -
35164 \begin_inset space \thinspace{}
35165 \end_inset
35166
35167 15 of this LyX file are listed.
35168 \end_layout
35169
35170 \begin_layout Standard
35171 \begin_inset CommandInset include
35172 LatexCommand lstinputlisting
35173 filename "EmbeddedObjects.lyx"
35174 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
35175
35176 \end_inset
35177
35178
35179 \end_layout
35180
35181 \begin_layout Standard
35182 \begin_inset VSpace bigskip
35183 \end_inset
35184
35185
35186 \end_layout
35187
35188 \begin_layout Standard
35189 Inserting a formula into a listing can be done the following way:
35190 \end_layout
35191
35192 \begin_layout Enumerate
35193 Open the listings dialog and add
35194 \begin_inset Newline newline
35195 \end_inset
35196
35197
35198 \family sans
35199 mathescape=true
35200 \family default
35201
35202 \begin_inset Newline newline
35203 \end_inset
35204
35205 to the field of the 
35206 \family sans
35207 Advanced
35208 \family default
35209  tab.
35210 \end_layout
35211
35212 \begin_layout Enumerate
35213 Create a formula outside the listing
35214 \end_layout
35215
35216 \begin_layout Enumerate
35217 Copy the content of the formula (not the formula inset) to the clipboard
35218  (shortcut 
35219 \begin_inset Info
35220 type  "shortcut"
35221 arg   "copy"
35222 \end_inset
35223
35224 )
35225 \end_layout
35226
35227 \begin_layout Enumerate
35228 In the listing write 
35229 \begin_inset Quotes eld
35230 \end_inset
35231
35232
35233 \family sans
35234 $$
35235 \family default
35236
35237 \begin_inset Quotes erd
35238 \end_inset
35239
35240  and copy from the clipboard between the dollar-signs (shortcut 
35241 \begin_inset Info
35242 type  "shortcut"
35243 arg   "paste"
35244 \end_inset
35245
35246 )
35247 \end_layout
35248
35249 \begin_layout Standard
35250 \begin_inset listings
35251 lstparams "language=Python,mathescape=true"
35252 inline false
35253 status open
35254
35255 \begin_layout Plain Layout
35256
35257 \begin_inset Caption
35258
35259 \begin_layout Plain Layout
35260 Example Listing float containing a formula
35261 \end_layout
35262
35263 \end_inset
35264
35265 # Example listing float
35266 \end_layout
35267
35268 \begin_layout Plain Layout
35269
35270 def func(param):
35271 \end_layout
35272
35273 \begin_layout Plain Layout
35274
35275     # $
35276 \backslash
35277 prod_{n=1}^{
35278 \backslash
35279 infty}
35280 \backslash
35281 ,
35282 \backslash
35283 frac{1}{x^{2}}$
35284 \end_layout
35285
35286 \begin_layout Plain Layout
35287
35288     pass
35289 \end_layout
35290
35291 \end_inset
35292
35293
35294 \end_layout
35295
35296 \begin_layout Standard
35297 \begin_inset VSpace bigskip
35298 \end_inset
35299
35300
35301 \end_layout
35302
35303 \begin_layout Standard
35304 Global listings settings can be set in the 
35305 \family sans
35306 Document\SpecialChar \menuseparator
35307 Settings\SpecialChar \menuseparator
35308 Listings
35309 \family default
35310  dialog.
35311  To get there a list of available options, type in a question mark 
35312 \begin_inset Quotes eld
35313 \end_inset
35314
35315 ?
35316 \begin_inset Quotes erd
35317 \end_inset
35318
35319 .
35320 \end_layout
35321
35322 \begin_layout Standard
35323 For more information about the 
35324 \series bold
35325 listings
35326 \series default
35327  package, we refer to its documentation 
35328 \begin_inset CommandInset citation
35329 LatexCommand cite
35330 key "listings"
35331
35332 \end_inset
35333
35334 .
35335 \end_layout
35336
35337 \begin_layout Standard
35338 \begin_inset Newpage newpage
35339 \end_inset
35340
35341
35342 \end_layout
35343
35344 \begin_layout Chapter
35345 \start_of_appendix
35346 Units available in LyX
35347 \begin_inset Index idx
35348 status collapsed
35349
35350 \begin_layout Plain Layout
35351 Units
35352 \end_layout
35353
35354 \end_inset
35355
35356
35357 \begin_inset CommandInset label
35358 LatexCommand label
35359 name "cha:Units-available-in"
35360
35361 \end_inset
35362
35363
35364 \end_layout
35365
35366 \begin_layout Standard
35367 To understand the units described in this documentation, Table
35368 \begin_inset space ~
35369 \end_inset
35370
35371
35372 \begin_inset CommandInset ref
35373 LatexCommand ref
35374 reference "tab:Units"
35375
35376 \end_inset
35377
35378  explains all units available in LyX.
35379 \end_layout
35380
35381 \begin_layout Standard
35382 \begin_inset Float table
35383 placement h
35384 wide false
35385 sideways false
35386 status open
35387
35388 \begin_layout Plain Layout
35389 \begin_inset Caption
35390
35391 \begin_layout Plain Layout
35392 \begin_inset CommandInset label
35393 LatexCommand label
35394 name "tab:Units"
35395
35396 \end_inset
35397
35398 Units
35399 \end_layout
35400
35401 \end_inset
35402
35403
35404 \end_layout
35405
35406 \begin_layout Plain Layout
35407 \begin_inset VSpace medskip
35408 \end_inset
35409
35410
35411 \end_layout
35412
35413 \begin_layout Plain Layout
35414 \align center
35415 \begin_inset Tabular
35416 <lyxtabular version="3" rows="20" columns="2">
35417 <features tabularvalignment="middle">
35418 <column alignment="center" valignment="top" width="0">
35419 <column alignment="center" valignment="top" width="0">
35420 <row>
35421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35422 \begin_inset Text
35423
35424 \begin_layout Plain Layout
35425 unit
35426 \end_layout
35427
35428 \end_inset
35429 </cell>
35430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35431 \begin_inset Text
35432
35433 \begin_layout Plain Layout
35434 name/description
35435 \end_layout
35436
35437 \end_inset
35438 </cell>
35439 </row>
35440 <row>
35441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35442 \begin_inset Text
35443
35444 \begin_layout Plain Layout
35445 mm
35446 \end_layout
35447
35448 \end_inset
35449 </cell>
35450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35451 \begin_inset Text
35452
35453 \begin_layout Plain Layout
35454 millimeter
35455 \end_layout
35456
35457 \end_inset
35458 </cell>
35459 </row>
35460 <row>
35461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35462 \begin_inset Text
35463
35464 \begin_layout Plain Layout
35465 cm
35466 \end_layout
35467
35468 \end_inset
35469 </cell>
35470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35471 \begin_inset Text
35472
35473 \begin_layout Plain Layout
35474 centimeter
35475 \end_layout
35476
35477 \end_inset
35478 </cell>
35479 </row>
35480 <row>
35481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35482 \begin_inset Text
35483
35484 \begin_layout Plain Layout
35485 in
35486 \end_layout
35487
35488 \end_inset
35489 </cell>
35490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35491 \begin_inset Text
35492
35493 \begin_layout Plain Layout
35494 inch
35495 \end_layout
35496
35497 \end_inset
35498 </cell>
35499 </row>
35500 <row>
35501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35502 \begin_inset Text
35503
35504 \begin_layout Plain Layout
35505 pt
35506 \end_layout
35507
35508 \end_inset
35509 </cell>
35510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35511 \begin_inset Text
35512
35513 \begin_layout Plain Layout
35514 point (72.27
35515 \begin_inset space \thinspace{}
35516 \end_inset
35517
35518 pt = 1
35519 \begin_inset space \thinspace{}
35520 \end_inset
35521
35522 in)
35523 \end_layout
35524
35525 \end_inset
35526 </cell>
35527 </row>
35528 <row>
35529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35530 \begin_inset Text
35531
35532 \begin_layout Plain Layout
35533 pc
35534 \end_layout
35535
35536 \end_inset
35537 </cell>
35538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35539 \begin_inset Text
35540
35541 \begin_layout Plain Layout
35542 pica (1
35543 \begin_inset space \thinspace{}
35544 \end_inset
35545
35546 pc = 12
35547 \begin_inset space \thinspace{}
35548 \end_inset
35549
35550 pt)
35551 \end_layout
35552
35553 \end_inset
35554 </cell>
35555 </row>
35556 <row>
35557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35558 \begin_inset Text
35559
35560 \begin_layout Plain Layout
35561 sp
35562 \end_layout
35563
35564 \end_inset
35565 </cell>
35566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35567 \begin_inset Text
35568
35569 \begin_layout Plain Layout
35570 scaled point (65536
35571 \begin_inset space \thinspace{}
35572 \end_inset
35573
35574 sp = 1
35575 \begin_inset space \thinspace{}
35576 \end_inset
35577
35578 pt)
35579 \end_layout
35580
35581 \end_inset
35582 </cell>
35583 </row>
35584 <row>
35585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35586 \begin_inset Text
35587
35588 \begin_layout Plain Layout
35589 bp
35590 \end_layout
35591
35592 \end_inset
35593 </cell>
35594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35595 \begin_inset Text
35596
35597 \begin_layout Plain Layout
35598 big point (72
35599 \begin_inset space \thinspace{}
35600 \end_inset
35601
35602 bp = 1
35603 \begin_inset space \thinspace{}
35604 \end_inset
35605
35606 in)
35607 \end_layout
35608
35609 \end_inset
35610 </cell>
35611 </row>
35612 <row>
35613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35614 \begin_inset Text
35615
35616 \begin_layout Plain Layout
35617 dd
35618 \end_layout
35619
35620 \end_inset
35621 </cell>
35622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35623 \begin_inset Text
35624
35625 \begin_layout Plain Layout
35626 didot (1
35627 \begin_inset space \thinspace{}
35628 \end_inset
35629
35630 dd 
35631 \begin_inset Formula $\approx$
35632 \end_inset
35633
35634  0.376
35635 \begin_inset space \thinspace{}
35636 \end_inset
35637
35638 mm)
35639 \end_layout
35640
35641 \end_inset
35642 </cell>
35643 </row>
35644 <row>
35645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35646 \begin_inset Text
35647
35648 \begin_layout Plain Layout
35649 cc
35650 \end_layout
35651
35652 \end_inset
35653 </cell>
35654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35655 \begin_inset Text
35656
35657 \begin_layout Plain Layout
35658 cicero (1
35659 \begin_inset space \thinspace{}
35660 \end_inset
35661
35662 cc = 12
35663 \begin_inset space \thinspace{}
35664 \end_inset
35665
35666 dd)
35667 \end_layout
35668
35669 \end_inset
35670 </cell>
35671 </row>
35672 <row>
35673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35674 \begin_inset Text
35675
35676 \begin_layout Plain Layout
35677 Scale%
35678 \end_layout
35679
35680 \end_inset
35681 </cell>
35682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35683 \begin_inset Text
35684
35685 \begin_layout Plain Layout
35686 % of original image width
35687 \end_layout
35688
35689 \end_inset
35690 </cell>
35691 </row>
35692 <row>
35693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35694 \begin_inset Text
35695
35696 \begin_layout Plain Layout
35697 text%
35698 \end_layout
35699
35700 \end_inset
35701 </cell>
35702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35703 \begin_inset Text
35704
35705 \begin_layout Plain Layout
35706 % of text width
35707 \end_layout
35708
35709 \end_inset
35710 </cell>
35711 </row>
35712 <row>
35713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35714 \begin_inset Text
35715
35716 \begin_layout Plain Layout
35717 col%
35718 \end_layout
35719
35720 \end_inset
35721 </cell>
35722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35723 \begin_inset Text
35724
35725 \begin_layout Plain Layout
35726 % of column width
35727 \end_layout
35728
35729 \end_inset
35730 </cell>
35731 </row>
35732 <row>
35733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35734 \begin_inset Text
35735
35736 \begin_layout Plain Layout
35737 page%
35738 \end_layout
35739
35740 \end_inset
35741 </cell>
35742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35743 \begin_inset Text
35744
35745 \begin_layout Plain Layout
35746 % of paper width
35747 \end_layout
35748
35749 \end_inset
35750 </cell>
35751 </row>
35752 <row>
35753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35754 \begin_inset Text
35755
35756 \begin_layout Plain Layout
35757 line%
35758 \end_layout
35759
35760 \end_inset
35761 </cell>
35762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35763 \begin_inset Text
35764
35765 \begin_layout Plain Layout
35766 % of line width
35767 \end_layout
35768
35769 \end_inset
35770 </cell>
35771 </row>
35772 <row>
35773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35774 \begin_inset Text
35775
35776 \begin_layout Plain Layout
35777 theight%
35778 \end_layout
35779
35780 \end_inset
35781 </cell>
35782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35783 \begin_inset Text
35784
35785 \begin_layout Plain Layout
35786 % of text height
35787 \end_layout
35788
35789 \end_inset
35790 </cell>
35791 </row>
35792 <row>
35793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35794 \begin_inset Text
35795
35796 \begin_layout Plain Layout
35797 pheight%
35798 \end_layout
35799
35800 \end_inset
35801 </cell>
35802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35803 \begin_inset Text
35804
35805 \begin_layout Plain Layout
35806 % of paper height
35807 \end_layout
35808
35809 \end_inset
35810 </cell>
35811 </row>
35812 <row>
35813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35814 \begin_inset Text
35815
35816 \begin_layout Plain Layout
35817 ex
35818 \end_layout
35819
35820 \end_inset
35821 </cell>
35822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35823 \begin_inset Text
35824
35825 \begin_layout Plain Layout
35826 height of letter 
35827 \emph on
35828 x
35829 \emph default
35830  in current font
35831 \end_layout
35832
35833 \end_inset
35834 </cell>
35835 </row>
35836 <row>
35837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35838 \begin_inset Text
35839
35840 \begin_layout Plain Layout
35841 em
35842 \end_layout
35843
35844 \end_inset
35845 </cell>
35846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
35847 \begin_inset Text
35848
35849 \begin_layout Plain Layout
35850 width of letter 
35851 \emph on
35852 M
35853 \emph default
35854  in current font
35855 \end_layout
35856
35857 \end_inset
35858 </cell>
35859 </row>
35860 <row>
35861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
35862 \begin_inset Text
35863
35864 \begin_layout Plain Layout
35865 mu
35866 \end_layout
35867
35868 \end_inset
35869 </cell>
35870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
35871 \begin_inset Text
35872
35873 \begin_layout Plain Layout
35874 math unit (1
35875 \begin_inset space \thinspace{}
35876 \end_inset
35877
35878 mu = 1/18
35879 \begin_inset space \thinspace{}
35880 \end_inset
35881
35882 em)
35883 \end_layout
35884
35885 \end_inset
35886 </cell>
35887 </row>
35888 </lyxtabular>
35889
35890 \end_inset
35891
35892
35893 \end_layout
35894
35895 \end_inset
35896
35897
35898 \end_layout
35899
35900 \begin_layout Chapter
35901 Output File Formats with Graphics
35902 \begin_inset CommandInset label
35903 LatexCommand label
35904 name "cha:Output-File-Formats"
35905
35906 \end_inset
35907
35908
35909 \end_layout
35910
35911 \begin_layout Section
35912 DVI
35913 \begin_inset Index idx
35914 status collapsed
35915
35916 \begin_layout Plain Layout
35917 File Formats ! DVI
35918 \end_layout
35919
35920 \end_inset
35921
35922
35923 \begin_inset Index idx
35924 status collapsed
35925
35926 \begin_layout Plain Layout
35927 DVI|see
35928 \begin_inset ERT
35929 status collapsed
35930
35931 \begin_layout Plain Layout
35932
35933 {
35934 \end_layout
35935
35936 \end_inset
35937
35938 File Formats
35939 \begin_inset ERT
35940 status collapsed
35941
35942 \begin_layout Plain Layout
35943
35944 }
35945 \end_layout
35946
35947 \end_inset
35948
35949
35950 \end_layout
35951
35952 \end_inset
35953
35954
35955 \end_layout
35956
35957 \begin_layout Standard
35958 This file type has the extension 
35959 \begin_inset Quotes eld
35960 \end_inset
35961
35962
35963 \family typewriter
35964 .dvi
35965 \family default
35966
35967 \begin_inset Quotes erd
35968 \end_inset
35969
35970 .
35971  It is called 
35972 \begin_inset Quotes eld
35973 \end_inset
35974
35975 device-independent
35976 \begin_inset Quotes erd
35977 \end_inset
35978
35979  (DVI), because it is completely portable; you can move them from one machine
35980  to another without needing to do any sort of conversion.
35981  At the time when this file-format was developed, this was no matter of
35982  course.
35983  DVIs are used for quick previews and as pre-stage for other output formats,
35984  like PostScript.
35985 \end_layout
35986
35987 \begin_layout Standard
35988 \begin_inset Note Greyedout
35989 status open
35990
35991 \begin_layout Plain Layout
35992
35993 \series bold
35994 Note:
35995 \series default
35996  DVI-files do not contain images; they will only be a linked.
35997 \end_layout
35998
35999 \end_inset
36000
36001  So don't forget this, if you move your 
36002 \family typewriter
36003 .dvi
36004 \family default
36005  file to another computer.
36006  This property can also slow down your computer when you view the DVI, because
36007  the DVI-viewer has to convert the image in the background to make it visible
36008  when you scroll in the DVI.
36009  So it is recommended that you use PDF for files with many images.
36010 \end_layout
36011
36012 \begin_layout Standard
36013 You can export your document to DVI by using the menu 
36014 \family sans
36015 File\SpecialChar \menuseparator
36016 Export\SpecialChar \menuseparator
36017 DVI
36018 \family default
36019 .
36020  You can view your document as DVI via the 
36021 \family sans
36022 View
36023 \family default
36024  menu or by using the toolbar button 
36025 \begin_inset Graphics
36026         filename ../images/buffer-view_dvi.png
36027         scale 85
36028         scaleBeforeRotation
36029
36030 \end_inset
36031
36032 .
36033 \end_layout
36034
36035 \begin_layout Section
36036 PostScript
36037 \begin_inset CommandInset label
36038 LatexCommand label
36039 name "sec:PostScript"
36040
36041 \end_inset
36042
36043
36044 \begin_inset Index idx
36045 status collapsed
36046
36047 \begin_layout Plain Layout
36048 File Formats ! PostScript
36049 \end_layout
36050
36051 \end_inset
36052
36053
36054 \begin_inset Index idx
36055 status collapsed
36056
36057 \begin_layout Plain Layout
36058 PostScript|see
36059 \begin_inset ERT
36060 status collapsed
36061
36062 \begin_layout Plain Layout
36063
36064 {
36065 \end_layout
36066
36067 \end_inset
36068
36069 File Formats
36070 \begin_inset ERT
36071 status collapsed
36072
36073 \begin_layout Plain Layout
36074
36075 }
36076 \end_layout
36077
36078 \end_inset
36079
36080
36081 \end_layout
36082
36083 \end_inset
36084
36085
36086 \end_layout
36087
36088 \begin_layout Standard
36089 This file type has the extension 
36090 \begin_inset Quotes eld
36091 \end_inset
36092
36093
36094 \family typewriter
36095 .ps
36096 \family default
36097
36098 \begin_inset Quotes erd
36099 \end_inset
36100
36101 .
36102  PostScript was developed by the company 
36103 \family typewriter
36104 Adobe
36105 \family default
36106  as a printer language.
36107  The file therefore contains commands that the printer uses to print the
36108  file.
36109  PostScript can be seen as a 
36110 \begin_inset Quotes eld
36111 \end_inset
36112
36113 programming language
36114 \begin_inset Quotes erd
36115 \end_inset
36116
36117 ; you can calculate with it and draw diagrams and images
36118 \begin_inset Foot
36119 status collapsed
36120
36121 \begin_layout Plain Layout
36122 If you are interested to learn more about this, have a look at the LaTeX-package
36123  
36124 \series bold
36125 PSTricks
36126 \series default
36127  
36128 \begin_inset CommandInset citation
36129 LatexCommand cite
36130 key "pstricks"
36131
36132 \end_inset
36133
36134 .
36135 \end_layout
36136
36137 \end_inset
36138
36139 .
36140  Due to this ability, the files are often bigger than PDFs.
36141 \end_layout
36142
36143 \begin_layout Standard
36144 PostScript can only contain images in the format 
36145 \begin_inset Quotes eld
36146 \end_inset
36147
36148 Encapsulated PostScript
36149 \begin_inset Quotes erd
36150 \end_inset
36151
36152  (EPS, file extension 
36153 \begin_inset Quotes eld
36154 \end_inset
36155
36156
36157 \family typewriter
36158 .eps
36159 \family default
36160
36161 \begin_inset Quotes erd
36162 \end_inset
36163
36164 ).
36165  As LyX allows you to use any known image format in your document, it has
36166  to convert images in the background to EPS.
36167  If you have e.g.
36168 \begin_inset space ~
36169 \end_inset
36170
36171 50
36172 \begin_inset space ~
36173 \end_inset
36174
36175 images in your document, LyX has to do 50
36176 \begin_inset space ~
36177 \end_inset
36178
36179 conversions whenever you view or export your document.
36180  This will slow down your work flow with LyX drastically.
36181  So if you plan to use PostScript, you can insert your images directly as
36182  EPS to avoid this problem.
36183 \end_layout
36184
36185 \begin_layout Standard
36186 You can export your document to PostScript using the menu 
36187 \family sans
36188 File\SpecialChar \menuseparator
36189 Export\SpecialChar \menuseparator
36190 Postscript
36191 \family default
36192 .
36193  You can view your document as PostScript via the 
36194 \family sans
36195 View
36196 \family default
36197  menu or by using the toolbar button 
36198 \begin_inset Graphics
36199         filename ../images/buffer-view_ps.png
36200         scale 85
36201         scaleBeforeRotation
36202
36203 \end_inset
36204
36205 .
36206 \end_layout
36207
36208 \begin_layout Section
36209 PDF
36210 \begin_inset Index idx
36211 status collapsed
36212
36213 \begin_layout Plain Layout
36214 File Formats ! PDF
36215 \end_layout
36216
36217 \end_inset
36218
36219
36220 \begin_inset Index idx
36221 status collapsed
36222
36223 \begin_layout Plain Layout
36224 PDF
36225 \end_layout
36226
36227 \end_inset
36228
36229
36230 \end_layout
36231
36232 \begin_layout Standard
36233 This file type has the extension 
36234 \begin_inset Quotes eld
36235 \end_inset
36236
36237
36238 \family typewriter
36239 .pdf
36240 \family default
36241
36242 \begin_inset Quotes erd
36243 \end_inset
36244
36245 .
36246  The 
36247 \begin_inset Quotes eld
36248 \end_inset
36249
36250 Portable Document Format
36251 \begin_inset Quotes erd
36252 \end_inset
36253
36254  (PDF) was developed by 
36255 \family typewriter
36256 Adobe
36257 \family default
36258  as a derivative of PostScript.
36259  It is more compressed and it uses fewer commands than PostScript.
36260  As the name 
36261 \begin_inset Quotes eld
36262 \end_inset
36263
36264 portable
36265 \begin_inset Quotes erd
36266 \end_inset
36267
36268  implies, it can be processed at any computer system and the printed output
36269  looks exactly the same.
36270 \end_layout
36271
36272 \begin_layout Standard
36273 PDF can contain images in its own PDF format, in the format 
36274 \begin_inset Quotes eld
36275 \end_inset
36276
36277 Joint Photographic Experts Group
36278 \begin_inset Quotes erd
36279 \end_inset
36280
36281  (JPG, file extension 
36282 \begin_inset Quotes eld
36283 \end_inset
36284
36285
36286 \family typewriter
36287 .jpg
36288 \family default
36289
36290 \begin_inset Quotes erd
36291 \end_inset
36292
36293  or 
36294 \begin_inset Quotes eld
36295 \end_inset
36296
36297
36298 \family typewriter
36299 .jpeg
36300 \family default
36301
36302 \begin_inset Quotes erd
36303 \end_inset
36304
36305 ), and in the format 
36306 \begin_inset Quotes eld
36307 \end_inset
36308
36309 Portable Network Graphics
36310 \begin_inset Quotes erd
36311 \end_inset
36312
36313  (PNG, file extension 
36314 \begin_inset Quotes eld
36315 \end_inset
36316
36317
36318 \family typewriter
36319 .png
36320 \family default
36321
36322 \begin_inset Quotes erd
36323 \end_inset
36324
36325 ).
36326  Nevertheless you can use any other image format, because LyX converts them
36327  in the background to one of these formats.
36328  But as described in the section about PostScript, the image conversion
36329  will slow down your work flow.
36330  So it is recommended that you use images in one of the three mentioned
36331  formats.
36332 \end_layout
36333
36334 \begin_layout Standard
36335 You can export your document to PDF via the menu 
36336 \family sans
36337 File\SpecialChar \menuseparator
36338 Export
36339 \family default
36340  in three different ways:
36341 \end_layout
36342
36343 \begin_layout Description
36344 PDF
36345 \begin_inset space ~
36346 \end_inset
36347
36348 (ps2pdf) This uses the program 
36349 \family typewriter
36350 ps2pdf
36351 \family default
36352  that creates a PDF from a PostScript-version of your file.
36353  The PostScript-version is produced by the program 
36354 \family typewriter
36355 dvips
36356 \family default
36357  which uses a DVI-version as intermediate step.
36358  So this export variant consists of three conversions.
36359 \end_layout
36360
36361 \begin_layout Description
36362 PDF
36363 \begin_inset space ~
36364 \end_inset
36365
36366 (dvipdfm) This uses the program 
36367 \family typewriter
36368 dvipdfm
36369 \family default
36370  that converts your file in the background to DVI and in a second step to
36371  PDF.
36372 \end_layout
36373
36374 \begin_layout Description
36375 PDF
36376 \begin_inset space ~
36377 \end_inset
36378
36379 (pdflatex) This uses the program 
36380 \family typewriter
36381 pdftex
36382 \family default
36383  that converts your file directly to PDF.
36384 \end_layout
36385
36386 \begin_layout Standard
36387 It is recommended that you use 
36388 \family sans
36389 PDF
36390 \begin_inset space ~
36391 \end_inset
36392
36393 (pdflatex)
36394 \family default
36395  because 
36396 \family typewriter
36397 pdftex
36398 \family default
36399  supports all features of actual PDF-versions, is quick and works stable.
36400  The program 
36401 \family typewriter
36402 dvipdfm
36403 \family default
36404  is not under development and therefore a bit outdated.
36405 \end_layout
36406
36407 \begin_layout Standard
36408 You can view your document as PDF via the 
36409 \family sans
36410 View
36411 \family default
36412  menu or by using the toolbar button 
36413 \begin_inset Graphics
36414         filename ../images/buffer-view_pdf2.png
36415         scale 85
36416         scaleBeforeRotation
36417
36418 \end_inset
36419
36420  
36421 \family sans
36422 (
36423 \family default
36424 that uses 
36425 \family sans
36426 PDF
36427 \begin_inset space ~
36428 \end_inset
36429
36430 (pdflatex)
36431 \family default
36432 ).
36433 \end_layout
36434
36435 \begin_layout Chapter
36436 Explanation of Equation
36437 \begin_inset space ~
36438 \end_inset
36439
36440 (
36441 \begin_inset CommandInset ref
36442 LatexCommand ref
36443 reference "eq:Wgn"
36444
36445 \end_inset
36446
36447 )
36448 \begin_inset CommandInset label
36449 LatexCommand label
36450 name "cha:Explanation-of-Equation"
36451
36452 \end_inset
36453
36454
36455 \end_layout
36456
36457 \begin_layout Standard
36458 We can calculate the total width of 
36459 \emph on
36460 n
36461 \emph default
36462  table cells 
36463 \begin_inset Formula $W_{\mathrm{tot\, n}}$
36464 \end_inset
36465
36466  as follows:
36467 \end_layout
36468
36469 \begin_layout Standard
36470 \begin_inset Formula 
36471 \begin{equation}
36472 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
36473 \end{equation}
36474
36475 \end_inset
36476
36477 where 
36478 \begin_inset Formula $W_{g\, n}$
36479 \end_inset
36480
36481  is the given width of all cells, 
36482 \series bold
36483
36484 \backslash
36485 tabcolsep
36486 \series default
36487  is the LaTeX-length between the cell text and the cell border (its default
36488  value is 6
36489 \begin_inset space \thinspace{}
36490 \end_inset
36491
36492 pt).
36493  
36494 \series bold
36495
36496 \backslash
36497 arrayrulewidth
36498 \series default
36499  is the thickness of the cell border line, the default is 0.4
36500 \begin_inset space \thinspace{}
36501 \end_inset
36502
36503 pt.
36504 \end_layout
36505
36506 \begin_layout Standard
36507 Following equation
36508 \begin_inset space ~
36509 \end_inset
36510
36511
36512 \begin_inset CommandInset ref
36513 LatexCommand eqref
36514 reference "eq:Wtot_n"
36515
36516 \end_inset
36517
36518 , the total width of a multicolumn 
36519 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
36520 \end_inset
36521
36522  is
36523 \end_layout
36524
36525 \begin_layout Standard
36526 \begin_inset Formula 
36527 \begin{equation}
36528 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
36529 \end{equation}
36530
36531 \end_inset
36532
36533
36534 \end_layout
36535
36536 \begin_layout Standard
36537 By setting equation
36538 \begin_inset space ~
36539 \end_inset
36540
36541
36542 \begin_inset CommandInset ref
36543 LatexCommand eqref
36544 reference "eq:Wtot_n"
36545
36546 \end_inset
36547
36548  and 
36549 \begin_inset CommandInset ref
36550 LatexCommand eqref
36551 reference "eq:Wtot_mult"
36552
36553 \end_inset
36554
36555  equal we can calculate the needed given width 
36556 \begin_inset Formula $W_{g\, n}$
36557 \end_inset
36558
36559  when 
36560 \emph on
36561 n
36562 \emph default
36563  columns are spanned, so that each column has a total width of 
36564 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
36565 \end_inset
36566
36567 :
36568 \end_layout
36569
36570 \begin_layout Standard
36571 \begin_inset Formula 
36572 \begin{equation}
36573 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
36574 \end{equation}
36575
36576 \end_inset
36577
36578
36579 \end_layout
36580
36581 \begin_layout Bibliography
36582 \labelwidthstring Bibliography
36583 \begin_inset CommandInset bibitem
36584 LatexCommand bibitem
36585 key "latexcompanion"
36586
36587 \end_inset
36588
36589 Frank Mittelbach and Michel Goossens: 
36590 \emph on
36591 The LaTeX Companion Second Edition.
36592
36593 \emph default
36594  Addison-Wesley, 2004
36595 \end_layout
36596
36597 \begin_layout Bibliography
36598 \labelwidthstring Bibliography
36599 \begin_inset CommandInset bibitem
36600 LatexCommand bibitem
36601 key "latexguide"
36602
36603 \end_inset
36604
36605 Helmut Kopka and Patrick W.
36606  Daly: 
36607 \emph on
36608 A Guide to LaTeX Fourth Edition.
36609
36610 \emph default
36611  Addison-Wesley, 2003
36612 \end_layout
36613
36614 \begin_layout Bibliography
36615 \labelwidthstring Bibliography
36616 \begin_inset CommandInset bibitem
36617 LatexCommand bibitem
36618 key "latexbook"
36619
36620 \end_inset
36621
36622 Leslie Lamport: 
36623 \emph on
36624 LaTeX: A Document Preparation System.
36625
36626 \emph default
36627  Addison-Wesley, second edition, 1994
36628 \end_layout
36629
36630 \begin_layout Bibliography
36631 \labelwidthstring Bibliography
36632 \begin_inset CommandInset bibitem
36633 LatexCommand bibitem
36634 key "booktabs"
36635
36636 \end_inset
36637
36638 Documentation of the LaTeX-package 
36639 \series bold
36640
36641 \begin_inset CommandInset href
36642 LatexCommand href
36643 name "booktabs"
36644 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
36645
36646 \end_inset
36647
36648
36649 \series default
36650
36651 \begin_inset Index idx
36652 status collapsed
36653
36654 \begin_layout Plain Layout
36655 LaTeX-packages ! booktabs
36656 \end_layout
36657
36658 \end_inset
36659
36660
36661 \end_layout
36662
36663 \begin_layout Bibliography
36664 \labelwidthstring Bibliography
36665 \begin_inset CommandInset bibitem
36666 LatexCommand bibitem
36667 key "caption"
36668
36669 \end_inset
36670
36671 Documentation of the LaTeX-package 
36672 \series bold
36673
36674 \begin_inset CommandInset href
36675 LatexCommand href
36676 name "caption"
36677 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
36678
36679 \end_inset
36680
36681
36682 \series default
36683
36684 \begin_inset Index idx
36685 status collapsed
36686
36687 \begin_layout Plain Layout
36688 LaTeX-packages ! caption
36689 \end_layout
36690
36691 \end_inset
36692
36693
36694 \end_layout
36695
36696 \begin_layout Bibliography
36697 \labelwidthstring Bibliography
36698 \begin_inset CommandInset bibitem
36699 LatexCommand bibitem
36700 key "endfloat"
36701
36702 \end_inset
36703
36704 Documentation of the LaTeX-package 
36705 \series bold
36706
36707 \begin_inset CommandInset href
36708 LatexCommand href
36709 name "endfloat"
36710 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
36711
36712 \end_inset
36713
36714
36715 \series default
36716
36717 \begin_inset Index idx
36718 status collapsed
36719
36720 \begin_layout Plain Layout
36721 LaTeX-packages ! endfloat
36722 \end_layout
36723
36724 \end_inset
36725
36726
36727 \end_layout
36728
36729 \begin_layout Bibliography
36730 \labelwidthstring Bibliography
36731 \begin_inset CommandInset bibitem
36732 LatexCommand bibitem
36733 key "wrapfig"
36734
36735 \end_inset
36736
36737 Documentation of the LaTeX-package 
36738 \series bold
36739
36740 \begin_inset CommandInset href
36741 LatexCommand href
36742 name "wrapfig"
36743 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
36744
36745 \end_inset
36746
36747
36748 \series default
36749
36750 \begin_inset Index idx
36751 status collapsed
36752
36753 \begin_layout Plain Layout
36754 LaTeX-packages ! wrapfig
36755 \begin_inset ERT
36756 status collapsed
36757
36758 \begin_layout Plain Layout
36759
36760
36761 \backslash
36762 vspace{4mm}
36763 \end_layout
36764
36765 \end_inset
36766
36767
36768 \end_layout
36769
36770 \end_inset
36771
36772
36773 \end_layout
36774
36775 \begin_layout Bibliography
36776 \labelwidthstring Bibliography
36777 \begin_inset CommandInset bibitem
36778 LatexCommand bibitem
36779 key "footmisc"
36780
36781 \end_inset
36782
36783 Documentation of the LaTeX-package 
36784 \series bold
36785
36786 \begin_inset CommandInset href
36787 LatexCommand href
36788 name "footmisc"
36789 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
36790
36791 \end_inset
36792
36793
36794 \series default
36795
36796 \begin_inset Index idx
36797 status collapsed
36798
36799 \begin_layout Plain Layout
36800 LaTeX-packages ! footmisc
36801 \end_layout
36802
36803 \end_inset
36804
36805
36806 \end_layout
36807
36808 \begin_layout Bibliography
36809 \labelwidthstring Bibliography
36810 \begin_inset CommandInset bibitem
36811 LatexCommand bibitem
36812 key "hypcap"
36813
36814 \end_inset
36815
36816 Documentation of the LaTeX-package 
36817 \series bold
36818
36819 \begin_inset CommandInset href
36820 LatexCommand href
36821 name "hypcap"
36822 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
36823
36824 \end_inset
36825
36826
36827 \series default
36828
36829 \begin_inset Index idx
36830 status collapsed
36831
36832 \begin_layout Plain Layout
36833 LaTeX-packages ! hyperref
36834 \end_layout
36835
36836 \end_inset
36837
36838
36839 \end_layout
36840
36841 \begin_layout Bibliography
36842 \labelwidthstring Bibliography
36843 \begin_inset CommandInset bibitem
36844 LatexCommand bibitem
36845 key "hyperref"
36846
36847 \end_inset
36848
36849 Documentation of the LaTeX-package 
36850 \series bold
36851
36852 \begin_inset CommandInset href
36853 LatexCommand href
36854 name "hyperref"
36855 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
36856
36857 \end_inset
36858
36859
36860 \series default
36861
36862 \begin_inset Index idx
36863 status collapsed
36864
36865 \begin_layout Plain Layout
36866 LaTeX-packages ! hyperref
36867 \end_layout
36868
36869 \end_inset
36870
36871
36872 \end_layout
36873
36874 \begin_layout Bibliography
36875 \labelwidthstring Bibliography
36876 \begin_inset CommandInset bibitem
36877 LatexCommand bibitem
36878 key "KOMA-Script"
36879
36880 \end_inset
36881
36882 Documentation of the LaTeX-package 
36883 \series bold
36884
36885 \begin_inset CommandInset href
36886 LatexCommand href
36887 name "KOMA-Script"
36888 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
36889
36890 \end_inset
36891
36892
36893 \series default
36894
36895 \begin_inset Index idx
36896 status collapsed
36897
36898 \begin_layout Plain Layout
36899 LaTeX-packages ! KOMA-Script
36900 \end_layout
36901
36902 \end_inset
36903
36904
36905 \end_layout
36906
36907 \begin_layout Bibliography
36908 \labelwidthstring Bibliography
36909 \begin_inset CommandInset bibitem
36910 LatexCommand bibitem
36911 key "listings"
36912
36913 \end_inset
36914
36915 Documentation of the LaTeX-package 
36916 \series bold
36917
36918 \begin_inset CommandInset href
36919 LatexCommand href
36920 name "listings"
36921 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
36922
36923 \end_inset
36924
36925
36926 \series default
36927
36928 \begin_inset Index idx
36929 status collapsed
36930
36931 \begin_layout Plain Layout
36932 LaTeX-packages ! listings
36933 \end_layout
36934
36935 \end_inset
36936
36937
36938 \end_layout
36939
36940 \begin_layout Bibliography
36941 \labelwidthstring Bibliography
36942 \begin_inset CommandInset bibitem
36943 LatexCommand bibitem
36944 key "marginnote"
36945
36946 \end_inset
36947
36948 Documentation of the LaTeX-package 
36949 \series bold
36950
36951 \begin_inset CommandInset href
36952 LatexCommand href
36953 name "marginnote"
36954 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
36955
36956 \end_inset
36957
36958
36959 \series default
36960
36961 \begin_inset Index idx
36962 status collapsed
36963
36964 \begin_layout Plain Layout
36965 LaTeX-packages ! marginnote
36966 \end_layout
36967
36968 \end_inset
36969
36970
36971 \end_layout
36972
36973 \begin_layout Bibliography
36974 \labelwidthstring Bibliography
36975 \begin_inset CommandInset bibitem
36976 LatexCommand bibitem
36977 key "lettrine"
36978
36979 \end_inset
36980
36981 Documentation of the LaTeX-package 
36982 \series bold
36983
36984 \begin_inset CommandInset href
36985 LatexCommand href
36986 name "lettrine"
36987 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
36988
36989 \end_inset
36990
36991
36992 \series default
36993  and an 
36994 \begin_inset CommandInset href
36995 LatexCommand href
36996 name "example"
36997 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
36998
36999 \end_inset
37000
37001
37002 \begin_inset Index idx
37003 status collapsed
37004
37005 \begin_layout Plain Layout
37006 LaTeX-packages ! lettrine
37007 \end_layout
37008
37009 \end_inset
37010
37011
37012 \end_layout
37013
37014 \begin_layout Bibliography
37015 \labelwidthstring Bibliography
37016 \begin_inset CommandInset bibitem
37017 LatexCommand bibitem
37018 key "pstricks"
37019
37020 \end_inset
37021
37022 Web page of the LaTeX-package 
37023 \series bold
37024
37025 \begin_inset CommandInset href
37026 LatexCommand href
37027 name "PSTricks"
37028 target "http://tug.org/PSTricks/"
37029
37030 \end_inset
37031
37032
37033 \series default
37034
37035 \begin_inset Index idx
37036 status collapsed
37037
37038 \begin_layout Plain Layout
37039 LaTeX-packages ! PSTricks
37040 \end_layout
37041
37042 \end_inset
37043
37044
37045 \end_layout
37046
37047 \begin_layout Bibliography
37048 \labelwidthstring Bibliography
37049 \begin_inset CommandInset bibitem
37050 LatexCommand bibitem
37051 key "sidecap"
37052
37053 \end_inset
37054
37055 Documentation of the LaTeX-package 
37056 \series bold
37057
37058 \begin_inset CommandInset href
37059 LatexCommand href
37060 name "sidecap"
37061 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
37062
37063 \end_inset
37064
37065
37066 \series default
37067
37068 \begin_inset Index idx
37069 status collapsed
37070
37071 \begin_layout Plain Layout
37072 LaTeX-packages ! sidecap
37073 \end_layout
37074
37075 \end_inset
37076
37077
37078 \end_layout
37079
37080 \begin_layout Bibliography
37081 \labelwidthstring Bibliography
37082 \begin_inset CommandInset bibitem
37083 LatexCommand bibitem
37084 key "prettyref"
37085
37086 \end_inset
37087
37088 Documentation of the LaTeX-package 
37089 \series bold
37090
37091 \begin_inset CommandInset href
37092 LatexCommand href
37093 name "prettyref"
37094 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
37095
37096 \end_inset
37097
37098
37099 \series default
37100
37101 \begin_inset Index idx
37102 status collapsed
37103
37104 \begin_layout Plain Layout
37105 LaTeX-packages ! prettyref
37106 \end_layout
37107
37108 \end_inset
37109
37110
37111 \end_layout
37112
37113 \begin_layout Bibliography
37114 \labelwidthstring Bibliography
37115 \begin_inset CommandInset bibitem
37116 LatexCommand bibitem
37117 key "refstyle"
37118
37119 \end_inset
37120
37121 Documentation of the LaTeX-package 
37122 \series bold
37123
37124 \begin_inset CommandInset href
37125 LatexCommand href
37126 name "refstyle"
37127 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
37128
37129 \end_inset
37130
37131
37132 \series default
37133
37134 \begin_inset Index idx
37135 status collapsed
37136
37137 \begin_layout Plain Layout
37138 LaTeX-packages ! refstyle
37139 \end_layout
37140
37141 \end_inset
37142
37143
37144 \end_layout
37145
37146 \begin_layout Bibliography
37147 \labelwidthstring Bibliography
37148 \begin_inset CommandInset bibitem
37149 LatexCommand bibitem
37150 key "NewInLyX20"
37151
37152 \end_inset
37153
37154
37155 \begin_inset CommandInset href
37156 LatexCommand href
37157 name "Wiki page"
37158 target "http://wiki.lyx.org/LyX/NewInLyX20"
37159
37160 \end_inset
37161
37162  about new features in 
37163 \family sans
37164 LyX 2.0
37165 \family default
37166 .
37167 \end_layout
37168
37169 \begin_layout Standard
37170 \begin_inset CommandInset index_print
37171 LatexCommand printindex
37172 type "idx"
37173
37174 \end_inset
37175
37176
37177 \end_layout
37178
37179 \end_body
37180 \end_document