]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects.lyx: correct description bug found by Ignacio
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 2.0.0beta1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 410
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_non_tex_fonts 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 setting the cursor into the column and then
17145  either pressing the toolbar button 
17146 \begin_inset Graphics
17147         filename ../images/tabular-feature_align-decimal.png
17148         scale 85
17149         scaleBeforeRotation
17150
17151 \end_inset
17152
17153  or setting the alignment in the table settings to 
17154 \family sans
17155 At
17156 \begin_inset space ~
17157 \end_inset
17158
17159 Decimal
17160 \begin_inset space ~
17161 \end_inset
17162
17163 Separator
17164 \family default
17165 .
17166  The alignment character can be a character of your choice and is specified
17167  in the table settings.
17168 \end_layout
17169
17170 \begin_layout Standard
17171 \begin_inset Float table
17172 placement h
17173 wide false
17174 sideways false
17175 status open
17176
17177 \begin_layout Plain Layout
17178 \begin_inset Caption
17179
17180 \begin_layout Plain Layout
17181 \begin_inset CommandInset label
17182 LatexCommand label
17183 name "tab:Table-cells-align"
17184
17185 \end_inset
17186
17187 Table cells of a column aligned with the decimal separator.
17188 \end_layout
17189
17190 \end_inset
17191
17192
17193 \end_layout
17194
17195 \begin_layout Plain Layout
17196 \align center
17197 \begin_inset Tabular
17198 <lyxtabular version="3" rows="4" columns="1">
17199 <features booktabs="true" tabularvalignment="middle">
17200 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
17201 <row>
17202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17203 \begin_inset Text
17204
17205 \begin_layout Plain Layout
17206 heading
17207 \end_layout
17208
17209 \end_inset
17210 </cell>
17211 </row>
17212 <row>
17213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17214 \begin_inset Text
17215
17216 \begin_layout Plain Layout
17217 12.6
17218 \end_layout
17219
17220 \end_inset
17221 </cell>
17222 </row>
17223 <row>
17224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17225 \begin_inset Text
17226
17227 \begin_layout Plain Layout
17228 0.68
17229 \end_layout
17230
17231 \end_inset
17232 </cell>
17233 </row>
17234 <row>
17235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17236 \begin_inset Text
17237
17238 \begin_layout Plain Layout
17239 -123.0
17240 \end_layout
17241
17242 \end_inset
17243 </cell>
17244 </row>
17245 </lyxtabular>
17246
17247 \end_inset
17248
17249
17250 \end_layout
17251
17252 \end_inset
17253
17254
17255 \end_layout
17256
17257 \begin_layout Standard
17258 \begin_inset Float table
17259 placement h
17260 wide false
17261 sideways false
17262 status open
17263
17264 \begin_layout Plain Layout
17265 \begin_inset Caption
17266
17267 \begin_layout Plain Layout
17268 \begin_inset CommandInset label
17269 LatexCommand label
17270 name "tab:Table-align-operator"
17271
17272 \end_inset
17273
17274 Table cells of a column aligned with the operators.
17275 \end_layout
17276
17277 \end_inset
17278
17279
17280 \end_layout
17281
17282 \begin_layout Plain Layout
17283 \align center
17284 \begin_inset Tabular
17285 <lyxtabular version="3" rows="4" columns="2">
17286 <features booktabs="true" tabularvalignment="middle">
17287 <column alignment="right" valignment="top" width="0pt">
17288 <column alignment="left" valignment="top" width="0pt" special="@{}l">
17289 <row>
17290 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17291 \begin_inset Text
17292
17293 \begin_layout Plain Layout
17294 heading
17295 \end_layout
17296
17297 \end_inset
17298 </cell>
17299 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17300 \begin_inset Text
17301
17302 \begin_layout Plain Layout
17303
17304 \end_layout
17305
17306 \end_inset
17307 </cell>
17308 </row>
17309 <row>
17310 <cell alignment="center" valignment="top" usebox="none">
17311 \begin_inset Text
17312
17313 \begin_layout Plain Layout
17314 \begin_inset Formula $12\,+$
17315 \end_inset
17316
17317
17318 \end_layout
17319
17320 \end_inset
17321 </cell>
17322 <cell alignment="center" valignment="top" usebox="none">
17323 \begin_inset Text
17324
17325 \begin_layout Plain Layout
17326 \begin_inset Formula $\,6$
17327 \end_inset
17328
17329
17330 \end_layout
17331
17332 \end_inset
17333 </cell>
17334 </row>
17335 <row>
17336 <cell alignment="center" valignment="top" usebox="none">
17337 \begin_inset Text
17338
17339 \begin_layout Plain Layout
17340 \begin_inset Formula $0\,-$
17341 \end_inset
17342
17343
17344 \end_layout
17345
17346 \end_inset
17347 </cell>
17348 <cell alignment="center" valignment="top" usebox="none">
17349 \begin_inset Text
17350
17351 \begin_layout Plain Layout
17352 \begin_inset Formula $\,68$
17353 \end_inset
17354
17355
17356 \end_layout
17357
17358 \end_inset
17359 </cell>
17360 </row>
17361 <row>
17362 <cell alignment="center" valignment="top" usebox="none">
17363 \begin_inset Text
17364
17365 \begin_layout Plain Layout
17366 \begin_inset Formula $-123\,/$
17367 \end_inset
17368
17369
17370 \end_layout
17371
17372 \end_inset
17373 </cell>
17374 <cell alignment="center" valignment="top" usebox="none">
17375 \begin_inset Text
17376
17377 \begin_layout Plain Layout
17378 \begin_inset Formula $\,0$
17379 \end_inset
17380
17381
17382 \end_layout
17383
17384 \end_inset
17385 </cell>
17386 </row>
17387 </lyxtabular>
17388
17389 \end_inset
17390
17391
17392 \end_layout
17393
17394 \end_inset
17395
17396
17397 \end_layout
17398
17399 \begin_layout Standard
17400 For alignments at characters in formulas this method does not work because
17401  the field to specify the alignment character does not allow formulas.
17402  In this case one need to use the method from Table
17403 \begin_inset space ~
17404 \end_inset
17405
17406
17407 \begin_inset CommandInset ref
17408 LatexCommand ref
17409 reference "tab:Table-align-operator"
17410
17411 \end_inset
17412
17413 .
17414  This table was created with a 4×2 table.
17415  The heading is a centered multicolumn.
17416  The first column is right-aligned and contains the first part including
17417  the operator.
17418  The second column is left aligned and contains the rest.
17419  A small space was added at the beginning of each cell of the second column
17420  to get the space that is usually around operators.
17421  To omit the space that is normally between two table columns, the following
17422  LaTeX-argument was used for the second column:
17423 \end_layout
17424
17425 \begin_layout Standard
17426
17427 \series bold
17428 @{}l
17429 \end_layout
17430
17431 \begin_layout Standard
17432 Table
17433 \begin_inset space ~
17434 \end_inset
17435
17436
17437 \begin_inset CommandInset ref
17438 LatexCommand ref
17439 reference "tab:Several-table-cell"
17440
17441 \end_inset
17442
17443  shows some example alignments.
17444  For the alignment with the relation sign, a small space was added like
17445  for the second column of Table
17446 \begin_inset space ~
17447 \end_inset
17448
17449
17450 \begin_inset CommandInset ref
17451 LatexCommand ref
17452 reference "tab:Table-align-operator"
17453
17454 \end_inset
17455
17456 .
17457 \end_layout
17458
17459 \begin_layout Standard
17460 \begin_inset Float table
17461 placement h
17462 wide false
17463 sideways false
17464 status open
17465
17466 \begin_layout Plain Layout
17467 \begin_inset Caption
17468
17469 \begin_layout Plain Layout
17470 \begin_inset CommandInset label
17471 LatexCommand label
17472 name "tab:Several-table-cell"
17473
17474 \end_inset
17475
17476 Several table cell alignments.
17477 \end_layout
17478
17479 \end_inset
17480
17481
17482 \end_layout
17483
17484 \begin_layout Plain Layout
17485 \align center
17486 \begin_inset Tabular
17487 <lyxtabular version="3" rows="4" columns="6">
17488 <features tabularvalignment="middle">
17489 <column alignment="right" valignment="top" width="0">
17490 <column alignment="left" valignment="top" width="0" special="@{}l">
17491 <column alignment="right" valignment="top" width="0">
17492 <column alignment="left" valignment="top" width="0" special="@{}l">
17493 <column alignment="right" valignment="top" width="0">
17494 <column alignment="left" valignment="top" width="0" special="@{}l">
17495 <row>
17496 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17497 \begin_inset Text
17498
17499 \begin_layout Plain Layout
17500 units
17501 \end_layout
17502
17503 \end_inset
17504 </cell>
17505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17506 \begin_inset Text
17507
17508 \begin_layout Plain Layout
17509
17510 \end_layout
17511
17512 \end_inset
17513 </cell>
17514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17515 \begin_inset Text
17516
17517 \begin_layout Plain Layout
17518 exponents
17519 \end_layout
17520
17521 \end_inset
17522 </cell>
17523 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17524 \begin_inset Text
17525
17526 \begin_layout Plain Layout
17527
17528 \end_layout
17529
17530 \end_inset
17531 </cell>
17532 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17533 \begin_inset Text
17534
17535 \begin_layout Plain Layout
17536 relations
17537 \end_layout
17538
17539 \end_inset
17540 </cell>
17541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17542 \begin_inset Text
17543
17544 \begin_layout Plain Layout
17545
17546 \end_layout
17547
17548 \end_inset
17549 </cell>
17550 </row>
17551 <row>
17552 <cell alignment="center" valignment="top" usebox="none">
17553 \begin_inset Text
17554
17555 \begin_layout Plain Layout
17556 12×
17557 \end_layout
17558
17559 \end_inset
17560 </cell>
17561 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17562 \begin_inset Text
17563
17564 \begin_layout Plain Layout
17565 24
17566 \begin_inset space \thinspace{}
17567 \end_inset
17568
17569 bottles
17570 \end_layout
17571
17572 \end_inset
17573 </cell>
17574 <cell alignment="center" valignment="top" usebox="none">
17575 \begin_inset Text
17576
17577 \begin_layout Plain Layout
17578 \begin_inset Formula $10\cdot$
17579 \end_inset
17580
17581
17582 \end_layout
17583
17584 \end_inset
17585 </cell>
17586 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17587 \begin_inset Text
17588
17589 \begin_layout Plain Layout
17590 \begin_inset Formula $10^{\mbox{-}17}$
17591 \end_inset
17592
17593
17594 \end_layout
17595
17596 \end_inset
17597 </cell>
17598 <cell alignment="center" valignment="top" usebox="none">
17599 \begin_inset Text
17600
17601 \begin_layout Plain Layout
17602 \begin_inset Formula $\Gamma(t)\propto$
17603 \end_inset
17604
17605
17606 \end_layout
17607
17608 \end_inset
17609 </cell>
17610 <cell alignment="center" valignment="top" usebox="none">
17611 \begin_inset Text
17612
17613 \begin_layout Plain Layout
17614 \begin_inset Formula $\:\Upsilon(t)$
17615 \end_inset
17616
17617
17618 \end_layout
17619
17620 \end_inset
17621 </cell>
17622 </row>
17623 <row>
17624 <cell alignment="center" valignment="top" usebox="none">
17625 \begin_inset Text
17626
17627 \begin_layout Plain Layout
17628 1024×
17629 \end_layout
17630
17631 \end_inset
17632 </cell>
17633 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17634 \begin_inset Text
17635
17636 \begin_layout Plain Layout
17637 768
17638 \begin_inset space \thinspace{}
17639 \end_inset
17640
17641 Pixels
17642 \end_layout
17643
17644 \end_inset
17645 </cell>
17646 <cell alignment="center" valignment="top" usebox="none">
17647 \begin_inset Text
17648
17649 \begin_layout Plain Layout
17650 \begin_inset Formula $5.78\cdot$
17651 \end_inset
17652
17653
17654 \end_layout
17655
17656 \end_inset
17657 </cell>
17658 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17659 \begin_inset Text
17660
17661 \begin_layout Plain Layout
17662 \begin_inset Formula $10^{7}$
17663 \end_inset
17664
17665
17666 \end_layout
17667
17668 \end_inset
17669 </cell>
17670 <cell alignment="center" valignment="top" usebox="none">
17671 \begin_inset Text
17672
17673 \begin_layout Plain Layout
17674 \begin_inset Formula $A\ne$
17675 \end_inset
17676
17677
17678 \end_layout
17679
17680 \end_inset
17681 </cell>
17682 <cell alignment="center" valignment="top" usebox="none">
17683 \begin_inset Text
17684
17685 \begin_layout Plain Layout
17686 \begin_inset Formula $\: B_{\mathrm{red}}$
17687 \end_inset
17688
17689
17690 \end_layout
17691
17692 \end_inset
17693 </cell>
17694 </row>
17695 <row>
17696 <cell alignment="center" valignment="top" usebox="none">
17697 \begin_inset Text
17698
17699 \begin_layout Plain Layout
17700 32×
17701 \end_layout
17702
17703 \end_inset
17704 </cell>
17705 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17706 \begin_inset Text
17707
17708 \begin_layout Plain Layout
17709 6
17710 \begin_inset space \thinspace{}
17711 \end_inset
17712
17713 cm
17714 \end_layout
17715
17716 \end_inset
17717 </cell>
17718 <cell alignment="center" valignment="top" usebox="none">
17719 \begin_inset Text
17720
17721 \begin_layout Plain Layout
17722 -
17723 \begin_inset Formula $33.5\cdot$
17724 \end_inset
17725
17726
17727 \end_layout
17728
17729 \end_inset
17730 </cell>
17731 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17732 \begin_inset Text
17733
17734 \begin_layout Plain Layout
17735 \begin_inset Formula $10^{4}$
17736 \end_inset
17737
17738
17739 \end_layout
17740
17741 \end_inset
17742 </cell>
17743 <cell alignment="center" valignment="top" usebox="none">
17744 \begin_inset Text
17745
17746 \begin_layout Plain Layout
17747 \begin_inset Formula $\sin(\alpha)\ge$
17748 \end_inset
17749
17750
17751 \end_layout
17752
17753 \end_inset
17754 </cell>
17755 <cell alignment="center" valignment="top" usebox="none">
17756 \begin_inset Text
17757
17758 \begin_layout Plain Layout
17759 \begin_inset Formula $\:\sin(\beta)$
17760 \end_inset
17761
17762
17763 \end_layout
17764
17765 \end_inset
17766 </cell>
17767 </row>
17768 </lyxtabular>
17769
17770 \end_inset
17771
17772
17773 \end_layout
17774
17775 \end_inset
17776
17777
17778 \end_layout
17779
17780 \begin_layout Subsection
17781 Customized Cell/Column Format
17782 \begin_inset CommandInset label
17783 LatexCommand label
17784 name "sub:Customized-Format"
17785
17786 \end_inset
17787
17788
17789 \begin_inset Index idx
17790 status collapsed
17791
17792 \begin_layout Plain Layout
17793 Table Customization ! Cell/Column Format
17794 \end_layout
17795
17796 \end_inset
17797
17798
17799 \end_layout
17800
17801 \begin_layout Standard
17802 Calculating the required width for spanned columns as in section
17803 \begin_inset space ~
17804 \end_inset
17805
17806
17807 \begin_inset CommandInset ref
17808 LatexCommand ref
17809 reference "sub:Multicolumn-Calculations"
17810
17811 \end_inset
17812
17813  is very annoying if you have several tables with multicolumn cells.
17814  To make life easier, you can define a cell/column format in the preamble,
17815  so that it can be used in all tables of the document.
17816  The format is defined with the command
17817 \end_layout
17818
17819 \begin_layout Standard
17820
17821 \series bold
17822
17823 \backslash
17824 newcolumntype{name of format}[number of arguments]{commands}
17825 \end_layout
17826
17827 \begin_layout Standard
17828 The format name may only consist of one letter.
17829  The letters 
17830 \emph on
17831 b
17832 \emph default
17833
17834 \emph on
17835 c
17836 \emph default
17837
17838 \emph on
17839 l
17840 \emph default
17841
17842 \emph on
17843 m
17844 \emph default
17845
17846 \emph on
17847 p
17848 \emph default
17849  and 
17850 \emph on
17851 r
17852 \emph default
17853  are predefined and cannot be used.
17854  But all letters are allowed as capitals.
17855 \end_layout
17856
17857 \begin_layout Standard
17858 \begin_inset VSpace medskip
17859 \end_inset
17860
17861
17862 \end_layout
17863
17864 \begin_layout Standard
17865 For vertically and horizontally centered multicolumn cells with a fixed
17866  width you can define the cell format
17867 \end_layout
17868
17869 \begin_layout Standard
17870
17871 \series bold
17872
17873 \backslash
17874 newcolumntype{M}[1]{>{
17875 \backslash
17876 centering
17877 \backslash
17878 hspace{0pt}}m{#1}}
17879 \end_layout
17880
17881 \begin_layout Standard
17882 where 
17883 \series bold
17884
17885 \backslash
17886 hspace{0pt}
17887 \series default
17888  avoids the problem of hyphenating the first word, as described in section
17889 \begin_inset space ~
17890 \end_inset
17891
17892
17893 \begin_inset CommandInset ref
17894 LatexCommand ref
17895 reference "sub:Multiple-Lines-in"
17896
17897 \end_inset
17898
17899 .
17900  Now you can simply enter
17901 \end_layout
17902
17903 \begin_layout Standard
17904
17905 \series bold
17906 M{width}
17907 \end_layout
17908
17909 \begin_layout Standard
17910 as LaTeX-argument in the table dialog to create a multicolumn.
17911 \end_layout
17912
17913 \begin_layout Standard
17914 \begin_inset VSpace bigskip
17915 \end_inset
17916
17917
17918 \end_layout
17919
17920 \begin_layout Standard
17921 For cells spanned by a multicolumn cell, you can define the format
17922 \end_layout
17923
17924 \begin_layout Standard
17925
17926 \series bold
17927
17928 \backslash
17929 newcolumntype{S}[2]{>{
17930 \backslash
17931 centering
17932 \backslash
17933 hspace{0pt}}
17934 \begin_inset Newline newline
17935 \end_inset
17936
17937
17938 \begin_inset Phantom HPhantom
17939 status open
17940
17941 \begin_layout Plain Layout
17942
17943 \series bold
17944
17945 \backslash
17946 newcolumntype
17947 \end_layout
17948
17949 \end_inset
17950
17951 m{(#1+(2
17952 \backslash
17953 tabcolsep+
17954 \backslash
17955 arrayrulewidth)*(1-#2))/#2}}
17956 \end_layout
17957
17958 \begin_layout Standard
17959 This format uses equation 
17960 \begin_inset CommandInset ref
17961 LatexCommand eqref
17962 reference "eq:Wgn"
17963
17964 \end_inset
17965
17966  to calculate the required width so that each spanned cell has the same
17967  width.
17968 \end_layout
17969
17970 \begin_layout Standard
17971 You can now enter
17972 \end_layout
17973
17974 \begin_layout Standard
17975
17976 \series bold
17977 S{width of multicolumn cell}{number of spanned columns}
17978 \end_layout
17979
17980 \begin_layout Standard
17981 as LaTeX-argument of the column.
17982 \end_layout
17983
17984 \begin_layout Standard
17985 \begin_inset VSpace bigskip
17986 \end_inset
17987
17988
17989 \end_layout
17990
17991 \begin_layout Standard
17992 For colored columns, you can define
17993 \end_layout
17994
17995 \begin_layout Standard
17996
17997 \series bold
17998
17999 \backslash
18000 newcolumntype{K}[1]{>{
18001 \backslash
18002 columncolor{#1}
18003 \backslash
18004 hspace{0pt}}c}
18005 \end_layout
18006
18007 \begin_layout Standard
18008 The 
18009 \begin_inset Quotes eld
18010 \end_inset
18011
18012 c
18013 \begin_inset Quotes erd
18014 \end_inset
18015
18016  at the end creates a column with a flexible width whose text is horizontally
18017  centered.
18018  You can now enter
18019 \end_layout
18020
18021 \begin_layout Standard
18022
18023 \series bold
18024 K{color name}
18025 \end_layout
18026
18027 \begin_layout Standard
18028 as LaTeX-argument.
18029 \end_layout
18030
18031 \begin_layout Standard
18032 \begin_inset VSpace bigskip
18033 \end_inset
18034
18035
18036 \end_layout
18037
18038 \begin_layout Standard
18039 To create Table
18040 \begin_inset space ~
18041 \end_inset
18042
18043
18044 \begin_inset CommandInset ref
18045 LatexCommand ref
18046 reference "tab:Table-using-user-defined"
18047
18048 \end_inset
18049
18050  use the LaTeX-arguments
18051 \end_layout
18052
18053 \begin_layout Standard
18054
18055 \series bold
18056 M{2.5cm}
18057 \end_layout
18058
18059 \begin_layout Standard
18060 for the first column and the multicolumn,
18061 \end_layout
18062
18063 \begin_layout Standard
18064
18065 \series bold
18066 K{red}
18067 \end_layout
18068
18069 \begin_layout Standard
18070 for the last column, and
18071 \end_layout
18072
18073 \begin_layout Standard
18074
18075 \series bold
18076 S{2.5cm}{2}
18077 \end_layout
18078
18079 \begin_layout Standard
18080 for the cells in the second column.
18081 \end_layout
18082
18083 \begin_layout Standard
18084 \begin_inset Float table
18085 placement h
18086 wide false
18087 sideways false
18088 status open
18089
18090 \begin_layout Plain Layout
18091 \begin_inset Caption
18092
18093 \begin_layout Plain Layout
18094 \begin_inset CommandInset label
18095 LatexCommand label
18096 name "tab:Table-using-user-defined"
18097
18098 \end_inset
18099
18100 Table using user-defined table formats
18101 \end_layout
18102
18103 \end_inset
18104
18105
18106 \end_layout
18107
18108 \begin_layout Plain Layout
18109 \align center
18110 \begin_inset Tabular
18111 <lyxtabular version="3" rows="3" columns="4">
18112 <features tabularvalignment="middle">
18113 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
18114 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
18115 <column alignment="center" valignment="middle" width="0">
18116 <column alignment="center" valignment="middle" width="0" special="K{red}">
18117 <row>
18118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18119 \begin_inset Text
18120
18121 \begin_layout Plain Layout
18122 verylongtablecellword
18123 \end_layout
18124
18125 \end_inset
18126 </cell>
18127 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
18128 \begin_inset Text
18129
18130 \begin_layout Plain Layout
18131 multiple lines multicolumn
18132 \end_layout
18133
18134 \end_inset
18135 </cell>
18136 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18137 \begin_inset Text
18138
18139 \begin_layout Plain Layout
18140
18141 \end_layout
18142
18143 \end_inset
18144 </cell>
18145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18146 \begin_inset Text
18147
18148 \begin_layout Plain Layout
18149 c
18150 \end_layout
18151
18152 \end_inset
18153 </cell>
18154 </row>
18155 <row>
18156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18157 \begin_inset Text
18158
18159 \begin_layout Plain Layout
18160 d
18161 \end_layout
18162
18163 \end_inset
18164 </cell>
18165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18166 \begin_inset Text
18167
18168 \begin_layout Plain Layout
18169 e
18170 \end_layout
18171
18172 \end_inset
18173 </cell>
18174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18175 \begin_inset Text
18176
18177 \begin_layout Plain Layout
18178 f
18179 \end_layout
18180
18181 \end_inset
18182 </cell>
18183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18184 \begin_inset Text
18185
18186 \begin_layout Plain Layout
18187 g
18188 \end_layout
18189
18190 \end_inset
18191 </cell>
18192 </row>
18193 <row>
18194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18195 \begin_inset Text
18196
18197 \begin_layout Plain Layout
18198 h
18199 \end_layout
18200
18201 \end_inset
18202 </cell>
18203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18204 \begin_inset Text
18205
18206 \begin_layout Plain Layout
18207 i
18208 \end_layout
18209
18210 \end_inset
18211 </cell>
18212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18213 \begin_inset Text
18214
18215 \begin_layout Plain Layout
18216 j
18217 \end_layout
18218
18219 \end_inset
18220 </cell>
18221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18222 \begin_inset Text
18223
18224 \begin_layout Plain Layout
18225 k
18226 \end_layout
18227
18228 \end_inset
18229 </cell>
18230 </row>
18231 </lyxtabular>
18232
18233 \end_inset
18234
18235
18236 \end_layout
18237
18238 \end_inset
18239
18240
18241 \end_layout
18242
18243 \begin_layout Subsection
18244 Line Thickness
18245 \begin_inset CommandInset label
18246 LatexCommand label
18247 name "sub:Line-Thickness"
18248
18249 \end_inset
18250
18251
18252 \begin_inset Index idx
18253 status collapsed
18254
18255 \begin_layout Plain Layout
18256 Table Customization ! Line Thickness
18257 \end_layout
18258
18259 \end_inset
18260
18261
18262 \end_layout
18263
18264 \begin_layout Standard
18265 The line thickness for all lines in a table can be adjusted with the length
18266  
18267 \series bold
18268
18269 \backslash
18270 arrayrulewidth
18271 \series default
18272 .
18273  To set for example a line thickness of 1.5
18274 \begin_inset space \thinspace{}
18275 \end_inset
18276
18277 pt, as in Table
18278 \begin_inset space ~
18279 \end_inset
18280
18281
18282 \begin_inset CommandInset ref
18283 LatexCommand ref
18284 reference "tab:Table-with-1.5"
18285
18286 \end_inset
18287
18288 , insert the command
18289 \end_layout
18290
18291 \begin_layout Standard
18292
18293 \series bold
18294
18295 \backslash
18296 setlength{
18297 \backslash
18298 arrayrulewidth}{1.5pt}
18299 \end_layout
18300
18301 \begin_layout Standard
18302 in TeX-Code before the table or table float.
18303  The changed thickness is valid for all subsequent tables.
18304  To use the default value again, set 
18305 \series bold
18306
18307 \backslash
18308 arrayrulewidth
18309 \series default
18310  to 0.4
18311 \begin_inset space \thinspace{}
18312 \end_inset
18313
18314 pt in TeX-Code after the table or table float.
18315 \end_layout
18316
18317 \begin_layout Standard
18318 \begin_inset ERT
18319 status collapsed
18320
18321 \begin_layout Plain Layout
18322
18323
18324 \backslash
18325 setlength{
18326 \backslash
18327 arrayrulewidth}{1.5pt}
18328 \end_layout
18329
18330 \end_inset
18331
18332
18333 \begin_inset Float table
18334 wide false
18335 sideways false
18336 status open
18337
18338 \begin_layout Plain Layout
18339 \begin_inset Caption
18340
18341 \begin_layout Plain Layout
18342 \begin_inset CommandInset label
18343 LatexCommand label
18344 name "tab:Table-with-1.5"
18345
18346 \end_inset
18347
18348 Table with 1.5
18349 \begin_inset space \thinspace{}
18350 \end_inset
18351
18352 pt thick lines
18353 \end_layout
18354
18355 \end_inset
18356
18357
18358 \end_layout
18359
18360 \begin_layout Plain Layout
18361 \align center
18362 \begin_inset Tabular
18363 <lyxtabular version="3" rows="3" columns="3">
18364 <features tabularvalignment="middle">
18365 <column alignment="center" valignment="top" width="0">
18366 <column alignment="center" valignment="top" width="0">
18367 <column alignment="center" valignment="top" width="0">
18368 <row>
18369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18370 \begin_inset Text
18371
18372 \begin_layout Plain Layout
18373 sd
18374 \end_layout
18375
18376 \end_inset
18377 </cell>
18378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18379 \begin_inset Text
18380
18381 \begin_layout Plain Layout
18382
18383 \end_layout
18384
18385 \end_inset
18386 </cell>
18387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18388 \begin_inset Text
18389
18390 \begin_layout Plain Layout
18391
18392 \end_layout
18393
18394 \end_inset
18395 </cell>
18396 </row>
18397 <row>
18398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18399 \begin_inset Text
18400
18401 \begin_layout Plain Layout
18402
18403 \end_layout
18404
18405 \end_inset
18406 </cell>
18407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18408 \begin_inset Text
18409
18410 \begin_layout Plain Layout
18411 sd
18412 \end_layout
18413
18414 \end_inset
18415 </cell>
18416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18417 \begin_inset Text
18418
18419 \begin_layout Plain Layout
18420
18421 \end_layout
18422
18423 \end_inset
18424 </cell>
18425 </row>
18426 <row>
18427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18428 \begin_inset Text
18429
18430 \begin_layout Plain Layout
18431
18432 \end_layout
18433
18434 \end_inset
18435 </cell>
18436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18437 \begin_inset Text
18438
18439 \begin_layout Plain Layout
18440
18441 \end_layout
18442
18443 \end_inset
18444 </cell>
18445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18446 \begin_inset Text
18447
18448 \begin_layout Plain Layout
18449 sd
18450 \end_layout
18451
18452 \end_inset
18453 </cell>
18454 </row>
18455 </lyxtabular>
18456
18457 \end_inset
18458
18459
18460 \end_layout
18461
18462 \end_inset
18463
18464
18465 \begin_inset ERT
18466 status collapsed
18467
18468 \begin_layout Plain Layout
18469
18470
18471 \backslash
18472 setlength{
18473 \backslash
18474 arrayrulewidth}{0.4pt}
18475 \end_layout
18476
18477 \end_inset
18478
18479
18480 \end_layout
18481
18482 \begin_layout Standard
18483 \begin_inset VSpace bigskip
18484 \end_inset
18485
18486 To set the line thickness to 1.5
18487 \begin_inset space \thinspace{}
18488 \end_inset
18489
18490 pt only for horizontal lines, as in Table
18491 \begin_inset space ~
18492 \end_inset
18493
18494
18495 \begin_inset CommandInset ref
18496 LatexCommand ref
18497 reference "tab:Table-with-horizontal"
18498
18499 \end_inset
18500
18501 , insert these commands in TeX-Code before the table or table float:
18502 \end_layout
18503
18504 \begin_layout Standard
18505
18506 \series bold
18507
18508 \backslash
18509 let
18510 \backslash
18511 myHline
18512 \backslash
18513 hline
18514 \begin_inset Newline newline
18515 \end_inset
18516
18517
18518 \backslash
18519 renewcommand{
18520 \backslash
18521 hline}
18522 \begin_inset Newline newline
18523 \end_inset
18524
18525  {
18526 \backslash
18527 noalign{
18528 \backslash
18529 global
18530 \backslash
18531 arrayrulewidth 1.5pt}
18532 \begin_inset Newline newline
18533 \end_inset
18534
18535  
18536 \backslash
18537 myHline
18538 \backslash
18539 noalign{
18540 \backslash
18541 global
18542 \backslash
18543 arrayrulewidth 0.4pt}}
18544 \end_layout
18545
18546 \begin_layout Standard
18547 To return to the default line thickness, insert this command in TeX-Code
18548  after the table or table float:
18549 \end_layout
18550
18551 \begin_layout Standard
18552
18553 \series bold
18554
18555 \backslash
18556 renewcommand{
18557 \backslash
18558 hline}{
18559 \backslash
18560 myHline}
18561 \end_layout
18562
18563 \begin_layout Standard
18564 \begin_inset ERT
18565 status collapsed
18566
18567 \begin_layout Plain Layout
18568
18569
18570 \backslash
18571 let
18572 \backslash
18573 myHline
18574 \backslash
18575 hline
18576 \end_layout
18577
18578 \begin_layout Plain Layout
18579
18580
18581 \backslash
18582 renewcommand{
18583 \backslash
18584 hline}
18585 \end_layout
18586
18587 \begin_layout Plain Layout
18588
18589  {
18590 \backslash
18591 noalign{
18592 \backslash
18593 global
18594 \backslash
18595 arrayrulewidth 1.5pt}
18596 \end_layout
18597
18598 \begin_layout Plain Layout
18599
18600   
18601 \backslash
18602 myHline
18603 \backslash
18604 noalign{
18605 \backslash
18606 global
18607 \backslash
18608 arrayrulewidth 0.4pt}}
18609 \end_layout
18610
18611 \end_inset
18612
18613
18614 \begin_inset Float table
18615 wide false
18616 sideways false
18617 status open
18618
18619 \begin_layout Plain Layout
18620 \begin_inset Caption
18621
18622 \begin_layout Plain Layout
18623 \begin_inset CommandInset label
18624 LatexCommand label
18625 name "tab:Table-with-horizontal"
18626
18627 \end_inset
18628
18629 Table with 1.5
18630 \begin_inset space \thinspace{}
18631 \end_inset
18632
18633 pt thick horizontal lines
18634 \end_layout
18635
18636 \end_inset
18637
18638
18639 \end_layout
18640
18641 \begin_layout Plain Layout
18642 \align center
18643 \begin_inset Tabular
18644 <lyxtabular version="3" rows="3" columns="3">
18645 <features tabularvalignment="middle">
18646 <column alignment="center" valignment="top" width="0">
18647 <column alignment="center" valignment="top" width="0">
18648 <column alignment="center" valignment="top" width="0">
18649 <row>
18650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18651 \begin_inset Text
18652
18653 \begin_layout Plain Layout
18654 sd
18655 \end_layout
18656
18657 \end_inset
18658 </cell>
18659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18660 \begin_inset Text
18661
18662 \begin_layout Plain Layout
18663
18664 \end_layout
18665
18666 \end_inset
18667 </cell>
18668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18669 \begin_inset Text
18670
18671 \begin_layout Plain Layout
18672
18673 \end_layout
18674
18675 \end_inset
18676 </cell>
18677 </row>
18678 <row>
18679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18680 \begin_inset Text
18681
18682 \begin_layout Plain Layout
18683
18684 \end_layout
18685
18686 \end_inset
18687 </cell>
18688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18689 \begin_inset Text
18690
18691 \begin_layout Plain Layout
18692 sd
18693 \end_layout
18694
18695 \end_inset
18696 </cell>
18697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18698 \begin_inset Text
18699
18700 \begin_layout Plain Layout
18701
18702 \end_layout
18703
18704 \end_inset
18705 </cell>
18706 </row>
18707 <row>
18708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18709 \begin_inset Text
18710
18711 \begin_layout Plain Layout
18712
18713 \end_layout
18714
18715 \end_inset
18716 </cell>
18717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18718 \begin_inset Text
18719
18720 \begin_layout Plain Layout
18721
18722 \end_layout
18723
18724 \end_inset
18725 </cell>
18726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18727 \begin_inset Text
18728
18729 \begin_layout Plain Layout
18730 sd
18731 \end_layout
18732
18733 \end_inset
18734 </cell>
18735 </row>
18736 </lyxtabular>
18737
18738 \end_inset
18739
18740
18741 \end_layout
18742
18743 \end_inset
18744
18745
18746 \begin_inset ERT
18747 status collapsed
18748
18749 \begin_layout Plain Layout
18750
18751
18752 \backslash
18753 renewcommand{
18754 \backslash
18755 hline}{
18756 \backslash
18757 myHline}
18758 \end_layout
18759
18760 \end_inset
18761
18762
18763 \end_layout
18764
18765 \begin_layout Standard
18766 \begin_inset VSpace bigskip
18767 \end_inset
18768
18769 To set the line thickness to 1.5
18770 \begin_inset space \thinspace{}
18771 \end_inset
18772
18773 pt only for vertical lines, create the following column format in the document
18774  preamble, according to the description in section
18775 \begin_inset space ~
18776 \end_inset
18777
18778
18779 \begin_inset CommandInset ref
18780 LatexCommand ref
18781 reference "sub:Customized-Format"
18782
18783 \end_inset
18784
18785 :
18786 \end_layout
18787
18788 \begin_layout Standard
18789
18790 \series bold
18791
18792 \backslash
18793 newcolumntype{V}{!{
18794 \backslash
18795 vrule width 1.5pt}}
18796 \end_layout
18797
18798 \begin_layout Standard
18799 For Table
18800 \begin_inset space ~
18801 \end_inset
18802
18803
18804 \begin_inset CommandInset ref
18805 LatexCommand ref
18806 reference "tab:Table-with-vertical"
18807
18808 \end_inset
18809
18810  the LaTeX-argument
18811 \end_layout
18812
18813 \begin_layout Standard
18814
18815 \series bold
18816 VcV
18817 \end_layout
18818
18819 \begin_layout Standard
18820 was used for the last column and
18821 \end_layout
18822
18823 \begin_layout Standard
18824
18825 \series bold
18826 Vc
18827 \end_layout
18828
18829 \begin_layout Standard
18830 for the other columns.
18831 \end_layout
18832
18833 \begin_layout Standard
18834 \begin_inset Float table
18835 wide false
18836 sideways false
18837 status open
18838
18839 \begin_layout Plain Layout
18840 \begin_inset Caption
18841
18842 \begin_layout Plain Layout
18843 \begin_inset CommandInset label
18844 LatexCommand label
18845 name "tab:Table-with-vertical"
18846
18847 \end_inset
18848
18849 Table with 1.5
18850 \begin_inset space \thinspace{}
18851 \end_inset
18852
18853 pt thick vertical lines
18854 \end_layout
18855
18856 \end_inset
18857
18858
18859 \end_layout
18860
18861 \begin_layout Plain Layout
18862 \align center
18863 \begin_inset Tabular
18864 <lyxtabular version="3" rows="3" columns="3">
18865 <features tabularvalignment="middle">
18866 <column alignment="center" valignment="top" width="0" special="Vc">
18867 <column alignment="center" valignment="top" width="0" special="Vc">
18868 <column alignment="center" valignment="top" width="0" special="VcV">
18869 <row>
18870 <cell alignment="center" valignment="top" topline="true" usebox="none">
18871 \begin_inset Text
18872
18873 \begin_layout Plain Layout
18874 sd
18875 \end_layout
18876
18877 \end_inset
18878 </cell>
18879 <cell alignment="center" valignment="top" topline="true" usebox="none">
18880 \begin_inset Text
18881
18882 \begin_layout Plain Layout
18883
18884 \end_layout
18885
18886 \end_inset
18887 </cell>
18888 <cell alignment="center" valignment="top" topline="true" usebox="none">
18889 \begin_inset Text
18890
18891 \begin_layout Plain Layout
18892
18893 \end_layout
18894
18895 \end_inset
18896 </cell>
18897 </row>
18898 <row>
18899 <cell alignment="center" valignment="top" topline="true" usebox="none">
18900 \begin_inset Text
18901
18902 \begin_layout Plain Layout
18903
18904 \end_layout
18905
18906 \end_inset
18907 </cell>
18908 <cell alignment="center" valignment="top" topline="true" usebox="none">
18909 \begin_inset Text
18910
18911 \begin_layout Plain Layout
18912 sd
18913 \end_layout
18914
18915 \end_inset
18916 </cell>
18917 <cell alignment="center" valignment="top" topline="true" usebox="none">
18918 \begin_inset Text
18919
18920 \begin_layout Plain Layout
18921
18922 \end_layout
18923
18924 \end_inset
18925 </cell>
18926 </row>
18927 <row>
18928 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18929 \begin_inset Text
18930
18931 \begin_layout Plain Layout
18932
18933 \end_layout
18934
18935 \end_inset
18936 </cell>
18937 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18938 \begin_inset Text
18939
18940 \begin_layout Plain Layout
18941
18942 \end_layout
18943
18944 \end_inset
18945 </cell>
18946 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18947 \begin_inset Text
18948
18949 \begin_layout Plain Layout
18950 sd
18951 \end_layout
18952
18953 \end_inset
18954 </cell>
18955 </row>
18956 </lyxtabular>
18957
18958 \end_inset
18959
18960
18961 \end_layout
18962
18963 \end_inset
18964
18965
18966 \end_layout
18967
18968 \begin_layout Subsection
18969 Dashed Lines
18970 \begin_inset Index idx
18971 status collapsed
18972
18973 \begin_layout Plain Layout
18974 Table Customization ! Dashed Lines
18975 \end_layout
18976
18977 \end_inset
18978
18979
18980 \end_layout
18981
18982 \begin_layout Standard
18983 \begin_inset ERT
18984 status collapsed
18985
18986 \begin_layout Plain Layout
18987
18988
18989 \backslash
18990 ifarydshln
18991 \end_layout
18992
18993 \end_inset
18994
18995
18996 \begin_inset Note Note
18997 status open
18998
18999 \begin_layout Plain Layout
19000 The following section will only be displayed when the LaTeX-package 
19001 \series bold
19002 arydshln
19003 \series default
19004  is installed.
19005 \end_layout
19006
19007 \end_inset
19008
19009
19010 \end_layout
19011
19012 \begin_layout Standard
19013 \begin_inset Float table
19014 placement H
19015 wide false
19016 sideways false
19017 status open
19018
19019 \begin_layout Plain Layout
19020 \begin_inset Caption
19021
19022 \begin_layout Plain Layout
19023 \begin_inset CommandInset label
19024 LatexCommand label
19025 name "tab:Table-with-dashed"
19026
19027 \end_inset
19028
19029 Table with dashed lines
19030 \end_layout
19031
19032 \end_inset
19033
19034
19035 \end_layout
19036
19037 \begin_layout Plain Layout
19038 \align center
19039 \begin_inset Tabular
19040 <lyxtabular version="3" rows="5" columns="5">
19041 <features tabularvalignment="middle">
19042 <column alignment="center" valignment="top" width="0">
19043 <column alignment="center" valignment="top" width="0">
19044 <column alignment="center" valignment="top" width="0" special=":c">
19045 <column alignment="center" valignment="top" width="0">
19046 <column alignment="center" valignment="top" width="0">
19047 <row>
19048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19049 \begin_inset Text
19050
19051 \begin_layout Plain Layout
19052 a
19053 \end_layout
19054
19055 \end_inset
19056 </cell>
19057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19058 \begin_inset Text
19059
19060 \begin_layout Plain Layout
19061 b
19062 \end_layout
19063
19064 \end_inset
19065 </cell>
19066 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19067 \begin_inset Text
19068
19069 \begin_layout Plain Layout
19070 c
19071 \end_layout
19072
19073 \end_inset
19074 </cell>
19075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19076 \begin_inset Text
19077
19078 \begin_layout Plain Layout
19079 d
19080 \end_layout
19081
19082 \end_inset
19083 </cell>
19084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19085 \begin_inset Text
19086
19087 \begin_layout Plain Layout
19088 e
19089 \end_layout
19090
19091 \end_inset
19092 </cell>
19093 </row>
19094 <row>
19095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19096 \begin_inset Text
19097
19098 \begin_layout Plain Layout
19099 f
19100 \end_layout
19101
19102 \end_inset
19103 </cell>
19104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19105 \begin_inset Text
19106
19107 \begin_layout Plain Layout
19108 g
19109 \end_layout
19110
19111 \end_inset
19112 </cell>
19113 <cell alignment="center" valignment="top" topline="true" usebox="none">
19114 \begin_inset Text
19115
19116 \begin_layout Plain Layout
19117 h
19118 \end_layout
19119
19120 \end_inset
19121 </cell>
19122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19123 \begin_inset Text
19124
19125 \begin_layout Plain Layout
19126 i
19127 \end_layout
19128
19129 \end_inset
19130 </cell>
19131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19132 \begin_inset Text
19133
19134 \begin_layout Plain Layout
19135 j
19136 \end_layout
19137
19138 \end_inset
19139 </cell>
19140 </row>
19141 <row>
19142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19143 \begin_inset Text
19144
19145 \begin_layout Plain Layout
19146 \begin_inset ERT
19147 status collapsed
19148
19149 \begin_layout Plain Layout
19150
19151
19152 \backslash
19153 hdashline 
19154 \end_layout
19155
19156 \end_inset
19157
19158 k
19159 \end_layout
19160
19161 \end_inset
19162 </cell>
19163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19164 \begin_inset Text
19165
19166 \begin_layout Plain Layout
19167 l
19168 \end_layout
19169
19170 \end_inset
19171 </cell>
19172 <cell alignment="center" valignment="top" usebox="none">
19173 \begin_inset Text
19174
19175 \begin_layout Plain Layout
19176 m
19177 \end_layout
19178
19179 \end_inset
19180 </cell>
19181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19182 \begin_inset Text
19183
19184 \begin_layout Plain Layout
19185 n
19186 \end_layout
19187
19188 \end_inset
19189 </cell>
19190 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19191 \begin_inset Text
19192
19193 \begin_layout Plain Layout
19194 o
19195 \end_layout
19196
19197 \end_inset
19198 </cell>
19199 </row>
19200 <row>
19201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19202 \begin_inset Text
19203
19204 \begin_layout Plain Layout
19205 \begin_inset ERT
19206 status collapsed
19207
19208 \begin_layout Plain Layout
19209
19210
19211 \backslash
19212 cdashline{4-5}
19213 \end_layout
19214
19215 \end_inset
19216
19217 p
19218 \end_layout
19219
19220 \end_inset
19221 </cell>
19222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19223 \begin_inset Text
19224
19225 \begin_layout Plain Layout
19226 q
19227 \end_layout
19228
19229 \end_inset
19230 </cell>
19231 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19232 \begin_inset Text
19233
19234 \begin_layout Plain Layout
19235 r
19236 \end_layout
19237
19238 \end_inset
19239 </cell>
19240 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19241 \begin_inset Text
19242
19243 \begin_layout Plain Layout
19244 s
19245 \end_layout
19246
19247 \end_inset
19248 </cell>
19249 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19250 \begin_inset Text
19251
19252 \begin_layout Plain Layout
19253
19254 \end_layout
19255
19256 \end_inset
19257 </cell>
19258 </row>
19259 <row>
19260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19261 \begin_inset Text
19262
19263 \begin_layout Plain Layout
19264 t
19265 \end_layout
19266
19267 \end_inset
19268 </cell>
19269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19270 \begin_inset Text
19271
19272 \begin_layout Plain Layout
19273 u
19274 \end_layout
19275
19276 \end_inset
19277 </cell>
19278 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19279 \begin_inset Text
19280
19281 \begin_layout Plain Layout
19282 v
19283 \end_layout
19284
19285 \end_inset
19286 </cell>
19287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19288 \begin_inset Text
19289
19290 \begin_layout Plain Layout
19291 w
19292 \end_layout
19293
19294 \end_inset
19295 </cell>
19296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19297 \begin_inset Text
19298
19299 \begin_layout Plain Layout
19300 x
19301 \end_layout
19302
19303 \end_inset
19304 </cell>
19305 </row>
19306 </lyxtabular>
19307
19308 \end_inset
19309
19310
19311 \end_layout
19312
19313 \end_inset
19314
19315
19316 \end_layout
19317
19318 \begin_layout Standard
19319 LyX does not natively support dashed lines, so you have to use TeX-Code.
19320  As a prerequisite the LaTeX-package 
19321 \series bold
19322 arydshln
19323 \series default
19324
19325 \begin_inset Index idx
19326 status collapsed
19327
19328 \begin_layout Plain Layout
19329 LaTeX-packages ! arydshln
19330 \end_layout
19331
19332 \end_inset
19333
19334  must be loaded in the document preamble with the command
19335 \end_layout
19336
19337 \begin_layout Standard
19338
19339 \series bold
19340
19341 \backslash
19342 usepackage{arydshln}
19343 \end_layout
19344
19345 \begin_layout Standard
19346 To make a vertical line dashed, enter the colon 
19347 \begin_inset Quotes eld
19348 \end_inset
19349
19350 :
19351 \begin_inset Quotes erd
19352 \end_inset
19353
19354  together with the character for the horizontal alignment as LaTeX-argument
19355  in the table cell dialog.
19356 \end_layout
19357
19358 \begin_layout Standard
19359 For a horizontal dashed line add the command
19360 \end_layout
19361
19362 \begin_layout Standard
19363
19364 \series bold
19365
19366 \backslash
19367 hdashline
19368 \end_layout
19369
19370 \begin_layout Standard
19371 in TeX-Code as first element of the first cell in the table row.
19372 \end_layout
19373
19374 \begin_layout Standard
19375 For dashed multicolumn lines use the command
19376 \end_layout
19377
19378 \begin_layout Standard
19379
19380 \series bold
19381
19382 \backslash
19383 cdashline{line number
19384 \series default
19385 }
19386 \end_layout
19387
19388 \begin_layout Standard
19389 in TeX-Code as the first element of the first cell in the table row.
19390  If you have for example a multicolumn spanning columns 2 to 4 and you want
19391  to have a dashed line above, add the command
19392 \end_layout
19393
19394 \begin_layout Standard
19395
19396 \series bold
19397
19398 \backslash
19399 cdashline{2-4}
19400 \end_layout
19401
19402 \begin_layout Standard
19403 as the first element of the first cell in the row of the multicolumn.
19404 \end_layout
19405
19406 \begin_layout Standard
19407 \begin_inset VSpace bigskip
19408 \end_inset
19409
19410
19411 \end_layout
19412
19413 \begin_layout Standard
19414 Table
19415 \begin_inset space ~
19416 \end_inset
19417
19418
19419 \begin_inset CommandInset ref
19420 LatexCommand ref
19421 reference "tab:Table-with-dashed"
19422
19423 \end_inset
19424
19425  was created using 
19426 \begin_inset Quotes eld
19427 \end_inset
19428
19429
19430 \series bold
19431 :c
19432 \series default
19433
19434 \begin_inset Quotes erd
19435 \end_inset
19436
19437  as LaTeX-argument of the third column.
19438  The TeX-Code command 
19439 \series bold
19440
19441 \backslash
19442 hdashline
19443 \series default
19444  was inserted in the first cell of the third row and the TeX-Code command
19445 \begin_inset Newline newline
19446 \end_inset
19447
19448  
19449 \series bold
19450
19451 \backslash
19452 cdashline{4-5}
19453 \series default
19454  was inserted in the first cell of the fourth row.
19455 \end_layout
19456
19457 \begin_layout Standard
19458 \begin_inset Note Greyedout
19459 status open
19460
19461 \begin_layout Plain Layout
19462
19463 \series bold
19464 Note:
19465 \series default
19466  The LaTeX-package 
19467 \series bold
19468 arydshln
19469 \series default
19470  is apparently not compatible with the LaTeX-package 
19471 \series bold
19472 colortbl
19473 \series default
19474
19475 \begin_inset Index idx
19476 status collapsed
19477
19478 \begin_layout Plain Layout
19479 LaTeX-packages ! colortbl
19480 \end_layout
19481
19482 \end_inset
19483
19484  that is used for colored tables in section
19485 \begin_inset space ~
19486 \end_inset
19487
19488
19489 \begin_inset CommandInset ref
19490 LatexCommand ref
19491 reference "sec:Colored-Tables"
19492
19493 \end_inset
19494
19495 .
19496  That means colored tables cannot have dashed lines.
19497 \end_layout
19498
19499 \end_inset
19500
19501
19502 \end_layout
19503
19504 \begin_layout Standard
19505 \begin_inset ERT
19506 status collapsed
19507
19508 \begin_layout Plain Layout
19509
19510
19511 \backslash
19512 else
19513 \end_layout
19514
19515 \end_inset
19516
19517
19518 \begin_inset Note Note
19519 status open
19520
19521 \begin_layout Plain Layout
19522 The following will be displayed when the LaTeX-package 
19523 \series bold
19524 arydshln
19525 \series default
19526  is not installed:
19527 \end_layout
19528
19529 \end_inset
19530
19531
19532 \end_layout
19533
19534 \begin_layout Standard
19535 You need to install the package 
19536 \series bold
19537 arydshln
19538 \series default
19539  to see the content of this section in the output.
19540 \end_layout
19541
19542 \begin_layout Standard
19543 \begin_inset ERT
19544 status collapsed
19545
19546 \begin_layout Plain Layout
19547
19548
19549 \backslash
19550 fi
19551 \end_layout
19552
19553 \end_inset
19554
19555
19556 \end_layout
19557
19558 \begin_layout Chapter
19559 Floats
19560 \begin_inset Index idx
19561 status collapsed
19562
19563 \begin_layout Plain Layout
19564 Floats
19565 \end_layout
19566
19567 \end_inset
19568
19569
19570 \end_layout
19571
19572 \begin_layout Section
19573 Introduction
19574 \begin_inset CommandInset label
19575 LatexCommand label
19576 name "sec:FloatIntroduction"
19577
19578 \end_inset
19579
19580
19581 \begin_inset Index idx
19582 status collapsed
19583
19584 \begin_layout Plain Layout
19585 Floats ! Introduction
19586 \end_layout
19587
19588 \end_inset
19589
19590
19591 \end_layout
19592
19593 \begin_layout Standard
19594 A float is a block of text associated with some sort of label, which doesn't
19595  have a fixed location.
19596  It can 
19597 \begin_inset Quotes eld
19598 \end_inset
19599
19600 float
19601 \begin_inset Quotes erd
19602 \end_inset
19603
19604  forward or backward a page or two, to wherever it fits best.
19605  
19606 \family sans
19607 Footnotes
19608 \family default
19609  and 
19610 \family sans
19611 Margin
19612 \begin_inset space ~
19613 \end_inset
19614
19615 Notes
19616 \family default
19617  are also floats, because they can float to the next page when there are
19618  too many notes on the page.
19619 \end_layout
19620
19621 \begin_layout Standard
19622 Floats allow a high quality layout.
19623  Images and tables can be spread evenly to the pages to avoid white space
19624  and pages without text.
19625  As the floating often destroys the context between the text and the image/table
19626 , every float can be referenced in the text.
19627  Floats are therefore numbered.
19628  Referencing is described in section
19629 \begin_inset space ~
19630 \end_inset
19631
19632
19633 \begin_inset CommandInset ref
19634 LatexCommand ref
19635 reference "sec:Referencing-Floats"
19636
19637 \end_inset
19638
19639 .
19640 \end_layout
19641
19642 \begin_layout Standard
19643 To insert a float, use the menu 
19644 \family sans
19645 Insert\SpecialChar \menuseparator
19646 Float
19647 \family default
19648 .
19649  This inserts the 
19650 \family sans
19651 Caption
19652 \family default
19653  inset, a box with a label.
19654  The label will automatically be translated to the document language in
19655  the output.
19656  After the label you can insert the caption text.
19657  The image or table is inserted above or below the caption in a separate
19658  paragraph within the float.
19659  More about the caption placement is contained in section
19660 \begin_inset space ~
19661 \end_inset
19662
19663
19664 \begin_inset CommandInset ref
19665 LatexCommand ref
19666 reference "sec:Caption-Placement"
19667
19668 \end_inset
19669
19670 .
19671  To keep your LyX-document readable, you can open and close the float box
19672  by left-clicking on the box label.
19673  A closed float box looks like this: 
19674 \begin_inset Graphics
19675         filename clipart/floatQt4.png
19676         scale 70
19677         scaleBeforeRotation
19678
19679 \end_inset
19680
19681  â€“ a gray button with a red label.
19682 \end_layout
19683
19684 \begin_layout Standard
19685 It is recommended that you insert floats as a separate standard paragraph
19686  to avoid possible LaTeX-errors that can occur when the surrounding text
19687  is specially formatted.
19688 \end_layout
19689
19690 \begin_layout Standard
19691 Existing figures or tables can be put into a float by highlighting them
19692  and then pressing the corresponding toolbar button for a new float.
19693 \end_layout
19694
19695 \begin_layout Section
19696 Float Types
19697 \end_layout
19698
19699 \begin_layout Standard
19700 Besides figure and table floats that are described in sections
19701 \begin_inset space ~
19702 \end_inset
19703
19704
19705 \begin_inset CommandInset ref
19706 LatexCommand ref
19707 reference "sec:Figure-Floats"
19708
19709 \end_inset
19710
19711  and 
19712 \begin_inset CommandInset ref
19713 LatexCommand ref
19714 reference "sec:Table-Floats"
19715
19716 \end_inset
19717
19718  respectively, LyX offers the float types 
19719 \series bold
19720 Algorithm
19721 \series default
19722  and 
19723 \series bold
19724 Wrap
19725 \series default
19726 .
19727 \end_layout
19728
19729 \begin_layout Subsection
19730 Algorithm Floats
19731 \begin_inset Index idx
19732 status collapsed
19733
19734 \begin_layout Plain Layout
19735 Floats ! Algorithms
19736 \end_layout
19737
19738 \end_inset
19739
19740
19741 \end_layout
19742
19743 \begin_layout Standard
19744 \begin_inset Float algorithm
19745 placement h
19746 wide false
19747 sideways false
19748 status open
19749
19750 \begin_layout Plain Layout
19751 \begin_inset Caption
19752
19753 \begin_layout Plain Layout
19754 \begin_inset CommandInset label
19755 LatexCommand label
19756 name "alg:Example-Algorithm-float"
19757
19758 \end_inset
19759
19760 Example Algorithm float
19761 \end_layout
19762
19763 \end_inset
19764
19765
19766 \end_layout
19767
19768 \begin_layout LyX-Code
19769 for I in 1..N loop
19770 \begin_inset Newline newline
19771 \end_inset
19772
19773  Sum:= Sum + A(I); /*comment*/
19774 \begin_inset Newline newline
19775 \end_inset
19776
19777 end loop
19778 \begin_inset VSpace -4mm
19779 \end_inset
19780
19781
19782 \end_layout
19783
19784 \end_inset
19785
19786
19787 \end_layout
19788
19789 \begin_layout Standard
19790 This float type is inserted with the menu 
19791 \family sans
19792 Insert\SpecialChar \menuseparator
19793 Floats\SpecialChar \menuseparator
19794 Algorithm
19795 \family default
19796 .
19797  It is used for program codes and descriptions of algorithms and can be
19798  seen as an alternative to program code listings that are explained in chapter
19799 \begin_inset space ~
19800 \end_inset
19801
19802
19803 \begin_inset CommandInset ref
19804 LatexCommand ref
19805 reference "cha:Program-Code-Listings"
19806
19807 \end_inset
19808
19809 .
19810  A possible environment for algorithms is the 
19811 \family sans
19812 LyX-Code
19813 \family default
19814 , described in LyX's 
19815 \emph on
19816 Userguide
19817 \emph default
19818 .
19819  Algorithm
19820 \begin_inset space ~
19821 \end_inset
19822
19823
19824 \begin_inset CommandInset ref
19825 LatexCommand ref
19826 reference "alg:Example-Algorithm-float"
19827
19828 \end_inset
19829
19830  is an example of an algorithm float where -4
19831 \begin_inset space \thinspace{}
19832 \end_inset
19833
19834 mm vertical space was added at the end of the float to have the bottom rule
19835  exactly below the last text line.
19836 \end_layout
19837
19838 \begin_layout Standard
19839 The float label is not automatically translated into the document language.
19840  If your document is not in English, you have to do this manually by adding
19841  the following line to the document preamble
19842 \series bold
19843 :
19844 \end_layout
19845
19846 \begin_layout Standard
19847
19848 \series bold
19849
19850 \backslash
19851 floatname{algorithm}{your
19852 \begin_inset space ~
19853 \end_inset
19854
19855 name}
19856 \end_layout
19857
19858 \begin_layout Standard
19859 where 
19860 \family sans
19861 your
19862 \begin_inset space ~
19863 \end_inset
19864
19865 name
19866 \family default
19867  is the word 
19868 \begin_inset Quotes eld
19869 \end_inset
19870
19871
19872 \emph on
19873 algorithm
19874 \emph default
19875
19876 \begin_inset Quotes erd
19877 \end_inset
19878
19879  in your language.
19880 \end_layout
19881
19882 \begin_layout Standard
19883 To insert the list of algorithms you can use the menu 
19884 \family sans
19885 Insert\SpecialChar \menuseparator
19886 List
19887 \begin_inset space \thinspace{}
19888 \end_inset
19889
19890 /
19891 \begin_inset space \thinspace{}
19892 \end_inset
19893
19894 TOC\SpecialChar \menuseparator
19895 List of Algorithms
19896 \family default
19897  when your document has the same language as LyX's menu names.
19898  In other cases use this command in TeX-Code instead:
19899 \end_layout
19900
19901 \begin_layout Standard
19902
19903 \series bold
19904
19905 \backslash
19906 listof{algorithm}{your
19907 \begin_inset space ~
19908 \end_inset
19909
19910 name}
19911 \end_layout
19912
19913 \begin_layout Standard
19914 where 
19915 \family sans
19916 your
19917 \begin_inset space ~
19918 \end_inset
19919
19920 name
19921 \family default
19922  is the word 
19923 \begin_inset Quotes eld
19924 \end_inset
19925
19926
19927 \emph on
19928 List of Algorithm
19929 \emph default
19930 s
19931 \begin_inset Quotes erd
19932 \end_inset
19933
19934  in your language.
19935 \end_layout
19936
19937 \begin_layout Standard
19938 Algorithm floats are not by default numbered in the scheme 
19939 \begin_inset Quotes eld
19940 \end_inset
19941
19942 chapter.algorithm
19943 \begin_inset Quotes erd
19944 \end_inset
19945
19946  as is the case for table and figure floats in many document-classes.
19947  To number algorithm floats in the same scheme, add this command to your
19948  document preamble:
19949 \end_layout
19950
19951 \begin_layout Standard
19952
19953 \series bold
19954
19955 \backslash
19956 numberwithin{algorithm}{chapter}
19957 \end_layout
19958
19959 \begin_layout Standard
19960 To be able to use the command 
19961 \series bold
19962
19963 \backslash
19964 numberwithin
19965 \series default
19966 , set in the tab 
19967 \family sans
19968 Math
19969 \begin_inset space ~
19970 \end_inset
19971
19972 Options
19973 \family default
19974  in the document settings the option 
19975 \family sans
19976 Use
19977 \begin_inset space ~
19978 \end_inset
19979
19980 AMS
19981 \begin_inset space ~
19982 \end_inset
19983
19984 math
19985 \begin_inset space ~
19986 \end_inset
19987
19988 package
19989 \family default
19990 .
19991 \end_layout
19992
19993 \begin_layout Subsection
19994 Wrap Floats
19995 \begin_inset Index idx
19996 status collapsed
19997
19998 \begin_layout Plain Layout
19999 Floats ! Wrap Floats
20000 \end_layout
20001
20002 \end_inset
20003
20004
20005 \end_layout
20006
20007 \begin_layout Standard
20008 \begin_inset Wrap figure
20009 lines 0
20010 placement l
20011 overhang 1cm
20012 width "40col%"
20013 status open
20014
20015 \begin_layout Plain Layout
20016 \begin_inset Graphics
20017         filename clipart/mobius.eps
20018         width 40col%
20019         scaleBeforeRotation
20020         rotateOrigin center
20021
20022 \end_inset
20023
20024
20025 \end_layout
20026
20027 \begin_layout Plain Layout
20028 \begin_inset Caption
20029
20030 \begin_layout Plain Layout
20031 \begin_inset CommandInset label
20032 LatexCommand label
20033 name "fig:This-is-a"
20034
20035 \end_inset
20036
20037 This is a figure wrap float.
20038 \end_layout
20039
20040 \end_inset
20041
20042
20043 \end_layout
20044
20045 \end_inset
20046
20047  This float type is used if you want to wrap text around a figure or table
20048  so that it only occupies some fraction of the column width.
20049  It can be inserted using the menu 
20050 \family sans
20051 Insert\SpecialChar \menuseparator
20052 Floats\SpecialChar \menuseparator
20053 Figure
20054 \begin_inset space ~
20055 \end_inset
20056
20057 Wrap
20058 \begin_inset space ~
20059 \end_inset
20060
20061 Float
20062 \family default
20063  or 
20064 \family sans
20065 Table
20066 \begin_inset space ~
20067 \end_inset
20068
20069 Wrap
20070 \begin_inset space ~
20071 \end_inset
20072
20073 Float
20074 \family default
20075  if the LaTeX-package 
20076 \series bold
20077 wrapfig
20078 \series default
20079
20080 \begin_inset Index idx
20081 status collapsed
20082
20083 \begin_layout Plain Layout
20084 LaTeX-packages ! wrapfig
20085 \begin_inset ERT
20086 status collapsed
20087
20088 \begin_layout Plain Layout
20089
20090
20091 \backslash
20092 vspace{4mm}
20093 \end_layout
20094
20095 \end_inset
20096
20097
20098 \end_layout
20099
20100 \end_inset
20101
20102  is installed.
20103 \begin_inset Foot
20104 status collapsed
20105
20106 \begin_layout Plain Layout
20107 Installing a LaTeX-package is explained it in the 
20108 \emph on
20109 LaTeX
20110 \begin_inset space ~
20111 \end_inset
20112
20113 Configuration
20114 \emph default
20115  manual.
20116 \end_layout
20117
20118 \end_inset
20119
20120  The settings of the float can be modified by right-clicking on the float
20121  box.
20122  The mandatory settings are the float 
20123 \family sans
20124 Placement
20125 \family default
20126  and its 
20127 \family sans
20128 Width
20129 \family default
20130 .
20131  Optional are the 
20132 \family sans
20133 Overhang
20134 \family default
20135  that specifies how much the float is set into the paragraph
20136 \begin_inset space \thinspace{}
20137 \end_inset
20138
20139 /
20140 \begin_inset space \thinspace{}
20141 \end_inset
20142
20143 page margin, and the 
20144 \family sans
20145 Line
20146 \begin_inset space ~
20147 \end_inset
20148
20149 span
20150 \family default
20151  that specifies how many text lines the float will approximately need.
20152  The line span is often hard to approximate; so it is better only to use
20153  it when you encounter float placement problems.
20154  You can furthermore decide if LaTeX is allowed to let the float float within
20155  the paragraph or to surrounding paragraphs.
20156  Figure
20157 \begin_inset space ~
20158 \end_inset
20159
20160
20161 \begin_inset CommandInset ref
20162 LatexCommand ref
20163 reference "fig:This-is-a"
20164
20165 \end_inset
20166
20167  is an example text wrap float with a width of 40
20168 \begin_inset space \thinspace{}
20169 \end_inset
20170
20171 col%, 1
20172 \begin_inset space \thinspace{}
20173 \end_inset
20174
20175 cm overhang, set to the left.
20176 \begin_inset Foot
20177 status collapsed
20178
20179 \begin_layout Plain Layout
20180 Available units are explained in appendix
20181 \begin_inset space ~
20182 \end_inset
20183
20184
20185 \begin_inset CommandInset ref
20186 LatexCommand ref
20187 reference "cha:Units-available-in"
20188
20189 \end_inset
20190
20191 .
20192 \end_layout
20193
20194 \end_inset
20195
20196
20197 \end_layout
20198
20199 \begin_layout Standard
20200 \begin_inset Note Greyedout
20201 status open
20202
20203 \begin_layout Plain Layout
20204
20205 \series bold
20206 Note:
20207 \series default
20208  Text
20209 \begin_inset space ~
20210 \end_inset
20211
20212 wrap float floats are fragile! E.
20213 \begin_inset space \thinspace{}
20214 \end_inset
20215
20216 g.
20217 \begin_inset space \space{}
20218 \end_inset
20219
20220 having a figure too close to the bottom of the page can mess things up in
20221  such a way that the float does not appear in the output or that it is placed
20222  over some other text.
20223 \end_layout
20224
20225 \end_inset
20226
20227
20228 \end_layout
20229
20230 \begin_layout Standard
20231 In general:
20232 \end_layout
20233
20234 \begin_layout Itemize
20235 Wrap floats should not be placed in paragraphs that run over a page break.
20236  That means that wrap floats are better inserted in their exact place when
20237  the document is almost finished and you are able to estimate where page
20238  breaks will appear.
20239 \end_layout
20240
20241 \begin_layout Itemize
20242 Wrap floats should either be placed in their own paragraph before the paragraph
20243  where they should wrap into or within a paragraph.
20244 \end_layout
20245
20246 \begin_layout Itemize
20247 Wrap floats in consecutive paragraphs may cause troubles, so ensure that
20248  there is a text paragraph between them as separator.
20249 \end_layout
20250
20251 \begin_layout Itemize
20252 Wrap floats are not allowed in section headings or tables.
20253 \end_layout
20254
20255 \begin_layout Section
20256 Float Numbering
20257 \begin_inset Index idx
20258 status collapsed
20259
20260 \begin_layout Plain Layout
20261 Floats ! Numbering
20262 \end_layout
20263
20264 \end_inset
20265
20266
20267 \end_layout
20268
20269 \begin_layout Standard
20270 Floats are usually numbered either independently from the sections the floats
20271  are in, or in the scheme 
20272 \begin_inset Quotes eld
20273 \end_inset
20274
20275 chapter.number
20276 \begin_inset Quotes erd
20277 \end_inset
20278
20279  or 
20280 \begin_inset Quotes eld
20281 \end_inset
20282
20283 section.number
20284 \begin_inset Quotes erd
20285 \end_inset
20286
20287 .
20288  This depends on the document class used.
20289 \end_layout
20290
20291 \begin_layout Standard
20292 To change section-independent numbering, you can use this command in the
20293  document preamble:
20294 \end_layout
20295
20296 \begin_layout Standard
20297
20298 \series bold
20299
20300 \backslash
20301 renewcommand{
20302 \backslash
20303 thetable}{
20304 \backslash
20305 roman{table}}
20306 \end_layout
20307
20308 \begin_layout Standard
20309
20310 \series bold
20311
20312 \backslash
20313 thetable
20314 \series default
20315  is the command that prints the table number, for figure floats, the command
20316  would be 
20317 \series bold
20318
20319 \backslash
20320 thefigure
20321 \series default
20322 .
20323  
20324 \series bold
20325
20326 \backslash
20327 roman
20328 \series default
20329  in the command above prints the table number as small roman number.
20330 \end_layout
20331
20332 \begin_layout Standard
20333 To change the numbering scheme for example to 
20334 \begin_inset Quotes eld
20335 \end_inset
20336
20337 subsection.number
20338 \begin_inset Quotes erd
20339 \end_inset
20340
20341 , use this command in the preamble:
20342 \end_layout
20343
20344 \begin_layout Standard
20345
20346 \series bold
20347
20348 \backslash
20349 numberwithin{table}{subsection}
20350 \end_layout
20351
20352 \begin_layout Standard
20353 To be able to use the command 
20354 \series bold
20355
20356 \backslash
20357 numberwithin
20358 \series default
20359 , set in the tab 
20360 \family sans
20361 Math
20362 \begin_inset space ~
20363 \end_inset
20364
20365 Options
20366 \family default
20367  in the document settings the option 
20368 \family sans
20369 Use
20370 \begin_inset space ~
20371 \end_inset
20372
20373 AMS
20374 \begin_inset space ~
20375 \end_inset
20376
20377 math
20378 \begin_inset space ~
20379 \end_inset
20380
20381 package
20382 \family default
20383 .
20384 \end_layout
20385
20386 \begin_layout Standard
20387 Please also have a look at section
20388 \begin_inset space ~
20389 \end_inset
20390
20391
20392 \begin_inset CommandInset ref
20393 LatexCommand ref
20394 reference "sub:Footnote-Numbering"
20395
20396 \end_inset
20397
20398  for the details and important notes about the numbering commands.
20399 \end_layout
20400
20401 \begin_layout Section
20402 Referencing Floats
20403 \begin_inset CommandInset label
20404 LatexCommand label
20405 name "sec:Referencing-Floats"
20406
20407 \end_inset
20408
20409
20410 \begin_inset Index idx
20411 status collapsed
20412
20413 \begin_layout Plain Layout
20414 Floats ! References
20415 \end_layout
20416
20417 \end_inset
20418
20419
20420 \begin_inset Index idx
20421 status collapsed
20422
20423 \begin_layout Plain Layout
20424 References ! to Floats
20425 \end_layout
20426
20427 \end_inset
20428
20429
20430 \end_layout
20431
20432 \begin_layout Standard
20433 To reference a float, insert a label into its caption using the menu 
20434 \family sans
20435 Insert\SpecialChar \menuseparator
20436 Label
20437 \family default
20438  or the toolbar button 
20439 \begin_inset Graphics
20440         filename ../images/label-insert.png
20441         scale 85
20442         scaleBeforeRotation
20443
20444 \end_inset
20445
20446 .
20447  A grey label box like this one: 
20448 \begin_inset Graphics
20449         filename clipart/labelQt4.png
20450         scale 85
20451         scaleBeforeRotation
20452
20453 \end_inset
20454
20455  will be inserted and the label window pops up asking for the label text.
20456  LyX offers as text the first words of the caption with a prefix.
20457  The prefix depends on the float type, e.
20458 \begin_inset space \thinspace{}
20459 \end_inset
20460
20461 g.
20462 \begin_inset space \space{}
20463 \end_inset
20464
20465 for figure floats the prefix will be "
20466 \family sans
20467 fig:
20468 \family default
20469 ".
20470 \end_layout
20471
20472 \begin_layout Standard
20473 The label is used as anchor and name for the reference.
20474  You can refer to the label using the menu 
20475 \family sans
20476 Insert\SpecialChar \menuseparator
20477 Cross-reference
20478 \family default
20479  or the toolbar button 
20480 \begin_inset Graphics
20481         filename ../images/dialog-show-new-inset_ref.png
20482         scale 85
20483         scaleBeforeRotation
20484
20485 \end_inset
20486
20487 .
20488  A grey cross-reference box like this one: 
20489 \begin_inset Graphics
20490         filename clipart/referenceQt4.png
20491         scale 85
20492         scaleBeforeRotation
20493
20494 \end_inset
20495
20496  will be inserted and the cross-reference window appear showing all labels
20497  of the document.
20498  If you have multiple LyX-documents opened, choose the one you are working
20499  on from the drop-list at the top of the dialog.
20500  You can now sort the labels alphabetically and then choose one.
20501  At the position of the cross-reference box the float number will appear
20502  in the output.
20503 \end_layout
20504
20505 \begin_layout Standard
20506 It is recommended that you use a protected space between the cross-reference
20507  name and its number to avoid line breaks between them.
20508  If a cross-reference refers to a non-existing label, you will see two question
20509  marks in the output instead of the reference.
20510 \end_layout
20511
20512 \begin_layout Standard
20513 You can change labels at any time by clicking on the label box.
20514  References to the changed label will automatically change its link to the
20515  new label text, so that you don't need to take care about this.
20516 \end_layout
20517
20518 \begin_layout Standard
20519 The button 
20520 \family sans
20521 Go
20522 \begin_inset space ~
20523 \end_inset
20524
20525 to
20526 \begin_inset space ~
20527 \end_inset
20528
20529 Label
20530 \family default
20531  in the cross-reference window sets the cursor before the referred label.
20532  The button text changes then to Go
20533 \begin_inset space ~
20534 \end_inset
20535
20536 Back and you can use it to set the cursor back to the cross-reference.
20537  Right-clicking on a cross-reference box also sets the cursor before the
20538  referenced label but without the possibility of going back.
20539 \end_layout
20540
20541 \begin_layout Subsection
20542 Cross-Reference Formats
20543 \begin_inset CommandInset label
20544 LatexCommand label
20545 name "sub:Cross-Reference-Formats"
20546
20547 \end_inset
20548
20549
20550 \begin_inset Index idx
20551 status collapsed
20552
20553 \begin_layout Plain Layout
20554 References ! Formats
20555 \end_layout
20556
20557 \end_inset
20558
20559
20560 \end_layout
20561
20562 \begin_layout Standard
20563 There are six varieties of cross-references:
20564 \end_layout
20565
20566 \begin_layout Description
20567 <reference>: prints the float number, this is the default: 
20568 \begin_inset CommandInset ref
20569 LatexCommand ref
20570 reference "fig:Two-distorted-images"
20571
20572 \end_inset
20573
20574
20575 \end_layout
20576
20577 \begin_layout Description
20578 (<reference>): prints the float number within two parentheses, this is the
20579  style normally used to reference formulas, especially when the reference
20580  name 
20581 \begin_inset Quotes eld
20582 \end_inset
20583
20584 Equation
20585 \begin_inset Quotes erd
20586 \end_inset
20587
20588  is omitted: 
20589 \begin_inset CommandInset ref
20590 LatexCommand eqref
20591 reference "eq:Wgn"
20592
20593 \end_inset
20594
20595
20596 \end_layout
20597
20598 \begin_layout Description
20599 <page>: prints the page number: Page
20600 \begin_inset space ~
20601 \end_inset
20602
20603
20604 \begin_inset CommandInset ref
20605 LatexCommand pageref
20606 reference "fig:Two-distorted-images"
20607
20608 \end_inset
20609
20610
20611 \end_layout
20612
20613 \begin_layout Description
20614 on
20615 \begin_inset space ~
20616 \end_inset
20617
20618 page
20619 \begin_inset space ~
20620 \end_inset
20621
20622 <page>: prints the text "on page" and the page number: 
20623 \begin_inset CommandInset ref
20624 LatexCommand vpageref
20625 reference "fig:Two-distorted-images"
20626
20627 \end_inset
20628
20629
20630 \end_layout
20631
20632 \begin_layout Description
20633 <reference>
20634 \begin_inset space ~
20635 \end_inset
20636
20637 on
20638 \begin_inset space ~
20639 \end_inset
20640
20641 page
20642 \begin_inset space ~
20643 \end_inset
20644
20645 <page>: prints the float number, the text "on page", and the page number:
20646  
20647 \begin_inset CommandInset ref
20648 LatexCommand vref
20649 reference "fig:Two-distorted-images"
20650
20651 \end_inset
20652
20653
20654 \end_layout
20655
20656 \begin_layout Description
20657 Formatted
20658 \begin_inset space ~
20659 \end_inset
20660
20661 reference: prints a self-defined cross-reference format.
20662 \begin_inset Newline newline
20663 \end_inset
20664
20665
20666 \begin_inset Note Greyedout
20667 status open
20668
20669 \begin_layout Plain Layout
20670
20671 \series bold
20672 Note:
20673 \series default
20674  This feature is only available when you have the LaTeX-package 
20675 \series bold
20676 prettyref
20677 \series default
20678  or 
20679 \series bold
20680 refstyle
20681 \series default
20682
20683 \begin_inset Index idx
20684 status collapsed
20685
20686 \begin_layout Plain Layout
20687 LaTeX-packages ! prettyref
20688 \end_layout
20689
20690 \end_inset
20691
20692
20693 \begin_inset Index idx
20694 status collapsed
20695
20696 \begin_layout Plain Layout
20697 LaTeX-packages ! refstyle
20698 \end_layout
20699
20700 \end_inset
20701
20702  installed.
20703 \end_layout
20704
20705 \end_inset
20706
20707
20708 \begin_inset Newline newline
20709 \end_inset
20710
20711 You can select which LaTeX-package should be used for this feature by setting
20712  the option 
20713 \family sans
20714 Use refstyle (not prettyref) for cross-references
20715 \family default
20716  in the menu 
20717 \family sans
20718 Document\SpecialChar \menuseparator
20719 Settings\SpecialChar \menuseparator
20720 Document Class
20721 \family default
20722 .
20723  The format is specified by adding the command 
20724 \series bold
20725
20726 \backslash
20727 newrefformat
20728 \series default
20729  (prettyref) or 
20730 \series bold
20731
20732 \backslash
20733 newref
20734 \series default
20735  (refstyle) to the preamble of the document.
20736  For example redefining all references to figures (which have the label
20737  shortcut 
20738 \begin_inset Quotes eld
20739 \end_inset
20740
20741
20742 \family sans
20743 fig
20744 \family default
20745
20746 \begin_inset Quotes erd
20747 \end_inset
20748
20749 ) can be done with this command
20750 \begin_inset Newline newline
20751 \end_inset
20752
20753
20754 \series bold
20755
20756 \backslash
20757 newref{fig}{refcmd={Image on page 
20758 \backslash
20759 pageref{#1}}}
20760 \series default
20761
20762 \begin_inset Newline newline
20763 \end_inset
20764
20765 For more information about the format, have a look at the package documentations
20766
20767 \begin_inset CommandInset citation
20768 LatexCommand cite
20769 key "prettyref,refstyle"
20770
20771 \end_inset
20772
20773 .
20774 \end_layout
20775
20776 \begin_layout Description
20777 Textual
20778 \begin_inset space ~
20779 \end_inset
20780
20781 reference: prints the caption of the reference: 
20782 \begin_inset CommandInset ref
20783 LatexCommand nameref
20784 reference "fig:Two-distorted-images"
20785
20786 \end_inset
20787
20788
20789 \end_layout
20790
20791 \begin_layout Standard
20792
20793 \family sans
20794 <page>
20795 \family default
20796  will not print the page number if the label is on the previous, the same,
20797  or the next page.
20798  You will e.
20799 \begin_inset space \thinspace{}
20800 \end_inset
20801
20802 g.
20803 \begin_inset space \space{}
20804 \end_inset
20805
20806 see the text 
20807 \begin_inset Quotes eld
20808 \end_inset
20809
20810
20811 \family sans
20812 on this page
20813 \family default
20814
20815 \begin_inset Quotes erd
20816 \end_inset
20817
20818  instead.
20819  The style 
20820 \family sans
20821 <reference> on page <page>
20822 \family default
20823  will not print anything about the page if the label is on the same page.
20824 \end_layout
20825
20826 \begin_layout Standard
20827 The number and current page of the part of the document referred to in the
20828  output is automatically calculated by LaTeX.
20829  The varieties are adjusted in the field 
20830 \family sans
20831 Format
20832 \family default
20833  of the cross-reference window that appears when you click on the cross-referenc
20834 e box.
20835 \end_layout
20836
20837 \begin_layout Standard
20838 \begin_inset Note Greyedout
20839 status open
20840
20841 \begin_layout Plain Layout
20842
20843 \series bold
20844 Note:
20845 \series default
20846  It is recommended to use the LaTeX-package 
20847 \series bold
20848 refstyle
20849 \series default
20850
20851 \begin_inset Index idx
20852 status collapsed
20853
20854 \begin_layout Plain Layout
20855 LaTeX-packages ! refstyle
20856 \end_layout
20857
20858 \end_inset
20859
20860  because 
20861 \series bold
20862 prettyref
20863 \series default
20864
20865 \begin_inset Index idx
20866 status collapsed
20867
20868 \begin_layout Plain Layout
20869 LaTeX-packages ! prettyref
20870 \end_layout
20871
20872 \end_inset
20873
20874  does not know all of LyX's possible label shortcuts
20875 \begin_inset Foot
20876 status collapsed
20877
20878 \begin_layout Plain Layout
20879 \begin_inset Quotes eld
20880 \end_inset
20881
20882 fig:
20883 \begin_inset Quotes erd
20884 \end_inset
20885
20886  is for example LyX's shortcut for labels in figure captions.
20887 \end_layout
20888
20889 \end_inset
20890
20891  and is not internationalized.
20892 \end_layout
20893
20894 \end_inset
20895
20896
20897 \end_layout
20898
20899 \begin_layout Standard
20900 \begin_inset Note Greyedout
20901 status open
20902
20903 \begin_layout Plain Layout
20904
20905 \series bold
20906 Note:
20907 \series default
20908  Due to a bug in the LaTeX-package 
20909 \series bold
20910 varioref
20911 \series default
20912  version 1.4w, some cross-reference formats will cause LaTeX errors for document
20913  languages that make the period character active (like French).
20914  For a workaround, see
20915 \begin_inset Newline newline
20916 \end_inset
20917
20918
20919 \begin_inset CommandInset href
20920 LatexCommand href
20921 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
20922
20923 \end_inset
20924
20925 .
20926 \end_layout
20927
20928 \end_inset
20929
20930
20931 \end_layout
20932
20933 \begin_layout Subsection
20934 Automatic Reference Naming
20935 \begin_inset Index idx
20936 status collapsed
20937
20938 \begin_layout Plain Layout
20939 References ! Automatic Reference Naming
20940 \end_layout
20941
20942 \end_inset
20943
20944
20945 \end_layout
20946
20947 \begin_layout Standard
20948 The LaTeX-package 
20949 \series bold
20950 hyperref
20951 \series default
20952
20953 \begin_inset Index idx
20954 status collapsed
20955
20956 \begin_layout Plain Layout
20957 LaTeX-packages ! hyperref
20958 \end_layout
20959
20960 \end_inset
20961
20962 , that is enabled in the 
20963 \family sans
20964 PDF Properties
20965 \family default
20966  of the 
20967 \family sans
20968 Document Settings
20969 \family default
20970  dialog, provides a very useful feature that cross-references automatically
20971  include the name of the referenced floats (or text parts like 
20972 \emph on
20973 section
20974 \emph default
20975 ).
20976  So you will save having to write e.
20977 \begin_inset space \thinspace{}
20978 \end_inset
20979
20980 g.
20981 \begin_inset space \space{}
20982 \end_inset
20983
20984 the name 
20985 \begin_inset Quotes eld
20986 \end_inset
20987
20988 Figure
20989 \begin_inset Quotes erd
20990 \end_inset
20991
20992  before every reference to a figure.
20993  To use this feature, enable 
20994 \series bold
20995 hyperref
20996 \series default
20997  and insert this line to the LaTeX preamble:
20998 \end_layout
20999
21000 \begin_layout Standard
21001
21002 \series bold
21003
21004 \backslash
21005 AtBeginDocument{
21006 \backslash
21007 renewcommand{
21008 \backslash
21009 ref}[1]{
21010 \backslash
21011 mbox{
21012 \backslash
21013 autoref{#1}}}}
21014 \end_layout
21015
21016 \begin_layout Standard
21017 When you prefer other reference names than the default ones, for example
21018  you want instead of 
21019 \begin_inset Quotes eld
21020 \end_inset
21021
21022 section
21023 \begin_inset Quotes erd
21024 \end_inset
21025
21026  the name 
21027 \begin_inset Quotes eld
21028 \end_inset
21029
21030 sec.
21031 \begin_inset space \thinspace{}
21032 \end_inset
21033
21034
21035 \begin_inset Quotes eld
21036 \end_inset
21037
21038 , you can redefine the name by inserting this in the preamble:
21039 \end_layout
21040
21041 \begin_layout Standard
21042
21043 \series bold
21044
21045 \backslash
21046 addto
21047 \backslash
21048 extrasenglish{
21049 \backslash
21050 renewcommand{
21051 \backslash
21052 sectionautorefname}
21053 \begin_inset Newline newline
21054 \end_inset
21055
21056
21057 \begin_inset Phantom HPhantom
21058 status open
21059
21060 \begin_layout Plain Layout
21061
21062 \series bold
21063 \begin_inset space ~
21064 \end_inset
21065
21066
21067 \end_layout
21068
21069 \end_inset
21070
21071 {sec.
21072 \backslash
21073 negthinspace}}
21074 \end_layout
21075
21076 \begin_layout Standard
21077 When you are using another document language than English, replace
21078 \begin_inset Newline newline
21079 \end_inset
21080
21081
21082 \series bold
21083
21084 \backslash
21085 extrasenglish
21086 \series default
21087  by 
21088 \series bold
21089
21090 \backslash
21091 extras***
21092 \series default
21093 , where *** is the name of the language used.
21094 \end_layout
21095
21096 \begin_layout Standard
21097 To get automatic names, but not for certain reference types, for example
21098  not for equations, use this preamble code:
21099 \end_layout
21100
21101 \begin_layout Standard
21102
21103 \series bold
21104
21105 \backslash
21106 newlength{
21107 \backslash
21108 abc}
21109 \begin_inset Newline newline
21110 \end_inset
21111
21112
21113 \backslash
21114 settowidth{
21115 \backslash
21116 abc}{
21117 \backslash
21118 space}
21119 \begin_inset Newline newline
21120 \end_inset
21121
21122
21123 \backslash
21124 addto
21125 \backslash
21126 extrasenglish{
21127 \backslash
21128 renewcommand{
21129 \backslash
21130 equationautorefname}
21131 \begin_inset Newline newline
21132 \end_inset
21133
21134
21135 \begin_inset Phantom HPhantom
21136 status open
21137
21138 \begin_layout Plain Layout
21139
21140 \series bold
21141 \begin_inset space ~
21142 \end_inset
21143
21144
21145 \end_layout
21146
21147 \end_inset
21148
21149 {
21150 \backslash
21151 hspace{-
21152 \backslash
21153 abc}}
21154 \end_layout
21155
21156 \begin_layout Standard
21157 More about this topic can be found in 
21158 \series bold
21159 hyperref
21160 \series default
21161 's documentation 
21162 \begin_inset CommandInset citation
21163 LatexCommand cite
21164 key "hyperref"
21165
21166 \end_inset
21167
21168 .
21169 \end_layout
21170
21171 \begin_layout Standard
21172 \begin_inset Note Greyedout
21173 status open
21174
21175 \begin_layout Plain Layout
21176
21177 \series bold
21178 Note:
21179 \series default
21180  Automatic reference naming cannot be used when you use cross-references
21181  in the 
21182 \family sans
21183 Formatted
21184 \begin_inset space ~
21185 \end_inset
21186
21187 reference
21188 \family default
21189  style, as described in section
21190 \begin_inset space ~
21191 \end_inset
21192
21193
21194 \begin_inset CommandInset ref
21195 LatexCommand ref
21196 reference "sub:Cross-Reference-Formats"
21197
21198 \end_inset
21199
21200 .
21201 \end_layout
21202
21203 \end_inset
21204
21205
21206 \end_layout
21207
21208 \begin_layout Standard
21209 The 
21210 \emph on
21211 Math
21212 \emph default
21213  manual is an example where automatic reference naming is used.
21214 \end_layout
21215
21216 \begin_layout Subsection
21217 Reference Position
21218 \begin_inset CommandInset label
21219 LatexCommand label
21220 name "sub:Reference-Position"
21221
21222 \end_inset
21223
21224
21225 \begin_inset Index idx
21226 status collapsed
21227
21228 \begin_layout Plain Layout
21229 References ! Reference Position
21230 \end_layout
21231
21232 \end_inset
21233
21234
21235 \end_layout
21236
21237 \begin_layout Standard
21238 If you use 
21239 \series bold
21240 hyperref
21241 \series default
21242
21243 \begin_inset Index idx
21244 status collapsed
21245
21246 \begin_layout Plain Layout
21247 LaTeX-packages ! hyperref
21248 \end_layout
21249
21250 \end_inset
21251
21252  in the 
21253 \family sans
21254 PDF Properties
21255 \family default
21256  of the 
21257 \family sans
21258 Document Settings
21259 \family default
21260  dialog to link cross-references in the output, you will see that clicking
21261  on an image float reference jumps to the image label.
21262  The caption will be the first text part on the screen, so that you cannot
21263  see the image without scrolling.
21264  This is because the reference link anchor is placed at the position of
21265  the label.
21266  With the use of the package 
21267 \series bold
21268 hypcap
21269 \series default
21270
21271 \begin_inset Index idx
21272 status collapsed
21273
21274 \begin_layout Plain Layout
21275 LaTeX-packages ! hypcap
21276 \end_layout
21277
21278 \end_inset
21279
21280 , which is part of the LaTeX-package 
21281 \series bold
21282 oberdiek
21283 \series default
21284
21285 \begin_inset Index idx
21286 status collapsed
21287
21288 \begin_layout Plain Layout
21289 LaTeX-packages ! oberdiek
21290 \end_layout
21291
21292 \end_inset
21293
21294 , the link anchor is placed at the beginning of a float.
21295  To use this feature for figure floats, load 
21296 \series bold
21297 hypcap
21298 \series default
21299  in the document preamble with the line
21300 \end_layout
21301
21302 \begin_layout Standard
21303
21304 \series bold
21305
21306 \backslash
21307 usepackage[figure]{hypcap}
21308 \end_layout
21309
21310 \begin_layout Standard
21311 You can also use 
21312 \series bold
21313 hypcap
21314 \series default
21315  for all float types but this is not recommended for stability reasons.
21316  For more information, have a look at 
21317 \series bold
21318 hypcap
21319 \series default
21320 's manual 
21321 \begin_inset CommandInset citation
21322 LatexCommand cite
21323 key "hypcap"
21324
21325 \end_inset
21326
21327 .
21328 \end_layout
21329
21330 \begin_layout Standard
21331 \begin_inset Note Greyedout
21332 status open
21333
21334 \begin_layout Plain Layout
21335
21336 \series bold
21337 Note:
21338 \series default
21339  
21340 \series bold
21341 hypcap
21342 \series default
21343  has no effect on references to subfigures.
21344 \end_layout
21345
21346 \end_inset
21347
21348
21349 \end_layout
21350
21351 \begin_layout Section
21352 Float Placement
21353 \begin_inset CommandInset label
21354 LatexCommand label
21355 name "sec:Float-Placement"
21356
21357 \end_inset
21358
21359
21360 \begin_inset Index idx
21361 status collapsed
21362
21363 \begin_layout Plain Layout
21364 Floats ! Placement
21365 \end_layout
21366
21367 \end_inset
21368
21369
21370 \end_layout
21371
21372 \begin_layout Standard
21373 Right-clicking on a float-box opens a dialog where you can alter the placement
21374  options that LaTeX uses for positioning the float.
21375 \begin_inset Newline newline
21376 \end_inset
21377
21378 The option 
21379 \family sans
21380 Span
21381 \begin_inset space ~
21382 \end_inset
21383
21384 columns
21385 \family default
21386  is only useful for two-column documents: If you select it, the float will
21387  span both columns on the page instead of being confined to just one.
21388 \begin_inset Newline newline
21389 \end_inset
21390
21391 The option 
21392 \family sans
21393 Rotate
21394 \begin_inset space ~
21395 \end_inset
21396
21397 sideways
21398 \family default
21399  is used to rotate floats, see section 
21400 \begin_inset CommandInset ref
21401 LatexCommand ref
21402 reference "sec:Rotated-Floats"
21403
21404 \end_inset
21405
21406 .
21407 \end_layout
21408
21409 \begin_layout Standard
21410 You can use one ore more of the following options in the float dialog to
21411  set the placement for a particular float when you uncheck the option 
21412 \family sans
21413 Use
21414 \begin_inset space ~
21415 \end_inset
21416
21417 default
21418 \begin_inset space ~
21419 \end_inset
21420
21421 placement
21422 \family default
21423 :
21424 \end_layout
21425
21426 \begin_layout Description
21427 Here
21428 \begin_inset space ~
21429 \end_inset
21430
21431 if
21432 \begin_inset space ~
21433 \end_inset
21434
21435 possible try to place the float on the position where it has been inserted
21436 \end_layout
21437
21438 \begin_layout Description
21439 Top
21440 \begin_inset space ~
21441 \end_inset
21442
21443 of
21444 \begin_inset space ~
21445 \end_inset
21446
21447 page try to place the float at the top of the current page
21448 \end_layout
21449
21450 \begin_layout Description
21451 Bottom
21452 \begin_inset space ~
21453 \end_inset
21454
21455 of
21456 \begin_inset space ~
21457 \end_inset
21458
21459 page try to place the float at the bottom of the current page
21460 \end_layout
21461
21462 \begin_layout Description
21463 Page
21464 \begin_inset space ~
21465 \end_inset
21466
21467 of
21468 \begin_inset space ~
21469 \end_inset
21470
21471 floats try to place the float on its own page 
21472 \end_layout
21473
21474 \begin_layout Standard
21475 The order of the above option is 
21476 \emph on
21477 always
21478 \emph default
21479  used by LaTeX.
21480  That means, if you use the default placement, LaTeX will first try out
21481  
21482 \family sans
21483 Here
21484 \begin_inset space ~
21485 \end_inset
21486
21487 if
21488 \begin_inset space ~
21489 \end_inset
21490
21491 possible
21492 \family default
21493 , then 
21494 \family sans
21495 Top
21496 \begin_inset space ~
21497 \end_inset
21498
21499 of
21500 \begin_inset space ~
21501 \end_inset
21502
21503 page
21504 \family default
21505 , and then the others.
21506  If you do not use the default, LaTeX will try only the checked options
21507  but in the same order.
21508  If none of the 4
21509 \begin_inset space ~
21510 \end_inset
21511
21512 placements are possible the procedure is internally repeated but it is tried
21513  to put the float on the following page.
21514 \end_layout
21515
21516 \begin_layout Standard
21517 By default, each option has its own rules:
21518 \end_layout
21519
21520 \begin_layout Labeling
21521 \labelwidthstring 00.00.0000
21522
21523 \family sans
21524 Top
21525 \begin_inset space ~
21526 \end_inset
21527
21528 of
21529 \begin_inset space ~
21530 \end_inset
21531
21532 page
21533 \family default
21534  only floats occupying less than 70
21535 \begin_inset space \thinspace{}
21536 \end_inset
21537
21538 % of the page can be placed at the top of a page (
21539 \series bold
21540
21541 \backslash
21542 topfraction
21543 \series default
21544 )
21545 \end_layout
21546
21547 \begin_layout Labeling
21548 \labelwidthstring 00.00.0000
21549
21550 \family sans
21551 Bottom
21552 \begin_inset space ~
21553 \end_inset
21554
21555 of
21556 \begin_inset space ~
21557 \end_inset
21558
21559 page
21560 \family default
21561 : only floats occupying less than 30
21562 \begin_inset space \thinspace{}
21563 \end_inset
21564
21565 % of the page can be placed at the bottom of a page.
21566  (
21567 \series bold
21568
21569 \backslash
21570 bottomfraction
21571 \series default
21572 )
21573 \end_layout
21574
21575 \begin_layout Labeling
21576 \labelwidthstring 00.00.0000
21577
21578 \family sans
21579 Page
21580 \begin_inset space ~
21581 \end_inset
21582
21583 of
21584 \begin_inset space ~
21585 \end_inset
21586
21587 floats
21588 \family default
21589 : only if more than 50
21590 \begin_inset space \thinspace{}
21591 \end_inset
21592
21593 % of the page are occupied by floats, several floats can be set together
21594  on a page.
21595  (
21596 \series bold
21597
21598 \backslash
21599 floatpagefraction
21600 \series default
21601 )
21602 \end_layout
21603
21604 \begin_layout Standard
21605 If you don't like these rules, you can ignore them by using the additional
21606  option 
21607 \family sans
21608 Ignore
21609 \begin_inset space ~
21610 \end_inset
21611
21612 LaTeX
21613 \begin_inset space ~
21614 \end_inset
21615
21616 rules
21617 \family default
21618 .
21619 \begin_inset Newline newline
21620 \end_inset
21621
21622 You can also redefine the rules with LaTeX-commands that are given in parenthese
21623 s after the rules description above.
21624  To increase for example the often too small default of the bottom-rule
21625  to 50
21626 \begin_inset space \thinspace{}
21627 \end_inset
21628
21629 % of the page, add this line to your document preamble:
21630 \end_layout
21631
21632 \begin_layout Standard
21633
21634 \series bold
21635
21636 \backslash
21637 renewcommand{
21638 \backslash
21639 bottomfraction}{0.5}
21640 \end_layout
21641
21642 \begin_layout Standard
21643 Sometimes you might need, under all circumstances, a float to be placed
21644  exactly at the position where it is inserted.
21645  For this case you can use the option 
21646 \family sans
21647 Here
21648 \begin_inset space ~
21649 \end_inset
21650
21651 definitely
21652 \family default
21653 .
21654  Use this option very rarely and only if the document is almost ready to
21655  be printed, because the float is then no longer able to 
21656 \begin_inset Quotes eld
21657 \end_inset
21658
21659 float
21660 \begin_inset Quotes erd
21661 \end_inset
21662
21663  when you change your document and this will often destroy the page layout.
21664 \end_layout
21665
21666 \begin_layout Standard
21667 There are no placement options for text wrap floats, because they are always
21668  surrounded by the text of a certain paragraph.
21669 \begin_inset VSpace bigskip
21670 \end_inset
21671
21672
21673 \end_layout
21674
21675 \begin_layout Standard
21676 Sometimes you have the problem that a float is placed at the top of a page
21677  while its corresponding section starts at the middle of the page, so that
21678  the reader could think the float is part of the previous section.
21679  To avoid this the LaTeX-command 
21680 \series bold
21681
21682 \backslash
21683 suppressfloats
21684 \series default
21685  can be used.
21686  It suppresses a given float placement for the page where it is inserted
21687  and can therefore be used to avoid floats being set before a section starts.
21688  To get this, add these commands to your document preamble:
21689 \end_layout
21690
21691 \begin_layout Standard
21692
21693 \series bold
21694
21695 \backslash
21696 let
21697 \backslash
21698 mySection
21699 \backslash
21700 section
21701 \begin_inset Newline newline
21702 \end_inset
21703
21704
21705 \backslash
21706 renewcommand{
21707 \backslash
21708 section}{
21709 \backslash
21710 suppressfloats[t]
21711 \backslash
21712 mySection}
21713 \end_layout
21714
21715 \begin_layout Standard
21716 You can define the same for all section headings, like chapters and subsections.
21717  This definition is not recommended to be used for small text parts like
21718  subsubsections because LaTeX may then have problems finding a suitable
21719  placement.
21720 \end_layout
21721
21722 \begin_layout Standard
21723 \begin_inset VSpace bigskip
21724 \end_inset
21725
21726 In some cases it is required to have all figures/tables at the end of the
21727  document.
21728  For this purpose the LaTeX-package 
21729 \series bold
21730 endfloat
21731 \series default
21732
21733 \begin_inset Index idx
21734 status collapsed
21735
21736 \begin_layout Plain Layout
21737 LaTeX-packages ! endfloat
21738 \end_layout
21739
21740 \end_inset
21741
21742  was developed.
21743  It puts all figure and table floats at the end of the document into their
21744  own sections.
21745  At the original float position a text hint like 
21746 \begin_inset Quotes eld
21747 \end_inset
21748
21749
21750 \family sans
21751 [Figure
21752 \begin_inset space ~
21753 \end_inset
21754
21755 3.2 about here.]
21756 \family default
21757
21758 \begin_inset Quotes erd
21759 \end_inset
21760
21761  is inserted.
21762  The endfloat-package is loaded in the preamble with the line
21763 \end_layout
21764
21765 \begin_layout Standard
21766
21767 \series bold
21768
21769 \backslash
21770 usepackage[options]{endfloat}
21771 \end_layout
21772
21773 \begin_layout Standard
21774 There are various package options to format the created figure/table sections.
21775  For more information we refer to the 
21776 \series bold
21777 endfloat
21778 \series default
21779  documentation 
21780 \begin_inset CommandInset citation
21781 LatexCommand cite
21782 key "endfloat"
21783
21784 \end_inset
21785
21786 .
21787 \begin_inset Newline newline
21788 \end_inset
21789
21790
21791 \begin_inset Note Greyedout
21792 status open
21793
21794 \begin_layout Plain Layout
21795
21796 \series bold
21797 Note: endfloat
21798 \series default
21799  doesn't provide an automatic translation for the text hint, you have to
21800  do this manually, see section
21801 \begin_inset space ~
21802 \end_inset
21803
21804 4 in 
21805 \begin_inset CommandInset citation
21806 LatexCommand cite
21807 key "endfloat"
21808
21809 \end_inset
21810
21811 .
21812 \end_layout
21813
21814 \end_inset
21815
21816
21817 \begin_inset Newline newline
21818 \end_inset
21819
21820
21821 \begin_inset Note Greyedout
21822 status open
21823
21824 \begin_layout Plain Layout
21825
21826 \series bold
21827 Note:
21828 \series default
21829  There is currently a bug in 
21830 \series bold
21831 endfloat
21832 \series default
21833  when the caption contains a German 
21834 \begin_inset Quotes eld
21835 \end_inset
21836
21837 ß
21838 \begin_inset Quotes erd
21839 \end_inset
21840
21841 .
21842  Use in this case the command 
21843 \begin_inset Quotes eld
21844 \end_inset
21845
21846
21847 \series bold
21848
21849 \backslash
21850 ss
21851 \series default
21852
21853 \begin_inset Quotes erd
21854 \end_inset
21855
21856  in TeX-Code instead of 
21857 \begin_inset Quotes eld
21858 \end_inset
21859
21860 ß
21861 \begin_inset Quotes erd
21862 \end_inset
21863
21864 .
21865 \end_layout
21866
21867 \end_inset
21868
21869
21870 \end_layout
21871
21872 \begin_layout Standard
21873 \begin_inset VSpace bigskip
21874 \end_inset
21875
21876 For more details about float placements, have a look at LaTeX books, 
21877 \begin_inset CommandInset citation
21878 LatexCommand cite
21879 key "latexcompanion,latexguide,latexbook"
21880
21881 \end_inset
21882
21883 .
21884 \end_layout
21885
21886 \begin_layout Section
21887 Rotated Floats
21888 \begin_inset CommandInset label
21889 LatexCommand label
21890 name "sec:Rotated-Floats"
21891
21892 \end_inset
21893
21894
21895 \begin_inset Index idx
21896 status collapsed
21897
21898 \begin_layout Plain Layout
21899 Floats ! Rotating
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \end_layout
21906
21907 \begin_layout Standard
21908 Especially for wide tables you might have floats rotated.
21909  To rotate a whole float including the caption, right-click on the float-box
21910  and use the option 
21911 \family sans
21912 Rotate
21913 \begin_inset space ~
21914 \end_inset
21915
21916 sideways
21917 \family default
21918 .
21919 \end_layout
21920
21921 \begin_layout Standard
21922 Rotated floats are always placed on a page of their own (or column of their
21923  own; in case you have a multi-column document).
21924  You can let them span several columns using the float settings option 
21925 \family sans
21926 Span
21927 \begin_inset space ~
21928 \end_inset
21929
21930 columns
21931 \family default
21932 .
21933  Floats are rotated so that you can read them from the outside margin.
21934  To force a certain rotation direction for all pages, you can add either
21935  the option 
21936 \series bold
21937 figuresleft
21938 \series default
21939  or 
21940 \series bold
21941 figuresright
21942 \series default
21943  to the document class options.
21944 \end_layout
21945
21946 \begin_layout Standard
21947 Referencing rotated floats is the same as for normal floats, the caption
21948  format is also the same: Table
21949 \begin_inset space ~
21950 \end_inset
21951
21952
21953 \begin_inset CommandInset ref
21954 LatexCommand ref
21955 reference "tab:Rotated-table"
21956
21957 \end_inset
21958
21959  is an example of a rotated table float.
21960 \end_layout
21961
21962 \begin_layout Standard
21963 \begin_inset Note Greyedout
21964 status open
21965
21966 \begin_layout Plain Layout
21967
21968 \series bold
21969 Note:
21970 \series default
21971  Not all DVI-viewers are able to display rotated floats.
21972 \end_layout
21973
21974 \end_inset
21975
21976
21977 \end_layout
21978
21979 \begin_layout Standard
21980 \begin_inset Float table
21981 wide false
21982 sideways true
21983 status open
21984
21985 \begin_layout Plain Layout
21986 \begin_inset Caption
21987
21988 \begin_layout Plain Layout
21989 \begin_inset CommandInset label
21990 LatexCommand label
21991 name "tab:Rotated-table"
21992
21993 \end_inset
21994
21995  Rotated table
21996 \end_layout
21997
21998 \end_inset
21999
22000
22001 \end_layout
22002
22003 \begin_layout Plain Layout
22004 \align center
22005 \begin_inset Tabular
22006 <lyxtabular version="3" rows="1" columns="5">
22007 <features tabularvalignment="middle">
22008 <column alignment="center" valignment="top" width="0">
22009 <column alignment="center" valignment="top" width="0">
22010 <column alignment="center" valignment="top" width="0">
22011 <column alignment="center" valignment="top" width="0">
22012 <column alignment="center" valignment="top" width="0">
22013 <row>
22014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22015 \begin_inset Text
22016
22017 \begin_layout Plain Layout
22018 test
22019 \end_layout
22020
22021 \end_inset
22022 </cell>
22023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22024 \begin_inset Text
22025
22026 \begin_layout Plain Layout
22027 b
22028 \end_layout
22029
22030 \end_inset
22031 </cell>
22032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22033 \begin_inset Text
22034
22035 \begin_layout Plain Layout
22036 c
22037 \end_layout
22038
22039 \end_inset
22040 </cell>
22041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22042 \begin_inset Text
22043
22044 \begin_layout Plain Layout
22045 d
22046 \end_layout
22047
22048 \end_inset
22049 </cell>
22050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22051 \begin_inset Text
22052
22053 \begin_layout Plain Layout
22054 e
22055 \end_layout
22056
22057 \end_inset
22058 </cell>
22059 </row>
22060 </lyxtabular>
22061
22062 \end_inset
22063
22064
22065 \end_layout
22066
22067 \end_inset
22068
22069
22070 \end_layout
22071
22072 \begin_layout Section
22073 Subfloats
22074 \begin_inset Index idx
22075 status collapsed
22076
22077 \begin_layout Plain Layout
22078 Floats ! Subfloats
22079 \end_layout
22080
22081 \end_inset
22082
22083
22084 \end_layout
22085
22086 \begin_layout Standard
22087 Subfloats are for example used when a figure consists of several images.
22088  They are created by inserting a float into an existing float.
22089  The placement of the subfloats can be controlled in the same way as for
22090  paragraphs as shown in table
22091 \begin_inset space ~
22092 \end_inset
22093
22094
22095 \begin_inset CommandInset ref
22096 LatexCommand ref
22097 reference "tab:Two-subtables-side"
22098
22099 \end_inset
22100
22101  and 
22102 \begin_inset CommandInset ref
22103 LatexCommand ref
22104 reference "tab:Two-subtables-upon"
22105
22106 \end_inset
22107
22108 .
22109 \end_layout
22110
22111 \begin_layout Standard
22112 Referencing subfloats works as for normal floats: Table
22113 \begin_inset space ~
22114 \end_inset
22115
22116
22117 \begin_inset CommandInset ref
22118 LatexCommand ref
22119 reference "tab:This-is-subtable-a"
22120
22121 \end_inset
22122
22123  and 
22124 \begin_inset CommandInset ref
22125 LatexCommand ref
22126 reference "tab:This-is-subtable-b"
22127
22128 \end_inset
22129
22130  are subtables of table
22131 \begin_inset space ~
22132 \end_inset
22133
22134
22135 \begin_inset CommandInset ref
22136 LatexCommand ref
22137 reference "tab:Two-subtables-side"
22138
22139 \end_inset
22140
22141 .
22142 \end_layout
22143
22144 \begin_layout Standard
22145 \begin_inset Float table
22146 wide false
22147 sideways false
22148 status open
22149
22150 \begin_layout Plain Layout
22151 \begin_inset Caption
22152
22153 \begin_layout Plain Layout
22154 \begin_inset CommandInset label
22155 LatexCommand label
22156 name "tab:Two-subtables-side"
22157
22158 \end_inset
22159
22160 Two subtables placed side by side.
22161 \end_layout
22162
22163 \end_inset
22164
22165
22166 \end_layout
22167
22168 \begin_layout Plain Layout
22169 \align center
22170 \begin_inset space \hfill{}
22171 \end_inset
22172
22173
22174 \begin_inset Float table
22175 wide false
22176 sideways false
22177 status collapsed
22178
22179 \begin_layout Plain Layout
22180 \begin_inset Caption
22181
22182 \begin_layout Plain Layout
22183 \begin_inset CommandInset label
22184 LatexCommand label
22185 name "tab:This-is-subtable-a"
22186
22187 \end_inset
22188
22189 This is subtable a.
22190 \end_layout
22191
22192 \end_inset
22193
22194
22195 \end_layout
22196
22197 \begin_layout Plain Layout
22198 \align center
22199 \begin_inset Tabular
22200 <lyxtabular version="3" rows="1" columns="5">
22201 <features tabularvalignment="middle">
22202 <column alignment="center" valignment="top" width="0">
22203 <column alignment="center" valignment="top" width="0">
22204 <column alignment="center" valignment="top" width="0">
22205 <column alignment="center" valignment="top" width="0">
22206 <column alignment="center" valignment="top" width="0">
22207 <row>
22208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22209 \begin_inset Text
22210
22211 \begin_layout Plain Layout
22212 test
22213 \end_layout
22214
22215 \end_inset
22216 </cell>
22217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22218 \begin_inset Text
22219
22220 \begin_layout Plain Layout
22221 b
22222 \end_layout
22223
22224 \end_inset
22225 </cell>
22226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22227 \begin_inset Text
22228
22229 \begin_layout Plain Layout
22230 c
22231 \end_layout
22232
22233 \end_inset
22234 </cell>
22235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22236 \begin_inset Text
22237
22238 \begin_layout Plain Layout
22239 d
22240 \end_layout
22241
22242 \end_inset
22243 </cell>
22244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22245 \begin_inset Text
22246
22247 \begin_layout Plain Layout
22248 e
22249 \end_layout
22250
22251 \end_inset
22252 </cell>
22253 </row>
22254 </lyxtabular>
22255
22256 \end_inset
22257
22258
22259 \end_layout
22260
22261 \end_inset
22262
22263
22264 \begin_inset space \hfill{}
22265 \end_inset
22266
22267
22268 \begin_inset Float table
22269 wide false
22270 sideways false
22271 status collapsed
22272
22273 \begin_layout Plain Layout
22274 \begin_inset Caption
22275
22276 \begin_layout Plain Layout
22277 \begin_inset CommandInset label
22278 LatexCommand label
22279 name "tab:This-is-subtable-b"
22280
22281 \end_inset
22282
22283 This is subtable b.
22284 \end_layout
22285
22286 \end_inset
22287
22288
22289 \end_layout
22290
22291 \begin_layout Plain Layout
22292 \align center
22293 \begin_inset Tabular
22294 <lyxtabular version="3" rows="1" columns="5">
22295 <features tabularvalignment="middle">
22296 <column alignment="center" valignment="top" width="0">
22297 <column alignment="center" valignment="top" width="0">
22298 <column alignment="center" valignment="top" width="0">
22299 <column alignment="center" valignment="top" width="0">
22300 <column alignment="center" valignment="top" width="0">
22301 <row>
22302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22303 \begin_inset Text
22304
22305 \begin_layout Plain Layout
22306 e
22307 \end_layout
22308
22309 \end_inset
22310 </cell>
22311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22312 \begin_inset Text
22313
22314 \begin_layout Plain Layout
22315 d
22316 \end_layout
22317
22318 \end_inset
22319 </cell>
22320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22321 \begin_inset Text
22322
22323 \begin_layout Plain Layout
22324 c
22325 \end_layout
22326
22327 \end_inset
22328 </cell>
22329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22330 \begin_inset Text
22331
22332 \begin_layout Plain Layout
22333 b
22334 \end_layout
22335
22336 \end_inset
22337 </cell>
22338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22339 \begin_inset Text
22340
22341 \begin_layout Plain Layout
22342 test
22343 \end_layout
22344
22345 \end_inset
22346 </cell>
22347 </row>
22348 </lyxtabular>
22349
22350 \end_inset
22351
22352
22353 \end_layout
22354
22355 \end_inset
22356
22357
22358 \begin_inset space \hfill{}
22359 \end_inset
22360
22361
22362 \end_layout
22363
22364 \end_inset
22365
22366
22367 \end_layout
22368
22369 \begin_layout Standard
22370 \begin_inset Float table
22371 wide false
22372 sideways false
22373 status open
22374
22375 \begin_layout Plain Layout
22376 \begin_inset Caption
22377
22378 \begin_layout Plain Layout
22379 \begin_inset CommandInset label
22380 LatexCommand label
22381 name "tab:Two-subtables-upon"
22382
22383 \end_inset
22384
22385 Two subtables placed one above the other.
22386  (a) table with 4 cells, (b) table with 5 cells.
22387 \end_layout
22388
22389 \end_inset
22390
22391
22392 \end_layout
22393
22394 \begin_layout Plain Layout
22395 \align center
22396 \begin_inset Float table
22397 wide false
22398 sideways false
22399 status collapsed
22400
22401 \begin_layout Plain Layout
22402 \begin_inset Caption
22403
22404 \begin_layout Plain Layout
22405
22406 \end_layout
22407
22408 \end_inset
22409
22410
22411 \end_layout
22412
22413 \begin_layout Plain Layout
22414 \align center
22415 \begin_inset Tabular
22416 <lyxtabular version="3" rows="1" columns="4">
22417 <features tabularvalignment="middle">
22418 <column alignment="center" valignment="top" width="0">
22419 <column alignment="center" valignment="top" width="0">
22420 <column alignment="center" valignment="top" width="0">
22421 <column alignment="center" valignment="top" width="0">
22422 <row>
22423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22424 \begin_inset Text
22425
22426 \begin_layout Plain Layout
22427 test
22428 \end_layout
22429
22430 \end_inset
22431 </cell>
22432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22433 \begin_inset Text
22434
22435 \begin_layout Plain Layout
22436 test
22437 \end_layout
22438
22439 \end_inset
22440 </cell>
22441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22442 \begin_inset Text
22443
22444 \begin_layout Plain Layout
22445 test
22446 \end_layout
22447
22448 \end_inset
22449 </cell>
22450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22451 \begin_inset Text
22452
22453 \begin_layout Plain Layout
22454 test
22455 \end_layout
22456
22457 \end_inset
22458 </cell>
22459 </row>
22460 </lyxtabular>
22461
22462 \end_inset
22463
22464
22465 \end_layout
22466
22467 \end_inset
22468
22469
22470 \end_layout
22471
22472 \begin_layout Plain Layout
22473 \align center
22474 \begin_inset Float table
22475 wide false
22476 sideways false
22477 status collapsed
22478
22479 \begin_layout Plain Layout
22480 \begin_inset Caption
22481
22482 \begin_layout Plain Layout
22483
22484 \end_layout
22485
22486 \end_inset
22487
22488
22489 \end_layout
22490
22491 \begin_layout Plain Layout
22492 \align center
22493 \begin_inset Tabular
22494 <lyxtabular version="3" rows="1" columns="5">
22495 <features tabularvalignment="middle">
22496 <column alignment="center" valignment="top" width="0">
22497 <column alignment="center" valignment="top" width="0">
22498 <column alignment="center" valignment="top" width="0">
22499 <column alignment="center" valignment="top" width="0">
22500 <column alignment="center" valignment="top" width="0">
22501 <row>
22502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22503 \begin_inset Text
22504
22505 \begin_layout Plain Layout
22506 a
22507 \end_layout
22508
22509 \end_inset
22510 </cell>
22511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22512 \begin_inset Text
22513
22514 \begin_layout Plain Layout
22515 b
22516 \end_layout
22517
22518 \end_inset
22519 </cell>
22520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22521 \begin_inset Text
22522
22523 \begin_layout Plain Layout
22524 c
22525 \end_layout
22526
22527 \end_inset
22528 </cell>
22529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22530 \begin_inset Text
22531
22532 \begin_layout Plain Layout
22533 d
22534 \end_layout
22535
22536 \end_inset
22537 </cell>
22538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22539 \begin_inset Text
22540
22541 \begin_layout Plain Layout
22542 e
22543 \end_layout
22544
22545 \end_inset
22546 </cell>
22547 </row>
22548 </lyxtabular>
22549
22550 \end_inset
22551
22552
22553 \end_layout
22554
22555 \end_inset
22556
22557
22558 \end_layout
22559
22560 \end_inset
22561
22562
22563 \end_layout
22564
22565 \begin_layout Section
22566 Floats Side by Side
22567 \begin_inset Index idx
22568 status collapsed
22569
22570 \begin_layout Plain Layout
22571 Floats ! Side by side
22572 \end_layout
22573
22574 \end_inset
22575
22576
22577 \end_layout
22578
22579 \begin_layout Standard
22580 To place floats side by side, as in Figures
22581 \begin_inset space ~
22582 \end_inset
22583
22584
22585 \begin_inset CommandInset ref
22586 LatexCommand ref
22587 reference "fig:Float-left"
22588
22589 \end_inset
22590
22591  and 
22592 \begin_inset CommandInset ref
22593 LatexCommand ref
22594 reference "fig:Float-right"
22595
22596 \end_inset
22597
22598 , only 
22599 \emph on
22600 one
22601 \emph default
22602  float is used.
22603  In it two minipage boxes are inserted.
22604 \begin_inset Foot
22605 status collapsed
22606
22607 \begin_layout Plain Layout
22608 Minipages are explained in section
22609 \begin_inset space ~
22610 \end_inset
22611
22612
22613 \begin_inset CommandInset ref
22614 LatexCommand ref
22615 reference "sec:Minipages"
22616
22617 \end_inset
22618
22619 .
22620 \end_layout
22621
22622 \end_inset
22623
22624  The width is set to 45
22625 \begin_inset space \thinspace{}
22626 \end_inset
22627
22628 -50
22629 \begin_inset space \thinspace{}
22630 \end_inset
22631
22632 column% and the box alignment to 
22633 \family sans
22634 Bottom
22635 \family default
22636  for each minipage.
22637  The minipage boxes contain the image and the caption in the same way as
22638  they are in a float.
22639  The only difference is that the image unit 
22640 \family sans
22641 Column
22642 \begin_inset space ~
22643 \end_inset
22644
22645 Width
22646 \begin_inset space ~
22647 \end_inset
22648
22649 %
22650 \family default
22651  is now calculated according to the width of the minipage boxes.
22652 \end_layout
22653
22654 \begin_layout Standard
22655 \begin_inset Float figure
22656 wide false
22657 sideways false
22658 status open
22659
22660 \begin_layout Plain Layout
22661 \begin_inset Box Frameless
22662 position "b"
22663 hor_pos "c"
22664 has_inner_box 1
22665 inner_pos "t"
22666 use_parbox 0
22667 use_makebox 0
22668 width "45col%"
22669 special "none"
22670 height "1in"
22671 height_special "totalheight"
22672 status open
22673
22674 \begin_layout Plain Layout
22675 \align center
22676 \begin_inset Graphics
22677         filename clipart/mobius.eps
22678         lyxscale 50
22679         width 100col%
22680         scaleBeforeRotation
22681
22682 \end_inset
22683
22684
22685 \end_layout
22686
22687 \begin_layout Plain Layout
22688 \begin_inset Caption
22689
22690 \begin_layout Plain Layout
22691 \begin_inset CommandInset label
22692 LatexCommand label
22693 name "fig:Float-left"
22694
22695 \end_inset
22696
22697 Float on the left side.
22698 \end_layout
22699
22700 \end_inset
22701
22702
22703 \end_layout
22704
22705 \end_inset
22706
22707
22708 \begin_inset space \hfill{}
22709 \end_inset
22710
22711
22712 \begin_inset Box Frameless
22713 position "b"
22714 hor_pos "c"
22715 has_inner_box 1
22716 inner_pos "t"
22717 use_parbox 0
22718 use_makebox 0
22719 width "45col%"
22720 special "none"
22721 height "1in"
22722 height_special "totalheight"
22723 status open
22724
22725 \begin_layout Plain Layout
22726 \align center
22727 \begin_inset Graphics
22728         filename clipart/platypus.eps
22729         lyxscale 50
22730         width 100col%
22731         scaleBeforeRotation
22732
22733 \end_inset
22734
22735
22736 \end_layout
22737
22738 \begin_layout Plain Layout
22739 \begin_inset Caption
22740
22741 \begin_layout Plain Layout
22742 \begin_inset CommandInset label
22743 LatexCommand label
22744 name "fig:Float-right"
22745
22746 \end_inset
22747
22748 Float on the right side.
22749 \end_layout
22750
22751 \end_inset
22752
22753
22754 \end_layout
22755
22756 \end_inset
22757
22758
22759 \end_layout
22760
22761 \begin_layout Plain Layout
22762
22763 \end_layout
22764
22765 \end_inset
22766
22767
22768 \end_layout
22769
22770 \begin_layout Section
22771 Caption Formatting
22772 \begin_inset Index idx
22773 status collapsed
22774
22775 \begin_layout Plain Layout
22776 Caption ! Formatting
22777 \end_layout
22778
22779 \end_inset
22780
22781
22782 \begin_inset Index idx
22783 status collapsed
22784
22785 \begin_layout Plain Layout
22786 Floats ! Caption Formatting
22787 \end_layout
22788
22789 \end_inset
22790
22791
22792 \begin_inset CommandInset label
22793 LatexCommand label
22794 name "sec:Caption-Formatting"
22795
22796 \end_inset
22797
22798
22799 \end_layout
22800
22801 \begin_layout Standard
22802 The 
22803 \family sans
22804 Caption
22805 \family default
22806  environment is the default paragraph environment for 
22807 \family sans
22808 Floats
22809 \family default
22810 .
22811  On the LyX screen captions appear as label, e.
22812 \begin_inset space \thinspace{}
22813 \end_inset
22814
22815 g.
22816 \begin_inset space \space{}
22817 \end_inset
22818
22819
22820 \begin_inset Quotes eld
22821 \end_inset
22822
22823
22824 \family sans
22825 Figure #:
22826 \family default
22827
22828 \begin_inset Quotes erd
22829 \end_inset
22830
22831  followed by the caption text.
22832  
22833 \begin_inset Quotes eld
22834 \end_inset
22835
22836 #
22837 \begin_inset Quotes erd
22838 \end_inset
22839
22840  is the actual reference number.
22841  By default the label and the number are in the same font as the caption
22842  text and a colon follows the number to divide the label from the text.
22843  This caption format is not suitable for all document formats.
22844  
22845 \end_layout
22846
22847 \begin_layout Standard
22848 To change the default caption format, load the LaTeX-package 
22849 \series bold
22850 caption
22851 \series default
22852
22853 \begin_inset Index idx
22854 status collapsed
22855
22856 \begin_layout Plain Layout
22857 LaTeX-packages ! caption
22858 \end_layout
22859
22860 \end_inset
22861
22862  in the document preamble with this line:
22863 \end_layout
22864
22865 \begin_layout Standard
22866
22867 \series bold
22868
22869 \backslash
22870 usepackage[format definition]{caption}
22871 \end_layout
22872
22873 \begin_layout Standard
22874 To have for example the label and the number in sans-serif bold font and
22875  the table captions always above the table as in this document, use the
22876  following command:
22877 \end_layout
22878
22879 \begin_layout Standard
22880
22881 \series bold
22882
22883 \backslash
22884 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
22885 \end_layout
22886
22887 \begin_layout Standard
22888 You can also define different caption formats for the different float types.
22889  In this case load the 
22890 \series bold
22891 caption
22892 \series default
22893  package without format specific options and define the different formats
22894  with the help of the command
22895 \end_layout
22896
22897 \begin_layout Standard
22898
22899 \series bold
22900
22901 \backslash
22902 captionsetup[float type]{format definition}
22903 \end_layout
22904
22905 \begin_layout Standard
22906 in the document preamble.
22907  For example the caption formats of Figure
22908 \begin_inset space ~
22909 \end_inset
22910
22911
22912 \begin_inset CommandInset ref
22913 LatexCommand ref
22914 reference "fig:This-is-an-fig"
22915
22916 \end_inset
22917
22918  and Table
22919 \begin_inset space ~
22920 \end_inset
22921
22922
22923 \begin_inset CommandInset ref
22924 LatexCommand ref
22925 reference "tab:This-is-an-tab"
22926
22927 \end_inset
22928
22929  can be created using these commands in the document preamble:
22930 \end_layout
22931
22932 \begin_layout Standard
22933
22934 \series bold
22935
22936 \backslash
22937 usepackage[tableposition=top]{caption}
22938 \series default
22939
22940 \begin_inset Newline newline
22941 \end_inset
22942
22943
22944 \series bold
22945
22946 \backslash
22947 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22948 \begin_inset Newline newline
22949 \end_inset
22950
22951
22952 \begin_inset Phantom HPhantom
22953 status open
22954
22955 \begin_layout Plain Layout
22956
22957 \series bold
22958
22959 \backslash
22960 captionsetup[figure]{
22961 \end_layout
22962
22963 \end_inset
22964
22965 labelsep=period}
22966 \begin_inset Newline newline
22967 \end_inset
22968
22969
22970 \backslash
22971 captionsetup[table]{labelfont={bf,sf}}
22972 \end_layout
22973
22974 \begin_layout Standard
22975 \begin_inset Note Greyedout
22976 status open
22977
22978 \begin_layout Plain Layout
22979
22980 \series bold
22981 Note:
22982 \series default
22983  The option 
22984 \series bold
22985 tableposition=top
22986 \series default
22987  has no effect when a 
22988 \series bold
22989 KOMA-Script
22990 \series default
22991
22992 \begin_inset Index idx
22993 status collapsed
22994
22995 \begin_layout Plain Layout
22996 LaTeX-packages ! KOMA-Script
22997 \end_layout
22998
22999 \end_inset
23000
23001  document class is used.
23002  In this case the document class option 
23003 \series bold
23004 captions=tableheading
23005 \series default
23006  must be used.
23007 \end_layout
23008
23009 \end_inset
23010
23011
23012 \end_layout
23013
23014 \begin_layout Standard
23015 For more information about the package 
23016 \series bold
23017 caption
23018 \series default
23019  we refer to its documentation 
23020 \begin_inset CommandInset citation
23021 LatexCommand cite
23022 key "caption"
23023
23024 \end_inset
23025
23026 .
23027 \end_layout
23028
23029 \begin_layout Standard
23030 To change the label name from e.
23031 \begin_inset space \thinspace{}
23032 \end_inset
23033
23034 g.
23035 \begin_inset space \space{}
23036 \end_inset
23037
23038
23039 \begin_inset Quotes eld
23040 \end_inset
23041
23042 Figure
23043 \begin_inset Quotes erd
23044 \end_inset
23045
23046  to 
23047 \begin_inset Quotes eld
23048 \end_inset
23049
23050 Image
23051 \begin_inset Quotes erd
23052 \end_inset
23053
23054  use this preamble command:
23055 \end_layout
23056
23057 \begin_layout Standard
23058
23059 \series bold
23060
23061 \backslash
23062 renewcommand{
23063 \backslash
23064 fnum@figure}{Image~
23065 \backslash
23066 thefigure}
23067 \end_layout
23068
23069 \begin_layout Standard
23070 where 
23071 \series bold
23072
23073 \backslash
23074 thefigure
23075 \series default
23076  inserts the figure number and
23077 \series bold
23078  
23079 \begin_inset Quotes eld
23080 \end_inset
23081
23082 ~
23083 \series default
23084
23085 \begin_inset Quotes erd
23086 \end_inset
23087
23088  creates a protected space.
23089 \end_layout
23090
23091 \begin_layout Standard
23092 \begin_inset VSpace bigskip
23093 \end_inset
23094
23095 If you are using a 
23096 \series bold
23097 KOMA-Script
23098 \series default
23099
23100 \begin_inset Index idx
23101 status collapsed
23102
23103 \begin_layout Plain Layout
23104 LaTeX-packages ! KOMA-Script
23105 \end_layout
23106
23107 \end_inset
23108
23109  document class (
23110 \family sans
23111 article (KOMA-Script)
23112 \family default
23113
23114 \family sans
23115 book (KOMA-Script)
23116 \family default
23117
23118 \family sans
23119 letter (KOMA-Script)
23120 \family default
23121 , or 
23122 \family sans
23123 report (KOMA-Script)
23124 \family default
23125
23126 \begin_inset space \thinspace{}
23127 \end_inset
23128
23129 ), you can alternatively to the 
23130 \series bold
23131 caption
23132 \series default
23133  package use 
23134 \series bold
23135 KOMA-Script
23136 \series default
23137 's built-in command 
23138 \series bold
23139
23140 \backslash
23141 setkomafont
23142 \series default
23143 .
23144  For example, to have the caption label in bold, add this command to your
23145  document preamble:
23146 \end_layout
23147
23148 \begin_layout Standard
23149
23150 \series bold
23151
23152 \backslash
23153 setkomafont{captionlabel}{
23154 \backslash
23155 bfseries}
23156 \end_layout
23157
23158 \begin_layout Standard
23159 For more information about 
23160 \series bold
23161
23162 \backslash
23163 setkomafont
23164 \series default
23165  we refer to the 
23166 \series bold
23167 KOMA-Script
23168 \series default
23169  documentation 
23170 \begin_inset CommandInset citation
23171 LatexCommand cite
23172 key "KOMA-Script"
23173
23174 \end_inset
23175
23176 .
23177 \end_layout
23178
23179 \begin_layout Standard
23180 \begin_inset ERT
23181 status collapsed
23182
23183 \begin_layout Plain Layout
23184
23185
23186 \backslash
23187 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
23188 }
23189 \end_layout
23190
23191 \end_inset
23192
23193
23194 \begin_inset Note Note
23195 status open
23196
23197 \begin_layout Plain Layout
23198 The caption format is changed only for this example.
23199 \end_layout
23200
23201 \end_inset
23202
23203
23204 \end_layout
23205
23206 \begin_layout Standard
23207 \begin_inset Float figure
23208 placement !p
23209 wide false
23210 sideways false
23211 status open
23212
23213 \begin_layout Plain Layout
23214 \align center
23215 \begin_inset Graphics
23216         filename clipart/mobius.eps
23217         lyxscale 50
23218         scale 50
23219         scaleBeforeRotation
23220
23221 \end_inset
23222
23223
23224 \end_layout
23225
23226 \begin_layout Plain Layout
23227 \begin_inset Caption
23228
23229 \begin_layout Plain Layout
23230 \begin_inset CommandInset label
23231 LatexCommand label
23232 name "fig:This-is-an-fig"
23233
23234 \end_inset
23235
23236 This is an example figure caption that is longer than one line to show the
23237  different caption format.
23238  Here a self-defined caption format is used.
23239 \end_layout
23240
23241 \end_inset
23242
23243
23244 \end_layout
23245
23246 \end_inset
23247
23248
23249 \end_layout
23250
23251 \begin_layout Standard
23252 \begin_inset ERT
23253 status collapsed
23254
23255 \begin_layout Plain Layout
23256
23257
23258 \backslash
23259 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
23260 on}
23261 \end_layout
23262
23263 \end_inset
23264
23265
23266 \end_layout
23267
23268 \begin_layout Standard
23269 \begin_inset Float table
23270 placement !p
23271 wide false
23272 sideways false
23273 status open
23274
23275 \begin_layout Plain Layout
23276 \begin_inset Caption
23277
23278 \begin_layout Plain Layout
23279 \begin_inset CommandInset label
23280 LatexCommand label
23281 name "tab:This-is-an-tab"
23282
23283 \end_inset
23284
23285 This is an example table caption that is longer than one line to show the
23286  different caption format.
23287  Here the standard caption format for tables in this document is used.
23288 \end_layout
23289
23290 \end_inset
23291
23292
23293 \end_layout
23294
23295 \begin_layout Plain Layout
23296 \align center
23297 \begin_inset Tabular
23298 <lyxtabular version="3" rows="1" columns="5">
23299 <features tabularvalignment="middle">
23300 <column alignment="center" valignment="top" width="0">
23301 <column alignment="center" valignment="top" width="0">
23302 <column alignment="center" valignment="top" width="0">
23303 <column alignment="center" valignment="top" width="0">
23304 <column alignment="center" valignment="top" width="0">
23305 <row>
23306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23307 \begin_inset Text
23308
23309 \begin_layout Plain Layout
23310 a
23311 \end_layout
23312
23313 \end_inset
23314 </cell>
23315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23316 \begin_inset Text
23317
23318 \begin_layout Plain Layout
23319 b
23320 \end_layout
23321
23322 \end_inset
23323 </cell>
23324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23325 \begin_inset Text
23326
23327 \begin_layout Plain Layout
23328 c
23329 \end_layout
23330
23331 \end_inset
23332 </cell>
23333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23334 \begin_inset Text
23335
23336 \begin_layout Plain Layout
23337 d
23338 \end_layout
23339
23340 \end_inset
23341 </cell>
23342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23343 \begin_inset Text
23344
23345 \begin_layout Plain Layout
23346 e
23347 \end_layout
23348
23349 \end_inset
23350 </cell>
23351 </row>
23352 </lyxtabular>
23353
23354 \end_inset
23355
23356
23357 \end_layout
23358
23359 \end_inset
23360
23361
23362 \end_layout
23363
23364 \begin_layout Section
23365 Caption Placement
23366 \begin_inset Index idx
23367 status collapsed
23368
23369 \begin_layout Plain Layout
23370 Caption ! Placement
23371 \end_layout
23372
23373 \end_inset
23374
23375
23376 \begin_inset Index idx
23377 status collapsed
23378
23379 \begin_layout Plain Layout
23380 Floats ! Caption Placement
23381 \end_layout
23382
23383 \end_inset
23384
23385
23386 \begin_inset CommandInset label
23387 LatexCommand label
23388 name "sec:Caption-Placement"
23389
23390 \end_inset
23391
23392
23393 \end_layout
23394
23395 \begin_layout Standard
23396 The common caption placement rule is:
23397 \end_layout
23398
23399 \begin_layout Description
23400 Figure: Caption is set below the figure
23401 \end_layout
23402
23403 \begin_layout Description
23404 Table: Caption is set above the table
23405 \end_layout
23406
23407 \begin_layout Standard
23408 Having the caption above the table is unfortunately not supported in LaTeX's
23409  standard classes.
23410  That means if you are using the document classes 
23411 \family sans
23412 article
23413 \family default
23414
23415 \family sans
23416 book
23417 \family default
23418
23419 \family sans
23420 letter
23421 \family default
23422 , or 
23423 \family sans
23424 report
23425 \family default
23426  there will be no space between the caption and the table.
23427  To insert the necessary space, add the following option to the load command
23428  of the LaTeX-package 
23429 \series bold
23430 caption
23431 \series default
23432  in your document preamble
23433 \begin_inset Foot
23434 status collapsed
23435
23436 \begin_layout Plain Layout
23437 See section
23438 \begin_inset space ~
23439 \end_inset
23440
23441
23442 \begin_inset CommandInset ref
23443 LatexCommand ref
23444 reference "sec:Caption-Formatting"
23445
23446 \end_inset
23447
23448  for more information of the package 
23449 \series bold
23450 caption
23451 \series default
23452 .
23453 \end_layout
23454
23455 \end_inset
23456
23457 :
23458 \end_layout
23459
23460 \begin_layout Standard
23461
23462 \series bold
23463 tableposition=top
23464 \end_layout
23465
23466 \begin_layout Standard
23467 If you are using a 
23468 \series bold
23469 KOMA-Script
23470 \series default
23471
23472 \begin_inset Index idx
23473 status collapsed
23474
23475 \begin_layout Plain Layout
23476 LaTeX-packages ! KOMA-Script
23477 \end_layout
23478
23479 \end_inset
23480
23481  document class (
23482 \family sans
23483 article (KOMA-Script)
23484 \family default
23485
23486 \family sans
23487 book (KOMA-Script)
23488 \family default
23489
23490 \family sans
23491 letter (KOMA-Script)
23492 \family default
23493 , or 
23494 \family sans
23495 report (KOMA-Script)
23496 \family default
23497
23498 \begin_inset space \thinspace{}
23499 \end_inset
23500
23501 ), you can alternatively to the 
23502 \series bold
23503 caption
23504 \series default
23505  package set the document class option 
23506 \series bold
23507 captions=tableheading
23508 \series default
23509 .
23510 \end_layout
23511
23512 \begin_layout Standard
23513 \begin_inset VSpace bigskip
23514 \end_inset
23515
23516 It is also possible to set the caption beside a figure or table.
23517  To get this the LaTeX-package 
23518 \series bold
23519 sidecap
23520 \series default
23521
23522 \begin_inset Index idx
23523 status collapsed
23524
23525 \begin_layout Plain Layout
23526 LaTeX-packages ! sidecap
23527 \end_layout
23528
23529 \end_inset
23530
23531  has to be loaded in the document preamble with the line
23532 \end_layout
23533
23534 \begin_layout Standard
23535
23536 \series bold
23537
23538 \backslash
23539 usepackage[option]{sidecap}
23540 \end_layout
23541
23542 \begin_layout Standard
23543 If you set no option, the caption is placed on the side of the outer page
23544  margin â€“ to the right on odd pages, to the left on even pages.
23545  You can change the placement to inner margin with the option 
23546 \series bold
23547 innercaption
23548 \series default
23549 .
23550  To force the placement always to the right or left, use the option 
23551 \series bold
23552 rightcaption
23553 \series default
23554  or 
23555 \series bold
23556 leftcaption
23557 \series default
23558 , respectively.
23559 \end_layout
23560
23561 \begin_layout Standard
23562 \begin_inset ERT
23563 status collapsed
23564
23565 \begin_layout Plain Layout
23566
23567
23568 \backslash
23569 ifsidecap
23570 \end_layout
23571
23572 \end_inset
23573
23574
23575 \begin_inset Note Note
23576 status open
23577
23578 \begin_layout Plain Layout
23579 The following section will only be displayed when the LaTeX-package 
23580 \series bold
23581 sidecap
23582 \series default
23583  is installed.
23584 \end_layout
23585
23586 \end_inset
23587
23588
23589 \end_layout
23590
23591 \begin_layout Standard
23592 To place in LyX the caption of a float on the side, it is necessary to add
23593  these commands to the document preamble:
23594 \end_layout
23595
23596 \begin_layout Standard
23597 \noindent
23598 \begin_inset CommandInset line
23599 LatexCommand rule
23600 offset "0.5ex"
23601 width "100line%"
23602 height "1pt"
23603
23604 \end_inset
23605
23606
23607 \end_layout
23608
23609 \begin_layout Standard
23610
23611 \series bold
23612
23613 \backslash
23614 newcommand{
23615 \backslash
23616 TabBesBeg}{%
23617 \begin_inset Newline newline
23618 \end_inset
23619
23620
23621 \begin_inset Phantom HPhantom
23622 status open
23623
23624 \begin_layout Plain Layout
23625
23626 \series bold
23627 \begin_inset space ~
23628 \end_inset
23629
23630
23631 \end_layout
23632
23633 \end_inset
23634
23635
23636 \backslash
23637 let
23638 \backslash
23639 MyTable
23640 \backslash
23641 table
23642 \begin_inset Newline newline
23643 \end_inset
23644
23645
23646 \begin_inset Phantom HPhantom
23647 status open
23648
23649 \begin_layout Plain Layout
23650
23651 \series bold
23652 \begin_inset space ~
23653 \end_inset
23654
23655
23656 \end_layout
23657
23658 \end_inset
23659
23660
23661 \backslash
23662 let
23663 \backslash
23664 MyEndtable
23665 \backslash
23666 endtable
23667 \begin_inset Newline newline
23668 \end_inset
23669
23670
23671 \begin_inset Phantom HPhantom
23672 status open
23673
23674 \begin_layout Plain Layout
23675
23676 \series bold
23677 \begin_inset space ~
23678 \end_inset
23679
23680
23681 \end_layout
23682
23683 \end_inset
23684
23685
23686 \backslash
23687 renewenvironment{table}{
23688 \backslash
23689 begin{SCtable}}{
23690 \backslash
23691 end{SCtable}}}
23692 \end_layout
23693
23694 \begin_layout Standard
23695
23696 \series bold
23697
23698 \backslash
23699 newcommand{
23700 \backslash
23701 TabBesEnd}{%
23702 \begin_inset Newline newline
23703 \end_inset
23704
23705
23706 \begin_inset Phantom HPhantom
23707 status open
23708
23709 \begin_layout Plain Layout
23710
23711 \series bold
23712 \begin_inset space ~
23713 \end_inset
23714
23715
23716 \end_layout
23717
23718 \end_inset
23719
23720
23721 \backslash
23722 let
23723 \backslash
23724 table
23725 \backslash
23726 MyTable
23727 \begin_inset Newline newline
23728 \end_inset
23729
23730
23731 \begin_inset Phantom HPhantom
23732 status open
23733
23734 \begin_layout Plain Layout
23735
23736 \series bold
23737 \begin_inset space ~
23738 \end_inset
23739
23740
23741 \end_layout
23742
23743 \end_inset
23744
23745
23746 \backslash
23747 let
23748 \backslash
23749 endtable
23750 \backslash
23751 MyEndtable
23752 \end_layout
23753
23754 \begin_layout Standard
23755
23756 \series bold
23757
23758 \backslash
23759 newcommand{
23760 \backslash
23761 FigBesBeg}{%
23762 \begin_inset Newline newline
23763 \end_inset
23764
23765
23766 \begin_inset Phantom HPhantom
23767 status open
23768
23769 \begin_layout Plain Layout
23770
23771 \series bold
23772 \begin_inset space ~
23773 \end_inset
23774
23775
23776 \end_layout
23777
23778 \end_inset
23779
23780
23781 \backslash
23782 let
23783 \backslash
23784 MyFigure
23785 \backslash
23786 figure
23787 \begin_inset Newline newline
23788 \end_inset
23789
23790
23791 \begin_inset Phantom HPhantom
23792 status open
23793
23794 \begin_layout Plain Layout
23795
23796 \series bold
23797 \begin_inset space ~
23798 \end_inset
23799
23800
23801 \end_layout
23802
23803 \end_inset
23804
23805
23806 \backslash
23807 let
23808 \backslash
23809 MyEndfigure
23810 \backslash
23811 endfigure
23812 \begin_inset Newline newline
23813 \end_inset
23814
23815
23816 \begin_inset Phantom HPhantom
23817 status open
23818
23819 \begin_layout Plain Layout
23820
23821 \series bold
23822 \begin_inset space ~
23823 \end_inset
23824
23825
23826 \end_layout
23827
23828 \end_inset
23829
23830
23831 \backslash
23832 renewenvironment{figure}{
23833 \backslash
23834 begin{SCfigure}}{
23835 \backslash
23836 end{SCfigure}}}
23837 \end_layout
23838
23839 \begin_layout Standard
23840
23841 \series bold
23842
23843 \backslash
23844 newcommand{
23845 \backslash
23846 FigBesEnd}{%
23847 \begin_inset Newline newline
23848 \end_inset
23849
23850
23851 \begin_inset Phantom HPhantom
23852 status open
23853
23854 \begin_layout Plain Layout
23855
23856 \series bold
23857 \begin_inset space ~
23858 \end_inset
23859
23860
23861 \end_layout
23862
23863 \end_inset
23864
23865
23866 \backslash
23867 let
23868 \backslash
23869 figure
23870 \backslash
23871 MyFigure
23872 \begin_inset Newline newline
23873 \end_inset
23874
23875
23876 \begin_inset Phantom HPhantom
23877 status open
23878
23879 \begin_layout Plain Layout
23880
23881 \series bold
23882 \begin_inset space ~
23883 \end_inset
23884
23885
23886 \end_layout
23887
23888 \end_inset
23889
23890
23891 \backslash
23892 let
23893 \backslash
23894 endfigure
23895 \backslash
23896 MyEndfigure}
23897 \end_layout
23898
23899 \begin_layout Standard
23900 \noindent
23901 \begin_inset CommandInset line
23902 LatexCommand rule
23903 offset "0.5ex"
23904 width "100line%"
23905 height "1pt"
23906
23907 \end_inset
23908
23909
23910 \end_layout
23911
23912 \begin_layout Standard
23913 The commands allow you to redefine the floats so that the caption is set
23914  on the side.
23915  For figure floats use the command
23916 \end_layout
23917
23918 \begin_layout Standard
23919
23920 \series bold
23921
23922 \backslash
23923 FigBesBeg
23924 \end_layout
23925
23926 \begin_layout Standard
23927 in TeX-Code before the float.
23928  After the float insert the command
23929 \end_layout
23930
23931 \begin_layout Standard
23932
23933 \series bold
23934
23935 \backslash
23936 FigBesEnd
23937 \end_layout
23938
23939 \begin_layout Standard
23940 in TeX-Code to get back to the original float definition.
23941 \end_layout
23942
23943 \begin_layout Standard
23944 For table floats use the corresponding commands
23945 \end_layout
23946
23947 \begin_layout Standard
23948
23949 \series bold
23950
23951 \backslash
23952 TabBesBeg
23953 \series default
23954  and 
23955 \series bold
23956
23957 \backslash
23958 TabBesEnd
23959 \end_layout
23960
23961 \begin_layout Standard
23962 Figure
23963 \begin_inset space ~
23964 \end_inset
23965
23966
23967 \begin_inset CommandInset ref
23968 LatexCommand ref
23969 reference "fig:cap-beside-fig"
23970
23971 \end_inset
23972
23973  and Table
23974 \begin_inset space ~
23975 \end_inset
23976
23977
23978 \begin_inset CommandInset ref
23979 LatexCommand ref
23980 reference "tab:cap-beside-tab"
23981
23982 \end_inset
23983
23984  are examples where the caption is set beside.
23985 \end_layout
23986
23987 \begin_layout Standard
23988 You can see in the examples that the caption text appears at the top of
23989  the floats for table floats and at the bottom for figure floats.
23990  To change this, you can use the command
23991 \end_layout
23992
23993 \begin_layout Standard
23994
23995 \series bold
23996
23997 \backslash
23998 sidecaptionvpos{float type}{placement}
23999 \end_layout
24000
24001 \begin_layout Standard
24002 in the document preamble or in TeX-Code before the float.
24003  The float type is either 
24004 \family sans
24005 figure
24006 \family default
24007  or 
24008 \family sans
24009 table
24010 \family default
24011 , the placement can be 
24012 \begin_inset Quotes eld
24013 \end_inset
24014
24015
24016 \family sans
24017 t
24018 \family default
24019
24020 \begin_inset Quotes erd
24021 \end_inset
24022
24023  for top, 
24024 \begin_inset Quotes eld
24025 \end_inset
24026
24027
24028 \family sans
24029 c
24030 \family default
24031
24032 \begin_inset Quotes erd
24033 \end_inset
24034
24035  for center, or 
24036 \begin_inset Quotes eld
24037 \end_inset
24038
24039
24040 \family sans
24041 b
24042 \family default
24043
24044 \begin_inset Quotes erd
24045 \end_inset
24046
24047  for bottom.
24048  To have for example the caption of figure floats vertically centered, use
24049  the command
24050 \end_layout
24051
24052 \begin_layout Standard
24053
24054 \series bold
24055
24056 \backslash
24057 sidecaptionvpos{figure}{c}
24058 \end_layout
24059
24060 \begin_layout Standard
24061 This was used for Figure
24062 \begin_inset space ~
24063 \end_inset
24064
24065
24066 \begin_inset CommandInset ref
24067 LatexCommand ref
24068 reference "fig:cap-beside-fig-2"
24069
24070 \end_inset
24071
24072 .
24073 \end_layout
24074
24075 \begin_layout Standard
24076 \begin_inset VSpace medskip
24077 \end_inset
24078
24079 For more information about the package 
24080 \series bold
24081 sidecap
24082 \series default
24083  we refer to its documentation 
24084 \begin_inset CommandInset citation
24085 LatexCommand cite
24086 key "sidecap"
24087
24088 \end_inset
24089
24090 .
24091 \end_layout
24092
24093 \begin_layout Standard
24094 \begin_inset Note Greyedout
24095 status open
24096
24097 \begin_layout Plain Layout
24098
24099 \series bold
24100 Note:
24101 \series default
24102  The LaTeX-package 
24103 \series bold
24104 hypcap
24105 \series default
24106
24107 \begin_inset Index idx
24108 status collapsed
24109
24110 \begin_layout Plain Layout
24111 LaTeX-packages ! hypcap
24112 \end_layout
24113
24114 \end_inset
24115
24116 , described in section
24117 \begin_inset space ~
24118 \end_inset
24119
24120
24121 \begin_inset CommandInset ref
24122 LatexCommand ref
24123 reference "sub:Reference-Position"
24124
24125 \end_inset
24126
24127 , has no effect on floats with the caption set beside.
24128 \end_layout
24129
24130 \end_inset
24131
24132
24133 \end_layout
24134
24135 \begin_layout Standard
24136 \begin_inset ERT
24137 status collapsed
24138
24139 \begin_layout Plain Layout
24140
24141
24142 \backslash
24143 FigBesBeg 
24144 \end_layout
24145
24146 \end_inset
24147
24148
24149 \end_layout
24150
24151 \begin_layout Standard
24152 \begin_inset Float figure
24153 wide false
24154 sideways false
24155 status open
24156
24157 \begin_layout Plain Layout
24158 \begin_inset Graphics
24159         filename clipart/escher-lsd.eps
24160         scale 75
24161         scaleBeforeRotation
24162
24163 \end_inset
24164
24165
24166 \end_layout
24167
24168 \begin_layout Plain Layout
24169 \begin_inset Caption
24170
24171 \begin_layout Plain Layout
24172 \begin_inset CommandInset label
24173 LatexCommand label
24174 name "fig:cap-beside-fig"
24175
24176 \end_inset
24177
24178 This is a caption beside a figure.
24179 \end_layout
24180
24181 \end_inset
24182
24183
24184 \end_layout
24185
24186 \end_inset
24187
24188
24189 \end_layout
24190
24191 \begin_layout Standard
24192 \begin_inset ERT
24193 status collapsed
24194
24195 \begin_layout Plain Layout
24196
24197
24198 \backslash
24199 TabBesBeg 
24200 \end_layout
24201
24202 \end_inset
24203
24204
24205 \end_layout
24206
24207 \begin_layout Standard
24208 \begin_inset Float table
24209 wide false
24210 sideways false
24211 status open
24212
24213 \begin_layout Plain Layout
24214 \begin_inset Caption
24215
24216 \begin_layout Plain Layout
24217 \begin_inset CommandInset label
24218 LatexCommand label
24219 name "tab:cap-beside-tab"
24220
24221 \end_inset
24222
24223 This is a caption beside a table.
24224 \end_layout
24225
24226 \end_inset
24227
24228
24229 \end_layout
24230
24231 \begin_layout Plain Layout
24232 \begin_inset Tabular
24233 <lyxtabular version="3" rows="4" columns="5">
24234 <features tabularvalignment="middle">
24235 <column alignment="center" valignment="top" width="0">
24236 <column alignment="center" valignment="top" width="0">
24237 <column alignment="center" valignment="top" width="0">
24238 <column alignment="center" valignment="top" width="0">
24239 <column alignment="center" valignment="top" width="0">
24240 <row>
24241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24242 \begin_inset Text
24243
24244 \begin_layout Plain Layout
24245 a
24246 \end_layout
24247
24248 \end_inset
24249 </cell>
24250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24251 \begin_inset Text
24252
24253 \begin_layout Plain Layout
24254
24255 \end_layout
24256
24257 \end_inset
24258 </cell>
24259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24260 \begin_inset Text
24261
24262 \begin_layout Plain Layout
24263 b
24264 \end_layout
24265
24266 \end_inset
24267 </cell>
24268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24269 \begin_inset Text
24270
24271 \begin_layout Plain Layout
24272
24273 \end_layout
24274
24275 \end_inset
24276 </cell>
24277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24278 \begin_inset Text
24279
24280 \begin_layout Plain Layout
24281 c
24282 \end_layout
24283
24284 \end_inset
24285 </cell>
24286 </row>
24287 <row>
24288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24289 \begin_inset Text
24290
24291 \begin_layout Plain Layout
24292
24293 \end_layout
24294
24295 \end_inset
24296 </cell>
24297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24298 \begin_inset Text
24299
24300 \begin_layout Plain Layout
24301 d
24302 \end_layout
24303
24304 \end_inset
24305 </cell>
24306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24307 \begin_inset Text
24308
24309 \begin_layout Plain Layout
24310
24311 \end_layout
24312
24313 \end_inset
24314 </cell>
24315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24316 \begin_inset Text
24317
24318 \begin_layout Plain Layout
24319 e
24320 \end_layout
24321
24322 \end_inset
24323 </cell>
24324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24325 \begin_inset Text
24326
24327 \begin_layout Plain Layout
24328
24329 \end_layout
24330
24331 \end_inset
24332 </cell>
24333 </row>
24334 <row>
24335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24336 \begin_inset Text
24337
24338 \begin_layout Plain Layout
24339 f
24340 \end_layout
24341
24342 \end_inset
24343 </cell>
24344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24345 \begin_inset Text
24346
24347 \begin_layout Plain Layout
24348
24349 \end_layout
24350
24351 \end_inset
24352 </cell>
24353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24354 \begin_inset Text
24355
24356 \begin_layout Plain Layout
24357 g
24358 \end_layout
24359
24360 \end_inset
24361 </cell>
24362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24363 \begin_inset Text
24364
24365 \begin_layout Plain Layout
24366
24367 \end_layout
24368
24369 \end_inset
24370 </cell>
24371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24372 \begin_inset Text
24373
24374 \begin_layout Plain Layout
24375 h
24376 \end_layout
24377
24378 \end_inset
24379 </cell>
24380 </row>
24381 <row>
24382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24383 \begin_inset Text
24384
24385 \begin_layout Plain Layout
24386
24387 \end_layout
24388
24389 \end_inset
24390 </cell>
24391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24392 \begin_inset Text
24393
24394 \begin_layout Plain Layout
24395 i
24396 \end_layout
24397
24398 \end_inset
24399 </cell>
24400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24401 \begin_inset Text
24402
24403 \begin_layout Plain Layout
24404
24405 \end_layout
24406
24407 \end_inset
24408 </cell>
24409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24410 \begin_inset Text
24411
24412 \begin_layout Plain Layout
24413 j
24414 \end_layout
24415
24416 \end_inset
24417 </cell>
24418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24419 \begin_inset Text
24420
24421 \begin_layout Plain Layout
24422
24423 \end_layout
24424
24425 \end_inset
24426 </cell>
24427 </row>
24428 </lyxtabular>
24429
24430 \end_inset
24431
24432
24433 \end_layout
24434
24435 \end_inset
24436
24437
24438 \end_layout
24439
24440 \begin_layout Standard
24441 \begin_inset ERT
24442 status collapsed
24443
24444 \begin_layout Plain Layout
24445
24446
24447 \backslash
24448 TabBesEnd
24449 \end_layout
24450
24451 \end_inset
24452
24453
24454 \end_layout
24455
24456 \begin_layout Standard
24457 \begin_inset ERT
24458 status collapsed
24459
24460 \begin_layout Plain Layout
24461
24462
24463 \backslash
24464 sidecaptionvpos{figure}{c}
24465 \end_layout
24466
24467 \end_inset
24468
24469
24470 \begin_inset Float figure
24471 wide false
24472 sideways false
24473 status open
24474
24475 \begin_layout Plain Layout
24476 \begin_inset Graphics
24477         filename clipart/escher-lsd.eps
24478         scale 75
24479         scaleBeforeRotation
24480
24481 \end_inset
24482
24483
24484 \end_layout
24485
24486 \begin_layout Plain Layout
24487 \begin_inset Caption
24488
24489 \begin_layout Plain Layout
24490 \begin_inset CommandInset label
24491 LatexCommand label
24492 name "fig:cap-beside-fig-2"
24493
24494 \end_inset
24495
24496 This is a vertically centered caption beside a figure.
24497 \end_layout
24498
24499 \end_inset
24500
24501
24502 \end_layout
24503
24504 \end_inset
24505
24506
24507 \end_layout
24508
24509 \begin_layout Standard
24510 \begin_inset ERT
24511 status collapsed
24512
24513 \begin_layout Plain Layout
24514
24515
24516 \backslash
24517 FigBesEnd
24518 \end_layout
24519
24520 \end_inset
24521
24522
24523 \end_layout
24524
24525 \begin_layout Standard
24526 \begin_inset ERT
24527 status collapsed
24528
24529 \begin_layout Plain Layout
24530
24531
24532 \backslash
24533 else
24534 \end_layout
24535
24536 \end_inset
24537
24538
24539 \begin_inset Note Note
24540 status open
24541
24542 \begin_layout Plain Layout
24543 The following will be displayed when the LaTeX-package 
24544 \series bold
24545 sidecap
24546 \series default
24547  is not installed:
24548 \end_layout
24549
24550 \end_inset
24551
24552
24553 \end_layout
24554
24555 \begin_layout Standard
24556 You need to install the LaTeX-package 
24557 \series bold
24558 sidecap
24559 \series default
24560  to see the following part of this section in the output.
24561 \end_layout
24562
24563 \begin_layout Standard
24564 \begin_inset ERT
24565 status collapsed
24566
24567 \begin_layout Plain Layout
24568
24569
24570 \backslash
24571 fi
24572 \end_layout
24573
24574 \end_inset
24575
24576
24577 \end_layout
24578
24579 \begin_layout Section
24580 Listings of Floats
24581 \begin_inset Index idx
24582 status collapsed
24583
24584 \begin_layout Plain Layout
24585 Floats ! Float Lists
24586 \end_layout
24587
24588 \end_inset
24589
24590
24591 \end_layout
24592
24593 \begin_layout Standard
24594 Similar to the table of contents where the sections of the document are
24595  listed, there are listings for all float types, like the figures of the
24596  documents.
24597  You can insert them via the 
24598 \family sans
24599 Insert\SpecialChar \menuseparator
24600 List
24601 \begin_inset space ~
24602 \end_inset
24603
24604 /
24605 \begin_inset space ~
24606 \end_inset
24607
24608 TOC
24609 \family default
24610  sub menus.
24611 \end_layout
24612
24613 \begin_layout Standard
24614 The list entries are the float captions or its short title, the float number,
24615  and the page number where they appear in the document.
24616 \end_layout
24617
24618 \begin_layout Standard
24619 You can find the list of figures and tables at the end of this document.
24620 \end_layout
24621
24622 \begin_layout Chapter
24623 Notes
24624 \end_layout
24625
24626 \begin_layout Section
24627 LyX Notes
24628 \begin_inset Index idx
24629 status collapsed
24630
24631 \begin_layout Plain Layout
24632 Notes ! LyX Notes
24633 \end_layout
24634
24635 \end_inset
24636
24637
24638 \end_layout
24639
24640 \begin_layout Standard
24641 Notes are inserted with the toolbar button 
24642 \begin_inset Graphics
24643         filename ../images/note-insert.png
24644         scale 85
24645         scaleBeforeRotation
24646
24647 \end_inset
24648
24649  or the menu 
24650 \family sans
24651 Insert\SpecialChar \menuseparator
24652 Note
24653 \family default
24654 .
24655  There are three types of notes:
24656 \end_layout
24657
24658 \begin_layout Description
24659 LyX
24660 \begin_inset space ~
24661 \end_inset
24662
24663 Note This note type is for internal notes that won't appear in the output.
24664  Its note-box looks like this:
24665 \begin_inset Newline newline
24666 \end_inset
24667
24668
24669 \begin_inset Newline newline
24670 \end_inset
24671
24672
24673 \begin_inset Graphics
24674         filename clipart/LyXNoteImageQt4.png
24675         display false
24676         scale 85
24677         scaleBeforeRotation
24678
24679 \end_inset
24680
24681  
24682 \begin_inset Note Note
24683 status open
24684
24685 \begin_layout Plain Layout
24686 This is text in a note box that doesn't appear in the output.
24687 \end_layout
24688
24689 \end_inset
24690
24691
24692 \end_layout
24693
24694 \begin_layout Description
24695 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
24696 ent, when you export the document to LaTeX via the menu 
24697 \family sans
24698 File\SpecialChar \menuseparator
24699 Export\SpecialChar \menuseparator
24700 LaTeX (pdflatex) / (plain)
24701 \family default
24702 .
24703  Its note-box looks like this:
24704 \begin_inset Newline newline
24705 \end_inset
24706
24707
24708 \begin_inset Newline newline
24709 \end_inset
24710
24711
24712 \begin_inset Graphics
24713         filename clipart/CommentNoteImageQt4.png
24714         display false
24715         scale 85
24716         scaleBeforeRotation
24717
24718 \end_inset
24719
24720  
24721 \begin_inset Note Comment
24722 status open
24723
24724 \begin_layout Plain Layout
24725 This is text in a note box that only appears as comment in LaTeX-files.
24726 \end_layout
24727
24728 \end_inset
24729
24730
24731 \end_layout
24732
24733 \begin_layout Description
24734 Greyed
24735 \begin_inset space ~
24736 \end_inset
24737
24738 Out This note will appear in the output as grey text.
24739  Its note-box looks like this:
24740 \begin_inset Newline newline
24741 \end_inset
24742
24743
24744 \begin_inset Newline newline
24745 \end_inset
24746
24747
24748 \begin_inset Graphics
24749         filename clipart/GreyedOutNoteImageQt4.png
24750         display false
24751         scale 85
24752         scaleBeforeRotation
24753
24754 \end_inset
24755
24756
24757 \begin_inset Newline newline
24758 \end_inset
24759
24760
24761 \begin_inset ERT
24762 status collapsed
24763
24764 \begin_layout Plain Layout
24765
24766
24767 \backslash
24768 renewenvironment{lyxgreyedout}
24769 \end_layout
24770
24771 \begin_layout Plain Layout
24772
24773 {
24774 \backslash
24775 textcolor[gray]{0.8}
24776 \backslash
24777 bgroup}{
24778 \backslash
24779 egroup}
24780 \end_layout
24781
24782 \end_inset
24783
24784
24785 \begin_inset Note Greyedout
24786 status open
24787
24788 \begin_layout Plain Layout
24789 This is text
24790 \begin_inset Foot
24791 status open
24792
24793 \begin_layout Plain Layout
24794 This is an example footnote within a greyed out note.
24795 \end_layout
24796
24797 \end_inset
24798
24799  of a comment that appears in the output as grey text.
24800 \end_layout
24801
24802 \end_inset
24803
24804
24805 \begin_inset ERT
24806 status collapsed
24807
24808 \begin_layout Plain Layout
24809
24810
24811 \backslash
24812 renewenvironment{lyxgreyedout}
24813 \end_layout
24814
24815 \begin_layout Plain Layout
24816
24817 {
24818 \backslash
24819 textcolor{blue}
24820 \backslash
24821 bgroup}{
24822 \backslash
24823 egroup}
24824 \end_layout
24825
24826 \end_inset
24827
24828
24829 \begin_inset Note Note
24830 status collapsed
24831
24832 \begin_layout Plain Layout
24833 The greyed out note is here redefined to show it with the original LyX definitio
24834 n because greyed out notes are redefined in the preamble of this document,
24835  as described below, to have blue text.
24836 \end_layout
24837
24838 \end_inset
24839
24840
24841 \begin_inset Newline newline
24842 \end_inset
24843
24844
24845 \begin_inset Newline newline
24846 \end_inset
24847
24848 As you can see in the example, the first line of greyed out notes is a bit
24849  indented and greyed out notes can have footnotes.
24850 \end_layout
24851
24852 \begin_layout Standard
24853 \begin_inset VSpace bigskip
24854 \end_inset
24855
24856 When you use the toolbar button 
24857 \begin_inset Graphics
24858         filename ../images/note-insert.png
24859         scale 85
24860         scaleBeforeRotation
24861
24862 \end_inset
24863
24864  to insert notes, a 
24865 \family sans
24866 LyX
24867 \begin_inset space ~
24868 \end_inset
24869
24870 Note
24871 \family default
24872  is inserted.
24873  You can switch between the five note types by right-clicking on the note-box.
24874  
24875 \family roman
24876 \series medium
24877 \bar no
24878 If you want to turn existing text into a note, mark it and click on the
24879  note
24880 \family default
24881 \series default
24882 \bar default
24883  toolbar 
24884 \family roman
24885 \series medium
24886 \bar no
24887 button
24888 \family default
24889 \series default
24890 \bar default
24891 .
24892  To change a note to text, press the backspace key when the cursor is in
24893  the first position of a note, or press the delete key when the cursor is
24894  in the very last position of the note, respectively.
24895 \end_layout
24896
24897 \begin_layout Standard
24898 \begin_inset VSpace bigskip
24899 \end_inset
24900
24901 You can change the text color of the greyed out notes in the preamble with
24902  the following command:
24903 \end_layout
24904
24905 \begin_layout Standard
24906
24907 \series bold
24908
24909 \backslash
24910 renewenvironment{lyxgreyedout}
24911 \begin_inset Newline newline
24912 \end_inset
24913
24914
24915 \begin_inset Phantom HPhantom
24916 status open
24917
24918 \begin_layout Plain Layout
24919
24920 \series bold
24921 \begin_inset space ~
24922 \end_inset
24923
24924
24925 \end_layout
24926
24927 \end_inset
24928
24929 {
24930 \backslash
24931 textcolor{color}
24932 \backslash
24933 bgroup}{
24934 \backslash
24935 egroup}
24936 \end_layout
24937
24938 \begin_layout Standard
24939 The available colors and the method to define colors is explained in section
24940 \begin_inset space ~
24941 \end_inset
24942
24943
24944 \begin_inset CommandInset ref
24945 LatexCommand ref
24946 reference "sec:Colored-Tables"
24947
24948 \end_inset
24949
24950 .
24951 \end_layout
24952
24953 \begin_layout Standard
24954 Notes that appear in blue in this document are set using greyed out notes
24955  with blue text.
24956 \end_layout
24957
24958 \begin_layout Section
24959 Footnotes
24960 \begin_inset CommandInset label
24961 LatexCommand label
24962 name "sec:Footnotes"
24963
24964 \end_inset
24965
24966
24967 \begin_inset Index idx
24968 status collapsed
24969
24970 \begin_layout Plain Layout
24971 Notes ! Footnotes
24972 \end_layout
24973
24974 \end_inset
24975
24976
24977 \begin_inset Index idx
24978 status collapsed
24979
24980 \begin_layout Plain Layout
24981 Footnotes
24982 \end_layout
24983
24984 \end_inset
24985
24986
24987 \end_layout
24988
24989 \begin_layout Standard
24990 Footnotes can be inserted using the toolbar button 
24991 \begin_inset Graphics
24992         filename ../images/footnote-insert.png
24993         scale 85
24994         scaleBeforeRotation
24995
24996 \end_inset
24997
24998  or the menu 
24999 \family sans
25000 Insert\SpecialChar \menuseparator
25001 Footnote
25002 \family default
25003 .
25004  
25005 \family roman
25006 \series medium
25007 \bar no
25008 You'll see
25009 \family default
25010 \series default
25011 \bar default
25012  then the following footnote-box: 
25013 \begin_inset Graphics
25014         filename clipart/footnoteQt4.png
25015         scale 80
25016         scaleBeforeRotation
25017
25018 \end_inset
25019
25020  
25021 \family roman
25022 \series medium
25023 \bar no
25024 where you can enter the footnote text.
25025  If you want to turn existing text into a footnote, mark it and click on
25026  the footnote
25027 \family default
25028 \series default
25029 \bar default
25030  toolbar 
25031 \family roman
25032 \series medium
25033 \bar no
25034 button
25035 \family default
25036 \series default
25037 \bar default
25038 .
25039  To change a 
25040 \family roman
25041 \series medium
25042 \bar no
25043 footnote
25044 \family default
25045 \series default
25046 \bar default
25047  to text, press the Backspace key when the cursor is in the first position
25048  of a 
25049 \family roman
25050 \series medium
25051 \bar no
25052 footnote
25053 \family default
25054 \series default
25055 \bar default
25056 , or press the Delete key when the cursor is in the very last position of
25057  the 
25058 \family roman
25059 \series medium
25060 \bar no
25061 footnote
25062 \family default
25063 \series default
25064 \bar default
25065 , respectively.
25066 \end_layout
25067
25068 \begin_layout Standard
25069 Here is an example footnote:
25070 \family roman
25071 \series medium
25072 \bar no
25073
25074 \begin_inset Foot
25075 status open
25076
25077 \begin_layout Plain Layout
25078 \begin_inset CommandInset label
25079 LatexCommand label
25080 name "foot:This-is-an"
25081
25082 \end_inset
25083
25084 This is an example footnote.
25085 \end_layout
25086
25087 \end_inset
25088
25089
25090 \family default
25091 \series default
25092 \bar default
25093
25094 \begin_inset ERT
25095 status collapsed
25096
25097 \begin_layout Plain Layout
25098
25099
25100 \backslash
25101 newcounter{MyRepeatFoot}
25102 \end_layout
25103
25104 \begin_layout Plain Layout
25105
25106
25107 \backslash
25108 setcounter{MyRepeatFoot}{
25109 \backslash
25110 thefootnote}
25111 \end_layout
25112
25113 \end_inset
25114
25115
25116 \end_layout
25117
25118 \begin_layout Standard
25119 The footnote will appear in the output as a superscript number at the text
25120  position where the footnote box is placed.
25121  The footnote text is placed at the bottom of the current page.
25122  The footnote number is calculated by LaTeX; the numbers are consecutive.
25123  It depends on your document-class, whether the footnote number is reset
25124  for every chapter.
25125 \end_layout
25126
25127 \begin_layout Standard
25128 Footnotes can be referenced like floats: Insert a label into the footnote
25129  and cross-reference this label in the text as described in section
25130 \begin_inset space ~
25131 \end_inset
25132
25133
25134 \begin_inset CommandInset ref
25135 LatexCommand ref
25136 reference "sec:Referencing-Floats"
25137
25138 \end_inset
25139
25140 .
25141 \begin_inset Newline newline
25142 \end_inset
25143
25144 This is a cross-reference of Footnote
25145 \begin_inset space ~
25146 \end_inset
25147
25148
25149 \begin_inset CommandInset ref
25150 LatexCommand ref
25151 reference "foot:This-is-an"
25152
25153 \end_inset
25154
25155 .
25156 \end_layout
25157
25158 \begin_layout Standard
25159 \begin_inset VSpace defskip
25160 \end_inset
25161
25162 Footnotes in tables are not printed by LaTeX due to technical reasons.
25163  However there exists another method to print them: Instead of the footnote
25164  the command 
25165 \series bold
25166
25167 \backslash
25168 footnotemark{}
25169 \series default
25170  is inserted as TeX-code.
25171  The text of the footnote is entered as an argument of the TeX-code command
25172  
25173 \series bold
25174
25175 \backslash
25176 footnotetext
25177 \series default
25178  after the table.
25179 \begin_inset Newline newline
25180 \end_inset
25181
25182 This was done for the following table with the command
25183 \end_layout
25184
25185 \begin_layout Standard
25186
25187 \series bold
25188
25189 \backslash
25190 footnotetext{
25191 \series default
25192 Printed table footnote.
25193 \series bold
25194 }
25195 \end_layout
25196
25197 \begin_layout Standard
25198 \begin_inset Tabular
25199 <lyxtabular version="3" rows="2" columns="1">
25200 <features tabularvalignment="middle">
25201 <column alignment="center" valignment="top" width="0">
25202 <row>
25203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25204 \begin_inset Text
25205
25206 \begin_layout Plain Layout
25207 This an example text.
25208 \begin_inset Foot
25209 status open
25210
25211 \begin_layout Plain Layout
25212 This footnote will not be printed!
25213 \end_layout
25214
25215 \end_inset
25216
25217
25218 \end_layout
25219
25220 \end_inset
25221 </cell>
25222 </row>
25223 <row>
25224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25225 \begin_inset Text
25226
25227 \begin_layout Plain Layout
25228 This an example text.
25229 \begin_inset ERT
25230 status collapsed
25231
25232 \begin_layout Plain Layout
25233
25234
25235 \backslash
25236 footnotemark{}
25237 \end_layout
25238
25239 \end_inset
25240
25241
25242 \end_layout
25243
25244 \end_inset
25245 </cell>
25246 </row>
25247 </lyxtabular>
25248
25249 \end_inset
25250
25251
25252 \begin_inset ERT
25253 status collapsed
25254
25255 \begin_layout Plain Layout
25256
25257
25258 \backslash
25259 footnotetext{
25260 \end_layout
25261
25262 \end_inset
25263
25264 Printed table footnote.
25265 \begin_inset ERT
25266 status collapsed
25267
25268 \begin_layout Plain Layout
25269
25270 }
25271 \end_layout
25272
25273 \end_inset
25274
25275
25276 \end_layout
25277
25278 \begin_layout Standard
25279 Footnotes in longtables are described in section
25280 \begin_inset space ~
25281 \end_inset
25282
25283
25284 \begin_inset CommandInset ref
25285 LatexCommand ref
25286 reference "sub:Footnotes-in-Longtables"
25287
25288 \end_inset
25289
25290 .
25291 \end_layout
25292
25293 \begin_layout Standard
25294 Footnotes in minipage boxes are printed, but inside the box and with a different
25295  numbering because a minipage box is like a page inside a page.
25296  (For more about minipages, see section
25297 \begin_inset space ~
25298 \end_inset
25299
25300
25301 \begin_inset CommandInset ref
25302 LatexCommand ref
25303 reference "sec:Minipages"
25304
25305 \end_inset
25306
25307 .) To get a footnote in the minipage that is output at the bottom of the
25308  page like normal footnotes, also use the method of 
25309 \series bold
25310
25311 \backslash
25312 footnotemark{}
25313 \series default
25314  and 
25315 \series bold
25316
25317 \backslash
25318 footnotetext
25319 \series default
25320 .
25321 \end_layout
25322
25323 \begin_layout Standard
25324 \begin_inset Box Frameless
25325 position "t"
25326 hor_pos "c"
25327 has_inner_box 1
25328 inner_pos "t"
25329 use_parbox 0
25330 use_makebox 0
25331 width "100col%"
25332 special "none"
25333 height "1in"
25334 height_special "totalheight"
25335 status open
25336
25337 \begin_layout Plain Layout
25338 This an example text in a minipage.
25339 \begin_inset Foot
25340 status open
25341
25342 \begin_layout Plain Layout
25343 Footnote in the minipage.
25344 \end_layout
25345
25346 \end_inset
25347
25348
25349 \end_layout
25350
25351 \begin_layout Plain Layout
25352 This an example text in a minipage.
25353 \begin_inset ERT
25354 status collapsed
25355
25356 \begin_layout Plain Layout
25357
25358
25359 \backslash
25360 footnotemark{}
25361 \end_layout
25362
25363 \end_inset
25364
25365
25366 \end_layout
25367
25368 \end_inset
25369
25370
25371 \end_layout
25372
25373 \begin_layout Standard
25374 \begin_inset ERT
25375 status collapsed
25376
25377 \begin_layout Plain Layout
25378
25379
25380 \backslash
25381 footnotetext{
25382 \end_layout
25383
25384 \end_inset
25385
25386 Footnote outside the minipage.
25387 \begin_inset ERT
25388 status collapsed
25389
25390 \begin_layout Plain Layout
25391
25392 }
25393 \end_layout
25394
25395 \end_inset
25396
25397
25398 \end_layout
25399
25400 \begin_layout Standard
25401 \begin_inset VSpace defskip
25402 \end_inset
25403
25404
25405 \end_layout
25406
25407 \begin_layout Standard
25408 To refer to the same footnote several times without printing the footnote
25409  text every time, use the command 
25410 \series bold
25411
25412 \backslash
25413 footnotemark[number]
25414 \series default
25415  in TeX-code.
25416 \begin_inset Newline newline
25417 \end_inset
25418
25419 As you do not know the number of the repeating footnote while you are writing
25420  the text, you have to store its number.
25421  For the following footnote mark example, these commands were inserted in
25422  TeX-code after Footnote
25423 \begin_inset space ~
25424 \end_inset
25425
25426
25427 \begin_inset CommandInset ref
25428 LatexCommand ref
25429 reference "foot:This-is-an"
25430
25431 \end_inset
25432
25433  to store the footnote number:
25434 \end_layout
25435
25436 \begin_layout Standard
25437
25438 \series bold
25439
25440 \backslash
25441 newcounter{MyRepeatFoot}
25442 \begin_inset Newline newline
25443 \end_inset
25444
25445
25446 \backslash
25447 setcounter{MyRepeatFoot}{
25448 \backslash
25449 thefootnote}
25450 \end_layout
25451
25452 \begin_layout Standard
25453 The footnote mark was then created with this command:
25454 \end_layout
25455
25456 \begin_layout Standard
25457
25458 \series bold
25459
25460 \backslash
25461 footnotemark[
25462 \backslash
25463 theMyRepeatFoot]
25464 \end_layout
25465
25466 \begin_layout Standard
25467 Here is a repeated footnote:
25468 \family roman
25469 \series medium
25470 \bar no
25471
25472 \begin_inset ERT
25473 status collapsed
25474
25475 \begin_layout Plain Layout
25476
25477
25478 \backslash
25479 footnotemark[
25480 \backslash
25481 theMyRepeatFoot]
25482 \end_layout
25483
25484 \end_inset
25485
25486
25487 \end_layout
25488
25489 \begin_layout Standard
25490 If you want to repeat the previous footnote, you can omit the storage of
25491  the footnote number and just use this command instead:
25492 \end_layout
25493
25494 \begin_layout Standard
25495
25496 \series bold
25497
25498 \backslash
25499 footnotemark[
25500 \backslash
25501 thefootnote]
25502 \end_layout
25503
25504 \begin_layout Standard
25505 Here is another repeated footnote:
25506 \family roman
25507 \series medium
25508 \bar no
25509
25510 \begin_inset ERT
25511 status collapsed
25512
25513 \begin_layout Plain Layout
25514
25515
25516 \backslash
25517 footnotemark[
25518 \backslash
25519 thefootnote]
25520 \end_layout
25521
25522 \end_inset
25523
25524
25525 \end_layout
25526
25527 \begin_layout Subsection
25528 Footnote Numbering
25529 \begin_inset CommandInset label
25530 LatexCommand label
25531 name "sub:Footnote-Numbering"
25532
25533 \end_inset
25534
25535
25536 \begin_inset Index idx
25537 status collapsed
25538
25539 \begin_layout Plain Layout
25540 Footnotes ! Numbering
25541 \end_layout
25542
25543 \end_inset
25544
25545
25546 \end_layout
25547
25548 \begin_layout Standard
25549 To reset the footnote number back to 1 after each section
25550 \family roman
25551 , add this command to your document preamble:
25552 \end_layout
25553
25554 \begin_layout Standard
25555
25556 \series bold
25557
25558 \backslash
25559 @addtoreset{footnote}{section}
25560 \end_layout
25561
25562 \begin_layout Standard
25563 \begin_inset VSpace bigskip
25564 \end_inset
25565
25566 The following preamble command changes the footnote numbering style to small
25567  roman numerals:
25568 \end_layout
25569
25570 \begin_layout Standard
25571
25572 \series bold
25573
25574 \backslash
25575 renewcommand{
25576 \backslash
25577 thefootnote}{
25578 \backslash
25579 roman{footnote}}
25580 \end_layout
25581
25582 \begin_layout Standard
25583 \begin_inset ERT
25584 status collapsed
25585
25586 \begin_layout Plain Layout
25587
25588
25589 \backslash
25590 renewcommand{
25591 \backslash
25592 thefootnote}{
25593 \backslash
25594 roman{footnote}}
25595 \end_layout
25596
25597 \end_inset
25598
25599  This is a footnote with roman numbering:
25600 \begin_inset Foot
25601 status open
25602
25603 \begin_layout Plain Layout
25604 This is an example footnote with roman numbering.
25605 \end_layout
25606
25607 \end_inset
25608
25609
25610 \end_layout
25611
25612 \begin_layout Standard
25613 To change the numbering style to capital roman numerals replace in the command
25614  above 
25615 \series bold
25616
25617 \backslash
25618 roman
25619 \series default
25620  by 
25621 \series bold
25622
25623 \backslash
25624 Roman
25625 \series default
25626 .
25627  To 
25628 \begin_inset Quotes eld
25629 \end_inset
25630
25631 number
25632 \begin_inset Quotes erd
25633 \end_inset
25634
25635  footnotes with capital or small Latin letters use 
25636 \series bold
25637
25638 \backslash
25639 Alph
25640 \series default
25641  or 
25642 \series bold
25643
25644 \backslash
25645 alph
25646 \series default
25647 , respectively.
25648  To 
25649 \begin_inset Quotes eld
25650 \end_inset
25651
25652 number
25653 \begin_inset Quotes erd
25654 \end_inset
25655
25656  footnotes with symbols use 
25657 \series bold
25658
25659 \backslash
25660 fnsymbol
25661 \series default
25662 .
25663 \end_layout
25664
25665 \begin_layout Standard
25666 \begin_inset Note Greyedout
25667 status open
25668
25669 \begin_layout Plain Layout
25670
25671 \series bold
25672 Note:
25673 \series default
25674  You can only number 26 footnotes with Latin letters, because this numbering
25675  is limited to single letters.
25676 \end_layout
25677
25678 \end_inset
25679
25680
25681 \begin_inset Newline newline
25682 \end_inset
25683
25684
25685 \begin_inset Note Greyedout
25686 status open
25687
25688 \begin_layout Plain Layout
25689
25690 \series bold
25691 Note:
25692 \series default
25693  You can only number 9 footnotes with symbols.
25694 \end_layout
25695
25696 \end_inset
25697
25698
25699 \end_layout
25700
25701 \begin_layout Standard
25702 To return to the default numbering style after you have changed to another
25703  one, use 
25704 \series bold
25705
25706 \backslash
25707 arabic
25708 \series default
25709  instead of 
25710 \series bold
25711
25712 \backslash
25713 roman
25714 \series default
25715  in the command above.
25716 \begin_inset ERT
25717 status collapsed
25718
25719 \begin_layout Plain Layout
25720
25721
25722 \backslash
25723 renewcommand{
25724 \backslash
25725 thefootnote}{
25726 \backslash
25727 arabic{footnote}}
25728 \end_layout
25729
25730 \end_inset
25731
25732
25733 \end_layout
25734
25735 \begin_layout Standard
25736 \begin_inset VSpace bigskip
25737 \end_inset
25738
25739
25740 \end_layout
25741
25742 \begin_layout Standard
25743 If you want to have footnotes numbered in the scheme 
25744 \begin_inset Quotes eld
25745 \end_inset
25746
25747 chapter.footnote
25748 \begin_inset Quotes erd
25749 \end_inset
25750
25751 , add the following command to your document preamble:
25752 \end_layout
25753
25754 \begin_layout Standard
25755
25756 \series bold
25757
25758 \backslash
25759 numberwithin{footnote}{chapter}
25760 \end_layout
25761
25762 \begin_layout Standard
25763 To be able to use the command 
25764 \series bold
25765
25766 \backslash
25767 numberwithin
25768 \series default
25769 , set in the tab 
25770 \family sans
25771 Math
25772 \begin_inset space ~
25773 \end_inset
25774
25775 Options
25776 \family default
25777  in the document settings the option 
25778 \family sans
25779 Use
25780 \begin_inset space ~
25781 \end_inset
25782
25783 AMS
25784 \begin_inset space ~
25785 \end_inset
25786
25787 math
25788 \begin_inset space ~
25789 \end_inset
25790
25791 package
25792 \family default
25793 .
25794 \end_layout
25795
25796 \begin_layout Standard
25797 \begin_inset ERT
25798 status collapsed
25799
25800 \begin_layout Plain Layout
25801
25802
25803 \backslash
25804 numberwithin{footnote}{chapter}
25805 \end_layout
25806
25807 \end_inset
25808
25809 This is another example footnote:
25810 \series bold
25811
25812 \begin_inset Foot
25813 status open
25814
25815 \begin_layout Plain Layout
25816 This is a footnote numbered in the scheme 
25817 \begin_inset Quotes eld
25818 \end_inset
25819
25820 chapter.footnote
25821 \begin_inset Quotes erd
25822 \end_inset
25823
25824 .
25825 \end_layout
25826
25827 \end_inset
25828
25829
25830 \series default
25831
25832 \begin_inset ERT
25833 status collapsed
25834
25835 \begin_layout Plain Layout
25836
25837
25838 \backslash
25839 renewcommand{
25840 \backslash
25841 thefootnote}{
25842 \backslash
25843 arabic{footnote}}
25844 \end_layout
25845
25846 \end_inset
25847
25848
25849 \end_layout
25850
25851 \begin_layout Standard
25852 \begin_inset Note Greyedout
25853 status open
25854
25855 \begin_layout Plain Layout
25856
25857 \series bold
25858 Note:
25859 \series default
25860  
25861 \series bold
25862
25863 \backslash
25864 numberwithin
25865 \series default
25866  always prints out the footnote number as arabic number; previous redefinitions
25867  to get non-arabic numbers are overwritten.
25868 \end_layout
25869
25870 \end_inset
25871
25872
25873 \end_layout
25874
25875 \begin_layout Standard
25876 So to get for example the scheme 
25877 \begin_inset Quotes eld
25878 \end_inset
25879
25880 chapter.
25881 \backslash
25882 Roman{footnote}
25883 \begin_inset Quotes erd
25884 \end_inset
25885
25886 , use this command instead of 
25887 \series bold
25888
25889 \backslash
25890 numberwithin
25891 \series default
25892 :
25893 \end_layout
25894
25895 \begin_layout Standard
25896
25897 \series bold
25898
25899 \backslash
25900 renewcommand{
25901 \backslash
25902 thefootnote}{
25903 \backslash
25904 thechapter.
25905 \backslash
25906 Roman{footnote}}
25907 \end_layout
25908
25909 \begin_layout Subsection
25910 Footnote Placement
25911 \begin_inset Index idx
25912 status collapsed
25913
25914 \begin_layout Plain Layout
25915 Footnotes ! Placement
25916 \end_layout
25917
25918 \end_inset
25919
25920
25921 \end_layout
25922
25923 \begin_layout Standard
25924 If you have several footnotes in one page, they appear without vertical
25925  space between them at the bottom of the page.
25926  To make them more readable you can e.
25927 \begin_inset space \thinspace{}
25928 \end_inset
25929
25930 g.
25931 \begin_inset space \space{}
25932 \end_inset
25933
25934 add 1.5
25935 \begin_inset space \thinspace{}
25936 \end_inset
25937
25938 mm space with the following preamble command:
25939 \end_layout
25940
25941 \begin_layout Standard
25942
25943 \series bold
25944
25945 \backslash
25946 let
25947 \backslash
25948 myFoot
25949 \backslash
25950 footnote
25951 \begin_inset Newline newline
25952 \end_inset
25953
25954
25955 \backslash
25956 renewcommand{
25957 \backslash
25958 footnote}[1]{
25959 \backslash
25960 myFoot{#1
25961 \backslash
25962 vspace{1.5mm}}}
25963 \end_layout
25964
25965 \begin_layout Standard
25966 \begin_inset VSpace bigskip
25967 \end_inset
25968
25969 In a two-column document the footnotes appear at the bottom of every column,
25970  see Figure
25971 \begin_inset space ~
25972 \end_inset
25973
25974
25975 \begin_inset CommandInset ref
25976 LatexCommand ref
25977 reference "fig:Standard-footnote-placement"
25978
25979 \end_inset
25980
25981 .
25982  If the footnotes should only appear at the bottom of the right column,
25983  as in Figure
25984 \begin_inset space ~
25985 \end_inset
25986
25987
25988 \begin_inset CommandInset ref
25989 LatexCommand ref
25990 reference "fig:Footnote-placement-in"
25991
25992 \end_inset
25993
25994 , use the LaTeX-package 
25995 \series bold
25996 ftnright
25997 \series default
25998
25999 \begin_inset Index idx
26000 status collapsed
26001
26002 \begin_layout Plain Layout
26003 LaTeX-packages ! ftnright
26004 \end_layout
26005
26006 \end_inset
26007
26008  with this command in the document preamble:
26009 \end_layout
26010
26011 \begin_layout Standard
26012
26013 \series bold
26014
26015 \backslash
26016 usepackage{ftnright}
26017 \end_layout
26018
26019 \begin_layout Standard
26020 \begin_inset Float figure
26021 placement !h
26022 wide false
26023 sideways false
26024 status open
26025
26026 \begin_layout Plain Layout
26027 \begin_inset ERT
26028 status collapsed
26029
26030 \begin_layout Plain Layout
26031
26032
26033 \backslash
26034 framebox{
26035 \end_layout
26036
26037 \end_inset
26038
26039
26040 \begin_inset Graphics
26041         filename clipart/without_fntright.pdf
26042         width 100col%
26043         scaleBeforeRotation
26044
26045 \end_inset
26046
26047
26048 \begin_inset ERT
26049 status collapsed
26050
26051 \begin_layout Plain Layout
26052
26053 }
26054 \end_layout
26055
26056 \end_inset
26057
26058
26059 \end_layout
26060
26061 \begin_layout Plain Layout
26062 \begin_inset Caption
26063
26064 \begin_layout Plain Layout
26065 \begin_inset CommandInset label
26066 LatexCommand label
26067 name "fig:Standard-footnote-placement"
26068
26069 \end_inset
26070
26071 Standard footnote placement in two-column documents.
26072 \end_layout
26073
26074 \end_inset
26075
26076
26077 \end_layout
26078
26079 \end_inset
26080
26081
26082 \end_layout
26083
26084 \begin_layout Standard
26085 \begin_inset Float figure
26086 placement !h
26087 wide false
26088 sideways false
26089 status open
26090
26091 \begin_layout Plain Layout
26092 \begin_inset ERT
26093 status collapsed
26094
26095 \begin_layout Plain Layout
26096
26097
26098 \backslash
26099 framebox{
26100 \end_layout
26101
26102 \end_inset
26103
26104
26105 \begin_inset Graphics
26106         filename clipart/with_fntright.pdf
26107         width 100col%
26108         scaleBeforeRotation
26109
26110 \end_inset
26111
26112
26113 \begin_inset ERT
26114 status collapsed
26115
26116 \begin_layout Plain Layout
26117
26118 }
26119 \end_layout
26120
26121 \end_inset
26122
26123
26124 \end_layout
26125
26126 \begin_layout Plain Layout
26127 \begin_inset Caption
26128
26129 \begin_layout Plain Layout
26130 \begin_inset CommandInset label
26131 LatexCommand label
26132 name "fig:Footnote-placement-in"
26133
26134 \end_inset
26135
26136 Footnote placement in two-column documents when the LaTeX-package 
26137 \series bold
26138 ftnright
26139 \series default
26140  is used.
26141 \end_layout
26142
26143 \end_inset
26144
26145
26146 \end_layout
26147
26148 \end_inset
26149
26150
26151 \end_layout
26152
26153 \begin_layout Standard
26154 \begin_inset VSpace bigskip
26155 \end_inset
26156
26157 In some scientific literature it is usual to collect the footnotes and print
26158  them in a separate paragraph at the end of a section, as in Figure
26159 \begin_inset space ~
26160 \end_inset
26161
26162
26163 \begin_inset CommandInset ref
26164 LatexCommand ref
26165 reference "fig:Endnotes"
26166
26167 \end_inset
26168
26169 .
26170  They are then called 
26171 \begin_inset Quotes eld
26172 \end_inset
26173
26174 endnotes
26175 \begin_inset Quotes erd
26176 \end_inset
26177
26178 .
26179 \begin_inset Index idx
26180 status collapsed
26181
26182 \begin_layout Plain Layout
26183 Endnotes
26184 \end_layout
26185
26186 \end_inset
26187
26188  To use endnotes instead of footnotes in your document, load in the menu
26189  
26190 \family sans
26191 Document\SpecialChar \menuseparator
26192 Settings\SpecialChar \menuseparator
26193 Modules 
26194 \family default
26195 the module 
26196 \family sans
26197 Foot
26198 \begin_inset space ~
26199 \end_inset
26200
26201 to
26202 \begin_inset space ~
26203 \end_inset
26204
26205 End
26206 \family default
26207 .
26208  To insert the collected footnotes, insert the command
26209 \end_layout
26210
26211 \begin_layout Standard
26212
26213 \series bold
26214
26215 \backslash
26216 theendnotes
26217 \end_layout
26218
26219 \begin_layout Standard
26220 in TeX-Code at the end of a section or chapter.
26221 \end_layout
26222
26223 \begin_layout Standard
26224 \begin_inset Float figure
26225 wide false
26226 sideways false
26227 status open
26228
26229 \begin_layout Plain Layout
26230 \align center
26231 \begin_inset ERT
26232 status collapsed
26233
26234 \begin_layout Plain Layout
26235
26236
26237 \backslash
26238 framebox{
26239 \end_layout
26240
26241 \end_inset
26242
26243
26244 \begin_inset Graphics
26245         filename clipart/endnotes.pdf
26246         scaleBeforeRotation
26247
26248 \end_inset
26249
26250
26251 \begin_inset ERT
26252 status collapsed
26253
26254 \begin_layout Plain Layout
26255
26256 }
26257 \end_layout
26258
26259 \end_inset
26260
26261
26262 \end_layout
26263
26264 \begin_layout Plain Layout
26265 \begin_inset Caption
26266
26267 \begin_layout Plain Layout
26268 \begin_inset CommandInset label
26269 LatexCommand label
26270 name "fig:Endnotes"
26271
26272 \end_inset
26273
26274 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
26275  or chapters.
26276 \end_layout
26277
26278 \end_inset
26279
26280
26281 \end_layout
26282
26283 \end_inset
26284
26285
26286 \end_layout
26287
26288 \begin_layout Standard
26289 \begin_inset VSpace medskip
26290 \end_inset
26291
26292 The paragraph heading for the endnotes isn't automatically translated into
26293  the document language, this must be done manually.
26294  The following preamble command translates the default English 
26295 \begin_inset Quotes eld
26296 \end_inset
26297
26298 Notes
26299 \begin_inset Quotes erd
26300 \end_inset
26301
26302  into the German 
26303 \begin_inset Quotes eld
26304 \end_inset
26305
26306 Anmerkungen
26307 \begin_inset Quotes erd
26308 \end_inset
26309
26310 :
26311 \end_layout
26312
26313 \begin_layout Standard
26314
26315 \series bold
26316
26317 \backslash
26318 renewcommand{
26319 \backslash
26320 notesname}{Anmerkungen}
26321 \end_layout
26322
26323 \begin_layout Standard
26324 \begin_inset VSpace medskip
26325 \end_inset
26326
26327 The numbering of endnotes can be changed like the footnote numbering as
26328  described in section
26329 \begin_inset space ~
26330 \end_inset
26331
26332
26333 \begin_inset CommandInset ref
26334 LatexCommand ref
26335 reference "sub:Footnote-Numbering"
26336
26337 \end_inset
26338
26339 ; just replace the command 
26340 \series bold
26341
26342 \backslash
26343 thefootnote
26344 \series default
26345  by 
26346 \series bold
26347
26348 \backslash
26349 theendnote
26350 \series default
26351 .
26352  To reset the endnote number use the command 
26353 \series bold
26354
26355 \backslash
26356 @addtoreset
26357 \series default
26358  as described in section
26359 \begin_inset space ~
26360 \end_inset
26361
26362
26363 \begin_inset CommandInset ref
26364 LatexCommand ref
26365 reference "sub:Footnote-Numbering"
26366
26367 \end_inset
26368
26369  and replace the command parameter 
26370 \series bold
26371 footnote
26372 \series default
26373  by 
26374 \series bold
26375 endnote
26376 \series default
26377 .
26378 \end_layout
26379
26380 \begin_layout Standard
26381 For endnotes there is the command 
26382 \series bold
26383
26384 \backslash
26385 endnotemark[number]
26386 \series default
26387  similar to the command 
26388 \series bold
26389
26390 \backslash
26391 footnotemark
26392 \series default
26393 , that is described in section
26394 \begin_inset space ~
26395 \end_inset
26396
26397
26398 \begin_inset CommandInset ref
26399 LatexCommand ref
26400 reference "sec:Footnotes"
26401
26402 \end_inset
26403
26404 .
26405 \end_layout
26406
26407 \begin_layout Standard
26408 \begin_inset VSpace bigskip
26409 \end_inset
26410
26411 Footnotes can also be placed in the page margin and the footnote text alignment
26412  can be changed, see the LaTeX-package 
26413 \series bold
26414 footmisc
26415 \series default
26416
26417 \begin_inset Index idx
26418 status collapsed
26419
26420 \begin_layout Plain Layout
26421 LaTeX-packages ! footmisc
26422 \end_layout
26423
26424 \end_inset
26425
26426
26427 \begin_inset CommandInset citation
26428 LatexCommand cite
26429 key "footmisc"
26430
26431 \end_inset
26432
26433  for more information about this.
26434 \end_layout
26435
26436 \begin_layout Standard
26437 For various further footnote formatting issues have a look at LaTeX-books,
26438  
26439 \begin_inset CommandInset citation
26440 LatexCommand cite
26441 key "latexcompanion,latexguide,latexbook"
26442
26443 \end_inset
26444
26445 .
26446 \end_layout
26447
26448 \begin_layout Section
26449 Margin Notes
26450 \begin_inset Index idx
26451 status collapsed
26452
26453 \begin_layout Plain Layout
26454 Notes ! Margin Notes
26455 \end_layout
26456
26457 \end_inset
26458
26459
26460 \end_layout
26461
26462 \begin_layout Standard
26463 Margin notes look and behave in LyX like footnotes.
26464  They are inserted via the menu 
26465 \family sans
26466 Insert\SpecialChar \menuseparator
26467 Marginal
26468 \begin_inset space ~
26469 \end_inset
26470
26471 Note
26472 \family default
26473  or the toolbar button 
26474 \begin_inset Graphics
26475         filename ../images/marginalnote-insert.png
26476         scale 85
26477         scaleBeforeRotation
26478
26479 \end_inset
26480
26481 .
26482  A grey 
26483 \family roman
26484 \series medium
26485 box with the
26486 \family default
26487 \series default
26488  red 
26489 \family roman
26490 \series medium
26491 label 
26492 \begin_inset Quotes eld
26493 \end_inset
26494
26495 margin
26496 \begin_inset Quotes erd
26497 \end_inset
26498
26499  appears where you can enter the text of the margin note.
26500 \end_layout
26501
26502 \begin_layout Standard
26503 At the side is an example margin note.
26504
26505 \family roman
26506 \series medium
26507  
26508 \begin_inset Marginal
26509 status open
26510
26511 \begin_layout Plain Layout
26512 This is a margin note.
26513 \end_layout
26514
26515 \end_inset
26516
26517
26518 \end_layout
26519
26520 \begin_layout Standard
26521 Margin notes appear at the right side in single-sided documents.
26522  In double-sided documents they appear in the outer margin â€“ left on even
26523  pages, right on odd pages.
26524  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
26525 d when the note appears in the left margin.
26526  The first line of the margin note is placed at the position of the text
26527  line where it is inserted in the document.
26528 \end_layout
26529
26530 \begin_layout Standard
26531 \begin_inset VSpace bigskip
26532 \end_inset
26533
26534 To place the margin note in the inner margin, add the command
26535 \end_layout
26536
26537 \begin_layout Standard
26538
26539 \series bold
26540
26541 \backslash
26542 reversemarginpar
26543 \end_layout
26544
26545 \begin_layout Standard
26546 in TeX-Code before a margin note.
26547  The new placement is valid for all subsequent margin notes.
26548  
26549 \begin_inset ERT
26550 status collapsed
26551
26552 \begin_layout Plain Layout
26553
26554
26555 \backslash
26556 reversemarginpar 
26557 \end_layout
26558
26559 \end_inset
26560
26561
26562 \begin_inset Marginal
26563 status open
26564
26565 \begin_layout Plain Layout
26566 This is a margin note in the inner margin.
26567 \end_layout
26568
26569 \end_inset
26570
26571
26572 \series bold
26573
26574 \begin_inset Newline newline
26575 \end_inset
26576
26577
26578 \series default
26579
26580 \begin_inset Note Greyedout
26581 status open
26582
26583 \begin_layout Plain Layout
26584
26585 \series bold
26586 Note:
26587 \series default
26588  There is often not enough space in the inner margin so that the notes are
26589  not correctly displayed in the output.
26590 \end_layout
26591
26592 \end_inset
26593
26594
26595 \end_layout
26596
26597 \begin_layout Standard
26598 To return to the default placement insert the command
26599 \end_layout
26600
26601 \begin_layout Standard
26602
26603 \series bold
26604
26605 \backslash
26606 normalmarginpar
26607 \end_layout
26608
26609 \begin_layout Standard
26610 in TeX-Code.
26611 \begin_inset ERT
26612 status collapsed
26613
26614 \begin_layout Plain Layout
26615
26616
26617 \backslash
26618 normalmarginpar 
26619 \end_layout
26620
26621 \end_inset
26622
26623  
26624 \begin_inset Note Greyedout
26625 status open
26626
26627 \begin_layout Plain Layout
26628
26629 \series bold
26630 Note:
26631 \series default
26632  The command is ignored when it is within a paragraph where also the command
26633  
26634 \series bold
26635
26636 \backslash
26637 reversemarginpar
26638 \series default
26639  is inserted.
26640 \end_layout
26641
26642 \end_inset
26643
26644
26645 \end_layout
26646
26647 \begin_layout Standard
26648 \begin_inset VSpace bigskip
26649 \end_inset
26650
26651
26652 \family roman
26653 \series medium
26654
26655 \begin_inset Marginal
26656 status open
26657
26658 \begin_layout Plain Layout
26659 AVeryLongMarginParWord that isn't hyphenated.
26660 \end_layout
26661
26662 \end_inset
26663
26664
26665 \family default
26666 \series default
26667  Similar to the case described in section
26668 \begin_inset space ~
26669 \end_inset
26670
26671
26672 \begin_inset CommandInset ref
26673 LatexCommand ref
26674 reference "sub:Multiple-Lines-in"
26675
26676 \end_inset
26677
26678 , long words cannot be hyphenated when they are the first word in a margin
26679  note.
26680  To avoid this, insert 0
26681 \begin_inset space \thinspace{}
26682 \end_inset
26683
26684 pt horizontal space before the word
26685 \family roman
26686 \series medium
26687 .
26688  
26689 \begin_inset Marginal
26690 status open
26691
26692 \begin_layout Plain Layout
26693 \begin_inset space \hspace*{}
26694 \length 0pt
26695 \end_inset
26696
26697 AVeryLongMarginParWord that is hyphenated.
26698 \end_layout
26699
26700 \end_inset
26701
26702
26703 \end_layout
26704
26705 \begin_layout Standard
26706 \begin_inset VSpace bigskip
26707 \end_inset
26708
26709
26710 \end_layout
26711
26712 \begin_layout Standard
26713 \begin_inset Note Greyedout
26714 status open
26715
26716 \begin_layout Plain Layout
26717
26718 \series bold
26719 Note:
26720 \series default
26721  Margin notes can normally not be used inside tables, floats, and footnotes.
26722 \end_layout
26723
26724 \end_inset
26725
26726
26727 \end_layout
26728
26729 \begin_layout Standard
26730 \begin_inset VSpace bigskip
26731 \end_inset
26732
26733
26734 \end_layout
26735
26736 \begin_layout Standard
26737 \begin_inset ERT
26738 status collapsed
26739
26740 \begin_layout Plain Layout
26741
26742
26743 \backslash
26744 ifmarginnote
26745 \end_layout
26746
26747 \end_inset
26748
26749
26750 \begin_inset Note Note
26751 status open
26752
26753 \begin_layout Plain Layout
26754 The following section will only be displayed when the LaTeX-package 
26755 \series bold
26756 marginnote
26757 \series default
26758  is installed.
26759 \end_layout
26760
26761 \end_inset
26762
26763
26764 \end_layout
26765
26766 \begin_layout Standard
26767 This restriction can be evaded by using the LaTeX-package 
26768 \series bold
26769 marginnote
26770 \series default
26771
26772 \begin_inset Index idx
26773 status collapsed
26774
26775 \begin_layout Plain Layout
26776 LaTeX-packages ! marginnote
26777 \end_layout
26778
26779 \end_inset
26780
26781 .
26782  By adding these two lines to your document preamble, the command used by
26783  LyX for margin notes is redefined to use the command provided by the 
26784 \series bold
26785 marginnote
26786 \series default
26787 -package:
26788 \end_layout
26789
26790 \begin_layout Standard
26791
26792 \series bold
26793
26794 \backslash
26795 usepackage{marginnote}
26796 \begin_inset Newline newline
26797 \end_inset
26798
26799
26800 \backslash
26801 let
26802 \backslash
26803 marginpar
26804 \backslash
26805 marginnote
26806 \end_layout
26807
26808 \begin_layout Standard
26809 This is also used in this document because 
26810 \series bold
26811 marginnote
26812 \series default
26813  has another useful feature: You can set a vertical offset for the note.
26814  This is often needed when too many margin notes are too close together
26815  or for a better page layout.
26816  The offset is set in LyX as TeX-Code directly after the margin note in
26817  the scheme
26818 \end_layout
26819
26820 \begin_layout Standard
26821
26822 \series bold
26823 [offset]
26824 \end_layout
26825
26826 \begin_layout Standard
26827 where the offset is a length with one of the units listed in Table
26828 \begin_inset space ~
26829 \end_inset
26830
26831
26832 \begin_inset CommandInset ref
26833 LatexCommand ref
26834 reference "tab:Units"
26835
26836 \end_inset
26837
26838 .
26839  A negative value shifts the note up, a positive value shifts it down.
26840  
26841 \family roman
26842 \series medium
26843 For example the margin note beside this text line is shifted up 1.5
26844 \begin_inset space \thinspace{}
26845 \end_inset
26846
26847 cm with the TeX-Code-command 
26848 \begin_inset Quotes eld
26849 \end_inset
26850
26851
26852 \family default
26853 \series bold
26854 [-1.5cm]
26855 \family roman
26856 \series medium
26857
26858 \begin_inset Quotes erd
26859 \end_inset
26860
26861
26862 \begin_inset Marginal
26863 status open
26864
26865 \begin_layout Plain Layout
26866 This margin note is shifted up 1.5
26867 \begin_inset space \thinspace{}
26868 \end_inset
26869
26870 cm from its original position.
26871 \end_layout
26872
26873 \end_inset
26874
26875
26876 \family default
26877 \series default
26878
26879 \begin_inset ERT
26880 status collapsed
26881
26882 \begin_layout Plain Layout
26883
26884 [-1.5cm]
26885 \end_layout
26886
26887 \end_inset
26888
26889
26890 \end_layout
26891
26892 \begin_layout Standard
26893 \begin_inset VSpace medskip
26894 \end_inset
26895
26896 With 
26897 \series bold
26898 marginnote
26899 \series default
26900  you can also change the alignment of the text in the margin note.
26901  For example the commands
26902 \end_layout
26903
26904 \begin_layout Standard
26905
26906 \series bold
26907
26908 \backslash
26909 renewcommand*{
26910 \backslash
26911 raggedleftmarginnote}{
26912 \backslash
26913 centering}
26914 \begin_inset Newline newline
26915 \end_inset
26916
26917
26918 \backslash
26919 renewcommand*{
26920 \backslash
26921 raggedrightmarginnote}{
26922 \backslash
26923 centering}
26924 \end_layout
26925
26926 \begin_layout Standard
26927 set the alignment to centered.
26928  
26929 \series bold
26930
26931 \backslash
26932 raggedleftmarginnote
26933 \series default
26934  denotes margin notes that appear at the left side.
26935 \family roman
26936 \series medium
26937
26938 \begin_inset ERT
26939 status collapsed
26940
26941 \begin_layout Plain Layout
26942
26943
26944 \backslash
26945 renewcommand*{
26946 \backslash
26947 raggedleftmarginnote}{
26948 \backslash
26949 centering}
26950 \end_layout
26951
26952 \begin_layout Plain Layout
26953
26954
26955 \backslash
26956 renewcommand*{
26957 \backslash
26958 raggedrightmarginnote}{
26959 \backslash
26960 centering}
26961 \end_layout
26962
26963 \end_inset
26964
26965
26966 \begin_inset Marginal
26967 status open
26968
26969 \begin_layout Plain Layout
26970 The text of this margin note is centered.
26971 \end_layout
26972
26973 \end_inset
26974
26975
26976 \family default
26977 \series default
26978  The default is
26979 \end_layout
26980
26981 \begin_layout Standard
26982
26983 \series bold
26984
26985 \backslash
26986 renewcommand*{
26987 \backslash
26988 raggedleftmarginnote}{
26989 \backslash
26990 raggedleft}
26991 \begin_inset Newline newline
26992 \end_inset
26993
26994
26995 \backslash
26996 renewcommand*{
26997 \backslash
26998 raggedrightmarginnote}{
26999 \backslash
27000 raggedright}
27001 \family roman
27002 \series medium
27003
27004 \begin_inset ERT
27005 status collapsed
27006
27007 \begin_layout Plain Layout
27008
27009
27010 \backslash
27011 renewcommand*{
27012 \backslash
27013 raggedleftmarginnote}{
27014 \backslash
27015 raggedleft}
27016 \end_layout
27017
27018 \begin_layout Plain Layout
27019
27020
27021 \backslash
27022 renewcommand*{
27023 \backslash
27024 raggedrightmarginnote}{
27025 \backslash
27026 raggedright}
27027 \end_layout
27028
27029 \end_inset
27030
27031
27032 \end_layout
27033
27034 \begin_layout Standard
27035 \begin_inset VSpace medskip
27036 \end_inset
27037
27038 For the other features of 
27039 \series bold
27040 marginnote
27041 \series default
27042  refer to its documentation 
27043 \begin_inset CommandInset citation
27044 LatexCommand cite
27045 key "marginnote"
27046
27047 \end_inset
27048
27049 .
27050 \end_layout
27051
27052 \begin_layout Standard
27053 \begin_inset VSpace bigskip
27054 \end_inset
27055
27056 You can adjust the layout of margin notes by changing its definition.
27057  To create for example a header for all margin notes with the underlined,
27058  sans-serif, and bold header text 
27059 \begin_inset Quotes eld
27060 \end_inset
27061
27062
27063 \family sans
27064 \series bold
27065 \bar under
27066 Attention!
27067 \family default
27068 \series default
27069 \bar default
27070
27071 \begin_inset Quotes erd
27072 \end_inset
27073
27074 , add this to your document preamble:
27075 \end_layout
27076
27077 \begin_layout Standard
27078
27079 \series bold
27080
27081 \backslash
27082 let
27083 \backslash
27084 myMarginpar
27085 \backslash
27086 marginpar
27087 \begin_inset Newline newline
27088 \end_inset
27089
27090
27091 \backslash
27092 renewcommand{
27093 \backslash
27094 marginpar}[1]{
27095 \backslash
27096 myMarginpar{%
27097 \begin_inset Newline newline
27098 \end_inset
27099
27100
27101 \begin_inset Phantom HPhantom
27102 status open
27103
27104 \begin_layout Plain Layout
27105
27106 \series bold
27107 \begin_inset space ~
27108 \end_inset
27109
27110
27111 \end_layout
27112
27113 \end_inset
27114
27115
27116 \backslash
27117 hspace{0pt}
27118 \backslash
27119 textsf{
27120 \backslash
27121 textbf{
27122 \backslash
27123 underbar{Attention!}}}%
27124 \begin_inset Newline newline
27125 \end_inset
27126
27127
27128 \begin_inset Phantom HPhantom
27129 status open
27130
27131 \begin_layout Plain Layout
27132
27133 \series bold
27134 \begin_inset space ~
27135 \end_inset
27136
27137
27138 \end_layout
27139
27140 \end_inset
27141
27142
27143 \backslash
27144 vspace{1.5mm}
27145 \backslash
27146
27147 \backslash
27148 #1}}
27149 \end_layout
27150
27151 \begin_layout Standard
27152
27153 \family roman
27154 \series medium
27155 \begin_inset ERT
27156 status collapsed
27157
27158 \begin_layout Plain Layout
27159
27160
27161 \backslash
27162 let
27163 \backslash
27164 myMarginpar
27165 \backslash
27166 marginpar
27167 \end_layout
27168
27169 \begin_layout Plain Layout
27170
27171
27172 \backslash
27173 renewcommand{
27174 \backslash
27175 marginpar}[1]{
27176 \backslash
27177 myMarginpar{%
27178 \end_layout
27179
27180 \begin_layout Plain Layout
27181
27182    
27183 \backslash
27184 textsf{
27185 \backslash
27186 textbf{
27187 \backslash
27188 underbar{Attention!}}}%
27189 \end_layout
27190
27191 \begin_layout Plain Layout
27192
27193    
27194 \backslash
27195 vspace{1.5mm}
27196 \backslash
27197
27198 \backslash
27199 #1}}
27200 \end_layout
27201
27202 \end_inset
27203
27204
27205 \begin_inset Marginal
27206 status open
27207
27208 \begin_layout Plain Layout
27209 This is a margin note with a defined heading.
27210 \end_layout
27211
27212 \end_inset
27213
27214
27215 \family default
27216 \series default
27217
27218 \begin_inset ERT
27219 status collapsed
27220
27221 \begin_layout Plain Layout
27222
27223 [-1.5cm]
27224 \end_layout
27225
27226 \end_inset
27227
27228
27229 \family roman
27230 \series medium
27231
27232 \begin_inset ERT
27233 status collapsed
27234
27235 \begin_layout Plain Layout
27236
27237
27238 \backslash
27239 renewcommand{
27240 \backslash
27241 marginpar}[1]{
27242 \backslash
27243 myMarginpar{#1}}
27244 \end_layout
27245
27246 \end_inset
27247
27248
27249 \family default
27250 \series default
27251
27252 \begin_inset Note Note
27253 status collapsed
27254
27255 \begin_layout Plain Layout
27256 The margin note format is changed only for this example.
27257 \end_layout
27258
27259 \end_inset
27260
27261
27262 \end_layout
27263
27264 \begin_layout Standard
27265 \begin_inset ERT
27266 status collapsed
27267
27268 \begin_layout Plain Layout
27269
27270
27271 \backslash
27272 else
27273 \end_layout
27274
27275 \end_inset
27276
27277
27278 \begin_inset Note Note
27279 status open
27280
27281 \begin_layout Plain Layout
27282 The following will be displayed when the LaTeX-package 
27283 \series bold
27284 marginnote
27285 \series default
27286  is not installed:
27287 \end_layout
27288
27289 \end_inset
27290
27291
27292 \end_layout
27293
27294 \begin_layout Standard
27295 You need to install the LaTeX-package 
27296 \series bold
27297 marginnote
27298 \series default
27299  to see the following part of this section in the output.
27300 \end_layout
27301
27302 \begin_layout Standard
27303 \begin_inset ERT
27304 status collapsed
27305
27306 \begin_layout Plain Layout
27307
27308
27309 \backslash
27310 fi
27311 \end_layout
27312
27313 \end_inset
27314
27315
27316 \end_layout
27317
27318 \begin_layout Chapter
27319 Boxes
27320 \end_layout
27321
27322 \begin_layout Section
27323 Introduction
27324 \begin_inset Index idx
27325 status collapsed
27326
27327 \begin_layout Plain Layout
27328 Boxes ! Introduction
27329 \end_layout
27330
27331 \end_inset
27332
27333
27334 \end_layout
27335
27336 \begin_layout Standard
27337 Boxes are used to format a block of text.
27338  Boxes can be used to write documents with multiple languages, see section
27339 \begin_inset space ~
27340 \end_inset
27341
27342
27343 \begin_inset CommandInset ref
27344 LatexCommand ref
27345 reference "sec:Minipages"
27346
27347 \end_inset
27348
27349 , to frame texts, see section
27350 \begin_inset space ~
27351 \end_inset
27352
27353
27354 \begin_inset CommandInset ref
27355 LatexCommand ref
27356 reference "sec:Decoration"
27357
27358 \end_inset
27359
27360 , to prevent words from being hyphenated, see section
27361 \begin_inset space ~
27362 \end_inset
27363
27364
27365 \begin_inset CommandInset ref
27366 LatexCommand ref
27367 reference "sec:Prevent-Hyphenation"
27368
27369 \end_inset
27370
27371 , to align text, see section
27372 \begin_inset space ~
27373 \end_inset
27374
27375
27376 \begin_inset CommandInset ref
27377 LatexCommand ref
27378 reference "sub:Vertical-Alignment"
27379
27380 \end_inset
27381
27382 , or to set the background color of texts, see section
27383 \begin_inset space ~
27384 \end_inset
27385
27386
27387 \begin_inset CommandInset ref
27388 LatexCommand ref
27389 reference "sec:Colored-Boxes"
27390
27391 \end_inset
27392
27393 .
27394 \end_layout
27395
27396 \begin_layout Standard
27397 Boxes can be inserted with the menu 
27398 \family sans
27399 Insert\SpecialChar \menuseparator
27400 Box
27401 \family default
27402  or the toolbar button 
27403 \begin_inset Graphics
27404         filename ../images/box-insert.png
27405         scale 85
27406         scaleBeforeRotation
27407
27408 \end_inset
27409
27410 .
27411  A grey box with the label 
27412 \family sans
27413 Box (Minipage)
27414 \family default
27415
27416 \begin_inset Graphics
27417         filename clipart/BoxInsetDefaultQt4.png
27418         scale 85
27419         scaleBeforeRotation
27420
27421 \end_inset
27422
27423  will be inserted.
27424  The box type can be specified by right-clicking on the box and selecting
27425  
27426 \family sans
27427 Settings
27428 \family default
27429 .
27430  The box dialog offers the 
27431 \family sans
27432 Inner
27433 \begin_inset space ~
27434 \end_inset
27435
27436 Box
27437 \family default
27438  types 
27439 \family sans
27440 Makebox
27441 \family default
27442
27443 \family sans
27444 Parbox
27445 \family default
27446  and 
27447 \family sans
27448 Minipage
27449 \family default
27450 .
27451  The type 
27452 \family sans
27453 Minipage
27454 \family default
27455  is the default for new boxes and is explained in section
27456 \begin_inset space ~
27457 \end_inset
27458
27459
27460 \begin_inset CommandInset ref
27461 LatexCommand ref
27462 reference "sec:Minipages"
27463
27464 \end_inset
27465
27466 ; the type 
27467 \family sans
27468 Parbox
27469 \family default
27470  is described in section
27471 \begin_inset space ~
27472 \end_inset
27473
27474
27475 \begin_inset CommandInset ref
27476 LatexCommand ref
27477 reference "sec:Parboxes"
27478
27479 \end_inset
27480
27481  and the type 
27482 \family sans
27483 Makebox
27484 \family default
27485  in 
27486 \begin_inset CommandInset ref
27487 LatexCommand ref
27488 reference "sec:Prevent-Hyphenation"
27489
27490 \end_inset
27491
27492 .
27493 \end_layout
27494
27495 \begin_layout Standard
27496 Boxes are not numbered and can therefore not be referenced like floats or
27497  footnotes.
27498 \end_layout
27499
27500 \begin_layout Standard
27501 \begin_inset Note Greyedout
27502 status open
27503
27504 \begin_layout Plain Layout
27505
27506 \series bold
27507 Note:
27508 \series default
27509  Boxes must not be the item in an 
27510 \family sans
27511 Itemize
27512 \family default
27513  or 
27514 \family sans
27515 Description
27516 \family default
27517  environment.
27518 \end_layout
27519
27520 \end_inset
27521
27522
27523 \end_layout
27524
27525 \begin_layout Standard
27526 \begin_inset Note Greyedout
27527 status open
27528
27529 \begin_layout Plain Layout
27530
27531 \series bold
27532 Note:
27533 \series default
27534  For an unknown reason you can only set the 
27535 \family sans
27536 Inner
27537 \begin_inset space ~
27538 \end_inset
27539
27540 Box
27541 \family default
27542  type to 
27543 \family sans
27544 None
27545 \family default
27546  when you use a framed box.
27547  Boxes without an 
27548 \family sans
27549 Inner
27550 \begin_inset space ~
27551 \end_inset
27552
27553 Box
27554 \family default
27555  type and without frames are explained in section
27556 \begin_inset space ~
27557 \end_inset
27558
27559
27560 \begin_inset CommandInset ref
27561 LatexCommand ref
27562 reference "sec:Prevent-Hyphenation"
27563
27564 \end_inset
27565
27566 .
27567 \end_layout
27568
27569 \end_inset
27570
27571
27572 \end_layout
27573
27574 \begin_layout Section
27575 Box Dialog
27576 \begin_inset CommandInset label
27577 LatexCommand label
27578 name "sec:Box-Dialog"
27579
27580 \end_inset
27581
27582
27583 \begin_inset Index idx
27584 status collapsed
27585
27586 \begin_layout Plain Layout
27587 Boxes ! Box Dialog
27588 \end_layout
27589
27590 \end_inset
27591
27592
27593 \end_layout
27594
27595 \begin_layout Subsection
27596 Size
27597 \begin_inset Index idx
27598 status collapsed
27599
27600 \begin_layout Plain Layout
27601 Boxes ! Size
27602 \end_layout
27603
27604 \end_inset
27605
27606
27607 \end_layout
27608
27609 \begin_layout Standard
27610 In the box dialog you can adjust the box geometry in the fields 
27611 \family sans
27612 Width
27613 \family default
27614  and 
27615 \family sans
27616 Height
27617 \family default
27618 .
27619  The available units for the geometry are explained in Table
27620 \begin_inset space ~
27621 \end_inset
27622
27623
27624 \begin_inset CommandInset ref
27625 LatexCommand ref
27626 reference "tab:Units"
27627
27628 \end_inset
27629
27630 .
27631  The field 
27632 \family sans
27633 Height
27634 \family default
27635  offers the following additional sizes:
27636 \end_layout
27637
27638 \begin_layout Description
27639 Depth This is the plain text 
27640 \begin_inset Quotes eld
27641 \end_inset
27642
27643 height
27644 \begin_inset Quotes erd
27645 \end_inset
27646
27647 .
27648  It ignores the total depth when there are multiple text lines in the box:
27649 \begin_inset Newline newline
27650 \end_inset
27651
27652
27653 \begin_inset Newline newline
27654 \end_inset
27655
27656
27657 \begin_inset Newline newline
27658 \end_inset
27659
27660
27661 \begin_inset Box Boxed
27662 position "c"
27663 hor_pos "c"
27664 has_inner_box 1
27665 inner_pos "c"
27666 use_parbox 0
27667 use_makebox 0
27668 width "12col%"
27669 special "none"
27670 height "1in"
27671 height_special "depth"
27672 status collapsed
27673
27674 \begin_layout Plain Layout
27675 \align center
27676 Box height set to 1
27677 \begin_inset space \thinspace{}
27678 \end_inset
27679
27680 Depth
27681 \end_layout
27682
27683 \end_inset
27684
27685
27686 \begin_inset Newline newline
27687 \end_inset
27688
27689
27690 \begin_inset Newline newline
27691 \end_inset
27692
27693
27694 \end_layout
27695
27696 \begin_layout Description
27697 Height This is the height of the text that is inside the box.
27698  A value of e.
27699 \begin_inset space \thinspace{}
27700 \end_inset
27701
27702 g.
27703 \begin_inset space \space{}
27704 \end_inset
27705
27706 2 for this size will set the box height to 2
27707 \begin_inset space ~
27708 \end_inset
27709
27710 times the text height: 
27711 \begin_inset Box Boxed
27712 position "c"
27713 hor_pos "c"
27714 has_inner_box 1
27715 inner_pos "c"
27716 use_parbox 0
27717 use_makebox 0
27718 width "20col%"
27719 special "none"
27720 height "2in"
27721 height_special "height"
27722 status collapsed
27723
27724 \begin_layout Plain Layout
27725 \align center
27726 Box height set to 2
27727 \begin_inset space \thinspace{}
27728 \end_inset
27729
27730 Height
27731 \end_layout
27732
27733 \end_inset
27734
27735
27736 \end_layout
27737
27738 \begin_layout Description
27739 Total
27740 \begin_inset space ~
27741 \end_inset
27742
27743 Height This is the Height
27744 \begin_inset space \thinspace{}
27745 \end_inset
27746
27747 +
27748 \begin_inset space \thinspace{}
27749 \end_inset
27750
27751 Depth: 
27752 \begin_inset Box Boxed
27753 position "c"
27754 hor_pos "c"
27755 has_inner_box 1
27756 inner_pos "c"
27757 use_parbox 0
27758 use_makebox 0
27759 width "20col%"
27760 special "none"
27761 height "1in"
27762 height_special "totalheight"
27763 status collapsed
27764
27765 \begin_layout Plain Layout
27766 \align center
27767 Box height set to 1
27768 \begin_inset space \thinspace{}
27769 \end_inset
27770
27771 Total
27772 \begin_inset space ~
27773 \end_inset
27774
27775 Height
27776 \end_layout
27777
27778 \end_inset
27779
27780
27781 \end_layout
27782
27783 \begin_layout Description
27784 Width This sets the width of the box as height: 
27785 \begin_inset Box Boxed
27786 position "c"
27787 hor_pos "c"
27788 has_inner_box 1
27789 inner_pos "c"
27790 use_parbox 0
27791 use_makebox 0
27792 width "12col%"
27793 special "none"
27794 height "1in"
27795 height_special "width"
27796 status collapsed
27797
27798 \begin_layout Plain Layout
27799 \align center
27800 Box height set to 1
27801 \begin_inset space \thinspace{}
27802 \end_inset
27803
27804 Width
27805 \end_layout
27806
27807 \end_inset
27808
27809
27810 \end_layout
27811
27812 \begin_layout Subsection
27813 Alignment
27814 \begin_inset Index idx
27815 status collapsed
27816
27817 \begin_layout Plain Layout
27818 Boxes ! Alignment
27819 \end_layout
27820
27821 \end_inset
27822
27823
27824 \end_layout
27825
27826 \begin_layout Standard
27827 When you have chosen an 
27828 \family sans
27829 Inner
27830 \begin_inset space ~
27831 \end_inset
27832
27833 Box
27834 \family default
27835 , the vertical box alignment can be:
27836 \end_layout
27837
27838 \begin_layout Description
27839 Top This is an example text line.
27840  
27841 \begin_inset Box Boxed
27842 position "t"
27843 hor_pos "c"
27844 has_inner_box 1
27845 inner_pos "c"
27846 use_parbox 0
27847 use_makebox 0
27848 width "12col%"
27849 special "none"
27850 height "1in"
27851 height_special "totalheight"
27852 status collapsed
27853
27854 \begin_layout Plain Layout
27855 \align center
27856 This box is top-aligned.
27857 \end_layout
27858
27859 \end_inset
27860
27861  This is an example text line.
27862 \end_layout
27863
27864 \begin_layout Description
27865 Middle This is an example text line.
27866  
27867 \begin_inset Box Boxed
27868 position "c"
27869 hor_pos "c"
27870 has_inner_box 1
27871 inner_pos "c"
27872 use_parbox 0
27873 use_makebox 0
27874 width "12col%"
27875 special "none"
27876 height "1in"
27877 height_special "totalheight"
27878 status collapsed
27879
27880 \begin_layout Plain Layout
27881 \align center
27882 This box is middle-aligned.
27883 \end_layout
27884
27885 \end_inset
27886
27887  This is an example text line.
27888 \end_layout
27889
27890 \begin_layout Description
27891 Bottom This is an example text line.
27892  
27893 \begin_inset Box Boxed
27894 position "b"
27895 hor_pos "c"
27896 has_inner_box 1
27897 inner_pos "c"
27898 use_parbox 0
27899 use_makebox 0
27900 width "12col%"
27901 special "none"
27902 height "1in"
27903 height_special "totalheight"
27904 status collapsed
27905
27906 \begin_layout Plain Layout
27907 \align center
27908 This box is bottom-aligned.
27909 \end_layout
27910
27911 \end_inset
27912
27913  This is an example text line.
27914 \end_layout
27915
27916 \begin_layout Standard
27917 \begin_inset Note Greyedout
27918 status open
27919
27920 \begin_layout Plain Layout
27921
27922 \series bold
27923 Note:
27924 \series default
27925  The vertical box alignment can be lost in the output when you have two
27926  boxes in a line and one has e.
27927 \begin_inset space \thinspace{}
27928 \end_inset
27929
27930 g.
27931 \begin_inset space \space{}
27932 \end_inset
27933
27934 a shadow and the other one not.
27935 \end_layout
27936
27937 \end_inset
27938
27939
27940 \end_layout
27941
27942 \begin_layout Standard
27943 The horizontal box alignment can be set via LyX's paragraph dialog when
27944  you set the box into its own paragraph.
27945 \end_layout
27946
27947 \begin_layout Standard
27948 \begin_inset VSpace bigskip
27949 \end_inset
27950
27951 When you have chosen an 
27952 \family sans
27953 Inner
27954 \begin_inset space ~
27955 \end_inset
27956
27957 Box
27958 \family default
27959 , the box content can be aligned vertically to:
27960 \end_layout
27961
27962 \begin_layout Description
27963 top This is an example text line.
27964  
27965 \begin_inset Box Boxed
27966 position "c"
27967 hor_pos "c"
27968 has_inner_box 1
27969 inner_pos "t"
27970 use_parbox 0
27971 use_makebox 0
27972 width "12col%"
27973 special "none"
27974 height "1.5in"
27975 height_special "totalheight"
27976 status collapsed
27977
27978 \begin_layout Plain Layout
27979 \align center
27980 This box text is top-aligned.
27981 \end_layout
27982
27983 \end_inset
27984
27985  This is an example text line.
27986 \end_layout
27987
27988 \begin_layout Description
27989 middle This is an example text line.
27990  
27991 \begin_inset Box Boxed
27992 position "c"
27993 hor_pos "c"
27994 has_inner_box 1
27995 inner_pos "c"
27996 use_parbox 0
27997 use_makebox 0
27998 width "12col%"
27999 special "none"
28000 height "1.5in"
28001 height_special "totalheight"
28002 status collapsed
28003
28004 \begin_layout Plain Layout
28005 \align center
28006 This box text is middle-aligned.
28007 \end_layout
28008
28009 \end_inset
28010
28011  This is an example text line.
28012 \end_layout
28013
28014 \begin_layout Description
28015 bottom This is an example text line.
28016  
28017 \begin_inset Box Boxed
28018 position "c"
28019 hor_pos "c"
28020 has_inner_box 1
28021 inner_pos "b"
28022 use_parbox 0
28023 use_makebox 0
28024 width "12col%"
28025 special "none"
28026 height "1.5in"
28027 height_special "totalheight"
28028 status collapsed
28029
28030 \begin_layout Plain Layout
28031 \align center
28032 This box text is bottom-aligned.
28033 \end_layout
28034
28035 \end_inset
28036
28037  This is an example text line.
28038 \end_layout
28039
28040 \begin_layout Description
28041 stretch This is an example text line.
28042  
28043 \begin_inset Box Boxed
28044 position "c"
28045 hor_pos "c"
28046 has_inner_box 1
28047 inner_pos "s"
28048 use_parbox 0
28049 use_makebox 0
28050 width "12col%"
28051 special "none"
28052 height "1.5in"
28053 height_special "totalheight"
28054 status collapsed
28055
28056 \begin_layout Plain Layout
28057 \align center
28058 This box
28059 \end_layout
28060
28061 \begin_layout Plain Layout
28062 \align center
28063 text is
28064 \end_layout
28065
28066 \begin_layout Plain Layout
28067 \align center
28068 stretched.
28069 \end_layout
28070
28071 \end_inset
28072
28073  This is an example text line.
28074 \end_layout
28075
28076 \begin_layout Standard
28077 To stretch the box content, it must consist of more than one paragraph.
28078  In the example above every text line is in an own paragraph.
28079 \end_layout
28080
28081 \begin_layout Standard
28082 \begin_inset VSpace bigskip
28083 \end_inset
28084
28085 To align the box content horizontally you can use LyX's paragraph dialog
28086  when you have chosen an 
28087 \family sans
28088 Inner
28089 \begin_inset space ~
28090 \end_inset
28091
28092 Box
28093 \family default
28094 .
28095 \end_layout
28096
28097 \begin_layout Standard
28098 \align center
28099 \begin_inset Box Boxed
28100 position "c"
28101 hor_pos "c"
28102 has_inner_box 1
28103 inner_pos "s"
28104 use_parbox 0
28105 use_makebox 0
28106 width "15col%"
28107 special "none"
28108 height "1.25in"
28109 height_special "totalheight"
28110 status collapsed
28111
28112 \begin_layout Plain Layout
28113 \align left
28114 This box
28115 \end_layout
28116
28117 \begin_layout Plain Layout
28118 \align center
28119 text is
28120 \end_layout
28121
28122 \begin_layout Plain Layout
28123 \align right
28124 stretched.
28125 \end_layout
28126
28127 \end_inset
28128
28129
28130 \end_layout
28131
28132 \begin_layout Standard
28133 If you have not set an 
28134 \family sans
28135 Inner
28136 \begin_inset space ~
28137 \end_inset
28138
28139 Box
28140 \family default
28141 , you can align the box content horizontally in the box dialog.
28142 \end_layout
28143
28144 \begin_layout Standard
28145 \align center
28146 \begin_inset Box Boxed
28147 position "c"
28148 hor_pos "s"
28149 has_inner_box 0
28150 inner_pos "s"
28151 use_parbox 0
28152 use_makebox 0
28153 width "90col%"
28154 special "none"
28155 height "1.25in"
28156 height_special "totalheight"
28157 status collapsed
28158
28159 \begin_layout Plain Layout
28160 \align left
28161 This box text is horizontally stretched.
28162 \end_layout
28163
28164 \end_inset
28165
28166
28167 \end_layout
28168
28169 \begin_layout Subsection
28170 Decoration
28171 \begin_inset CommandInset label
28172 LatexCommand label
28173 name "sec:Decoration"
28174
28175 \end_inset
28176
28177
28178 \begin_inset Index idx
28179 status collapsed
28180
28181 \begin_layout Plain Layout
28182 Boxes ! Decoration
28183 \end_layout
28184
28185 \end_inset
28186
28187
28188 \end_layout
28189
28190 \begin_layout Standard
28191 The type of the box can be specified in the box dialog in the drop-down
28192  list 
28193 \family sans
28194 Decoration
28195 \family default
28196 .
28197  The following types are possible:
28198 \end_layout
28199
28200 \begin_layout Description
28201 No
28202 \begin_inset space ~
28203 \end_inset
28204
28205 frame Nothing is drawn.
28206 \end_layout
28207
28208 \begin_layout Description
28209 Simple
28210 \begin_inset space ~
28211 \end_inset
28212
28213 rectangular
28214 \begin_inset space ~
28215 \end_inset
28216
28217 frame This draws a rectangular frame around the box.
28218  The frame line thickness has the size of 
28219 \series bold
28220
28221 \backslash
28222 fboxrule
28223 \series default
28224 .
28225  
28226 \begin_inset Box Boxed
28227 position "c"
28228 hor_pos "c"
28229 has_inner_box 1
28230 inner_pos "c"
28231 use_parbox 0
28232 use_makebox 0
28233 width "20col%"
28234 special "none"
28235 height "1in"
28236 height_special "totalheight"
28237 status collapsed
28238
28239 \begin_layout Plain Layout
28240 \align center
28241 Rectangular box
28242 \end_layout
28243
28244 \end_inset
28245
28246
28247 \end_layout
28248
28249 \begin_layout Description
28250 Oval
28251 \begin_inset space ~
28252 \end_inset
28253
28254 box,
28255 \begin_inset space ~
28256 \end_inset
28257
28258 thin This draws an oval frame around the box.
28259  The frame line thickness has the size 0.4
28260 \begin_inset space \thinspace{}
28261 \end_inset
28262
28263 pt.
28264  
28265 \begin_inset Box ovalbox
28266 position "c"
28267 hor_pos "c"
28268 has_inner_box 1
28269 inner_pos "c"
28270 use_parbox 0
28271 use_makebox 0
28272 width "20col%"
28273 special "none"
28274 height "1in"
28275 height_special "totalheight"
28276 status collapsed
28277
28278 \begin_layout Plain Layout
28279 \align center
28280 Oval box, thin
28281 \end_layout
28282
28283 \end_inset
28284
28285
28286 \end_layout
28287
28288 \begin_layout Description
28289 Oval
28290 \begin_inset space ~
28291 \end_inset
28292
28293 box,
28294 \begin_inset space ~
28295 \end_inset
28296
28297 thick This draws an oval frame around the box.
28298  The frame line thickness has the size 0.8
28299 \begin_inset space \thinspace{}
28300 \end_inset
28301
28302 pt.
28303  
28304 \begin_inset Box Ovalbox
28305 position "c"
28306 hor_pos "c"
28307 has_inner_box 1
28308 inner_pos "c"
28309 use_parbox 0
28310 use_makebox 0
28311 width "20col%"
28312 special "none"
28313 height "1in"
28314 height_special "totalheight"
28315 status collapsed
28316
28317 \begin_layout Plain Layout
28318 \align center
28319 Oval box, thick
28320 \end_layout
28321
28322 \end_inset
28323
28324
28325 \end_layout
28326
28327 \begin_layout Description
28328 Drop
28329 \begin_inset space ~
28330 \end_inset
28331
28332 shadow This draws a rectangular frame with a shadow around the box.
28333  The frame line thickness has the size of 
28334 \series bold
28335
28336 \backslash
28337 fboxrule
28338 \series default
28339 , the shadow has a width of 4
28340 \begin_inset space \thinspace{}
28341 \end_inset
28342
28343 pt.
28344  
28345 \begin_inset Box Shadowbox
28346 position "c"
28347 hor_pos "c"
28348 has_inner_box 1
28349 inner_pos "c"
28350 use_parbox 0
28351 use_makebox 0
28352 width "20col%"
28353 special "none"
28354 height "1in"
28355 height_special "totalheight"
28356 status collapsed
28357
28358 \begin_layout Plain Layout
28359 \align center
28360 Shadow box
28361 \end_layout
28362
28363 \end_inset
28364
28365
28366 \end_layout
28367
28368 \begin_layout Description
28369 Shaded
28370 \begin_inset space ~
28371 \end_inset
28372
28373 background This draws a box with a red background.
28374  Unlike colored boxes
28375 \begin_inset Foot
28376 status collapsed
28377
28378 \begin_layout Plain Layout
28379 see sec.
28380 \begin_inset space \thinspace{}
28381 \end_inset
28382
28383
28384 \begin_inset CommandInset ref
28385 LatexCommand ref
28386 reference "sec:Colored-Boxes"
28387
28388 \end_inset
28389
28390
28391 \end_layout
28392
28393 \end_inset
28394
28395 , it always uses the whole column width and the box is set as its own paragraph.
28396  
28397 \begin_inset Box Shaded
28398 position "t"
28399 hor_pos "c"
28400 has_inner_box 0
28401 inner_pos "t"
28402 use_parbox 0
28403 use_makebox 0
28404 width "50col%"
28405 special "none"
28406 height "1in"
28407 height_special "totalheight"
28408 status collapsed
28409
28410 \begin_layout Plain Layout
28411 Shaded background box
28412 \end_layout
28413
28414 \end_inset
28415
28416
28417 \end_layout
28418
28419 \begin_layout Description
28420 Double
28421 \begin_inset space ~
28422 \end_inset
28423
28424 rectangular
28425 \begin_inset space ~
28426 \end_inset
28427
28428 frame This draws a double-line rectangular frame around the box.
28429  The line thickness of the inner frame is 0.75
28430 \begin_inset space \thinspace{}
28431 \end_inset
28432
28433
28434 \series bold
28435
28436 \backslash
28437 fboxrule
28438 \series default
28439 , the thickness of the outer frame is 1.5
28440 \begin_inset space \thinspace{}
28441 \end_inset
28442
28443
28444 \series bold
28445
28446 \backslash
28447 fboxrule
28448 \series default
28449 .
28450  The distance between the lines is 1.5
28451 \begin_inset space \thinspace{}
28452 \end_inset
28453
28454
28455 \series bold
28456
28457 \backslash
28458 fboxrule
28459 \series default
28460
28461 \begin_inset space \thinspace{}
28462 \end_inset
28463
28464 +
28465 \begin_inset space \thinspace{}
28466 \end_inset
28467
28468 0.5
28469 \begin_inset space \thinspace{}
28470 \end_inset
28471
28472 pt.
28473  
28474 \begin_inset Box Doublebox
28475 position "c"
28476 hor_pos "c"
28477 has_inner_box 1
28478 inner_pos "c"
28479 use_parbox 0
28480 use_makebox 0
28481 width "20col%"
28482 special "none"
28483 height "1in"
28484 height_special "totalheight"
28485 status collapsed
28486
28487 \begin_layout Plain Layout
28488 \align center
28489 Double rectangular box
28490 \end_layout
28491
28492 \end_inset
28493
28494
28495 \end_layout
28496
28497 \begin_layout Standard
28498 \begin_inset VSpace bigskip
28499 \end_inset
28500
28501 LyX's box label will reflect the different frame types.
28502  To be able to use all types, the LaTeX-package 
28503 \series bold
28504 fancybox
28505 \series default
28506
28507 \begin_inset Index idx
28508 status collapsed
28509
28510 \begin_layout Plain Layout
28511 LaTeX-packages ! fancybox
28512 \end_layout
28513
28514 \end_inset
28515
28516  must be installed.
28517 \end_layout
28518
28519 \begin_layout Standard
28520 \begin_inset VSpace bigskip
28521 \end_inset
28522
28523 When you use the decoration 
28524 \family sans
28525 simple rectangular frame
28526 \family default
28527  and no inner box, you can allow page breaks within a box.
28528  Note that then, unlike other framed boxes, the frame always uses the whole
28529  column width, the box is set as its own paragraph, and 
28530 \series bold
28531
28532 \backslash
28533 fboxrule
28534 \series default
28535  and 
28536 \series bold
28537
28538 \backslash
28539 fboxsep
28540 \series default
28541  have no effect on this box type.
28542  The frame line thickness has the size of 
28543 \series bold
28544
28545 \backslash
28546 FrameRule
28547 \series default
28548 .
28549  
28550 \begin_inset Box Framed
28551 position "t"
28552 hor_pos "c"
28553 has_inner_box 0
28554 inner_pos "t"
28555 use_parbox 0
28556 use_makebox 0
28557 width "100col%"
28558 special "none"
28559 height "1in"
28560 height_special "totalheight"
28561 status collapsed
28562
28563 \begin_layout Plain Layout
28564 Allow page break box
28565 \end_layout
28566
28567 \end_inset
28568
28569
28570 \end_layout
28571
28572 \begin_layout Section
28573 Box Customization
28574 \begin_inset Index idx
28575 status collapsed
28576
28577 \begin_layout Plain Layout
28578 Boxes ! Customization
28579 \end_layout
28580
28581 \end_inset
28582
28583
28584 \end_layout
28585
28586 \begin_layout Standard
28587 The default value for the size 
28588 \series bold
28589
28590 \backslash
28591 fboxrule
28592 \series default
28593  is 0.4
28594 \begin_inset space \thinspace{}
28595 \end_inset
28596
28597 pt.
28598  It can be changed with the following command in TeX-Code to e.
28599 \begin_inset space \thinspace{}
28600 \end_inset
28601
28602 g.
28603 \begin_inset space \space{}
28604 \end_inset
28605
28606 2
28607 \begin_inset space \thinspace{}
28608 \end_inset
28609
28610 pt:
28611 \end_layout
28612
28613 \begin_layout Standard
28614
28615 \series bold
28616
28617 \backslash
28618 setlength{
28619 \backslash
28620 fboxrule}{2pt}
28621 \end_layout
28622
28623 \begin_layout Standard
28624 \begin_inset ERT
28625 status collapsed
28626
28627 \begin_layout Plain Layout
28628
28629
28630 \backslash
28631 setlength{
28632 \backslash
28633 fboxrule}{2pt}
28634 \end_layout
28635
28636 \end_inset
28637
28638
28639 \begin_inset Box Boxed
28640 position "c"
28641 hor_pos "c"
28642 has_inner_box 1
28643 inner_pos "c"
28644 use_parbox 0
28645 use_makebox 0
28646 width "25col%"
28647 special "none"
28648 height "1in"
28649 height_special "totalheight"
28650 status open
28651
28652 \begin_layout Plain Layout
28653 \align center
28654 Rectangular box with 
28655 \series bold
28656
28657 \backslash
28658 fboxrule
28659 \series default
28660
28661 \begin_inset space \thinspace{}
28662 \end_inset
28663
28664 =
28665 \begin_inset space \thinspace{}
28666 \end_inset
28667
28668 2
28669 \begin_inset space \thinspace{}
28670 \end_inset
28671
28672 pt
28673 \end_layout
28674
28675 \end_inset
28676
28677
28678 \begin_inset ERT
28679 status collapsed
28680
28681 \begin_layout Plain Layout
28682
28683
28684 \backslash
28685 setlength{
28686 \backslash
28687 fboxrule}{0.4pt}
28688 \end_layout
28689
28690 \end_inset
28691
28692
28693 \end_layout
28694
28695 \begin_layout Standard
28696 \begin_inset VSpace bigskip
28697 \end_inset
28698
28699 The space between the frame and the box content is for all frame styles
28700  by default 3
28701 \begin_inset space \thinspace{}
28702 \end_inset
28703
28704 pt.
28705  You can change it by setting the length 
28706 \series bold
28707
28708 \backslash
28709 fboxsep
28710 \series default
28711  to another value.
28712  For example the command
28713 \end_layout
28714
28715 \begin_layout Standard
28716
28717 \series bold
28718
28719 \backslash
28720 setlength{
28721 \backslash
28722 fboxsep}{10pt}
28723 \end_layout
28724
28725 \begin_layout Standard
28726 sets the value to 10
28727 \begin_inset space \thinspace{}
28728 \end_inset
28729
28730 pt, as with the following box:
28731 \end_layout
28732
28733 \begin_layout Standard
28734 \begin_inset ERT
28735 status collapsed
28736
28737 \begin_layout Plain Layout
28738
28739
28740 \backslash
28741 setlength{
28742 \backslash
28743 fboxsep}{10pt}
28744 \end_layout
28745
28746 \end_inset
28747
28748
28749 \begin_inset Box Boxed
28750 position "c"
28751 hor_pos "c"
28752 has_inner_box 1
28753 inner_pos "c"
28754 use_parbox 0
28755 use_makebox 0
28756 width "25col%"
28757 special "none"
28758 height "1in"
28759 height_special "totalheight"
28760 status open
28761
28762 \begin_layout Plain Layout
28763 \align center
28764 Rectangular box with 
28765 \series bold
28766
28767 \backslash
28768 fboxsep
28769 \series default
28770
28771 \begin_inset space \thinspace{}
28772 \end_inset
28773
28774 =
28775 \begin_inset space \thinspace{}
28776 \end_inset
28777
28778 10
28779 \begin_inset space \thinspace{}
28780 \end_inset
28781
28782 pt
28783 \end_layout
28784
28785 \end_inset
28786
28787
28788 \begin_inset ERT
28789 status collapsed
28790
28791 \begin_layout Plain Layout
28792
28793
28794 \backslash
28795 setlength{
28796 \backslash
28797 fboxsep}{3pt}
28798 \end_layout
28799
28800 \end_inset
28801
28802
28803 \end_layout
28804
28805 \begin_layout Standard
28806 \begin_inset VSpace bigskip
28807 \end_inset
28808
28809 The diameter of the round corners of the oval boxes can be set with the
28810  command 
28811 \series bold
28812
28813 \backslash
28814 cornersize
28815 \series default
28816 .
28817  The command
28818 \end_layout
28819
28820 \begin_layout Standard
28821
28822 \series bold
28823
28824 \backslash
28825 cornersize*{1cm}
28826 \end_layout
28827
28828 \begin_layout Standard
28829 sets the diameter to 1
28830 \begin_inset space \thinspace{}
28831 \end_inset
28832
28833 cm.
28834  The command
28835 \end_layout
28836
28837 \begin_layout Standard
28838
28839 \series bold
28840
28841 \backslash
28842 cornersize{num}
28843 \end_layout
28844
28845 \begin_layout Standard
28846 sets the diameter to 
28847 \family sans
28848 num
28849 \begin_inset space \thinspace{}
28850 \end_inset
28851
28852 ×
28853 \begin_inset space \thinspace{}
28854 \end_inset
28855
28856 minimum(width and heigth of box)
28857 \family default
28858 .
28859  The default is 
28860 \series bold
28861
28862 \backslash
28863 cornersize{0.5}
28864 \series default
28865 .
28866 \end_layout
28867
28868 \begin_layout Standard
28869 \begin_inset ERT
28870 status collapsed
28871
28872 \begin_layout Plain Layout
28873
28874
28875 \backslash
28876 cornersize*{1.5cm}
28877 \end_layout
28878
28879 \end_inset
28880
28881
28882 \begin_inset Box Ovalbox
28883 position "c"
28884 hor_pos "c"
28885 has_inner_box 1
28886 inner_pos "c"
28887 use_parbox 0
28888 use_makebox 0
28889 width "25col%"
28890 special "none"
28891 height "1in"
28892 height_special "totalheight"
28893 status open
28894
28895 \begin_layout Plain Layout
28896 \align center
28897 Oval box with 
28898 \series bold
28899
28900 \backslash
28901 cornersize
28902 \series default
28903
28904 \begin_inset space \thinspace{}
28905 \end_inset
28906
28907 =
28908 \begin_inset space \thinspace{}
28909 \end_inset
28910
28911 1.5
28912 \begin_inset space \thinspace{}
28913 \end_inset
28914
28915 cm
28916 \end_layout
28917
28918 \end_inset
28919
28920
28921 \begin_inset ERT
28922 status collapsed
28923
28924 \begin_layout Plain Layout
28925
28926
28927 \backslash
28928 cornersize{0.5}
28929 \end_layout
28930
28931 \end_inset
28932
28933
28934 \end_layout
28935
28936 \begin_layout Standard
28937 \begin_inset VSpace bigskip
28938 \end_inset
28939
28940 The size of the shadow can be adjusted by changing the length 
28941 \series bold
28942
28943 \backslash
28944 shadowsize
28945 \series default
28946 .
28947  It it set to 2
28948 \begin_inset space \thinspace{}
28949 \end_inset
28950
28951 pt for the following box by this command:
28952 \end_layout
28953
28954 \begin_layout Standard
28955
28956 \series bold
28957
28958 \backslash
28959 setlength{
28960 \backslash
28961 shadowsize}{2pt}
28962 \end_layout
28963
28964 \begin_layout Standard
28965 \begin_inset ERT
28966 status collapsed
28967
28968 \begin_layout Plain Layout
28969
28970
28971 \backslash
28972 setlength{
28973 \backslash
28974 shadowsize}{2pt}
28975 \end_layout
28976
28977 \end_inset
28978
28979
28980 \begin_inset Box Shadowbox
28981 position "c"
28982 hor_pos "c"
28983 has_inner_box 1
28984 inner_pos "c"
28985 use_parbox 0
28986 use_makebox 0
28987 width "25col%"
28988 special "none"
28989 height "1in"
28990 height_special "totalheight"
28991 status open
28992
28993 \begin_layout Plain Layout
28994 \align center
28995 Shadow box with 
28996 \series bold
28997
28998 \backslash
28999 shadowsize
29000 \series default
29001
29002 \begin_inset space \thinspace{}
29003 \end_inset
29004
29005 =
29006 \begin_inset space \thinspace{}
29007 \end_inset
29008
29009 2
29010 \begin_inset space \thinspace{}
29011 \end_inset
29012
29013 pt
29014 \end_layout
29015
29016 \end_inset
29017
29018
29019 \begin_inset ERT
29020 status collapsed
29021
29022 \begin_layout Plain Layout
29023
29024
29025 \backslash
29026 setlength{
29027 \backslash
29028 shadowsize}{4pt}
29029 \end_layout
29030
29031 \end_inset
29032
29033
29034 \end_layout
29035
29036 \begin_layout Standard
29037 \begin_inset VSpace bigskip
29038 \end_inset
29039
29040
29041 \end_layout
29042
29043 \begin_layout Standard
29044 The default value for the size 
29045 \series bold
29046
29047 \backslash
29048 FrameRule
29049 \series default
29050  is 0.4
29051 \begin_inset space \thinspace{}
29052 \end_inset
29053
29054 pt.
29055  The default space between the note content and the frame is 9
29056 \begin_inset space \thinspace{}
29057 \end_inset
29058
29059 pt and can be changed with the value of 
29060 \series bold
29061
29062 \backslash
29063 FrameSep
29064 \series default
29065 .
29066  For example the frame appearance of the following 
29067 \family sans
29068 box
29069 \family default
29070  is set with the TeX-Code commands
29071 \end_layout
29072
29073 \begin_layout Standard
29074
29075 \series bold
29076
29077 \backslash
29078 setlength{
29079 \backslash
29080 FrameRule}{5pt}
29081 \begin_inset Newline newline
29082 \end_inset
29083
29084
29085 \backslash
29086 setlength{
29087 \backslash
29088 FrameSep}{0.5cm}
29089 \end_layout
29090
29091 \begin_layout Standard
29092 \begin_inset ERT
29093 status collapsed
29094
29095 \begin_layout Plain Layout
29096
29097
29098 \backslash
29099 setlength{
29100 \backslash
29101 FrameRule}{5pt}
29102 \end_layout
29103
29104 \begin_layout Plain Layout
29105
29106
29107 \backslash
29108 setlength{
29109 \backslash
29110 FrameSep}{0.5cm}
29111 \end_layout
29112
29113 \end_inset
29114
29115
29116 \begin_inset Box Framed
29117 position "t"
29118 hor_pos "c"
29119 has_inner_box 0
29120 inner_pos "t"
29121 use_parbox 0
29122 use_makebox 0
29123 width "100col%"
29124 special "none"
29125 height "1in"
29126 height_special "totalheight"
29127 status open
29128
29129 \begin_layout Plain Layout
29130 This is text in an 
29131 \family sans
29132 allow page break
29133 \family default
29134  box.
29135 \end_layout
29136
29137 \end_inset
29138
29139
29140 \begin_inset ERT
29141 status collapsed
29142
29143 \begin_layout Plain Layout
29144
29145
29146 \backslash
29147 setlength{
29148 \backslash
29149 FrameRule}{0.4pt}
29150 \end_layout
29151
29152 \begin_layout Plain Layout
29153
29154
29155 \backslash
29156 setlength{
29157 \backslash
29158 FrameSep}{9pt}
29159 \end_layout
29160
29161 \end_inset
29162
29163
29164 \end_layout
29165
29166 \begin_layout Standard
29167 \begin_inset VSpace bigskip
29168 \end_inset
29169
29170
29171 \end_layout
29172
29173 \begin_layout Standard
29174 For 
29175 \family sans
29176 shaded background
29177 \family default
29178  boxes the default space between the box content and the box border is 3
29179 \begin_inset space \thinspace{}
29180 \end_inset
29181
29182 pt and can be changed with the value of 
29183 \series bold
29184
29185 \backslash
29186 fboxsep
29187 \series default
29188 .
29189  The default background color red can either be changed locally with the
29190  command 
29191 \series bold
29192
29193 \backslash
29194 definecolor{shadecolor}
29195 \series default
29196  or globally with the menu 
29197 \family sans
29198 Tools\SpecialChar \menuseparator
29199 Preferences\SpecialChar \menuseparator
29200 Colors\SpecialChar \menuseparator
29201 shaded
29202 \begin_inset space ~
29203 \end_inset
29204
29205 box
29206 \family default
29207 .
29208  The scheme of the 
29209 \series bold
29210
29211 \backslash
29212 definecolor
29213 \series default
29214  command is explained in section
29215 \begin_inset space ~
29216 \end_inset
29217
29218
29219 \begin_inset CommandInset ref
29220 LatexCommand ref
29221 reference "sec:Colored-Tables"
29222
29223 \end_inset
29224
29225 .
29226 \begin_inset Foot
29227 status collapsed
29228
29229 \begin_layout Plain Layout
29230 Note that 
29231 \series bold
29232
29233 \backslash
29234 definecolor
29235 \series default
29236  requires the LaTeX-package 
29237 \series bold
29238 color
29239 \series default
29240  in the preamble, see section
29241 \begin_inset space ~
29242 \end_inset
29243
29244
29245 \begin_inset CommandInset ref
29246 LatexCommand ref
29247 reference "sec:Colored-Boxes"
29248
29249 \end_inset
29250
29251 .
29252 \end_layout
29253
29254 \end_inset
29255
29256  For example the appearance of the following shaded background box is set
29257  with the TeX-Code commands
29258 \end_layout
29259
29260 \begin_layout Standard
29261
29262 \series bold
29263
29264 \backslash
29265 setlength{
29266 \backslash
29267 fboxsep}{0.5cm}
29268 \series default
29269
29270 \begin_inset Newline newline
29271 \end_inset
29272
29273
29274 \series bold
29275
29276 \backslash
29277 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29278 \end_layout
29279
29280 \begin_layout Standard
29281 \begin_inset ERT
29282 status collapsed
29283
29284 \begin_layout Plain Layout
29285
29286
29287 \backslash
29288 setlength{
29289 \backslash
29290 fboxsep}{0.5cm}
29291 \end_layout
29292
29293 \begin_layout Plain Layout
29294
29295
29296 \backslash
29297 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
29298 \end_layout
29299
29300 \end_inset
29301
29302
29303 \begin_inset Box Shaded
29304 position "t"
29305 hor_pos "c"
29306 has_inner_box 0
29307 inner_pos "t"
29308 use_parbox 0
29309 use_makebox 0
29310 width "100col%"
29311 special "none"
29312 height "1in"
29313 height_special "totalheight"
29314 status open
29315
29316 \begin_layout Plain Layout
29317
29318 \color yellow
29319 This is yellow text in a
29320 \color none
29321  
29322 \family sans
29323 \color yellow
29324 shaded background
29325 \family default
29326 \color none
29327  
29328 \color yellow
29329 box with dark green background.
29330 \end_layout
29331
29332 \end_inset
29333
29334
29335 \begin_inset ERT
29336 status collapsed
29337
29338 \begin_layout Plain Layout
29339
29340
29341 \backslash
29342 setlength{
29343 \backslash
29344 fboxsep}{3pt}
29345 \end_layout
29346
29347 \begin_layout Plain Layout
29348
29349
29350 \backslash
29351 definecolor{shadecolor}{rgb}{1,0,0}
29352 \end_layout
29353
29354 \end_inset
29355
29356
29357 \end_layout
29358
29359 \begin_layout Standard
29360 \begin_inset VSpace bigskip
29361 \end_inset
29362
29363 Changed lengths and widths are valid for all boxes following the commands
29364  that change them.
29365 \end_layout
29366
29367 \begin_layout Section
29368 Minipages
29369 \begin_inset CommandInset label
29370 LatexCommand label
29371 name "sec:Minipages"
29372
29373 \end_inset
29374
29375
29376 \begin_inset Index idx
29377 status collapsed
29378
29379 \begin_layout Plain Layout
29380 Boxes ! Minipages
29381 \end_layout
29382
29383 \end_inset
29384
29385
29386 \end_layout
29387
29388 \begin_layout Standard
29389 Minipages are treated by LaTeX as pages within pages and can therefore for
29390  example have their own footnotes.
29391 \end_layout
29392
29393 \begin_layout Standard
29394 Minipages are useful when you write documents with different languages.
29395 \end_layout
29396
29397 \begin_layout Standard
29398 Below are two example minipages side by side.
29399  Their width is set to 45
29400 \begin_inset space \thinspace{}
29401 \end_inset
29402
29403 col% and they are separated by a horizontal fill, that was inserted via
29404  the menu 
29405 \family sans
29406 Insert\SpecialChar \menuseparator
29407 Special
29408 \begin_inset space ~
29409 \end_inset
29410
29411 Formatting\SpecialChar \menuseparator
29412 Horizontal
29413 \begin_inset space ~
29414 \end_inset
29415
29416 Fill
29417 \family default
29418 .
29419 \begin_inset Newpage newpage
29420 \end_inset
29421
29422
29423 \end_layout
29424
29425 \begin_layout Standard
29426 \begin_inset Box Frameless
29427 position "t"
29428 hor_pos "c"
29429 has_inner_box 1
29430 inner_pos "c"
29431 use_parbox 0
29432 use_makebox 0
29433 width "45col%"
29434 special "none"
29435 height "1in"
29436 height_special "totalheight"
29437 status open
29438
29439 \begin_layout Plain Layout
29440
29441 \lang german
29442 Dies ist ein deutscher Text.
29443  Dies ist ein deutscher Text.
29444  Dies ist ein deutscher Text.
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 \begin_inset Foot
29456 status collapsed
29457
29458 \begin_layout Plain Layout
29459
29460 \lang german
29461 Dies ist eine deutsche Fußnote.
29462 \end_layout
29463
29464 \end_inset
29465
29466 .
29467  Dies ist ein deutscher Text.
29468  Dies ist ein deutscher Text.
29469 \end_layout
29470
29471 \end_inset
29472
29473
29474 \begin_inset space \hfill{}
29475 \end_inset
29476
29477
29478 \begin_inset Box Frameless
29479 position "t"
29480 hor_pos "c"
29481 has_inner_box 1
29482 inner_pos "c"
29483 use_parbox 0
29484 use_makebox 0
29485 width "45col%"
29486 special "none"
29487 height "1in"
29488 height_special "totalheight"
29489 status open
29490
29491 \begin_layout Plain Layout
29492 This is an English Text.
29493  This is an English Text.
29494  This is an English Text.
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 \begin_inset Foot
29509 status collapsed
29510
29511 \begin_layout Plain Layout
29512 This is an English footnote.
29513 \end_layout
29514
29515 \end_inset
29516
29517  This is an English Text.
29518  
29519 \end_layout
29520
29521 \end_inset
29522
29523
29524 \end_layout
29525
29526 \begin_layout Standard
29527 \begin_inset VSpace bigskip
29528 \end_inset
29529
29530 The document-wide paragraph settings are ignored within minipages.
29531  That means that there will be no space between paragraphs in minipages
29532  although you set it to e.
29533 \begin_inset space \thinspace{}
29534 \end_inset
29535
29536 g.
29537 \begin_inset space \space{}
29538 \end_inset
29539
29540
29541 \family sans
29542 MedSkip
29543 \family default
29544  in the document settings.
29545 \end_layout
29546
29547 \begin_layout Standard
29548 Minipages can also be used to set a background color for text parts, see
29549  section
29550 \begin_inset space ~
29551 \end_inset
29552
29553
29554 \begin_inset CommandInset ref
29555 LatexCommand ref
29556 reference "sub:Color-for-Paragraphs"
29557
29558 \end_inset
29559
29560 .
29561 \end_layout
29562
29563 \begin_layout Standard
29564 \begin_inset Note Greyedout
29565 status open
29566
29567 \begin_layout Plain Layout
29568
29569 \series bold
29570 Note:
29571 \series default
29572  You cannot have floats or margin notes inside minipages but minipages can
29573  be used inside tables, floats, and other boxes.
29574 \end_layout
29575
29576 \end_inset
29577
29578
29579 \end_layout
29580
29581 \begin_layout Section
29582 Parboxes
29583 \begin_inset CommandInset label
29584 LatexCommand label
29585 name "sec:Parboxes"
29586
29587 \end_inset
29588
29589
29590 \begin_inset Index idx
29591 status collapsed
29592
29593 \begin_layout Plain Layout
29594 Boxes ! Parboxes
29595 \end_layout
29596
29597 \end_inset
29598
29599
29600 \end_layout
29601
29602 \begin_layout Standard
29603 Parboxes are very similar to minipages with the difference that they cannot
29604  have footnotes.
29605 \end_layout
29606
29607 \begin_layout Standard
29608 \align center
29609 \begin_inset Box Frameless
29610 position "t"
29611 hor_pos "c"
29612 has_inner_box 1
29613 inner_pos "t"
29614 use_parbox 1
29615 use_makebox 0
29616 width "33col%"
29617 special "none"
29618 height "1in"
29619 height_special "totalheight"
29620 status collapsed
29621
29622 \begin_layout Plain Layout
29623 This a text within a parbox.
29624  This a text within a parbox.
29625 \end_layout
29626
29627 \begin_layout Plain Layout
29628 This footnote won't appear:
29629 \begin_inset Foot
29630 status collapsed
29631
29632 \begin_layout Plain Layout
29633 This footnote is inside a parbox and will therefore not appear.
29634 \end_layout
29635
29636 \end_inset
29637
29638
29639 \end_layout
29640
29641 \end_inset
29642
29643
29644 \end_layout
29645
29646 \begin_layout Section
29647 Boxes for Words and Characters
29648 \begin_inset Index idx
29649 status collapsed
29650
29651 \begin_layout Plain Layout
29652 Boxes ! for Characters
29653 \end_layout
29654
29655 \end_inset
29656
29657
29658 \end_layout
29659
29660 \begin_layout Subsection
29661 Prevent Hyphenation
29662 \begin_inset CommandInset label
29663 LatexCommand label
29664 name "sec:Prevent-Hyphenation"
29665
29666 \end_inset
29667
29668
29669 \begin_inset Index idx
29670 status collapsed
29671
29672 \begin_layout Plain Layout
29673 Boxes ! to Prevent Hyphenation
29674 \end_layout
29675
29676 \end_inset
29677
29678
29679 \end_layout
29680
29681 \begin_layout Standard
29682 You can use the box type 
29683 \family sans
29684 Makebox
29685 \family default
29686  to prevent words or text from being hyphenated.
29687 \begin_inset Newline newline
29688 \end_inset
29689
29690 Here is an example text:
29691 \end_layout
29692
29693 \begin_layout Standard
29694 This line is an example to show how you can prevent the hyphenation of 
29695 \begin_inset Quotes eld
29696 \end_inset
29697
29698 veryverylongword
29699 \begin_inset Quotes erd
29700 \end_inset
29701
29702 .
29703 \end_layout
29704
29705 \begin_layout Standard
29706 To prevent the hyphenation of the word 
29707 \begin_inset Quotes eld
29708 \end_inset
29709
29710 veryverylongword
29711 \begin_inset Quotes erd
29712 \end_inset
29713
29714 , put the word into a box, set the 
29715 \family sans
29716 Inner
29717 \begin_inset space ~
29718 \end_inset
29719
29720 box
29721 \family default
29722  to 
29723 \family sans
29724 Makebox
29725 \family default
29726  and its width to 1
29727 \begin_inset space \thinspace{}
29728 \end_inset
29729
29730 Width.
29731 \end_layout
29732
29733 \begin_layout Standard
29734 This is the result:
29735 \end_layout
29736
29737 \begin_layout Standard
29738 This line is an example to show how you can prevent the hyphenation of 
29739 \begin_inset Box Frameless
29740 position "t"
29741 hor_pos "c"
29742 has_inner_box 1
29743 inner_pos "t"
29744 use_parbox 0
29745 use_makebox 1
29746 width "1in"
29747 special "width"
29748 height "1in"
29749 height_special "totalheight"
29750 status open
29751
29752 \begin_layout Plain Layout
29753 \begin_inset Quotes eld
29754 \end_inset
29755
29756 veryverylongword
29757 \begin_inset Quotes erd
29758 \end_inset
29759
29760
29761 \end_layout
29762
29763 \end_inset
29764
29765 .
29766 \end_layout
29767
29768 \begin_layout Standard
29769 You can alternatively set the command 
29770 \begin_inset Quotes eld
29771 \end_inset
29772
29773
29774 \series bold
29775
29776 \backslash
29777 -
29778 \series default
29779
29780 \begin_inset Quotes grd
29781 \end_inset
29782
29783  as TeX-Code directly before the word:
29784 \end_layout
29785
29786 \begin_layout Standard
29787 This line is an example to show how you can prevent the hyphenation of 
29788 \begin_inset Quotes eld
29789 \end_inset
29790
29791
29792 \begin_inset ERT
29793 status collapsed
29794
29795 \begin_layout Plain Layout
29796
29797
29798 \backslash
29799 -
29800 \end_layout
29801
29802 \end_inset
29803
29804 veryverylongword
29805 \begin_inset Quotes erd
29806 \end_inset
29807
29808 .
29809 \end_layout
29810
29811 \begin_layout Standard
29812 Of course the word now protrudes over the side margin.
29813  To avoid this, add via the menu 
29814 \family sans
29815 Insert\SpecialChar \menuseparator
29816 Special
29817 \begin_inset space ~
29818 \end_inset
29819
29820 Formatting\SpecialChar \menuseparator
29821 Line
29822 \begin_inset space ~
29823 \end_inset
29824
29825 Break
29826 \family default
29827  (shortcut 
29828 \begin_inset Info
29829 type  "shortcut"
29830 arg   "newline-insert newline"
29831 \end_inset
29832
29833 ) a line break before the word:
29834 \end_layout
29835
29836 \begin_layout Standard
29837 This line is an example to show how you can prevent the hyphenation of 
29838 \begin_inset Newline newline
29839 \end_inset
29840
29841
29842 \begin_inset Box Frameless
29843 position "t"
29844 hor_pos "c"
29845 has_inner_box 1
29846 inner_pos "t"
29847 use_parbox 0
29848 use_makebox 1
29849 width "1in"
29850 special "width"
29851 height "1in"
29852 height_special "totalheight"
29853 status open
29854
29855 \begin_layout Plain Layout
29856 \begin_inset Quotes eld
29857 \end_inset
29858
29859 veryverylongword
29860 \begin_inset Quotes erd
29861 \end_inset
29862
29863
29864 \end_layout
29865
29866 \end_inset
29867
29868 .
29869 \end_layout
29870
29871 \begin_layout Subsection
29872 Vertical Alignment
29873 \begin_inset CommandInset label
29874 LatexCommand label
29875 name "sub:Vertical-Alignment"
29876
29877 \end_inset
29878
29879
29880 \begin_inset Index idx
29881 status collapsed
29882
29883 \begin_layout Plain Layout
29884 Boxes ! for Vertical Alignment
29885 \end_layout
29886
29887 \end_inset
29888
29889
29890 \begin_inset Index idx
29891 status collapsed
29892
29893 \begin_layout Plain Layout
29894 Boxes ! Raiseboxes
29895 \end_layout
29896
29897 \end_inset
29898
29899
29900 \end_layout
29901
29902 \begin_layout Standard
29903 With the help of the command 
29904 \series bold
29905
29906 \backslash
29907 raisebox
29908 \series default
29909  you can align words, characters or other boxes vertically relative to the
29910  surrounding text.
29911  
29912 \series bold
29913
29914 \backslash
29915 raisebox
29916 \series default
29917  is used with the following scheme:
29918 \end_layout
29919
29920 \begin_layout Standard
29921
29922 \series bold
29923
29924 \backslash
29925 raisebox{lift}[height][depth]{box content}
29926 \end_layout
29927
29928 \begin_layout Standard
29929 The lift can be a positive value to raise the box or a negative value to
29930  lower the box.
29931 \end_layout
29932
29933 \begin_layout Standard
29934 To align for example the word 
29935 \begin_inset Quotes eld
29936 \end_inset
29937
29938 preventing
29939 \begin_inset Quotes erd
29940 \end_inset
29941
29942  so that the bottom of the 
29943 \begin_inset Quotes eld
29944 \end_inset
29945
29946 deepest
29947 \begin_inset Quotes erd
29948 \end_inset
29949
29950  character 
29951 \begin_inset Quotes eld
29952 \end_inset
29953
29954 p
29955 \begin_inset Quotes erd
29956 \end_inset
29957
29958  is at the baseline, insert the command
29959 \end_layout
29960
29961 \begin_layout Standard
29962
29963 \series bold
29964
29965 \backslash
29966 raisebox{
29967 \backslash
29968 depth}{
29969 \end_layout
29970
29971 \begin_layout Standard
29972 in TeX-Code before the word.
29973  After the word insert a closing brace 
29974 \begin_inset Quotes eld
29975 \end_inset
29976
29977
29978 \series bold
29979 }
29980 \series default
29981
29982 \begin_inset Quotes erd
29983 \end_inset
29984
29985  in TeX-Code.
29986 \begin_inset Newline newline
29987 \end_inset
29988
29989 This is the result:
29990 \end_layout
29991
29992 \begin_layout Standard
29993 This is a text line with the word 
29994 \begin_inset ERT
29995 status collapsed
29996
29997 \begin_layout Plain Layout
29998
29999
30000 \backslash
30001 raisebox{
30002 \backslash
30003 depth}{
30004 \end_layout
30005
30006 \end_inset
30007
30008
30009 \begin_inset Quotes eld
30010 \end_inset
30011
30012 preventing
30013 \begin_inset Quotes erd
30014 \end_inset
30015
30016
30017 \begin_inset ERT
30018 status collapsed
30019
30020 \begin_layout Plain Layout
30021
30022 }
30023 \end_layout
30024
30025 \end_inset
30026
30027  as a raised word.
30028 \end_layout
30029
30030 \begin_layout Standard
30031 \begin_inset VSpace bigskip
30032 \end_inset
30033
30034 When you raise or lower characters in a line, the line distance will be
30035  spread:
30036 \end_layout
30037
30038 \begin_layout Standard
30039 This is a text line with the word 
30040 \begin_inset ERT
30041 status collapsed
30042
30043 \begin_layout Plain Layout
30044
30045
30046 \backslash
30047 raisebox{-
30048 \backslash
30049 depth}{
30050 \end_layout
30051
30052 \end_inset
30053
30054
30055 \begin_inset Quotes eld
30056 \end_inset
30057
30058 preventing
30059 \begin_inset Quotes erd
30060 \end_inset
30061
30062
30063 \begin_inset ERT
30064 status collapsed
30065
30066 \begin_layout Plain Layout
30067
30068 }
30069 \end_layout
30070
30071 \end_inset
30072
30073  as a lowered word.
30074 \begin_inset Newline newline
30075 \end_inset
30076
30077 This is a text line with the word 
30078 \begin_inset ERT
30079 status collapsed
30080
30081 \begin_layout Plain Layout
30082
30083
30084 \backslash
30085 raisebox{0.5cm}{
30086 \end_layout
30087
30088 \end_inset
30089
30090
30091 \begin_inset Quotes eld
30092 \end_inset
30093
30094 testing
30095 \begin_inset Quotes erd
30096 \end_inset
30097
30098
30099 \begin_inset ERT
30100 status collapsed
30101
30102 \begin_layout Plain Layout
30103
30104 }
30105 \end_layout
30106
30107 \end_inset
30108
30109  as a raised word.
30110 \end_layout
30111
30112 \begin_layout Standard
30113 If you want to prevent this for a certain reason, set the box height to
30114  a zero value.
30115  For example use
30116 \end_layout
30117
30118 \begin_layout Standard
30119
30120 \series bold
30121
30122 \backslash
30123 raisebox{-
30124 \backslash
30125 depth}[0pt]{
30126 \end_layout
30127
30128 \begin_layout Standard
30129 This is a text line with the word 
30130 \begin_inset ERT
30131 status collapsed
30132
30133 \begin_layout Plain Layout
30134
30135
30136 \backslash
30137 raisebox{-
30138 \backslash
30139 depth}[0pt]{
30140 \end_layout
30141
30142 \end_inset
30143
30144
30145 \begin_inset Quotes eld
30146 \end_inset
30147
30148 preventing
30149 \begin_inset Quotes erd
30150 \end_inset
30151
30152
30153 \begin_inset ERT
30154 status collapsed
30155
30156 \begin_layout Plain Layout
30157
30158 }
30159 \end_layout
30160
30161 \end_inset
30162
30163  as a lowered word.
30164 \begin_inset Newline newline
30165 \end_inset
30166
30167 This is a text line with the word 
30168 \begin_inset ERT
30169 status collapsed
30170
30171 \begin_layout Plain Layout
30172
30173
30174 \backslash
30175 raisebox{0.5cm}[0pt]{
30176 \end_layout
30177
30178 \end_inset
30179
30180
30181 \begin_inset Quotes eld
30182 \end_inset
30183
30184 testing
30185 \begin_inset Quotes erd
30186 \end_inset
30187
30188
30189 \begin_inset ERT
30190 status collapsed
30191
30192 \begin_layout Plain Layout
30193
30194 }
30195 \end_layout
30196
30197 \end_inset
30198
30199  as a raised word.
30200 \end_layout
30201
30202 \begin_layout Section
30203 Colored Boxes
30204 \begin_inset CommandInset label
30205 LatexCommand label
30206 name "sec:Colored-Boxes"
30207
30208 \end_inset
30209
30210
30211 \begin_inset Index idx
30212 status collapsed
30213
30214 \begin_layout Plain Layout
30215 Boxes ! Color
30216 \end_layout
30217
30218 \end_inset
30219
30220
30221 \end_layout
30222
30223 \begin_layout Subsection
30224 Color for Text
30225 \begin_inset Index idx
30226 status collapsed
30227
30228 \begin_layout Plain Layout
30229 Color ! for Text
30230 \end_layout
30231
30232 \end_inset
30233
30234
30235 \end_layout
30236
30237 \begin_layout Standard
30238 To color the background of text the text must be put into a so called 
30239 \begin_inset Quotes eld
30240 \end_inset
30241
30242 colorbox
30243 \begin_inset Quotes erd
30244 \end_inset
30245
30246 .
30247  This requires that the LaTeX-package 
30248 \series bold
30249 color
30250 \series default
30251
30252 \begin_inset Index idx
30253 status collapsed
30254
30255 \begin_layout Plain Layout
30256 LaTeX-packages ! color
30257 \end_layout
30258
30259 \end_inset
30260
30261  is loaded in the document preamble with the command
30262 \end_layout
30263
30264 \begin_layout Standard
30265
30266 \series bold
30267
30268 \backslash
30269 @ifundefined{textcolor}
30270 \begin_inset Newline newline
30271 \end_inset
30272
30273
30274 \begin_inset Phantom HPhantom
30275 status open
30276
30277 \begin_layout Plain Layout
30278
30279 \series bold
30280 \begin_inset space ~
30281 \end_inset
30282
30283
30284 \end_layout
30285
30286 \end_inset
30287
30288 {
30289 \backslash
30290 usepackage{color}}{}
30291 \end_layout
30292
30293 \begin_layout Standard
30294 The package 
30295 \series bold
30296 color
30297 \series default
30298  will be loaded automatically by LyX when you color text.
30299 \begin_inset Foot
30300 status collapsed
30301
30302 \begin_layout Plain Layout
30303 To avoid it being loaded twice the command 
30304 \series bold
30305
30306 \backslash
30307 @ifundefined
30308 \series default
30309  is used.
30310 \end_layout
30311
30312 \end_inset
30313
30314
30315 \end_layout
30316
30317 \begin_layout Standard
30318 \begin_inset VSpace medskip
30319 \end_inset
30320
30321 Colorboxes are created with the command 
30322 \series bold
30323
30324 \backslash
30325 colorbox
30326 \series default
30327 .
30328  This will be used with the following scheme:
30329 \end_layout
30330
30331 \begin_layout Standard
30332
30333 \series bold
30334
30335 \backslash
30336 colorbox{color}{box content}
30337 \end_layout
30338
30339 \begin_layout Standard
30340 The box content can also be a box and colorboxes can also be within other
30341  boxes.
30342 \end_layout
30343
30344 \begin_layout Standard
30345 The following colors are predefined:
30346 \begin_inset Newline newline
30347 \end_inset
30348
30349
30350 \family sans
30351 black
30352 \family default
30353
30354 \family sans
30355 blue
30356 \family default
30357
30358 \family sans
30359 cyan
30360 \family default
30361 \series bold
30362 ,
30363 \series default
30364  
30365 \family sans
30366 green
30367 \family default
30368
30369 \family sans
30370 magenta
30371 \family default
30372
30373 \family sans
30374 red
30375 \family default
30376
30377 \family sans
30378 white
30379 \family default
30380 , and 
30381 \family sans
30382 yellow
30383 \family default
30384 .
30385 \begin_inset Newline newline
30386 \end_inset
30387
30388 You can also define your own color as described in section
30389 \begin_inset space ~
30390 \end_inset
30391
30392
30393 \begin_inset CommandInset ref
30394 LatexCommand ref
30395 reference "sec:Colored-Tables"
30396
30397 \end_inset
30398
30399 .
30400 \end_layout
30401
30402 \begin_layout Standard
30403 To have e.
30404 \begin_inset space \thinspace{}
30405 \end_inset
30406
30407 g.
30408 \begin_inset space \space{}
30409 \end_inset
30410
30411 a red background for a word, insert the command
30412 \end_layout
30413
30414 \begin_layout Standard
30415
30416 \series bold
30417
30418 \backslash
30419 colorbox{red}{
30420 \end_layout
30421
30422 \begin_layout Standard
30423 before the word in TeX-Code.
30424  After the word insert a closing brace 
30425 \begin_inset Quotes eld
30426 \end_inset
30427
30428
30429 \series bold
30430 }
30431 \series default
30432
30433 \begin_inset Quotes erd
30434 \end_inset
30435
30436  in TeX-Code.
30437 \begin_inset Newline newline
30438 \end_inset
30439
30440 This is the result:
30441 \end_layout
30442
30443 \begin_layout Standard
30444 This is a line where the word 
30445 \begin_inset ERT
30446 status collapsed
30447
30448 \begin_layout Plain Layout
30449
30450
30451 \backslash
30452 colorbox{red}{
30453 \end_layout
30454
30455 \end_inset
30456
30457
30458 \begin_inset Quotes eld
30459 \end_inset
30460
30461 Attention!
30462 \begin_inset Quotes erd
30463 \end_inset
30464
30465
30466 \begin_inset ERT
30467 status collapsed
30468
30469 \begin_layout Plain Layout
30470
30471 }
30472 \end_layout
30473
30474 \end_inset
30475
30476  has a red background.
30477 \end_layout
30478
30479 \begin_layout Standard
30480 \begin_inset VSpace bigskip
30481 \end_inset
30482
30483 If you would like the box frame in a different color, you can use the command
30484  
30485 \series bold
30486
30487 \backslash
30488 fcolorbox
30489 \series default
30490  with the following scheme:
30491 \end_layout
30492
30493 \begin_layout Standard
30494
30495 \series bold
30496
30497 \backslash
30498 fcolorbox{frame color}{box color}{box content}
30499 \end_layout
30500
30501 \begin_layout Standard
30502
30503 \series bold
30504
30505 \backslash
30506 fcolorbox
30507 \series default
30508  is an extension to 
30509 \series bold
30510
30511 \backslash
30512 colorbox
30513 \series default
30514 .
30515  The frame thickness and the space between the frame and the box content
30516  can be adjusted with the lengths 
30517 \series bold
30518
30519 \backslash
30520 fboxrule
30521 \series default
30522  and 
30523 \series bold
30524
30525 \backslash
30526 fboxsep
30527 \series default
30528 , respectively, as described in section
30529 \begin_inset space ~
30530 \end_inset
30531
30532
30533 \begin_inset CommandInset ref
30534 LatexCommand ref
30535 reference "sec:Decoration"
30536
30537 \end_inset
30538
30539 .
30540 \end_layout
30541
30542 \begin_layout Standard
30543 For the following example the command
30544 \end_layout
30545
30546 \begin_layout Standard
30547
30548 \series bold
30549
30550 \backslash
30551 fcolorbox{cyan}{magenta}{
30552 \end_layout
30553
30554 \begin_layout Standard
30555 was used.
30556 \end_layout
30557
30558 \begin_layout Standard
30559 Here is an example where the frame line thickness was set to 1
30560 \begin_inset space \thinspace{}
30561 \end_inset
30562
30563 mm:
30564 \begin_inset Newline newline
30565 \end_inset
30566
30567
30568 \begin_inset ERT
30569 status collapsed
30570
30571 \begin_layout Plain Layout
30572
30573
30574 \backslash
30575 fboxrule 1mm 
30576 \backslash
30577 fboxsep 1mm
30578 \end_layout
30579
30580 \end_inset
30581
30582
30583 \begin_inset ERT
30584 status collapsed
30585
30586 \begin_layout Plain Layout
30587
30588
30589 \backslash
30590 fcolorbox{cyan}{magenta}{
30591 \end_layout
30592
30593 \end_inset
30594
30595 This is text within a colored, framed box.
30596 \begin_inset ERT
30597 status collapsed
30598
30599 \begin_layout Plain Layout
30600
30601 }
30602 \end_layout
30603
30604 \end_inset
30605
30606
30607 \end_layout
30608
30609 \begin_layout Standard
30610 \begin_inset VSpace bigskip
30611 \end_inset
30612
30613 Of course you can also have colored text inside a colorbox:
30614 \begin_inset Newline newline
30615 \end_inset
30616
30617
30618 \begin_inset ERT
30619 status collapsed
30620
30621 \begin_layout Plain Layout
30622
30623
30624 \backslash
30625 fcolorbox{cyan}{magenta}{
30626 \end_layout
30627
30628 \end_inset
30629
30630
30631 \color yellow
30632 This is colored text within a colored, framed box.
30633 \color none
30634
30635 \begin_inset ERT
30636 status collapsed
30637
30638 \begin_layout Plain Layout
30639
30640 }
30641 \end_layout
30642
30643 \end_inset
30644
30645
30646 \begin_inset ERT
30647 status collapsed
30648
30649 \begin_layout Plain Layout
30650
30651
30652 \backslash
30653 fboxrule 0.4pt 
30654 \backslash
30655 fboxsep 3pt
30656 \end_layout
30657
30658 \end_inset
30659
30660
30661 \end_layout
30662
30663 \begin_layout Standard
30664
30665 \series bold
30666 \begin_inset VSpace medskip
30667 \end_inset
30668
30669
30670 \end_layout
30671
30672 \begin_layout Standard
30673 \begin_inset Note Greyedout
30674 status open
30675
30676 \begin_layout Plain Layout
30677
30678 \series bold
30679 Note:
30680 \series default
30681  Text in colorboxes cannot have line breaks.
30682  To color multiple text lines or paragraphs, use a box inside a colorbox
30683  as described in the following.
30684 \end_layout
30685
30686 \end_inset
30687
30688
30689 \end_layout
30690
30691 \begin_layout Subsection
30692 Color for Paragraphs
30693 \begin_inset CommandInset label
30694 LatexCommand label
30695 name "sub:Color-for-Paragraphs"
30696
30697 \end_inset
30698
30699
30700 \begin_inset Index idx
30701 status collapsed
30702
30703 \begin_layout Plain Layout
30704 Color ! for Paragraphs
30705 \end_layout
30706
30707 \end_inset
30708
30709
30710 \end_layout
30711
30712 \begin_layout Standard
30713 To set the background color for more than one text line, put the text into
30714  a minipage.
30715  Before the minipage insert the 
30716 \series bold
30717
30718 \backslash
30719 colorbox
30720 \series default
30721  command
30722 \end_layout
30723
30724 \begin_layout Standard
30725
30726 \series bold
30727
30728 \backslash
30729 colorbox{color}{
30730 \end_layout
30731
30732 \begin_layout Standard
30733 in TeX-Code.
30734  After the minipage insert a closing brace 
30735 \begin_inset Quotes eld
30736 \end_inset
30737
30738
30739 \series bold
30740 }
30741 \series default
30742
30743 \begin_inset Quotes erd
30744 \end_inset
30745
30746  in TeX-Code.
30747 \end_layout
30748
30749 \begin_layout Standard
30750 \begin_inset ERT
30751 status collapsed
30752
30753 \begin_layout Plain Layout
30754
30755
30756 \backslash
30757 colorbox{lightgrey}{
30758 \end_layout
30759
30760 \end_inset
30761
30762
30763 \begin_inset Box Frameless
30764 position "t"
30765 hor_pos "c"
30766 has_inner_box 1
30767 inner_pos "t"
30768 use_parbox 0
30769 use_makebox 0
30770 width "100col%"
30771 special "none"
30772 height "1in"
30773 height_special "totalheight"
30774 status collapsed
30775
30776 \begin_layout Plain Layout
30777 This is text with background color.
30778  This is text with background color.
30779 \end_layout
30780
30781 \begin_layout Plain Layout
30782 \begin_inset VSpace defskip
30783 \end_inset
30784
30785 The text can have footnotes
30786 \begin_inset Foot
30787 status collapsed
30788
30789 \begin_layout Plain Layout
30790 Another example footnote
30791 \end_layout
30792
30793 \end_inset
30794
30795  and can include tables and figures.
30796 \end_layout
30797
30798 \begin_layout Plain Layout
30799 \align center
30800 \begin_inset Tabular
30801 <lyxtabular version="3" rows="3" columns="3">
30802 <features tabularvalignment="middle">
30803 <column alignment="center" valignment="top" width="0">
30804 <column alignment="center" valignment="top" width="0">
30805 <column alignment="center" valignment="top" width="0">
30806 <row>
30807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30808 \begin_inset Text
30809
30810 \begin_layout Plain Layout
30811 a
30812 \end_layout
30813
30814 \end_inset
30815 </cell>
30816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30817 \begin_inset Text
30818
30819 \begin_layout Plain Layout
30820 !
30821 \end_layout
30822
30823 \end_inset
30824 </cell>
30825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30826 \begin_inset Text
30827
30828 \begin_layout Plain Layout
30829 3
30830 \end_layout
30831
30832 \end_inset
30833 </cell>
30834 </row>
30835 <row>
30836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30837 \begin_inset Text
30838
30839 \begin_layout Plain Layout
30840 <
30841 \end_layout
30842
30843 \end_inset
30844 </cell>
30845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30846 \begin_inset Text
30847
30848 \begin_layout Plain Layout
30849 b2
30850 \begin_inset Quotes erd
30851 \end_inset
30852
30853 |
30854 \end_layout
30855
30856 \end_inset
30857 </cell>
30858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30859 \begin_inset Text
30860
30861 \begin_layout Plain Layout
30862 >
30863 \end_layout
30864
30865 \end_inset
30866 </cell>
30867 </row>
30868 <row>
30869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30870 \begin_inset Text
30871
30872 \begin_layout Plain Layout
30873 1
30874 \end_layout
30875
30876 \end_inset
30877 </cell>
30878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30879 \begin_inset Text
30880
30881 \begin_layout Plain Layout
30882 §
30883 \end_layout
30884
30885 \end_inset
30886 </cell>
30887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30888 \begin_inset Text
30889
30890 \begin_layout Plain Layout
30891 c
30892 \end_layout
30893
30894 \end_inset
30895 </cell>
30896 </row>
30897 </lyxtabular>
30898
30899 \end_inset
30900
30901
30902 \end_layout
30903
30904 \end_inset
30905
30906
30907 \begin_inset ERT
30908 status collapsed
30909
30910 \begin_layout Plain Layout
30911
30912 }
30913 \end_layout
30914
30915 \end_inset
30916
30917
30918 \end_layout
30919
30920 \begin_layout Section
30921 Rotated and Scaled Boxes
30922 \end_layout
30923
30924 \begin_layout Standard
30925 To use the commands described in this section, the LaTeX-package 
30926 \series bold
30927 graphicx
30928 \series default
30929
30930 \begin_inset Index idx
30931 status collapsed
30932
30933 \begin_layout Plain Layout
30934 LaTeX-packages ! graphicx
30935 \end_layout
30936
30937 \end_inset
30938
30939  needs to be loaded in the document preamble with the command
30940 \end_layout
30941
30942 \begin_layout Standard
30943
30944 \series bold
30945
30946 \backslash
30947 @ifundefined{rotatebox}
30948 \begin_inset Newline newline
30949 \end_inset
30950
30951
30952 \begin_inset Phantom HPhantom
30953 status open
30954
30955 \begin_layout Plain Layout
30956
30957 \series bold
30958 \begin_inset space ~
30959 \end_inset
30960
30961
30962 \end_layout
30963
30964 \end_inset
30965
30966 {
30967 \backslash
30968 usepackage{graphicx}}{}
30969 \end_layout
30970
30971 \begin_layout Standard
30972 \begin_inset Note Greyedout
30973 status open
30974
30975 \begin_layout Plain Layout
30976
30977 \series bold
30978 Note:
30979 \series default
30980  Some DVI-viewers can't display rotated or scaled material.
30981 \end_layout
30982
30983 \end_inset
30984
30985
30986 \end_layout
30987
30988 \begin_layout Standard
30989 \begin_inset Note Greyedout
30990 status open
30991
30992 \begin_layout Plain Layout
30993
30994 \series bold
30995 Note:
30996 \series default
30997  Floats mustn't be inside a rotated or scaled box.
30998 \end_layout
30999
31000 \end_inset
31001
31002
31003 \end_layout
31004
31005 \begin_layout Subsection
31006 Rotated Boxes
31007 \begin_inset Index idx
31008 status collapsed
31009
31010 \begin_layout Plain Layout
31011 Boxes ! rotated
31012 \end_layout
31013
31014 \end_inset
31015
31016
31017 \begin_inset Index idx
31018 status collapsed
31019
31020 \begin_layout Plain Layout
31021 Rotated material
31022 \end_layout
31023
31024 \end_inset
31025
31026
31027 \begin_inset Index idx
31028 status collapsed
31029
31030 \begin_layout Plain Layout
31031 Figures ! rotated
31032 \end_layout
31033
31034 \end_inset
31035
31036
31037 \begin_inset Index idx
31038 status collapsed
31039
31040 \begin_layout Plain Layout
31041 Table Customization ! Rotating
31042 \end_layout
31043
31044 \end_inset
31045
31046
31047 \end_layout
31048
31049 \begin_layout Standard
31050 To rotate material, you can put it into a rotated box.
31051  Such a box is created using the command 
31052 \series bold
31053
31054 \backslash
31055 rotatebox
31056 \series default
31057  in TeX-Code with the following scheme:
31058 \end_layout
31059
31060 \begin_layout Standard
31061
31062 \series bold
31063
31064 \backslash
31065 rotatebox[rotation origin]{rotation angle}{box content}
31066 \end_layout
31067
31068 \begin_layout Standard
31069 The rotation origin is specified in the form 
31070 \series bold
31071 origin=position
31072 \series default
31073 .
31074  The following positions are possible: 
31075 \emph on
31076 c
31077 \emph default
31078  (center), 
31079 \emph on
31080 l
31081 \emph default
31082  (left), 
31083 \emph on
31084 r
31085 \emph default
31086  (right), 
31087 \emph on
31088 b
31089 \emph default
31090  (bottom), 
31091 \emph on
31092 t
31093 \emph default
31094  (top), along with meaningful combinations of the four base positions.
31095  For example 
31096 \emph on
31097 lt
31098 \emph default
31099  means that the rotation origin is at the top left corner of the box.
31100  When no rotation origin is specified, the position 
31101 \emph on
31102 l
31103 \emph default
31104  will be used.
31105  The rotation angle is a number that can be negative that specifies the
31106  angle in degrees.
31107  The rotation direction is counterclockwise.
31108 \end_layout
31109
31110 \begin_layout Standard
31111 In the following example the command 
31112 \series bold
31113
31114 \backslash
31115 rotatebox[origin=c]{60}{
31116 \series default
31117  was inserted as TeX-Code before the text 
31118 \begin_inset Quotes eld
31119 \end_inset
31120
31121 with rotated
31122 \begin_inset Quotes erd
31123 \end_inset
31124
31125 ; after the text the box was closed by a closing brace 
31126 \series bold
31127 }
31128 \series default
31129  in TeX-Code.
31130 \end_layout
31131
31132 \begin_layout Standard
31133 This is a line 
31134 \begin_inset ERT
31135 status collapsed
31136
31137 \begin_layout Plain Layout
31138
31139
31140 \backslash
31141 rotatebox[origin=c]{60}{
31142 \end_layout
31143
31144 \end_inset
31145
31146 with rotated
31147 \begin_inset ERT
31148 status collapsed
31149
31150 \begin_layout Plain Layout
31151
31152 }
31153 \end_layout
31154
31155 \end_inset
31156
31157  text.
31158 \end_layout
31159
31160 \begin_layout Standard
31161 The box content can also be another box or an inline formula:
31162 \end_layout
31163
31164 \begin_layout Standard
31165 This is a line
31166 \begin_inset ERT
31167 status collapsed
31168
31169 \begin_layout Plain Layout
31170
31171
31172 \backslash
31173 rotatebox[origin=r]{-60}{
31174 \end_layout
31175
31176 \end_inset
31177
31178
31179 \begin_inset Box Doublebox
31180 position "c"
31181 hor_pos "c"
31182 has_inner_box 0
31183 inner_pos "c"
31184 use_parbox 0
31185 use_makebox 0
31186 width "1in"
31187 special "width"
31188 height "1in"
31189 height_special "totalheight"
31190 status collapsed
31191
31192 \begin_layout Plain Layout
31193 with rotated
31194 \end_layout
31195
31196 \end_inset
31197
31198
31199 \begin_inset ERT
31200 status collapsed
31201
31202 \begin_layout Plain Layout
31203
31204 }
31205 \end_layout
31206
31207 \end_inset
31208
31209  framed text 
31210 \begin_inset ERT
31211 status collapsed
31212
31213 \begin_layout Plain Layout
31214
31215
31216 \backslash
31217 rotatebox[origin=lb]{60}{
31218 \end_layout
31219
31220 \end_inset
31221
31222
31223 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31224 \end_inset
31225
31226
31227 \begin_inset ERT
31228 status collapsed
31229
31230 \begin_layout Plain Layout
31231
31232 }
31233 \end_layout
31234
31235 \end_inset
31236
31237  and a formula.
31238 \end_layout
31239
31240 \begin_layout Standard
31241 or an image or table:
31242 \end_layout
31243
31244 \begin_layout Standard
31245 This is a line
31246 \begin_inset ERT
31247 status collapsed
31248
31249 \begin_layout Plain Layout
31250
31251
31252 \backslash
31253 rotatebox[origin=lb]{90}{
31254 \end_layout
31255
31256 \end_inset
31257
31258
31259 \begin_inset Graphics
31260         filename clipart/platypus.eps
31261         lyxscale 50
31262         width 25col%
31263
31264 \end_inset
31265
31266
31267 \begin_inset ERT
31268 status collapsed
31269
31270 \begin_layout Plain Layout
31271
31272 }
31273 \end_layout
31274
31275 \end_inset
31276
31277  with a rotated image 
31278 \begin_inset ERT
31279 status collapsed
31280
31281 \begin_layout Plain Layout
31282
31283
31284 \backslash
31285 rotatebox[origin=l]{-90}{
31286 \end_layout
31287
31288 \end_inset
31289
31290
31291 \begin_inset Tabular
31292 <lyxtabular version="3" rows="2" columns="2">
31293 <features tabularvalignment="middle">
31294 <column alignment="center" valignment="top" width="0">
31295 <column alignment="center" valignment="top" width="0">
31296 <row>
31297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31298 \begin_inset Text
31299
31300 \begin_layout Plain Layout
31301 q
31302 \end_layout
31303
31304 \end_inset
31305 </cell>
31306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31307 \begin_inset Text
31308
31309 \begin_layout Plain Layout
31310 w
31311 \end_layout
31312
31313 \end_inset
31314 </cell>
31315 </row>
31316 <row>
31317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31318 \begin_inset Text
31319
31320 \begin_layout Plain Layout
31321 e
31322 \end_layout
31323
31324 \end_inset
31325 </cell>
31326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31327 \begin_inset Text
31328
31329 \begin_layout Plain Layout
31330 r
31331 \end_layout
31332
31333 \end_inset
31334 </cell>
31335 </row>
31336 </lyxtabular>
31337
31338 \end_inset
31339
31340
31341 \begin_inset ERT
31342 status collapsed
31343
31344 \begin_layout Plain Layout
31345
31346 }
31347 \end_layout
31348
31349 \end_inset
31350
31351  and table.
31352 \end_layout
31353
31354 \begin_layout Subsection
31355 Scaled Boxes
31356 \begin_inset Index idx
31357 status collapsed
31358
31359 \begin_layout Plain Layout
31360 Boxes ! scaled
31361 \end_layout
31362
31363 \end_inset
31364
31365
31366 \begin_inset Index idx
31367 status collapsed
31368
31369 \begin_layout Plain Layout
31370 Scaled material
31371 \end_layout
31372
31373 \end_inset
31374
31375
31376 \begin_inset Index idx
31377 status collapsed
31378
31379 \begin_layout Plain Layout
31380 Figures ! scaled
31381 \end_layout
31382
31383 \end_inset
31384
31385
31386 \begin_inset Index idx
31387 status collapsed
31388
31389 \begin_layout Plain Layout
31390 Table Customization ! Scaling
31391 \end_layout
31392
31393 \end_inset
31394
31395
31396 \end_layout
31397
31398 \begin_layout Standard
31399 To scale material the commands 
31400 \series bold
31401
31402 \backslash
31403 scalebox
31404 \series default
31405  and 
31406 \series bold
31407
31408 \backslash
31409 resizebox
31410 \series default
31411  can be used as TeX-Code.
31412 \end_layout
31413
31414 \begin_layout Standard
31415
31416 \series bold
31417
31418 \backslash
31419 scalebox
31420 \series default
31421  is used with the following scheme:
31422 \end_layout
31423
31424 \begin_layout Standard
31425
31426 \series bold
31427
31428 \backslash
31429 scalebox{horizontal}[vertical]{box content}
31430 \end_layout
31431
31432 \begin_layout Standard
31433 Horizontal and vertical are the corresponding scaling factors.
31434  If no vertical scaling factor is given, the horizontal factor will also
31435  be used as the vertical one.
31436 \end_layout
31437
31438 \begin_layout Standard
31439 The command 
31440 \series bold
31441
31442 \backslash
31443 scalebox{2}{Hello}
31444 \series default
31445  creates for example a double size 
31446 \begin_inset ERT
31447 status collapsed
31448
31449 \begin_layout Plain Layout
31450
31451
31452 \backslash
31453 scalebox{2}{
31454 \end_layout
31455
31456 \end_inset
31457
31458 Hello
31459 \begin_inset ERT
31460 status collapsed
31461
31462 \begin_layout Plain Layout
31463
31464 }
31465 \end_layout
31466
31467 \end_inset
31468
31469 , compared with the document text size.
31470 \end_layout
31471
31472 \begin_layout Standard
31473
31474 \series bold
31475
31476 \backslash
31477 scalebox{2}[1]{Hello}
31478 \series default
31479  on the other hand distorts the 
31480 \begin_inset ERT
31481 status collapsed
31482
31483 \begin_layout Plain Layout
31484
31485
31486 \backslash
31487 scalebox{2}[1]{
31488 \end_layout
31489
31490 \end_inset
31491
31492 Hello
31493 \begin_inset ERT
31494 status collapsed
31495
31496 \begin_layout Plain Layout
31497
31498 }
31499 \end_layout
31500
31501 \end_inset
31502
31503 .
31504 \end_layout
31505
31506 \begin_layout Standard
31507 If the scaling factor is negative, the box content will be mirrored.
31508  Therefore the command 
31509 \series bold
31510
31511 \backslash
31512 scalebox{-1}[1]{Hello}
31513 \series default
31514  can be used to create mirror writing: 
31515 \begin_inset ERT
31516 status collapsed
31517
31518 \begin_layout Plain Layout
31519
31520
31521 \backslash
31522 scalebox{-1}[1]{
31523 \end_layout
31524
31525 \end_inset
31526
31527 Hello
31528 \begin_inset ERT
31529 status collapsed
31530
31531 \begin_layout Plain Layout
31532
31533 }
31534 \end_layout
31535
31536 \end_inset
31537
31538
31539 \end_layout
31540
31541 \begin_layout Standard
31542
31543 \series bold
31544
31545 \backslash
31546 scalebox{1}[-1]{Hello}
31547 \series default
31548  reflects the 
31549 \begin_inset ERT
31550 status collapsed
31551
31552 \begin_layout Plain Layout
31553
31554
31555 \backslash
31556 scalebox{1}[-1]{
31557 \end_layout
31558
31559 \end_inset
31560
31561 Hello
31562 \begin_inset ERT
31563 status collapsed
31564
31565 \begin_layout Plain Layout
31566
31567 }
31568 \end_layout
31569
31570 \end_inset
31571
31572  at the base line.
31573 \end_layout
31574
31575 \begin_layout Standard
31576 Equivalent to 
31577 \series bold
31578
31579 \backslash
31580 scalebox{-1}[1]{box content}
31581 \series default
31582  there exists the command
31583 \begin_inset Newline newline
31584 \end_inset
31585
31586
31587 \series bold
31588
31589 \backslash
31590 reflectbox{box content}
31591 \series default
31592 .
31593 \end_layout
31594
31595 \begin_layout Standard
31596 \begin_inset VSpace bigskip
31597 \end_inset
31598
31599 The command 
31600 \series bold
31601
31602 \backslash
31603 resizebox
31604 \series default
31605  is used to scale the box to a defined width and height.
31606  The command scheme is:
31607 \end_layout
31608
31609 \begin_layout Standard
31610
31611 \series bold
31612
31613 \backslash
31614 resizebox{width}{height}{box content}
31615 \end_layout
31616
31617 \begin_layout Standard
31618 If one of the two command arguments given is an exclamation mark 
31619 \series bold
31620 !
31621 \series default
31622 , the size is set so that the aspect ratio of the box content is kept.
31623 \end_layout
31624
31625 \begin_layout Standard
31626 The command 
31627 \series bold
31628
31629 \backslash
31630 resizebox{2cm}{1cm}{Hello}
31631 \series default
31632  produces: 
31633 \begin_inset ERT
31634 status collapsed
31635
31636 \begin_layout Plain Layout
31637
31638
31639 \backslash
31640 resizebox{2cm}{1cm}{
31641 \end_layout
31642
31643 \end_inset
31644
31645 Hello
31646 \begin_inset ERT
31647 status collapsed
31648
31649 \begin_layout Plain Layout
31650
31651 }
31652 \end_layout
31653
31654 \end_inset
31655
31656
31657 \begin_inset Newline newline
31658 \end_inset
31659
31660 The command 
31661 \series bold
31662
31663 \backslash
31664 resizebox{2cm}{!}{Hello}
31665 \series default
31666  produces: 
31667 \begin_inset ERT
31668 status collapsed
31669
31670 \begin_layout Plain Layout
31671
31672
31673 \backslash
31674 resizebox{2cm}{!}{
31675 \end_layout
31676
31677 \end_inset
31678
31679 Hello
31680 \begin_inset ERT
31681 status collapsed
31682
31683 \begin_layout Plain Layout
31684
31685 }
31686 \end_layout
31687
31688 \end_inset
31689
31690
31691 \end_layout
31692
31693 \begin_layout Standard
31694 \begin_inset VSpace bigskip
31695 \end_inset
31696
31697
31698 \begin_inset Note Greyedout
31699 status open
31700
31701 \begin_layout Plain Layout
31702
31703 \series bold
31704 Note:
31705 \series default
31706  When arguments of 
31707 \series bold
31708
31709 \backslash
31710 scalebox
31711 \series default
31712  or 
31713 \series bold
31714
31715 \backslash
31716 resizebox
31717 \series default
31718  are set to zero, no LaTeX-errors occur when exporting the document but
31719  the exported files can not or only partly be displayed.
31720 \end_layout
31721
31722 \end_inset
31723
31724
31725 \end_layout
31726
31727 \begin_layout Standard
31728 \begin_inset VSpace bigskip
31729 \end_inset
31730
31731
31732 \end_layout
31733
31734 \begin_layout Standard
31735 The boxes can be combined in any order.
31736  E.
31737 \begin_inset space \thinspace{}
31738 \end_inset
31739
31740 g.
31741 \begin_inset space \space{}
31742 \end_inset
31743
31744 the command
31745 \begin_inset Newline newline
31746 \end_inset
31747
31748
31749 \series bold
31750
31751 \backslash
31752 rotatebox[origin=c]{-45}{
31753 \backslash
31754 resizebox{2cm}{!}{
31755 \backslash
31756 reflectbox{Hello}}}
31757 \begin_inset Newline newline
31758 \end_inset
31759
31760
31761 \series default
31762 produces:
31763 \end_layout
31764
31765 \begin_layout Standard
31766 \align center
31767 \begin_inset ERT
31768 status collapsed
31769
31770 \begin_layout Plain Layout
31771
31772
31773 \backslash
31774 rotatebox[origin=c]{-45}{
31775 \backslash
31776 resizebox{2cm}{!}{
31777 \backslash
31778 reflectbox{
31779 \end_layout
31780
31781 \end_inset
31782
31783 Hello
31784 \begin_inset ERT
31785 status collapsed
31786
31787 \begin_layout Plain Layout
31788
31789 }}}
31790 \end_layout
31791
31792 \end_inset
31793
31794
31795 \end_layout
31796
31797 \begin_layout Standard
31798 \noindent
31799 Images, tables, and inline formulas are allowed as box content:
31800 \end_layout
31801
31802 \begin_layout Standard
31803 \align center
31804 \begin_inset ERT
31805 status collapsed
31806
31807 \begin_layout Plain Layout
31808
31809
31810 \backslash
31811 rotatebox[origin=c]{-30}{
31812 \backslash
31813 resizebox{2cm}{!}{
31814 \backslash
31815 reflectbox{
31816 \end_layout
31817
31818 \end_inset
31819
31820
31821 \begin_inset Graphics
31822         filename clipart/platypus.eps
31823         lyxscale 50
31824         width 25col%
31825
31826 \end_inset
31827
31828
31829 \begin_inset ERT
31830 status collapsed
31831
31832 \begin_layout Plain Layout
31833
31834 }}}
31835 \end_layout
31836
31837 \end_inset
31838
31839
31840 \begin_inset ERT
31841 status collapsed
31842
31843 \begin_layout Plain Layout
31844
31845
31846 \backslash
31847 rotatebox[origin=c]{-45}{
31848 \backslash
31849 resizebox{2cm}{!}{
31850 \backslash
31851 reflectbox{
31852 \end_layout
31853
31854 \end_inset
31855
31856
31857 \begin_inset Tabular
31858 <lyxtabular version="3" rows="2" columns="2">
31859 <features tabularvalignment="middle">
31860 <column alignment="center" valignment="top" width="0">
31861 <column alignment="center" valignment="top" width="0">
31862 <row>
31863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31864 \begin_inset Text
31865
31866 \begin_layout Plain Layout
31867 q
31868 \end_layout
31869
31870 \end_inset
31871 </cell>
31872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31873 \begin_inset Text
31874
31875 \begin_layout Plain Layout
31876 w
31877 \end_layout
31878
31879 \end_inset
31880 </cell>
31881 </row>
31882 <row>
31883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31884 \begin_inset Text
31885
31886 \begin_layout Plain Layout
31887 e
31888 \end_layout
31889
31890 \end_inset
31891 </cell>
31892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31893 \begin_inset Text
31894
31895 \begin_layout Plain Layout
31896 r
31897 \end_layout
31898
31899 \end_inset
31900 </cell>
31901 </row>
31902 </lyxtabular>
31903
31904 \end_inset
31905
31906
31907 \begin_inset ERT
31908 status collapsed
31909
31910 \begin_layout Plain Layout
31911
31912 }}}
31913 \end_layout
31914
31915 \end_inset
31916
31917
31918 \begin_inset ERT
31919 status collapsed
31920
31921 \begin_layout Plain Layout
31922
31923
31924 \backslash
31925 rotatebox[origin=c]{-45}{
31926 \backslash
31927 resizebox{2cm}{!}{
31928 \backslash
31929 reflectbox{
31930 \end_layout
31931
31932 \end_inset
31933
31934
31935 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31936 \end_inset
31937
31938
31939 \begin_inset ERT
31940 status collapsed
31941
31942 \begin_layout Plain Layout
31943
31944 }}}
31945 \end_layout
31946
31947 \end_inset
31948
31949
31950 \end_layout
31951
31952 \begin_layout Standard
31953 When the global formula style 
31954 \series bold
31955 fleqn
31956 \series default
31957  is used in the document
31958 \begin_inset Foot
31959 status collapsed
31960
31961 \begin_layout Plain Layout
31962 When 
31963 \begin_inset Quotes eld
31964 \end_inset
31965
31966 fleqn
31967 \begin_inset Quotes erd
31968 \end_inset
31969
31970  is added to the document class options.
31971 \end_layout
31972
31973 \end_inset
31974
31975 , display style formulas can also be scaled.
31976 \end_layout
31977
31978 \begin_layout Chapter
31979 External Document Parts
31980 \begin_inset Index idx
31981 status collapsed
31982
31983 \begin_layout Plain Layout
31984 External Document Parts
31985 \end_layout
31986
31987 \end_inset
31988
31989
31990 \end_layout
31991
31992 \begin_layout Standard
31993 With the menu 
31994 \family sans
31995 Insert\SpecialChar \menuseparator
31996 File
31997 \family default
31998  you can insert external material to your document.
31999  This can be:
32000 \end_layout
32001
32002 \begin_layout Description
32003 LyX
32004 \begin_inset space ~
32005 \end_inset
32006
32007 Document Another LyX document; its content is directly inserted to your
32008  document.
32009 \end_layout
32010
32011 \begin_layout Description
32012 Plain
32013 \begin_inset space ~
32014 \end_inset
32015
32016 Text A text document; each line is inserted in your document as a separate
32017  paragraph.
32018 \end_layout
32019
32020 \begin_layout Description
32021 Plain
32022 \begin_inset space ~
32023 \end_inset
32024
32025 Text,
32026 \begin_inset space ~
32027 \end_inset
32028
32029 Join
32030 \begin_inset space ~
32031 \end_inset
32032
32033 Lines A text document; text lines are inserted in your document continuously
32034  but an empty text line creates a new paragraph.
32035 \end_layout
32036
32037 \begin_layout Description
32038 External
32039 \begin_inset space ~
32040 \end_inset
32041
32042 Material Files in various formats.
32043 \end_layout
32044
32045 \begin_layout Description
32046 Child
32047 \begin_inset space ~
32048 \end_inset
32049
32050 Document LyX or LaTeX-documents.
32051 \end_layout
32052
32053 \begin_layout Section
32054 External Material
32055 \begin_inset Index idx
32056 status collapsed
32057
32058 \begin_layout Plain Layout
32059 External Document Parts ! External Material
32060 \end_layout
32061
32062 \end_inset
32063
32064
32065 \end_layout
32066
32067 \begin_layout Standard
32068 The external material feature allows you to insert files in to your document
32069  without converting them to a format that can be read by the document output
32070  format.
32071  LyX takes care of the necessary conversions.
32072  This is similar to images that can be inserted in various image formats
32073  in LyX documents.
32074  When you have enabled Instant Preview in LyX's preferences under 
32075 \family sans
32076 Look
32077 \begin_inset space ~
32078 \end_inset
32079
32080 and
32081 \begin_inset space ~
32082 \end_inset
32083
32084 feel\SpecialChar \menuseparator
32085 Graphics
32086 \family default
32087 , the external material types Dia and Xfig are directly shown in LyX.
32088 \end_layout
32089
32090 \begin_layout Standard
32091 External material can be inserted via the 
32092 \family sans
32093 External Material
32094 \family default
32095  dialog that is accessible with the menu 
32096 \family sans
32097 Insert\SpecialChar \menuseparator
32098 File\SpecialChar \menuseparator
32099 External
32100 \begin_inset space ~
32101 \end_inset
32102
32103 Material
32104 \family default
32105 .
32106  Currently the following file types (
32107 \family sans
32108 Templates
32109 \family default
32110 ) are allowed:
32111 \end_layout
32112
32113 \begin_layout Description
32114 ChessDiagram This template supports chess position diagrams made with the
32115  program 
32116 \series bold
32117
32118 \begin_inset CommandInset href
32119 LatexCommand href
32120 name "XBoard"
32121 target "http://en.wikipedia.org/wiki/XBoard"
32122
32123 \end_inset
32124
32125
32126 \series default
32127 .
32128 \end_layout
32129
32130 \begin_layout Description
32131 Date This inserts the date in the form 
32132 \emph on
32133 Day-Month-Year
32134 \emph default
32135 .
32136  This is a date inserted as external material: 
32137 \begin_inset External
32138         template Date
32139         filename .
32140
32141 \end_inset
32142
32143
32144 \begin_inset space ~
32145 \end_inset
32146
32147
32148 \begin_inset Note Note
32149 status open
32150
32151 \begin_layout Plain Layout
32152 Remove the protected space when bug 4398 is fixed!
32153 \end_layout
32154
32155 \end_inset
32156
32157
32158 \begin_inset Newline newline
32159 \end_inset
32160
32161 The date is not shown within LyX, only in the output.
32162  There are two other methods of inserting a date: Via menu 
32163 \family sans
32164 Insert\SpecialChar \menuseparator
32165 Date
32166 \family default
32167  and with the LaTeX command 
32168 \series bold
32169
32170 \backslash
32171 today
32172 \series default
32173  as TeX-Code.
32174  The different methods are compared in Table
32175 \begin_inset space ~
32176 \end_inset
32177
32178
32179 \begin_inset CommandInset ref
32180 LatexCommand ref
32181 reference "tab:Comparison-of-the"
32182
32183 \end_inset
32184
32185 .
32186 \end_layout
32187
32188 \begin_layout Description
32189 Dia This template supports diagrams created with the program 
32190 \series bold
32191
32192 \begin_inset CommandInset href
32193 LatexCommand href
32194 name "Dia"
32195 target "http://en.wikipedia.org/wiki/Dia_(software)"
32196
32197 \end_inset
32198
32199
32200 \series default
32201 .
32202 \end_layout
32203
32204 \begin_layout Description
32205 LilyPond This template is used for music notation typeset with the program
32206 \begin_inset Newline linebreak
32207 \end_inset
32208
32209
32210 \series bold
32211
32212 \begin_inset CommandInset href
32213 LatexCommand href
32214 name "LilyPond"
32215 target "http://en.wikipedia.org/wiki/LilyPond"
32216
32217 \end_inset
32218
32219
32220 \series default
32221 .
32222 \end_layout
32223
32224 \begin_layout Description
32225 PDFPages With this template you can insert PDF documents to your document.
32226  To insert certain or all pages of a PDF, use the 
32227 \emph on
32228 pages
32229 \emph default
32230  option in the 
32231 \family sans
32232 Option
32233 \family default
32234  field in the 
32235 \family sans
32236 LaTeX and LyX options
32237 \family default
32238  tab according to the template description in the dialog.
32239  When no 
32240 \emph on
32241 pages
32242 \emph default
32243  option is given, only the first page of the PDF will be inserted.
32244 \end_layout
32245
32246 \begin_layout Description
32247 RasterImage This can be used for bitmap images.
32248  Nearly all popular image formats are supported.
32249  The image can be treated in the 
32250 \family sans
32251 External material
32252 \family default
32253  dialog like the images that are usually included via the 
32254 \family sans
32255 Graphics
32256 \family default
32257  dialog as described in section
32258 \begin_inset space ~
32259 \end_inset
32260
32261
32262 \begin_inset CommandInset ref
32263 LatexCommand ref
32264 reference "sec:Graphics-Dialog"
32265
32266 \end_inset
32267
32268 .
32269  The difference is that only raster images are allowed; that means that
32270  PDF and EPS-images are not supported.
32271 \end_layout
32272
32273 \begin_layout Description
32274 XFig This template supports images created with the program 
32275 \series bold
32276
32277 \begin_inset CommandInset href
32278 LatexCommand href
32279 name "Xfig"
32280 target "http://en.wikipedia.org/wiki/Xfig"
32281
32282 \end_inset
32283
32284
32285 \series default
32286 .
32287 \end_layout
32288
32289 \begin_layout Standard
32290 \begin_inset Float table
32291 placement h
32292 wide false
32293 sideways false
32294 status open
32295
32296 \begin_layout Plain Layout
32297 \begin_inset Caption
32298
32299 \begin_layout Plain Layout
32300 \begin_inset CommandInset label
32301 LatexCommand label
32302 name "tab:Comparison-of-the"
32303
32304 \end_inset
32305
32306 Comparison of the date input methods.
32307 \end_layout
32308
32309 \end_inset
32310
32311
32312 \end_layout
32313
32314 \begin_layout Plain Layout
32315 \align center
32316 \begin_inset Tabular
32317 <lyxtabular version="3" rows="4" columns="4">
32318 <features tabularvalignment="middle">
32319 <column alignment="center" valignment="top" width="0">
32320 <column alignment="center" valignment="top" width="0">
32321 <column alignment="center" valignment="top" width="0">
32322 <column alignment="center" valignment="top" width="0">
32323 <row>
32324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32325 \begin_inset Text
32326
32327 \begin_layout Plain Layout
32328 Document format
32329 \end_layout
32330
32331 \end_inset
32332 </cell>
32333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32334 \begin_inset Text
32335
32336 \begin_layout Plain Layout
32337
32338 \family sans
32339 External Material\SpecialChar \menuseparator
32340 Date
32341 \end_layout
32342
32343 \end_inset
32344 </cell>
32345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32346 \begin_inset Text
32347
32348 \begin_layout Plain Layout
32349
32350 \family sans
32351 Insert\SpecialChar \menuseparator
32352 Date
32353 \end_layout
32354
32355 \end_inset
32356 </cell>
32357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32358 \begin_inset Text
32359
32360 \begin_layout Plain Layout
32361 command 
32362 \series bold
32363
32364 \backslash
32365 today
32366 \end_layout
32367
32368 \end_inset
32369 </cell>
32370 </row>
32371 <row>
32372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32373 \begin_inset Text
32374
32375 \begin_layout Plain Layout
32376 LyX
32377 \end_layout
32378
32379 \end_inset
32380 </cell>
32381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32382 \begin_inset Text
32383
32384 \begin_layout Plain Layout
32385 as inset box
32386 \end_layout
32387
32388 \end_inset
32389 </cell>
32390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32391 \begin_inset Text
32392
32393 \begin_layout Plain Layout
32394 as date
32395 \end_layout
32396
32397 \end_inset
32398 </cell>
32399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32400 \begin_inset Text
32401
32402 \begin_layout Plain Layout
32403 as TeX-Code inset box
32404 \end_layout
32405
32406 \end_inset
32407 </cell>
32408 </row>
32409 <row>
32410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32411 \begin_inset Text
32412
32413 \begin_layout Plain Layout
32414 LaTeX
32415 \end_layout
32416
32417 \end_inset
32418 </cell>
32419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32420 \begin_inset Text
32421
32422 \begin_layout Plain Layout
32423 as date
32424 \end_layout
32425
32426 \end_inset
32427 </cell>
32428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32429 \begin_inset Text
32430
32431 \begin_layout Plain Layout
32432 as date
32433 \end_layout
32434
32435 \end_inset
32436 </cell>
32437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32438 \begin_inset Text
32439
32440 \begin_layout Plain Layout
32441 as command
32442 \end_layout
32443
32444 \end_inset
32445 </cell>
32446 </row>
32447 <row>
32448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32449 \begin_inset Text
32450
32451 \begin_layout Plain Layout
32452 DVI, PDF, PS
32453 \end_layout
32454
32455 \end_inset
32456 </cell>
32457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32458 \begin_inset Text
32459
32460 \begin_layout Plain Layout
32461 as date
32462 \end_layout
32463
32464 \end_inset
32465 </cell>
32466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32467 \begin_inset Text
32468
32469 \begin_layout Plain Layout
32470 as date
32471 \end_layout
32472
32473 \end_inset
32474 </cell>
32475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32476 \begin_inset Text
32477
32478 \begin_layout Plain Layout
32479 as date
32480 \end_layout
32481
32482 \end_inset
32483 </cell>
32484 </row>
32485 </lyxtabular>
32486
32487 \end_inset
32488
32489
32490 \end_layout
32491
32492 \end_inset
32493
32494
32495 \end_layout
32496
32497 \begin_layout Standard
32498 When you use the option 
32499 \family sans
32500 Draft
32501 \family default
32502  in the 
32503 \family sans
32504 File
32505 \family default
32506  tab of the 
32507 \family sans
32508 External Material
32509 \family default
32510  dialog, only the path to the inserted file is shown in the output.
32511 \begin_inset Newline newline
32512 \end_inset
32513
32514 External material is displayed in LyX either as a box like this: 
32515 \begin_inset Graphics
32516         filename clipart/ExternalMaterialQt4.png
32517         scale 85
32518         scaleBeforeRotation
32519
32520 \end_inset
32521
32522  or as image, depending on the option 
32523 \family sans
32524 Show in LyX
32525 \family default
32526  in the 
32527 \family sans
32528 LaTeX and LyX options
32529 \family default
32530  tab of the dialog.
32531 \end_layout
32532
32533 \begin_layout Standard
32534 The 
32535 \family sans
32536 \emph on
32537 Customization
32538 \family default
32539 \emph default
32540  manual explains how you can define your own templates.
32541 \end_layout
32542
32543 \begin_layout Section
32544 Child Documents
32545 \begin_inset CommandInset label
32546 LatexCommand label
32547 name "sec:Child-Documents"
32548
32549 \end_inset
32550
32551
32552 \begin_inset Index idx
32553 status collapsed
32554
32555 \begin_layout Plain Layout
32556 External Document Parts ! Child Documents
32557 \end_layout
32558
32559 \end_inset
32560
32561
32562 \begin_inset Index idx
32563 status collapsed
32564
32565 \begin_layout Plain Layout
32566 Files ! Include
32567 \end_layout
32568
32569 \end_inset
32570
32571
32572 \end_layout
32573
32574 \begin_layout Standard
32575 Child documents are used when you have a long document consisting of several
32576  larger parts or sections.
32577  For maintenance it is often useful and sometimes even required to split
32578  the document in several files that can be revised separately.
32579  The different documents are then the so called child documents and a master
32580  document connects them to print the full document or parts of it.
32581  A child documents inherits elements of its master, for example the LaTeX
32582  preamble, the bibliography, and labels for cross-references.
32583 \end_layout
32584
32585 \begin_layout Standard
32586 To be able to work on child documents without the need to open their master,
32587  specify in the child document the master in the menu
32588 \family sans
32589  Document\SpecialChar \menuseparator
32590 Settings\SpecialChar \menuseparator
32591 Document
32592 \begin_inset space ~
32593 \end_inset
32594
32595 Class
32596 \family default
32597 .
32598  This master document will then be used in the background by LyX when you
32599  edit the child document.
32600 \end_layout
32601
32602 \begin_layout Standard
32603 Included documents are displayed in LyX as a box like this: 
32604 \begin_inset Graphics
32605         filename clipart/ChildDocumentQt4.png
32606         scale 85
32607         scaleBeforeRotation
32608
32609 \end_inset
32610
32611  To include child documents in a master document use the menu 
32612 \family sans
32613 Insert\SpecialChar \menuseparator
32614 File\SpecialChar \menuseparator
32615 Child
32616 \begin_inset space ~
32617 \end_inset
32618
32619 Documents
32620 \family default
32621 .
32622  A dialog pops up where you can choose between four include methods:
32623 \end_layout
32624
32625 \begin_layout Description
32626 Include You can include LyX and LaTeX-documents.
32627  When you press the 
32628 \family sans
32629 Load
32630 \family default
32631  button in the 
32632 \family sans
32633 Child Document
32634 \family default
32635  dialog, the included documents will be opened in LyX in a new file tab
32636  so that you can modify them.
32637 \begin_inset Newline newline
32638 \end_inset
32639
32640
32641 \end_layout
32642
32643 \begin_layout Standard
32644 Here is a child document inserted using 
32645 \family sans
32646 Include
32647 \family default
32648
32649 \begin_inset CommandInset include
32650 LatexCommand include
32651 filename "DummyDocument1.lyx"
32652
32653 \end_inset
32654
32655
32656 \end_layout
32657
32658 \begin_layout Standard
32659 The section numbering includes the sections of the included files in the
32660  order they are inserted in the master document.
32661  The included example document has for example a subsection that is numbered
32662  as a subsection of this section.
32663  Labels of included documents can be referenced: Subsection
32664 \begin_inset space ~
32665 \end_inset
32666
32667
32668 \begin_inset CommandInset ref
32669 LatexCommand ref
32670 reference "sub:External-Subsection-1"
32671
32672 \end_inset
32673
32674
32675 \end_layout
32676
32677 \begin_layout Standard
32678 The preamble of the child document is ignored; only the preamble of the
32679  master document is used.
32680  Branches in child documents will be ignored by the master document when
32681  the master document does not have a branch with the same name.
32682  Included documents are inserted starting on a new page and ending with
32683  a page break.
32684 \end_layout
32685
32686 \begin_layout Standard
32687 If you are only working on a certain chapter of a large document and want
32688  to save compiling time, you can put each included file into a branch.
32689 \begin_inset Foot
32690 status collapsed
32691
32692 \begin_layout Plain Layout
32693 Branches are described in section 
32694 \emph on
32695 Branches
32696 \emph default
32697  of the LyX 
32698 \emph on
32699 Userguide
32700 \emph default
32701 .
32702 \end_layout
32703
32704 \end_inset
32705
32706  By enabling/disabling branches you can decide what included files will
32707  appear in the output.
32708 \end_layout
32709
32710 \begin_layout Standard
32711 \begin_inset Note Greyedout
32712 status open
32713
32714 \begin_layout Plain Layout
32715
32716 \series bold
32717 Note:
32718 \series default
32719  Due to a bug in LyX the LaTeX command 
32720 \series bold
32721
32722 \backslash
32723 includeonly
32724 \series default
32725  can currently not be used as an alternative to decide what files should
32726  be included.
32727 \end_layout
32728
32729 \end_inset
32730
32731
32732 \end_layout
32733
32734 \begin_layout Standard
32735 \begin_inset Note Greyedout
32736 status open
32737
32738 \begin_layout Plain Layout
32739
32740 \series bold
32741 Note:
32742 \series default
32743  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
32744 w the document in case the child document uses another document class than
32745  the master document as this will lead to unexpected outputs.
32746 \end_layout
32747
32748 \end_inset
32749
32750
32751 \end_layout
32752
32753 \begin_layout Description
32754 Input This method is very similar to the Include method.
32755  The differences are:
32756 \end_layout
32757
32758 \begin_deeper
32759 \begin_layout Itemize
32760 Input files don't start with a new page and don't end with a page break.
32761 \end_layout
32762
32763 \begin_layout Itemize
32764 Input files can be previewed in LyX when 
32765 \family sans
32766 Instant
32767 \begin_inset space ~
32768 \end_inset
32769
32770 Preview
32771 \family default
32772  is enabled in LyX's preferences under 
32773 \family sans
32774 Look
32775 \begin_inset space ~
32776 \end_inset
32777
32778 and
32779 \begin_inset space ~
32780 \end_inset
32781
32782 feel\SpecialChar \menuseparator
32783 Graphics
32784 \family default
32785 .
32786 \end_layout
32787
32788 \begin_layout Itemize
32789 The LaTeX-command 
32790 \series bold
32791
32792 \backslash
32793 includeonly
32794 \series default
32795  cannot be used.
32796 \end_layout
32797
32798 \end_deeper
32799 \begin_layout Standard
32800 Here is a child document inserted using 
32801 \family sans
32802 Input
32803 \family default
32804
32805 \begin_inset CommandInset include
32806 LatexCommand input
32807 filename "DummyDocument2.lyx"
32808
32809 \end_inset
32810
32811
32812 \end_layout
32813
32814 \begin_layout Description
32815 Verbatim With this method every text file can be included.
32816  The file is shown in the output with its source code; no command used in
32817  the text is invoked.
32818  You can use the option 
32819 \family sans
32820 Mark spaces in output
32821 \family default
32822  that displays the character 
32823 \begin_inset Quotes eld
32824 \end_inset
32825
32826
32827 \begin_inset ERT
32828 status collapsed
32829
32830 \begin_layout Plain Layout
32831
32832
32833 \backslash
32834 textvisiblespace 
32835 \end_layout
32836
32837 \end_inset
32838
32839
32840 \begin_inset Quotes erd
32841 \end_inset
32842
32843  for every space character in the source code.
32844  The difference from the method via the menu 
32845 \family sans
32846 Insert\SpecialChar \menuseparator
32847 File\SpecialChar \menuseparator
32848 Plain
32849 \begin_inset space ~
32850 \end_inset
32851
32852 Text
32853 \family default
32854  is that the document content is not shown in LyX.
32855 \end_layout
32856
32857 \begin_layout Standard
32858 Here is a child document inserted as Verbatim: 
32859 \begin_inset CommandInset include
32860 LatexCommand verbatiminput
32861 filename "DummyTextDocument.txt"
32862
32863 \end_inset
32864
32865
32866 \begin_inset VSpace bigskip
32867 \end_inset
32868
32869 Here is a child document inserted as Verbatim using the 
32870 \family sans
32871 Mark spaces in output
32872 \family default
32873  option: 
32874 \begin_inset CommandInset include
32875 LatexCommand verbatiminput*
32876 filename "DummyTextDocument.txt"
32877
32878 \end_inset
32879
32880
32881 \end_layout
32882
32883 \begin_layout Standard
32884 \begin_inset VSpace bigskip
32885 \end_inset
32886
32887
32888 \end_layout
32889
32890 \begin_layout Standard
32891 \begin_inset Note Greyedout
32892 status open
32893
32894 \begin_layout Plain Layout
32895
32896 \series bold
32897 Note:
32898 \series default
32899  As you can see in the examples above, the text of the documents included
32900  as 
32901 \family sans
32902 verbatim
32903 \family default
32904  is not broken at the end of the document lines.
32905 \end_layout
32906
32907 \end_inset
32908
32909
32910 \end_layout
32911
32912 \begin_layout Description
32913 Listings This type is described in chapter
32914 \begin_inset space ~
32915 \end_inset
32916
32917
32918 \begin_inset CommandInset ref
32919 LatexCommand ref
32920 reference "cha:Program-Code-Listings"
32921
32922 \end_inset
32923
32924 .
32925 \end_layout
32926
32927 \begin_layout Standard
32928 \begin_inset Note Greyedout
32929 status open
32930
32931 \begin_layout Plain Layout
32932
32933 \series bold
32934 Note:
32935 \series default
32936  Including the same document twice in a document using different methods
32937  could cause LaTeX-problems.
32938 \end_layout
32939
32940 \end_inset
32941
32942
32943 \end_layout
32944
32945 \begin_layout Chapter
32946 Program Code Listings
32947 \begin_inset CommandInset label
32948 LatexCommand label
32949 name "cha:Program-Code-Listings"
32950
32951 \end_inset
32952
32953
32954 \begin_inset Index idx
32955 status collapsed
32956
32957 \begin_layout Plain Layout
32958 Listings
32959 \end_layout
32960
32961 \end_inset
32962
32963
32964 \begin_inset Index idx
32965 status collapsed
32966
32967 \begin_layout Plain Layout
32968 Program Code
32969 \end_layout
32970
32971 \end_inset
32972
32973
32974 \begin_inset Index idx
32975 status collapsed
32976
32977 \begin_layout Plain Layout
32978 Floats ! Listings
32979 \end_layout
32980
32981 \end_inset
32982
32983
32984 \end_layout
32985
32986 \begin_layout Standard
32987 To include and typeset program code you can use the 
32988 \family sans
32989 Listings
32990 \family default
32991  inset that can be inserted via the menu 
32992 \family sans
32993 Insert\SpecialChar \menuseparator
32994 Program Listing
32995 \family default
32996 .
32997  The LaTeX-package 
32998 \series bold
32999 listings
33000 \series default
33001
33002 \begin_inset Index idx
33003 status collapsed
33004
33005 \begin_layout Plain Layout
33006 LaTeX-packages ! listings
33007 \end_layout
33008
33009 \end_inset
33010
33011  provides a powerful and flexible way to insert program source code into
33012  your document.
33013 \end_layout
33014
33015 \begin_layout Standard
33016 Right-clicking on a listings inset opens the context menu containing where
33017  you can set the listings format.
33018 \end_layout
33019
33020 \begin_layout Standard
33021 By default, a listing starts a new paragraph in the output.
33022  The placement option 
33023 \family sans
33024 Inline
33025 \begin_inset space ~
33026 \end_inset
33027
33028 listing
33029 \family default
33030  prints the listing inline like this: 
33031 \begin_inset listings
33032 lstparams "language={C++}"
33033 inline true
33034 status open
33035
33036 \begin_layout Plain Layout
33037
33038 int a=5;
33039 \end_layout
33040
33041 \end_inset
33042
33043
33044 \begin_inset Newline newline
33045 \end_inset
33046
33047 The option 
33048 \family sans
33049 Float
33050 \family default
33051  creates a listings float where you can specify the placement options 
33052 \begin_inset Quotes eld
33053 \end_inset
33054
33055
33056 \family sans
33057 h
33058 \family default
33059
33060 \begin_inset Quotes erd
33061 \end_inset
33062
33063
33064 \begin_inset Quotes eld
33065 \end_inset
33066
33067
33068 \family sans
33069 t
33070 \family default
33071
33072 \begin_inset Quotes erd
33073 \end_inset
33074
33075
33076 \begin_inset Quotes eld
33077 \end_inset
33078
33079
33080 \family sans
33081 b
33082 \family default
33083
33084 \begin_inset Quotes erd
33085 \end_inset
33086
33087 , and 
33088 \begin_inset Quotes eld
33089 \end_inset
33090
33091
33092 \family sans
33093 p
33094 \family default
33095
33096 \begin_inset Quotes erd
33097 \end_inset
33098
33099  corresponding to the float placement options described in section
33100 \begin_inset space ~
33101 \end_inset
33102
33103
33104 \begin_inset CommandInset ref
33105 LatexCommand ref
33106 reference "sec:Float-Placement"
33107
33108 \end_inset
33109
33110 .
33111  The placement options can be mixed and are inserted without any separation,
33112  e.
33113 \begin_inset space \thinspace{}
33114 \end_inset
33115
33116 g.
33117 \begin_inset space \space{}
33118 \end_inset
33119
33120
33121 \begin_inset Quotes eld
33122 \end_inset
33123
33124
33125 \family sans
33126 htbp
33127 \family default
33128
33129 \begin_inset Quotes erd
33130 \end_inset
33131
33132 .
33133  The option 
33134 \begin_inset Quotes eld
33135 \end_inset
33136
33137 h
33138 \begin_inset Quotes erd
33139 \end_inset
33140
33141  has sometimes no effect, but you don't need to use the 
33142 \family sans
33143 Float
33144 \family default
33145  option in this case as also non-float listings can have captions and be
33146  referenced.
33147 \end_layout
33148
33149 \begin_layout Standard
33150 You can add captions to listings with the menu 
33151 \family sans
33152 Insert\SpecialChar \menuseparator
33153 Caption
33154 \family default
33155 .
33156  Listings can be referenced like floats: Listing
33157 \begin_inset space ~
33158 \end_inset
33159
33160
33161 \begin_inset CommandInset ref
33162 LatexCommand ref
33163 reference "lst:Example-Listing"
33164
33165 \end_inset
33166
33167
33168 \end_layout
33169
33170 \begin_layout Standard
33171 \begin_inset listings
33172 lstparams "language=Python"
33173 inline false
33174 status open
33175
33176 \begin_layout Plain Layout
33177
33178 \begin_inset Caption
33179
33180 \begin_layout Plain Layout
33181 \begin_inset CommandInset label
33182 LatexCommand label
33183 name "lst:Example-Listing"
33184
33185 \end_inset
33186
33187 Example Listing float
33188 \end_layout
33189
33190 \end_inset
33191
33192 # Example listing float
33193 \end_layout
33194
33195 \begin_layout Plain Layout
33196
33197 def func(param):
33198 \end_layout
33199
33200 \begin_layout Plain Layout
33201
33202     'this is a python function'
33203 \end_layout
33204
33205 \begin_layout Plain Layout
33206
33207     pass
33208 \end_layout
33209
33210 \end_inset
33211
33212
33213 \end_layout
33214
33215 \begin_layout Standard
33216 When you have set a programming language in the listings dialog, the keywords
33217  of this language will be recognized and specially typeset in the output.
33218  In the example listings the Python keyword 
33219 \begin_inset Quotes eld
33220 \end_inset
33221
33222 def
33223 \begin_inset Quotes erd
33224 \end_inset
33225
33226  is recognized and printed bold in the output.
33227 \end_layout
33228
33229 \begin_layout Standard
33230 \begin_inset Note Greyedout
33231 status open
33232
33233 \begin_layout Plain Layout
33234
33235 \series bold
33236 Note:
33237 \series default
33238  If you don't get bold keywords when using typewriter fonts, your 
33239 \family typewriter
33240 typewriter
33241 \family default
33242  font probably doesn't provide a bold shape.
33243  In this case select a different one in the menu 
33244 \family sans
33245 Document\SpecialChar \menuseparator
33246 Settings\SpecialChar \menuseparator
33247 Fonts
33248 \family default
33249 .
33250  (The fonts 
33251 \emph on
33252 LuxiMono, BeraMono
33253 \emph default
33254  and 
33255 \emph on
33256 Courier
33257 \emph default
33258  provide bold shapes.)
33259 \end_layout
33260
33261 \end_inset
33262
33263
33264 \end_layout
33265
33266 \begin_layout Standard
33267 In section 
33268 \family sans
33269 Line
33270 \begin_inset space ~
33271 \end_inset
33272
33273 numbering
33274 \family default
33275  of the listings dialog you can specify the line numbering style.
33276  You can insert a number to specify which lines are numbered in the field
33277  
33278 \family sans
33279 Step
33280 \family default
33281 .
33282  When you insert e.
33283 \begin_inset space \thinspace{}
33284 \end_inset
33285
33286 g.
33287 \begin_inset space \space{}
33288 \end_inset
33289
33290
33291 \begin_inset Quotes eld
33292 \end_inset
33293
33294 3
33295 \begin_inset Quotes erd
33296 \end_inset
33297
33298 , only every 3rd line will be numbered.
33299 \end_layout
33300
33301 \begin_layout Standard
33302 You can furthermore specify a range of lines; only these will then appear
33303  in the output.
33304  The option 
33305 \family sans
33306 Extended character table
33307 \family default
33308  should be used when you use national characters like the German umlauts
33309  in the listing.
33310 \begin_inset Newline newline
33311 \end_inset
33312
33313 Here is an example listing with left line numbering, step 
33314 \begin_inset Quotes eld
33315 \end_inset
33316
33317 3
33318 \begin_inset Quotes erd
33319 \end_inset
33320
33321 , language 
33322 \begin_inset Quotes eld
33323 \end_inset
33324
33325 Python
33326 \begin_inset Quotes erd
33327 \end_inset
33328
33329 , options 
33330 \begin_inset Quotes eld
33331 \end_inset
33332
33333 Extended character table
33334 \begin_inset Quotes erd
33335 \end_inset
33336
33337  and 
33338 \begin_inset Quotes eld
33339 \end_inset
33340
33341 Space
33342 \begin_inset space ~
33343 \end_inset
33344
33345 as
33346 \begin_inset space ~
33347 \end_inset
33348
33349 symbol
33350 \begin_inset Quotes erd
33351 \end_inset
33352
33353 , range lines 3
33354 \begin_inset space \thinspace{}
33355 \end_inset
33356
33357 -
33358 \begin_inset space \thinspace{}
33359 \end_inset
33360
33361 8:
33362 \end_layout
33363
33364 \begin_layout Standard
33365 \begin_inset listings
33366 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
33367 inline false
33368 status open
33369
33370 \begin_layout Plain Layout
33371
33372 def func(param):
33373 \end_layout
33374
33375 \begin_layout Plain Layout
33376
33377     'this is a python function'
33378 \end_layout
33379
33380 \begin_layout Plain Layout
33381
33382     pass
33383 \end_layout
33384
33385 \begin_layout Plain Layout
33386
33387 def func(param):
33388 \end_layout
33389
33390 \begin_layout Plain Layout
33391
33392 'This is a German word: Tschüß'
33393 \end_layout
33394
33395 \begin_layout Plain Layout
33396
33397 pass
33398 \end_layout
33399
33400 \begin_layout Plain Layout
33401
33402 def func(param):
33403 \end_layout
33404
33405 \begin_layout Plain Layout
33406
33407 'this is a python function'
33408 \end_layout
33409
33410 \begin_layout Plain Layout
33411
33412 pass
33413 \end_layout
33414
33415 \end_inset
33416
33417
33418 \end_layout
33419
33420 \begin_layout Standard
33421 When you have tabulators in your listing, you can specify the number of
33422  characters that are spanned by a tabulator in the field 
33423 \family sans
33424 Tabulator
33425 \begin_inset space ~
33426 \end_inset
33427
33428 size
33429 \family default
33430 .
33431 \end_layout
33432
33433 \begin_layout Standard
33434 \begin_inset Note Greyedout
33435 status open
33436
33437 \begin_layout Plain Layout
33438
33439 \series bold
33440 Note:
33441 \series default
33442  Due to a bug in the 
33443 \series bold
33444 listings
33445 \series default
33446  package the line numbering is shifted by a line by every previous listing.
33447  That's the reason why the lines 2 and 5 are numbered in the above listing
33448  and not the lines 3 and 6.
33449 \end_layout
33450
33451 \end_inset
33452
33453
33454 \end_layout
33455
33456 \begin_layout Standard
33457 \begin_inset VSpace bigskip
33458 \end_inset
33459
33460
33461 \end_layout
33462
33463 \begin_layout Standard
33464 It is also possible to print lines from a file as listing.
33465  To do this, use the menu 
33466 \family sans
33467 Insert\SpecialChar \menuseparator
33468 File\SpecialChar \menuseparator
33469 Child Document
33470 \family default
33471  and choose the type 
33472 \family sans
33473 Listings
33474 \family default
33475 .
33476 \begin_inset Foot
33477 status collapsed
33478
33479 \begin_layout Plain Layout
33480 The other child document types are described in section
33481 \begin_inset space ~
33482 \end_inset
33483
33484
33485 \begin_inset CommandInset ref
33486 LatexCommand ref
33487 reference "sec:Child-Documents"
33488
33489 \end_inset
33490
33491 .
33492 \end_layout
33493
33494 \end_inset
33495
33496  In the child document dialog you can specify the listing parameters in
33497  a text box.
33498  To show a list of all available parameters, type in a question mark 
33499 \begin_inset Quotes eld
33500 \end_inset
33501
33502 ?
33503 \begin_inset Quotes erd
33504 \end_inset
33505
33506  in the text box.
33507 \end_layout
33508
33509 \begin_layout Standard
33510 To reference child document listings, write a label text into the corresponding
33511  field of the child document dialog.
33512  The label can then be referenced using the menu 
33513 \family sans
33514 Insert\SpecialChar \menuseparator
33515 Cross-Reference
33516 \family default
33517 .
33518 \end_layout
33519
33520 \begin_layout Standard
33521 Listing
33522 \begin_inset space ~
33523 \end_inset
33524
33525
33526 \begin_inset CommandInset ref
33527 LatexCommand ref
33528 reference "lst:file-listing"
33529
33530 \end_inset
33531
33532  is an example for a listing of a file; there the lines 10
33533 \begin_inset space \thinspace{}
33534 \end_inset
33535
33536 -
33537 \begin_inset space \thinspace{}
33538 \end_inset
33539
33540 15 of this LyX file are listed.
33541 \end_layout
33542
33543 \begin_layout Standard
33544 \begin_inset CommandInset include
33545 LatexCommand lstinputlisting
33546 filename "EmbeddedObjects.lyx"
33547 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
33548
33549 \end_inset
33550
33551
33552 \end_layout
33553
33554 \begin_layout Standard
33555 \begin_inset VSpace bigskip
33556 \end_inset
33557
33558
33559 \end_layout
33560
33561 \begin_layout Standard
33562 Inserting a formula into a listing can be done the following way:
33563 \end_layout
33564
33565 \begin_layout Enumerate
33566 Open the listings dialog and add
33567 \begin_inset Newline newline
33568 \end_inset
33569
33570
33571 \family sans
33572 mathescape=true
33573 \family default
33574
33575 \begin_inset Newline newline
33576 \end_inset
33577
33578 to the field of the 
33579 \family sans
33580 Advanced
33581 \family default
33582  tab.
33583 \end_layout
33584
33585 \begin_layout Enumerate
33586 Create a formula outside the listing
33587 \end_layout
33588
33589 \begin_layout Enumerate
33590 Copy the content of the formula (not the formula inset) to the clipboard
33591  (shortcut 
33592 \begin_inset Info
33593 type  "shortcut"
33594 arg   "copy"
33595 \end_inset
33596
33597 )
33598 \end_layout
33599
33600 \begin_layout Enumerate
33601 In the listing write 
33602 \begin_inset Quotes eld
33603 \end_inset
33604
33605
33606 \family sans
33607 $$
33608 \family default
33609
33610 \begin_inset Quotes erd
33611 \end_inset
33612
33613  and copy from the clipboard between the dollar-signs (shortcut 
33614 \begin_inset Info
33615 type  "shortcut"
33616 arg   "paste"
33617 \end_inset
33618
33619 )
33620 \end_layout
33621
33622 \begin_layout Standard
33623 \begin_inset listings
33624 lstparams "language=Python,mathescape=true"
33625 inline false
33626 status open
33627
33628 \begin_layout Plain Layout
33629
33630 \begin_inset Caption
33631
33632 \begin_layout Plain Layout
33633 Example Listing float containing a formula
33634 \end_layout
33635
33636 \end_inset
33637
33638 # Example listing float
33639 \end_layout
33640
33641 \begin_layout Plain Layout
33642
33643 def func(param):
33644 \end_layout
33645
33646 \begin_layout Plain Layout
33647
33648     # $
33649 \backslash
33650 prod_{n=1}^{
33651 \backslash
33652 infty}
33653 \backslash
33654 ,
33655 \backslash
33656 frac{1}{x^{2}}$
33657 \end_layout
33658
33659 \begin_layout Plain Layout
33660
33661     pass
33662 \end_layout
33663
33664 \end_inset
33665
33666
33667 \end_layout
33668
33669 \begin_layout Standard
33670 \begin_inset VSpace bigskip
33671 \end_inset
33672
33673
33674 \end_layout
33675
33676 \begin_layout Standard
33677 Global listings settings can be set in the 
33678 \family sans
33679 Document\SpecialChar \menuseparator
33680 Settings\SpecialChar \menuseparator
33681 Text Layout
33682 \family default
33683  dialog.
33684  To get there a list of available options, type in a question mark 
33685 \begin_inset Quotes eld
33686 \end_inset
33687
33688 ?
33689 \begin_inset Quotes erd
33690 \end_inset
33691
33692  in the 
33693 \family sans
33694 Listings
33695 \begin_inset space ~
33696 \end_inset
33697
33698 settings
33699 \family default
33700  field.
33701 \end_layout
33702
33703 \begin_layout Standard
33704 For more information about the 
33705 \series bold
33706 listings
33707 \series default
33708  package, we refer to its documentation 
33709 \begin_inset CommandInset citation
33710 LatexCommand cite
33711 key "listings"
33712
33713 \end_inset
33714
33715 .
33716 \end_layout
33717
33718 \begin_layout Standard
33719 \begin_inset Newpage newpage
33720 \end_inset
33721
33722
33723 \end_layout
33724
33725 \begin_layout Chapter
33726 \start_of_appendix
33727 Units available in LyX
33728 \begin_inset Index idx
33729 status collapsed
33730
33731 \begin_layout Plain Layout
33732 Units
33733 \end_layout
33734
33735 \end_inset
33736
33737
33738 \begin_inset CommandInset label
33739 LatexCommand label
33740 name "cha:Units-available-in"
33741
33742 \end_inset
33743
33744
33745 \end_layout
33746
33747 \begin_layout Standard
33748 To understand the units described in this documentation, Table
33749 \begin_inset space ~
33750 \end_inset
33751
33752
33753 \begin_inset CommandInset ref
33754 LatexCommand ref
33755 reference "tab:Units"
33756
33757 \end_inset
33758
33759  explains all units available in LyX.
33760 \end_layout
33761
33762 \begin_layout Standard
33763 \begin_inset Float table
33764 placement h
33765 wide false
33766 sideways false
33767 status open
33768
33769 \begin_layout Plain Layout
33770 \begin_inset Caption
33771
33772 \begin_layout Plain Layout
33773 \begin_inset CommandInset label
33774 LatexCommand label
33775 name "tab:Units"
33776
33777 \end_inset
33778
33779 Units
33780 \end_layout
33781
33782 \end_inset
33783
33784
33785 \end_layout
33786
33787 \begin_layout Plain Layout
33788 \begin_inset VSpace medskip
33789 \end_inset
33790
33791
33792 \end_layout
33793
33794 \begin_layout Plain Layout
33795 \align center
33796 \begin_inset Tabular
33797 <lyxtabular version="3" rows="20" columns="2">
33798 <features tabularvalignment="middle">
33799 <column alignment="center" valignment="top" width="0">
33800 <column alignment="center" valignment="top" width="0">
33801 <row>
33802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33803 \begin_inset Text
33804
33805 \begin_layout Plain Layout
33806 unit
33807 \end_layout
33808
33809 \end_inset
33810 </cell>
33811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33812 \begin_inset Text
33813
33814 \begin_layout Plain Layout
33815 name/description
33816 \end_layout
33817
33818 \end_inset
33819 </cell>
33820 </row>
33821 <row>
33822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33823 \begin_inset Text
33824
33825 \begin_layout Plain Layout
33826 mm
33827 \end_layout
33828
33829 \end_inset
33830 </cell>
33831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33832 \begin_inset Text
33833
33834 \begin_layout Plain Layout
33835 millimeter
33836 \end_layout
33837
33838 \end_inset
33839 </cell>
33840 </row>
33841 <row>
33842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33843 \begin_inset Text
33844
33845 \begin_layout Plain Layout
33846 cm
33847 \end_layout
33848
33849 \end_inset
33850 </cell>
33851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33852 \begin_inset Text
33853
33854 \begin_layout Plain Layout
33855 centimeter
33856 \end_layout
33857
33858 \end_inset
33859 </cell>
33860 </row>
33861 <row>
33862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33863 \begin_inset Text
33864
33865 \begin_layout Plain Layout
33866 in
33867 \end_layout
33868
33869 \end_inset
33870 </cell>
33871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33872 \begin_inset Text
33873
33874 \begin_layout Plain Layout
33875 inch
33876 \end_layout
33877
33878 \end_inset
33879 </cell>
33880 </row>
33881 <row>
33882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33883 \begin_inset Text
33884
33885 \begin_layout Plain Layout
33886 pt
33887 \end_layout
33888
33889 \end_inset
33890 </cell>
33891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33892 \begin_inset Text
33893
33894 \begin_layout Plain Layout
33895 point (72.27
33896 \begin_inset space \thinspace{}
33897 \end_inset
33898
33899 pt = 1
33900 \begin_inset space \thinspace{}
33901 \end_inset
33902
33903 in)
33904 \end_layout
33905
33906 \end_inset
33907 </cell>
33908 </row>
33909 <row>
33910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33911 \begin_inset Text
33912
33913 \begin_layout Plain Layout
33914 pc
33915 \end_layout
33916
33917 \end_inset
33918 </cell>
33919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33920 \begin_inset Text
33921
33922 \begin_layout Plain Layout
33923 pica (1
33924 \begin_inset space \thinspace{}
33925 \end_inset
33926
33927 pc = 12
33928 \begin_inset space \thinspace{}
33929 \end_inset
33930
33931 pt)
33932 \end_layout
33933
33934 \end_inset
33935 </cell>
33936 </row>
33937 <row>
33938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33939 \begin_inset Text
33940
33941 \begin_layout Plain Layout
33942 sp
33943 \end_layout
33944
33945 \end_inset
33946 </cell>
33947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33948 \begin_inset Text
33949
33950 \begin_layout Plain Layout
33951 scaled point (65536
33952 \begin_inset space \thinspace{}
33953 \end_inset
33954
33955 sp = 1
33956 \begin_inset space \thinspace{}
33957 \end_inset
33958
33959 pt)
33960 \end_layout
33961
33962 \end_inset
33963 </cell>
33964 </row>
33965 <row>
33966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33967 \begin_inset Text
33968
33969 \begin_layout Plain Layout
33970 bp
33971 \end_layout
33972
33973 \end_inset
33974 </cell>
33975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33976 \begin_inset Text
33977
33978 \begin_layout Plain Layout
33979 big point (72
33980 \begin_inset space \thinspace{}
33981 \end_inset
33982
33983 bp = 1
33984 \begin_inset space \thinspace{}
33985 \end_inset
33986
33987 in)
33988 \end_layout
33989
33990 \end_inset
33991 </cell>
33992 </row>
33993 <row>
33994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33995 \begin_inset Text
33996
33997 \begin_layout Plain Layout
33998 dd
33999 \end_layout
34000
34001 \end_inset
34002 </cell>
34003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34004 \begin_inset Text
34005
34006 \begin_layout Plain Layout
34007 didot (1
34008 \begin_inset space \thinspace{}
34009 \end_inset
34010
34011 dd 
34012 \begin_inset Formula $\approx$
34013 \end_inset
34014
34015  0.376
34016 \begin_inset space \thinspace{}
34017 \end_inset
34018
34019 mm)
34020 \end_layout
34021
34022 \end_inset
34023 </cell>
34024 </row>
34025 <row>
34026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34027 \begin_inset Text
34028
34029 \begin_layout Plain Layout
34030 cc
34031 \end_layout
34032
34033 \end_inset
34034 </cell>
34035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34036 \begin_inset Text
34037
34038 \begin_layout Plain Layout
34039 cicero (1
34040 \begin_inset space \thinspace{}
34041 \end_inset
34042
34043 cc = 12
34044 \begin_inset space \thinspace{}
34045 \end_inset
34046
34047 dd)
34048 \end_layout
34049
34050 \end_inset
34051 </cell>
34052 </row>
34053 <row>
34054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34055 \begin_inset Text
34056
34057 \begin_layout Plain Layout
34058 Scale%
34059 \end_layout
34060
34061 \end_inset
34062 </cell>
34063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34064 \begin_inset Text
34065
34066 \begin_layout Plain Layout
34067 % of original image width
34068 \end_layout
34069
34070 \end_inset
34071 </cell>
34072 </row>
34073 <row>
34074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34075 \begin_inset Text
34076
34077 \begin_layout Plain Layout
34078 text%
34079 \end_layout
34080
34081 \end_inset
34082 </cell>
34083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34084 \begin_inset Text
34085
34086 \begin_layout Plain Layout
34087 % of text width
34088 \end_layout
34089
34090 \end_inset
34091 </cell>
34092 </row>
34093 <row>
34094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34095 \begin_inset Text
34096
34097 \begin_layout Plain Layout
34098 col%
34099 \end_layout
34100
34101 \end_inset
34102 </cell>
34103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34104 \begin_inset Text
34105
34106 \begin_layout Plain Layout
34107 % of column width
34108 \end_layout
34109
34110 \end_inset
34111 </cell>
34112 </row>
34113 <row>
34114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34115 \begin_inset Text
34116
34117 \begin_layout Plain Layout
34118 page%
34119 \end_layout
34120
34121 \end_inset
34122 </cell>
34123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34124 \begin_inset Text
34125
34126 \begin_layout Plain Layout
34127 % of paper width
34128 \end_layout
34129
34130 \end_inset
34131 </cell>
34132 </row>
34133 <row>
34134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34135 \begin_inset Text
34136
34137 \begin_layout Plain Layout
34138 line%
34139 \end_layout
34140
34141 \end_inset
34142 </cell>
34143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34144 \begin_inset Text
34145
34146 \begin_layout Plain Layout
34147 % of line width
34148 \end_layout
34149
34150 \end_inset
34151 </cell>
34152 </row>
34153 <row>
34154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34155 \begin_inset Text
34156
34157 \begin_layout Plain Layout
34158 theight%
34159 \end_layout
34160
34161 \end_inset
34162 </cell>
34163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34164 \begin_inset Text
34165
34166 \begin_layout Plain Layout
34167 % of text height
34168 \end_layout
34169
34170 \end_inset
34171 </cell>
34172 </row>
34173 <row>
34174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34175 \begin_inset Text
34176
34177 \begin_layout Plain Layout
34178 pheight%
34179 \end_layout
34180
34181 \end_inset
34182 </cell>
34183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34184 \begin_inset Text
34185
34186 \begin_layout Plain Layout
34187 % of paper height
34188 \end_layout
34189
34190 \end_inset
34191 </cell>
34192 </row>
34193 <row>
34194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34195 \begin_inset Text
34196
34197 \begin_layout Plain Layout
34198 ex
34199 \end_layout
34200
34201 \end_inset
34202 </cell>
34203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34204 \begin_inset Text
34205
34206 \begin_layout Plain Layout
34207 height of letter 
34208 \emph on
34209 x
34210 \emph default
34211  in current font
34212 \end_layout
34213
34214 \end_inset
34215 </cell>
34216 </row>
34217 <row>
34218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34219 \begin_inset Text
34220
34221 \begin_layout Plain Layout
34222 em
34223 \end_layout
34224
34225 \end_inset
34226 </cell>
34227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34228 \begin_inset Text
34229
34230 \begin_layout Plain Layout
34231 width of letter 
34232 \emph on
34233 M
34234 \emph default
34235  in current font
34236 \end_layout
34237
34238 \end_inset
34239 </cell>
34240 </row>
34241 <row>
34242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34243 \begin_inset Text
34244
34245 \begin_layout Plain Layout
34246 mu
34247 \end_layout
34248
34249 \end_inset
34250 </cell>
34251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34252 \begin_inset Text
34253
34254 \begin_layout Plain Layout
34255 math unit (1
34256 \begin_inset space \thinspace{}
34257 \end_inset
34258
34259 mu = 1/18
34260 \begin_inset space \thinspace{}
34261 \end_inset
34262
34263 em)
34264 \end_layout
34265
34266 \end_inset
34267 </cell>
34268 </row>
34269 </lyxtabular>
34270
34271 \end_inset
34272
34273
34274 \end_layout
34275
34276 \end_inset
34277
34278
34279 \end_layout
34280
34281 \begin_layout Chapter
34282 Output File Formats with Graphics
34283 \begin_inset CommandInset label
34284 LatexCommand label
34285 name "cha:Output-File-Formats"
34286
34287 \end_inset
34288
34289
34290 \end_layout
34291
34292 \begin_layout Section
34293 DVI
34294 \begin_inset Index idx
34295 status collapsed
34296
34297 \begin_layout Plain Layout
34298 File Formats ! DVI
34299 \end_layout
34300
34301 \end_inset
34302
34303
34304 \begin_inset Index idx
34305 status collapsed
34306
34307 \begin_layout Plain Layout
34308 DVI|see
34309 \begin_inset ERT
34310 status collapsed
34311
34312 \begin_layout Plain Layout
34313
34314 {
34315 \end_layout
34316
34317 \end_inset
34318
34319 File Formats
34320 \begin_inset ERT
34321 status collapsed
34322
34323 \begin_layout Plain Layout
34324
34325 }
34326 \end_layout
34327
34328 \end_inset
34329
34330
34331 \end_layout
34332
34333 \end_inset
34334
34335
34336 \end_layout
34337
34338 \begin_layout Standard
34339 This file type has the extension 
34340 \begin_inset Quotes eld
34341 \end_inset
34342
34343
34344 \family typewriter
34345 .dvi
34346 \family default
34347
34348 \begin_inset Quotes erd
34349 \end_inset
34350
34351 .
34352  It is called 
34353 \begin_inset Quotes eld
34354 \end_inset
34355
34356 device-independent
34357 \begin_inset Quotes erd
34358 \end_inset
34359
34360  (DVI), because it is completely portable; you can move them from one machine
34361  to another without needing to do any sort of conversion.
34362  At the time when this file-format was developed, this was no matter of
34363  course.
34364  DVIs are used for quick previews and as pre-stage for other output formats,
34365  like PostScript.
34366 \end_layout
34367
34368 \begin_layout Standard
34369 \begin_inset Note Greyedout
34370 status open
34371
34372 \begin_layout Plain Layout
34373
34374 \series bold
34375 Note:
34376 \series default
34377  DVI-files do not contain images; they will only be a linked.
34378 \end_layout
34379
34380 \end_inset
34381
34382  So don't forget this, if you move your 
34383 \family typewriter
34384 .dvi
34385 \family default
34386  file to another computer.
34387  This property can also slow down your computer when you view the DVI, because
34388  the DVI-viewer has to convert the image in the background to make it visible
34389  when you scroll in the DVI.
34390  So it is recommended that you use PDF for files with many images.
34391 \end_layout
34392
34393 \begin_layout Standard
34394 You can export your document to DVI by using the menu 
34395 \family sans
34396 File\SpecialChar \menuseparator
34397 Export\SpecialChar \menuseparator
34398 DVI
34399 \family default
34400 .
34401  You can view your document as DVI via the 
34402 \family sans
34403 View
34404 \family default
34405  menu or by using the toolbar button 
34406 \begin_inset Graphics
34407         filename ../images/buffer-view_dvi.png
34408         scale 85
34409         scaleBeforeRotation
34410
34411 \end_inset
34412
34413 .
34414 \end_layout
34415
34416 \begin_layout Section
34417 PostScript
34418 \begin_inset CommandInset label
34419 LatexCommand label
34420 name "sec:PostScript"
34421
34422 \end_inset
34423
34424
34425 \begin_inset Index idx
34426 status collapsed
34427
34428 \begin_layout Plain Layout
34429 File Formats ! PostScript
34430 \end_layout
34431
34432 \end_inset
34433
34434
34435 \begin_inset Index idx
34436 status collapsed
34437
34438 \begin_layout Plain Layout
34439 PostScript|see
34440 \begin_inset ERT
34441 status collapsed
34442
34443 \begin_layout Plain Layout
34444
34445 {
34446 \end_layout
34447
34448 \end_inset
34449
34450 File Formats
34451 \begin_inset ERT
34452 status collapsed
34453
34454 \begin_layout Plain Layout
34455
34456 }
34457 \end_layout
34458
34459 \end_inset
34460
34461
34462 \end_layout
34463
34464 \end_inset
34465
34466
34467 \end_layout
34468
34469 \begin_layout Standard
34470 This file type has the extension 
34471 \begin_inset Quotes eld
34472 \end_inset
34473
34474
34475 \family typewriter
34476 .ps
34477 \family default
34478
34479 \begin_inset Quotes erd
34480 \end_inset
34481
34482 .
34483  PostScript was developed by the company 
34484 \family typewriter
34485 Adobe
34486 \family default
34487  as a printer language.
34488  The file therefore contains commands that the printer uses to print the
34489  file.
34490  PostScript can be seen as a 
34491 \begin_inset Quotes eld
34492 \end_inset
34493
34494 programming language
34495 \begin_inset Quotes erd
34496 \end_inset
34497
34498 ; you can calculate with it and draw diagrams and images
34499 \begin_inset Foot
34500 status collapsed
34501
34502 \begin_layout Plain Layout
34503 If you are interested to learn more about this, have a look at the LaTeX-package
34504  
34505 \series bold
34506 PSTricks
34507 \series default
34508  
34509 \begin_inset CommandInset citation
34510 LatexCommand cite
34511 key "pstricks"
34512
34513 \end_inset
34514
34515 .
34516 \end_layout
34517
34518 \end_inset
34519
34520 .
34521  Due to this ability, the files are often bigger than PDFs.
34522 \end_layout
34523
34524 \begin_layout Standard
34525 PostScript can only contain images in the format 
34526 \begin_inset Quotes eld
34527 \end_inset
34528
34529 Encapsulated PostScript
34530 \begin_inset Quotes erd
34531 \end_inset
34532
34533  (EPS, file extension 
34534 \begin_inset Quotes eld
34535 \end_inset
34536
34537
34538 \family typewriter
34539 .eps
34540 \family default
34541
34542 \begin_inset Quotes erd
34543 \end_inset
34544
34545 ).
34546  As LyX allows you to use any known image format in your document, it has
34547  to convert images in the background to EPS.
34548  If you have e.g.
34549 \begin_inset space ~
34550 \end_inset
34551
34552 50
34553 \begin_inset space ~
34554 \end_inset
34555
34556 images in your document, LyX has to do 50
34557 \begin_inset space ~
34558 \end_inset
34559
34560 conversions whenever you view or export your document.
34561  This will slow down your work flow with LyX drastically.
34562  So if you plan to use PostScript, you can insert your images directly as
34563  EPS to avoid this problem.
34564 \end_layout
34565
34566 \begin_layout Standard
34567 You can export your document to PostScript using the menu 
34568 \family sans
34569 File\SpecialChar \menuseparator
34570 Export\SpecialChar \menuseparator
34571 Postscript
34572 \family default
34573 .
34574  You can view your document as PostScript via the 
34575 \family sans
34576 View
34577 \family default
34578  menu or by using the toolbar button 
34579 \begin_inset Graphics
34580         filename ../images/buffer-view_ps.png
34581         scale 85
34582         scaleBeforeRotation
34583
34584 \end_inset
34585
34586 .
34587 \end_layout
34588
34589 \begin_layout Section
34590 PDF
34591 \begin_inset Index idx
34592 status collapsed
34593
34594 \begin_layout Plain Layout
34595 File Formats ! PDF
34596 \end_layout
34597
34598 \end_inset
34599
34600
34601 \begin_inset Index idx
34602 status collapsed
34603
34604 \begin_layout Plain Layout
34605 PDF
34606 \end_layout
34607
34608 \end_inset
34609
34610
34611 \end_layout
34612
34613 \begin_layout Standard
34614 This file type has the extension 
34615 \begin_inset Quotes eld
34616 \end_inset
34617
34618
34619 \family typewriter
34620 .pdf
34621 \family default
34622
34623 \begin_inset Quotes erd
34624 \end_inset
34625
34626 .
34627  The 
34628 \begin_inset Quotes eld
34629 \end_inset
34630
34631 Portable Document Format
34632 \begin_inset Quotes erd
34633 \end_inset
34634
34635  (PDF) was developed by 
34636 \family typewriter
34637 Adobe
34638 \family default
34639  as a derivative of PostScript.
34640  It is more compressed and it uses fewer commands than PostScript.
34641  As the name 
34642 \begin_inset Quotes eld
34643 \end_inset
34644
34645 portable
34646 \begin_inset Quotes erd
34647 \end_inset
34648
34649  implies, it can be processed at any computer system and the printed output
34650  looks exactly the same.
34651 \end_layout
34652
34653 \begin_layout Standard
34654 PDF can contain images in its own PDF format, in the format 
34655 \begin_inset Quotes eld
34656 \end_inset
34657
34658 Joint Photographic Experts Group
34659 \begin_inset Quotes erd
34660 \end_inset
34661
34662  (JPG, file extension 
34663 \begin_inset Quotes eld
34664 \end_inset
34665
34666
34667 \family typewriter
34668 .jpg
34669 \family default
34670
34671 \begin_inset Quotes erd
34672 \end_inset
34673
34674  or 
34675 \begin_inset Quotes eld
34676 \end_inset
34677
34678
34679 \family typewriter
34680 .jpeg
34681 \family default
34682
34683 \begin_inset Quotes erd
34684 \end_inset
34685
34686 ), and in the format 
34687 \begin_inset Quotes eld
34688 \end_inset
34689
34690 Portable Network Graphics
34691 \begin_inset Quotes erd
34692 \end_inset
34693
34694  (PNG, file extension 
34695 \begin_inset Quotes eld
34696 \end_inset
34697
34698
34699 \family typewriter
34700 .png
34701 \family default
34702
34703 \begin_inset Quotes erd
34704 \end_inset
34705
34706 ).
34707  Nevertheless you can use any other image format, because LyX converts them
34708  in the background to one of these formats.
34709  But as described in the section about PostScript, the image conversion
34710  will slow down your work flow.
34711  So it is recommended that you use images in one of the three mentioned
34712  formats.
34713 \end_layout
34714
34715 \begin_layout Standard
34716 You can export your document to PDF via the menu 
34717 \family sans
34718 File\SpecialChar \menuseparator
34719 Export
34720 \family default
34721  in three different ways:
34722 \end_layout
34723
34724 \begin_layout Description
34725 PDF
34726 \begin_inset space ~
34727 \end_inset
34728
34729 (ps2pdf) This uses the program 
34730 \family typewriter
34731 ps2pdf
34732 \family default
34733  that creates a PDF from a PostScript-version of your file.
34734  The PostScript-version is produced by the program 
34735 \family typewriter
34736 dvips
34737 \family default
34738  which uses a DVI-version as intermediate step.
34739  So this export variant consists of three conversions.
34740 \end_layout
34741
34742 \begin_layout Description
34743 PDF
34744 \begin_inset space ~
34745 \end_inset
34746
34747 (dvipdfm) This uses the program 
34748 \family typewriter
34749 dvipdfm
34750 \family default
34751  that converts your file in the background to DVI and in a second step to
34752  PDF.
34753 \end_layout
34754
34755 \begin_layout Description
34756 PDF
34757 \begin_inset space ~
34758 \end_inset
34759
34760 (pdflatex) This uses the program 
34761 \family typewriter
34762 pdftex
34763 \family default
34764  that converts your file directly to PDF.
34765 \end_layout
34766
34767 \begin_layout Standard
34768 It is recommended that you use 
34769 \family sans
34770 PDF
34771 \begin_inset space ~
34772 \end_inset
34773
34774 (pdflatex)
34775 \family default
34776  because 
34777 \family typewriter
34778 pdftex
34779 \family default
34780  supports all features of actual PDF-versions, is quick and works stable.
34781  The program 
34782 \family typewriter
34783 dvipdfm
34784 \family default
34785  is not under development and therefore a bit outdated.
34786 \end_layout
34787
34788 \begin_layout Standard
34789 You can view your document as PDF via the 
34790 \family sans
34791 View
34792 \family default
34793  menu or by using the toolbar button 
34794 \begin_inset Graphics
34795         filename ../images/buffer-view_pdf2.png
34796         scale 85
34797         scaleBeforeRotation
34798
34799 \end_inset
34800
34801  
34802 \family sans
34803 (
34804 \family default
34805 that uses 
34806 \family sans
34807 PDF
34808 \begin_inset space ~
34809 \end_inset
34810
34811 (pdflatex)
34812 \family default
34813 ).
34814 \end_layout
34815
34816 \begin_layout Chapter
34817 Explanation of Equation
34818 \begin_inset space ~
34819 \end_inset
34820
34821 (
34822 \begin_inset CommandInset ref
34823 LatexCommand ref
34824 reference "eq:Wgn"
34825
34826 \end_inset
34827
34828 )
34829 \begin_inset CommandInset label
34830 LatexCommand label
34831 name "cha:Explanation-of-Equation"
34832
34833 \end_inset
34834
34835
34836 \end_layout
34837
34838 \begin_layout Standard
34839 We can calculate the total width of 
34840 \emph on
34841 n
34842 \emph default
34843  table cells 
34844 \begin_inset Formula $W_{\mathrm{tot\, n}}$
34845 \end_inset
34846
34847  as follows:
34848 \end_layout
34849
34850 \begin_layout Standard
34851 \begin_inset Formula \begin{equation}
34852 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
34853 \end{equation}
34854
34855 \end_inset
34856
34857 where 
34858 \begin_inset Formula $W_{g\, n}$
34859 \end_inset
34860
34861  is the given width of all cells, 
34862 \series bold
34863
34864 \backslash
34865 tabcolsep
34866 \series default
34867  is the LaTeX-length between the cell text and the cell border (its default
34868  value is 6
34869 \begin_inset space \thinspace{}
34870 \end_inset
34871
34872 pt).
34873  
34874 \series bold
34875
34876 \backslash
34877 arrayrulewidth
34878 \series default
34879  is the thickness of the cell border line, the default is 0.4
34880 \begin_inset space \thinspace{}
34881 \end_inset
34882
34883 pt.
34884 \end_layout
34885
34886 \begin_layout Standard
34887 Following equation
34888 \begin_inset space ~
34889 \end_inset
34890
34891
34892 \begin_inset CommandInset ref
34893 LatexCommand eqref
34894 reference "eq:Wtot_n"
34895
34896 \end_inset
34897
34898 , the total width of a multicolumn 
34899 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
34900 \end_inset
34901
34902  is
34903 \end_layout
34904
34905 \begin_layout Standard
34906 \begin_inset Formula \begin{equation}
34907 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34908 \end{equation}
34909
34910 \end_inset
34911
34912
34913 \end_layout
34914
34915 \begin_layout Standard
34916 By setting equation
34917 \begin_inset space ~
34918 \end_inset
34919
34920
34921 \begin_inset CommandInset ref
34922 LatexCommand eqref
34923 reference "eq:Wtot_n"
34924
34925 \end_inset
34926
34927  and 
34928 \begin_inset CommandInset ref
34929 LatexCommand eqref
34930 reference "eq:Wtot_mult"
34931
34932 \end_inset
34933
34934  equal we can calculate the needed given width 
34935 \begin_inset Formula $W_{g\, n}$
34936 \end_inset
34937
34938  when 
34939 \emph on
34940 n
34941 \emph default
34942  columns are spanned, so that each column has a total width of 
34943 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34944 \end_inset
34945
34946 :
34947 \end_layout
34948
34949 \begin_layout Standard
34950 \begin_inset Formula \begin{equation}
34951 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34952 \end{equation}
34953
34954 \end_inset
34955
34956
34957 \end_layout
34958
34959 \begin_layout Bibliography
34960 \labelwidthstring Bibliography
34961 \begin_inset CommandInset bibitem
34962 LatexCommand bibitem
34963 key "latexcompanion"
34964
34965 \end_inset
34966
34967 Frank Mittelbach and Michel Goossens: 
34968 \emph on
34969 The LaTeX Companion Second Edition.
34970
34971 \emph default
34972  Addison-Wesley, 2004
34973 \end_layout
34974
34975 \begin_layout Bibliography
34976 \labelwidthstring Bibliography
34977 \begin_inset CommandInset bibitem
34978 LatexCommand bibitem
34979 key "latexguide"
34980
34981 \end_inset
34982
34983 Helmut Kopka and Patrick W.
34984  Daly: 
34985 \emph on
34986 A Guide to LaTeX Fourth Edition.
34987
34988 \emph default
34989  Addison-Wesley, 2003
34990 \end_layout
34991
34992 \begin_layout Bibliography
34993 \labelwidthstring Bibliography
34994 \begin_inset CommandInset bibitem
34995 LatexCommand bibitem
34996 key "latexbook"
34997
34998 \end_inset
34999
35000 Leslie Lamport: 
35001 \emph on
35002 LaTeX: A Document Preparation System.
35003
35004 \emph default
35005  Addison-Wesley, second edition, 1994
35006 \end_layout
35007
35008 \begin_layout Bibliography
35009 \labelwidthstring Bibliography
35010 \begin_inset CommandInset bibitem
35011 LatexCommand bibitem
35012 key "booktabs"
35013
35014 \end_inset
35015
35016 Documentation of the LaTeX-package 
35017 \series bold
35018
35019 \begin_inset CommandInset href
35020 LatexCommand href
35021 name "booktabs"
35022 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
35023
35024 \end_inset
35025
35026
35027 \series default
35028
35029 \begin_inset Index idx
35030 status collapsed
35031
35032 \begin_layout Plain Layout
35033 LaTeX-packages ! booktabs
35034 \end_layout
35035
35036 \end_inset
35037
35038
35039 \end_layout
35040
35041 \begin_layout Bibliography
35042 \labelwidthstring Bibliography
35043 \begin_inset CommandInset bibitem
35044 LatexCommand bibitem
35045 key "caption"
35046
35047 \end_inset
35048
35049 Documentation of the LaTeX-package 
35050 \series bold
35051
35052 \begin_inset CommandInset href
35053 LatexCommand href
35054 name "caption"
35055 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
35056
35057 \end_inset
35058
35059
35060 \series default
35061
35062 \begin_inset Index idx
35063 status collapsed
35064
35065 \begin_layout Plain Layout
35066 LaTeX-packages ! caption
35067 \end_layout
35068
35069 \end_inset
35070
35071
35072 \end_layout
35073
35074 \begin_layout Bibliography
35075 \labelwidthstring Bibliography
35076 \begin_inset CommandInset bibitem
35077 LatexCommand bibitem
35078 key "endfloat"
35079
35080 \end_inset
35081
35082 Documentation of the LaTeX-package 
35083 \series bold
35084
35085 \begin_inset CommandInset href
35086 LatexCommand href
35087 name "endfloat"
35088 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
35089
35090 \end_inset
35091
35092
35093 \series default
35094
35095 \begin_inset Index idx
35096 status collapsed
35097
35098 \begin_layout Plain Layout
35099 LaTeX-packages ! endfloat
35100 \end_layout
35101
35102 \end_inset
35103
35104
35105 \end_layout
35106
35107 \begin_layout Bibliography
35108 \labelwidthstring Bibliography
35109 \begin_inset CommandInset bibitem
35110 LatexCommand bibitem
35111 key "wrapfig"
35112
35113 \end_inset
35114
35115 Documentation of the LaTeX-package 
35116 \series bold
35117
35118 \begin_inset CommandInset href
35119 LatexCommand href
35120 name "wrapfig"
35121 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
35122
35123 \end_inset
35124
35125
35126 \series default
35127
35128 \begin_inset Index idx
35129 status collapsed
35130
35131 \begin_layout Plain Layout
35132 LaTeX-packages ! wrapfig
35133 \begin_inset ERT
35134 status collapsed
35135
35136 \begin_layout Plain Layout
35137
35138
35139 \backslash
35140 vspace{4mm}
35141 \end_layout
35142
35143 \end_inset
35144
35145
35146 \end_layout
35147
35148 \end_inset
35149
35150
35151 \end_layout
35152
35153 \begin_layout Bibliography
35154 \labelwidthstring Bibliography
35155 \begin_inset CommandInset bibitem
35156 LatexCommand bibitem
35157 key "footmisc"
35158
35159 \end_inset
35160
35161 Documentation of the LaTeX-package 
35162 \series bold
35163
35164 \begin_inset CommandInset href
35165 LatexCommand href
35166 name "footmisc"
35167 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
35168
35169 \end_inset
35170
35171
35172 \series default
35173
35174 \begin_inset Index idx
35175 status collapsed
35176
35177 \begin_layout Plain Layout
35178 LaTeX-packages ! footmisc
35179 \end_layout
35180
35181 \end_inset
35182
35183
35184 \end_layout
35185
35186 \begin_layout Bibliography
35187 \labelwidthstring Bibliography
35188 \begin_inset CommandInset bibitem
35189 LatexCommand bibitem
35190 key "hypcap"
35191
35192 \end_inset
35193
35194 Documentation of the LaTeX-package 
35195 \series bold
35196
35197 \begin_inset CommandInset href
35198 LatexCommand href
35199 name "hypcap"
35200 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
35201
35202 \end_inset
35203
35204
35205 \series default
35206
35207 \begin_inset Index idx
35208 status collapsed
35209
35210 \begin_layout Plain Layout
35211 LaTeX-packages ! hyperref
35212 \end_layout
35213
35214 \end_inset
35215
35216
35217 \end_layout
35218
35219 \begin_layout Bibliography
35220 \labelwidthstring Bibliography
35221 \begin_inset CommandInset bibitem
35222 LatexCommand bibitem
35223 key "hyperref"
35224
35225 \end_inset
35226
35227 Documentation of the LaTeX-package 
35228 \series bold
35229
35230 \begin_inset CommandInset href
35231 LatexCommand href
35232 name "hyperref"
35233 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
35234
35235 \end_inset
35236
35237
35238 \series default
35239
35240 \begin_inset Index idx
35241 status collapsed
35242
35243 \begin_layout Plain Layout
35244 LaTeX-packages ! hyperref
35245 \end_layout
35246
35247 \end_inset
35248
35249
35250 \end_layout
35251
35252 \begin_layout Bibliography
35253 \labelwidthstring Bibliography
35254 \begin_inset CommandInset bibitem
35255 LatexCommand bibitem
35256 key "KOMA-Script"
35257
35258 \end_inset
35259
35260 Documentation of the LaTeX-package 
35261 \series bold
35262
35263 \begin_inset CommandInset href
35264 LatexCommand href
35265 name "KOMA-Script"
35266 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
35267
35268 \end_inset
35269
35270
35271 \series default
35272
35273 \begin_inset Index idx
35274 status collapsed
35275
35276 \begin_layout Plain Layout
35277 LaTeX-packages ! KOMA-Script
35278 \end_layout
35279
35280 \end_inset
35281
35282
35283 \end_layout
35284
35285 \begin_layout Bibliography
35286 \labelwidthstring Bibliography
35287 \begin_inset CommandInset bibitem
35288 LatexCommand bibitem
35289 key "listings"
35290
35291 \end_inset
35292
35293 Documentation of the LaTeX-package 
35294 \series bold
35295
35296 \begin_inset CommandInset href
35297 LatexCommand href
35298 name "listings"
35299 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
35300
35301 \end_inset
35302
35303
35304 \series default
35305
35306 \begin_inset Index idx
35307 status collapsed
35308
35309 \begin_layout Plain Layout
35310 LaTeX-packages ! listings
35311 \end_layout
35312
35313 \end_inset
35314
35315
35316 \end_layout
35317
35318 \begin_layout Bibliography
35319 \labelwidthstring Bibliography
35320 \begin_inset CommandInset bibitem
35321 LatexCommand bibitem
35322 key "marginnote"
35323
35324 \end_inset
35325
35326 Documentation of the LaTeX-package 
35327 \series bold
35328
35329 \begin_inset CommandInset href
35330 LatexCommand href
35331 name "marginnote"
35332 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
35333
35334 \end_inset
35335
35336
35337 \series default
35338
35339 \begin_inset Index idx
35340 status collapsed
35341
35342 \begin_layout Plain Layout
35343 LaTeX-packages ! marginnote
35344 \end_layout
35345
35346 \end_inset
35347
35348
35349 \end_layout
35350
35351 \begin_layout Bibliography
35352 \labelwidthstring Bibliography
35353 \begin_inset CommandInset bibitem
35354 LatexCommand bibitem
35355 key "pstricks"
35356
35357 \end_inset
35358
35359 Web page of the LaTeX-package 
35360 \series bold
35361
35362 \begin_inset CommandInset href
35363 LatexCommand href
35364 name "PSTricks"
35365 target "http://tug.org/PSTricks/"
35366
35367 \end_inset
35368
35369
35370 \series default
35371
35372 \begin_inset Index idx
35373 status collapsed
35374
35375 \begin_layout Plain Layout
35376 LaTeX-packages ! PSTricks
35377 \end_layout
35378
35379 \end_inset
35380
35381
35382 \end_layout
35383
35384 \begin_layout Bibliography
35385 \labelwidthstring Bibliography
35386 \begin_inset CommandInset bibitem
35387 LatexCommand bibitem
35388 key "sidecap"
35389
35390 \end_inset
35391
35392 Documentation of the LaTeX-package 
35393 \series bold
35394
35395 \begin_inset CommandInset href
35396 LatexCommand href
35397 name "sidecap"
35398 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
35399
35400 \end_inset
35401
35402
35403 \series default
35404
35405 \begin_inset Index idx
35406 status collapsed
35407
35408 \begin_layout Plain Layout
35409 LaTeX-packages ! sidecap
35410 \end_layout
35411
35412 \end_inset
35413
35414
35415 \end_layout
35416
35417 \begin_layout Bibliography
35418 \labelwidthstring Bibliography
35419 \begin_inset CommandInset bibitem
35420 LatexCommand bibitem
35421 key "prettyref"
35422
35423 \end_inset
35424
35425 Documentation of the LaTeX-package 
35426 \series bold
35427
35428 \begin_inset CommandInset href
35429 LatexCommand href
35430 name "prettyref"
35431 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
35432
35433 \end_inset
35434
35435
35436 \series default
35437
35438 \begin_inset Index idx
35439 status collapsed
35440
35441 \begin_layout Plain Layout
35442 LaTeX-packages ! prettyref
35443 \end_layout
35444
35445 \end_inset
35446
35447
35448 \end_layout
35449
35450 \begin_layout Bibliography
35451 \labelwidthstring Bibliography
35452 \begin_inset CommandInset bibitem
35453 LatexCommand bibitem
35454 key "refstyle"
35455
35456 \end_inset
35457
35458 Documentation of the LaTeX-package 
35459 \series bold
35460
35461 \begin_inset CommandInset href
35462 LatexCommand href
35463 name "refstyle"
35464 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
35465
35466 \end_inset
35467
35468
35469 \series default
35470
35471 \begin_inset Index idx
35472 status collapsed
35473
35474 \begin_layout Plain Layout
35475 LaTeX-packages ! refstyle
35476 \end_layout
35477
35478 \end_inset
35479
35480
35481 \end_layout
35482
35483 \begin_layout Bibliography
35484 \labelwidthstring Bibliography
35485 \begin_inset CommandInset bibitem
35486 LatexCommand bibitem
35487 key "NewInLyX20"
35488
35489 \end_inset
35490
35491
35492 \begin_inset CommandInset href
35493 LatexCommand href
35494 name "Wiki page"
35495 target "http://wiki.lyx.org/LyX/NewInLyX20"
35496
35497 \end_inset
35498
35499  about new features in 
35500 \family sans
35501 LyX 2.0
35502 \family default
35503 .
35504 \end_layout
35505
35506 \begin_layout Standard
35507 \begin_inset CommandInset index_print
35508 LatexCommand printindex
35509 type "idx"
35510
35511 \end_inset
35512
35513
35514 \end_layout
35515
35516 \end_body
35517 \end_document