]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
92c58df78b95095094c082b6d290ee4a7bbea30e
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 2.0.0beta1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 408
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 % redefine the \LyX macro for PDF bookmarks
148 \def\LyX{\texorpdfstring{%
149   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
150   {LyX}}
151 \end_preamble
152 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
153 \use_default_options false
154 \maintain_unincluded_children false
155 \language english
156 \inputencoding auto
157 \fontencoding global
158 \font_roman default
159 \font_sans default
160 \font_typewriter default
161 \font_default_family default
162 \use_xetex false
163 \font_sc false
164 \font_osf false
165 \font_sf_scale 100
166 \font_tt_scale 100
167
168 \graphics default
169 \default_output_format default
170 \output_sync 0
171 \bibtex_command default
172 \index_command default
173 \paperfontsize 12
174 \spacing single
175 \use_hyperref true
176 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
177 \pdf_author "LyX Team, Uwe Stöhr"
178 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
179 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
180 \pdf_bookmarks true
181 \pdf_bookmarksnumbered true
182 \pdf_bookmarksopen true
183 \pdf_bookmarksopenlevel 1
184 \pdf_breaklinks false
185 \pdf_pdfborder false
186 \pdf_colorlinks true
187 \pdf_backref false
188 \pdf_pdfusetitle false
189 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
190 \papersize default
191 \use_geometry false
192 \use_amsmath 2
193 \use_esint 0
194 \use_mhchem 1
195 \use_mathdots 1
196 \cite_engine basic
197 \use_bibtopic false
198 \use_indices false
199 \paperorientation portrait
200 \suppress_date false
201 \use_refstyle 0
202 \notefontcolor #0000ff
203 \index Index
204 \shortcut idx
205 \color #008000
206 \end_index
207 \secnumdepth 3
208 \tocdepth 3
209 \paragraph_separation skip
210 \defskip medskip
211 \quotes_language english
212 \papercolumns 1
213 \papersides 2
214 \paperpagestyle default
215 \bullet 1 1 34 -1
216 \bullet 2 2 35 -1
217 \bullet 3 2 7 -1
218 \tracking_changes false
219 \output_changes false
220 \html_math_output 0
221 \html_be_strict false
222 \end_header
223
224 \begin_body
225
226 \begin_layout Title
227 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
228  manual
229 \end_layout
230
231 \begin_layout Author
232 by the LyX Team
233 \begin_inset Foot
234 status collapsed
235
236 \begin_layout Plain Layout
237 \noindent
238 If you have comments or error corrections, please send them to the LyX Documenta
239 tion mailing list: 
240 \begin_inset CommandInset href
241 LatexCommand href
242 name "lyx-docs@lists.lyx.org"
243 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
244 type "mailto:"
245
246 \end_inset
247
248
249 \end_layout
250
251 \end_inset
252
253
254 \begin_inset Note Note
255 status collapsed
256
257 \begin_layout Plain Layout
258 author: Uwe Stöhr
259 \end_layout
260
261 \end_inset
262
263
264 \begin_inset Newline newline
265 \end_inset
266
267
268 \begin_inset Newline newline
269 \end_inset
270
271
272 \family sans
273 Version 2.0.x
274 \end_layout
275
276 \begin_layout Standard
277 \begin_inset CommandInset toc
278 LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Plain Layout
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295
296 \series bold
297 colortbl
298 \series default
299
300 \series bold
301 marginnote
302 \series default
303 , and 
304 \series bold
305 sidecap
306 \series default
307  must be installed.
308  If they are not installed you can export the document anyway but the sections
309  where the packages are required won't appear in the output.
310 \end_layout
311
312 \begin_layout Plain Layout
313 The latest PDF-version of this document can be found here:
314 \begin_inset Newline newline
315 \end_inset
316
317
318 \series bold
319 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
320 \end_layout
321
322 \end_inset
323
324
325 \end_layout
326
327 \begin_layout Chapter
328 Figures
329 \begin_inset Index idx
330 status collapsed
331
332 \begin_layout Plain Layout
333 Figures
334 \end_layout
335
336 \end_inset
337
338
339 \begin_inset Index idx
340 status collapsed
341
342 \begin_layout Plain Layout
343 Graphics|see
344 \begin_inset ERT
345 status collapsed
346
347 \begin_layout Plain Layout
348
349 {
350 \end_layout
351
352 \end_inset
353
354 Figures
355 \begin_inset ERT
356 status collapsed
357
358 \begin_layout Plain Layout
359
360 }
361 \end_layout
362
363 \end_inset
364
365
366 \end_layout
367
368 \end_inset
369
370
371 \end_layout
372
373 \begin_layout Section
374 Graphics Dialog
375 \begin_inset Index idx
376 status collapsed
377
378 \begin_layout Plain Layout
379 Figures ! Graphics Dialog
380 \end_layout
381
382 \end_inset
383
384
385 \begin_inset CommandInset label
386 LatexCommand label
387 name "sec:Graphics-Dialog"
388
389 \end_inset
390
391
392 \end_layout
393
394 \begin_layout Standard
395 To insert an image into your document, place the cursor at the text position
396  you want and click on the toolbar icon 
397 \begin_inset Graphics
398         filename ../images/dialog-show-new-inset_graphics.png
399         scale 85
400         scaleBeforeRotation
401
402 \end_inset
403
404  or use the menu 
405 \family sans
406 Insert\SpecialChar \menuseparator
407 Graphics
408 \family default
409 .
410  Then a dialog will appear to choose the file to load.
411  The image will appear in the output exactly at the position where it is
412  in the text.
413 \end_layout
414
415 \begin_layout Standard
416 The graphics dialog can be called at any time by clicking on an image.
417  This dialog has three tabs:
418 \end_layout
419
420 \begin_layout Description
421
422 \family sans
423 Graphics
424 \family default
425  Here you can choose an image file and adjust its appearance in the output.
426  The available units for the image size are explained in appendix
427 \begin_inset space ~
428 \end_inset
429
430
431 \begin_inset CommandInset ref
432 LatexCommand ref
433 reference "cha:Units-available-in"
434
435 \end_inset
436
437 .
438 \begin_inset Newline newline
439 \end_inset
440
441
442 \begin_inset Index idx
443 status collapsed
444
445 \begin_layout Plain Layout
446 Figures ! rotated
447 \end_layout
448
449 \end_inset
450
451 You can rotate images counter-clockwise by setting a rotation angle and
452  a rotation origin.
453  The image will also be rotated inside LyX.
454 \begin_inset Newline newline
455 \end_inset
456
457
458 \begin_inset Index idx
459 status collapsed
460
461 \begin_layout Plain Layout
462 Figures ! scaled
463 \end_layout
464
465 \end_inset
466
467 Images can be scaled by using a percentage value or by setting the width
468  and height explicitly.
469  If you set only the width or only the height, the other size will be determined
470  automatically.
471  If you set both, then the image will be transformed to the given size,
472  possibly distorting it.
473  To prevent the image from distortion, use the option 
474 \family sans
475 Maintain aspect ratio
476 \family default
477 .
478  The image will then be scaled so that its width and height don't exceed
479  the specified dimensions.
480 \begin_inset Newline newline
481 \end_inset
482
483 Images can be opened in a program of your choice by right-clicking on it
484  and choosing the entry 
485 \family sans
486 Edit
487 \begin_inset space ~
488 \end_inset
489
490 externally
491 \family default
492  in the context menu.
493  The program can be set for every image format in the file format settings
494  in LyX's preferences.
495 \end_layout
496
497 \begin_layout Description
498
499 \family sans
500 Clipping
501 \family default
502  Alternatively to the usage of scaling units it is possible to set image
503  coordinates to adjust the height and width of the image in the output.
504  The coordinates can also be calculated automatically by pressing the button
505  
506 \family sans
507 Get
508 \begin_inset space ~
509 \end_inset
510
511 from
512 \begin_inset space ~
513 \end_inset
514
515 File
516 \family default
517 .
518  The option 
519 \family sans
520 Clip
521 \begin_inset space ~
522 \end_inset
523
524 to
525 \begin_inset space ~
526 \end_inset
527
528 bounding
529 \begin_inset space ~
530 \end_inset
531
532 box
533 \family default
534  will only print the image region within the given coordinates.
535  Normally you don't need to take care about image coordinates and can ignore
536  this tab.
537 \end_layout
538
539 \begin_layout Description
540
541 \family sans
542 LaTeX
543 \begin_inset space ~
544 \end_inset
545
546 and
547 \begin_inset space ~
548 \end_inset
549
550 LyX
551 \begin_inset space ~
552 \end_inset
553
554 options
555 \family default
556  In this tab you can modify the appearance of the image within LyX and LaTeX
557  experts can specify additional LaTeX options.
558 \begin_inset Newline newline
559 \end_inset
560
561 The option 
562 \family sans
563 Draft
564 \begin_inset space ~
565 \end_inset
566
567 mode
568 \family default
569  makes the image appear in the output only as a frame with the size of the
570  image.
571 \begin_inset Newline newline
572 \end_inset
573
574 The 
575 \family sans
576 Don't
577 \begin_inset space ~
578 \end_inset
579
580 unzip
581 \begin_inset space ~
582 \end_inset
583
584 on
585 \begin_inset space ~
586 \end_inset
587
588 export
589 \family default
590  option only affects zipped EPS-graphics, e.
591 \begin_inset space \thinspace{}
592 \end_inset
593
594 g.
595 \begin_inset space \space{}
596 \end_inset
597
598
599 \emph on
600 x.eps.gz
601 \emph default
602 .
603  When the option is used the images will not be unzipped on export, since
604  LaTeX can handle them as they are.
605 \begin_inset Newline newline
606 \end_inset
607
608 Zipped EPS-graphics are useful to save disk space when you choose PostScript
609  as output format, see appendix
610 \begin_inset space ~
611 \end_inset
612
613
614 \begin_inset CommandInset ref
615 LatexCommand ref
616 reference "sec:PostScript"
617
618 \end_inset
619
620 .
621  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
622  console:
623 \begin_inset Newline newline
624 \end_inset
625
626
627 \series bold
628 gzip x.eps
629 \series default
630
631 \begin_inset Newline newline
632 \end_inset
633
634
635 \series bold
636 zgrep %%Bounding x.eps.gz > x.eps.bb
637 \series default
638
639 \begin_inset Newline newline
640 \end_inset
641
642 The second command creates the bounding box file 
643 \begin_inset Quotes eld
644 \end_inset
645
646 x.eps.bb
647 \begin_inset Quotes erd
648 \end_inset
649
650  that is needed by LaTeX for zipped graphics.
651 \begin_inset Newline newline
652 \end_inset
653
654 The field 
655 \family sans
656 Initialize
657 \begin_inset space ~
658 \end_inset
659
660 Group
661 \begin_inset space ~
662 \end_inset
663
664 Name
665 \family default
666  allows you define or join an image settings group.
667 \begin_inset Index idx
668 status collapsed
669
670 \begin_layout Plain Layout
671 Figures ! Settings grouping
672 \end_layout
673
674 \end_inset
675
676  Images within such a group share their settings, so adjusting one image
677  of the group automatically also adjusts all other images of the group in
678  the same way.
679  So you can for example change the size for a bunch of images without the
680  need to manually change each of them.
681  Joining an existing group can also be done using the context menu of the
682  image by checking the name of the desired group.
683 \end_layout
684
685 \begin_layout Standard
686 \begin_inset VSpace bigskip
687 \end_inset
688
689
690 \end_layout
691
692 \begin_layout Standard
693 This is an example image in EPS format
694 \begin_inset Foot
695 status collapsed
696
697 \begin_layout Plain Layout
698 Image formats are explained in section
699 \begin_inset space ~
700 \end_inset
701
702
703 \begin_inset CommandInset ref
704 LatexCommand ref
705 reference "sec:Image-Formats"
706
707 \end_inset
708
709 .
710 \end_layout
711
712 \end_inset
713
714  within a separate, horizontally centered paragraph:
715 \end_layout
716
717 \begin_layout Standard
718 \align center
719 \begin_inset Graphics
720         filename clipart/mobius.eps
721         scale 70
722         scaleBeforeRotation
723         rotateOrigin center
724
725 \end_inset
726
727
728 \end_layout
729
730 \begin_layout Standard
731 This is the same image like the one above but in draft mode:
732 \end_layout
733
734 \begin_layout Standard
735 \align center
736 \begin_inset Graphics
737         filename clipart/mobius.eps
738         scale 70
739         draft
740         scaleBeforeRotation
741         rotateOrigin center
742
743 \end_inset
744
745
746 \end_layout
747
748 \begin_layout Standard
749 \begin_inset Newpage newpage
750 \end_inset
751
752
753 \end_layout
754
755 \begin_layout Section
756 Figure Floats
757 \begin_inset CommandInset label
758 LatexCommand label
759 name "sec:Figure-Floats"
760
761 \end_inset
762
763
764 \begin_inset Index idx
765 status collapsed
766
767 \begin_layout Plain Layout
768 Floats ! Figures
769 \end_layout
770
771 \end_inset
772
773
774 \begin_inset Index idx
775 status collapsed
776
777 \begin_layout Plain Layout
778 Figures ! Floats
779 \end_layout
780
781 \end_inset
782
783
784 \end_layout
785
786 \begin_layout Standard
787 For general explanations about floats, have a look at section
788 \begin_inset space ~
789 \end_inset
790
791
792 \begin_inset CommandInset ref
793 LatexCommand ref
794 reference "sec:FloatIntroduction"
795
796 \end_inset
797
798 .
799 \end_layout
800
801 \begin_layout Standard
802 The toolbar button 
803 \begin_inset Graphics
804         filename ../images/float-insert_figure.png
805         scale 85
806         scaleBeforeRotation
807
808 \end_inset
809
810  and the menu 
811 \family sans
812 Insert\SpecialChar \menuseparator
813 Float\SpecialChar \menuseparator
814 Figure
815 \family default
816  inserts a float with a caption that has the label 
817 \begin_inset Quotes eld
818 \end_inset
819
820 Figure
821 \begin_inset space ~
822 \end_inset
823
824 #:
825 \begin_inset Quotes erd
826 \end_inset
827
828  (# is the actual number).
829  You can insert the image above the caption, like in Figure
830 \begin_inset space ~
831 \end_inset
832
833
834 \begin_inset CommandInset ref
835 LatexCommand ref
836 reference "fig:kill-plat"
837
838 \end_inset
839
840  or below the caption, like in Figure
841 \begin_inset space ~
842 \end_inset
843
844
845 \begin_inset CommandInset ref
846 LatexCommand ref
847 reference "fig:escher"
848
849 \end_inset
850
851 .
852  More about caption placement is described in section
853 \begin_inset space ~
854 \end_inset
855
856
857 \begin_inset CommandInset ref
858 LatexCommand ref
859 reference "sec:Caption-Placement"
860
861 \end_inset
862
863 .
864 \end_layout
865
866 \begin_layout Standard
867 \begin_inset Float figure
868 wide false
869 sideways false
870 status open
871
872 \begin_layout Plain Layout
873 \align center
874 \begin_inset Graphics
875         filename clipart/platypus.eps
876         width 50col%
877         scaleBeforeRotation
878         rotateOrigin center
879
880 \end_inset
881
882
883 \end_layout
884
885 \begin_layout Plain Layout
886 \begin_inset Caption
887
888 \begin_layout Plain Layout
889 \begin_inset CommandInset label
890 LatexCommand label
891 name "fig:kill-plat"
892
893 \end_inset
894
895 A severely distorted platypus in a float.
896 \end_layout
897
898 \end_inset
899
900
901 \end_layout
902
903 \end_inset
904
905
906 \end_layout
907
908 \begin_layout Standard
909 \begin_inset Float figure
910 wide false
911 sideways false
912 status open
913
914 \begin_layout Plain Layout
915 \begin_inset Caption
916
917 \begin_layout Plain Layout
918 \begin_inset CommandInset label
919 LatexCommand label
920 name "fig:escher"
921
922 \end_inset
923
924 M.C.
925  Escher on acid.
926 \end_layout
927
928 \end_inset
929
930
931 \end_layout
932
933 \begin_layout Plain Layout
934 \align center
935 \begin_inset Graphics
936         filename clipart/escher-lsd.eps
937         scale 80
938         scaleBeforeRotation
939         rotateOrigin center
940
941 \end_inset
942
943
944 \end_layout
945
946 \end_inset
947
948
949 \end_layout
950
951 \begin_layout Standard
952 \begin_inset Index idx
953 status collapsed
954
955 \begin_layout Plain Layout
956 References ! to Figures
957 \end_layout
958
959 \end_inset
960
961 Figure
962 \begin_inset space ~
963 \end_inset
964
965
966 \begin_inset CommandInset ref
967 LatexCommand ref
968 reference "fig:kill-plat"
969
970 \end_inset
971
972  and 
973 \begin_inset CommandInset ref
974 LatexCommand ref
975 reference "fig:escher"
976
977 \end_inset
978
979  are examples of referenced figures.
980  Figures can be referenced in the text by referencing their label.
981  To do this insert a label in the caption using the menu 
982 \family sans
983 Insert\SpecialChar \menuseparator
984 Label
985 \family default
986  or the toolbar button 
987 \begin_inset Graphics
988         filename ../images/label-insert.png
989         scale 85
990         scaleBeforeRotation
991
992 \end_inset
993
994 .
995  You can now refer to the label using the menu 
996 \family sans
997 Insert\SpecialChar \menuseparator
998 Cross
999 \begin_inset space ~
1000 \end_inset
1001
1002 reference
1003 \family default
1004  or the toolbar button 
1005 \begin_inset Graphics
1006         filename ../images/dialog-show-new-inset_ref.png
1007         scale 85
1008         scaleBeforeRotation
1009
1010 \end_inset
1011
1012 .
1013  It is important to use references to floats, rather than using vague references
1014  like 
1015 \begin_inset Quotes eld
1016 \end_inset
1017
1018 the figure above
1019 \begin_inset Quotes erd
1020 \end_inset
1021
1022 , because LaTeX will reposition the floats in the final document and it
1023  might not be 
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 above
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  at all.
1032 \begin_inset Newline newline
1033 \end_inset
1034
1035 Referencing is explained in detail in section
1036 \begin_inset space ~
1037 \end_inset
1038
1039
1040 \begin_inset CommandInset ref
1041 LatexCommand ref
1042 reference "sec:Referencing-Floats"
1043
1044 \end_inset
1045
1046 .
1047 \end_layout
1048
1049 \begin_layout Standard
1050 Normally only one image is inserted to a figure float, but sometimes you
1051  might want to use two images with separate subcaptions.
1052  This can be done by inserting image floats into existing image floats.
1053  Note that only the main caption of the float is added to the List of Figures.
1054  Figure
1055 \begin_inset space ~
1056 \end_inset
1057
1058
1059 \begin_inset CommandInset ref
1060 LatexCommand ref
1061 reference "fig:Two-distorted-images"
1062
1063 \end_inset
1064
1065  is an example of a figure float with two images set side by side.
1066  You can also set the images one below the other.
1067  Figure
1068 \begin_inset space ~
1069 \end_inset
1070
1071
1072 \begin_inset CommandInset ref
1073 LatexCommand ref
1074 reference "fig:Undefinable-structure"
1075
1076 \end_inset
1077
1078  and 
1079 \begin_inset CommandInset ref
1080 LatexCommand ref
1081 reference "fig:A-Platypus"
1082
1083 \end_inset
1084
1085  are the subfigures.
1086 \end_layout
1087
1088 \begin_layout Standard
1089 \begin_inset Float figure
1090 wide false
1091 sideways false
1092 status open
1093
1094 \begin_layout Plain Layout
1095 \begin_inset space \hfill{}
1096 \end_inset
1097
1098
1099 \begin_inset Float figure
1100 wide false
1101 sideways false
1102 status collapsed
1103
1104 \begin_layout Plain Layout
1105 \begin_inset Caption
1106
1107 \begin_layout Plain Layout
1108 \begin_inset CommandInset label
1109 LatexCommand label
1110 name "fig:Undefinable-structure"
1111
1112 \end_inset
1113
1114 Undefinable structure.
1115 \end_layout
1116
1117 \end_inset
1118
1119
1120 \end_layout
1121
1122 \begin_layout Plain Layout
1123 \begin_inset Graphics
1124         filename clipart/escher-lsd.eps
1125         width 45col%
1126         scaleBeforeRotation
1127         groupId distorted
1128
1129 \end_inset
1130
1131
1132 \end_layout
1133
1134 \end_inset
1135
1136
1137 \begin_inset space \hfill{}
1138 \end_inset
1139
1140
1141 \begin_inset Float figure
1142 wide false
1143 sideways false
1144 status collapsed
1145
1146 \begin_layout Plain Layout
1147 \begin_inset Caption
1148
1149 \begin_layout Plain Layout
1150 \begin_inset CommandInset label
1151 LatexCommand label
1152 name "fig:A-Platypus"
1153
1154 \end_inset
1155
1156 A Platypus.
1157 \end_layout
1158
1159 \end_inset
1160
1161
1162 \end_layout
1163
1164 \begin_layout Plain Layout
1165 \begin_inset Graphics
1166         filename clipart/platypus.eps
1167         width 45col%
1168         scaleBeforeRotation
1169         groupId distorted
1170
1171 \end_inset
1172
1173
1174 \end_layout
1175
1176 \end_inset
1177
1178
1179 \begin_inset space \hfill{}
1180 \end_inset
1181
1182
1183 \end_layout
1184
1185 \begin_layout Plain Layout
1186 \begin_inset Caption
1187
1188 \begin_layout Plain Layout
1189 \begin_inset CommandInset label
1190 LatexCommand label
1191 name "fig:Two-distorted-images"
1192
1193 \end_inset
1194
1195
1196 \begin_inset CommandInset label
1197 LatexCommand label
1198 name "fig2:Two-distorted-images-2"
1199
1200 \end_inset
1201
1202 Two distorted images.
1203  Both images are in the image settings group named 
1204 \begin_inset Quotes eld
1205 \end_inset
1206
1207 distorted
1208 \begin_inset Quotes erd
1209 \end_inset
1210
1211 .
1212 \end_layout
1213
1214 \end_inset
1215
1216
1217 \end_layout
1218
1219 \end_inset
1220
1221
1222 \end_layout
1223
1224 \begin_layout Standard
1225 \begin_inset Newpage newpage
1226 \end_inset
1227
1228
1229 \end_layout
1230
1231 \begin_layout Section
1232 Image Formats
1233 \begin_inset CommandInset label
1234 LatexCommand label
1235 name "sec:Image-Formats"
1236
1237 \end_inset
1238
1239
1240 \begin_inset Index idx
1241 status collapsed
1242
1243 \begin_layout Plain Layout
1244 Image Formats
1245 \end_layout
1246
1247 \end_inset
1248
1249
1250 \begin_inset Index idx
1251 status collapsed
1252
1253 \begin_layout Plain Layout
1254 Figures ! Image Formats
1255 \end_layout
1256
1257 \end_inset
1258
1259
1260 \end_layout
1261
1262 \begin_layout Standard
1263 You can insert images in any known file format.
1264  But as explained in appendix
1265 \begin_inset space ~
1266 \end_inset
1267
1268
1269 \begin_inset CommandInset ref
1270 LatexCommand ref
1271 reference "cha:Output-File-Formats"
1272
1273 \end_inset
1274
1275 , each output document format allows only a few image formats.
1276  LyX uses therefore the program 
1277 \family typewriter
1278 ImageMagick
1279 \family default
1280  in the background to convert the images to the right format.
1281  To increase your work flow by avoiding these conversions in the background,
1282  you can use only the image formats that can directly be embedded in the
1283  output file format.
1284  The output file formats are explained in appendix
1285 \begin_inset space ~
1286 \end_inset
1287
1288
1289 \begin_inset CommandInset ref
1290 LatexCommand ref
1291 reference "cha:Output-File-Formats"
1292
1293 \end_inset
1294
1295 .
1296 \end_layout
1297
1298 \begin_layout Standard
1299 Similar to fonts there are two types of image formats:
1300 \end_layout
1301
1302 \begin_layout Description
1303 Bitmap
1304 \begin_inset space ~
1305 \end_inset
1306
1307 images consist of pixel values, often in a compressed form.
1308  They are therefore not fully scalable and look pixelated in large zooms.
1309  Well-known bitmap image formats are 
1310 \begin_inset Quotes eld
1311 \end_inset
1312
1313 Graphics Interchange Format
1314 \begin_inset Quotes erd
1315 \end_inset
1316
1317  (GIF, file extension 
1318 \begin_inset Quotes eld
1319 \end_inset
1320
1321
1322 \family typewriter
1323 .gif
1324 \family default
1325
1326 \begin_inset Quotes erd
1327 \end_inset
1328
1329 )
1330 \begin_inset Index idx
1331 status collapsed
1332
1333 \begin_layout Plain Layout
1334 GIF|see
1335 \begin_inset ERT
1336 status collapsed
1337
1338 \begin_layout Plain Layout
1339
1340 {
1341 \end_layout
1342
1343 \end_inset
1344
1345 Image formats
1346 \begin_inset ERT
1347 status collapsed
1348
1349 \begin_layout Plain Layout
1350
1351 }
1352 \end_layout
1353
1354 \end_inset
1355
1356
1357 \end_layout
1358
1359 \end_inset
1360
1361
1362 \begin_inset Quotes eld
1363 \end_inset
1364
1365 Portable Network Graphics
1366 \begin_inset Quotes erd
1367 \end_inset
1368
1369  (PNG, file extension 
1370 \begin_inset Quotes eld
1371 \end_inset
1372
1373
1374 \family typewriter
1375 .png
1376 \family default
1377
1378 \begin_inset Quotes erd
1379 \end_inset
1380
1381 )
1382 \begin_inset Index idx
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 PNG|see
1387 \begin_inset ERT
1388 status collapsed
1389
1390 \begin_layout Plain Layout
1391
1392 {
1393 \end_layout
1394
1395 \end_inset
1396
1397 Image formats
1398 \begin_inset ERT
1399 status collapsed
1400
1401 \begin_layout Plain Layout
1402
1403 }
1404 \end_layout
1405
1406 \end_inset
1407
1408
1409 \end_layout
1410
1411 \end_inset
1412
1413 , and 
1414 \begin_inset Quotes eld
1415 \end_inset
1416
1417 Joint Photographic Experts Group
1418 \begin_inset Quotes erd
1419 \end_inset
1420
1421  (JPG, file extension 
1422 \begin_inset Quotes eld
1423 \end_inset
1424
1425
1426 \family typewriter
1427 .jpg
1428 \family default
1429
1430 \begin_inset Quotes erd
1431 \end_inset
1432
1433  or 
1434 \begin_inset Quotes eld
1435 \end_inset
1436
1437
1438 \family typewriter
1439 .jpeg
1440 \family default
1441
1442 \begin_inset Quotes erd
1443 \end_inset
1444
1445 )
1446 \begin_inset Index idx
1447 status collapsed
1448
1449 \begin_layout Plain Layout
1450 JPG|see
1451 \begin_inset ERT
1452 status collapsed
1453
1454 \begin_layout Plain Layout
1455
1456 {
1457 \end_layout
1458
1459 \end_inset
1460
1461 Image formats
1462 \begin_inset ERT
1463 status collapsed
1464
1465 \begin_layout Plain Layout
1466
1467 }
1468 \end_layout
1469
1470 \end_inset
1471
1472
1473 \end_layout
1474
1475 \end_inset
1476
1477 .
1478 \end_layout
1479
1480 \begin_layout Description
1481 Vector
1482 \begin_inset space ~
1483 \end_inset
1484
1485 images consist of vectors and can therefore be scaled to any size without
1486  data loss.
1487  The scaling ability is necessary if you want to create presentations, because
1488  presentations are always scaled by the video projector.
1489  Scaling is also useful for online documents to let the user zoom into diagrams.
1490 \begin_inset Newline newline
1491 \end_inset
1492
1493 Well-known scalable image formats are 
1494 \begin_inset Quotes eld
1495 \end_inset
1496
1497 Scalable Vector Graphics
1498 \begin_inset Quotes erd
1499 \end_inset
1500
1501  (SVG, file extension 
1502 \begin_inset Quotes eld
1503 \end_inset
1504
1505
1506 \family typewriter
1507 .svg
1508 \family default
1509
1510 \begin_inset Quotes erd
1511 \end_inset
1512
1513 )
1514 \begin_inset Index idx
1515 status collapsed
1516
1517 \begin_layout Plain Layout
1518 SVG|see
1519 \begin_inset ERT
1520 status collapsed
1521
1522 \begin_layout Plain Layout
1523
1524 {
1525 \end_layout
1526
1527 \end_inset
1528
1529 Image formats
1530 \begin_inset ERT
1531 status collapsed
1532
1533 \begin_layout Plain Layout
1534
1535 }
1536 \end_layout
1537
1538 \end_inset
1539
1540
1541 \end_layout
1542
1543 \end_inset
1544
1545
1546 \begin_inset Quotes eld
1547 \end_inset
1548
1549 Encapsulated PostScript
1550 \begin_inset Quotes erd
1551 \end_inset
1552
1553  (EPS, file extension 
1554 \begin_inset Quotes eld
1555 \end_inset
1556
1557
1558 \family typewriter
1559 .eps
1560 \family default
1561
1562 \begin_inset Quotes erd
1563 \end_inset
1564
1565 )
1566 \begin_inset Index idx
1567 status collapsed
1568
1569 \begin_layout Plain Layout
1570 EPS|see
1571 \begin_inset ERT
1572 status collapsed
1573
1574 \begin_layout Plain Layout
1575
1576 {
1577 \end_layout
1578
1579 \end_inset
1580
1581 Image formats
1582 \begin_inset ERT
1583 status collapsed
1584
1585 \begin_layout Plain Layout
1586
1587 }
1588 \end_layout
1589
1590 \end_inset
1591
1592
1593 \end_layout
1594
1595 \end_inset
1596
1597
1598 \begin_inset Quotes eld
1599 \end_inset
1600
1601 Portable Document Format
1602 \begin_inset Quotes erd
1603 \end_inset
1604
1605  (PDF, file extension 
1606 \begin_inset Quotes eld
1607 \end_inset
1608
1609
1610 \family typewriter
1611 .pdf
1612 \family default
1613
1614 \begin_inset Quotes erd
1615 \end_inset
1616
1617 )
1618 \begin_inset Index idx
1619 status collapsed
1620
1621 \begin_layout Plain Layout
1622 PDF
1623 \end_layout
1624
1625 \end_inset
1626
1627 , and 
1628 \begin_inset Quotes eld
1629 \end_inset
1630
1631 Windows Metafile
1632 \begin_inset Quotes erd
1633 \end_inset
1634
1635  (WMF, file extension 
1636 \begin_inset Quotes eld
1637 \end_inset
1638
1639
1640 \family typewriter
1641 .wmf
1642 \family default
1643
1644 \begin_inset Quotes erd
1645 \end_inset
1646
1647 )
1648 \begin_inset Index idx
1649 status collapsed
1650
1651 \begin_layout Plain Layout
1652 SVG|see
1653 \begin_inset ERT
1654 status collapsed
1655
1656 \begin_layout Plain Layout
1657
1658 {
1659 \end_layout
1660
1661 \end_inset
1662
1663 Image formats
1664 \begin_inset ERT
1665 status collapsed
1666
1667 \begin_layout Plain Layout
1668
1669 }
1670 \end_layout
1671
1672 \end_inset
1673
1674
1675 \end_layout
1676
1677 \end_inset
1678
1679 .
1680  We wrote 
1681 \begin_inset Quotes eld
1682 \end_inset
1683
1684 can be
1685 \begin_inset Quotes erd
1686 \end_inset
1687
1688 , because you can convert any bitmap image to a PDF or EPS-image and the
1689  result will still be a bitmap image.
1690  In such cases only a header with the image properties is added to the original
1691  image
1692 \begin_inset Foot
1693 status collapsed
1694
1695 \begin_layout Plain Layout
1696 In the case of PDF, the original image is additionally compressed.
1697 \end_layout
1698
1699 \end_inset
1700
1701 .
1702  The PDF-files generated by 
1703 \family typewriter
1704 Adobe Photoshop
1705 \family default
1706  are for example bitmap images.
1707 \end_layout
1708
1709 \begin_layout Standard
1710 Normally it is not possible to convert a bitmap image into a scalable one,
1711  only vice versa.
1712  Only the image formats PDF and EPS can directly be embedded to PDF and
1713  PostScript output files, respectively.
1714  SVG and WMF-images are recalculated to bitmaps when the output file is
1715  generated because there is currently no adequate WMF/SVG
1716 \begin_inset Formula $\to$
1717 \end_inset
1718
1719 PDF/EPS converter available.
1720 \end_layout
1721
1722 \begin_layout Chapter
1723 Tables
1724 \begin_inset Index idx
1725 status collapsed
1726
1727 \begin_layout Plain Layout
1728 Table
1729 \end_layout
1730
1731 \end_inset
1732
1733
1734 \end_layout
1735
1736 \begin_layout Section
1737 Introduction
1738 \begin_inset Index idx
1739 status collapsed
1740
1741 \begin_layout Plain Layout
1742 Table ! Introduction
1743 \end_layout
1744
1745 \end_inset
1746
1747
1748 \end_layout
1749
1750 \begin_layout Standard
1751 You can insert a table using either the toolbar button 
1752 \begin_inset Graphics
1753         filename ../images/tabular-insert.png
1754         scale 85
1755         scaleBeforeRotation
1756
1757 \end_inset
1758
1759  or the menu 
1760 \family sans
1761 Insert\SpecialChar \menuseparator
1762 Table
1763 \family default
1764 .
1765  The toolbar button offers you a graphical selection: move the mouse to
1766  set the column/row number of the table that should be created and then
1767  press a mouse button.
1768  When you use the menu to create a table, a dialog will appear, asking you
1769  for the number of rows and columns.
1770 \begin_inset Newline newline
1771 \end_inset
1772
1773  The default table has lines around any cell and the first row appears separated
1774  from the rest of the table.
1775  This separation occurs due to a double line: The cells of the first row
1776  have a line below them and the cells of the second row have a line above
1777  them.
1778  Here is an example table:
1779 \end_layout
1780
1781 \begin_layout Standard
1782 \align center
1783 \begin_inset Tabular
1784 <lyxtabular version="3" rows="4" columns="4">
1785 <features tabularvalignment="middle">
1786 <column alignment="center" valignment="top" width="0">
1787 <column alignment="center" valignment="top" width="0">
1788 <column alignment="center" valignment="top" width="0">
1789 <column alignment="center" valignment="top" width="0">
1790 <row>
1791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1792 \begin_inset Text
1793
1794 \begin_layout Plain Layout
1795
1796 \end_layout
1797
1798 \end_inset
1799 </cell>
1800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1801 \begin_inset Text
1802
1803 \begin_layout Plain Layout
1804
1805 \family roman
1806 \series medium
1807 \shape up
1808 \size normal
1809 \emph off
1810 \bar no
1811 \noun off
1812 \color none
1813 1
1814 \end_layout
1815
1816 \end_inset
1817 </cell>
1818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1819 \begin_inset Text
1820
1821 \begin_layout Plain Layout
1822 2
1823 \end_layout
1824
1825 \end_inset
1826 </cell>
1827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1828 \begin_inset Text
1829
1830 \begin_layout Plain Layout
1831 3
1832 \end_layout
1833
1834 \end_inset
1835 </cell>
1836 </row>
1837 <row>
1838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1839 \begin_inset Text
1840
1841 \begin_layout Plain Layout
1842
1843 \family roman
1844 \series medium
1845 \shape up
1846 \size normal
1847 \emph off
1848 \bar no
1849 \noun off
1850 \color none
1851 A
1852 \end_layout
1853
1854 \end_inset
1855 </cell>
1856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1857 \begin_inset Text
1858
1859 \begin_layout Plain Layout
1860
1861 \end_layout
1862
1863 \end_inset
1864 </cell>
1865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1866 \begin_inset Text
1867
1868 \begin_layout Plain Layout
1869
1870 \end_layout
1871
1872 \end_inset
1873 </cell>
1874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1875 \begin_inset Text
1876
1877 \begin_layout Plain Layout
1878
1879 \end_layout
1880
1881 \end_inset
1882 </cell>
1883 </row>
1884 <row>
1885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1886 \begin_inset Text
1887
1888 \begin_layout Plain Layout
1889
1890 \family roman
1891 \series medium
1892 \shape up
1893 \size normal
1894 \emph off
1895 \bar no
1896 \noun off
1897 \color none
1898 B
1899 \end_layout
1900
1901 \end_inset
1902 </cell>
1903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1904 \begin_inset Text
1905
1906 \begin_layout Plain Layout
1907
1908 \end_layout
1909
1910 \end_inset
1911 </cell>
1912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1913 \begin_inset Text
1914
1915 \begin_layout Plain Layout
1916
1917 \end_layout
1918
1919 \end_inset
1920 </cell>
1921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1922 \begin_inset Text
1923
1924 \begin_layout Plain Layout
1925
1926 \end_layout
1927
1928 \end_inset
1929 </cell>
1930 </row>
1931 <row>
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1933 \begin_inset Text
1934
1935 \begin_layout Plain Layout
1936
1937 \family roman
1938 \series medium
1939 \shape up
1940 \size normal
1941 \emph off
1942 \bar no
1943 \noun off
1944 \color none
1945 C
1946 \end_layout
1947
1948 \end_inset
1949 </cell>
1950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1951 \begin_inset Text
1952
1953 \begin_layout Plain Layout
1954
1955 \end_layout
1956
1957 \end_inset
1958 </cell>
1959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1960 \begin_inset Text
1961
1962 \begin_layout Plain Layout
1963
1964 \end_layout
1965
1966 \end_inset
1967 </cell>
1968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1969 \begin_inset Text
1970
1971 \begin_layout Plain Layout
1972
1973 \end_layout
1974
1975 \end_inset
1976 </cell>
1977 </row>
1978 </lyxtabular>
1979
1980 \end_inset
1981
1982
1983 \end_layout
1984
1985 \begin_layout Section
1986 Table Dialog
1987 \begin_inset Index idx
1988 status collapsed
1989
1990 \begin_layout Plain Layout
1991 Table ! Dialog
1992 \end_layout
1993
1994 \end_inset
1995
1996
1997 \end_layout
1998
1999 \begin_layout Standard
2000 You can alter a table by clicking on it with the right mouse button, which
2001  brings up the table dialog.
2002  Here you can adjust the settings of that cell and row/column respectively
2003  where the cursor is currently placed.
2004  Most of the dialog options also work on selections.
2005  This means if you select more cells, columns or rows, the action is done
2006  for the whole selection.
2007  Note that there is a difference between selecting the 
2008 \emph on
2009 contents
2010 \emph default
2011  of the cell, and the cell itself.
2012 \begin_inset Newline newline
2013 \end_inset
2014
2015 With the dialog option 
2016 \family sans
2017 Immediate
2018 \begin_inset space ~
2019 \end_inset
2020
2021 Apply
2022 \family default
2023  every change you make in the dialog is directly applied.
2024  If you move the cursor to another table cell the dialog will then also
2025  be updated with the parameters of the new cell.
2026  If you change length values in the dialog you must press return to get
2027  the change applied.
2028 \begin_inset Newline newline
2029 \end_inset
2030
2031 You can alter tables with the following tabs of the table dialog:
2032 \end_layout
2033
2034 \begin_layout Description
2035
2036 \family sans
2037 Table
2038 \begin_inset space ~
2039 \end_inset
2040
2041 Settings
2042 \family default
2043  Here you can set the horizontal alignment and the width of the current
2044  column.
2045  The alignment 
2046 \family sans
2047 At
2048 \begin_inset space ~
2049 \end_inset
2050
2051 Decimal
2052 \begin_inset space ~
2053 \end_inset
2054
2055 Separator
2056 \family default
2057  is described in section
2058 \begin_inset space ~
2059 \end_inset
2060
2061
2062 \begin_inset CommandInset ref
2063 LatexCommand ref
2064 reference "sub:Special-Cell-Alignment"
2065
2066 \end_inset
2067
2068 .
2069  When you have set a width you can also adjust the vertical alignment of
2070  the current row.
2071  A given width will allow the cell to have line breaks and multiple paragraphs
2072  of text, see section
2073 \begin_inset space ~
2074 \end_inset
2075
2076
2077 \begin_inset CommandInset ref
2078 LatexCommand ref
2079 reference "sub:Multiple-Lines-in"
2080
2081 \end_inset
2082
2083 .
2084  If you set no width, the column is as wide as the content of its widest
2085  cell.
2086 \begin_inset Newline newline
2087 \end_inset
2088
2089 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2090  cell, see section
2091 \begin_inset space ~
2092 \end_inset
2093
2094
2095 \begin_inset CommandInset ref
2096 LatexCommand ref
2097 reference "sub:Multicolumns"
2098
2099 \end_inset
2100
2101  or the cells of one column as multirow cell, see section
2102 \begin_inset space ~
2103 \end_inset
2104
2105
2106 \begin_inset CommandInset ref
2107 LatexCommand ref
2108 reference "sub:Multirows"
2109
2110 \end_inset
2111
2112 .
2113 \begin_inset Newline newline
2114 \end_inset
2115
2116 The rotate check boxes rotate the current cell, a selection, or the whole
2117  table counter-clockwise by 90°.
2118  The rotation is not shown within LyX, only in the output.
2119 \begin_inset Newline newline
2120 \end_inset
2121
2122
2123 \begin_inset Note Greyedout
2124 status open
2125
2126 \begin_layout Plain Layout
2127
2128 \series bold
2129 Note:
2130 \series default
2131  Not all DVI-viewers are able to display rotations.
2132 \end_layout
2133
2134 \end_inset
2135
2136
2137 \begin_inset Newline newline
2138 \end_inset
2139
2140 The table-wide vertical alignment is used for tables within text lines:
2141 \begin_inset Newline newline
2142 \end_inset
2143
2144 A line with tables with different alignments: 
2145 \begin_inset Tabular
2146 <lyxtabular version="3" rows="2" columns="2">
2147 <features tabularvalignment="top">
2148 <column alignment="center" valignment="top" width="0pt">
2149 <column alignment="center" valignment="top" width="0">
2150 <row>
2151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2152 \begin_inset Text
2153
2154 \begin_layout Plain Layout
2155
2156 \end_layout
2157
2158 \end_inset
2159 </cell>
2160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2161 \begin_inset Text
2162
2163 \begin_layout Plain Layout
2164
2165 \family roman
2166 \series medium
2167 \shape up
2168 \size normal
2169 \emph off
2170 \bar no
2171 \noun off
2172 \color none
2173 1
2174 \end_layout
2175
2176 \end_inset
2177 </cell>
2178 </row>
2179 <row>
2180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2181 \begin_inset Text
2182
2183 \begin_layout Plain Layout
2184
2185 \family roman
2186 \series medium
2187 \shape up
2188 \size normal
2189 \emph off
2190 \bar no
2191 \noun off
2192 \color none
2193 A
2194 \end_layout
2195
2196 \end_inset
2197 </cell>
2198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2199 \begin_inset Text
2200
2201 \begin_layout Plain Layout
2202
2203 \end_layout
2204
2205 \end_inset
2206 </cell>
2207 </row>
2208 </lyxtabular>
2209
2210 \end_inset
2211
2212  
2213 \begin_inset Tabular
2214 <lyxtabular version="3" rows="2" columns="2">
2215 <features tabularvalignment="middle">
2216 <column alignment="center" valignment="top" width="0">
2217 <column alignment="center" valignment="top" width="0">
2218 <row>
2219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2220 \begin_inset Text
2221
2222 \begin_layout Plain Layout
2223
2224 \end_layout
2225
2226 \end_inset
2227 </cell>
2228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2229 \begin_inset Text
2230
2231 \begin_layout Plain Layout
2232
2233 \family roman
2234 \series medium
2235 \shape up
2236 \size normal
2237 \emph off
2238 \bar no
2239 \noun off
2240 \color none
2241 1
2242 \end_layout
2243
2244 \end_inset
2245 </cell>
2246 </row>
2247 <row>
2248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2249 \begin_inset Text
2250
2251 \begin_layout Plain Layout
2252
2253 \family roman
2254 \series medium
2255 \shape up
2256 \size normal
2257 \emph off
2258 \bar no
2259 \noun off
2260 \color none
2261 A
2262 \end_layout
2263
2264 \end_inset
2265 </cell>
2266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2267 \begin_inset Text
2268
2269 \begin_layout Plain Layout
2270
2271 \end_layout
2272
2273 \end_inset
2274 </cell>
2275 </row>
2276 </lyxtabular>
2277
2278 \end_inset
2279
2280  
2281 \begin_inset Tabular
2282 <lyxtabular version="3" rows="2" columns="2">
2283 <features tabularvalignment="bottom">
2284 <column alignment="center" valignment="top" width="0pt">
2285 <column alignment="center" valignment="top" width="0">
2286 <row>
2287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2288 \begin_inset Text
2289
2290 \begin_layout Plain Layout
2291
2292 \end_layout
2293
2294 \end_inset
2295 </cell>
2296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2297 \begin_inset Text
2298
2299 \begin_layout Plain Layout
2300
2301 \family roman
2302 \series medium
2303 \shape up
2304 \size normal
2305 \emph off
2306 \bar no
2307 \noun off
2308 \color none
2309 1
2310 \end_layout
2311
2312 \end_inset
2313 </cell>
2314 </row>
2315 <row>
2316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2317 \begin_inset Text
2318
2319 \begin_layout Plain Layout
2320
2321 \family roman
2322 \series medium
2323 \shape up
2324 \size normal
2325 \emph off
2326 \bar no
2327 \noun off
2328 \color none
2329 A
2330 \end_layout
2331
2332 \end_inset
2333 </cell>
2334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2335 \begin_inset Text
2336
2337 \begin_layout Plain Layout
2338
2339 \end_layout
2340
2341 \end_inset
2342 </cell>
2343 </row>
2344 </lyxtabular>
2345
2346 \end_inset
2347
2348
2349 \begin_inset Newline newline
2350 \end_inset
2351
2352 It is also possible to enter a LaTeX-argument which is needed for special
2353  table formattings, see section
2354 \begin_inset space ~
2355 \end_inset
2356
2357
2358 \begin_inset CommandInset ref
2359 LatexCommand ref
2360 reference "sub:Multicolumn-Calculations"
2361
2362 \end_inset
2363
2364  and 
2365 \begin_inset CommandInset ref
2366 LatexCommand ref
2367 reference "sec:Colored-Tables"
2368
2369 \end_inset
2370
2371 .
2372 \end_layout
2373
2374 \begin_layout Description
2375
2376 \family sans
2377 Borders
2378 \family default
2379  In this tab you can add and delete border lines for the current row/column.
2380 \begin_inset Newline newline
2381 \end_inset
2382
2383 Using the style option 
2384 \family sans
2385 Formal
2386 \family default
2387  will convert the table to a formal table as described in section
2388 \begin_inset space ~
2389 \end_inset
2390
2391
2392 \begin_inset CommandInset ref
2393 LatexCommand ref
2394 reference "sec:Formal-Tables"
2395
2396 \end_inset
2397
2398 .
2399 \begin_inset Newline newline
2400 \end_inset
2401
2402 You can also add here space to table rows as described in section
2403 \begin_inset space ~
2404 \end_inset
2405
2406
2407 \begin_inset CommandInset ref
2408 LatexCommand ref
2409 reference "sub:Row-Spacing"
2410
2411 \end_inset
2412
2413 .
2414 \end_layout
2415
2416 \begin_layout Description
2417
2418 \family sans
2419 Longtable
2420 \family default
2421  This tab is to make a table a so called 
2422 \begin_inset Quotes eld
2423 \end_inset
2424
2425
2426 \emph on
2427 longtable
2428 \emph default
2429
2430 \begin_inset Quotes erd
2431 \end_inset
2432
2433  that can run over several pages.
2434  Sections
2435 \begin_inset space ~
2436 \end_inset
2437
2438
2439 \begin_inset CommandInset ref
2440 LatexCommand ref
2441 reference "sec:Longtables"
2442
2443 \end_inset
2444
2445  and 
2446 \begin_inset CommandInset ref
2447 LatexCommand ref
2448 reference "sec:Special-Longtable-Issues"
2449
2450 \end_inset
2451
2452  describe the longtable features in detail.
2453 \end_layout
2454
2455 \begin_layout Section
2456 Table Toolbar
2457 \begin_inset Index idx
2458 status collapsed
2459
2460 \begin_layout Plain Layout
2461 Table ! Toolbar
2462 \end_layout
2463
2464 \end_inset
2465
2466
2467 \end_layout
2468
2469 \begin_layout Standard
2470 The table toolbar is an alternative to the table dialog to be able to alter
2471  tables faster.
2472  It should normally appear at the bottom of LyX's main window when the cursor
2473  is inside a table.
2474  You can alternatively switch it on to appear always, by right-clicking
2475  in LyX's main menu bar.
2476 \end_layout
2477
2478 \begin_layout Standard
2479 The toolbar has the following icons:
2480 \end_layout
2481
2482 \begin_layout Labeling
2483 \labelwidthstring 00.00.0000
2484 \begin_inset Graphics
2485         filename ../images/tabular-feature_append-row.png
2486         scaleBeforeRotation
2487
2488 \end_inset
2489
2490  adds a row below the current cell or selection
2491 \end_layout
2492
2493 \begin_layout Labeling
2494 \labelwidthstring 00.00.0000
2495 \begin_inset Graphics
2496         filename ../images/tabular-feature_append-column.png
2497         scaleBeforeRotation
2498
2499 \end_inset
2500
2501  adds a column right beside the current cell or selection
2502 \end_layout
2503
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Graphics
2507         filename ../images/tabular-feature_delete-row.png
2508         scaleBeforeRotation
2509
2510 \end_inset
2511
2512  deletes the current row or selection
2513 \end_layout
2514
2515 \begin_layout Labeling
2516 \labelwidthstring 00.00.0000
2517 \begin_inset Graphics
2518         filename ../images/tabular-feature_delete-column.png
2519         scaleBeforeRotation
2520
2521 \end_inset
2522
2523  deletes the current column or selection
2524 \end_layout
2525
2526 \begin_layout Labeling
2527 \labelwidthstring 00.00.0000
2528 \begin_inset Graphics
2529         filename ../images/tabular-feature_toggle-line-top.png
2530         scaleBeforeRotation
2531
2532 \end_inset
2533
2534  adds a line at the top of the current cell / row or of a selection
2535 \end_layout
2536
2537 \begin_layout Labeling
2538 \labelwidthstring 00.00.0000
2539 \begin_inset Graphics
2540         filename ../images/tabular-feature_toggle-line-bottom.png
2541         scaleBeforeRotation
2542
2543 \end_inset
2544
2545  adds a line at the bottom of the current cell / row or of a selection
2546 \end_layout
2547
2548 \begin_layout Labeling
2549 \labelwidthstring 00.00.0000
2550 \begin_inset Graphics
2551         filename ../images/tabular-feature_toggle-line-left.png
2552         scaleBeforeRotation
2553
2554 \end_inset
2555
2556  adds a line at the left side of the current cell / row or of a selection
2557 \end_layout
2558
2559 \begin_layout Labeling
2560 \labelwidthstring 00.00.0000
2561 \begin_inset Graphics
2562         filename ../images/tabular-feature_toggle-line-right.png
2563         scaleBeforeRotation
2564
2565 \end_inset
2566
2567  adds a line at the right side of the current cell / row or of a selection
2568 \end_layout
2569
2570 \begin_layout Labeling
2571 \labelwidthstring 00.00.0000
2572 \begin_inset Graphics
2573         filename ../images/tabular-feature_set-all-lines.png
2574         scaleBeforeRotation
2575
2576 \end_inset
2577
2578  adds lines around the current or selected cells - if the current cell no
2579  multicolumn cell this also affects the current row and column
2580 \end_layout
2581
2582 \begin_layout Labeling
2583 \labelwidthstring 00.00.0000
2584 \begin_inset Graphics
2585         filename ../images/tabular-feature_unset-all-lines.png
2586         scaleBeforeRotation
2587
2588 \end_inset
2589
2590  deletes all lines of the current or selected cells - if the current cell
2591  no multicolumn cell this also affects the current row and column
2592 \end_layout
2593
2594 \begin_layout Labeling
2595 \labelwidthstring 00.00.0000
2596 \begin_inset Graphics
2597         filename ../images/tabular-feature_m-align-left.png
2598         scaleBeforeRotation
2599
2600 \end_inset
2601
2602  left-aligns the content of the current cell / column
2603 \end_layout
2604
2605 \begin_layout Labeling
2606 \labelwidthstring 00.00.0000
2607 \begin_inset Graphics
2608         filename ../images/tabular-feature_m-align-center.png
2609         scaleBeforeRotation
2610
2611 \end_inset
2612
2613  centers the content of the current cell / column horizontally
2614 \end_layout
2615
2616 \begin_layout Labeling
2617 \labelwidthstring 00.00.0000
2618 \begin_inset Graphics
2619         filename ../images/tabular-feature_m-align-right.png
2620         scaleBeforeRotation
2621
2622 \end_inset
2623
2624  right-aligns the content of the current cell / column
2625 \end_layout
2626
2627 \begin_layout Labeling
2628 \labelwidthstring 00.00.0000
2629 \begin_inset Graphics
2630         filename ../images/tabular-feature_align-decimal.png
2631         scaleBeforeRotation
2632
2633 \end_inset
2634
2635  aligns the content of the current column at a character
2636 \end_layout
2637
2638 \begin_layout Labeling
2639 \labelwidthstring 00.00.0000
2640 \begin_inset Graphics
2641         filename ../images/tabular-feature_m-valign-top.png
2642         scaleBeforeRotation
2643
2644 \end_inset
2645
2646  aligns the content of the current cell vertically to the top
2647 \end_layout
2648
2649 \begin_layout Labeling
2650 \labelwidthstring 00.00.0000
2651 \begin_inset Graphics
2652         filename ../images/tabular-feature_m-valign-middle.png
2653         scaleBeforeRotation
2654
2655 \end_inset
2656
2657  centers the content of the current cell vertically
2658 \end_layout
2659
2660 \begin_layout Labeling
2661 \labelwidthstring 00.00.0000
2662 \begin_inset Graphics
2663         filename ../images/tabular-feature_m-valign-bottom.png
2664         scaleBeforeRotation
2665
2666 \end_inset
2667
2668  aligns the content of the current cell vertically to the bottom
2669 \end_layout
2670
2671 \begin_layout Labeling
2672 \labelwidthstring 00.00.0000
2673 \begin_inset Graphics
2674         filename ../images/tabular-feature_set-rotate-cell.png
2675         scaleBeforeRotation
2676
2677 \end_inset
2678
2679  rotates the current cell or selection counter-clockwise by 90°
2680 \end_layout
2681
2682 \begin_layout Labeling
2683 \labelwidthstring 00.00.0000
2684 \begin_inset Graphics
2685         filename ../images/tabular-feature_set-rotate-tabular.png
2686         scaleBeforeRotation
2687
2688 \end_inset
2689
2690  rotates the whole table counter-clockwise by 90°
2691 \end_layout
2692
2693 \begin_layout Labeling
2694 \labelwidthstring 00.00.0000
2695 \begin_inset Graphics
2696         filename ../images/tabular-feature_multicolumn.png
2697         scaleBeforeRotation
2698
2699 \end_inset
2700
2701  sets the current cell or selection as a multicolumn
2702 \end_layout
2703
2704 \begin_layout Labeling
2705 \labelwidthstring 00.00.0000
2706 \begin_inset Graphics
2707         filename ../images/tabular-feature_multirow.png
2708         scaleBeforeRotation
2709
2710 \end_inset
2711
2712  sets the current cell or selection as a multirow
2713 \end_layout
2714
2715 \begin_layout Standard
2716 \begin_inset Note Greyedout
2717 status open
2718
2719 \begin_layout Plain Layout
2720
2721 \series bold
2722 Note:
2723 \series default
2724  For the output the vertical alignment of the first cell in a row is used
2725  for all following cells in the row.
2726 \end_layout
2727
2728 \end_inset
2729
2730
2731 \end_layout
2732
2733 \begin_layout Section
2734 Edit Table Menu
2735 \begin_inset Index idx
2736 status collapsed
2737
2738 \begin_layout Plain Layout
2739 Table ! Edit Menu
2740 \end_layout
2741
2742 \end_inset
2743
2744
2745 \end_layout
2746
2747 \begin_layout Standard
2748 Additionally to the table dialog and toolbar, the menu 
2749 \family sans
2750 Edit\SpecialChar \menuseparator
2751 Table
2752 \family default
2753  allows you to add and delete border lines for the current row/column and
2754  to set the current selection as multicolumn.
2755  The menu is only available when the cursor is inside a table.
2756 \end_layout
2757
2758 \begin_layout Section
2759 Table Floats
2760 \begin_inset CommandInset label
2761 LatexCommand label
2762 name "sec:Table-Floats"
2763
2764 \end_inset
2765
2766
2767 \begin_inset Index idx
2768 status collapsed
2769
2770 \begin_layout Plain Layout
2771 Floats ! Tables
2772 \end_layout
2773
2774 \end_inset
2775
2776
2777 \begin_inset Index idx
2778 status collapsed
2779
2780 \begin_layout Plain Layout
2781 Table ! Floats
2782 \end_layout
2783
2784 \end_inset
2785
2786
2787 \end_layout
2788
2789 \begin_layout Standard
2790 For general explanations about floats, have a look at section
2791 \begin_inset space ~
2792 \end_inset
2793
2794
2795 \begin_inset CommandInset ref
2796 LatexCommand ref
2797 reference "sec:FloatIntroduction"
2798
2799 \end_inset
2800
2801 .
2802 \end_layout
2803
2804 \begin_layout Standard
2805 \begin_inset Float table
2806 placement h
2807 wide false
2808 sideways false
2809 status open
2810
2811 \begin_layout Plain Layout
2812 \begin_inset Caption
2813
2814 \begin_layout Plain Layout
2815 \begin_inset CommandInset label
2816 LatexCommand label
2817 name "tab:a table float"
2818
2819 \end_inset
2820
2821 A table float.
2822 \end_layout
2823
2824 \end_inset
2825
2826
2827 \end_layout
2828
2829 \begin_layout Plain Layout
2830 \align center
2831 \begin_inset Tabular
2832 <lyxtabular version="3" rows="3" columns="3">
2833 <features tabularvalignment="middle">
2834 <column alignment="center" valignment="top" width="0pt">
2835 <column alignment="center" valignment="top" width="0pt">
2836 <column alignment="center" valignment="top" width="0pt">
2837 <row>
2838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2839 \begin_inset Text
2840
2841 \begin_layout Plain Layout
2842
2843 \family roman
2844 \series medium
2845 \shape up
2846 \size normal
2847 \emph off
2848 \bar no
2849 \noun off
2850 \color none
2851 1
2852 \end_layout
2853
2854 \end_inset
2855 </cell>
2856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2857 \begin_inset Text
2858
2859 \begin_layout Plain Layout
2860
2861 \family roman
2862 \series medium
2863 \shape up
2864 \size normal
2865 \emph off
2866 \bar no
2867 \noun off
2868 \color none
2869 2
2870 \end_layout
2871
2872 \end_inset
2873 </cell>
2874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2875 \begin_inset Text
2876
2877 \begin_layout Plain Layout
2878
2879 \family roman
2880 \series medium
2881 \shape up
2882 \size normal
2883 \emph off
2884 \bar no
2885 \noun off
2886 \color none
2887 3
2888 \end_layout
2889
2890 \end_inset
2891 </cell>
2892 </row>
2893 <row>
2894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2895 \begin_inset Text
2896
2897 \begin_layout Plain Layout
2898
2899 \family roman
2900 \series medium
2901 \shape up
2902 \size normal
2903 \emph off
2904 \bar no
2905 \noun off
2906 \color none
2907 Joe
2908 \end_layout
2909
2910 \end_inset
2911 </cell>
2912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2913 \begin_inset Text
2914
2915 \begin_layout Plain Layout
2916
2917 \family roman
2918 \series medium
2919 \shape up
2920 \size normal
2921 \emph off
2922 \bar no
2923 \noun off
2924 \color none
2925 Mary
2926 \end_layout
2927
2928 \end_inset
2929 </cell>
2930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2931 \begin_inset Text
2932
2933 \begin_layout Plain Layout
2934
2935 \family roman
2936 \series medium
2937 \shape up
2938 \size normal
2939 \emph off
2940 \bar no
2941 \noun off
2942 \color none
2943 Ted
2944 \end_layout
2945
2946 \end_inset
2947 </cell>
2948 </row>
2949 <row>
2950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2951 \begin_inset Text
2952
2953 \begin_layout Plain Layout
2954
2955 \family roman
2956 \series medium
2957 \shape up
2958 \size normal
2959 \emph off
2960 \bar no
2961 \noun off
2962 \color none
2963 \begin_inset Formula $\int x^{2}dx$
2964 \end_inset
2965
2966
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Plain Layout
2975
2976 \family roman
2977 \series medium
2978 \shape up
2979 \size normal
2980 \emph off
2981 \bar no
2982 \noun off
2983 \color none
2984 \begin_inset Formula $\left[\begin{array}{cc}
2985 a & b\\
2986 c & d
2987 \end{array}\right]$
2988 \end_inset
2989
2990
2991 \end_layout
2992
2993 \end_inset
2994 </cell>
2995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2996 \begin_inset Text
2997
2998 \begin_layout Plain Layout
2999
3000 \family roman
3001 \series medium
3002 \shape up
3003 \size normal
3004 \emph off
3005 \bar no
3006 \noun off
3007 \color none
3008 \begin_inset Formula $1+1=2$
3009 \end_inset
3010
3011
3012 \end_layout
3013
3014 \end_inset
3015 </cell>
3016 </row>
3017 </lyxtabular>
3018
3019 \end_inset
3020
3021
3022 \end_layout
3023
3024 \end_inset
3025
3026
3027 \end_layout
3028
3029 \begin_layout Standard
3030 Table floats can be inserted using the menu 
3031 \family sans
3032 Insert\SpecialChar \menuseparator
3033 Float\SpecialChar \menuseparator
3034 Table
3035 \family default
3036  or the toolbar button 
3037 \begin_inset Graphics
3038         filename ../images/float-insert_table.png
3039         scale 85
3040         scaleBeforeRotation
3041
3042 \end_inset
3043
3044 .
3045 \end_layout
3046
3047 \begin_layout Standard
3048 The float appears as a collapsible box with a caption that has the label
3049  
3050 \begin_inset Quotes eld
3051 \end_inset
3052
3053 Table
3054 \begin_inset space ~
3055 \end_inset
3056
3057 #:
3058 \begin_inset Quotes erd
3059 \end_inset
3060
3061  (# is the actual table number).
3062  You can insert tables in the float above or below the caption.
3063 \end_layout
3064
3065 \begin_layout Standard
3066 Table
3067 \begin_inset space ~
3068 \end_inset
3069
3070
3071 \begin_inset CommandInset ref
3072 LatexCommand ref
3073 reference "tab:a table float"
3074
3075 \end_inset
3076
3077  is an example table within a table float.
3078 \end_layout
3079
3080 \begin_layout Standard
3081 Having the caption above the table is the common rule that is unfortunately
3082  not supported in LaTeX's standard classes.
3083  This means that, if you are using the document classes 
3084 \family sans
3085 article
3086 \family default
3087
3088 \family sans
3089 book
3090 \family default
3091
3092 \family sans
3093 letter
3094 \family default
3095 , or 
3096 \family sans
3097 report
3098 \family default
3099 , there will be no space between the caption and the table.
3100  To insert the needed space, add the following option to the load command
3101  of the LaTeX-package 
3102 \series bold
3103 caption
3104 \series default
3105
3106 \begin_inset Index idx
3107 status collapsed
3108
3109 \begin_layout Plain Layout
3110 LaTeX-packages ! caption
3111 \end_layout
3112
3113 \end_inset
3114
3115  in your document preamble
3116 \begin_inset Foot
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120 For more information have a look at section
3121 \begin_inset space ~
3122 \end_inset
3123
3124
3125 \begin_inset CommandInset ref
3126 LatexCommand ref
3127 reference "sec:Caption-Placement"
3128
3129 \end_inset
3130
3131 .
3132 \end_layout
3133
3134 \end_inset
3135
3136 :
3137 \end_layout
3138
3139 \begin_layout Standard
3140
3141 \series bold
3142 tableposition=top
3143 \end_layout
3144
3145 \begin_layout Standard
3146 The package 
3147 \series bold
3148 caption
3149 \series default
3150 , which is described in section
3151 \begin_inset space ~
3152 \end_inset
3153
3154
3155 \begin_inset CommandInset ref
3156 LatexCommand ref
3157 reference "sec:Caption-Formatting"
3158
3159 \end_inset
3160
3161 , is used to adjust the caption format.
3162 \end_layout
3163
3164 \begin_layout Standard
3165 \begin_inset Index idx
3166 status collapsed
3167
3168 \begin_layout Plain Layout
3169 References ! to Tables
3170 \end_layout
3171
3172 \end_inset
3173
3174 Tables can be cross-referenced in the text by referencing their label.
3175  To do this insert a label in the caption using the menu 
3176 \family sans
3177 Insert\SpecialChar \menuseparator
3178 Label
3179 \family default
3180  or the toolbar button 
3181 \begin_inset Graphics
3182         filename ../images/label-insert.png
3183         scale 85
3184         scaleBeforeRotation
3185
3186 \end_inset
3187
3188 .
3189  You can now refer to the label using the menu 
3190 \family sans
3191 Insert\SpecialChar \menuseparator
3192 Cross
3193 \begin_inset space ~
3194 \end_inset
3195
3196 reference
3197 \family default
3198  or the toolbar button 
3199 \begin_inset Graphics
3200         filename ../images/dialog-show-new-inset_ref.png
3201         scale 85
3202         scaleBeforeRotation
3203
3204 \end_inset
3205
3206 .
3207 \begin_inset Newline newline
3208 \end_inset
3209
3210 Referencing is explained in detail in section
3211 \begin_inset space ~
3212 \end_inset
3213
3214
3215 \begin_inset CommandInset ref
3216 LatexCommand ref
3217 reference "sec:Referencing-Floats"
3218
3219 \end_inset
3220
3221 .
3222 \end_layout
3223
3224 \begin_layout Section
3225 Longtables
3226 \begin_inset CommandInset label
3227 LatexCommand label
3228 name "sec:Longtables"
3229
3230 \end_inset
3231
3232
3233 \begin_inset Index idx
3234 status collapsed
3235
3236 \begin_layout Plain Layout
3237 Longtables
3238 \end_layout
3239
3240 \end_inset
3241
3242
3243 \begin_inset Index idx
3244 status collapsed
3245
3246 \begin_layout Plain Layout
3247 Table ! Longtables
3248 \end_layout
3249
3250 \end_inset
3251
3252
3253 \end_layout
3254
3255 \begin_layout Standard
3256 If the table is too long to fit on one page, you can use the option 
3257 \family sans
3258 Use
3259 \begin_inset space ~
3260 \end_inset
3261
3262 long
3263 \begin_inset space ~
3264 \end_inset
3265
3266 table
3267 \family default
3268  in the tab 
3269 \family sans
3270 Longtable
3271 \family default
3272  of the table dialog to split the table automatically over more pages.
3273  Doing this enables the following options:
3274 \end_layout
3275
3276 \begin_layout Description
3277 Header: The current row is defined to be a header row that appears on all
3278  pages of the longtable; except for the first page, if 
3279 \family sans
3280 First
3281 \begin_inset space ~
3282 \end_inset
3283
3284 header
3285 \family default
3286  is defined.
3287  This is therefore called the main header.
3288 \end_layout
3289
3290 \begin_layout Description
3291 First
3292 \begin_inset space ~
3293 \end_inset
3294
3295 header: The current row is defined to be a header row that appears on the
3296  first page of the longtable.
3297 \end_layout
3298
3299 \begin_layout Description
3300 Footer: The current row is defined to be a footer row that appears on all
3301  pages of the longtable; except for the last page, if 
3302 \family sans
3303 Last
3304 \begin_inset space ~
3305 \end_inset
3306
3307 footer
3308 \family default
3309  is defined.
3310 \end_layout
3311
3312 \begin_layout Description
3313 Last
3314 \begin_inset space ~
3315 \end_inset
3316
3317 footer: The current row is defined to be a footer row that appears on the
3318  last page of the longtable.
3319 \end_layout
3320
3321 \begin_layout Description
3322 Caption: The current row contains the table caption.
3323  The row is reset as single column and a caption is inserted.
3324  More about longtable captions is explained in sec.
3325 \begin_inset space \thinspace{}
3326 \end_inset
3327
3328
3329 \begin_inset CommandInset ref
3330 LatexCommand ref
3331 reference "sub:Longtable-Captions"
3332
3333 \end_inset
3334
3335 .
3336 \end_layout
3337
3338 \begin_layout Standard
3339 You can also specify a row where the table is split.
3340  See the following longtable to see how it works:
3341 \end_layout
3342
3343 \begin_layout Standard
3344 \align center
3345 \begin_inset Tabular
3346 <lyxtabular version="3" rows="69" columns="3">
3347 <features islongtable="true" longtabularalignment="center">
3348 <column alignment="left" valignment="top" width="0cm">
3349 <column alignment="left" valignment="top" width="0pt">
3350 <column alignment="center" valignment="top" width="0pt">
3351 <row endfirsthead="true">
3352 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3353 \begin_inset Text
3354
3355 \begin_layout Plain Layout
3356
3357 \series bold
3358 Example Phone List (ignore the names)
3359 \end_layout
3360
3361 \end_inset
3362 </cell>
3363 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Plain Layout
3367
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3373 \begin_inset Text
3374
3375 \begin_layout Plain Layout
3376
3377 \end_layout
3378
3379 \end_inset
3380 </cell>
3381 </row>
3382 <row endfirsthead="true">
3383 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3384 \begin_inset Text
3385
3386 \begin_layout Plain Layout
3387
3388 \series bold
3389 NAME
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Plain Layout
3398
3399 \end_layout
3400
3401 \end_inset
3402 </cell>
3403 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3404 \begin_inset Text
3405
3406 \begin_layout Plain Layout
3407
3408 \series bold
3409 TEL.
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 </row>
3415 <row endhead="true">
3416 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Plain Layout
3420
3421 \series bold
3422 Example Phone List
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Plain Layout
3431
3432 \end_layout
3433
3434 \end_inset
3435 </cell>
3436 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Plain Layout
3440
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 </row>
3446 <row endhead="true">
3447 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Plain Layout
3451
3452 \series bold
3453 NAME
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Plain Layout
3462
3463 \end_layout
3464
3465 \end_inset
3466 </cell>
3467 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Plain Layout
3471
3472 \series bold
3473 TEL.
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 </row>
3479 <row endfoot="true">
3480 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3481 \begin_inset Text
3482
3483 \begin_layout Plain Layout
3484  continued on next page
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3490 \begin_inset Text
3491
3492 \begin_layout Plain Layout
3493
3494 \end_layout
3495
3496 \end_inset
3497 </cell>
3498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Plain Layout
3502
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 </row>
3508 <row>
3509 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Plain Layout
3513
3514 \series bold
3515 Annovi
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 <cell alignment="center" valignment="top" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Plain Layout
3524 Silvia
3525 \end_layout
3526
3527 \end_inset
3528 </cell>
3529 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Plain Layout
3533 111
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 </row>
3539 <row>
3540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Plain Layout
3544
3545 \series bold
3546 Bertoli
3547 \end_layout
3548
3549 \end_inset
3550 </cell>
3551 <cell alignment="center" valignment="top" usebox="none">
3552 \begin_inset Text
3553
3554 \begin_layout Plain Layout
3555 Stefano
3556 \end_layout
3557
3558 \end_inset
3559 </cell>
3560 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3561 \begin_inset Text
3562
3563 \begin_layout Plain Layout
3564 111
3565 \end_layout
3566
3567 \end_inset
3568 </cell>
3569 </row>
3570 <row>
3571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Plain Layout
3575
3576 \series bold
3577 Bozzi
3578 \end_layout
3579
3580 \end_inset
3581 </cell>
3582 <cell alignment="center" valignment="top" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Plain Layout
3586 Walter
3587 \end_layout
3588
3589 \end_inset
3590 </cell>
3591 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3592 \begin_inset Text
3593
3594 \begin_layout Plain Layout
3595 111
3596 \end_layout
3597
3598 \end_inset
3599 </cell>
3600 </row>
3601 <row>
3602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Plain Layout
3606
3607 \series bold
3608 Cachia
3609 \end_layout
3610
3611 \end_inset
3612 </cell>
3613 <cell alignment="center" valignment="top" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Plain Layout
3617 Maria
3618 \end_layout
3619
3620 \end_inset
3621 </cell>
3622 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3623 \begin_inset Text
3624
3625 \begin_layout Plain Layout
3626 111
3627 \end_layout
3628
3629 \end_inset
3630 </cell>
3631 </row>
3632 <row>
3633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Plain Layout
3637
3638 \series bold
3639 Cachia
3640 \end_layout
3641
3642 \end_inset
3643 </cell>
3644 <cell alignment="center" valignment="top" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Plain Layout
3648 Maurizio
3649 \end_layout
3650
3651 \end_inset
3652 </cell>
3653 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3654 \begin_inset Text
3655
3656 \begin_layout Plain Layout
3657 111
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 </row>
3663 <row>
3664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Plain Layout
3668
3669 \series bold
3670 Cinquemani
3671 \end_layout
3672
3673 \end_inset
3674 </cell>
3675 <cell alignment="center" valignment="top" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Plain Layout
3679 Giusi
3680 \end_layout
3681
3682 \end_inset
3683 </cell>
3684 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3685 \begin_inset Text
3686
3687 \begin_layout Plain Layout
3688 111
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 </row>
3694 <row>
3695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Plain Layout
3699
3700 \series bold
3701 Colin
3702 \end_layout
3703
3704 \end_inset
3705 </cell>
3706 <cell alignment="center" valignment="top" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Plain Layout
3710 Bernard
3711 \end_layout
3712
3713 \end_inset
3714 </cell>
3715 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3716 \begin_inset Text
3717
3718 \begin_layout Plain Layout
3719 111
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 </row>
3725 <row>
3726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Plain Layout
3730
3731 \series bold
3732 Concli
3733 \end_layout
3734
3735 \end_inset
3736 </cell>
3737 <cell alignment="center" valignment="top" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Plain Layout
3741 Gianfranco
3742 \end_layout
3743
3744 \end_inset
3745 </cell>
3746 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3747 \begin_inset Text
3748
3749 \begin_layout Plain Layout
3750 111
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 </row>
3756 <row>
3757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Plain Layout
3761
3762 \series bold
3763 Dal Bosco
3764 \end_layout
3765
3766 \end_inset
3767 </cell>
3768 <cell alignment="center" valignment="top" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Plain Layout
3772 Carolina
3773 \end_layout
3774
3775 \end_inset
3776 </cell>
3777 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3778 \begin_inset Text
3779
3780 \begin_layout Plain Layout
3781 111
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 </row>
3787 <row>
3788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Plain Layout
3792
3793 \series bold
3794 Dalpiaz
3795 \end_layout
3796
3797 \end_inset
3798 </cell>
3799 <cell alignment="center" valignment="top" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Plain Layout
3803 Annamaria
3804 \end_layout
3805
3806 \end_inset
3807 </cell>
3808 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3809 \begin_inset Text
3810
3811 \begin_layout Plain Layout
3812 111
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 </row>
3818 <row>
3819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Plain Layout
3823
3824 \series bold
3825 Feliciello
3826 \end_layout
3827
3828 \end_inset
3829 </cell>
3830 <cell alignment="center" valignment="top" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Plain Layout
3834 Domenico
3835 \end_layout
3836
3837 \end_inset
3838 </cell>
3839 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3840 \begin_inset Text
3841
3842 \begin_layout Plain Layout
3843 111
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 </row>
3849 <row>
3850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Plain Layout
3854
3855 \series bold
3856 Focarelli
3857 \end_layout
3858
3859 \end_inset
3860 </cell>
3861 <cell alignment="center" valignment="top" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Plain Layout
3865 Paola
3866 \end_layout
3867
3868 \end_inset
3869 </cell>
3870 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3871 \begin_inset Text
3872
3873 \begin_layout Plain Layout
3874 111
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 </row>
3880 <row>
3881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Plain Layout
3885
3886 \series bold
3887 Galletti
3888 \end_layout
3889
3890 \end_inset
3891 </cell>
3892 <cell alignment="center" valignment="top" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Plain Layout
3896 Oreste
3897 \end_layout
3898
3899 \end_inset
3900 </cell>
3901 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3902 \begin_inset Text
3903
3904 \begin_layout Plain Layout
3905 111
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 </row>
3911 <row>
3912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Plain Layout
3916
3917 \series bold
3918 Gasparini
3919 \end_layout
3920
3921 \end_inset
3922 </cell>
3923 <cell alignment="center" valignment="top" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Plain Layout
3927 Franca
3928 \end_layout
3929
3930 \end_inset
3931 </cell>
3932 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3933 \begin_inset Text
3934
3935 \begin_layout Plain Layout
3936 111
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 </row>
3942 <row>
3943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Plain Layout
3947
3948 \series bold
3949 Rizzardi
3950 \end_layout
3951
3952 \end_inset
3953 </cell>
3954 <cell alignment="center" valignment="top" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Plain Layout
3958 Paola
3959 \end_layout
3960
3961 \end_inset
3962 </cell>
3963 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3964 \begin_inset Text
3965
3966 \begin_layout Plain Layout
3967 111
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 </row>
3973 <row>
3974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Plain Layout
3978
3979 \series bold
3980 Lassini
3981 \end_layout
3982
3983 \end_inset
3984 </cell>
3985 <cell alignment="center" valignment="top" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Plain Layout
3989 Giancarlo
3990 \end_layout
3991
3992 \end_inset
3993 </cell>
3994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3995 \begin_inset Text
3996
3997 \begin_layout Plain Layout
3998 111
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 </row>
4004 <row>
4005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Plain Layout
4009
4010 \series bold
4011 Malfatti
4012 \end_layout
4013
4014 \end_inset
4015 </cell>
4016 <cell alignment="center" valignment="top" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Plain Layout
4020 Luciano
4021 \end_layout
4022
4023 \end_inset
4024 </cell>
4025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4026 \begin_inset Text
4027
4028 \begin_layout Plain Layout
4029 111
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 </row>
4035 <row>
4036 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Plain Layout
4040
4041 \series bold
4042 Malfatti
4043 \end_layout
4044
4045 \end_inset
4046 </cell>
4047 <cell alignment="center" valignment="top" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Plain Layout
4051 Valeriano
4052 \end_layout
4053
4054 \end_inset
4055 </cell>
4056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4057 \begin_inset Text
4058
4059 \begin_layout Plain Layout
4060 111
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 </row>
4066 <row>
4067 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Plain Layout
4071
4072 \series bold
4073 Meneguzzo
4074 \end_layout
4075
4076 \end_inset
4077 </cell>
4078 <cell alignment="center" valignment="top" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Plain Layout
4082 Roberto
4083 \end_layout
4084
4085 \end_inset
4086 </cell>
4087 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4088 \begin_inset Text
4089
4090 \begin_layout Plain Layout
4091 111
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 </row>
4097 <row>
4098 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Plain Layout
4102
4103 \series bold
4104 Mezzadra
4105 \end_layout
4106
4107 \end_inset
4108 </cell>
4109 <cell alignment="center" valignment="top" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Plain Layout
4113 Roberto
4114 \end_layout
4115
4116 \end_inset
4117 </cell>
4118 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4119 \begin_inset Text
4120
4121 \begin_layout Plain Layout
4122 111
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 </row>
4128 <row>
4129 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Plain Layout
4133
4134 \series bold
4135 Pirpamer
4136 \end_layout
4137
4138 \end_inset
4139 </cell>
4140 <cell alignment="center" valignment="top" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Plain Layout
4144 Erich
4145 \end_layout
4146
4147 \end_inset
4148 </cell>
4149 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4150 \begin_inset Text
4151
4152 \begin_layout Plain Layout
4153 111
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 </row>
4159 <row>
4160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Plain Layout
4164
4165 \series bold
4166 Pochiesa
4167 \end_layout
4168
4169 \end_inset
4170 </cell>
4171 <cell alignment="center" valignment="top" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Plain Layout
4175 Paolo
4176 \end_layout
4177
4178 \end_inset
4179 </cell>
4180 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4181 \begin_inset Text
4182
4183 \begin_layout Plain Layout
4184 111, 222
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 </row>
4190 <row>
4191 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Plain Layout
4195
4196 \series bold
4197 Radina
4198 \end_layout
4199
4200 \end_inset
4201 </cell>
4202 <cell alignment="center" valignment="top" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Plain Layout
4206 Claudio
4207 \end_layout
4208
4209 \end_inset
4210 </cell>
4211 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4212 \begin_inset Text
4213
4214 \begin_layout Plain Layout
4215 111
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 </row>
4221 <row>
4222 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Plain Layout
4226
4227 \series bold
4228 Stuffer
4229 \end_layout
4230
4231 \end_inset
4232 </cell>
4233 <cell alignment="center" valignment="top" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Plain Layout
4237 Oskar
4238 \end_layout
4239
4240 \end_inset
4241 </cell>
4242 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4243 \begin_inset Text
4244
4245 \begin_layout Plain Layout
4246 111
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 </row>
4252 <row>
4253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Plain Layout
4257
4258 \series bold
4259 Tacchelli
4260 \end_layout
4261
4262 \end_inset
4263 </cell>
4264 <cell alignment="center" valignment="top" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Plain Layout
4268 Ugo
4269 \end_layout
4270
4271 \end_inset
4272 </cell>
4273 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4274 \begin_inset Text
4275
4276 \begin_layout Plain Layout
4277 111
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 </row>
4283 <row>
4284 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Plain Layout
4288
4289 \series bold
4290 Tezzele
4291 \end_layout
4292
4293 \end_inset
4294 </cell>
4295 <cell alignment="center" valignment="top" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Plain Layout
4299 Margit
4300 \end_layout
4301
4302 \end_inset
4303 </cell>
4304 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4305 \begin_inset Text
4306
4307 \begin_layout Plain Layout
4308 111
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 </row>
4314 <row>
4315 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Plain Layout
4319
4320 \series bold
4321 Unterkalmsteiner
4322 \end_layout
4323
4324 \end_inset
4325 </cell>
4326 <cell alignment="center" valignment="top" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Plain Layout
4330 Frieda
4331 \end_layout
4332
4333 \end_inset
4334 </cell>
4335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4336 \begin_inset Text
4337
4338 \begin_layout Plain Layout
4339 111
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 </row>
4345 <row>
4346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Plain Layout
4350
4351 \series bold
4352 Vieider
4353 \end_layout
4354
4355 \end_inset
4356 </cell>
4357 <cell alignment="center" valignment="top" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Plain Layout
4361 Hilde
4362 \end_layout
4363
4364 \end_inset
4365 </cell>
4366 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4367 \begin_inset Text
4368
4369 \begin_layout Plain Layout
4370 111
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 </row>
4376 <row>
4377 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Plain Layout
4381
4382 \series bold
4383 Vigna
4384 \end_layout
4385
4386 \end_inset
4387 </cell>
4388 <cell alignment="center" valignment="top" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Plain Layout
4392 Jürgen
4393 \end_layout
4394
4395 \end_inset
4396 </cell>
4397 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4398 \begin_inset Text
4399
4400 \begin_layout Plain Layout
4401 111
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 </row>
4407 <row>
4408 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Plain Layout
4412
4413 \series bold
4414 Weber
4415 \end_layout
4416
4417 \end_inset
4418 </cell>
4419 <cell alignment="center" valignment="top" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Plain Layout
4423 Maurizio
4424 \end_layout
4425
4426 \end_inset
4427 </cell>
4428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4429 \begin_inset Text
4430
4431 \begin_layout Plain Layout
4432 111
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 </row>
4438 <row>
4439 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Plain Layout
4443
4444 \series bold
4445 Winkler
4446 \end_layout
4447
4448 \end_inset
4449 </cell>
4450 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Plain Layout
4454 Franz
4455 \end_layout
4456
4457 \end_inset
4458 </cell>
4459 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4460 \begin_inset Text
4461
4462 \begin_layout Plain Layout
4463 111
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 </row>
4469 <row>
4470 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Plain Layout
4474  
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4480 \begin_inset Text
4481
4482 \begin_layout Plain Layout
4483
4484 \end_layout
4485
4486 \end_inset
4487 </cell>
4488 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Plain Layout
4492
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 </row>
4498 <row>
4499 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Plain Layout
4503
4504 \series bold
4505 Annovi
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 <cell alignment="center" valignment="top" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Plain Layout
4514 Silvia
4515 \end_layout
4516
4517 \end_inset
4518 </cell>
4519 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Plain Layout
4523 555
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 </row>
4529 <row>
4530 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Plain Layout
4534
4535 \series bold
4536 Bertoli
4537 \end_layout
4538
4539 \end_inset
4540 </cell>
4541 <cell alignment="center" valignment="top" usebox="none">
4542 \begin_inset Text
4543
4544 \begin_layout Plain Layout
4545 Stefano
4546 \end_layout
4547
4548 \end_inset
4549 </cell>
4550 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4551 \begin_inset Text
4552
4553 \begin_layout Plain Layout
4554 555
4555 \end_layout
4556
4557 \end_inset
4558 </cell>
4559 </row>
4560 <row>
4561 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Plain Layout
4565
4566 \series bold
4567 Bozzi
4568 \end_layout
4569
4570 \end_inset
4571 </cell>
4572 <cell alignment="center" valignment="top" usebox="none">
4573 \begin_inset Text
4574
4575 \begin_layout Plain Layout
4576 Walter
4577 \end_layout
4578
4579 \end_inset
4580 </cell>
4581 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4582 \begin_inset Text
4583
4584 \begin_layout Plain Layout
4585 555
4586 \end_layout
4587
4588 \end_inset
4589 </cell>
4590 </row>
4591 <row>
4592 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Plain Layout
4596
4597 \series bold
4598 Cachia
4599 \end_layout
4600
4601 \end_inset
4602 </cell>
4603 <cell alignment="center" valignment="top" usebox="none">
4604 \begin_inset Text
4605
4606 \begin_layout Plain Layout
4607 Maria
4608 \end_layout
4609
4610 \end_inset
4611 </cell>
4612 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4613 \begin_inset Text
4614
4615 \begin_layout Plain Layout
4616 555
4617 \end_layout
4618
4619 \end_inset
4620 </cell>
4621 </row>
4622 <row>
4623 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4624 \begin_inset Text
4625
4626 \begin_layout Plain Layout
4627
4628 \series bold
4629 Cachia
4630 \end_layout
4631
4632 \end_inset
4633 </cell>
4634 <cell alignment="center" valignment="top" usebox="none">
4635 \begin_inset Text
4636
4637 \begin_layout Plain Layout
4638 Maurizio
4639 \end_layout
4640
4641 \end_inset
4642 </cell>
4643 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4644 \begin_inset Text
4645
4646 \begin_layout Plain Layout
4647 555
4648 \end_layout
4649
4650 \end_inset
4651 </cell>
4652 </row>
4653 <row>
4654 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4655 \begin_inset Text
4656
4657 \begin_layout Plain Layout
4658
4659 \series bold
4660 Cinquemani
4661 \end_layout
4662
4663 \end_inset
4664 </cell>
4665 <cell alignment="center" valignment="top" usebox="none">
4666 \begin_inset Text
4667
4668 \begin_layout Plain Layout
4669 Giusi
4670 \end_layout
4671
4672 \end_inset
4673 </cell>
4674 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4675 \begin_inset Text
4676
4677 \begin_layout Plain Layout
4678 555
4679 \end_layout
4680
4681 \end_inset
4682 </cell>
4683 </row>
4684 <row>
4685 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4686 \begin_inset Text
4687
4688 \begin_layout Plain Layout
4689
4690 \series bold
4691 Colin
4692 \end_layout
4693
4694 \end_inset
4695 </cell>
4696 <cell alignment="center" valignment="top" usebox="none">
4697 \begin_inset Text
4698
4699 \begin_layout Plain Layout
4700 Bernard
4701 \end_layout
4702
4703 \end_inset
4704 </cell>
4705 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4706 \begin_inset Text
4707
4708 \begin_layout Plain Layout
4709 555
4710 \end_layout
4711
4712 \end_inset
4713 </cell>
4714 </row>
4715 <row>
4716 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4717 \begin_inset Text
4718
4719 \begin_layout Plain Layout
4720
4721 \series bold
4722 Concli
4723 \end_layout
4724
4725 \end_inset
4726 </cell>
4727 <cell alignment="center" valignment="top" usebox="none">
4728 \begin_inset Text
4729
4730 \begin_layout Plain Layout
4731 Gianfranco
4732 \end_layout
4733
4734 \end_inset
4735 </cell>
4736 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4737 \begin_inset Text
4738
4739 \begin_layout Plain Layout
4740 555
4741 \end_layout
4742
4743 \end_inset
4744 </cell>
4745 </row>
4746 <row>
4747 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4748 \begin_inset Text
4749
4750 \begin_layout Plain Layout
4751
4752 \series bold
4753 Dal Bosco
4754 \end_layout
4755
4756 \end_inset
4757 </cell>
4758 <cell alignment="center" valignment="top" usebox="none">
4759 \begin_inset Text
4760
4761 \begin_layout Plain Layout
4762 Carolina
4763 \end_layout
4764
4765 \end_inset
4766 </cell>
4767 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4768 \begin_inset Text
4769
4770 \begin_layout Plain Layout
4771 555
4772 \end_layout
4773
4774 \end_inset
4775 </cell>
4776 </row>
4777 <row>
4778 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4779 \begin_inset Text
4780
4781 \begin_layout Plain Layout
4782
4783 \series bold
4784 Dalpiaz
4785 \end_layout
4786
4787 \end_inset
4788 </cell>
4789 <cell alignment="center" valignment="top" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Plain Layout
4793 Annamaria
4794 \end_layout
4795
4796 \end_inset
4797 </cell>
4798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4799 \begin_inset Text
4800
4801 \begin_layout Plain Layout
4802 555
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 </row>
4808 <row>
4809 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Plain Layout
4813
4814 \series bold
4815 Feliciello
4816 \end_layout
4817
4818 \end_inset
4819 </cell>
4820 <cell alignment="center" valignment="top" usebox="none">
4821 \begin_inset Text
4822
4823 \begin_layout Plain Layout
4824 Domenico
4825 \end_layout
4826
4827 \end_inset
4828 </cell>
4829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4830 \begin_inset Text
4831
4832 \begin_layout Plain Layout
4833 555
4834 \end_layout
4835
4836 \end_inset
4837 </cell>
4838 </row>
4839 <row>
4840 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4841 \begin_inset Text
4842
4843 \begin_layout Plain Layout
4844
4845 \series bold
4846 Focarelli
4847 \end_layout
4848
4849 \end_inset
4850 </cell>
4851 <cell alignment="center" valignment="top" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Plain Layout
4855 Paola
4856 \end_layout
4857
4858 \end_inset
4859 </cell>
4860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4861 \begin_inset Text
4862
4863 \begin_layout Plain Layout
4864 555
4865 \end_layout
4866
4867 \end_inset
4868 </cell>
4869 </row>
4870 <row>
4871 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4872 \begin_inset Text
4873
4874 \begin_layout Plain Layout
4875
4876 \series bold
4877 Galletti
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 <cell alignment="center" valignment="top" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Plain Layout
4886 Oreste
4887 \end_layout
4888
4889 \end_inset
4890 </cell>
4891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4892 \begin_inset Text
4893
4894 \begin_layout Plain Layout
4895 555
4896 \end_layout
4897
4898 \end_inset
4899 </cell>
4900 </row>
4901 <row>
4902 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Plain Layout
4906
4907 \series bold
4908 Gasparini
4909 \end_layout
4910
4911 \end_inset
4912 </cell>
4913 <cell alignment="center" valignment="top" usebox="none">
4914 \begin_inset Text
4915
4916 \begin_layout Plain Layout
4917 Franca
4918 \end_layout
4919
4920 \end_inset
4921 </cell>
4922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4923 \begin_inset Text
4924
4925 \begin_layout Plain Layout
4926 555
4927 \end_layout
4928
4929 \end_inset
4930 </cell>
4931 </row>
4932 <row>
4933 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Plain Layout
4937
4938 \series bold
4939 Rizzardi
4940 \end_layout
4941
4942 \end_inset
4943 </cell>
4944 <cell alignment="center" valignment="top" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Plain Layout
4948 Paola
4949 \end_layout
4950
4951 \end_inset
4952 </cell>
4953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4954 \begin_inset Text
4955
4956 \begin_layout Plain Layout
4957 555
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 </row>
4963 <row>
4964 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4965 \begin_inset Text
4966
4967 \begin_layout Plain Layout
4968
4969 \series bold
4970 Lassini
4971 \end_layout
4972
4973 \end_inset
4974 </cell>
4975 <cell alignment="center" valignment="top" usebox="none">
4976 \begin_inset Text
4977
4978 \begin_layout Plain Layout
4979 Giancarlo
4980 \end_layout
4981
4982 \end_inset
4983 </cell>
4984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4985 \begin_inset Text
4986
4987 \begin_layout Plain Layout
4988 555
4989 \end_layout
4990
4991 \end_inset
4992 </cell>
4993 </row>
4994 <row>
4995 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Plain Layout
4999
5000 \series bold
5001 Malfatti
5002 \end_layout
5003
5004 \end_inset
5005 </cell>
5006 <cell alignment="center" valignment="top" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Plain Layout
5010 Luciano
5011 \end_layout
5012
5013 \end_inset
5014 </cell>
5015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5016 \begin_inset Text
5017
5018 \begin_layout Plain Layout
5019 555
5020 \end_layout
5021
5022 \end_inset
5023 </cell>
5024 </row>
5025 <row>
5026 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5027 \begin_inset Text
5028
5029 \begin_layout Plain Layout
5030
5031 \series bold
5032 Malfatti
5033 \end_layout
5034
5035 \end_inset
5036 </cell>
5037 <cell alignment="center" valignment="top" usebox="none">
5038 \begin_inset Text
5039
5040 \begin_layout Plain Layout
5041 Valeriano
5042 \end_layout
5043
5044 \end_inset
5045 </cell>
5046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5047 \begin_inset Text
5048
5049 \begin_layout Plain Layout
5050 555
5051 \end_layout
5052
5053 \end_inset
5054 </cell>
5055 </row>
5056 <row>
5057 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5058 \begin_inset Text
5059
5060 \begin_layout Plain Layout
5061
5062 \series bold
5063 Meneguzzo
5064 \end_layout
5065
5066 \end_inset
5067 </cell>
5068 <cell alignment="center" valignment="top" usebox="none">
5069 \begin_inset Text
5070
5071 \begin_layout Plain Layout
5072 Roberto
5073 \end_layout
5074
5075 \end_inset
5076 </cell>
5077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5078 \begin_inset Text
5079
5080 \begin_layout Plain Layout
5081 555
5082 \end_layout
5083
5084 \end_inset
5085 </cell>
5086 </row>
5087 <row>
5088 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Plain Layout
5092
5093 \series bold
5094 Mezzadra
5095 \end_layout
5096
5097 \end_inset
5098 </cell>
5099 <cell alignment="center" valignment="top" usebox="none">
5100 \begin_inset Text
5101
5102 \begin_layout Plain Layout
5103 Roberto
5104 \end_layout
5105
5106 \end_inset
5107 </cell>
5108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5109 \begin_inset Text
5110
5111 \begin_layout Plain Layout
5112 555
5113 \end_layout
5114
5115 \end_inset
5116 </cell>
5117 </row>
5118 <row>
5119 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5120 \begin_inset Text
5121
5122 \begin_layout Plain Layout
5123
5124 \series bold
5125 Pirpamer
5126 \end_layout
5127
5128 \end_inset
5129 </cell>
5130 <cell alignment="center" valignment="top" usebox="none">
5131 \begin_inset Text
5132
5133 \begin_layout Plain Layout
5134 Erich
5135 \end_layout
5136
5137 \end_inset
5138 </cell>
5139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5140 \begin_inset Text
5141
5142 \begin_layout Plain Layout
5143 555
5144 \end_layout
5145
5146 \end_inset
5147 </cell>
5148 </row>
5149 <row>
5150 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5151 \begin_inset Text
5152
5153 \begin_layout Plain Layout
5154
5155 \series bold
5156 Pochiesa
5157 \end_layout
5158
5159 \end_inset
5160 </cell>
5161 <cell alignment="center" valignment="top" usebox="none">
5162 \begin_inset Text
5163
5164 \begin_layout Plain Layout
5165 Paolo
5166 \end_layout
5167
5168 \end_inset
5169 </cell>
5170 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5171 \begin_inset Text
5172
5173 \begin_layout Plain Layout
5174 555, 222
5175 \end_layout
5176
5177 \end_inset
5178 </cell>
5179 </row>
5180 <row>
5181 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5182 \begin_inset Text
5183
5184 \begin_layout Plain Layout
5185
5186 \series bold
5187 Radina
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 <cell alignment="center" valignment="top" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Plain Layout
5196 Claudio
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Plain Layout
5205 555
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 </row>
5211 <row>
5212 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5213 \begin_inset Text
5214
5215 \begin_layout Plain Layout
5216
5217 \series bold
5218 Stuffer
5219 \end_layout
5220
5221 \end_inset
5222 </cell>
5223 <cell alignment="center" valignment="top" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Plain Layout
5227 Oskar
5228 \end_layout
5229
5230 \end_inset
5231 </cell>
5232 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5233 \begin_inset Text
5234
5235 \begin_layout Plain Layout
5236 555
5237 \end_layout
5238
5239 \end_inset
5240 </cell>
5241 </row>
5242 <row>
5243 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5244 \begin_inset Text
5245
5246 \begin_layout Plain Layout
5247
5248 \series bold
5249 Tacchelli
5250 \end_layout
5251
5252 \end_inset
5253 </cell>
5254 <cell alignment="center" valignment="top" usebox="none">
5255 \begin_inset Text
5256
5257 \begin_layout Plain Layout
5258 Ugo
5259 \end_layout
5260
5261 \end_inset
5262 </cell>
5263 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5264 \begin_inset Text
5265
5266 \begin_layout Plain Layout
5267 555
5268 \end_layout
5269
5270 \end_inset
5271 </cell>
5272 </row>
5273 <row>
5274 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5275 \begin_inset Text
5276
5277 \begin_layout Plain Layout
5278
5279 \series bold
5280 Tezzele
5281 \end_layout
5282
5283 \end_inset
5284 </cell>
5285 <cell alignment="center" valignment="top" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Plain Layout
5289 Margit
5290 \end_layout
5291
5292 \end_inset
5293 </cell>
5294 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5295 \begin_inset Text
5296
5297 \begin_layout Plain Layout
5298 555
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 </row>
5304 <row>
5305 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5306 \begin_inset Text
5307
5308 \begin_layout Plain Layout
5309
5310 \series bold
5311 Unterkalmsteiner
5312 \end_layout
5313
5314 \end_inset
5315 </cell>
5316 <cell alignment="center" valignment="top" usebox="none">
5317 \begin_inset Text
5318
5319 \begin_layout Plain Layout
5320 Frieda
5321 \end_layout
5322
5323 \end_inset
5324 </cell>
5325 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5326 \begin_inset Text
5327
5328 \begin_layout Plain Layout
5329 555
5330 \end_layout
5331
5332 \end_inset
5333 </cell>
5334 </row>
5335 <row>
5336 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5337 \begin_inset Text
5338
5339 \begin_layout Plain Layout
5340
5341 \series bold
5342 Vieider
5343 \end_layout
5344
5345 \end_inset
5346 </cell>
5347 <cell alignment="center" valignment="top" usebox="none">
5348 \begin_inset Text
5349
5350 \begin_layout Plain Layout
5351 Hilde
5352 \end_layout
5353
5354 \end_inset
5355 </cell>
5356 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5357 \begin_inset Text
5358
5359 \begin_layout Plain Layout
5360 555
5361 \end_layout
5362
5363 \end_inset
5364 </cell>
5365 </row>
5366 <row>
5367 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5368 \begin_inset Text
5369
5370 \begin_layout Plain Layout
5371
5372 \series bold
5373 Vigna
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 <cell alignment="center" valignment="top" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Plain Layout
5382 Jürgen
5383 \end_layout
5384
5385 \end_inset
5386 </cell>
5387 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5388 \begin_inset Text
5389
5390 \begin_layout Plain Layout
5391 999
5392 \end_layout
5393
5394 \end_inset
5395 </cell>
5396 </row>
5397 <row>
5398 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Plain Layout
5402
5403 \series bold
5404 Weber
5405 \end_layout
5406
5407 \end_inset
5408 </cell>
5409 <cell alignment="center" valignment="top" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Plain Layout
5413 Maurizio
5414 \end_layout
5415
5416 \end_inset
5417 </cell>
5418 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Plain Layout
5422 555
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 </row>
5428 <row>
5429 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Plain Layout
5433
5434 \series bold
5435 Winkler
5436 \end_layout
5437
5438 \end_inset
5439 </cell>
5440 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5441 \begin_inset Text
5442
5443 \begin_layout Plain Layout
5444 Franz
5445 \end_layout
5446
5447 \end_inset
5448 </cell>
5449 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5450 \begin_inset Text
5451
5452 \begin_layout Plain Layout
5453 555
5454 \end_layout
5455
5456 \end_inset
5457 </cell>
5458 </row>
5459 <row endlastfoot="true">
5460 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5461 \begin_inset Text
5462
5463 \begin_layout Plain Layout
5464 end
5465 \end_layout
5466
5467 \end_inset
5468 </cell>
5469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5470 \begin_inset Text
5471
5472 \begin_layout Plain Layout
5473
5474 \end_layout
5475
5476 \end_inset
5477 </cell>
5478 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5479 \begin_inset Text
5480
5481 \begin_layout Plain Layout
5482
5483 \end_layout
5484
5485 \end_inset
5486 </cell>
5487 </row>
5488 </lyxtabular>
5489
5490 \end_inset
5491
5492
5493 \begin_inset ERT
5494 status collapsed
5495
5496 \begin_layout Plain Layout
5497
5498
5499 \backslash
5500 addtocounter{table}{-1}
5501 \end_layout
5502
5503 \end_inset
5504
5505
5506 \begin_inset Note Note
5507 status collapsed
5508
5509 \begin_layout Plain Layout
5510 See the first greyed-out note in section
5511 \begin_inset space ~
5512 \end_inset
5513
5514
5515 \begin_inset CommandInset ref
5516 LatexCommand ref
5517 reference "sub:Longtable-Captions"
5518
5519 \end_inset
5520
5521  for an explanation of this command.
5522 \end_layout
5523
5524 \end_inset
5525
5526
5527 \end_layout
5528
5529 \begin_layout Subsection
5530 Footnotes in Longtables
5531 \begin_inset CommandInset label
5532 LatexCommand label
5533 name "sub:Footnotes-in-Longtables"
5534
5535 \end_inset
5536
5537
5538 \begin_inset Index idx
5539 status collapsed
5540
5541 \begin_layout Plain Layout
5542 Longtables ! Footnotes
5543 \end_layout
5544
5545 \end_inset
5546
5547
5548 \end_layout
5549
5550 \begin_layout Standard
5551 Footnotes can be inserted to every longtable cell.
5552  They appear at the bottom of the page where the table cell with the footnote
5553  appears.
5554  Table
5555 \begin_inset space ~
5556 \end_inset
5557
5558
5559 \begin_inset CommandInset ref
5560 LatexCommand ref
5561 reference "tab:DiffCaptions"
5562
5563 \end_inset
5564
5565  has for example a footnote.
5566 \end_layout
5567
5568 \begin_layout Subsection
5569 Longtable Alignment
5570 \begin_inset Index idx
5571 status collapsed
5572
5573 \begin_layout Plain Layout
5574 Longtables ! Alignment
5575 \end_layout
5576
5577 \end_inset
5578
5579
5580 \end_layout
5581
5582 \begin_layout Standard
5583 The horizontal alignment of longtables can be set in the table settings
5584  dialog.
5585  For left- and right-alignment the table will be directly at the page border.
5586  To add space between the table and the border one has to set the alignment
5587  to center and change the value of the LaTeX-lengths 
5588 \series bold
5589
5590 \backslash
5591 LTleft 
5592 \series default
5593 or 
5594 \series bold
5595
5596 \backslash
5597 LTright
5598 \series default
5599  by inserting this line as TeX-Code before the longtable:
5600 \end_layout
5601
5602 \begin_layout Standard
5603
5604 \series bold
5605
5606 \backslash
5607 setlength{
5608 \backslash
5609 LTleft}{value}
5610 \end_layout
5611
5612 \begin_layout Standard
5613 The value can have any of the units listed in Table
5614 \begin_inset space ~
5615 \end_inset
5616
5617
5618 \begin_inset CommandInset ref
5619 LatexCommand ref
5620 reference "tab:Units"
5621
5622 \end_inset
5623
5624 .
5625  
5626 \series bold
5627
5628 \backslash
5629 LTleft
5630 \series default
5631  controls the horizontal distance from the left page border to the longtable,
5632  
5633 \series bold
5634
5635 \backslash
5636 LTright
5637 \series default
5638  the distance from the right side.
5639  The default value for both lengths is 
5640 \series bold
5641
5642 \backslash
5643 fill
5644 \series default
5645 , which is in this case the same as an horizontal fill in LyX.
5646 \end_layout
5647
5648 \begin_layout Standard
5649 The following longtable was centered and 
5650 \series bold
5651
5652 \backslash
5653 LTleft
5654 \series default
5655  set to 
5656 \family sans
5657 0.1
5658 \backslash
5659 columnwidth
5660 \family default
5661 :
5662 \begin_inset ERT
5663 status collapsed
5664
5665 \begin_layout Plain Layout
5666
5667
5668 \backslash
5669 setlength{
5670 \backslash
5671 LTleft}{0.1
5672 \backslash
5673 columnwidth}
5674 \end_layout
5675
5676 \end_inset
5677
5678
5679 \end_layout
5680
5681 \begin_layout Standard
5682 \begin_inset Tabular
5683 <lyxtabular version="3" rows="5" columns="5">
5684 <features islongtable="true" longtabularalignment="center">
5685 <column alignment="center" valignment="top" width="0">
5686 <column alignment="center" valignment="top" width="0pt">
5687 <column alignment="center" valignment="top" width="0">
5688 <column alignment="center" valignment="top" width="0">
5689 <column alignment="center" valignment="top" width="0">
5690 <row>
5691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5692 \begin_inset Text
5693
5694 \begin_layout Plain Layout
5695 1
5696 \end_layout
5697
5698 \end_inset
5699 </cell>
5700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5701 \begin_inset Text
5702
5703 \begin_layout Plain Layout
5704 2
5705 \end_layout
5706
5707 \end_inset
5708 </cell>
5709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5710 \begin_inset Text
5711
5712 \begin_layout Plain Layout
5713 3
5714 \end_layout
5715
5716 \end_inset
5717 </cell>
5718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5719 \begin_inset Text
5720
5721 \begin_layout Plain Layout
5722 4
5723 \end_layout
5724
5725 \end_inset
5726 </cell>
5727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5728 \begin_inset Text
5729
5730 \begin_layout Plain Layout
5731 5
5732 \end_layout
5733
5734 \end_inset
5735 </cell>
5736 </row>
5737 <row>
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5739 \begin_inset Text
5740
5741 \begin_layout Plain Layout
5742 asd
5743 \end_layout
5744
5745 \end_inset
5746 </cell>
5747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5748 \begin_inset Text
5749
5750 \begin_layout Plain Layout
5751 s
5752 \end_layout
5753
5754 \end_inset
5755 </cell>
5756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5757 \begin_inset Text
5758
5759 \begin_layout Plain Layout
5760 s
5761 \end_layout
5762
5763 \end_inset
5764 </cell>
5765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5766 \begin_inset Text
5767
5768 \begin_layout Plain Layout
5769 s
5770 \end_layout
5771
5772 \end_inset
5773 </cell>
5774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5775 \begin_inset Text
5776
5777 \begin_layout Plain Layout
5778 asd
5779 \end_layout
5780
5781 \end_inset
5782 </cell>
5783 </row>
5784 <row>
5785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5786 \begin_inset Text
5787
5788 \begin_layout Plain Layout
5789 asd
5790 \end_layout
5791
5792 \end_inset
5793 </cell>
5794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5795 \begin_inset Text
5796
5797 \begin_layout Plain Layout
5798 s
5799 \end_layout
5800
5801 \end_inset
5802 </cell>
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5804 \begin_inset Text
5805
5806 \begin_layout Plain Layout
5807 s
5808 \end_layout
5809
5810 \end_inset
5811 </cell>
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5813 \begin_inset Text
5814
5815 \begin_layout Plain Layout
5816 s
5817 \end_layout
5818
5819 \end_inset
5820 </cell>
5821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5822 \begin_inset Text
5823
5824 \begin_layout Plain Layout
5825 asd
5826 \end_layout
5827
5828 \end_inset
5829 </cell>
5830 </row>
5831 <row>
5832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5833 \begin_inset Text
5834
5835 \begin_layout Plain Layout
5836 asd
5837 \end_layout
5838
5839 \end_inset
5840 </cell>
5841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5842 \begin_inset Text
5843
5844 \begin_layout Plain Layout
5845 s
5846 \end_layout
5847
5848 \end_inset
5849 </cell>
5850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5851 \begin_inset Text
5852
5853 \begin_layout Plain Layout
5854 s
5855 \end_layout
5856
5857 \end_inset
5858 </cell>
5859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5860 \begin_inset Text
5861
5862 \begin_layout Plain Layout
5863 s
5864 \end_layout
5865
5866 \end_inset
5867 </cell>
5868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5869 \begin_inset Text
5870
5871 \begin_layout Plain Layout
5872 asd
5873 \end_layout
5874
5875 \end_inset
5876 </cell>
5877 </row>
5878 <row>
5879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5880 \begin_inset Text
5881
5882 \begin_layout Plain Layout
5883 asd
5884 \end_layout
5885
5886 \end_inset
5887 </cell>
5888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5889 \begin_inset Text
5890
5891 \begin_layout Plain Layout
5892 asd
5893 \end_layout
5894
5895 \end_inset
5896 </cell>
5897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5898 \begin_inset Text
5899
5900 \begin_layout Plain Layout
5901 asd
5902 \end_layout
5903
5904 \end_inset
5905 </cell>
5906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5907 \begin_inset Text
5908
5909 \begin_layout Plain Layout
5910 asd
5911 \end_layout
5912
5913 \end_inset
5914 </cell>
5915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5916 \begin_inset Text
5917
5918 \begin_layout Plain Layout
5919 asd
5920 \end_layout
5921
5922 \end_inset
5923 </cell>
5924 </row>
5925 </lyxtabular>
5926
5927 \end_inset
5928
5929
5930 \begin_inset ERT
5931 status collapsed
5932
5933 \begin_layout Plain Layout
5934
5935
5936 \backslash
5937 setlength{
5938 \backslash
5939 LTleft}{
5940 \backslash
5941 fill}
5942 \end_layout
5943
5944 \end_inset
5945
5946
5947 \begin_inset ERT
5948 status collapsed
5949
5950 \begin_layout Plain Layout
5951
5952
5953 \backslash
5954 addtocounter{table}{-1}
5955 \end_layout
5956
5957 \end_inset
5958
5959
5960 \begin_inset Note Note
5961 status collapsed
5962
5963 \begin_layout Plain Layout
5964 See the first greyed-out note in section
5965 \begin_inset space ~
5966 \end_inset
5967
5968
5969 \begin_inset CommandInset ref
5970 LatexCommand ref
5971 reference "sub:Longtable-Captions"
5972
5973 \end_inset
5974
5975  for an explanation of this command.
5976 \end_layout
5977
5978 \end_inset
5979
5980
5981 \end_layout
5982
5983 \begin_layout Subsection
5984 Longtable Captions
5985 \begin_inset Index idx
5986 status collapsed
5987
5988 \begin_layout Plain Layout
5989 Longtables ! Captions
5990 \end_layout
5991
5992 \end_inset
5993
5994
5995 \begin_inset CommandInset label
5996 LatexCommand label
5997 name "sub:Longtable-Captions"
5998
5999 \end_inset
6000
6001
6002 \end_layout
6003
6004 \begin_layout Standard
6005 A longtable cannot be put into a table float because floats can only be
6006  on one page.
6007  But the caption environment of floats can also be used for longtables when
6008  you use the longtable option 
6009 \family sans
6010 Caption
6011 \family default
6012  as described in sec.
6013 \begin_inset space \thinspace{}
6014 \end_inset
6015
6016
6017 \begin_inset CommandInset ref
6018 LatexCommand ref
6019 reference "sec:Longtables"
6020
6021 \end_inset
6022
6023 .
6024  Only one table row can contain the caption.
6025 \end_layout
6026
6027 \begin_layout Standard
6028 Here is a short longtable to see how it works:
6029 \end_layout
6030
6031 \begin_layout Standard
6032 \begin_inset Tabular
6033 <lyxtabular version="3" rows="6" columns="5">
6034 <features islongtable="true" longtabularalignment="center">
6035 <column alignment="center" valignment="top" width="0">
6036 <column alignment="center" valignment="top" width="0">
6037 <column alignment="center" valignment="top" width="0">
6038 <column alignment="center" valignment="top" width="0">
6039 <column alignment="center" valignment="top" width="0">
6040 <row caption="true">
6041 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6042 \begin_inset Text
6043
6044 \begin_layout Plain Layout
6045 \begin_inset Caption
6046
6047 \begin_layout Plain Layout
6048 Longtable with caption
6049 \begin_inset Argument
6050 status open
6051
6052 \begin_layout Plain Layout
6053 Longtable
6054 \end_layout
6055
6056 \end_inset
6057
6058
6059 \end_layout
6060
6061 \end_inset
6062
6063
6064 \end_layout
6065
6066 \end_inset
6067 </cell>
6068 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6069 \begin_inset Text
6070
6071 \begin_layout Plain Layout
6072
6073 \end_layout
6074
6075 \end_inset
6076 </cell>
6077 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6078 \begin_inset Text
6079
6080 \begin_layout Plain Layout
6081
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Plain Layout
6090
6091 \end_layout
6092
6093 \end_inset
6094 </cell>
6095 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6096 \begin_inset Text
6097
6098 \begin_layout Plain Layout
6099
6100 \end_layout
6101
6102 \end_inset
6103 </cell>
6104 </row>
6105 <row>
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Plain Layout
6110 1
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6116 \begin_inset Text
6117
6118 \begin_layout Plain Layout
6119 2
6120 \end_layout
6121
6122 \end_inset
6123 </cell>
6124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_inset Text
6126
6127 \begin_layout Plain Layout
6128 3
6129 \end_layout
6130
6131 \end_inset
6132 </cell>
6133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_inset Text
6135
6136 \begin_layout Plain Layout
6137 4
6138 \end_layout
6139
6140 \end_inset
6141 </cell>
6142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6143 \begin_inset Text
6144
6145 \begin_layout Plain Layout
6146 5
6147 \end_layout
6148
6149 \end_inset
6150 </cell>
6151 </row>
6152 <row>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Plain Layout
6157 asd
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6163 \begin_inset Text
6164
6165 \begin_layout Plain Layout
6166 s
6167 \end_layout
6168
6169 \end_inset
6170 </cell>
6171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_inset Text
6173
6174 \begin_layout Plain Layout
6175 s
6176 \end_layout
6177
6178 \end_inset
6179 </cell>
6180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_inset Text
6182
6183 \begin_layout Plain Layout
6184 s
6185 \end_layout
6186
6187 \end_inset
6188 </cell>
6189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6190 \begin_inset Text
6191
6192 \begin_layout Plain Layout
6193 asd
6194 \end_layout
6195
6196 \end_inset
6197 </cell>
6198 </row>
6199 <row>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Plain Layout
6204 asd
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6210 \begin_inset Text
6211
6212 \begin_layout Plain Layout
6213 s
6214 \end_layout
6215
6216 \end_inset
6217 </cell>
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_inset Text
6220
6221 \begin_layout Plain Layout
6222 s
6223 \end_layout
6224
6225 \end_inset
6226 </cell>
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_inset Text
6229
6230 \begin_layout Plain Layout
6231 s
6232 \end_layout
6233
6234 \end_inset
6235 </cell>
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6237 \begin_inset Text
6238
6239 \begin_layout Plain Layout
6240 asd
6241 \end_layout
6242
6243 \end_inset
6244 </cell>
6245 </row>
6246 <row>
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6248 \begin_inset Text
6249
6250 \begin_layout Plain Layout
6251 asd
6252 \end_layout
6253
6254 \end_inset
6255 </cell>
6256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6257 \begin_inset Text
6258
6259 \begin_layout Plain Layout
6260 s
6261 \end_layout
6262
6263 \end_inset
6264 </cell>
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_inset Text
6267
6268 \begin_layout Plain Layout
6269 s
6270 \end_layout
6271
6272 \end_inset
6273 </cell>
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6275 \begin_inset Text
6276
6277 \begin_layout Plain Layout
6278 s
6279 \end_layout
6280
6281 \end_inset
6282 </cell>
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6284 \begin_inset Text
6285
6286 \begin_layout Plain Layout
6287 asd
6288 \end_layout
6289
6290 \end_inset
6291 </cell>
6292 </row>
6293 <row>
6294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6295 \begin_inset Text
6296
6297 \begin_layout Plain Layout
6298 asd
6299 \end_layout
6300
6301 \end_inset
6302 </cell>
6303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6304 \begin_inset Text
6305
6306 \begin_layout Plain Layout
6307 asd
6308 \end_layout
6309
6310 \end_inset
6311 </cell>
6312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6313 \begin_inset Text
6314
6315 \begin_layout Plain Layout
6316 asd
6317 \end_layout
6318
6319 \end_inset
6320 </cell>
6321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6322 \begin_inset Text
6323
6324 \begin_layout Plain Layout
6325 asd
6326 \end_layout
6327
6328 \end_inset
6329 </cell>
6330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6331 \begin_inset Text
6332
6333 \begin_layout Plain Layout
6334 asd
6335 \end_layout
6336
6337 \end_inset
6338 </cell>
6339 </row>
6340 </lyxtabular>
6341
6342 \end_inset
6343
6344
6345 \end_layout
6346
6347 \begin_layout Standard
6348 \begin_inset VSpace medskip
6349 \end_inset
6350
6351
6352 \begin_inset Note Greyedout
6353 status open
6354
6355 \begin_layout Plain Layout
6356
6357 \series bold
6358 Note
6359 \begin_inset space ~
6360 \end_inset
6361
6362 1:
6363 \series default
6364  The table number is increased for for every longtable, even if you did
6365  not set a caption for it.
6366  For this reason you could have the case that e.
6367 \begin_inset space \thinspace{}
6368 \end_inset
6369
6370 g.
6371 \begin_inset space \space{}
6372 \end_inset
6373
6374 Table
6375 \begin_inset space ~
6376 \end_inset
6377
6378 2.4 follows Table
6379 \begin_inset space ~
6380 \end_inset
6381
6382 2.1 in the list of tables if there are two longtables without captions.
6383  To avoid this you can add the following command in TeX-Code after every
6384  longtable without a caption:
6385 \end_layout
6386
6387 \begin_layout Plain Layout
6388
6389 \series bold
6390
6391 \backslash
6392 addtocounter{table}{-1}
6393 \end_layout
6394
6395 \begin_layout Plain Layout
6396 This is not needed when none of your longtables have a caption and you add
6397  the following code to the document preamble:
6398 \end_layout
6399
6400 \begin_layout Plain Layout
6401
6402 \series bold
6403
6404 \backslash
6405 let
6406 \backslash
6407 myEnd
6408 \backslash
6409 endlongtable
6410 \begin_inset Newline newline
6411 \end_inset
6412
6413
6414 \backslash
6415 renewcommand{
6416 \backslash
6417 endlongtable}{
6418 \backslash
6419 myEnd
6420 \backslash
6421 addtocounter{table}{-1}}
6422 \end_layout
6423
6424 \end_inset
6425
6426
6427 \end_layout
6428
6429 \begin_layout Standard
6430 \begin_inset Note Greyedout
6431 status open
6432
6433 \begin_layout Plain Layout
6434
6435 \series bold
6436 Note
6437 \begin_inset space ~
6438 \end_inset
6439
6440 2:
6441 \series default
6442  If you are using
6443 \series bold
6444  hyperref
6445 \series default
6446
6447 \begin_inset Index idx
6448 status collapsed
6449
6450 \begin_layout Plain Layout
6451 LaTeX-packages ! hyperref
6452 \end_layout
6453
6454 \end_inset
6455
6456  in the 
6457 \family sans
6458 PDF Properties
6459 \family default
6460  of the 
6461 \family sans
6462 Document Settings
6463 \family default
6464  dialog to link cross-references, the link to a longtable caption will always
6465  point to the beginning of the document.
6466 \end_layout
6467
6468 \end_inset
6469
6470
6471 \end_layout
6472
6473 \begin_layout Subsubsection
6474 References to Longtables
6475 \begin_inset Index idx
6476 status collapsed
6477
6478 \begin_layout Plain Layout
6479 Longtables ! References
6480 \end_layout
6481
6482 \end_inset
6483
6484
6485 \end_layout
6486
6487 \begin_layout Standard
6488 \begin_inset Tabular
6489 <lyxtabular version="3" rows="6" columns="5">
6490 <features islongtable="true" longtabularalignment="center">
6491 <column alignment="center" valignment="top" width="0">
6492 <column alignment="center" valignment="top" width="0">
6493 <column alignment="center" valignment="top" width="0">
6494 <column alignment="center" valignment="top" width="0">
6495 <column alignment="center" valignment="top" width="0">
6496 <row caption="true">
6497 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6498 \begin_inset Text
6499
6500 \begin_layout Plain Layout
6501 \begin_inset Caption
6502
6503 \begin_layout Plain Layout
6504 Referenced longtable
6505 \begin_inset CommandInset label
6506 LatexCommand label
6507 name "tab:RefExample"
6508
6509 \end_inset
6510
6511
6512 \end_layout
6513
6514 \end_inset
6515
6516
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6522 \begin_inset Text
6523
6524 \begin_layout Plain Layout
6525
6526 \end_layout
6527
6528 \end_inset
6529 </cell>
6530 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Plain Layout
6534
6535 \end_layout
6536
6537 \end_inset
6538 </cell>
6539 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6540 \begin_inset Text
6541
6542 \begin_layout Plain Layout
6543
6544 \end_layout
6545
6546 \end_inset
6547 </cell>
6548 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6549 \begin_inset Text
6550
6551 \begin_layout Plain Layout
6552
6553 \end_layout
6554
6555 \end_inset
6556 </cell>
6557 </row>
6558 <row>
6559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6560 \begin_inset Text
6561
6562 \begin_layout Plain Layout
6563 1
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Plain Layout
6572 2
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Plain Layout
6581 3
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6587 \begin_inset Text
6588
6589 \begin_layout Plain Layout
6590 4
6591 \end_layout
6592
6593 \end_inset
6594 </cell>
6595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6596 \begin_inset Text
6597
6598 \begin_layout Plain Layout
6599 5
6600 \end_layout
6601
6602 \end_inset
6603 </cell>
6604 </row>
6605 <row>
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6607 \begin_inset Text
6608
6609 \begin_layout Plain Layout
6610 asd
6611 \end_layout
6612
6613 \end_inset
6614 </cell>
6615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6616 \begin_inset Text
6617
6618 \begin_layout Plain Layout
6619 s
6620 \end_layout
6621
6622 \end_inset
6623 </cell>
6624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6625 \begin_inset Text
6626
6627 \begin_layout Plain Layout
6628 s
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6634 \begin_inset Text
6635
6636 \begin_layout Plain Layout
6637 s
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Plain Layout
6646 asd
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 </row>
6652 <row>
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Plain Layout
6657 asd
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Plain Layout
6666 s
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Plain Layout
6675 s
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6681 \begin_inset Text
6682
6683 \begin_layout Plain Layout
6684 s
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6690 \begin_inset Text
6691
6692 \begin_layout Plain Layout
6693 asd
6694 \end_layout
6695
6696 \end_inset
6697 </cell>
6698 </row>
6699 <row>
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6701 \begin_inset Text
6702
6703 \begin_layout Plain Layout
6704 asd
6705 \end_layout
6706
6707 \end_inset
6708 </cell>
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Plain Layout
6713 s
6714 \end_layout
6715
6716 \end_inset
6717 </cell>
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6719 \begin_inset Text
6720
6721 \begin_layout Plain Layout
6722 s
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Plain Layout
6731 s
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6737 \begin_inset Text
6738
6739 \begin_layout Plain Layout
6740 asd
6741 \end_layout
6742
6743 \end_inset
6744 </cell>
6745 </row>
6746 <row>
6747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6748 \begin_inset Text
6749
6750 \begin_layout Plain Layout
6751 asd
6752 \end_layout
6753
6754 \end_inset
6755 </cell>
6756 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6757 \begin_inset Text
6758
6759 \begin_layout Plain Layout
6760 sad
6761 \end_layout
6762
6763 \end_inset
6764 </cell>
6765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6766 \begin_inset Text
6767
6768 \begin_layout Plain Layout
6769 asd
6770 \end_layout
6771
6772 \end_inset
6773 </cell>
6774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Plain Layout
6778 asd
6779 \end_layout
6780
6781 \end_inset
6782 </cell>
6783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6784 \begin_inset Text
6785
6786 \begin_layout Plain Layout
6787 asd
6788 \end_layout
6789
6790 \end_inset
6791 </cell>
6792 </row>
6793 </lyxtabular>
6794
6795 \end_inset
6796
6797
6798 \end_layout
6799
6800 \begin_layout Standard
6801 To reference a longtable, insert a label into the caption.
6802 \end_layout
6803
6804 \begin_layout Standard
6805 This is a reference to Table
6806 \begin_inset space ~
6807 \end_inset
6808
6809
6810 \begin_inset CommandInset ref
6811 LatexCommand ref
6812 reference "tab:RefExample"
6813
6814 \end_inset
6815
6816 .
6817 \end_layout
6818
6819 \begin_layout Standard
6820 The caption layout can be set together with all other captions of your document
6821  using the LaTeX-package 
6822 \series bold
6823 caption
6824 \series default
6825
6826 \begin_inset Index idx
6827 status collapsed
6828
6829 \begin_layout Plain Layout
6830 LaTeX-packages ! caption
6831 \end_layout
6832
6833 \end_inset
6834
6835 , see section
6836 \begin_inset space ~
6837 \end_inset
6838
6839
6840 \begin_inset CommandInset ref
6841 LatexCommand ref
6842 reference "sec:Caption-Formatting"
6843
6844 \end_inset
6845
6846 .
6847 \end_layout
6848
6849 \begin_layout Subsubsection
6850 Caption Width
6851 \begin_inset Index idx
6852 status collapsed
6853
6854 \begin_layout Plain Layout
6855 Longtables ! Caption Width
6856 \end_layout
6857
6858 \end_inset
6859
6860
6861 \end_layout
6862
6863 \begin_layout Standard
6864 The maximal width of of caption lines is defined by the length 
6865 \series bold
6866
6867 \backslash
6868 LTcapwidth
6869 \series default
6870 .
6871  Its default value is 4
6872 \begin_inset space \thinspace{}
6873 \end_inset
6874
6875 in.
6876  To change it add the following command to your document preamble or as
6877  TeX-Code into your document before the longtable that should be affected
6878 \end_layout
6879
6880 \begin_layout Standard
6881
6882 \series bold
6883
6884 \backslash
6885 setlength{
6886 \backslash
6887 LTcapwidth}{width}
6888 \end_layout
6889
6890 \begin_layout Standard
6891 where the width could have one of the units listed in appendix
6892 \begin_inset space ~
6893 \end_inset
6894
6895
6896 \begin_inset CommandInset ref
6897 LatexCommand ref
6898 reference "cha:Units-available-in"
6899
6900 \end_inset
6901
6902 .
6903 \end_layout
6904
6905 \begin_layout Standard
6906 The following tables show the difference:
6907 \end_layout
6908
6909 \begin_layout Standard
6910 \begin_inset Tabular
6911 <lyxtabular version="3" rows="6" columns="5">
6912 <features islongtable="true" longtabularalignment="center">
6913 <column alignment="center" valignment="top" width="0">
6914 <column alignment="center" valignment="top" width="0">
6915 <column alignment="center" valignment="top" width="0">
6916 <column alignment="center" valignment="top" width="0">
6917 <column alignment="center" valignment="top" width="0">
6918 <row caption="true">
6919 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6920 \begin_inset Text
6921
6922 \begin_layout Plain Layout
6923 \begin_inset Caption
6924
6925 \begin_layout Plain Layout
6926 long full title with default width long full title with default width long
6927  full title with default width
6928 \begin_inset Argument
6929 status collapsed
6930
6931 \begin_layout Plain Layout
6932 caption with default width
6933 \end_layout
6934
6935 \end_inset
6936
6937
6938 \end_layout
6939
6940 \end_inset
6941
6942
6943 \end_layout
6944
6945 \end_inset
6946 </cell>
6947 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6948 \begin_inset Text
6949
6950 \begin_layout Plain Layout
6951
6952 \end_layout
6953
6954 \end_inset
6955 </cell>
6956 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6957 \begin_inset Text
6958
6959 \begin_layout Plain Layout
6960
6961 \end_layout
6962
6963 \end_inset
6964 </cell>
6965 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6966 \begin_inset Text
6967
6968 \begin_layout Plain Layout
6969
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6975 \begin_inset Text
6976
6977 \begin_layout Plain Layout
6978
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 </row>
6984 <row>
6985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6986 \begin_inset Text
6987
6988 \begin_layout Plain Layout
6989 1
6990 \end_layout
6991
6992 \end_inset
6993 </cell>
6994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6995 \begin_inset Text
6996
6997 \begin_layout Plain Layout
6998 2
6999 \end_layout
7000
7001 \end_inset
7002 </cell>
7003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Plain Layout
7007 3
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Plain Layout
7016 4
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7022 \begin_inset Text
7023
7024 \begin_layout Plain Layout
7025 5
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 </row>
7031 <row>
7032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7033 \begin_inset Text
7034
7035 \begin_layout Plain Layout
7036 asd
7037 \end_layout
7038
7039 \end_inset
7040 </cell>
7041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7042 \begin_inset Text
7043
7044 \begin_layout Plain Layout
7045 s
7046 \end_layout
7047
7048 \end_inset
7049 </cell>
7050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Plain Layout
7054 s
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Plain Layout
7063 s
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Plain Layout
7072 asd
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 </row>
7078 <row>
7079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7080 \begin_inset Text
7081
7082 \begin_layout Plain Layout
7083 asd
7084 \end_layout
7085
7086 \end_inset
7087 </cell>
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7089 \begin_inset Text
7090
7091 \begin_layout Plain Layout
7092 s
7093 \end_layout
7094
7095 \end_inset
7096 </cell>
7097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7098 \begin_inset Text
7099
7100 \begin_layout Plain Layout
7101 s
7102 \end_layout
7103
7104 \end_inset
7105 </cell>
7106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7107 \begin_inset Text
7108
7109 \begin_layout Plain Layout
7110 s
7111 \end_layout
7112
7113 \end_inset
7114 </cell>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Plain Layout
7119 asd
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 </row>
7125 <row>
7126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7127 \begin_inset Text
7128
7129 \begin_layout Plain Layout
7130 asd
7131 \end_layout
7132
7133 \end_inset
7134 </cell>
7135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7136 \begin_inset Text
7137
7138 \begin_layout Plain Layout
7139 s
7140 \end_layout
7141
7142 \end_inset
7143 </cell>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Plain Layout
7148 s
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Plain Layout
7157 s
7158 \end_layout
7159
7160 \end_inset
7161 </cell>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Plain Layout
7166 asd
7167 \end_layout
7168
7169 \end_inset
7170 </cell>
7171 </row>
7172 <row>
7173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Plain Layout
7177 asd
7178 \end_layout
7179
7180 \end_inset
7181 </cell>
7182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7183 \begin_inset Text
7184
7185 \begin_layout Plain Layout
7186 sad
7187 \end_layout
7188
7189 \end_inset
7190 </cell>
7191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7192 \begin_inset Text
7193
7194 \begin_layout Plain Layout
7195 asd
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Plain Layout
7204 asd
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Plain Layout
7213 asd
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 </row>
7219 </lyxtabular>
7220
7221 \end_inset
7222
7223
7224 \end_layout
7225
7226 \begin_layout Standard
7227 \begin_inset ERT
7228 status collapsed
7229
7230 \begin_layout Plain Layout
7231
7232
7233 \backslash
7234 setlength{
7235 \backslash
7236 LTcapwidth}{5cm}
7237 \end_layout
7238
7239 \end_inset
7240
7241
7242 \begin_inset Tabular
7243 <lyxtabular version="3" rows="6" columns="5">
7244 <features islongtable="true" longtabularalignment="center">
7245 <column alignment="center" valignment="top" width="0">
7246 <column alignment="center" valignment="top" width="0">
7247 <column alignment="center" valignment="top" width="0">
7248 <column alignment="center" valignment="top" width="0">
7249 <column alignment="center" valignment="top" width="0">
7250 <row caption="true">
7251 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Plain Layout
7255 \begin_inset Caption
7256
7257 \begin_layout Plain Layout
7258 long full title with width set to 5
7259 \begin_inset space \thinspace{}
7260 \end_inset
7261
7262 cm long full title with width set to 5
7263 \begin_inset space \thinspace{}
7264 \end_inset
7265
7266 cm long full title with width set to 5
7267 \begin_inset space \thinspace{}
7268 \end_inset
7269
7270 cm
7271 \begin_inset Argument
7272 status collapsed
7273
7274 \begin_layout Plain Layout
7275 caption with width
7276 \begin_inset space \thinspace{}
7277 \end_inset
7278
7279 =
7280 \begin_inset space \thinspace{}
7281 \end_inset
7282
7283 5
7284 \begin_inset space \thinspace{}
7285 \end_inset
7286
7287 cm
7288 \end_layout
7289
7290 \end_inset
7291
7292
7293 \end_layout
7294
7295 \end_inset
7296
7297
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Plain Layout
7306
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7312 \begin_inset Text
7313
7314 \begin_layout Plain Layout
7315
7316 \end_layout
7317
7318 \end_inset
7319 </cell>
7320 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7321 \begin_inset Text
7322
7323 \begin_layout Plain Layout
7324
7325 \end_layout
7326
7327 \end_inset
7328 </cell>
7329 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7330 \begin_inset Text
7331
7332 \begin_layout Plain Layout
7333
7334 \end_layout
7335
7336 \end_inset
7337 </cell>
7338 </row>
7339 <row>
7340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7341 \begin_inset Text
7342
7343 \begin_layout Plain Layout
7344 1
7345 \end_layout
7346
7347 \end_inset
7348 </cell>
7349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7350 \begin_inset Text
7351
7352 \begin_layout Plain Layout
7353 2
7354 \end_layout
7355
7356 \end_inset
7357 </cell>
7358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7359 \begin_inset Text
7360
7361 \begin_layout Plain Layout
7362 3
7363 \end_layout
7364
7365 \end_inset
7366 </cell>
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7368 \begin_inset Text
7369
7370 \begin_layout Plain Layout
7371 4
7372 \end_layout
7373
7374 \end_inset
7375 </cell>
7376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7377 \begin_inset Text
7378
7379 \begin_layout Plain Layout
7380 5
7381 \end_layout
7382
7383 \end_inset
7384 </cell>
7385 </row>
7386 <row>
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Plain Layout
7391 asd
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7397 \begin_inset Text
7398
7399 \begin_layout Plain Layout
7400 s
7401 \end_layout
7402
7403 \end_inset
7404 </cell>
7405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7406 \begin_inset Text
7407
7408 \begin_layout Plain Layout
7409 s
7410 \end_layout
7411
7412 \end_inset
7413 </cell>
7414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7415 \begin_inset Text
7416
7417 \begin_layout Plain Layout
7418 s
7419 \end_layout
7420
7421 \end_inset
7422 </cell>
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7424 \begin_inset Text
7425
7426 \begin_layout Plain Layout
7427 asd
7428 \end_layout
7429
7430 \end_inset
7431 </cell>
7432 </row>
7433 <row>
7434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7435 \begin_inset Text
7436
7437 \begin_layout Plain Layout
7438 asd
7439 \end_layout
7440
7441 \end_inset
7442 </cell>
7443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7444 \begin_inset Text
7445
7446 \begin_layout Plain Layout
7447 s
7448 \end_layout
7449
7450 \end_inset
7451 </cell>
7452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7453 \begin_inset Text
7454
7455 \begin_layout Plain Layout
7456 s
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7462 \begin_inset Text
7463
7464 \begin_layout Plain Layout
7465 s
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7471 \begin_inset Text
7472
7473 \begin_layout Plain Layout
7474 asd
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 </row>
7480 <row>
7481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7482 \begin_inset Text
7483
7484 \begin_layout Plain Layout
7485 asd
7486 \end_layout
7487
7488 \end_inset
7489 </cell>
7490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7491 \begin_inset Text
7492
7493 \begin_layout Plain Layout
7494 s
7495 \end_layout
7496
7497 \end_inset
7498 </cell>
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Plain Layout
7503 s
7504 \end_layout
7505
7506 \end_inset
7507 </cell>
7508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7509 \begin_inset Text
7510
7511 \begin_layout Plain Layout
7512 s
7513 \end_layout
7514
7515 \end_inset
7516 </cell>
7517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7518 \begin_inset Text
7519
7520 \begin_layout Plain Layout
7521 asd
7522 \end_layout
7523
7524 \end_inset
7525 </cell>
7526 </row>
7527 <row>
7528 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7529 \begin_inset Text
7530
7531 \begin_layout Plain Layout
7532 asd
7533 \end_layout
7534
7535 \end_inset
7536 </cell>
7537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7538 \begin_inset Text
7539
7540 \begin_layout Plain Layout
7541 sad
7542 \end_layout
7543
7544 \end_inset
7545 </cell>
7546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7547 \begin_inset Text
7548
7549 \begin_layout Plain Layout
7550 asd
7551 \end_layout
7552
7553 \end_inset
7554 </cell>
7555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7556 \begin_inset Text
7557
7558 \begin_layout Plain Layout
7559 asd
7560 \end_layout
7561
7562 \end_inset
7563 </cell>
7564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7565 \begin_inset Text
7566
7567 \begin_layout Plain Layout
7568 asd
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 </row>
7574 </lyxtabular>
7575
7576 \end_inset
7577
7578
7579 \end_layout
7580
7581 \begin_layout Standard
7582 \begin_inset ERT
7583 status collapsed
7584
7585 \begin_layout Plain Layout
7586
7587
7588 \backslash
7589 setlength{
7590 \backslash
7591 LTcapwidth}{4in}
7592 \end_layout
7593
7594 \end_inset
7595
7596
7597 \end_layout
7598
7599 \begin_layout Standard
7600 \begin_inset Note Greyedout
7601 status open
7602
7603 \begin_layout Plain Layout
7604
7605 \series bold
7606 Note:
7607 \series default
7608  When the LaTeX-package 
7609 \series bold
7610 caption
7611 \series default
7612
7613 \begin_inset Index idx
7614 status collapsed
7615
7616 \begin_layout Plain Layout
7617 LaTeX-packages ! caption
7618 \end_layout
7619
7620 \end_inset
7621
7622  is used, as in this document, the full page width is used for the caption
7623  when you use the default value of 4
7624 \begin_inset space \thinspace{}
7625 \end_inset
7626
7627 in for 
7628 \series bold
7629
7630 \backslash
7631 LTcapwidth
7632 \series default
7633 .
7634  To get in this case exactly a 4
7635 \begin_inset space \thinspace{}
7636 \end_inset
7637
7638 in wide caption, you can either use a value slightly different from 4.0
7639 \begin_inset space \thinspace{}
7640 \end_inset
7641
7642 in, e.
7643 \begin_inset space \thinspace{}
7644 \end_inset
7645
7646 g.
7647 \begin_inset space \space{}
7648 \end_inset
7649
7650 3.99
7651 \begin_inset space \thinspace{}
7652 \end_inset
7653
7654 in, or the LaTeX-command 
7655 \series bold
7656
7657 \backslash
7658 captionsetup{width=value}
7659 \series default
7660  that is provided by the 
7661 \series bold
7662 caption
7663 \series default
7664 -package.
7665 \end_layout
7666
7667 \end_inset
7668
7669
7670 \end_layout
7671
7672 \begin_layout Subsubsection
7673 Different Captions for Table Pages
7674 \begin_inset Index idx
7675 status collapsed
7676
7677 \begin_layout Plain Layout
7678 Longtables ! Different Captions for Pages
7679 \end_layout
7680
7681 \end_inset
7682
7683
7684 \end_layout
7685
7686 \begin_layout Standard
7687 When the table captions for the following pages should differ from the one
7688  of the first table page, insert a caption with the TeX code command
7689 \end_layout
7690
7691 \begin_layout Standard
7692
7693 \series bold
7694
7695 \backslash
7696 caption*{caption text}
7697 \backslash
7698
7699 \backslash
7700 %
7701 \end_layout
7702
7703 \begin_layout Standard
7704 in a dummy caption row that is marked as a header.
7705  Table
7706 \begin_inset space ~
7707 \end_inset
7708
7709
7710 \begin_inset CommandInset ref
7711 LatexCommand ref
7712 reference "tab:DiffCaptions"
7713
7714 \end_inset
7715
7716  is an example of a longtable with different heading where the second caption
7717  doesn't include the table number.
7718 \end_layout
7719
7720 \begin_layout Standard
7721 \align center
7722 \begin_inset Tabular
7723 <lyxtabular version="3" rows="59" columns="3">
7724 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7725 <column alignment="left" valignment="top" width="0cm">
7726 <column alignment="left" valignment="top" width="0pt">
7727 <column alignment="center" valignment="top" width="0pt">
7728 <row caption="true">
7729 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7730 \begin_inset Text
7731
7732 \begin_layout Plain Layout
7733 \begin_inset Caption
7734
7735 \begin_layout Plain Layout
7736 Example Phone List
7737 \begin_inset CommandInset label
7738 LatexCommand label
7739 name "tab:DiffCaptions"
7740
7741 \end_inset
7742
7743
7744 \begin_inset Argument
7745 status collapsed
7746
7747 \begin_layout Plain Layout
7748 Example Phone List
7749 \end_layout
7750
7751 \end_inset
7752
7753
7754 \end_layout
7755
7756 \end_inset
7757
7758
7759 \end_layout
7760
7761 \end_inset
7762 </cell>
7763 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7764 \begin_inset Text
7765
7766 \begin_layout Plain Layout
7767
7768 \end_layout
7769
7770 \end_inset
7771 </cell>
7772 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7773 \begin_inset Text
7774
7775 \begin_layout Plain Layout
7776
7777 \end_layout
7778
7779 \end_inset
7780 </cell>
7781 </row>
7782 <row endfirsthead="true">
7783 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7784 \begin_inset Text
7785
7786 \begin_layout Plain Layout
7787
7788 \series bold
7789 Example Phone List (ignore the names)
7790 \end_layout
7791
7792 \end_inset
7793 </cell>
7794 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7795 \begin_inset Text
7796
7797 \begin_layout Plain Layout
7798
7799 \end_layout
7800
7801 \end_inset
7802 </cell>
7803 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7804 \begin_inset Text
7805
7806 \begin_layout Plain Layout
7807
7808 \end_layout
7809
7810 \end_inset
7811 </cell>
7812 </row>
7813 <row endfirsthead="true">
7814 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7815 \begin_inset Text
7816
7817 \begin_layout Plain Layout
7818
7819 \series bold
7820 NAME
7821 \end_layout
7822
7823 \end_inset
7824 </cell>
7825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7826 \begin_inset Text
7827
7828 \begin_layout Plain Layout
7829
7830 \end_layout
7831
7832 \end_inset
7833 </cell>
7834 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7835 \begin_inset Text
7836
7837 \begin_layout Plain Layout
7838
7839 \series bold
7840 TEL.
7841 \end_layout
7842
7843 \end_inset
7844 </cell>
7845 </row>
7846 <row endhead="true">
7847 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7848 \begin_inset Text
7849
7850 \begin_layout Plain Layout
7851 \begin_inset ERT
7852 status open
7853
7854 \begin_layout Plain Layout
7855
7856
7857 \backslash
7858 caption*{Continued Example Phone List}
7859 \backslash
7860
7861 \backslash
7862 %
7863 \end_layout
7864
7865 \end_inset
7866
7867
7868 \end_layout
7869
7870 \end_inset
7871 </cell>
7872 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Plain Layout
7876
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Plain Layout
7885
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 </row>
7891 <row endhead="true">
7892 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Plain Layout
7896
7897 \series bold
7898 Example Phone List
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Plain Layout
7907
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Plain Layout
7916
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 </row>
7922 <row endhead="true">
7923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Plain Layout
7927
7928 \series bold
7929 NAME
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Plain Layout
7938
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Plain Layout
7947
7948 \series bold
7949 TEL.
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 </row>
7955 <row endfoot="true">
7956 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7957 \begin_inset Text
7958
7959 \begin_layout Plain Layout
7960 continued on next page
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Plain Layout
7969
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Plain Layout
7978
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 </row>
7984 <row>
7985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Plain Layout
7989
7990 \series bold
7991 Annovi
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Plain Layout
8000 Silvia
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Plain Layout
8009 111
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 </row>
8015 <row>
8016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Plain Layout
8020
8021 \series bold
8022 Bertoli
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Plain Layout
8031 Stefano
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Plain Layout
8040 111
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 </row>
8046 <row>
8047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Plain Layout
8051
8052 \series bold
8053 Bozzi
8054 \end_layout
8055
8056 \end_inset
8057 </cell>
8058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Plain Layout
8062 Walter
8063 \end_layout
8064
8065 \end_inset
8066 </cell>
8067 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Plain Layout
8071 111
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 </row>
8077 <row>
8078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Plain Layout
8082
8083 \series bold
8084 Cachia
8085 \end_layout
8086
8087 \end_inset
8088 </cell>
8089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Plain Layout
8093 Maria
8094 \end_layout
8095
8096 \end_inset
8097 </cell>
8098 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Plain Layout
8102 111
8103 \end_layout
8104
8105 \end_inset
8106 </cell>
8107 </row>
8108 <row>
8109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Plain Layout
8113
8114 \series bold
8115 Cachia
8116 \end_layout
8117
8118 \end_inset
8119 </cell>
8120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Plain Layout
8124 Maurizio
8125 \end_layout
8126
8127 \end_inset
8128 </cell>
8129 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Plain Layout
8133 111
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 </row>
8139 <row>
8140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Plain Layout
8144
8145 \series bold
8146 Cinquemani
8147 \end_layout
8148
8149 \end_inset
8150 </cell>
8151 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Plain Layout
8155 Giusi
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Plain Layout
8164 111
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 </row>
8170 <row>
8171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Plain Layout
8175
8176 \series bold
8177 Colin
8178 \end_layout
8179
8180 \end_inset
8181 </cell>
8182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Plain Layout
8186 Bernard
8187 \end_layout
8188
8189 \end_inset
8190 </cell>
8191 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8192 \begin_inset Text
8193
8194 \begin_layout Plain Layout
8195 111
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 </row>
8201 <row>
8202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8203 \begin_inset Text
8204
8205 \begin_layout Plain Layout
8206
8207 \series bold
8208 Concli
8209 \end_layout
8210
8211 \end_inset
8212 </cell>
8213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Plain Layout
8217 Gianfranco
8218 \end_layout
8219
8220 \end_inset
8221 </cell>
8222 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8223 \begin_inset Text
8224
8225 \begin_layout Plain Layout
8226 111
8227 \end_layout
8228
8229 \end_inset
8230 </cell>
8231 </row>
8232 <row>
8233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8234 \begin_inset Text
8235
8236 \begin_layout Plain Layout
8237
8238 \series bold
8239 Dal Bosco
8240 \end_layout
8241
8242 \end_inset
8243 </cell>
8244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Plain Layout
8248 Carolina
8249 \end_layout
8250
8251 \end_inset
8252 </cell>
8253 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8254 \begin_inset Text
8255
8256 \begin_layout Plain Layout
8257 111
8258 \end_layout
8259
8260 \end_inset
8261 </cell>
8262 </row>
8263 <row>
8264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8265 \begin_inset Text
8266
8267 \begin_layout Plain Layout
8268
8269 \series bold
8270 Dalpiaz
8271 \end_layout
8272
8273 \end_inset
8274 </cell>
8275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Plain Layout
8279 Annamaria
8280 \end_layout
8281
8282 \end_inset
8283 </cell>
8284 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8285 \begin_inset Text
8286
8287 \begin_layout Plain Layout
8288 111
8289 \end_layout
8290
8291 \end_inset
8292 </cell>
8293 </row>
8294 <row>
8295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8296 \begin_inset Text
8297
8298 \begin_layout Plain Layout
8299
8300 \series bold
8301 Feliciello
8302 \end_layout
8303
8304 \end_inset
8305 </cell>
8306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Plain Layout
8310 Domenico
8311 \end_layout
8312
8313 \end_inset
8314 </cell>
8315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8316 \begin_inset Text
8317
8318 \begin_layout Plain Layout
8319 111
8320 \end_layout
8321
8322 \end_inset
8323 </cell>
8324 </row>
8325 <row>
8326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8327 \begin_inset Text
8328
8329 \begin_layout Plain Layout
8330
8331 \series bold
8332 Focarelli
8333 \end_layout
8334
8335 \end_inset
8336 </cell>
8337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Plain Layout
8341 Paola
8342 \end_layout
8343
8344 \end_inset
8345 </cell>
8346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8347 \begin_inset Text
8348
8349 \begin_layout Plain Layout
8350 111
8351 \end_layout
8352
8353 \end_inset
8354 </cell>
8355 </row>
8356 <row>
8357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8358 \begin_inset Text
8359
8360 \begin_layout Plain Layout
8361
8362 \series bold
8363 Galletti
8364 \end_layout
8365
8366 \end_inset
8367 </cell>
8368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Plain Layout
8372 Oreste
8373 \end_layout
8374
8375 \end_inset
8376 </cell>
8377 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8378 \begin_inset Text
8379
8380 \begin_layout Plain Layout
8381 111
8382 \end_layout
8383
8384 \end_inset
8385 </cell>
8386 </row>
8387 <row>
8388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8389 \begin_inset Text
8390
8391 \begin_layout Plain Layout
8392
8393 \series bold
8394 Gasparini
8395 \end_layout
8396
8397 \end_inset
8398 </cell>
8399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Plain Layout
8403 Franca
8404 \end_layout
8405
8406 \end_inset
8407 </cell>
8408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8409 \begin_inset Text
8410
8411 \begin_layout Plain Layout
8412 111
8413 \end_layout
8414
8415 \end_inset
8416 </cell>
8417 </row>
8418 <row>
8419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8420 \begin_inset Text
8421
8422 \begin_layout Plain Layout
8423
8424 \series bold
8425 Rizzardi
8426 \series default
8427
8428 \begin_inset Foot
8429 status open
8430
8431 \begin_layout Plain Layout
8432 Example footnote
8433 \end_layout
8434
8435 \end_inset
8436
8437
8438 \end_layout
8439
8440 \end_inset
8441 </cell>
8442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8443 \begin_inset Text
8444
8445 \begin_layout Plain Layout
8446 Paola
8447 \end_layout
8448
8449 \end_inset
8450 </cell>
8451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8452 \begin_inset Text
8453
8454 \begin_layout Plain Layout
8455 111
8456 \end_layout
8457
8458 \end_inset
8459 </cell>
8460 </row>
8461 <row>
8462 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8463 \begin_inset Text
8464
8465 \begin_layout Plain Layout
8466
8467 \series bold
8468 Lassini
8469 \end_layout
8470
8471 \end_inset
8472 </cell>
8473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8474 \begin_inset Text
8475
8476 \begin_layout Plain Layout
8477 Giancarlo
8478 \end_layout
8479
8480 \end_inset
8481 </cell>
8482 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8483 \begin_inset Text
8484
8485 \begin_layout Plain Layout
8486 111
8487 \end_layout
8488
8489 \end_inset
8490 </cell>
8491 </row>
8492 <row>
8493 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8494 \begin_inset Text
8495
8496 \begin_layout Plain Layout
8497
8498 \series bold
8499 Malfatti
8500 \end_layout
8501
8502 \end_inset
8503 </cell>
8504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Plain Layout
8508 Luciano
8509 \end_layout
8510
8511 \end_inset
8512 </cell>
8513 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8514 \begin_inset Text
8515
8516 \begin_layout Plain Layout
8517 111
8518 \end_layout
8519
8520 \end_inset
8521 </cell>
8522 </row>
8523 <row>
8524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8525 \begin_inset Text
8526
8527 \begin_layout Plain Layout
8528
8529 \series bold
8530 Malfatti
8531 \end_layout
8532
8533 \end_inset
8534 </cell>
8535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Plain Layout
8539 Valeriano
8540 \end_layout
8541
8542 \end_inset
8543 </cell>
8544 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8545 \begin_inset Text
8546
8547 \begin_layout Plain Layout
8548 111
8549 \end_layout
8550
8551 \end_inset
8552 </cell>
8553 </row>
8554 <row>
8555 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Plain Layout
8559
8560 \series bold
8561 Meneguzzo
8562 \end_layout
8563
8564 \end_inset
8565 </cell>
8566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Plain Layout
8570 Roberto
8571 \end_layout
8572
8573 \end_inset
8574 </cell>
8575 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8576 \begin_inset Text
8577
8578 \begin_layout Plain Layout
8579 111
8580 \end_layout
8581
8582 \end_inset
8583 </cell>
8584 </row>
8585 <row>
8586 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Plain Layout
8590
8591 \series bold
8592 Mezzadra
8593 \end_layout
8594
8595 \end_inset
8596 </cell>
8597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Plain Layout
8601 Roberto
8602 \end_layout
8603
8604 \end_inset
8605 </cell>
8606 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8607 \begin_inset Text
8608
8609 \begin_layout Plain Layout
8610 111
8611 \end_layout
8612
8613 \end_inset
8614 </cell>
8615 </row>
8616 <row>
8617 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Plain Layout
8621
8622 \series bold
8623 Pirpamer
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Plain Layout
8632 Erich
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8638 \begin_inset Text
8639
8640 \begin_layout Plain Layout
8641 111
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 </row>
8647 <row>
8648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Plain Layout
8652
8653 \series bold
8654 Pochiesa
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Plain Layout
8663 Paolo
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8669 \begin_inset Text
8670
8671 \begin_layout Plain Layout
8672 111, 222
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 </row>
8678 <row>
8679 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8680 \begin_inset Text
8681
8682 \begin_layout Plain Layout
8683
8684 \series bold
8685 Radina
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Plain Layout
8694 Claudio
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8700 \begin_inset Text
8701
8702 \begin_layout Plain Layout
8703 111
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 </row>
8709 <row>
8710 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Plain Layout
8714
8715 \series bold
8716 Stuffer
8717 \end_layout
8718
8719 \end_inset
8720 </cell>
8721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8722 \begin_inset Text
8723
8724 \begin_layout Plain Layout
8725 Oskar
8726 \end_layout
8727
8728 \end_inset
8729 </cell>
8730 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8731 \begin_inset Text
8732
8733 \begin_layout Plain Layout
8734 111
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 </row>
8740 <row>
8741 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Plain Layout
8745
8746 \series bold
8747 Tacchelli
8748 \end_layout
8749
8750 \end_inset
8751 </cell>
8752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Plain Layout
8756 Ugo
8757 \end_layout
8758
8759 \end_inset
8760 </cell>
8761 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8762 \begin_inset Text
8763
8764 \begin_layout Plain Layout
8765 111
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 </row>
8771 <row>
8772 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Plain Layout
8776
8777 \series bold
8778 Tezzele
8779 \end_layout
8780
8781 \end_inset
8782 </cell>
8783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8784 \begin_inset Text
8785
8786 \begin_layout Plain Layout
8787 Margit
8788 \end_layout
8789
8790 \end_inset
8791 </cell>
8792 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8793 \begin_inset Text
8794
8795 \begin_layout Plain Layout
8796 111
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 </row>
8802 <row>
8803 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Plain Layout
8807
8808 \series bold
8809 Unterkalmsteiner
8810 \end_layout
8811
8812 \end_inset
8813 </cell>
8814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8815 \begin_inset Text
8816
8817 \begin_layout Plain Layout
8818 Frieda
8819 \end_layout
8820
8821 \end_inset
8822 </cell>
8823 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8824 \begin_inset Text
8825
8826 \begin_layout Plain Layout
8827 111
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 </row>
8833 <row>
8834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Plain Layout
8838
8839 \series bold
8840 Vieider
8841 \end_layout
8842
8843 \end_inset
8844 </cell>
8845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8846 \begin_inset Text
8847
8848 \begin_layout Plain Layout
8849 Hilde
8850 \end_layout
8851
8852 \end_inset
8853 </cell>
8854 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8855 \begin_inset Text
8856
8857 \begin_layout Plain Layout
8858 111
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 </row>
8864 <row>
8865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Plain Layout
8869
8870 \series bold
8871 Vigna
8872 \end_layout
8873
8874 \end_inset
8875 </cell>
8876 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8877 \begin_inset Text
8878
8879 \begin_layout Plain Layout
8880 Jürgen
8881 \end_layout
8882
8883 \end_inset
8884 </cell>
8885 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8886 \begin_inset Text
8887
8888 \begin_layout Plain Layout
8889 111
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 </row>
8895 <row>
8896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Plain Layout
8900
8901 \series bold
8902 Weber
8903 \end_layout
8904
8905 \end_inset
8906 </cell>
8907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8908 \begin_inset Text
8909
8910 \begin_layout Plain Layout
8911 Maurizio
8912 \end_layout
8913
8914 \end_inset
8915 </cell>
8916 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8917 \begin_inset Text
8918
8919 \begin_layout Plain Layout
8920 111
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 </row>
8926 <row>
8927 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Plain Layout
8931
8932 \series bold
8933 Winkler
8934 \end_layout
8935
8936 \end_inset
8937 </cell>
8938 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8939 \begin_inset Text
8940
8941 \begin_layout Plain Layout
8942 Franz
8943 \end_layout
8944
8945 \end_inset
8946 </cell>
8947 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8948 \begin_inset Text
8949
8950 \begin_layout Plain Layout
8951 111
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 </row>
8957 <row>
8958 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Plain Layout
8962  
8963 \end_layout
8964
8965 \end_inset
8966 </cell>
8967 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8968 \begin_inset Text
8969
8970 \begin_layout Plain Layout
8971
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Plain Layout
8980
8981 \end_layout
8982
8983 \end_inset
8984 </cell>
8985 </row>
8986 <row>
8987 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Plain Layout
8991
8992 \series bold
8993 Annovi
8994 \end_layout
8995
8996 \end_inset
8997 </cell>
8998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Plain Layout
9002 Silvia
9003 \end_layout
9004
9005 \end_inset
9006 </cell>
9007 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9008 \begin_inset Text
9009
9010 \begin_layout Plain Layout
9011 555
9012 \end_layout
9013
9014 \end_inset
9015 </cell>
9016 </row>
9017 <row>
9018 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Plain Layout
9022
9023 \series bold
9024 Bertoli
9025 \end_layout
9026
9027 \end_inset
9028 </cell>
9029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Plain Layout
9033 Stefano
9034 \end_layout
9035
9036 \end_inset
9037 </cell>
9038 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9039 \begin_inset Text
9040
9041 \begin_layout Plain Layout
9042 555
9043 \end_layout
9044
9045 \end_inset
9046 </cell>
9047 </row>
9048 <row>
9049 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Plain Layout
9053
9054 \series bold
9055 Bozzi
9056 \end_layout
9057
9058 \end_inset
9059 </cell>
9060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Plain Layout
9064 Walter
9065 \end_layout
9066
9067 \end_inset
9068 </cell>
9069 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Plain Layout
9073 555
9074 \end_layout
9075
9076 \end_inset
9077 </cell>
9078 </row>
9079 <row>
9080 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Plain Layout
9084
9085 \series bold
9086 Cachia
9087 \end_layout
9088
9089 \end_inset
9090 </cell>
9091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Plain Layout
9095 Maria
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Plain Layout
9104 555
9105 \end_layout
9106
9107 \end_inset
9108 </cell>
9109 </row>
9110 <row>
9111 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Plain Layout
9115
9116 \series bold
9117 Cachia
9118 \end_layout
9119
9120 \end_inset
9121 </cell>
9122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Plain Layout
9126 Maurizio
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Plain Layout
9135 555
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 </row>
9141 <row>
9142 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Plain Layout
9146
9147 \series bold
9148 Cinquemani
9149 \end_layout
9150
9151 \end_inset
9152 </cell>
9153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Plain Layout
9157 Giusi
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Plain Layout
9166 555
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 </row>
9172 <row>
9173 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Plain Layout
9177
9178 \series bold
9179 Colin
9180 \end_layout
9181
9182 \end_inset
9183 </cell>
9184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Plain Layout
9188 Bernard
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Plain Layout
9197 555
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 </row>
9203 <row>
9204 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Plain Layout
9208
9209 \series bold
9210 Concli
9211 \end_layout
9212
9213 \end_inset
9214 </cell>
9215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Plain Layout
9219 Gianfranco
9220 \end_layout
9221
9222 \end_inset
9223 </cell>
9224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9225 \begin_inset Text
9226
9227 \begin_layout Plain Layout
9228 555
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 </row>
9234 <row>
9235 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Plain Layout
9239
9240 \series bold
9241 Dal Bosco
9242 \end_layout
9243
9244 \end_inset
9245 </cell>
9246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Plain Layout
9250 Carolina
9251 \end_layout
9252
9253 \end_inset
9254 </cell>
9255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9256 \begin_inset Text
9257
9258 \begin_layout Plain Layout
9259 555
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 </row>
9265 <row>
9266 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Plain Layout
9270
9271 \series bold
9272 Dalpiaz
9273 \end_layout
9274
9275 \end_inset
9276 </cell>
9277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Plain Layout
9281 Annamaria
9282 \end_layout
9283
9284 \end_inset
9285 </cell>
9286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9287 \begin_inset Text
9288
9289 \begin_layout Plain Layout
9290 555
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 </row>
9296 <row>
9297 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9298 \begin_inset Text
9299
9300 \begin_layout Plain Layout
9301
9302 \series bold
9303 Feliciello
9304 \end_layout
9305
9306 \end_inset
9307 </cell>
9308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9309 \begin_inset Text
9310
9311 \begin_layout Plain Layout
9312 Domenico
9313 \end_layout
9314
9315 \end_inset
9316 </cell>
9317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9318 \begin_inset Text
9319
9320 \begin_layout Plain Layout
9321 555
9322 \end_layout
9323
9324 \end_inset
9325 </cell>
9326 </row>
9327 <row>
9328 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9329 \begin_inset Text
9330
9331 \begin_layout Plain Layout
9332
9333 \series bold
9334 Focarelli
9335 \end_layout
9336
9337 \end_inset
9338 </cell>
9339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9340 \begin_inset Text
9341
9342 \begin_layout Plain Layout
9343 Paola
9344 \end_layout
9345
9346 \end_inset
9347 </cell>
9348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9349 \begin_inset Text
9350
9351 \begin_layout Plain Layout
9352 555
9353 \end_layout
9354
9355 \end_inset
9356 </cell>
9357 </row>
9358 <row>
9359 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9360 \begin_inset Text
9361
9362 \begin_layout Plain Layout
9363
9364 \series bold
9365 Galletti
9366 \end_layout
9367
9368 \end_inset
9369 </cell>
9370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9371 \begin_inset Text
9372
9373 \begin_layout Plain Layout
9374 Oreste
9375 \end_layout
9376
9377 \end_inset
9378 </cell>
9379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9380 \begin_inset Text
9381
9382 \begin_layout Plain Layout
9383 555
9384 \end_layout
9385
9386 \end_inset
9387 </cell>
9388 </row>
9389 <row>
9390 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9391 \begin_inset Text
9392
9393 \begin_layout Plain Layout
9394
9395 \series bold
9396 Gasparini
9397 \end_layout
9398
9399 \end_inset
9400 </cell>
9401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9402 \begin_inset Text
9403
9404 \begin_layout Plain Layout
9405 Franca
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9411 \begin_inset Text
9412
9413 \begin_layout Plain Layout
9414 555
9415 \end_layout
9416
9417 \end_inset
9418 </cell>
9419 </row>
9420 <row>
9421 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9422 \begin_inset Text
9423
9424 \begin_layout Plain Layout
9425
9426 \series bold
9427 Rizzardi
9428 \end_layout
9429
9430 \end_inset
9431 </cell>
9432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9433 \begin_inset Text
9434
9435 \begin_layout Plain Layout
9436 Paola
9437 \end_layout
9438
9439 \end_inset
9440 </cell>
9441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9442 \begin_inset Text
9443
9444 \begin_layout Plain Layout
9445 555
9446 \end_layout
9447
9448 \end_inset
9449 </cell>
9450 </row>
9451 <row>
9452 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9453 \begin_inset Text
9454
9455 \begin_layout Plain Layout
9456
9457 \series bold
9458 Lassini
9459 \end_layout
9460
9461 \end_inset
9462 </cell>
9463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9464 \begin_inset Text
9465
9466 \begin_layout Plain Layout
9467 Giancarlo
9468 \end_layout
9469
9470 \end_inset
9471 </cell>
9472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9473 \begin_inset Text
9474
9475 \begin_layout Plain Layout
9476 555
9477 \end_layout
9478
9479 \end_inset
9480 </cell>
9481 </row>
9482 <row>
9483 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9484 \begin_inset Text
9485
9486 \begin_layout Plain Layout
9487
9488 \series bold
9489 Malfatti
9490 \end_layout
9491
9492 \end_inset
9493 </cell>
9494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9495 \begin_inset Text
9496
9497 \begin_layout Plain Layout
9498 Luciano
9499 \end_layout
9500
9501 \end_inset
9502 </cell>
9503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9504 \begin_inset Text
9505
9506 \begin_layout Plain Layout
9507 555
9508 \end_layout
9509
9510 \end_inset
9511 </cell>
9512 </row>
9513 <row>
9514 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9515 \begin_inset Text
9516
9517 \begin_layout Plain Layout
9518
9519 \series bold
9520 Malfatti
9521 \end_layout
9522
9523 \end_inset
9524 </cell>
9525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9526 \begin_inset Text
9527
9528 \begin_layout Plain Layout
9529 Valeriano
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9535 \begin_inset Text
9536
9537 \begin_layout Plain Layout
9538 555
9539 \end_layout
9540
9541 \end_inset
9542 </cell>
9543 </row>
9544 <row>
9545 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9546 \begin_inset Text
9547
9548 \begin_layout Plain Layout
9549
9550 \series bold
9551 Meneguzzo
9552 \end_layout
9553
9554 \end_inset
9555 </cell>
9556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9557 \begin_inset Text
9558
9559 \begin_layout Plain Layout
9560 Roberto
9561 \end_layout
9562
9563 \end_inset
9564 </cell>
9565 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9566 \begin_inset Text
9567
9568 \begin_layout Plain Layout
9569 555
9570 \end_layout
9571
9572 \end_inset
9573 </cell>
9574 </row>
9575 <row>
9576 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Plain Layout
9580
9581 \series bold
9582 Mezzadra
9583 \end_layout
9584
9585 \end_inset
9586 </cell>
9587 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9588 \begin_inset Text
9589
9590 \begin_layout Plain Layout
9591 Roberto
9592 \end_layout
9593
9594 \end_inset
9595 </cell>
9596 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9597 \begin_inset Text
9598
9599 \begin_layout Plain Layout
9600 555
9601 \end_layout
9602
9603 \end_inset
9604 </cell>
9605 </row>
9606 </lyxtabular>
9607
9608 \end_inset
9609
9610
9611 \end_layout
9612
9613 \begin_layout Section
9614 Special Longtable Issues
9615 \begin_inset CommandInset label
9616 LatexCommand label
9617 name "sec:Special-Longtable-Issues"
9618
9619 \end_inset
9620
9621
9622 \end_layout
9623
9624 \begin_layout Subsection
9625 Longtable Calculation
9626 \begin_inset Index idx
9627 status collapsed
9628
9629 \begin_layout Plain Layout
9630 Longtables ! Calculation
9631 \end_layout
9632
9633 \end_inset
9634
9635
9636 \end_layout
9637
9638 \begin_layout Standard
9639 LaTeX calculates the height of table pages and their page breaks using so
9640  called chunks.
9641  Chunks are parts of tables that held at the same time in LaTeX's memory.
9642  The default value was historically set to only 20 table rows.
9643  If you are using longtables with many pages this may slow down the creation
9644  of your document.
9645  You can safely increase the chunk size to values of 100-1000 by adding
9646  this command line to your document preamble:
9647 \end_layout
9648
9649 \begin_layout Standard
9650
9651 \series bold
9652
9653 \backslash
9654 setcounter{LTchunksize}{100}
9655 \end_layout
9656
9657 \begin_layout Subsection
9658 Floats and Longtables
9659 \begin_inset Index idx
9660 status collapsed
9661
9662 \begin_layout Plain Layout
9663 Longtables ! Floats
9664 \end_layout
9665
9666 \end_inset
9667
9668
9669 \end_layout
9670
9671 \begin_layout Standard
9672 There might be problems when a float appears on the same page where a longtable
9673  starts.
9674  To avoid such a situation, insert a 
9675 \begin_inset Quotes eld
9676 \end_inset
9677
9678 clear page
9679 \begin_inset Quotes erd
9680 \end_inset
9681
9682  (menu 
9683 \family sans
9684 Insert\SpecialChar \menuseparator
9685 Formatting\SpecialChar \menuseparator
9686 Clear
9687 \begin_inset space ~
9688 \end_inset
9689
9690 Page
9691 \family default
9692 ) before your longtable.
9693 \end_layout
9694
9695 \begin_layout Subsection
9696 Forced Page Breaks
9697 \begin_inset Index idx
9698 status collapsed
9699
9700 \begin_layout Plain Layout
9701 Longtables ! Forced Page Breaks
9702 \end_layout
9703
9704 \end_inset
9705
9706
9707 \end_layout
9708
9709 \begin_layout Standard
9710 By default tables are only broken between rows.
9711  If you have a cell with multiples lines and want to have a page break within
9712  the cell, insert the new line command 
9713 \begin_inset Quotes eld
9714 \end_inset
9715
9716
9717 \series bold
9718
9719 \backslash
9720
9721 \backslash
9722
9723 \series default
9724
9725 \begin_inset Quotes erd
9726 \end_inset
9727
9728  as TeX-Code at the point of the cell where it can be broken.
9729  Before the 
9730 \series bold
9731
9732 \backslash
9733
9734 \backslash
9735
9736 \series default
9737  command you have to insert in TeX-Code as many 
9738 \begin_inset Quotes eld
9739 \end_inset
9740
9741
9742 \series bold
9743 &
9744 \series default
9745
9746 \begin_inset Quotes erd
9747 \end_inset
9748
9749  characters as the number of the following table columns.
9750  The 
9751 \series bold
9752 &
9753 \series default
9754  is the character to separate table cells.
9755  Write in TeX-Code after each 
9756 \series bold
9757 &
9758 \series default
9759  the content of the corresponding following cell and delete the content
9760  of these cells.
9761 \begin_inset Newline newline
9762 \end_inset
9763
9764 After the 
9765 \series bold
9766
9767 \backslash
9768
9769 \backslash
9770
9771 \series default
9772  command, insert as many 
9773 \series bold
9774 &
9775 \series default
9776  characters as the number of table columns before the current column.
9777  In Table
9778 \begin_inset space ~
9779 \end_inset
9780
9781
9782 \begin_inset CommandInset ref
9783 LatexCommand ref
9784 reference "tab:ForcedPagebreak"
9785
9786 \end_inset
9787
9788  the cell that should be broken is in the second column followed by another
9789  column.
9790  Therefore the following command was inserted in the cell as TeX-Code after
9791  
9792 \begin_inset Quotes eld
9793 \end_inset
9794
9795
9796 \emph on
9797 Castelchiodato,
9798 \emph default
9799
9800 \begin_inset Quotes erd
9801 \end_inset
9802
9803 :
9804 \end_layout
9805
9806 \begin_layout Standard
9807
9808 \series bold
9809 & 111
9810 \backslash
9811
9812 \backslash
9813  
9814 \backslash
9815 newpage
9816 \begin_inset Newline newline
9817 \end_inset
9818
9819 &
9820 \end_layout
9821
9822 \begin_layout Standard
9823 The 
9824 \begin_inset Quotes eld
9825 \end_inset
9826
9827 111
9828 \begin_inset Quotes erd
9829 \end_inset
9830
9831  in the third column of the row was deleted.
9832  
9833 \series bold
9834
9835 \backslash
9836 newpage
9837 \series default
9838  is only needed when a page break should definitely occur at this position,
9839  otherwise it would be a conditional break.
9840  If your footer row of the longtable has for a certain reason no upper line
9841  but you would have a horizontal line where the cell is broken, use this
9842  command instead:
9843 \end_layout
9844
9845 \begin_layout Standard
9846
9847 \series bold
9848 & 111
9849 \backslash
9850
9851 \backslash
9852
9853 \begin_inset Newline newline
9854 \end_inset
9855
9856
9857 \backslash
9858 hline &
9859 \end_layout
9860
9861 \begin_layout Standard
9862 When the cell to be broken is in the last column, the command
9863 \end_layout
9864
9865 \begin_layout Standard
9866
9867 \series bold
9868
9869 \backslash
9870 setlength{
9871 \backslash
9872 parfillskip}{0pt}
9873 \end_layout
9874
9875 \begin_layout Standard
9876 must be inserted as TeX-Code at the beginning of the cell.
9877  This ensures that the part of the cell that will be displayed on the new
9878  page appears with the full width.
9879 \end_layout
9880
9881 \begin_layout Standard
9882 \align center
9883 \begin_inset Tabular
9884 <lyxtabular version="3" rows="38" columns="3">
9885 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9886 <column alignment="left" valignment="top" width="0cm">
9887 <column alignment="left" valignment="top" width="3cm">
9888 <column alignment="center" valignment="top" width="0pt">
9889 <row caption="true">
9890 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9891 \begin_inset Text
9892
9893 \begin_layout Plain Layout
9894 \begin_inset Caption
9895
9896 \begin_layout Plain Layout
9897 Table with forced page break in table cell
9898 \begin_inset CommandInset label
9899 LatexCommand label
9900 name "tab:ForcedPagebreak"
9901
9902 \end_inset
9903
9904
9905 \begin_inset Argument
9906 status collapsed
9907
9908 \begin_layout Plain Layout
9909 Table with forced page break in table cell
9910 \end_layout
9911
9912 \end_inset
9913
9914
9915 \end_layout
9916
9917 \end_inset
9918
9919
9920 \end_layout
9921
9922 \end_inset
9923 </cell>
9924 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9925 \begin_inset Text
9926
9927 \begin_layout Plain Layout
9928
9929 \end_layout
9930
9931 \end_inset
9932 </cell>
9933 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9934 \begin_inset Text
9935
9936 \begin_layout Plain Layout
9937
9938 \end_layout
9939
9940 \end_inset
9941 </cell>
9942 </row>
9943 <row endfirsthead="true">
9944 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9945 \begin_inset Text
9946
9947 \begin_layout Plain Layout
9948
9949 \series bold
9950 Example Phone List (ignore the names)
9951 \end_layout
9952
9953 \end_inset
9954 </cell>
9955 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9956 \begin_inset Text
9957
9958 \begin_layout Plain Layout
9959
9960 \end_layout
9961
9962 \end_inset
9963 </cell>
9964 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9965 \begin_inset Text
9966
9967 \begin_layout Plain Layout
9968
9969 \end_layout
9970
9971 \end_inset
9972 </cell>
9973 </row>
9974 <row endfirsthead="true">
9975 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9976 \begin_inset Text
9977
9978 \begin_layout Plain Layout
9979
9980 \series bold
9981 NAME
9982 \end_layout
9983
9984 \end_inset
9985 </cell>
9986 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9987 \begin_inset Text
9988
9989 \begin_layout Plain Layout
9990
9991 \end_layout
9992
9993 \end_inset
9994 </cell>
9995 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9996 \begin_inset Text
9997
9998 \begin_layout Plain Layout
9999
10000 \series bold
10001 TEL.
10002 \end_layout
10003
10004 \end_inset
10005 </cell>
10006 </row>
10007 <row endhead="true">
10008 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Plain Layout
10012 \begin_inset ERT
10013 status collapsed
10014
10015 \begin_layout Plain Layout
10016
10017
10018 \backslash
10019 caption*{Continued Example Phone List}
10020 \backslash
10021
10022 \backslash
10023 %
10024 \end_layout
10025
10026 \end_inset
10027
10028
10029 \end_layout
10030
10031 \end_inset
10032 </cell>
10033 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10034 \begin_inset Text
10035
10036 \begin_layout Plain Layout
10037
10038 \end_layout
10039
10040 \end_inset
10041 </cell>
10042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10043 \begin_inset Text
10044
10045 \begin_layout Plain Layout
10046
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 </row>
10052 <row endhead="true">
10053 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Plain Layout
10057
10058 \series bold
10059 Example Phone List
10060 \end_layout
10061
10062 \end_inset
10063 </cell>
10064 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10065 \begin_inset Text
10066
10067 \begin_layout Plain Layout
10068
10069 \end_layout
10070
10071 \end_inset
10072 </cell>
10073 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10074 \begin_inset Text
10075
10076 \begin_layout Plain Layout
10077
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 </row>
10083 <row endhead="true">
10084 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10085 \begin_inset Text
10086
10087 \begin_layout Plain Layout
10088
10089 \series bold
10090 NAME
10091 \end_layout
10092
10093 \end_inset
10094 </cell>
10095 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Plain Layout
10099
10100 \end_layout
10101
10102 \end_inset
10103 </cell>
10104 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10105 \begin_inset Text
10106
10107 \begin_layout Plain Layout
10108
10109 \series bold
10110 TEL.
10111 \end_layout
10112
10113 \end_inset
10114 </cell>
10115 </row>
10116 <row endfoot="true">
10117 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10118 \begin_inset Text
10119
10120 \begin_layout Plain Layout
10121 continued on next page
10122 \end_layout
10123
10124 \end_inset
10125 </cell>
10126 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10127 \begin_inset Text
10128
10129 \begin_layout Plain Layout
10130
10131 \end_layout
10132
10133 \end_inset
10134 </cell>
10135 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Plain Layout
10139
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 </row>
10145 <row>
10146 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10147 \begin_inset Text
10148
10149 \begin_layout Plain Layout
10150
10151 \series bold
10152 Annovi
10153 \end_layout
10154
10155 \end_inset
10156 </cell>
10157 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Plain Layout
10161 Silvia
10162 \end_layout
10163
10164 \end_inset
10165 </cell>
10166 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10167 \begin_inset Text
10168
10169 \begin_layout Plain Layout
10170 111
10171 \end_layout
10172
10173 \end_inset
10174 </cell>
10175 </row>
10176 <row>
10177 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Plain Layout
10181
10182 \series bold
10183 Bertoli
10184 \end_layout
10185
10186 \end_inset
10187 </cell>
10188 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10189 \begin_inset Text
10190
10191 \begin_layout Plain Layout
10192 Stefano
10193 \end_layout
10194
10195 \end_inset
10196 </cell>
10197 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10198 \begin_inset Text
10199
10200 \begin_layout Plain Layout
10201 111
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 </row>
10207 <row>
10208 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10209 \begin_inset Text
10210
10211 \begin_layout Plain Layout
10212
10213 \series bold
10214 Bozzi
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10220 \begin_inset Text
10221
10222 \begin_layout Plain Layout
10223 Walter
10224 \end_layout
10225
10226 \end_inset
10227 </cell>
10228 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10229 \begin_inset Text
10230
10231 \begin_layout Plain Layout
10232 111
10233 \end_layout
10234
10235 \end_inset
10236 </cell>
10237 </row>
10238 <row>
10239 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Plain Layout
10243
10244 \series bold
10245 Cachia
10246 \end_layout
10247
10248 \end_inset
10249 </cell>
10250 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10251 \begin_inset Text
10252
10253 \begin_layout Plain Layout
10254 Maria
10255 \end_layout
10256
10257 \end_inset
10258 </cell>
10259 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10260 \begin_inset Text
10261
10262 \begin_layout Plain Layout
10263 111
10264 \end_layout
10265
10266 \end_inset
10267 </cell>
10268 </row>
10269 <row>
10270 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10271 \begin_inset Text
10272
10273 \begin_layout Plain Layout
10274
10275 \series bold
10276 Cachia
10277 \end_layout
10278
10279 \end_inset
10280 </cell>
10281 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10282 \begin_inset Text
10283
10284 \begin_layout Plain Layout
10285 Maurizio
10286 \end_layout
10287
10288 \end_inset
10289 </cell>
10290 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10291 \begin_inset Text
10292
10293 \begin_layout Plain Layout
10294 111
10295 \end_layout
10296
10297 \end_inset
10298 </cell>
10299 </row>
10300 <row>
10301 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10302 \begin_inset Text
10303
10304 \begin_layout Plain Layout
10305
10306 \series bold
10307 Cinquemani
10308 \end_layout
10309
10310 \end_inset
10311 </cell>
10312 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10313 \begin_inset Text
10314
10315 \begin_layout Plain Layout
10316 Giusi
10317 \end_layout
10318
10319 \end_inset
10320 </cell>
10321 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10322 \begin_inset Text
10323
10324 \begin_layout Plain Layout
10325 111
10326 \end_layout
10327
10328 \end_inset
10329 </cell>
10330 </row>
10331 <row>
10332 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10333 \begin_inset Text
10334
10335 \begin_layout Plain Layout
10336
10337 \series bold
10338 Colin
10339 \end_layout
10340
10341 \end_inset
10342 </cell>
10343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10344 \begin_inset Text
10345
10346 \begin_layout Plain Layout
10347 Bernard
10348 \end_layout
10349
10350 \end_inset
10351 </cell>
10352 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10353 \begin_inset Text
10354
10355 \begin_layout Plain Layout
10356 111
10357 \end_layout
10358
10359 \end_inset
10360 </cell>
10361 </row>
10362 <row>
10363 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10364 \begin_inset Text
10365
10366 \begin_layout Plain Layout
10367
10368 \series bold
10369 Concli
10370 \end_layout
10371
10372 \end_inset
10373 </cell>
10374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10375 \begin_inset Text
10376
10377 \begin_layout Plain Layout
10378 Gianfranco
10379 \end_layout
10380
10381 \end_inset
10382 </cell>
10383 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10384 \begin_inset Text
10385
10386 \begin_layout Plain Layout
10387 111
10388 \end_layout
10389
10390 \end_inset
10391 </cell>
10392 </row>
10393 <row>
10394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10395 \begin_inset Text
10396
10397 \begin_layout Plain Layout
10398
10399 \series bold
10400 Dal Bosco
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10406 \begin_inset Text
10407
10408 \begin_layout Plain Layout
10409 Carolina
10410 \end_layout
10411
10412 \end_inset
10413 </cell>
10414 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10415 \begin_inset Text
10416
10417 \begin_layout Plain Layout
10418 111
10419 \end_layout
10420
10421 \end_inset
10422 </cell>
10423 </row>
10424 <row>
10425 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10426 \begin_inset Text
10427
10428 \begin_layout Plain Layout
10429
10430 \series bold
10431 Dalpiaz
10432 \end_layout
10433
10434 \end_inset
10435 </cell>
10436 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10437 \begin_inset Text
10438
10439 \begin_layout Plain Layout
10440 Annamaria
10441 \end_layout
10442
10443 \end_inset
10444 </cell>
10445 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10446 \begin_inset Text
10447
10448 \begin_layout Plain Layout
10449 111
10450 \end_layout
10451
10452 \end_inset
10453 </cell>
10454 </row>
10455 <row>
10456 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10457 \begin_inset Text
10458
10459 \begin_layout Plain Layout
10460
10461 \series bold
10462 Feliciello
10463 \end_layout
10464
10465 \end_inset
10466 </cell>
10467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10468 \begin_inset Text
10469
10470 \begin_layout Plain Layout
10471 Domenico
10472 \end_layout
10473
10474 \end_inset
10475 </cell>
10476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10477 \begin_inset Text
10478
10479 \begin_layout Plain Layout
10480 111
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 </row>
10486 <row>
10487 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Plain Layout
10491
10492 \series bold
10493 Focarelli
10494 \end_layout
10495
10496 \end_inset
10497 </cell>
10498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10499 \begin_inset Text
10500
10501 \begin_layout Plain Layout
10502 Paola
10503 \end_layout
10504
10505 \end_inset
10506 </cell>
10507 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10508 \begin_inset Text
10509
10510 \begin_layout Plain Layout
10511 111
10512 \end_layout
10513
10514 \end_inset
10515 </cell>
10516 </row>
10517 <row>
10518 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10519 \begin_inset Text
10520
10521 \begin_layout Plain Layout
10522
10523 \series bold
10524 Galletti
10525 \end_layout
10526
10527 \end_inset
10528 </cell>
10529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10530 \begin_inset Text
10531
10532 \begin_layout Plain Layout
10533 Oreste
10534 \end_layout
10535
10536 \end_inset
10537 </cell>
10538 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10539 \begin_inset Text
10540
10541 \begin_layout Plain Layout
10542 111
10543 \end_layout
10544
10545 \end_inset
10546 </cell>
10547 </row>
10548 <row>
10549 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10550 \begin_inset Text
10551
10552 \begin_layout Plain Layout
10553
10554 \series bold
10555 Gasparini
10556 \end_layout
10557
10558 \end_inset
10559 </cell>
10560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10561 \begin_inset Text
10562
10563 \begin_layout Plain Layout
10564 Franca
10565 \end_layout
10566
10567 \end_inset
10568 </cell>
10569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10570 \begin_inset Text
10571
10572 \begin_layout Plain Layout
10573 111
10574 \end_layout
10575
10576 \end_inset
10577 </cell>
10578 </row>
10579 <row>
10580 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Plain Layout
10584
10585 \series bold
10586 Lassini
10587 \end_layout
10588
10589 \end_inset
10590 </cell>
10591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10592 \begin_inset Text
10593
10594 \begin_layout Plain Layout
10595 Giancarlo
10596 \end_layout
10597
10598 \end_inset
10599 </cell>
10600 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10601 \begin_inset Text
10602
10603 \begin_layout Plain Layout
10604 111
10605 \end_layout
10606
10607 \end_inset
10608 </cell>
10609 </row>
10610 <row>
10611 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Plain Layout
10615
10616 \series bold
10617 Malfatti
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Plain Layout
10626 Luciano
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10632 \begin_inset Text
10633
10634 \begin_layout Plain Layout
10635 111
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 </row>
10641 <row>
10642 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Plain Layout
10646
10647 \series bold
10648 Malfatti
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Plain Layout
10657 Valeriano
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10663 \begin_inset Text
10664
10665 \begin_layout Plain Layout
10666 111
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 </row>
10672 <row>
10673 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Plain Layout
10677
10678 \series bold
10679 Meneguzzo
10680 \end_layout
10681
10682 \end_inset
10683 </cell>
10684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Plain Layout
10688 Roberto
10689 \end_layout
10690
10691 \end_inset
10692 </cell>
10693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10694 \begin_inset Text
10695
10696 \begin_layout Plain Layout
10697 111
10698 \end_layout
10699
10700 \end_inset
10701 </cell>
10702 </row>
10703 <row>
10704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10705 \begin_inset Text
10706
10707 \begin_layout Plain Layout
10708
10709 \series bold
10710 Mezzadra
10711 \end_layout
10712
10713 \end_inset
10714 </cell>
10715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10716 \begin_inset Text
10717
10718 \begin_layout Plain Layout
10719 Roberto
10720 \end_layout
10721
10722 \end_inset
10723 </cell>
10724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10725 \begin_inset Text
10726
10727 \begin_layout Plain Layout
10728 111
10729 \end_layout
10730
10731 \end_inset
10732 </cell>
10733 </row>
10734 <row>
10735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10736 \begin_inset Text
10737
10738 \begin_layout Plain Layout
10739
10740 \series bold
10741 Pirpamer
10742 \end_layout
10743
10744 \end_inset
10745 </cell>
10746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10747 \begin_inset Text
10748
10749 \begin_layout Plain Layout
10750 Erich
10751 \end_layout
10752
10753 \end_inset
10754 </cell>
10755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10756 \begin_inset Text
10757
10758 \begin_layout Plain Layout
10759 111
10760 \end_layout
10761
10762 \end_inset
10763 </cell>
10764 </row>
10765 <row>
10766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10767 \begin_inset Text
10768
10769 \begin_layout Plain Layout
10770
10771 \series bold
10772 Pochiesa
10773 \end_layout
10774
10775 \end_inset
10776 </cell>
10777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10778 \begin_inset Text
10779
10780 \begin_layout Plain Layout
10781 Paolo
10782 \end_layout
10783
10784 \end_inset
10785 </cell>
10786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10787 \begin_inset Text
10788
10789 \begin_layout Plain Layout
10790 111, 222
10791 \end_layout
10792
10793 \end_inset
10794 </cell>
10795 </row>
10796 <row>
10797 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10798 \begin_inset Text
10799
10800 \begin_layout Plain Layout
10801
10802 \series bold
10803 Radina
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Plain Layout
10812 Claudio
10813 \end_layout
10814
10815 \end_inset
10816 </cell>
10817 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10818 \begin_inset Text
10819
10820 \begin_layout Plain Layout
10821 111
10822 \end_layout
10823
10824 \end_inset
10825 </cell>
10826 </row>
10827 <row>
10828 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10829 \begin_inset Text
10830
10831 \begin_layout Plain Layout
10832
10833 \series bold
10834 Rizzardi
10835 \end_layout
10836
10837 \end_inset
10838 </cell>
10839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10840 \begin_inset Text
10841
10842 \begin_layout Plain Layout
10843 Paolo, 11.
10844  Fürst von Montecompatri, 11.
10845  Fürst von Sulmona und Vivaro, 10.
10846  Fürst von Rossano, 5.
10847  Herzog von Canemorte, 11.
10848  Herzog von Palombara, 5.
10849  Herzog von Castelchiodato,
10850 \begin_inset ERT
10851 status open
10852
10853 \begin_layout Plain Layout
10854
10855 & 111
10856 \backslash
10857
10858 \backslash
10859  
10860 \backslash
10861 newpage
10862 \end_layout
10863
10864 \begin_layout Plain Layout
10865
10866 &
10867 \end_layout
10868
10869 \end_inset
10870
10871  11.
10872  Herzog von Poggionativo, 11.
10873  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10874  Graf von Valinfreda, 11.
10875  Baron von Cropalati, 11.
10876  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10877 \end_layout
10878
10879 \end_inset
10880 </cell>
10881 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10882 \begin_inset Text
10883
10884 \begin_layout Plain Layout
10885
10886 \end_layout
10887
10888 \end_inset
10889 </cell>
10890 </row>
10891 <row>
10892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10893 \begin_inset Text
10894
10895 \begin_layout Plain Layout
10896
10897 \series bold
10898 Stuffer
10899 \end_layout
10900
10901 \end_inset
10902 </cell>
10903 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10904 \begin_inset Text
10905
10906 \begin_layout Plain Layout
10907 Oskar
10908 \end_layout
10909
10910 \end_inset
10911 </cell>
10912 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10913 \begin_inset Text
10914
10915 \begin_layout Plain Layout
10916 111
10917 \end_layout
10918
10919 \end_inset
10920 </cell>
10921 </row>
10922 <row>
10923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10924 \begin_inset Text
10925
10926 \begin_layout Plain Layout
10927
10928 \series bold
10929 Tacchelli
10930 \end_layout
10931
10932 \end_inset
10933 </cell>
10934 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10935 \begin_inset Text
10936
10937 \begin_layout Plain Layout
10938 Ugo
10939 \end_layout
10940
10941 \end_inset
10942 </cell>
10943 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10944 \begin_inset Text
10945
10946 \begin_layout Plain Layout
10947 111
10948 \end_layout
10949
10950 \end_inset
10951 </cell>
10952 </row>
10953 <row>
10954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10955 \begin_inset Text
10956
10957 \begin_layout Plain Layout
10958
10959 \series bold
10960 Tezzele
10961 \end_layout
10962
10963 \end_inset
10964 </cell>
10965 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10966 \begin_inset Text
10967
10968 \begin_layout Plain Layout
10969 Margit
10970 \end_layout
10971
10972 \end_inset
10973 </cell>
10974 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10975 \begin_inset Text
10976
10977 \begin_layout Plain Layout
10978 111
10979 \end_layout
10980
10981 \end_inset
10982 </cell>
10983 </row>
10984 <row>
10985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10986 \begin_inset Text
10987
10988 \begin_layout Plain Layout
10989
10990 \series bold
10991 Unterkalmsteiner
10992 \end_layout
10993
10994 \end_inset
10995 </cell>
10996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10997 \begin_inset Text
10998
10999 \begin_layout Plain Layout
11000 Frieda
11001 \end_layout
11002
11003 \end_inset
11004 </cell>
11005 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11006 \begin_inset Text
11007
11008 \begin_layout Plain Layout
11009 111
11010 \end_layout
11011
11012 \end_inset
11013 </cell>
11014 </row>
11015 <row>
11016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11017 \begin_inset Text
11018
11019 \begin_layout Plain Layout
11020
11021 \series bold
11022 Vieider
11023 \end_layout
11024
11025 \end_inset
11026 </cell>
11027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11028 \begin_inset Text
11029
11030 \begin_layout Plain Layout
11031 Hilde
11032 \end_layout
11033
11034 \end_inset
11035 </cell>
11036 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11037 \begin_inset Text
11038
11039 \begin_layout Plain Layout
11040 111
11041 \end_layout
11042
11043 \end_inset
11044 </cell>
11045 </row>
11046 <row>
11047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11048 \begin_inset Text
11049
11050 \begin_layout Plain Layout
11051
11052 \series bold
11053 Vigna
11054 \end_layout
11055
11056 \end_inset
11057 </cell>
11058 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11059 \begin_inset Text
11060
11061 \begin_layout Plain Layout
11062 Jürgen
11063 \end_layout
11064
11065 \end_inset
11066 </cell>
11067 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11068 \begin_inset Text
11069
11070 \begin_layout Plain Layout
11071 111
11072 \end_layout
11073
11074 \end_inset
11075 </cell>
11076 </row>
11077 <row>
11078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11079 \begin_inset Text
11080
11081 \begin_layout Plain Layout
11082
11083 \series bold
11084 Weber
11085 \end_layout
11086
11087 \end_inset
11088 </cell>
11089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11090 \begin_inset Text
11091
11092 \begin_layout Plain Layout
11093 Maurizio
11094 \end_layout
11095
11096 \end_inset
11097 </cell>
11098 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11099 \begin_inset Text
11100
11101 \begin_layout Plain Layout
11102 111
11103 \end_layout
11104
11105 \end_inset
11106 </cell>
11107 </row>
11108 <row>
11109 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11110 \begin_inset Text
11111
11112 \begin_layout Plain Layout
11113
11114 \series bold
11115 Winkler
11116 \end_layout
11117
11118 \end_inset
11119 </cell>
11120 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11121 \begin_inset Text
11122
11123 \begin_layout Plain Layout
11124 Franz
11125 \end_layout
11126
11127 \end_inset
11128 </cell>
11129 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11130 \begin_inset Text
11131
11132 \begin_layout Plain Layout
11133 111
11134 \end_layout
11135
11136 \end_inset
11137 </cell>
11138 </row>
11139 </lyxtabular>
11140
11141 \end_inset
11142
11143
11144 \end_layout
11145
11146 \begin_layout Section
11147 Multiple Lines Columns and Rows
11148 \end_layout
11149
11150 \begin_layout Subsection
11151 Multiple Lines in Table Cells
11152 \begin_inset CommandInset label
11153 LatexCommand label
11154 name "sub:Multiple-Lines-in"
11155
11156 \end_inset
11157
11158
11159 \begin_inset Index idx
11160 status collapsed
11161
11162 \begin_layout Plain Layout
11163 Multiple Lines in Table Cells
11164 \end_layout
11165
11166 \end_inset
11167
11168
11169 \begin_inset Index idx
11170 status collapsed
11171
11172 \begin_layout Plain Layout
11173 Table ! Linebreaks
11174 \end_layout
11175
11176 \end_inset
11177
11178
11179 \end_layout
11180
11181 \begin_layout Standard
11182 \noindent
11183 \begin_inset Float table
11184 placement H
11185 wide false
11186 sideways false
11187 status open
11188
11189 \begin_layout Plain Layout
11190 \begin_inset Caption
11191
11192 \begin_layout Plain Layout
11193 \begin_inset CommandInset label
11194 LatexCommand label
11195 name "tab:Table-with-multiple"
11196
11197 \end_inset
11198
11199 Table with multiple lines in cells
11200 \end_layout
11201
11202 \end_inset
11203
11204
11205 \end_layout
11206
11207 \begin_layout Plain Layout
11208 \align center
11209 \begin_inset Tabular
11210 <lyxtabular version="3" rows="3" columns="3">
11211 <features tabularvalignment="middle">
11212 <column alignment="center" valignment="middle" width="2.5cm">
11213 <column alignment="center" valignment="middle" width="0">
11214 <column alignment="center" valignment="middle" width="0">
11215 <row>
11216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11217 \begin_inset Text
11218
11219 \begin_layout Plain Layout
11220 multiple
11221 \begin_inset Newline linebreak
11222 \end_inset
11223
11224 lines
11225 \end_layout
11226
11227 \end_inset
11228 </cell>
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11230 \begin_inset Text
11231
11232 \begin_layout Plain Layout
11233 b
11234 \end_layout
11235
11236 \end_inset
11237 </cell>
11238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11239 \begin_inset Text
11240
11241 \begin_layout Plain Layout
11242 c
11243 \end_layout
11244
11245 \end_inset
11246 </cell>
11247 </row>
11248 <row>
11249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11250 \begin_inset Text
11251
11252 \begin_layout Plain Layout
11253 d
11254 \end_layout
11255
11256 \end_inset
11257 </cell>
11258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11259 \begin_inset Text
11260
11261 \begin_layout Plain Layout
11262 e
11263 \end_layout
11264
11265 \end_inset
11266 </cell>
11267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11268 \begin_inset Text
11269
11270 \begin_layout Plain Layout
11271 f
11272 \end_layout
11273
11274 \end_inset
11275 </cell>
11276 </row>
11277 <row>
11278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11279 \begin_inset Text
11280
11281 \begin_layout Plain Layout
11282 g
11283 \end_layout
11284
11285 \end_inset
11286 </cell>
11287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11288 \begin_inset Text
11289
11290 \begin_layout Plain Layout
11291 h
11292 \end_layout
11293
11294 \end_inset
11295 </cell>
11296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11297 \begin_inset Text
11298
11299 \begin_layout Plain Layout
11300 i
11301 \end_layout
11302
11303 \end_inset
11304 </cell>
11305 </row>
11306 </lyxtabular>
11307
11308 \end_inset
11309
11310
11311 \end_layout
11312
11313 \end_inset
11314
11315
11316 \end_layout
11317
11318 \begin_layout Standard
11319 Setting a fixed width for a column enables you to enter text as a paragraph
11320  with multiple lines and hyphenation.
11321 \end_layout
11322
11323 \begin_layout Standard
11324 To produce Table
11325 \begin_inset space ~
11326 \end_inset
11327
11328
11329 \begin_inset CommandInset ref
11330 LatexCommand ref
11331 reference "tab:Table-with-multiple"
11332
11333 \end_inset
11334
11335 , create a 3×3 table, mark the first cell and right-click on it.
11336  In the appearing table dialog we set a cell width of 2.5
11337 \begin_inset space \thinspace{}
11338 \end_inset
11339
11340 cm and choose centered for the vertical and horizontal alignment.
11341  The vertical alignment is used for all cells of the row.
11342  As our text is smaller than 2.5
11343 \begin_inset space \thinspace{}
11344 \end_inset
11345
11346 cm, only one line will appear.
11347  To get two lines, a justified line break (shortcut 
11348 \begin_inset Info
11349 type  "shortcut"
11350 arg   "newline-insert linebreak"
11351 \end_inset
11352
11353 ) was added.
11354  If the text is wider than the set cell width, it will automatically be
11355  broken to several lines.
11356 \end_layout
11357
11358 \begin_layout Standard
11359 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11360  by LaTeX if it is the first entry.
11361  Therefore you need to insert something to prevent the word not being the
11362  first entry.
11363  So add a horizontal space of 0
11364 \begin_inset space \thinspace{}
11365 \end_inset
11366
11367 pt before the word.
11368  As the space is zero, it doesn't change the output.
11369  Table
11370 \begin_inset space ~
11371 \end_inset
11372
11373
11374 \begin_inset CommandInset ref
11375 LatexCommand ref
11376 reference "tab:Table-with-and"
11377
11378 \end_inset
11379
11380  shows the effect.
11381 \end_layout
11382
11383 \begin_layout Standard
11384 \begin_inset Float table
11385 placement h
11386 wide false
11387 sideways false
11388 status open
11389
11390 \begin_layout Plain Layout
11391 \begin_inset Caption
11392
11393 \begin_layout Plain Layout
11394 \begin_inset CommandInset label
11395 LatexCommand label
11396 name "tab:Table-with-and"
11397
11398 \end_inset
11399
11400 Table with and without hyphenation
11401 \end_layout
11402
11403 \end_inset
11404
11405
11406 \end_layout
11407
11408 \begin_layout Plain Layout
11409 \begin_inset space \hfill{}
11410 \end_inset
11411
11412
11413 \begin_inset Tabular
11414 <lyxtabular version="3" rows="3" columns="3">
11415 <features tabularvalignment="middle">
11416 <column alignment="center" valignment="middle" width="2.5cm">
11417 <column alignment="center" valignment="middle" width="0">
11418 <column alignment="center" valignment="middle" width="0">
11419 <row>
11420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11421 \begin_inset Text
11422
11423 \begin_layout Plain Layout
11424 verylongtablecellword
11425 \end_layout
11426
11427 \end_inset
11428 </cell>
11429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11430 \begin_inset Text
11431
11432 \begin_layout Plain Layout
11433 b
11434 \end_layout
11435
11436 \end_inset
11437 </cell>
11438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11439 \begin_inset Text
11440
11441 \begin_layout Plain Layout
11442 c
11443 \end_layout
11444
11445 \end_inset
11446 </cell>
11447 </row>
11448 <row>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Plain Layout
11453 d
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11459 \begin_inset Text
11460
11461 \begin_layout Plain Layout
11462 e
11463 \end_layout
11464
11465 \end_inset
11466 </cell>
11467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11468 \begin_inset Text
11469
11470 \begin_layout Plain Layout
11471 f
11472 \end_layout
11473
11474 \end_inset
11475 </cell>
11476 </row>
11477 <row>
11478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 g
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11488 \begin_inset Text
11489
11490 \begin_layout Plain Layout
11491 h
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Plain Layout
11500 i
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 </row>
11506 </lyxtabular>
11507
11508 \end_inset
11509
11510
11511 \begin_inset space \hfill{}
11512 \end_inset
11513
11514
11515 \begin_inset Tabular
11516 <lyxtabular version="3" rows="3" columns="3">
11517 <features tabularvalignment="middle">
11518 <column alignment="center" valignment="middle" width="2.5cm">
11519 <column alignment="center" valignment="middle" width="0">
11520 <column alignment="center" valignment="middle" width="0">
11521 <row>
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11523 \begin_inset Text
11524
11525 \begin_layout Plain Layout
11526 \begin_inset space \hspace{}
11527 \length 0pt
11528 \end_inset
11529
11530 verylongtablecellword
11531 \end_layout
11532
11533 \end_inset
11534 </cell>
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_inset Text
11537
11538 \begin_layout Plain Layout
11539 b
11540 \end_layout
11541
11542 \end_inset
11543 </cell>
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11545 \begin_inset Text
11546
11547 \begin_layout Plain Layout
11548 c
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 </row>
11554 <row>
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Plain Layout
11559 d
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11565 \begin_inset Text
11566
11567 \begin_layout Plain Layout
11568 e
11569 \end_layout
11570
11571 \end_inset
11572 </cell>
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Plain Layout
11577 f
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 </row>
11583 <row>
11584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11585 \begin_inset Text
11586
11587 \begin_layout Plain Layout
11588 g
11589 \end_layout
11590
11591 \end_inset
11592 </cell>
11593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11594 \begin_inset Text
11595
11596 \begin_layout Plain Layout
11597 h
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Plain Layout
11606 i
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 </row>
11612 </lyxtabular>
11613
11614 \end_inset
11615
11616
11617 \begin_inset space \hfill{}
11618 \end_inset
11619
11620
11621 \end_layout
11622
11623 \end_inset
11624
11625
11626 \end_layout
11627
11628 \begin_layout Subsection
11629 Multicolumns
11630 \begin_inset CommandInset label
11631 LatexCommand label
11632 name "sub:Multicolumns"
11633
11634 \end_inset
11635
11636
11637 \begin_inset Index idx
11638 status collapsed
11639
11640 \begin_layout Plain Layout
11641 Multicolumns
11642 \end_layout
11643
11644 \end_inset
11645
11646
11647 \begin_inset Index idx
11648 status collapsed
11649
11650 \begin_layout Plain Layout
11651 Table ! Multicolumns
11652 \end_layout
11653
11654 \end_inset
11655
11656
11657 \end_layout
11658
11659 \begin_layout Subsubsection
11660 Multicolumn Basics
11661 \end_layout
11662
11663 \begin_layout Standard
11664 To merge cells over multiple columns, select as many cells within a row
11665  as you want to merge and use either the table-toolbar button 
11666 \begin_inset Graphics
11667         filename ../images/tabular-feature_multicolumn.png
11668         scale 85
11669         scaleBeforeRotation
11670
11671 \end_inset
11672
11673 , or the menu 
11674 \family sans
11675 Edit\SpecialChar \menuseparator
11676 Table\SpecialChar \menuseparator
11677 Multicolumn
11678 \family default
11679 , or right click on the marked cells and choose 
11680 \family sans
11681 Multicolumn
11682 \family default
11683  in the context menu.
11684 \end_layout
11685
11686 \begin_layout Standard
11687 Multicolumns have there own cell settings.
11688  That means changing cell borders, cell alignment, and the width only affects
11689  the multicolumn.
11690  Here is an example table with a multicolumn cell in the first row and one
11691  in the last row without the upper border:
11692 \end_layout
11693
11694 \begin_layout Standard
11695 \align center
11696 \begin_inset Tabular
11697 <lyxtabular version="3" rows="3" columns="4">
11698 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11699 <column alignment="center" valignment="top" width="0pt">
11700 <column alignment="center" valignment="middle" width="0">
11701 <column alignment="center" valignment="top" width="0in">
11702 <column alignment="center" valignment="top" width="0pt">
11703 <row>
11704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11705 \begin_inset Text
11706
11707 \begin_layout Plain Layout
11708 abc
11709 \end_layout
11710
11711 \end_inset
11712 </cell>
11713 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11714 \begin_inset Text
11715
11716 \begin_layout Plain Layout
11717 def ghi
11718 \end_layout
11719
11720 \end_inset
11721 </cell>
11722 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11723 \begin_inset Text
11724
11725 \begin_layout Plain Layout
11726
11727 \end_layout
11728
11729 \end_inset
11730 </cell>
11731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11732 \begin_inset Text
11733
11734 \begin_layout Plain Layout
11735 jkl
11736 \end_layout
11737
11738 \end_inset
11739 </cell>
11740 </row>
11741 <row>
11742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11743 \begin_inset Text
11744
11745 \begin_layout Plain Layout
11746
11747 \family roman
11748 \series medium
11749 \shape up
11750 \size normal
11751 \emph off
11752 \bar no
11753 \noun off
11754 \color none
11755 A
11756 \end_layout
11757
11758 \end_inset
11759 </cell>
11760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11761 \begin_inset Text
11762
11763 \begin_layout Plain Layout
11764 B
11765 \end_layout
11766
11767 \end_inset
11768 </cell>
11769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11770 \begin_inset Text
11771
11772 \begin_layout Plain Layout
11773 C
11774 \end_layout
11775
11776 \end_inset
11777 </cell>
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11779 \begin_inset Text
11780
11781 \begin_layout Plain Layout
11782 D
11783 \end_layout
11784
11785 \end_inset
11786 </cell>
11787 </row>
11788 <row>
11789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11790 \begin_inset Text
11791
11792 \begin_layout Plain Layout
11793 1
11794 \end_layout
11795
11796 \end_inset
11797 </cell>
11798 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11799 \begin_inset Text
11800
11801 \begin_layout Plain Layout
11802 2
11803 \end_layout
11804
11805 \end_inset
11806 </cell>
11807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11808 \begin_inset Text
11809
11810 \begin_layout Plain Layout
11811 3
11812 \end_layout
11813
11814 \end_inset
11815 </cell>
11816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11817 \begin_inset Text
11818
11819 \begin_layout Plain Layout
11820 4
11821 \end_layout
11822
11823 \end_inset
11824 </cell>
11825 </row>
11826 </lyxtabular>
11827
11828 \end_inset
11829
11830
11831 \end_layout
11832
11833 \begin_layout Subsubsection
11834 Multicolumn Calculations
11835 \begin_inset CommandInset label
11836 LatexCommand label
11837 name "sub:Multicolumn-Calculations"
11838
11839 \end_inset
11840
11841
11842 \begin_inset Index idx
11843 status collapsed
11844
11845 \begin_layout Plain Layout
11846 Multicolumns ! Calculations
11847 \end_layout
11848
11849 \end_inset
11850
11851
11852 \end_layout
11853
11854 \begin_layout Standard
11855 LyX supports multicolumns directly, but we have to take account of the cell
11856  width of the columns spanned by the multicolumn cell.
11857 \end_layout
11858
11859 \begin_layout Standard
11860 \begin_inset Float table
11861 placement h
11862 wide false
11863 sideways false
11864 status open
11865
11866 \begin_layout Plain Layout
11867 \begin_inset Caption
11868
11869 \begin_layout Plain Layout
11870 \begin_inset CommandInset label
11871 LatexCommand label
11872 name "tab:Table-with-centered"
11873
11874 \end_inset
11875
11876 Table with centered multicolumn text above two columns that have exactly
11877  half the width of the multicolumn cell
11878 \begin_inset Argument
11879 status collapsed
11880
11881 \begin_layout Plain Layout
11882 Perfect multicolumn table
11883 \end_layout
11884
11885 \end_inset
11886
11887
11888 \end_layout
11889
11890 \end_inset
11891
11892
11893 \end_layout
11894
11895 \begin_layout Plain Layout
11896 \align center
11897 \begin_inset Tabular
11898 <lyxtabular version="3" rows="3" columns="3">
11899 <features tabularvalignment="middle">
11900 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11901 <column alignment="center" valignment="middle" width="0">
11902 <column alignment="center" valignment="top" width="0">
11903 <row>
11904 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11905 \begin_inset Text
11906
11907 \begin_layout Plain Layout
11908 multiple lines multicolumn
11909 \end_layout
11910
11911 \end_inset
11912 </cell>
11913 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11914 \begin_inset Text
11915
11916 \begin_layout Plain Layout
11917
11918 \end_layout
11919
11920 \end_inset
11921 </cell>
11922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11923 \begin_inset Text
11924
11925 \begin_layout Plain Layout
11926 c
11927 \end_layout
11928
11929 \end_inset
11930 </cell>
11931 </row>
11932 <row>
11933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11934 \begin_inset Text
11935
11936 \begin_layout Plain Layout
11937 d
11938 \end_layout
11939
11940 \end_inset
11941 </cell>
11942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11943 \begin_inset Text
11944
11945 \begin_layout Plain Layout
11946 e
11947 \end_layout
11948
11949 \end_inset
11950 </cell>
11951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11952 \begin_inset Text
11953
11954 \begin_layout Plain Layout
11955 f
11956 \end_layout
11957
11958 \end_inset
11959 </cell>
11960 </row>
11961 <row>
11962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11963 \begin_inset Text
11964
11965 \begin_layout Plain Layout
11966 g
11967 \end_layout
11968
11969 \end_inset
11970 </cell>
11971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11972 \begin_inset Text
11973
11974 \begin_layout Plain Layout
11975 h
11976 \end_layout
11977
11978 \end_inset
11979 </cell>
11980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11981 \begin_inset Text
11982
11983 \begin_layout Plain Layout
11984 i
11985 \end_layout
11986
11987 \end_inset
11988 </cell>
11989 </row>
11990 </lyxtabular>
11991
11992 \end_inset
11993
11994
11995 \end_layout
11996
11997 \end_inset
11998
11999
12000 \end_layout
12001
12002 \begin_layout Standard
12003 To create for example Table
12004 \begin_inset space ~
12005 \end_inset
12006
12007
12008 \begin_inset CommandInset ref
12009 LatexCommand ref
12010 reference "tab:Table-with-centered"
12011
12012 \end_inset
12013
12014 , mark the first two cells in the first row of a 3×3 table and right-click
12015  on them.
12016  Now choose for this cell 
12017 \emph on
12018 multicolumn
12019 \emph default
12020
12021 \emph on
12022 centered alignment
12023 \emph default
12024  and a width of 2.5
12025 \begin_inset space \thinspace{}
12026 \end_inset
12027
12028 cm in the table dialog.
12029  The merged columns should have exactly half the width of the multicolumn
12030  cell, so that you would set a width of 1.25
12031 \begin_inset space \thinspace{}
12032 \end_inset
12033
12034 cm for the first column.
12035  The second column has then automatically a width of 1.25
12036 \begin_inset space \thinspace{}
12037 \end_inset
12038
12039 cm (multicolumn width - width of first column).
12040  This was done for Table
12041 \begin_inset space ~
12042 \end_inset
12043
12044
12045 \begin_inset CommandInset ref
12046 LatexCommand ref
12047 reference "tab:Table-without-half"
12048
12049 \end_inset
12050
12051 .
12052 \end_layout
12053
12054 \begin_layout Standard
12055 \begin_inset Float table
12056 wide false
12057 sideways false
12058 status open
12059
12060 \begin_layout Plain Layout
12061 \begin_inset Caption
12062
12063 \begin_layout Plain Layout
12064 \begin_inset CommandInset label
12065 LatexCommand label
12066 name "tab:Table-without-half"
12067
12068 \end_inset
12069
12070 Table where the spanned table columns are not exactly half the width of
12071  the multicolumn cell
12072 \begin_inset Argument
12073 status collapsed
12074
12075 \begin_layout Plain Layout
12076 Imperfect multicolumn table
12077 \end_layout
12078
12079 \end_inset
12080
12081
12082 \end_layout
12083
12084 \end_inset
12085
12086
12087 \end_layout
12088
12089 \begin_layout Plain Layout
12090 \align center
12091 \begin_inset Tabular
12092 <lyxtabular version="3" rows="3" columns="3">
12093 <features tabularvalignment="middle">
12094 <column alignment="center" valignment="top" width="1.25cm">
12095 <column alignment="center" valignment="top" width="0">
12096 <column alignment="center" valignment="top" width="0">
12097 <row>
12098 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12099 \begin_inset Text
12100
12101 \begin_layout Plain Layout
12102 multiple lines multicolumn
12103 \end_layout
12104
12105 \end_inset
12106 </cell>
12107 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12108 \begin_inset Text
12109
12110 \begin_layout Plain Layout
12111
12112 \end_layout
12113
12114 \end_inset
12115 </cell>
12116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12117 \begin_inset Text
12118
12119 \begin_layout Plain Layout
12120 c
12121 \end_layout
12122
12123 \end_inset
12124 </cell>
12125 </row>
12126 <row>
12127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12128 \begin_inset Text
12129
12130 \begin_layout Plain Layout
12131 d
12132 \end_layout
12133
12134 \end_inset
12135 </cell>
12136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12137 \begin_inset Text
12138
12139 \begin_layout Plain Layout
12140 e
12141 \end_layout
12142
12143 \end_inset
12144 </cell>
12145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12146 \begin_inset Text
12147
12148 \begin_layout Plain Layout
12149 f
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 </row>
12155 <row>
12156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12157 \begin_inset Text
12158
12159 \begin_layout Plain Layout
12160 g
12161 \end_layout
12162
12163 \end_inset
12164 </cell>
12165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12166 \begin_inset Text
12167
12168 \begin_layout Plain Layout
12169 h
12170 \end_layout
12171
12172 \end_inset
12173 </cell>
12174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12175 \begin_inset Text
12176
12177 \begin_layout Plain Layout
12178 i
12179 \end_layout
12180
12181 \end_inset
12182 </cell>
12183 </row>
12184 </lyxtabular>
12185
12186 \end_inset
12187
12188
12189 \end_layout
12190
12191 \end_inset
12192
12193
12194 \end_layout
12195
12196 \begin_layout Standard
12197 You can see that the first column is not half the width of the multicolumn
12198  cell, it is a bit bigger.
12199  The reason is that the specified width of a cell 
12200 \begin_inset Formula $W_{g}$
12201 \end_inset
12202
12203  is not its total width 
12204 \begin_inset Formula $W_{\mathrm{tot}}$
12205 \end_inset
12206
12207  because a cell is always a bit larger than specified.
12208  Appendix
12209 \begin_inset space ~
12210 \end_inset
12211
12212
12213 \begin_inset CommandInset ref
12214 LatexCommand eqref
12215 reference "cha:Explanation-of-Equation"
12216
12217 \end_inset
12218
12219  explains this in detail.
12220 \end_layout
12221
12222 \begin_layout Standard
12223 The width 
12224 \begin_inset Formula $W_{g\, n}$
12225 \end_inset
12226
12227  which the user needs to set when 
12228 \emph on
12229 n
12230 \emph default
12231  columns are spanned can be calculated, so that each column has a total
12232  width of 
12233 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
12234 \end_inset
12235
12236 :
12237 \begin_inset Formula \begin{equation}
12238 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12239 \end{equation}
12240
12241 \end_inset
12242
12243
12244 \end_layout
12245
12246 \begin_layout Standard
12247 In our case we have 
12248 \begin_inset Formula $n=2$
12249 \end_inset
12250
12251
12252 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12253 \end_inset
12254
12255 cm and the default values for the lengths, so that equation 
12256 \begin_inset CommandInset ref
12257 LatexCommand ref
12258 reference "eq:Wgn"
12259
12260 \end_inset
12261
12262  becomes
12263 \begin_inset Formula \begin{equation}
12264 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12265 \end{equation}
12266
12267 \end_inset
12268
12269
12270 \end_layout
12271
12272 \begin_layout Standard
12273 To enable calculations in LaTeX, the LaTeX-package 
12274 \series bold
12275 calc
12276 \series default
12277  must be loaded with the document preamble line
12278 \begin_inset Index idx
12279 status collapsed
12280
12281 \begin_layout Plain Layout
12282 LaTeX-packages ! calc
12283 \end_layout
12284
12285 \end_inset
12286
12287
12288 \end_layout
12289
12290 \begin_layout Standard
12291
12292 \series bold
12293
12294 \backslash
12295 usepackage{calc}
12296 \end_layout
12297
12298 \begin_layout Standard
12299 LyX does not allow you to calculate lengths in the 
12300 \family sans
12301 Width
12302 \family default
12303  field of the table dialog.
12304  Therefore you have to format the column by inserting a LaTeX-argument in
12305  the dialog.
12306  Here is an overview about the arguments:
12307 \end_layout
12308
12309 \begin_layout Itemize
12310
12311 \series bold
12312 p{width}
12313 \series default
12314  creates cell with a fixed width, its text is vertically top-aligned
12315 \end_layout
12316
12317 \begin_layout Itemize
12318
12319 \series bold
12320 m{width}
12321 \series default
12322  creates cell with a fixed width, its text is vertically centered
12323 \end_layout
12324
12325 \begin_layout Itemize
12326
12327 \series bold
12328 b{width}
12329 \series default
12330  creates cell with a fixed width, its text is vertically bottom-aligned
12331 \end_layout
12332
12333 \begin_layout Standard
12334 By entering a LaTeX-argument, all cell settings set in the table dialog
12335  are overwritten.
12336 \end_layout
12337
12338 \begin_layout Standard
12339 \begin_inset Note Greyedout
12340 status open
12341
12342 \begin_layout Plain Layout
12343
12344 \series bold
12345 Note:
12346 \series default
12347  Due to a bug, LyX shows the overwritten settings anyway.
12348 \end_layout
12349
12350 \end_inset
12351
12352
12353 \end_layout
12354
12355 \begin_layout Standard
12356 As the text should be horizontally centered, the command 
12357 \series bold
12358
12359 \backslash
12360 centering
12361 \series default
12362  is added.
12363  You can now enter the following LaTeX-argument for the first spanned column:
12364 \end_layout
12365
12366 \begin_layout Standard
12367
12368 \series bold
12369 >{
12370 \backslash
12371 centering}m{1.25cm-6.2pt}
12372 \end_layout
12373
12374 \begin_layout Standard
12375 The command 
12376 \series bold
12377 >{ }
12378 \series default
12379  means, that the commands inside the braces are applied before the cell
12380  is created.
12381 \end_layout
12382
12383 \begin_layout Standard
12384 Although we have chosen centered alignment for the text of the multicolumn
12385  cell, it is still left aligned.
12386  This is because LyX only applies the alignment to single columns.
12387  So for the multicolumn cell we have to use the LaTeX-argument
12388 \end_layout
12389
12390 \begin_layout Standard
12391
12392 \series bold
12393 >{
12394 \backslash
12395 centering}m{2.5cm}
12396 \end_layout
12397
12398 \begin_layout Subsection
12399 Multirows
12400 \begin_inset CommandInset label
12401 LatexCommand label
12402 name "sub:Multirows"
12403
12404 \end_inset
12405
12406
12407 \begin_inset Index idx
12408 status collapsed
12409
12410 \begin_layout Plain Layout
12411 Multirows
12412 \end_layout
12413
12414 \end_inset
12415
12416
12417 \begin_inset Index idx
12418 status collapsed
12419
12420 \begin_layout Plain Layout
12421 Table ! Multirows
12422 \end_layout
12423
12424 \end_inset
12425
12426
12427 \end_layout
12428
12429 \begin_layout Standard
12430 To merge cells over multiple rows, select as many cells within a column
12431  as you want to merge and use either the table-toolbar button 
12432 \begin_inset Graphics
12433         filename ../images/tabular-feature_multirow.png
12434         scale 85
12435         scaleBeforeRotation
12436
12437 \end_inset
12438
12439 , or the menu 
12440 \family sans
12441 Edit\SpecialChar \menuseparator
12442 Table\SpecialChar \menuseparator
12443 Multirow
12444 \family default
12445 , or right click on the marked cells and choose 
12446 \family sans
12447 Multirow
12448 \family default
12449  in the context menu.
12450 \end_layout
12451
12452 \begin_layout Standard
12453 Here is an example table with a multirow in the first column:
12454 \end_layout
12455
12456 \begin_layout Standard
12457 \align center
12458 \begin_inset Tabular
12459 <lyxtabular version="3" rows="3" columns="3">
12460 <features tabularvalignment="middle">
12461 <column alignment="center" valignment="top" width="0pt">
12462 <column alignment="center" valignment="top" width="0">
12463 <column alignment="center" valignment="top" width="0">
12464 <row>
12465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12466 \begin_inset Text
12467
12468 \begin_layout Plain Layout
12469 a long cell entry
12470 \end_layout
12471
12472 \end_inset
12473 </cell>
12474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12475 \begin_inset Text
12476
12477 \begin_layout Plain Layout
12478 b
12479 \end_layout
12480
12481 \end_inset
12482 </cell>
12483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12484 \begin_inset Text
12485
12486 \begin_layout Plain Layout
12487 c
12488 \end_layout
12489
12490 \end_inset
12491 </cell>
12492 </row>
12493 <row>
12494 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12495 \begin_inset Text
12496
12497 \begin_layout Plain Layout
12498 multirow
12499 \end_layout
12500
12501 \end_inset
12502 </cell>
12503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12504 \begin_inset Text
12505
12506 \begin_layout Plain Layout
12507 e
12508 \end_layout
12509
12510 \end_inset
12511 </cell>
12512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12513 \begin_inset Text
12514
12515 \begin_layout Plain Layout
12516 f
12517 \end_layout
12518
12519 \end_inset
12520 </cell>
12521 </row>
12522 <row>
12523 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12524 \begin_inset Text
12525
12526 \begin_layout Plain Layout
12527
12528 \end_layout
12529
12530 \end_inset
12531 </cell>
12532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12533 \begin_inset Text
12534
12535 \begin_layout Plain Layout
12536 h
12537 \end_layout
12538
12539 \end_inset
12540 </cell>
12541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12542 \begin_inset Text
12543
12544 \begin_layout Plain Layout
12545 i
12546 \end_layout
12547
12548 \end_inset
12549 </cell>
12550 </row>
12551 </lyxtabular>
12552
12553 \end_inset
12554
12555
12556 \end_layout
12557
12558 \begin_layout Standard
12559 The width of multirow cells is set by setting the width and alignment for
12560  the whole column.
12561  The 
12562 \family sans
12563 Vertical Offset
12564 \family default
12565  shifts the content of the multirow up/down if the offset is positive/negative.
12566 \end_layout
12567
12568 \begin_layout Standard
12569 If the column of a multirow cell has no explicit width, the multirow cell
12570  inherits the alignment of the column.
12571  Otherwise it is by default left-aligned.
12572  To override the default, renew the command 
12573 \series bold
12574
12575 \backslash
12576 multirowsetup
12577 \series default
12578  with the command
12579 \end_layout
12580
12581 \begin_layout Standard
12582
12583 \series bold
12584
12585 \backslash
12586 renewcommand{
12587 \backslash
12588 multirowsetup}{
12589 \backslash
12590 centering}
12591 \end_layout
12592
12593 \begin_layout Standard
12594 in the document preamble.
12595  Then all entries of multirow cells in the document are centered.
12596  If centering is only needed for several tables, you can renew the command
12597  in a TeX-Code box just before the table instead of the preamble.
12598  If the text should be right-aligned, replace 
12599 \series bold
12600
12601 \backslash
12602 centering
12603 \series default
12604  by 
12605 \series bold
12606
12607 \backslash
12608 raggedleft
12609 \series default
12610 .
12611  To return to left-alignment 
12612 \series bold
12613
12614 \backslash
12615 raggedright
12616 \series default
12617  is used.
12618 \end_layout
12619
12620 \begin_layout Standard
12621 This is an example table with a right-aligned multirow cell that has a vertical
12622  offset of -4
12623 \begin_inset space \thinspace{}
12624 \end_inset
12625
12626 mm and is in a 3
12627 \begin_inset space \thinspace{}
12628 \end_inset
12629
12630 cm wide column:
12631 \end_layout
12632
12633 \begin_layout Standard
12634 \noindent
12635 \align center
12636 \begin_inset ERT
12637 status collapsed
12638
12639 \begin_layout Plain Layout
12640
12641
12642 \backslash
12643 renewcommand{
12644 \backslash
12645 multirowsetup}{
12646 \backslash
12647 raggedleft}
12648 \end_layout
12649
12650 \end_inset
12651
12652
12653 \begin_inset Tabular
12654 <lyxtabular version="3" rows="4" columns="3">
12655 <features tabularvalignment="middle">
12656 <column alignment="center" valignment="top" width="3cm">
12657 <column alignment="center" valignment="top" width="0">
12658 <column alignment="center" valignment="top" width="0">
12659 <row>
12660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12661 \begin_inset Text
12662
12663 \begin_layout Plain Layout
12664 a long cell entry
12665 \end_layout
12666
12667 \end_inset
12668 </cell>
12669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12670 \begin_inset Text
12671
12672 \begin_layout Plain Layout
12673 b
12674 \end_layout
12675
12676 \end_inset
12677 </cell>
12678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12679 \begin_inset Text
12680
12681 \begin_layout Plain Layout
12682 c
12683 \end_layout
12684
12685 \end_inset
12686 </cell>
12687 </row>
12688 <row>
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Plain Layout
12693 t
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12699 \begin_inset Text
12700
12701 \begin_layout Plain Layout
12702 n
12703 \end_layout
12704
12705 \end_inset
12706 </cell>
12707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12708 \begin_inset Text
12709
12710 \begin_layout Plain Layout
12711 m
12712 \end_layout
12713
12714 \end_inset
12715 </cell>
12716 </row>
12717 <row>
12718 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Plain Layout
12722 multirow
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12728 \begin_inset Text
12729
12730 \begin_layout Plain Layout
12731 e
12732 \end_layout
12733
12734 \end_inset
12735 </cell>
12736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12737 \begin_inset Text
12738
12739 \begin_layout Plain Layout
12740 f
12741 \end_layout
12742
12743 \end_inset
12744 </cell>
12745 </row>
12746 <row>
12747 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Plain Layout
12751
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Plain Layout
12760 h
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12766 \begin_inset Text
12767
12768 \begin_layout Plain Layout
12769 i
12770 \end_layout
12771
12772 \end_inset
12773 </cell>
12774 </row>
12775 </lyxtabular>
12776
12777 \end_inset
12778
12779
12780 \begin_inset ERT
12781 status collapsed
12782
12783 \begin_layout Plain Layout
12784
12785
12786 \backslash
12787 renewcommand{
12788 \backslash
12789 multirowsetup}{
12790 \backslash
12791 raggedright}
12792 \end_layout
12793
12794 \end_inset
12795
12796
12797 \end_layout
12798
12799 \begin_layout Section
12800 Formal Tables
12801 \begin_inset CommandInset label
12802 LatexCommand label
12803 name "sec:Formal-Tables"
12804
12805 \end_inset
12806
12807
12808 \begin_inset Index idx
12809 status collapsed
12810
12811 \begin_layout Plain Layout
12812 Table ! Formal
12813 \end_layout
12814
12815 \end_inset
12816
12817
12818 \end_layout
12819
12820 \begin_layout Standard
12821 Tables are often typeset in books similar to Table
12822 \begin_inset space ~
12823 \end_inset
12824
12825
12826 \begin_inset CommandInset ref
12827 LatexCommand ref
12828 reference "tab:Example-booktabs-table"
12829
12830 \end_inset
12831
12832 .
12833  This kind of tables is called 
12834 \begin_inset Quotes eld
12835 \end_inset
12836
12837
12838 \emph on
12839 formal
12840 \emph default
12841
12842 \begin_inset Quotes erd
12843 \end_inset
12844
12845 .
12846  To make a table a formal table use the option 
12847 \family sans
12848 Formal
12849 \family default
12850  in the 
12851 \family sans
12852 Borders
12853 \family default
12854  tab of the table dialog.
12855 \end_layout
12856
12857 \begin_layout Standard
12858 \begin_inset Float table
12859 placement h
12860 wide false
12861 sideways false
12862 status open
12863
12864 \begin_layout Plain Layout
12865 \begin_inset Caption
12866
12867 \begin_layout Plain Layout
12868 \begin_inset CommandInset label
12869 LatexCommand label
12870 name "tab:Example-booktabs-table"
12871
12872 \end_inset
12873
12874 Example booktabs-table
12875 \end_layout
12876
12877 \end_inset
12878
12879
12880 \end_layout
12881
12882 \begin_layout Plain Layout
12883 \align center
12884 \begin_inset Tabular
12885 <lyxtabular version="3" rows="8" columns="4">
12886 <features booktabs="true" tabularvalignment="middle">
12887 <column alignment="center" valignment="top" width="0">
12888 <column alignment="center" valignment="top" width="0">
12889 <column alignment="center" valignment="top" width="0">
12890 <column alignment="center" valignment="top" width="0">
12891 <row>
12892 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12893 \begin_inset Text
12894
12895 \begin_layout Plain Layout
12896 System
12897 \end_layout
12898
12899 \end_inset
12900 </cell>
12901 <cell alignment="center" valignment="top" topline="true" usebox="none">
12902 \begin_inset Text
12903
12904 \begin_layout Plain Layout
12905 Chip
12906 \begin_inset space \thinspace{}
12907 \end_inset
12908
12909 1
12910 \end_layout
12911
12912 \end_inset
12913 </cell>
12914 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12915 \begin_inset Text
12916
12917 \begin_layout Plain Layout
12918 Chip
12919 \begin_inset space \thinspace{}
12920 \end_inset
12921
12922 2
12923 \end_layout
12924
12925 \end_inset
12926 </cell>
12927 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12928 \begin_inset Text
12929
12930 \begin_layout Plain Layout
12931
12932 \end_layout
12933
12934 \end_inset
12935 </cell>
12936 </row>
12937 <row>
12938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12939 \begin_inset Text
12940
12941 \begin_layout Plain Layout
12942 \begin_inset ERT
12943 status collapsed
12944
12945 \begin_layout Plain Layout
12946
12947
12948 \backslash
12949 cmidrule(r){2-2}
12950 \end_layout
12951
12952 \end_inset
12953
12954
12955 \begin_inset ERT
12956 status collapsed
12957
12958 \begin_layout Plain Layout
12959
12960
12961 \backslash
12962 cmidrule(l){3-4}
12963 \end_layout
12964
12965 \end_inset
12966
12967 Detector thickness in Âµm
12968 \end_layout
12969
12970 \end_inset
12971 </cell>
12972 <cell alignment="center" valignment="top" usebox="none">
12973 \begin_inset Text
12974
12975 \begin_layout Plain Layout
12976 300
12977 \end_layout
12978
12979 \end_inset
12980 </cell>
12981 <cell alignment="center" valignment="top" usebox="none">
12982 \begin_inset Text
12983
12984 \begin_layout Plain Layout
12985 300
12986 \end_layout
12987
12988 \end_inset
12989 </cell>
12990 <cell alignment="center" valignment="top" usebox="none">
12991 \begin_inset Text
12992
12993 \begin_layout Plain Layout
12994 700
12995 \end_layout
12996
12997 \end_inset
12998 </cell>
12999 </row>
13000 <row>
13001 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13002 \begin_inset Text
13003
13004 \begin_layout Plain Layout
13005 Edge angle in Â°
13006 \end_layout
13007
13008 \end_inset
13009 </cell>
13010 <cell alignment="center" valignment="top" topline="true" usebox="none">
13011 \begin_inset Text
13012
13013 \begin_layout Plain Layout
13014 3.55
13015 \end_layout
13016
13017 \end_inset
13018 </cell>
13019 <cell alignment="center" valignment="top" topline="true" usebox="none">
13020 \begin_inset Text
13021
13022 \begin_layout Plain Layout
13023 2.71
13024 \end_layout
13025
13026 \end_inset
13027 </cell>
13028 <cell alignment="center" valignment="top" topline="true" usebox="none">
13029 \begin_inset Text
13030
13031 \begin_layout Plain Layout
13032 7.99
13033 \end_layout
13034
13035 \end_inset
13036 </cell>
13037 </row>
13038 <row topspace="default">
13039 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13040 \begin_inset Text
13041
13042 \begin_layout Plain Layout
13043 Spatial resolution in Âµm
13044 \end_layout
13045
13046 \end_inset
13047 </cell>
13048 <cell alignment="center" valignment="top" usebox="none">
13049 \begin_inset Text
13050
13051 \begin_layout Plain Layout
13052 4.26
13053 \end_layout
13054
13055 \end_inset
13056 </cell>
13057 <cell alignment="center" valignment="top" usebox="none">
13058 \begin_inset Text
13059
13060 \begin_layout Plain Layout
13061 10.17
13062 \end_layout
13063
13064 \end_inset
13065 </cell>
13066 <cell alignment="center" valignment="top" usebox="none">
13067 \begin_inset Text
13068
13069 \begin_layout Plain Layout
13070 10.56
13071 \end_layout
13072
13073 \end_inset
13074 </cell>
13075 </row>
13076 <row topspace="default">
13077 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13078 \begin_inset Text
13079
13080 \begin_layout Plain Layout
13081 MTF at 
13082 \begin_inset Formula $f_{\mathrm{max}}$
13083 \end_inset
13084
13085
13086 \end_layout
13087
13088 \end_inset
13089 </cell>
13090 <cell alignment="center" valignment="top" usebox="none">
13091 \begin_inset Text
13092
13093 \begin_layout Plain Layout
13094 0.53
13095 \end_layout
13096
13097 \end_inset
13098 </cell>
13099 <cell alignment="center" valignment="top" usebox="none">
13100 \begin_inset Text
13101
13102 \begin_layout Plain Layout
13103 0.37
13104 \end_layout
13105
13106 \end_inset
13107 </cell>
13108 <cell alignment="center" valignment="top" usebox="none">
13109 \begin_inset Text
13110
13111 \begin_layout Plain Layout
13112 0.39
13113 \end_layout
13114
13115 \end_inset
13116 </cell>
13117 </row>
13118 <row topspace="default">
13119 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13120 \begin_inset Text
13121
13122 \begin_layout Plain Layout
13123 \begin_inset ERT
13124 status collapsed
13125
13126 \begin_layout Plain Layout
13127
13128
13129 \backslash
13130 cmidrule(l{10pt}){1-1}
13131 \end_layout
13132
13133 \end_inset
13134
13135 LSF-spatial resolution
13136 \end_layout
13137
13138 \end_inset
13139 </cell>
13140 <cell alignment="center" valignment="top" usebox="none">
13141 \begin_inset Text
13142
13143 \begin_layout Plain Layout
13144
13145 \end_layout
13146
13147 \end_inset
13148 </cell>
13149 <cell alignment="center" valignment="top" usebox="none">
13150 \begin_inset Text
13151
13152 \begin_layout Plain Layout
13153
13154 \end_layout
13155
13156 \end_inset
13157 </cell>
13158 <cell alignment="center" valignment="top" usebox="none">
13159 \begin_inset Text
13160
13161 \begin_layout Plain Layout
13162
13163 \end_layout
13164
13165 \end_inset
13166 </cell>
13167 </row>
13168 <row>
13169 <cell alignment="center" valignment="top" rightline="true" usebox="none">
13170 \begin_inset Text
13171
13172 \begin_layout Plain Layout
13173 in Âµm
13174 \end_layout
13175
13176 \end_inset
13177 </cell>
13178 <cell alignment="center" valignment="top" usebox="none">
13179 \begin_inset Text
13180
13181 \begin_layout Plain Layout
13182 129.7
13183 \end_layout
13184
13185 \end_inset
13186 </cell>
13187 <cell alignment="center" valignment="top" usebox="none">
13188 \begin_inset Text
13189
13190 \begin_layout Plain Layout
13191 52.75
13192 \end_layout
13193
13194 \end_inset
13195 </cell>
13196 <cell alignment="center" valignment="top" usebox="none">
13197 \begin_inset Text
13198
13199 \begin_layout Plain Layout
13200 50.78
13201 \end_layout
13202
13203 \end_inset
13204 </cell>
13205 </row>
13206 <row>
13207 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
13208 \begin_inset Text
13209
13210 \begin_layout Plain Layout
13211 in % of pixel size
13212 \end_layout
13213
13214 \end_inset
13215 </cell>
13216 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13217 \begin_inset Text
13218
13219 \begin_layout Plain Layout
13220 76.3
13221 \end_layout
13222
13223 \end_inset
13224 </cell>
13225 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13226 \begin_inset Text
13227
13228 \begin_layout Plain Layout
13229 95.9
13230 \end_layout
13231
13232 \end_inset
13233 </cell>
13234 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13235 \begin_inset Text
13236
13237 \begin_layout Plain Layout
13238 92.3
13239 \end_layout
13240
13241 \end_inset
13242 </cell>
13243 </row>
13244 </lyxtabular>
13245
13246 \end_inset
13247
13248
13249 \end_layout
13250
13251 \end_inset
13252
13253
13254 \end_layout
13255
13256 \begin_layout Standard
13257 Spaces to table rows can be added using the 
13258 \family sans
13259 Borders
13260 \family default
13261  tab of the table dialog as described in section
13262 \begin_inset space ~
13263 \end_inset
13264
13265
13266 \begin_inset CommandInset ref
13267 LatexCommand ref
13268 reference "sub:Row-Spacing"
13269
13270 \end_inset
13271
13272 .
13273 \end_layout
13274
13275 \begin_layout Standard
13276 Unlike normal tables, formal tables have no vertical table lines.
13277  The horizontal table lines can be set as for normal tables but they appear
13278  with different widths in the output:
13279 \begin_inset Newline newline
13280 \end_inset
13281
13282 The first and the last table line have a default width of 0.08
13283 \begin_inset space \thinspace{}
13284 \end_inset
13285
13286 em while the other lines have a default width of 0.05
13287 \begin_inset space \thinspace{}
13288 \end_inset
13289
13290 em.
13291 \end_layout
13292
13293 \begin_layout Standard
13294 The default widths can be changed with the following preamble lines
13295 \end_layout
13296
13297 \begin_layout Standard
13298
13299 \series bold
13300
13301 \backslash
13302 let
13303 \backslash
13304 mytoprule
13305 \backslash
13306 toprule
13307 \begin_inset Newline newline
13308 \end_inset
13309
13310
13311 \backslash
13312 renewcommand{
13313 \backslash
13314 toprule}{
13315 \backslash
13316 mytoprule[width]}
13317 \end_layout
13318
13319 \begin_layout Standard
13320 This example is for the first line, the so called 
13321 \series bold
13322 toprule
13323 \series default
13324 .
13325  If you want to change the width for the last line, replace 
13326 \series bold
13327 toprule
13328 \series default
13329  by 
13330 \series bold
13331 bottomrule
13332 \series default
13333 .
13334  To change the width for the other lines replace 
13335 \series bold
13336 toprule
13337 \series default
13338  by 
13339 \series bold
13340 midrule
13341 \series default
13342 .
13343  You can use all units listed in appendix
13344 \begin_inset space ~
13345 \end_inset
13346
13347
13348 \begin_inset CommandInset ref
13349 LatexCommand ref
13350 reference "cha:Units-available-in"
13351
13352 \end_inset
13353
13354  to set the width.
13355 \end_layout
13356
13357 \begin_layout Standard
13358 Lines that do not span all table columns can be created by setting a table
13359  line for multicolumn cells.
13360  LyX will then internally use the command 
13361 \series bold
13362
13363 \backslash
13364 cmidrule
13365 \series default
13366  to create this line.
13367  Its full scheme is
13368 \end_layout
13369
13370 \begin_layout Standard
13371
13372 \series bold
13373
13374 \backslash
13375 cmidrule[width](trim){startcol-endcol}
13376 \end_layout
13377
13378 \begin_layout Standard
13379 The options of 
13380 \series bold
13381
13382 \backslash
13383 cmidrule
13384 \series default
13385  are currently not supported by LyX so you have to use TeX-Code to be able
13386  to use them.
13387  
13388 \series bold
13389
13390 \backslash
13391 cmidrule
13392 \series default
13393 s can manually be created by inserting the command as TeX-Code as the first
13394  cell entry of the first cell of a row.
13395  The line is then drawn in the output above the current row.
13396 \end_layout
13397
13398 \begin_layout Standard
13399 The default for the width is 0.03
13400 \begin_inset space \thinspace{}
13401 \end_inset
13402
13403 em.
13404  Startcol is the number of the column where the line starts and endcol the
13405  column number where the line ends.
13406  The endcol always needs to be specified, also when the line should span
13407  only one column.
13408  The optional parameter trim could be either 
13409 \emph on
13410 l{trimwidth}
13411 \emph default
13412 , or 
13413 \emph on
13414 r{trimwidth}
13415 \emph default
13416  where the trimwidth is also optional.
13417  Using for example the parameter 
13418 \emph on
13419 l{2pt}
13420 \emph default
13421  means that the line is trimmed from its left end by 2
13422 \begin_inset space \thinspace{}
13423 \end_inset
13424
13425 pt.
13426  If you don't specify the trimwidth the lines are trimmed by the default
13427  of 0.5
13428 \begin_inset space \thinspace{}
13429 \end_inset
13430
13431 em.
13432 \end_layout
13433
13434 \begin_layout Standard
13435 \begin_inset VSpace bigskip
13436 \end_inset
13437
13438 Table
13439 \begin_inset space ~
13440 \end_inset
13441
13442
13443 \begin_inset CommandInset ref
13444 LatexCommand ref
13445 reference "tab:Example-booktabs-table"
13446
13447 \end_inset
13448
13449  was created using the commands
13450 \end_layout
13451
13452 \begin_layout Standard
13453
13454 \series bold
13455
13456 \backslash
13457 cmidrule(r){2-2}
13458 \backslash
13459 cmidrule(l){3-4}
13460 \end_layout
13461
13462 \begin_layout Standard
13463 at the beginning of the second row and
13464 \end_layout
13465
13466 \begin_layout Standard
13467
13468 \series bold
13469
13470 \backslash
13471 cmidrule(l{10pt}){1-1}
13472 \end_layout
13473
13474 \begin_layout Standard
13475 in the sixth row.
13476 \end_layout
13477
13478 \begin_layout Standard
13479 \begin_inset VSpace bigskip
13480 \end_inset
13481
13482
13483 \end_layout
13484
13485 \begin_layout Standard
13486 You might want to have overlapping 
13487 \series bold
13488
13489 \backslash
13490 cmidrule
13491 \series default
13492 s as in in Table
13493 \begin_inset space ~
13494 \end_inset
13495
13496
13497 \begin_inset CommandInset ref
13498 LatexCommand ref
13499 reference "tab:Special-booktabs-table"
13500
13501 \end_inset
13502
13503 .
13504  This can be achieved with the TeX-Code command
13505 \end_layout
13506
13507 \begin_layout Standard
13508
13509 \series bold
13510
13511 \backslash
13512 morecmidrules
13513 \end_layout
13514
13515 \begin_layout Standard
13516 The command that was used for the second row of Table
13517 \begin_inset space ~
13518 \end_inset
13519
13520
13521 \begin_inset CommandInset ref
13522 LatexCommand ref
13523 reference "tab:Special-booktabs-table"
13524
13525 \end_inset
13526
13527  is
13528 \end_layout
13529
13530 \begin_layout Standard
13531
13532 \series bold
13533
13534 \backslash
13535 cmidrule(r){2-2}
13536 \backslash
13537 cmidrule(l){3-4}
13538 \backslash
13539 morecmidrules
13540 \backslash
13541 cmidrule{2-4}
13542 \end_layout
13543
13544 \begin_layout Standard
13545 The command for the sixth row is
13546 \end_layout
13547
13548 \begin_layout Standard
13549
13550 \series bold
13551
13552 \backslash
13553 midrule
13554 \backslash
13555 morecmidrules
13556 \backslash
13557 cmidrule{3-4}
13558 \end_layout
13559
13560 \begin_layout Standard
13561 \begin_inset VSpace bigskip
13562 \end_inset
13563
13564
13565 \end_layout
13566
13567 \begin_layout Standard
13568 If you are anyway not satisfied with the border line spacing, you can use
13569  the following command to produce lines that span over all table columns
13570 \series bold
13571 :
13572 \end_layout
13573
13574 \begin_layout Standard
13575
13576 \series bold
13577
13578 \backslash
13579 specialrule{width}{space above}{space below}
13580 \end_layout
13581
13582 \begin_layout Standard
13583 For more information about these features, refer to the manual of the LaTeX-pack
13584 age 
13585 \series bold
13586 booktabs
13587 \series default
13588  
13589 \begin_inset CommandInset citation
13590 LatexCommand cite
13591 key "booktabs"
13592
13593 \end_inset
13594
13595 .
13596 \begin_inset Index idx
13597 status collapsed
13598
13599 \begin_layout Plain Layout
13600 LaTeX-packages ! booktabs
13601 \end_layout
13602
13603 \end_inset
13604
13605
13606 \end_layout
13607
13608 \begin_layout Standard
13609 \begin_inset Float table
13610 placement h
13611 wide false
13612 sideways false
13613 status open
13614
13615 \begin_layout Plain Layout
13616 \begin_inset Caption
13617
13618 \begin_layout Plain Layout
13619 \begin_inset CommandInset label
13620 LatexCommand label
13621 name "tab:Special-booktabs-table"
13622
13623 \end_inset
13624
13625 Special booktabs-table
13626 \end_layout
13627
13628 \end_inset
13629
13630
13631 \end_layout
13632
13633 \begin_layout Plain Layout
13634 \align center
13635 \begin_inset Tabular
13636 <lyxtabular version="3" rows="8" columns="4">
13637 <features booktabs="true" tabularvalignment="middle">
13638 <column alignment="center" valignment="top" width="0">
13639 <column alignment="center" valignment="top" width="0">
13640 <column alignment="center" valignment="top" width="0">
13641 <column alignment="center" valignment="top" width="0">
13642 <row>
13643 <cell alignment="center" valignment="top" topline="true" usebox="none">
13644 \begin_inset Text
13645
13646 \begin_layout Plain Layout
13647 System
13648 \end_layout
13649
13650 \end_inset
13651 </cell>
13652 <cell alignment="center" valignment="top" topline="true" usebox="none">
13653 \begin_inset Text
13654
13655 \begin_layout Plain Layout
13656 Chip
13657 \begin_inset space \thinspace{}
13658 \end_inset
13659
13660 1
13661 \end_layout
13662
13663 \end_inset
13664 </cell>
13665 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
13666 \begin_inset Text
13667
13668 \begin_layout Plain Layout
13669 Chip
13670 \begin_inset space \thinspace{}
13671 \end_inset
13672
13673 2
13674 \end_layout
13675
13676 \end_inset
13677 </cell>
13678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13679 \begin_inset Text
13680
13681 \begin_layout Plain Layout
13682
13683 \end_layout
13684
13685 \end_inset
13686 </cell>
13687 </row>
13688 <row>
13689 <cell alignment="center" valignment="top" usebox="none">
13690 \begin_inset Text
13691
13692 \begin_layout Plain Layout
13693 \begin_inset ERT
13694 status collapsed
13695
13696 \begin_layout Plain Layout
13697
13698
13699 \backslash
13700 cmidrule(r){2-2}
13701 \end_layout
13702
13703 \end_inset
13704
13705
13706 \begin_inset ERT
13707 status collapsed
13708
13709 \begin_layout Plain Layout
13710
13711
13712 \backslash
13713 cmidrule(l){3-4}
13714 \end_layout
13715
13716 \end_inset
13717
13718
13719 \begin_inset ERT
13720 status collapsed
13721
13722 \begin_layout Plain Layout
13723
13724
13725 \backslash
13726 morecmidrules 
13727 \end_layout
13728
13729 \end_inset
13730
13731
13732 \begin_inset ERT
13733 status collapsed
13734
13735 \begin_layout Plain Layout
13736
13737
13738 \backslash
13739 cmidrule{2-4}
13740 \end_layout
13741
13742 \end_inset
13743
13744 Detector thickness in Âµm
13745 \end_layout
13746
13747 \end_inset
13748 </cell>
13749 <cell alignment="center" valignment="top" usebox="none">
13750 \begin_inset Text
13751
13752 \begin_layout Plain Layout
13753 300
13754 \end_layout
13755
13756 \end_inset
13757 </cell>
13758 <cell alignment="center" valignment="top" usebox="none">
13759 \begin_inset Text
13760
13761 \begin_layout Plain Layout
13762 300
13763 \end_layout
13764
13765 \end_inset
13766 </cell>
13767 <cell alignment="center" valignment="top" usebox="none">
13768 \begin_inset Text
13769
13770 \begin_layout Plain Layout
13771 700
13772 \end_layout
13773
13774 \end_inset
13775 </cell>
13776 </row>
13777 <row>
13778 <cell alignment="center" valignment="top" topline="true" usebox="none">
13779 \begin_inset Text
13780
13781 \begin_layout Plain Layout
13782 Edge angle in Â°
13783 \end_layout
13784
13785 \end_inset
13786 </cell>
13787 <cell alignment="center" valignment="top" topline="true" usebox="none">
13788 \begin_inset Text
13789
13790 \begin_layout Plain Layout
13791 3.55
13792 \end_layout
13793
13794 \end_inset
13795 </cell>
13796 <cell alignment="center" valignment="top" topline="true" usebox="none">
13797 \begin_inset Text
13798
13799 \begin_layout Plain Layout
13800 2.71
13801 \end_layout
13802
13803 \end_inset
13804 </cell>
13805 <cell alignment="center" valignment="top" topline="true" usebox="none">
13806 \begin_inset Text
13807
13808 \begin_layout Plain Layout
13809 7.99
13810 \end_layout
13811
13812 \end_inset
13813 </cell>
13814 </row>
13815 <row topspace="default">
13816 <cell alignment="center" valignment="top" usebox="none">
13817 \begin_inset Text
13818
13819 \begin_layout Plain Layout
13820 Spatial resolution in Âµm
13821 \end_layout
13822
13823 \end_inset
13824 </cell>
13825 <cell alignment="center" valignment="top" usebox="none">
13826 \begin_inset Text
13827
13828 \begin_layout Plain Layout
13829 4.26
13830 \end_layout
13831
13832 \end_inset
13833 </cell>
13834 <cell alignment="center" valignment="top" usebox="none">
13835 \begin_inset Text
13836
13837 \begin_layout Plain Layout
13838 10.17
13839 \end_layout
13840
13841 \end_inset
13842 </cell>
13843 <cell alignment="center" valignment="top" usebox="none">
13844 \begin_inset Text
13845
13846 \begin_layout Plain Layout
13847 10.56
13848 \end_layout
13849
13850 \end_inset
13851 </cell>
13852 </row>
13853 <row topspace="default">
13854 <cell alignment="center" valignment="top" usebox="none">
13855 \begin_inset Text
13856
13857 \begin_layout Plain Layout
13858 MTF at 
13859 \begin_inset Formula $f_{\mathrm{max}}$
13860 \end_inset
13861
13862
13863 \end_layout
13864
13865 \end_inset
13866 </cell>
13867 <cell alignment="center" valignment="top" usebox="none">
13868 \begin_inset Text
13869
13870 \begin_layout Plain Layout
13871 0.53
13872 \end_layout
13873
13874 \end_inset
13875 </cell>
13876 <cell alignment="center" valignment="top" usebox="none">
13877 \begin_inset Text
13878
13879 \begin_layout Plain Layout
13880 0.37
13881 \end_layout
13882
13883 \end_inset
13884 </cell>
13885 <cell alignment="center" valignment="top" usebox="none">
13886 \begin_inset Text
13887
13888 \begin_layout Plain Layout
13889 0.39
13890 \end_layout
13891
13892 \end_inset
13893 </cell>
13894 </row>
13895 <row>
13896 <cell alignment="center" valignment="top" topline="true" usebox="none">
13897 \begin_inset Text
13898
13899 \begin_layout Plain Layout
13900 \begin_inset ERT
13901 status collapsed
13902
13903 \begin_layout Plain Layout
13904
13905
13906 \backslash
13907 morecmidrules 
13908 \end_layout
13909
13910 \end_inset
13911
13912
13913 \begin_inset ERT
13914 status collapsed
13915
13916 \begin_layout Plain Layout
13917
13918
13919 \backslash
13920 cmidrule{3-4}
13921 \end_layout
13922
13923 \end_inset
13924
13925 LSF-spatial resolution
13926 \end_layout
13927
13928 \end_inset
13929 </cell>
13930 <cell alignment="center" valignment="top" topline="true" usebox="none">
13931 \begin_inset Text
13932
13933 \begin_layout Plain Layout
13934
13935 \end_layout
13936
13937 \end_inset
13938 </cell>
13939 <cell alignment="center" valignment="top" topline="true" usebox="none">
13940 \begin_inset Text
13941
13942 \begin_layout Plain Layout
13943
13944 \end_layout
13945
13946 \end_inset
13947 </cell>
13948 <cell alignment="center" valignment="top" topline="true" usebox="none">
13949 \begin_inset Text
13950
13951 \begin_layout Plain Layout
13952
13953 \end_layout
13954
13955 \end_inset
13956 </cell>
13957 </row>
13958 <row>
13959 <cell alignment="center" valignment="top" usebox="none">
13960 \begin_inset Text
13961
13962 \begin_layout Plain Layout
13963 in Âµm
13964 \end_layout
13965
13966 \end_inset
13967 </cell>
13968 <cell alignment="center" valignment="top" usebox="none">
13969 \begin_inset Text
13970
13971 \begin_layout Plain Layout
13972 129.7
13973 \end_layout
13974
13975 \end_inset
13976 </cell>
13977 <cell alignment="center" valignment="top" usebox="none">
13978 \begin_inset Text
13979
13980 \begin_layout Plain Layout
13981 52.75
13982 \end_layout
13983
13984 \end_inset
13985 </cell>
13986 <cell alignment="center" valignment="top" usebox="none">
13987 \begin_inset Text
13988
13989 \begin_layout Plain Layout
13990 50.78
13991 \end_layout
13992
13993 \end_inset
13994 </cell>
13995 </row>
13996 <row>
13997 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13998 \begin_inset Text
13999
14000 \begin_layout Plain Layout
14001 in % of pixel size
14002 \end_layout
14003
14004 \end_inset
14005 </cell>
14006 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14007 \begin_inset Text
14008
14009 \begin_layout Plain Layout
14010 76.3
14011 \end_layout
14012
14013 \end_inset
14014 </cell>
14015 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14016 \begin_inset Text
14017
14018 \begin_layout Plain Layout
14019 95.9
14020 \end_layout
14021
14022 \end_inset
14023 </cell>
14024 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14025 \begin_inset Text
14026
14027 \begin_layout Plain Layout
14028 92.3
14029 \end_layout
14030
14031 \end_inset
14032 </cell>
14033 </row>
14034 </lyxtabular>
14035
14036 \end_inset
14037
14038
14039 \end_layout
14040
14041 \end_inset
14042
14043
14044 \end_layout
14045
14046 \begin_layout Section
14047 Vertical Table Alignment
14048 \begin_inset Index idx
14049 status collapsed
14050
14051 \begin_layout Plain Layout
14052 Table ! Alignment
14053 \end_layout
14054
14055 \end_inset
14056
14057
14058 \end_layout
14059
14060 \begin_layout Standard
14061 To align tables vertically in a text line the table must be inside a box.
14062  The box can then be vertically aligned as described in section
14063 \begin_inset space ~
14064 \end_inset
14065
14066
14067 \begin_inset CommandInset ref
14068 LatexCommand ref
14069 reference "sec:Box-Dialog"
14070
14071 \end_inset
14072
14073 .
14074 \end_layout
14075
14076 \begin_layout Standard
14077 In the following example the tables are inside a minipage
14078 \begin_inset Foot
14079 status collapsed
14080
14081 \begin_layout Plain Layout
14082 Minipages are described in section
14083 \begin_inset space ~
14084 \end_inset
14085
14086
14087 \begin_inset CommandInset ref
14088 LatexCommand ref
14089 reference "sec:Minipages"
14090
14091 \end_inset
14092
14093 .
14094 \end_layout
14095
14096 \end_inset
14097
14098  box that has a width of 15
14099 \begin_inset space \thinspace{}
14100 \end_inset
14101
14102 col%:
14103 \end_layout
14104
14105 \begin_layout Itemize
14106 test 
14107 \begin_inset Box Frameless
14108 position "t"
14109 hor_pos "c"
14110 has_inner_box 1
14111 inner_pos "c"
14112 use_parbox 0
14113 use_makebox 0
14114 width "15col%"
14115 special "none"
14116 height "1in"
14117 height_special "totalheight"
14118 status collapsed
14119
14120 \begin_layout Plain Layout
14121 \begin_inset Tabular
14122 <lyxtabular version="3" rows="3" columns="3">
14123 <features tabularvalignment="middle">
14124 <column alignment="center" valignment="top" width="0">
14125 <column alignment="center" valignment="top" width="0">
14126 <column alignment="center" valignment="top" width="0">
14127 <row>
14128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14129 \begin_inset Text
14130
14131 \begin_layout Plain Layout
14132 a
14133 \end_layout
14134
14135 \end_inset
14136 </cell>
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Plain Layout
14141 d
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14147 \begin_inset Text
14148
14149 \begin_layout Plain Layout
14150 g
14151 \end_layout
14152
14153 \end_inset
14154 </cell>
14155 </row>
14156 <row>
14157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14158 \begin_inset Text
14159
14160 \begin_layout Plain Layout
14161 b
14162 \end_layout
14163
14164 \end_inset
14165 </cell>
14166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14167 \begin_inset Text
14168
14169 \begin_layout Plain Layout
14170 e
14171 \end_layout
14172
14173 \end_inset
14174 </cell>
14175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14176 \begin_inset Text
14177
14178 \begin_layout Plain Layout
14179 h
14180 \end_layout
14181
14182 \end_inset
14183 </cell>
14184 </row>
14185 <row>
14186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14187 \begin_inset Text
14188
14189 \begin_layout Plain Layout
14190 c
14191 \end_layout
14192
14193 \end_inset
14194 </cell>
14195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14196 \begin_inset Text
14197
14198 \begin_layout Plain Layout
14199 f
14200 \end_layout
14201
14202 \end_inset
14203 </cell>
14204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14205 \begin_inset Text
14206
14207 \begin_layout Plain Layout
14208 i
14209 \end_layout
14210
14211 \end_inset
14212 </cell>
14213 </row>
14214 </lyxtabular>
14215
14216 \end_inset
14217
14218
14219 \end_layout
14220
14221 \end_inset
14222
14223  test 
14224 \begin_inset ERT
14225 status collapsed
14226
14227 \begin_layout Plain Layout
14228
14229
14230 \backslash
14231 raisebox{0.85
14232 \backslash
14233 baselineskip}{
14234 \end_layout
14235
14236 \end_inset
14237
14238
14239 \begin_inset Box Frameless
14240 position "t"
14241 hor_pos "c"
14242 has_inner_box 1
14243 inner_pos "c"
14244 use_parbox 0
14245 use_makebox 0
14246 width "15col%"
14247 special "none"
14248 height "1in"
14249 height_special "totalheight"
14250 status collapsed
14251
14252 \begin_layout Plain Layout
14253 \begin_inset Tabular
14254 <lyxtabular version="3" rows="3" columns="3">
14255 <features tabularvalignment="middle">
14256 <column alignment="center" valignment="top" width="0">
14257 <column alignment="center" valignment="top" width="0">
14258 <column alignment="center" valignment="top" width="0">
14259 <row>
14260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14261 \begin_inset Text
14262
14263 \begin_layout Plain Layout
14264 a
14265 \end_layout
14266
14267 \end_inset
14268 </cell>
14269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14270 \begin_inset Text
14271
14272 \begin_layout Plain Layout
14273 d
14274 \end_layout
14275
14276 \end_inset
14277 </cell>
14278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14279 \begin_inset Text
14280
14281 \begin_layout Plain Layout
14282 g
14283 \end_layout
14284
14285 \end_inset
14286 </cell>
14287 </row>
14288 <row>
14289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14290 \begin_inset Text
14291
14292 \begin_layout Plain Layout
14293 b
14294 \end_layout
14295
14296 \end_inset
14297 </cell>
14298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14299 \begin_inset Text
14300
14301 \begin_layout Plain Layout
14302 e
14303 \end_layout
14304
14305 \end_inset
14306 </cell>
14307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14308 \begin_inset Text
14309
14310 \begin_layout Plain Layout
14311 h
14312 \end_layout
14313
14314 \end_inset
14315 </cell>
14316 </row>
14317 <row>
14318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14319 \begin_inset Text
14320
14321 \begin_layout Plain Layout
14322 c
14323 \end_layout
14324
14325 \end_inset
14326 </cell>
14327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14328 \begin_inset Text
14329
14330 \begin_layout Plain Layout
14331 f
14332 \end_layout
14333
14334 \end_inset
14335 </cell>
14336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14337 \begin_inset Text
14338
14339 \begin_layout Plain Layout
14340 i
14341 \end_layout
14342
14343 \end_inset
14344 </cell>
14345 </row>
14346 </lyxtabular>
14347
14348 \end_inset
14349
14350
14351 \end_layout
14352
14353 \end_inset
14354
14355
14356 \begin_inset ERT
14357 status collapsed
14358
14359 \begin_layout Plain Layout
14360
14361 }
14362 \end_layout
14363
14364 \end_inset
14365
14366
14367 \end_layout
14368
14369 \begin_layout Itemize
14370 test 
14371 \begin_inset Box Frameless
14372 position "c"
14373 hor_pos "c"
14374 has_inner_box 1
14375 inner_pos "c"
14376 use_parbox 0
14377 use_makebox 0
14378 width "15col%"
14379 special "none"
14380 height "1in"
14381 height_special "totalheight"
14382 status collapsed
14383
14384 \begin_layout Plain Layout
14385 \begin_inset Tabular
14386 <lyxtabular version="3" rows="3" columns="3">
14387 <features tabularvalignment="middle">
14388 <column alignment="center" valignment="top" width="0">
14389 <column alignment="center" valignment="top" width="0">
14390 <column alignment="center" valignment="top" width="0">
14391 <row>
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14393 \begin_inset Text
14394
14395 \begin_layout Plain Layout
14396 a
14397 \end_layout
14398
14399 \end_inset
14400 </cell>
14401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14402 \begin_inset Text
14403
14404 \begin_layout Plain Layout
14405 d
14406 \end_layout
14407
14408 \end_inset
14409 </cell>
14410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14411 \begin_inset Text
14412
14413 \begin_layout Plain Layout
14414 g
14415 \end_layout
14416
14417 \end_inset
14418 </cell>
14419 </row>
14420 <row>
14421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14422 \begin_inset Text
14423
14424 \begin_layout Plain Layout
14425 b
14426 \end_layout
14427
14428 \end_inset
14429 </cell>
14430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14431 \begin_inset Text
14432
14433 \begin_layout Plain Layout
14434 e
14435 \end_layout
14436
14437 \end_inset
14438 </cell>
14439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14440 \begin_inset Text
14441
14442 \begin_layout Plain Layout
14443 h
14444 \end_layout
14445
14446 \end_inset
14447 </cell>
14448 </row>
14449 <row>
14450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14451 \begin_inset Text
14452
14453 \begin_layout Plain Layout
14454 c
14455 \end_layout
14456
14457 \end_inset
14458 </cell>
14459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14460 \begin_inset Text
14461
14462 \begin_layout Plain Layout
14463 f
14464 \end_layout
14465
14466 \end_inset
14467 </cell>
14468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14469 \begin_inset Text
14470
14471 \begin_layout Plain Layout
14472 i
14473 \end_layout
14474
14475 \end_inset
14476 </cell>
14477 </row>
14478 </lyxtabular>
14479
14480 \end_inset
14481
14482
14483 \end_layout
14484
14485 \end_inset
14486
14487
14488 \end_layout
14489
14490 \begin_layout Itemize
14491 test 
14492 \begin_inset Box Frameless
14493 position "b"
14494 hor_pos "c"
14495 has_inner_box 1
14496 inner_pos "c"
14497 use_parbox 0
14498 use_makebox 0
14499 width "15col%"
14500 special "none"
14501 height "1in"
14502 height_special "totalheight"
14503 status collapsed
14504
14505 \begin_layout Plain Layout
14506 \begin_inset Tabular
14507 <lyxtabular version="3" rows="3" columns="3">
14508 <features tabularvalignment="middle">
14509 <column alignment="center" valignment="top" width="0">
14510 <column alignment="center" valignment="top" width="0">
14511 <column alignment="center" valignment="top" width="0">
14512 <row>
14513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14514 \begin_inset Text
14515
14516 \begin_layout Plain Layout
14517 a
14518 \end_layout
14519
14520 \end_inset
14521 </cell>
14522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14523 \begin_inset Text
14524
14525 \begin_layout Plain Layout
14526 d
14527 \end_layout
14528
14529 \end_inset
14530 </cell>
14531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14532 \begin_inset Text
14533
14534 \begin_layout Plain Layout
14535 g
14536 \end_layout
14537
14538 \end_inset
14539 </cell>
14540 </row>
14541 <row>
14542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14543 \begin_inset Text
14544
14545 \begin_layout Plain Layout
14546 b
14547 \end_layout
14548
14549 \end_inset
14550 </cell>
14551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14552 \begin_inset Text
14553
14554 \begin_layout Plain Layout
14555 e
14556 \end_layout
14557
14558 \end_inset
14559 </cell>
14560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14561 \begin_inset Text
14562
14563 \begin_layout Plain Layout
14564 h
14565 \end_layout
14566
14567 \end_inset
14568 </cell>
14569 </row>
14570 <row>
14571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14572 \begin_inset Text
14573
14574 \begin_layout Plain Layout
14575 c
14576 \end_layout
14577
14578 \end_inset
14579 </cell>
14580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14581 \begin_inset Text
14582
14583 \begin_layout Plain Layout
14584 f
14585 \end_layout
14586
14587 \end_inset
14588 </cell>
14589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14590 \begin_inset Text
14591
14592 \begin_layout Plain Layout
14593 i
14594 \end_layout
14595
14596 \end_inset
14597 </cell>
14598 </row>
14599 </lyxtabular>
14600
14601 \end_inset
14602
14603
14604 \end_layout
14605
14606 \end_inset
14607
14608  test 
14609 \begin_inset ERT
14610 status collapsed
14611
14612 \begin_layout Plain Layout
14613
14614
14615 \backslash
14616 raisebox{-0.32
14617 \backslash
14618 baselineskip}{
14619 \end_layout
14620
14621 \end_inset
14622
14623
14624 \begin_inset Box Frameless
14625 position "b"
14626 hor_pos "c"
14627 has_inner_box 1
14628 inner_pos "c"
14629 use_parbox 0
14630 use_makebox 0
14631 width "15col%"
14632 special "none"
14633 height "1in"
14634 height_special "totalheight"
14635 status collapsed
14636
14637 \begin_layout Plain Layout
14638 \begin_inset Tabular
14639 <lyxtabular version="3" rows="3" columns="3">
14640 <features tabularvalignment="middle">
14641 <column alignment="center" valignment="top" width="0">
14642 <column alignment="center" valignment="top" width="0">
14643 <column alignment="center" valignment="top" width="0">
14644 <row>
14645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14646 \begin_inset Text
14647
14648 \begin_layout Plain Layout
14649 a
14650 \end_layout
14651
14652 \end_inset
14653 </cell>
14654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14655 \begin_inset Text
14656
14657 \begin_layout Plain Layout
14658 d
14659 \end_layout
14660
14661 \end_inset
14662 </cell>
14663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14664 \begin_inset Text
14665
14666 \begin_layout Plain Layout
14667 g
14668 \end_layout
14669
14670 \end_inset
14671 </cell>
14672 </row>
14673 <row>
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14675 \begin_inset Text
14676
14677 \begin_layout Plain Layout
14678 b
14679 \end_layout
14680
14681 \end_inset
14682 </cell>
14683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14684 \begin_inset Text
14685
14686 \begin_layout Plain Layout
14687 e
14688 \end_layout
14689
14690 \end_inset
14691 </cell>
14692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14693 \begin_inset Text
14694
14695 \begin_layout Plain Layout
14696 h
14697 \end_layout
14698
14699 \end_inset
14700 </cell>
14701 </row>
14702 <row>
14703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14704 \begin_inset Text
14705
14706 \begin_layout Plain Layout
14707 c
14708 \end_layout
14709
14710 \end_inset
14711 </cell>
14712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14713 \begin_inset Text
14714
14715 \begin_layout Plain Layout
14716 f
14717 \end_layout
14718
14719 \end_inset
14720 </cell>
14721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14722 \begin_inset Text
14723
14724 \begin_layout Plain Layout
14725 i
14726 \end_layout
14727
14728 \end_inset
14729 </cell>
14730 </row>
14731 </lyxtabular>
14732
14733 \end_inset
14734
14735
14736 \end_layout
14737
14738 \end_inset
14739
14740
14741 \begin_inset ERT
14742 status collapsed
14743
14744 \begin_layout Plain Layout
14745
14746 }
14747 \end_layout
14748
14749 \end_inset
14750
14751
14752 \end_layout
14753
14754 \begin_layout Standard
14755 As you will see, the content of the first and last table row is not correctly
14756  aligned.
14757  To get this alignment, the minipage box must be set into a raisebox
14758 \begin_inset Foot
14759 status collapsed
14760
14761 \begin_layout Plain Layout
14762 Raiseboxes are described in section
14763 \begin_inset space ~
14764 \end_inset
14765
14766
14767 \begin_inset CommandInset ref
14768 LatexCommand ref
14769 reference "sub:Vertical-Alignment"
14770
14771 \end_inset
14772
14773 .
14774 \end_layout
14775
14776 \end_inset
14777
14778 .
14779  In the example above the second table in the first item is aligned using
14780  the TeX-Code-command
14781 \end_layout
14782
14783 \begin_layout Standard
14784
14785 \series bold
14786
14787 \backslash
14788 raisebox{0.85
14789 \backslash
14790 baselineskip}{
14791 \end_layout
14792
14793 \begin_layout Standard
14794 before the box.
14795  After the box the closing brace 
14796 \series bold
14797 }
14798 \series default
14799  is inserted as TeX-Code.
14800  For the second table in the last item the command
14801 \end_layout
14802
14803 \begin_layout Standard
14804
14805 \series bold
14806
14807 \backslash
14808 raisebox{-0.32
14809 \backslash
14810 baselineskip}{
14811 \end_layout
14812
14813 \begin_layout Standard
14814 is used.
14815 \end_layout
14816
14817 \begin_layout Standard
14818 \begin_inset Note Greyedout
14819 status open
14820
14821 \begin_layout Plain Layout
14822
14823 \series bold
14824 Note:
14825 \series default
14826  The alignment of the table row content to the surrounding text line is
14827  not exact.
14828  The required value for the 
14829 \series bold
14830
14831 \backslash
14832 raisebox
14833 \series default
14834  command for this alignment depends on the document font, the font size,
14835  and the table line thickness.
14836 \end_layout
14837
14838 \end_inset
14839
14840
14841 \end_layout
14842
14843 \begin_layout Section
14844 Colored Tables
14845 \begin_inset CommandInset label
14846 LatexCommand label
14847 name "sec:Colored-Tables"
14848
14849 \end_inset
14850
14851
14852 \begin_inset Index idx
14853 status collapsed
14854
14855 \begin_layout Plain Layout
14856 Table ! Color
14857 \end_layout
14858
14859 \end_inset
14860
14861
14862 \end_layout
14863
14864 \begin_layout Subsection
14865 Colored Cells
14866 \begin_inset Index idx
14867 status collapsed
14868
14869 \begin_layout Plain Layout
14870 Table Color ! for Cells
14871 \end_layout
14872
14873 \end_inset
14874
14875
14876 \begin_inset Index idx
14877 status collapsed
14878
14879 \begin_layout Plain Layout
14880 Color ! for Table Cells
14881 \end_layout
14882
14883 \end_inset
14884
14885
14886 \end_layout
14887
14888 \begin_layout Standard
14889 \begin_inset Float table
14890 placement h
14891 wide false
14892 sideways false
14893 status open
14894
14895 \begin_layout Plain Layout
14896 \begin_inset Caption
14897
14898 \begin_layout Plain Layout
14899 \begin_inset CommandInset label
14900 LatexCommand label
14901 name "tab:Table-colored-without"
14902
14903 \end_inset
14904
14905 Table colored without using the package 
14906 \series bold
14907 colortbl
14908 \series default
14909
14910 \begin_inset Argument
14911 status collapsed
14912
14913 \begin_layout Plain Layout
14914 Table without colortbl
14915 \end_layout
14916
14917 \end_inset
14918
14919
14920 \end_layout
14921
14922 \end_inset
14923
14924
14925 \end_layout
14926
14927 \begin_layout Plain Layout
14928 \align center
14929 \begin_inset Tabular
14930 <lyxtabular version="3" rows="3" columns="3">
14931 <features tabularvalignment="middle">
14932 <column alignment="center" valignment="top" width="0">
14933 <column alignment="center" valignment="top" width="0">
14934 <column alignment="center" valignment="top" width="0">
14935 <row>
14936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14937 \begin_inset Text
14938
14939 \begin_layout Plain Layout
14940
14941 \color green
14942 a
14943 \end_layout
14944
14945 \end_inset
14946 </cell>
14947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14948 \begin_inset Text
14949
14950 \begin_layout Plain Layout
14951
14952 \color red
14953 b
14954 \end_layout
14955
14956 \end_inset
14957 </cell>
14958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14959 \begin_inset Text
14960
14961 \begin_layout Plain Layout
14962
14963 \color red
14964 c
14965 \end_layout
14966
14967 \end_inset
14968 </cell>
14969 </row>
14970 <row>
14971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14972 \begin_inset Text
14973
14974 \begin_layout Plain Layout
14975
14976 \color green
14977 d
14978 \end_layout
14979
14980 \end_inset
14981 </cell>
14982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14983 \begin_inset Text
14984
14985 \begin_layout Plain Layout
14986
14987 \color blue
14988 e
14989 \end_layout
14990
14991 \end_inset
14992 </cell>
14993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14994 \begin_inset Text
14995
14996 \begin_layout Plain Layout
14997
14998 \color blue
14999 f
15000 \end_layout
15001
15002 \end_inset
15003 </cell>
15004 </row>
15005 <row>
15006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15007 \begin_inset Text
15008
15009 \begin_layout Plain Layout
15010
15011 \color green
15012 g
15013 \end_layout
15014
15015 \end_inset
15016 </cell>
15017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15018 \begin_inset Text
15019
15020 \begin_layout Plain Layout
15021
15022 \color blue
15023 h
15024 \end_layout
15025
15026 \end_inset
15027 </cell>
15028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15029 \begin_inset Text
15030
15031 \begin_layout Plain Layout
15032
15033 \color blue
15034 i
15035 \end_layout
15036
15037 \end_inset
15038 </cell>
15039 </row>
15040 </lyxtabular>
15041
15042 \end_inset
15043
15044
15045 \end_layout
15046
15047 \end_inset
15048
15049
15050 \end_layout
15051
15052 \begin_layout Standard
15053 If you only need colored text, mark the cells and choose a color in the
15054  menu 
15055 \family sans
15056 Edit\SpecialChar \menuseparator
15057 Text
15058 \begin_inset space ~
15059 \end_inset
15060
15061 Style
15062 \family default
15063 .
15064  This was used to create Table
15065 \begin_inset space ~
15066 \end_inset
15067
15068
15069 \begin_inset CommandInset ref
15070 LatexCommand ref
15071 reference "tab:Table-colored-without"
15072
15073 \end_inset
15074
15075 .
15076  In any other case you have to use the LaTeX-package 
15077 \series bold
15078 colortbl
15079 \series default
15080 .
15081 \begin_inset Index idx
15082 status collapsed
15083
15084 \begin_layout Plain Layout
15085 LaTeX-packages ! colortbl
15086 \end_layout
15087
15088 \end_inset
15089
15090
15091 \end_layout
15092
15093 \begin_layout Standard
15094 \begin_inset ERT
15095 status collapsed
15096
15097 \begin_layout Plain Layout
15098
15099
15100 \backslash
15101 ifcolortbl
15102 \end_layout
15103
15104 \end_inset
15105
15106
15107 \begin_inset Note Note
15108 status open
15109
15110 \begin_layout Plain Layout
15111 The following section part will only be displayed when the LaTeX-package
15112  
15113 \series bold
15114 colortbl
15115 \series default
15116  is installed.
15117 \end_layout
15118
15119 \end_inset
15120
15121
15122 \end_layout
15123
15124 \begin_layout Standard
15125 To create colored tables, 
15126 \series bold
15127 colortbl
15128 \series default
15129  must be loaded in the preamble with the line
15130 \end_layout
15131
15132 \begin_layout Standard
15133
15134 \series bold
15135
15136 \backslash
15137 usepackage{colortbl}
15138 \end_layout
15139
15140 \begin_layout Standard
15141 The color of a column is adjusted with the command
15142 \end_layout
15143
15144 \begin_layout Standard
15145
15146 \series bold
15147
15148 \backslash
15149 columncolor{name of color}
15150 \end_layout
15151
15152 \begin_layout Standard
15153 inside the command 
15154 \series bold
15155 >{ }
15156 \series default
15157 .
15158  More about the command 
15159 \series bold
15160 >{}
15161 \series default
15162  is contained in section
15163 \begin_inset space ~
15164 \end_inset
15165
15166
15167 \begin_inset CommandInset ref
15168 LatexCommand ref
15169 reference "sub:Multicolumn-Calculations"
15170
15171 \end_inset
15172
15173 .
15174 \end_layout
15175
15176 \begin_layout Standard
15177 The following color names are predefined:
15178 \end_layout
15179
15180 \begin_layout Standard
15181
15182 \family sans
15183 red
15184 \family default
15185
15186 \family sans
15187 green
15188 \family default
15189
15190 \family sans
15191 yellow
15192 \family default
15193
15194 \family sans
15195 blue
15196 \family default
15197
15198 \family sans
15199 cyan
15200 \family default
15201
15202 \family sans
15203 magenta
15204 \family default
15205
15206 \family sans
15207 black
15208 \family default
15209  and 
15210 \family sans
15211 white
15212 \end_layout
15213
15214 \begin_layout Standard
15215 \begin_inset VSpace medskip
15216 \end_inset
15217
15218
15219 \end_layout
15220
15221 \begin_layout Standard
15222 You can also define your own color with the command
15223 \end_layout
15224
15225 \begin_layout Standard
15226
15227 \series bold
15228
15229 \backslash
15230 definecolor{color name}{color model}{color values}
15231 \end_layout
15232
15233 \begin_layout Standard
15234 The color model can be
15235 \end_layout
15236
15237 \begin_layout Labeling
15238 \labelwidthstring 00.00.0000
15239 cmyk: cyan, magenta, yellow, black
15240 \end_layout
15241
15242 \begin_layout Labeling
15243 \labelwidthstring 00.00.0000
15244 rgb: red, green blue
15245 \end_layout
15246
15247 \begin_layout Labeling
15248 \labelwidthstring 00.00.0000
15249 gray gray
15250 \end_layout
15251
15252 \begin_layout Standard
15253 and the color values are comma separated numbers between 0 and 1 describing
15254  the factor for the corresponding color of the color model.
15255 \end_layout
15256
15257 \begin_layout Standard
15258 You can e.
15259 \begin_inset space \thinspace{}
15260 \end_inset
15261
15262 g.
15263 \begin_inset space \space{}
15264 \end_inset
15265
15266 define the color "
15267 \emph on
15268 darkgreen
15269 \emph default
15270 " in the preamble with
15271 \end_layout
15272
15273 \begin_layout Standard
15274
15275 \series bold
15276
15277 \backslash
15278 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
15279 \end_layout
15280
15281 \begin_layout Standard
15282 and the color "
15283 \emph on
15284 lightgray
15285 \emph default
15286 " with
15287 \end_layout
15288
15289 \begin_layout Standard
15290
15291 \series bold
15292
15293 \backslash
15294 definecolor{lightgray}{gray}{0.8}
15295 \end_layout
15296
15297 \begin_layout Standard
15298 \begin_inset VSpace medskip
15299 \end_inset
15300
15301
15302 \end_layout
15303
15304 \begin_layout Standard
15305 Lines are colored with the command
15306 \end_layout
15307
15308 \begin_layout Standard
15309
15310 \series bold
15311
15312 \backslash
15313 rowcolor{name of color}
15314 \end_layout
15315
15316 \begin_layout Standard
15317 and cells are colored with the command
15318 \end_layout
15319
15320 \begin_layout Standard
15321
15322 \series bold
15323
15324 \backslash
15325 cellcolor{name of color}
15326 \end_layout
15327
15328 \begin_layout Standard
15329 Both commands are inserted at the beginning of a cell as TeX-Code.
15330 \end_layout
15331
15332 \begin_layout Standard
15333 To color characters in the table, mark the cells and use the LyX menu 
15334 \family sans
15335 Edit\SpecialChar \menuseparator
15336 Text
15337 \begin_inset space ~
15338 \end_inset
15339
15340 Style
15341 \family default
15342 .
15343  If a cell contains TeX-Code mark only the characters, otherwise the colored
15344  TeX-Code will cause LaTeX-errors.
15345 \end_layout
15346
15347 \begin_layout Standard
15348 \begin_inset Note Greyedout
15349 status open
15350
15351 \begin_layout Plain Layout
15352
15353 \series bold
15354 Note:
15355 \series default
15356  Not all DVI-viewers are able to display self-defined colors.
15357 \end_layout
15358
15359 \end_inset
15360
15361
15362 \end_layout
15363
15364 \begin_layout Standard
15365 \begin_inset VSpace bigskip
15366 \end_inset
15367
15368
15369 \end_layout
15370
15371 \begin_layout Standard
15372 To create Table
15373 \begin_inset space ~
15374 \end_inset
15375
15376
15377 \begin_inset CommandInset ref
15378 LatexCommand ref
15379 reference "tab:Table-colored-using"
15380
15381 \end_inset
15382
15383  do the following: The color of the first column should be 
15384 \emph on
15385 darkgreen
15386 \emph default
15387 .
15388  So insert
15389 \end_layout
15390
15391 \begin_layout Standard
15392
15393 \series bold
15394 >{
15395 \backslash
15396 columncolor{darkgreen}
15397 \backslash
15398 centering}c
15399 \end_layout
15400
15401 \begin_layout Standard
15402 as LaTeX-argument for this column.
15403  The first row should be blue, therefore the TeX-Code command
15404 \end_layout
15405
15406 \begin_layout Standard
15407
15408 \series bold
15409
15410 \backslash
15411 rowcolor{cyan}
15412 \end_layout
15413
15414 \begin_layout Standard
15415 is inserted to the first cell of this row.
15416  Note that this overwrites the column color for the first cell.
15417  The last cell of the last row is colored magenta by inserting the TeX-Code
15418  command
15419 \end_layout
15420
15421 \begin_layout Standard
15422
15423 \series bold
15424
15425 \backslash
15426 cellcolor{magenta}
15427 \end_layout
15428
15429 \begin_layout Standard
15430 The characters could now be colored using the menu 
15431 \family sans
15432 Edit\SpecialChar \menuseparator
15433 Text
15434 \begin_inset space ~
15435 \end_inset
15436
15437 Style
15438 \family default
15439 .
15440 \end_layout
15441
15442 \begin_layout Standard
15443 \begin_inset Float table
15444 placement h
15445 wide false
15446 sideways false
15447 status open
15448
15449 \begin_layout Plain Layout
15450 \begin_inset Caption
15451
15452 \begin_layout Plain Layout
15453 \begin_inset CommandInset label
15454 LatexCommand label
15455 name "tab:Table-colored-using"
15456
15457 \end_inset
15458
15459 Table colored using the package 
15460 \series bold
15461 colortbl
15462 \series default
15463
15464 \begin_inset Argument
15465 status collapsed
15466
15467 \begin_layout Plain Layout
15468 Table with colortbl
15469 \end_layout
15470
15471 \end_inset
15472
15473
15474 \end_layout
15475
15476 \end_inset
15477
15478
15479 \end_layout
15480
15481 \begin_layout Plain Layout
15482 \align center
15483 \begin_inset Tabular
15484 <lyxtabular version="3" rows="3" columns="3">
15485 <features tabularvalignment="middle">
15486 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15487 <column alignment="center" valignment="top" width="0">
15488 <column alignment="center" valignment="top" width="0">
15489 <row>
15490 <cell alignment="center" valignment="top" usebox="none">
15491 \begin_inset Text
15492
15493 \begin_layout Plain Layout
15494 \begin_inset ERT
15495 status collapsed
15496
15497 \begin_layout Plain Layout
15498
15499
15500 \backslash
15501 rowcolor{cyan}
15502 \end_layout
15503
15504 \end_inset
15505
15506
15507 \color magenta
15508 a
15509 \end_layout
15510
15511 \end_inset
15512 </cell>
15513 <cell alignment="center" valignment="top" usebox="none">
15514 \begin_inset Text
15515
15516 \begin_layout Plain Layout
15517
15518 \color red
15519 b
15520 \end_layout
15521
15522 \end_inset
15523 </cell>
15524 <cell alignment="center" valignment="top" usebox="none">
15525 \begin_inset Text
15526
15527 \begin_layout Plain Layout
15528
15529 \color red
15530 c
15531 \end_layout
15532
15533 \end_inset
15534 </cell>
15535 </row>
15536 <row>
15537 <cell alignment="center" valignment="top" usebox="none">
15538 \begin_inset Text
15539
15540 \begin_layout Plain Layout
15541
15542 \color yellow
15543 d
15544 \end_layout
15545
15546 \end_inset
15547 </cell>
15548 <cell alignment="center" valignment="top" usebox="none">
15549 \begin_inset Text
15550
15551 \begin_layout Plain Layout
15552
15553 \color blue
15554 e
15555 \end_layout
15556
15557 \end_inset
15558 </cell>
15559 <cell alignment="center" valignment="top" usebox="none">
15560 \begin_inset Text
15561
15562 \begin_layout Plain Layout
15563
15564 \color blue
15565 f
15566 \end_layout
15567
15568 \end_inset
15569 </cell>
15570 </row>
15571 <row>
15572 <cell alignment="center" valignment="top" usebox="none">
15573 \begin_inset Text
15574
15575 \begin_layout Plain Layout
15576
15577 \color yellow
15578 g
15579 \end_layout
15580
15581 \end_inset
15582 </cell>
15583 <cell alignment="center" valignment="top" usebox="none">
15584 \begin_inset Text
15585
15586 \begin_layout Plain Layout
15587
15588 \color blue
15589 h
15590 \end_layout
15591
15592 \end_inset
15593 </cell>
15594 <cell alignment="center" valignment="top" usebox="none">
15595 \begin_inset Text
15596
15597 \begin_layout Plain Layout
15598 \begin_inset ERT
15599 status collapsed
15600
15601 \begin_layout Plain Layout
15602
15603
15604 \backslash
15605 cellcolor{magenta}
15606 \end_layout
15607
15608 \end_inset
15609
15610
15611 \color green
15612 i
15613 \end_layout
15614
15615 \end_inset
15616 </cell>
15617 </row>
15618 </lyxtabular>
15619
15620 \end_inset
15621
15622
15623 \end_layout
15624
15625 \end_inset
15626
15627
15628 \end_layout
15629
15630 \begin_layout Standard
15631 \begin_inset ERT
15632 status collapsed
15633
15634 \begin_layout Plain Layout
15635
15636
15637 \backslash
15638 else
15639 \end_layout
15640
15641 \end_inset
15642
15643
15644 \begin_inset Note Note
15645 status open
15646
15647 \begin_layout Plain Layout
15648 The following will be displayed when the LaTeX-package 
15649 \series bold
15650 colortbl
15651 \series default
15652  is not installed:
15653 \end_layout
15654
15655 \end_inset
15656
15657
15658 \end_layout
15659
15660 \begin_layout Standard
15661 You need to install the package 
15662 \series bold
15663 colortbl
15664 \series default
15665  to see the content of this section in the output.
15666 \end_layout
15667
15668 \begin_layout Standard
15669 \begin_inset ERT
15670 status collapsed
15671
15672 \begin_layout Plain Layout
15673
15674
15675 \backslash
15676 fi
15677 \end_layout
15678
15679 \end_inset
15680
15681
15682 \end_layout
15683
15684 \begin_layout Subsection
15685 Colored Lines
15686 \begin_inset Index idx
15687 status collapsed
15688
15689 \begin_layout Plain Layout
15690 Table Color ! for Lines
15691 \end_layout
15692
15693 \end_inset
15694
15695
15696 \begin_inset Index idx
15697 status collapsed
15698
15699 \begin_layout Plain Layout
15700 Color ! for Table Lines
15701 \end_layout
15702
15703 \end_inset
15704
15705
15706 \end_layout
15707
15708 \begin_layout Standard
15709 As described in section
15710 \begin_inset space ~
15711 \end_inset
15712
15713
15714 \begin_inset CommandInset ref
15715 LatexCommand ref
15716 reference "sub:Line-Thickness"
15717
15718 \end_inset
15719
15720 , the line thickness for all lines in a table can be adjusted with the length
15721  
15722 \series bold
15723
15724 \backslash
15725 arrayrulewidth
15726 \series default
15727 .
15728  It is set to 1.5
15729 \begin_inset space \thinspace{}
15730 \end_inset
15731
15732 pt for all tables of this section.
15733 \begin_inset ERT
15734 status collapsed
15735
15736 \begin_layout Plain Layout
15737
15738
15739 \backslash
15740 setlength{
15741 \backslash
15742 arrayrulewidth}{1.5pt}
15743 \end_layout
15744
15745 \end_inset
15746
15747
15748 \end_layout
15749
15750 \begin_layout Standard
15751 To color vertical lines for example with green, create the following column
15752  format in the document preamble, according to the description in section
15753 \begin_inset space ~
15754 \end_inset
15755
15756
15757 \begin_inset CommandInset ref
15758 LatexCommand ref
15759 reference "sub:Customized-Format"
15760
15761 \end_inset
15762
15763 :
15764 \end_layout
15765
15766 \begin_layout Standard
15767
15768 \series bold
15769
15770 \backslash
15771 newcolumntype{W}{!{
15772 \backslash
15773 color{green}
15774 \backslash
15775 vline}}
15776 \end_layout
15777
15778 \begin_layout Standard
15779 For Table
15780 \begin_inset space ~
15781 \end_inset
15782
15783
15784 \begin_inset CommandInset ref
15785 LatexCommand ref
15786 reference "tab:Table-with-vertical-colored"
15787
15788 \end_inset
15789
15790  the LaTeX-argument
15791 \series bold
15792  WcW
15793 \series default
15794  was used for the last column and
15795 \series bold
15796  Wc
15797 \series default
15798  for the other columns.
15799 \end_layout
15800
15801 \begin_layout Standard
15802 If you want to have several colors, define more column formats.
15803 \end_layout
15804
15805 \begin_layout Standard
15806 \begin_inset Float table
15807 placement h
15808 wide false
15809 sideways false
15810 status open
15811
15812 \begin_layout Plain Layout
15813 \begin_inset Caption
15814
15815 \begin_layout Plain Layout
15816 \begin_inset CommandInset label
15817 LatexCommand label
15818 name "tab:Table-with-vertical-colored"
15819
15820 \end_inset
15821
15822 Table with colored vertical lines
15823 \end_layout
15824
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \begin_layout Plain Layout
15831 \align center
15832 \begin_inset Tabular
15833 <lyxtabular version="3" rows="3" columns="3">
15834 <features tabularvalignment="middle">
15835 <column alignment="center" valignment="top" width="0" special="Wc">
15836 <column alignment="center" valignment="top" width="0" special="Wc">
15837 <column alignment="center" valignment="top" width="0" special="WcW">
15838 <row>
15839 <cell alignment="center" valignment="top" topline="true" usebox="none">
15840 \begin_inset Text
15841
15842 \begin_layout Plain Layout
15843 sd
15844 \end_layout
15845
15846 \end_inset
15847 </cell>
15848 <cell alignment="center" valignment="top" topline="true" usebox="none">
15849 \begin_inset Text
15850
15851 \begin_layout Plain Layout
15852
15853 \end_layout
15854
15855 \end_inset
15856 </cell>
15857 <cell alignment="center" valignment="top" topline="true" usebox="none">
15858 \begin_inset Text
15859
15860 \begin_layout Plain Layout
15861
15862 \end_layout
15863
15864 \end_inset
15865 </cell>
15866 </row>
15867 <row>
15868 <cell alignment="center" valignment="top" topline="true" usebox="none">
15869 \begin_inset Text
15870
15871 \begin_layout Plain Layout
15872
15873 \end_layout
15874
15875 \end_inset
15876 </cell>
15877 <cell alignment="center" valignment="top" topline="true" usebox="none">
15878 \begin_inset Text
15879
15880 \begin_layout Plain Layout
15881 sd
15882 \end_layout
15883
15884 \end_inset
15885 </cell>
15886 <cell alignment="center" valignment="top" topline="true" usebox="none">
15887 \begin_inset Text
15888
15889 \begin_layout Plain Layout
15890
15891 \end_layout
15892
15893 \end_inset
15894 </cell>
15895 </row>
15896 <row>
15897 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15898 \begin_inset Text
15899
15900 \begin_layout Plain Layout
15901
15902 \end_layout
15903
15904 \end_inset
15905 </cell>
15906 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15907 \begin_inset Text
15908
15909 \begin_layout Plain Layout
15910
15911 \end_layout
15912
15913 \end_inset
15914 </cell>
15915 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15916 \begin_inset Text
15917
15918 \begin_layout Plain Layout
15919 sd
15920 \end_layout
15921
15922 \end_inset
15923 </cell>
15924 </row>
15925 </lyxtabular>
15926
15927 \end_inset
15928
15929
15930 \end_layout
15931
15932 \end_inset
15933
15934
15935 \end_layout
15936
15937 \begin_layout Standard
15938 \begin_inset VSpace bigskip
15939 \end_inset
15940
15941 To color horizontal lines for example with red, as in Table
15942 \begin_inset space ~
15943 \end_inset
15944
15945
15946 \begin_inset CommandInset ref
15947 LatexCommand ref
15948 reference "tab:Table-with-horizontal-colored"
15949
15950 \end_inset
15951
15952 , insert these commands in TeX-Code before the table or table float:
15953 \end_layout
15954
15955 \begin_layout Standard
15956
15957 \series bold
15958
15959 \backslash
15960 let
15961 \backslash
15962 myHlineC
15963 \backslash
15964 hline
15965 \begin_inset Newline newline
15966 \end_inset
15967
15968
15969 \backslash
15970 renewcommand{
15971 \backslash
15972 hline}
15973 \begin_inset Newline newline
15974 \end_inset
15975
15976
15977 \begin_inset Phantom HPhantom
15978 status open
15979
15980 \begin_layout Plain Layout
15981
15982 \series bold
15983 \begin_inset space ~
15984 \end_inset
15985
15986
15987 \end_layout
15988
15989 \end_inset
15990
15991 {
15992 \backslash
15993 arrayrulecolor{red}
15994 \backslash
15995 myHlineC
15996 \backslash
15997 arrayrulecolor{black}}
15998 \end_layout
15999
16000 \begin_layout Standard
16001 \begin_inset ERT
16002 status collapsed
16003
16004 \begin_layout Plain Layout
16005
16006
16007 \backslash
16008 let
16009 \backslash
16010 myHlineC
16011 \backslash
16012 hline
16013 \end_layout
16014
16015 \begin_layout Plain Layout
16016
16017
16018 \backslash
16019 renewcommand{
16020 \backslash
16021 hline}
16022 \end_layout
16023
16024 \begin_layout Plain Layout
16025
16026  {
16027 \backslash
16028 arrayrulecolor{red}
16029 \backslash
16030 myHlineC
16031 \backslash
16032 arrayrulecolor{black}}
16033 \end_layout
16034
16035 \end_inset
16036
16037
16038 \begin_inset Float table
16039 placement h
16040 wide false
16041 sideways false
16042 status open
16043
16044 \begin_layout Plain Layout
16045 \begin_inset Caption
16046
16047 \begin_layout Plain Layout
16048 \begin_inset CommandInset label
16049 LatexCommand label
16050 name "tab:Table-with-horizontal-colored"
16051
16052 \end_inset
16053
16054 Table with colored horizontal lines
16055 \end_layout
16056
16057 \end_inset
16058
16059
16060 \end_layout
16061
16062 \begin_layout Plain Layout
16063 \align center
16064 \begin_inset Tabular
16065 <lyxtabular version="3" rows="3" columns="3">
16066 <features tabularvalignment="middle">
16067 <column alignment="center" valignment="top" width="0">
16068 <column alignment="center" valignment="top" width="0">
16069 <column alignment="center" valignment="top" width="0">
16070 <row>
16071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16072 \begin_inset Text
16073
16074 \begin_layout Plain Layout
16075 sd
16076 \end_layout
16077
16078 \end_inset
16079 </cell>
16080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16081 \begin_inset Text
16082
16083 \begin_layout Plain Layout
16084
16085 \end_layout
16086
16087 \end_inset
16088 </cell>
16089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16090 \begin_inset Text
16091
16092 \begin_layout Plain Layout
16093
16094 \end_layout
16095
16096 \end_inset
16097 </cell>
16098 </row>
16099 <row>
16100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16101 \begin_inset Text
16102
16103 \begin_layout Plain Layout
16104
16105 \end_layout
16106
16107 \end_inset
16108 </cell>
16109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16110 \begin_inset Text
16111
16112 \begin_layout Plain Layout
16113 sd
16114 \end_layout
16115
16116 \end_inset
16117 </cell>
16118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16119 \begin_inset Text
16120
16121 \begin_layout Plain Layout
16122
16123 \end_layout
16124
16125 \end_inset
16126 </cell>
16127 </row>
16128 <row>
16129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16130 \begin_inset Text
16131
16132 \begin_layout Plain Layout
16133
16134 \end_layout
16135
16136 \end_inset
16137 </cell>
16138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16139 \begin_inset Text
16140
16141 \begin_layout Plain Layout
16142
16143 \end_layout
16144
16145 \end_inset
16146 </cell>
16147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16148 \begin_inset Text
16149
16150 \begin_layout Plain Layout
16151 sd
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 </row>
16157 </lyxtabular>
16158
16159 \end_inset
16160
16161
16162 \end_layout
16163
16164 \end_inset
16165
16166
16167 \end_layout
16168
16169 \begin_layout Standard
16170 To return to the default line color black, insert this command in TeX-Code
16171  after the table or table float:
16172 \end_layout
16173
16174 \begin_layout Standard
16175
16176 \series bold
16177
16178 \backslash
16179 renewcommand{
16180 \backslash
16181 hline}{
16182 \backslash
16183 myHlineC}
16184 \end_layout
16185
16186 \begin_layout Standard
16187 Table
16188 \begin_inset space ~
16189 \end_inset
16190
16191
16192 \begin_inset CommandInset ref
16193 LatexCommand ref
16194 reference "tab:Table-with-colored"
16195
16196 \end_inset
16197
16198  is an example with colored vertical and horizontal lines.
16199 \end_layout
16200
16201 \begin_layout Standard
16202 \begin_inset Float table
16203 placement h
16204 wide false
16205 sideways false
16206 status open
16207
16208 \begin_layout Plain Layout
16209 \begin_inset Caption
16210
16211 \begin_layout Plain Layout
16212 \begin_inset CommandInset label
16213 LatexCommand label
16214 name "tab:Table-with-colored"
16215
16216 \end_inset
16217
16218 Table with colored lines
16219 \end_layout
16220
16221 \end_inset
16222
16223
16224 \end_layout
16225
16226 \begin_layout Plain Layout
16227 \align center
16228 \begin_inset Tabular
16229 <lyxtabular version="3" rows="3" columns="3">
16230 <features tabularvalignment="middle">
16231 <column alignment="center" valignment="top" width="0" special="Wc">
16232 <column alignment="center" valignment="top" width="0" special="Wc">
16233 <column alignment="center" valignment="top" width="0" special="WcW">
16234 <row>
16235 <cell alignment="center" valignment="top" topline="true" usebox="none">
16236 \begin_inset Text
16237
16238 \begin_layout Plain Layout
16239 sd
16240 \end_layout
16241
16242 \end_inset
16243 </cell>
16244 <cell alignment="center" valignment="top" topline="true" usebox="none">
16245 \begin_inset Text
16246
16247 \begin_layout Plain Layout
16248
16249 \end_layout
16250
16251 \end_inset
16252 </cell>
16253 <cell alignment="center" valignment="top" topline="true" usebox="none">
16254 \begin_inset Text
16255
16256 \begin_layout Plain Layout
16257
16258 \end_layout
16259
16260 \end_inset
16261 </cell>
16262 </row>
16263 <row>
16264 <cell alignment="center" valignment="top" topline="true" usebox="none">
16265 \begin_inset Text
16266
16267 \begin_layout Plain Layout
16268
16269 \end_layout
16270
16271 \end_inset
16272 </cell>
16273 <cell alignment="center" valignment="top" topline="true" usebox="none">
16274 \begin_inset Text
16275
16276 \begin_layout Plain Layout
16277 sd
16278 \end_layout
16279
16280 \end_inset
16281 </cell>
16282 <cell alignment="center" valignment="top" topline="true" usebox="none">
16283 \begin_inset Text
16284
16285 \begin_layout Plain Layout
16286
16287 \end_layout
16288
16289 \end_inset
16290 </cell>
16291 </row>
16292 <row topspace="default">
16293 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16294 \begin_inset Text
16295
16296 \begin_layout Plain Layout
16297
16298 \end_layout
16299
16300 \end_inset
16301 </cell>
16302 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16303 \begin_inset Text
16304
16305 \begin_layout Plain Layout
16306
16307 \end_layout
16308
16309 \end_inset
16310 </cell>
16311 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16312 \begin_inset Text
16313
16314 \begin_layout Plain Layout
16315 sd
16316 \end_layout
16317
16318 \end_inset
16319 </cell>
16320 </row>
16321 </lyxtabular>
16322
16323 \end_inset
16324
16325
16326 \end_layout
16327
16328 \end_inset
16329
16330
16331 \end_layout
16332
16333 \begin_layout Standard
16334 \begin_inset ERT
16335 status collapsed
16336
16337 \begin_layout Plain Layout
16338
16339
16340 \backslash
16341 renewcommand{
16342 \backslash
16343 hline}{
16344 \backslash
16345 myHlineC}
16346 \end_layout
16347
16348 \end_inset
16349
16350
16351 \end_layout
16352
16353 \begin_layout Standard
16354 \begin_inset ERT
16355 status collapsed
16356
16357 \begin_layout Plain Layout
16358
16359
16360 \backslash
16361 setlength{
16362 \backslash
16363 arrayrulewidth}{0.4pt}
16364 \end_layout
16365
16366 \end_inset
16367
16368
16369 \end_layout
16370
16371 \begin_layout Section
16372 Table Customization
16373 \begin_inset Index idx
16374 status collapsed
16375
16376 \begin_layout Plain Layout
16377 Table Customization
16378 \end_layout
16379
16380 \end_inset
16381
16382
16383 \begin_inset Index idx
16384 status collapsed
16385
16386 \begin_layout Plain Layout
16387 Table ! Customization
16388 \end_layout
16389
16390 \end_inset
16391
16392
16393 \end_layout
16394
16395 \begin_layout Subsection
16396 Row Spacing
16397 \begin_inset CommandInset label
16398 LatexCommand label
16399 name "sub:Row-Spacing"
16400
16401 \end_inset
16402
16403
16404 \begin_inset Index idx
16405 status collapsed
16406
16407 \begin_layout Plain Layout
16408 Table Customization ! Row Spacing
16409 \end_layout
16410
16411 \end_inset
16412
16413
16414 \end_layout
16415
16416 \begin_layout Standard
16417 You can add vertical space to table rows in the 
16418 \family sans
16419 Borders
16420 \family default
16421  tab of the table dialog.
16422  You find there three possibilities:
16423 \end_layout
16424
16425 \begin_layout Description
16426 Top
16427 \begin_inset space ~
16428 \end_inset
16429
16430 of
16431 \begin_inset space ~
16432 \end_inset
16433
16434 row will add space above the characters of the table row.
16435  If the table is a formal table
16436 \begin_inset Foot
16437 status collapsed
16438
16439 \begin_layout Plain Layout
16440 Formal tables are explained in section
16441 \begin_inset space ~
16442 \end_inset
16443
16444
16445 \begin_inset CommandInset ref
16446 LatexCommand ref
16447 reference "sec:Formal-Tables"
16448
16449 \end_inset
16450
16451 .
16452 \end_layout
16453
16454 \end_inset
16455
16456  LyX will insert as default 0.5
16457 \begin_inset space \thinspace{}
16458 \end_inset
16459
16460 em space.
16461  For normal tables the inserted space will unfortunately destroy the vertical
16462  table lines as in the following table:
16463 \begin_inset VSpace medskip
16464 \end_inset
16465
16466
16467 \begin_inset Newline newline
16468 \end_inset
16469
16470
16471 \begin_inset space \hspace*{}
16472 \length 0pt
16473 \end_inset
16474
16475
16476 \begin_inset space \hfill{}
16477 \end_inset
16478
16479
16480 \begin_inset Tabular
16481 <lyxtabular version="3" rows="3" columns="1">
16482 <features tabularvalignment="middle">
16483 <column alignment="center" valignment="top" width="0">
16484 <row>
16485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16486 \begin_inset Text
16487
16488 \begin_layout Plain Layout
16489 A
16490 \end_layout
16491
16492 \end_inset
16493 </cell>
16494 </row>
16495 <row topspace="3mm">
16496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16497 \begin_inset Text
16498
16499 \begin_layout Plain Layout
16500 3
16501 \begin_inset space \thinspace{}
16502 \end_inset
16503
16504 mm space top of row
16505 \end_layout
16506
16507 \end_inset
16508 </cell>
16509 </row>
16510 <row>
16511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16512 \begin_inset Text
16513
16514 \begin_layout Plain Layout
16515 C
16516 \end_layout
16517
16518 \end_inset
16519 </cell>
16520 </row>
16521 </lyxtabular>
16522
16523 \end_inset
16524
16525
16526 \begin_inset space \hfill{}
16527 \end_inset
16528
16529
16530 \begin_inset space \hspace*{}
16531 \length 0pt
16532 \end_inset
16533
16534
16535 \begin_inset VSpace medskip
16536 \end_inset
16537
16538
16539 \begin_inset Newline newline
16540 \end_inset
16541
16542 So inserting space in the top of row for normal tables is only useful when
16543  you don't have vertical lines.
16544 \end_layout
16545
16546 \begin_layout Description
16547 Bottom
16548 \begin_inset space ~
16549 \end_inset
16550
16551 of
16552 \begin_inset space ~
16553 \end_inset
16554
16555 row will add space below the characters of the table row.
16556  If the table is a formal table LyX will insert as default 0.5
16557 \begin_inset space \thinspace{}
16558 \end_inset
16559
16560 em space, for normal tables the default size is 2
16561 \begin_inset space \thinspace{}
16562 \end_inset
16563
16564 pt.
16565 \end_layout
16566
16567 \begin_layout Description
16568 Between
16569 \begin_inset space ~
16570 \end_inset
16571
16572 rows adds space between the current and the following row.
16573  If the table is a formal table 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 interlinespace="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 \begin_inset Formula $\downarrow$
16618 \end_inset
16619
16620  3
16621 \begin_inset space \thinspace{}
16622 \end_inset
16623
16624 mm space between row 
16625 \begin_inset Formula $\downarrow$
16626 \end_inset
16627
16628
16629 \end_layout
16630
16631 \end_inset
16632 </cell>
16633 </row>
16634 <row>
16635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16636 \begin_inset Text
16637
16638 \begin_layout Plain Layout
16639 \begin_inset Formula $\uparrow$
16640 \end_inset
16641
16642  3
16643 \begin_inset space \thinspace{}
16644 \end_inset
16645
16646 mm space between row 
16647 \begin_inset Formula $\uparrow$
16648 \end_inset
16649
16650
16651 \end_layout
16652
16653 \end_inset
16654 </cell>
16655 </row>
16656 </lyxtabular>
16657
16658 \end_inset
16659
16660
16661 \begin_inset space \hfill{}
16662 \end_inset
16663
16664
16665 \begin_inset space \hspace*{}
16666 \length 0pt
16667 \end_inset
16668
16669
16670 \begin_inset VSpace medskip
16671 \end_inset
16672
16673
16674 \begin_inset Newline newline
16675 \end_inset
16676
16677 So inserting space between rows for normal tables is only useful when you
16678  don't have vertical lines.
16679 \end_layout
16680
16681 \begin_layout Standard
16682 \begin_inset VSpace bigskip
16683 \end_inset
16684
16685 When you want to add extra height to all cells of all tables, you can do
16686  this with the following preamble lines:
16687 \end_layout
16688
16689 \begin_layout Standard
16690
16691 \series bold
16692
16693 \backslash
16694 @ifundefined{extrarowheight}
16695 \begin_inset Newline newline
16696 \end_inset
16697
16698
16699 \begin_inset Phantom HPhantom
16700 status open
16701
16702 \begin_layout Plain Layout
16703
16704 \series bold
16705 \begin_inset space ~
16706 \end_inset
16707
16708
16709 \end_layout
16710
16711 \end_inset
16712
16713 {
16714 \backslash
16715 usepackage{array}}{}
16716 \begin_inset Newline newline
16717 \end_inset
16718
16719
16720 \backslash
16721 setlength{
16722 \backslash
16723 extrarowheight}{height}
16724 \end_layout
16725
16726 \begin_layout Standard
16727 But this has the disadvantage that the cell texts are no longer exactly
16728  vertically centered.
16729  (The package 
16730 \series bold
16731 array
16732 \series default
16733  will be loaded automatically by LyX when you use self defined table formats.
16734  To avoid that it being loaded twice the command 
16735 \series bold
16736
16737 \backslash
16738 @ifundefined
16739 \series default
16740  is used in the above command.)
16741 \end_layout
16742
16743 \begin_layout Standard
16744 If you are using font sizes larger than the normal size, the table borders
16745  are often too close to the letters.
16746  This can be corrected by inserting the command 
16747 \series bold
16748
16749 \backslash
16750 strut
16751 \series default
16752  in TeX code at the beginning of a table row.
16753  Table
16754 \begin_inset space ~
16755 \end_inset
16756
16757
16758 \begin_inset CommandInset ref
16759 LatexCommand ref
16760 reference "tab:Vertical-alignment-of"
16761
16762 \end_inset
16763
16764  illustrates the effect.
16765 \end_layout
16766
16767 \begin_layout Standard
16768 \noindent
16769 \begin_inset Float table
16770 placement h
16771 wide false
16772 sideways false
16773 status open
16774
16775 \begin_layout Plain Layout
16776 \begin_inset Caption
16777
16778 \begin_layout Plain Layout
16779 \begin_inset CommandInset label
16780 LatexCommand label
16781 name "tab:Vertical-alignment-of"
16782
16783 \end_inset
16784
16785 Vertical alignment of text with large font sizes.
16786 \end_layout
16787
16788 \end_inset
16789
16790
16791 \end_layout
16792
16793 \begin_layout Plain Layout
16794 \begin_inset space \hfill{}
16795 \end_inset
16796
16797
16798 \begin_inset Float table
16799 wide false
16800 sideways false
16801 status collapsed
16802
16803 \begin_layout Plain Layout
16804 \begin_inset Caption
16805
16806 \begin_layout Plain Layout
16807 Normal table.
16808 \end_layout
16809
16810 \end_inset
16811
16812
16813 \end_layout
16814
16815 \begin_layout Plain Layout
16816 \noindent
16817 \align center
16818 \begin_inset Tabular
16819 <lyxtabular version="3" rows="6" columns="1">
16820 <features tabularvalignment="middle">
16821 <column alignment="left" valignment="top" width="0">
16822 <row>
16823 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16824 \begin_inset Text
16825
16826 \begin_layout Plain Layout
16827 Normal, g
16828 \end_layout
16829
16830 \end_inset
16831 </cell>
16832 </row>
16833 <row>
16834 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16835 \begin_inset Text
16836
16837 \begin_layout Plain Layout
16838
16839 \size large
16840 Large
16841 \end_layout
16842
16843 \end_inset
16844 </cell>
16845 </row>
16846 <row>
16847 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16848 \begin_inset Text
16849
16850 \begin_layout Plain Layout
16851
16852 \size larger
16853 Larger
16854 \end_layout
16855
16856 \end_inset
16857 </cell>
16858 </row>
16859 <row>
16860 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16861 \begin_inset Text
16862
16863 \begin_layout Plain Layout
16864
16865 \size largest
16866 Largest
16867 \end_layout
16868
16869 \end_inset
16870 </cell>
16871 </row>
16872 <row>
16873 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16874 \begin_inset Text
16875
16876 \begin_layout Plain Layout
16877
16878 \size huge
16879 Huge
16880 \end_layout
16881
16882 \end_inset
16883 </cell>
16884 </row>
16885 <row>
16886 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16887 \begin_inset Text
16888
16889 \begin_layout Plain Layout
16890
16891 \size huge
16892 Huger
16893 \end_layout
16894
16895 \end_inset
16896 </cell>
16897 </row>
16898 </lyxtabular>
16899
16900 \end_inset
16901
16902
16903 \end_layout
16904
16905 \end_inset
16906
16907
16908 \begin_inset space \hfill{}
16909 \end_inset
16910
16911
16912 \begin_inset Float table
16913 wide false
16914 sideways false
16915 status collapsed
16916
16917 \begin_layout Plain Layout
16918 \begin_inset Caption
16919
16920 \begin_layout Plain Layout
16921 Table using the command 
16922 \series bold
16923
16924 \backslash
16925 strut
16926 \series default
16927 .
16928 \end_layout
16929
16930 \end_inset
16931
16932
16933 \end_layout
16934
16935 \begin_layout Plain Layout
16936 \noindent
16937 \align center
16938 \begin_inset Tabular
16939 <lyxtabular version="3" rows="6" columns="1">
16940 <features tabularvalignment="middle">
16941 <column alignment="left" valignment="top" width="0">
16942 <row>
16943 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16944 \begin_inset Text
16945
16946 \begin_layout Plain Layout
16947 Normal, g
16948 \end_layout
16949
16950 \end_inset
16951 </cell>
16952 </row>
16953 <row>
16954 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16955 \begin_inset Text
16956
16957 \begin_layout Plain Layout
16958
16959 \size large
16960 \begin_inset ERT
16961 status collapsed
16962
16963 \begin_layout Plain Layout
16964
16965
16966 \backslash
16967 strut 
16968 \end_layout
16969
16970 \end_inset
16971
16972 Large
16973 \end_layout
16974
16975 \end_inset
16976 </cell>
16977 </row>
16978 <row>
16979 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16980 \begin_inset Text
16981
16982 \begin_layout Plain Layout
16983
16984 \size larger
16985 \begin_inset ERT
16986 status collapsed
16987
16988 \begin_layout Plain Layout
16989
16990
16991 \backslash
16992 strut 
16993 \end_layout
16994
16995 \end_inset
16996
16997 Larger
16998 \end_layout
16999
17000 \end_inset
17001 </cell>
17002 </row>
17003 <row>
17004 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17005 \begin_inset Text
17006
17007 \begin_layout Plain Layout
17008
17009 \size largest
17010 \begin_inset ERT
17011 status collapsed
17012
17013 \begin_layout Plain Layout
17014
17015
17016 \backslash
17017 strut 
17018 \end_layout
17019
17020 \end_inset
17021
17022 Largest
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 </row>
17028 <row>
17029 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17030 \begin_inset Text
17031
17032 \begin_layout Plain Layout
17033
17034 \size huge
17035 \begin_inset ERT
17036 status collapsed
17037
17038 \begin_layout Plain Layout
17039
17040
17041 \backslash
17042 strut 
17043 \end_layout
17044
17045 \end_inset
17046
17047 Huge
17048 \end_layout
17049
17050 \end_inset
17051 </cell>
17052 </row>
17053 <row>
17054 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Plain Layout
17058
17059 \size giant
17060 \begin_inset ERT
17061 status collapsed
17062
17063 \begin_layout Plain Layout
17064
17065
17066 \backslash
17067 strut 
17068 \end_layout
17069
17070 \end_inset
17071
17072
17073 \size huge
17074 Huger
17075 \end_layout
17076
17077 \end_inset
17078 </cell>
17079 </row>
17080 </lyxtabular>
17081
17082 \end_inset
17083
17084
17085 \end_layout
17086
17087 \end_inset
17088
17089
17090 \begin_inset space \hfill{}
17091 \end_inset
17092
17093
17094 \end_layout
17095
17096 \end_inset
17097
17098
17099 \end_layout
17100
17101 \begin_layout Subsection
17102 Special Cell Alignment
17103 \begin_inset CommandInset label
17104 LatexCommand label
17105 name "sub:Special-Cell-Alignment"
17106
17107 \end_inset
17108
17109
17110 \begin_inset Index idx
17111 status collapsed
17112
17113 \begin_layout Plain Layout
17114 Table Customization ! Special Cell Alignment
17115 \end_layout
17116
17117 \end_inset
17118
17119
17120 \end_layout
17121
17122 \begin_layout Standard
17123 Sometimes it looks better when the cell entries of a column are aligned
17124  with a special character, e.
17125 \begin_inset space \thinspace{}
17126 \end_inset
17127
17128 g.
17129 \begin_inset space \space{}
17130 \end_inset
17131
17132 with the decimal separator as in Table
17133 \begin_inset space ~
17134 \end_inset
17135
17136
17137 \begin_inset CommandInset ref
17138 LatexCommand ref
17139 reference "tab:Table-cells-align"
17140
17141 \end_inset
17142
17143 .
17144  This alignment is achieved by highlighting the last 3
17145 \begin_inset space ~
17146 \end_inset
17147
17148 cells of the column and then either pressing the toolbar button 
17149 \begin_inset Graphics
17150         filename ../images/tabular-feature_align-decimal.png
17151         scale 85
17152         scaleBeforeRotation
17153
17154 \end_inset
17155
17156  or setting the alignment in the table settings to 
17157 \family sans
17158 At
17159 \begin_inset space ~
17160 \end_inset
17161
17162 Decimal
17163 \begin_inset space ~
17164 \end_inset
17165
17166 Separator
17167 \family default
17168 .
17169  The alignment character can be a character of your choice and is specified
17170  in the table settings.
17171 \end_layout
17172
17173 \begin_layout Standard
17174 \begin_inset Float table
17175 placement h
17176 wide false
17177 sideways false
17178 status open
17179
17180 \begin_layout Plain Layout
17181 \begin_inset Caption
17182
17183 \begin_layout Plain Layout
17184 \begin_inset CommandInset label
17185 LatexCommand label
17186 name "tab:Table-cells-align"
17187
17188 \end_inset
17189
17190 Table cells of a column aligned with the decimal separator.
17191 \end_layout
17192
17193 \end_inset
17194
17195
17196 \end_layout
17197
17198 \begin_layout Plain Layout
17199 \align center
17200 \begin_inset Tabular
17201 <lyxtabular version="3" rows="4" columns="1">
17202 <features booktabs="true" tabularvalignment="middle">
17203 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17204 <row>
17205 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17206 \begin_inset Text
17207
17208 \begin_layout Plain Layout
17209 heading
17210 \end_layout
17211
17212 \end_inset
17213 </cell>
17214 </row>
17215 <row>
17216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17217 \begin_inset Text
17218
17219 \begin_layout Plain Layout
17220 12.6
17221 \end_layout
17222
17223 \end_inset
17224 </cell>
17225 </row>
17226 <row>
17227 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17228 \begin_inset Text
17229
17230 \begin_layout Plain Layout
17231 0.68
17232 \end_layout
17233
17234 \end_inset
17235 </cell>
17236 </row>
17237 <row>
17238 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17239 \begin_inset Text
17240
17241 \begin_layout Plain Layout
17242 -123.0
17243 \end_layout
17244
17245 \end_inset
17246 </cell>
17247 </row>
17248 </lyxtabular>
17249
17250 \end_inset
17251
17252
17253 \end_layout
17254
17255 \end_inset
17256
17257
17258 \end_layout
17259
17260 \begin_layout Standard
17261 \begin_inset Float table
17262 placement h
17263 wide false
17264 sideways false
17265 status open
17266
17267 \begin_layout Plain Layout
17268 \begin_inset Caption
17269
17270 \begin_layout Plain Layout
17271 \begin_inset CommandInset label
17272 LatexCommand label
17273 name "tab:Table-align-operator"
17274
17275 \end_inset
17276
17277 Table cells of a column aligned with the operators.
17278 \end_layout
17279
17280 \end_inset
17281
17282
17283 \end_layout
17284
17285 \begin_layout Plain Layout
17286 \align center
17287 \begin_inset Tabular
17288 <lyxtabular version="3" rows="4" columns="2">
17289 <features booktabs="true" tabularvalignment="middle">
17290 <column alignment="right" valignment="top" width="0pt">
17291 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17292 <row>
17293 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17294 \begin_inset Text
17295
17296 \begin_layout Plain Layout
17297 heading
17298 \end_layout
17299
17300 \end_inset
17301 </cell>
17302 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17303 \begin_inset Text
17304
17305 \begin_layout Plain Layout
17306
17307 \end_layout
17308
17309 \end_inset
17310 </cell>
17311 </row>
17312 <row>
17313 <cell alignment="center" valignment="top" usebox="none">
17314 \begin_inset Text
17315
17316 \begin_layout Plain Layout
17317 \begin_inset Formula $12\,+$
17318 \end_inset
17319
17320
17321 \end_layout
17322
17323 \end_inset
17324 </cell>
17325 <cell alignment="center" valignment="top" usebox="none">
17326 \begin_inset Text
17327
17328 \begin_layout Plain Layout
17329 \begin_inset Formula $\,6$
17330 \end_inset
17331
17332
17333 \end_layout
17334
17335 \end_inset
17336 </cell>
17337 </row>
17338 <row>
17339 <cell alignment="center" valignment="top" usebox="none">
17340 \begin_inset Text
17341
17342 \begin_layout Plain Layout
17343 \begin_inset Formula $0\,-$
17344 \end_inset
17345
17346
17347 \end_layout
17348
17349 \end_inset
17350 </cell>
17351 <cell alignment="center" valignment="top" usebox="none">
17352 \begin_inset Text
17353
17354 \begin_layout Plain Layout
17355 \begin_inset Formula $\,68$
17356 \end_inset
17357
17358
17359 \end_layout
17360
17361 \end_inset
17362 </cell>
17363 </row>
17364 <row>
17365 <cell alignment="center" valignment="top" usebox="none">
17366 \begin_inset Text
17367
17368 \begin_layout Plain Layout
17369 \begin_inset Formula $-123\,/$
17370 \end_inset
17371
17372
17373 \end_layout
17374
17375 \end_inset
17376 </cell>
17377 <cell alignment="center" valignment="top" usebox="none">
17378 \begin_inset Text
17379
17380 \begin_layout Plain Layout
17381 \begin_inset Formula $\,0$
17382 \end_inset
17383
17384
17385 \end_layout
17386
17387 \end_inset
17388 </cell>
17389 </row>
17390 </lyxtabular>
17391
17392 \end_inset
17393
17394
17395 \end_layout
17396
17397 \end_inset
17398
17399
17400 \end_layout
17401
17402 \begin_layout Standard
17403 For alignments at characters in formulas this method does not work because
17404  the field to specify the alignment character does not allow formulas.
17405  In this case one need to use the method from Table
17406 \begin_inset space ~
17407 \end_inset
17408
17409
17410 \begin_inset CommandInset ref
17411 LatexCommand ref
17412 reference "tab:Table-align-operator"
17413
17414 \end_inset
17415
17416 .
17417  This table was created with a 4×2 table.
17418  The heading is a centered multicolumn.
17419  The first column is right-aligned and contains the first part including
17420  the operator.
17421  The second column is left aligned and contains the rest.
17422  A small space was added at the beginning of each cell of the second column
17423  to get the space that is usually around operators.
17424  To omit the space that is normally between two table columns, the following
17425  LaTeX-argument was used for the second column:
17426 \end_layout
17427
17428 \begin_layout Standard
17429
17430 \series bold
17431 @{}l
17432 \end_layout
17433
17434 \begin_layout Standard
17435 Table
17436 \begin_inset space ~
17437 \end_inset
17438
17439
17440 \begin_inset CommandInset ref
17441 LatexCommand ref
17442 reference "tab:Several-table-cell"
17443
17444 \end_inset
17445
17446  shows some example alignments.
17447  For the alignment with the relation sign, a small space was added like
17448  for the second column of Table
17449 \begin_inset space ~
17450 \end_inset
17451
17452
17453 \begin_inset CommandInset ref
17454 LatexCommand ref
17455 reference "tab:Table-align-operator"
17456
17457 \end_inset
17458
17459 .
17460 \end_layout
17461
17462 \begin_layout Standard
17463 \begin_inset Float table
17464 placement h
17465 wide false
17466 sideways false
17467 status open
17468
17469 \begin_layout Plain Layout
17470 \begin_inset Caption
17471
17472 \begin_layout Plain Layout
17473 \begin_inset CommandInset label
17474 LatexCommand label
17475 name "tab:Several-table-cell"
17476
17477 \end_inset
17478
17479 Several table cell alignments.
17480 \end_layout
17481
17482 \end_inset
17483
17484
17485 \end_layout
17486
17487 \begin_layout Plain Layout
17488 \align center
17489 \begin_inset Tabular
17490 <lyxtabular version="3" rows="4" columns="6">
17491 <features tabularvalignment="middle">
17492 <column alignment="right" valignment="top" width="0">
17493 <column alignment="left" valignment="top" width="0" special="@{}l">
17494 <column alignment="right" valignment="top" width="0">
17495 <column alignment="left" valignment="top" width="0" special="@{}l">
17496 <column alignment="right" valignment="top" width="0">
17497 <column alignment="left" valignment="top" width="0" special="@{}l">
17498 <row>
17499 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17500 \begin_inset Text
17501
17502 \begin_layout Plain Layout
17503 units
17504 \end_layout
17505
17506 \end_inset
17507 </cell>
17508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17509 \begin_inset Text
17510
17511 \begin_layout Plain Layout
17512
17513 \end_layout
17514
17515 \end_inset
17516 </cell>
17517 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17518 \begin_inset Text
17519
17520 \begin_layout Plain Layout
17521 exponents
17522 \end_layout
17523
17524 \end_inset
17525 </cell>
17526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17527 \begin_inset Text
17528
17529 \begin_layout Plain Layout
17530
17531 \end_layout
17532
17533 \end_inset
17534 </cell>
17535 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17536 \begin_inset Text
17537
17538 \begin_layout Plain Layout
17539 relations
17540 \end_layout
17541
17542 \end_inset
17543 </cell>
17544 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17545 \begin_inset Text
17546
17547 \begin_layout Plain Layout
17548
17549 \end_layout
17550
17551 \end_inset
17552 </cell>
17553 </row>
17554 <row>
17555 <cell alignment="center" valignment="top" usebox="none">
17556 \begin_inset Text
17557
17558 \begin_layout Plain Layout
17559 12×
17560 \end_layout
17561
17562 \end_inset
17563 </cell>
17564 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17565 \begin_inset Text
17566
17567 \begin_layout Plain Layout
17568 24
17569 \begin_inset space \thinspace{}
17570 \end_inset
17571
17572 bottles
17573 \end_layout
17574
17575 \end_inset
17576 </cell>
17577 <cell alignment="center" valignment="top" usebox="none">
17578 \begin_inset Text
17579
17580 \begin_layout Plain Layout
17581 \begin_inset Formula $10\cdot$
17582 \end_inset
17583
17584
17585 \end_layout
17586
17587 \end_inset
17588 </cell>
17589 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17590 \begin_inset Text
17591
17592 \begin_layout Plain Layout
17593 \begin_inset Formula $10^{\mbox{-}17}$
17594 \end_inset
17595
17596
17597 \end_layout
17598
17599 \end_inset
17600 </cell>
17601 <cell alignment="center" valignment="top" usebox="none">
17602 \begin_inset Text
17603
17604 \begin_layout Plain Layout
17605 \begin_inset Formula $\Gamma(t)\propto$
17606 \end_inset
17607
17608
17609 \end_layout
17610
17611 \end_inset
17612 </cell>
17613 <cell alignment="center" valignment="top" usebox="none">
17614 \begin_inset Text
17615
17616 \begin_layout Plain Layout
17617 \begin_inset Formula $\:\Upsilon(t)$
17618 \end_inset
17619
17620
17621 \end_layout
17622
17623 \end_inset
17624 </cell>
17625 </row>
17626 <row>
17627 <cell alignment="center" valignment="top" usebox="none">
17628 \begin_inset Text
17629
17630 \begin_layout Plain Layout
17631 1024×
17632 \end_layout
17633
17634 \end_inset
17635 </cell>
17636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17637 \begin_inset Text
17638
17639 \begin_layout Plain Layout
17640 768
17641 \begin_inset space \thinspace{}
17642 \end_inset
17643
17644 Pixels
17645 \end_layout
17646
17647 \end_inset
17648 </cell>
17649 <cell alignment="center" valignment="top" usebox="none">
17650 \begin_inset Text
17651
17652 \begin_layout Plain Layout
17653 \begin_inset Formula $5.78\cdot$
17654 \end_inset
17655
17656
17657 \end_layout
17658
17659 \end_inset
17660 </cell>
17661 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17662 \begin_inset Text
17663
17664 \begin_layout Plain Layout
17665 \begin_inset Formula $10^{7}$
17666 \end_inset
17667
17668
17669 \end_layout
17670
17671 \end_inset
17672 </cell>
17673 <cell alignment="center" valignment="top" usebox="none">
17674 \begin_inset Text
17675
17676 \begin_layout Plain Layout
17677 \begin_inset Formula $A\ne$
17678 \end_inset
17679
17680
17681 \end_layout
17682
17683 \end_inset
17684 </cell>
17685 <cell alignment="center" valignment="top" usebox="none">
17686 \begin_inset Text
17687
17688 \begin_layout Plain Layout
17689 \begin_inset Formula $\: B_{\mathrm{red}}$
17690 \end_inset
17691
17692
17693 \end_layout
17694
17695 \end_inset
17696 </cell>
17697 </row>
17698 <row>
17699 <cell alignment="center" valignment="top" usebox="none">
17700 \begin_inset Text
17701
17702 \begin_layout Plain Layout
17703 32×
17704 \end_layout
17705
17706 \end_inset
17707 </cell>
17708 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17709 \begin_inset Text
17710
17711 \begin_layout Plain Layout
17712 6
17713 \begin_inset space \thinspace{}
17714 \end_inset
17715
17716 cm
17717 \end_layout
17718
17719 \end_inset
17720 </cell>
17721 <cell alignment="center" valignment="top" usebox="none">
17722 \begin_inset Text
17723
17724 \begin_layout Plain Layout
17725 -
17726 \begin_inset Formula $33.5\cdot$
17727 \end_inset
17728
17729
17730 \end_layout
17731
17732 \end_inset
17733 </cell>
17734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17735 \begin_inset Text
17736
17737 \begin_layout Plain Layout
17738 \begin_inset Formula $10^{4}$
17739 \end_inset
17740
17741
17742 \end_layout
17743
17744 \end_inset
17745 </cell>
17746 <cell alignment="center" valignment="top" usebox="none">
17747 \begin_inset Text
17748
17749 \begin_layout Plain Layout
17750 \begin_inset Formula $\sin(\alpha)\ge$
17751 \end_inset
17752
17753
17754 \end_layout
17755
17756 \end_inset
17757 </cell>
17758 <cell alignment="center" valignment="top" usebox="none">
17759 \begin_inset Text
17760
17761 \begin_layout Plain Layout
17762 \begin_inset Formula $\:\sin(\beta)$
17763 \end_inset
17764
17765
17766 \end_layout
17767
17768 \end_inset
17769 </cell>
17770 </row>
17771 </lyxtabular>
17772
17773 \end_inset
17774
17775
17776 \end_layout
17777
17778 \end_inset
17779
17780
17781 \end_layout
17782
17783 \begin_layout Subsection
17784 Customized Cell/Column Format
17785 \begin_inset CommandInset label
17786 LatexCommand label
17787 name "sub:Customized-Format"
17788
17789 \end_inset
17790
17791
17792 \begin_inset Index idx
17793 status collapsed
17794
17795 \begin_layout Plain Layout
17796 Table Customization ! Cell/Column Format
17797 \end_layout
17798
17799 \end_inset
17800
17801
17802 \end_layout
17803
17804 \begin_layout Standard
17805 Calculating the required width for spanned columns as in section
17806 \begin_inset space ~
17807 \end_inset
17808
17809
17810 \begin_inset CommandInset ref
17811 LatexCommand ref
17812 reference "sub:Multicolumn-Calculations"
17813
17814 \end_inset
17815
17816  is very annoying if you have several tables with multicolumn cells.
17817  To make life easier, you can define a cell/column format in the preamble,
17818  so that it can be used in all tables of the document.
17819  The format is defined with the command
17820 \end_layout
17821
17822 \begin_layout Standard
17823
17824 \series bold
17825
17826 \backslash
17827 newcolumntype{name of format}[number of arguments]{commands}
17828 \end_layout
17829
17830 \begin_layout Standard
17831 The format name may only consist of one letter.
17832  The letters 
17833 \emph on
17834 b
17835 \emph default
17836
17837 \emph on
17838 c
17839 \emph default
17840
17841 \emph on
17842 l
17843 \emph default
17844
17845 \emph on
17846 m
17847 \emph default
17848
17849 \emph on
17850 p
17851 \emph default
17852  and 
17853 \emph on
17854 r
17855 \emph default
17856  are predefined and cannot be used.
17857  But all letters are allowed as capitals.
17858 \end_layout
17859
17860 \begin_layout Standard
17861 \begin_inset VSpace medskip
17862 \end_inset
17863
17864
17865 \end_layout
17866
17867 \begin_layout Standard
17868 For vertically and horizontally centered multicolumn cells with a fixed
17869  width you can define the cell format
17870 \end_layout
17871
17872 \begin_layout Standard
17873
17874 \series bold
17875
17876 \backslash
17877 newcolumntype{M}[1]{>{
17878 \backslash
17879 centering
17880 \backslash
17881 hspace{0pt}}m{#1}}
17882 \end_layout
17883
17884 \begin_layout Standard
17885 where 
17886 \series bold
17887
17888 \backslash
17889 hspace{0pt}
17890 \series default
17891  avoids the problem of hyphenating the first word, as described in section
17892 \begin_inset space ~
17893 \end_inset
17894
17895
17896 \begin_inset CommandInset ref
17897 LatexCommand ref
17898 reference "sub:Multiple-Lines-in"
17899
17900 \end_inset
17901
17902 .
17903  Now you can simply enter
17904 \end_layout
17905
17906 \begin_layout Standard
17907
17908 \series bold
17909 M{width}
17910 \end_layout
17911
17912 \begin_layout Standard
17913 as LaTeX-argument in the table dialog to create a multicolumn.
17914 \end_layout
17915
17916 \begin_layout Standard
17917 \begin_inset VSpace bigskip
17918 \end_inset
17919
17920
17921 \end_layout
17922
17923 \begin_layout Standard
17924 For cells spanned by a multicolumn cell, you can define the format
17925 \end_layout
17926
17927 \begin_layout Standard
17928
17929 \series bold
17930
17931 \backslash
17932 newcolumntype{S}[2]{>{
17933 \backslash
17934 centering
17935 \backslash
17936 hspace{0pt}}
17937 \begin_inset Newline newline
17938 \end_inset
17939
17940
17941 \begin_inset Phantom HPhantom
17942 status open
17943
17944 \begin_layout Plain Layout
17945
17946 \series bold
17947
17948 \backslash
17949 newcolumntype
17950 \end_layout
17951
17952 \end_inset
17953
17954 m{(#1+(2
17955 \backslash
17956 tabcolsep+
17957 \backslash
17958 arrayrulewidth)*(1-#2))/#2}}
17959 \end_layout
17960
17961 \begin_layout Standard
17962 This format uses equation 
17963 \begin_inset CommandInset ref
17964 LatexCommand eqref
17965 reference "eq:Wgn"
17966
17967 \end_inset
17968
17969  to calculate the required width so that each spanned cell has the same
17970  width.
17971 \end_layout
17972
17973 \begin_layout Standard
17974 You can now enter
17975 \end_layout
17976
17977 \begin_layout Standard
17978
17979 \series bold
17980 S{width of multicolumn cell}{number of spanned columns}
17981 \end_layout
17982
17983 \begin_layout Standard
17984 as LaTeX-argument of the column.
17985 \end_layout
17986
17987 \begin_layout Standard
17988 \begin_inset VSpace bigskip
17989 \end_inset
17990
17991
17992 \end_layout
17993
17994 \begin_layout Standard
17995 For colored columns, you can define
17996 \end_layout
17997
17998 \begin_layout Standard
17999
18000 \series bold
18001
18002 \backslash
18003 newcolumntype{K}[1]{>{
18004 \backslash
18005 columncolor{#1}
18006 \backslash
18007 hspace{0pt}}c}
18008 \end_layout
18009
18010 \begin_layout Standard
18011 The 
18012 \begin_inset Quotes eld
18013 \end_inset
18014
18015 c
18016 \begin_inset Quotes erd
18017 \end_inset
18018
18019  at the end creates a column with a flexible width whose text is horizontally
18020  centered.
18021  You can now enter
18022 \end_layout
18023
18024 \begin_layout Standard
18025
18026 \series bold
18027 K{color name}
18028 \end_layout
18029
18030 \begin_layout Standard
18031 as LaTeX-argument.
18032 \end_layout
18033
18034 \begin_layout Standard
18035 \begin_inset VSpace bigskip
18036 \end_inset
18037
18038
18039 \end_layout
18040
18041 \begin_layout Standard
18042 To create Table
18043 \begin_inset space ~
18044 \end_inset
18045
18046
18047 \begin_inset CommandInset ref
18048 LatexCommand ref
18049 reference "tab:Table-using-user-defined"
18050
18051 \end_inset
18052
18053  use the LaTeX-arguments
18054 \end_layout
18055
18056 \begin_layout Standard
18057
18058 \series bold
18059 M{2.5cm}
18060 \end_layout
18061
18062 \begin_layout Standard
18063 for the first column and the multicolumn,
18064 \end_layout
18065
18066 \begin_layout Standard
18067
18068 \series bold
18069 K{red}
18070 \end_layout
18071
18072 \begin_layout Standard
18073 for the last column, and
18074 \end_layout
18075
18076 \begin_layout Standard
18077
18078 \series bold
18079 S{2.5cm}{2}
18080 \end_layout
18081
18082 \begin_layout Standard
18083 for the cells in the second column.
18084 \end_layout
18085
18086 \begin_layout Standard
18087 \begin_inset Float table
18088 placement h
18089 wide false
18090 sideways false
18091 status open
18092
18093 \begin_layout Plain Layout
18094 \begin_inset Caption
18095
18096 \begin_layout Plain Layout
18097 \begin_inset CommandInset label
18098 LatexCommand label
18099 name "tab:Table-using-user-defined"
18100
18101 \end_inset
18102
18103 Table using user-defined table formats
18104 \end_layout
18105
18106 \end_inset
18107
18108
18109 \end_layout
18110
18111 \begin_layout Plain Layout
18112 \align center
18113 \begin_inset Tabular
18114 <lyxtabular version="3" rows="3" columns="4">
18115 <features tabularvalignment="middle">
18116 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18117 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18118 <column alignment="center" valignment="middle" width="0">
18119 <column alignment="center" valignment="middle" width="0" special="K{red}">
18120 <row>
18121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18122 \begin_inset Text
18123
18124 \begin_layout Plain Layout
18125 verylongtablecellword
18126 \end_layout
18127
18128 \end_inset
18129 </cell>
18130 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18131 \begin_inset Text
18132
18133 \begin_layout Plain Layout
18134 multiple lines multicolumn
18135 \end_layout
18136
18137 \end_inset
18138 </cell>
18139 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18140 \begin_inset Text
18141
18142 \begin_layout Plain Layout
18143
18144 \end_layout
18145
18146 \end_inset
18147 </cell>
18148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18149 \begin_inset Text
18150
18151 \begin_layout Plain Layout
18152 c
18153 \end_layout
18154
18155 \end_inset
18156 </cell>
18157 </row>
18158 <row>
18159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18160 \begin_inset Text
18161
18162 \begin_layout Plain Layout
18163 d
18164 \end_layout
18165
18166 \end_inset
18167 </cell>
18168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18169 \begin_inset Text
18170
18171 \begin_layout Plain Layout
18172 e
18173 \end_layout
18174
18175 \end_inset
18176 </cell>
18177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18178 \begin_inset Text
18179
18180 \begin_layout Plain Layout
18181 f
18182 \end_layout
18183
18184 \end_inset
18185 </cell>
18186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18187 \begin_inset Text
18188
18189 \begin_layout Plain Layout
18190 g
18191 \end_layout
18192
18193 \end_inset
18194 </cell>
18195 </row>
18196 <row>
18197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18198 \begin_inset Text
18199
18200 \begin_layout Plain Layout
18201 h
18202 \end_layout
18203
18204 \end_inset
18205 </cell>
18206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18207 \begin_inset Text
18208
18209 \begin_layout Plain Layout
18210 i
18211 \end_layout
18212
18213 \end_inset
18214 </cell>
18215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18216 \begin_inset Text
18217
18218 \begin_layout Plain Layout
18219 j
18220 \end_layout
18221
18222 \end_inset
18223 </cell>
18224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18225 \begin_inset Text
18226
18227 \begin_layout Plain Layout
18228 k
18229 \end_layout
18230
18231 \end_inset
18232 </cell>
18233 </row>
18234 </lyxtabular>
18235
18236 \end_inset
18237
18238
18239 \end_layout
18240
18241 \end_inset
18242
18243
18244 \end_layout
18245
18246 \begin_layout Subsection
18247 Line Thickness
18248 \begin_inset CommandInset label
18249 LatexCommand label
18250 name "sub:Line-Thickness"
18251
18252 \end_inset
18253
18254
18255 \begin_inset Index idx
18256 status collapsed
18257
18258 \begin_layout Plain Layout
18259 Table Customization ! Line Thickness
18260 \end_layout
18261
18262 \end_inset
18263
18264
18265 \end_layout
18266
18267 \begin_layout Standard
18268 The line thickness for all lines in a table can be adjusted with the length
18269  
18270 \series bold
18271
18272 \backslash
18273 arrayrulewidth
18274 \series default
18275 .
18276  To set for example a line thickness of 1.5
18277 \begin_inset space \thinspace{}
18278 \end_inset
18279
18280 pt, as in Table
18281 \begin_inset space ~
18282 \end_inset
18283
18284
18285 \begin_inset CommandInset ref
18286 LatexCommand ref
18287 reference "tab:Table-with-1.5"
18288
18289 \end_inset
18290
18291 , insert the command
18292 \end_layout
18293
18294 \begin_layout Standard
18295
18296 \series bold
18297
18298 \backslash
18299 setlength{
18300 \backslash
18301 arrayrulewidth}{1.5pt}
18302 \end_layout
18303
18304 \begin_layout Standard
18305 in TeX-Code before the table or table float.
18306  The changed thickness is valid for all subsequent tables.
18307  To use the default value again, set 
18308 \series bold
18309
18310 \backslash
18311 arrayrulewidth
18312 \series default
18313  to 0.4
18314 \begin_inset space \thinspace{}
18315 \end_inset
18316
18317 pt in TeX-Code after the table or table float.
18318 \end_layout
18319
18320 \begin_layout Standard
18321 \begin_inset ERT
18322 status collapsed
18323
18324 \begin_layout Plain Layout
18325
18326
18327 \backslash
18328 setlength{
18329 \backslash
18330 arrayrulewidth}{1.5pt}
18331 \end_layout
18332
18333 \end_inset
18334
18335
18336 \begin_inset Float table
18337 wide false
18338 sideways false
18339 status open
18340
18341 \begin_layout Plain Layout
18342 \begin_inset Caption
18343
18344 \begin_layout Plain Layout
18345 \begin_inset CommandInset label
18346 LatexCommand label
18347 name "tab:Table-with-1.5"
18348
18349 \end_inset
18350
18351 Table with 1.5
18352 \begin_inset space \thinspace{}
18353 \end_inset
18354
18355 pt thick lines
18356 \end_layout
18357
18358 \end_inset
18359
18360
18361 \end_layout
18362
18363 \begin_layout Plain Layout
18364 \align center
18365 \begin_inset Tabular
18366 <lyxtabular version="3" rows="3" columns="3">
18367 <features tabularvalignment="middle">
18368 <column alignment="center" valignment="top" width="0">
18369 <column alignment="center" valignment="top" width="0">
18370 <column alignment="center" valignment="top" width="0">
18371 <row>
18372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18373 \begin_inset Text
18374
18375 \begin_layout Plain Layout
18376 sd
18377 \end_layout
18378
18379 \end_inset
18380 </cell>
18381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18382 \begin_inset Text
18383
18384 \begin_layout Plain Layout
18385
18386 \end_layout
18387
18388 \end_inset
18389 </cell>
18390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18391 \begin_inset Text
18392
18393 \begin_layout Plain Layout
18394
18395 \end_layout
18396
18397 \end_inset
18398 </cell>
18399 </row>
18400 <row>
18401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18402 \begin_inset Text
18403
18404 \begin_layout Plain Layout
18405
18406 \end_layout
18407
18408 \end_inset
18409 </cell>
18410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18411 \begin_inset Text
18412
18413 \begin_layout Plain Layout
18414 sd
18415 \end_layout
18416
18417 \end_inset
18418 </cell>
18419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18420 \begin_inset Text
18421
18422 \begin_layout Plain Layout
18423
18424 \end_layout
18425
18426 \end_inset
18427 </cell>
18428 </row>
18429 <row>
18430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18431 \begin_inset Text
18432
18433 \begin_layout Plain Layout
18434
18435 \end_layout
18436
18437 \end_inset
18438 </cell>
18439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18440 \begin_inset Text
18441
18442 \begin_layout Plain Layout
18443
18444 \end_layout
18445
18446 \end_inset
18447 </cell>
18448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18449 \begin_inset Text
18450
18451 \begin_layout Plain Layout
18452 sd
18453 \end_layout
18454
18455 \end_inset
18456 </cell>
18457 </row>
18458 </lyxtabular>
18459
18460 \end_inset
18461
18462
18463 \end_layout
18464
18465 \end_inset
18466
18467
18468 \begin_inset ERT
18469 status collapsed
18470
18471 \begin_layout Plain Layout
18472
18473
18474 \backslash
18475 setlength{
18476 \backslash
18477 arrayrulewidth}{0.4pt}
18478 \end_layout
18479
18480 \end_inset
18481
18482
18483 \end_layout
18484
18485 \begin_layout Standard
18486 \begin_inset VSpace bigskip
18487 \end_inset
18488
18489 To set the line thickness to 1.5
18490 \begin_inset space \thinspace{}
18491 \end_inset
18492
18493 pt only for horizontal lines, as in Table
18494 \begin_inset space ~
18495 \end_inset
18496
18497
18498 \begin_inset CommandInset ref
18499 LatexCommand ref
18500 reference "tab:Table-with-horizontal"
18501
18502 \end_inset
18503
18504 , insert these commands in TeX-Code before the table or table float:
18505 \end_layout
18506
18507 \begin_layout Standard
18508
18509 \series bold
18510
18511 \backslash
18512 let
18513 \backslash
18514 myHline
18515 \backslash
18516 hline
18517 \begin_inset Newline newline
18518 \end_inset
18519
18520
18521 \backslash
18522 renewcommand{
18523 \backslash
18524 hline}
18525 \begin_inset Newline newline
18526 \end_inset
18527
18528  {
18529 \backslash
18530 noalign{
18531 \backslash
18532 global
18533 \backslash
18534 arrayrulewidth 1.5pt}
18535 \begin_inset Newline newline
18536 \end_inset
18537
18538  
18539 \backslash
18540 myHline
18541 \backslash
18542 noalign{
18543 \backslash
18544 global
18545 \backslash
18546 arrayrulewidth 0.4pt}}
18547 \end_layout
18548
18549 \begin_layout Standard
18550 To return to the default line thickness, insert this command in TeX-Code
18551  after the table or table float:
18552 \end_layout
18553
18554 \begin_layout Standard
18555
18556 \series bold
18557
18558 \backslash
18559 renewcommand{
18560 \backslash
18561 hline}{
18562 \backslash
18563 myHline}
18564 \end_layout
18565
18566 \begin_layout Standard
18567 \begin_inset ERT
18568 status collapsed
18569
18570 \begin_layout Plain Layout
18571
18572
18573 \backslash
18574 let
18575 \backslash
18576 myHline
18577 \backslash
18578 hline
18579 \end_layout
18580
18581 \begin_layout Plain Layout
18582
18583
18584 \backslash
18585 renewcommand{
18586 \backslash
18587 hline}
18588 \end_layout
18589
18590 \begin_layout Plain Layout
18591
18592  {
18593 \backslash
18594 noalign{
18595 \backslash
18596 global
18597 \backslash
18598 arrayrulewidth 1.5pt}
18599 \end_layout
18600
18601 \begin_layout Plain Layout
18602
18603   
18604 \backslash
18605 myHline
18606 \backslash
18607 noalign{
18608 \backslash
18609 global
18610 \backslash
18611 arrayrulewidth 0.4pt}}
18612 \end_layout
18613
18614 \end_inset
18615
18616
18617 \begin_inset Float table
18618 wide false
18619 sideways false
18620 status open
18621
18622 \begin_layout Plain Layout
18623 \begin_inset Caption
18624
18625 \begin_layout Plain Layout
18626 \begin_inset CommandInset label
18627 LatexCommand label
18628 name "tab:Table-with-horizontal"
18629
18630 \end_inset
18631
18632 Table with 1.5
18633 \begin_inset space \thinspace{}
18634 \end_inset
18635
18636 pt thick horizontal lines
18637 \end_layout
18638
18639 \end_inset
18640
18641
18642 \end_layout
18643
18644 \begin_layout Plain Layout
18645 \align center
18646 \begin_inset Tabular
18647 <lyxtabular version="3" rows="3" columns="3">
18648 <features tabularvalignment="middle">
18649 <column alignment="center" valignment="top" width="0">
18650 <column alignment="center" valignment="top" width="0">
18651 <column alignment="center" valignment="top" width="0">
18652 <row>
18653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18654 \begin_inset Text
18655
18656 \begin_layout Plain Layout
18657 sd
18658 \end_layout
18659
18660 \end_inset
18661 </cell>
18662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18663 \begin_inset Text
18664
18665 \begin_layout Plain Layout
18666
18667 \end_layout
18668
18669 \end_inset
18670 </cell>
18671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18672 \begin_inset Text
18673
18674 \begin_layout Plain Layout
18675
18676 \end_layout
18677
18678 \end_inset
18679 </cell>
18680 </row>
18681 <row>
18682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18683 \begin_inset Text
18684
18685 \begin_layout Plain Layout
18686
18687 \end_layout
18688
18689 \end_inset
18690 </cell>
18691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18692 \begin_inset Text
18693
18694 \begin_layout Plain Layout
18695 sd
18696 \end_layout
18697
18698 \end_inset
18699 </cell>
18700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18701 \begin_inset Text
18702
18703 \begin_layout Plain Layout
18704
18705 \end_layout
18706
18707 \end_inset
18708 </cell>
18709 </row>
18710 <row>
18711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18712 \begin_inset Text
18713
18714 \begin_layout Plain Layout
18715
18716 \end_layout
18717
18718 \end_inset
18719 </cell>
18720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18721 \begin_inset Text
18722
18723 \begin_layout Plain Layout
18724
18725 \end_layout
18726
18727 \end_inset
18728 </cell>
18729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18730 \begin_inset Text
18731
18732 \begin_layout Plain Layout
18733 sd
18734 \end_layout
18735
18736 \end_inset
18737 </cell>
18738 </row>
18739 </lyxtabular>
18740
18741 \end_inset
18742
18743
18744 \end_layout
18745
18746 \end_inset
18747
18748
18749 \begin_inset ERT
18750 status collapsed
18751
18752 \begin_layout Plain Layout
18753
18754
18755 \backslash
18756 renewcommand{
18757 \backslash
18758 hline}{
18759 \backslash
18760 myHline}
18761 \end_layout
18762
18763 \end_inset
18764
18765
18766 \end_layout
18767
18768 \begin_layout Standard
18769 \begin_inset VSpace bigskip
18770 \end_inset
18771
18772 To set the line thickness to 1.5
18773 \begin_inset space \thinspace{}
18774 \end_inset
18775
18776 pt only for vertical lines, create the following column format in the document
18777  preamble, according to the description in section
18778 \begin_inset space ~
18779 \end_inset
18780
18781
18782 \begin_inset CommandInset ref
18783 LatexCommand ref
18784 reference "sub:Customized-Format"
18785
18786 \end_inset
18787
18788 :
18789 \end_layout
18790
18791 \begin_layout Standard
18792
18793 \series bold
18794
18795 \backslash
18796 newcolumntype{V}{!{
18797 \backslash
18798 vrule width 1.5pt}}
18799 \end_layout
18800
18801 \begin_layout Standard
18802 For Table
18803 \begin_inset space ~
18804 \end_inset
18805
18806
18807 \begin_inset CommandInset ref
18808 LatexCommand ref
18809 reference "tab:Table-with-vertical"
18810
18811 \end_inset
18812
18813  the LaTeX-argument
18814 \end_layout
18815
18816 \begin_layout Standard
18817
18818 \series bold
18819 VcV
18820 \end_layout
18821
18822 \begin_layout Standard
18823 was used for the last column and
18824 \end_layout
18825
18826 \begin_layout Standard
18827
18828 \series bold
18829 Vc
18830 \end_layout
18831
18832 \begin_layout Standard
18833 for the other columns.
18834 \end_layout
18835
18836 \begin_layout Standard
18837 \begin_inset Float table
18838 wide false
18839 sideways false
18840 status open
18841
18842 \begin_layout Plain Layout
18843 \begin_inset Caption
18844
18845 \begin_layout Plain Layout
18846 \begin_inset CommandInset label
18847 LatexCommand label
18848 name "tab:Table-with-vertical"
18849
18850 \end_inset
18851
18852 Table with 1.5
18853 \begin_inset space \thinspace{}
18854 \end_inset
18855
18856 pt thick vertical lines
18857 \end_layout
18858
18859 \end_inset
18860
18861
18862 \end_layout
18863
18864 \begin_layout Plain Layout
18865 \align center
18866 \begin_inset Tabular
18867 <lyxtabular version="3" rows="3" columns="3">
18868 <features tabularvalignment="middle">
18869 <column alignment="center" valignment="top" width="0" special="Vc">
18870 <column alignment="center" valignment="top" width="0" special="Vc">
18871 <column alignment="center" valignment="top" width="0" special="VcV">
18872 <row>
18873 <cell alignment="center" valignment="top" topline="true" usebox="none">
18874 \begin_inset Text
18875
18876 \begin_layout Plain Layout
18877 sd
18878 \end_layout
18879
18880 \end_inset
18881 </cell>
18882 <cell alignment="center" valignment="top" topline="true" usebox="none">
18883 \begin_inset Text
18884
18885 \begin_layout Plain Layout
18886
18887 \end_layout
18888
18889 \end_inset
18890 </cell>
18891 <cell alignment="center" valignment="top" topline="true" usebox="none">
18892 \begin_inset Text
18893
18894 \begin_layout Plain Layout
18895
18896 \end_layout
18897
18898 \end_inset
18899 </cell>
18900 </row>
18901 <row>
18902 <cell alignment="center" valignment="top" topline="true" usebox="none">
18903 \begin_inset Text
18904
18905 \begin_layout Plain Layout
18906
18907 \end_layout
18908
18909 \end_inset
18910 </cell>
18911 <cell alignment="center" valignment="top" topline="true" usebox="none">
18912 \begin_inset Text
18913
18914 \begin_layout Plain Layout
18915 sd
18916 \end_layout
18917
18918 \end_inset
18919 </cell>
18920 <cell alignment="center" valignment="top" topline="true" usebox="none">
18921 \begin_inset Text
18922
18923 \begin_layout Plain Layout
18924
18925 \end_layout
18926
18927 \end_inset
18928 </cell>
18929 </row>
18930 <row>
18931 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18932 \begin_inset Text
18933
18934 \begin_layout Plain Layout
18935
18936 \end_layout
18937
18938 \end_inset
18939 </cell>
18940 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18941 \begin_inset Text
18942
18943 \begin_layout Plain Layout
18944
18945 \end_layout
18946
18947 \end_inset
18948 </cell>
18949 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18950 \begin_inset Text
18951
18952 \begin_layout Plain Layout
18953 sd
18954 \end_layout
18955
18956 \end_inset
18957 </cell>
18958 </row>
18959 </lyxtabular>
18960
18961 \end_inset
18962
18963
18964 \end_layout
18965
18966 \end_inset
18967
18968
18969 \end_layout
18970
18971 \begin_layout Subsection
18972 Dashed Lines
18973 \begin_inset Index idx
18974 status collapsed
18975
18976 \begin_layout Plain Layout
18977 Table Customization ! Dashed Lines
18978 \end_layout
18979
18980 \end_inset
18981
18982
18983 \end_layout
18984
18985 \begin_layout Standard
18986 \begin_inset ERT
18987 status collapsed
18988
18989 \begin_layout Plain Layout
18990
18991
18992 \backslash
18993 ifarydshln
18994 \end_layout
18995
18996 \end_inset
18997
18998
18999 \begin_inset Note Note
19000 status open
19001
19002 \begin_layout Plain Layout
19003 The following section will only be displayed when the LaTeX-package 
19004 \series bold
19005 arydshln
19006 \series default
19007  is installed.
19008 \end_layout
19009
19010 \end_inset
19011
19012
19013 \end_layout
19014
19015 \begin_layout Standard
19016 \begin_inset Float table
19017 placement H
19018 wide false
19019 sideways false
19020 status open
19021
19022 \begin_layout Plain Layout
19023 \begin_inset Caption
19024
19025 \begin_layout Plain Layout
19026 \begin_inset CommandInset label
19027 LatexCommand label
19028 name "tab:Table-with-dashed"
19029
19030 \end_inset
19031
19032 Table with dashed lines
19033 \end_layout
19034
19035 \end_inset
19036
19037
19038 \end_layout
19039
19040 \begin_layout Plain Layout
19041 \align center
19042 \begin_inset Tabular
19043 <lyxtabular version="3" rows="5" columns="5">
19044 <features tabularvalignment="middle">
19045 <column alignment="center" valignment="top" width="0">
19046 <column alignment="center" valignment="top" width="0">
19047 <column alignment="center" valignment="top" width="0" special=":c">
19048 <column alignment="center" valignment="top" width="0">
19049 <column alignment="center" valignment="top" width="0">
19050 <row>
19051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19052 \begin_inset Text
19053
19054 \begin_layout Plain Layout
19055 a
19056 \end_layout
19057
19058 \end_inset
19059 </cell>
19060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19061 \begin_inset Text
19062
19063 \begin_layout Plain Layout
19064 b
19065 \end_layout
19066
19067 \end_inset
19068 </cell>
19069 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19070 \begin_inset Text
19071
19072 \begin_layout Plain Layout
19073 c
19074 \end_layout
19075
19076 \end_inset
19077 </cell>
19078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19079 \begin_inset Text
19080
19081 \begin_layout Plain Layout
19082 d
19083 \end_layout
19084
19085 \end_inset
19086 </cell>
19087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19088 \begin_inset Text
19089
19090 \begin_layout Plain Layout
19091 e
19092 \end_layout
19093
19094 \end_inset
19095 </cell>
19096 </row>
19097 <row>
19098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19099 \begin_inset Text
19100
19101 \begin_layout Plain Layout
19102 f
19103 \end_layout
19104
19105 \end_inset
19106 </cell>
19107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19108 \begin_inset Text
19109
19110 \begin_layout Plain Layout
19111 g
19112 \end_layout
19113
19114 \end_inset
19115 </cell>
19116 <cell alignment="center" valignment="top" topline="true" usebox="none">
19117 \begin_inset Text
19118
19119 \begin_layout Plain Layout
19120 h
19121 \end_layout
19122
19123 \end_inset
19124 </cell>
19125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19126 \begin_inset Text
19127
19128 \begin_layout Plain Layout
19129 i
19130 \end_layout
19131
19132 \end_inset
19133 </cell>
19134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19135 \begin_inset Text
19136
19137 \begin_layout Plain Layout
19138 j
19139 \end_layout
19140
19141 \end_inset
19142 </cell>
19143 </row>
19144 <row>
19145 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19146 \begin_inset Text
19147
19148 \begin_layout Plain Layout
19149 \begin_inset ERT
19150 status collapsed
19151
19152 \begin_layout Plain Layout
19153
19154
19155 \backslash
19156 hdashline 
19157 \end_layout
19158
19159 \end_inset
19160
19161 k
19162 \end_layout
19163
19164 \end_inset
19165 </cell>
19166 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19167 \begin_inset Text
19168
19169 \begin_layout Plain Layout
19170 l
19171 \end_layout
19172
19173 \end_inset
19174 </cell>
19175 <cell alignment="center" valignment="top" usebox="none">
19176 \begin_inset Text
19177
19178 \begin_layout Plain Layout
19179 m
19180 \end_layout
19181
19182 \end_inset
19183 </cell>
19184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19185 \begin_inset Text
19186
19187 \begin_layout Plain Layout
19188 n
19189 \end_layout
19190
19191 \end_inset
19192 </cell>
19193 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19194 \begin_inset Text
19195
19196 \begin_layout Plain Layout
19197 o
19198 \end_layout
19199
19200 \end_inset
19201 </cell>
19202 </row>
19203 <row>
19204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19205 \begin_inset Text
19206
19207 \begin_layout Plain Layout
19208 \begin_inset ERT
19209 status collapsed
19210
19211 \begin_layout Plain Layout
19212
19213
19214 \backslash
19215 cdashline{4-5}
19216 \end_layout
19217
19218 \end_inset
19219
19220 p
19221 \end_layout
19222
19223 \end_inset
19224 </cell>
19225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19226 \begin_inset Text
19227
19228 \begin_layout Plain Layout
19229 q
19230 \end_layout
19231
19232 \end_inset
19233 </cell>
19234 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19235 \begin_inset Text
19236
19237 \begin_layout Plain Layout
19238 r
19239 \end_layout
19240
19241 \end_inset
19242 </cell>
19243 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19244 \begin_inset Text
19245
19246 \begin_layout Plain Layout
19247 s
19248 \end_layout
19249
19250 \end_inset
19251 </cell>
19252 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19253 \begin_inset Text
19254
19255 \begin_layout Plain Layout
19256
19257 \end_layout
19258
19259 \end_inset
19260 </cell>
19261 </row>
19262 <row>
19263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19264 \begin_inset Text
19265
19266 \begin_layout Plain Layout
19267 t
19268 \end_layout
19269
19270 \end_inset
19271 </cell>
19272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19273 \begin_inset Text
19274
19275 \begin_layout Plain Layout
19276 u
19277 \end_layout
19278
19279 \end_inset
19280 </cell>
19281 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19282 \begin_inset Text
19283
19284 \begin_layout Plain Layout
19285 v
19286 \end_layout
19287
19288 \end_inset
19289 </cell>
19290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19291 \begin_inset Text
19292
19293 \begin_layout Plain Layout
19294 w
19295 \end_layout
19296
19297 \end_inset
19298 </cell>
19299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19300 \begin_inset Text
19301
19302 \begin_layout Plain Layout
19303 x
19304 \end_layout
19305
19306 \end_inset
19307 </cell>
19308 </row>
19309 </lyxtabular>
19310
19311 \end_inset
19312
19313
19314 \end_layout
19315
19316 \end_inset
19317
19318
19319 \end_layout
19320
19321 \begin_layout Standard
19322 LyX does not natively support dashed lines, so you have to use TeX-Code.
19323  As a prerequisite the LaTeX-package 
19324 \series bold
19325 arydshln
19326 \series default
19327
19328 \begin_inset Index idx
19329 status collapsed
19330
19331 \begin_layout Plain Layout
19332 LaTeX-packages ! arydshln
19333 \end_layout
19334
19335 \end_inset
19336
19337  must be loaded in the document preamble with the command
19338 \end_layout
19339
19340 \begin_layout Standard
19341
19342 \series bold
19343
19344 \backslash
19345 usepackage{arydshln}
19346 \end_layout
19347
19348 \begin_layout Standard
19349 To make a vertical line dashed, enter the colon 
19350 \begin_inset Quotes eld
19351 \end_inset
19352
19353 :
19354 \begin_inset Quotes erd
19355 \end_inset
19356
19357  together with the character for the horizontal alignment as LaTeX-argument
19358  in the table cell dialog.
19359 \end_layout
19360
19361 \begin_layout Standard
19362 For a horizontal dashed line add the command
19363 \end_layout
19364
19365 \begin_layout Standard
19366
19367 \series bold
19368
19369 \backslash
19370 hdashline
19371 \end_layout
19372
19373 \begin_layout Standard
19374 in TeX-Code as first element of the first cell in the table row.
19375 \end_layout
19376
19377 \begin_layout Standard
19378 For dashed multicolumn lines use the command
19379 \end_layout
19380
19381 \begin_layout Standard
19382
19383 \series bold
19384
19385 \backslash
19386 cdashline{line number
19387 \series default
19388 }
19389 \end_layout
19390
19391 \begin_layout Standard
19392 in TeX-Code as the first element of the first cell in the table row.
19393  If you have for example a multicolumn spanning columns 2 to 4 and you want
19394  to have a dashed line above, add the command
19395 \end_layout
19396
19397 \begin_layout Standard
19398
19399 \series bold
19400
19401 \backslash
19402 cdashline{2-4}
19403 \end_layout
19404
19405 \begin_layout Standard
19406 as the first element of the first cell in the row of the multicolumn.
19407 \end_layout
19408
19409 \begin_layout Standard
19410 \begin_inset VSpace bigskip
19411 \end_inset
19412
19413
19414 \end_layout
19415
19416 \begin_layout Standard
19417 Table
19418 \begin_inset space ~
19419 \end_inset
19420
19421
19422 \begin_inset CommandInset ref
19423 LatexCommand ref
19424 reference "tab:Table-with-dashed"
19425
19426 \end_inset
19427
19428  was created using 
19429 \begin_inset Quotes eld
19430 \end_inset
19431
19432
19433 \series bold
19434 :c
19435 \series default
19436
19437 \begin_inset Quotes erd
19438 \end_inset
19439
19440  as LaTeX-argument of the third column.
19441  The TeX-Code command 
19442 \series bold
19443
19444 \backslash
19445 hdashline
19446 \series default
19447  was inserted in the first cell of the third row and the TeX-Code command
19448 \begin_inset Newline newline
19449 \end_inset
19450
19451  
19452 \series bold
19453
19454 \backslash
19455 cdashline{4-5}
19456 \series default
19457  was inserted in the first cell of the fourth row.
19458 \end_layout
19459
19460 \begin_layout Standard
19461 \begin_inset Note Greyedout
19462 status open
19463
19464 \begin_layout Plain Layout
19465
19466 \series bold
19467 Note:
19468 \series default
19469  The LaTeX-package 
19470 \series bold
19471 arydshln
19472 \series default
19473  is apparently not compatible with the LaTeX-package 
19474 \series bold
19475 colortbl
19476 \series default
19477
19478 \begin_inset Index idx
19479 status collapsed
19480
19481 \begin_layout Plain Layout
19482 LaTeX-packages ! colortbl
19483 \end_layout
19484
19485 \end_inset
19486
19487  that is used for colored tables in section
19488 \begin_inset space ~
19489 \end_inset
19490
19491
19492 \begin_inset CommandInset ref
19493 LatexCommand ref
19494 reference "sec:Colored-Tables"
19495
19496 \end_inset
19497
19498 .
19499  That means colored tables cannot have dashed lines.
19500 \end_layout
19501
19502 \end_inset
19503
19504
19505 \end_layout
19506
19507 \begin_layout Standard
19508 \begin_inset ERT
19509 status collapsed
19510
19511 \begin_layout Plain Layout
19512
19513
19514 \backslash
19515 else
19516 \end_layout
19517
19518 \end_inset
19519
19520
19521 \begin_inset Note Note
19522 status open
19523
19524 \begin_layout Plain Layout
19525 The following will be displayed when the LaTeX-package 
19526 \series bold
19527 arydshln
19528 \series default
19529  is not installed:
19530 \end_layout
19531
19532 \end_inset
19533
19534
19535 \end_layout
19536
19537 \begin_layout Standard
19538 You need to install the package 
19539 \series bold
19540 arydshln
19541 \series default
19542  to see the content of this section in the output.
19543 \end_layout
19544
19545 \begin_layout Standard
19546 \begin_inset ERT
19547 status collapsed
19548
19549 \begin_layout Plain Layout
19550
19551
19552 \backslash
19553 fi
19554 \end_layout
19555
19556 \end_inset
19557
19558
19559 \end_layout
19560
19561 \begin_layout Chapter
19562 Floats
19563 \begin_inset Index idx
19564 status collapsed
19565
19566 \begin_layout Plain Layout
19567 Floats
19568 \end_layout
19569
19570 \end_inset
19571
19572
19573 \end_layout
19574
19575 \begin_layout Section
19576 Introduction
19577 \begin_inset CommandInset label
19578 LatexCommand label
19579 name "sec:FloatIntroduction"
19580
19581 \end_inset
19582
19583
19584 \begin_inset Index idx
19585 status collapsed
19586
19587 \begin_layout Plain Layout
19588 Floats ! Introduction
19589 \end_layout
19590
19591 \end_inset
19592
19593
19594 \end_layout
19595
19596 \begin_layout Standard
19597 A float is a block of text associated with some sort of label, which doesn't
19598  have a fixed location.
19599  It can 
19600 \begin_inset Quotes eld
19601 \end_inset
19602
19603 float
19604 \begin_inset Quotes erd
19605 \end_inset
19606
19607  forward or backward a page or two, to wherever it fits best.
19608  
19609 \family sans
19610 Footnotes
19611 \family default
19612  and 
19613 \family sans
19614 Margin
19615 \begin_inset space ~
19616 \end_inset
19617
19618 Notes
19619 \family default
19620  are also floats, because they can float to the next page when there are
19621  too many notes on the page.
19622 \end_layout
19623
19624 \begin_layout Standard
19625 Floats allow a high quality layout.
19626  Images and tables can be spread evenly to the pages to avoid white space
19627  and pages without text.
19628  As the floating often destroys the context between the text and the image/table
19629 , every float can be referenced in the text.
19630  Floats are therefore numbered.
19631  Referencing is described in section
19632 \begin_inset space ~
19633 \end_inset
19634
19635
19636 \begin_inset CommandInset ref
19637 LatexCommand ref
19638 reference "sec:Referencing-Floats"
19639
19640 \end_inset
19641
19642 .
19643 \end_layout
19644
19645 \begin_layout Standard
19646 To insert a float, use the menu 
19647 \family sans
19648 Insert\SpecialChar \menuseparator
19649 Float
19650 \family default
19651 .
19652  This inserts the 
19653 \family sans
19654 Caption
19655 \family default
19656  inset, a box with a label.
19657  The label will automatically be translated to the document language in
19658  the output.
19659  After the label you can insert the caption text.
19660  The image or table is inserted above or below the caption in a separate
19661  paragraph within the float.
19662  More about the caption placement is contained in section
19663 \begin_inset space ~
19664 \end_inset
19665
19666
19667 \begin_inset CommandInset ref
19668 LatexCommand ref
19669 reference "sec:Caption-Placement"
19670
19671 \end_inset
19672
19673 .
19674  To keep your LyX-document readable, you can open and close the float box
19675  by left-clicking on the box label.
19676  A closed float box looks like this: 
19677 \begin_inset Graphics
19678         filename clipart/floatQt4.png
19679         scale 70
19680         scaleBeforeRotation
19681
19682 \end_inset
19683
19684  â€“ a gray button with a red label.
19685 \end_layout
19686
19687 \begin_layout Standard
19688 It is recommended that you insert floats as a separate standard paragraph
19689  to avoid possible LaTeX-errors that can occur when the surrounding text
19690  is specially formatted.
19691 \end_layout
19692
19693 \begin_layout Standard
19694 Existing figures or tables can be put into a float by highlighting them
19695  and then pressing the corresponding toolbar button for a new float.
19696 \end_layout
19697
19698 \begin_layout Section
19699 Float Types
19700 \end_layout
19701
19702 \begin_layout Standard
19703 Besides figure and table floats that are described in sections
19704 \begin_inset space ~
19705 \end_inset
19706
19707
19708 \begin_inset CommandInset ref
19709 LatexCommand ref
19710 reference "sec:Figure-Floats"
19711
19712 \end_inset
19713
19714  and 
19715 \begin_inset CommandInset ref
19716 LatexCommand ref
19717 reference "sec:Table-Floats"
19718
19719 \end_inset
19720
19721  respectively, LyX offers the float types 
19722 \series bold
19723 Algorithm
19724 \series default
19725  and 
19726 \series bold
19727 Wrap
19728 \series default
19729 .
19730 \end_layout
19731
19732 \begin_layout Subsection
19733 Algorithm Floats
19734 \begin_inset Index idx
19735 status collapsed
19736
19737 \begin_layout Plain Layout
19738 Floats ! Algorithms
19739 \end_layout
19740
19741 \end_inset
19742
19743
19744 \end_layout
19745
19746 \begin_layout Standard
19747 \begin_inset Float algorithm
19748 placement h
19749 wide false
19750 sideways false
19751 status open
19752
19753 \begin_layout Plain Layout
19754 \begin_inset Caption
19755
19756 \begin_layout Plain Layout
19757 \begin_inset CommandInset label
19758 LatexCommand label
19759 name "alg:Example-Algorithm-float"
19760
19761 \end_inset
19762
19763 Example Algorithm float
19764 \end_layout
19765
19766 \end_inset
19767
19768
19769 \end_layout
19770
19771 \begin_layout LyX-Code
19772 for I in 1..N loop
19773 \begin_inset Newline newline
19774 \end_inset
19775
19776  Sum:= Sum + A(I); /*comment*/
19777 \begin_inset Newline newline
19778 \end_inset
19779
19780 end loop
19781 \begin_inset VSpace -4mm
19782 \end_inset
19783
19784
19785 \end_layout
19786
19787 \end_inset
19788
19789
19790 \end_layout
19791
19792 \begin_layout Standard
19793 This float type is inserted with the menu 
19794 \family sans
19795 Insert\SpecialChar \menuseparator
19796 Floats\SpecialChar \menuseparator
19797 Algorithm
19798 \family default
19799 .
19800  It is used for program codes and descriptions of algorithms and can be
19801  seen as an alternative to program code listings that are explained in chapter
19802 \begin_inset space ~
19803 \end_inset
19804
19805
19806 \begin_inset CommandInset ref
19807 LatexCommand ref
19808 reference "cha:Program-Code-Listings"
19809
19810 \end_inset
19811
19812 .
19813  A possible environment for algorithms is the 
19814 \family sans
19815 LyX-Code
19816 \family default
19817 , described in LyX's 
19818 \emph on
19819 Userguide
19820 \emph default
19821 .
19822  Algorithm
19823 \begin_inset space ~
19824 \end_inset
19825
19826
19827 \begin_inset CommandInset ref
19828 LatexCommand ref
19829 reference "alg:Example-Algorithm-float"
19830
19831 \end_inset
19832
19833  is an example of an algorithm float where -4
19834 \begin_inset space \thinspace{}
19835 \end_inset
19836
19837 mm vertical space was added at the end of the float to have the bottom rule
19838  exactly below the last text line.
19839 \end_layout
19840
19841 \begin_layout Standard
19842 The float label is not automatically translated into the document language.
19843  If your document is not in English, you have to do this manually by adding
19844  the following line to the document preamble
19845 \series bold
19846 :
19847 \end_layout
19848
19849 \begin_layout Standard
19850
19851 \series bold
19852
19853 \backslash
19854 floatname{algorithm}{your
19855 \begin_inset space ~
19856 \end_inset
19857
19858 name}
19859 \end_layout
19860
19861 \begin_layout Standard
19862 where 
19863 \family sans
19864 your
19865 \begin_inset space ~
19866 \end_inset
19867
19868 name
19869 \family default
19870  is the word 
19871 \begin_inset Quotes eld
19872 \end_inset
19873
19874
19875 \emph on
19876 algorithm
19877 \emph default
19878
19879 \begin_inset Quotes erd
19880 \end_inset
19881
19882  in your language.
19883 \end_layout
19884
19885 \begin_layout Standard
19886 To insert the list of algorithms you can use the menu 
19887 \family sans
19888 Insert\SpecialChar \menuseparator
19889 List
19890 \begin_inset space \thinspace{}
19891 \end_inset
19892
19893 /
19894 \begin_inset space \thinspace{}
19895 \end_inset
19896
19897 TOC\SpecialChar \menuseparator
19898 List of Algorithms
19899 \family default
19900  when your document has the same language as LyX's menu names.
19901  In other cases use this command in TeX-Code instead:
19902 \end_layout
19903
19904 \begin_layout Standard
19905
19906 \series bold
19907
19908 \backslash
19909 listof{algorithm}{your
19910 \begin_inset space ~
19911 \end_inset
19912
19913 name}
19914 \end_layout
19915
19916 \begin_layout Standard
19917 where 
19918 \family sans
19919 your
19920 \begin_inset space ~
19921 \end_inset
19922
19923 name
19924 \family default
19925  is the word 
19926 \begin_inset Quotes eld
19927 \end_inset
19928
19929
19930 \emph on
19931 List of Algorithm
19932 \emph default
19933 s
19934 \begin_inset Quotes erd
19935 \end_inset
19936
19937  in your language.
19938 \end_layout
19939
19940 \begin_layout Standard
19941 Algorithm floats are not by default numbered in the scheme 
19942 \begin_inset Quotes eld
19943 \end_inset
19944
19945 chapter.algorithm
19946 \begin_inset Quotes erd
19947 \end_inset
19948
19949  as is the case for table and figure floats in many document-classes.
19950  To number algorithm floats in the same scheme, add this command to your
19951  document preamble:
19952 \end_layout
19953
19954 \begin_layout Standard
19955
19956 \series bold
19957
19958 \backslash
19959 numberwithin{algorithm}{chapter}
19960 \end_layout
19961
19962 \begin_layout Standard
19963 To be able to use the command 
19964 \series bold
19965
19966 \backslash
19967 numberwithin
19968 \series default
19969 , set in the tab 
19970 \family sans
19971 Math
19972 \begin_inset space ~
19973 \end_inset
19974
19975 Options
19976 \family default
19977  in the document settings the option 
19978 \family sans
19979 Use
19980 \begin_inset space ~
19981 \end_inset
19982
19983 AMS
19984 \begin_inset space ~
19985 \end_inset
19986
19987 math
19988 \begin_inset space ~
19989 \end_inset
19990
19991 package
19992 \family default
19993 .
19994 \end_layout
19995
19996 \begin_layout Subsection
19997 Wrap Floats
19998 \begin_inset Index idx
19999 status collapsed
20000
20001 \begin_layout Plain Layout
20002 Floats ! Wrap Floats
20003 \end_layout
20004
20005 \end_inset
20006
20007
20008 \end_layout
20009
20010 \begin_layout Standard
20011 \begin_inset Wrap figure
20012 lines 0
20013 placement l
20014 overhang 1cm
20015 width "40col%"
20016 status open
20017
20018 \begin_layout Plain Layout
20019 \begin_inset Graphics
20020         filename clipart/mobius.eps
20021         width 40col%
20022         scaleBeforeRotation
20023         rotateOrigin center
20024
20025 \end_inset
20026
20027
20028 \end_layout
20029
20030 \begin_layout Plain Layout
20031 \begin_inset Caption
20032
20033 \begin_layout Plain Layout
20034 \begin_inset CommandInset label
20035 LatexCommand label
20036 name "fig:This-is-a"
20037
20038 \end_inset
20039
20040 This is a figure wrap float.
20041 \end_layout
20042
20043 \end_inset
20044
20045
20046 \end_layout
20047
20048 \end_inset
20049
20050  This float type is used if you want to wrap text around a figure or table
20051  so that it only occupies some fraction of the column width.
20052  It can be inserted using the menu 
20053 \family sans
20054 Insert\SpecialChar \menuseparator
20055 Floats\SpecialChar \menuseparator
20056 Figure
20057 \begin_inset space ~
20058 \end_inset
20059
20060 Wrap
20061 \begin_inset space ~
20062 \end_inset
20063
20064 Float
20065 \family default
20066  or 
20067 \family sans
20068 Table
20069 \begin_inset space ~
20070 \end_inset
20071
20072 Wrap
20073 \begin_inset space ~
20074 \end_inset
20075
20076 Float
20077 \family default
20078  if the LaTeX-package 
20079 \series bold
20080 wrapfig
20081 \series default
20082
20083 \begin_inset Index idx
20084 status collapsed
20085
20086 \begin_layout Plain Layout
20087 LaTeX-packages ! wrapfig
20088 \begin_inset ERT
20089 status collapsed
20090
20091 \begin_layout Plain Layout
20092
20093
20094 \backslash
20095 vspace{4mm}
20096 \end_layout
20097
20098 \end_inset
20099
20100
20101 \end_layout
20102
20103 \end_inset
20104
20105  is installed.
20106 \begin_inset Foot
20107 status collapsed
20108
20109 \begin_layout Plain Layout
20110 Installing a LaTeX-package is explained it in the 
20111 \emph on
20112 LaTeX
20113 \begin_inset space ~
20114 \end_inset
20115
20116 Configuration
20117 \emph default
20118  manual.
20119 \end_layout
20120
20121 \end_inset
20122
20123  The settings of the float can be modified by right-clicking on the float
20124  box.
20125  The mandatory settings are the float 
20126 \family sans
20127 Placement
20128 \family default
20129  and its 
20130 \family sans
20131 Width
20132 \family default
20133 .
20134  Optional are the 
20135 \family sans
20136 Overhang
20137 \family default
20138  that specifies how much the float is set into the paragraph
20139 \begin_inset space \thinspace{}
20140 \end_inset
20141
20142 /
20143 \begin_inset space \thinspace{}
20144 \end_inset
20145
20146 page margin, and the 
20147 \family sans
20148 Line
20149 \begin_inset space ~
20150 \end_inset
20151
20152 span
20153 \family default
20154  that specifies how many text lines the float will approximately need.
20155  The line span is often hard to approximate; so it is better only to use
20156  it when you encounter float placement problems.
20157  You can furthermore decide if LaTeX is allowed to let the float float within
20158  the paragraph or to surrounding paragraphs.
20159  Figure
20160 \begin_inset space ~
20161 \end_inset
20162
20163
20164 \begin_inset CommandInset ref
20165 LatexCommand ref
20166 reference "fig:This-is-a"
20167
20168 \end_inset
20169
20170  is an example text wrap float with a width of 40
20171 \begin_inset space \thinspace{}
20172 \end_inset
20173
20174 col%, 1
20175 \begin_inset space \thinspace{}
20176 \end_inset
20177
20178 cm overhang, set to the left.
20179 \begin_inset Foot
20180 status collapsed
20181
20182 \begin_layout Plain Layout
20183 Available units are explained in appendix
20184 \begin_inset space ~
20185 \end_inset
20186
20187
20188 \begin_inset CommandInset ref
20189 LatexCommand ref
20190 reference "cha:Units-available-in"
20191
20192 \end_inset
20193
20194 .
20195 \end_layout
20196
20197 \end_inset
20198
20199
20200 \end_layout
20201
20202 \begin_layout Standard
20203 \begin_inset Note Greyedout
20204 status open
20205
20206 \begin_layout Plain Layout
20207
20208 \series bold
20209 Note:
20210 \series default
20211  Text
20212 \begin_inset space ~
20213 \end_inset
20214
20215 wrap float floats are fragile! E.
20216 \begin_inset space \thinspace{}
20217 \end_inset
20218
20219 g.
20220 \begin_inset space \space{}
20221 \end_inset
20222
20223 having a figure too close to the bottom of the page can mess things up in
20224  such a way that the float does not appear in the output or that it is placed
20225  over some other text.
20226 \end_layout
20227
20228 \end_inset
20229
20230
20231 \end_layout
20232
20233 \begin_layout Standard
20234 In general:
20235 \end_layout
20236
20237 \begin_layout Itemize
20238 Wrap floats should not be placed in paragraphs that run over a page break.
20239  That means that wrap floats are better inserted in their exact place when
20240  the document is almost finished and you are able to estimate where page
20241  breaks will appear.
20242 \end_layout
20243
20244 \begin_layout Itemize
20245 Wrap floats should either be placed in their own paragraph before the paragraph
20246  where they should wrap into or within a paragraph.
20247 \end_layout
20248
20249 \begin_layout Itemize
20250 Wrap floats in consecutive paragraphs may cause troubles, so ensure that
20251  there is a text paragraph between them as separator.
20252 \end_layout
20253
20254 \begin_layout Itemize
20255 Wrap floats are not allowed in section headings or tables.
20256 \end_layout
20257
20258 \begin_layout Section
20259 Float Numbering
20260 \begin_inset Index idx
20261 status collapsed
20262
20263 \begin_layout Plain Layout
20264 Floats ! Numbering
20265 \end_layout
20266
20267 \end_inset
20268
20269
20270 \end_layout
20271
20272 \begin_layout Standard
20273 Floats are usually numbered either independently from the sections the floats
20274  are in, or in the scheme 
20275 \begin_inset Quotes eld
20276 \end_inset
20277
20278 chapter.number
20279 \begin_inset Quotes erd
20280 \end_inset
20281
20282  or 
20283 \begin_inset Quotes eld
20284 \end_inset
20285
20286 section.number
20287 \begin_inset Quotes erd
20288 \end_inset
20289
20290 .
20291  This depends on the document class used.
20292 \end_layout
20293
20294 \begin_layout Standard
20295 To change section-independent numbering, you can use this command in the
20296  document preamble:
20297 \end_layout
20298
20299 \begin_layout Standard
20300
20301 \series bold
20302
20303 \backslash
20304 renewcommand{
20305 \backslash
20306 thetable}{
20307 \backslash
20308 roman{table}}
20309 \end_layout
20310
20311 \begin_layout Standard
20312
20313 \series bold
20314
20315 \backslash
20316 thetable
20317 \series default
20318  is the command that prints the table number, for figure floats, the command
20319  would be 
20320 \series bold
20321
20322 \backslash
20323 thefigure
20324 \series default
20325 .
20326  
20327 \series bold
20328
20329 \backslash
20330 roman
20331 \series default
20332  in the command above prints the table number as small roman number.
20333 \end_layout
20334
20335 \begin_layout Standard
20336 To change the numbering scheme for example to 
20337 \begin_inset Quotes eld
20338 \end_inset
20339
20340 subsection.number
20341 \begin_inset Quotes erd
20342 \end_inset
20343
20344 , use this command in the preamble:
20345 \end_layout
20346
20347 \begin_layout Standard
20348
20349 \series bold
20350
20351 \backslash
20352 numberwithin{table}{subsection}
20353 \end_layout
20354
20355 \begin_layout Standard
20356 To be able to use the command 
20357 \series bold
20358
20359 \backslash
20360 numberwithin
20361 \series default
20362 , set in the tab 
20363 \family sans
20364 Math
20365 \begin_inset space ~
20366 \end_inset
20367
20368 Options
20369 \family default
20370  in the document settings the option 
20371 \family sans
20372 Use
20373 \begin_inset space ~
20374 \end_inset
20375
20376 AMS
20377 \begin_inset space ~
20378 \end_inset
20379
20380 math
20381 \begin_inset space ~
20382 \end_inset
20383
20384 package
20385 \family default
20386 .
20387 \end_layout
20388
20389 \begin_layout Standard
20390 Please also have a look at section
20391 \begin_inset space ~
20392 \end_inset
20393
20394
20395 \begin_inset CommandInset ref
20396 LatexCommand ref
20397 reference "sub:Footnote-Numbering"
20398
20399 \end_inset
20400
20401  for the details and important notes about the numbering commands.
20402 \end_layout
20403
20404 \begin_layout Section
20405 Referencing Floats
20406 \begin_inset CommandInset label
20407 LatexCommand label
20408 name "sec:Referencing-Floats"
20409
20410 \end_inset
20411
20412
20413 \begin_inset Index idx
20414 status collapsed
20415
20416 \begin_layout Plain Layout
20417 Floats ! References
20418 \end_layout
20419
20420 \end_inset
20421
20422
20423 \begin_inset Index idx
20424 status collapsed
20425
20426 \begin_layout Plain Layout
20427 References ! to Floats
20428 \end_layout
20429
20430 \end_inset
20431
20432
20433 \end_layout
20434
20435 \begin_layout Standard
20436 To reference a float, insert a label into its caption using the menu 
20437 \family sans
20438 Insert\SpecialChar \menuseparator
20439 Label
20440 \family default
20441  or the toolbar button 
20442 \begin_inset Graphics
20443         filename ../images/label-insert.png
20444         scale 85
20445         scaleBeforeRotation
20446
20447 \end_inset
20448
20449 .
20450  A grey label box like this one: 
20451 \begin_inset Graphics
20452         filename clipart/labelQt4.png
20453         scale 85
20454         scaleBeforeRotation
20455
20456 \end_inset
20457
20458  will be inserted and the label window pops up asking for the label text.
20459  LyX offers as text the first words of the caption with a prefix.
20460  The prefix depends on the float type, e.
20461 \begin_inset space \thinspace{}
20462 \end_inset
20463
20464 g.
20465 \begin_inset space \space{}
20466 \end_inset
20467
20468 for figure floats the prefix will be "
20469 \family sans
20470 fig:
20471 \family default
20472 ".
20473 \end_layout
20474
20475 \begin_layout Standard
20476 The label is used as anchor and name for the reference.
20477  You can refer to the label using the menu 
20478 \family sans
20479 Insert\SpecialChar \menuseparator
20480 Cross-reference
20481 \family default
20482  or the toolbar button 
20483 \begin_inset Graphics
20484         filename ../images/dialog-show-new-inset_ref.png
20485         scale 85
20486         scaleBeforeRotation
20487
20488 \end_inset
20489
20490 .
20491  A grey cross-reference box like this one: 
20492 \begin_inset Graphics
20493         filename clipart/referenceQt4.png
20494         scale 85
20495         scaleBeforeRotation
20496
20497 \end_inset
20498
20499  will be inserted and the cross-reference window appear showing all labels
20500  of the document.
20501  If you have multiple LyX-documents opened, choose the one you are working
20502  on from the drop-list at the top of the dialog.
20503  You can now sort the labels alphabetically and then choose one.
20504  At the position of the cross-reference box the float number will appear
20505  in the output.
20506 \end_layout
20507
20508 \begin_layout Standard
20509 It is recommended that you use a protected space between the cross-reference
20510  name and its number to avoid line breaks between them.
20511  If a cross-reference refers to a non-existing label, you will see two question
20512  marks in the output instead of the reference.
20513 \end_layout
20514
20515 \begin_layout Standard
20516 You can change labels at any time by clicking on the label box.
20517  References to the changed label will automatically change its link to the
20518  new label text, so that you don't need to take care about this.
20519 \end_layout
20520
20521 \begin_layout Standard
20522 The button 
20523 \family sans
20524 Go
20525 \begin_inset space ~
20526 \end_inset
20527
20528 to
20529 \begin_inset space ~
20530 \end_inset
20531
20532 Label
20533 \family default
20534  in the cross-reference window sets the cursor before the referred label.
20535  The button text changes then to Go
20536 \begin_inset space ~
20537 \end_inset
20538
20539 Back and you can use it to set the cursor back to the cross-reference.
20540  Right-clicking on a cross-reference box also sets the cursor before the
20541  referenced label but without the possibility of going back.
20542 \end_layout
20543
20544 \begin_layout Subsection
20545 Cross-Reference Formats
20546 \begin_inset CommandInset label
20547 LatexCommand label
20548 name "sub:Cross-Reference-Formats"
20549
20550 \end_inset
20551
20552
20553 \begin_inset Index idx
20554 status collapsed
20555
20556 \begin_layout Plain Layout
20557 References ! Formats
20558 \end_layout
20559
20560 \end_inset
20561
20562
20563 \end_layout
20564
20565 \begin_layout Standard
20566 There are six varieties of cross-references:
20567 \end_layout
20568
20569 \begin_layout Description
20570 <reference>: prints the float number, this is the default: 
20571 \begin_inset CommandInset ref
20572 LatexCommand ref
20573 reference "fig:Two-distorted-images"
20574
20575 \end_inset
20576
20577
20578 \end_layout
20579
20580 \begin_layout Description
20581 (<reference>): prints the float number within two parentheses, this is the
20582  style normally used to reference formulas, especially when the reference
20583  name 
20584 \begin_inset Quotes eld
20585 \end_inset
20586
20587 Equation
20588 \begin_inset Quotes erd
20589 \end_inset
20590
20591  is omitted: 
20592 \begin_inset CommandInset ref
20593 LatexCommand eqref
20594 reference "eq:Wgn"
20595
20596 \end_inset
20597
20598
20599 \end_layout
20600
20601 \begin_layout Description
20602 <page>: prints the page number: Page
20603 \begin_inset space ~
20604 \end_inset
20605
20606
20607 \begin_inset CommandInset ref
20608 LatexCommand pageref
20609 reference "fig:Two-distorted-images"
20610
20611 \end_inset
20612
20613
20614 \end_layout
20615
20616 \begin_layout Description
20617 on
20618 \begin_inset space ~
20619 \end_inset
20620
20621 page
20622 \begin_inset space ~
20623 \end_inset
20624
20625 <page>: prints the text "on page" and the page number: 
20626 \begin_inset CommandInset ref
20627 LatexCommand vpageref
20628 reference "fig:Two-distorted-images"
20629
20630 \end_inset
20631
20632
20633 \end_layout
20634
20635 \begin_layout Description
20636 <reference>
20637 \begin_inset space ~
20638 \end_inset
20639
20640 on
20641 \begin_inset space ~
20642 \end_inset
20643
20644 page
20645 \begin_inset space ~
20646 \end_inset
20647
20648 <page>: prints the float number, the text "on page", and the page number:
20649  
20650 \begin_inset CommandInset ref
20651 LatexCommand vref
20652 reference "fig:Two-distorted-images"
20653
20654 \end_inset
20655
20656
20657 \end_layout
20658
20659 \begin_layout Description
20660 Formatted
20661 \begin_inset space ~
20662 \end_inset
20663
20664 reference: prints a self-defined cross-reference format.
20665 \begin_inset Newline newline
20666 \end_inset
20667
20668
20669 \begin_inset Note Greyedout
20670 status open
20671
20672 \begin_layout Plain Layout
20673
20674 \series bold
20675 Note:
20676 \series default
20677  This feature is only available when you have the LaTeX-package 
20678 \series bold
20679 prettyref
20680 \series default
20681  or 
20682 \series bold
20683 refstyle
20684 \series default
20685
20686 \begin_inset Index idx
20687 status collapsed
20688
20689 \begin_layout Plain Layout
20690 LaTeX-packages ! prettyref
20691 \end_layout
20692
20693 \end_inset
20694
20695
20696 \begin_inset Index idx
20697 status collapsed
20698
20699 \begin_layout Plain Layout
20700 LaTeX-packages ! refstyle
20701 \end_layout
20702
20703 \end_inset
20704
20705  installed.
20706 \end_layout
20707
20708 \end_inset
20709
20710
20711 \begin_inset Newline newline
20712 \end_inset
20713
20714 You can select which LaTeX-package should be used for this feature by setting
20715  the option 
20716 \family sans
20717 Use refstyle (not prettyref) for cross-references
20718 \family default
20719  in the menu 
20720 \family sans
20721 Document\SpecialChar \menuseparator
20722 Settings\SpecialChar \menuseparator
20723 Document Class
20724 \family default
20725 .
20726  The format is specified by adding the command 
20727 \series bold
20728
20729 \backslash
20730 newrefformat
20731 \series default
20732  (prettyref) or 
20733 \series bold
20734
20735 \backslash
20736 newref
20737 \series default
20738  (refstyle) to the preamble of the document.
20739  For example redefining all references to figures (which have the label
20740  shortcut 
20741 \begin_inset Quotes eld
20742 \end_inset
20743
20744
20745 \family sans
20746 fig
20747 \family default
20748
20749 \begin_inset Quotes erd
20750 \end_inset
20751
20752 ) can be done with this command
20753 \begin_inset Newline newline
20754 \end_inset
20755
20756
20757 \series bold
20758
20759 \backslash
20760 newref{fig}{refcmd={Image on page 
20761 \backslash
20762 pageref{#1}}}
20763 \series default
20764
20765 \begin_inset Newline newline
20766 \end_inset
20767
20768 For more information about the format, have a look at the package documentations
20769
20770 \begin_inset CommandInset citation
20771 LatexCommand cite
20772 key "prettyref,refstyle"
20773
20774 \end_inset
20775
20776 .
20777 \end_layout
20778
20779 \begin_layout Description
20780 Textual
20781 \begin_inset space ~
20782 \end_inset
20783
20784 reference: prints the caption of the reference: 
20785 \begin_inset CommandInset ref
20786 LatexCommand nameref
20787 reference "fig:Two-distorted-images"
20788
20789 \end_inset
20790
20791
20792 \end_layout
20793
20794 \begin_layout Standard
20795
20796 \family sans
20797 <page>
20798 \family default
20799  will not print the page number if the label is on the previous, the same,
20800  or the next page.
20801  You will e.
20802 \begin_inset space \thinspace{}
20803 \end_inset
20804
20805 g.
20806 \begin_inset space \space{}
20807 \end_inset
20808
20809 see the text 
20810 \begin_inset Quotes eld
20811 \end_inset
20812
20813
20814 \family sans
20815 on this page
20816 \family default
20817
20818 \begin_inset Quotes erd
20819 \end_inset
20820
20821  instead.
20822  The style 
20823 \family sans
20824 <reference> on page <page>
20825 \family default
20826  will not print anything about the page if the label is on the same page.
20827 \end_layout
20828
20829 \begin_layout Standard
20830 The number and current page of the part of the document referred to in the
20831  output is automatically calculated by LaTeX.
20832  The varieties are adjusted in the field 
20833 \family sans
20834 Format
20835 \family default
20836  of the cross-reference window that appears when you click on the cross-referenc
20837 e box.
20838 \end_layout
20839
20840 \begin_layout Standard
20841 \begin_inset Note Greyedout
20842 status open
20843
20844 \begin_layout Plain Layout
20845
20846 \series bold
20847 Note:
20848 \series default
20849  It is recommended to use the LaTeX-package 
20850 \series bold
20851 refstyle
20852 \series default
20853
20854 \begin_inset Index idx
20855 status collapsed
20856
20857 \begin_layout Plain Layout
20858 LaTeX-packages ! refstyle
20859 \end_layout
20860
20861 \end_inset
20862
20863  because 
20864 \series bold
20865 prettyref
20866 \series default
20867
20868 \begin_inset Index idx
20869 status collapsed
20870
20871 \begin_layout Plain Layout
20872 LaTeX-packages ! prettyref
20873 \end_layout
20874
20875 \end_inset
20876
20877  does not know all of LyX's possible label shortcuts
20878 \begin_inset Foot
20879 status collapsed
20880
20881 \begin_layout Plain Layout
20882 \begin_inset Quotes eld
20883 \end_inset
20884
20885 fig:
20886 \begin_inset Quotes erd
20887 \end_inset
20888
20889  is for example LyX's shortcut for labels in figure captions.
20890 \end_layout
20891
20892 \end_inset
20893
20894  and is not internationalized.
20895 \end_layout
20896
20897 \end_inset
20898
20899
20900 \end_layout
20901
20902 \begin_layout Standard
20903 \begin_inset Note Greyedout
20904 status open
20905
20906 \begin_layout Plain Layout
20907
20908 \series bold
20909 Note:
20910 \series default
20911  Due to a bug in the LaTeX-package 
20912 \series bold
20913 varioref
20914 \series default
20915  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20916  languages that make the period character active (like French).
20917  For a workaround, see
20918 \begin_inset Newline newline
20919 \end_inset
20920
20921
20922 \begin_inset CommandInset href
20923 LatexCommand href
20924 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20925
20926 \end_inset
20927
20928 .
20929 \end_layout
20930
20931 \end_inset
20932
20933
20934 \end_layout
20935
20936 \begin_layout Subsection
20937 Automatic Reference Naming
20938 \begin_inset Index idx
20939 status collapsed
20940
20941 \begin_layout Plain Layout
20942 References ! Automatic Reference Naming
20943 \end_layout
20944
20945 \end_inset
20946
20947
20948 \end_layout
20949
20950 \begin_layout Standard
20951 The LaTeX-package 
20952 \series bold
20953 hyperref
20954 \series default
20955
20956 \begin_inset Index idx
20957 status collapsed
20958
20959 \begin_layout Plain Layout
20960 LaTeX-packages ! hyperref
20961 \end_layout
20962
20963 \end_inset
20964
20965 , that is enabled in the 
20966 \family sans
20967 PDF Properties
20968 \family default
20969  of the 
20970 \family sans
20971 Document Settings
20972 \family default
20973  dialog, provides a very useful feature that cross-references automatically
20974  include the name of the referenced floats (or text parts like 
20975 \emph on
20976 section
20977 \emph default
20978 ).
20979  So you will save having to write e.
20980 \begin_inset space \thinspace{}
20981 \end_inset
20982
20983 g.
20984 \begin_inset space \space{}
20985 \end_inset
20986
20987 the name 
20988 \begin_inset Quotes eld
20989 \end_inset
20990
20991 Figure
20992 \begin_inset Quotes erd
20993 \end_inset
20994
20995  before every reference to a figure.
20996  To use this feature, enable 
20997 \series bold
20998 hyperref
20999 \series default
21000  and insert this line to the LaTeX preamble:
21001 \end_layout
21002
21003 \begin_layout Standard
21004
21005 \series bold
21006
21007 \backslash
21008 AtBeginDocument{
21009 \backslash
21010 renewcommand{
21011 \backslash
21012 ref}[1]{
21013 \backslash
21014 mbox{
21015 \backslash
21016 autoref{#1}}}}
21017 \end_layout
21018
21019 \begin_layout Standard
21020 When you prefer other reference names than the default ones, for example
21021  you want instead of 
21022 \begin_inset Quotes eld
21023 \end_inset
21024
21025 section
21026 \begin_inset Quotes erd
21027 \end_inset
21028
21029  the name 
21030 \begin_inset Quotes eld
21031 \end_inset
21032
21033 sec.
21034 \begin_inset space \thinspace{}
21035 \end_inset
21036
21037
21038 \begin_inset Quotes eld
21039 \end_inset
21040
21041 , you can redefine the name by inserting this in the preamble:
21042 \end_layout
21043
21044 \begin_layout Standard
21045
21046 \series bold
21047
21048 \backslash
21049 addto
21050 \backslash
21051 extrasenglish{
21052 \backslash
21053 renewcommand{
21054 \backslash
21055 sectionautorefname}
21056 \begin_inset Newline newline
21057 \end_inset
21058
21059
21060 \begin_inset Phantom HPhantom
21061 status open
21062
21063 \begin_layout Plain Layout
21064
21065 \series bold
21066 \begin_inset space ~
21067 \end_inset
21068
21069
21070 \end_layout
21071
21072 \end_inset
21073
21074 {sec.
21075 \backslash
21076 negthinspace}}
21077 \end_layout
21078
21079 \begin_layout Standard
21080 When you are using another document language than English, replace
21081 \begin_inset Newline newline
21082 \end_inset
21083
21084
21085 \series bold
21086
21087 \backslash
21088 extrasenglish
21089 \series default
21090  by 
21091 \series bold
21092
21093 \backslash
21094 extras***
21095 \series default
21096 , where *** is the name of the language used.
21097 \end_layout
21098
21099 \begin_layout Standard
21100 To get automatic names, but not for certain reference types, for example
21101  not for equations, use this preamble code:
21102 \end_layout
21103
21104 \begin_layout Standard
21105
21106 \series bold
21107
21108 \backslash
21109 newlength{
21110 \backslash
21111 abc}
21112 \begin_inset Newline newline
21113 \end_inset
21114
21115
21116 \backslash
21117 settowidth{
21118 \backslash
21119 abc}{
21120 \backslash
21121 space}
21122 \begin_inset Newline newline
21123 \end_inset
21124
21125
21126 \backslash
21127 addto
21128 \backslash
21129 extrasenglish{
21130 \backslash
21131 renewcommand{
21132 \backslash
21133 equationautorefname}
21134 \begin_inset Newline newline
21135 \end_inset
21136
21137
21138 \begin_inset Phantom HPhantom
21139 status open
21140
21141 \begin_layout Plain Layout
21142
21143 \series bold
21144 \begin_inset space ~
21145 \end_inset
21146
21147
21148 \end_layout
21149
21150 \end_inset
21151
21152 {
21153 \backslash
21154 hspace{-
21155 \backslash
21156 abc}}
21157 \end_layout
21158
21159 \begin_layout Standard
21160 More about this topic can be found in 
21161 \series bold
21162 hyperref
21163 \series default
21164 's documentation 
21165 \begin_inset CommandInset citation
21166 LatexCommand cite
21167 key "hyperref"
21168
21169 \end_inset
21170
21171 .
21172 \end_layout
21173
21174 \begin_layout Standard
21175 \begin_inset Note Greyedout
21176 status open
21177
21178 \begin_layout Plain Layout
21179
21180 \series bold
21181 Note:
21182 \series default
21183  Automatic reference naming cannot be used when you use cross-references
21184  in the 
21185 \family sans
21186 Formatted
21187 \begin_inset space ~
21188 \end_inset
21189
21190 reference
21191 \family default
21192  style, as described in section
21193 \begin_inset space ~
21194 \end_inset
21195
21196
21197 \begin_inset CommandInset ref
21198 LatexCommand ref
21199 reference "sub:Cross-Reference-Formats"
21200
21201 \end_inset
21202
21203 .
21204 \end_layout
21205
21206 \end_inset
21207
21208
21209 \end_layout
21210
21211 \begin_layout Standard
21212 The 
21213 \emph on
21214 Math
21215 \emph default
21216  manual is an example where automatic reference naming is used.
21217 \end_layout
21218
21219 \begin_layout Subsection
21220 Reference Position
21221 \begin_inset CommandInset label
21222 LatexCommand label
21223 name "sub:Reference-Position"
21224
21225 \end_inset
21226
21227
21228 \begin_inset Index idx
21229 status collapsed
21230
21231 \begin_layout Plain Layout
21232 References ! Reference Position
21233 \end_layout
21234
21235 \end_inset
21236
21237
21238 \end_layout
21239
21240 \begin_layout Standard
21241 If you use 
21242 \series bold
21243 hyperref
21244 \series default
21245
21246 \begin_inset Index idx
21247 status collapsed
21248
21249 \begin_layout Plain Layout
21250 LaTeX-packages ! hyperref
21251 \end_layout
21252
21253 \end_inset
21254
21255  in the 
21256 \family sans
21257 PDF Properties
21258 \family default
21259  of the 
21260 \family sans
21261 Document Settings
21262 \family default
21263  dialog to link cross-references in the output, you will see that clicking
21264  on an image float reference jumps to the image label.
21265  The caption will be the first text part on the screen, so that you cannot
21266  see the image without scrolling.
21267  This is because the reference link anchor is placed at the position of
21268  the label.
21269  With the use of the package 
21270 \series bold
21271 hypcap
21272 \series default
21273
21274 \begin_inset Index idx
21275 status collapsed
21276
21277 \begin_layout Plain Layout
21278 LaTeX-packages ! hypcap
21279 \end_layout
21280
21281 \end_inset
21282
21283 , which is part of the LaTeX-package 
21284 \series bold
21285 oberdiek
21286 \series default
21287
21288 \begin_inset Index idx
21289 status collapsed
21290
21291 \begin_layout Plain Layout
21292 LaTeX-packages ! oberdiek
21293 \end_layout
21294
21295 \end_inset
21296
21297 , the link anchor is placed at the beginning of a float.
21298  To use this feature for figure floats, load 
21299 \series bold
21300 hypcap
21301 \series default
21302  in the document preamble with the line
21303 \end_layout
21304
21305 \begin_layout Standard
21306
21307 \series bold
21308
21309 \backslash
21310 usepackage[figure]{hypcap}
21311 \end_layout
21312
21313 \begin_layout Standard
21314 You can also use 
21315 \series bold
21316 hypcap
21317 \series default
21318  for all float types but this is not recommended for stability reasons.
21319  For more information, have a look at 
21320 \series bold
21321 hypcap
21322 \series default
21323 's manual 
21324 \begin_inset CommandInset citation
21325 LatexCommand cite
21326 key "hypcap"
21327
21328 \end_inset
21329
21330 .
21331 \end_layout
21332
21333 \begin_layout Standard
21334 \begin_inset Note Greyedout
21335 status open
21336
21337 \begin_layout Plain Layout
21338
21339 \series bold
21340 Note:
21341 \series default
21342  
21343 \series bold
21344 hypcap
21345 \series default
21346  has no effect on references to subfigures.
21347 \end_layout
21348
21349 \end_inset
21350
21351
21352 \end_layout
21353
21354 \begin_layout Section
21355 Float Placement
21356 \begin_inset CommandInset label
21357 LatexCommand label
21358 name "sec:Float-Placement"
21359
21360 \end_inset
21361
21362
21363 \begin_inset Index idx
21364 status collapsed
21365
21366 \begin_layout Plain Layout
21367 Floats ! Placement
21368 \end_layout
21369
21370 \end_inset
21371
21372
21373 \end_layout
21374
21375 \begin_layout Standard
21376 Right-clicking on a float-box opens a dialog where you can alter the placement
21377  options that LaTeX uses for positioning the float.
21378 \begin_inset Newline newline
21379 \end_inset
21380
21381 The option 
21382 \family sans
21383 Span
21384 \begin_inset space ~
21385 \end_inset
21386
21387 columns
21388 \family default
21389  is only useful for two-column documents: If you select it, the float will
21390  span both columns on the page instead of being confined to just one.
21391 \begin_inset Newline newline
21392 \end_inset
21393
21394 The option 
21395 \family sans
21396 Rotate
21397 \begin_inset space ~
21398 \end_inset
21399
21400 sideways
21401 \family default
21402  is used to rotate floats, see section 
21403 \begin_inset CommandInset ref
21404 LatexCommand ref
21405 reference "sec:Rotated-Floats"
21406
21407 \end_inset
21408
21409 .
21410 \end_layout
21411
21412 \begin_layout Standard
21413 You can use one ore more of the following options in the float dialog to
21414  set the placement for a particular float when you uncheck the option 
21415 \family sans
21416 Use
21417 \begin_inset space ~
21418 \end_inset
21419
21420 default
21421 \begin_inset space ~
21422 \end_inset
21423
21424 placement
21425 \family default
21426 :
21427 \end_layout
21428
21429 \begin_layout Description
21430 Here
21431 \begin_inset space ~
21432 \end_inset
21433
21434 if
21435 \begin_inset space ~
21436 \end_inset
21437
21438 possible try to place the float on the position where it has been inserted
21439 \end_layout
21440
21441 \begin_layout Description
21442 Top
21443 \begin_inset space ~
21444 \end_inset
21445
21446 of
21447 \begin_inset space ~
21448 \end_inset
21449
21450 page try to place the float at the top of the current page
21451 \end_layout
21452
21453 \begin_layout Description
21454 Bottom
21455 \begin_inset space ~
21456 \end_inset
21457
21458 of
21459 \begin_inset space ~
21460 \end_inset
21461
21462 page try to place the float at the bottom of the current page
21463 \end_layout
21464
21465 \begin_layout Description
21466 Page
21467 \begin_inset space ~
21468 \end_inset
21469
21470 of
21471 \begin_inset space ~
21472 \end_inset
21473
21474 floats try to place the float on its own page 
21475 \end_layout
21476
21477 \begin_layout Standard
21478 The order of the above option is 
21479 \emph on
21480 always
21481 \emph default
21482  used by LaTeX.
21483  That means, if you use the default placement, LaTeX will first try out
21484  
21485 \family sans
21486 Here
21487 \begin_inset space ~
21488 \end_inset
21489
21490 if
21491 \begin_inset space ~
21492 \end_inset
21493
21494 possible
21495 \family default
21496 , then 
21497 \family sans
21498 Top
21499 \begin_inset space ~
21500 \end_inset
21501
21502 of
21503 \begin_inset space ~
21504 \end_inset
21505
21506 page
21507 \family default
21508 , and then the others.
21509  If you do not use the default, LaTeX will try only the checked options
21510  but in the same order.
21511  If none of the 4
21512 \begin_inset space ~
21513 \end_inset
21514
21515 placements are possible the procedure is internally repeated but it is tried
21516  to put the float on the following page.
21517 \end_layout
21518
21519 \begin_layout Standard
21520 By default, each option has its own rules:
21521 \end_layout
21522
21523 \begin_layout Labeling
21524 \labelwidthstring 00.00.0000
21525
21526 \family sans
21527 Top
21528 \begin_inset space ~
21529 \end_inset
21530
21531 of
21532 \begin_inset space ~
21533 \end_inset
21534
21535 page
21536 \family default
21537  only floats occupying less than 70
21538 \begin_inset space \thinspace{}
21539 \end_inset
21540
21541 % of the page can be placed at the top of a page (
21542 \series bold
21543
21544 \backslash
21545 topfraction
21546 \series default
21547 )
21548 \end_layout
21549
21550 \begin_layout Labeling
21551 \labelwidthstring 00.00.0000
21552
21553 \family sans
21554 Bottom
21555 \begin_inset space ~
21556 \end_inset
21557
21558 of
21559 \begin_inset space ~
21560 \end_inset
21561
21562 page
21563 \family default
21564 : only floats occupying less than 30
21565 \begin_inset space \thinspace{}
21566 \end_inset
21567
21568 % of the page can be placed at the bottom of a page.
21569  (
21570 \series bold
21571
21572 \backslash
21573 bottomfraction
21574 \series default
21575 )
21576 \end_layout
21577
21578 \begin_layout Labeling
21579 \labelwidthstring 00.00.0000
21580
21581 \family sans
21582 Page
21583 \begin_inset space ~
21584 \end_inset
21585
21586 of
21587 \begin_inset space ~
21588 \end_inset
21589
21590 floats
21591 \family default
21592 : only if more than 50
21593 \begin_inset space \thinspace{}
21594 \end_inset
21595
21596 % of the page are occupied by floats, several floats can be set together
21597  on a page.
21598  (
21599 \series bold
21600
21601 \backslash
21602 floatpagefraction
21603 \series default
21604 )
21605 \end_layout
21606
21607 \begin_layout Standard
21608 If you don't like these rules, you can ignore them by using the additional
21609  option 
21610 \family sans
21611 Ignore
21612 \begin_inset space ~
21613 \end_inset
21614
21615 LaTeX
21616 \begin_inset space ~
21617 \end_inset
21618
21619 rules
21620 \family default
21621 .
21622 \begin_inset Newline newline
21623 \end_inset
21624
21625 You can also redefine the rules with LaTeX-commands that are given in parenthese
21626 s after the rules description above.
21627  To increase for example the often too small default of the bottom-rule
21628  to 50
21629 \begin_inset space \thinspace{}
21630 \end_inset
21631
21632 % of the page, add this line to your document preamble:
21633 \end_layout
21634
21635 \begin_layout Standard
21636
21637 \series bold
21638
21639 \backslash
21640 renewcommand{
21641 \backslash
21642 bottomfraction}{0.5}
21643 \end_layout
21644
21645 \begin_layout Standard
21646 Sometimes you might need, under all circumstances, a float to be placed
21647  exactly at the position where it is inserted.
21648  For this case you can use the option 
21649 \family sans
21650 Here
21651 \begin_inset space ~
21652 \end_inset
21653
21654 definitely
21655 \family default
21656 .
21657  Use this option very rarely and only if the document is almost ready to
21658  be printed, because the float is then no longer able to 
21659 \begin_inset Quotes eld
21660 \end_inset
21661
21662 float
21663 \begin_inset Quotes erd
21664 \end_inset
21665
21666  when you change your document and this will often destroy the page layout.
21667 \end_layout
21668
21669 \begin_layout Standard
21670 There are no placement options for text wrap floats, because they are always
21671  surrounded by the text of a certain paragraph.
21672 \begin_inset VSpace bigskip
21673 \end_inset
21674
21675
21676 \end_layout
21677
21678 \begin_layout Standard
21679 Sometimes you have the problem that a float is placed at the top of a page
21680  while its corresponding section starts at the middle of the page, so that
21681  the reader could think the float is part of the previous section.
21682  To avoid this the LaTeX-command 
21683 \series bold
21684
21685 \backslash
21686 suppressfloats
21687 \series default
21688  can be used.
21689  It suppresses a given float placement for the page where it is inserted
21690  and can therefore be used to avoid floats being set before a section starts.
21691  To get this, add these commands to your document preamble:
21692 \end_layout
21693
21694 \begin_layout Standard
21695
21696 \series bold
21697
21698 \backslash
21699 let
21700 \backslash
21701 mySection
21702 \backslash
21703 section
21704 \begin_inset Newline newline
21705 \end_inset
21706
21707
21708 \backslash
21709 renewcommand{
21710 \backslash
21711 section}{
21712 \backslash
21713 suppressfloats[t]
21714 \backslash
21715 mySection}
21716 \end_layout
21717
21718 \begin_layout Standard
21719 You can define the same for all section headings, like chapters and subsections.
21720  This definition is not recommended to be used for small text parts like
21721  subsubsections because LaTeX may then have problems finding a suitable
21722  placement.
21723 \end_layout
21724
21725 \begin_layout Standard
21726 \begin_inset VSpace bigskip
21727 \end_inset
21728
21729 In some cases it is required to have all figures/tables at the end of the
21730  document.
21731  For this purpose the LaTeX-package 
21732 \series bold
21733 endfloat
21734 \series default
21735
21736 \begin_inset Index idx
21737 status collapsed
21738
21739 \begin_layout Plain Layout
21740 LaTeX-packages ! endfloat
21741 \end_layout
21742
21743 \end_inset
21744
21745  was developed.
21746  It puts all figure and table floats at the end of the document into their
21747  own sections.
21748  At the original float position a text hint like 
21749 \begin_inset Quotes eld
21750 \end_inset
21751
21752
21753 \family sans
21754 [Figure
21755 \begin_inset space ~
21756 \end_inset
21757
21758 3.2 about here.]
21759 \family default
21760
21761 \begin_inset Quotes erd
21762 \end_inset
21763
21764  is inserted.
21765  The endfloat-package is loaded in the preamble with the line
21766 \end_layout
21767
21768 \begin_layout Standard
21769
21770 \series bold
21771
21772 \backslash
21773 usepackage[options]{endfloat}
21774 \end_layout
21775
21776 \begin_layout Standard
21777 There are various package options to format the created figure/table sections.
21778  For more information we refer to the 
21779 \series bold
21780 endfloat
21781 \series default
21782  documentation 
21783 \begin_inset CommandInset citation
21784 LatexCommand cite
21785 key "endfloat"
21786
21787 \end_inset
21788
21789 .
21790 \begin_inset Newline newline
21791 \end_inset
21792
21793
21794 \begin_inset Note Greyedout
21795 status open
21796
21797 \begin_layout Plain Layout
21798
21799 \series bold
21800 Note: endfloat
21801 \series default
21802  doesn't provide an automatic translation for the text hint, you have to
21803  do this manually, see section
21804 \begin_inset space ~
21805 \end_inset
21806
21807 4 in 
21808 \begin_inset CommandInset citation
21809 LatexCommand cite
21810 key "endfloat"
21811
21812 \end_inset
21813
21814 .
21815 \end_layout
21816
21817 \end_inset
21818
21819
21820 \begin_inset Newline newline
21821 \end_inset
21822
21823
21824 \begin_inset Note Greyedout
21825 status open
21826
21827 \begin_layout Plain Layout
21828
21829 \series bold
21830 Note:
21831 \series default
21832  There is currently a bug in 
21833 \series bold
21834 endfloat
21835 \series default
21836  when the caption contains a German 
21837 \begin_inset Quotes eld
21838 \end_inset
21839
21840 ß
21841 \begin_inset Quotes erd
21842 \end_inset
21843
21844 .
21845  Use in this case the command 
21846 \begin_inset Quotes eld
21847 \end_inset
21848
21849
21850 \series bold
21851
21852 \backslash
21853 ss
21854 \series default
21855
21856 \begin_inset Quotes erd
21857 \end_inset
21858
21859  in TeX-Code instead of 
21860 \begin_inset Quotes eld
21861 \end_inset
21862
21863 ß
21864 \begin_inset Quotes erd
21865 \end_inset
21866
21867 .
21868 \end_layout
21869
21870 \end_inset
21871
21872
21873 \end_layout
21874
21875 \begin_layout Standard
21876 \begin_inset VSpace bigskip
21877 \end_inset
21878
21879 For more details about float placements, have a look at LaTeX books, 
21880 \begin_inset CommandInset citation
21881 LatexCommand cite
21882 key "latexcompanion,latexguide,latexbook"
21883
21884 \end_inset
21885
21886 .
21887 \end_layout
21888
21889 \begin_layout Section
21890 Rotated Floats
21891 \begin_inset CommandInset label
21892 LatexCommand label
21893 name "sec:Rotated-Floats"
21894
21895 \end_inset
21896
21897
21898 \begin_inset Index idx
21899 status collapsed
21900
21901 \begin_layout Plain Layout
21902 Floats ! Rotating
21903 \end_layout
21904
21905 \end_inset
21906
21907
21908 \end_layout
21909
21910 \begin_layout Standard
21911 Especially for wide tables you might have floats rotated.
21912  To rotate a whole float including the caption, right-click on the float-box
21913  and use the option 
21914 \family sans
21915 Rotate
21916 \begin_inset space ~
21917 \end_inset
21918
21919 sideways
21920 \family default
21921 .
21922 \end_layout
21923
21924 \begin_layout Standard
21925 Rotated floats are always placed on a page of their own (or column of their
21926  own; in case you have a multi-column document).
21927  You can let them span several columns using the float settings option 
21928 \family sans
21929 Span
21930 \begin_inset space ~
21931 \end_inset
21932
21933 columns
21934 \family default
21935 .
21936  Floats are rotated so that you can read them from the outside margin.
21937  To force a certain rotation direction for all pages, you can add either
21938  the option 
21939 \series bold
21940 figuresleft
21941 \series default
21942  or 
21943 \series bold
21944 figuresright
21945 \series default
21946  to the document class options.
21947 \end_layout
21948
21949 \begin_layout Standard
21950 Referencing rotated floats is the same as for normal floats, the caption
21951  format is also the same: Table
21952 \begin_inset space ~
21953 \end_inset
21954
21955
21956 \begin_inset CommandInset ref
21957 LatexCommand ref
21958 reference "tab:Rotated-table"
21959
21960 \end_inset
21961
21962  is an example of a rotated table float.
21963 \end_layout
21964
21965 \begin_layout Standard
21966 \begin_inset Note Greyedout
21967 status open
21968
21969 \begin_layout Plain Layout
21970
21971 \series bold
21972 Note:
21973 \series default
21974  Not all DVI-viewers are able to display rotated floats.
21975 \end_layout
21976
21977 \end_inset
21978
21979
21980 \end_layout
21981
21982 \begin_layout Standard
21983 \begin_inset Float table
21984 wide false
21985 sideways true
21986 status open
21987
21988 \begin_layout Plain Layout
21989 \begin_inset Caption
21990
21991 \begin_layout Plain Layout
21992 \begin_inset CommandInset label
21993 LatexCommand label
21994 name "tab:Rotated-table"
21995
21996 \end_inset
21997
21998  Rotated table
21999 \end_layout
22000
22001 \end_inset
22002
22003
22004 \end_layout
22005
22006 \begin_layout Plain Layout
22007 \align center
22008 \begin_inset Tabular
22009 <lyxtabular version="3" rows="1" columns="5">
22010 <features tabularvalignment="middle">
22011 <column alignment="center" valignment="top" width="0">
22012 <column alignment="center" valignment="top" width="0">
22013 <column alignment="center" valignment="top" width="0">
22014 <column alignment="center" valignment="top" width="0">
22015 <column alignment="center" valignment="top" width="0">
22016 <row>
22017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22018 \begin_inset Text
22019
22020 \begin_layout Plain Layout
22021 test
22022 \end_layout
22023
22024 \end_inset
22025 </cell>
22026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22027 \begin_inset Text
22028
22029 \begin_layout Plain Layout
22030 b
22031 \end_layout
22032
22033 \end_inset
22034 </cell>
22035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22036 \begin_inset Text
22037
22038 \begin_layout Plain Layout
22039 c
22040 \end_layout
22041
22042 \end_inset
22043 </cell>
22044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22045 \begin_inset Text
22046
22047 \begin_layout Plain Layout
22048 d
22049 \end_layout
22050
22051 \end_inset
22052 </cell>
22053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22054 \begin_inset Text
22055
22056 \begin_layout Plain Layout
22057 e
22058 \end_layout
22059
22060 \end_inset
22061 </cell>
22062 </row>
22063 </lyxtabular>
22064
22065 \end_inset
22066
22067
22068 \end_layout
22069
22070 \end_inset
22071
22072
22073 \end_layout
22074
22075 \begin_layout Section
22076 Subfloats
22077 \begin_inset Index idx
22078 status collapsed
22079
22080 \begin_layout Plain Layout
22081 Floats ! Subfloats
22082 \end_layout
22083
22084 \end_inset
22085
22086
22087 \end_layout
22088
22089 \begin_layout Standard
22090 Subfloats are for example used when a figure consists of several images.
22091  They are created by inserting a float into an existing float.
22092  The placement of the subfloats can be controlled in the same way as for
22093  paragraphs as shown in table
22094 \begin_inset space ~
22095 \end_inset
22096
22097
22098 \begin_inset CommandInset ref
22099 LatexCommand ref
22100 reference "tab:Two-subtables-side"
22101
22102 \end_inset
22103
22104  and 
22105 \begin_inset CommandInset ref
22106 LatexCommand ref
22107 reference "tab:Two-subtables-upon"
22108
22109 \end_inset
22110
22111 .
22112 \end_layout
22113
22114 \begin_layout Standard
22115 Referencing subfloats works as for normal floats: Table
22116 \begin_inset space ~
22117 \end_inset
22118
22119
22120 \begin_inset CommandInset ref
22121 LatexCommand ref
22122 reference "tab:This-is-subtable-a"
22123
22124 \end_inset
22125
22126  and 
22127 \begin_inset CommandInset ref
22128 LatexCommand ref
22129 reference "tab:This-is-subtable-b"
22130
22131 \end_inset
22132
22133  are subtables of table
22134 \begin_inset space ~
22135 \end_inset
22136
22137
22138 \begin_inset CommandInset ref
22139 LatexCommand ref
22140 reference "tab:Two-subtables-side"
22141
22142 \end_inset
22143
22144 .
22145 \end_layout
22146
22147 \begin_layout Standard
22148 \begin_inset Float table
22149 wide false
22150 sideways false
22151 status open
22152
22153 \begin_layout Plain Layout
22154 \begin_inset Caption
22155
22156 \begin_layout Plain Layout
22157 \begin_inset CommandInset label
22158 LatexCommand label
22159 name "tab:Two-subtables-side"
22160
22161 \end_inset
22162
22163 Two subtables placed side by side.
22164 \end_layout
22165
22166 \end_inset
22167
22168
22169 \end_layout
22170
22171 \begin_layout Plain Layout
22172 \align center
22173 \begin_inset space \hfill{}
22174 \end_inset
22175
22176
22177 \begin_inset Float table
22178 wide false
22179 sideways false
22180 status collapsed
22181
22182 \begin_layout Plain Layout
22183 \begin_inset Caption
22184
22185 \begin_layout Plain Layout
22186 \begin_inset CommandInset label
22187 LatexCommand label
22188 name "tab:This-is-subtable-a"
22189
22190 \end_inset
22191
22192 This is subtable a.
22193 \end_layout
22194
22195 \end_inset
22196
22197
22198 \end_layout
22199
22200 \begin_layout Plain Layout
22201 \align center
22202 \begin_inset Tabular
22203 <lyxtabular version="3" rows="1" columns="5">
22204 <features tabularvalignment="middle">
22205 <column alignment="center" valignment="top" width="0">
22206 <column alignment="center" valignment="top" width="0">
22207 <column alignment="center" valignment="top" width="0">
22208 <column alignment="center" valignment="top" width="0">
22209 <column alignment="center" valignment="top" width="0">
22210 <row>
22211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22212 \begin_inset Text
22213
22214 \begin_layout Plain Layout
22215 test
22216 \end_layout
22217
22218 \end_inset
22219 </cell>
22220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22221 \begin_inset Text
22222
22223 \begin_layout Plain Layout
22224 b
22225 \end_layout
22226
22227 \end_inset
22228 </cell>
22229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22230 \begin_inset Text
22231
22232 \begin_layout Plain Layout
22233 c
22234 \end_layout
22235
22236 \end_inset
22237 </cell>
22238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22239 \begin_inset Text
22240
22241 \begin_layout Plain Layout
22242 d
22243 \end_layout
22244
22245 \end_inset
22246 </cell>
22247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22248 \begin_inset Text
22249
22250 \begin_layout Plain Layout
22251 e
22252 \end_layout
22253
22254 \end_inset
22255 </cell>
22256 </row>
22257 </lyxtabular>
22258
22259 \end_inset
22260
22261
22262 \end_layout
22263
22264 \end_inset
22265
22266
22267 \begin_inset space \hfill{}
22268 \end_inset
22269
22270
22271 \begin_inset Float table
22272 wide false
22273 sideways false
22274 status collapsed
22275
22276 \begin_layout Plain Layout
22277 \begin_inset Caption
22278
22279 \begin_layout Plain Layout
22280 \begin_inset CommandInset label
22281 LatexCommand label
22282 name "tab:This-is-subtable-b"
22283
22284 \end_inset
22285
22286 This is subtable b.
22287 \end_layout
22288
22289 \end_inset
22290
22291
22292 \end_layout
22293
22294 \begin_layout Plain Layout
22295 \align center
22296 \begin_inset Tabular
22297 <lyxtabular version="3" rows="1" columns="5">
22298 <features tabularvalignment="middle">
22299 <column alignment="center" valignment="top" width="0">
22300 <column alignment="center" valignment="top" width="0">
22301 <column alignment="center" valignment="top" width="0">
22302 <column alignment="center" valignment="top" width="0">
22303 <column alignment="center" valignment="top" width="0">
22304 <row>
22305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22306 \begin_inset Text
22307
22308 \begin_layout Plain Layout
22309 e
22310 \end_layout
22311
22312 \end_inset
22313 </cell>
22314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22315 \begin_inset Text
22316
22317 \begin_layout Plain Layout
22318 d
22319 \end_layout
22320
22321 \end_inset
22322 </cell>
22323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22324 \begin_inset Text
22325
22326 \begin_layout Plain Layout
22327 c
22328 \end_layout
22329
22330 \end_inset
22331 </cell>
22332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22333 \begin_inset Text
22334
22335 \begin_layout Plain Layout
22336 b
22337 \end_layout
22338
22339 \end_inset
22340 </cell>
22341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22342 \begin_inset Text
22343
22344 \begin_layout Plain Layout
22345 test
22346 \end_layout
22347
22348 \end_inset
22349 </cell>
22350 </row>
22351 </lyxtabular>
22352
22353 \end_inset
22354
22355
22356 \end_layout
22357
22358 \end_inset
22359
22360
22361 \begin_inset space \hfill{}
22362 \end_inset
22363
22364
22365 \end_layout
22366
22367 \end_inset
22368
22369
22370 \end_layout
22371
22372 \begin_layout Standard
22373 \begin_inset Float table
22374 wide false
22375 sideways false
22376 status open
22377
22378 \begin_layout Plain Layout
22379 \begin_inset Caption
22380
22381 \begin_layout Plain Layout
22382 \begin_inset CommandInset label
22383 LatexCommand label
22384 name "tab:Two-subtables-upon"
22385
22386 \end_inset
22387
22388 Two subtables placed one above the other.
22389  (a) table with 4 cells, (b) table with 5 cells.
22390 \end_layout
22391
22392 \end_inset
22393
22394
22395 \end_layout
22396
22397 \begin_layout Plain Layout
22398 \align center
22399 \begin_inset Float table
22400 wide false
22401 sideways false
22402 status collapsed
22403
22404 \begin_layout Plain Layout
22405 \begin_inset Caption
22406
22407 \begin_layout Plain Layout
22408
22409 \end_layout
22410
22411 \end_inset
22412
22413
22414 \end_layout
22415
22416 \begin_layout Plain Layout
22417 \align center
22418 \begin_inset Tabular
22419 <lyxtabular version="3" rows="1" columns="4">
22420 <features tabularvalignment="middle">
22421 <column alignment="center" valignment="top" width="0">
22422 <column alignment="center" valignment="top" width="0">
22423 <column alignment="center" valignment="top" width="0">
22424 <column alignment="center" valignment="top" width="0">
22425 <row>
22426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22427 \begin_inset Text
22428
22429 \begin_layout Plain Layout
22430 test
22431 \end_layout
22432
22433 \end_inset
22434 </cell>
22435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22436 \begin_inset Text
22437
22438 \begin_layout Plain Layout
22439 test
22440 \end_layout
22441
22442 \end_inset
22443 </cell>
22444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22445 \begin_inset Text
22446
22447 \begin_layout Plain Layout
22448 test
22449 \end_layout
22450
22451 \end_inset
22452 </cell>
22453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22454 \begin_inset Text
22455
22456 \begin_layout Plain Layout
22457 test
22458 \end_layout
22459
22460 \end_inset
22461 </cell>
22462 </row>
22463 </lyxtabular>
22464
22465 \end_inset
22466
22467
22468 \end_layout
22469
22470 \end_inset
22471
22472
22473 \end_layout
22474
22475 \begin_layout Plain Layout
22476 \align center
22477 \begin_inset Float table
22478 wide false
22479 sideways false
22480 status collapsed
22481
22482 \begin_layout Plain Layout
22483 \begin_inset Caption
22484
22485 \begin_layout Plain Layout
22486
22487 \end_layout
22488
22489 \end_inset
22490
22491
22492 \end_layout
22493
22494 \begin_layout Plain Layout
22495 \align center
22496 \begin_inset Tabular
22497 <lyxtabular version="3" rows="1" columns="5">
22498 <features tabularvalignment="middle">
22499 <column alignment="center" valignment="top" width="0">
22500 <column alignment="center" valignment="top" width="0">
22501 <column alignment="center" valignment="top" width="0">
22502 <column alignment="center" valignment="top" width="0">
22503 <column alignment="center" valignment="top" width="0">
22504 <row>
22505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22506 \begin_inset Text
22507
22508 \begin_layout Plain Layout
22509 a
22510 \end_layout
22511
22512 \end_inset
22513 </cell>
22514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22515 \begin_inset Text
22516
22517 \begin_layout Plain Layout
22518 b
22519 \end_layout
22520
22521 \end_inset
22522 </cell>
22523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22524 \begin_inset Text
22525
22526 \begin_layout Plain Layout
22527 c
22528 \end_layout
22529
22530 \end_inset
22531 </cell>
22532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22533 \begin_inset Text
22534
22535 \begin_layout Plain Layout
22536 d
22537 \end_layout
22538
22539 \end_inset
22540 </cell>
22541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22542 \begin_inset Text
22543
22544 \begin_layout Plain Layout
22545 e
22546 \end_layout
22547
22548 \end_inset
22549 </cell>
22550 </row>
22551 </lyxtabular>
22552
22553 \end_inset
22554
22555
22556 \end_layout
22557
22558 \end_inset
22559
22560
22561 \end_layout
22562
22563 \end_inset
22564
22565
22566 \end_layout
22567
22568 \begin_layout Section
22569 Floats Side by Side
22570 \begin_inset Index idx
22571 status collapsed
22572
22573 \begin_layout Plain Layout
22574 Floats ! Side by side
22575 \end_layout
22576
22577 \end_inset
22578
22579
22580 \end_layout
22581
22582 \begin_layout Standard
22583 To place floats side by side, as in Figures
22584 \begin_inset space ~
22585 \end_inset
22586
22587
22588 \begin_inset CommandInset ref
22589 LatexCommand ref
22590 reference "fig:Float-left"
22591
22592 \end_inset
22593
22594  and 
22595 \begin_inset CommandInset ref
22596 LatexCommand ref
22597 reference "fig:Float-right"
22598
22599 \end_inset
22600
22601 , only 
22602 \emph on
22603 one
22604 \emph default
22605  float is used.
22606  In it two minipage boxes are inserted.
22607 \begin_inset Foot
22608 status collapsed
22609
22610 \begin_layout Plain Layout
22611 Minipages are explained in section
22612 \begin_inset space ~
22613 \end_inset
22614
22615
22616 \begin_inset CommandInset ref
22617 LatexCommand ref
22618 reference "sec:Minipages"
22619
22620 \end_inset
22621
22622 .
22623 \end_layout
22624
22625 \end_inset
22626
22627  The width is set to 45
22628 \begin_inset space \thinspace{}
22629 \end_inset
22630
22631 -50
22632 \begin_inset space \thinspace{}
22633 \end_inset
22634
22635 column% and the box alignment to 
22636 \family sans
22637 Bottom
22638 \family default
22639  for each minipage.
22640  The minipage boxes contain the image and the caption in the same way as
22641  they are in a float.
22642  The only difference is that the image unit 
22643 \family sans
22644 Column
22645 \begin_inset space ~
22646 \end_inset
22647
22648 Width
22649 \begin_inset space ~
22650 \end_inset
22651
22652 %
22653 \family default
22654  is now calculated according to the width of the minipage boxes.
22655 \end_layout
22656
22657 \begin_layout Standard
22658 \begin_inset Float figure
22659 wide false
22660 sideways false
22661 status open
22662
22663 \begin_layout Plain Layout
22664 \begin_inset Box Frameless
22665 position "b"
22666 hor_pos "c"
22667 has_inner_box 1
22668 inner_pos "t"
22669 use_parbox 0
22670 use_makebox 0
22671 width "45col%"
22672 special "none"
22673 height "1in"
22674 height_special "totalheight"
22675 status open
22676
22677 \begin_layout Plain Layout
22678 \align center
22679 \begin_inset Graphics
22680         filename clipart/mobius.eps
22681         lyxscale 50
22682         width 100col%
22683         scaleBeforeRotation
22684
22685 \end_inset
22686
22687
22688 \end_layout
22689
22690 \begin_layout Plain Layout
22691 \begin_inset Caption
22692
22693 \begin_layout Plain Layout
22694 \begin_inset CommandInset label
22695 LatexCommand label
22696 name "fig:Float-left"
22697
22698 \end_inset
22699
22700 Float on the left side.
22701 \end_layout
22702
22703 \end_inset
22704
22705
22706 \end_layout
22707
22708 \end_inset
22709
22710
22711 \begin_inset space \hfill{}
22712 \end_inset
22713
22714
22715 \begin_inset Box Frameless
22716 position "b"
22717 hor_pos "c"
22718 has_inner_box 1
22719 inner_pos "t"
22720 use_parbox 0
22721 use_makebox 0
22722 width "45col%"
22723 special "none"
22724 height "1in"
22725 height_special "totalheight"
22726 status open
22727
22728 \begin_layout Plain Layout
22729 \align center
22730 \begin_inset Graphics
22731         filename clipart/platypus.eps
22732         lyxscale 50
22733         width 100col%
22734         scaleBeforeRotation
22735
22736 \end_inset
22737
22738
22739 \end_layout
22740
22741 \begin_layout Plain Layout
22742 \begin_inset Caption
22743
22744 \begin_layout Plain Layout
22745 \begin_inset CommandInset label
22746 LatexCommand label
22747 name "fig:Float-right"
22748
22749 \end_inset
22750
22751 Float on the right side.
22752 \end_layout
22753
22754 \end_inset
22755
22756
22757 \end_layout
22758
22759 \end_inset
22760
22761
22762 \end_layout
22763
22764 \begin_layout Plain Layout
22765
22766 \end_layout
22767
22768 \end_inset
22769
22770
22771 \end_layout
22772
22773 \begin_layout Section
22774 Caption Formatting
22775 \begin_inset Index idx
22776 status collapsed
22777
22778 \begin_layout Plain Layout
22779 Caption ! Formatting
22780 \end_layout
22781
22782 \end_inset
22783
22784
22785 \begin_inset Index idx
22786 status collapsed
22787
22788 \begin_layout Plain Layout
22789 Floats ! Caption Formatting
22790 \end_layout
22791
22792 \end_inset
22793
22794
22795 \begin_inset CommandInset label
22796 LatexCommand label
22797 name "sec:Caption-Formatting"
22798
22799 \end_inset
22800
22801
22802 \end_layout
22803
22804 \begin_layout Standard
22805 The 
22806 \family sans
22807 Caption
22808 \family default
22809  environment is the default paragraph environment for 
22810 \family sans
22811 Floats
22812 \family default
22813 .
22814  On the LyX screen captions appear as label, e.
22815 \begin_inset space \thinspace{}
22816 \end_inset
22817
22818 g.
22819 \begin_inset space \space{}
22820 \end_inset
22821
22822
22823 \begin_inset Quotes eld
22824 \end_inset
22825
22826
22827 \family sans
22828 Figure #:
22829 \family default
22830
22831 \begin_inset Quotes erd
22832 \end_inset
22833
22834  followed by the caption text.
22835  
22836 \begin_inset Quotes eld
22837 \end_inset
22838
22839 #
22840 \begin_inset Quotes erd
22841 \end_inset
22842
22843  is the actual reference number.
22844  By default the label and the number are in the same font as the caption
22845  text and a colon follows the number to divide the label from the text.
22846  This caption format is not suitable for all document formats.
22847  
22848 \end_layout
22849
22850 \begin_layout Standard
22851 To change the default caption format, load the LaTeX-package 
22852 \series bold
22853 caption
22854 \series default
22855
22856 \begin_inset Index idx
22857 status collapsed
22858
22859 \begin_layout Plain Layout
22860 LaTeX-packages ! caption
22861 \end_layout
22862
22863 \end_inset
22864
22865  in the document preamble with this line:
22866 \end_layout
22867
22868 \begin_layout Standard
22869
22870 \series bold
22871
22872 \backslash
22873 usepackage[format definition]{caption}
22874 \end_layout
22875
22876 \begin_layout Standard
22877 To have for example the label and the number in sans-serif bold font and
22878  the table captions always above the table as in this document, use the
22879  following command:
22880 \end_layout
22881
22882 \begin_layout Standard
22883
22884 \series bold
22885
22886 \backslash
22887 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22888 \end_layout
22889
22890 \begin_layout Standard
22891 You can also define different caption formats for the different float types.
22892  In this case load the 
22893 \series bold
22894 caption
22895 \series default
22896  package without format specific options and define the different formats
22897  with the help of the command
22898 \end_layout
22899
22900 \begin_layout Standard
22901
22902 \series bold
22903
22904 \backslash
22905 captionsetup[float type]{format definition}
22906 \end_layout
22907
22908 \begin_layout Standard
22909 in the document preamble.
22910  For example the caption formats of Figure
22911 \begin_inset space ~
22912 \end_inset
22913
22914
22915 \begin_inset CommandInset ref
22916 LatexCommand ref
22917 reference "fig:This-is-an-fig"
22918
22919 \end_inset
22920
22921  and Table
22922 \begin_inset space ~
22923 \end_inset
22924
22925
22926 \begin_inset CommandInset ref
22927 LatexCommand ref
22928 reference "tab:This-is-an-tab"
22929
22930 \end_inset
22931
22932  can be created using these commands in the document preamble:
22933 \end_layout
22934
22935 \begin_layout Standard
22936
22937 \series bold
22938
22939 \backslash
22940 usepackage[tableposition=top]{caption}
22941 \series default
22942
22943 \begin_inset Newline newline
22944 \end_inset
22945
22946
22947 \series bold
22948
22949 \backslash
22950 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22951 \begin_inset Newline newline
22952 \end_inset
22953
22954
22955 \begin_inset Phantom HPhantom
22956 status open
22957
22958 \begin_layout Plain Layout
22959
22960 \series bold
22961
22962 \backslash
22963 captionsetup[figure]{
22964 \end_layout
22965
22966 \end_inset
22967
22968 labelsep=period}
22969 \begin_inset Newline newline
22970 \end_inset
22971
22972
22973 \backslash
22974 captionsetup[table]{labelfont={bf,sf}}
22975 \end_layout
22976
22977 \begin_layout Standard
22978 \begin_inset Note Greyedout
22979 status open
22980
22981 \begin_layout Plain Layout
22982
22983 \series bold
22984 Note:
22985 \series default
22986  The option 
22987 \series bold
22988 tableposition=top
22989 \series default
22990  has no effect when a 
22991 \series bold
22992 KOMA-Script
22993 \series default
22994
22995 \begin_inset Index idx
22996 status collapsed
22997
22998 \begin_layout Plain Layout
22999 LaTeX-packages ! KOMA-Script
23000 \end_layout
23001
23002 \end_inset
23003
23004  document class is used.
23005  In this case the document class option 
23006 \series bold
23007 captions=tableheading
23008 \series default
23009  must be used.
23010 \end_layout
23011
23012 \end_inset
23013
23014
23015 \end_layout
23016
23017 \begin_layout Standard
23018 For more information about the package 
23019 \series bold
23020 caption
23021 \series default
23022  we refer to its documentation 
23023 \begin_inset CommandInset citation
23024 LatexCommand cite
23025 key "caption"
23026
23027 \end_inset
23028
23029 .
23030 \end_layout
23031
23032 \begin_layout Standard
23033 To change the label name from e.
23034 \begin_inset space \thinspace{}
23035 \end_inset
23036
23037 g.
23038 \begin_inset space \space{}
23039 \end_inset
23040
23041
23042 \begin_inset Quotes eld
23043 \end_inset
23044
23045 Figure
23046 \begin_inset Quotes erd
23047 \end_inset
23048
23049  to 
23050 \begin_inset Quotes eld
23051 \end_inset
23052
23053 Image
23054 \begin_inset Quotes erd
23055 \end_inset
23056
23057  use this preamble command:
23058 \end_layout
23059
23060 \begin_layout Standard
23061
23062 \series bold
23063
23064 \backslash
23065 renewcommand{
23066 \backslash
23067 fnum@figure}{Image~
23068 \backslash
23069 thefigure}
23070 \end_layout
23071
23072 \begin_layout Standard
23073 where 
23074 \series bold
23075
23076 \backslash
23077 thefigure
23078 \series default
23079  inserts the figure number and
23080 \series bold
23081  
23082 \begin_inset Quotes eld
23083 \end_inset
23084
23085 ~
23086 \series default
23087
23088 \begin_inset Quotes erd
23089 \end_inset
23090
23091  creates a protected space.
23092 \end_layout
23093
23094 \begin_layout Standard
23095 \begin_inset VSpace bigskip
23096 \end_inset
23097
23098 If you are using a 
23099 \series bold
23100 KOMA-Script
23101 \series default
23102
23103 \begin_inset Index idx
23104 status collapsed
23105
23106 \begin_layout Plain Layout
23107 LaTeX-packages ! KOMA-Script
23108 \end_layout
23109
23110 \end_inset
23111
23112  document class (
23113 \family sans
23114 article (KOMA-Script)
23115 \family default
23116
23117 \family sans
23118 book (KOMA-Script)
23119 \family default
23120
23121 \family sans
23122 letter (KOMA-Script)
23123 \family default
23124 , or 
23125 \family sans
23126 report (KOMA-Script)
23127 \family default
23128
23129 \begin_inset space \thinspace{}
23130 \end_inset
23131
23132 ), you can alternatively to the 
23133 \series bold
23134 caption
23135 \series default
23136  package use 
23137 \series bold
23138 KOMA-Script
23139 \series default
23140 's built-in command 
23141 \series bold
23142
23143 \backslash
23144 setkomafont
23145 \series default
23146 .
23147  For example, to have the caption label in bold, add this command to your
23148  document preamble:
23149 \end_layout
23150
23151 \begin_layout Standard
23152
23153 \series bold
23154
23155 \backslash
23156 setkomafont{captionlabel}{
23157 \backslash
23158 bfseries}
23159 \end_layout
23160
23161 \begin_layout Standard
23162 For more information about 
23163 \series bold
23164
23165 \backslash
23166 setkomafont
23167 \series default
23168  we refer to the 
23169 \series bold
23170 KOMA-Script
23171 \series default
23172  documentation 
23173 \begin_inset CommandInset citation
23174 LatexCommand cite
23175 key "KOMA-Script"
23176
23177 \end_inset
23178
23179 .
23180 \end_layout
23181
23182 \begin_layout Standard
23183 \begin_inset ERT
23184 status collapsed
23185
23186 \begin_layout Plain Layout
23187
23188
23189 \backslash
23190 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23191 }
23192 \end_layout
23193
23194 \end_inset
23195
23196
23197 \begin_inset Note Note
23198 status open
23199
23200 \begin_layout Plain Layout
23201 The caption format is changed only for this example.
23202 \end_layout
23203
23204 \end_inset
23205
23206
23207 \end_layout
23208
23209 \begin_layout Standard
23210 \begin_inset Float figure
23211 placement !p
23212 wide false
23213 sideways false
23214 status open
23215
23216 \begin_layout Plain Layout
23217 \align center
23218 \begin_inset Graphics
23219         filename clipart/mobius.eps
23220         lyxscale 50
23221         scale 50
23222         scaleBeforeRotation
23223
23224 \end_inset
23225
23226
23227 \end_layout
23228
23229 \begin_layout Plain Layout
23230 \begin_inset Caption
23231
23232 \begin_layout Plain Layout
23233 \begin_inset CommandInset label
23234 LatexCommand label
23235 name "fig:This-is-an-fig"
23236
23237 \end_inset
23238
23239 This is an example figure caption that is longer than one line to show the
23240  different caption format.
23241  Here a self-defined caption format is used.
23242 \end_layout
23243
23244 \end_inset
23245
23246
23247 \end_layout
23248
23249 \end_inset
23250
23251
23252 \end_layout
23253
23254 \begin_layout Standard
23255 \begin_inset ERT
23256 status collapsed
23257
23258 \begin_layout Plain Layout
23259
23260
23261 \backslash
23262 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23263 on}
23264 \end_layout
23265
23266 \end_inset
23267
23268
23269 \end_layout
23270
23271 \begin_layout Standard
23272 \begin_inset Float table
23273 placement !p
23274 wide false
23275 sideways false
23276 status open
23277
23278 \begin_layout Plain Layout
23279 \begin_inset Caption
23280
23281 \begin_layout Plain Layout
23282 \begin_inset CommandInset label
23283 LatexCommand label
23284 name "tab:This-is-an-tab"
23285
23286 \end_inset
23287
23288 This is an example table caption that is longer than one line to show the
23289  different caption format.
23290  Here the standard caption format for tables in this document is used.
23291 \end_layout
23292
23293 \end_inset
23294
23295
23296 \end_layout
23297
23298 \begin_layout Plain Layout
23299 \align center
23300 \begin_inset Tabular
23301 <lyxtabular version="3" rows="1" columns="5">
23302 <features tabularvalignment="middle">
23303 <column alignment="center" valignment="top" width="0">
23304 <column alignment="center" valignment="top" width="0">
23305 <column alignment="center" valignment="top" width="0">
23306 <column alignment="center" valignment="top" width="0">
23307 <column alignment="center" valignment="top" width="0">
23308 <row>
23309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23310 \begin_inset Text
23311
23312 \begin_layout Plain Layout
23313 a
23314 \end_layout
23315
23316 \end_inset
23317 </cell>
23318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23319 \begin_inset Text
23320
23321 \begin_layout Plain Layout
23322 b
23323 \end_layout
23324
23325 \end_inset
23326 </cell>
23327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23328 \begin_inset Text
23329
23330 \begin_layout Plain Layout
23331 c
23332 \end_layout
23333
23334 \end_inset
23335 </cell>
23336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23337 \begin_inset Text
23338
23339 \begin_layout Plain Layout
23340 d
23341 \end_layout
23342
23343 \end_inset
23344 </cell>
23345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23346 \begin_inset Text
23347
23348 \begin_layout Plain Layout
23349 e
23350 \end_layout
23351
23352 \end_inset
23353 </cell>
23354 </row>
23355 </lyxtabular>
23356
23357 \end_inset
23358
23359
23360 \end_layout
23361
23362 \end_inset
23363
23364
23365 \end_layout
23366
23367 \begin_layout Section
23368 Caption Placement
23369 \begin_inset Index idx
23370 status collapsed
23371
23372 \begin_layout Plain Layout
23373 Caption ! Placement
23374 \end_layout
23375
23376 \end_inset
23377
23378
23379 \begin_inset Index idx
23380 status collapsed
23381
23382 \begin_layout Plain Layout
23383 Floats ! Caption Placement
23384 \end_layout
23385
23386 \end_inset
23387
23388
23389 \begin_inset CommandInset label
23390 LatexCommand label
23391 name "sec:Caption-Placement"
23392
23393 \end_inset
23394
23395
23396 \end_layout
23397
23398 \begin_layout Standard
23399 The common caption placement rule is:
23400 \end_layout
23401
23402 \begin_layout Description
23403 Figure: Caption is set below the figure
23404 \end_layout
23405
23406 \begin_layout Description
23407 Table: Caption is set above the table
23408 \end_layout
23409
23410 \begin_layout Standard
23411 Having the caption above the table is unfortunately not supported in LaTeX's
23412  standard classes.
23413  That means if you are using the document classes 
23414 \family sans
23415 article
23416 \family default
23417
23418 \family sans
23419 book
23420 \family default
23421
23422 \family sans
23423 letter
23424 \family default
23425 , or 
23426 \family sans
23427 report
23428 \family default
23429  there will be no space between the caption and the table.
23430  To insert the necessary space, add the following option to the load command
23431  of the LaTeX-package 
23432 \series bold
23433 caption
23434 \series default
23435  in your document preamble
23436 \begin_inset Foot
23437 status collapsed
23438
23439 \begin_layout Plain Layout
23440 See section
23441 \begin_inset space ~
23442 \end_inset
23443
23444
23445 \begin_inset CommandInset ref
23446 LatexCommand ref
23447 reference "sec:Caption-Formatting"
23448
23449 \end_inset
23450
23451  for more information of the package 
23452 \series bold
23453 caption
23454 \series default
23455 .
23456 \end_layout
23457
23458 \end_inset
23459
23460 :
23461 \end_layout
23462
23463 \begin_layout Standard
23464
23465 \series bold
23466 tableposition=top
23467 \end_layout
23468
23469 \begin_layout Standard
23470 If you are using a 
23471 \series bold
23472 KOMA-Script
23473 \series default
23474
23475 \begin_inset Index idx
23476 status collapsed
23477
23478 \begin_layout Plain Layout
23479 LaTeX-packages ! KOMA-Script
23480 \end_layout
23481
23482 \end_inset
23483
23484  document class (
23485 \family sans
23486 article (KOMA-Script)
23487 \family default
23488
23489 \family sans
23490 book (KOMA-Script)
23491 \family default
23492
23493 \family sans
23494 letter (KOMA-Script)
23495 \family default
23496 , or 
23497 \family sans
23498 report (KOMA-Script)
23499 \family default
23500
23501 \begin_inset space \thinspace{}
23502 \end_inset
23503
23504 ), you can alternatively to the 
23505 \series bold
23506 caption
23507 \series default
23508  package set the document class option 
23509 \series bold
23510 captions=tableheading
23511 \series default
23512 .
23513 \end_layout
23514
23515 \begin_layout Standard
23516 \begin_inset VSpace bigskip
23517 \end_inset
23518
23519 It is also possible to set the caption beside a figure or table.
23520  To get this the LaTeX-package 
23521 \series bold
23522 sidecap
23523 \series default
23524
23525 \begin_inset Index idx
23526 status collapsed
23527
23528 \begin_layout Plain Layout
23529 LaTeX-packages ! sidecap
23530 \end_layout
23531
23532 \end_inset
23533
23534  has to be loaded in the document preamble with the line
23535 \end_layout
23536
23537 \begin_layout Standard
23538
23539 \series bold
23540
23541 \backslash
23542 usepackage[option]{sidecap}
23543 \end_layout
23544
23545 \begin_layout Standard
23546 If you set no option, the caption is placed on the side of the outer page
23547  margin â€“ to the right on odd pages, to the left on even pages.
23548  You can change the placement to inner margin with the option 
23549 \series bold
23550 innercaption
23551 \series default
23552 .
23553  To force the placement always to the right or left, use the option 
23554 \series bold
23555 rightcaption
23556 \series default
23557  or 
23558 \series bold
23559 leftcaption
23560 \series default
23561 , respectively.
23562 \end_layout
23563
23564 \begin_layout Standard
23565 \begin_inset ERT
23566 status collapsed
23567
23568 \begin_layout Plain Layout
23569
23570
23571 \backslash
23572 ifsidecap
23573 \end_layout
23574
23575 \end_inset
23576
23577
23578 \begin_inset Note Note
23579 status open
23580
23581 \begin_layout Plain Layout
23582 The following section will only be displayed when the LaTeX-package 
23583 \series bold
23584 sidecap
23585 \series default
23586  is installed.
23587 \end_layout
23588
23589 \end_inset
23590
23591
23592 \end_layout
23593
23594 \begin_layout Standard
23595 To place in LyX the caption of a float on the side, it is necessary to add
23596  these commands to the document preamble:
23597 \end_layout
23598
23599 \begin_layout Standard
23600 \noindent
23601 \begin_inset CommandInset line
23602 LatexCommand rule
23603 offset "0.5ex"
23604 width "100line%"
23605 height "1pt"
23606
23607 \end_inset
23608
23609
23610 \end_layout
23611
23612 \begin_layout Standard
23613
23614 \series bold
23615
23616 \backslash
23617 newcommand{
23618 \backslash
23619 TabBesBeg}{%
23620 \begin_inset Newline newline
23621 \end_inset
23622
23623
23624 \begin_inset Phantom HPhantom
23625 status open
23626
23627 \begin_layout Plain Layout
23628
23629 \series bold
23630 \begin_inset space ~
23631 \end_inset
23632
23633
23634 \end_layout
23635
23636 \end_inset
23637
23638
23639 \backslash
23640 let
23641 \backslash
23642 MyTable
23643 \backslash
23644 table
23645 \begin_inset Newline newline
23646 \end_inset
23647
23648
23649 \begin_inset Phantom HPhantom
23650 status open
23651
23652 \begin_layout Plain Layout
23653
23654 \series bold
23655 \begin_inset space ~
23656 \end_inset
23657
23658
23659 \end_layout
23660
23661 \end_inset
23662
23663
23664 \backslash
23665 let
23666 \backslash
23667 MyEndtable
23668 \backslash
23669 endtable
23670 \begin_inset Newline newline
23671 \end_inset
23672
23673
23674 \begin_inset Phantom HPhantom
23675 status open
23676
23677 \begin_layout Plain Layout
23678
23679 \series bold
23680 \begin_inset space ~
23681 \end_inset
23682
23683
23684 \end_layout
23685
23686 \end_inset
23687
23688
23689 \backslash
23690 renewenvironment{table}{
23691 \backslash
23692 begin{SCtable}}{
23693 \backslash
23694 end{SCtable}}}
23695 \end_layout
23696
23697 \begin_layout Standard
23698
23699 \series bold
23700
23701 \backslash
23702 newcommand{
23703 \backslash
23704 TabBesEnd}{%
23705 \begin_inset Newline newline
23706 \end_inset
23707
23708
23709 \begin_inset Phantom HPhantom
23710 status open
23711
23712 \begin_layout Plain Layout
23713
23714 \series bold
23715 \begin_inset space ~
23716 \end_inset
23717
23718
23719 \end_layout
23720
23721 \end_inset
23722
23723
23724 \backslash
23725 let
23726 \backslash
23727 table
23728 \backslash
23729 MyTable
23730 \begin_inset Newline newline
23731 \end_inset
23732
23733
23734 \begin_inset Phantom HPhantom
23735 status open
23736
23737 \begin_layout Plain Layout
23738
23739 \series bold
23740 \begin_inset space ~
23741 \end_inset
23742
23743
23744 \end_layout
23745
23746 \end_inset
23747
23748
23749 \backslash
23750 let
23751 \backslash
23752 endtable
23753 \backslash
23754 MyEndtable
23755 \end_layout
23756
23757 \begin_layout Standard
23758
23759 \series bold
23760
23761 \backslash
23762 newcommand{
23763 \backslash
23764 FigBesBeg}{%
23765 \begin_inset Newline newline
23766 \end_inset
23767
23768
23769 \begin_inset Phantom HPhantom
23770 status open
23771
23772 \begin_layout Plain Layout
23773
23774 \series bold
23775 \begin_inset space ~
23776 \end_inset
23777
23778
23779 \end_layout
23780
23781 \end_inset
23782
23783
23784 \backslash
23785 let
23786 \backslash
23787 MyFigure
23788 \backslash
23789 figure
23790 \begin_inset Newline newline
23791 \end_inset
23792
23793
23794 \begin_inset Phantom HPhantom
23795 status open
23796
23797 \begin_layout Plain Layout
23798
23799 \series bold
23800 \begin_inset space ~
23801 \end_inset
23802
23803
23804 \end_layout
23805
23806 \end_inset
23807
23808
23809 \backslash
23810 let
23811 \backslash
23812 MyEndfigure
23813 \backslash
23814 endfigure
23815 \begin_inset Newline newline
23816 \end_inset
23817
23818
23819 \begin_inset Phantom HPhantom
23820 status open
23821
23822 \begin_layout Plain Layout
23823
23824 \series bold
23825 \begin_inset space ~
23826 \end_inset
23827
23828
23829 \end_layout
23830
23831 \end_inset
23832
23833
23834 \backslash
23835 renewenvironment{figure}{
23836 \backslash
23837 begin{SCfigure}}{
23838 \backslash
23839 end{SCfigure}}}
23840 \end_layout
23841
23842 \begin_layout Standard
23843
23844 \series bold
23845
23846 \backslash
23847 newcommand{
23848 \backslash
23849 FigBesEnd}{%
23850 \begin_inset Newline newline
23851 \end_inset
23852
23853
23854 \begin_inset Phantom HPhantom
23855 status open
23856
23857 \begin_layout Plain Layout
23858
23859 \series bold
23860 \begin_inset space ~
23861 \end_inset
23862
23863
23864 \end_layout
23865
23866 \end_inset
23867
23868
23869 \backslash
23870 let
23871 \backslash
23872 figure
23873 \backslash
23874 MyFigure
23875 \begin_inset Newline newline
23876 \end_inset
23877
23878
23879 \begin_inset Phantom HPhantom
23880 status open
23881
23882 \begin_layout Plain Layout
23883
23884 \series bold
23885 \begin_inset space ~
23886 \end_inset
23887
23888
23889 \end_layout
23890
23891 \end_inset
23892
23893
23894 \backslash
23895 let
23896 \backslash
23897 endfigure
23898 \backslash
23899 MyEndfigure}
23900 \end_layout
23901
23902 \begin_layout Standard
23903 \noindent
23904 \begin_inset CommandInset line
23905 LatexCommand rule
23906 offset "0.5ex"
23907 width "100line%"
23908 height "1pt"
23909
23910 \end_inset
23911
23912
23913 \end_layout
23914
23915 \begin_layout Standard
23916 The commands allow you to redefine the floats so that the caption is set
23917  on the side.
23918  For figure floats use the command
23919 \end_layout
23920
23921 \begin_layout Standard
23922
23923 \series bold
23924
23925 \backslash
23926 FigBesBeg
23927 \end_layout
23928
23929 \begin_layout Standard
23930 in TeX-Code before the float.
23931  After the float insert the command
23932 \end_layout
23933
23934 \begin_layout Standard
23935
23936 \series bold
23937
23938 \backslash
23939 FigBesEnd
23940 \end_layout
23941
23942 \begin_layout Standard
23943 in TeX-Code to get back to the original float definition.
23944 \end_layout
23945
23946 \begin_layout Standard
23947 For table floats use the corresponding commands
23948 \end_layout
23949
23950 \begin_layout Standard
23951
23952 \series bold
23953
23954 \backslash
23955 TabBesBeg
23956 \series default
23957  and 
23958 \series bold
23959
23960 \backslash
23961 TabBesEnd
23962 \end_layout
23963
23964 \begin_layout Standard
23965 Figure
23966 \begin_inset space ~
23967 \end_inset
23968
23969
23970 \begin_inset CommandInset ref
23971 LatexCommand ref
23972 reference "fig:cap-beside-fig"
23973
23974 \end_inset
23975
23976  and Table
23977 \begin_inset space ~
23978 \end_inset
23979
23980
23981 \begin_inset CommandInset ref
23982 LatexCommand ref
23983 reference "tab:cap-beside-tab"
23984
23985 \end_inset
23986
23987  are examples where the caption is set beside.
23988 \end_layout
23989
23990 \begin_layout Standard
23991 You can see in the examples that the caption text appears at the top of
23992  the floats for table floats and at the bottom for figure floats.
23993  To change this, you can use the command
23994 \end_layout
23995
23996 \begin_layout Standard
23997
23998 \series bold
23999
24000 \backslash
24001 sidecaptionvpos{float type}{placement}
24002 \end_layout
24003
24004 \begin_layout Standard
24005 in the document preamble or in TeX-Code before the float.
24006  The float type is either 
24007 \family sans
24008 figure
24009 \family default
24010  or 
24011 \family sans
24012 table
24013 \family default
24014 , the placement can be 
24015 \begin_inset Quotes eld
24016 \end_inset
24017
24018
24019 \family sans
24020 t
24021 \family default
24022
24023 \begin_inset Quotes erd
24024 \end_inset
24025
24026  for top, 
24027 \begin_inset Quotes eld
24028 \end_inset
24029
24030
24031 \family sans
24032 c
24033 \family default
24034
24035 \begin_inset Quotes erd
24036 \end_inset
24037
24038  for center, or 
24039 \begin_inset Quotes eld
24040 \end_inset
24041
24042
24043 \family sans
24044 b
24045 \family default
24046
24047 \begin_inset Quotes erd
24048 \end_inset
24049
24050  for bottom.
24051  To have for example the caption of figure floats vertically centered, use
24052  the command
24053 \end_layout
24054
24055 \begin_layout Standard
24056
24057 \series bold
24058
24059 \backslash
24060 sidecaptionvpos{figure}{c}
24061 \end_layout
24062
24063 \begin_layout Standard
24064 This was used for Figure
24065 \begin_inset space ~
24066 \end_inset
24067
24068
24069 \begin_inset CommandInset ref
24070 LatexCommand ref
24071 reference "fig:cap-beside-fig-2"
24072
24073 \end_inset
24074
24075 .
24076 \end_layout
24077
24078 \begin_layout Standard
24079 \begin_inset VSpace medskip
24080 \end_inset
24081
24082 For more information about the package 
24083 \series bold
24084 sidecap
24085 \series default
24086  we refer to its documentation 
24087 \begin_inset CommandInset citation
24088 LatexCommand cite
24089 key "sidecap"
24090
24091 \end_inset
24092
24093 .
24094 \end_layout
24095
24096 \begin_layout Standard
24097 \begin_inset Note Greyedout
24098 status open
24099
24100 \begin_layout Plain Layout
24101
24102 \series bold
24103 Note:
24104 \series default
24105  The LaTeX-package 
24106 \series bold
24107 hypcap
24108 \series default
24109
24110 \begin_inset Index idx
24111 status collapsed
24112
24113 \begin_layout Plain Layout
24114 LaTeX-packages ! hypcap
24115 \end_layout
24116
24117 \end_inset
24118
24119 , described in section
24120 \begin_inset space ~
24121 \end_inset
24122
24123
24124 \begin_inset CommandInset ref
24125 LatexCommand ref
24126 reference "sub:Reference-Position"
24127
24128 \end_inset
24129
24130 , has no effect on floats with the caption set beside.
24131 \end_layout
24132
24133 \end_inset
24134
24135
24136 \end_layout
24137
24138 \begin_layout Standard
24139 \begin_inset ERT
24140 status collapsed
24141
24142 \begin_layout Plain Layout
24143
24144
24145 \backslash
24146 FigBesBeg 
24147 \end_layout
24148
24149 \end_inset
24150
24151
24152 \end_layout
24153
24154 \begin_layout Standard
24155 \begin_inset Float figure
24156 wide false
24157 sideways false
24158 status open
24159
24160 \begin_layout Plain Layout
24161 \begin_inset Graphics
24162         filename clipart/escher-lsd.eps
24163         scale 75
24164         scaleBeforeRotation
24165
24166 \end_inset
24167
24168
24169 \end_layout
24170
24171 \begin_layout Plain Layout
24172 \begin_inset Caption
24173
24174 \begin_layout Plain Layout
24175 \begin_inset CommandInset label
24176 LatexCommand label
24177 name "fig:cap-beside-fig"
24178
24179 \end_inset
24180
24181 This is a caption beside a figure.
24182 \end_layout
24183
24184 \end_inset
24185
24186
24187 \end_layout
24188
24189 \end_inset
24190
24191
24192 \end_layout
24193
24194 \begin_layout Standard
24195 \begin_inset ERT
24196 status collapsed
24197
24198 \begin_layout Plain Layout
24199
24200
24201 \backslash
24202 TabBesBeg 
24203 \end_layout
24204
24205 \end_inset
24206
24207
24208 \end_layout
24209
24210 \begin_layout Standard
24211 \begin_inset Float table
24212 wide false
24213 sideways false
24214 status open
24215
24216 \begin_layout Plain Layout
24217 \begin_inset Caption
24218
24219 \begin_layout Plain Layout
24220 \begin_inset CommandInset label
24221 LatexCommand label
24222 name "tab:cap-beside-tab"
24223
24224 \end_inset
24225
24226 This is a caption beside a table.
24227 \end_layout
24228
24229 \end_inset
24230
24231
24232 \end_layout
24233
24234 \begin_layout Plain Layout
24235 \begin_inset Tabular
24236 <lyxtabular version="3" rows="4" columns="5">
24237 <features tabularvalignment="middle">
24238 <column alignment="center" valignment="top" width="0">
24239 <column alignment="center" valignment="top" width="0">
24240 <column alignment="center" valignment="top" width="0">
24241 <column alignment="center" valignment="top" width="0">
24242 <column alignment="center" valignment="top" width="0">
24243 <row>
24244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24245 \begin_inset Text
24246
24247 \begin_layout Plain Layout
24248 a
24249 \end_layout
24250
24251 \end_inset
24252 </cell>
24253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24254 \begin_inset Text
24255
24256 \begin_layout Plain Layout
24257
24258 \end_layout
24259
24260 \end_inset
24261 </cell>
24262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24263 \begin_inset Text
24264
24265 \begin_layout Plain Layout
24266 b
24267 \end_layout
24268
24269 \end_inset
24270 </cell>
24271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24272 \begin_inset Text
24273
24274 \begin_layout Plain Layout
24275
24276 \end_layout
24277
24278 \end_inset
24279 </cell>
24280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24281 \begin_inset Text
24282
24283 \begin_layout Plain Layout
24284 c
24285 \end_layout
24286
24287 \end_inset
24288 </cell>
24289 </row>
24290 <row>
24291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24292 \begin_inset Text
24293
24294 \begin_layout Plain Layout
24295
24296 \end_layout
24297
24298 \end_inset
24299 </cell>
24300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24301 \begin_inset Text
24302
24303 \begin_layout Plain Layout
24304 d
24305 \end_layout
24306
24307 \end_inset
24308 </cell>
24309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24310 \begin_inset Text
24311
24312 \begin_layout Plain Layout
24313
24314 \end_layout
24315
24316 \end_inset
24317 </cell>
24318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24319 \begin_inset Text
24320
24321 \begin_layout Plain Layout
24322 e
24323 \end_layout
24324
24325 \end_inset
24326 </cell>
24327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24328 \begin_inset Text
24329
24330 \begin_layout Plain Layout
24331
24332 \end_layout
24333
24334 \end_inset
24335 </cell>
24336 </row>
24337 <row>
24338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24339 \begin_inset Text
24340
24341 \begin_layout Plain Layout
24342 f
24343 \end_layout
24344
24345 \end_inset
24346 </cell>
24347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24348 \begin_inset Text
24349
24350 \begin_layout Plain Layout
24351
24352 \end_layout
24353
24354 \end_inset
24355 </cell>
24356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24357 \begin_inset Text
24358
24359 \begin_layout Plain Layout
24360 g
24361 \end_layout
24362
24363 \end_inset
24364 </cell>
24365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24366 \begin_inset Text
24367
24368 \begin_layout Plain Layout
24369
24370 \end_layout
24371
24372 \end_inset
24373 </cell>
24374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24375 \begin_inset Text
24376
24377 \begin_layout Plain Layout
24378 h
24379 \end_layout
24380
24381 \end_inset
24382 </cell>
24383 </row>
24384 <row>
24385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24386 \begin_inset Text
24387
24388 \begin_layout Plain Layout
24389
24390 \end_layout
24391
24392 \end_inset
24393 </cell>
24394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24395 \begin_inset Text
24396
24397 \begin_layout Plain Layout
24398 i
24399 \end_layout
24400
24401 \end_inset
24402 </cell>
24403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24404 \begin_inset Text
24405
24406 \begin_layout Plain Layout
24407
24408 \end_layout
24409
24410 \end_inset
24411 </cell>
24412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24413 \begin_inset Text
24414
24415 \begin_layout Plain Layout
24416 j
24417 \end_layout
24418
24419 \end_inset
24420 </cell>
24421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24422 \begin_inset Text
24423
24424 \begin_layout Plain Layout
24425
24426 \end_layout
24427
24428 \end_inset
24429 </cell>
24430 </row>
24431 </lyxtabular>
24432
24433 \end_inset
24434
24435
24436 \end_layout
24437
24438 \end_inset
24439
24440
24441 \end_layout
24442
24443 \begin_layout Standard
24444 \begin_inset ERT
24445 status collapsed
24446
24447 \begin_layout Plain Layout
24448
24449
24450 \backslash
24451 TabBesEnd
24452 \end_layout
24453
24454 \end_inset
24455
24456
24457 \end_layout
24458
24459 \begin_layout Standard
24460 \begin_inset ERT
24461 status collapsed
24462
24463 \begin_layout Plain Layout
24464
24465
24466 \backslash
24467 sidecaptionvpos{figure}{c}
24468 \end_layout
24469
24470 \end_inset
24471
24472
24473 \begin_inset Float figure
24474 wide false
24475 sideways false
24476 status open
24477
24478 \begin_layout Plain Layout
24479 \begin_inset Graphics
24480         filename clipart/escher-lsd.eps
24481         scale 75
24482         scaleBeforeRotation
24483
24484 \end_inset
24485
24486
24487 \end_layout
24488
24489 \begin_layout Plain Layout
24490 \begin_inset Caption
24491
24492 \begin_layout Plain Layout
24493 \begin_inset CommandInset label
24494 LatexCommand label
24495 name "fig:cap-beside-fig-2"
24496
24497 \end_inset
24498
24499 This is a vertically centered caption beside a figure.
24500 \end_layout
24501
24502 \end_inset
24503
24504
24505 \end_layout
24506
24507 \end_inset
24508
24509
24510 \end_layout
24511
24512 \begin_layout Standard
24513 \begin_inset ERT
24514 status collapsed
24515
24516 \begin_layout Plain Layout
24517
24518
24519 \backslash
24520 FigBesEnd
24521 \end_layout
24522
24523 \end_inset
24524
24525
24526 \end_layout
24527
24528 \begin_layout Standard
24529 \begin_inset ERT
24530 status collapsed
24531
24532 \begin_layout Plain Layout
24533
24534
24535 \backslash
24536 else
24537 \end_layout
24538
24539 \end_inset
24540
24541
24542 \begin_inset Note Note
24543 status open
24544
24545 \begin_layout Plain Layout
24546 The following will be displayed when the LaTeX-package 
24547 \series bold
24548 sidecap
24549 \series default
24550  is not installed:
24551 \end_layout
24552
24553 \end_inset
24554
24555
24556 \end_layout
24557
24558 \begin_layout Standard
24559 You need to install the LaTeX-package 
24560 \series bold
24561 sidecap
24562 \series default
24563  to see the following part of this section in the output.
24564 \end_layout
24565
24566 \begin_layout Standard
24567 \begin_inset ERT
24568 status collapsed
24569
24570 \begin_layout Plain Layout
24571
24572
24573 \backslash
24574 fi
24575 \end_layout
24576
24577 \end_inset
24578
24579
24580 \end_layout
24581
24582 \begin_layout Section
24583 Listings of Floats
24584 \begin_inset Index idx
24585 status collapsed
24586
24587 \begin_layout Plain Layout
24588 Floats ! Float Lists
24589 \end_layout
24590
24591 \end_inset
24592
24593
24594 \end_layout
24595
24596 \begin_layout Standard
24597 Similar to the table of contents where the sections of the document are
24598  listed, there are listings for all float types, like the figures of the
24599  documents.
24600  You can insert them via the 
24601 \family sans
24602 Insert\SpecialChar \menuseparator
24603 List
24604 \begin_inset space ~
24605 \end_inset
24606
24607 /
24608 \begin_inset space ~
24609 \end_inset
24610
24611 TOC
24612 \family default
24613  sub menus.
24614 \end_layout
24615
24616 \begin_layout Standard
24617 The list entries are the float captions or its short title, the float number,
24618  and the page number where they appear in the document.
24619 \end_layout
24620
24621 \begin_layout Standard
24622 You can find the list of figures and tables at the end of this document.
24623 \end_layout
24624
24625 \begin_layout Chapter
24626 Notes
24627 \end_layout
24628
24629 \begin_layout Section
24630 LyX Notes
24631 \begin_inset Index idx
24632 status collapsed
24633
24634 \begin_layout Plain Layout
24635 Notes ! LyX Notes
24636 \end_layout
24637
24638 \end_inset
24639
24640
24641 \end_layout
24642
24643 \begin_layout Standard
24644 Notes are inserted with the toolbar button 
24645 \begin_inset Graphics
24646         filename ../images/note-insert.png
24647         scale 85
24648         scaleBeforeRotation
24649
24650 \end_inset
24651
24652  or the menu 
24653 \family sans
24654 Insert\SpecialChar \menuseparator
24655 Note
24656 \family default
24657 .
24658  There are three types of notes:
24659 \end_layout
24660
24661 \begin_layout Description
24662 LyX
24663 \begin_inset space ~
24664 \end_inset
24665
24666 Note This note type is for internal notes that won't appear in the output.
24667  Its note-box looks like this:
24668 \begin_inset Newline newline
24669 \end_inset
24670
24671
24672 \begin_inset Newline newline
24673 \end_inset
24674
24675
24676 \begin_inset Graphics
24677         filename clipart/LyXNoteImageQt4.png
24678         display false
24679         scale 85
24680         scaleBeforeRotation
24681
24682 \end_inset
24683
24684  
24685 \begin_inset Note Note
24686 status open
24687
24688 \begin_layout Plain Layout
24689 This is text in a note box that doesn't appear in the output.
24690 \end_layout
24691
24692 \end_inset
24693
24694
24695 \end_layout
24696
24697 \begin_layout Description
24698 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24699 ent, when you export the document to LaTeX via the menu 
24700 \family sans
24701 File\SpecialChar \menuseparator
24702 Export\SpecialChar \menuseparator
24703 LaTeX (pdflatex) / (plain)
24704 \family default
24705 .
24706  Its note-box looks like this:
24707 \begin_inset Newline newline
24708 \end_inset
24709
24710
24711 \begin_inset Newline newline
24712 \end_inset
24713
24714
24715 \begin_inset Graphics
24716         filename clipart/CommentNoteImageQt4.png
24717         display false
24718         scale 85
24719         scaleBeforeRotation
24720
24721 \end_inset
24722
24723  
24724 \begin_inset Note Comment
24725 status open
24726
24727 \begin_layout Plain Layout
24728 This is text in a note box that only appears as comment in LaTeX-files.
24729 \end_layout
24730
24731 \end_inset
24732
24733
24734 \end_layout
24735
24736 \begin_layout Description
24737 Greyed
24738 \begin_inset space ~
24739 \end_inset
24740
24741 Out This note will appear in the output as grey text.
24742  Its note-box looks like this:
24743 \begin_inset Newline newline
24744 \end_inset
24745
24746
24747 \begin_inset Newline newline
24748 \end_inset
24749
24750
24751 \begin_inset Graphics
24752         filename clipart/GreyedOutNoteImageQt4.png
24753         display false
24754         scale 85
24755         scaleBeforeRotation
24756
24757 \end_inset
24758
24759
24760 \begin_inset Newline newline
24761 \end_inset
24762
24763
24764 \begin_inset ERT
24765 status collapsed
24766
24767 \begin_layout Plain Layout
24768
24769
24770 \backslash
24771 renewenvironment{lyxgreyedout}
24772 \end_layout
24773
24774 \begin_layout Plain Layout
24775
24776 {
24777 \backslash
24778 textcolor[gray]{0.8}
24779 \backslash
24780 bgroup}{
24781 \backslash
24782 egroup}
24783 \end_layout
24784
24785 \end_inset
24786
24787
24788 \begin_inset Note Greyedout
24789 status open
24790
24791 \begin_layout Plain Layout
24792 This is text
24793 \begin_inset Foot
24794 status open
24795
24796 \begin_layout Plain Layout
24797 This is an example footnote within a greyed out note.
24798 \end_layout
24799
24800 \end_inset
24801
24802  of a comment that appears in the output as grey text.
24803 \end_layout
24804
24805 \end_inset
24806
24807
24808 \begin_inset ERT
24809 status collapsed
24810
24811 \begin_layout Plain Layout
24812
24813
24814 \backslash
24815 renewenvironment{lyxgreyedout}
24816 \end_layout
24817
24818 \begin_layout Plain Layout
24819
24820 {
24821 \backslash
24822 textcolor{blue}
24823 \backslash
24824 bgroup}{
24825 \backslash
24826 egroup}
24827 \end_layout
24828
24829 \end_inset
24830
24831
24832 \begin_inset Note Note
24833 status collapsed
24834
24835 \begin_layout Plain Layout
24836 The greyed out note is here redefined to show it with the original LyX definitio
24837 n because greyed out notes are redefined in the preamble of this document,
24838  as described below, to have blue text.
24839 \end_layout
24840
24841 \end_inset
24842
24843
24844 \begin_inset Newline newline
24845 \end_inset
24846
24847
24848 \begin_inset Newline newline
24849 \end_inset
24850
24851 As you can see in the example, the first line of greyed out notes is a bit
24852  indented and greyed out notes can have footnotes.
24853 \end_layout
24854
24855 \begin_layout Standard
24856 \begin_inset VSpace bigskip
24857 \end_inset
24858
24859 When you use the toolbar button 
24860 \begin_inset Graphics
24861         filename ../images/note-insert.png
24862         scale 85
24863         scaleBeforeRotation
24864
24865 \end_inset
24866
24867  to insert notes, a 
24868 \family sans
24869 LyX
24870 \begin_inset space ~
24871 \end_inset
24872
24873 Note
24874 \family default
24875  is inserted.
24876  You can switch between the five note types by right-clicking on the note-box.
24877  
24878 \family roman
24879 \series medium
24880 \bar no
24881 If you want to turn existing text into a note, mark it and click on the
24882  note
24883 \family default
24884 \series default
24885 \bar default
24886  toolbar 
24887 \family roman
24888 \series medium
24889 \bar no
24890 button
24891 \family default
24892 \series default
24893 \bar default
24894 .
24895  To change a note to text, press the backspace key when the cursor is in
24896  the first position of a note, or press the delete key when the cursor is
24897  in the very last position of the note, respectively.
24898 \end_layout
24899
24900 \begin_layout Standard
24901 \begin_inset VSpace bigskip
24902 \end_inset
24903
24904 You can change the text color of the greyed out notes in the preamble with
24905  the following command:
24906 \end_layout
24907
24908 \begin_layout Standard
24909
24910 \series bold
24911
24912 \backslash
24913 renewenvironment{lyxgreyedout}
24914 \begin_inset Newline newline
24915 \end_inset
24916
24917
24918 \begin_inset Phantom HPhantom
24919 status open
24920
24921 \begin_layout Plain Layout
24922
24923 \series bold
24924 \begin_inset space ~
24925 \end_inset
24926
24927
24928 \end_layout
24929
24930 \end_inset
24931
24932 {
24933 \backslash
24934 textcolor{color}
24935 \backslash
24936 bgroup}{
24937 \backslash
24938 egroup}
24939 \end_layout
24940
24941 \begin_layout Standard
24942 The available colors and the method to define colors is explained in section
24943 \begin_inset space ~
24944 \end_inset
24945
24946
24947 \begin_inset CommandInset ref
24948 LatexCommand ref
24949 reference "sec:Colored-Tables"
24950
24951 \end_inset
24952
24953 .
24954 \end_layout
24955
24956 \begin_layout Standard
24957 Notes that appear in blue in this document are set using greyed out notes
24958  with blue text.
24959 \end_layout
24960
24961 \begin_layout Section
24962 Footnotes
24963 \begin_inset CommandInset label
24964 LatexCommand label
24965 name "sec:Footnotes"
24966
24967 \end_inset
24968
24969
24970 \begin_inset Index idx
24971 status collapsed
24972
24973 \begin_layout Plain Layout
24974 Notes ! Footnotes
24975 \end_layout
24976
24977 \end_inset
24978
24979
24980 \begin_inset Index idx
24981 status collapsed
24982
24983 \begin_layout Plain Layout
24984 Footnotes
24985 \end_layout
24986
24987 \end_inset
24988
24989
24990 \end_layout
24991
24992 \begin_layout Standard
24993 Footnotes can be inserted using the toolbar button 
24994 \begin_inset Graphics
24995         filename ../images/footnote-insert.png
24996         scale 85
24997         scaleBeforeRotation
24998
24999 \end_inset
25000
25001  or the menu 
25002 \family sans
25003 Insert\SpecialChar \menuseparator
25004 Footnote
25005 \family default
25006 .
25007  
25008 \family roman
25009 \series medium
25010 \bar no
25011 You'll see
25012 \family default
25013 \series default
25014 \bar default
25015  then the following footnote-box: 
25016 \begin_inset Graphics
25017         filename clipart/footnoteQt4.png
25018         scale 80
25019         scaleBeforeRotation
25020
25021 \end_inset
25022
25023  
25024 \family roman
25025 \series medium
25026 \bar no
25027 where you can enter the footnote text.
25028  If you want to turn existing text into a footnote, mark it and click on
25029  the footnote
25030 \family default
25031 \series default
25032 \bar default
25033  toolbar 
25034 \family roman
25035 \series medium
25036 \bar no
25037 button
25038 \family default
25039 \series default
25040 \bar default
25041 .
25042  To change a 
25043 \family roman
25044 \series medium
25045 \bar no
25046 footnote
25047 \family default
25048 \series default
25049 \bar default
25050  to text, press the Backspace key when the cursor is in the first position
25051  of a 
25052 \family roman
25053 \series medium
25054 \bar no
25055 footnote
25056 \family default
25057 \series default
25058 \bar default
25059 , or press the Delete key when the cursor is in the very last position of
25060  the 
25061 \family roman
25062 \series medium
25063 \bar no
25064 footnote
25065 \family default
25066 \series default
25067 \bar default
25068 , respectively.
25069 \end_layout
25070
25071 \begin_layout Standard
25072 Here is an example footnote:
25073 \family roman
25074 \series medium
25075 \bar no
25076
25077 \begin_inset Foot
25078 status open
25079
25080 \begin_layout Plain Layout
25081 \begin_inset CommandInset label
25082 LatexCommand label
25083 name "foot:This-is-an"
25084
25085 \end_inset
25086
25087 This is an example footnote.
25088 \end_layout
25089
25090 \end_inset
25091
25092
25093 \family default
25094 \series default
25095 \bar default
25096
25097 \begin_inset ERT
25098 status collapsed
25099
25100 \begin_layout Plain Layout
25101
25102
25103 \backslash
25104 newcounter{MyRepeatFoot}
25105 \end_layout
25106
25107 \begin_layout Plain Layout
25108
25109
25110 \backslash
25111 setcounter{MyRepeatFoot}{
25112 \backslash
25113 thefootnote}
25114 \end_layout
25115
25116 \end_inset
25117
25118
25119 \end_layout
25120
25121 \begin_layout Standard
25122 The footnote will appear in the output as a superscript number at the text
25123  position where the footnote box is placed.
25124  The footnote text is placed at the bottom of the current page.
25125  The footnote number is calculated by LaTeX; the numbers are consecutive.
25126  It depends on your document-class, whether the footnote number is reset
25127  for every chapter.
25128 \end_layout
25129
25130 \begin_layout Standard
25131 Footnotes can be referenced like floats: Insert a label into the footnote
25132  and cross-reference this label in the text as described in section
25133 \begin_inset space ~
25134 \end_inset
25135
25136
25137 \begin_inset CommandInset ref
25138 LatexCommand ref
25139 reference "sec:Referencing-Floats"
25140
25141 \end_inset
25142
25143 .
25144 \begin_inset Newline newline
25145 \end_inset
25146
25147 This is a cross-reference of Footnote
25148 \begin_inset space ~
25149 \end_inset
25150
25151
25152 \begin_inset CommandInset ref
25153 LatexCommand ref
25154 reference "foot:This-is-an"
25155
25156 \end_inset
25157
25158 .
25159 \end_layout
25160
25161 \begin_layout Standard
25162 \begin_inset VSpace defskip
25163 \end_inset
25164
25165 Footnotes in tables are not printed by LaTeX due to technical reasons.
25166  However there exists another method to print them: Instead of the footnote
25167  the command 
25168 \series bold
25169
25170 \backslash
25171 footnotemark{}
25172 \series default
25173  is inserted as TeX-code.
25174  The text of the footnote is entered as an argument of the TeX-code command
25175  
25176 \series bold
25177
25178 \backslash
25179 footnotetext
25180 \series default
25181  after the table.
25182 \begin_inset Newline newline
25183 \end_inset
25184
25185 This was done for the following table with the command
25186 \end_layout
25187
25188 \begin_layout Standard
25189
25190 \series bold
25191
25192 \backslash
25193 footnotetext{
25194 \series default
25195 Printed table footnote.
25196 \series bold
25197 }
25198 \end_layout
25199
25200 \begin_layout Standard
25201 \begin_inset Tabular
25202 <lyxtabular version="3" rows="2" columns="1">
25203 <features tabularvalignment="middle">
25204 <column alignment="center" valignment="top" width="0">
25205 <row>
25206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25207 \begin_inset Text
25208
25209 \begin_layout Plain Layout
25210 This an example text.
25211 \begin_inset Foot
25212 status open
25213
25214 \begin_layout Plain Layout
25215 This footnote will not be printed!
25216 \end_layout
25217
25218 \end_inset
25219
25220
25221 \end_layout
25222
25223 \end_inset
25224 </cell>
25225 </row>
25226 <row>
25227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25228 \begin_inset Text
25229
25230 \begin_layout Plain Layout
25231 This an example text.
25232 \begin_inset ERT
25233 status collapsed
25234
25235 \begin_layout Plain Layout
25236
25237
25238 \backslash
25239 footnotemark{}
25240 \end_layout
25241
25242 \end_inset
25243
25244
25245 \end_layout
25246
25247 \end_inset
25248 </cell>
25249 </row>
25250 </lyxtabular>
25251
25252 \end_inset
25253
25254
25255 \begin_inset ERT
25256 status collapsed
25257
25258 \begin_layout Plain Layout
25259
25260
25261 \backslash
25262 footnotetext{
25263 \end_layout
25264
25265 \end_inset
25266
25267 Printed table footnote.
25268 \begin_inset ERT
25269 status collapsed
25270
25271 \begin_layout Plain Layout
25272
25273 }
25274 \end_layout
25275
25276 \end_inset
25277
25278
25279 \end_layout
25280
25281 \begin_layout Standard
25282 Footnotes in longtables are described in section
25283 \begin_inset space ~
25284 \end_inset
25285
25286
25287 \begin_inset CommandInset ref
25288 LatexCommand ref
25289 reference "sub:Footnotes-in-Longtables"
25290
25291 \end_inset
25292
25293 .
25294 \end_layout
25295
25296 \begin_layout Standard
25297 Footnotes in minipage boxes are printed, but inside the box and with a different
25298  numbering because a minipage box is like a page inside a page.
25299  (For more about minipages, see section
25300 \begin_inset space ~
25301 \end_inset
25302
25303
25304 \begin_inset CommandInset ref
25305 LatexCommand ref
25306 reference "sec:Minipages"
25307
25308 \end_inset
25309
25310 .) To get a footnote in the minipage that is output at the bottom of the
25311  page like normal footnotes, also use the method of 
25312 \series bold
25313
25314 \backslash
25315 footnotemark{}
25316 \series default
25317  and 
25318 \series bold
25319
25320 \backslash
25321 footnotetext
25322 \series default
25323 .
25324 \end_layout
25325
25326 \begin_layout Standard
25327 \begin_inset Box Frameless
25328 position "t"
25329 hor_pos "c"
25330 has_inner_box 1
25331 inner_pos "t"
25332 use_parbox 0
25333 use_makebox 0
25334 width "100col%"
25335 special "none"
25336 height "1in"
25337 height_special "totalheight"
25338 status open
25339
25340 \begin_layout Plain Layout
25341 This an example text in a minipage.
25342 \begin_inset Foot
25343 status open
25344
25345 \begin_layout Plain Layout
25346 Footnote in the minipage.
25347 \end_layout
25348
25349 \end_inset
25350
25351
25352 \end_layout
25353
25354 \begin_layout Plain Layout
25355 This an example text in a minipage.
25356 \begin_inset ERT
25357 status collapsed
25358
25359 \begin_layout Plain Layout
25360
25361
25362 \backslash
25363 footnotemark{}
25364 \end_layout
25365
25366 \end_inset
25367
25368
25369 \end_layout
25370
25371 \end_inset
25372
25373
25374 \end_layout
25375
25376 \begin_layout Standard
25377 \begin_inset ERT
25378 status collapsed
25379
25380 \begin_layout Plain Layout
25381
25382
25383 \backslash
25384 footnotetext{
25385 \end_layout
25386
25387 \end_inset
25388
25389 Footnote outside the minipage.
25390 \begin_inset ERT
25391 status collapsed
25392
25393 \begin_layout Plain Layout
25394
25395 }
25396 \end_layout
25397
25398 \end_inset
25399
25400
25401 \end_layout
25402
25403 \begin_layout Standard
25404 \begin_inset VSpace defskip
25405 \end_inset
25406
25407
25408 \end_layout
25409
25410 \begin_layout Standard
25411 To refer to the same footnote several times without printing the footnote
25412  text every time, use the command 
25413 \series bold
25414
25415 \backslash
25416 footnotemark[number]
25417 \series default
25418  in TeX-code.
25419 \begin_inset Newline newline
25420 \end_inset
25421
25422 As you do not know the number of the repeating footnote while you are writing
25423  the text, you have to store its number.
25424  For the following footnote mark example, these commands were inserted in
25425  TeX-code after Footnote
25426 \begin_inset space ~
25427 \end_inset
25428
25429
25430 \begin_inset CommandInset ref
25431 LatexCommand ref
25432 reference "foot:This-is-an"
25433
25434 \end_inset
25435
25436  to store the footnote number:
25437 \end_layout
25438
25439 \begin_layout Standard
25440
25441 \series bold
25442
25443 \backslash
25444 newcounter{MyRepeatFoot}
25445 \begin_inset Newline newline
25446 \end_inset
25447
25448
25449 \backslash
25450 setcounter{MyRepeatFoot}{
25451 \backslash
25452 thefootnote}
25453 \end_layout
25454
25455 \begin_layout Standard
25456 The footnote mark was then created with this command:
25457 \end_layout
25458
25459 \begin_layout Standard
25460
25461 \series bold
25462
25463 \backslash
25464 footnotemark[
25465 \backslash
25466 theMyRepeatFoot]
25467 \end_layout
25468
25469 \begin_layout Standard
25470 Here is a repeated footnote:
25471 \family roman
25472 \series medium
25473 \bar no
25474
25475 \begin_inset ERT
25476 status collapsed
25477
25478 \begin_layout Plain Layout
25479
25480
25481 \backslash
25482 footnotemark[
25483 \backslash
25484 theMyRepeatFoot]
25485 \end_layout
25486
25487 \end_inset
25488
25489
25490 \end_layout
25491
25492 \begin_layout Standard
25493 If you want to repeat the previous footnote, you can omit the storage of
25494  the footnote number and just use this command instead:
25495 \end_layout
25496
25497 \begin_layout Standard
25498
25499 \series bold
25500
25501 \backslash
25502 footnotemark[
25503 \backslash
25504 thefootnote]
25505 \end_layout
25506
25507 \begin_layout Standard
25508 Here is another repeated footnote:
25509 \family roman
25510 \series medium
25511 \bar no
25512
25513 \begin_inset ERT
25514 status collapsed
25515
25516 \begin_layout Plain Layout
25517
25518
25519 \backslash
25520 footnotemark[
25521 \backslash
25522 thefootnote]
25523 \end_layout
25524
25525 \end_inset
25526
25527
25528 \end_layout
25529
25530 \begin_layout Subsection
25531 Footnote Numbering
25532 \begin_inset CommandInset label
25533 LatexCommand label
25534 name "sub:Footnote-Numbering"
25535
25536 \end_inset
25537
25538
25539 \begin_inset Index idx
25540 status collapsed
25541
25542 \begin_layout Plain Layout
25543 Footnotes ! Numbering
25544 \end_layout
25545
25546 \end_inset
25547
25548
25549 \end_layout
25550
25551 \begin_layout Standard
25552 To reset the footnote number back to 1 after each section
25553 \family roman
25554 , add this command to your document preamble:
25555 \end_layout
25556
25557 \begin_layout Standard
25558
25559 \series bold
25560
25561 \backslash
25562 @addtoreset{footnote}{section}
25563 \end_layout
25564
25565 \begin_layout Standard
25566 \begin_inset VSpace bigskip
25567 \end_inset
25568
25569 The following preamble command changes the footnote numbering style to small
25570  roman numerals:
25571 \end_layout
25572
25573 \begin_layout Standard
25574
25575 \series bold
25576
25577 \backslash
25578 renewcommand{
25579 \backslash
25580 thefootnote}{
25581 \backslash
25582 roman{footnote}}
25583 \end_layout
25584
25585 \begin_layout Standard
25586 \begin_inset ERT
25587 status collapsed
25588
25589 \begin_layout Plain Layout
25590
25591
25592 \backslash
25593 renewcommand{
25594 \backslash
25595 thefootnote}{
25596 \backslash
25597 roman{footnote}}
25598 \end_layout
25599
25600 \end_inset
25601
25602  This is a footnote with roman numbering:
25603 \begin_inset Foot
25604 status open
25605
25606 \begin_layout Plain Layout
25607 This is an example footnote with roman numbering.
25608 \end_layout
25609
25610 \end_inset
25611
25612
25613 \end_layout
25614
25615 \begin_layout Standard
25616 To change the numbering style to capital roman numerals replace in the command
25617  above 
25618 \series bold
25619
25620 \backslash
25621 roman
25622 \series default
25623  by 
25624 \series bold
25625
25626 \backslash
25627 Roman
25628 \series default
25629 .
25630  To 
25631 \begin_inset Quotes eld
25632 \end_inset
25633
25634 number
25635 \begin_inset Quotes erd
25636 \end_inset
25637
25638  footnotes with capital or small Latin letters use 
25639 \series bold
25640
25641 \backslash
25642 Alph
25643 \series default
25644  or 
25645 \series bold
25646
25647 \backslash
25648 alph
25649 \series default
25650 , respectively.
25651  To 
25652 \begin_inset Quotes eld
25653 \end_inset
25654
25655 number
25656 \begin_inset Quotes erd
25657 \end_inset
25658
25659  footnotes with symbols use 
25660 \series bold
25661
25662 \backslash
25663 fnsymbol
25664 \series default
25665 .
25666 \end_layout
25667
25668 \begin_layout Standard
25669 \begin_inset Note Greyedout
25670 status open
25671
25672 \begin_layout Plain Layout
25673
25674 \series bold
25675 Note:
25676 \series default
25677  You can only number 26 footnotes with Latin letters, because this numbering
25678  is limited to single letters.
25679 \end_layout
25680
25681 \end_inset
25682
25683
25684 \begin_inset Newline newline
25685 \end_inset
25686
25687
25688 \begin_inset Note Greyedout
25689 status open
25690
25691 \begin_layout Plain Layout
25692
25693 \series bold
25694 Note:
25695 \series default
25696  You can only number 9 footnotes with symbols.
25697 \end_layout
25698
25699 \end_inset
25700
25701
25702 \end_layout
25703
25704 \begin_layout Standard
25705 To return to the default numbering style after you have changed to another
25706  one, use 
25707 \series bold
25708
25709 \backslash
25710 arabic
25711 \series default
25712  instead of 
25713 \series bold
25714
25715 \backslash
25716 roman
25717 \series default
25718  in the command above.
25719 \begin_inset ERT
25720 status collapsed
25721
25722 \begin_layout Plain Layout
25723
25724
25725 \backslash
25726 renewcommand{
25727 \backslash
25728 thefootnote}{
25729 \backslash
25730 arabic{footnote}}
25731 \end_layout
25732
25733 \end_inset
25734
25735
25736 \end_layout
25737
25738 \begin_layout Standard
25739 \begin_inset VSpace bigskip
25740 \end_inset
25741
25742
25743 \end_layout
25744
25745 \begin_layout Standard
25746 If you want to have footnotes numbered in the scheme 
25747 \begin_inset Quotes eld
25748 \end_inset
25749
25750 chapter.footnote
25751 \begin_inset Quotes erd
25752 \end_inset
25753
25754 , add the following command to your document preamble:
25755 \end_layout
25756
25757 \begin_layout Standard
25758
25759 \series bold
25760
25761 \backslash
25762 numberwithin{footnote}{chapter}
25763 \end_layout
25764
25765 \begin_layout Standard
25766 To be able to use the command 
25767 \series bold
25768
25769 \backslash
25770 numberwithin
25771 \series default
25772 , set in the tab 
25773 \family sans
25774 Math
25775 \begin_inset space ~
25776 \end_inset
25777
25778 Options
25779 \family default
25780  in the document settings the option 
25781 \family sans
25782 Use
25783 \begin_inset space ~
25784 \end_inset
25785
25786 AMS
25787 \begin_inset space ~
25788 \end_inset
25789
25790 math
25791 \begin_inset space ~
25792 \end_inset
25793
25794 package
25795 \family default
25796 .
25797 \end_layout
25798
25799 \begin_layout Standard
25800 \begin_inset ERT
25801 status collapsed
25802
25803 \begin_layout Plain Layout
25804
25805
25806 \backslash
25807 numberwithin{footnote}{chapter}
25808 \end_layout
25809
25810 \end_inset
25811
25812 This is another example footnote:
25813 \series bold
25814
25815 \begin_inset Foot
25816 status open
25817
25818 \begin_layout Plain Layout
25819 This is a footnote numbered in the scheme 
25820 \begin_inset Quotes eld
25821 \end_inset
25822
25823 chapter.footnote
25824 \begin_inset Quotes erd
25825 \end_inset
25826
25827 .
25828 \end_layout
25829
25830 \end_inset
25831
25832
25833 \series default
25834
25835 \begin_inset ERT
25836 status collapsed
25837
25838 \begin_layout Plain Layout
25839
25840
25841 \backslash
25842 renewcommand{
25843 \backslash
25844 thefootnote}{
25845 \backslash
25846 arabic{footnote}}
25847 \end_layout
25848
25849 \end_inset
25850
25851
25852 \end_layout
25853
25854 \begin_layout Standard
25855 \begin_inset Note Greyedout
25856 status open
25857
25858 \begin_layout Plain Layout
25859
25860 \series bold
25861 Note:
25862 \series default
25863  
25864 \series bold
25865
25866 \backslash
25867 numberwithin
25868 \series default
25869  always prints out the footnote number as arabic number; previous redefinitions
25870  to get non-arabic numbers are overwritten.
25871 \end_layout
25872
25873 \end_inset
25874
25875
25876 \end_layout
25877
25878 \begin_layout Standard
25879 So to get for example the scheme 
25880 \begin_inset Quotes eld
25881 \end_inset
25882
25883 chapter.
25884 \backslash
25885 Roman{footnote}
25886 \begin_inset Quotes erd
25887 \end_inset
25888
25889 , use this command instead of 
25890 \series bold
25891
25892 \backslash
25893 numberwithin
25894 \series default
25895 :
25896 \end_layout
25897
25898 \begin_layout Standard
25899
25900 \series bold
25901
25902 \backslash
25903 renewcommand{
25904 \backslash
25905 thefootnote}{
25906 \backslash
25907 thechapter.
25908 \backslash
25909 Roman{footnote}}
25910 \end_layout
25911
25912 \begin_layout Subsection
25913 Footnote Placement
25914 \begin_inset Index idx
25915 status collapsed
25916
25917 \begin_layout Plain Layout
25918 Footnotes ! Placement
25919 \end_layout
25920
25921 \end_inset
25922
25923
25924 \end_layout
25925
25926 \begin_layout Standard
25927 If you have several footnotes in one page, they appear without vertical
25928  space between them at the bottom of the page.
25929  To make them more readable you can e.
25930 \begin_inset space \thinspace{}
25931 \end_inset
25932
25933 g.
25934 \begin_inset space \space{}
25935 \end_inset
25936
25937 add 1.5
25938 \begin_inset space \thinspace{}
25939 \end_inset
25940
25941 mm space with the following preamble command:
25942 \end_layout
25943
25944 \begin_layout Standard
25945
25946 \series bold
25947
25948 \backslash
25949 let
25950 \backslash
25951 myFoot
25952 \backslash
25953 footnote
25954 \begin_inset Newline newline
25955 \end_inset
25956
25957
25958 \backslash
25959 renewcommand{
25960 \backslash
25961 footnote}[1]{
25962 \backslash
25963 myFoot{#1
25964 \backslash
25965 vspace{1.5mm}}}
25966 \end_layout
25967
25968 \begin_layout Standard
25969 \begin_inset VSpace bigskip
25970 \end_inset
25971
25972 In a two-column document the footnotes appear at the bottom of every column,
25973  see Figure
25974 \begin_inset space ~
25975 \end_inset
25976
25977
25978 \begin_inset CommandInset ref
25979 LatexCommand ref
25980 reference "fig:Standard-footnote-placement"
25981
25982 \end_inset
25983
25984 .
25985  If the footnotes should only appear at the bottom of the right column,
25986  as in Figure
25987 \begin_inset space ~
25988 \end_inset
25989
25990
25991 \begin_inset CommandInset ref
25992 LatexCommand ref
25993 reference "fig:Footnote-placement-in"
25994
25995 \end_inset
25996
25997 , use the LaTeX-package 
25998 \series bold
25999 ftnright
26000 \series default
26001
26002 \begin_inset Index idx
26003 status collapsed
26004
26005 \begin_layout Plain Layout
26006 LaTeX-packages ! ftnright
26007 \end_layout
26008
26009 \end_inset
26010
26011  with this command in the document preamble:
26012 \end_layout
26013
26014 \begin_layout Standard
26015
26016 \series bold
26017
26018 \backslash
26019 usepackage{ftnright}
26020 \end_layout
26021
26022 \begin_layout Standard
26023 \begin_inset Float figure
26024 placement !h
26025 wide false
26026 sideways false
26027 status open
26028
26029 \begin_layout Plain Layout
26030 \begin_inset ERT
26031 status collapsed
26032
26033 \begin_layout Plain Layout
26034
26035
26036 \backslash
26037 framebox{
26038 \end_layout
26039
26040 \end_inset
26041
26042
26043 \begin_inset Graphics
26044         filename clipart/without_fntright.pdf
26045         width 100col%
26046         scaleBeforeRotation
26047
26048 \end_inset
26049
26050
26051 \begin_inset ERT
26052 status collapsed
26053
26054 \begin_layout Plain Layout
26055
26056 }
26057 \end_layout
26058
26059 \end_inset
26060
26061
26062 \end_layout
26063
26064 \begin_layout Plain Layout
26065 \begin_inset Caption
26066
26067 \begin_layout Plain Layout
26068 \begin_inset CommandInset label
26069 LatexCommand label
26070 name "fig:Standard-footnote-placement"
26071
26072 \end_inset
26073
26074 Standard footnote placement in two-column documents.
26075 \end_layout
26076
26077 \end_inset
26078
26079
26080 \end_layout
26081
26082 \end_inset
26083
26084
26085 \end_layout
26086
26087 \begin_layout Standard
26088 \begin_inset Float figure
26089 placement !h
26090 wide false
26091 sideways false
26092 status open
26093
26094 \begin_layout Plain Layout
26095 \begin_inset ERT
26096 status collapsed
26097
26098 \begin_layout Plain Layout
26099
26100
26101 \backslash
26102 framebox{
26103 \end_layout
26104
26105 \end_inset
26106
26107
26108 \begin_inset Graphics
26109         filename clipart/with_fntright.pdf
26110         width 100col%
26111         scaleBeforeRotation
26112
26113 \end_inset
26114
26115
26116 \begin_inset ERT
26117 status collapsed
26118
26119 \begin_layout Plain Layout
26120
26121 }
26122 \end_layout
26123
26124 \end_inset
26125
26126
26127 \end_layout
26128
26129 \begin_layout Plain Layout
26130 \begin_inset Caption
26131
26132 \begin_layout Plain Layout
26133 \begin_inset CommandInset label
26134 LatexCommand label
26135 name "fig:Footnote-placement-in"
26136
26137 \end_inset
26138
26139 Footnote placement in two-column documents when the LaTeX-package 
26140 \series bold
26141 ftnright
26142 \series default
26143  is used.
26144 \end_layout
26145
26146 \end_inset
26147
26148
26149 \end_layout
26150
26151 \end_inset
26152
26153
26154 \end_layout
26155
26156 \begin_layout Standard
26157 \begin_inset VSpace bigskip
26158 \end_inset
26159
26160 In some scientific literature it is usual to collect the footnotes and print
26161  them in a separate paragraph at the end of a section, as in Figure
26162 \begin_inset space ~
26163 \end_inset
26164
26165
26166 \begin_inset CommandInset ref
26167 LatexCommand ref
26168 reference "fig:Endnotes"
26169
26170 \end_inset
26171
26172 .
26173  They are then called 
26174 \begin_inset Quotes eld
26175 \end_inset
26176
26177 endnotes
26178 \begin_inset Quotes erd
26179 \end_inset
26180
26181 .
26182 \begin_inset Index idx
26183 status collapsed
26184
26185 \begin_layout Plain Layout
26186 Endnotes
26187 \end_layout
26188
26189 \end_inset
26190
26191  To use endnotes instead of footnotes in your document, load in the menu
26192  
26193 \family sans
26194 Document\SpecialChar \menuseparator
26195 Settings\SpecialChar \menuseparator
26196 Modules 
26197 \family default
26198 the module 
26199 \family sans
26200 Foot
26201 \begin_inset space ~
26202 \end_inset
26203
26204 to
26205 \begin_inset space ~
26206 \end_inset
26207
26208 End
26209 \family default
26210 .
26211  To insert the collected footnotes, insert the command
26212 \end_layout
26213
26214 \begin_layout Standard
26215
26216 \series bold
26217
26218 \backslash
26219 theendnotes
26220 \end_layout
26221
26222 \begin_layout Standard
26223 in TeX-Code at the end of a section or chapter.
26224 \end_layout
26225
26226 \begin_layout Standard
26227 \begin_inset Float figure
26228 wide false
26229 sideways false
26230 status open
26231
26232 \begin_layout Plain Layout
26233 \align center
26234 \begin_inset ERT
26235 status collapsed
26236
26237 \begin_layout Plain Layout
26238
26239
26240 \backslash
26241 framebox{
26242 \end_layout
26243
26244 \end_inset
26245
26246
26247 \begin_inset Graphics
26248         filename clipart/endnotes.pdf
26249         scaleBeforeRotation
26250
26251 \end_inset
26252
26253
26254 \begin_inset ERT
26255 status collapsed
26256
26257 \begin_layout Plain Layout
26258
26259 }
26260 \end_layout
26261
26262 \end_inset
26263
26264
26265 \end_layout
26266
26267 \begin_layout Plain Layout
26268 \begin_inset Caption
26269
26270 \begin_layout Plain Layout
26271 \begin_inset CommandInset label
26272 LatexCommand label
26273 name "fig:Endnotes"
26274
26275 \end_inset
26276
26277 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26278  or chapters.
26279 \end_layout
26280
26281 \end_inset
26282
26283
26284 \end_layout
26285
26286 \end_inset
26287
26288
26289 \end_layout
26290
26291 \begin_layout Standard
26292 \begin_inset VSpace medskip
26293 \end_inset
26294
26295 The paragraph heading for the endnotes isn't automatically translated into
26296  the document language, this must be done manually.
26297  The following preamble command translates the default English 
26298 \begin_inset Quotes eld
26299 \end_inset
26300
26301 Notes
26302 \begin_inset Quotes erd
26303 \end_inset
26304
26305  into the German 
26306 \begin_inset Quotes eld
26307 \end_inset
26308
26309 Anmerkungen
26310 \begin_inset Quotes erd
26311 \end_inset
26312
26313 :
26314 \end_layout
26315
26316 \begin_layout Standard
26317
26318 \series bold
26319
26320 \backslash
26321 renewcommand{
26322 \backslash
26323 notesname}{Anmerkungen}
26324 \end_layout
26325
26326 \begin_layout Standard
26327 \begin_inset VSpace medskip
26328 \end_inset
26329
26330 The numbering of endnotes can be changed like the footnote numbering as
26331  described in section
26332 \begin_inset space ~
26333 \end_inset
26334
26335
26336 \begin_inset CommandInset ref
26337 LatexCommand ref
26338 reference "sub:Footnote-Numbering"
26339
26340 \end_inset
26341
26342 ; just replace the command 
26343 \series bold
26344
26345 \backslash
26346 thefootnote
26347 \series default
26348  by 
26349 \series bold
26350
26351 \backslash
26352 theendnote
26353 \series default
26354 .
26355  To reset the endnote number use the command 
26356 \series bold
26357
26358 \backslash
26359 @addtoreset
26360 \series default
26361  as described in section
26362 \begin_inset space ~
26363 \end_inset
26364
26365
26366 \begin_inset CommandInset ref
26367 LatexCommand ref
26368 reference "sub:Footnote-Numbering"
26369
26370 \end_inset
26371
26372  and replace the command parameter 
26373 \series bold
26374 footnote
26375 \series default
26376  by 
26377 \series bold
26378 endnote
26379 \series default
26380 .
26381 \end_layout
26382
26383 \begin_layout Standard
26384 For endnotes there is the command 
26385 \series bold
26386
26387 \backslash
26388 endnotemark[number]
26389 \series default
26390  similar to the command 
26391 \series bold
26392
26393 \backslash
26394 footnotemark
26395 \series default
26396 , that is described in section
26397 \begin_inset space ~
26398 \end_inset
26399
26400
26401 \begin_inset CommandInset ref
26402 LatexCommand ref
26403 reference "sec:Footnotes"
26404
26405 \end_inset
26406
26407 .
26408 \end_layout
26409
26410 \begin_layout Standard
26411 \begin_inset VSpace bigskip
26412 \end_inset
26413
26414 Footnotes can also be placed in the page margin and the footnote text alignment
26415  can be changed, see the LaTeX-package 
26416 \series bold
26417 footmisc
26418 \series default
26419
26420 \begin_inset Index idx
26421 status collapsed
26422
26423 \begin_layout Plain Layout
26424 LaTeX-packages ! footmisc
26425 \end_layout
26426
26427 \end_inset
26428
26429
26430 \begin_inset CommandInset citation
26431 LatexCommand cite
26432 key "footmisc"
26433
26434 \end_inset
26435
26436  for more information about this.
26437 \end_layout
26438
26439 \begin_layout Standard
26440 For various further footnote formatting issues have a look at LaTeX-books,
26441  
26442 \begin_inset CommandInset citation
26443 LatexCommand cite
26444 key "latexcompanion,latexguide,latexbook"
26445
26446 \end_inset
26447
26448 .
26449 \end_layout
26450
26451 \begin_layout Section
26452 Margin Notes
26453 \begin_inset Index idx
26454 status collapsed
26455
26456 \begin_layout Plain Layout
26457 Notes ! Margin Notes
26458 \end_layout
26459
26460 \end_inset
26461
26462
26463 \end_layout
26464
26465 \begin_layout Standard
26466 Margin notes look and behave in LyX like footnotes.
26467  They are inserted via the menu 
26468 \family sans
26469 Insert\SpecialChar \menuseparator
26470 Marginal
26471 \begin_inset space ~
26472 \end_inset
26473
26474 Note
26475 \family default
26476  or the toolbar button 
26477 \begin_inset Graphics
26478         filename ../images/marginalnote-insert.png
26479         scale 85
26480         scaleBeforeRotation
26481
26482 \end_inset
26483
26484 .
26485  A grey 
26486 \family roman
26487 \series medium
26488 box with the
26489 \family default
26490 \series default
26491  red 
26492 \family roman
26493 \series medium
26494 label 
26495 \begin_inset Quotes eld
26496 \end_inset
26497
26498 margin
26499 \begin_inset Quotes erd
26500 \end_inset
26501
26502  appears where you can enter the text of the margin note.
26503 \end_layout
26504
26505 \begin_layout Standard
26506 At the side is an example margin note.
26507
26508 \family roman
26509 \series medium
26510  
26511 \begin_inset Marginal
26512 status open
26513
26514 \begin_layout Plain Layout
26515 This is a margin note.
26516 \end_layout
26517
26518 \end_inset
26519
26520
26521 \end_layout
26522
26523 \begin_layout Standard
26524 Margin notes appear at the right side in single-sided documents.
26525  In double-sided documents they appear in the outer margin â€“ left on even
26526  pages, right on odd pages.
26527  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26528 d when the note appears in the left margin.
26529  The first line of the margin note is placed at the position of the text
26530  line where it is inserted in the document.
26531 \end_layout
26532
26533 \begin_layout Standard
26534 \begin_inset VSpace bigskip
26535 \end_inset
26536
26537 To place the margin note in the inner margin, add the command
26538 \end_layout
26539
26540 \begin_layout Standard
26541
26542 \series bold
26543
26544 \backslash
26545 reversemarginpar
26546 \end_layout
26547
26548 \begin_layout Standard
26549 in TeX-Code before a margin note.
26550  The new placement is valid for all subsequent margin notes.
26551  
26552 \begin_inset ERT
26553 status collapsed
26554
26555 \begin_layout Plain Layout
26556
26557
26558 \backslash
26559 reversemarginpar 
26560 \end_layout
26561
26562 \end_inset
26563
26564
26565 \begin_inset Marginal
26566 status open
26567
26568 \begin_layout Plain Layout
26569 This is a margin note in the inner margin.
26570 \end_layout
26571
26572 \end_inset
26573
26574
26575 \series bold
26576
26577 \begin_inset Newline newline
26578 \end_inset
26579
26580
26581 \series default
26582
26583 \begin_inset Note Greyedout
26584 status open
26585
26586 \begin_layout Plain Layout
26587
26588 \series bold
26589 Note:
26590 \series default
26591  There is often not enough space in the inner margin so that the notes are
26592  not correctly displayed in the output.
26593 \end_layout
26594
26595 \end_inset
26596
26597
26598 \end_layout
26599
26600 \begin_layout Standard
26601 To return to the default placement insert the command
26602 \end_layout
26603
26604 \begin_layout Standard
26605
26606 \series bold
26607
26608 \backslash
26609 normalmarginpar
26610 \end_layout
26611
26612 \begin_layout Standard
26613 in TeX-Code.
26614 \begin_inset ERT
26615 status collapsed
26616
26617 \begin_layout Plain Layout
26618
26619
26620 \backslash
26621 normalmarginpar 
26622 \end_layout
26623
26624 \end_inset
26625
26626  
26627 \begin_inset Note Greyedout
26628 status open
26629
26630 \begin_layout Plain Layout
26631
26632 \series bold
26633 Note:
26634 \series default
26635  The command is ignored when it is within a paragraph where also the command
26636  
26637 \series bold
26638
26639 \backslash
26640 reversemarginpar
26641 \series default
26642  is inserted.
26643 \end_layout
26644
26645 \end_inset
26646
26647
26648 \end_layout
26649
26650 \begin_layout Standard
26651 \begin_inset VSpace bigskip
26652 \end_inset
26653
26654
26655 \family roman
26656 \series medium
26657
26658 \begin_inset Marginal
26659 status open
26660
26661 \begin_layout Plain Layout
26662 AVeryLongMarginParWord that isn't hyphenated.
26663 \end_layout
26664
26665 \end_inset
26666
26667
26668 \family default
26669 \series default
26670  Similar to the case described in section
26671 \begin_inset space ~
26672 \end_inset
26673
26674
26675 \begin_inset CommandInset ref
26676 LatexCommand ref
26677 reference "sub:Multiple-Lines-in"
26678
26679 \end_inset
26680
26681 , long words cannot be hyphenated when they are the first word in a margin
26682  note.
26683  To avoid this, insert 0
26684 \begin_inset space \thinspace{}
26685 \end_inset
26686
26687 pt horizontal space before the word
26688 \family roman
26689 \series medium
26690 .
26691  
26692 \begin_inset Marginal
26693 status open
26694
26695 \begin_layout Plain Layout
26696 \begin_inset space \hspace*{}
26697 \length 0pt
26698 \end_inset
26699
26700 AVeryLongMarginParWord that is hyphenated.
26701 \end_layout
26702
26703 \end_inset
26704
26705
26706 \end_layout
26707
26708 \begin_layout Standard
26709 \begin_inset VSpace bigskip
26710 \end_inset
26711
26712
26713 \end_layout
26714
26715 \begin_layout Standard
26716 \begin_inset Note Greyedout
26717 status open
26718
26719 \begin_layout Plain Layout
26720
26721 \series bold
26722 Note:
26723 \series default
26724  Margin notes can normally not be used inside tables, floats, and footnotes.
26725 \end_layout
26726
26727 \end_inset
26728
26729
26730 \end_layout
26731
26732 \begin_layout Standard
26733 \begin_inset VSpace bigskip
26734 \end_inset
26735
26736
26737 \end_layout
26738
26739 \begin_layout Standard
26740 \begin_inset ERT
26741 status collapsed
26742
26743 \begin_layout Plain Layout
26744
26745
26746 \backslash
26747 ifmarginnote
26748 \end_layout
26749
26750 \end_inset
26751
26752
26753 \begin_inset Note Note
26754 status open
26755
26756 \begin_layout Plain Layout
26757 The following section will only be displayed when the LaTeX-package 
26758 \series bold
26759 marginnote
26760 \series default
26761  is installed.
26762 \end_layout
26763
26764 \end_inset
26765
26766
26767 \end_layout
26768
26769 \begin_layout Standard
26770 This restriction can be evaded by using the LaTeX-package 
26771 \series bold
26772 marginnote
26773 \series default
26774
26775 \begin_inset Index idx
26776 status collapsed
26777
26778 \begin_layout Plain Layout
26779 LaTeX-packages ! marginnote
26780 \end_layout
26781
26782 \end_inset
26783
26784 .
26785  By adding these two lines to your document preamble, the command used by
26786  LyX for margin notes is redefined to use the command provided by the 
26787 \series bold
26788 marginnote
26789 \series default
26790 -package:
26791 \end_layout
26792
26793 \begin_layout Standard
26794
26795 \series bold
26796
26797 \backslash
26798 usepackage{marginnote}
26799 \begin_inset Newline newline
26800 \end_inset
26801
26802
26803 \backslash
26804 let
26805 \backslash
26806 marginpar
26807 \backslash
26808 marginnote
26809 \end_layout
26810
26811 \begin_layout Standard
26812 This is also used in this document because 
26813 \series bold
26814 marginnote
26815 \series default
26816  has another useful feature: You can set a vertical offset for the note.
26817  This is often needed when too many margin notes are too close together
26818  or for a better page layout.
26819  The offset is set in LyX as TeX-Code directly after the margin note in
26820  the scheme
26821 \end_layout
26822
26823 \begin_layout Standard
26824
26825 \series bold
26826 [offset]
26827 \end_layout
26828
26829 \begin_layout Standard
26830 where the offset is a length with one of the units listed in Table
26831 \begin_inset space ~
26832 \end_inset
26833
26834
26835 \begin_inset CommandInset ref
26836 LatexCommand ref
26837 reference "tab:Units"
26838
26839 \end_inset
26840
26841 .
26842  A negative value shifts the note up, a positive value shifts it down.
26843  
26844 \family roman
26845 \series medium
26846 For example the margin note beside this text line is shifted up 1.5
26847 \begin_inset space \thinspace{}
26848 \end_inset
26849
26850 cm with the TeX-Code-command 
26851 \begin_inset Quotes eld
26852 \end_inset
26853
26854
26855 \family default
26856 \series bold
26857 [-1.5cm]
26858 \family roman
26859 \series medium
26860
26861 \begin_inset Quotes erd
26862 \end_inset
26863
26864
26865 \begin_inset Marginal
26866 status open
26867
26868 \begin_layout Plain Layout
26869 This margin note is shifted up 1.5
26870 \begin_inset space \thinspace{}
26871 \end_inset
26872
26873 cm from its original position.
26874 \end_layout
26875
26876 \end_inset
26877
26878
26879 \family default
26880 \series default
26881
26882 \begin_inset ERT
26883 status collapsed
26884
26885 \begin_layout Plain Layout
26886
26887 [-1.5cm]
26888 \end_layout
26889
26890 \end_inset
26891
26892
26893 \end_layout
26894
26895 \begin_layout Standard
26896 \begin_inset VSpace medskip
26897 \end_inset
26898
26899 With 
26900 \series bold
26901 marginnote
26902 \series default
26903  you can also change the alignment of the text in the margin note.
26904  For example the commands
26905 \end_layout
26906
26907 \begin_layout Standard
26908
26909 \series bold
26910
26911 \backslash
26912 renewcommand*{
26913 \backslash
26914 raggedleftmarginnote}{
26915 \backslash
26916 centering}
26917 \begin_inset Newline newline
26918 \end_inset
26919
26920
26921 \backslash
26922 renewcommand*{
26923 \backslash
26924 raggedrightmarginnote}{
26925 \backslash
26926 centering}
26927 \end_layout
26928
26929 \begin_layout Standard
26930 set the alignment to centered.
26931  
26932 \series bold
26933
26934 \backslash
26935 raggedleftmarginnote
26936 \series default
26937  denotes margin notes that appear at the left side.
26938 \family roman
26939 \series medium
26940
26941 \begin_inset ERT
26942 status collapsed
26943
26944 \begin_layout Plain Layout
26945
26946
26947 \backslash
26948 renewcommand*{
26949 \backslash
26950 raggedleftmarginnote}{
26951 \backslash
26952 centering}
26953 \end_layout
26954
26955 \begin_layout Plain Layout
26956
26957
26958 \backslash
26959 renewcommand*{
26960 \backslash
26961 raggedrightmarginnote}{
26962 \backslash
26963 centering}
26964 \end_layout
26965
26966 \end_inset
26967
26968
26969 \begin_inset Marginal
26970 status open
26971
26972 \begin_layout Plain Layout
26973 The text of this margin note is centered.
26974 \end_layout
26975
26976 \end_inset
26977
26978
26979 \family default
26980 \series default
26981  The default is
26982 \end_layout
26983
26984 \begin_layout Standard
26985
26986 \series bold
26987
26988 \backslash
26989 renewcommand*{
26990 \backslash
26991 raggedleftmarginnote}{
26992 \backslash
26993 raggedleft}
26994 \begin_inset Newline newline
26995 \end_inset
26996
26997
26998 \backslash
26999 renewcommand*{
27000 \backslash
27001 raggedrightmarginnote}{
27002 \backslash
27003 raggedright}
27004 \family roman
27005 \series medium
27006
27007 \begin_inset ERT
27008 status collapsed
27009
27010 \begin_layout Plain Layout
27011
27012
27013 \backslash
27014 renewcommand*{
27015 \backslash
27016 raggedleftmarginnote}{
27017 \backslash
27018 raggedleft}
27019 \end_layout
27020
27021 \begin_layout Plain Layout
27022
27023
27024 \backslash
27025 renewcommand*{
27026 \backslash
27027 raggedrightmarginnote}{
27028 \backslash
27029 raggedright}
27030 \end_layout
27031
27032 \end_inset
27033
27034
27035 \end_layout
27036
27037 \begin_layout Standard
27038 \begin_inset VSpace medskip
27039 \end_inset
27040
27041 For the other features of 
27042 \series bold
27043 marginnote
27044 \series default
27045  refer to its documentation 
27046 \begin_inset CommandInset citation
27047 LatexCommand cite
27048 key "marginnote"
27049
27050 \end_inset
27051
27052 .
27053 \end_layout
27054
27055 \begin_layout Standard
27056 \begin_inset VSpace bigskip
27057 \end_inset
27058
27059 You can adjust the layout of margin notes by changing its definition.
27060  To create for example a header for all margin notes with the underlined,
27061  sans-serif, and bold header text 
27062 \begin_inset Quotes eld
27063 \end_inset
27064
27065
27066 \family sans
27067 \series bold
27068 \bar under
27069 Attention!
27070 \family default
27071 \series default
27072 \bar default
27073
27074 \begin_inset Quotes erd
27075 \end_inset
27076
27077 , add this to your document preamble:
27078 \end_layout
27079
27080 \begin_layout Standard
27081
27082 \series bold
27083
27084 \backslash
27085 let
27086 \backslash
27087 myMarginpar
27088 \backslash
27089 marginpar
27090 \begin_inset Newline newline
27091 \end_inset
27092
27093
27094 \backslash
27095 renewcommand{
27096 \backslash
27097 marginpar}[1]{
27098 \backslash
27099 myMarginpar{%
27100 \begin_inset Newline newline
27101 \end_inset
27102
27103
27104 \begin_inset Phantom HPhantom
27105 status open
27106
27107 \begin_layout Plain Layout
27108
27109 \series bold
27110 \begin_inset space ~
27111 \end_inset
27112
27113
27114 \end_layout
27115
27116 \end_inset
27117
27118
27119 \backslash
27120 hspace{0pt}
27121 \backslash
27122 textsf{
27123 \backslash
27124 textbf{
27125 \backslash
27126 underbar{Attention!}}}%
27127 \begin_inset Newline newline
27128 \end_inset
27129
27130
27131 \begin_inset Phantom HPhantom
27132 status open
27133
27134 \begin_layout Plain Layout
27135
27136 \series bold
27137 \begin_inset space ~
27138 \end_inset
27139
27140
27141 \end_layout
27142
27143 \end_inset
27144
27145
27146 \backslash
27147 vspace{1.5mm}
27148 \backslash
27149
27150 \backslash
27151 #1}}
27152 \end_layout
27153
27154 \begin_layout Standard
27155
27156 \family roman
27157 \series medium
27158 \begin_inset ERT
27159 status collapsed
27160
27161 \begin_layout Plain Layout
27162
27163
27164 \backslash
27165 let
27166 \backslash
27167 myMarginpar
27168 \backslash
27169 marginpar
27170 \end_layout
27171
27172 \begin_layout Plain Layout
27173
27174
27175 \backslash
27176 renewcommand{
27177 \backslash
27178 marginpar}[1]{
27179 \backslash
27180 myMarginpar{%
27181 \end_layout
27182
27183 \begin_layout Plain Layout
27184
27185    
27186 \backslash
27187 textsf{
27188 \backslash
27189 textbf{
27190 \backslash
27191 underbar{Attention!}}}%
27192 \end_layout
27193
27194 \begin_layout Plain Layout
27195
27196    
27197 \backslash
27198 vspace{1.5mm}
27199 \backslash
27200
27201 \backslash
27202 #1}}
27203 \end_layout
27204
27205 \end_inset
27206
27207
27208 \begin_inset Marginal
27209 status open
27210
27211 \begin_layout Plain Layout
27212 This is a margin note with a defined heading.
27213 \end_layout
27214
27215 \end_inset
27216
27217
27218 \family default
27219 \series default
27220
27221 \begin_inset ERT
27222 status collapsed
27223
27224 \begin_layout Plain Layout
27225
27226 [-1.5cm]
27227 \end_layout
27228
27229 \end_inset
27230
27231
27232 \family roman
27233 \series medium
27234
27235 \begin_inset ERT
27236 status collapsed
27237
27238 \begin_layout Plain Layout
27239
27240
27241 \backslash
27242 renewcommand{
27243 \backslash
27244 marginpar}[1]{
27245 \backslash
27246 myMarginpar{#1}}
27247 \end_layout
27248
27249 \end_inset
27250
27251
27252 \family default
27253 \series default
27254
27255 \begin_inset Note Note
27256 status collapsed
27257
27258 \begin_layout Plain Layout
27259 The margin note format is changed only for this example.
27260 \end_layout
27261
27262 \end_inset
27263
27264
27265 \end_layout
27266
27267 \begin_layout Standard
27268 \begin_inset ERT
27269 status collapsed
27270
27271 \begin_layout Plain Layout
27272
27273
27274 \backslash
27275 else
27276 \end_layout
27277
27278 \end_inset
27279
27280
27281 \begin_inset Note Note
27282 status open
27283
27284 \begin_layout Plain Layout
27285 The following will be displayed when the LaTeX-package 
27286 \series bold
27287 marginnote
27288 \series default
27289  is not installed:
27290 \end_layout
27291
27292 \end_inset
27293
27294
27295 \end_layout
27296
27297 \begin_layout Standard
27298 You need to install the LaTeX-package 
27299 \series bold
27300 marginnote
27301 \series default
27302  to see the following part of this section in the output.
27303 \end_layout
27304
27305 \begin_layout Standard
27306 \begin_inset ERT
27307 status collapsed
27308
27309 \begin_layout Plain Layout
27310
27311
27312 \backslash
27313 fi
27314 \end_layout
27315
27316 \end_inset
27317
27318
27319 \end_layout
27320
27321 \begin_layout Chapter
27322 Boxes
27323 \end_layout
27324
27325 \begin_layout Section
27326 Introduction
27327 \begin_inset Index idx
27328 status collapsed
27329
27330 \begin_layout Plain Layout
27331 Boxes ! Introduction
27332 \end_layout
27333
27334 \end_inset
27335
27336
27337 \end_layout
27338
27339 \begin_layout Standard
27340 Boxes are used to format a block of text.
27341  Boxes can be used to write documents with multiple languages, see section
27342 \begin_inset space ~
27343 \end_inset
27344
27345
27346 \begin_inset CommandInset ref
27347 LatexCommand ref
27348 reference "sec:Minipages"
27349
27350 \end_inset
27351
27352 , to frame texts, see section
27353 \begin_inset space ~
27354 \end_inset
27355
27356
27357 \begin_inset CommandInset ref
27358 LatexCommand ref
27359 reference "sec:Decoration"
27360
27361 \end_inset
27362
27363 , to prevent words from being hyphenated, see section
27364 \begin_inset space ~
27365 \end_inset
27366
27367
27368 \begin_inset CommandInset ref
27369 LatexCommand ref
27370 reference "sec:Prevent-Hyphenation"
27371
27372 \end_inset
27373
27374 , to align text, see section
27375 \begin_inset space ~
27376 \end_inset
27377
27378
27379 \begin_inset CommandInset ref
27380 LatexCommand ref
27381 reference "sub:Vertical-Alignment"
27382
27383 \end_inset
27384
27385 , or to set the background color of texts, see section
27386 \begin_inset space ~
27387 \end_inset
27388
27389
27390 \begin_inset CommandInset ref
27391 LatexCommand ref
27392 reference "sec:Colored-Boxes"
27393
27394 \end_inset
27395
27396 .
27397 \end_layout
27398
27399 \begin_layout Standard
27400 Boxes can be inserted with the menu 
27401 \family sans
27402 Insert\SpecialChar \menuseparator
27403 Box
27404 \family default
27405  or the toolbar button 
27406 \begin_inset Graphics
27407         filename ../images/box-insert.png
27408         scale 85
27409         scaleBeforeRotation
27410
27411 \end_inset
27412
27413 .
27414  A grey box with the label 
27415 \family sans
27416 Box (Minipage)
27417 \family default
27418
27419 \begin_inset Graphics
27420         filename clipart/BoxInsetDefaultQt4.png
27421         scale 85
27422         scaleBeforeRotation
27423
27424 \end_inset
27425
27426  will be inserted.
27427  The box type can be specified by right-clicking on the box and selecting
27428  
27429 \family sans
27430 Settings
27431 \family default
27432 .
27433  The box dialog offers the 
27434 \family sans
27435 Inner
27436 \begin_inset space ~
27437 \end_inset
27438
27439 Box
27440 \family default
27441  types 
27442 \family sans
27443 Makebox
27444 \family default
27445
27446 \family sans
27447 Parbox
27448 \family default
27449  and 
27450 \family sans
27451 Minipage
27452 \family default
27453 .
27454  The type 
27455 \family sans
27456 Minipage
27457 \family default
27458  is the default for new boxes and is explained in section
27459 \begin_inset space ~
27460 \end_inset
27461
27462
27463 \begin_inset CommandInset ref
27464 LatexCommand ref
27465 reference "sec:Minipages"
27466
27467 \end_inset
27468
27469 ; the type 
27470 \family sans
27471 Parbox
27472 \family default
27473  is described in section
27474 \begin_inset space ~
27475 \end_inset
27476
27477
27478 \begin_inset CommandInset ref
27479 LatexCommand ref
27480 reference "sec:Parboxes"
27481
27482 \end_inset
27483
27484  and the type 
27485 \family sans
27486 Makebox
27487 \family default
27488  in 
27489 \begin_inset CommandInset ref
27490 LatexCommand ref
27491 reference "sec:Prevent-Hyphenation"
27492
27493 \end_inset
27494
27495 .
27496 \end_layout
27497
27498 \begin_layout Standard
27499 Boxes are not numbered and can therefore not be referenced like floats or
27500  footnotes.
27501 \end_layout
27502
27503 \begin_layout Standard
27504 \begin_inset Note Greyedout
27505 status open
27506
27507 \begin_layout Plain Layout
27508
27509 \series bold
27510 Note:
27511 \series default
27512  Boxes must not be the item in an 
27513 \family sans
27514 Itemize
27515 \family default
27516  or 
27517 \family sans
27518 Description
27519 \family default
27520  environment.
27521 \end_layout
27522
27523 \end_inset
27524
27525
27526 \end_layout
27527
27528 \begin_layout Standard
27529 \begin_inset Note Greyedout
27530 status open
27531
27532 \begin_layout Plain Layout
27533
27534 \series bold
27535 Note:
27536 \series default
27537  For an unknown reason you can only set the 
27538 \family sans
27539 Inner
27540 \begin_inset space ~
27541 \end_inset
27542
27543 Box
27544 \family default
27545  type to 
27546 \family sans
27547 None
27548 \family default
27549  when you use a framed box.
27550  Boxes without an 
27551 \family sans
27552 Inner
27553 \begin_inset space ~
27554 \end_inset
27555
27556 Box
27557 \family default
27558  type and without frames are explained in section
27559 \begin_inset space ~
27560 \end_inset
27561
27562
27563 \begin_inset CommandInset ref
27564 LatexCommand ref
27565 reference "sec:Prevent-Hyphenation"
27566
27567 \end_inset
27568
27569 .
27570 \end_layout
27571
27572 \end_inset
27573
27574
27575 \end_layout
27576
27577 \begin_layout Section
27578 Box Dialog
27579 \begin_inset CommandInset label
27580 LatexCommand label
27581 name "sec:Box-Dialog"
27582
27583 \end_inset
27584
27585
27586 \begin_inset Index idx
27587 status collapsed
27588
27589 \begin_layout Plain Layout
27590 Boxes ! Box Dialog
27591 \end_layout
27592
27593 \end_inset
27594
27595
27596 \end_layout
27597
27598 \begin_layout Subsection
27599 Size
27600 \begin_inset Index idx
27601 status collapsed
27602
27603 \begin_layout Plain Layout
27604 Boxes ! Size
27605 \end_layout
27606
27607 \end_inset
27608
27609
27610 \end_layout
27611
27612 \begin_layout Standard
27613 In the box dialog you can adjust the box geometry in the fields 
27614 \family sans
27615 Width
27616 \family default
27617  and 
27618 \family sans
27619 Height
27620 \family default
27621 .
27622  The available units for the geometry are explained in Table
27623 \begin_inset space ~
27624 \end_inset
27625
27626
27627 \begin_inset CommandInset ref
27628 LatexCommand ref
27629 reference "tab:Units"
27630
27631 \end_inset
27632
27633 .
27634  The field 
27635 \family sans
27636 Height
27637 \family default
27638  offers the following additional sizes:
27639 \end_layout
27640
27641 \begin_layout Description
27642 Depth This is the plain text 
27643 \begin_inset Quotes eld
27644 \end_inset
27645
27646 height
27647 \begin_inset Quotes erd
27648 \end_inset
27649
27650 .
27651  It ignores the total depth when there are multiple text lines in the box:
27652 \begin_inset Newline newline
27653 \end_inset
27654
27655
27656 \begin_inset Newline newline
27657 \end_inset
27658
27659
27660 \begin_inset Newline newline
27661 \end_inset
27662
27663
27664 \begin_inset Box Boxed
27665 position "c"
27666 hor_pos "c"
27667 has_inner_box 1
27668 inner_pos "c"
27669 use_parbox 0
27670 use_makebox 0
27671 width "12col%"
27672 special "none"
27673 height "1in"
27674 height_special "depth"
27675 status collapsed
27676
27677 \begin_layout Plain Layout
27678 \align center
27679 Box height set to 1
27680 \begin_inset space \thinspace{}
27681 \end_inset
27682
27683 Depth
27684 \end_layout
27685
27686 \end_inset
27687
27688
27689 \begin_inset Newline newline
27690 \end_inset
27691
27692
27693 \begin_inset Newline newline
27694 \end_inset
27695
27696
27697 \end_layout
27698
27699 \begin_layout Description
27700 Height This is the height of the text that is inside the box.
27701  A value of e.
27702 \begin_inset space \thinspace{}
27703 \end_inset
27704
27705 g.
27706 \begin_inset space \space{}
27707 \end_inset
27708
27709 2 for this size will set the box height to 2
27710 \begin_inset space ~
27711 \end_inset
27712
27713 times the text height: 
27714 \begin_inset Box Boxed
27715 position "c"
27716 hor_pos "c"
27717 has_inner_box 1
27718 inner_pos "c"
27719 use_parbox 0
27720 use_makebox 0
27721 width "20col%"
27722 special "none"
27723 height "2in"
27724 height_special "height"
27725 status collapsed
27726
27727 \begin_layout Plain Layout
27728 \align center
27729 Box height set to 2
27730 \begin_inset space \thinspace{}
27731 \end_inset
27732
27733 Height
27734 \end_layout
27735
27736 \end_inset
27737
27738
27739 \end_layout
27740
27741 \begin_layout Description
27742 Total
27743 \begin_inset space ~
27744 \end_inset
27745
27746 Height This is the Height
27747 \begin_inset space \thinspace{}
27748 \end_inset
27749
27750 +
27751 \begin_inset space \thinspace{}
27752 \end_inset
27753
27754 Depth: 
27755 \begin_inset Box Boxed
27756 position "c"
27757 hor_pos "c"
27758 has_inner_box 1
27759 inner_pos "c"
27760 use_parbox 0
27761 use_makebox 0
27762 width "20col%"
27763 special "none"
27764 height "1in"
27765 height_special "totalheight"
27766 status collapsed
27767
27768 \begin_layout Plain Layout
27769 \align center
27770 Box height set to 1
27771 \begin_inset space \thinspace{}
27772 \end_inset
27773
27774 Total
27775 \begin_inset space ~
27776 \end_inset
27777
27778 Height
27779 \end_layout
27780
27781 \end_inset
27782
27783
27784 \end_layout
27785
27786 \begin_layout Description
27787 Width This sets the width of the box as height: 
27788 \begin_inset Box Boxed
27789 position "c"
27790 hor_pos "c"
27791 has_inner_box 1
27792 inner_pos "c"
27793 use_parbox 0
27794 use_makebox 0
27795 width "12col%"
27796 special "none"
27797 height "1in"
27798 height_special "width"
27799 status collapsed
27800
27801 \begin_layout Plain Layout
27802 \align center
27803 Box height set to 1
27804 \begin_inset space \thinspace{}
27805 \end_inset
27806
27807 Width
27808 \end_layout
27809
27810 \end_inset
27811
27812
27813 \end_layout
27814
27815 \begin_layout Subsection
27816 Alignment
27817 \begin_inset Index idx
27818 status collapsed
27819
27820 \begin_layout Plain Layout
27821 Boxes ! Alignment
27822 \end_layout
27823
27824 \end_inset
27825
27826
27827 \end_layout
27828
27829 \begin_layout Standard
27830 When you have chosen an 
27831 \family sans
27832 Inner
27833 \begin_inset space ~
27834 \end_inset
27835
27836 Box
27837 \family default
27838 , the vertical box alignment can be:
27839 \end_layout
27840
27841 \begin_layout Description
27842 Top This is an example text line.
27843  
27844 \begin_inset Box Boxed
27845 position "t"
27846 hor_pos "c"
27847 has_inner_box 1
27848 inner_pos "c"
27849 use_parbox 0
27850 use_makebox 0
27851 width "12col%"
27852 special "none"
27853 height "1in"
27854 height_special "totalheight"
27855 status collapsed
27856
27857 \begin_layout Plain Layout
27858 \align center
27859 This box is top-aligned.
27860 \end_layout
27861
27862 \end_inset
27863
27864  This is an example text line.
27865 \end_layout
27866
27867 \begin_layout Description
27868 Middle This is an example text line.
27869  
27870 \begin_inset Box Boxed
27871 position "c"
27872 hor_pos "c"
27873 has_inner_box 1
27874 inner_pos "c"
27875 use_parbox 0
27876 use_makebox 0
27877 width "12col%"
27878 special "none"
27879 height "1in"
27880 height_special "totalheight"
27881 status collapsed
27882
27883 \begin_layout Plain Layout
27884 \align center
27885 This box is middle-aligned.
27886 \end_layout
27887
27888 \end_inset
27889
27890  This is an example text line.
27891 \end_layout
27892
27893 \begin_layout Description
27894 Bottom This is an example text line.
27895  
27896 \begin_inset Box Boxed
27897 position "b"
27898 hor_pos "c"
27899 has_inner_box 1
27900 inner_pos "c"
27901 use_parbox 0
27902 use_makebox 0
27903 width "12col%"
27904 special "none"
27905 height "1in"
27906 height_special "totalheight"
27907 status collapsed
27908
27909 \begin_layout Plain Layout
27910 \align center
27911 This box is bottom-aligned.
27912 \end_layout
27913
27914 \end_inset
27915
27916  This is an example text line.
27917 \end_layout
27918
27919 \begin_layout Standard
27920 \begin_inset Note Greyedout
27921 status open
27922
27923 \begin_layout Plain Layout
27924
27925 \series bold
27926 Note:
27927 \series default
27928  The vertical box alignment can be lost in the output when you have two
27929  boxes in a line and one has e.
27930 \begin_inset space \thinspace{}
27931 \end_inset
27932
27933 g.
27934 \begin_inset space \space{}
27935 \end_inset
27936
27937 a shadow and the other one not.
27938 \end_layout
27939
27940 \end_inset
27941
27942
27943 \end_layout
27944
27945 \begin_layout Standard
27946 The horizontal box alignment can be set via LyX's paragraph dialog when
27947  you set the box into its own paragraph.
27948 \end_layout
27949
27950 \begin_layout Standard
27951 \begin_inset VSpace bigskip
27952 \end_inset
27953
27954 When you have chosen an 
27955 \family sans
27956 Inner
27957 \begin_inset space ~
27958 \end_inset
27959
27960 Box
27961 \family default
27962 , the box content can be aligned vertically to:
27963 \end_layout
27964
27965 \begin_layout Description
27966 top This is an example text line.
27967  
27968 \begin_inset Box Boxed
27969 position "c"
27970 hor_pos "c"
27971 has_inner_box 1
27972 inner_pos "t"
27973 use_parbox 0
27974 use_makebox 0
27975 width "12col%"
27976 special "none"
27977 height "1.5in"
27978 height_special "totalheight"
27979 status collapsed
27980
27981 \begin_layout Plain Layout
27982 \align center
27983 This box text is top-aligned.
27984 \end_layout
27985
27986 \end_inset
27987
27988  This is an example text line.
27989 \end_layout
27990
27991 \begin_layout Description
27992 middle This is an example text line.
27993  
27994 \begin_inset Box Boxed
27995 position "c"
27996 hor_pos "c"
27997 has_inner_box 1
27998 inner_pos "c"
27999 use_parbox 0
28000 use_makebox 0
28001 width "12col%"
28002 special "none"
28003 height "1.5in"
28004 height_special "totalheight"
28005 status collapsed
28006
28007 \begin_layout Plain Layout
28008 \align center
28009 This box text is middle-aligned.
28010 \end_layout
28011
28012 \end_inset
28013
28014  This is an example text line.
28015 \end_layout
28016
28017 \begin_layout Description
28018 bottom This is an example text line.
28019  
28020 \begin_inset Box Boxed
28021 position "c"
28022 hor_pos "c"
28023 has_inner_box 1
28024 inner_pos "b"
28025 use_parbox 0
28026 use_makebox 0
28027 width "12col%"
28028 special "none"
28029 height "1.5in"
28030 height_special "totalheight"
28031 status collapsed
28032
28033 \begin_layout Plain Layout
28034 \align center
28035 This box text is bottom-aligned.
28036 \end_layout
28037
28038 \end_inset
28039
28040  This is an example text line.
28041 \end_layout
28042
28043 \begin_layout Description
28044 stretch This is an example text line.
28045  
28046 \begin_inset Box Boxed
28047 position "c"
28048 hor_pos "c"
28049 has_inner_box 1
28050 inner_pos "s"
28051 use_parbox 0
28052 use_makebox 0
28053 width "12col%"
28054 special "none"
28055 height "1.5in"
28056 height_special "totalheight"
28057 status collapsed
28058
28059 \begin_layout Plain Layout
28060 \align center
28061 This box
28062 \end_layout
28063
28064 \begin_layout Plain Layout
28065 \align center
28066 text is
28067 \end_layout
28068
28069 \begin_layout Plain Layout
28070 \align center
28071 stretched.
28072 \end_layout
28073
28074 \end_inset
28075
28076  This is an example text line.
28077 \end_layout
28078
28079 \begin_layout Standard
28080 To stretch the box content, it must consist of more than one paragraph.
28081  In the example above every text line is in an own paragraph.
28082 \end_layout
28083
28084 \begin_layout Standard
28085 \begin_inset VSpace bigskip
28086 \end_inset
28087
28088 To align the box content horizontally you can use LyX's paragraph dialog
28089  when you have chosen an 
28090 \family sans
28091 Inner
28092 \begin_inset space ~
28093 \end_inset
28094
28095 Box
28096 \family default
28097 .
28098 \end_layout
28099
28100 \begin_layout Standard
28101 \align center
28102 \begin_inset Box Boxed
28103 position "c"
28104 hor_pos "c"
28105 has_inner_box 1
28106 inner_pos "s"
28107 use_parbox 0
28108 use_makebox 0
28109 width "15col%"
28110 special "none"
28111 height "1.25in"
28112 height_special "totalheight"
28113 status collapsed
28114
28115 \begin_layout Plain Layout
28116 \align left
28117 This box
28118 \end_layout
28119
28120 \begin_layout Plain Layout
28121 \align center
28122 text is
28123 \end_layout
28124
28125 \begin_layout Plain Layout
28126 \align right
28127 stretched.
28128 \end_layout
28129
28130 \end_inset
28131
28132
28133 \end_layout
28134
28135 \begin_layout Standard
28136 If you have not set an 
28137 \family sans
28138 Inner
28139 \begin_inset space ~
28140 \end_inset
28141
28142 Box
28143 \family default
28144 , you can align the box content horizontally in the box dialog.
28145 \end_layout
28146
28147 \begin_layout Standard
28148 \align center
28149 \begin_inset Box Boxed
28150 position "c"
28151 hor_pos "s"
28152 has_inner_box 0
28153 inner_pos "s"
28154 use_parbox 0
28155 use_makebox 0
28156 width "90col%"
28157 special "none"
28158 height "1.25in"
28159 height_special "totalheight"
28160 status collapsed
28161
28162 \begin_layout Plain Layout
28163 \align left
28164 This box text is horizontally stretched.
28165 \end_layout
28166
28167 \end_inset
28168
28169
28170 \end_layout
28171
28172 \begin_layout Subsection
28173 Decoration
28174 \begin_inset CommandInset label
28175 LatexCommand label
28176 name "sec:Decoration"
28177
28178 \end_inset
28179
28180
28181 \begin_inset Index idx
28182 status collapsed
28183
28184 \begin_layout Plain Layout
28185 Boxes ! Decoration
28186 \end_layout
28187
28188 \end_inset
28189
28190
28191 \end_layout
28192
28193 \begin_layout Standard
28194 The type of the box can be specified in the box dialog in the drop-down
28195  list 
28196 \family sans
28197 Decoration
28198 \family default
28199 .
28200  The following types are possible:
28201 \end_layout
28202
28203 \begin_layout Description
28204 No
28205 \begin_inset space ~
28206 \end_inset
28207
28208 frame Nothing is drawn.
28209 \end_layout
28210
28211 \begin_layout Description
28212 Simple
28213 \begin_inset space ~
28214 \end_inset
28215
28216 rectangular
28217 \begin_inset space ~
28218 \end_inset
28219
28220 frame This draws a rectangular frame around the box.
28221  The frame line thickness has the size of 
28222 \series bold
28223
28224 \backslash
28225 fboxrule
28226 \series default
28227 .
28228  
28229 \begin_inset Box Boxed
28230 position "c"
28231 hor_pos "c"
28232 has_inner_box 1
28233 inner_pos "c"
28234 use_parbox 0
28235 use_makebox 0
28236 width "20col%"
28237 special "none"
28238 height "1in"
28239 height_special "totalheight"
28240 status collapsed
28241
28242 \begin_layout Plain Layout
28243 \align center
28244 Rectangular box
28245 \end_layout
28246
28247 \end_inset
28248
28249
28250 \end_layout
28251
28252 \begin_layout Description
28253 Oval
28254 \begin_inset space ~
28255 \end_inset
28256
28257 box,
28258 \begin_inset space ~
28259 \end_inset
28260
28261 thin This draws an oval frame around the box.
28262  The frame line thickness has the size 0.4
28263 \begin_inset space \thinspace{}
28264 \end_inset
28265
28266 pt.
28267  
28268 \begin_inset Box ovalbox
28269 position "c"
28270 hor_pos "c"
28271 has_inner_box 1
28272 inner_pos "c"
28273 use_parbox 0
28274 use_makebox 0
28275 width "20col%"
28276 special "none"
28277 height "1in"
28278 height_special "totalheight"
28279 status collapsed
28280
28281 \begin_layout Plain Layout
28282 \align center
28283 Oval box, thin
28284 \end_layout
28285
28286 \end_inset
28287
28288
28289 \end_layout
28290
28291 \begin_layout Description
28292 Oval
28293 \begin_inset space ~
28294 \end_inset
28295
28296 box,
28297 \begin_inset space ~
28298 \end_inset
28299
28300 thick This draws an oval frame around the box.
28301  The frame line thickness has the size 0.8
28302 \begin_inset space \thinspace{}
28303 \end_inset
28304
28305 pt.
28306  
28307 \begin_inset Box Ovalbox
28308 position "c"
28309 hor_pos "c"
28310 has_inner_box 1
28311 inner_pos "c"
28312 use_parbox 0
28313 use_makebox 0
28314 width "20col%"
28315 special "none"
28316 height "1in"
28317 height_special "totalheight"
28318 status collapsed
28319
28320 \begin_layout Plain Layout
28321 \align center
28322 Oval box, thick
28323 \end_layout
28324
28325 \end_inset
28326
28327
28328 \end_layout
28329
28330 \begin_layout Description
28331 Drop
28332 \begin_inset space ~
28333 \end_inset
28334
28335 shadow This draws a rectangular frame with a shadow around the box.
28336  The frame line thickness has the size of 
28337 \series bold
28338
28339 \backslash
28340 fboxrule
28341 \series default
28342 , the shadow has a width of 4
28343 \begin_inset space \thinspace{}
28344 \end_inset
28345
28346 pt.
28347  
28348 \begin_inset Box Shadowbox
28349 position "c"
28350 hor_pos "c"
28351 has_inner_box 1
28352 inner_pos "c"
28353 use_parbox 0
28354 use_makebox 0
28355 width "20col%"
28356 special "none"
28357 height "1in"
28358 height_special "totalheight"
28359 status collapsed
28360
28361 \begin_layout Plain Layout
28362 \align center
28363 Shadow box
28364 \end_layout
28365
28366 \end_inset
28367
28368
28369 \end_layout
28370
28371 \begin_layout Description
28372 Shaded
28373 \begin_inset space ~
28374 \end_inset
28375
28376 background This draws a box with a red background.
28377  Unlike colored boxes
28378 \begin_inset Foot
28379 status collapsed
28380
28381 \begin_layout Plain Layout
28382 see sec.
28383 \begin_inset space \thinspace{}
28384 \end_inset
28385
28386
28387 \begin_inset CommandInset ref
28388 LatexCommand ref
28389 reference "sec:Colored-Boxes"
28390
28391 \end_inset
28392
28393
28394 \end_layout
28395
28396 \end_inset
28397
28398 , it always uses the whole column width and the box is set as its own paragraph.
28399  
28400 \begin_inset Box Shaded
28401 position "t"
28402 hor_pos "c"
28403 has_inner_box 0
28404 inner_pos "t"
28405 use_parbox 0
28406 use_makebox 0
28407 width "50col%"
28408 special "none"
28409 height "1in"
28410 height_special "totalheight"
28411 status collapsed
28412
28413 \begin_layout Plain Layout
28414 Shaded background box
28415 \end_layout
28416
28417 \end_inset
28418
28419
28420 \end_layout
28421
28422 \begin_layout Description
28423 Double
28424 \begin_inset space ~
28425 \end_inset
28426
28427 rectangular
28428 \begin_inset space ~
28429 \end_inset
28430
28431 frame This draws a double-line rectangular frame around the box.
28432  The line thickness of the inner frame is 0.75
28433 \begin_inset space \thinspace{}
28434 \end_inset
28435
28436
28437 \series bold
28438
28439 \backslash
28440 fboxrule
28441 \series default
28442 , the thickness of the outer frame is 1.5
28443 \begin_inset space \thinspace{}
28444 \end_inset
28445
28446
28447 \series bold
28448
28449 \backslash
28450 fboxrule
28451 \series default
28452 .
28453  The distance between the lines is 1.5
28454 \begin_inset space \thinspace{}
28455 \end_inset
28456
28457
28458 \series bold
28459
28460 \backslash
28461 fboxrule
28462 \series default
28463
28464 \begin_inset space \thinspace{}
28465 \end_inset
28466
28467 +
28468 \begin_inset space \thinspace{}
28469 \end_inset
28470
28471 0.5
28472 \begin_inset space \thinspace{}
28473 \end_inset
28474
28475 pt.
28476  
28477 \begin_inset Box Doublebox
28478 position "c"
28479 hor_pos "c"
28480 has_inner_box 1
28481 inner_pos "c"
28482 use_parbox 0
28483 use_makebox 0
28484 width "20col%"
28485 special "none"
28486 height "1in"
28487 height_special "totalheight"
28488 status collapsed
28489
28490 \begin_layout Plain Layout
28491 \align center
28492 Double rectangular box
28493 \end_layout
28494
28495 \end_inset
28496
28497
28498 \end_layout
28499
28500 \begin_layout Standard
28501 \begin_inset VSpace bigskip
28502 \end_inset
28503
28504 LyX's box label will reflect the different frame types.
28505  To be able to use all types, the LaTeX-package 
28506 \series bold
28507 fancybox
28508 \series default
28509
28510 \begin_inset Index idx
28511 status collapsed
28512
28513 \begin_layout Plain Layout
28514 LaTeX-packages ! fancybox
28515 \end_layout
28516
28517 \end_inset
28518
28519  must be installed.
28520 \end_layout
28521
28522 \begin_layout Standard
28523 \begin_inset VSpace bigskip
28524 \end_inset
28525
28526 When you use the decoration 
28527 \family sans
28528 simple rectangular frame
28529 \family default
28530  and no inner box, you can allow page breaks within a box.
28531  Note that then, unlike other framed boxes, the frame always uses the whole
28532  column width, the box is set as its own paragraph, and 
28533 \series bold
28534
28535 \backslash
28536 fboxrule
28537 \series default
28538  and 
28539 \series bold
28540
28541 \backslash
28542 fboxsep
28543 \series default
28544  have no effect on this box type.
28545  The frame line thickness has the size of 
28546 \series bold
28547
28548 \backslash
28549 FrameRule
28550 \series default
28551 .
28552  
28553 \begin_inset Box Framed
28554 position "t"
28555 hor_pos "c"
28556 has_inner_box 0
28557 inner_pos "t"
28558 use_parbox 0
28559 use_makebox 0
28560 width "100col%"
28561 special "none"
28562 height "1in"
28563 height_special "totalheight"
28564 status collapsed
28565
28566 \begin_layout Plain Layout
28567 Allow page break box
28568 \end_layout
28569
28570 \end_inset
28571
28572
28573 \end_layout
28574
28575 \begin_layout Section
28576 Box Customization
28577 \begin_inset Index idx
28578 status collapsed
28579
28580 \begin_layout Plain Layout
28581 Boxes ! Customization
28582 \end_layout
28583
28584 \end_inset
28585
28586
28587 \end_layout
28588
28589 \begin_layout Standard
28590 The default value for the size 
28591 \series bold
28592
28593 \backslash
28594 fboxrule
28595 \series default
28596  is 0.4
28597 \begin_inset space \thinspace{}
28598 \end_inset
28599
28600 pt.
28601  It can be changed with the following command in TeX-Code to e.
28602 \begin_inset space \thinspace{}
28603 \end_inset
28604
28605 g.
28606 \begin_inset space \space{}
28607 \end_inset
28608
28609 2
28610 \begin_inset space \thinspace{}
28611 \end_inset
28612
28613 pt:
28614 \end_layout
28615
28616 \begin_layout Standard
28617
28618 \series bold
28619
28620 \backslash
28621 setlength{
28622 \backslash
28623 fboxrule}{2pt}
28624 \end_layout
28625
28626 \begin_layout Standard
28627 \begin_inset ERT
28628 status collapsed
28629
28630 \begin_layout Plain Layout
28631
28632
28633 \backslash
28634 setlength{
28635 \backslash
28636 fboxrule}{2pt}
28637 \end_layout
28638
28639 \end_inset
28640
28641
28642 \begin_inset Box Boxed
28643 position "c"
28644 hor_pos "c"
28645 has_inner_box 1
28646 inner_pos "c"
28647 use_parbox 0
28648 use_makebox 0
28649 width "25col%"
28650 special "none"
28651 height "1in"
28652 height_special "totalheight"
28653 status open
28654
28655 \begin_layout Plain Layout
28656 \align center
28657 Rectangular box with 
28658 \series bold
28659
28660 \backslash
28661 fboxrule
28662 \series default
28663
28664 \begin_inset space \thinspace{}
28665 \end_inset
28666
28667 =
28668 \begin_inset space \thinspace{}
28669 \end_inset
28670
28671 2
28672 \begin_inset space \thinspace{}
28673 \end_inset
28674
28675 pt
28676 \end_layout
28677
28678 \end_inset
28679
28680
28681 \begin_inset ERT
28682 status collapsed
28683
28684 \begin_layout Plain Layout
28685
28686
28687 \backslash
28688 setlength{
28689 \backslash
28690 fboxrule}{0.4pt}
28691 \end_layout
28692
28693 \end_inset
28694
28695
28696 \end_layout
28697
28698 \begin_layout Standard
28699 \begin_inset VSpace bigskip
28700 \end_inset
28701
28702 The space between the frame and the box content is for all frame styles
28703  by default 3
28704 \begin_inset space \thinspace{}
28705 \end_inset
28706
28707 pt.
28708  You can change it by setting the length 
28709 \series bold
28710
28711 \backslash
28712 fboxsep
28713 \series default
28714  to another value.
28715  For example the command
28716 \end_layout
28717
28718 \begin_layout Standard
28719
28720 \series bold
28721
28722 \backslash
28723 setlength{
28724 \backslash
28725 fboxsep}{10pt}
28726 \end_layout
28727
28728 \begin_layout Standard
28729 sets the value to 10
28730 \begin_inset space \thinspace{}
28731 \end_inset
28732
28733 pt, as with the following box:
28734 \end_layout
28735
28736 \begin_layout Standard
28737 \begin_inset ERT
28738 status collapsed
28739
28740 \begin_layout Plain Layout
28741
28742
28743 \backslash
28744 setlength{
28745 \backslash
28746 fboxsep}{10pt}
28747 \end_layout
28748
28749 \end_inset
28750
28751
28752 \begin_inset Box Boxed
28753 position "c"
28754 hor_pos "c"
28755 has_inner_box 1
28756 inner_pos "c"
28757 use_parbox 0
28758 use_makebox 0
28759 width "25col%"
28760 special "none"
28761 height "1in"
28762 height_special "totalheight"
28763 status open
28764
28765 \begin_layout Plain Layout
28766 \align center
28767 Rectangular box with 
28768 \series bold
28769
28770 \backslash
28771 fboxsep
28772 \series default
28773
28774 \begin_inset space \thinspace{}
28775 \end_inset
28776
28777 =
28778 \begin_inset space \thinspace{}
28779 \end_inset
28780
28781 10
28782 \begin_inset space \thinspace{}
28783 \end_inset
28784
28785 pt
28786 \end_layout
28787
28788 \end_inset
28789
28790
28791 \begin_inset ERT
28792 status collapsed
28793
28794 \begin_layout Plain Layout
28795
28796
28797 \backslash
28798 setlength{
28799 \backslash
28800 fboxsep}{3pt}
28801 \end_layout
28802
28803 \end_inset
28804
28805
28806 \end_layout
28807
28808 \begin_layout Standard
28809 \begin_inset VSpace bigskip
28810 \end_inset
28811
28812 The diameter of the round corners of the oval boxes can be set with the
28813  command 
28814 \series bold
28815
28816 \backslash
28817 cornersize
28818 \series default
28819 .
28820  The command
28821 \end_layout
28822
28823 \begin_layout Standard
28824
28825 \series bold
28826
28827 \backslash
28828 cornersize*{1cm}
28829 \end_layout
28830
28831 \begin_layout Standard
28832 sets the diameter to 1
28833 \begin_inset space \thinspace{}
28834 \end_inset
28835
28836 cm.
28837  The command
28838 \end_layout
28839
28840 \begin_layout Standard
28841
28842 \series bold
28843
28844 \backslash
28845 cornersize{num}
28846 \end_layout
28847
28848 \begin_layout Standard
28849 sets the diameter to 
28850 \family sans
28851 num
28852 \begin_inset space \thinspace{}
28853 \end_inset
28854
28855 ×
28856 \begin_inset space \thinspace{}
28857 \end_inset
28858
28859 minimum(width and heigth of box)
28860 \family default
28861 .
28862  The default is 
28863 \series bold
28864
28865 \backslash
28866 cornersize{0.5}
28867 \series default
28868 .
28869 \end_layout
28870
28871 \begin_layout Standard
28872 \begin_inset ERT
28873 status collapsed
28874
28875 \begin_layout Plain Layout
28876
28877
28878 \backslash
28879 cornersize*{1.5cm}
28880 \end_layout
28881
28882 \end_inset
28883
28884
28885 \begin_inset Box Ovalbox
28886 position "c"
28887 hor_pos "c"
28888 has_inner_box 1
28889 inner_pos "c"
28890 use_parbox 0
28891 use_makebox 0
28892 width "25col%"
28893 special "none"
28894 height "1in"
28895 height_special "totalheight"
28896 status open
28897
28898 \begin_layout Plain Layout
28899 \align center
28900 Oval box with 
28901 \series bold
28902
28903 \backslash
28904 cornersize
28905 \series default
28906
28907 \begin_inset space \thinspace{}
28908 \end_inset
28909
28910 =
28911 \begin_inset space \thinspace{}
28912 \end_inset
28913
28914 1.5
28915 \begin_inset space \thinspace{}
28916 \end_inset
28917
28918 cm
28919 \end_layout
28920
28921 \end_inset
28922
28923
28924 \begin_inset ERT
28925 status collapsed
28926
28927 \begin_layout Plain Layout
28928
28929
28930 \backslash
28931 cornersize{0.5}
28932 \end_layout
28933
28934 \end_inset
28935
28936
28937 \end_layout
28938
28939 \begin_layout Standard
28940 \begin_inset VSpace bigskip
28941 \end_inset
28942
28943 The size of the shadow can be adjusted by changing the length 
28944 \series bold
28945
28946 \backslash
28947 shadowsize
28948 \series default
28949 .
28950  It it set to 2
28951 \begin_inset space \thinspace{}
28952 \end_inset
28953
28954 pt for the following box by this command:
28955 \end_layout
28956
28957 \begin_layout Standard
28958
28959 \series bold
28960
28961 \backslash
28962 setlength{
28963 \backslash
28964 shadowsize}{2pt}
28965 \end_layout
28966
28967 \begin_layout Standard
28968 \begin_inset ERT
28969 status collapsed
28970
28971 \begin_layout Plain Layout
28972
28973
28974 \backslash
28975 setlength{
28976 \backslash
28977 shadowsize}{2pt}
28978 \end_layout
28979
28980 \end_inset
28981
28982
28983 \begin_inset Box Shadowbox
28984 position "c"
28985 hor_pos "c"
28986 has_inner_box 1
28987 inner_pos "c"
28988 use_parbox 0
28989 use_makebox 0
28990 width "25col%"
28991 special "none"
28992 height "1in"
28993 height_special "totalheight"
28994 status open
28995
28996 \begin_layout Plain Layout
28997 \align center
28998 Shadow box with 
28999 \series bold
29000
29001 \backslash
29002 shadowsize
29003 \series default
29004
29005 \begin_inset space \thinspace{}
29006 \end_inset
29007
29008 =
29009 \begin_inset space \thinspace{}
29010 \end_inset
29011
29012 2
29013 \begin_inset space \thinspace{}
29014 \end_inset
29015
29016 pt
29017 \end_layout
29018
29019 \end_inset
29020
29021
29022 \begin_inset ERT
29023 status collapsed
29024
29025 \begin_layout Plain Layout
29026
29027
29028 \backslash
29029 setlength{
29030 \backslash
29031 shadowsize}{4pt}
29032 \end_layout
29033
29034 \end_inset
29035
29036
29037 \end_layout
29038
29039 \begin_layout Standard
29040 \begin_inset VSpace bigskip
29041 \end_inset
29042
29043
29044 \end_layout
29045
29046 \begin_layout Standard
29047 The default value for the size 
29048 \series bold
29049
29050 \backslash
29051 FrameRule
29052 \series default
29053  is 0.4
29054 \begin_inset space \thinspace{}
29055 \end_inset
29056
29057 pt.
29058  The default space between the note content and the frame is 9
29059 \begin_inset space \thinspace{}
29060 \end_inset
29061
29062 pt and can be changed with the value of 
29063 \series bold
29064
29065 \backslash
29066 FrameSep
29067 \series default
29068 .
29069  For example the frame appearance of the following 
29070 \family sans
29071 box
29072 \family default
29073  is set with the TeX-Code commands
29074 \end_layout
29075
29076 \begin_layout Standard
29077
29078 \series bold
29079
29080 \backslash
29081 setlength{
29082 \backslash
29083 FrameRule}{5pt}
29084 \begin_inset Newline newline
29085 \end_inset
29086
29087
29088 \backslash
29089 setlength{
29090 \backslash
29091 FrameSep}{0.5cm}
29092 \end_layout
29093
29094 \begin_layout Standard
29095 \begin_inset ERT
29096 status collapsed
29097
29098 \begin_layout Plain Layout
29099
29100
29101 \backslash
29102 setlength{
29103 \backslash
29104 FrameRule}{5pt}
29105 \end_layout
29106
29107 \begin_layout Plain Layout
29108
29109
29110 \backslash
29111 setlength{
29112 \backslash
29113 FrameSep}{0.5cm}
29114 \end_layout
29115
29116 \end_inset
29117
29118
29119 \begin_inset Box Framed
29120 position "t"
29121 hor_pos "c"
29122 has_inner_box 0
29123 inner_pos "t"
29124 use_parbox 0
29125 use_makebox 0
29126 width "100col%"
29127 special "none"
29128 height "1in"
29129 height_special "totalheight"
29130 status open
29131
29132 \begin_layout Plain Layout
29133 This is text in an 
29134 \family sans
29135 allow page break
29136 \family default
29137  box.
29138 \end_layout
29139
29140 \end_inset
29141
29142
29143 \begin_inset ERT
29144 status collapsed
29145
29146 \begin_layout Plain Layout
29147
29148
29149 \backslash
29150 setlength{
29151 \backslash
29152 FrameRule}{0.4pt}
29153 \end_layout
29154
29155 \begin_layout Plain Layout
29156
29157
29158 \backslash
29159 setlength{
29160 \backslash
29161 FrameSep}{9pt}
29162 \end_layout
29163
29164 \end_inset
29165
29166
29167 \end_layout
29168
29169 \begin_layout Standard
29170 \begin_inset VSpace bigskip
29171 \end_inset
29172
29173
29174 \end_layout
29175
29176 \begin_layout Standard
29177 For 
29178 \family sans
29179 shaded background
29180 \family default
29181  boxes the default space between the box content and the box border is 3
29182 \begin_inset space \thinspace{}
29183 \end_inset
29184
29185 pt and can be changed with the value of 
29186 \series bold
29187
29188 \backslash
29189 fboxsep
29190 \series default
29191 .
29192  The default background color red can either be changed locally with the
29193  command 
29194 \series bold
29195
29196 \backslash
29197 definecolor{shadecolor}
29198 \series default
29199  or globally with the menu 
29200 \family sans
29201 Tools\SpecialChar \menuseparator
29202 Preferences\SpecialChar \menuseparator
29203 Colors\SpecialChar \menuseparator
29204 shaded
29205 \begin_inset space ~
29206 \end_inset
29207
29208 box
29209 \family default
29210 .
29211  The scheme of the 
29212 \series bold
29213
29214 \backslash
29215 definecolor
29216 \series default
29217  command is explained in section
29218 \begin_inset space ~
29219 \end_inset
29220
29221
29222 \begin_inset CommandInset ref
29223 LatexCommand ref
29224 reference "sec:Colored-Tables"
29225
29226 \end_inset
29227
29228 .
29229 \begin_inset Foot
29230 status collapsed
29231
29232 \begin_layout Plain Layout
29233 Note that 
29234 \series bold
29235
29236 \backslash
29237 definecolor
29238 \series default
29239  requires the LaTeX-package 
29240 \series bold
29241 color
29242 \series default
29243  in the preamble, see section
29244 \begin_inset space ~
29245 \end_inset
29246
29247
29248 \begin_inset CommandInset ref
29249 LatexCommand ref
29250 reference "sec:Colored-Boxes"
29251
29252 \end_inset
29253
29254 .
29255 \end_layout
29256
29257 \end_inset
29258
29259  For example the appearance of the following shaded background box is set
29260  with the TeX-Code commands
29261 \end_layout
29262
29263 \begin_layout Standard
29264
29265 \series bold
29266
29267 \backslash
29268 setlength{
29269 \backslash
29270 fboxsep}{0.5cm}
29271 \series default
29272
29273 \begin_inset Newline newline
29274 \end_inset
29275
29276
29277 \series bold
29278
29279 \backslash
29280 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29281 \end_layout
29282
29283 \begin_layout Standard
29284 \begin_inset ERT
29285 status collapsed
29286
29287 \begin_layout Plain Layout
29288
29289
29290 \backslash
29291 setlength{
29292 \backslash
29293 fboxsep}{0.5cm}
29294 \end_layout
29295
29296 \begin_layout Plain Layout
29297
29298
29299 \backslash
29300 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29301 \end_layout
29302
29303 \end_inset
29304
29305
29306 \begin_inset Box Shaded
29307 position "t"
29308 hor_pos "c"
29309 has_inner_box 0
29310 inner_pos "t"
29311 use_parbox 0
29312 use_makebox 0
29313 width "100col%"
29314 special "none"
29315 height "1in"
29316 height_special "totalheight"
29317 status open
29318
29319 \begin_layout Plain Layout
29320
29321 \color yellow
29322 This is yellow text in a
29323 \color none
29324  
29325 \family sans
29326 \color yellow
29327 shaded background
29328 \family default
29329 \color none
29330  
29331 \color yellow
29332 box with dark green background.
29333 \end_layout
29334
29335 \end_inset
29336
29337
29338 \begin_inset ERT
29339 status collapsed
29340
29341 \begin_layout Plain Layout
29342
29343
29344 \backslash
29345 setlength{
29346 \backslash
29347 fboxsep}{3pt}
29348 \end_layout
29349
29350 \begin_layout Plain Layout
29351
29352
29353 \backslash
29354 definecolor{shadecolor}{rgb}{1,0,0}
29355 \end_layout
29356
29357 \end_inset
29358
29359
29360 \end_layout
29361
29362 \begin_layout Standard
29363 \begin_inset VSpace bigskip
29364 \end_inset
29365
29366 Changed lengths and widths are valid for all boxes following the commands
29367  that change them.
29368 \end_layout
29369
29370 \begin_layout Section
29371 Minipages
29372 \begin_inset CommandInset label
29373 LatexCommand label
29374 name "sec:Minipages"
29375
29376 \end_inset
29377
29378
29379 \begin_inset Index idx
29380 status collapsed
29381
29382 \begin_layout Plain Layout
29383 Boxes ! Minipages
29384 \end_layout
29385
29386 \end_inset
29387
29388
29389 \end_layout
29390
29391 \begin_layout Standard
29392 Minipages are treated by LaTeX as pages within pages and can therefore for
29393  example have their own footnotes.
29394 \end_layout
29395
29396 \begin_layout Standard
29397 Minipages are useful when you write documents with different languages.
29398 \end_layout
29399
29400 \begin_layout Standard
29401 Below are two example minipages side by side.
29402  Their width is set to 45
29403 \begin_inset space \thinspace{}
29404 \end_inset
29405
29406 col% and they are separated by a horizontal fill, that was inserted via
29407  the menu 
29408 \family sans
29409 Insert\SpecialChar \menuseparator
29410 Special
29411 \begin_inset space ~
29412 \end_inset
29413
29414 Formatting\SpecialChar \menuseparator
29415 Horizontal
29416 \begin_inset space ~
29417 \end_inset
29418
29419 Fill
29420 \family default
29421 .
29422 \begin_inset Newpage newpage
29423 \end_inset
29424
29425
29426 \end_layout
29427
29428 \begin_layout Standard
29429 \begin_inset Box Frameless
29430 position "t"
29431 hor_pos "c"
29432 has_inner_box 1
29433 inner_pos "c"
29434 use_parbox 0
29435 use_makebox 0
29436 width "45col%"
29437 special "none"
29438 height "1in"
29439 height_special "totalheight"
29440 status open
29441
29442 \begin_layout Plain Layout
29443
29444 \lang german
29445 Dies ist ein deutscher Text.
29446  Dies ist ein deutscher Text.
29447  Dies ist ein deutscher Text.
29448  Dies ist ein deutscher Text.
29449  Dies ist ein deutscher Text.
29450  Dies ist ein deutscher Text.
29451  Dies ist ein deutscher Text.
29452  Dies ist ein deutscher Text.
29453  Dies ist ein deutscher Text.
29454  Dies ist ein deutscher Text.
29455  Dies ist ein deutscher Text.
29456  Dies ist ein deutscher Text.
29457  Dies ist ein deutscher Text
29458 \begin_inset Foot
29459 status collapsed
29460
29461 \begin_layout Plain Layout
29462
29463 \lang german
29464 Dies ist eine deutsche Fußnote.
29465 \end_layout
29466
29467 \end_inset
29468
29469 .
29470  Dies ist ein deutscher Text.
29471  Dies ist ein deutscher Text.
29472 \end_layout
29473
29474 \end_inset
29475
29476
29477 \begin_inset space \hfill{}
29478 \end_inset
29479
29480
29481 \begin_inset Box Frameless
29482 position "t"
29483 hor_pos "c"
29484 has_inner_box 1
29485 inner_pos "c"
29486 use_parbox 0
29487 use_makebox 0
29488 width "45col%"
29489 special "none"
29490 height "1in"
29491 height_special "totalheight"
29492 status open
29493
29494 \begin_layout Plain Layout
29495 This is an English Text.
29496  This is an English Text.
29497  This is an English Text.
29498  This is an English Text.
29499  This is an English Text.
29500  This is an English Text.
29501  This is an English Text.
29502  This is an English Text.
29503  This is an English Text.
29504  This is an English Text.
29505  This is an English Text.
29506  This is an English Text.
29507  This is an English Text.
29508  This is an English Text.
29509  This is an English Text.
29510  This is an English Text.
29511 \begin_inset Foot
29512 status collapsed
29513
29514 \begin_layout Plain Layout
29515 This is an English footnote.
29516 \end_layout
29517
29518 \end_inset
29519
29520  This is an English Text.
29521  
29522 \end_layout
29523
29524 \end_inset
29525
29526
29527 \end_layout
29528
29529 \begin_layout Standard
29530 \begin_inset VSpace bigskip
29531 \end_inset
29532
29533 The document-wide paragraph settings are ignored within minipages.
29534  That means that there will be no space between paragraphs in minipages
29535  although you set it to e.
29536 \begin_inset space \thinspace{}
29537 \end_inset
29538
29539 g.
29540 \begin_inset space \space{}
29541 \end_inset
29542
29543
29544 \family sans
29545 MedSkip
29546 \family default
29547  in the document settings.
29548 \end_layout
29549
29550 \begin_layout Standard
29551 Minipages can also be used to set a background color for text parts, see
29552  section
29553 \begin_inset space ~
29554 \end_inset
29555
29556
29557 \begin_inset CommandInset ref
29558 LatexCommand ref
29559 reference "sub:Color-for-Paragraphs"
29560
29561 \end_inset
29562
29563 .
29564 \end_layout
29565
29566 \begin_layout Standard
29567 \begin_inset Note Greyedout
29568 status open
29569
29570 \begin_layout Plain Layout
29571
29572 \series bold
29573 Note:
29574 \series default
29575  You cannot have floats or margin notes inside minipages but minipages can
29576  be used inside tables, floats, and other boxes.
29577 \end_layout
29578
29579 \end_inset
29580
29581
29582 \end_layout
29583
29584 \begin_layout Section
29585 Parboxes
29586 \begin_inset CommandInset label
29587 LatexCommand label
29588 name "sec:Parboxes"
29589
29590 \end_inset
29591
29592
29593 \begin_inset Index idx
29594 status collapsed
29595
29596 \begin_layout Plain Layout
29597 Boxes ! Parboxes
29598 \end_layout
29599
29600 \end_inset
29601
29602
29603 \end_layout
29604
29605 \begin_layout Standard
29606 Parboxes are very similar to minipages with the difference that they cannot
29607  have footnotes.
29608 \end_layout
29609
29610 \begin_layout Standard
29611 \align center
29612 \begin_inset Box Frameless
29613 position "t"
29614 hor_pos "c"
29615 has_inner_box 1
29616 inner_pos "t"
29617 use_parbox 1
29618 use_makebox 0
29619 width "33col%"
29620 special "none"
29621 height "1in"
29622 height_special "totalheight"
29623 status collapsed
29624
29625 \begin_layout Plain Layout
29626 This a text within a parbox.
29627  This a text within a parbox.
29628 \end_layout
29629
29630 \begin_layout Plain Layout
29631 This footnote won't appear:
29632 \begin_inset Foot
29633 status collapsed
29634
29635 \begin_layout Plain Layout
29636 This footnote is inside a parbox and will therefore not appear.
29637 \end_layout
29638
29639 \end_inset
29640
29641
29642 \end_layout
29643
29644 \end_inset
29645
29646
29647 \end_layout
29648
29649 \begin_layout Section
29650 Boxes for Words and Characters
29651 \begin_inset Index idx
29652 status collapsed
29653
29654 \begin_layout Plain Layout
29655 Boxes ! for Characters
29656 \end_layout
29657
29658 \end_inset
29659
29660
29661 \end_layout
29662
29663 \begin_layout Subsection
29664 Prevent Hyphenation
29665 \begin_inset CommandInset label
29666 LatexCommand label
29667 name "sec:Prevent-Hyphenation"
29668
29669 \end_inset
29670
29671
29672 \begin_inset Index idx
29673 status collapsed
29674
29675 \begin_layout Plain Layout
29676 Boxes ! to Prevent Hyphenation
29677 \end_layout
29678
29679 \end_inset
29680
29681
29682 \end_layout
29683
29684 \begin_layout Standard
29685 You can use the box type 
29686 \family sans
29687 Makebox
29688 \family default
29689  to prevent words or text from being hyphenated.
29690 \begin_inset Newline newline
29691 \end_inset
29692
29693 Here is an example text:
29694 \end_layout
29695
29696 \begin_layout Standard
29697 This line is an example to show how you can prevent the hyphenation of 
29698 \begin_inset Quotes eld
29699 \end_inset
29700
29701 veryverylongword
29702 \begin_inset Quotes erd
29703 \end_inset
29704
29705 .
29706 \end_layout
29707
29708 \begin_layout Standard
29709 To prevent the hyphenation of the word 
29710 \begin_inset Quotes eld
29711 \end_inset
29712
29713 veryverylongword
29714 \begin_inset Quotes erd
29715 \end_inset
29716
29717 , put the word into a box, set the 
29718 \family sans
29719 Inner
29720 \begin_inset space ~
29721 \end_inset
29722
29723 box
29724 \family default
29725  to 
29726 \family sans
29727 Makebox
29728 \family default
29729  and its width to 1
29730 \begin_inset space \thinspace{}
29731 \end_inset
29732
29733 Width.
29734 \end_layout
29735
29736 \begin_layout Standard
29737 This is the result:
29738 \end_layout
29739
29740 \begin_layout Standard
29741 This line is an example to show how you can prevent the hyphenation of 
29742 \begin_inset Box Frameless
29743 position "t"
29744 hor_pos "c"
29745 has_inner_box 1
29746 inner_pos "t"
29747 use_parbox 0
29748 use_makebox 1
29749 width "1in"
29750 special "width"
29751 height "1in"
29752 height_special "totalheight"
29753 status open
29754
29755 \begin_layout Plain Layout
29756 \begin_inset Quotes eld
29757 \end_inset
29758
29759 veryverylongword
29760 \begin_inset Quotes erd
29761 \end_inset
29762
29763
29764 \end_layout
29765
29766 \end_inset
29767
29768 .
29769 \end_layout
29770
29771 \begin_layout Standard
29772 You can alternatively set the command 
29773 \begin_inset Quotes eld
29774 \end_inset
29775
29776
29777 \series bold
29778
29779 \backslash
29780 -
29781 \series default
29782
29783 \begin_inset Quotes grd
29784 \end_inset
29785
29786  as TeX-Code directly before the word:
29787 \end_layout
29788
29789 \begin_layout Standard
29790 This line is an example to show how you can prevent the hyphenation of 
29791 \begin_inset Quotes eld
29792 \end_inset
29793
29794
29795 \begin_inset ERT
29796 status collapsed
29797
29798 \begin_layout Plain Layout
29799
29800
29801 \backslash
29802 -
29803 \end_layout
29804
29805 \end_inset
29806
29807 veryverylongword
29808 \begin_inset Quotes erd
29809 \end_inset
29810
29811 .
29812 \end_layout
29813
29814 \begin_layout Standard
29815 Of course the word now protrudes over the side margin.
29816  To avoid this, add via the menu 
29817 \family sans
29818 Insert\SpecialChar \menuseparator
29819 Special
29820 \begin_inset space ~
29821 \end_inset
29822
29823 Formatting\SpecialChar \menuseparator
29824 Line
29825 \begin_inset space ~
29826 \end_inset
29827
29828 Break
29829 \family default
29830  (shortcut 
29831 \begin_inset Info
29832 type  "shortcut"
29833 arg   "newline-insert newline"
29834 \end_inset
29835
29836 ) a line break before the word:
29837 \end_layout
29838
29839 \begin_layout Standard
29840 This line is an example to show how you can prevent the hyphenation of 
29841 \begin_inset Newline newline
29842 \end_inset
29843
29844
29845 \begin_inset Box Frameless
29846 position "t"
29847 hor_pos "c"
29848 has_inner_box 1
29849 inner_pos "t"
29850 use_parbox 0
29851 use_makebox 1
29852 width "1in"
29853 special "width"
29854 height "1in"
29855 height_special "totalheight"
29856 status open
29857
29858 \begin_layout Plain Layout
29859 \begin_inset Quotes eld
29860 \end_inset
29861
29862 veryverylongword
29863 \begin_inset Quotes erd
29864 \end_inset
29865
29866
29867 \end_layout
29868
29869 \end_inset
29870
29871 .
29872 \end_layout
29873
29874 \begin_layout Subsection
29875 Vertical Alignment
29876 \begin_inset CommandInset label
29877 LatexCommand label
29878 name "sub:Vertical-Alignment"
29879
29880 \end_inset
29881
29882
29883 \begin_inset Index idx
29884 status collapsed
29885
29886 \begin_layout Plain Layout
29887 Boxes ! for Vertical Alignment
29888 \end_layout
29889
29890 \end_inset
29891
29892
29893 \begin_inset Index idx
29894 status collapsed
29895
29896 \begin_layout Plain Layout
29897 Boxes ! Raiseboxes
29898 \end_layout
29899
29900 \end_inset
29901
29902
29903 \end_layout
29904
29905 \begin_layout Standard
29906 With the help of the command 
29907 \series bold
29908
29909 \backslash
29910 raisebox
29911 \series default
29912  you can align words, characters or other boxes vertically relative to the
29913  surrounding text.
29914  
29915 \series bold
29916
29917 \backslash
29918 raisebox
29919 \series default
29920  is used with the following scheme:
29921 \end_layout
29922
29923 \begin_layout Standard
29924
29925 \series bold
29926
29927 \backslash
29928 raisebox{lift}[height][depth]{box content}
29929 \end_layout
29930
29931 \begin_layout Standard
29932 The lift can be a positive value to raise the box or a negative value to
29933  lower the box.
29934 \end_layout
29935
29936 \begin_layout Standard
29937 To align for example the word 
29938 \begin_inset Quotes eld
29939 \end_inset
29940
29941 preventing
29942 \begin_inset Quotes erd
29943 \end_inset
29944
29945  so that the bottom of the 
29946 \begin_inset Quotes eld
29947 \end_inset
29948
29949 deepest
29950 \begin_inset Quotes erd
29951 \end_inset
29952
29953  character 
29954 \begin_inset Quotes eld
29955 \end_inset
29956
29957 p
29958 \begin_inset Quotes erd
29959 \end_inset
29960
29961  is at the baseline, insert the command
29962 \end_layout
29963
29964 \begin_layout Standard
29965
29966 \series bold
29967
29968 \backslash
29969 raisebox{
29970 \backslash
29971 depth}{
29972 \end_layout
29973
29974 \begin_layout Standard
29975 in TeX-Code before the word.
29976  After the word insert a closing brace 
29977 \begin_inset Quotes eld
29978 \end_inset
29979
29980
29981 \series bold
29982 }
29983 \series default
29984
29985 \begin_inset Quotes erd
29986 \end_inset
29987
29988  in TeX-Code.
29989 \begin_inset Newline newline
29990 \end_inset
29991
29992 This is the result:
29993 \end_layout
29994
29995 \begin_layout Standard
29996 This is a text line with the word 
29997 \begin_inset ERT
29998 status collapsed
29999
30000 \begin_layout Plain Layout
30001
30002
30003 \backslash
30004 raisebox{
30005 \backslash
30006 depth}{
30007 \end_layout
30008
30009 \end_inset
30010
30011
30012 \begin_inset Quotes eld
30013 \end_inset
30014
30015 preventing
30016 \begin_inset Quotes erd
30017 \end_inset
30018
30019
30020 \begin_inset ERT
30021 status collapsed
30022
30023 \begin_layout Plain Layout
30024
30025 }
30026 \end_layout
30027
30028 \end_inset
30029
30030  as a raised word.
30031 \end_layout
30032
30033 \begin_layout Standard
30034 \begin_inset VSpace bigskip
30035 \end_inset
30036
30037 When you raise or lower characters in a line, the line distance will be
30038  spread:
30039 \end_layout
30040
30041 \begin_layout Standard
30042 This is a text line with the word 
30043 \begin_inset ERT
30044 status collapsed
30045
30046 \begin_layout Plain Layout
30047
30048
30049 \backslash
30050 raisebox{-
30051 \backslash
30052 depth}{
30053 \end_layout
30054
30055 \end_inset
30056
30057
30058 \begin_inset Quotes eld
30059 \end_inset
30060
30061 preventing
30062 \begin_inset Quotes erd
30063 \end_inset
30064
30065
30066 \begin_inset ERT
30067 status collapsed
30068
30069 \begin_layout Plain Layout
30070
30071 }
30072 \end_layout
30073
30074 \end_inset
30075
30076  as a lowered word.
30077 \begin_inset Newline newline
30078 \end_inset
30079
30080 This is a text line with the word 
30081 \begin_inset ERT
30082 status collapsed
30083
30084 \begin_layout Plain Layout
30085
30086
30087 \backslash
30088 raisebox{0.5cm}{
30089 \end_layout
30090
30091 \end_inset
30092
30093
30094 \begin_inset Quotes eld
30095 \end_inset
30096
30097 testing
30098 \begin_inset Quotes erd
30099 \end_inset
30100
30101
30102 \begin_inset ERT
30103 status collapsed
30104
30105 \begin_layout Plain Layout
30106
30107 }
30108 \end_layout
30109
30110 \end_inset
30111
30112  as a raised word.
30113 \end_layout
30114
30115 \begin_layout Standard
30116 If you want to prevent this for a certain reason, set the box height to
30117  a zero value.
30118  For example use
30119 \end_layout
30120
30121 \begin_layout Standard
30122
30123 \series bold
30124
30125 \backslash
30126 raisebox{-
30127 \backslash
30128 depth}[0pt]{
30129 \end_layout
30130
30131 \begin_layout Standard
30132 This is a text line with the word 
30133 \begin_inset ERT
30134 status collapsed
30135
30136 \begin_layout Plain Layout
30137
30138
30139 \backslash
30140 raisebox{-
30141 \backslash
30142 depth}[0pt]{
30143 \end_layout
30144
30145 \end_inset
30146
30147
30148 \begin_inset Quotes eld
30149 \end_inset
30150
30151 preventing
30152 \begin_inset Quotes erd
30153 \end_inset
30154
30155
30156 \begin_inset ERT
30157 status collapsed
30158
30159 \begin_layout Plain Layout
30160
30161 }
30162 \end_layout
30163
30164 \end_inset
30165
30166  as a lowered word.
30167 \begin_inset Newline newline
30168 \end_inset
30169
30170 This is a text line with the word 
30171 \begin_inset ERT
30172 status collapsed
30173
30174 \begin_layout Plain Layout
30175
30176
30177 \backslash
30178 raisebox{0.5cm}[0pt]{
30179 \end_layout
30180
30181 \end_inset
30182
30183
30184 \begin_inset Quotes eld
30185 \end_inset
30186
30187 testing
30188 \begin_inset Quotes erd
30189 \end_inset
30190
30191
30192 \begin_inset ERT
30193 status collapsed
30194
30195 \begin_layout Plain Layout
30196
30197 }
30198 \end_layout
30199
30200 \end_inset
30201
30202  as a raised word.
30203 \end_layout
30204
30205 \begin_layout Section
30206 Colored Boxes
30207 \begin_inset CommandInset label
30208 LatexCommand label
30209 name "sec:Colored-Boxes"
30210
30211 \end_inset
30212
30213
30214 \begin_inset Index idx
30215 status collapsed
30216
30217 \begin_layout Plain Layout
30218 Boxes ! Color
30219 \end_layout
30220
30221 \end_inset
30222
30223
30224 \end_layout
30225
30226 \begin_layout Subsection
30227 Color for Text
30228 \begin_inset Index idx
30229 status collapsed
30230
30231 \begin_layout Plain Layout
30232 Color ! for Text
30233 \end_layout
30234
30235 \end_inset
30236
30237
30238 \end_layout
30239
30240 \begin_layout Standard
30241 To color the background of text the text must be put into a so called 
30242 \begin_inset Quotes eld
30243 \end_inset
30244
30245 colorbox
30246 \begin_inset Quotes erd
30247 \end_inset
30248
30249 .
30250  This requires that the LaTeX-package 
30251 \series bold
30252 color
30253 \series default
30254
30255 \begin_inset Index idx
30256 status collapsed
30257
30258 \begin_layout Plain Layout
30259 LaTeX-packages ! color
30260 \end_layout
30261
30262 \end_inset
30263
30264  is loaded in the document preamble with the command
30265 \end_layout
30266
30267 \begin_layout Standard
30268
30269 \series bold
30270
30271 \backslash
30272 @ifundefined{textcolor}
30273 \begin_inset Newline newline
30274 \end_inset
30275
30276
30277 \begin_inset Phantom HPhantom
30278 status open
30279
30280 \begin_layout Plain Layout
30281
30282 \series bold
30283 \begin_inset space ~
30284 \end_inset
30285
30286
30287 \end_layout
30288
30289 \end_inset
30290
30291 {
30292 \backslash
30293 usepackage{color}}{}
30294 \end_layout
30295
30296 \begin_layout Standard
30297 The package 
30298 \series bold
30299 color
30300 \series default
30301  will be loaded automatically by LyX when you color text.
30302 \begin_inset Foot
30303 status collapsed
30304
30305 \begin_layout Plain Layout
30306 To avoid it being loaded twice the command 
30307 \series bold
30308
30309 \backslash
30310 @ifundefined
30311 \series default
30312  is used.
30313 \end_layout
30314
30315 \end_inset
30316
30317
30318 \end_layout
30319
30320 \begin_layout Standard
30321 \begin_inset VSpace medskip
30322 \end_inset
30323
30324 Colorboxes are created with the command 
30325 \series bold
30326
30327 \backslash
30328 colorbox
30329 \series default
30330 .
30331  This will be used with the following scheme:
30332 \end_layout
30333
30334 \begin_layout Standard
30335
30336 \series bold
30337
30338 \backslash
30339 colorbox{color}{box content}
30340 \end_layout
30341
30342 \begin_layout Standard
30343 The box content can also be a box and colorboxes can also be within other
30344  boxes.
30345 \end_layout
30346
30347 \begin_layout Standard
30348 The following colors are predefined:
30349 \begin_inset Newline newline
30350 \end_inset
30351
30352
30353 \family sans
30354 black
30355 \family default
30356
30357 \family sans
30358 blue
30359 \family default
30360
30361 \family sans
30362 cyan
30363 \family default
30364 \series bold
30365 ,
30366 \series default
30367  
30368 \family sans
30369 green
30370 \family default
30371
30372 \family sans
30373 magenta
30374 \family default
30375
30376 \family sans
30377 red
30378 \family default
30379
30380 \family sans
30381 white
30382 \family default
30383 , and 
30384 \family sans
30385 yellow
30386 \family default
30387 .
30388 \begin_inset Newline newline
30389 \end_inset
30390
30391 You can also define your own color as described in section
30392 \begin_inset space ~
30393 \end_inset
30394
30395
30396 \begin_inset CommandInset ref
30397 LatexCommand ref
30398 reference "sec:Colored-Tables"
30399
30400 \end_inset
30401
30402 .
30403 \end_layout
30404
30405 \begin_layout Standard
30406 To have e.
30407 \begin_inset space \thinspace{}
30408 \end_inset
30409
30410 g.
30411 \begin_inset space \space{}
30412 \end_inset
30413
30414 a red background for a word, insert the command
30415 \end_layout
30416
30417 \begin_layout Standard
30418
30419 \series bold
30420
30421 \backslash
30422 colorbox{red}{
30423 \end_layout
30424
30425 \begin_layout Standard
30426 before the word in TeX-Code.
30427  After the word insert a closing brace 
30428 \begin_inset Quotes eld
30429 \end_inset
30430
30431
30432 \series bold
30433 }
30434 \series default
30435
30436 \begin_inset Quotes erd
30437 \end_inset
30438
30439  in TeX-Code.
30440 \begin_inset Newline newline
30441 \end_inset
30442
30443 This is the result:
30444 \end_layout
30445
30446 \begin_layout Standard
30447 This is a line where the word 
30448 \begin_inset ERT
30449 status collapsed
30450
30451 \begin_layout Plain Layout
30452
30453
30454 \backslash
30455 colorbox{red}{
30456 \end_layout
30457
30458 \end_inset
30459
30460
30461 \begin_inset Quotes eld
30462 \end_inset
30463
30464 Attention!
30465 \begin_inset Quotes erd
30466 \end_inset
30467
30468
30469 \begin_inset ERT
30470 status collapsed
30471
30472 \begin_layout Plain Layout
30473
30474 }
30475 \end_layout
30476
30477 \end_inset
30478
30479  has a red background.
30480 \end_layout
30481
30482 \begin_layout Standard
30483 \begin_inset VSpace bigskip
30484 \end_inset
30485
30486 If you would like the box frame in a different color, you can use the command
30487  
30488 \series bold
30489
30490 \backslash
30491 fcolorbox
30492 \series default
30493  with the following scheme:
30494 \end_layout
30495
30496 \begin_layout Standard
30497
30498 \series bold
30499
30500 \backslash
30501 fcolorbox{frame color}{box color}{box content}
30502 \end_layout
30503
30504 \begin_layout Standard
30505
30506 \series bold
30507
30508 \backslash
30509 fcolorbox
30510 \series default
30511  is an extension to 
30512 \series bold
30513
30514 \backslash
30515 colorbox
30516 \series default
30517 .
30518  The frame thickness and the space between the frame and the box content
30519  can be adjusted with the lengths 
30520 \series bold
30521
30522 \backslash
30523 fboxrule
30524 \series default
30525  and 
30526 \series bold
30527
30528 \backslash
30529 fboxsep
30530 \series default
30531 , respectively, as described in section
30532 \begin_inset space ~
30533 \end_inset
30534
30535
30536 \begin_inset CommandInset ref
30537 LatexCommand ref
30538 reference "sec:Decoration"
30539
30540 \end_inset
30541
30542 .
30543 \end_layout
30544
30545 \begin_layout Standard
30546 For the following example the command
30547 \end_layout
30548
30549 \begin_layout Standard
30550
30551 \series bold
30552
30553 \backslash
30554 fcolorbox{cyan}{magenta}{
30555 \end_layout
30556
30557 \begin_layout Standard
30558 was used.
30559 \end_layout
30560
30561 \begin_layout Standard
30562 Here is an example where the frame line thickness was set to 1
30563 \begin_inset space \thinspace{}
30564 \end_inset
30565
30566 mm:
30567 \begin_inset Newline newline
30568 \end_inset
30569
30570
30571 \begin_inset ERT
30572 status collapsed
30573
30574 \begin_layout Plain Layout
30575
30576
30577 \backslash
30578 fboxrule 1mm 
30579 \backslash
30580 fboxsep 1mm
30581 \end_layout
30582
30583 \end_inset
30584
30585
30586 \begin_inset ERT
30587 status collapsed
30588
30589 \begin_layout Plain Layout
30590
30591
30592 \backslash
30593 fcolorbox{cyan}{magenta}{
30594 \end_layout
30595
30596 \end_inset
30597
30598 This is text within a colored, framed box.
30599 \begin_inset ERT
30600 status collapsed
30601
30602 \begin_layout Plain Layout
30603
30604 }
30605 \end_layout
30606
30607 \end_inset
30608
30609
30610 \end_layout
30611
30612 \begin_layout Standard
30613 \begin_inset VSpace bigskip
30614 \end_inset
30615
30616 Of course you can also have colored text inside a colorbox:
30617 \begin_inset Newline newline
30618 \end_inset
30619
30620
30621 \begin_inset ERT
30622 status collapsed
30623
30624 \begin_layout Plain Layout
30625
30626
30627 \backslash
30628 fcolorbox{cyan}{magenta}{
30629 \end_layout
30630
30631 \end_inset
30632
30633
30634 \color yellow
30635 This is colored text within a colored, framed box.
30636 \color none
30637
30638 \begin_inset ERT
30639 status collapsed
30640
30641 \begin_layout Plain Layout
30642
30643 }
30644 \end_layout
30645
30646 \end_inset
30647
30648
30649 \begin_inset ERT
30650 status collapsed
30651
30652 \begin_layout Plain Layout
30653
30654
30655 \backslash
30656 fboxrule 0.4pt 
30657 \backslash
30658 fboxsep 3pt
30659 \end_layout
30660
30661 \end_inset
30662
30663
30664 \end_layout
30665
30666 \begin_layout Standard
30667
30668 \series bold
30669 \begin_inset VSpace medskip
30670 \end_inset
30671
30672
30673 \end_layout
30674
30675 \begin_layout Standard
30676 \begin_inset Note Greyedout
30677 status open
30678
30679 \begin_layout Plain Layout
30680
30681 \series bold
30682 Note:
30683 \series default
30684  Text in colorboxes cannot have line breaks.
30685  To color multiple text lines or paragraphs, use a box inside a colorbox
30686  as described in the following.
30687 \end_layout
30688
30689 \end_inset
30690
30691
30692 \end_layout
30693
30694 \begin_layout Subsection
30695 Color for Paragraphs
30696 \begin_inset CommandInset label
30697 LatexCommand label
30698 name "sub:Color-for-Paragraphs"
30699
30700 \end_inset
30701
30702
30703 \begin_inset Index idx
30704 status collapsed
30705
30706 \begin_layout Plain Layout
30707 Color ! for Paragraphs
30708 \end_layout
30709
30710 \end_inset
30711
30712
30713 \end_layout
30714
30715 \begin_layout Standard
30716 To set the background color for more than one text line, put the text into
30717  a minipage.
30718  Before the minipage insert the 
30719 \series bold
30720
30721 \backslash
30722 colorbox
30723 \series default
30724  command
30725 \end_layout
30726
30727 \begin_layout Standard
30728
30729 \series bold
30730
30731 \backslash
30732 colorbox{color}{
30733 \end_layout
30734
30735 \begin_layout Standard
30736 in TeX-Code.
30737  After the minipage insert a closing brace 
30738 \begin_inset Quotes eld
30739 \end_inset
30740
30741
30742 \series bold
30743 }
30744 \series default
30745
30746 \begin_inset Quotes erd
30747 \end_inset
30748
30749  in TeX-Code.
30750 \end_layout
30751
30752 \begin_layout Standard
30753 \begin_inset ERT
30754 status collapsed
30755
30756 \begin_layout Plain Layout
30757
30758
30759 \backslash
30760 colorbox{lightgrey}{
30761 \end_layout
30762
30763 \end_inset
30764
30765
30766 \begin_inset Box Frameless
30767 position "t"
30768 hor_pos "c"
30769 has_inner_box 1
30770 inner_pos "t"
30771 use_parbox 0
30772 use_makebox 0
30773 width "100col%"
30774 special "none"
30775 height "1in"
30776 height_special "totalheight"
30777 status collapsed
30778
30779 \begin_layout Plain Layout
30780 This is text with background color.
30781  This is text with background color.
30782 \end_layout
30783
30784 \begin_layout Plain Layout
30785 \begin_inset VSpace defskip
30786 \end_inset
30787
30788 The text can have footnotes
30789 \begin_inset Foot
30790 status collapsed
30791
30792 \begin_layout Plain Layout
30793 Another example footnote
30794 \end_layout
30795
30796 \end_inset
30797
30798  and can include tables and figures.
30799 \end_layout
30800
30801 \begin_layout Plain Layout
30802 \align center
30803 \begin_inset Tabular
30804 <lyxtabular version="3" rows="3" columns="3">
30805 <features tabularvalignment="middle">
30806 <column alignment="center" valignment="top" width="0">
30807 <column alignment="center" valignment="top" width="0">
30808 <column alignment="center" valignment="top" width="0">
30809 <row>
30810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30811 \begin_inset Text
30812
30813 \begin_layout Plain Layout
30814 a
30815 \end_layout
30816
30817 \end_inset
30818 </cell>
30819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30820 \begin_inset Text
30821
30822 \begin_layout Plain Layout
30823 !
30824 \end_layout
30825
30826 \end_inset
30827 </cell>
30828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30829 \begin_inset Text
30830
30831 \begin_layout Plain Layout
30832 3
30833 \end_layout
30834
30835 \end_inset
30836 </cell>
30837 </row>
30838 <row>
30839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30840 \begin_inset Text
30841
30842 \begin_layout Plain Layout
30843 <
30844 \end_layout
30845
30846 \end_inset
30847 </cell>
30848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30849 \begin_inset Text
30850
30851 \begin_layout Plain Layout
30852 b2
30853 \begin_inset Quotes erd
30854 \end_inset
30855
30856 |
30857 \end_layout
30858
30859 \end_inset
30860 </cell>
30861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30862 \begin_inset Text
30863
30864 \begin_layout Plain Layout
30865 >
30866 \end_layout
30867
30868 \end_inset
30869 </cell>
30870 </row>
30871 <row>
30872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30873 \begin_inset Text
30874
30875 \begin_layout Plain Layout
30876 1
30877 \end_layout
30878
30879 \end_inset
30880 </cell>
30881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30882 \begin_inset Text
30883
30884 \begin_layout Plain Layout
30885 §
30886 \end_layout
30887
30888 \end_inset
30889 </cell>
30890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30891 \begin_inset Text
30892
30893 \begin_layout Plain Layout
30894 c
30895 \end_layout
30896
30897 \end_inset
30898 </cell>
30899 </row>
30900 </lyxtabular>
30901
30902 \end_inset
30903
30904
30905 \end_layout
30906
30907 \end_inset
30908
30909
30910 \begin_inset ERT
30911 status collapsed
30912
30913 \begin_layout Plain Layout
30914
30915 }
30916 \end_layout
30917
30918 \end_inset
30919
30920
30921 \end_layout
30922
30923 \begin_layout Section
30924 Rotated and Scaled Boxes
30925 \end_layout
30926
30927 \begin_layout Standard
30928 To use the commands described in this section, the LaTeX-package 
30929 \series bold
30930 graphicx
30931 \series default
30932
30933 \begin_inset Index idx
30934 status collapsed
30935
30936 \begin_layout Plain Layout
30937 LaTeX-packages ! graphicx
30938 \end_layout
30939
30940 \end_inset
30941
30942  needs to be loaded in the document preamble with the command
30943 \end_layout
30944
30945 \begin_layout Standard
30946
30947 \series bold
30948
30949 \backslash
30950 @ifundefined{rotatebox}
30951 \begin_inset Newline newline
30952 \end_inset
30953
30954
30955 \begin_inset Phantom HPhantom
30956 status open
30957
30958 \begin_layout Plain Layout
30959
30960 \series bold
30961 \begin_inset space ~
30962 \end_inset
30963
30964
30965 \end_layout
30966
30967 \end_inset
30968
30969 {
30970 \backslash
30971 usepackage{graphicx}}{}
30972 \end_layout
30973
30974 \begin_layout Standard
30975 \begin_inset Note Greyedout
30976 status open
30977
30978 \begin_layout Plain Layout
30979
30980 \series bold
30981 Note:
30982 \series default
30983  Some DVI-viewers can't display rotated or scaled material.
30984 \end_layout
30985
30986 \end_inset
30987
30988
30989 \end_layout
30990
30991 \begin_layout Standard
30992 \begin_inset Note Greyedout
30993 status open
30994
30995 \begin_layout Plain Layout
30996
30997 \series bold
30998 Note:
30999 \series default
31000  Floats mustn't be inside a rotated or scaled box.
31001 \end_layout
31002
31003 \end_inset
31004
31005
31006 \end_layout
31007
31008 \begin_layout Subsection
31009 Rotated Boxes
31010 \begin_inset Index idx
31011 status collapsed
31012
31013 \begin_layout Plain Layout
31014 Boxes ! rotated
31015 \end_layout
31016
31017 \end_inset
31018
31019
31020 \begin_inset Index idx
31021 status collapsed
31022
31023 \begin_layout Plain Layout
31024 Rotated material
31025 \end_layout
31026
31027 \end_inset
31028
31029
31030 \begin_inset Index idx
31031 status collapsed
31032
31033 \begin_layout Plain Layout
31034 Figures ! rotated
31035 \end_layout
31036
31037 \end_inset
31038
31039
31040 \begin_inset Index idx
31041 status collapsed
31042
31043 \begin_layout Plain Layout
31044 Table Customization ! Rotating
31045 \end_layout
31046
31047 \end_inset
31048
31049
31050 \end_layout
31051
31052 \begin_layout Standard
31053 To rotate material, you can put it into a rotated box.
31054  Such a box is created using the command 
31055 \series bold
31056
31057 \backslash
31058 rotatebox
31059 \series default
31060  in TeX-Code with the following scheme:
31061 \end_layout
31062
31063 \begin_layout Standard
31064
31065 \series bold
31066
31067 \backslash
31068 rotatebox[rotation origin]{rotation angle}{box content}
31069 \end_layout
31070
31071 \begin_layout Standard
31072 The rotation origin is specified in the form 
31073 \series bold
31074 origin=position
31075 \series default
31076 .
31077  The following positions are possible: 
31078 \emph on
31079 c
31080 \emph default
31081  (center), 
31082 \emph on
31083 l
31084 \emph default
31085  (left), 
31086 \emph on
31087 r
31088 \emph default
31089  (right), 
31090 \emph on
31091 b
31092 \emph default
31093  (bottom), 
31094 \emph on
31095 t
31096 \emph default
31097  (top), along with meaningful combinations of the four base positions.
31098  For example 
31099 \emph on
31100 lt
31101 \emph default
31102  means that the rotation origin is at the top left corner of the box.
31103  When no rotation origin is specified, the position 
31104 \emph on
31105 l
31106 \emph default
31107  will be used.
31108  The rotation angle is a number that can be negative that specifies the
31109  angle in degrees.
31110  The rotation direction is counterclockwise.
31111 \end_layout
31112
31113 \begin_layout Standard
31114 In the following example the command 
31115 \series bold
31116
31117 \backslash
31118 rotatebox[origin=c]{60}{
31119 \series default
31120  was inserted as TeX-Code before the text 
31121 \begin_inset Quotes eld
31122 \end_inset
31123
31124 with rotated
31125 \begin_inset Quotes erd
31126 \end_inset
31127
31128 ; after the text the box was closed by a closing brace 
31129 \series bold
31130 }
31131 \series default
31132  in TeX-Code.
31133 \end_layout
31134
31135 \begin_layout Standard
31136 This is a line 
31137 \begin_inset ERT
31138 status collapsed
31139
31140 \begin_layout Plain Layout
31141
31142
31143 \backslash
31144 rotatebox[origin=c]{60}{
31145 \end_layout
31146
31147 \end_inset
31148
31149 with rotated
31150 \begin_inset ERT
31151 status collapsed
31152
31153 \begin_layout Plain Layout
31154
31155 }
31156 \end_layout
31157
31158 \end_inset
31159
31160  text.
31161 \end_layout
31162
31163 \begin_layout Standard
31164 The box content can also be another box or an inline formula:
31165 \end_layout
31166
31167 \begin_layout Standard
31168 This is a line
31169 \begin_inset ERT
31170 status collapsed
31171
31172 \begin_layout Plain Layout
31173
31174
31175 \backslash
31176 rotatebox[origin=r]{-60}{
31177 \end_layout
31178
31179 \end_inset
31180
31181
31182 \begin_inset Box Doublebox
31183 position "c"
31184 hor_pos "c"
31185 has_inner_box 0
31186 inner_pos "c"
31187 use_parbox 0
31188 use_makebox 0
31189 width "1in"
31190 special "width"
31191 height "1in"
31192 height_special "totalheight"
31193 status collapsed
31194
31195 \begin_layout Plain Layout
31196 with rotated
31197 \end_layout
31198
31199 \end_inset
31200
31201
31202 \begin_inset ERT
31203 status collapsed
31204
31205 \begin_layout Plain Layout
31206
31207 }
31208 \end_layout
31209
31210 \end_inset
31211
31212  framed text 
31213 \begin_inset ERT
31214 status collapsed
31215
31216 \begin_layout Plain Layout
31217
31218
31219 \backslash
31220 rotatebox[origin=lb]{60}{
31221 \end_layout
31222
31223 \end_inset
31224
31225
31226 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31227 \end_inset
31228
31229
31230 \begin_inset ERT
31231 status collapsed
31232
31233 \begin_layout Plain Layout
31234
31235 }
31236 \end_layout
31237
31238 \end_inset
31239
31240  and a formula.
31241 \end_layout
31242
31243 \begin_layout Standard
31244 or an image or table:
31245 \end_layout
31246
31247 \begin_layout Standard
31248 This is a line
31249 \begin_inset ERT
31250 status collapsed
31251
31252 \begin_layout Plain Layout
31253
31254
31255 \backslash
31256 rotatebox[origin=lb]{90}{
31257 \end_layout
31258
31259 \end_inset
31260
31261
31262 \begin_inset Graphics
31263         filename clipart/platypus.eps
31264         lyxscale 50
31265         width 25col%
31266
31267 \end_inset
31268
31269
31270 \begin_inset ERT
31271 status collapsed
31272
31273 \begin_layout Plain Layout
31274
31275 }
31276 \end_layout
31277
31278 \end_inset
31279
31280  with a rotated image 
31281 \begin_inset ERT
31282 status collapsed
31283
31284 \begin_layout Plain Layout
31285
31286
31287 \backslash
31288 rotatebox[origin=l]{-90}{
31289 \end_layout
31290
31291 \end_inset
31292
31293
31294 \begin_inset Tabular
31295 <lyxtabular version="3" rows="2" columns="2">
31296 <features tabularvalignment="middle">
31297 <column alignment="center" valignment="top" width="0">
31298 <column alignment="center" valignment="top" width="0">
31299 <row>
31300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31301 \begin_inset Text
31302
31303 \begin_layout Plain Layout
31304 q
31305 \end_layout
31306
31307 \end_inset
31308 </cell>
31309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31310 \begin_inset Text
31311
31312 \begin_layout Plain Layout
31313 w
31314 \end_layout
31315
31316 \end_inset
31317 </cell>
31318 </row>
31319 <row>
31320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31321 \begin_inset Text
31322
31323 \begin_layout Plain Layout
31324 e
31325 \end_layout
31326
31327 \end_inset
31328 </cell>
31329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31330 \begin_inset Text
31331
31332 \begin_layout Plain Layout
31333 r
31334 \end_layout
31335
31336 \end_inset
31337 </cell>
31338 </row>
31339 </lyxtabular>
31340
31341 \end_inset
31342
31343
31344 \begin_inset ERT
31345 status collapsed
31346
31347 \begin_layout Plain Layout
31348
31349 }
31350 \end_layout
31351
31352 \end_inset
31353
31354  and table.
31355 \end_layout
31356
31357 \begin_layout Subsection
31358 Scaled Boxes
31359 \begin_inset Index idx
31360 status collapsed
31361
31362 \begin_layout Plain Layout
31363 Boxes ! scaled
31364 \end_layout
31365
31366 \end_inset
31367
31368
31369 \begin_inset Index idx
31370 status collapsed
31371
31372 \begin_layout Plain Layout
31373 Scaled material
31374 \end_layout
31375
31376 \end_inset
31377
31378
31379 \begin_inset Index idx
31380 status collapsed
31381
31382 \begin_layout Plain Layout
31383 Figures ! scaled
31384 \end_layout
31385
31386 \end_inset
31387
31388
31389 \begin_inset Index idx
31390 status collapsed
31391
31392 \begin_layout Plain Layout
31393 Table Customization ! Scaling
31394 \end_layout
31395
31396 \end_inset
31397
31398
31399 \end_layout
31400
31401 \begin_layout Standard
31402 To scale material the commands 
31403 \series bold
31404
31405 \backslash
31406 scalebox
31407 \series default
31408  and 
31409 \series bold
31410
31411 \backslash
31412 resizebox
31413 \series default
31414  can be used as TeX-Code.
31415 \end_layout
31416
31417 \begin_layout Standard
31418
31419 \series bold
31420
31421 \backslash
31422 scalebox
31423 \series default
31424  is used with the following scheme:
31425 \end_layout
31426
31427 \begin_layout Standard
31428
31429 \series bold
31430
31431 \backslash
31432 scalebox{horizontal}[vertical]{box content}
31433 \end_layout
31434
31435 \begin_layout Standard
31436 Horizontal and vertical are the corresponding scaling factors.
31437  If no vertical scaling factor is given, the horizontal factor will also
31438  be used as the vertical one.
31439 \end_layout
31440
31441 \begin_layout Standard
31442 The command 
31443 \series bold
31444
31445 \backslash
31446 scalebox{2}{Hello}
31447 \series default
31448  creates for example a double size 
31449 \begin_inset ERT
31450 status collapsed
31451
31452 \begin_layout Plain Layout
31453
31454
31455 \backslash
31456 scalebox{2}{
31457 \end_layout
31458
31459 \end_inset
31460
31461 Hello
31462 \begin_inset ERT
31463 status collapsed
31464
31465 \begin_layout Plain Layout
31466
31467 }
31468 \end_layout
31469
31470 \end_inset
31471
31472 , compared with the document text size.
31473 \end_layout
31474
31475 \begin_layout Standard
31476
31477 \series bold
31478
31479 \backslash
31480 scalebox{2}[1]{Hello}
31481 \series default
31482  on the other hand distorts the 
31483 \begin_inset ERT
31484 status collapsed
31485
31486 \begin_layout Plain Layout
31487
31488
31489 \backslash
31490 scalebox{2}[1]{
31491 \end_layout
31492
31493 \end_inset
31494
31495 Hello
31496 \begin_inset ERT
31497 status collapsed
31498
31499 \begin_layout Plain Layout
31500
31501 }
31502 \end_layout
31503
31504 \end_inset
31505
31506 .
31507 \end_layout
31508
31509 \begin_layout Standard
31510 If the scaling factor is negative, the box content will be mirrored.
31511  Therefore the command 
31512 \series bold
31513
31514 \backslash
31515 scalebox{-1}[1]{Hello}
31516 \series default
31517  can be used to create mirror writing: 
31518 \begin_inset ERT
31519 status collapsed
31520
31521 \begin_layout Plain Layout
31522
31523
31524 \backslash
31525 scalebox{-1}[1]{
31526 \end_layout
31527
31528 \end_inset
31529
31530 Hello
31531 \begin_inset ERT
31532 status collapsed
31533
31534 \begin_layout Plain Layout
31535
31536 }
31537 \end_layout
31538
31539 \end_inset
31540
31541
31542 \end_layout
31543
31544 \begin_layout Standard
31545
31546 \series bold
31547
31548 \backslash
31549 scalebox{1}[-1]{Hello}
31550 \series default
31551  reflects the 
31552 \begin_inset ERT
31553 status collapsed
31554
31555 \begin_layout Plain Layout
31556
31557
31558 \backslash
31559 scalebox{1}[-1]{
31560 \end_layout
31561
31562 \end_inset
31563
31564 Hello
31565 \begin_inset ERT
31566 status collapsed
31567
31568 \begin_layout Plain Layout
31569
31570 }
31571 \end_layout
31572
31573 \end_inset
31574
31575  at the base line.
31576 \end_layout
31577
31578 \begin_layout Standard
31579 Equivalent to 
31580 \series bold
31581
31582 \backslash
31583 scalebox{-1}[1]{box content}
31584 \series default
31585  there exists the command
31586 \begin_inset Newline newline
31587 \end_inset
31588
31589
31590 \series bold
31591
31592 \backslash
31593 reflectbox{box content}
31594 \series default
31595 .
31596 \end_layout
31597
31598 \begin_layout Standard
31599 \begin_inset VSpace bigskip
31600 \end_inset
31601
31602 The command 
31603 \series bold
31604
31605 \backslash
31606 resizebox
31607 \series default
31608  is used to scale the box to a defined width and height.
31609  The command scheme is:
31610 \end_layout
31611
31612 \begin_layout Standard
31613
31614 \series bold
31615
31616 \backslash
31617 resizebox{width}{height}{box content}
31618 \end_layout
31619
31620 \begin_layout Standard
31621 If one of the two command arguments given is an exclamation mark 
31622 \series bold
31623 !
31624 \series default
31625 , the size is set so that the aspect ratio of the box content is kept.
31626 \end_layout
31627
31628 \begin_layout Standard
31629 The command 
31630 \series bold
31631
31632 \backslash
31633 resizebox{2cm}{1cm}{Hello}
31634 \series default
31635  produces: 
31636 \begin_inset ERT
31637 status collapsed
31638
31639 \begin_layout Plain Layout
31640
31641
31642 \backslash
31643 resizebox{2cm}{1cm}{
31644 \end_layout
31645
31646 \end_inset
31647
31648 Hello
31649 \begin_inset ERT
31650 status collapsed
31651
31652 \begin_layout Plain Layout
31653
31654 }
31655 \end_layout
31656
31657 \end_inset
31658
31659
31660 \begin_inset Newline newline
31661 \end_inset
31662
31663 The command 
31664 \series bold
31665
31666 \backslash
31667 resizebox{2cm}{!}{Hello}
31668 \series default
31669  produces: 
31670 \begin_inset ERT
31671 status collapsed
31672
31673 \begin_layout Plain Layout
31674
31675
31676 \backslash
31677 resizebox{2cm}{!}{
31678 \end_layout
31679
31680 \end_inset
31681
31682 Hello
31683 \begin_inset ERT
31684 status collapsed
31685
31686 \begin_layout Plain Layout
31687
31688 }
31689 \end_layout
31690
31691 \end_inset
31692
31693
31694 \end_layout
31695
31696 \begin_layout Standard
31697 \begin_inset VSpace bigskip
31698 \end_inset
31699
31700
31701 \begin_inset Note Greyedout
31702 status open
31703
31704 \begin_layout Plain Layout
31705
31706 \series bold
31707 Note:
31708 \series default
31709  When arguments of 
31710 \series bold
31711
31712 \backslash
31713 scalebox
31714 \series default
31715  or 
31716 \series bold
31717
31718 \backslash
31719 resizebox
31720 \series default
31721  are set to zero, no LaTeX-errors occur when exporting the document but
31722  the exported files can not or only partly be displayed.
31723 \end_layout
31724
31725 \end_inset
31726
31727
31728 \end_layout
31729
31730 \begin_layout Standard
31731 \begin_inset VSpace bigskip
31732 \end_inset
31733
31734
31735 \end_layout
31736
31737 \begin_layout Standard
31738 The boxes can be combined in any order.
31739  E.
31740 \begin_inset space \thinspace{}
31741 \end_inset
31742
31743 g.
31744 \begin_inset space \space{}
31745 \end_inset
31746
31747 the command
31748 \begin_inset Newline newline
31749 \end_inset
31750
31751
31752 \series bold
31753
31754 \backslash
31755 rotatebox[origin=c]{-45}{
31756 \backslash
31757 resizebox{2cm}{!}{
31758 \backslash
31759 reflectbox{Hello}}}
31760 \begin_inset Newline newline
31761 \end_inset
31762
31763
31764 \series default
31765 produces:
31766 \end_layout
31767
31768 \begin_layout Standard
31769 \align center
31770 \begin_inset ERT
31771 status collapsed
31772
31773 \begin_layout Plain Layout
31774
31775
31776 \backslash
31777 rotatebox[origin=c]{-45}{
31778 \backslash
31779 resizebox{2cm}{!}{
31780 \backslash
31781 reflectbox{
31782 \end_layout
31783
31784 \end_inset
31785
31786 Hello
31787 \begin_inset ERT
31788 status collapsed
31789
31790 \begin_layout Plain Layout
31791
31792 }}}
31793 \end_layout
31794
31795 \end_inset
31796
31797
31798 \end_layout
31799
31800 \begin_layout Standard
31801 \noindent
31802 Images, tables, and inline formulas are allowed as box content:
31803 \end_layout
31804
31805 \begin_layout Standard
31806 \align center
31807 \begin_inset ERT
31808 status collapsed
31809
31810 \begin_layout Plain Layout
31811
31812
31813 \backslash
31814 rotatebox[origin=c]{-30}{
31815 \backslash
31816 resizebox{2cm}{!}{
31817 \backslash
31818 reflectbox{
31819 \end_layout
31820
31821 \end_inset
31822
31823
31824 \begin_inset Graphics
31825         filename clipart/platypus.eps
31826         lyxscale 50
31827         width 25col%
31828
31829 \end_inset
31830
31831
31832 \begin_inset ERT
31833 status collapsed
31834
31835 \begin_layout Plain Layout
31836
31837 }}}
31838 \end_layout
31839
31840 \end_inset
31841
31842
31843 \begin_inset ERT
31844 status collapsed
31845
31846 \begin_layout Plain Layout
31847
31848
31849 \backslash
31850 rotatebox[origin=c]{-45}{
31851 \backslash
31852 resizebox{2cm}{!}{
31853 \backslash
31854 reflectbox{
31855 \end_layout
31856
31857 \end_inset
31858
31859
31860 \begin_inset Tabular
31861 <lyxtabular version="3" rows="2" columns="2">
31862 <features tabularvalignment="middle">
31863 <column alignment="center" valignment="top" width="0">
31864 <column alignment="center" valignment="top" width="0">
31865 <row>
31866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31867 \begin_inset Text
31868
31869 \begin_layout Plain Layout
31870 q
31871 \end_layout
31872
31873 \end_inset
31874 </cell>
31875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31876 \begin_inset Text
31877
31878 \begin_layout Plain Layout
31879 w
31880 \end_layout
31881
31882 \end_inset
31883 </cell>
31884 </row>
31885 <row>
31886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31887 \begin_inset Text
31888
31889 \begin_layout Plain Layout
31890 e
31891 \end_layout
31892
31893 \end_inset
31894 </cell>
31895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31896 \begin_inset Text
31897
31898 \begin_layout Plain Layout
31899 r
31900 \end_layout
31901
31902 \end_inset
31903 </cell>
31904 </row>
31905 </lyxtabular>
31906
31907 \end_inset
31908
31909
31910 \begin_inset ERT
31911 status collapsed
31912
31913 \begin_layout Plain Layout
31914
31915 }}}
31916 \end_layout
31917
31918 \end_inset
31919
31920
31921 \begin_inset ERT
31922 status collapsed
31923
31924 \begin_layout Plain Layout
31925
31926
31927 \backslash
31928 rotatebox[origin=c]{-45}{
31929 \backslash
31930 resizebox{2cm}{!}{
31931 \backslash
31932 reflectbox{
31933 \end_layout
31934
31935 \end_inset
31936
31937
31938 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31939 \end_inset
31940
31941
31942 \begin_inset ERT
31943 status collapsed
31944
31945 \begin_layout Plain Layout
31946
31947 }}}
31948 \end_layout
31949
31950 \end_inset
31951
31952
31953 \end_layout
31954
31955 \begin_layout Standard
31956 When the global formula style 
31957 \series bold
31958 fleqn
31959 \series default
31960  is used in the document
31961 \begin_inset Foot
31962 status collapsed
31963
31964 \begin_layout Plain Layout
31965 When 
31966 \begin_inset Quotes eld
31967 \end_inset
31968
31969 fleqn
31970 \begin_inset Quotes erd
31971 \end_inset
31972
31973  is added to the document class options.
31974 \end_layout
31975
31976 \end_inset
31977
31978 , display style formulas can also be scaled.
31979 \end_layout
31980
31981 \begin_layout Chapter
31982 External Document Parts
31983 \begin_inset Index idx
31984 status collapsed
31985
31986 \begin_layout Plain Layout
31987 External Document Parts
31988 \end_layout
31989
31990 \end_inset
31991
31992
31993 \end_layout
31994
31995 \begin_layout Standard
31996 With the menu 
31997 \family sans
31998 Insert\SpecialChar \menuseparator
31999 File
32000 \family default
32001  you can insert external material to your document.
32002  This can be:
32003 \end_layout
32004
32005 \begin_layout Description
32006 LyX
32007 \begin_inset space ~
32008 \end_inset
32009
32010 Document Another LyX document; its content is directly inserted to your
32011  document.
32012 \end_layout
32013
32014 \begin_layout Description
32015 Plain
32016 \begin_inset space ~
32017 \end_inset
32018
32019 Text A text document; each line is inserted in your document as a separate
32020  paragraph.
32021 \end_layout
32022
32023 \begin_layout Description
32024 Plain
32025 \begin_inset space ~
32026 \end_inset
32027
32028 Text,
32029 \begin_inset space ~
32030 \end_inset
32031
32032 Join
32033 \begin_inset space ~
32034 \end_inset
32035
32036 Lines A text document; text lines are inserted in your document continuously
32037  but an empty text line creates a new paragraph.
32038 \end_layout
32039
32040 \begin_layout Description
32041 External
32042 \begin_inset space ~
32043 \end_inset
32044
32045 Material Files in various formats.
32046 \end_layout
32047
32048 \begin_layout Description
32049 Child
32050 \begin_inset space ~
32051 \end_inset
32052
32053 Document LyX or LaTeX-documents.
32054 \end_layout
32055
32056 \begin_layout Section
32057 External Material
32058 \begin_inset Index idx
32059 status collapsed
32060
32061 \begin_layout Plain Layout
32062 External Document Parts ! External Material
32063 \end_layout
32064
32065 \end_inset
32066
32067
32068 \end_layout
32069
32070 \begin_layout Standard
32071 The external material feature allows you to insert files in to your document
32072  without converting them to a format that can be read by the document output
32073  format.
32074  LyX takes care of the necessary conversions.
32075  This is similar to images that can be inserted in various image formats
32076  in LyX documents.
32077  When you have enabled Instant Preview in LyX's preferences under 
32078 \family sans
32079 Look
32080 \begin_inset space ~
32081 \end_inset
32082
32083 and
32084 \begin_inset space ~
32085 \end_inset
32086
32087 feel\SpecialChar \menuseparator
32088 Graphics
32089 \family default
32090 , the external material types Dia and Xfig are directly shown in LyX.
32091 \end_layout
32092
32093 \begin_layout Standard
32094 External material can be inserted via the 
32095 \family sans
32096 External Material
32097 \family default
32098  dialog that is accessible with the menu 
32099 \family sans
32100 Insert\SpecialChar \menuseparator
32101 File\SpecialChar \menuseparator
32102 External
32103 \begin_inset space ~
32104 \end_inset
32105
32106 Material
32107 \family default
32108 .
32109  Currently the following file types (
32110 \family sans
32111 Templates
32112 \family default
32113 ) are allowed:
32114 \end_layout
32115
32116 \begin_layout Description
32117 ChessDiagram This template supports chess position diagrams made with the
32118  program 
32119 \series bold
32120
32121 \begin_inset CommandInset href
32122 LatexCommand href
32123 name "XBoard"
32124 target "http://en.wikipedia.org/wiki/XBoard"
32125
32126 \end_inset
32127
32128
32129 \series default
32130 .
32131 \end_layout
32132
32133 \begin_layout Description
32134 Date This inserts the date in the form 
32135 \emph on
32136 Day-Month-Year
32137 \emph default
32138 .
32139  This is a date inserted as external material: 
32140 \begin_inset External
32141         template Date
32142         filename .
32143
32144 \end_inset
32145
32146
32147 \begin_inset space ~
32148 \end_inset
32149
32150
32151 \begin_inset Note Note
32152 status open
32153
32154 \begin_layout Plain Layout
32155 Remove the protected space when bug 4398 is fixed!
32156 \end_layout
32157
32158 \end_inset
32159
32160
32161 \begin_inset Newline newline
32162 \end_inset
32163
32164 The date is not shown within LyX, only in the output.
32165  There are two other methods of inserting a date: Via menu 
32166 \family sans
32167 Insert\SpecialChar \menuseparator
32168 Date
32169 \family default
32170  and with the LaTeX command 
32171 \series bold
32172
32173 \backslash
32174 today
32175 \series default
32176  as TeX-Code.
32177  The different methods are compared in Table
32178 \begin_inset space ~
32179 \end_inset
32180
32181
32182 \begin_inset CommandInset ref
32183 LatexCommand ref
32184 reference "tab:Comparison-of-the"
32185
32186 \end_inset
32187
32188 .
32189 \end_layout
32190
32191 \begin_layout Description
32192 Dia This template supports diagrams created with the program 
32193 \series bold
32194
32195 \begin_inset CommandInset href
32196 LatexCommand href
32197 name "Dia"
32198 target "http://en.wikipedia.org/wiki/Dia_(software)"
32199
32200 \end_inset
32201
32202
32203 \series default
32204 .
32205 \end_layout
32206
32207 \begin_layout Description
32208 LilyPond This template is used for music notation typeset with the program
32209 \begin_inset Newline linebreak
32210 \end_inset
32211
32212
32213 \series bold
32214
32215 \begin_inset CommandInset href
32216 LatexCommand href
32217 name "LilyPond"
32218 target "http://en.wikipedia.org/wiki/LilyPond"
32219
32220 \end_inset
32221
32222
32223 \series default
32224 .
32225 \end_layout
32226
32227 \begin_layout Description
32228 PDFPages With this template you can insert PDF documents to your document.
32229  To insert certain or all pages of a PDF, use the 
32230 \emph on
32231 pages
32232 \emph default
32233  option in the 
32234 \family sans
32235 Option
32236 \family default
32237  field in the 
32238 \family sans
32239 LaTeX and LyX options
32240 \family default
32241  tab according to the template description in the dialog.
32242  When no 
32243 \emph on
32244 pages
32245 \emph default
32246  option is given, only the first page of the PDF will be inserted.
32247 \end_layout
32248
32249 \begin_layout Description
32250 RasterImage This can be used for bitmap images.
32251  Nearly all popular image formats are supported.
32252  The image can be treated in the 
32253 \family sans
32254 External material
32255 \family default
32256  dialog like the images that are usually included via the 
32257 \family sans
32258 Graphics
32259 \family default
32260  dialog as described in section
32261 \begin_inset space ~
32262 \end_inset
32263
32264
32265 \begin_inset CommandInset ref
32266 LatexCommand ref
32267 reference "sec:Graphics-Dialog"
32268
32269 \end_inset
32270
32271 .
32272  The difference is that only raster images are allowed; that means that
32273  PDF and EPS-images are not supported.
32274 \end_layout
32275
32276 \begin_layout Description
32277 XFig This template supports images created with the program 
32278 \series bold
32279
32280 \begin_inset CommandInset href
32281 LatexCommand href
32282 name "Xfig"
32283 target "http://en.wikipedia.org/wiki/Xfig"
32284
32285 \end_inset
32286
32287
32288 \series default
32289 .
32290 \end_layout
32291
32292 \begin_layout Standard
32293 \begin_inset Float table
32294 placement h
32295 wide false
32296 sideways false
32297 status open
32298
32299 \begin_layout Plain Layout
32300 \begin_inset Caption
32301
32302 \begin_layout Plain Layout
32303 \begin_inset CommandInset label
32304 LatexCommand label
32305 name "tab:Comparison-of-the"
32306
32307 \end_inset
32308
32309 Comparison of the date input methods.
32310 \end_layout
32311
32312 \end_inset
32313
32314
32315 \end_layout
32316
32317 \begin_layout Plain Layout
32318 \align center
32319 \begin_inset Tabular
32320 <lyxtabular version="3" rows="4" columns="4">
32321 <features tabularvalignment="middle">
32322 <column alignment="center" valignment="top" width="0">
32323 <column alignment="center" valignment="top" width="0">
32324 <column alignment="center" valignment="top" width="0">
32325 <column alignment="center" valignment="top" width="0">
32326 <row>
32327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32328 \begin_inset Text
32329
32330 \begin_layout Plain Layout
32331 Document format
32332 \end_layout
32333
32334 \end_inset
32335 </cell>
32336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32337 \begin_inset Text
32338
32339 \begin_layout Plain Layout
32340
32341 \family sans
32342 External Material\SpecialChar \menuseparator
32343 Date
32344 \end_layout
32345
32346 \end_inset
32347 </cell>
32348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32349 \begin_inset Text
32350
32351 \begin_layout Plain Layout
32352
32353 \family sans
32354 Insert\SpecialChar \menuseparator
32355 Date
32356 \end_layout
32357
32358 \end_inset
32359 </cell>
32360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32361 \begin_inset Text
32362
32363 \begin_layout Plain Layout
32364 command 
32365 \series bold
32366
32367 \backslash
32368 today
32369 \end_layout
32370
32371 \end_inset
32372 </cell>
32373 </row>
32374 <row>
32375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32376 \begin_inset Text
32377
32378 \begin_layout Plain Layout
32379 LyX
32380 \end_layout
32381
32382 \end_inset
32383 </cell>
32384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32385 \begin_inset Text
32386
32387 \begin_layout Plain Layout
32388 as inset box
32389 \end_layout
32390
32391 \end_inset
32392 </cell>
32393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32394 \begin_inset Text
32395
32396 \begin_layout Plain Layout
32397 as date
32398 \end_layout
32399
32400 \end_inset
32401 </cell>
32402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32403 \begin_inset Text
32404
32405 \begin_layout Plain Layout
32406 as TeX-Code inset box
32407 \end_layout
32408
32409 \end_inset
32410 </cell>
32411 </row>
32412 <row>
32413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32414 \begin_inset Text
32415
32416 \begin_layout Plain Layout
32417 LaTeX
32418 \end_layout
32419
32420 \end_inset
32421 </cell>
32422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32423 \begin_inset Text
32424
32425 \begin_layout Plain Layout
32426 as date
32427 \end_layout
32428
32429 \end_inset
32430 </cell>
32431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32432 \begin_inset Text
32433
32434 \begin_layout Plain Layout
32435 as date
32436 \end_layout
32437
32438 \end_inset
32439 </cell>
32440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32441 \begin_inset Text
32442
32443 \begin_layout Plain Layout
32444 as command
32445 \end_layout
32446
32447 \end_inset
32448 </cell>
32449 </row>
32450 <row>
32451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32452 \begin_inset Text
32453
32454 \begin_layout Plain Layout
32455 DVI, PDF, PS
32456 \end_layout
32457
32458 \end_inset
32459 </cell>
32460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32461 \begin_inset Text
32462
32463 \begin_layout Plain Layout
32464 as date
32465 \end_layout
32466
32467 \end_inset
32468 </cell>
32469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32470 \begin_inset Text
32471
32472 \begin_layout Plain Layout
32473 as date
32474 \end_layout
32475
32476 \end_inset
32477 </cell>
32478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32479 \begin_inset Text
32480
32481 \begin_layout Plain Layout
32482 as date
32483 \end_layout
32484
32485 \end_inset
32486 </cell>
32487 </row>
32488 </lyxtabular>
32489
32490 \end_inset
32491
32492
32493 \end_layout
32494
32495 \end_inset
32496
32497
32498 \end_layout
32499
32500 \begin_layout Standard
32501 When you use the option 
32502 \family sans
32503 Draft
32504 \family default
32505  in the 
32506 \family sans
32507 File
32508 \family default
32509  tab of the 
32510 \family sans
32511 External Material
32512 \family default
32513  dialog, only the path to the inserted file is shown in the output.
32514 \begin_inset Newline newline
32515 \end_inset
32516
32517 External material is displayed in LyX either as a box like this: 
32518 \begin_inset Graphics
32519         filename clipart/ExternalMaterialQt4.png
32520         scale 85
32521         scaleBeforeRotation
32522
32523 \end_inset
32524
32525  or as image, depending on the option 
32526 \family sans
32527 Show in LyX
32528 \family default
32529  in the 
32530 \family sans
32531 LaTeX and LyX options
32532 \family default
32533  tab of the dialog.
32534 \end_layout
32535
32536 \begin_layout Standard
32537 The 
32538 \family sans
32539 \emph on
32540 Customization
32541 \family default
32542 \emph default
32543  manual explains how you can define your own templates.
32544 \end_layout
32545
32546 \begin_layout Section
32547 Child Documents
32548 \begin_inset CommandInset label
32549 LatexCommand label
32550 name "sec:Child-Documents"
32551
32552 \end_inset
32553
32554
32555 \begin_inset Index idx
32556 status collapsed
32557
32558 \begin_layout Plain Layout
32559 External Document Parts ! Child Documents
32560 \end_layout
32561
32562 \end_inset
32563
32564
32565 \begin_inset Index idx
32566 status collapsed
32567
32568 \begin_layout Plain Layout
32569 Files ! Include
32570 \end_layout
32571
32572 \end_inset
32573
32574
32575 \end_layout
32576
32577 \begin_layout Standard
32578 Child documents are used when you have a long document consisting of several
32579  larger parts or sections.
32580  For maintenance it is often useful and sometimes even required to split
32581  the document in several files that can be revised separately.
32582  The different documents are then the so called child documents and a master
32583  document connects them to print the full document or parts of it.
32584  A child documents inherits elements of its master, for example the LaTeX
32585  preamble, the bibliography, and labels for cross-references.
32586 \end_layout
32587
32588 \begin_layout Standard
32589 To be able to work on child documents without the need to open their master,
32590  specify in the child document the master in the menu
32591 \family sans
32592  Document\SpecialChar \menuseparator
32593 Settings\SpecialChar \menuseparator
32594 Document
32595 \begin_inset space ~
32596 \end_inset
32597
32598 Class
32599 \family default
32600 .
32601  This master document will then be used in the background by LyX when you
32602  edit the child document.
32603 \end_layout
32604
32605 \begin_layout Standard
32606 Included documents are displayed in LyX as a box like this: 
32607 \begin_inset Graphics
32608         filename clipart/ChildDocumentQt4.png
32609         scale 85
32610         scaleBeforeRotation
32611
32612 \end_inset
32613
32614  To include child documents in a master document use the menu 
32615 \family sans
32616 Insert\SpecialChar \menuseparator
32617 File\SpecialChar \menuseparator
32618 Child
32619 \begin_inset space ~
32620 \end_inset
32621
32622 Documents
32623 \family default
32624 .
32625  A dialog pops up where you can choose between four include methods:
32626 \end_layout
32627
32628 \begin_layout Description
32629 Include You can include LyX and LaTeX-documents.
32630  When you press the 
32631 \family sans
32632 Load
32633 \family default
32634  button in the 
32635 \family sans
32636 Child Document
32637 \family default
32638  dialog, the included documents will be opened in LyX in a new file tab
32639  so that you can modify them.
32640 \begin_inset Newline newline
32641 \end_inset
32642
32643
32644 \end_layout
32645
32646 \begin_layout Standard
32647 Here is a child document inserted using 
32648 \family sans
32649 Include
32650 \family default
32651
32652 \begin_inset CommandInset include
32653 LatexCommand include
32654 filename "DummyDocument1.lyx"
32655
32656 \end_inset
32657
32658
32659 \end_layout
32660
32661 \begin_layout Standard
32662 The section numbering includes the sections of the included files in the
32663  order they are inserted in the master document.
32664  The included example document has for example a subsection that is numbered
32665  as a subsection of this section.
32666  Labels of included documents can be referenced: Subsection
32667 \begin_inset space ~
32668 \end_inset
32669
32670
32671 \begin_inset CommandInset ref
32672 LatexCommand ref
32673 reference "sub:External-Subsection-1"
32674
32675 \end_inset
32676
32677
32678 \end_layout
32679
32680 \begin_layout Standard
32681 The preamble of the child document is ignored; only the preamble of the
32682  master document is used.
32683  Branches in child documents will be ignored by the master document when
32684  the master document does not have a branch with the same name.
32685  Included documents are inserted starting on a new page and ending with
32686  a page break.
32687 \end_layout
32688
32689 \begin_layout Standard
32690 If you are only working on a certain chapter of a large document and want
32691  to save compiling time, you can put each included file into a branch.
32692 \begin_inset Foot
32693 status collapsed
32694
32695 \begin_layout Plain Layout
32696 Branches are described in section 
32697 \emph on
32698 Branches
32699 \emph default
32700  of the LyX 
32701 \emph on
32702 Userguide
32703 \emph default
32704 .
32705 \end_layout
32706
32707 \end_inset
32708
32709  By enabling/disabling branches you can decide what included files will
32710  appear in the output.
32711 \end_layout
32712
32713 \begin_layout Standard
32714 \begin_inset Note Greyedout
32715 status open
32716
32717 \begin_layout Plain Layout
32718
32719 \series bold
32720 Note:
32721 \series default
32722  Due to a bug in LyX the LaTeX command 
32723 \series bold
32724
32725 \backslash
32726 includeonly
32727 \series default
32728  can currently not be used as an alternative to decide what files should
32729  be included.
32730 \end_layout
32731
32732 \end_inset
32733
32734
32735 \end_layout
32736
32737 \begin_layout Standard
32738 \begin_inset Note Greyedout
32739 status open
32740
32741 \begin_layout Plain Layout
32742
32743 \series bold
32744 Note:
32745 \series default
32746  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
32747 w the document in case the child document uses another document class than
32748  the master document as this will lead to unexpected outputs.
32749 \end_layout
32750
32751 \end_inset
32752
32753
32754 \end_layout
32755
32756 \begin_layout Description
32757 Input This method is very similar to the Include method.
32758  The differences are:
32759 \end_layout
32760
32761 \begin_deeper
32762 \begin_layout Itemize
32763 Input files don't start with a new page and don't end with a page break.
32764 \end_layout
32765
32766 \begin_layout Itemize
32767 Input files can be previewed in LyX when 
32768 \family sans
32769 Instant
32770 \begin_inset space ~
32771 \end_inset
32772
32773 Preview
32774 \family default
32775  is enabled in LyX's preferences under 
32776 \family sans
32777 Look
32778 \begin_inset space ~
32779 \end_inset
32780
32781 and
32782 \begin_inset space ~
32783 \end_inset
32784
32785 feel\SpecialChar \menuseparator
32786 Graphics
32787 \family default
32788 .
32789 \end_layout
32790
32791 \begin_layout Itemize
32792 The LaTeX-command 
32793 \series bold
32794
32795 \backslash
32796 includeonly
32797 \series default
32798  cannot be used.
32799 \end_layout
32800
32801 \end_deeper
32802 \begin_layout Standard
32803 Here is a child document inserted using 
32804 \family sans
32805 Input
32806 \family default
32807
32808 \begin_inset CommandInset include
32809 LatexCommand input
32810 filename "DummyDocument2.lyx"
32811
32812 \end_inset
32813
32814
32815 \end_layout
32816
32817 \begin_layout Description
32818 Verbatim With this method every text file can be included.
32819  The file is shown in the output with its source code; no command used in
32820  the text is invoked.
32821  You can use the option 
32822 \family sans
32823 Mark spaces in output
32824 \family default
32825  that displays the character 
32826 \begin_inset Quotes eld
32827 \end_inset
32828
32829
32830 \begin_inset ERT
32831 status collapsed
32832
32833 \begin_layout Plain Layout
32834
32835
32836 \backslash
32837 textvisiblespace 
32838 \end_layout
32839
32840 \end_inset
32841
32842
32843 \begin_inset Quotes erd
32844 \end_inset
32845
32846  for every space character in the source code.
32847  The difference from the method via the menu 
32848 \family sans
32849 Insert\SpecialChar \menuseparator
32850 File\SpecialChar \menuseparator
32851 Plain
32852 \begin_inset space ~
32853 \end_inset
32854
32855 Text
32856 \family default
32857  is that the document content is not shown in LyX.
32858 \end_layout
32859
32860 \begin_layout Standard
32861 Here is a child document inserted as Verbatim: 
32862 \begin_inset CommandInset include
32863 LatexCommand verbatiminput
32864 filename "DummyTextDocument.txt"
32865
32866 \end_inset
32867
32868
32869 \begin_inset VSpace bigskip
32870 \end_inset
32871
32872 Here is a child document inserted as Verbatim using the 
32873 \family sans
32874 Mark spaces in output
32875 \family default
32876  option: 
32877 \begin_inset CommandInset include
32878 LatexCommand verbatiminput*
32879 filename "DummyTextDocument.txt"
32880
32881 \end_inset
32882
32883
32884 \end_layout
32885
32886 \begin_layout Standard
32887 \begin_inset VSpace bigskip
32888 \end_inset
32889
32890
32891 \end_layout
32892
32893 \begin_layout Standard
32894 \begin_inset Note Greyedout
32895 status open
32896
32897 \begin_layout Plain Layout
32898
32899 \series bold
32900 Note:
32901 \series default
32902  As you can see in the examples above, the text of the documents included
32903  as 
32904 \family sans
32905 verbatim
32906 \family default
32907  is not broken at the end of the document lines.
32908 \end_layout
32909
32910 \end_inset
32911
32912
32913 \end_layout
32914
32915 \begin_layout Description
32916 Listings This type is described in chapter
32917 \begin_inset space ~
32918 \end_inset
32919
32920
32921 \begin_inset CommandInset ref
32922 LatexCommand ref
32923 reference "cha:Program-Code-Listings"
32924
32925 \end_inset
32926
32927 .
32928 \end_layout
32929
32930 \begin_layout Standard
32931 \begin_inset Note Greyedout
32932 status open
32933
32934 \begin_layout Plain Layout
32935
32936 \series bold
32937 Note:
32938 \series default
32939  Including the same document twice in a document using different methods
32940  could cause LaTeX-problems.
32941 \end_layout
32942
32943 \end_inset
32944
32945
32946 \end_layout
32947
32948 \begin_layout Chapter
32949 Program Code Listings
32950 \begin_inset CommandInset label
32951 LatexCommand label
32952 name "cha:Program-Code-Listings"
32953
32954 \end_inset
32955
32956
32957 \begin_inset Index idx
32958 status collapsed
32959
32960 \begin_layout Plain Layout
32961 Listings
32962 \end_layout
32963
32964 \end_inset
32965
32966
32967 \begin_inset Index idx
32968 status collapsed
32969
32970 \begin_layout Plain Layout
32971 Program Code
32972 \end_layout
32973
32974 \end_inset
32975
32976
32977 \begin_inset Index idx
32978 status collapsed
32979
32980 \begin_layout Plain Layout
32981 Floats ! Listings
32982 \end_layout
32983
32984 \end_inset
32985
32986
32987 \end_layout
32988
32989 \begin_layout Standard
32990 To include and typeset program code you can use the 
32991 \family sans
32992 Listings
32993 \family default
32994  inset that can be inserted via the menu 
32995 \family sans
32996 Insert\SpecialChar \menuseparator
32997 Program Listing
32998 \family default
32999 .
33000  The LaTeX-package 
33001 \series bold
33002 listings
33003 \series default
33004
33005 \begin_inset Index idx
33006 status collapsed
33007
33008 \begin_layout Plain Layout
33009 LaTeX-packages ! listings
33010 \end_layout
33011
33012 \end_inset
33013
33014  provides a powerful and flexible way to insert program source code into
33015  your document.
33016 \end_layout
33017
33018 \begin_layout Standard
33019 Right-clicking on a listings inset opens the context menu containing where
33020  you can set the listings format.
33021 \end_layout
33022
33023 \begin_layout Standard
33024 By default, a listing starts a new paragraph in the output.
33025  The placement option 
33026 \family sans
33027 Inline
33028 \begin_inset space ~
33029 \end_inset
33030
33031 listing
33032 \family default
33033  prints the listing inline like this: 
33034 \begin_inset listings
33035 lstparams "language={C++}"
33036 inline true
33037 status open
33038
33039 \begin_layout Plain Layout
33040
33041 int a=5;
33042 \end_layout
33043
33044 \end_inset
33045
33046
33047 \begin_inset Newline newline
33048 \end_inset
33049
33050 The option 
33051 \family sans
33052 Float
33053 \family default
33054  creates a listings float where you can specify the placement options 
33055 \begin_inset Quotes eld
33056 \end_inset
33057
33058
33059 \family sans
33060 h
33061 \family default
33062
33063 \begin_inset Quotes erd
33064 \end_inset
33065
33066
33067 \begin_inset Quotes eld
33068 \end_inset
33069
33070
33071 \family sans
33072 t
33073 \family default
33074
33075 \begin_inset Quotes erd
33076 \end_inset
33077
33078
33079 \begin_inset Quotes eld
33080 \end_inset
33081
33082
33083 \family sans
33084 b
33085 \family default
33086
33087 \begin_inset Quotes erd
33088 \end_inset
33089
33090 , and 
33091 \begin_inset Quotes eld
33092 \end_inset
33093
33094
33095 \family sans
33096 p
33097 \family default
33098
33099 \begin_inset Quotes erd
33100 \end_inset
33101
33102  corresponding to the float placement options described in section
33103 \begin_inset space ~
33104 \end_inset
33105
33106
33107 \begin_inset CommandInset ref
33108 LatexCommand ref
33109 reference "sec:Float-Placement"
33110
33111 \end_inset
33112
33113 .
33114  The placement options can be mixed and are inserted without any separation,
33115  e.
33116 \begin_inset space \thinspace{}
33117 \end_inset
33118
33119 g.
33120 \begin_inset space \space{}
33121 \end_inset
33122
33123
33124 \begin_inset Quotes eld
33125 \end_inset
33126
33127
33128 \family sans
33129 htbp
33130 \family default
33131
33132 \begin_inset Quotes erd
33133 \end_inset
33134
33135 .
33136  The option 
33137 \begin_inset Quotes eld
33138 \end_inset
33139
33140 h
33141 \begin_inset Quotes erd
33142 \end_inset
33143
33144  has sometimes no effect, but you don't need to use the 
33145 \family sans
33146 Float
33147 \family default
33148  option in this case as also non-float listings can have captions and be
33149  referenced.
33150 \end_layout
33151
33152 \begin_layout Standard
33153 You can add captions to listings with the menu 
33154 \family sans
33155 Insert\SpecialChar \menuseparator
33156 Caption
33157 \family default
33158 .
33159  Listings can be referenced like floats: Listing
33160 \begin_inset space ~
33161 \end_inset
33162
33163
33164 \begin_inset CommandInset ref
33165 LatexCommand ref
33166 reference "lst:Example-Listing"
33167
33168 \end_inset
33169
33170
33171 \end_layout
33172
33173 \begin_layout Standard
33174 \begin_inset listings
33175 lstparams "language=Python"
33176 inline false
33177 status open
33178
33179 \begin_layout Plain Layout
33180
33181 \begin_inset Caption
33182
33183 \begin_layout Plain Layout
33184 \begin_inset CommandInset label
33185 LatexCommand label
33186 name "lst:Example-Listing"
33187
33188 \end_inset
33189
33190 Example Listing float
33191 \end_layout
33192
33193 \end_inset
33194
33195 # Example listing float
33196 \end_layout
33197
33198 \begin_layout Plain Layout
33199
33200 def func(param):
33201 \end_layout
33202
33203 \begin_layout Plain Layout
33204
33205     'this is a python function'
33206 \end_layout
33207
33208 \begin_layout Plain Layout
33209
33210     pass
33211 \end_layout
33212
33213 \end_inset
33214
33215
33216 \end_layout
33217
33218 \begin_layout Standard
33219 When you have set a programming language in the listings dialog, the keywords
33220  of this language will be recognized and specially typeset in the output.
33221  In the example listings the Python keyword 
33222 \begin_inset Quotes eld
33223 \end_inset
33224
33225 def
33226 \begin_inset Quotes erd
33227 \end_inset
33228
33229  is recognized and printed bold in the output.
33230 \end_layout
33231
33232 \begin_layout Standard
33233 \begin_inset Note Greyedout
33234 status open
33235
33236 \begin_layout Plain Layout
33237
33238 \series bold
33239 Note:
33240 \series default
33241  If you don't get bold keywords when using typewriter fonts, your 
33242 \family typewriter
33243 typewriter
33244 \family default
33245  font probably doesn't provide a bold shape.
33246  In this case select a different one in the menu 
33247 \family sans
33248 Document\SpecialChar \menuseparator
33249 Settings\SpecialChar \menuseparator
33250 Fonts
33251 \family default
33252 .
33253  (The fonts 
33254 \emph on
33255 LuxiMono, BeraMono
33256 \emph default
33257  and 
33258 \emph on
33259 Courier
33260 \emph default
33261  provide bold shapes.)
33262 \end_layout
33263
33264 \end_inset
33265
33266
33267 \end_layout
33268
33269 \begin_layout Standard
33270 In section 
33271 \family sans
33272 Line
33273 \begin_inset space ~
33274 \end_inset
33275
33276 numbering
33277 \family default
33278  of the listings dialog you can specify the line numbering style.
33279  You can insert a number to specify which lines are numbered in the field
33280  
33281 \family sans
33282 Step
33283 \family default
33284 .
33285  When you insert e.
33286 \begin_inset space \thinspace{}
33287 \end_inset
33288
33289 g.
33290 \begin_inset space \space{}
33291 \end_inset
33292
33293
33294 \begin_inset Quotes eld
33295 \end_inset
33296
33297 3
33298 \begin_inset Quotes erd
33299 \end_inset
33300
33301 , only every 3rd line will be numbered.
33302 \end_layout
33303
33304 \begin_layout Standard
33305 You can furthermore specify a range of lines; only these will then appear
33306  in the output.
33307  The option 
33308 \family sans
33309 Extended character table
33310 \family default
33311  should be used when you use national characters like the German umlauts
33312  in the listing.
33313 \begin_inset Newline newline
33314 \end_inset
33315
33316 Here is an example listing with left line numbering, step 
33317 \begin_inset Quotes eld
33318 \end_inset
33319
33320 3
33321 \begin_inset Quotes erd
33322 \end_inset
33323
33324 , language 
33325 \begin_inset Quotes eld
33326 \end_inset
33327
33328 Python
33329 \begin_inset Quotes erd
33330 \end_inset
33331
33332 , options 
33333 \begin_inset Quotes eld
33334 \end_inset
33335
33336 Extended character table
33337 \begin_inset Quotes erd
33338 \end_inset
33339
33340  and 
33341 \begin_inset Quotes eld
33342 \end_inset
33343
33344 Space
33345 \begin_inset space ~
33346 \end_inset
33347
33348 as
33349 \begin_inset space ~
33350 \end_inset
33351
33352 symbol
33353 \begin_inset Quotes erd
33354 \end_inset
33355
33356 , range lines 3
33357 \begin_inset space \thinspace{}
33358 \end_inset
33359
33360 -
33361 \begin_inset space \thinspace{}
33362 \end_inset
33363
33364 8:
33365 \end_layout
33366
33367 \begin_layout Standard
33368 \begin_inset listings
33369 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
33370 inline false
33371 status open
33372
33373 \begin_layout Plain Layout
33374
33375 def func(param):
33376 \end_layout
33377
33378 \begin_layout Plain Layout
33379
33380     'this is a python function'
33381 \end_layout
33382
33383 \begin_layout Plain Layout
33384
33385     pass
33386 \end_layout
33387
33388 \begin_layout Plain Layout
33389
33390 def func(param):
33391 \end_layout
33392
33393 \begin_layout Plain Layout
33394
33395 'This is a German word: Tschüß'
33396 \end_layout
33397
33398 \begin_layout Plain Layout
33399
33400 pass
33401 \end_layout
33402
33403 \begin_layout Plain Layout
33404
33405 def func(param):
33406 \end_layout
33407
33408 \begin_layout Plain Layout
33409
33410 'this is a python function'
33411 \end_layout
33412
33413 \begin_layout Plain Layout
33414
33415 pass
33416 \end_layout
33417
33418 \end_inset
33419
33420
33421 \end_layout
33422
33423 \begin_layout Standard
33424 When you have tabulators in your listing, you can specify the number of
33425  characters that are spanned by a tabulator in the field 
33426 \family sans
33427 Tabulator
33428 \begin_inset space ~
33429 \end_inset
33430
33431 size
33432 \family default
33433 .
33434 \end_layout
33435
33436 \begin_layout Standard
33437 \begin_inset Note Greyedout
33438 status open
33439
33440 \begin_layout Plain Layout
33441
33442 \series bold
33443 Note:
33444 \series default
33445  Due to a bug in the 
33446 \series bold
33447 listings
33448 \series default
33449  package the line numbering is shifted by a line by every previous listing.
33450  That's the reason why the lines 2 and 5 are numbered in the above listing
33451  and not the lines 3 and 6.
33452 \end_layout
33453
33454 \end_inset
33455
33456
33457 \end_layout
33458
33459 \begin_layout Standard
33460 \begin_inset VSpace bigskip
33461 \end_inset
33462
33463
33464 \end_layout
33465
33466 \begin_layout Standard
33467 It is also possible to print lines from a file as listing.
33468  To do this, use the menu 
33469 \family sans
33470 Insert\SpecialChar \menuseparator
33471 File\SpecialChar \menuseparator
33472 Child Document
33473 \family default
33474  and choose the type 
33475 \family sans
33476 Listings
33477 \family default
33478 .
33479 \begin_inset Foot
33480 status collapsed
33481
33482 \begin_layout Plain Layout
33483 The other child document types are described in section
33484 \begin_inset space ~
33485 \end_inset
33486
33487
33488 \begin_inset CommandInset ref
33489 LatexCommand ref
33490 reference "sec:Child-Documents"
33491
33492 \end_inset
33493
33494 .
33495 \end_layout
33496
33497 \end_inset
33498
33499  In the child document dialog you can specify the listing parameters in
33500  a text box.
33501  To show a list of all available parameters, type in a question mark 
33502 \begin_inset Quotes eld
33503 \end_inset
33504
33505 ?
33506 \begin_inset Quotes erd
33507 \end_inset
33508
33509  in the text box.
33510 \end_layout
33511
33512 \begin_layout Standard
33513 To reference child document listings, write a label text into the corresponding
33514  field of the child document dialog.
33515  The label can then be referenced using the menu 
33516 \family sans
33517 Insert\SpecialChar \menuseparator
33518 Cross-Reference
33519 \family default
33520 .
33521 \end_layout
33522
33523 \begin_layout Standard
33524 Listing
33525 \begin_inset space ~
33526 \end_inset
33527
33528
33529 \begin_inset CommandInset ref
33530 LatexCommand ref
33531 reference "lst:file-listing"
33532
33533 \end_inset
33534
33535  is an example for a listing of a file; there the lines 10
33536 \begin_inset space \thinspace{}
33537 \end_inset
33538
33539 -
33540 \begin_inset space \thinspace{}
33541 \end_inset
33542
33543 15 of this LyX file are listed.
33544 \end_layout
33545
33546 \begin_layout Standard
33547 \begin_inset CommandInset include
33548 LatexCommand lstinputlisting
33549 filename "EmbeddedObjects.lyx"
33550 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33551
33552 \end_inset
33553
33554
33555 \end_layout
33556
33557 \begin_layout Standard
33558 \begin_inset VSpace bigskip
33559 \end_inset
33560
33561
33562 \end_layout
33563
33564 \begin_layout Standard
33565 Inserting a formula into a listing can be done the following way:
33566 \end_layout
33567
33568 \begin_layout Enumerate
33569 Open the listings dialog and add
33570 \begin_inset Newline newline
33571 \end_inset
33572
33573
33574 \family sans
33575 mathescape=true
33576 \family default
33577
33578 \begin_inset Newline newline
33579 \end_inset
33580
33581 to the field of the 
33582 \family sans
33583 Advanced
33584 \family default
33585  tab.
33586 \end_layout
33587
33588 \begin_layout Enumerate
33589 Create a formula outside the listing
33590 \end_layout
33591
33592 \begin_layout Enumerate
33593 Copy the content of the formula (not the formula inset) to the clipboard
33594  (shortcut 
33595 \begin_inset Info
33596 type  "shortcut"
33597 arg   "copy"
33598 \end_inset
33599
33600 )
33601 \end_layout
33602
33603 \begin_layout Enumerate
33604 In the listing write 
33605 \begin_inset Quotes eld
33606 \end_inset
33607
33608
33609 \family sans
33610 $$
33611 \family default
33612
33613 \begin_inset Quotes erd
33614 \end_inset
33615
33616  and copy from the clipboard between the dollar-signs (shortcut 
33617 \begin_inset Info
33618 type  "shortcut"
33619 arg   "paste"
33620 \end_inset
33621
33622 )
33623 \end_layout
33624
33625 \begin_layout Standard
33626 \begin_inset listings
33627 lstparams "language=Python,mathescape=true"
33628 inline false
33629 status open
33630
33631 \begin_layout Plain Layout
33632
33633 \begin_inset Caption
33634
33635 \begin_layout Plain Layout
33636 Example Listing float containing a formula
33637 \end_layout
33638
33639 \end_inset
33640
33641 # Example listing float
33642 \end_layout
33643
33644 \begin_layout Plain Layout
33645
33646 def func(param):
33647 \end_layout
33648
33649 \begin_layout Plain Layout
33650
33651     # $
33652 \backslash
33653 prod_{n=1}^{
33654 \backslash
33655 infty}
33656 \backslash
33657 ,
33658 \backslash
33659 frac{1}{x^{2}}$
33660 \end_layout
33661
33662 \begin_layout Plain Layout
33663
33664     pass
33665 \end_layout
33666
33667 \end_inset
33668
33669
33670 \end_layout
33671
33672 \begin_layout Standard
33673 \begin_inset VSpace bigskip
33674 \end_inset
33675
33676
33677 \end_layout
33678
33679 \begin_layout Standard
33680 Global listings settings can be set in the 
33681 \family sans
33682 Document\SpecialChar \menuseparator
33683 Settings\SpecialChar \menuseparator
33684 Text Layout
33685 \family default
33686  dialog.
33687  To get there a list of available options, type in a question mark 
33688 \begin_inset Quotes eld
33689 \end_inset
33690
33691 ?
33692 \begin_inset Quotes erd
33693 \end_inset
33694
33695  in the 
33696 \family sans
33697 Listings
33698 \begin_inset space ~
33699 \end_inset
33700
33701 settings
33702 \family default
33703  field.
33704 \end_layout
33705
33706 \begin_layout Standard
33707 For more information about the 
33708 \series bold
33709 listings
33710 \series default
33711  package, we refer to its documentation 
33712 \begin_inset CommandInset citation
33713 LatexCommand cite
33714 key "listings"
33715
33716 \end_inset
33717
33718 .
33719 \end_layout
33720
33721 \begin_layout Standard
33722 \begin_inset Newpage newpage
33723 \end_inset
33724
33725
33726 \end_layout
33727
33728 \begin_layout Chapter
33729 \start_of_appendix
33730 Units available in LyX
33731 \begin_inset Index idx
33732 status collapsed
33733
33734 \begin_layout Plain Layout
33735 Units
33736 \end_layout
33737
33738 \end_inset
33739
33740
33741 \begin_inset CommandInset label
33742 LatexCommand label
33743 name "cha:Units-available-in"
33744
33745 \end_inset
33746
33747
33748 \end_layout
33749
33750 \begin_layout Standard
33751 To understand the units described in this documentation, Table
33752 \begin_inset space ~
33753 \end_inset
33754
33755
33756 \begin_inset CommandInset ref
33757 LatexCommand ref
33758 reference "tab:Units"
33759
33760 \end_inset
33761
33762  explains all units available in LyX.
33763 \end_layout
33764
33765 \begin_layout Standard
33766 \begin_inset Float table
33767 placement h
33768 wide false
33769 sideways false
33770 status open
33771
33772 \begin_layout Plain Layout
33773 \begin_inset Caption
33774
33775 \begin_layout Plain Layout
33776 \begin_inset CommandInset label
33777 LatexCommand label
33778 name "tab:Units"
33779
33780 \end_inset
33781
33782 Units
33783 \end_layout
33784
33785 \end_inset
33786
33787
33788 \end_layout
33789
33790 \begin_layout Plain Layout
33791 \begin_inset VSpace medskip
33792 \end_inset
33793
33794
33795 \end_layout
33796
33797 \begin_layout Plain Layout
33798 \align center
33799 \begin_inset Tabular
33800 <lyxtabular version="3" rows="20" columns="2">
33801 <features tabularvalignment="middle">
33802 <column alignment="center" valignment="top" width="0">
33803 <column alignment="center" valignment="top" width="0">
33804 <row>
33805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33806 \begin_inset Text
33807
33808 \begin_layout Plain Layout
33809 unit
33810 \end_layout
33811
33812 \end_inset
33813 </cell>
33814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33815 \begin_inset Text
33816
33817 \begin_layout Plain Layout
33818 name/description
33819 \end_layout
33820
33821 \end_inset
33822 </cell>
33823 </row>
33824 <row>
33825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33826 \begin_inset Text
33827
33828 \begin_layout Plain Layout
33829 mm
33830 \end_layout
33831
33832 \end_inset
33833 </cell>
33834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33835 \begin_inset Text
33836
33837 \begin_layout Plain Layout
33838 millimeter
33839 \end_layout
33840
33841 \end_inset
33842 </cell>
33843 </row>
33844 <row>
33845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33846 \begin_inset Text
33847
33848 \begin_layout Plain Layout
33849 cm
33850 \end_layout
33851
33852 \end_inset
33853 </cell>
33854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33855 \begin_inset Text
33856
33857 \begin_layout Plain Layout
33858 centimeter
33859 \end_layout
33860
33861 \end_inset
33862 </cell>
33863 </row>
33864 <row>
33865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33866 \begin_inset Text
33867
33868 \begin_layout Plain Layout
33869 in
33870 \end_layout
33871
33872 \end_inset
33873 </cell>
33874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33875 \begin_inset Text
33876
33877 \begin_layout Plain Layout
33878 inch
33879 \end_layout
33880
33881 \end_inset
33882 </cell>
33883 </row>
33884 <row>
33885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33886 \begin_inset Text
33887
33888 \begin_layout Plain Layout
33889 pt
33890 \end_layout
33891
33892 \end_inset
33893 </cell>
33894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33895 \begin_inset Text
33896
33897 \begin_layout Plain Layout
33898 point (72.27
33899 \begin_inset space \thinspace{}
33900 \end_inset
33901
33902 pt = 1
33903 \begin_inset space \thinspace{}
33904 \end_inset
33905
33906 in)
33907 \end_layout
33908
33909 \end_inset
33910 </cell>
33911 </row>
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 pc
33918 \end_layout
33919
33920 \end_inset
33921 </cell>
33922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33923 \begin_inset Text
33924
33925 \begin_layout Plain Layout
33926 pica (1
33927 \begin_inset space \thinspace{}
33928 \end_inset
33929
33930 pc = 12
33931 \begin_inset space \thinspace{}
33932 \end_inset
33933
33934 pt)
33935 \end_layout
33936
33937 \end_inset
33938 </cell>
33939 </row>
33940 <row>
33941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33942 \begin_inset Text
33943
33944 \begin_layout Plain Layout
33945 sp
33946 \end_layout
33947
33948 \end_inset
33949 </cell>
33950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33951 \begin_inset Text
33952
33953 \begin_layout Plain Layout
33954 scaled point (65536
33955 \begin_inset space \thinspace{}
33956 \end_inset
33957
33958 sp = 1
33959 \begin_inset space \thinspace{}
33960 \end_inset
33961
33962 pt)
33963 \end_layout
33964
33965 \end_inset
33966 </cell>
33967 </row>
33968 <row>
33969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33970 \begin_inset Text
33971
33972 \begin_layout Plain Layout
33973 bp
33974 \end_layout
33975
33976 \end_inset
33977 </cell>
33978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33979 \begin_inset Text
33980
33981 \begin_layout Plain Layout
33982 big point (72
33983 \begin_inset space \thinspace{}
33984 \end_inset
33985
33986 bp = 1
33987 \begin_inset space \thinspace{}
33988 \end_inset
33989
33990 in)
33991 \end_layout
33992
33993 \end_inset
33994 </cell>
33995 </row>
33996 <row>
33997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33998 \begin_inset Text
33999
34000 \begin_layout Plain Layout
34001 dd
34002 \end_layout
34003
34004 \end_inset
34005 </cell>
34006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34007 \begin_inset Text
34008
34009 \begin_layout Plain Layout
34010 didot (1
34011 \begin_inset space \thinspace{}
34012 \end_inset
34013
34014 dd 
34015 \begin_inset Formula $\approx$
34016 \end_inset
34017
34018  0.376
34019 \begin_inset space \thinspace{}
34020 \end_inset
34021
34022 mm)
34023 \end_layout
34024
34025 \end_inset
34026 </cell>
34027 </row>
34028 <row>
34029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34030 \begin_inset Text
34031
34032 \begin_layout Plain Layout
34033 cc
34034 \end_layout
34035
34036 \end_inset
34037 </cell>
34038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34039 \begin_inset Text
34040
34041 \begin_layout Plain Layout
34042 cicero (1
34043 \begin_inset space \thinspace{}
34044 \end_inset
34045
34046 cc = 12
34047 \begin_inset space \thinspace{}
34048 \end_inset
34049
34050 dd)
34051 \end_layout
34052
34053 \end_inset
34054 </cell>
34055 </row>
34056 <row>
34057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34058 \begin_inset Text
34059
34060 \begin_layout Plain Layout
34061 Scale%
34062 \end_layout
34063
34064 \end_inset
34065 </cell>
34066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34067 \begin_inset Text
34068
34069 \begin_layout Plain Layout
34070 % of original image width
34071 \end_layout
34072
34073 \end_inset
34074 </cell>
34075 </row>
34076 <row>
34077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34078 \begin_inset Text
34079
34080 \begin_layout Plain Layout
34081 text%
34082 \end_layout
34083
34084 \end_inset
34085 </cell>
34086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34087 \begin_inset Text
34088
34089 \begin_layout Plain Layout
34090 % of text width
34091 \end_layout
34092
34093 \end_inset
34094 </cell>
34095 </row>
34096 <row>
34097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34098 \begin_inset Text
34099
34100 \begin_layout Plain Layout
34101 col%
34102 \end_layout
34103
34104 \end_inset
34105 </cell>
34106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34107 \begin_inset Text
34108
34109 \begin_layout Plain Layout
34110 % of column width
34111 \end_layout
34112
34113 \end_inset
34114 </cell>
34115 </row>
34116 <row>
34117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34118 \begin_inset Text
34119
34120 \begin_layout Plain Layout
34121 page%
34122 \end_layout
34123
34124 \end_inset
34125 </cell>
34126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34127 \begin_inset Text
34128
34129 \begin_layout Plain Layout
34130 % of paper width
34131 \end_layout
34132
34133 \end_inset
34134 </cell>
34135 </row>
34136 <row>
34137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34138 \begin_inset Text
34139
34140 \begin_layout Plain Layout
34141 line%
34142 \end_layout
34143
34144 \end_inset
34145 </cell>
34146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34147 \begin_inset Text
34148
34149 \begin_layout Plain Layout
34150 % of line width
34151 \end_layout
34152
34153 \end_inset
34154 </cell>
34155 </row>
34156 <row>
34157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34158 \begin_inset Text
34159
34160 \begin_layout Plain Layout
34161 theight%
34162 \end_layout
34163
34164 \end_inset
34165 </cell>
34166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34167 \begin_inset Text
34168
34169 \begin_layout Plain Layout
34170 % of text height
34171 \end_layout
34172
34173 \end_inset
34174 </cell>
34175 </row>
34176 <row>
34177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34178 \begin_inset Text
34179
34180 \begin_layout Plain Layout
34181 pheight%
34182 \end_layout
34183
34184 \end_inset
34185 </cell>
34186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34187 \begin_inset Text
34188
34189 \begin_layout Plain Layout
34190 % of paper height
34191 \end_layout
34192
34193 \end_inset
34194 </cell>
34195 </row>
34196 <row>
34197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34198 \begin_inset Text
34199
34200 \begin_layout Plain Layout
34201 ex
34202 \end_layout
34203
34204 \end_inset
34205 </cell>
34206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34207 \begin_inset Text
34208
34209 \begin_layout Plain Layout
34210 height of letter 
34211 \emph on
34212 x
34213 \emph default
34214  in current font
34215 \end_layout
34216
34217 \end_inset
34218 </cell>
34219 </row>
34220 <row>
34221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34222 \begin_inset Text
34223
34224 \begin_layout Plain Layout
34225 em
34226 \end_layout
34227
34228 \end_inset
34229 </cell>
34230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34231 \begin_inset Text
34232
34233 \begin_layout Plain Layout
34234 width of letter 
34235 \emph on
34236 M
34237 \emph default
34238  in current font
34239 \end_layout
34240
34241 \end_inset
34242 </cell>
34243 </row>
34244 <row>
34245 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34246 \begin_inset Text
34247
34248 \begin_layout Plain Layout
34249 mu
34250 \end_layout
34251
34252 \end_inset
34253 </cell>
34254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34255 \begin_inset Text
34256
34257 \begin_layout Plain Layout
34258 math unit (1
34259 \begin_inset space \thinspace{}
34260 \end_inset
34261
34262 mu = 1/18
34263 \begin_inset space \thinspace{}
34264 \end_inset
34265
34266 em)
34267 \end_layout
34268
34269 \end_inset
34270 </cell>
34271 </row>
34272 </lyxtabular>
34273
34274 \end_inset
34275
34276
34277 \end_layout
34278
34279 \end_inset
34280
34281
34282 \end_layout
34283
34284 \begin_layout Chapter
34285 Output File Formats with Graphics
34286 \begin_inset CommandInset label
34287 LatexCommand label
34288 name "cha:Output-File-Formats"
34289
34290 \end_inset
34291
34292
34293 \end_layout
34294
34295 \begin_layout Section
34296 DVI
34297 \begin_inset Index idx
34298 status collapsed
34299
34300 \begin_layout Plain Layout
34301 File Formats ! DVI
34302 \end_layout
34303
34304 \end_inset
34305
34306
34307 \begin_inset Index idx
34308 status collapsed
34309
34310 \begin_layout Plain Layout
34311 DVI|see
34312 \begin_inset ERT
34313 status collapsed
34314
34315 \begin_layout Plain Layout
34316
34317 {
34318 \end_layout
34319
34320 \end_inset
34321
34322 File Formats
34323 \begin_inset ERT
34324 status collapsed
34325
34326 \begin_layout Plain Layout
34327
34328 }
34329 \end_layout
34330
34331 \end_inset
34332
34333
34334 \end_layout
34335
34336 \end_inset
34337
34338
34339 \end_layout
34340
34341 \begin_layout Standard
34342 This file type has the extension 
34343 \begin_inset Quotes eld
34344 \end_inset
34345
34346
34347 \family typewriter
34348 .dvi
34349 \family default
34350
34351 \begin_inset Quotes erd
34352 \end_inset
34353
34354 .
34355  It is called 
34356 \begin_inset Quotes eld
34357 \end_inset
34358
34359 device-independent
34360 \begin_inset Quotes erd
34361 \end_inset
34362
34363  (DVI), because it is completely portable; you can move them from one machine
34364  to another without needing to do any sort of conversion.
34365  At the time when this file-format was developed, this was no matter of
34366  course.
34367  DVIs are used for quick previews and as pre-stage for other output formats,
34368  like PostScript.
34369 \end_layout
34370
34371 \begin_layout Standard
34372 \begin_inset Note Greyedout
34373 status open
34374
34375 \begin_layout Plain Layout
34376
34377 \series bold
34378 Note:
34379 \series default
34380  DVI-files do not contain images; they will only be a linked.
34381 \end_layout
34382
34383 \end_inset
34384
34385  So don't forget this, if you move your 
34386 \family typewriter
34387 .dvi
34388 \family default
34389  file to another computer.
34390  This property can also slow down your computer when you view the DVI, because
34391  the DVI-viewer has to convert the image in the background to make it visible
34392  when you scroll in the DVI.
34393  So it is recommended that you use PDF for files with many images.
34394 \end_layout
34395
34396 \begin_layout Standard
34397 You can export your document to DVI by using the menu 
34398 \family sans
34399 File\SpecialChar \menuseparator
34400 Export\SpecialChar \menuseparator
34401 DVI
34402 \family default
34403 .
34404  You can view your document as DVI via the 
34405 \family sans
34406 View
34407 \family default
34408  menu or by using the toolbar button 
34409 \begin_inset Graphics
34410         filename ../images/buffer-view_dvi.png
34411         scale 85
34412         scaleBeforeRotation
34413
34414 \end_inset
34415
34416 .
34417 \end_layout
34418
34419 \begin_layout Section
34420 PostScript
34421 \begin_inset CommandInset label
34422 LatexCommand label
34423 name "sec:PostScript"
34424
34425 \end_inset
34426
34427
34428 \begin_inset Index idx
34429 status collapsed
34430
34431 \begin_layout Plain Layout
34432 File Formats ! PostScript
34433 \end_layout
34434
34435 \end_inset
34436
34437
34438 \begin_inset Index idx
34439 status collapsed
34440
34441 \begin_layout Plain Layout
34442 PostScript|see
34443 \begin_inset ERT
34444 status collapsed
34445
34446 \begin_layout Plain Layout
34447
34448 {
34449 \end_layout
34450
34451 \end_inset
34452
34453 File Formats
34454 \begin_inset ERT
34455 status collapsed
34456
34457 \begin_layout Plain Layout
34458
34459 }
34460 \end_layout
34461
34462 \end_inset
34463
34464
34465 \end_layout
34466
34467 \end_inset
34468
34469
34470 \end_layout
34471
34472 \begin_layout Standard
34473 This file type has the extension 
34474 \begin_inset Quotes eld
34475 \end_inset
34476
34477
34478 \family typewriter
34479 .ps
34480 \family default
34481
34482 \begin_inset Quotes erd
34483 \end_inset
34484
34485 .
34486  PostScript was developed by the company 
34487 \family typewriter
34488 Adobe
34489 \family default
34490  as a printer language.
34491  The file therefore contains commands that the printer uses to print the
34492  file.
34493  PostScript can be seen as a 
34494 \begin_inset Quotes eld
34495 \end_inset
34496
34497 programming language
34498 \begin_inset Quotes erd
34499 \end_inset
34500
34501 ; you can calculate with it and draw diagrams and images
34502 \begin_inset Foot
34503 status collapsed
34504
34505 \begin_layout Plain Layout
34506 If you are interested to learn more about this, have a look at the LaTeX-package
34507  
34508 \series bold
34509 PSTricks
34510 \series default
34511  
34512 \begin_inset CommandInset citation
34513 LatexCommand cite
34514 key "pstricks"
34515
34516 \end_inset
34517
34518 .
34519 \end_layout
34520
34521 \end_inset
34522
34523 .
34524  Due to this ability, the files are often bigger than PDFs.
34525 \end_layout
34526
34527 \begin_layout Standard
34528 PostScript can only contain images in the format 
34529 \begin_inset Quotes eld
34530 \end_inset
34531
34532 Encapsulated PostScript
34533 \begin_inset Quotes erd
34534 \end_inset
34535
34536  (EPS, file extension 
34537 \begin_inset Quotes eld
34538 \end_inset
34539
34540
34541 \family typewriter
34542 .eps
34543 \family default
34544
34545 \begin_inset Quotes erd
34546 \end_inset
34547
34548 ).
34549  As LyX allows you to use any known image format in your document, it has
34550  to convert images in the background to EPS.
34551  If you have e.g.
34552 \begin_inset space ~
34553 \end_inset
34554
34555 50
34556 \begin_inset space ~
34557 \end_inset
34558
34559 images in your document, LyX has to do 50
34560 \begin_inset space ~
34561 \end_inset
34562
34563 conversions whenever you view or export your document.
34564  This will slow down your work flow with LyX drastically.
34565  So if you plan to use PostScript, you can insert your images directly as
34566  EPS to avoid this problem.
34567 \end_layout
34568
34569 \begin_layout Standard
34570 You can export your document to PostScript using the menu 
34571 \family sans
34572 File\SpecialChar \menuseparator
34573 Export\SpecialChar \menuseparator
34574 Postscript
34575 \family default
34576 .
34577  You can view your document as PostScript via the 
34578 \family sans
34579 View
34580 \family default
34581  menu or by using the toolbar button 
34582 \begin_inset Graphics
34583         filename ../images/buffer-view_ps.png
34584         scale 85
34585         scaleBeforeRotation
34586
34587 \end_inset
34588
34589 .
34590 \end_layout
34591
34592 \begin_layout Section
34593 PDF
34594 \begin_inset Index idx
34595 status collapsed
34596
34597 \begin_layout Plain Layout
34598 File Formats ! PDF
34599 \end_layout
34600
34601 \end_inset
34602
34603
34604 \begin_inset Index idx
34605 status collapsed
34606
34607 \begin_layout Plain Layout
34608 PDF
34609 \end_layout
34610
34611 \end_inset
34612
34613
34614 \end_layout
34615
34616 \begin_layout Standard
34617 This file type has the extension 
34618 \begin_inset Quotes eld
34619 \end_inset
34620
34621
34622 \family typewriter
34623 .pdf
34624 \family default
34625
34626 \begin_inset Quotes erd
34627 \end_inset
34628
34629 .
34630  The 
34631 \begin_inset Quotes eld
34632 \end_inset
34633
34634 Portable Document Format
34635 \begin_inset Quotes erd
34636 \end_inset
34637
34638  (PDF) was developed by 
34639 \family typewriter
34640 Adobe
34641 \family default
34642  as a derivative of PostScript.
34643  It is more compressed and it uses fewer commands than PostScript.
34644  As the name 
34645 \begin_inset Quotes eld
34646 \end_inset
34647
34648 portable
34649 \begin_inset Quotes erd
34650 \end_inset
34651
34652  implies, it can be processed at any computer system and the printed output
34653  looks exactly the same.
34654 \end_layout
34655
34656 \begin_layout Standard
34657 PDF can contain images in its own PDF format, in the format 
34658 \begin_inset Quotes eld
34659 \end_inset
34660
34661 Joint Photographic Experts Group
34662 \begin_inset Quotes erd
34663 \end_inset
34664
34665  (JPG, file extension 
34666 \begin_inset Quotes eld
34667 \end_inset
34668
34669
34670 \family typewriter
34671 .jpg
34672 \family default
34673
34674 \begin_inset Quotes erd
34675 \end_inset
34676
34677  or 
34678 \begin_inset Quotes eld
34679 \end_inset
34680
34681
34682 \family typewriter
34683 .jpeg
34684 \family default
34685
34686 \begin_inset Quotes erd
34687 \end_inset
34688
34689 ), and in the format 
34690 \begin_inset Quotes eld
34691 \end_inset
34692
34693 Portable Network Graphics
34694 \begin_inset Quotes erd
34695 \end_inset
34696
34697  (PNG, file extension 
34698 \begin_inset Quotes eld
34699 \end_inset
34700
34701
34702 \family typewriter
34703 .png
34704 \family default
34705
34706 \begin_inset Quotes erd
34707 \end_inset
34708
34709 ).
34710  Nevertheless you can use any other image format, because LyX converts them
34711  in the background to one of these formats.
34712  But as described in the section about PostScript, the image conversion
34713  will slow down your work flow.
34714  So it is recommended that you use images in one of the three mentioned
34715  formats.
34716 \end_layout
34717
34718 \begin_layout Standard
34719 You can export your document to PDF via the menu 
34720 \family sans
34721 File\SpecialChar \menuseparator
34722 Export
34723 \family default
34724  in three different ways:
34725 \end_layout
34726
34727 \begin_layout Description
34728 PDF
34729 \begin_inset space ~
34730 \end_inset
34731
34732 (ps2pdf) This uses the program 
34733 \family typewriter
34734 ps2pdf
34735 \family default
34736  that creates a PDF from a PostScript-version of your file.
34737  The PostScript-version is produced by the program 
34738 \family typewriter
34739 dvips
34740 \family default
34741  which uses a DVI-version as intermediate step.
34742  So this export variant consists of three conversions.
34743 \end_layout
34744
34745 \begin_layout Description
34746 PDF
34747 \begin_inset space ~
34748 \end_inset
34749
34750 (dvipdfm) This uses the program 
34751 \family typewriter
34752 dvipdfm
34753 \family default
34754  that converts your file in the background to DVI and in a second step to
34755  PDF.
34756 \end_layout
34757
34758 \begin_layout Description
34759 PDF
34760 \begin_inset space ~
34761 \end_inset
34762
34763 (pdflatex) This uses the program 
34764 \family typewriter
34765 pdftex
34766 \family default
34767  that converts your file directly to PDF.
34768 \end_layout
34769
34770 \begin_layout Standard
34771 It is recommended that you use 
34772 \family sans
34773 PDF
34774 \begin_inset space ~
34775 \end_inset
34776
34777 (pdflatex)
34778 \family default
34779  because 
34780 \family typewriter
34781 pdftex
34782 \family default
34783  supports all features of actual PDF-versions, is quick and works stable.
34784  The program 
34785 \family typewriter
34786 dvipdfm
34787 \family default
34788  is not under development and therefore a bit outdated.
34789 \end_layout
34790
34791 \begin_layout Standard
34792 You can view your document as PDF via the 
34793 \family sans
34794 View
34795 \family default
34796  menu or by using the toolbar button 
34797 \begin_inset Graphics
34798         filename ../images/buffer-view_pdf2.png
34799         scale 85
34800         scaleBeforeRotation
34801
34802 \end_inset
34803
34804  
34805 \family sans
34806 (
34807 \family default
34808 that uses 
34809 \family sans
34810 PDF
34811 \begin_inset space ~
34812 \end_inset
34813
34814 (pdflatex)
34815 \family default
34816 ).
34817 \end_layout
34818
34819 \begin_layout Chapter
34820 Explanation of Equation
34821 \begin_inset space ~
34822 \end_inset
34823
34824 (
34825 \begin_inset CommandInset ref
34826 LatexCommand ref
34827 reference "eq:Wgn"
34828
34829 \end_inset
34830
34831 )
34832 \begin_inset CommandInset label
34833 LatexCommand label
34834 name "cha:Explanation-of-Equation"
34835
34836 \end_inset
34837
34838
34839 \end_layout
34840
34841 \begin_layout Standard
34842 We can calculate the total width of 
34843 \emph on
34844 n
34845 \emph default
34846  table cells 
34847 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34848 \end_inset
34849
34850  as follows:
34851 \end_layout
34852
34853 \begin_layout Standard
34854 \begin_inset Formula \begin{equation}
34855 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
34856 \end{equation}
34857
34858 \end_inset
34859
34860 where 
34861 \begin_inset Formula $W_{g\, n}$
34862 \end_inset
34863
34864  is the given width of all cells, 
34865 \series bold
34866
34867 \backslash
34868 tabcolsep
34869 \series default
34870  is the LaTeX-length between the cell text and the cell border (its default
34871  value is 6
34872 \begin_inset space \thinspace{}
34873 \end_inset
34874
34875 pt).
34876  
34877 \series bold
34878
34879 \backslash
34880 arrayrulewidth
34881 \series default
34882  is the thickness of the cell border line, the default is 0.4
34883 \begin_inset space \thinspace{}
34884 \end_inset
34885
34886 pt.
34887 \end_layout
34888
34889 \begin_layout Standard
34890 Following equation
34891 \begin_inset space ~
34892 \end_inset
34893
34894
34895 \begin_inset CommandInset ref
34896 LatexCommand eqref
34897 reference "eq:Wtot_n"
34898
34899 \end_inset
34900
34901 , the total width of a multicolumn 
34902 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34903 \end_inset
34904
34905  is
34906 \end_layout
34907
34908 \begin_layout Standard
34909 \begin_inset Formula \begin{equation}
34910 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34911 \end{equation}
34912
34913 \end_inset
34914
34915
34916 \end_layout
34917
34918 \begin_layout Standard
34919 By setting equation
34920 \begin_inset space ~
34921 \end_inset
34922
34923
34924 \begin_inset CommandInset ref
34925 LatexCommand eqref
34926 reference "eq:Wtot_n"
34927
34928 \end_inset
34929
34930  and 
34931 \begin_inset CommandInset ref
34932 LatexCommand eqref
34933 reference "eq:Wtot_mult"
34934
34935 \end_inset
34936
34937  equal we can calculate the needed given width 
34938 \begin_inset Formula $W_{g\, n}$
34939 \end_inset
34940
34941  when 
34942 \emph on
34943 n
34944 \emph default
34945  columns are spanned, so that each column has a total width of 
34946 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34947 \end_inset
34948
34949 :
34950 \end_layout
34951
34952 \begin_layout Standard
34953 \begin_inset Formula \begin{equation}
34954 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34955 \end{equation}
34956
34957 \end_inset
34958
34959
34960 \end_layout
34961
34962 \begin_layout Bibliography
34963 \labelwidthstring Bibliography
34964 \begin_inset CommandInset bibitem
34965 LatexCommand bibitem
34966 key "latexcompanion"
34967
34968 \end_inset
34969
34970 Frank Mittelbach and Michel Goossens: 
34971 \emph on
34972 The LaTeX Companion Second Edition.
34973
34974 \emph default
34975  Addison-Wesley, 2004
34976 \end_layout
34977
34978 \begin_layout Bibliography
34979 \labelwidthstring Bibliography
34980 \begin_inset CommandInset bibitem
34981 LatexCommand bibitem
34982 key "latexguide"
34983
34984 \end_inset
34985
34986 Helmut Kopka and Patrick W.
34987  Daly: 
34988 \emph on
34989 A Guide to LaTeX Fourth Edition.
34990
34991 \emph default
34992  Addison-Wesley, 2003
34993 \end_layout
34994
34995 \begin_layout Bibliography
34996 \labelwidthstring Bibliography
34997 \begin_inset CommandInset bibitem
34998 LatexCommand bibitem
34999 key "latexbook"
35000
35001 \end_inset
35002
35003 Leslie Lamport: 
35004 \emph on
35005 LaTeX: A Document Preparation System.
35006
35007 \emph default
35008  Addison-Wesley, second edition, 1994
35009 \end_layout
35010
35011 \begin_layout Bibliography
35012 \labelwidthstring Bibliography
35013 \begin_inset CommandInset bibitem
35014 LatexCommand bibitem
35015 key "booktabs"
35016
35017 \end_inset
35018
35019 Documentation of the LaTeX-package 
35020 \series bold
35021
35022 \begin_inset CommandInset href
35023 LatexCommand href
35024 name "booktabs"
35025 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
35026
35027 \end_inset
35028
35029
35030 \series default
35031
35032 \begin_inset Index idx
35033 status collapsed
35034
35035 \begin_layout Plain Layout
35036 LaTeX-packages ! booktabs
35037 \end_layout
35038
35039 \end_inset
35040
35041
35042 \end_layout
35043
35044 \begin_layout Bibliography
35045 \labelwidthstring Bibliography
35046 \begin_inset CommandInset bibitem
35047 LatexCommand bibitem
35048 key "caption"
35049
35050 \end_inset
35051
35052 Documentation of the LaTeX-package 
35053 \series bold
35054
35055 \begin_inset CommandInset href
35056 LatexCommand href
35057 name "caption"
35058 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
35059
35060 \end_inset
35061
35062
35063 \series default
35064
35065 \begin_inset Index idx
35066 status collapsed
35067
35068 \begin_layout Plain Layout
35069 LaTeX-packages ! caption
35070 \end_layout
35071
35072 \end_inset
35073
35074
35075 \end_layout
35076
35077 \begin_layout Bibliography
35078 \labelwidthstring Bibliography
35079 \begin_inset CommandInset bibitem
35080 LatexCommand bibitem
35081 key "endfloat"
35082
35083 \end_inset
35084
35085 Documentation of the LaTeX-package 
35086 \series bold
35087
35088 \begin_inset CommandInset href
35089 LatexCommand href
35090 name "endfloat"
35091 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
35092
35093 \end_inset
35094
35095
35096 \series default
35097
35098 \begin_inset Index idx
35099 status collapsed
35100
35101 \begin_layout Plain Layout
35102 LaTeX-packages ! endfloat
35103 \end_layout
35104
35105 \end_inset
35106
35107
35108 \end_layout
35109
35110 \begin_layout Bibliography
35111 \labelwidthstring Bibliography
35112 \begin_inset CommandInset bibitem
35113 LatexCommand bibitem
35114 key "wrapfig"
35115
35116 \end_inset
35117
35118 Documentation of the LaTeX-package 
35119 \series bold
35120
35121 \begin_inset CommandInset href
35122 LatexCommand href
35123 name "wrapfig"
35124 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
35125
35126 \end_inset
35127
35128
35129 \series default
35130
35131 \begin_inset Index idx
35132 status collapsed
35133
35134 \begin_layout Plain Layout
35135 LaTeX-packages ! wrapfig
35136 \begin_inset ERT
35137 status collapsed
35138
35139 \begin_layout Plain Layout
35140
35141
35142 \backslash
35143 vspace{4mm}
35144 \end_layout
35145
35146 \end_inset
35147
35148
35149 \end_layout
35150
35151 \end_inset
35152
35153
35154 \end_layout
35155
35156 \begin_layout Bibliography
35157 \labelwidthstring Bibliography
35158 \begin_inset CommandInset bibitem
35159 LatexCommand bibitem
35160 key "footmisc"
35161
35162 \end_inset
35163
35164 Documentation of the LaTeX-package 
35165 \series bold
35166
35167 \begin_inset CommandInset href
35168 LatexCommand href
35169 name "footmisc"
35170 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
35171
35172 \end_inset
35173
35174
35175 \series default
35176
35177 \begin_inset Index idx
35178 status collapsed
35179
35180 \begin_layout Plain Layout
35181 LaTeX-packages ! footmisc
35182 \end_layout
35183
35184 \end_inset
35185
35186
35187 \end_layout
35188
35189 \begin_layout Bibliography
35190 \labelwidthstring Bibliography
35191 \begin_inset CommandInset bibitem
35192 LatexCommand bibitem
35193 key "hypcap"
35194
35195 \end_inset
35196
35197 Documentation of the LaTeX-package 
35198 \series bold
35199
35200 \begin_inset CommandInset href
35201 LatexCommand href
35202 name "hypcap"
35203 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
35204
35205 \end_inset
35206
35207
35208 \series default
35209
35210 \begin_inset Index idx
35211 status collapsed
35212
35213 \begin_layout Plain Layout
35214 LaTeX-packages ! hyperref
35215 \end_layout
35216
35217 \end_inset
35218
35219
35220 \end_layout
35221
35222 \begin_layout Bibliography
35223 \labelwidthstring Bibliography
35224 \begin_inset CommandInset bibitem
35225 LatexCommand bibitem
35226 key "hyperref"
35227
35228 \end_inset
35229
35230 Documentation of the LaTeX-package 
35231 \series bold
35232
35233 \begin_inset CommandInset href
35234 LatexCommand href
35235 name "hyperref"
35236 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
35237
35238 \end_inset
35239
35240
35241 \series default
35242
35243 \begin_inset Index idx
35244 status collapsed
35245
35246 \begin_layout Plain Layout
35247 LaTeX-packages ! hyperref
35248 \end_layout
35249
35250 \end_inset
35251
35252
35253 \end_layout
35254
35255 \begin_layout Bibliography
35256 \labelwidthstring Bibliography
35257 \begin_inset CommandInset bibitem
35258 LatexCommand bibitem
35259 key "KOMA-Script"
35260
35261 \end_inset
35262
35263 Documentation of the LaTeX-package 
35264 \series bold
35265
35266 \begin_inset CommandInset href
35267 LatexCommand href
35268 name "KOMA-Script"
35269 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
35270
35271 \end_inset
35272
35273
35274 \series default
35275
35276 \begin_inset Index idx
35277 status collapsed
35278
35279 \begin_layout Plain Layout
35280 LaTeX-packages ! KOMA-Script
35281 \end_layout
35282
35283 \end_inset
35284
35285
35286 \end_layout
35287
35288 \begin_layout Bibliography
35289 \labelwidthstring Bibliography
35290 \begin_inset CommandInset bibitem
35291 LatexCommand bibitem
35292 key "listings"
35293
35294 \end_inset
35295
35296 Documentation of the LaTeX-package 
35297 \series bold
35298
35299 \begin_inset CommandInset href
35300 LatexCommand href
35301 name "listings"
35302 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
35303
35304 \end_inset
35305
35306
35307 \series default
35308
35309 \begin_inset Index idx
35310 status collapsed
35311
35312 \begin_layout Plain Layout
35313 LaTeX-packages ! listings
35314 \end_layout
35315
35316 \end_inset
35317
35318
35319 \end_layout
35320
35321 \begin_layout Bibliography
35322 \labelwidthstring Bibliography
35323 \begin_inset CommandInset bibitem
35324 LatexCommand bibitem
35325 key "marginnote"
35326
35327 \end_inset
35328
35329 Documentation of the LaTeX-package 
35330 \series bold
35331
35332 \begin_inset CommandInset href
35333 LatexCommand href
35334 name "marginnote"
35335 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
35336
35337 \end_inset
35338
35339
35340 \series default
35341
35342 \begin_inset Index idx
35343 status collapsed
35344
35345 \begin_layout Plain Layout
35346 LaTeX-packages ! marginnote
35347 \end_layout
35348
35349 \end_inset
35350
35351
35352 \end_layout
35353
35354 \begin_layout Bibliography
35355 \labelwidthstring Bibliography
35356 \begin_inset CommandInset bibitem
35357 LatexCommand bibitem
35358 key "pstricks"
35359
35360 \end_inset
35361
35362 Web page of the LaTeX-package 
35363 \series bold
35364
35365 \begin_inset CommandInset href
35366 LatexCommand href
35367 name "PSTricks"
35368 target "http://tug.org/PSTricks/"
35369
35370 \end_inset
35371
35372
35373 \series default
35374
35375 \begin_inset Index idx
35376 status collapsed
35377
35378 \begin_layout Plain Layout
35379 LaTeX-packages ! PSTricks
35380 \end_layout
35381
35382 \end_inset
35383
35384
35385 \end_layout
35386
35387 \begin_layout Bibliography
35388 \labelwidthstring Bibliography
35389 \begin_inset CommandInset bibitem
35390 LatexCommand bibitem
35391 key "sidecap"
35392
35393 \end_inset
35394
35395 Documentation of the LaTeX-package 
35396 \series bold
35397
35398 \begin_inset CommandInset href
35399 LatexCommand href
35400 name "sidecap"
35401 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
35402
35403 \end_inset
35404
35405
35406 \series default
35407
35408 \begin_inset Index idx
35409 status collapsed
35410
35411 \begin_layout Plain Layout
35412 LaTeX-packages ! sidecap
35413 \end_layout
35414
35415 \end_inset
35416
35417
35418 \end_layout
35419
35420 \begin_layout Bibliography
35421 \labelwidthstring Bibliography
35422 \begin_inset CommandInset bibitem
35423 LatexCommand bibitem
35424 key "prettyref"
35425
35426 \end_inset
35427
35428 Documentation of the LaTeX-package 
35429 \series bold
35430
35431 \begin_inset CommandInset href
35432 LatexCommand href
35433 name "prettyref"
35434 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
35435
35436 \end_inset
35437
35438
35439 \series default
35440
35441 \begin_inset Index idx
35442 status collapsed
35443
35444 \begin_layout Plain Layout
35445 LaTeX-packages ! prettyref
35446 \end_layout
35447
35448 \end_inset
35449
35450
35451 \end_layout
35452
35453 \begin_layout Bibliography
35454 \labelwidthstring Bibliography
35455 \begin_inset CommandInset bibitem
35456 LatexCommand bibitem
35457 key "refstyle"
35458
35459 \end_inset
35460
35461 Documentation of the LaTeX-package 
35462 \series bold
35463
35464 \begin_inset CommandInset href
35465 LatexCommand href
35466 name "refstyle"
35467 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
35468
35469 \end_inset
35470
35471
35472 \series default
35473
35474 \begin_inset Index idx
35475 status collapsed
35476
35477 \begin_layout Plain Layout
35478 LaTeX-packages ! refstyle
35479 \end_layout
35480
35481 \end_inset
35482
35483
35484 \end_layout
35485
35486 \begin_layout Bibliography
35487 \labelwidthstring Bibliography
35488 \begin_inset CommandInset bibitem
35489 LatexCommand bibitem
35490 key "NewInLyX20"
35491
35492 \end_inset
35493
35494
35495 \begin_inset CommandInset href
35496 LatexCommand href
35497 name "Wiki page"
35498 target "http://wiki.lyx.org/LyX/NewInLyX20"
35499
35500 \end_inset
35501
35502  about new features in 
35503 \family sans
35504 LyX 2.0
35505 \family default
35506 .
35507 \end_layout
35508
35509 \begin_layout Standard
35510 \begin_inset CommandInset index_print
35511 LatexCommand printindex
35512 type "idx"
35513
35514 \end_inset
35515
35516
35517 \end_layout
35518
35519 \end_body
35520 \end_document